Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.11
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for mkfontscale 1.2.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/mkfontscale/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://gitlab.freedesktop.org/xorg/app/mkfontscale/issues
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='mkfontscale'
    583 PACKAGE_TARNAME='mkfontscale'
    584 PACKAGE_VERSION='1.2.1'
    585 PACKAGE_STRING='mkfontscale 1.2.1'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/mkfontscale/issues'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 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_LIBDIR
    663 PKG_CONFIG_PATH
    664 PKG_CONFIG
    665 CHANGELOG_CMD
    666 STRICT_CFLAGS
    667 CWARNFLAGS
    668 BASE_CFLAGS
    669 AM_BACKSLASH
    670 AM_DEFAULT_VERBOSITY
    671 AM_DEFAULT_V
    672 AM_V
    673 am__fastdepCC_FALSE
    674 am__fastdepCC_TRUE
    675 CCDEPMODE
    676 am__nodep
    677 AMDEPBACKSLASH
    678 AMDEP_FALSE
    679 AMDEP_TRUE
    680 am__quote
    681 am__include
    682 DEPDIR
    683 am__untar
    684 am__tar
    685 AMTAR
    686 am__leading_dot
    687 SET_MAKE
    688 AWK
    689 mkdir_p
    690 MKDIR_P
    691 INSTALL_STRIP_PROGRAM
    692 STRIP
    693 install_sh
    694 MAKEINFO
    695 AUTOHEADER
    696 AUTOMAKE
    697 AUTOCONF
    698 ACLOCAL
    699 VERSION
    700 PACKAGE
    701 CYGPATH_W
    702 am__isrc
    703 INSTALL_DATA
    704 INSTALL_SCRIPT
    705 INSTALL_PROGRAM
    706 EGREP
    707 GREP
    708 CPP
    709 OBJEXT
    710 EXEEXT
    711 ac_ct_CC
    712 CPPFLAGS
    713 LDFLAGS
    714 CFLAGS
    715 CC
    716 target_alias
    717 host_alias
    718 build_alias
    719 LIBS
    720 ECHO_T
    721 ECHO_N
    722 ECHO_C
    723 DEFS
    724 mandir
    725 localedir
    726 libdir
    727 psdir
    728 pdfdir
    729 dvidir
    730 htmldir
    731 infodir
    732 docdir
    733 oldincludedir
    734 includedir
    735 localstatedir
    736 sharedstatedir
    737 sysconfdir
    738 datadir
    739 datarootdir
    740 libexecdir
    741 sbindir
    742 bindir
    743 program_transform_name
    744 prefix
    745 exec_prefix
    746 PACKAGE_URL
    747 PACKAGE_BUGREPORT
    748 PACKAGE_STRING
    749 PACKAGE_VERSION
    750 PACKAGE_TARNAME
    751 PACKAGE_NAME
    752 PATH_SEPARATOR
    753 SHELL'
    754 ac_subst_files=''
    755 ac_user_opts='
    756 enable_option_checking
    757 enable_dependency_tracking
    758 enable_silent_rules
    759 enable_selective_werror
    760 enable_strict_compilation
    761 with_bzip2
    762 with_lint
    763 '
    764       ac_precious_vars='build_alias
    765 host_alias
    766 target_alias
    767 CC
    768 CFLAGS
    769 LDFLAGS
    770 LIBS
    771 CPPFLAGS
    772 CPP
    773 PKG_CONFIG
    774 PKG_CONFIG_PATH
    775 PKG_CONFIG_LIBDIR
    776 MKFONTSCALE_CFLAGS
    777 MKFONTSCALE_LIBS
    778 X11_CFLAGS
    779 X11_LIBS
    780 LINT
    781 LINT_FLAGS'
    782 
    783 
    784 # Initialize some variables set by options.
    785 ac_init_help=
    786 ac_init_version=false
    787 ac_unrecognized_opts=
    788 ac_unrecognized_sep=
    789 # The variables have the same names as the options, with
    790 # dashes changed to underlines.
    791 cache_file=/dev/null
    792 exec_prefix=NONE
    793 no_create=
    794 no_recursion=
    795 prefix=NONE
    796 program_prefix=NONE
    797 program_suffix=NONE
    798 program_transform_name=s,x,x,
    799 silent=
    800 site=
    801 srcdir=
    802 verbose=
    803 x_includes=NONE
    804 x_libraries=NONE
    805 
    806 # Installation directory options.
    807 # These are left unexpanded so users can "make install exec_prefix=/foo"
    808 # and all the variables that are supposed to be based on exec_prefix
    809 # by default will actually change.
    810 # Use braces instead of parens because sh, perl, etc. also accept them.
    811 # (The list follows the same order as the GNU Coding Standards.)
    812 bindir='${exec_prefix}/bin'
    813 sbindir='${exec_prefix}/sbin'
    814 libexecdir='${exec_prefix}/libexec'
    815 datarootdir='${prefix}/share'
    816 datadir='${datarootdir}'
    817 sysconfdir='${prefix}/etc'
    818 sharedstatedir='${prefix}/com'
    819 localstatedir='${prefix}/var'
    820 includedir='${prefix}/include'
    821 oldincludedir='/usr/include'
    822 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    823 infodir='${datarootdir}/info'
    824 htmldir='${docdir}'
    825 dvidir='${docdir}'
    826 pdfdir='${docdir}'
    827 psdir='${docdir}'
    828 libdir='${exec_prefix}/lib'
    829 localedir='${datarootdir}/locale'
    830 mandir='${datarootdir}/man'
    831 
    832 ac_prev=
    833 ac_dashdash=
    834 for ac_option
    835 do
    836   # If the previous option needs an argument, assign it.
    837   if test -n "$ac_prev"; then
    838     eval $ac_prev=\$ac_option
    839     ac_prev=
    840     continue
    841   fi
    842 
    843   case $ac_option in
    844   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    845   *=)   ac_optarg= ;;
    846   *)    ac_optarg=yes ;;
    847   esac
    848 
    849   # Accept the important Cygnus configure options, so we can diagnose typos.
    850 
    851   case $ac_dashdash$ac_option in
    852   --)
    853     ac_dashdash=yes ;;
    854 
    855   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    856     ac_prev=bindir ;;
    857   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    858     bindir=$ac_optarg ;;
    859 
    860   -build | --build | --buil | --bui | --bu)
    861     ac_prev=build_alias ;;
    862   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    863     build_alias=$ac_optarg ;;
    864 
    865   -cache-file | --cache-file | --cache-fil | --cache-fi \
    866   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    867     ac_prev=cache_file ;;
    868   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    869   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    870     cache_file=$ac_optarg ;;
    871 
    872   --config-cache | -C)
    873     cache_file=config.cache ;;
    874 
    875   -datadir | --datadir | --datadi | --datad)
    876     ac_prev=datadir ;;
    877   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    878     datadir=$ac_optarg ;;
    879 
    880   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    881   | --dataroo | --dataro | --datar)
    882     ac_prev=datarootdir ;;
    883   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    884   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    885     datarootdir=$ac_optarg ;;
    886 
    887   -disable-* | --disable-*)
    888     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    889     # Reject names that are not valid shell variable names.
    890     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    891       as_fn_error $? "invalid feature name: $ac_useropt"
    892     ac_useropt_orig=$ac_useropt
    893     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    894     case $ac_user_opts in
    895       *"
    896 "enable_$ac_useropt"
    897 "*) ;;
    898       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    899 	 ac_unrecognized_sep=', ';;
    900     esac
    901     eval enable_$ac_useropt=no ;;
    902 
    903   -docdir | --docdir | --docdi | --doc | --do)
    904     ac_prev=docdir ;;
    905   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    906     docdir=$ac_optarg ;;
    907 
    908   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    909     ac_prev=dvidir ;;
    910   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    911     dvidir=$ac_optarg ;;
    912 
    913   -enable-* | --enable-*)
    914     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    915     # Reject names that are not valid shell variable names.
    916     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    917       as_fn_error $? "invalid feature name: $ac_useropt"
    918     ac_useropt_orig=$ac_useropt
    919     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    920     case $ac_user_opts in
    921       *"
    922 "enable_$ac_useropt"
    923 "*) ;;
    924       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    925 	 ac_unrecognized_sep=', ';;
    926     esac
    927     eval enable_$ac_useropt=\$ac_optarg ;;
    928 
    929   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    930   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    931   | --exec | --exe | --ex)
    932     ac_prev=exec_prefix ;;
    933   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    934   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    935   | --exec=* | --exe=* | --ex=*)
    936     exec_prefix=$ac_optarg ;;
    937 
    938   -gas | --gas | --ga | --g)
    939     # Obsolete; use --with-gas.
    940     with_gas=yes ;;
    941 
    942   -help | --help | --hel | --he | -h)
    943     ac_init_help=long ;;
    944   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    945     ac_init_help=recursive ;;
    946   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    947     ac_init_help=short ;;
    948 
    949   -host | --host | --hos | --ho)
    950     ac_prev=host_alias ;;
    951   -host=* | --host=* | --hos=* | --ho=*)
    952     host_alias=$ac_optarg ;;
    953 
    954   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    955     ac_prev=htmldir ;;
    956   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    957   | --ht=*)
    958     htmldir=$ac_optarg ;;
    959 
    960   -includedir | --includedir | --includedi | --included | --include \
    961   | --includ | --inclu | --incl | --inc)
    962     ac_prev=includedir ;;
    963   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    964   | --includ=* | --inclu=* | --incl=* | --inc=*)
    965     includedir=$ac_optarg ;;
    966 
    967   -infodir | --infodir | --infodi | --infod | --info | --inf)
    968     ac_prev=infodir ;;
    969   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    970     infodir=$ac_optarg ;;
    971 
    972   -libdir | --libdir | --libdi | --libd)
    973     ac_prev=libdir ;;
    974   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    975     libdir=$ac_optarg ;;
    976 
    977   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    978   | --libexe | --libex | --libe)
    979     ac_prev=libexecdir ;;
    980   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    981   | --libexe=* | --libex=* | --libe=*)
    982     libexecdir=$ac_optarg ;;
    983 
    984   -localedir | --localedir | --localedi | --localed | --locale)
    985     ac_prev=localedir ;;
    986   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    987     localedir=$ac_optarg ;;
    988 
    989   -localstatedir | --localstatedir | --localstatedi | --localstated \
    990   | --localstate | --localstat | --localsta | --localst | --locals)
    991     ac_prev=localstatedir ;;
    992   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    993   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    994     localstatedir=$ac_optarg ;;
    995 
    996   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    997     ac_prev=mandir ;;
    998   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    999     mandir=$ac_optarg ;;
   1000 
   1001   -nfp | --nfp | --nf)
   1002     # Obsolete; use --without-fp.
   1003     with_fp=no ;;
   1004 
   1005   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1006   | --no-cr | --no-c | -n)
   1007     no_create=yes ;;
   1008 
   1009   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1010   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1011     no_recursion=yes ;;
   1012 
   1013   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1014   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1015   | --oldin | --oldi | --old | --ol | --o)
   1016     ac_prev=oldincludedir ;;
   1017   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1018   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1019   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1020     oldincludedir=$ac_optarg ;;
   1021 
   1022   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1023     ac_prev=prefix ;;
   1024   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1025     prefix=$ac_optarg ;;
   1026 
   1027   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1028   | --program-pre | --program-pr | --program-p)
   1029     ac_prev=program_prefix ;;
   1030   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1031   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1032     program_prefix=$ac_optarg ;;
   1033 
   1034   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1035   | --program-suf | --program-su | --program-s)
   1036     ac_prev=program_suffix ;;
   1037   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1038   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1039     program_suffix=$ac_optarg ;;
   1040 
   1041   -program-transform-name | --program-transform-name \
   1042   | --program-transform-nam | --program-transform-na \
   1043   | --program-transform-n | --program-transform- \
   1044   | --program-transform | --program-transfor \
   1045   | --program-transfo | --program-transf \
   1046   | --program-trans | --program-tran \
   1047   | --progr-tra | --program-tr | --program-t)
   1048     ac_prev=program_transform_name ;;
   1049   -program-transform-name=* | --program-transform-name=* \
   1050   | --program-transform-nam=* | --program-transform-na=* \
   1051   | --program-transform-n=* | --program-transform-=* \
   1052   | --program-transform=* | --program-transfor=* \
   1053   | --program-transfo=* | --program-transf=* \
   1054   | --program-trans=* | --program-tran=* \
   1055   | --progr-tra=* | --program-tr=* | --program-t=*)
   1056     program_transform_name=$ac_optarg ;;
   1057 
   1058   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1059     ac_prev=pdfdir ;;
   1060   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1061     pdfdir=$ac_optarg ;;
   1062 
   1063   -psdir | --psdir | --psdi | --psd | --ps)
   1064     ac_prev=psdir ;;
   1065   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1066     psdir=$ac_optarg ;;
   1067 
   1068   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1069   | -silent | --silent | --silen | --sile | --sil)
   1070     silent=yes ;;
   1071 
   1072   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1073     ac_prev=sbindir ;;
   1074   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1075   | --sbi=* | --sb=*)
   1076     sbindir=$ac_optarg ;;
   1077 
   1078   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1079   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1080   | --sharedst | --shareds | --shared | --share | --shar \
   1081   | --sha | --sh)
   1082     ac_prev=sharedstatedir ;;
   1083   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1084   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1085   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1086   | --sha=* | --sh=*)
   1087     sharedstatedir=$ac_optarg ;;
   1088 
   1089   -site | --site | --sit)
   1090     ac_prev=site ;;
   1091   -site=* | --site=* | --sit=*)
   1092     site=$ac_optarg ;;
   1093 
   1094   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1095     ac_prev=srcdir ;;
   1096   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1097     srcdir=$ac_optarg ;;
   1098 
   1099   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1100   | --syscon | --sysco | --sysc | --sys | --sy)
   1101     ac_prev=sysconfdir ;;
   1102   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1103   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1104     sysconfdir=$ac_optarg ;;
   1105 
   1106   -target | --target | --targe | --targ | --tar | --ta | --t)
   1107     ac_prev=target_alias ;;
   1108   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1109     target_alias=$ac_optarg ;;
   1110 
   1111   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1112     verbose=yes ;;
   1113 
   1114   -version | --version | --versio | --versi | --vers | -V)
   1115     ac_init_version=: ;;
   1116 
   1117   -with-* | --with-*)
   1118     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1119     # Reject names that are not valid shell variable names.
   1120     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1121       as_fn_error $? "invalid package name: $ac_useropt"
   1122     ac_useropt_orig=$ac_useropt
   1123     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1124     case $ac_user_opts in
   1125       *"
   1126 "with_$ac_useropt"
   1127 "*) ;;
   1128       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1129 	 ac_unrecognized_sep=', ';;
   1130     esac
   1131     eval with_$ac_useropt=\$ac_optarg ;;
   1132 
   1133   -without-* | --without-*)
   1134     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1135     # Reject names that are not valid shell variable names.
   1136     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1137       as_fn_error $? "invalid package name: $ac_useropt"
   1138     ac_useropt_orig=$ac_useropt
   1139     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1140     case $ac_user_opts in
   1141       *"
   1142 "with_$ac_useropt"
   1143 "*) ;;
   1144       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1145 	 ac_unrecognized_sep=', ';;
   1146     esac
   1147     eval with_$ac_useropt=no ;;
   1148 
   1149   --x)
   1150     # Obsolete; use --with-x.
   1151     with_x=yes ;;
   1152 
   1153   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1154   | --x-incl | --x-inc | --x-in | --x-i)
   1155     ac_prev=x_includes ;;
   1156   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1157   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1158     x_includes=$ac_optarg ;;
   1159 
   1160   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1161   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1162     ac_prev=x_libraries ;;
   1163   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1164   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1165     x_libraries=$ac_optarg ;;
   1166 
   1167   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1168 Try \`$0 --help' for more information"
   1169     ;;
   1170 
   1171   *=*)
   1172     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1173     # Reject names that are not valid shell variable names.
   1174     case $ac_envvar in #(
   1175       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1176       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1177     esac
   1178     eval $ac_envvar=\$ac_optarg
   1179     export $ac_envvar ;;
   1180 
   1181   *)
   1182     # FIXME: should be removed in autoconf 3.0.
   1183     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1184     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1185       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1186     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1187     ;;
   1188 
   1189   esac
   1190 done
   1191 
   1192 if test -n "$ac_prev"; then
   1193   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1194   as_fn_error $? "missing argument to $ac_option"
   1195 fi
   1196 
   1197 if test -n "$ac_unrecognized_opts"; then
   1198   case $enable_option_checking in
   1199     no) ;;
   1200     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1201     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1202   esac
   1203 fi
   1204 
   1205 # Check all directory arguments for consistency.
   1206 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1207 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1208 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1209 		libdir localedir mandir
   1210 do
   1211   eval ac_val=\$$ac_var
   1212   # Remove trailing slashes.
   1213   case $ac_val in
   1214     */ )
   1215       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1216       eval $ac_var=\$ac_val;;
   1217   esac
   1218   # Be sure to have absolute directory names.
   1219   case $ac_val in
   1220     [\\/$]* | ?:[\\/]* )  continue;;
   1221     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1222   esac
   1223   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1224 done
   1225 
   1226 # There might be people who depend on the old broken behavior: `$host'
   1227 # used to hold the argument of --host etc.
   1228 # FIXME: To remove some day.
   1229 build=$build_alias
   1230 host=$host_alias
   1231 target=$target_alias
   1232 
   1233 # FIXME: To remove some day.
   1234 if test "x$host_alias" != x; then
   1235   if test "x$build_alias" = x; then
   1236     cross_compiling=maybe
   1237   elif test "x$build_alias" != "x$host_alias"; then
   1238     cross_compiling=yes
   1239   fi
   1240 fi
   1241 
   1242 ac_tool_prefix=
   1243 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1244 
   1245 test "$silent" = yes && exec 6>/dev/null
   1246 
   1247 
   1248 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1249 ac_ls_di=`ls -di .` &&
   1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1251   as_fn_error $? "working directory cannot be determined"
   1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1253   as_fn_error $? "pwd does not report name of working directory"
   1254 
   1255 
   1256 # Find the source files, if location was not specified.
   1257 if test -z "$srcdir"; then
   1258   ac_srcdir_defaulted=yes
   1259   # Try the directory containing this script, then the parent directory.
   1260   ac_confdir=`$as_dirname -- "$as_myself" ||
   1261 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1262 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1263 	 X"$as_myself" : 'X\(//\)$' \| \
   1264 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1265 $as_echo X"$as_myself" |
   1266     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1267 	    s//\1/
   1268 	    q
   1269 	  }
   1270 	  /^X\(\/\/\)[^/].*/{
   1271 	    s//\1/
   1272 	    q
   1273 	  }
   1274 	  /^X\(\/\/\)$/{
   1275 	    s//\1/
   1276 	    q
   1277 	  }
   1278 	  /^X\(\/\).*/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  s/.*/./; q'`
   1283   srcdir=$ac_confdir
   1284   if test ! -r "$srcdir/$ac_unique_file"; then
   1285     srcdir=..
   1286   fi
   1287 else
   1288   ac_srcdir_defaulted=no
   1289 fi
   1290 if test ! -r "$srcdir/$ac_unique_file"; then
   1291   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1292   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1293 fi
   1294 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1295 ac_abs_confdir=`(
   1296 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1297 	pwd)`
   1298 # When building in place, set srcdir=.
   1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1300   srcdir=.
   1301 fi
   1302 # Remove unnecessary trailing slashes from srcdir.
   1303 # Double slashes in file names in object file debugging info
   1304 # mess up M-x gdb in Emacs.
   1305 case $srcdir in
   1306 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1307 esac
   1308 for ac_var in $ac_precious_vars; do
   1309   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1310   eval ac_env_${ac_var}_value=\$${ac_var}
   1311   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1312   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1313 done
   1314 
   1315 #
   1316 # Report the --help message.
   1317 #
   1318 if test "$ac_init_help" = "long"; then
   1319   # Omit some internal or obsolete options to make the list less imposing.
   1320   # This message is too long to be a string in the A/UX 3.1 sh.
   1321   cat <<_ACEOF
   1322 \`configure' configures mkfontscale 1.2.1 to adapt to many kinds of systems.
   1323 
   1324 Usage: $0 [OPTION]... [VAR=VALUE]...
   1325 
   1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1327 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1328 
   1329 Defaults for the options are specified in brackets.
   1330 
   1331 Configuration:
   1332   -h, --help              display this help and exit
   1333       --help=short        display options specific to this package
   1334       --help=recursive    display the short help of all the included packages
   1335   -V, --version           display version information and exit
   1336   -q, --quiet, --silent   do not print \`checking ...' messages
   1337       --cache-file=FILE   cache test results in FILE [disabled]
   1338   -C, --config-cache      alias for \`--cache-file=config.cache'
   1339   -n, --no-create         do not create output files
   1340       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1341 
   1342 Installation directories:
   1343   --prefix=PREFIX         install architecture-independent files in PREFIX
   1344                           [$ac_default_prefix]
   1345   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1346                           [PREFIX]
   1347 
   1348 By default, \`make install' will install all the files in
   1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1351 for instance \`--prefix=\$HOME'.
   1352 
   1353 For better control, use the options below.
   1354 
   1355 Fine tuning of the installation directories:
   1356   --bindir=DIR            user executables [EPREFIX/bin]
   1357   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1358   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1359   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1360   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1361   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1362   --libdir=DIR            object code libraries [EPREFIX/lib]
   1363   --includedir=DIR        C header files [PREFIX/include]
   1364   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1365   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1366   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1367   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1368   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1369   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1370   --docdir=DIR            documentation root [DATAROOTDIR/doc/mkfontscale]
   1371   --htmldir=DIR           html documentation [DOCDIR]
   1372   --dvidir=DIR            dvi documentation [DOCDIR]
   1373   --pdfdir=DIR            pdf documentation [DOCDIR]
   1374   --psdir=DIR             ps documentation [DOCDIR]
   1375 _ACEOF
   1376 
   1377   cat <<\_ACEOF
   1378 
   1379 Program names:
   1380   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1381   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1382   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1383 
   1384 System types:
   1385   --build=BUILD     configure for building on BUILD [guessed]
   1386   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1387 _ACEOF
   1388 fi
   1389 
   1390 if test -n "$ac_init_help"; then
   1391   case $ac_init_help in
   1392      short | recursive ) echo "Configuration of mkfontscale 1.2.1:";;
   1393    esac
   1394   cat <<\_ACEOF
   1395 
   1396 Optional Features:
   1397   --disable-option-checking  ignore unrecognized --enable/--with options
   1398   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1399   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1400   --enable-dependency-tracking
   1401                           do not reject slow dependency extractors
   1402   --disable-dependency-tracking
   1403                           speeds up one-time build
   1404   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1405   --disable-silent-rules  verbose build output (undo: "make V=0")
   1406   --disable-selective-werror
   1407                           Turn off selective compiler errors. (default:
   1408                           enabled)
   1409   --enable-strict-compilation
   1410                           Enable all warnings from compiler and make them
   1411                           errors (default: disabled)
   1412 
   1413 Optional Packages:
   1414   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1415   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1416   --with-bzip2            Support bzip2 compressed bitmap fonts
   1417   --with-lint             Use a lint-style source code checker (default:
   1418                           disabled)
   1419 
   1420 Some influential environment variables:
   1421   CC          C compiler command
   1422   CFLAGS      C compiler flags
   1423   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1424               nonstandard directory <lib dir>
   1425   LIBS        libraries to pass to the linker, e.g. -l<library>
   1426   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1427               you have headers in a nonstandard directory <include dir>
   1428   CPP         C preprocessor
   1429   PKG_CONFIG  path to pkg-config utility
   1430   PKG_CONFIG_PATH
   1431               directories to add to pkg-config's search path
   1432   PKG_CONFIG_LIBDIR
   1433               path overriding pkg-config's built-in search path
   1434   MKFONTSCALE_CFLAGS
   1435               C compiler flags for MKFONTSCALE, overriding pkg-config
   1436   MKFONTSCALE_LIBS
   1437               linker flags for MKFONTSCALE, overriding pkg-config
   1438   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
   1439   X11_LIBS    linker flags for X11, overriding pkg-config
   1440   LINT        Path to a lint-style command
   1441   LINT_FLAGS  Flags for the lint-style command
   1442 
   1443 Use these variables to override the choices made by `configure' or to help
   1444 it to find libraries and programs with nonstandard names/locations.
   1445 
   1446 Report bugs to <https://gitlab.freedesktop.org/xorg/app/mkfontscale/issues>.
   1447 _ACEOF
   1448 ac_status=$?
   1449 fi
   1450 
   1451 if test "$ac_init_help" = "recursive"; then
   1452   # If there are subdirs, report their specific --help.
   1453   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1454     test -d "$ac_dir" ||
   1455       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1456       continue
   1457     ac_builddir=.
   1458 
   1459 case "$ac_dir" in
   1460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1461 *)
   1462   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1463   # A ".." for each directory in $ac_dir_suffix.
   1464   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1465   case $ac_top_builddir_sub in
   1466   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1467   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1468   esac ;;
   1469 esac
   1470 ac_abs_top_builddir=$ac_pwd
   1471 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1472 # for backward compatibility:
   1473 ac_top_builddir=$ac_top_build_prefix
   1474 
   1475 case $srcdir in
   1476   .)  # We are building in place.
   1477     ac_srcdir=.
   1478     ac_top_srcdir=$ac_top_builddir_sub
   1479     ac_abs_top_srcdir=$ac_pwd ;;
   1480   [\\/]* | ?:[\\/]* )  # Absolute name.
   1481     ac_srcdir=$srcdir$ac_dir_suffix;
   1482     ac_top_srcdir=$srcdir
   1483     ac_abs_top_srcdir=$srcdir ;;
   1484   *) # Relative name.
   1485     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1486     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1487     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1488 esac
   1489 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1490 
   1491     cd "$ac_dir" || { ac_status=$?; continue; }
   1492     # Check for guested configure.
   1493     if test -f "$ac_srcdir/configure.gnu"; then
   1494       echo &&
   1495       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1496     elif test -f "$ac_srcdir/configure"; then
   1497       echo &&
   1498       $SHELL "$ac_srcdir/configure" --help=recursive
   1499     else
   1500       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1501     fi || ac_status=$?
   1502     cd "$ac_pwd" || { ac_status=$?; break; }
   1503   done
   1504 fi
   1505 
   1506 test -n "$ac_init_help" && exit $ac_status
   1507 if $ac_init_version; then
   1508   cat <<\_ACEOF
   1509 mkfontscale configure 1.2.1
   1510 generated by GNU Autoconf 2.69
   1511 
   1512 Copyright (C) 2012 Free Software Foundation, Inc.
   1513 This configure script is free software; the Free Software Foundation
   1514 gives unlimited permission to copy, distribute and modify it.
   1515 _ACEOF
   1516   exit
   1517 fi
   1518 
   1519 ## ------------------------ ##
   1520 ## Autoconf initialization. ##
   1521 ## ------------------------ ##
   1522 
   1523 # ac_fn_c_try_compile LINENO
   1524 # --------------------------
   1525 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1526 ac_fn_c_try_compile ()
   1527 {
   1528   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1529   rm -f conftest.$ac_objext
   1530   if { { ac_try="$ac_compile"
   1531 case "(($ac_try" in
   1532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1533   *) ac_try_echo=$ac_try;;
   1534 esac
   1535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1536 $as_echo "$ac_try_echo"; } >&5
   1537   (eval "$ac_compile") 2>conftest.err
   1538   ac_status=$?
   1539   if test -s conftest.err; then
   1540     grep -v '^ *+' conftest.err >conftest.er1
   1541     cat conftest.er1 >&5
   1542     mv -f conftest.er1 conftest.err
   1543   fi
   1544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1545   test $ac_status = 0; } && {
   1546 	 test -z "$ac_c_werror_flag" ||
   1547 	 test ! -s conftest.err
   1548        } && test -s conftest.$ac_objext; then :
   1549   ac_retval=0
   1550 else
   1551   $as_echo "$as_me: failed program was:" >&5
   1552 sed 's/^/| /' conftest.$ac_ext >&5
   1553 
   1554 	ac_retval=1
   1555 fi
   1556   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1557   as_fn_set_status $ac_retval
   1558 
   1559 } # ac_fn_c_try_compile
   1560 
   1561 # ac_fn_c_try_cpp LINENO
   1562 # ----------------------
   1563 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1564 ac_fn_c_try_cpp ()
   1565 {
   1566   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1567   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1568 case "(($ac_try" in
   1569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1570   *) ac_try_echo=$ac_try;;
   1571 esac
   1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1573 $as_echo "$ac_try_echo"; } >&5
   1574   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1575   ac_status=$?
   1576   if test -s conftest.err; then
   1577     grep -v '^ *+' conftest.err >conftest.er1
   1578     cat conftest.er1 >&5
   1579     mv -f conftest.er1 conftest.err
   1580   fi
   1581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1582   test $ac_status = 0; } > conftest.i && {
   1583 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1584 	 test ! -s conftest.err
   1585        }; then :
   1586   ac_retval=0
   1587 else
   1588   $as_echo "$as_me: failed program was:" >&5
   1589 sed 's/^/| /' conftest.$ac_ext >&5
   1590 
   1591     ac_retval=1
   1592 fi
   1593   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1594   as_fn_set_status $ac_retval
   1595 
   1596 } # ac_fn_c_try_cpp
   1597 
   1598 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1599 # -------------------------------------------------------
   1600 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1601 # the include files in INCLUDES and setting the cache variable VAR
   1602 # accordingly.
   1603 ac_fn_c_check_header_mongrel ()
   1604 {
   1605   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1606   if eval \${$3+:} false; then :
   1607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1608 $as_echo_n "checking for $2... " >&6; }
   1609 if eval \${$3+:} false; then :
   1610   $as_echo_n "(cached) " >&6
   1611 fi
   1612 eval ac_res=\$$3
   1613 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1614 $as_echo "$ac_res" >&6; }
   1615 else
   1616   # Is the header compilable?
   1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1618 $as_echo_n "checking $2 usability... " >&6; }
   1619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1620 /* end confdefs.h.  */
   1621 $4
   1622 #include <$2>
   1623 _ACEOF
   1624 if ac_fn_c_try_compile "$LINENO"; then :
   1625   ac_header_compiler=yes
   1626 else
   1627   ac_header_compiler=no
   1628 fi
   1629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1631 $as_echo "$ac_header_compiler" >&6; }
   1632 
   1633 # Is the header present?
   1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1635 $as_echo_n "checking $2 presence... " >&6; }
   1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1637 /* end confdefs.h.  */
   1638 #include <$2>
   1639 _ACEOF
   1640 if ac_fn_c_try_cpp "$LINENO"; then :
   1641   ac_header_preproc=yes
   1642 else
   1643   ac_header_preproc=no
   1644 fi
   1645 rm -f conftest.err conftest.i conftest.$ac_ext
   1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1647 $as_echo "$ac_header_preproc" >&6; }
   1648 
   1649 # So?  What about this header?
   1650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1651   yes:no: )
   1652     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1653 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1654     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1655 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1656     ;;
   1657   no:yes:* )
   1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1659 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1660     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1661 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1662     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1663 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1664     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1665 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1666     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1667 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1668 ( $as_echo "## ------------------------------------------------------------------------- ##
   1669 ## Report this to https://gitlab.freedesktop.org/xorg/app/mkfontscale/issues ##
   1670 ## ------------------------------------------------------------------------- ##"
   1671      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1672     ;;
   1673 esac
   1674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1675 $as_echo_n "checking for $2... " >&6; }
   1676 if eval \${$3+:} false; then :
   1677   $as_echo_n "(cached) " >&6
   1678 else
   1679   eval "$3=\$ac_header_compiler"
   1680 fi
   1681 eval ac_res=\$$3
   1682 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1683 $as_echo "$ac_res" >&6; }
   1684 fi
   1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1686 
   1687 } # ac_fn_c_check_header_mongrel
   1688 
   1689 # ac_fn_c_try_run LINENO
   1690 # ----------------------
   1691 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1692 # that executables *can* be run.
   1693 ac_fn_c_try_run ()
   1694 {
   1695   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1696   if { { ac_try="$ac_link"
   1697 case "(($ac_try" in
   1698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1699   *) ac_try_echo=$ac_try;;
   1700 esac
   1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1702 $as_echo "$ac_try_echo"; } >&5
   1703   (eval "$ac_link") 2>&5
   1704   ac_status=$?
   1705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1706   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1707   { { case "(($ac_try" in
   1708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1709   *) ac_try_echo=$ac_try;;
   1710 esac
   1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1712 $as_echo "$ac_try_echo"; } >&5
   1713   (eval "$ac_try") 2>&5
   1714   ac_status=$?
   1715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1716   test $ac_status = 0; }; }; then :
   1717   ac_retval=0
   1718 else
   1719   $as_echo "$as_me: program exited with status $ac_status" >&5
   1720        $as_echo "$as_me: failed program was:" >&5
   1721 sed 's/^/| /' conftest.$ac_ext >&5
   1722 
   1723        ac_retval=$ac_status
   1724 fi
   1725   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1726   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1727   as_fn_set_status $ac_retval
   1728 
   1729 } # ac_fn_c_try_run
   1730 
   1731 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1732 # -------------------------------------------------------
   1733 # Tests whether HEADER exists and can be compiled using the include files in
   1734 # INCLUDES, setting the cache variable VAR accordingly.
   1735 ac_fn_c_check_header_compile ()
   1736 {
   1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1739 $as_echo_n "checking for $2... " >&6; }
   1740 if eval \${$3+:} false; then :
   1741   $as_echo_n "(cached) " >&6
   1742 else
   1743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1744 /* end confdefs.h.  */
   1745 $4
   1746 #include <$2>
   1747 _ACEOF
   1748 if ac_fn_c_try_compile "$LINENO"; then :
   1749   eval "$3=yes"
   1750 else
   1751   eval "$3=no"
   1752 fi
   1753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1754 fi
   1755 eval ac_res=\$$3
   1756 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1757 $as_echo "$ac_res" >&6; }
   1758   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1759 
   1760 } # ac_fn_c_check_header_compile
   1761 
   1762 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1763 # ---------------------------------------------
   1764 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1765 # accordingly.
   1766 ac_fn_c_check_decl ()
   1767 {
   1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1769   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1770   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1772 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1773 if eval \${$3+:} false; then :
   1774   $as_echo_n "(cached) " >&6
   1775 else
   1776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1777 /* end confdefs.h.  */
   1778 $4
   1779 int
   1780 main ()
   1781 {
   1782 #ifndef $as_decl_name
   1783 #ifdef __cplusplus
   1784   (void) $as_decl_use;
   1785 #else
   1786   (void) $as_decl_name;
   1787 #endif
   1788 #endif
   1789 
   1790   ;
   1791   return 0;
   1792 }
   1793 _ACEOF
   1794 if ac_fn_c_try_compile "$LINENO"; then :
   1795   eval "$3=yes"
   1796 else
   1797   eval "$3=no"
   1798 fi
   1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1800 fi
   1801 eval ac_res=\$$3
   1802 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1803 $as_echo "$ac_res" >&6; }
   1804   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1805 
   1806 } # ac_fn_c_check_decl
   1807 
   1808 # ac_fn_c_try_link LINENO
   1809 # -----------------------
   1810 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1811 ac_fn_c_try_link ()
   1812 {
   1813   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1814   rm -f conftest.$ac_objext conftest$ac_exeext
   1815   if { { ac_try="$ac_link"
   1816 case "(($ac_try" in
   1817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1818   *) ac_try_echo=$ac_try;;
   1819 esac
   1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1821 $as_echo "$ac_try_echo"; } >&5
   1822   (eval "$ac_link") 2>conftest.err
   1823   ac_status=$?
   1824   if test -s conftest.err; then
   1825     grep -v '^ *+' conftest.err >conftest.er1
   1826     cat conftest.er1 >&5
   1827     mv -f conftest.er1 conftest.err
   1828   fi
   1829   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1830   test $ac_status = 0; } && {
   1831 	 test -z "$ac_c_werror_flag" ||
   1832 	 test ! -s conftest.err
   1833        } && test -s conftest$ac_exeext && {
   1834 	 test "$cross_compiling" = yes ||
   1835 	 test -x conftest$ac_exeext
   1836        }; then :
   1837   ac_retval=0
   1838 else
   1839   $as_echo "$as_me: failed program was:" >&5
   1840 sed 's/^/| /' conftest.$ac_ext >&5
   1841 
   1842 	ac_retval=1
   1843 fi
   1844   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1845   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1846   # interfere with the next link command; also delete a directory that is
   1847   # left behind by Apple's compiler.  We do this before executing the actions.
   1848   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1849   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1850   as_fn_set_status $ac_retval
   1851 
   1852 } # ac_fn_c_try_link
   1853 
   1854 # ac_fn_c_check_func LINENO FUNC VAR
   1855 # ----------------------------------
   1856 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1857 ac_fn_c_check_func ()
   1858 {
   1859   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1861 $as_echo_n "checking for $2... " >&6; }
   1862 if eval \${$3+:} false; then :
   1863   $as_echo_n "(cached) " >&6
   1864 else
   1865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1866 /* end confdefs.h.  */
   1867 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1869 #define $2 innocuous_$2
   1870 
   1871 /* System header to define __stub macros and hopefully few prototypes,
   1872     which can conflict with char $2 (); below.
   1873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1874     <limits.h> exists even on freestanding compilers.  */
   1875 
   1876 #ifdef __STDC__
   1877 # include <limits.h>
   1878 #else
   1879 # include <assert.h>
   1880 #endif
   1881 
   1882 #undef $2
   1883 
   1884 /* Override any GCC internal prototype to avoid an error.
   1885    Use char because int might match the return type of a GCC
   1886    builtin and then its argument prototype would still apply.  */
   1887 #ifdef __cplusplus
   1888 extern "C"
   1889 #endif
   1890 char $2 ();
   1891 /* The GNU C library defines this for functions which it implements
   1892     to always fail with ENOSYS.  Some functions are actually named
   1893     something starting with __ and the normal name is an alias.  */
   1894 #if defined __stub_$2 || defined __stub___$2
   1895 choke me
   1896 #endif
   1897 
   1898 int
   1899 main ()
   1900 {
   1901 return $2 ();
   1902   ;
   1903   return 0;
   1904 }
   1905 _ACEOF
   1906 if ac_fn_c_try_link "$LINENO"; then :
   1907   eval "$3=yes"
   1908 else
   1909   eval "$3=no"
   1910 fi
   1911 rm -f core conftest.err conftest.$ac_objext \
   1912     conftest$ac_exeext conftest.$ac_ext
   1913 fi
   1914 eval ac_res=\$$3
   1915 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1916 $as_echo "$ac_res" >&6; }
   1917   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1918 
   1919 } # ac_fn_c_check_func
   1920 cat >config.log <<_ACEOF
   1921 This file contains any messages produced by compilers while
   1922 running configure, to aid debugging if configure makes a mistake.
   1923 
   1924 It was created by mkfontscale $as_me 1.2.1, which was
   1925 generated by GNU Autoconf 2.69.  Invocation command line was
   1926 
   1927   $ $0 $@
   1928 
   1929 _ACEOF
   1930 exec 5>>config.log
   1931 {
   1932 cat <<_ASUNAME
   1933 ## --------- ##
   1934 ## Platform. ##
   1935 ## --------- ##
   1936 
   1937 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1938 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1939 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1940 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1941 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1942 
   1943 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1944 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1945 
   1946 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1947 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1948 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1949 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1950 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1951 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1952 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1953 
   1954 _ASUNAME
   1955 
   1956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1957 for as_dir in $PATH
   1958 do
   1959   IFS=$as_save_IFS
   1960   test -z "$as_dir" && as_dir=.
   1961     $as_echo "PATH: $as_dir"
   1962   done
   1963 IFS=$as_save_IFS
   1964 
   1965 } >&5
   1966 
   1967 cat >&5 <<_ACEOF
   1968 
   1969 
   1970 ## ----------- ##
   1971 ## Core tests. ##
   1972 ## ----------- ##
   1973 
   1974 _ACEOF
   1975 
   1976 
   1977 # Keep a trace of the command line.
   1978 # Strip out --no-create and --no-recursion so they do not pile up.
   1979 # Strip out --silent because we don't want to record it for future runs.
   1980 # Also quote any args containing shell meta-characters.
   1981 # Make two passes to allow for proper duplicate-argument suppression.
   1982 ac_configure_args=
   1983 ac_configure_args0=
   1984 ac_configure_args1=
   1985 ac_must_keep_next=false
   1986 for ac_pass in 1 2
   1987 do
   1988   for ac_arg
   1989   do
   1990     case $ac_arg in
   1991     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1992     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1993     | -silent | --silent | --silen | --sile | --sil)
   1994       continue ;;
   1995     *\'*)
   1996       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1997     esac
   1998     case $ac_pass in
   1999     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2000     2)
   2001       as_fn_append ac_configure_args1 " '$ac_arg'"
   2002       if test $ac_must_keep_next = true; then
   2003 	ac_must_keep_next=false # Got value, back to normal.
   2004       else
   2005 	case $ac_arg in
   2006 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2007 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2008 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2009 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2010 	    case "$ac_configure_args0 " in
   2011 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2012 	    esac
   2013 	    ;;
   2014 	  -* ) ac_must_keep_next=true ;;
   2015 	esac
   2016       fi
   2017       as_fn_append ac_configure_args " '$ac_arg'"
   2018       ;;
   2019     esac
   2020   done
   2021 done
   2022 { ac_configure_args0=; unset ac_configure_args0;}
   2023 { ac_configure_args1=; unset ac_configure_args1;}
   2024 
   2025 # When interrupted or exit'd, cleanup temporary files, and complete
   2026 # config.log.  We remove comments because anyway the quotes in there
   2027 # would cause problems or look ugly.
   2028 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2029 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2030 trap 'exit_status=$?
   2031   # Save into config.log some information that might help in debugging.
   2032   {
   2033     echo
   2034 
   2035     $as_echo "## ---------------- ##
   2036 ## Cache variables. ##
   2037 ## ---------------- ##"
   2038     echo
   2039     # The following way of writing the cache mishandles newlines in values,
   2040 (
   2041   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2042     eval ac_val=\$$ac_var
   2043     case $ac_val in #(
   2044     *${as_nl}*)
   2045       case $ac_var in #(
   2046       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2047 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2048       esac
   2049       case $ac_var in #(
   2050       _ | IFS | as_nl) ;; #(
   2051       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2052       *) { eval $ac_var=; unset $ac_var;} ;;
   2053       esac ;;
   2054     esac
   2055   done
   2056   (set) 2>&1 |
   2057     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2058     *${as_nl}ac_space=\ *)
   2059       sed -n \
   2060 	"s/'\''/'\''\\\\'\'''\''/g;
   2061 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2062       ;; #(
   2063     *)
   2064       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2065       ;;
   2066     esac |
   2067     sort
   2068 )
   2069     echo
   2070 
   2071     $as_echo "## ----------------- ##
   2072 ## Output variables. ##
   2073 ## ----------------- ##"
   2074     echo
   2075     for ac_var in $ac_subst_vars
   2076     do
   2077       eval ac_val=\$$ac_var
   2078       case $ac_val in
   2079       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2080       esac
   2081       $as_echo "$ac_var='\''$ac_val'\''"
   2082     done | sort
   2083     echo
   2084 
   2085     if test -n "$ac_subst_files"; then
   2086       $as_echo "## ------------------- ##
   2087 ## File substitutions. ##
   2088 ## ------------------- ##"
   2089       echo
   2090       for ac_var in $ac_subst_files
   2091       do
   2092 	eval ac_val=\$$ac_var
   2093 	case $ac_val in
   2094 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2095 	esac
   2096 	$as_echo "$ac_var='\''$ac_val'\''"
   2097       done | sort
   2098       echo
   2099     fi
   2100 
   2101     if test -s confdefs.h; then
   2102       $as_echo "## ----------- ##
   2103 ## confdefs.h. ##
   2104 ## ----------- ##"
   2105       echo
   2106       cat confdefs.h
   2107       echo
   2108     fi
   2109     test "$ac_signal" != 0 &&
   2110       $as_echo "$as_me: caught signal $ac_signal"
   2111     $as_echo "$as_me: exit $exit_status"
   2112   } >&5
   2113   rm -f core *.core core.conftest.* &&
   2114     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2115     exit $exit_status
   2116 ' 0
   2117 for ac_signal in 1 2 13 15; do
   2118   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2119 done
   2120 ac_signal=0
   2121 
   2122 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2123 rm -f -r conftest* confdefs.h
   2124 
   2125 $as_echo "/* confdefs.h */" > confdefs.h
   2126 
   2127 # Predefined preprocessor variables.
   2128 
   2129 cat >>confdefs.h <<_ACEOF
   2130 #define PACKAGE_NAME "$PACKAGE_NAME"
   2131 _ACEOF
   2132 
   2133 cat >>confdefs.h <<_ACEOF
   2134 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2135 _ACEOF
   2136 
   2137 cat >>confdefs.h <<_ACEOF
   2138 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2139 _ACEOF
   2140 
   2141 cat >>confdefs.h <<_ACEOF
   2142 #define PACKAGE_STRING "$PACKAGE_STRING"
   2143 _ACEOF
   2144 
   2145 cat >>confdefs.h <<_ACEOF
   2146 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2147 _ACEOF
   2148 
   2149 cat >>confdefs.h <<_ACEOF
   2150 #define PACKAGE_URL "$PACKAGE_URL"
   2151 _ACEOF
   2152 
   2153 
   2154 # Let the site file select an alternate cache file if it wants to.
   2155 # Prefer an explicitly selected file to automatically selected ones.
   2156 ac_site_file1=NONE
   2157 ac_site_file2=NONE
   2158 if test -n "$CONFIG_SITE"; then
   2159   # We do not want a PATH search for config.site.
   2160   case $CONFIG_SITE in #((
   2161     -*)  ac_site_file1=./$CONFIG_SITE;;
   2162     */*) ac_site_file1=$CONFIG_SITE;;
   2163     *)   ac_site_file1=./$CONFIG_SITE;;
   2164   esac
   2165 elif test "x$prefix" != xNONE; then
   2166   ac_site_file1=$prefix/share/config.site
   2167   ac_site_file2=$prefix/etc/config.site
   2168 else
   2169   ac_site_file1=$ac_default_prefix/share/config.site
   2170   ac_site_file2=$ac_default_prefix/etc/config.site
   2171 fi
   2172 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2173 do
   2174   test "x$ac_site_file" = xNONE && continue
   2175   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2176     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2177 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2178     sed 's/^/| /' "$ac_site_file" >&5
   2179     . "$ac_site_file" \
   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_fn_error $? "failed to load site script $ac_site_file
   2183 See \`config.log' for more details" "$LINENO" 5; }
   2184   fi
   2185 done
   2186 
   2187 if test -r "$cache_file"; then
   2188   # Some versions of bash will fail to source /dev/null (special files
   2189   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2190   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2191     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2192 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2193     case $cache_file in
   2194       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2195       *)                      . "./$cache_file";;
   2196     esac
   2197   fi
   2198 else
   2199   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2200 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2201   >$cache_file
   2202 fi
   2203 
   2204 # Check that the precious variables saved in the cache have kept the same
   2205 # value.
   2206 ac_cache_corrupted=false
   2207 for ac_var in $ac_precious_vars; do
   2208   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2209   eval ac_new_set=\$ac_env_${ac_var}_set
   2210   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2211   eval ac_new_val=\$ac_env_${ac_var}_value
   2212   case $ac_old_set,$ac_new_set in
   2213     set,)
   2214       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2215 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2216       ac_cache_corrupted=: ;;
   2217     ,set)
   2218       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2219 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2220       ac_cache_corrupted=: ;;
   2221     ,);;
   2222     *)
   2223       if test "x$ac_old_val" != "x$ac_new_val"; then
   2224 	# differences in whitespace do not lead to failure.
   2225 	ac_old_val_w=`echo x $ac_old_val`
   2226 	ac_new_val_w=`echo x $ac_new_val`
   2227 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2228 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2229 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2230 	  ac_cache_corrupted=:
   2231 	else
   2232 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2233 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2234 	  eval $ac_var=\$ac_old_val
   2235 	fi
   2236 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2237 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2238 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2239 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2240       fi;;
   2241   esac
   2242   # Pass precious variables to config.status.
   2243   if test "$ac_new_set" = set; then
   2244     case $ac_new_val in
   2245     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2246     *) ac_arg=$ac_var=$ac_new_val ;;
   2247     esac
   2248     case " $ac_configure_args " in
   2249       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2250       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2251     esac
   2252   fi
   2253 done
   2254 if $ac_cache_corrupted; then
   2255   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2257   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2258 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2259   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2260 fi
   2261 ## -------------------- ##
   2262 ## Main body of script. ##
   2263 ## -------------------- ##
   2264 
   2265 ac_ext=c
   2266 ac_cpp='$CPP $CPPFLAGS'
   2267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2270 
   2271 
   2272 
   2273 ac_config_headers="$ac_config_headers config.h"
   2274 
   2275 ac_aux_dir=
   2276 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2277   if test -f "$ac_dir/install-sh"; then
   2278     ac_aux_dir=$ac_dir
   2279     ac_install_sh="$ac_aux_dir/install-sh -c"
   2280     break
   2281   elif test -f "$ac_dir/install.sh"; then
   2282     ac_aux_dir=$ac_dir
   2283     ac_install_sh="$ac_aux_dir/install.sh -c"
   2284     break
   2285   elif test -f "$ac_dir/shtool"; then
   2286     ac_aux_dir=$ac_dir
   2287     ac_install_sh="$ac_aux_dir/shtool install -c"
   2288     break
   2289   fi
   2290 done
   2291 if test -z "$ac_aux_dir"; then
   2292   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2293 fi
   2294 
   2295 # These three variables are undocumented and unsupported,
   2296 # and are intended to be withdrawn in a future Autoconf release.
   2297 # They can cause serious problems if a builder's source tree is in a directory
   2298 # whose full name contains unusual characters.
   2299 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2300 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2301 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2302 
   2303 
   2304 # Expand $ac_aux_dir to an absolute path.
   2305 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2306 
   2307 ac_ext=c
   2308 ac_cpp='$CPP $CPPFLAGS'
   2309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2312 if test -n "$ac_tool_prefix"; then
   2313   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2314 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2316 $as_echo_n "checking for $ac_word... " >&6; }
   2317 if ${ac_cv_prog_CC+:} false; then :
   2318   $as_echo_n "(cached) " >&6
   2319 else
   2320   if test -n "$CC"; then
   2321   ac_cv_prog_CC="$CC" # Let the user override the test.
   2322 else
   2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2324 for as_dir in $PATH
   2325 do
   2326   IFS=$as_save_IFS
   2327   test -z "$as_dir" && as_dir=.
   2328     for ac_exec_ext in '' $ac_executable_extensions; do
   2329   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2330     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2332     break 2
   2333   fi
   2334 done
   2335   done
   2336 IFS=$as_save_IFS
   2337 
   2338 fi
   2339 fi
   2340 CC=$ac_cv_prog_CC
   2341 if test -n "$CC"; then
   2342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2343 $as_echo "$CC" >&6; }
   2344 else
   2345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2346 $as_echo "no" >&6; }
   2347 fi
   2348 
   2349 
   2350 fi
   2351 if test -z "$ac_cv_prog_CC"; then
   2352   ac_ct_CC=$CC
   2353   # Extract the first word of "gcc", so it can be a program name with args.
   2354 set dummy gcc; ac_word=$2
   2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2356 $as_echo_n "checking for $ac_word... " >&6; }
   2357 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2358   $as_echo_n "(cached) " >&6
   2359 else
   2360   if test -n "$ac_ct_CC"; then
   2361   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2362 else
   2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2364 for as_dir in $PATH
   2365 do
   2366   IFS=$as_save_IFS
   2367   test -z "$as_dir" && as_dir=.
   2368     for ac_exec_ext in '' $ac_executable_extensions; do
   2369   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2370     ac_cv_prog_ac_ct_CC="gcc"
   2371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2372     break 2
   2373   fi
   2374 done
   2375   done
   2376 IFS=$as_save_IFS
   2377 
   2378 fi
   2379 fi
   2380 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2381 if test -n "$ac_ct_CC"; then
   2382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2383 $as_echo "$ac_ct_CC" >&6; }
   2384 else
   2385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2386 $as_echo "no" >&6; }
   2387 fi
   2388 
   2389   if test "x$ac_ct_CC" = x; then
   2390     CC=""
   2391   else
   2392     case $cross_compiling:$ac_tool_warned in
   2393 yes:)
   2394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2396 ac_tool_warned=yes ;;
   2397 esac
   2398     CC=$ac_ct_CC
   2399   fi
   2400 else
   2401   CC="$ac_cv_prog_CC"
   2402 fi
   2403 
   2404 if test -z "$CC"; then
   2405           if test -n "$ac_tool_prefix"; then
   2406     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2407 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2409 $as_echo_n "checking for $ac_word... " >&6; }
   2410 if ${ac_cv_prog_CC+:} false; then :
   2411   $as_echo_n "(cached) " >&6
   2412 else
   2413   if test -n "$CC"; then
   2414   ac_cv_prog_CC="$CC" # Let the user override the test.
   2415 else
   2416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2417 for as_dir in $PATH
   2418 do
   2419   IFS=$as_save_IFS
   2420   test -z "$as_dir" && as_dir=.
   2421     for ac_exec_ext in '' $ac_executable_extensions; do
   2422   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2423     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2424     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2425     break 2
   2426   fi
   2427 done
   2428   done
   2429 IFS=$as_save_IFS
   2430 
   2431 fi
   2432 fi
   2433 CC=$ac_cv_prog_CC
   2434 if test -n "$CC"; then
   2435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2436 $as_echo "$CC" >&6; }
   2437 else
   2438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2439 $as_echo "no" >&6; }
   2440 fi
   2441 
   2442 
   2443   fi
   2444 fi
   2445 if test -z "$CC"; then
   2446   # Extract the first word of "cc", so it can be a program name with args.
   2447 set dummy cc; ac_word=$2
   2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2449 $as_echo_n "checking for $ac_word... " >&6; }
   2450 if ${ac_cv_prog_CC+:} false; then :
   2451   $as_echo_n "(cached) " >&6
   2452 else
   2453   if test -n "$CC"; then
   2454   ac_cv_prog_CC="$CC" # Let the user override the test.
   2455 else
   2456   ac_prog_rejected=no
   2457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2458 for as_dir in $PATH
   2459 do
   2460   IFS=$as_save_IFS
   2461   test -z "$as_dir" && as_dir=.
   2462     for ac_exec_ext in '' $ac_executable_extensions; do
   2463   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2464     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2465        ac_prog_rejected=yes
   2466        continue
   2467      fi
   2468     ac_cv_prog_CC="cc"
   2469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2470     break 2
   2471   fi
   2472 done
   2473   done
   2474 IFS=$as_save_IFS
   2475 
   2476 if test $ac_prog_rejected = yes; then
   2477   # We found a bogon in the path, so make sure we never use it.
   2478   set dummy $ac_cv_prog_CC
   2479   shift
   2480   if test $# != 0; then
   2481     # We chose a different compiler from the bogus one.
   2482     # However, it has the same basename, so the bogon will be chosen
   2483     # first if we set CC to just the basename; use the full file name.
   2484     shift
   2485     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2486   fi
   2487 fi
   2488 fi
   2489 fi
   2490 CC=$ac_cv_prog_CC
   2491 if test -n "$CC"; then
   2492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2493 $as_echo "$CC" >&6; }
   2494 else
   2495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2496 $as_echo "no" >&6; }
   2497 fi
   2498 
   2499 
   2500 fi
   2501 if test -z "$CC"; then
   2502   if test -n "$ac_tool_prefix"; then
   2503   for ac_prog in cl.exe
   2504   do
   2505     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2506 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2508 $as_echo_n "checking for $ac_word... " >&6; }
   2509 if ${ac_cv_prog_CC+:} false; then :
   2510   $as_echo_n "(cached) " >&6
   2511 else
   2512   if test -n "$CC"; then
   2513   ac_cv_prog_CC="$CC" # Let the user override the test.
   2514 else
   2515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2516 for as_dir in $PATH
   2517 do
   2518   IFS=$as_save_IFS
   2519   test -z "$as_dir" && as_dir=.
   2520     for ac_exec_ext in '' $ac_executable_extensions; do
   2521   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2522     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2524     break 2
   2525   fi
   2526 done
   2527   done
   2528 IFS=$as_save_IFS
   2529 
   2530 fi
   2531 fi
   2532 CC=$ac_cv_prog_CC
   2533 if test -n "$CC"; then
   2534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2535 $as_echo "$CC" >&6; }
   2536 else
   2537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2538 $as_echo "no" >&6; }
   2539 fi
   2540 
   2541 
   2542     test -n "$CC" && break
   2543   done
   2544 fi
   2545 if test -z "$CC"; then
   2546   ac_ct_CC=$CC
   2547   for ac_prog in cl.exe
   2548 do
   2549   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2550 set dummy $ac_prog; ac_word=$2
   2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2552 $as_echo_n "checking for $ac_word... " >&6; }
   2553 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2554   $as_echo_n "(cached) " >&6
   2555 else
   2556   if test -n "$ac_ct_CC"; then
   2557   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2558 else
   2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2560 for as_dir in $PATH
   2561 do
   2562   IFS=$as_save_IFS
   2563   test -z "$as_dir" && as_dir=.
   2564     for ac_exec_ext in '' $ac_executable_extensions; do
   2565   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2566     ac_cv_prog_ac_ct_CC="$ac_prog"
   2567     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2568     break 2
   2569   fi
   2570 done
   2571   done
   2572 IFS=$as_save_IFS
   2573 
   2574 fi
   2575 fi
   2576 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2577 if test -n "$ac_ct_CC"; then
   2578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2579 $as_echo "$ac_ct_CC" >&6; }
   2580 else
   2581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2582 $as_echo "no" >&6; }
   2583 fi
   2584 
   2585 
   2586   test -n "$ac_ct_CC" && break
   2587 done
   2588 
   2589   if test "x$ac_ct_CC" = x; then
   2590     CC=""
   2591   else
   2592     case $cross_compiling:$ac_tool_warned in
   2593 yes:)
   2594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2596 ac_tool_warned=yes ;;
   2597 esac
   2598     CC=$ac_ct_CC
   2599   fi
   2600 fi
   2601 
   2602 fi
   2603 
   2604 
   2605 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2607 as_fn_error $? "no acceptable C compiler found in \$PATH
   2608 See \`config.log' for more details" "$LINENO" 5; }
   2609 
   2610 # Provide some information about the compiler.
   2611 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2612 set X $ac_compile
   2613 ac_compiler=$2
   2614 for ac_option in --version -v -V -qversion; do
   2615   { { ac_try="$ac_compiler $ac_option >&5"
   2616 case "(($ac_try" in
   2617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2618   *) ac_try_echo=$ac_try;;
   2619 esac
   2620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2621 $as_echo "$ac_try_echo"; } >&5
   2622   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2623   ac_status=$?
   2624   if test -s conftest.err; then
   2625     sed '10a\
   2626 ... rest of stderr output deleted ...
   2627          10q' conftest.err >conftest.er1
   2628     cat conftest.er1 >&5
   2629   fi
   2630   rm -f conftest.er1 conftest.err
   2631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2632   test $ac_status = 0; }
   2633 done
   2634 
   2635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2636 /* end confdefs.h.  */
   2637 
   2638 int
   2639 main ()
   2640 {
   2641 
   2642   ;
   2643   return 0;
   2644 }
   2645 _ACEOF
   2646 ac_clean_files_save=$ac_clean_files
   2647 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2648 # Try to create an executable without -o first, disregard a.out.
   2649 # It will help us diagnose broken compilers, and finding out an intuition
   2650 # of exeext.
   2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2652 $as_echo_n "checking whether the C compiler works... " >&6; }
   2653 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2654 
   2655 # The possible output files:
   2656 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2657 
   2658 ac_rmfiles=
   2659 for ac_file in $ac_files
   2660 do
   2661   case $ac_file in
   2662     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2663     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2664   esac
   2665 done
   2666 rm -f $ac_rmfiles
   2667 
   2668 if { { ac_try="$ac_link_default"
   2669 case "(($ac_try" in
   2670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2671   *) ac_try_echo=$ac_try;;
   2672 esac
   2673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2674 $as_echo "$ac_try_echo"; } >&5
   2675   (eval "$ac_link_default") 2>&5
   2676   ac_status=$?
   2677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2678   test $ac_status = 0; }; then :
   2679   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2680 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2681 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2682 # so that the user can short-circuit this test for compilers unknown to
   2683 # Autoconf.
   2684 for ac_file in $ac_files ''
   2685 do
   2686   test -f "$ac_file" || continue
   2687   case $ac_file in
   2688     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2689 	;;
   2690     [ab].out )
   2691 	# We found the default executable, but exeext='' is most
   2692 	# certainly right.
   2693 	break;;
   2694     *.* )
   2695 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2696 	then :; else
   2697 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2698 	fi
   2699 	# We set ac_cv_exeext here because the later test for it is not
   2700 	# safe: cross compilers may not add the suffix if given an `-o'
   2701 	# argument, so we may need to know it at that point already.
   2702 	# Even if this section looks crufty: it has the advantage of
   2703 	# actually working.
   2704 	break;;
   2705     * )
   2706 	break;;
   2707   esac
   2708 done
   2709 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2710 
   2711 else
   2712   ac_file=''
   2713 fi
   2714 if test -z "$ac_file"; then :
   2715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2716 $as_echo "no" >&6; }
   2717 $as_echo "$as_me: failed program was:" >&5
   2718 sed 's/^/| /' conftest.$ac_ext >&5
   2719 
   2720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2722 as_fn_error 77 "C compiler cannot create executables
   2723 See \`config.log' for more details" "$LINENO" 5; }
   2724 else
   2725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2726 $as_echo "yes" >&6; }
   2727 fi
   2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2729 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2731 $as_echo "$ac_file" >&6; }
   2732 ac_exeext=$ac_cv_exeext
   2733 
   2734 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2735 ac_clean_files=$ac_clean_files_save
   2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2737 $as_echo_n "checking for suffix of executables... " >&6; }
   2738 if { { ac_try="$ac_link"
   2739 case "(($ac_try" in
   2740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2741   *) ac_try_echo=$ac_try;;
   2742 esac
   2743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2744 $as_echo "$ac_try_echo"; } >&5
   2745   (eval "$ac_link") 2>&5
   2746   ac_status=$?
   2747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2748   test $ac_status = 0; }; then :
   2749   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2750 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2751 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2752 # `rm'.
   2753 for ac_file in conftest.exe conftest conftest.*; do
   2754   test -f "$ac_file" || continue
   2755   case $ac_file in
   2756     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2757     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2758 	  break;;
   2759     * ) break;;
   2760   esac
   2761 done
   2762 else
   2763   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2765 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2766 See \`config.log' for more details" "$LINENO" 5; }
   2767 fi
   2768 rm -f conftest conftest$ac_cv_exeext
   2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2770 $as_echo "$ac_cv_exeext" >&6; }
   2771 
   2772 rm -f conftest.$ac_ext
   2773 EXEEXT=$ac_cv_exeext
   2774 ac_exeext=$EXEEXT
   2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2776 /* end confdefs.h.  */
   2777 #include <stdio.h>
   2778 int
   2779 main ()
   2780 {
   2781 FILE *f = fopen ("conftest.out", "w");
   2782  return ferror (f) || fclose (f) != 0;
   2783 
   2784   ;
   2785   return 0;
   2786 }
   2787 _ACEOF
   2788 ac_clean_files="$ac_clean_files conftest.out"
   2789 # Check that the compiler produces executables we can run.  If not, either
   2790 # the compiler is broken, or we cross compile.
   2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2792 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2793 if test "$cross_compiling" != yes; then
   2794   { { ac_try="$ac_link"
   2795 case "(($ac_try" in
   2796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2797   *) ac_try_echo=$ac_try;;
   2798 esac
   2799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2800 $as_echo "$ac_try_echo"; } >&5
   2801   (eval "$ac_link") 2>&5
   2802   ac_status=$?
   2803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2804   test $ac_status = 0; }
   2805   if { ac_try='./conftest$ac_cv_exeext'
   2806   { { case "(($ac_try" in
   2807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2808   *) ac_try_echo=$ac_try;;
   2809 esac
   2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2811 $as_echo "$ac_try_echo"; } >&5
   2812   (eval "$ac_try") 2>&5
   2813   ac_status=$?
   2814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2815   test $ac_status = 0; }; }; then
   2816     cross_compiling=no
   2817   else
   2818     if test "$cross_compiling" = maybe; then
   2819 	cross_compiling=yes
   2820     else
   2821 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2823 as_fn_error $? "cannot run C compiled programs.
   2824 If you meant to cross compile, use \`--host'.
   2825 See \`config.log' for more details" "$LINENO" 5; }
   2826     fi
   2827   fi
   2828 fi
   2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2830 $as_echo "$cross_compiling" >&6; }
   2831 
   2832 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2833 ac_clean_files=$ac_clean_files_save
   2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2835 $as_echo_n "checking for suffix of object files... " >&6; }
   2836 if ${ac_cv_objext+:} false; then :
   2837   $as_echo_n "(cached) " >&6
   2838 else
   2839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2840 /* end confdefs.h.  */
   2841 
   2842 int
   2843 main ()
   2844 {
   2845 
   2846   ;
   2847   return 0;
   2848 }
   2849 _ACEOF
   2850 rm -f conftest.o conftest.obj
   2851 if { { ac_try="$ac_compile"
   2852 case "(($ac_try" in
   2853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2854   *) ac_try_echo=$ac_try;;
   2855 esac
   2856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2857 $as_echo "$ac_try_echo"; } >&5
   2858   (eval "$ac_compile") 2>&5
   2859   ac_status=$?
   2860   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2861   test $ac_status = 0; }; then :
   2862   for ac_file in conftest.o conftest.obj conftest.*; do
   2863   test -f "$ac_file" || continue;
   2864   case $ac_file in
   2865     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2866     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2867        break;;
   2868   esac
   2869 done
   2870 else
   2871   $as_echo "$as_me: failed program was:" >&5
   2872 sed 's/^/| /' conftest.$ac_ext >&5
   2873 
   2874 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2876 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2877 See \`config.log' for more details" "$LINENO" 5; }
   2878 fi
   2879 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2880 fi
   2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2882 $as_echo "$ac_cv_objext" >&6; }
   2883 OBJEXT=$ac_cv_objext
   2884 ac_objext=$OBJEXT
   2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2886 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2887 if ${ac_cv_c_compiler_gnu+:} false; then :
   2888   $as_echo_n "(cached) " >&6
   2889 else
   2890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2891 /* end confdefs.h.  */
   2892 
   2893 int
   2894 main ()
   2895 {
   2896 #ifndef __GNUC__
   2897        choke me
   2898 #endif
   2899 
   2900   ;
   2901   return 0;
   2902 }
   2903 _ACEOF
   2904 if ac_fn_c_try_compile "$LINENO"; then :
   2905   ac_compiler_gnu=yes
   2906 else
   2907   ac_compiler_gnu=no
   2908 fi
   2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2910 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2911 
   2912 fi
   2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2914 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2915 if test $ac_compiler_gnu = yes; then
   2916   GCC=yes
   2917 else
   2918   GCC=
   2919 fi
   2920 ac_test_CFLAGS=${CFLAGS+set}
   2921 ac_save_CFLAGS=$CFLAGS
   2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2923 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2924 if ${ac_cv_prog_cc_g+:} false; then :
   2925   $as_echo_n "(cached) " >&6
   2926 else
   2927   ac_save_c_werror_flag=$ac_c_werror_flag
   2928    ac_c_werror_flag=yes
   2929    ac_cv_prog_cc_g=no
   2930    CFLAGS="-g"
   2931    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2932 /* end confdefs.h.  */
   2933 
   2934 int
   2935 main ()
   2936 {
   2937 
   2938   ;
   2939   return 0;
   2940 }
   2941 _ACEOF
   2942 if ac_fn_c_try_compile "$LINENO"; then :
   2943   ac_cv_prog_cc_g=yes
   2944 else
   2945   CFLAGS=""
   2946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2947 /* end confdefs.h.  */
   2948 
   2949 int
   2950 main ()
   2951 {
   2952 
   2953   ;
   2954   return 0;
   2955 }
   2956 _ACEOF
   2957 if ac_fn_c_try_compile "$LINENO"; then :
   2958 
   2959 else
   2960   ac_c_werror_flag=$ac_save_c_werror_flag
   2961 	 CFLAGS="-g"
   2962 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2963 /* end confdefs.h.  */
   2964 
   2965 int
   2966 main ()
   2967 {
   2968 
   2969   ;
   2970   return 0;
   2971 }
   2972 _ACEOF
   2973 if ac_fn_c_try_compile "$LINENO"; then :
   2974   ac_cv_prog_cc_g=yes
   2975 fi
   2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2977 fi
   2978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2979 fi
   2980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2981    ac_c_werror_flag=$ac_save_c_werror_flag
   2982 fi
   2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2984 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2985 if test "$ac_test_CFLAGS" = set; then
   2986   CFLAGS=$ac_save_CFLAGS
   2987 elif test $ac_cv_prog_cc_g = yes; then
   2988   if test "$GCC" = yes; then
   2989     CFLAGS="-g -O2"
   2990   else
   2991     CFLAGS="-g"
   2992   fi
   2993 else
   2994   if test "$GCC" = yes; then
   2995     CFLAGS="-O2"
   2996   else
   2997     CFLAGS=
   2998   fi
   2999 fi
   3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3001 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3002 if ${ac_cv_prog_cc_c89+:} false; then :
   3003   $as_echo_n "(cached) " >&6
   3004 else
   3005   ac_cv_prog_cc_c89=no
   3006 ac_save_CC=$CC
   3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3008 /* end confdefs.h.  */
   3009 #include <stdarg.h>
   3010 #include <stdio.h>
   3011 struct stat;
   3012 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3013 struct buf { int x; };
   3014 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3015 static char *e (p, i)
   3016      char **p;
   3017      int i;
   3018 {
   3019   return p[i];
   3020 }
   3021 static char *f (char * (*g) (char **, int), char **p, ...)
   3022 {
   3023   char *s;
   3024   va_list v;
   3025   va_start (v,p);
   3026   s = g (p, va_arg (v,int));
   3027   va_end (v);
   3028   return s;
   3029 }
   3030 
   3031 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3032    function prototypes and stuff, but not '\xHH' hex character constants.
   3033    These don't provoke an error unfortunately, instead are silently treated
   3034    as 'x'.  The following induces an error, until -std is added to get
   3035    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3036    array size at least.  It's necessary to write '\x00'==0 to get something
   3037    that's true only with -std.  */
   3038 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3039 
   3040 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3041    inside strings and character constants.  */
   3042 #define FOO(x) 'x'
   3043 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3044 
   3045 int test (int i, double x);
   3046 struct s1 {int (*f) (int a);};
   3047 struct s2 {int (*f) (double a);};
   3048 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3049 int argc;
   3050 char **argv;
   3051 int
   3052 main ()
   3053 {
   3054 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3055   ;
   3056   return 0;
   3057 }
   3058 _ACEOF
   3059 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3060 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3061 do
   3062   CC="$ac_save_CC $ac_arg"
   3063   if ac_fn_c_try_compile "$LINENO"; then :
   3064   ac_cv_prog_cc_c89=$ac_arg
   3065 fi
   3066 rm -f core conftest.err conftest.$ac_objext
   3067   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3068 done
   3069 rm -f conftest.$ac_ext
   3070 CC=$ac_save_CC
   3071 
   3072 fi
   3073 # AC_CACHE_VAL
   3074 case "x$ac_cv_prog_cc_c89" in
   3075   x)
   3076     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3077 $as_echo "none needed" >&6; } ;;
   3078   xno)
   3079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3080 $as_echo "unsupported" >&6; } ;;
   3081   *)
   3082     CC="$CC $ac_cv_prog_cc_c89"
   3083     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3084 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3085 esac
   3086 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3087 
   3088 fi
   3089 
   3090 ac_ext=c
   3091 ac_cpp='$CPP $CPPFLAGS'
   3092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3095 
   3096 ac_ext=c
   3097 ac_cpp='$CPP $CPPFLAGS'
   3098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3102 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3103 if ${am_cv_prog_cc_c_o+:} false; then :
   3104   $as_echo_n "(cached) " >&6
   3105 else
   3106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3107 /* end confdefs.h.  */
   3108 
   3109 int
   3110 main ()
   3111 {
   3112 
   3113   ;
   3114   return 0;
   3115 }
   3116 _ACEOF
   3117   # Make sure it works both with $CC and with simple cc.
   3118   # Following AC_PROG_CC_C_O, we do the test twice because some
   3119   # compilers refuse to overwrite an existing .o file with -o,
   3120   # though they will create one.
   3121   am_cv_prog_cc_c_o=yes
   3122   for am_i in 1 2; do
   3123     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3124    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3125    ac_status=$?
   3126    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3127    (exit $ac_status); } \
   3128          && test -f conftest2.$ac_objext; then
   3129       : OK
   3130     else
   3131       am_cv_prog_cc_c_o=no
   3132       break
   3133     fi
   3134   done
   3135   rm -f core conftest*
   3136   unset am_i
   3137 fi
   3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3139 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3140 if test "$am_cv_prog_cc_c_o" != yes; then
   3141    # Losing compiler, so override with the script.
   3142    # FIXME: It is wrong to rewrite CC.
   3143    # But if we don't then we get into trouble of one sort or another.
   3144    # A longer-term fix would be to have automake use am__CC in this case,
   3145    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3146    CC="$am_aux_dir/compile $CC"
   3147 fi
   3148 ac_ext=c
   3149 ac_cpp='$CPP $CPPFLAGS'
   3150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3153 
   3154 
   3155 
   3156 ac_ext=c
   3157 ac_cpp='$CPP $CPPFLAGS'
   3158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3162 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3163 # On Suns, sometimes $CPP names a directory.
   3164 if test -n "$CPP" && test -d "$CPP"; then
   3165   CPP=
   3166 fi
   3167 if test -z "$CPP"; then
   3168   if ${ac_cv_prog_CPP+:} false; then :
   3169   $as_echo_n "(cached) " >&6
   3170 else
   3171       # Double quotes because CPP needs to be expanded
   3172     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3173     do
   3174       ac_preproc_ok=false
   3175 for ac_c_preproc_warn_flag in '' yes
   3176 do
   3177   # Use a header file that comes with gcc, so configuring glibc
   3178   # with a fresh cross-compiler works.
   3179   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3180   # <limits.h> exists even on freestanding compilers.
   3181   # On the NeXT, cc -E runs the code through the compiler's parser,
   3182   # not just through cpp. "Syntax error" is here to catch this case.
   3183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3184 /* end confdefs.h.  */
   3185 #ifdef __STDC__
   3186 # include <limits.h>
   3187 #else
   3188 # include <assert.h>
   3189 #endif
   3190 		     Syntax error
   3191 _ACEOF
   3192 if ac_fn_c_try_cpp "$LINENO"; then :
   3193 
   3194 else
   3195   # Broken: fails on valid input.
   3196 continue
   3197 fi
   3198 rm -f conftest.err conftest.i conftest.$ac_ext
   3199 
   3200   # OK, works on sane cases.  Now check whether nonexistent headers
   3201   # can be detected and how.
   3202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3203 /* end confdefs.h.  */
   3204 #include <ac_nonexistent.h>
   3205 _ACEOF
   3206 if ac_fn_c_try_cpp "$LINENO"; then :
   3207   # Broken: success on invalid input.
   3208 continue
   3209 else
   3210   # Passes both tests.
   3211 ac_preproc_ok=:
   3212 break
   3213 fi
   3214 rm -f conftest.err conftest.i conftest.$ac_ext
   3215 
   3216 done
   3217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3218 rm -f conftest.i conftest.err conftest.$ac_ext
   3219 if $ac_preproc_ok; then :
   3220   break
   3221 fi
   3222 
   3223     done
   3224     ac_cv_prog_CPP=$CPP
   3225 
   3226 fi
   3227   CPP=$ac_cv_prog_CPP
   3228 else
   3229   ac_cv_prog_CPP=$CPP
   3230 fi
   3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3232 $as_echo "$CPP" >&6; }
   3233 ac_preproc_ok=false
   3234 for ac_c_preproc_warn_flag in '' yes
   3235 do
   3236   # Use a header file that comes with gcc, so configuring glibc
   3237   # with a fresh cross-compiler works.
   3238   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3239   # <limits.h> exists even on freestanding compilers.
   3240   # On the NeXT, cc -E runs the code through the compiler's parser,
   3241   # not just through cpp. "Syntax error" is here to catch this case.
   3242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3243 /* end confdefs.h.  */
   3244 #ifdef __STDC__
   3245 # include <limits.h>
   3246 #else
   3247 # include <assert.h>
   3248 #endif
   3249 		     Syntax error
   3250 _ACEOF
   3251 if ac_fn_c_try_cpp "$LINENO"; then :
   3252 
   3253 else
   3254   # Broken: fails on valid input.
   3255 continue
   3256 fi
   3257 rm -f conftest.err conftest.i conftest.$ac_ext
   3258 
   3259   # OK, works on sane cases.  Now check whether nonexistent headers
   3260   # can be detected and how.
   3261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3262 /* end confdefs.h.  */
   3263 #include <ac_nonexistent.h>
   3264 _ACEOF
   3265 if ac_fn_c_try_cpp "$LINENO"; then :
   3266   # Broken: success on invalid input.
   3267 continue
   3268 else
   3269   # Passes both tests.
   3270 ac_preproc_ok=:
   3271 break
   3272 fi
   3273 rm -f conftest.err conftest.i conftest.$ac_ext
   3274 
   3275 done
   3276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3277 rm -f conftest.i conftest.err conftest.$ac_ext
   3278 if $ac_preproc_ok; then :
   3279 
   3280 else
   3281   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3283 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3284 See \`config.log' for more details" "$LINENO" 5; }
   3285 fi
   3286 
   3287 ac_ext=c
   3288 ac_cpp='$CPP $CPPFLAGS'
   3289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3292 
   3293 
   3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3295 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3296 if ${ac_cv_path_GREP+:} false; then :
   3297   $as_echo_n "(cached) " >&6
   3298 else
   3299   if test -z "$GREP"; then
   3300   ac_path_GREP_found=false
   3301   # Loop through the user's path and test for each of PROGNAME-LIST
   3302   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3303 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3304 do
   3305   IFS=$as_save_IFS
   3306   test -z "$as_dir" && as_dir=.
   3307     for ac_prog in grep ggrep; do
   3308     for ac_exec_ext in '' $ac_executable_extensions; do
   3309       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3310       as_fn_executable_p "$ac_path_GREP" || continue
   3311 # Check for GNU ac_path_GREP and select it if it is found.
   3312   # Check for GNU $ac_path_GREP
   3313 case `"$ac_path_GREP" --version 2>&1` in
   3314 *GNU*)
   3315   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3316 *)
   3317   ac_count=0
   3318   $as_echo_n 0123456789 >"conftest.in"
   3319   while :
   3320   do
   3321     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3322     mv "conftest.tmp" "conftest.in"
   3323     cp "conftest.in" "conftest.nl"
   3324     $as_echo 'GREP' >> "conftest.nl"
   3325     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3326     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3327     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3328     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3329       # Best one so far, save it but keep looking for a better one
   3330       ac_cv_path_GREP="$ac_path_GREP"
   3331       ac_path_GREP_max=$ac_count
   3332     fi
   3333     # 10*(2^10) chars as input seems more than enough
   3334     test $ac_count -gt 10 && break
   3335   done
   3336   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3337 esac
   3338 
   3339       $ac_path_GREP_found && break 3
   3340     done
   3341   done
   3342   done
   3343 IFS=$as_save_IFS
   3344   if test -z "$ac_cv_path_GREP"; then
   3345     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3346   fi
   3347 else
   3348   ac_cv_path_GREP=$GREP
   3349 fi
   3350 
   3351 fi
   3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3353 $as_echo "$ac_cv_path_GREP" >&6; }
   3354  GREP="$ac_cv_path_GREP"
   3355 
   3356 
   3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3358 $as_echo_n "checking for egrep... " >&6; }
   3359 if ${ac_cv_path_EGREP+:} false; then :
   3360   $as_echo_n "(cached) " >&6
   3361 else
   3362   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3363    then ac_cv_path_EGREP="$GREP -E"
   3364    else
   3365      if test -z "$EGREP"; then
   3366   ac_path_EGREP_found=false
   3367   # Loop through the user's path and test for each of PROGNAME-LIST
   3368   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3369 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3370 do
   3371   IFS=$as_save_IFS
   3372   test -z "$as_dir" && as_dir=.
   3373     for ac_prog in egrep; do
   3374     for ac_exec_ext in '' $ac_executable_extensions; do
   3375       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3376       as_fn_executable_p "$ac_path_EGREP" || continue
   3377 # Check for GNU ac_path_EGREP and select it if it is found.
   3378   # Check for GNU $ac_path_EGREP
   3379 case `"$ac_path_EGREP" --version 2>&1` in
   3380 *GNU*)
   3381   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3382 *)
   3383   ac_count=0
   3384   $as_echo_n 0123456789 >"conftest.in"
   3385   while :
   3386   do
   3387     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3388     mv "conftest.tmp" "conftest.in"
   3389     cp "conftest.in" "conftest.nl"
   3390     $as_echo 'EGREP' >> "conftest.nl"
   3391     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3392     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3393     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3394     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3395       # Best one so far, save it but keep looking for a better one
   3396       ac_cv_path_EGREP="$ac_path_EGREP"
   3397       ac_path_EGREP_max=$ac_count
   3398     fi
   3399     # 10*(2^10) chars as input seems more than enough
   3400     test $ac_count -gt 10 && break
   3401   done
   3402   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3403 esac
   3404 
   3405       $ac_path_EGREP_found && break 3
   3406     done
   3407   done
   3408   done
   3409 IFS=$as_save_IFS
   3410   if test -z "$ac_cv_path_EGREP"; then
   3411     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3412   fi
   3413 else
   3414   ac_cv_path_EGREP=$EGREP
   3415 fi
   3416 
   3417    fi
   3418 fi
   3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3420 $as_echo "$ac_cv_path_EGREP" >&6; }
   3421  EGREP="$ac_cv_path_EGREP"
   3422 
   3423 
   3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3425 $as_echo_n "checking for ANSI C header files... " >&6; }
   3426 if ${ac_cv_header_stdc+:} false; then :
   3427   $as_echo_n "(cached) " >&6
   3428 else
   3429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3430 /* end confdefs.h.  */
   3431 #include <stdlib.h>
   3432 #include <stdarg.h>
   3433 #include <string.h>
   3434 #include <float.h>
   3435 
   3436 int
   3437 main ()
   3438 {
   3439 
   3440   ;
   3441   return 0;
   3442 }
   3443 _ACEOF
   3444 if ac_fn_c_try_compile "$LINENO"; then :
   3445   ac_cv_header_stdc=yes
   3446 else
   3447   ac_cv_header_stdc=no
   3448 fi
   3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3450 
   3451 if test $ac_cv_header_stdc = yes; then
   3452   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3454 /* end confdefs.h.  */
   3455 #include <string.h>
   3456 
   3457 _ACEOF
   3458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3459   $EGREP "memchr" >/dev/null 2>&1; then :
   3460 
   3461 else
   3462   ac_cv_header_stdc=no
   3463 fi
   3464 rm -f conftest*
   3465 
   3466 fi
   3467 
   3468 if test $ac_cv_header_stdc = yes; then
   3469   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3471 /* end confdefs.h.  */
   3472 #include <stdlib.h>
   3473 
   3474 _ACEOF
   3475 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3476   $EGREP "free" >/dev/null 2>&1; then :
   3477 
   3478 else
   3479   ac_cv_header_stdc=no
   3480 fi
   3481 rm -f conftest*
   3482 
   3483 fi
   3484 
   3485 if test $ac_cv_header_stdc = yes; then
   3486   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3487   if test "$cross_compiling" = yes; then :
   3488   :
   3489 else
   3490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3491 /* end confdefs.h.  */
   3492 #include <ctype.h>
   3493 #include <stdlib.h>
   3494 #if ((' ' & 0x0FF) == 0x020)
   3495 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3496 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3497 #else
   3498 # define ISLOWER(c) \
   3499 		   (('a' <= (c) && (c) <= 'i') \
   3500 		     || ('j' <= (c) && (c) <= 'r') \
   3501 		     || ('s' <= (c) && (c) <= 'z'))
   3502 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3503 #endif
   3504 
   3505 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3506 int
   3507 main ()
   3508 {
   3509   int i;
   3510   for (i = 0; i < 256; i++)
   3511     if (XOR (islower (i), ISLOWER (i))
   3512 	|| toupper (i) != TOUPPER (i))
   3513       return 2;
   3514   return 0;
   3515 }
   3516 _ACEOF
   3517 if ac_fn_c_try_run "$LINENO"; then :
   3518 
   3519 else
   3520   ac_cv_header_stdc=no
   3521 fi
   3522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3523   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3524 fi
   3525 
   3526 fi
   3527 fi
   3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3529 $as_echo "$ac_cv_header_stdc" >&6; }
   3530 if test $ac_cv_header_stdc = yes; then
   3531 
   3532 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3533 
   3534 fi
   3535 
   3536 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3537 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3538 		  inttypes.h stdint.h unistd.h
   3539 do :
   3540   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3541 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3542 "
   3543 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3544   cat >>confdefs.h <<_ACEOF
   3545 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3546 _ACEOF
   3547 
   3548 fi
   3549 
   3550 done
   3551 
   3552 
   3553 
   3554   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3555 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3556   MINIX=yes
   3557 else
   3558   MINIX=
   3559 fi
   3560 
   3561 
   3562   if test "$MINIX" = yes; then
   3563 
   3564 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3565 
   3566 
   3567 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3568 
   3569 
   3570 $as_echo "#define _MINIX 1" >>confdefs.h
   3571 
   3572   fi
   3573 
   3574 
   3575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3576 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3577 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3578   $as_echo_n "(cached) " >&6
   3579 else
   3580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3581 /* end confdefs.h.  */
   3582 
   3583 #         define __EXTENSIONS__ 1
   3584           $ac_includes_default
   3585 int
   3586 main ()
   3587 {
   3588 
   3589   ;
   3590   return 0;
   3591 }
   3592 _ACEOF
   3593 if ac_fn_c_try_compile "$LINENO"; then :
   3594   ac_cv_safe_to_define___extensions__=yes
   3595 else
   3596   ac_cv_safe_to_define___extensions__=no
   3597 fi
   3598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3599 fi
   3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3601 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3602   test $ac_cv_safe_to_define___extensions__ = yes &&
   3603     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3604 
   3605   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3606 
   3607   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3608 
   3609   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3610 
   3611   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3612 
   3613 
   3614 
   3615 # Initialize Automake
   3616 am__api_version='1.15'
   3617 
   3618 # Find a good install program.  We prefer a C program (faster),
   3619 # so one script is as good as another.  But avoid the broken or
   3620 # incompatible versions:
   3621 # SysV /etc/install, /usr/sbin/install
   3622 # SunOS /usr/etc/install
   3623 # IRIX /sbin/install
   3624 # AIX /bin/install
   3625 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3626 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3627 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3628 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3629 # OS/2's system install, which has a completely different semantic
   3630 # ./install, which can be erroneously created by make from ./install.sh.
   3631 # Reject install programs that cannot install multiple files.
   3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3633 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3634 if test -z "$INSTALL"; then
   3635 if ${ac_cv_path_install+:} false; then :
   3636   $as_echo_n "(cached) " >&6
   3637 else
   3638   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3639 for as_dir in $PATH
   3640 do
   3641   IFS=$as_save_IFS
   3642   test -z "$as_dir" && as_dir=.
   3643     # Account for people who put trailing slashes in PATH elements.
   3644 case $as_dir/ in #((
   3645   ./ | .// | /[cC]/* | \
   3646   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3647   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3648   /usr/ucb/* ) ;;
   3649   *)
   3650     # OSF1 and SCO ODT 3.0 have their own names for install.
   3651     # Don't use installbsd from OSF since it installs stuff as root
   3652     # by default.
   3653     for ac_prog in ginstall scoinst install; do
   3654       for ac_exec_ext in '' $ac_executable_extensions; do
   3655 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3656 	  if test $ac_prog = install &&
   3657 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3658 	    # AIX install.  It has an incompatible calling convention.
   3659 	    :
   3660 	  elif test $ac_prog = install &&
   3661 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3662 	    # program-specific install script used by HP pwplus--don't use.
   3663 	    :
   3664 	  else
   3665 	    rm -rf conftest.one conftest.two conftest.dir
   3666 	    echo one > conftest.one
   3667 	    echo two > conftest.two
   3668 	    mkdir conftest.dir
   3669 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3670 	      test -s conftest.one && test -s conftest.two &&
   3671 	      test -s conftest.dir/conftest.one &&
   3672 	      test -s conftest.dir/conftest.two
   3673 	    then
   3674 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3675 	      break 3
   3676 	    fi
   3677 	  fi
   3678 	fi
   3679       done
   3680     done
   3681     ;;
   3682 esac
   3683 
   3684   done
   3685 IFS=$as_save_IFS
   3686 
   3687 rm -rf conftest.one conftest.two conftest.dir
   3688 
   3689 fi
   3690   if test "${ac_cv_path_install+set}" = set; then
   3691     INSTALL=$ac_cv_path_install
   3692   else
   3693     # As a last resort, use the slow shell script.  Don't cache a
   3694     # value for INSTALL within a source directory, because that will
   3695     # break other packages using the cache if that directory is
   3696     # removed, or if the value is a relative name.
   3697     INSTALL=$ac_install_sh
   3698   fi
   3699 fi
   3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3701 $as_echo "$INSTALL" >&6; }
   3702 
   3703 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3704 # It thinks the first close brace ends the variable substitution.
   3705 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3706 
   3707 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3708 
   3709 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3710 
   3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3712 $as_echo_n "checking whether build environment is sane... " >&6; }
   3713 # Reject unsafe characters in $srcdir or the absolute working directory
   3714 # name.  Accept space and tab only in the latter.
   3715 am_lf='
   3716 '
   3717 case `pwd` in
   3718   *[\\\"\#\$\&\'\`$am_lf]*)
   3719     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3720 esac
   3721 case $srcdir in
   3722   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3723     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3724 esac
   3725 
   3726 # Do 'set' in a subshell so we don't clobber the current shell's
   3727 # arguments.  Must try -L first in case configure is actually a
   3728 # symlink; some systems play weird games with the mod time of symlinks
   3729 # (eg FreeBSD returns the mod time of the symlink's containing
   3730 # directory).
   3731 if (
   3732    am_has_slept=no
   3733    for am_try in 1 2; do
   3734      echo "timestamp, slept: $am_has_slept" > conftest.file
   3735      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3736      if test "$*" = "X"; then
   3737 	# -L didn't work.
   3738 	set X `ls -t "$srcdir/configure" conftest.file`
   3739      fi
   3740      if test "$*" != "X $srcdir/configure conftest.file" \
   3741 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3742 
   3743 	# If neither matched, then we have a broken ls.  This can happen
   3744 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3745 	# broken ls alias from the environment.  This has actually
   3746 	# happened.  Such a system could not be considered "sane".
   3747 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3748   alias in your environment" "$LINENO" 5
   3749      fi
   3750      if test "$2" = conftest.file || test $am_try -eq 2; then
   3751        break
   3752      fi
   3753      # Just in case.
   3754      sleep 1
   3755      am_has_slept=yes
   3756    done
   3757    test "$2" = conftest.file
   3758    )
   3759 then
   3760    # Ok.
   3761    :
   3762 else
   3763    as_fn_error $? "newly created file is older than distributed files!
   3764 Check your system clock" "$LINENO" 5
   3765 fi
   3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3767 $as_echo "yes" >&6; }
   3768 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3769 # generated files are strictly newer.
   3770 am_sleep_pid=
   3771 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3772   ( sleep 1 ) &
   3773   am_sleep_pid=$!
   3774 fi
   3775 
   3776 rm -f conftest.file
   3777 
   3778 test "$program_prefix" != NONE &&
   3779   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3780 # Use a double $ so make ignores it.
   3781 test "$program_suffix" != NONE &&
   3782   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3783 # Double any \ or $.
   3784 # By default was `s,x,x', remove it if useless.
   3785 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3786 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3787 
   3788 if test x"${MISSING+set}" != xset; then
   3789   case $am_aux_dir in
   3790   *\ * | *\	*)
   3791     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3792   *)
   3793     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3794   esac
   3795 fi
   3796 # Use eval to expand $SHELL
   3797 if eval "$MISSING --is-lightweight"; then
   3798   am_missing_run="$MISSING "
   3799 else
   3800   am_missing_run=
   3801   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3802 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3803 fi
   3804 
   3805 if test x"${install_sh+set}" != xset; then
   3806   case $am_aux_dir in
   3807   *\ * | *\	*)
   3808     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3809   *)
   3810     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3811   esac
   3812 fi
   3813 
   3814 # Installed binaries are usually stripped using 'strip' when the user
   3815 # run "make install-strip".  However 'strip' might not be the right
   3816 # tool to use in cross-compilation environments, therefore Automake
   3817 # will honor the 'STRIP' environment variable to overrule this program.
   3818 if test "$cross_compiling" != no; then
   3819   if test -n "$ac_tool_prefix"; then
   3820   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3821 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3823 $as_echo_n "checking for $ac_word... " >&6; }
   3824 if ${ac_cv_prog_STRIP+:} false; then :
   3825   $as_echo_n "(cached) " >&6
   3826 else
   3827   if test -n "$STRIP"; then
   3828   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3829 else
   3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3831 for as_dir in $PATH
   3832 do
   3833   IFS=$as_save_IFS
   3834   test -z "$as_dir" && as_dir=.
   3835     for ac_exec_ext in '' $ac_executable_extensions; do
   3836   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3837     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3839     break 2
   3840   fi
   3841 done
   3842   done
   3843 IFS=$as_save_IFS
   3844 
   3845 fi
   3846 fi
   3847 STRIP=$ac_cv_prog_STRIP
   3848 if test -n "$STRIP"; then
   3849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3850 $as_echo "$STRIP" >&6; }
   3851 else
   3852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3853 $as_echo "no" >&6; }
   3854 fi
   3855 
   3856 
   3857 fi
   3858 if test -z "$ac_cv_prog_STRIP"; then
   3859   ac_ct_STRIP=$STRIP
   3860   # Extract the first word of "strip", so it can be a program name with args.
   3861 set dummy strip; ac_word=$2
   3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3863 $as_echo_n "checking for $ac_word... " >&6; }
   3864 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3865   $as_echo_n "(cached) " >&6
   3866 else
   3867   if test -n "$ac_ct_STRIP"; then
   3868   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3869 else
   3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3871 for as_dir in $PATH
   3872 do
   3873   IFS=$as_save_IFS
   3874   test -z "$as_dir" && as_dir=.
   3875     for ac_exec_ext in '' $ac_executable_extensions; do
   3876   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3877     ac_cv_prog_ac_ct_STRIP="strip"
   3878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3879     break 2
   3880   fi
   3881 done
   3882   done
   3883 IFS=$as_save_IFS
   3884 
   3885 fi
   3886 fi
   3887 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3888 if test -n "$ac_ct_STRIP"; then
   3889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3890 $as_echo "$ac_ct_STRIP" >&6; }
   3891 else
   3892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3893 $as_echo "no" >&6; }
   3894 fi
   3895 
   3896   if test "x$ac_ct_STRIP" = x; then
   3897     STRIP=":"
   3898   else
   3899     case $cross_compiling:$ac_tool_warned in
   3900 yes:)
   3901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3903 ac_tool_warned=yes ;;
   3904 esac
   3905     STRIP=$ac_ct_STRIP
   3906   fi
   3907 else
   3908   STRIP="$ac_cv_prog_STRIP"
   3909 fi
   3910 
   3911 fi
   3912 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3913 
   3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3915 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3916 if test -z "$MKDIR_P"; then
   3917   if ${ac_cv_path_mkdir+:} false; then :
   3918   $as_echo_n "(cached) " >&6
   3919 else
   3920   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3921 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3922 do
   3923   IFS=$as_save_IFS
   3924   test -z "$as_dir" && as_dir=.
   3925     for ac_prog in mkdir gmkdir; do
   3926 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3927 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3928 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3929 	     'mkdir (GNU coreutils) '* | \
   3930 	     'mkdir (coreutils) '* | \
   3931 	     'mkdir (fileutils) '4.1*)
   3932 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3933 	       break 3;;
   3934 	   esac
   3935 	 done
   3936        done
   3937   done
   3938 IFS=$as_save_IFS
   3939 
   3940 fi
   3941 
   3942   test -d ./--version && rmdir ./--version
   3943   if test "${ac_cv_path_mkdir+set}" = set; then
   3944     MKDIR_P="$ac_cv_path_mkdir -p"
   3945   else
   3946     # As a last resort, use the slow shell script.  Don't cache a
   3947     # value for MKDIR_P within a source directory, because that will
   3948     # break other packages using the cache if that directory is
   3949     # removed, or if the value is a relative name.
   3950     MKDIR_P="$ac_install_sh -d"
   3951   fi
   3952 fi
   3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3954 $as_echo "$MKDIR_P" >&6; }
   3955 
   3956 for ac_prog in gawk mawk nawk awk
   3957 do
   3958   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3959 set dummy $ac_prog; ac_word=$2
   3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3961 $as_echo_n "checking for $ac_word... " >&6; }
   3962 if ${ac_cv_prog_AWK+:} false; then :
   3963   $as_echo_n "(cached) " >&6
   3964 else
   3965   if test -n "$AWK"; then
   3966   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3967 else
   3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3969 for as_dir in $PATH
   3970 do
   3971   IFS=$as_save_IFS
   3972   test -z "$as_dir" && as_dir=.
   3973     for ac_exec_ext in '' $ac_executable_extensions; do
   3974   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3975     ac_cv_prog_AWK="$ac_prog"
   3976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3977     break 2
   3978   fi
   3979 done
   3980   done
   3981 IFS=$as_save_IFS
   3982 
   3983 fi
   3984 fi
   3985 AWK=$ac_cv_prog_AWK
   3986 if test -n "$AWK"; then
   3987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3988 $as_echo "$AWK" >&6; }
   3989 else
   3990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3991 $as_echo "no" >&6; }
   3992 fi
   3993 
   3994 
   3995   test -n "$AWK" && break
   3996 done
   3997 
   3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3999 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4000 set x ${MAKE-make}
   4001 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4002 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4003   $as_echo_n "(cached) " >&6
   4004 else
   4005   cat >conftest.make <<\_ACEOF
   4006 SHELL = /bin/sh
   4007 all:
   4008 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4009 _ACEOF
   4010 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4011 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4012   *@@@%%%=?*=@@@%%%*)
   4013     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4014   *)
   4015     eval ac_cv_prog_make_${ac_make}_set=no;;
   4016 esac
   4017 rm -f conftest.make
   4018 fi
   4019 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4021 $as_echo "yes" >&6; }
   4022   SET_MAKE=
   4023 else
   4024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4025 $as_echo "no" >&6; }
   4026   SET_MAKE="MAKE=${MAKE-make}"
   4027 fi
   4028 
   4029 rm -rf .tst 2>/dev/null
   4030 mkdir .tst 2>/dev/null
   4031 if test -d .tst; then
   4032   am__leading_dot=.
   4033 else
   4034   am__leading_dot=_
   4035 fi
   4036 rmdir .tst 2>/dev/null
   4037 
   4038 DEPDIR="${am__leading_dot}deps"
   4039 
   4040 ac_config_commands="$ac_config_commands depfiles"
   4041 
   4042 
   4043 am_make=${MAKE-make}
   4044 cat > confinc << 'END'
   4045 am__doit:
   4046 	@echo this is the am__doit target
   4047 .PHONY: am__doit
   4048 END
   4049 # If we don't find an include directive, just comment out the code.
   4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4051 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4052 am__include="#"
   4053 am__quote=
   4054 _am_result=none
   4055 # First try GNU make style include.
   4056 echo "include confinc" > confmf
   4057 # Ignore all kinds of additional output from 'make'.
   4058 case `$am_make -s -f confmf 2> /dev/null` in #(
   4059 *the\ am__doit\ target*)
   4060   am__include=include
   4061   am__quote=
   4062   _am_result=GNU
   4063   ;;
   4064 esac
   4065 # Now try BSD make style include.
   4066 if test "$am__include" = "#"; then
   4067    echo '.include "confinc"' > confmf
   4068    case `$am_make -s -f confmf 2> /dev/null` in #(
   4069    *the\ am__doit\ target*)
   4070      am__include=.include
   4071      am__quote="\""
   4072      _am_result=BSD
   4073      ;;
   4074    esac
   4075 fi
   4076 
   4077 
   4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4079 $as_echo "$_am_result" >&6; }
   4080 rm -f confinc confmf
   4081 
   4082 # Check whether --enable-dependency-tracking was given.
   4083 if test "${enable_dependency_tracking+set}" = set; then :
   4084   enableval=$enable_dependency_tracking;
   4085 fi
   4086 
   4087 if test "x$enable_dependency_tracking" != xno; then
   4088   am_depcomp="$ac_aux_dir/depcomp"
   4089   AMDEPBACKSLASH='\'
   4090   am__nodep='_no'
   4091 fi
   4092  if test "x$enable_dependency_tracking" != xno; then
   4093   AMDEP_TRUE=
   4094   AMDEP_FALSE='#'
   4095 else
   4096   AMDEP_TRUE='#'
   4097   AMDEP_FALSE=
   4098 fi
   4099 
   4100 
   4101 # Check whether --enable-silent-rules was given.
   4102 if test "${enable_silent_rules+set}" = set; then :
   4103   enableval=$enable_silent_rules;
   4104 fi
   4105 
   4106 case $enable_silent_rules in # (((
   4107   yes) AM_DEFAULT_VERBOSITY=0;;
   4108    no) AM_DEFAULT_VERBOSITY=1;;
   4109     *) AM_DEFAULT_VERBOSITY=1;;
   4110 esac
   4111 am_make=${MAKE-make}
   4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4113 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4114 if ${am_cv_make_support_nested_variables+:} false; then :
   4115   $as_echo_n "(cached) " >&6
   4116 else
   4117   if $as_echo 'TRUE=$(BAR$(V))
   4118 BAR0=false
   4119 BAR1=true
   4120 V=1
   4121 am__doit:
   4122 	@$(TRUE)
   4123 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4124   am_cv_make_support_nested_variables=yes
   4125 else
   4126   am_cv_make_support_nested_variables=no
   4127 fi
   4128 fi
   4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4130 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4131 if test $am_cv_make_support_nested_variables = yes; then
   4132     AM_V='$(V)'
   4133   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4134 else
   4135   AM_V=$AM_DEFAULT_VERBOSITY
   4136   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4137 fi
   4138 AM_BACKSLASH='\'
   4139 
   4140 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4141   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4142   # is not polluted with repeated "-I."
   4143   am__isrc=' -I$(srcdir)'
   4144   # test to see if srcdir already configured
   4145   if test -f $srcdir/config.status; then
   4146     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4147   fi
   4148 fi
   4149 
   4150 # test whether we have cygpath
   4151 if test -z "$CYGPATH_W"; then
   4152   if (cygpath --version) >/dev/null 2>/dev/null; then
   4153     CYGPATH_W='cygpath -w'
   4154   else
   4155     CYGPATH_W=echo
   4156   fi
   4157 fi
   4158 
   4159 
   4160 # Define the identity of the package.
   4161  PACKAGE='mkfontscale'
   4162  VERSION='1.2.1'
   4163 
   4164 
   4165 cat >>confdefs.h <<_ACEOF
   4166 #define PACKAGE "$PACKAGE"
   4167 _ACEOF
   4168 
   4169 
   4170 cat >>confdefs.h <<_ACEOF
   4171 #define VERSION "$VERSION"
   4172 _ACEOF
   4173 
   4174 # Some tools Automake needs.
   4175 
   4176 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4177 
   4178 
   4179 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4180 
   4181 
   4182 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4183 
   4184 
   4185 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4186 
   4187 
   4188 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4189 
   4190 # For better backward compatibility.  To be removed once Automake 1.9.x
   4191 # dies out for good.  For more background, see:
   4192 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4193 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4194 mkdir_p='$(MKDIR_P)'
   4195 
   4196 # We need awk for the "check" target (and possibly the TAP driver).  The
   4197 # system "awk" is bad on some platforms.
   4198 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4199 # in the wild :-(  We should find a proper way to deprecate it ...
   4200 AMTAR='$${TAR-tar}'
   4201 
   4202 
   4203 # We'll loop over all known methods to create a tar archive until one works.
   4204 _am_tools='gnutar  pax cpio none'
   4205 
   4206 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4207 
   4208 
   4209 
   4210 
   4211 
   4212 depcc="$CC"   am_compiler_list=
   4213 
   4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4215 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4216 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4217   $as_echo_n "(cached) " >&6
   4218 else
   4219   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4220   # We make a subdir and do the tests there.  Otherwise we can end up
   4221   # making bogus files that we don't know about and never remove.  For
   4222   # instance it was reported that on HP-UX the gcc test will end up
   4223   # making a dummy file named 'D' -- because '-MD' means "put the output
   4224   # in D".
   4225   rm -rf conftest.dir
   4226   mkdir conftest.dir
   4227   # Copy depcomp to subdir because otherwise we won't find it if we're
   4228   # using a relative directory.
   4229   cp "$am_depcomp" conftest.dir
   4230   cd conftest.dir
   4231   # We will build objects and dependencies in a subdirectory because
   4232   # it helps to detect inapplicable dependency modes.  For instance
   4233   # both Tru64's cc and ICC support -MD to output dependencies as a
   4234   # side effect of compilation, but ICC will put the dependencies in
   4235   # the current directory while Tru64 will put them in the object
   4236   # directory.
   4237   mkdir sub
   4238 
   4239   am_cv_CC_dependencies_compiler_type=none
   4240   if test "$am_compiler_list" = ""; then
   4241      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4242   fi
   4243   am__universal=false
   4244   case " $depcc " in #(
   4245      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4246      esac
   4247 
   4248   for depmode in $am_compiler_list; do
   4249     # Setup a source with many dependencies, because some compilers
   4250     # like to wrap large dependency lists on column 80 (with \), and
   4251     # we should not choose a depcomp mode which is confused by this.
   4252     #
   4253     # We need to recreate these files for each test, as the compiler may
   4254     # overwrite some of them when testing with obscure command lines.
   4255     # This happens at least with the AIX C compiler.
   4256     : > sub/conftest.c
   4257     for i in 1 2 3 4 5 6; do
   4258       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4259       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4260       # Solaris 10 /bin/sh.
   4261       echo '/* dummy */' > sub/conftst$i.h
   4262     done
   4263     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4264 
   4265     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4266     # mode.  It turns out that the SunPro C++ compiler does not properly
   4267     # handle '-M -o', and we need to detect this.  Also, some Intel
   4268     # versions had trouble with output in subdirs.
   4269     am__obj=sub/conftest.${OBJEXT-o}
   4270     am__minus_obj="-o $am__obj"
   4271     case $depmode in
   4272     gcc)
   4273       # This depmode causes a compiler race in universal mode.
   4274       test "$am__universal" = false || continue
   4275       ;;
   4276     nosideeffect)
   4277       # After this tag, mechanisms are not by side-effect, so they'll
   4278       # only be used when explicitly requested.
   4279       if test "x$enable_dependency_tracking" = xyes; then
   4280 	continue
   4281       else
   4282 	break
   4283       fi
   4284       ;;
   4285     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4286       # This compiler won't grok '-c -o', but also, the minuso test has
   4287       # not run yet.  These depmodes are late enough in the game, and
   4288       # so weak that their functioning should not be impacted.
   4289       am__obj=conftest.${OBJEXT-o}
   4290       am__minus_obj=
   4291       ;;
   4292     none) break ;;
   4293     esac
   4294     if depmode=$depmode \
   4295        source=sub/conftest.c object=$am__obj \
   4296        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4297        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4298          >/dev/null 2>conftest.err &&
   4299        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4300        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4301        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4302        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4303       # icc doesn't choke on unknown options, it will just issue warnings
   4304       # or remarks (even with -Werror).  So we grep stderr for any message
   4305       # that says an option was ignored or not supported.
   4306       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4307       #   icc: Command line warning: ignoring option '-M'; no argument required
   4308       # The diagnosis changed in icc 8.0:
   4309       #   icc: Command line remark: option '-MP' not supported
   4310       if (grep 'ignoring option' conftest.err ||
   4311           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4312         am_cv_CC_dependencies_compiler_type=$depmode
   4313         break
   4314       fi
   4315     fi
   4316   done
   4317 
   4318   cd ..
   4319   rm -rf conftest.dir
   4320 else
   4321   am_cv_CC_dependencies_compiler_type=none
   4322 fi
   4323 
   4324 fi
   4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4326 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4327 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4328 
   4329  if
   4330   test "x$enable_dependency_tracking" != xno \
   4331   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4332   am__fastdepCC_TRUE=
   4333   am__fastdepCC_FALSE='#'
   4334 else
   4335   am__fastdepCC_TRUE='#'
   4336   am__fastdepCC_FALSE=
   4337 fi
   4338 
   4339 
   4340 
   4341 # POSIX will say in a future version that running "rm -f" with no argument
   4342 # is OK; and we want to be able to make that assumption in our Makefile
   4343 # recipes.  So use an aggressive probe to check that the usage we want is
   4344 # actually supported "in the wild" to an acceptable degree.
   4345 # See automake bug#10828.
   4346 # To make any issue more visible, cause the running configure to be aborted
   4347 # by default if the 'rm' program in use doesn't match our expectations; the
   4348 # user can still override this though.
   4349 if rm -f && rm -fr && rm -rf; then : OK; else
   4350   cat >&2 <<'END'
   4351 Oops!
   4352 
   4353 Your 'rm' program seems unable to run without file operands specified
   4354 on the command line, even when the '-f' option is present.  This is contrary
   4355 to the behaviour of most rm programs out there, and not conforming with
   4356 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4357 
   4358 Please tell bug-automake@gnu.org about your system, including the value
   4359 of your $PATH and any error possibly output before this message.  This
   4360 can help us improve future automake versions.
   4361 
   4362 END
   4363   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4364     echo 'Configuration will proceed anyway, since you have set the' >&2
   4365     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4366     echo >&2
   4367   else
   4368     cat >&2 <<'END'
   4369 Aborting the configuration process, to ensure you take notice of the issue.
   4370 
   4371 You can download and install GNU coreutils to get an 'rm' implementation
   4372 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4373 
   4374 If you want to complete the configuration process using your problematic
   4375 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4376 to "yes", and re-run configure.
   4377 
   4378 END
   4379     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4380   fi
   4381 fi
   4382 
   4383 
   4384 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4385 
   4386 
   4387 
   4388 
   4389 
   4390 
   4391 
   4392 
   4393 
   4394 
   4395 
   4396    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4397 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4398 if ${ac_cv_prog_cc_c99+:} false; then :
   4399   $as_echo_n "(cached) " >&6
   4400 else
   4401   ac_cv_prog_cc_c99=no
   4402 ac_save_CC=$CC
   4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4404 /* end confdefs.h.  */
   4405 #include <stdarg.h>
   4406 #include <stdbool.h>
   4407 #include <stdlib.h>
   4408 #include <wchar.h>
   4409 #include <stdio.h>
   4410 
   4411 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4412 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4413 #define showlist(...) puts (#__VA_ARGS__)
   4414 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4415 static void
   4416 test_varargs_macros (void)
   4417 {
   4418   int x = 1234;
   4419   int y = 5678;
   4420   debug ("Flag");
   4421   debug ("X = %d\n", x);
   4422   showlist (The first, second, and third items.);
   4423   report (x>y, "x is %d but y is %d", x, y);
   4424 }
   4425 
   4426 // Check long long types.
   4427 #define BIG64 18446744073709551615ull
   4428 #define BIG32 4294967295ul
   4429 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4430 #if !BIG_OK
   4431   your preprocessor is broken;
   4432 #endif
   4433 #if BIG_OK
   4434 #else
   4435   your preprocessor is broken;
   4436 #endif
   4437 static long long int bignum = -9223372036854775807LL;
   4438 static unsigned long long int ubignum = BIG64;
   4439 
   4440 struct incomplete_array
   4441 {
   4442   int datasize;
   4443   double data[];
   4444 };
   4445 
   4446 struct named_init {
   4447   int number;
   4448   const wchar_t *name;
   4449   double average;
   4450 };
   4451 
   4452 typedef const char *ccp;
   4453 
   4454 static inline int
   4455 test_restrict (ccp restrict text)
   4456 {
   4457   // See if C++-style comments work.
   4458   // Iterate through items via the restricted pointer.
   4459   // Also check for declarations in for loops.
   4460   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4461     continue;
   4462   return 0;
   4463 }
   4464 
   4465 // Check varargs and va_copy.
   4466 static void
   4467 test_varargs (const char *format, ...)
   4468 {
   4469   va_list args;
   4470   va_start (args, format);
   4471   va_list args_copy;
   4472   va_copy (args_copy, args);
   4473 
   4474   const char *str;
   4475   int number;
   4476   float fnumber;
   4477 
   4478   while (*format)
   4479     {
   4480       switch (*format++)
   4481 	{
   4482 	case 's': // string
   4483 	  str = va_arg (args_copy, const char *);
   4484 	  break;
   4485 	case 'd': // int
   4486 	  number = va_arg (args_copy, int);
   4487 	  break;
   4488 	case 'f': // float
   4489 	  fnumber = va_arg (args_copy, double);
   4490 	  break;
   4491 	default:
   4492 	  break;
   4493 	}
   4494     }
   4495   va_end (args_copy);
   4496   va_end (args);
   4497 }
   4498 
   4499 int
   4500 main ()
   4501 {
   4502 
   4503   // Check bool.
   4504   _Bool success = false;
   4505 
   4506   // Check restrict.
   4507   if (test_restrict ("String literal") == 0)
   4508     success = true;
   4509   char *restrict newvar = "Another string";
   4510 
   4511   // Check varargs.
   4512   test_varargs ("s, d' f .", "string", 65, 34.234);
   4513   test_varargs_macros ();
   4514 
   4515   // Check flexible array members.
   4516   struct incomplete_array *ia =
   4517     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4518   ia->datasize = 10;
   4519   for (int i = 0; i < ia->datasize; ++i)
   4520     ia->data[i] = i * 1.234;
   4521 
   4522   // Check named initializers.
   4523   struct named_init ni = {
   4524     .number = 34,
   4525     .name = L"Test wide string",
   4526     .average = 543.34343,
   4527   };
   4528 
   4529   ni.number = 58;
   4530 
   4531   int dynamic_array[ni.number];
   4532   dynamic_array[ni.number - 1] = 543;
   4533 
   4534   // work around unused variable warnings
   4535   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4536 	  || dynamic_array[ni.number - 1] != 543);
   4537 
   4538   ;
   4539   return 0;
   4540 }
   4541 _ACEOF
   4542 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4543 do
   4544   CC="$ac_save_CC $ac_arg"
   4545   if ac_fn_c_try_compile "$LINENO"; then :
   4546   ac_cv_prog_cc_c99=$ac_arg
   4547 fi
   4548 rm -f core conftest.err conftest.$ac_objext
   4549   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4550 done
   4551 rm -f conftest.$ac_ext
   4552 CC=$ac_save_CC
   4553 
   4554 fi
   4555 # AC_CACHE_VAL
   4556 case "x$ac_cv_prog_cc_c99" in
   4557   x)
   4558     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4559 $as_echo "none needed" >&6; } ;;
   4560   xno)
   4561     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4562 $as_echo "unsupported" >&6; } ;;
   4563   *)
   4564     CC="$CC $ac_cv_prog_cc_c99"
   4565     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4566 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4567 esac
   4568 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4569 
   4570 fi
   4571 
   4572 
   4573 
   4574 
   4575 
   4576 
   4577 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4578 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4579   CLANGCC="yes"
   4580 else
   4581   CLANGCC="no"
   4582 fi
   4583 
   4584 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4585 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4586   INTELCC="yes"
   4587 else
   4588   INTELCC="no"
   4589 fi
   4590 
   4591 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4592 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4593   SUNCC="yes"
   4594 else
   4595   SUNCC="no"
   4596 fi
   4597 
   4598 
   4599 
   4600 
   4601 
   4602 
   4603 
   4604 
   4605 
   4606 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4607 	if test -n "$ac_tool_prefix"; then
   4608   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4609 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4611 $as_echo_n "checking for $ac_word... " >&6; }
   4612 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4613   $as_echo_n "(cached) " >&6
   4614 else
   4615   case $PKG_CONFIG in
   4616   [\\/]* | ?:[\\/]*)
   4617   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4618   ;;
   4619   *)
   4620   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4621 for as_dir in $PATH
   4622 do
   4623   IFS=$as_save_IFS
   4624   test -z "$as_dir" && as_dir=.
   4625     for ac_exec_ext in '' $ac_executable_extensions; do
   4626   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4627     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4628     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4629     break 2
   4630   fi
   4631 done
   4632   done
   4633 IFS=$as_save_IFS
   4634 
   4635   ;;
   4636 esac
   4637 fi
   4638 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4639 if test -n "$PKG_CONFIG"; then
   4640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4641 $as_echo "$PKG_CONFIG" >&6; }
   4642 else
   4643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4644 $as_echo "no" >&6; }
   4645 fi
   4646 
   4647 
   4648 fi
   4649 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4650   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4651   # Extract the first word of "pkg-config", so it can be a program name with args.
   4652 set dummy pkg-config; ac_word=$2
   4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4654 $as_echo_n "checking for $ac_word... " >&6; }
   4655 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4656   $as_echo_n "(cached) " >&6
   4657 else
   4658   case $ac_pt_PKG_CONFIG in
   4659   [\\/]* | ?:[\\/]*)
   4660   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4661   ;;
   4662   *)
   4663   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4664 for as_dir in $PATH
   4665 do
   4666   IFS=$as_save_IFS
   4667   test -z "$as_dir" && as_dir=.
   4668     for ac_exec_ext in '' $ac_executable_extensions; do
   4669   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4670     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4672     break 2
   4673   fi
   4674 done
   4675   done
   4676 IFS=$as_save_IFS
   4677 
   4678   ;;
   4679 esac
   4680 fi
   4681 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4682 if test -n "$ac_pt_PKG_CONFIG"; then
   4683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4684 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4685 else
   4686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4687 $as_echo "no" >&6; }
   4688 fi
   4689 
   4690   if test "x$ac_pt_PKG_CONFIG" = x; then
   4691     PKG_CONFIG=""
   4692   else
   4693     case $cross_compiling:$ac_tool_warned in
   4694 yes:)
   4695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4697 ac_tool_warned=yes ;;
   4698 esac
   4699     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4700   fi
   4701 else
   4702   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4703 fi
   4704 
   4705 fi
   4706 if test -n "$PKG_CONFIG"; then
   4707 	_pkg_min_version=0.9.0
   4708 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4709 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4710 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4712 $as_echo "yes" >&6; }
   4713 	else
   4714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4715 $as_echo "no" >&6; }
   4716 		PKG_CONFIG=""
   4717 	fi
   4718 fi
   4719 # Make sure we can run config.sub.
   4720 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4721   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4722 
   4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4724 $as_echo_n "checking build system type... " >&6; }
   4725 if ${ac_cv_build+:} false; then :
   4726   $as_echo_n "(cached) " >&6
   4727 else
   4728   ac_build_alias=$build_alias
   4729 test "x$ac_build_alias" = x &&
   4730   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4731 test "x$ac_build_alias" = x &&
   4732   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4733 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4734   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4735 
   4736 fi
   4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4738 $as_echo "$ac_cv_build" >&6; }
   4739 case $ac_cv_build in
   4740 *-*-*) ;;
   4741 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4742 esac
   4743 build=$ac_cv_build
   4744 ac_save_IFS=$IFS; IFS='-'
   4745 set x $ac_cv_build
   4746 shift
   4747 build_cpu=$1
   4748 build_vendor=$2
   4749 shift; shift
   4750 # Remember, the first character of IFS is used to create $*,
   4751 # except with old shells:
   4752 build_os=$*
   4753 IFS=$ac_save_IFS
   4754 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4755 
   4756 
   4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4758 $as_echo_n "checking host system type... " >&6; }
   4759 if ${ac_cv_host+:} false; then :
   4760   $as_echo_n "(cached) " >&6
   4761 else
   4762   if test "x$host_alias" = x; then
   4763   ac_cv_host=$ac_cv_build
   4764 else
   4765   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4766     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4767 fi
   4768 
   4769 fi
   4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4771 $as_echo "$ac_cv_host" >&6; }
   4772 case $ac_cv_host in
   4773 *-*-*) ;;
   4774 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4775 esac
   4776 host=$ac_cv_host
   4777 ac_save_IFS=$IFS; IFS='-'
   4778 set x $ac_cv_host
   4779 shift
   4780 host_cpu=$1
   4781 host_vendor=$2
   4782 shift; shift
   4783 # Remember, the first character of IFS is used to create $*,
   4784 # except with old shells:
   4785 host_os=$*
   4786 IFS=$ac_save_IFS
   4787 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4788 
   4789 
   4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4791 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4792 if ${ac_cv_path_SED+:} false; then :
   4793   $as_echo_n "(cached) " >&6
   4794 else
   4795             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4796      for ac_i in 1 2 3 4 5 6 7; do
   4797        ac_script="$ac_script$as_nl$ac_script"
   4798      done
   4799      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4800      { ac_script=; unset ac_script;}
   4801      if test -z "$SED"; then
   4802   ac_path_SED_found=false
   4803   # Loop through the user's path and test for each of PROGNAME-LIST
   4804   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4805 for as_dir in $PATH
   4806 do
   4807   IFS=$as_save_IFS
   4808   test -z "$as_dir" && as_dir=.
   4809     for ac_prog in sed gsed; do
   4810     for ac_exec_ext in '' $ac_executable_extensions; do
   4811       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4812       as_fn_executable_p "$ac_path_SED" || continue
   4813 # Check for GNU ac_path_SED and select it if it is found.
   4814   # Check for GNU $ac_path_SED
   4815 case `"$ac_path_SED" --version 2>&1` in
   4816 *GNU*)
   4817   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4818 *)
   4819   ac_count=0
   4820   $as_echo_n 0123456789 >"conftest.in"
   4821   while :
   4822   do
   4823     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4824     mv "conftest.tmp" "conftest.in"
   4825     cp "conftest.in" "conftest.nl"
   4826     $as_echo '' >> "conftest.nl"
   4827     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4828     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4829     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4830     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4831       # Best one so far, save it but keep looking for a better one
   4832       ac_cv_path_SED="$ac_path_SED"
   4833       ac_path_SED_max=$ac_count
   4834     fi
   4835     # 10*(2^10) chars as input seems more than enough
   4836     test $ac_count -gt 10 && break
   4837   done
   4838   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4839 esac
   4840 
   4841       $ac_path_SED_found && break 3
   4842     done
   4843   done
   4844   done
   4845 IFS=$as_save_IFS
   4846   if test -z "$ac_cv_path_SED"; then
   4847     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4848   fi
   4849 else
   4850   ac_cv_path_SED=$SED
   4851 fi
   4852 
   4853 fi
   4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4855 $as_echo "$ac_cv_path_SED" >&6; }
   4856  SED="$ac_cv_path_SED"
   4857   rm -f conftest.sed
   4858 
   4859 
   4860 
   4861 
   4862 
   4863 
   4864 # Check whether --enable-selective-werror was given.
   4865 if test "${enable_selective_werror+set}" = set; then :
   4866   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4867 else
   4868   SELECTIVE_WERROR=yes
   4869 fi
   4870 
   4871 
   4872 
   4873 
   4874 
   4875 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4876 if test "x$SUNCC" = "xyes"; then
   4877     BASE_CFLAGS="-v"
   4878 else
   4879     BASE_CFLAGS=""
   4880 fi
   4881 
   4882 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 xorg_testset_save_CFLAGS="$CFLAGS"
   4897 
   4898 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4899 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4900 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4901 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4902 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4903   $as_echo_n "(cached) " >&6
   4904 else
   4905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4906 /* end confdefs.h.  */
   4907 int i;
   4908 _ACEOF
   4909 if ac_fn_c_try_compile "$LINENO"; then :
   4910   xorg_cv_cc_flag_unknown_warning_option=yes
   4911 else
   4912   xorg_cv_cc_flag_unknown_warning_option=no
   4913 fi
   4914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4915 fi
   4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4917 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4918 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4919 	CFLAGS="$xorg_testset_save_CFLAGS"
   4920 fi
   4921 
   4922 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4923 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4924 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4925 	fi
   4926 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4927 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4928 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4929 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4930   $as_echo_n "(cached) " >&6
   4931 else
   4932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4933 /* end confdefs.h.  */
   4934 int i;
   4935 _ACEOF
   4936 if ac_fn_c_try_compile "$LINENO"; then :
   4937   xorg_cv_cc_flag_unused_command_line_argument=yes
   4938 else
   4939   xorg_cv_cc_flag_unused_command_line_argument=no
   4940 fi
   4941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4942 fi
   4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4944 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4945 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4946 	CFLAGS="$xorg_testset_save_CFLAGS"
   4947 fi
   4948 
   4949 found="no"
   4950 
   4951 	if test $found = "no" ; then
   4952 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4953 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4954 		fi
   4955 
   4956 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4957 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4958 		fi
   4959 
   4960 		CFLAGS="$CFLAGS -Wall"
   4961 
   4962 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4963 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4964 		cacheid=xorg_cv_cc_flag__Wall
   4965 		if eval \${$cacheid+:} false; then :
   4966   $as_echo_n "(cached) " >&6
   4967 else
   4968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4969 /* end confdefs.h.  */
   4970 int i;
   4971 int
   4972 main ()
   4973 {
   4974 
   4975   ;
   4976   return 0;
   4977 }
   4978 _ACEOF
   4979 if ac_fn_c_try_link "$LINENO"; then :
   4980   eval $cacheid=yes
   4981 else
   4982   eval $cacheid=no
   4983 fi
   4984 rm -f core conftest.err conftest.$ac_objext \
   4985     conftest$ac_exeext conftest.$ac_ext
   4986 fi
   4987 
   4988 
   4989 		CFLAGS="$xorg_testset_save_CFLAGS"
   4990 
   4991 		eval supported=\$$cacheid
   4992 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4993 $as_echo "$supported" >&6; }
   4994 		if test "$supported" = "yes" ; then
   4995 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4996 			found="yes"
   4997 		fi
   4998 	fi
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 xorg_testset_save_CFLAGS="$CFLAGS"
   5015 
   5016 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5017 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5018 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5019 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5020 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5021   $as_echo_n "(cached) " >&6
   5022 else
   5023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5024 /* end confdefs.h.  */
   5025 int i;
   5026 _ACEOF
   5027 if ac_fn_c_try_compile "$LINENO"; then :
   5028   xorg_cv_cc_flag_unknown_warning_option=yes
   5029 else
   5030   xorg_cv_cc_flag_unknown_warning_option=no
   5031 fi
   5032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5033 fi
   5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5035 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5036 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5037 	CFLAGS="$xorg_testset_save_CFLAGS"
   5038 fi
   5039 
   5040 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5041 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5042 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5043 	fi
   5044 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5046 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5047 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5048   $as_echo_n "(cached) " >&6
   5049 else
   5050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5051 /* end confdefs.h.  */
   5052 int i;
   5053 _ACEOF
   5054 if ac_fn_c_try_compile "$LINENO"; then :
   5055   xorg_cv_cc_flag_unused_command_line_argument=yes
   5056 else
   5057   xorg_cv_cc_flag_unused_command_line_argument=no
   5058 fi
   5059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5060 fi
   5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5062 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5063 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5064 	CFLAGS="$xorg_testset_save_CFLAGS"
   5065 fi
   5066 
   5067 found="no"
   5068 
   5069 	if test $found = "no" ; then
   5070 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5071 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5072 		fi
   5073 
   5074 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5075 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5076 		fi
   5077 
   5078 		CFLAGS="$CFLAGS -Wpointer-arith"
   5079 
   5080 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5081 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5082 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5083 		if eval \${$cacheid+:} false; then :
   5084   $as_echo_n "(cached) " >&6
   5085 else
   5086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5087 /* end confdefs.h.  */
   5088 int i;
   5089 int
   5090 main ()
   5091 {
   5092 
   5093   ;
   5094   return 0;
   5095 }
   5096 _ACEOF
   5097 if ac_fn_c_try_link "$LINENO"; then :
   5098   eval $cacheid=yes
   5099 else
   5100   eval $cacheid=no
   5101 fi
   5102 rm -f core conftest.err conftest.$ac_objext \
   5103     conftest$ac_exeext conftest.$ac_ext
   5104 fi
   5105 
   5106 
   5107 		CFLAGS="$xorg_testset_save_CFLAGS"
   5108 
   5109 		eval supported=\$$cacheid
   5110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5111 $as_echo "$supported" >&6; }
   5112 		if test "$supported" = "yes" ; then
   5113 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5114 			found="yes"
   5115 		fi
   5116 	fi
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 xorg_testset_save_CFLAGS="$CFLAGS"
   5133 
   5134 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5135 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5136 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5137 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5138 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5139   $as_echo_n "(cached) " >&6
   5140 else
   5141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5142 /* end confdefs.h.  */
   5143 int i;
   5144 _ACEOF
   5145 if ac_fn_c_try_compile "$LINENO"; then :
   5146   xorg_cv_cc_flag_unknown_warning_option=yes
   5147 else
   5148   xorg_cv_cc_flag_unknown_warning_option=no
   5149 fi
   5150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5151 fi
   5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5153 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5154 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5155 	CFLAGS="$xorg_testset_save_CFLAGS"
   5156 fi
   5157 
   5158 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5159 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5160 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5161 	fi
   5162 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5164 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5165 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5166   $as_echo_n "(cached) " >&6
   5167 else
   5168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5169 /* end confdefs.h.  */
   5170 int i;
   5171 _ACEOF
   5172 if ac_fn_c_try_compile "$LINENO"; then :
   5173   xorg_cv_cc_flag_unused_command_line_argument=yes
   5174 else
   5175   xorg_cv_cc_flag_unused_command_line_argument=no
   5176 fi
   5177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5178 fi
   5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5180 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5181 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5182 	CFLAGS="$xorg_testset_save_CFLAGS"
   5183 fi
   5184 
   5185 found="no"
   5186 
   5187 	if test $found = "no" ; then
   5188 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5189 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5190 		fi
   5191 
   5192 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5193 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5194 		fi
   5195 
   5196 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5197 
   5198 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5199 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5200 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5201 		if eval \${$cacheid+:} false; then :
   5202   $as_echo_n "(cached) " >&6
   5203 else
   5204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5205 /* end confdefs.h.  */
   5206 int i;
   5207 int
   5208 main ()
   5209 {
   5210 
   5211   ;
   5212   return 0;
   5213 }
   5214 _ACEOF
   5215 if ac_fn_c_try_link "$LINENO"; then :
   5216   eval $cacheid=yes
   5217 else
   5218   eval $cacheid=no
   5219 fi
   5220 rm -f core conftest.err conftest.$ac_objext \
   5221     conftest$ac_exeext conftest.$ac_ext
   5222 fi
   5223 
   5224 
   5225 		CFLAGS="$xorg_testset_save_CFLAGS"
   5226 
   5227 		eval supported=\$$cacheid
   5228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5229 $as_echo "$supported" >&6; }
   5230 		if test "$supported" = "yes" ; then
   5231 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5232 			found="yes"
   5233 		fi
   5234 	fi
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 xorg_testset_save_CFLAGS="$CFLAGS"
   5251 
   5252 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5253 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5254 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5255 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5256 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5257   $as_echo_n "(cached) " >&6
   5258 else
   5259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5260 /* end confdefs.h.  */
   5261 int i;
   5262 _ACEOF
   5263 if ac_fn_c_try_compile "$LINENO"; then :
   5264   xorg_cv_cc_flag_unknown_warning_option=yes
   5265 else
   5266   xorg_cv_cc_flag_unknown_warning_option=no
   5267 fi
   5268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5269 fi
   5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5271 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5272 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5273 	CFLAGS="$xorg_testset_save_CFLAGS"
   5274 fi
   5275 
   5276 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5277 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5278 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5279 	fi
   5280 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5282 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5283 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5284   $as_echo_n "(cached) " >&6
   5285 else
   5286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5287 /* end confdefs.h.  */
   5288 int i;
   5289 _ACEOF
   5290 if ac_fn_c_try_compile "$LINENO"; then :
   5291   xorg_cv_cc_flag_unused_command_line_argument=yes
   5292 else
   5293   xorg_cv_cc_flag_unused_command_line_argument=no
   5294 fi
   5295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5296 fi
   5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5298 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5299 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5300 	CFLAGS="$xorg_testset_save_CFLAGS"
   5301 fi
   5302 
   5303 found="no"
   5304 
   5305 	if test $found = "no" ; then
   5306 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5307 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5308 		fi
   5309 
   5310 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5311 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5312 		fi
   5313 
   5314 		CFLAGS="$CFLAGS -Wformat=2"
   5315 
   5316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5317 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5318 		cacheid=xorg_cv_cc_flag__Wformat_2
   5319 		if eval \${$cacheid+:} false; then :
   5320   $as_echo_n "(cached) " >&6
   5321 else
   5322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5323 /* end confdefs.h.  */
   5324 int i;
   5325 int
   5326 main ()
   5327 {
   5328 
   5329   ;
   5330   return 0;
   5331 }
   5332 _ACEOF
   5333 if ac_fn_c_try_link "$LINENO"; then :
   5334   eval $cacheid=yes
   5335 else
   5336   eval $cacheid=no
   5337 fi
   5338 rm -f core conftest.err conftest.$ac_objext \
   5339     conftest$ac_exeext conftest.$ac_ext
   5340 fi
   5341 
   5342 
   5343 		CFLAGS="$xorg_testset_save_CFLAGS"
   5344 
   5345 		eval supported=\$$cacheid
   5346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5347 $as_echo "$supported" >&6; }
   5348 		if test "$supported" = "yes" ; then
   5349 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5350 			found="yes"
   5351 		fi
   5352 	fi
   5353 
   5354 	if test $found = "no" ; then
   5355 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5356 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5357 		fi
   5358 
   5359 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5360 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5361 		fi
   5362 
   5363 		CFLAGS="$CFLAGS -Wformat"
   5364 
   5365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5366 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5367 		cacheid=xorg_cv_cc_flag__Wformat
   5368 		if eval \${$cacheid+:} false; then :
   5369   $as_echo_n "(cached) " >&6
   5370 else
   5371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5372 /* end confdefs.h.  */
   5373 int i;
   5374 int
   5375 main ()
   5376 {
   5377 
   5378   ;
   5379   return 0;
   5380 }
   5381 _ACEOF
   5382 if ac_fn_c_try_link "$LINENO"; then :
   5383   eval $cacheid=yes
   5384 else
   5385   eval $cacheid=no
   5386 fi
   5387 rm -f core conftest.err conftest.$ac_objext \
   5388     conftest$ac_exeext conftest.$ac_ext
   5389 fi
   5390 
   5391 
   5392 		CFLAGS="$xorg_testset_save_CFLAGS"
   5393 
   5394 		eval supported=\$$cacheid
   5395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5396 $as_echo "$supported" >&6; }
   5397 		if test "$supported" = "yes" ; then
   5398 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5399 			found="yes"
   5400 		fi
   5401 	fi
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 xorg_testset_save_CFLAGS="$CFLAGS"
   5420 
   5421 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5422 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5424 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5425 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5426   $as_echo_n "(cached) " >&6
   5427 else
   5428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5429 /* end confdefs.h.  */
   5430 int i;
   5431 _ACEOF
   5432 if ac_fn_c_try_compile "$LINENO"; then :
   5433   xorg_cv_cc_flag_unknown_warning_option=yes
   5434 else
   5435   xorg_cv_cc_flag_unknown_warning_option=no
   5436 fi
   5437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5438 fi
   5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5440 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5441 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5442 	CFLAGS="$xorg_testset_save_CFLAGS"
   5443 fi
   5444 
   5445 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5446 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5447 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5448 	fi
   5449 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5451 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5452 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5453   $as_echo_n "(cached) " >&6
   5454 else
   5455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5456 /* end confdefs.h.  */
   5457 int i;
   5458 _ACEOF
   5459 if ac_fn_c_try_compile "$LINENO"; then :
   5460   xorg_cv_cc_flag_unused_command_line_argument=yes
   5461 else
   5462   xorg_cv_cc_flag_unused_command_line_argument=no
   5463 fi
   5464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5465 fi
   5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5467 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5468 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5469 	CFLAGS="$xorg_testset_save_CFLAGS"
   5470 fi
   5471 
   5472 found="no"
   5473 
   5474 	if test $found = "no" ; then
   5475 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5476 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5477 		fi
   5478 
   5479 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5480 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5481 		fi
   5482 
   5483 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5484 
   5485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5486 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5487 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5488 		if eval \${$cacheid+:} false; then :
   5489   $as_echo_n "(cached) " >&6
   5490 else
   5491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5492 /* end confdefs.h.  */
   5493 int i;
   5494 int
   5495 main ()
   5496 {
   5497 
   5498   ;
   5499   return 0;
   5500 }
   5501 _ACEOF
   5502 if ac_fn_c_try_link "$LINENO"; then :
   5503   eval $cacheid=yes
   5504 else
   5505   eval $cacheid=no
   5506 fi
   5507 rm -f core conftest.err conftest.$ac_objext \
   5508     conftest$ac_exeext conftest.$ac_ext
   5509 fi
   5510 
   5511 
   5512 		CFLAGS="$xorg_testset_save_CFLAGS"
   5513 
   5514 		eval supported=\$$cacheid
   5515 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5516 $as_echo "$supported" >&6; }
   5517 		if test "$supported" = "yes" ; then
   5518 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5519 			found="yes"
   5520 		fi
   5521 	fi
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 xorg_testset_save_CFLAGS="$CFLAGS"
   5538 
   5539 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5540 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5541 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5542 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5543 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5544   $as_echo_n "(cached) " >&6
   5545 else
   5546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5547 /* end confdefs.h.  */
   5548 int i;
   5549 _ACEOF
   5550 if ac_fn_c_try_compile "$LINENO"; then :
   5551   xorg_cv_cc_flag_unknown_warning_option=yes
   5552 else
   5553   xorg_cv_cc_flag_unknown_warning_option=no
   5554 fi
   5555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5556 fi
   5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5558 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5559 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5560 	CFLAGS="$xorg_testset_save_CFLAGS"
   5561 fi
   5562 
   5563 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5564 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5565 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5566 	fi
   5567 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5568 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5569 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5570 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5571   $as_echo_n "(cached) " >&6
   5572 else
   5573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5574 /* end confdefs.h.  */
   5575 int i;
   5576 _ACEOF
   5577 if ac_fn_c_try_compile "$LINENO"; then :
   5578   xorg_cv_cc_flag_unused_command_line_argument=yes
   5579 else
   5580   xorg_cv_cc_flag_unused_command_line_argument=no
   5581 fi
   5582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5583 fi
   5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5585 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5586 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5587 	CFLAGS="$xorg_testset_save_CFLAGS"
   5588 fi
   5589 
   5590 found="no"
   5591 
   5592 	if test $found = "no" ; then
   5593 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5594 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5595 		fi
   5596 
   5597 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5598 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5599 		fi
   5600 
   5601 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5602 
   5603 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5604 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5605 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5606 		if eval \${$cacheid+:} false; then :
   5607   $as_echo_n "(cached) " >&6
   5608 else
   5609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5610 /* end confdefs.h.  */
   5611 int i;
   5612 int
   5613 main ()
   5614 {
   5615 
   5616   ;
   5617   return 0;
   5618 }
   5619 _ACEOF
   5620 if ac_fn_c_try_link "$LINENO"; then :
   5621   eval $cacheid=yes
   5622 else
   5623   eval $cacheid=no
   5624 fi
   5625 rm -f core conftest.err conftest.$ac_objext \
   5626     conftest$ac_exeext conftest.$ac_ext
   5627 fi
   5628 
   5629 
   5630 		CFLAGS="$xorg_testset_save_CFLAGS"
   5631 
   5632 		eval supported=\$$cacheid
   5633 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5634 $as_echo "$supported" >&6; }
   5635 		if test "$supported" = "yes" ; then
   5636 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5637 			found="yes"
   5638 		fi
   5639 	fi
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 xorg_testset_save_CFLAGS="$CFLAGS"
   5656 
   5657 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5658 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5659 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5660 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5661 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5662   $as_echo_n "(cached) " >&6
   5663 else
   5664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5665 /* end confdefs.h.  */
   5666 int i;
   5667 _ACEOF
   5668 if ac_fn_c_try_compile "$LINENO"; then :
   5669   xorg_cv_cc_flag_unknown_warning_option=yes
   5670 else
   5671   xorg_cv_cc_flag_unknown_warning_option=no
   5672 fi
   5673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5674 fi
   5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5676 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5677 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5678 	CFLAGS="$xorg_testset_save_CFLAGS"
   5679 fi
   5680 
   5681 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5682 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5683 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5684 	fi
   5685 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5686 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5687 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5688 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5689   $as_echo_n "(cached) " >&6
   5690 else
   5691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5692 /* end confdefs.h.  */
   5693 int i;
   5694 _ACEOF
   5695 if ac_fn_c_try_compile "$LINENO"; then :
   5696   xorg_cv_cc_flag_unused_command_line_argument=yes
   5697 else
   5698   xorg_cv_cc_flag_unused_command_line_argument=no
   5699 fi
   5700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5701 fi
   5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5703 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5704 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5705 	CFLAGS="$xorg_testset_save_CFLAGS"
   5706 fi
   5707 
   5708 found="no"
   5709 
   5710 	if test $found = "no" ; then
   5711 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5712 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5713 		fi
   5714 
   5715 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5716 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5717 		fi
   5718 
   5719 		CFLAGS="$CFLAGS -Wnested-externs"
   5720 
   5721 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5722 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5723 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5724 		if eval \${$cacheid+:} false; then :
   5725   $as_echo_n "(cached) " >&6
   5726 else
   5727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5728 /* end confdefs.h.  */
   5729 int i;
   5730 int
   5731 main ()
   5732 {
   5733 
   5734   ;
   5735   return 0;
   5736 }
   5737 _ACEOF
   5738 if ac_fn_c_try_link "$LINENO"; then :
   5739   eval $cacheid=yes
   5740 else
   5741   eval $cacheid=no
   5742 fi
   5743 rm -f core conftest.err conftest.$ac_objext \
   5744     conftest$ac_exeext conftest.$ac_ext
   5745 fi
   5746 
   5747 
   5748 		CFLAGS="$xorg_testset_save_CFLAGS"
   5749 
   5750 		eval supported=\$$cacheid
   5751 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5752 $as_echo "$supported" >&6; }
   5753 		if test "$supported" = "yes" ; then
   5754 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5755 			found="yes"
   5756 		fi
   5757 	fi
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 xorg_testset_save_CFLAGS="$CFLAGS"
   5774 
   5775 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5776 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5777 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5778 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5779 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5780   $as_echo_n "(cached) " >&6
   5781 else
   5782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5783 /* end confdefs.h.  */
   5784 int i;
   5785 _ACEOF
   5786 if ac_fn_c_try_compile "$LINENO"; then :
   5787   xorg_cv_cc_flag_unknown_warning_option=yes
   5788 else
   5789   xorg_cv_cc_flag_unknown_warning_option=no
   5790 fi
   5791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5792 fi
   5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5794 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5795 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5796 	CFLAGS="$xorg_testset_save_CFLAGS"
   5797 fi
   5798 
   5799 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5800 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5801 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5802 	fi
   5803 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5805 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5806 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5807   $as_echo_n "(cached) " >&6
   5808 else
   5809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5810 /* end confdefs.h.  */
   5811 int i;
   5812 _ACEOF
   5813 if ac_fn_c_try_compile "$LINENO"; then :
   5814   xorg_cv_cc_flag_unused_command_line_argument=yes
   5815 else
   5816   xorg_cv_cc_flag_unused_command_line_argument=no
   5817 fi
   5818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5819 fi
   5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5821 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5823 	CFLAGS="$xorg_testset_save_CFLAGS"
   5824 fi
   5825 
   5826 found="no"
   5827 
   5828 	if test $found = "no" ; then
   5829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5831 		fi
   5832 
   5833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5835 		fi
   5836 
   5837 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5838 
   5839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5840 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5841 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5842 		if eval \${$cacheid+:} false; then :
   5843   $as_echo_n "(cached) " >&6
   5844 else
   5845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5846 /* end confdefs.h.  */
   5847 int i;
   5848 int
   5849 main ()
   5850 {
   5851 
   5852   ;
   5853   return 0;
   5854 }
   5855 _ACEOF
   5856 if ac_fn_c_try_link "$LINENO"; then :
   5857   eval $cacheid=yes
   5858 else
   5859   eval $cacheid=no
   5860 fi
   5861 rm -f core conftest.err conftest.$ac_objext \
   5862     conftest$ac_exeext conftest.$ac_ext
   5863 fi
   5864 
   5865 
   5866 		CFLAGS="$xorg_testset_save_CFLAGS"
   5867 
   5868 		eval supported=\$$cacheid
   5869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5870 $as_echo "$supported" >&6; }
   5871 		if test "$supported" = "yes" ; then
   5872 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5873 			found="yes"
   5874 		fi
   5875 	fi
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 xorg_testset_save_CFLAGS="$CFLAGS"
   5892 
   5893 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5894 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5895 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5896 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5897 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5898   $as_echo_n "(cached) " >&6
   5899 else
   5900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5901 /* end confdefs.h.  */
   5902 int i;
   5903 _ACEOF
   5904 if ac_fn_c_try_compile "$LINENO"; then :
   5905   xorg_cv_cc_flag_unknown_warning_option=yes
   5906 else
   5907   xorg_cv_cc_flag_unknown_warning_option=no
   5908 fi
   5909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5910 fi
   5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5912 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5913 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5914 	CFLAGS="$xorg_testset_save_CFLAGS"
   5915 fi
   5916 
   5917 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5918 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5919 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5920 	fi
   5921 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5922 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5923 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5924 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5925   $as_echo_n "(cached) " >&6
   5926 else
   5927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5928 /* end confdefs.h.  */
   5929 int i;
   5930 _ACEOF
   5931 if ac_fn_c_try_compile "$LINENO"; then :
   5932   xorg_cv_cc_flag_unused_command_line_argument=yes
   5933 else
   5934   xorg_cv_cc_flag_unused_command_line_argument=no
   5935 fi
   5936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5937 fi
   5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5939 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5940 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5941 	CFLAGS="$xorg_testset_save_CFLAGS"
   5942 fi
   5943 
   5944 found="no"
   5945 
   5946 	if test $found = "no" ; then
   5947 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5948 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5949 		fi
   5950 
   5951 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5952 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5953 		fi
   5954 
   5955 		CFLAGS="$CFLAGS -Wold-style-definition"
   5956 
   5957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5958 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5959 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5960 		if eval \${$cacheid+:} false; then :
   5961   $as_echo_n "(cached) " >&6
   5962 else
   5963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5964 /* end confdefs.h.  */
   5965 int i;
   5966 int
   5967 main ()
   5968 {
   5969 
   5970   ;
   5971   return 0;
   5972 }
   5973 _ACEOF
   5974 if ac_fn_c_try_link "$LINENO"; then :
   5975   eval $cacheid=yes
   5976 else
   5977   eval $cacheid=no
   5978 fi
   5979 rm -f core conftest.err conftest.$ac_objext \
   5980     conftest$ac_exeext conftest.$ac_ext
   5981 fi
   5982 
   5983 
   5984 		CFLAGS="$xorg_testset_save_CFLAGS"
   5985 
   5986 		eval supported=\$$cacheid
   5987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5988 $as_echo "$supported" >&6; }
   5989 		if test "$supported" = "yes" ; then
   5990 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5991 			found="yes"
   5992 		fi
   5993 	fi
   5994 
   5995 	if test $found = "no" ; then
   5996 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5997 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5998 		fi
   5999 
   6000 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6001 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6002 		fi
   6003 
   6004 		CFLAGS="$CFLAGS -fd"
   6005 
   6006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6007 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6008 		cacheid=xorg_cv_cc_flag__fd
   6009 		if eval \${$cacheid+:} false; then :
   6010   $as_echo_n "(cached) " >&6
   6011 else
   6012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6013 /* end confdefs.h.  */
   6014 int i;
   6015 int
   6016 main ()
   6017 {
   6018 
   6019   ;
   6020   return 0;
   6021 }
   6022 _ACEOF
   6023 if ac_fn_c_try_link "$LINENO"; then :
   6024   eval $cacheid=yes
   6025 else
   6026   eval $cacheid=no
   6027 fi
   6028 rm -f core conftest.err conftest.$ac_objext \
   6029     conftest$ac_exeext conftest.$ac_ext
   6030 fi
   6031 
   6032 
   6033 		CFLAGS="$xorg_testset_save_CFLAGS"
   6034 
   6035 		eval supported=\$$cacheid
   6036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6037 $as_echo "$supported" >&6; }
   6038 		if test "$supported" = "yes" ; then
   6039 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6040 			found="yes"
   6041 		fi
   6042 	fi
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 xorg_testset_save_CFLAGS="$CFLAGS"
   6059 
   6060 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6063 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6064 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6065   $as_echo_n "(cached) " >&6
   6066 else
   6067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6068 /* end confdefs.h.  */
   6069 int i;
   6070 _ACEOF
   6071 if ac_fn_c_try_compile "$LINENO"; then :
   6072   xorg_cv_cc_flag_unknown_warning_option=yes
   6073 else
   6074   xorg_cv_cc_flag_unknown_warning_option=no
   6075 fi
   6076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6077 fi
   6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6079 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6080 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6081 	CFLAGS="$xorg_testset_save_CFLAGS"
   6082 fi
   6083 
   6084 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6085 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6086 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6087 	fi
   6088 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6090 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6091 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6092   $as_echo_n "(cached) " >&6
   6093 else
   6094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6095 /* end confdefs.h.  */
   6096 int i;
   6097 _ACEOF
   6098 if ac_fn_c_try_compile "$LINENO"; then :
   6099   xorg_cv_cc_flag_unused_command_line_argument=yes
   6100 else
   6101   xorg_cv_cc_flag_unused_command_line_argument=no
   6102 fi
   6103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6104 fi
   6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6106 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6107 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6108 	CFLAGS="$xorg_testset_save_CFLAGS"
   6109 fi
   6110 
   6111 found="no"
   6112 
   6113 	if test $found = "no" ; then
   6114 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6116 		fi
   6117 
   6118 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6120 		fi
   6121 
   6122 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6123 
   6124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6125 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6126 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6127 		if eval \${$cacheid+:} false; then :
   6128   $as_echo_n "(cached) " >&6
   6129 else
   6130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6131 /* end confdefs.h.  */
   6132 int i;
   6133 int
   6134 main ()
   6135 {
   6136 
   6137   ;
   6138   return 0;
   6139 }
   6140 _ACEOF
   6141 if ac_fn_c_try_link "$LINENO"; then :
   6142   eval $cacheid=yes
   6143 else
   6144   eval $cacheid=no
   6145 fi
   6146 rm -f core conftest.err conftest.$ac_objext \
   6147     conftest$ac_exeext conftest.$ac_ext
   6148 fi
   6149 
   6150 
   6151 		CFLAGS="$xorg_testset_save_CFLAGS"
   6152 
   6153 		eval supported=\$$cacheid
   6154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6155 $as_echo "$supported" >&6; }
   6156 		if test "$supported" = "yes" ; then
   6157 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6158 			found="yes"
   6159 		fi
   6160 	fi
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 # This chunk adds additional warnings that could catch undesired effects.
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 xorg_testset_save_CFLAGS="$CFLAGS"
   6181 
   6182 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6183 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6185 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6186 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6187   $as_echo_n "(cached) " >&6
   6188 else
   6189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6190 /* end confdefs.h.  */
   6191 int i;
   6192 _ACEOF
   6193 if ac_fn_c_try_compile "$LINENO"; then :
   6194   xorg_cv_cc_flag_unknown_warning_option=yes
   6195 else
   6196   xorg_cv_cc_flag_unknown_warning_option=no
   6197 fi
   6198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6199 fi
   6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6201 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6202 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6203 	CFLAGS="$xorg_testset_save_CFLAGS"
   6204 fi
   6205 
   6206 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6207 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6208 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6209 	fi
   6210 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6211 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6212 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6213 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6214   $as_echo_n "(cached) " >&6
   6215 else
   6216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6217 /* end confdefs.h.  */
   6218 int i;
   6219 _ACEOF
   6220 if ac_fn_c_try_compile "$LINENO"; then :
   6221   xorg_cv_cc_flag_unused_command_line_argument=yes
   6222 else
   6223   xorg_cv_cc_flag_unused_command_line_argument=no
   6224 fi
   6225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6226 fi
   6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6228 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6229 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6230 	CFLAGS="$xorg_testset_save_CFLAGS"
   6231 fi
   6232 
   6233 found="no"
   6234 
   6235 	if test $found = "no" ; then
   6236 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6237 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6238 		fi
   6239 
   6240 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6241 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6242 		fi
   6243 
   6244 		CFLAGS="$CFLAGS -Wunused"
   6245 
   6246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6247 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6248 		cacheid=xorg_cv_cc_flag__Wunused
   6249 		if eval \${$cacheid+:} false; then :
   6250   $as_echo_n "(cached) " >&6
   6251 else
   6252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6253 /* end confdefs.h.  */
   6254 int i;
   6255 int
   6256 main ()
   6257 {
   6258 
   6259   ;
   6260   return 0;
   6261 }
   6262 _ACEOF
   6263 if ac_fn_c_try_link "$LINENO"; then :
   6264   eval $cacheid=yes
   6265 else
   6266   eval $cacheid=no
   6267 fi
   6268 rm -f core conftest.err conftest.$ac_objext \
   6269     conftest$ac_exeext conftest.$ac_ext
   6270 fi
   6271 
   6272 
   6273 		CFLAGS="$xorg_testset_save_CFLAGS"
   6274 
   6275 		eval supported=\$$cacheid
   6276 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6277 $as_echo "$supported" >&6; }
   6278 		if test "$supported" = "yes" ; then
   6279 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6280 			found="yes"
   6281 		fi
   6282 	fi
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 xorg_testset_save_CFLAGS="$CFLAGS"
   6299 
   6300 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6301 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6302 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6303 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6304 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6305   $as_echo_n "(cached) " >&6
   6306 else
   6307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6308 /* end confdefs.h.  */
   6309 int i;
   6310 _ACEOF
   6311 if ac_fn_c_try_compile "$LINENO"; then :
   6312   xorg_cv_cc_flag_unknown_warning_option=yes
   6313 else
   6314   xorg_cv_cc_flag_unknown_warning_option=no
   6315 fi
   6316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6317 fi
   6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6319 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6320 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6321 	CFLAGS="$xorg_testset_save_CFLAGS"
   6322 fi
   6323 
   6324 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6325 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6326 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6327 	fi
   6328 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6329 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6330 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6331 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6332   $as_echo_n "(cached) " >&6
   6333 else
   6334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6335 /* end confdefs.h.  */
   6336 int i;
   6337 _ACEOF
   6338 if ac_fn_c_try_compile "$LINENO"; then :
   6339   xorg_cv_cc_flag_unused_command_line_argument=yes
   6340 else
   6341   xorg_cv_cc_flag_unused_command_line_argument=no
   6342 fi
   6343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6344 fi
   6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6346 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6347 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6348 	CFLAGS="$xorg_testset_save_CFLAGS"
   6349 fi
   6350 
   6351 found="no"
   6352 
   6353 	if test $found = "no" ; then
   6354 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6356 		fi
   6357 
   6358 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6360 		fi
   6361 
   6362 		CFLAGS="$CFLAGS -Wuninitialized"
   6363 
   6364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6365 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6366 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6367 		if eval \${$cacheid+:} false; then :
   6368   $as_echo_n "(cached) " >&6
   6369 else
   6370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6371 /* end confdefs.h.  */
   6372 int i;
   6373 int
   6374 main ()
   6375 {
   6376 
   6377   ;
   6378   return 0;
   6379 }
   6380 _ACEOF
   6381 if ac_fn_c_try_link "$LINENO"; then :
   6382   eval $cacheid=yes
   6383 else
   6384   eval $cacheid=no
   6385 fi
   6386 rm -f core conftest.err conftest.$ac_objext \
   6387     conftest$ac_exeext conftest.$ac_ext
   6388 fi
   6389 
   6390 
   6391 		CFLAGS="$xorg_testset_save_CFLAGS"
   6392 
   6393 		eval supported=\$$cacheid
   6394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6395 $as_echo "$supported" >&6; }
   6396 		if test "$supported" = "yes" ; then
   6397 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6398 			found="yes"
   6399 		fi
   6400 	fi
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 xorg_testset_save_CFLAGS="$CFLAGS"
   6417 
   6418 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6419 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6420 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6421 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6422 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6423   $as_echo_n "(cached) " >&6
   6424 else
   6425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6426 /* end confdefs.h.  */
   6427 int i;
   6428 _ACEOF
   6429 if ac_fn_c_try_compile "$LINENO"; then :
   6430   xorg_cv_cc_flag_unknown_warning_option=yes
   6431 else
   6432   xorg_cv_cc_flag_unknown_warning_option=no
   6433 fi
   6434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6435 fi
   6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6437 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6438 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6439 	CFLAGS="$xorg_testset_save_CFLAGS"
   6440 fi
   6441 
   6442 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6443 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6444 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6445 	fi
   6446 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6447 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6448 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6449 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6450   $as_echo_n "(cached) " >&6
   6451 else
   6452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6453 /* end confdefs.h.  */
   6454 int i;
   6455 _ACEOF
   6456 if ac_fn_c_try_compile "$LINENO"; then :
   6457   xorg_cv_cc_flag_unused_command_line_argument=yes
   6458 else
   6459   xorg_cv_cc_flag_unused_command_line_argument=no
   6460 fi
   6461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6462 fi
   6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6464 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6465 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6466 	CFLAGS="$xorg_testset_save_CFLAGS"
   6467 fi
   6468 
   6469 found="no"
   6470 
   6471 	if test $found = "no" ; then
   6472 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6473 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6474 		fi
   6475 
   6476 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6477 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6478 		fi
   6479 
   6480 		CFLAGS="$CFLAGS -Wshadow"
   6481 
   6482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6483 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6484 		cacheid=xorg_cv_cc_flag__Wshadow
   6485 		if eval \${$cacheid+:} false; then :
   6486   $as_echo_n "(cached) " >&6
   6487 else
   6488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6489 /* end confdefs.h.  */
   6490 int i;
   6491 int
   6492 main ()
   6493 {
   6494 
   6495   ;
   6496   return 0;
   6497 }
   6498 _ACEOF
   6499 if ac_fn_c_try_link "$LINENO"; then :
   6500   eval $cacheid=yes
   6501 else
   6502   eval $cacheid=no
   6503 fi
   6504 rm -f core conftest.err conftest.$ac_objext \
   6505     conftest$ac_exeext conftest.$ac_ext
   6506 fi
   6507 
   6508 
   6509 		CFLAGS="$xorg_testset_save_CFLAGS"
   6510 
   6511 		eval supported=\$$cacheid
   6512 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6513 $as_echo "$supported" >&6; }
   6514 		if test "$supported" = "yes" ; then
   6515 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6516 			found="yes"
   6517 		fi
   6518 	fi
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 xorg_testset_save_CFLAGS="$CFLAGS"
   6535 
   6536 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6537 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6538 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6539 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6540 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6541   $as_echo_n "(cached) " >&6
   6542 else
   6543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6544 /* end confdefs.h.  */
   6545 int i;
   6546 _ACEOF
   6547 if ac_fn_c_try_compile "$LINENO"; then :
   6548   xorg_cv_cc_flag_unknown_warning_option=yes
   6549 else
   6550   xorg_cv_cc_flag_unknown_warning_option=no
   6551 fi
   6552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6553 fi
   6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6555 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6556 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6557 	CFLAGS="$xorg_testset_save_CFLAGS"
   6558 fi
   6559 
   6560 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6561 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6562 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6563 	fi
   6564 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6565 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6566 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6567 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6568   $as_echo_n "(cached) " >&6
   6569 else
   6570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6571 /* end confdefs.h.  */
   6572 int i;
   6573 _ACEOF
   6574 if ac_fn_c_try_compile "$LINENO"; then :
   6575   xorg_cv_cc_flag_unused_command_line_argument=yes
   6576 else
   6577   xorg_cv_cc_flag_unused_command_line_argument=no
   6578 fi
   6579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6580 fi
   6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6582 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6583 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6584 	CFLAGS="$xorg_testset_save_CFLAGS"
   6585 fi
   6586 
   6587 found="no"
   6588 
   6589 	if test $found = "no" ; then
   6590 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6591 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6592 		fi
   6593 
   6594 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6595 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6596 		fi
   6597 
   6598 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6599 
   6600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6601 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6602 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6603 		if eval \${$cacheid+:} false; then :
   6604   $as_echo_n "(cached) " >&6
   6605 else
   6606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6607 /* end confdefs.h.  */
   6608 int i;
   6609 int
   6610 main ()
   6611 {
   6612 
   6613   ;
   6614   return 0;
   6615 }
   6616 _ACEOF
   6617 if ac_fn_c_try_link "$LINENO"; then :
   6618   eval $cacheid=yes
   6619 else
   6620   eval $cacheid=no
   6621 fi
   6622 rm -f core conftest.err conftest.$ac_objext \
   6623     conftest$ac_exeext conftest.$ac_ext
   6624 fi
   6625 
   6626 
   6627 		CFLAGS="$xorg_testset_save_CFLAGS"
   6628 
   6629 		eval supported=\$$cacheid
   6630 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6631 $as_echo "$supported" >&6; }
   6632 		if test "$supported" = "yes" ; then
   6633 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6634 			found="yes"
   6635 		fi
   6636 	fi
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 xorg_testset_save_CFLAGS="$CFLAGS"
   6653 
   6654 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6655 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6657 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6658 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6659   $as_echo_n "(cached) " >&6
   6660 else
   6661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6662 /* end confdefs.h.  */
   6663 int i;
   6664 _ACEOF
   6665 if ac_fn_c_try_compile "$LINENO"; then :
   6666   xorg_cv_cc_flag_unknown_warning_option=yes
   6667 else
   6668   xorg_cv_cc_flag_unknown_warning_option=no
   6669 fi
   6670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6671 fi
   6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6673 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6674 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6675 	CFLAGS="$xorg_testset_save_CFLAGS"
   6676 fi
   6677 
   6678 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6679 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6681 	fi
   6682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6684 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6685 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6686   $as_echo_n "(cached) " >&6
   6687 else
   6688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6689 /* end confdefs.h.  */
   6690 int i;
   6691 _ACEOF
   6692 if ac_fn_c_try_compile "$LINENO"; then :
   6693   xorg_cv_cc_flag_unused_command_line_argument=yes
   6694 else
   6695   xorg_cv_cc_flag_unused_command_line_argument=no
   6696 fi
   6697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6698 fi
   6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6700 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6701 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6702 	CFLAGS="$xorg_testset_save_CFLAGS"
   6703 fi
   6704 
   6705 found="no"
   6706 
   6707 	if test $found = "no" ; then
   6708 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6710 		fi
   6711 
   6712 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6714 		fi
   6715 
   6716 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6717 
   6718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6719 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6720 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6721 		if eval \${$cacheid+:} false; then :
   6722   $as_echo_n "(cached) " >&6
   6723 else
   6724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6725 /* end confdefs.h.  */
   6726 int i;
   6727 int
   6728 main ()
   6729 {
   6730 
   6731   ;
   6732   return 0;
   6733 }
   6734 _ACEOF
   6735 if ac_fn_c_try_link "$LINENO"; then :
   6736   eval $cacheid=yes
   6737 else
   6738   eval $cacheid=no
   6739 fi
   6740 rm -f core conftest.err conftest.$ac_objext \
   6741     conftest$ac_exeext conftest.$ac_ext
   6742 fi
   6743 
   6744 
   6745 		CFLAGS="$xorg_testset_save_CFLAGS"
   6746 
   6747 		eval supported=\$$cacheid
   6748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6749 $as_echo "$supported" >&6; }
   6750 		if test "$supported" = "yes" ; then
   6751 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6752 			found="yes"
   6753 		fi
   6754 	fi
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 xorg_testset_save_CFLAGS="$CFLAGS"
   6771 
   6772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6775 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6776 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6777   $as_echo_n "(cached) " >&6
   6778 else
   6779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6780 /* end confdefs.h.  */
   6781 int i;
   6782 _ACEOF
   6783 if ac_fn_c_try_compile "$LINENO"; then :
   6784   xorg_cv_cc_flag_unknown_warning_option=yes
   6785 else
   6786   xorg_cv_cc_flag_unknown_warning_option=no
   6787 fi
   6788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6789 fi
   6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6791 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6793 	CFLAGS="$xorg_testset_save_CFLAGS"
   6794 fi
   6795 
   6796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6799 	fi
   6800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6802 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6803 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6804   $as_echo_n "(cached) " >&6
   6805 else
   6806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6807 /* end confdefs.h.  */
   6808 int i;
   6809 _ACEOF
   6810 if ac_fn_c_try_compile "$LINENO"; then :
   6811   xorg_cv_cc_flag_unused_command_line_argument=yes
   6812 else
   6813   xorg_cv_cc_flag_unused_command_line_argument=no
   6814 fi
   6815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6816 fi
   6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6818 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6819 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6820 	CFLAGS="$xorg_testset_save_CFLAGS"
   6821 fi
   6822 
   6823 found="no"
   6824 
   6825 	if test $found = "no" ; then
   6826 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6828 		fi
   6829 
   6830 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6832 		fi
   6833 
   6834 		CFLAGS="$CFLAGS -Wredundant-decls"
   6835 
   6836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6837 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6838 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6839 		if eval \${$cacheid+:} false; then :
   6840   $as_echo_n "(cached) " >&6
   6841 else
   6842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6843 /* end confdefs.h.  */
   6844 int i;
   6845 int
   6846 main ()
   6847 {
   6848 
   6849   ;
   6850   return 0;
   6851 }
   6852 _ACEOF
   6853 if ac_fn_c_try_link "$LINENO"; then :
   6854   eval $cacheid=yes
   6855 else
   6856   eval $cacheid=no
   6857 fi
   6858 rm -f core conftest.err conftest.$ac_objext \
   6859     conftest$ac_exeext conftest.$ac_ext
   6860 fi
   6861 
   6862 
   6863 		CFLAGS="$xorg_testset_save_CFLAGS"
   6864 
   6865 		eval supported=\$$cacheid
   6866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6867 $as_echo "$supported" >&6; }
   6868 		if test "$supported" = "yes" ; then
   6869 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6870 			found="yes"
   6871 		fi
   6872 	fi
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 xorg_testset_save_CFLAGS="$CFLAGS"
   6889 
   6890 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6891 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6893 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6894 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6895   $as_echo_n "(cached) " >&6
   6896 else
   6897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6898 /* end confdefs.h.  */
   6899 int i;
   6900 _ACEOF
   6901 if ac_fn_c_try_compile "$LINENO"; then :
   6902   xorg_cv_cc_flag_unknown_warning_option=yes
   6903 else
   6904   xorg_cv_cc_flag_unknown_warning_option=no
   6905 fi
   6906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6907 fi
   6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6909 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6911 	CFLAGS="$xorg_testset_save_CFLAGS"
   6912 fi
   6913 
   6914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6917 	fi
   6918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6920 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6921 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6922   $as_echo_n "(cached) " >&6
   6923 else
   6924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6925 /* end confdefs.h.  */
   6926 int i;
   6927 _ACEOF
   6928 if ac_fn_c_try_compile "$LINENO"; then :
   6929   xorg_cv_cc_flag_unused_command_line_argument=yes
   6930 else
   6931   xorg_cv_cc_flag_unused_command_line_argument=no
   6932 fi
   6933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6934 fi
   6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6936 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6938 	CFLAGS="$xorg_testset_save_CFLAGS"
   6939 fi
   6940 
   6941 found="no"
   6942 
   6943 	if test $found = "no" ; then
   6944 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6946 		fi
   6947 
   6948 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6950 		fi
   6951 
   6952 		CFLAGS="$CFLAGS -Wlogical-op"
   6953 
   6954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6955 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6956 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6957 		if eval \${$cacheid+:} false; then :
   6958   $as_echo_n "(cached) " >&6
   6959 else
   6960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6961 /* end confdefs.h.  */
   6962 int i;
   6963 int
   6964 main ()
   6965 {
   6966 
   6967   ;
   6968   return 0;
   6969 }
   6970 _ACEOF
   6971 if ac_fn_c_try_link "$LINENO"; then :
   6972   eval $cacheid=yes
   6973 else
   6974   eval $cacheid=no
   6975 fi
   6976 rm -f core conftest.err conftest.$ac_objext \
   6977     conftest$ac_exeext conftest.$ac_ext
   6978 fi
   6979 
   6980 
   6981 		CFLAGS="$xorg_testset_save_CFLAGS"
   6982 
   6983 		eval supported=\$$cacheid
   6984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6985 $as_echo "$supported" >&6; }
   6986 		if test "$supported" = "yes" ; then
   6987 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6988 			found="yes"
   6989 		fi
   6990 	fi
   6991 
   6992 
   6993 
   6994 # These are currently disabled because they are noisy.  They will be enabled
   6995 # in the future once the codebase is sufficiently modernized to silence
   6996 # them.  For now, I don't want them to drown out the other warnings.
   6997 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6998 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6999 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7000 
   7001 # Turn some warnings into errors, so we don't accidently get successful builds
   7002 # when there are problems that should be fixed.
   7003 
   7004 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 xorg_testset_save_CFLAGS="$CFLAGS"
   7019 
   7020 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7021 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7023 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7024 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7025   $as_echo_n "(cached) " >&6
   7026 else
   7027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7028 /* end confdefs.h.  */
   7029 int i;
   7030 _ACEOF
   7031 if ac_fn_c_try_compile "$LINENO"; then :
   7032   xorg_cv_cc_flag_unknown_warning_option=yes
   7033 else
   7034   xorg_cv_cc_flag_unknown_warning_option=no
   7035 fi
   7036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7037 fi
   7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7039 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7040 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7041 	CFLAGS="$xorg_testset_save_CFLAGS"
   7042 fi
   7043 
   7044 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7045 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7046 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7047 	fi
   7048 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7049 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7050 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7051 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7052   $as_echo_n "(cached) " >&6
   7053 else
   7054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7055 /* end confdefs.h.  */
   7056 int i;
   7057 _ACEOF
   7058 if ac_fn_c_try_compile "$LINENO"; then :
   7059   xorg_cv_cc_flag_unused_command_line_argument=yes
   7060 else
   7061   xorg_cv_cc_flag_unused_command_line_argument=no
   7062 fi
   7063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7064 fi
   7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7066 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7067 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7068 	CFLAGS="$xorg_testset_save_CFLAGS"
   7069 fi
   7070 
   7071 found="no"
   7072 
   7073 	if test $found = "no" ; then
   7074 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7075 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7076 		fi
   7077 
   7078 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7079 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7080 		fi
   7081 
   7082 		CFLAGS="$CFLAGS -Werror=implicit"
   7083 
   7084 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7085 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7086 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7087 		if eval \${$cacheid+:} false; then :
   7088   $as_echo_n "(cached) " >&6
   7089 else
   7090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7091 /* end confdefs.h.  */
   7092 int i;
   7093 int
   7094 main ()
   7095 {
   7096 
   7097   ;
   7098   return 0;
   7099 }
   7100 _ACEOF
   7101 if ac_fn_c_try_link "$LINENO"; then :
   7102   eval $cacheid=yes
   7103 else
   7104   eval $cacheid=no
   7105 fi
   7106 rm -f core conftest.err conftest.$ac_objext \
   7107     conftest$ac_exeext conftest.$ac_ext
   7108 fi
   7109 
   7110 
   7111 		CFLAGS="$xorg_testset_save_CFLAGS"
   7112 
   7113 		eval supported=\$$cacheid
   7114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7115 $as_echo "$supported" >&6; }
   7116 		if test "$supported" = "yes" ; then
   7117 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7118 			found="yes"
   7119 		fi
   7120 	fi
   7121 
   7122 	if test $found = "no" ; then
   7123 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7124 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7125 		fi
   7126 
   7127 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7128 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7129 		fi
   7130 
   7131 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7132 
   7133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7134 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7135 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7136 		if eval \${$cacheid+:} false; then :
   7137   $as_echo_n "(cached) " >&6
   7138 else
   7139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7140 /* end confdefs.h.  */
   7141 int i;
   7142 int
   7143 main ()
   7144 {
   7145 
   7146   ;
   7147   return 0;
   7148 }
   7149 _ACEOF
   7150 if ac_fn_c_try_link "$LINENO"; then :
   7151   eval $cacheid=yes
   7152 else
   7153   eval $cacheid=no
   7154 fi
   7155 rm -f core conftest.err conftest.$ac_objext \
   7156     conftest$ac_exeext conftest.$ac_ext
   7157 fi
   7158 
   7159 
   7160 		CFLAGS="$xorg_testset_save_CFLAGS"
   7161 
   7162 		eval supported=\$$cacheid
   7163 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7164 $as_echo "$supported" >&6; }
   7165 		if test "$supported" = "yes" ; then
   7166 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7167 			found="yes"
   7168 		fi
   7169 	fi
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 xorg_testset_save_CFLAGS="$CFLAGS"
   7186 
   7187 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7188 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7189 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7190 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7191 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7192   $as_echo_n "(cached) " >&6
   7193 else
   7194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7195 /* end confdefs.h.  */
   7196 int i;
   7197 _ACEOF
   7198 if ac_fn_c_try_compile "$LINENO"; then :
   7199   xorg_cv_cc_flag_unknown_warning_option=yes
   7200 else
   7201   xorg_cv_cc_flag_unknown_warning_option=no
   7202 fi
   7203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7204 fi
   7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7206 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7207 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7208 	CFLAGS="$xorg_testset_save_CFLAGS"
   7209 fi
   7210 
   7211 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7212 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7213 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7214 	fi
   7215 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7216 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7217 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7218 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7219   $as_echo_n "(cached) " >&6
   7220 else
   7221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7222 /* end confdefs.h.  */
   7223 int i;
   7224 _ACEOF
   7225 if ac_fn_c_try_compile "$LINENO"; then :
   7226   xorg_cv_cc_flag_unused_command_line_argument=yes
   7227 else
   7228   xorg_cv_cc_flag_unused_command_line_argument=no
   7229 fi
   7230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7231 fi
   7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7233 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7234 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7235 	CFLAGS="$xorg_testset_save_CFLAGS"
   7236 fi
   7237 
   7238 found="no"
   7239 
   7240 	if test $found = "no" ; then
   7241 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7243 		fi
   7244 
   7245 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7247 		fi
   7248 
   7249 		CFLAGS="$CFLAGS -Werror=nonnull"
   7250 
   7251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7252 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7253 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7254 		if eval \${$cacheid+:} false; then :
   7255   $as_echo_n "(cached) " >&6
   7256 else
   7257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7258 /* end confdefs.h.  */
   7259 int i;
   7260 int
   7261 main ()
   7262 {
   7263 
   7264   ;
   7265   return 0;
   7266 }
   7267 _ACEOF
   7268 if ac_fn_c_try_link "$LINENO"; then :
   7269   eval $cacheid=yes
   7270 else
   7271   eval $cacheid=no
   7272 fi
   7273 rm -f core conftest.err conftest.$ac_objext \
   7274     conftest$ac_exeext conftest.$ac_ext
   7275 fi
   7276 
   7277 
   7278 		CFLAGS="$xorg_testset_save_CFLAGS"
   7279 
   7280 		eval supported=\$$cacheid
   7281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7282 $as_echo "$supported" >&6; }
   7283 		if test "$supported" = "yes" ; then
   7284 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7285 			found="yes"
   7286 		fi
   7287 	fi
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 xorg_testset_save_CFLAGS="$CFLAGS"
   7304 
   7305 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7306 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7307 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7308 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7309 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7310   $as_echo_n "(cached) " >&6
   7311 else
   7312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7313 /* end confdefs.h.  */
   7314 int i;
   7315 _ACEOF
   7316 if ac_fn_c_try_compile "$LINENO"; then :
   7317   xorg_cv_cc_flag_unknown_warning_option=yes
   7318 else
   7319   xorg_cv_cc_flag_unknown_warning_option=no
   7320 fi
   7321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7322 fi
   7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7324 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7325 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7326 	CFLAGS="$xorg_testset_save_CFLAGS"
   7327 fi
   7328 
   7329 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7330 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7331 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7332 	fi
   7333 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7335 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7336 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7337   $as_echo_n "(cached) " >&6
   7338 else
   7339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7340 /* end confdefs.h.  */
   7341 int i;
   7342 _ACEOF
   7343 if ac_fn_c_try_compile "$LINENO"; then :
   7344   xorg_cv_cc_flag_unused_command_line_argument=yes
   7345 else
   7346   xorg_cv_cc_flag_unused_command_line_argument=no
   7347 fi
   7348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7349 fi
   7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7351 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7352 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7353 	CFLAGS="$xorg_testset_save_CFLAGS"
   7354 fi
   7355 
   7356 found="no"
   7357 
   7358 	if test $found = "no" ; then
   7359 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7360 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7361 		fi
   7362 
   7363 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7364 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7365 		fi
   7366 
   7367 		CFLAGS="$CFLAGS -Werror=init-self"
   7368 
   7369 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7370 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7371 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7372 		if eval \${$cacheid+:} false; then :
   7373   $as_echo_n "(cached) " >&6
   7374 else
   7375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7376 /* end confdefs.h.  */
   7377 int i;
   7378 int
   7379 main ()
   7380 {
   7381 
   7382   ;
   7383   return 0;
   7384 }
   7385 _ACEOF
   7386 if ac_fn_c_try_link "$LINENO"; then :
   7387   eval $cacheid=yes
   7388 else
   7389   eval $cacheid=no
   7390 fi
   7391 rm -f core conftest.err conftest.$ac_objext \
   7392     conftest$ac_exeext conftest.$ac_ext
   7393 fi
   7394 
   7395 
   7396 		CFLAGS="$xorg_testset_save_CFLAGS"
   7397 
   7398 		eval supported=\$$cacheid
   7399 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7400 $as_echo "$supported" >&6; }
   7401 		if test "$supported" = "yes" ; then
   7402 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7403 			found="yes"
   7404 		fi
   7405 	fi
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 xorg_testset_save_CFLAGS="$CFLAGS"
   7422 
   7423 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7424 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7425 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7426 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7427 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7428   $as_echo_n "(cached) " >&6
   7429 else
   7430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7431 /* end confdefs.h.  */
   7432 int i;
   7433 _ACEOF
   7434 if ac_fn_c_try_compile "$LINENO"; then :
   7435   xorg_cv_cc_flag_unknown_warning_option=yes
   7436 else
   7437   xorg_cv_cc_flag_unknown_warning_option=no
   7438 fi
   7439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7440 fi
   7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7442 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7443 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7444 	CFLAGS="$xorg_testset_save_CFLAGS"
   7445 fi
   7446 
   7447 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7448 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7449 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7450 	fi
   7451 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7452 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7453 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7454 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7455   $as_echo_n "(cached) " >&6
   7456 else
   7457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7458 /* end confdefs.h.  */
   7459 int i;
   7460 _ACEOF
   7461 if ac_fn_c_try_compile "$LINENO"; then :
   7462   xorg_cv_cc_flag_unused_command_line_argument=yes
   7463 else
   7464   xorg_cv_cc_flag_unused_command_line_argument=no
   7465 fi
   7466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7467 fi
   7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7469 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7470 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7471 	CFLAGS="$xorg_testset_save_CFLAGS"
   7472 fi
   7473 
   7474 found="no"
   7475 
   7476 	if test $found = "no" ; then
   7477 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7478 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7479 		fi
   7480 
   7481 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7482 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7483 		fi
   7484 
   7485 		CFLAGS="$CFLAGS -Werror=main"
   7486 
   7487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7488 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7489 		cacheid=xorg_cv_cc_flag__Werror_main
   7490 		if eval \${$cacheid+:} false; then :
   7491   $as_echo_n "(cached) " >&6
   7492 else
   7493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7494 /* end confdefs.h.  */
   7495 int i;
   7496 int
   7497 main ()
   7498 {
   7499 
   7500   ;
   7501   return 0;
   7502 }
   7503 _ACEOF
   7504 if ac_fn_c_try_link "$LINENO"; then :
   7505   eval $cacheid=yes
   7506 else
   7507   eval $cacheid=no
   7508 fi
   7509 rm -f core conftest.err conftest.$ac_objext \
   7510     conftest$ac_exeext conftest.$ac_ext
   7511 fi
   7512 
   7513 
   7514 		CFLAGS="$xorg_testset_save_CFLAGS"
   7515 
   7516 		eval supported=\$$cacheid
   7517 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7518 $as_echo "$supported" >&6; }
   7519 		if test "$supported" = "yes" ; then
   7520 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7521 			found="yes"
   7522 		fi
   7523 	fi
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 xorg_testset_save_CFLAGS="$CFLAGS"
   7540 
   7541 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7542 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7543 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7544 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7545 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7546   $as_echo_n "(cached) " >&6
   7547 else
   7548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7549 /* end confdefs.h.  */
   7550 int i;
   7551 _ACEOF
   7552 if ac_fn_c_try_compile "$LINENO"; then :
   7553   xorg_cv_cc_flag_unknown_warning_option=yes
   7554 else
   7555   xorg_cv_cc_flag_unknown_warning_option=no
   7556 fi
   7557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7558 fi
   7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7560 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7561 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7562 	CFLAGS="$xorg_testset_save_CFLAGS"
   7563 fi
   7564 
   7565 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7566 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7567 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7568 	fi
   7569 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7570 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7571 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7572 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7573   $as_echo_n "(cached) " >&6
   7574 else
   7575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7576 /* end confdefs.h.  */
   7577 int i;
   7578 _ACEOF
   7579 if ac_fn_c_try_compile "$LINENO"; then :
   7580   xorg_cv_cc_flag_unused_command_line_argument=yes
   7581 else
   7582   xorg_cv_cc_flag_unused_command_line_argument=no
   7583 fi
   7584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7585 fi
   7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7587 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7588 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7589 	CFLAGS="$xorg_testset_save_CFLAGS"
   7590 fi
   7591 
   7592 found="no"
   7593 
   7594 	if test $found = "no" ; then
   7595 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7596 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7597 		fi
   7598 
   7599 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7600 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7601 		fi
   7602 
   7603 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7604 
   7605 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7606 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7607 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7608 		if eval \${$cacheid+:} false; then :
   7609   $as_echo_n "(cached) " >&6
   7610 else
   7611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7612 /* end confdefs.h.  */
   7613 int i;
   7614 int
   7615 main ()
   7616 {
   7617 
   7618   ;
   7619   return 0;
   7620 }
   7621 _ACEOF
   7622 if ac_fn_c_try_link "$LINENO"; then :
   7623   eval $cacheid=yes
   7624 else
   7625   eval $cacheid=no
   7626 fi
   7627 rm -f core conftest.err conftest.$ac_objext \
   7628     conftest$ac_exeext conftest.$ac_ext
   7629 fi
   7630 
   7631 
   7632 		CFLAGS="$xorg_testset_save_CFLAGS"
   7633 
   7634 		eval supported=\$$cacheid
   7635 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7636 $as_echo "$supported" >&6; }
   7637 		if test "$supported" = "yes" ; then
   7638 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7639 			found="yes"
   7640 		fi
   7641 	fi
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 xorg_testset_save_CFLAGS="$CFLAGS"
   7658 
   7659 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7660 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7661 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7662 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7663 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7664   $as_echo_n "(cached) " >&6
   7665 else
   7666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7667 /* end confdefs.h.  */
   7668 int i;
   7669 _ACEOF
   7670 if ac_fn_c_try_compile "$LINENO"; then :
   7671   xorg_cv_cc_flag_unknown_warning_option=yes
   7672 else
   7673   xorg_cv_cc_flag_unknown_warning_option=no
   7674 fi
   7675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7676 fi
   7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7678 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7679 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7680 	CFLAGS="$xorg_testset_save_CFLAGS"
   7681 fi
   7682 
   7683 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7684 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7685 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7686 	fi
   7687 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7689 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7690 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7691   $as_echo_n "(cached) " >&6
   7692 else
   7693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7694 /* end confdefs.h.  */
   7695 int i;
   7696 _ACEOF
   7697 if ac_fn_c_try_compile "$LINENO"; then :
   7698   xorg_cv_cc_flag_unused_command_line_argument=yes
   7699 else
   7700   xorg_cv_cc_flag_unused_command_line_argument=no
   7701 fi
   7702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7703 fi
   7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7705 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7706 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7707 	CFLAGS="$xorg_testset_save_CFLAGS"
   7708 fi
   7709 
   7710 found="no"
   7711 
   7712 	if test $found = "no" ; then
   7713 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7714 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7715 		fi
   7716 
   7717 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7718 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7719 		fi
   7720 
   7721 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7722 
   7723 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7724 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7725 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7726 		if eval \${$cacheid+:} false; then :
   7727   $as_echo_n "(cached) " >&6
   7728 else
   7729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7730 /* end confdefs.h.  */
   7731 int i;
   7732 int
   7733 main ()
   7734 {
   7735 
   7736   ;
   7737   return 0;
   7738 }
   7739 _ACEOF
   7740 if ac_fn_c_try_link "$LINENO"; then :
   7741   eval $cacheid=yes
   7742 else
   7743   eval $cacheid=no
   7744 fi
   7745 rm -f core conftest.err conftest.$ac_objext \
   7746     conftest$ac_exeext conftest.$ac_ext
   7747 fi
   7748 
   7749 
   7750 		CFLAGS="$xorg_testset_save_CFLAGS"
   7751 
   7752 		eval supported=\$$cacheid
   7753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7754 $as_echo "$supported" >&6; }
   7755 		if test "$supported" = "yes" ; then
   7756 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7757 			found="yes"
   7758 		fi
   7759 	fi
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 xorg_testset_save_CFLAGS="$CFLAGS"
   7776 
   7777 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7778 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7779 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7780 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7781 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7782   $as_echo_n "(cached) " >&6
   7783 else
   7784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7785 /* end confdefs.h.  */
   7786 int i;
   7787 _ACEOF
   7788 if ac_fn_c_try_compile "$LINENO"; then :
   7789   xorg_cv_cc_flag_unknown_warning_option=yes
   7790 else
   7791   xorg_cv_cc_flag_unknown_warning_option=no
   7792 fi
   7793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7794 fi
   7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7796 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7797 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7798 	CFLAGS="$xorg_testset_save_CFLAGS"
   7799 fi
   7800 
   7801 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7802 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7803 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7804 	fi
   7805 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7807 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7808 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7809   $as_echo_n "(cached) " >&6
   7810 else
   7811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7812 /* end confdefs.h.  */
   7813 int i;
   7814 _ACEOF
   7815 if ac_fn_c_try_compile "$LINENO"; then :
   7816   xorg_cv_cc_flag_unused_command_line_argument=yes
   7817 else
   7818   xorg_cv_cc_flag_unused_command_line_argument=no
   7819 fi
   7820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7821 fi
   7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7823 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7824 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7825 	CFLAGS="$xorg_testset_save_CFLAGS"
   7826 fi
   7827 
   7828 found="no"
   7829 
   7830 	if test $found = "no" ; then
   7831 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7832 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7833 		fi
   7834 
   7835 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7836 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7837 		fi
   7838 
   7839 		CFLAGS="$CFLAGS -Werror=return-type"
   7840 
   7841 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7842 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7843 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7844 		if eval \${$cacheid+:} false; then :
   7845   $as_echo_n "(cached) " >&6
   7846 else
   7847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7848 /* end confdefs.h.  */
   7849 int i;
   7850 int
   7851 main ()
   7852 {
   7853 
   7854   ;
   7855   return 0;
   7856 }
   7857 _ACEOF
   7858 if ac_fn_c_try_link "$LINENO"; then :
   7859   eval $cacheid=yes
   7860 else
   7861   eval $cacheid=no
   7862 fi
   7863 rm -f core conftest.err conftest.$ac_objext \
   7864     conftest$ac_exeext conftest.$ac_ext
   7865 fi
   7866 
   7867 
   7868 		CFLAGS="$xorg_testset_save_CFLAGS"
   7869 
   7870 		eval supported=\$$cacheid
   7871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7872 $as_echo "$supported" >&6; }
   7873 		if test "$supported" = "yes" ; then
   7874 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7875 			found="yes"
   7876 		fi
   7877 	fi
   7878 
   7879 	if test $found = "no" ; then
   7880 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7881 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7882 		fi
   7883 
   7884 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7885 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7886 		fi
   7887 
   7888 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7889 
   7890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7891 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7892 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7893 		if eval \${$cacheid+:} false; then :
   7894   $as_echo_n "(cached) " >&6
   7895 else
   7896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7897 /* end confdefs.h.  */
   7898 int i;
   7899 int
   7900 main ()
   7901 {
   7902 
   7903   ;
   7904   return 0;
   7905 }
   7906 _ACEOF
   7907 if ac_fn_c_try_link "$LINENO"; then :
   7908   eval $cacheid=yes
   7909 else
   7910   eval $cacheid=no
   7911 fi
   7912 rm -f core conftest.err conftest.$ac_objext \
   7913     conftest$ac_exeext conftest.$ac_ext
   7914 fi
   7915 
   7916 
   7917 		CFLAGS="$xorg_testset_save_CFLAGS"
   7918 
   7919 		eval supported=\$$cacheid
   7920 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7921 $as_echo "$supported" >&6; }
   7922 		if test "$supported" = "yes" ; then
   7923 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7924 			found="yes"
   7925 		fi
   7926 	fi
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 xorg_testset_save_CFLAGS="$CFLAGS"
   7943 
   7944 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7945 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7947 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7948 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7949   $as_echo_n "(cached) " >&6
   7950 else
   7951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7952 /* end confdefs.h.  */
   7953 int i;
   7954 _ACEOF
   7955 if ac_fn_c_try_compile "$LINENO"; then :
   7956   xorg_cv_cc_flag_unknown_warning_option=yes
   7957 else
   7958   xorg_cv_cc_flag_unknown_warning_option=no
   7959 fi
   7960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7961 fi
   7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7963 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7964 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7965 	CFLAGS="$xorg_testset_save_CFLAGS"
   7966 fi
   7967 
   7968 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7969 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7970 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7971 	fi
   7972 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7973 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7974 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7975 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7976   $as_echo_n "(cached) " >&6
   7977 else
   7978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7979 /* end confdefs.h.  */
   7980 int i;
   7981 _ACEOF
   7982 if ac_fn_c_try_compile "$LINENO"; then :
   7983   xorg_cv_cc_flag_unused_command_line_argument=yes
   7984 else
   7985   xorg_cv_cc_flag_unused_command_line_argument=no
   7986 fi
   7987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7988 fi
   7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7990 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7992 	CFLAGS="$xorg_testset_save_CFLAGS"
   7993 fi
   7994 
   7995 found="no"
   7996 
   7997 	if test $found = "no" ; then
   7998 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8000 		fi
   8001 
   8002 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8004 		fi
   8005 
   8006 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8007 
   8008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8009 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8010 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8011 		if eval \${$cacheid+:} false; then :
   8012   $as_echo_n "(cached) " >&6
   8013 else
   8014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8015 /* end confdefs.h.  */
   8016 int i;
   8017 int
   8018 main ()
   8019 {
   8020 
   8021   ;
   8022   return 0;
   8023 }
   8024 _ACEOF
   8025 if ac_fn_c_try_link "$LINENO"; then :
   8026   eval $cacheid=yes
   8027 else
   8028   eval $cacheid=no
   8029 fi
   8030 rm -f core conftest.err conftest.$ac_objext \
   8031     conftest$ac_exeext conftest.$ac_ext
   8032 fi
   8033 
   8034 
   8035 		CFLAGS="$xorg_testset_save_CFLAGS"
   8036 
   8037 		eval supported=\$$cacheid
   8038 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8039 $as_echo "$supported" >&6; }
   8040 		if test "$supported" = "yes" ; then
   8041 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8042 			found="yes"
   8043 		fi
   8044 	fi
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 xorg_testset_save_CFLAGS="$CFLAGS"
   8061 
   8062 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8063 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8064 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8065 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8066 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8067   $as_echo_n "(cached) " >&6
   8068 else
   8069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8070 /* end confdefs.h.  */
   8071 int i;
   8072 _ACEOF
   8073 if ac_fn_c_try_compile "$LINENO"; then :
   8074   xorg_cv_cc_flag_unknown_warning_option=yes
   8075 else
   8076   xorg_cv_cc_flag_unknown_warning_option=no
   8077 fi
   8078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8079 fi
   8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8081 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8082 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8083 	CFLAGS="$xorg_testset_save_CFLAGS"
   8084 fi
   8085 
   8086 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8087 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8088 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8089 	fi
   8090 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8091 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8092 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8093 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8094   $as_echo_n "(cached) " >&6
   8095 else
   8096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8097 /* end confdefs.h.  */
   8098 int i;
   8099 _ACEOF
   8100 if ac_fn_c_try_compile "$LINENO"; then :
   8101   xorg_cv_cc_flag_unused_command_line_argument=yes
   8102 else
   8103   xorg_cv_cc_flag_unused_command_line_argument=no
   8104 fi
   8105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8106 fi
   8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8108 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8109 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8110 	CFLAGS="$xorg_testset_save_CFLAGS"
   8111 fi
   8112 
   8113 found="no"
   8114 
   8115 	if test $found = "no" ; then
   8116 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8117 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8118 		fi
   8119 
   8120 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8121 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8122 		fi
   8123 
   8124 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8125 
   8126 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8127 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8128 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8129 		if eval \${$cacheid+:} false; then :
   8130   $as_echo_n "(cached) " >&6
   8131 else
   8132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8133 /* end confdefs.h.  */
   8134 int i;
   8135 int
   8136 main ()
   8137 {
   8138 
   8139   ;
   8140   return 0;
   8141 }
   8142 _ACEOF
   8143 if ac_fn_c_try_link "$LINENO"; then :
   8144   eval $cacheid=yes
   8145 else
   8146   eval $cacheid=no
   8147 fi
   8148 rm -f core conftest.err conftest.$ac_objext \
   8149     conftest$ac_exeext conftest.$ac_ext
   8150 fi
   8151 
   8152 
   8153 		CFLAGS="$xorg_testset_save_CFLAGS"
   8154 
   8155 		eval supported=\$$cacheid
   8156 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8157 $as_echo "$supported" >&6; }
   8158 		if test "$supported" = "yes" ; then
   8159 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8160 			found="yes"
   8161 		fi
   8162 	fi
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 xorg_testset_save_CFLAGS="$CFLAGS"
   8179 
   8180 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8181 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8183 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8184 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8185   $as_echo_n "(cached) " >&6
   8186 else
   8187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8188 /* end confdefs.h.  */
   8189 int i;
   8190 _ACEOF
   8191 if ac_fn_c_try_compile "$LINENO"; then :
   8192   xorg_cv_cc_flag_unknown_warning_option=yes
   8193 else
   8194   xorg_cv_cc_flag_unknown_warning_option=no
   8195 fi
   8196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8197 fi
   8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8199 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8200 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8201 	CFLAGS="$xorg_testset_save_CFLAGS"
   8202 fi
   8203 
   8204 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8205 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8206 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8207 	fi
   8208 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8209 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8210 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8211 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8212   $as_echo_n "(cached) " >&6
   8213 else
   8214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8215 /* end confdefs.h.  */
   8216 int i;
   8217 _ACEOF
   8218 if ac_fn_c_try_compile "$LINENO"; then :
   8219   xorg_cv_cc_flag_unused_command_line_argument=yes
   8220 else
   8221   xorg_cv_cc_flag_unused_command_line_argument=no
   8222 fi
   8223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8224 fi
   8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8226 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8227 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8228 	CFLAGS="$xorg_testset_save_CFLAGS"
   8229 fi
   8230 
   8231 found="no"
   8232 
   8233 	if test $found = "no" ; then
   8234 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8235 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8236 		fi
   8237 
   8238 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8239 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8240 		fi
   8241 
   8242 		CFLAGS="$CFLAGS -Werror=write-strings"
   8243 
   8244 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8245 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8246 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8247 		if eval \${$cacheid+:} false; then :
   8248   $as_echo_n "(cached) " >&6
   8249 else
   8250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8251 /* end confdefs.h.  */
   8252 int i;
   8253 int
   8254 main ()
   8255 {
   8256 
   8257   ;
   8258   return 0;
   8259 }
   8260 _ACEOF
   8261 if ac_fn_c_try_link "$LINENO"; then :
   8262   eval $cacheid=yes
   8263 else
   8264   eval $cacheid=no
   8265 fi
   8266 rm -f core conftest.err conftest.$ac_objext \
   8267     conftest$ac_exeext conftest.$ac_ext
   8268 fi
   8269 
   8270 
   8271 		CFLAGS="$xorg_testset_save_CFLAGS"
   8272 
   8273 		eval supported=\$$cacheid
   8274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8275 $as_echo "$supported" >&6; }
   8276 		if test "$supported" = "yes" ; then
   8277 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8278 			found="yes"
   8279 		fi
   8280 	fi
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 xorg_testset_save_CFLAGS="$CFLAGS"
   8297 
   8298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8301 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8302 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8303   $as_echo_n "(cached) " >&6
   8304 else
   8305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8306 /* end confdefs.h.  */
   8307 int i;
   8308 _ACEOF
   8309 if ac_fn_c_try_compile "$LINENO"; then :
   8310   xorg_cv_cc_flag_unknown_warning_option=yes
   8311 else
   8312   xorg_cv_cc_flag_unknown_warning_option=no
   8313 fi
   8314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8315 fi
   8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8317 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8319 	CFLAGS="$xorg_testset_save_CFLAGS"
   8320 fi
   8321 
   8322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8325 	fi
   8326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8327 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8328 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8329 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8330   $as_echo_n "(cached) " >&6
   8331 else
   8332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8333 /* end confdefs.h.  */
   8334 int i;
   8335 _ACEOF
   8336 if ac_fn_c_try_compile "$LINENO"; then :
   8337   xorg_cv_cc_flag_unused_command_line_argument=yes
   8338 else
   8339   xorg_cv_cc_flag_unused_command_line_argument=no
   8340 fi
   8341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8342 fi
   8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8344 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8346 	CFLAGS="$xorg_testset_save_CFLAGS"
   8347 fi
   8348 
   8349 found="no"
   8350 
   8351 	if test $found = "no" ; then
   8352 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8354 		fi
   8355 
   8356 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8358 		fi
   8359 
   8360 		CFLAGS="$CFLAGS -Werror=address"
   8361 
   8362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8363 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8364 		cacheid=xorg_cv_cc_flag__Werror_address
   8365 		if eval \${$cacheid+:} false; then :
   8366   $as_echo_n "(cached) " >&6
   8367 else
   8368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8369 /* end confdefs.h.  */
   8370 int i;
   8371 int
   8372 main ()
   8373 {
   8374 
   8375   ;
   8376   return 0;
   8377 }
   8378 _ACEOF
   8379 if ac_fn_c_try_link "$LINENO"; then :
   8380   eval $cacheid=yes
   8381 else
   8382   eval $cacheid=no
   8383 fi
   8384 rm -f core conftest.err conftest.$ac_objext \
   8385     conftest$ac_exeext conftest.$ac_ext
   8386 fi
   8387 
   8388 
   8389 		CFLAGS="$xorg_testset_save_CFLAGS"
   8390 
   8391 		eval supported=\$$cacheid
   8392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8393 $as_echo "$supported" >&6; }
   8394 		if test "$supported" = "yes" ; then
   8395 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8396 			found="yes"
   8397 		fi
   8398 	fi
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 xorg_testset_save_CFLAGS="$CFLAGS"
   8415 
   8416 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8417 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8419 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8420 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8421   $as_echo_n "(cached) " >&6
   8422 else
   8423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8424 /* end confdefs.h.  */
   8425 int i;
   8426 _ACEOF
   8427 if ac_fn_c_try_compile "$LINENO"; then :
   8428   xorg_cv_cc_flag_unknown_warning_option=yes
   8429 else
   8430   xorg_cv_cc_flag_unknown_warning_option=no
   8431 fi
   8432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8433 fi
   8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8435 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8436 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8437 	CFLAGS="$xorg_testset_save_CFLAGS"
   8438 fi
   8439 
   8440 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8441 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8442 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8443 	fi
   8444 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8445 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8446 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8447 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8448   $as_echo_n "(cached) " >&6
   8449 else
   8450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8451 /* end confdefs.h.  */
   8452 int i;
   8453 _ACEOF
   8454 if ac_fn_c_try_compile "$LINENO"; then :
   8455   xorg_cv_cc_flag_unused_command_line_argument=yes
   8456 else
   8457   xorg_cv_cc_flag_unused_command_line_argument=no
   8458 fi
   8459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8460 fi
   8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8462 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8463 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8464 	CFLAGS="$xorg_testset_save_CFLAGS"
   8465 fi
   8466 
   8467 found="no"
   8468 
   8469 	if test $found = "no" ; then
   8470 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8471 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8472 		fi
   8473 
   8474 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8475 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8476 		fi
   8477 
   8478 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8479 
   8480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8481 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8482 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8483 		if eval \${$cacheid+:} false; then :
   8484   $as_echo_n "(cached) " >&6
   8485 else
   8486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8487 /* end confdefs.h.  */
   8488 int i;
   8489 int
   8490 main ()
   8491 {
   8492 
   8493   ;
   8494   return 0;
   8495 }
   8496 _ACEOF
   8497 if ac_fn_c_try_link "$LINENO"; then :
   8498   eval $cacheid=yes
   8499 else
   8500   eval $cacheid=no
   8501 fi
   8502 rm -f core conftest.err conftest.$ac_objext \
   8503     conftest$ac_exeext conftest.$ac_ext
   8504 fi
   8505 
   8506 
   8507 		CFLAGS="$xorg_testset_save_CFLAGS"
   8508 
   8509 		eval supported=\$$cacheid
   8510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8511 $as_echo "$supported" >&6; }
   8512 		if test "$supported" = "yes" ; then
   8513 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8514 			found="yes"
   8515 		fi
   8516 	fi
   8517 
   8518 	if test $found = "no" ; then
   8519 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8520 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8521 		fi
   8522 
   8523 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8524 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8525 		fi
   8526 
   8527 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8528 
   8529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8530 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8531 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8532 		if eval \${$cacheid+:} false; then :
   8533   $as_echo_n "(cached) " >&6
   8534 else
   8535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8536 /* end confdefs.h.  */
   8537 int i;
   8538 int
   8539 main ()
   8540 {
   8541 
   8542   ;
   8543   return 0;
   8544 }
   8545 _ACEOF
   8546 if ac_fn_c_try_link "$LINENO"; then :
   8547   eval $cacheid=yes
   8548 else
   8549   eval $cacheid=no
   8550 fi
   8551 rm -f core conftest.err conftest.$ac_objext \
   8552     conftest$ac_exeext conftest.$ac_ext
   8553 fi
   8554 
   8555 
   8556 		CFLAGS="$xorg_testset_save_CFLAGS"
   8557 
   8558 		eval supported=\$$cacheid
   8559 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8560 $as_echo "$supported" >&6; }
   8561 		if test "$supported" = "yes" ; then
   8562 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8563 			found="yes"
   8564 		fi
   8565 	fi
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 xorg_testset_save_CFLAGS="$CFLAGS"
   8582 
   8583 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8584 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8585 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8586 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8587 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8588   $as_echo_n "(cached) " >&6
   8589 else
   8590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8591 /* end confdefs.h.  */
   8592 int i;
   8593 _ACEOF
   8594 if ac_fn_c_try_compile "$LINENO"; then :
   8595   xorg_cv_cc_flag_unknown_warning_option=yes
   8596 else
   8597   xorg_cv_cc_flag_unknown_warning_option=no
   8598 fi
   8599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8600 fi
   8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8602 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8603 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8604 	CFLAGS="$xorg_testset_save_CFLAGS"
   8605 fi
   8606 
   8607 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8608 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8609 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8610 	fi
   8611 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8613 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8614 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8615   $as_echo_n "(cached) " >&6
   8616 else
   8617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8618 /* end confdefs.h.  */
   8619 int i;
   8620 _ACEOF
   8621 if ac_fn_c_try_compile "$LINENO"; then :
   8622   xorg_cv_cc_flag_unused_command_line_argument=yes
   8623 else
   8624   xorg_cv_cc_flag_unused_command_line_argument=no
   8625 fi
   8626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8627 fi
   8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8629 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8630 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8631 	CFLAGS="$xorg_testset_save_CFLAGS"
   8632 fi
   8633 
   8634 found="no"
   8635 
   8636 	if test $found = "no" ; then
   8637 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8638 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8639 		fi
   8640 
   8641 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8642 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8643 		fi
   8644 
   8645 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8646 
   8647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8648 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8649 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8650 		if eval \${$cacheid+:} false; then :
   8651   $as_echo_n "(cached) " >&6
   8652 else
   8653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8654 /* end confdefs.h.  */
   8655 int i;
   8656 int
   8657 main ()
   8658 {
   8659 
   8660   ;
   8661   return 0;
   8662 }
   8663 _ACEOF
   8664 if ac_fn_c_try_link "$LINENO"; then :
   8665   eval $cacheid=yes
   8666 else
   8667   eval $cacheid=no
   8668 fi
   8669 rm -f core conftest.err conftest.$ac_objext \
   8670     conftest$ac_exeext conftest.$ac_ext
   8671 fi
   8672 
   8673 
   8674 		CFLAGS="$xorg_testset_save_CFLAGS"
   8675 
   8676 		eval supported=\$$cacheid
   8677 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8678 $as_echo "$supported" >&6; }
   8679 		if test "$supported" = "yes" ; then
   8680 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8681 			found="yes"
   8682 		fi
   8683 	fi
   8684 
   8685  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8686 else
   8687 { $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
   8688 $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;}
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 xorg_testset_save_CFLAGS="$CFLAGS"
   8703 
   8704 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8705 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8706 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8707 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8708 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8709   $as_echo_n "(cached) " >&6
   8710 else
   8711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8712 /* end confdefs.h.  */
   8713 int i;
   8714 _ACEOF
   8715 if ac_fn_c_try_compile "$LINENO"; then :
   8716   xorg_cv_cc_flag_unknown_warning_option=yes
   8717 else
   8718   xorg_cv_cc_flag_unknown_warning_option=no
   8719 fi
   8720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8721 fi
   8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8723 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8724 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8725 	CFLAGS="$xorg_testset_save_CFLAGS"
   8726 fi
   8727 
   8728 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8729 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8730 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8731 	fi
   8732 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8733 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8734 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8735 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8736   $as_echo_n "(cached) " >&6
   8737 else
   8738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8739 /* end confdefs.h.  */
   8740 int i;
   8741 _ACEOF
   8742 if ac_fn_c_try_compile "$LINENO"; then :
   8743   xorg_cv_cc_flag_unused_command_line_argument=yes
   8744 else
   8745   xorg_cv_cc_flag_unused_command_line_argument=no
   8746 fi
   8747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8748 fi
   8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8750 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8751 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8752 	CFLAGS="$xorg_testset_save_CFLAGS"
   8753 fi
   8754 
   8755 found="no"
   8756 
   8757 	if test $found = "no" ; then
   8758 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8759 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8760 		fi
   8761 
   8762 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8763 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8764 		fi
   8765 
   8766 		CFLAGS="$CFLAGS -Wimplicit"
   8767 
   8768 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8769 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8770 		cacheid=xorg_cv_cc_flag__Wimplicit
   8771 		if eval \${$cacheid+:} false; then :
   8772   $as_echo_n "(cached) " >&6
   8773 else
   8774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8775 /* end confdefs.h.  */
   8776 int i;
   8777 int
   8778 main ()
   8779 {
   8780 
   8781   ;
   8782   return 0;
   8783 }
   8784 _ACEOF
   8785 if ac_fn_c_try_link "$LINENO"; then :
   8786   eval $cacheid=yes
   8787 else
   8788   eval $cacheid=no
   8789 fi
   8790 rm -f core conftest.err conftest.$ac_objext \
   8791     conftest$ac_exeext conftest.$ac_ext
   8792 fi
   8793 
   8794 
   8795 		CFLAGS="$xorg_testset_save_CFLAGS"
   8796 
   8797 		eval supported=\$$cacheid
   8798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8799 $as_echo "$supported" >&6; }
   8800 		if test "$supported" = "yes" ; then
   8801 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8802 			found="yes"
   8803 		fi
   8804 	fi
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 xorg_testset_save_CFLAGS="$CFLAGS"
   8821 
   8822 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8823 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8825 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8826 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8827   $as_echo_n "(cached) " >&6
   8828 else
   8829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8830 /* end confdefs.h.  */
   8831 int i;
   8832 _ACEOF
   8833 if ac_fn_c_try_compile "$LINENO"; then :
   8834   xorg_cv_cc_flag_unknown_warning_option=yes
   8835 else
   8836   xorg_cv_cc_flag_unknown_warning_option=no
   8837 fi
   8838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8839 fi
   8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8841 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8842 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8843 	CFLAGS="$xorg_testset_save_CFLAGS"
   8844 fi
   8845 
   8846 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8847 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8848 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8849 	fi
   8850 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8851 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8852 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8853 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8854   $as_echo_n "(cached) " >&6
   8855 else
   8856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8857 /* end confdefs.h.  */
   8858 int i;
   8859 _ACEOF
   8860 if ac_fn_c_try_compile "$LINENO"; then :
   8861   xorg_cv_cc_flag_unused_command_line_argument=yes
   8862 else
   8863   xorg_cv_cc_flag_unused_command_line_argument=no
   8864 fi
   8865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8866 fi
   8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8868 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8869 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8870 	CFLAGS="$xorg_testset_save_CFLAGS"
   8871 fi
   8872 
   8873 found="no"
   8874 
   8875 	if test $found = "no" ; then
   8876 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8877 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8878 		fi
   8879 
   8880 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8881 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8882 		fi
   8883 
   8884 		CFLAGS="$CFLAGS -Wnonnull"
   8885 
   8886 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8887 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8888 		cacheid=xorg_cv_cc_flag__Wnonnull
   8889 		if eval \${$cacheid+:} false; then :
   8890   $as_echo_n "(cached) " >&6
   8891 else
   8892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8893 /* end confdefs.h.  */
   8894 int i;
   8895 int
   8896 main ()
   8897 {
   8898 
   8899   ;
   8900   return 0;
   8901 }
   8902 _ACEOF
   8903 if ac_fn_c_try_link "$LINENO"; then :
   8904   eval $cacheid=yes
   8905 else
   8906   eval $cacheid=no
   8907 fi
   8908 rm -f core conftest.err conftest.$ac_objext \
   8909     conftest$ac_exeext conftest.$ac_ext
   8910 fi
   8911 
   8912 
   8913 		CFLAGS="$xorg_testset_save_CFLAGS"
   8914 
   8915 		eval supported=\$$cacheid
   8916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8917 $as_echo "$supported" >&6; }
   8918 		if test "$supported" = "yes" ; then
   8919 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8920 			found="yes"
   8921 		fi
   8922 	fi
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 xorg_testset_save_CFLAGS="$CFLAGS"
   8939 
   8940 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8941 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8943 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8944 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8945   $as_echo_n "(cached) " >&6
   8946 else
   8947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8948 /* end confdefs.h.  */
   8949 int i;
   8950 _ACEOF
   8951 if ac_fn_c_try_compile "$LINENO"; then :
   8952   xorg_cv_cc_flag_unknown_warning_option=yes
   8953 else
   8954   xorg_cv_cc_flag_unknown_warning_option=no
   8955 fi
   8956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8957 fi
   8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8959 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8960 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8961 	CFLAGS="$xorg_testset_save_CFLAGS"
   8962 fi
   8963 
   8964 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8965 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8966 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8967 	fi
   8968 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8969 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8970 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8971 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8972   $as_echo_n "(cached) " >&6
   8973 else
   8974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8975 /* end confdefs.h.  */
   8976 int i;
   8977 _ACEOF
   8978 if ac_fn_c_try_compile "$LINENO"; then :
   8979   xorg_cv_cc_flag_unused_command_line_argument=yes
   8980 else
   8981   xorg_cv_cc_flag_unused_command_line_argument=no
   8982 fi
   8983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8984 fi
   8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8986 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8987 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8988 	CFLAGS="$xorg_testset_save_CFLAGS"
   8989 fi
   8990 
   8991 found="no"
   8992 
   8993 	if test $found = "no" ; then
   8994 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8996 		fi
   8997 
   8998 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9000 		fi
   9001 
   9002 		CFLAGS="$CFLAGS -Winit-self"
   9003 
   9004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9005 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9006 		cacheid=xorg_cv_cc_flag__Winit_self
   9007 		if eval \${$cacheid+:} false; then :
   9008   $as_echo_n "(cached) " >&6
   9009 else
   9010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9011 /* end confdefs.h.  */
   9012 int i;
   9013 int
   9014 main ()
   9015 {
   9016 
   9017   ;
   9018   return 0;
   9019 }
   9020 _ACEOF
   9021 if ac_fn_c_try_link "$LINENO"; then :
   9022   eval $cacheid=yes
   9023 else
   9024   eval $cacheid=no
   9025 fi
   9026 rm -f core conftest.err conftest.$ac_objext \
   9027     conftest$ac_exeext conftest.$ac_ext
   9028 fi
   9029 
   9030 
   9031 		CFLAGS="$xorg_testset_save_CFLAGS"
   9032 
   9033 		eval supported=\$$cacheid
   9034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9035 $as_echo "$supported" >&6; }
   9036 		if test "$supported" = "yes" ; then
   9037 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9038 			found="yes"
   9039 		fi
   9040 	fi
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 xorg_testset_save_CFLAGS="$CFLAGS"
   9057 
   9058 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9059 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9061 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9062 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9063   $as_echo_n "(cached) " >&6
   9064 else
   9065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9066 /* end confdefs.h.  */
   9067 int i;
   9068 _ACEOF
   9069 if ac_fn_c_try_compile "$LINENO"; then :
   9070   xorg_cv_cc_flag_unknown_warning_option=yes
   9071 else
   9072   xorg_cv_cc_flag_unknown_warning_option=no
   9073 fi
   9074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9075 fi
   9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9077 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9078 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9079 	CFLAGS="$xorg_testset_save_CFLAGS"
   9080 fi
   9081 
   9082 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9083 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9084 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9085 	fi
   9086 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9087 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9088 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9089 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9090   $as_echo_n "(cached) " >&6
   9091 else
   9092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9093 /* end confdefs.h.  */
   9094 int i;
   9095 _ACEOF
   9096 if ac_fn_c_try_compile "$LINENO"; then :
   9097   xorg_cv_cc_flag_unused_command_line_argument=yes
   9098 else
   9099   xorg_cv_cc_flag_unused_command_line_argument=no
   9100 fi
   9101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9102 fi
   9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9104 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9105 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9106 	CFLAGS="$xorg_testset_save_CFLAGS"
   9107 fi
   9108 
   9109 found="no"
   9110 
   9111 	if test $found = "no" ; then
   9112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9114 		fi
   9115 
   9116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9118 		fi
   9119 
   9120 		CFLAGS="$CFLAGS -Wmain"
   9121 
   9122 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9123 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9124 		cacheid=xorg_cv_cc_flag__Wmain
   9125 		if eval \${$cacheid+:} false; then :
   9126   $as_echo_n "(cached) " >&6
   9127 else
   9128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9129 /* end confdefs.h.  */
   9130 int i;
   9131 int
   9132 main ()
   9133 {
   9134 
   9135   ;
   9136   return 0;
   9137 }
   9138 _ACEOF
   9139 if ac_fn_c_try_link "$LINENO"; then :
   9140   eval $cacheid=yes
   9141 else
   9142   eval $cacheid=no
   9143 fi
   9144 rm -f core conftest.err conftest.$ac_objext \
   9145     conftest$ac_exeext conftest.$ac_ext
   9146 fi
   9147 
   9148 
   9149 		CFLAGS="$xorg_testset_save_CFLAGS"
   9150 
   9151 		eval supported=\$$cacheid
   9152 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9153 $as_echo "$supported" >&6; }
   9154 		if test "$supported" = "yes" ; then
   9155 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9156 			found="yes"
   9157 		fi
   9158 	fi
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 xorg_testset_save_CFLAGS="$CFLAGS"
   9175 
   9176 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9177 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9179 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9180 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9181   $as_echo_n "(cached) " >&6
   9182 else
   9183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9184 /* end confdefs.h.  */
   9185 int i;
   9186 _ACEOF
   9187 if ac_fn_c_try_compile "$LINENO"; then :
   9188   xorg_cv_cc_flag_unknown_warning_option=yes
   9189 else
   9190   xorg_cv_cc_flag_unknown_warning_option=no
   9191 fi
   9192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9193 fi
   9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9195 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9196 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9197 	CFLAGS="$xorg_testset_save_CFLAGS"
   9198 fi
   9199 
   9200 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9201 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9202 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9203 	fi
   9204 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9206 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9207 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9208   $as_echo_n "(cached) " >&6
   9209 else
   9210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9211 /* end confdefs.h.  */
   9212 int i;
   9213 _ACEOF
   9214 if ac_fn_c_try_compile "$LINENO"; then :
   9215   xorg_cv_cc_flag_unused_command_line_argument=yes
   9216 else
   9217   xorg_cv_cc_flag_unused_command_line_argument=no
   9218 fi
   9219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9220 fi
   9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9222 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9223 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9224 	CFLAGS="$xorg_testset_save_CFLAGS"
   9225 fi
   9226 
   9227 found="no"
   9228 
   9229 	if test $found = "no" ; then
   9230 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9231 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9232 		fi
   9233 
   9234 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9235 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9236 		fi
   9237 
   9238 		CFLAGS="$CFLAGS -Wmissing-braces"
   9239 
   9240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9241 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9242 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9243 		if eval \${$cacheid+:} false; then :
   9244   $as_echo_n "(cached) " >&6
   9245 else
   9246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9247 /* end confdefs.h.  */
   9248 int i;
   9249 int
   9250 main ()
   9251 {
   9252 
   9253   ;
   9254   return 0;
   9255 }
   9256 _ACEOF
   9257 if ac_fn_c_try_link "$LINENO"; then :
   9258   eval $cacheid=yes
   9259 else
   9260   eval $cacheid=no
   9261 fi
   9262 rm -f core conftest.err conftest.$ac_objext \
   9263     conftest$ac_exeext conftest.$ac_ext
   9264 fi
   9265 
   9266 
   9267 		CFLAGS="$xorg_testset_save_CFLAGS"
   9268 
   9269 		eval supported=\$$cacheid
   9270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9271 $as_echo "$supported" >&6; }
   9272 		if test "$supported" = "yes" ; then
   9273 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9274 			found="yes"
   9275 		fi
   9276 	fi
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 xorg_testset_save_CFLAGS="$CFLAGS"
   9293 
   9294 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9295 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9297 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9298 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9299   $as_echo_n "(cached) " >&6
   9300 else
   9301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9302 /* end confdefs.h.  */
   9303 int i;
   9304 _ACEOF
   9305 if ac_fn_c_try_compile "$LINENO"; then :
   9306   xorg_cv_cc_flag_unknown_warning_option=yes
   9307 else
   9308   xorg_cv_cc_flag_unknown_warning_option=no
   9309 fi
   9310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9311 fi
   9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9313 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9314 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9315 	CFLAGS="$xorg_testset_save_CFLAGS"
   9316 fi
   9317 
   9318 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9319 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9320 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9321 	fi
   9322 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9324 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9325 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9326   $as_echo_n "(cached) " >&6
   9327 else
   9328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9329 /* end confdefs.h.  */
   9330 int i;
   9331 _ACEOF
   9332 if ac_fn_c_try_compile "$LINENO"; then :
   9333   xorg_cv_cc_flag_unused_command_line_argument=yes
   9334 else
   9335   xorg_cv_cc_flag_unused_command_line_argument=no
   9336 fi
   9337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9338 fi
   9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9340 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9341 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9342 	CFLAGS="$xorg_testset_save_CFLAGS"
   9343 fi
   9344 
   9345 found="no"
   9346 
   9347 	if test $found = "no" ; then
   9348 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9349 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9350 		fi
   9351 
   9352 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9353 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9354 		fi
   9355 
   9356 		CFLAGS="$CFLAGS -Wsequence-point"
   9357 
   9358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9359 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9360 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9361 		if eval \${$cacheid+:} false; then :
   9362   $as_echo_n "(cached) " >&6
   9363 else
   9364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9365 /* end confdefs.h.  */
   9366 int i;
   9367 int
   9368 main ()
   9369 {
   9370 
   9371   ;
   9372   return 0;
   9373 }
   9374 _ACEOF
   9375 if ac_fn_c_try_link "$LINENO"; then :
   9376   eval $cacheid=yes
   9377 else
   9378   eval $cacheid=no
   9379 fi
   9380 rm -f core conftest.err conftest.$ac_objext \
   9381     conftest$ac_exeext conftest.$ac_ext
   9382 fi
   9383 
   9384 
   9385 		CFLAGS="$xorg_testset_save_CFLAGS"
   9386 
   9387 		eval supported=\$$cacheid
   9388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9389 $as_echo "$supported" >&6; }
   9390 		if test "$supported" = "yes" ; then
   9391 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9392 			found="yes"
   9393 		fi
   9394 	fi
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 xorg_testset_save_CFLAGS="$CFLAGS"
   9411 
   9412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9415 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9416 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9417   $as_echo_n "(cached) " >&6
   9418 else
   9419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9420 /* end confdefs.h.  */
   9421 int i;
   9422 _ACEOF
   9423 if ac_fn_c_try_compile "$LINENO"; then :
   9424   xorg_cv_cc_flag_unknown_warning_option=yes
   9425 else
   9426   xorg_cv_cc_flag_unknown_warning_option=no
   9427 fi
   9428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9429 fi
   9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9431 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9433 	CFLAGS="$xorg_testset_save_CFLAGS"
   9434 fi
   9435 
   9436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9439 	fi
   9440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9442 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9443 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9444   $as_echo_n "(cached) " >&6
   9445 else
   9446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9447 /* end confdefs.h.  */
   9448 int i;
   9449 _ACEOF
   9450 if ac_fn_c_try_compile "$LINENO"; then :
   9451   xorg_cv_cc_flag_unused_command_line_argument=yes
   9452 else
   9453   xorg_cv_cc_flag_unused_command_line_argument=no
   9454 fi
   9455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9456 fi
   9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9458 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9459 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9460 	CFLAGS="$xorg_testset_save_CFLAGS"
   9461 fi
   9462 
   9463 found="no"
   9464 
   9465 	if test $found = "no" ; then
   9466 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9467 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9468 		fi
   9469 
   9470 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9471 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9472 		fi
   9473 
   9474 		CFLAGS="$CFLAGS -Wreturn-type"
   9475 
   9476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9477 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9478 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9479 		if eval \${$cacheid+:} false; then :
   9480   $as_echo_n "(cached) " >&6
   9481 else
   9482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9483 /* end confdefs.h.  */
   9484 int i;
   9485 int
   9486 main ()
   9487 {
   9488 
   9489   ;
   9490   return 0;
   9491 }
   9492 _ACEOF
   9493 if ac_fn_c_try_link "$LINENO"; then :
   9494   eval $cacheid=yes
   9495 else
   9496   eval $cacheid=no
   9497 fi
   9498 rm -f core conftest.err conftest.$ac_objext \
   9499     conftest$ac_exeext conftest.$ac_ext
   9500 fi
   9501 
   9502 
   9503 		CFLAGS="$xorg_testset_save_CFLAGS"
   9504 
   9505 		eval supported=\$$cacheid
   9506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9507 $as_echo "$supported" >&6; }
   9508 		if test "$supported" = "yes" ; then
   9509 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9510 			found="yes"
   9511 		fi
   9512 	fi
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 xorg_testset_save_CFLAGS="$CFLAGS"
   9529 
   9530 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9531 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9533 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9534 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9535   $as_echo_n "(cached) " >&6
   9536 else
   9537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9538 /* end confdefs.h.  */
   9539 int i;
   9540 _ACEOF
   9541 if ac_fn_c_try_compile "$LINENO"; then :
   9542   xorg_cv_cc_flag_unknown_warning_option=yes
   9543 else
   9544   xorg_cv_cc_flag_unknown_warning_option=no
   9545 fi
   9546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9547 fi
   9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9549 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9550 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9551 	CFLAGS="$xorg_testset_save_CFLAGS"
   9552 fi
   9553 
   9554 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9555 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9556 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9557 	fi
   9558 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9560 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9561 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9562   $as_echo_n "(cached) " >&6
   9563 else
   9564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9565 /* end confdefs.h.  */
   9566 int i;
   9567 _ACEOF
   9568 if ac_fn_c_try_compile "$LINENO"; then :
   9569   xorg_cv_cc_flag_unused_command_line_argument=yes
   9570 else
   9571   xorg_cv_cc_flag_unused_command_line_argument=no
   9572 fi
   9573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9574 fi
   9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9576 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9577 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9578 	CFLAGS="$xorg_testset_save_CFLAGS"
   9579 fi
   9580 
   9581 found="no"
   9582 
   9583 	if test $found = "no" ; then
   9584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9586 		fi
   9587 
   9588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9590 		fi
   9591 
   9592 		CFLAGS="$CFLAGS -Wtrigraphs"
   9593 
   9594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9595 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9596 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9597 		if eval \${$cacheid+:} false; then :
   9598   $as_echo_n "(cached) " >&6
   9599 else
   9600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9601 /* end confdefs.h.  */
   9602 int i;
   9603 int
   9604 main ()
   9605 {
   9606 
   9607   ;
   9608   return 0;
   9609 }
   9610 _ACEOF
   9611 if ac_fn_c_try_link "$LINENO"; then :
   9612   eval $cacheid=yes
   9613 else
   9614   eval $cacheid=no
   9615 fi
   9616 rm -f core conftest.err conftest.$ac_objext \
   9617     conftest$ac_exeext conftest.$ac_ext
   9618 fi
   9619 
   9620 
   9621 		CFLAGS="$xorg_testset_save_CFLAGS"
   9622 
   9623 		eval supported=\$$cacheid
   9624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9625 $as_echo "$supported" >&6; }
   9626 		if test "$supported" = "yes" ; then
   9627 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9628 			found="yes"
   9629 		fi
   9630 	fi
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 xorg_testset_save_CFLAGS="$CFLAGS"
   9647 
   9648 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9649 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9651 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9652 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9653   $as_echo_n "(cached) " >&6
   9654 else
   9655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9656 /* end confdefs.h.  */
   9657 int i;
   9658 _ACEOF
   9659 if ac_fn_c_try_compile "$LINENO"; then :
   9660   xorg_cv_cc_flag_unknown_warning_option=yes
   9661 else
   9662   xorg_cv_cc_flag_unknown_warning_option=no
   9663 fi
   9664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9665 fi
   9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9667 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9668 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9669 	CFLAGS="$xorg_testset_save_CFLAGS"
   9670 fi
   9671 
   9672 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9673 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9674 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9675 	fi
   9676 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9678 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9679 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9680   $as_echo_n "(cached) " >&6
   9681 else
   9682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9683 /* end confdefs.h.  */
   9684 int i;
   9685 _ACEOF
   9686 if ac_fn_c_try_compile "$LINENO"; then :
   9687   xorg_cv_cc_flag_unused_command_line_argument=yes
   9688 else
   9689   xorg_cv_cc_flag_unused_command_line_argument=no
   9690 fi
   9691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9692 fi
   9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9694 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9696 	CFLAGS="$xorg_testset_save_CFLAGS"
   9697 fi
   9698 
   9699 found="no"
   9700 
   9701 	if test $found = "no" ; then
   9702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9704 		fi
   9705 
   9706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9708 		fi
   9709 
   9710 		CFLAGS="$CFLAGS -Warray-bounds"
   9711 
   9712 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9713 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9714 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9715 		if eval \${$cacheid+:} false; then :
   9716   $as_echo_n "(cached) " >&6
   9717 else
   9718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9719 /* end confdefs.h.  */
   9720 int i;
   9721 int
   9722 main ()
   9723 {
   9724 
   9725   ;
   9726   return 0;
   9727 }
   9728 _ACEOF
   9729 if ac_fn_c_try_link "$LINENO"; then :
   9730   eval $cacheid=yes
   9731 else
   9732   eval $cacheid=no
   9733 fi
   9734 rm -f core conftest.err conftest.$ac_objext \
   9735     conftest$ac_exeext conftest.$ac_ext
   9736 fi
   9737 
   9738 
   9739 		CFLAGS="$xorg_testset_save_CFLAGS"
   9740 
   9741 		eval supported=\$$cacheid
   9742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9743 $as_echo "$supported" >&6; }
   9744 		if test "$supported" = "yes" ; then
   9745 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9746 			found="yes"
   9747 		fi
   9748 	fi
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 xorg_testset_save_CFLAGS="$CFLAGS"
   9765 
   9766 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9767 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9769 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9770 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9771   $as_echo_n "(cached) " >&6
   9772 else
   9773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9774 /* end confdefs.h.  */
   9775 int i;
   9776 _ACEOF
   9777 if ac_fn_c_try_compile "$LINENO"; then :
   9778   xorg_cv_cc_flag_unknown_warning_option=yes
   9779 else
   9780   xorg_cv_cc_flag_unknown_warning_option=no
   9781 fi
   9782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9783 fi
   9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9785 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9786 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9787 	CFLAGS="$xorg_testset_save_CFLAGS"
   9788 fi
   9789 
   9790 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9791 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9792 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9793 	fi
   9794 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9796 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9797 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9798   $as_echo_n "(cached) " >&6
   9799 else
   9800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9801 /* end confdefs.h.  */
   9802 int i;
   9803 _ACEOF
   9804 if ac_fn_c_try_compile "$LINENO"; then :
   9805   xorg_cv_cc_flag_unused_command_line_argument=yes
   9806 else
   9807   xorg_cv_cc_flag_unused_command_line_argument=no
   9808 fi
   9809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9810 fi
   9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9812 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9813 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9814 	CFLAGS="$xorg_testset_save_CFLAGS"
   9815 fi
   9816 
   9817 found="no"
   9818 
   9819 	if test $found = "no" ; then
   9820 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9821 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9822 		fi
   9823 
   9824 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9825 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9826 		fi
   9827 
   9828 		CFLAGS="$CFLAGS -Wwrite-strings"
   9829 
   9830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9831 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9832 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9833 		if eval \${$cacheid+:} false; then :
   9834   $as_echo_n "(cached) " >&6
   9835 else
   9836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9837 /* end confdefs.h.  */
   9838 int i;
   9839 int
   9840 main ()
   9841 {
   9842 
   9843   ;
   9844   return 0;
   9845 }
   9846 _ACEOF
   9847 if ac_fn_c_try_link "$LINENO"; then :
   9848   eval $cacheid=yes
   9849 else
   9850   eval $cacheid=no
   9851 fi
   9852 rm -f core conftest.err conftest.$ac_objext \
   9853     conftest$ac_exeext conftest.$ac_ext
   9854 fi
   9855 
   9856 
   9857 		CFLAGS="$xorg_testset_save_CFLAGS"
   9858 
   9859 		eval supported=\$$cacheid
   9860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9861 $as_echo "$supported" >&6; }
   9862 		if test "$supported" = "yes" ; then
   9863 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9864 			found="yes"
   9865 		fi
   9866 	fi
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 xorg_testset_save_CFLAGS="$CFLAGS"
   9883 
   9884 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9885 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9887 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9888 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9889   $as_echo_n "(cached) " >&6
   9890 else
   9891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9892 /* end confdefs.h.  */
   9893 int i;
   9894 _ACEOF
   9895 if ac_fn_c_try_compile "$LINENO"; then :
   9896   xorg_cv_cc_flag_unknown_warning_option=yes
   9897 else
   9898   xorg_cv_cc_flag_unknown_warning_option=no
   9899 fi
   9900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9901 fi
   9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9903 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9904 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9905 	CFLAGS="$xorg_testset_save_CFLAGS"
   9906 fi
   9907 
   9908 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9909 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9910 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9911 	fi
   9912 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9914 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9915 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9916   $as_echo_n "(cached) " >&6
   9917 else
   9918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9919 /* end confdefs.h.  */
   9920 int i;
   9921 _ACEOF
   9922 if ac_fn_c_try_compile "$LINENO"; then :
   9923   xorg_cv_cc_flag_unused_command_line_argument=yes
   9924 else
   9925   xorg_cv_cc_flag_unused_command_line_argument=no
   9926 fi
   9927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9928 fi
   9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9930 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9932 	CFLAGS="$xorg_testset_save_CFLAGS"
   9933 fi
   9934 
   9935 found="no"
   9936 
   9937 	if test $found = "no" ; then
   9938 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9940 		fi
   9941 
   9942 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9944 		fi
   9945 
   9946 		CFLAGS="$CFLAGS -Waddress"
   9947 
   9948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9949 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9950 		cacheid=xorg_cv_cc_flag__Waddress
   9951 		if eval \${$cacheid+:} false; then :
   9952   $as_echo_n "(cached) " >&6
   9953 else
   9954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9955 /* end confdefs.h.  */
   9956 int i;
   9957 int
   9958 main ()
   9959 {
   9960 
   9961   ;
   9962   return 0;
   9963 }
   9964 _ACEOF
   9965 if ac_fn_c_try_link "$LINENO"; then :
   9966   eval $cacheid=yes
   9967 else
   9968   eval $cacheid=no
   9969 fi
   9970 rm -f core conftest.err conftest.$ac_objext \
   9971     conftest$ac_exeext conftest.$ac_ext
   9972 fi
   9973 
   9974 
   9975 		CFLAGS="$xorg_testset_save_CFLAGS"
   9976 
   9977 		eval supported=\$$cacheid
   9978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9979 $as_echo "$supported" >&6; }
   9980 		if test "$supported" = "yes" ; then
   9981 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9982 			found="yes"
   9983 		fi
   9984 	fi
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 xorg_testset_save_CFLAGS="$CFLAGS"
   10001 
   10002 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10003 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10005 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10006 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10007   $as_echo_n "(cached) " >&6
   10008 else
   10009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10010 /* end confdefs.h.  */
   10011 int i;
   10012 _ACEOF
   10013 if ac_fn_c_try_compile "$LINENO"; then :
   10014   xorg_cv_cc_flag_unknown_warning_option=yes
   10015 else
   10016   xorg_cv_cc_flag_unknown_warning_option=no
   10017 fi
   10018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10019 fi
   10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10021 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10022 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10023 	CFLAGS="$xorg_testset_save_CFLAGS"
   10024 fi
   10025 
   10026 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10027 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10028 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10029 	fi
   10030 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10032 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10033 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10034   $as_echo_n "(cached) " >&6
   10035 else
   10036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10037 /* end confdefs.h.  */
   10038 int i;
   10039 _ACEOF
   10040 if ac_fn_c_try_compile "$LINENO"; then :
   10041   xorg_cv_cc_flag_unused_command_line_argument=yes
   10042 else
   10043   xorg_cv_cc_flag_unused_command_line_argument=no
   10044 fi
   10045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10046 fi
   10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10048 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10049 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10050 	CFLAGS="$xorg_testset_save_CFLAGS"
   10051 fi
   10052 
   10053 found="no"
   10054 
   10055 	if test $found = "no" ; then
   10056 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10057 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10058 		fi
   10059 
   10060 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10061 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10062 		fi
   10063 
   10064 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10065 
   10066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10067 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10068 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10069 		if eval \${$cacheid+:} false; then :
   10070   $as_echo_n "(cached) " >&6
   10071 else
   10072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10073 /* end confdefs.h.  */
   10074 int i;
   10075 int
   10076 main ()
   10077 {
   10078 
   10079   ;
   10080   return 0;
   10081 }
   10082 _ACEOF
   10083 if ac_fn_c_try_link "$LINENO"; then :
   10084   eval $cacheid=yes
   10085 else
   10086   eval $cacheid=no
   10087 fi
   10088 rm -f core conftest.err conftest.$ac_objext \
   10089     conftest$ac_exeext conftest.$ac_ext
   10090 fi
   10091 
   10092 
   10093 		CFLAGS="$xorg_testset_save_CFLAGS"
   10094 
   10095 		eval supported=\$$cacheid
   10096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10097 $as_echo "$supported" >&6; }
   10098 		if test "$supported" = "yes" ; then
   10099 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10100 			found="yes"
   10101 		fi
   10102 	fi
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 xorg_testset_save_CFLAGS="$CFLAGS"
   10119 
   10120 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10121 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10122 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10123 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10124 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10125   $as_echo_n "(cached) " >&6
   10126 else
   10127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10128 /* end confdefs.h.  */
   10129 int i;
   10130 _ACEOF
   10131 if ac_fn_c_try_compile "$LINENO"; then :
   10132   xorg_cv_cc_flag_unknown_warning_option=yes
   10133 else
   10134   xorg_cv_cc_flag_unknown_warning_option=no
   10135 fi
   10136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10137 fi
   10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10139 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10140 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10141 	CFLAGS="$xorg_testset_save_CFLAGS"
   10142 fi
   10143 
   10144 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10145 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10146 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10147 	fi
   10148 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10149 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10150 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10151 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10152   $as_echo_n "(cached) " >&6
   10153 else
   10154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10155 /* end confdefs.h.  */
   10156 int i;
   10157 _ACEOF
   10158 if ac_fn_c_try_compile "$LINENO"; then :
   10159   xorg_cv_cc_flag_unused_command_line_argument=yes
   10160 else
   10161   xorg_cv_cc_flag_unused_command_line_argument=no
   10162 fi
   10163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10164 fi
   10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10166 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10167 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10168 	CFLAGS="$xorg_testset_save_CFLAGS"
   10169 fi
   10170 
   10171 found="no"
   10172 
   10173 	if test $found = "no" ; then
   10174 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10175 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10176 		fi
   10177 
   10178 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10179 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10180 		fi
   10181 
   10182 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10183 
   10184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10185 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10186 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10187 		if eval \${$cacheid+:} false; then :
   10188   $as_echo_n "(cached) " >&6
   10189 else
   10190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10191 /* end confdefs.h.  */
   10192 int i;
   10193 int
   10194 main ()
   10195 {
   10196 
   10197   ;
   10198   return 0;
   10199 }
   10200 _ACEOF
   10201 if ac_fn_c_try_link "$LINENO"; then :
   10202   eval $cacheid=yes
   10203 else
   10204   eval $cacheid=no
   10205 fi
   10206 rm -f core conftest.err conftest.$ac_objext \
   10207     conftest$ac_exeext conftest.$ac_ext
   10208 fi
   10209 
   10210 
   10211 		CFLAGS="$xorg_testset_save_CFLAGS"
   10212 
   10213 		eval supported=\$$cacheid
   10214 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10215 $as_echo "$supported" >&6; }
   10216 		if test "$supported" = "yes" ; then
   10217 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10218 			found="yes"
   10219 		fi
   10220 	fi
   10221 
   10222 
   10223 fi
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 		CWARNFLAGS="$BASE_CFLAGS"
   10232 		if  test "x$GCC" = xyes ; then
   10233 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10234 		fi
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 # Check whether --enable-strict-compilation was given.
   10244 if test "${enable_strict_compilation+set}" = set; then :
   10245   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10246 else
   10247   STRICT_COMPILE=no
   10248 fi
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 STRICT_CFLAGS=""
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 xorg_testset_save_CFLAGS="$CFLAGS"
   10270 
   10271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10274 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10275 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10276   $as_echo_n "(cached) " >&6
   10277 else
   10278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10279 /* end confdefs.h.  */
   10280 int i;
   10281 _ACEOF
   10282 if ac_fn_c_try_compile "$LINENO"; then :
   10283   xorg_cv_cc_flag_unknown_warning_option=yes
   10284 else
   10285   xorg_cv_cc_flag_unknown_warning_option=no
   10286 fi
   10287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10288 fi
   10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10290 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10291 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10292 	CFLAGS="$xorg_testset_save_CFLAGS"
   10293 fi
   10294 
   10295 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10296 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10297 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10298 	fi
   10299 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10301 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10302 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10303   $as_echo_n "(cached) " >&6
   10304 else
   10305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10306 /* end confdefs.h.  */
   10307 int i;
   10308 _ACEOF
   10309 if ac_fn_c_try_compile "$LINENO"; then :
   10310   xorg_cv_cc_flag_unused_command_line_argument=yes
   10311 else
   10312   xorg_cv_cc_flag_unused_command_line_argument=no
   10313 fi
   10314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10315 fi
   10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10317 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10318 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10319 	CFLAGS="$xorg_testset_save_CFLAGS"
   10320 fi
   10321 
   10322 found="no"
   10323 
   10324 	if test $found = "no" ; then
   10325 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10326 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10327 		fi
   10328 
   10329 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10330 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10331 		fi
   10332 
   10333 		CFLAGS="$CFLAGS -pedantic"
   10334 
   10335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10336 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10337 		cacheid=xorg_cv_cc_flag__pedantic
   10338 		if eval \${$cacheid+:} false; then :
   10339   $as_echo_n "(cached) " >&6
   10340 else
   10341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10342 /* end confdefs.h.  */
   10343 int i;
   10344 int
   10345 main ()
   10346 {
   10347 
   10348   ;
   10349   return 0;
   10350 }
   10351 _ACEOF
   10352 if ac_fn_c_try_link "$LINENO"; then :
   10353   eval $cacheid=yes
   10354 else
   10355   eval $cacheid=no
   10356 fi
   10357 rm -f core conftest.err conftest.$ac_objext \
   10358     conftest$ac_exeext conftest.$ac_ext
   10359 fi
   10360 
   10361 
   10362 		CFLAGS="$xorg_testset_save_CFLAGS"
   10363 
   10364 		eval supported=\$$cacheid
   10365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10366 $as_echo "$supported" >&6; }
   10367 		if test "$supported" = "yes" ; then
   10368 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10369 			found="yes"
   10370 		fi
   10371 	fi
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 xorg_testset_save_CFLAGS="$CFLAGS"
   10388 
   10389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10391 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10392 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10393 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10394   $as_echo_n "(cached) " >&6
   10395 else
   10396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10397 /* end confdefs.h.  */
   10398 int i;
   10399 _ACEOF
   10400 if ac_fn_c_try_compile "$LINENO"; then :
   10401   xorg_cv_cc_flag_unknown_warning_option=yes
   10402 else
   10403   xorg_cv_cc_flag_unknown_warning_option=no
   10404 fi
   10405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10406 fi
   10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10408 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10410 	CFLAGS="$xorg_testset_save_CFLAGS"
   10411 fi
   10412 
   10413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10416 	fi
   10417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10419 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10420 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10421   $as_echo_n "(cached) " >&6
   10422 else
   10423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10424 /* end confdefs.h.  */
   10425 int i;
   10426 _ACEOF
   10427 if ac_fn_c_try_compile "$LINENO"; then :
   10428   xorg_cv_cc_flag_unused_command_line_argument=yes
   10429 else
   10430   xorg_cv_cc_flag_unused_command_line_argument=no
   10431 fi
   10432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10433 fi
   10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10435 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10436 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10437 	CFLAGS="$xorg_testset_save_CFLAGS"
   10438 fi
   10439 
   10440 found="no"
   10441 
   10442 	if test $found = "no" ; then
   10443 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10444 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10445 		fi
   10446 
   10447 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10448 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10449 		fi
   10450 
   10451 		CFLAGS="$CFLAGS -Werror"
   10452 
   10453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10454 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10455 		cacheid=xorg_cv_cc_flag__Werror
   10456 		if eval \${$cacheid+:} false; then :
   10457   $as_echo_n "(cached) " >&6
   10458 else
   10459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10460 /* end confdefs.h.  */
   10461 int i;
   10462 int
   10463 main ()
   10464 {
   10465 
   10466   ;
   10467   return 0;
   10468 }
   10469 _ACEOF
   10470 if ac_fn_c_try_link "$LINENO"; then :
   10471   eval $cacheid=yes
   10472 else
   10473   eval $cacheid=no
   10474 fi
   10475 rm -f core conftest.err conftest.$ac_objext \
   10476     conftest$ac_exeext conftest.$ac_ext
   10477 fi
   10478 
   10479 
   10480 		CFLAGS="$xorg_testset_save_CFLAGS"
   10481 
   10482 		eval supported=\$$cacheid
   10483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10484 $as_echo "$supported" >&6; }
   10485 		if test "$supported" = "yes" ; then
   10486 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10487 			found="yes"
   10488 		fi
   10489 	fi
   10490 
   10491 	if test $found = "no" ; then
   10492 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10493 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10494 		fi
   10495 
   10496 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10497 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10498 		fi
   10499 
   10500 		CFLAGS="$CFLAGS -errwarn"
   10501 
   10502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10503 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10504 		cacheid=xorg_cv_cc_flag__errwarn
   10505 		if eval \${$cacheid+:} false; then :
   10506   $as_echo_n "(cached) " >&6
   10507 else
   10508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10509 /* end confdefs.h.  */
   10510 int i;
   10511 int
   10512 main ()
   10513 {
   10514 
   10515   ;
   10516   return 0;
   10517 }
   10518 _ACEOF
   10519 if ac_fn_c_try_link "$LINENO"; then :
   10520   eval $cacheid=yes
   10521 else
   10522   eval $cacheid=no
   10523 fi
   10524 rm -f core conftest.err conftest.$ac_objext \
   10525     conftest$ac_exeext conftest.$ac_ext
   10526 fi
   10527 
   10528 
   10529 		CFLAGS="$xorg_testset_save_CFLAGS"
   10530 
   10531 		eval supported=\$$cacheid
   10532 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10533 $as_echo "$supported" >&6; }
   10534 		if test "$supported" = "yes" ; then
   10535 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10536 			found="yes"
   10537 		fi
   10538 	fi
   10539 
   10540 
   10541 
   10542 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10543 # activate it with -Werror, so we add it here explicitly.
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 xorg_testset_save_CFLAGS="$CFLAGS"
   10558 
   10559 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10560 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10562 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10563 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10564   $as_echo_n "(cached) " >&6
   10565 else
   10566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10567 /* end confdefs.h.  */
   10568 int i;
   10569 _ACEOF
   10570 if ac_fn_c_try_compile "$LINENO"; then :
   10571   xorg_cv_cc_flag_unknown_warning_option=yes
   10572 else
   10573   xorg_cv_cc_flag_unknown_warning_option=no
   10574 fi
   10575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10576 fi
   10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10578 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10579 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10580 	CFLAGS="$xorg_testset_save_CFLAGS"
   10581 fi
   10582 
   10583 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10584 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10585 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10586 	fi
   10587 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10588 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10589 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10590 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10591   $as_echo_n "(cached) " >&6
   10592 else
   10593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10594 /* end confdefs.h.  */
   10595 int i;
   10596 _ACEOF
   10597 if ac_fn_c_try_compile "$LINENO"; then :
   10598   xorg_cv_cc_flag_unused_command_line_argument=yes
   10599 else
   10600   xorg_cv_cc_flag_unused_command_line_argument=no
   10601 fi
   10602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10603 fi
   10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10605 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10606 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10607 	CFLAGS="$xorg_testset_save_CFLAGS"
   10608 fi
   10609 
   10610 found="no"
   10611 
   10612 	if test $found = "no" ; then
   10613 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10614 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10615 		fi
   10616 
   10617 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10618 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10619 		fi
   10620 
   10621 		CFLAGS="$CFLAGS -Werror=attributes"
   10622 
   10623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10624 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10625 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10626 		if eval \${$cacheid+:} false; then :
   10627   $as_echo_n "(cached) " >&6
   10628 else
   10629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10630 /* end confdefs.h.  */
   10631 int i;
   10632 int
   10633 main ()
   10634 {
   10635 
   10636   ;
   10637   return 0;
   10638 }
   10639 _ACEOF
   10640 if ac_fn_c_try_link "$LINENO"; then :
   10641   eval $cacheid=yes
   10642 else
   10643   eval $cacheid=no
   10644 fi
   10645 rm -f core conftest.err conftest.$ac_objext \
   10646     conftest$ac_exeext conftest.$ac_ext
   10647 fi
   10648 
   10649 
   10650 		CFLAGS="$xorg_testset_save_CFLAGS"
   10651 
   10652 		eval supported=\$$cacheid
   10653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10654 $as_echo "$supported" >&6; }
   10655 		if test "$supported" = "yes" ; then
   10656 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10657 			found="yes"
   10658 		fi
   10659 	fi
   10660 
   10661 
   10662 
   10663 if test "x$STRICT_COMPILE" = "xyes"; then
   10664     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10665     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10666 fi
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 cat >>confdefs.h <<_ACEOF
   10674 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10675 _ACEOF
   10676 
   10677 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10678 	if test "x$PVM" = "x"; then
   10679 		PVM="0"
   10680 	fi
   10681 
   10682 cat >>confdefs.h <<_ACEOF
   10683 #define PACKAGE_VERSION_MINOR $PVM
   10684 _ACEOF
   10685 
   10686 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10687 	if test "x$PVP" = "x"; then
   10688 		PVP="0"
   10689 	fi
   10690 
   10691 cat >>confdefs.h <<_ACEOF
   10692 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10693 _ACEOF
   10694 
   10695 
   10696 
   10697 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10698 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10699 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10700 touch \$(top_srcdir)/ChangeLog; \
   10701 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10702 
   10703 
   10704 
   10705 
   10706 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10707 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10708 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10709 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10710 touch \$(top_srcdir)/INSTALL; \
   10711 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 case $host_os in
   10719     solaris*)
   10720         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10721         # check for a man page file found in later versions that use
   10722         # traditional section numbers instead
   10723         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10724 $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10725 if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
   10726   $as_echo_n "(cached) " >&6
   10727 else
   10728   test "$cross_compiling" = yes &&
   10729   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10730 if test -r "/usr/share/man/man7/attributes.7"; then
   10731   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10732 else
   10733   ac_cv_file__usr_share_man_man7_attributes_7=no
   10734 fi
   10735 fi
   10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10737 $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10738 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
   10739   SYSV_MAN_SECTIONS=false
   10740 else
   10741   SYSV_MAN_SECTIONS=true
   10742 fi
   10743 
   10744         ;;
   10745     *) SYSV_MAN_SECTIONS=false ;;
   10746 esac
   10747 
   10748 if test x$APP_MAN_SUFFIX = x    ; then
   10749     APP_MAN_SUFFIX=1
   10750 fi
   10751 if test x$APP_MAN_DIR = x    ; then
   10752     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10753 fi
   10754 
   10755 if test x$LIB_MAN_SUFFIX = x    ; then
   10756     LIB_MAN_SUFFIX=3
   10757 fi
   10758 if test x$LIB_MAN_DIR = x    ; then
   10759     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10760 fi
   10761 
   10762 if test x$FILE_MAN_SUFFIX = x    ; then
   10763     case $SYSV_MAN_SECTIONS in
   10764 	true)				FILE_MAN_SUFFIX=4  ;;
   10765 	*)				FILE_MAN_SUFFIX=5  ;;
   10766     esac
   10767 fi
   10768 if test x$FILE_MAN_DIR = x    ; then
   10769     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10770 fi
   10771 
   10772 if test x$MISC_MAN_SUFFIX = x    ; then
   10773     case $SYSV_MAN_SECTIONS in
   10774 	true)				MISC_MAN_SUFFIX=5  ;;
   10775 	*)				MISC_MAN_SUFFIX=7  ;;
   10776     esac
   10777 fi
   10778 if test x$MISC_MAN_DIR = x    ; then
   10779     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10780 fi
   10781 
   10782 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10783     case $SYSV_MAN_SECTIONS in
   10784 	true)				DRIVER_MAN_SUFFIX=7  ;;
   10785 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10786     esac
   10787 fi
   10788 if test x$DRIVER_MAN_DIR = x    ; then
   10789     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10790 fi
   10791 
   10792 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10793     case $SYSV_MAN_SECTIONS in
   10794 	true)				ADMIN_MAN_SUFFIX=1m ;;
   10795 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10796     esac
   10797 fi
   10798 if test x$ADMIN_MAN_DIR = x    ; then
   10799     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10800 fi
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 XORG_MAN_PAGE="X Version 11"
   10817 
   10818 MAN_SUBSTS="\
   10819 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10820 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10821 	-e 's|__xservername__|Xorg|g' \
   10822 	-e 's|__xconfigfile__|xorg.conf|g' \
   10823 	-e 's|__projectroot__|\$(prefix)|g' \
   10824 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10825 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10826 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10827 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10828 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10829 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10830 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10831 
   10832 
   10833 
   10834 # Check whether --enable-silent-rules was given.
   10835 if test "${enable_silent_rules+set}" = set; then :
   10836   enableval=$enable_silent_rules;
   10837 fi
   10838 
   10839 case $enable_silent_rules in # (((
   10840   yes) AM_DEFAULT_VERBOSITY=0;;
   10841    no) AM_DEFAULT_VERBOSITY=1;;
   10842     *) AM_DEFAULT_VERBOSITY=0;;
   10843 esac
   10844 am_make=${MAKE-make}
   10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10846 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10847 if ${am_cv_make_support_nested_variables+:} false; then :
   10848   $as_echo_n "(cached) " >&6
   10849 else
   10850   if $as_echo 'TRUE=$(BAR$(V))
   10851 BAR0=false
   10852 BAR1=true
   10853 V=1
   10854 am__doit:
   10855 	@$(TRUE)
   10856 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10857   am_cv_make_support_nested_variables=yes
   10858 else
   10859   am_cv_make_support_nested_variables=no
   10860 fi
   10861 fi
   10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10863 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10864 if test $am_cv_make_support_nested_variables = yes; then
   10865     AM_V='$(V)'
   10866   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10867 else
   10868   AM_V=$AM_DEFAULT_VERBOSITY
   10869   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10870 fi
   10871 AM_BACKSLASH='\'
   10872 
   10873 
   10874 
   10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
   10876 $as_echo_n "checking for gzopen in -lz... " >&6; }
   10877 if ${ac_cv_lib_z_gzopen+:} false; then :
   10878   $as_echo_n "(cached) " >&6
   10879 else
   10880   ac_check_lib_save_LIBS=$LIBS
   10881 LIBS="-lz  $LIBS"
   10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10883 /* end confdefs.h.  */
   10884 
   10885 /* Override any GCC internal prototype to avoid an error.
   10886    Use char because int might match the return type of a GCC
   10887    builtin and then its argument prototype would still apply.  */
   10888 #ifdef __cplusplus
   10889 extern "C"
   10890 #endif
   10891 char gzopen ();
   10892 int
   10893 main ()
   10894 {
   10895 return gzopen ();
   10896   ;
   10897   return 0;
   10898 }
   10899 _ACEOF
   10900 if ac_fn_c_try_link "$LINENO"; then :
   10901   ac_cv_lib_z_gzopen=yes
   10902 else
   10903   ac_cv_lib_z_gzopen=no
   10904 fi
   10905 rm -f core conftest.err conftest.$ac_objext \
   10906     conftest$ac_exeext conftest.$ac_ext
   10907 LIBS=$ac_check_lib_save_LIBS
   10908 fi
   10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
   10910 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
   10911 if test "x$ac_cv_lib_z_gzopen" = xyes; then :
   10912   cat >>confdefs.h <<_ACEOF
   10913 #define HAVE_LIBZ 1
   10914 _ACEOF
   10915 
   10916   LIBS="-lz $LIBS"
   10917 
   10918 else
   10919   as_fn_error $? "zlib is required, but was not found." "$LINENO" 5
   10920 fi
   10921 
   10922 
   10923 
   10924 # Check whether --with-bzip2 was given.
   10925 if test "${with_bzip2+set}" = set; then :
   10926   withval=$with_bzip2;
   10927 else
   10928   with_bzip2=no
   10929 fi
   10930 
   10931 if test "x$with_bzip2" = xyes; then
   10932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzopen in -lbz2" >&5
   10933 $as_echo_n "checking for BZ2_bzopen in -lbz2... " >&6; }
   10934 if ${ac_cv_lib_bz2_BZ2_bzopen+:} false; then :
   10935   $as_echo_n "(cached) " >&6
   10936 else
   10937   ac_check_lib_save_LIBS=$LIBS
   10938 LIBS="-lbz2  $LIBS"
   10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10940 /* end confdefs.h.  */
   10941 
   10942 /* Override any GCC internal prototype to avoid an error.
   10943    Use char because int might match the return type of a GCC
   10944    builtin and then its argument prototype would still apply.  */
   10945 #ifdef __cplusplus
   10946 extern "C"
   10947 #endif
   10948 char BZ2_bzopen ();
   10949 int
   10950 main ()
   10951 {
   10952 return BZ2_bzopen ();
   10953   ;
   10954   return 0;
   10955 }
   10956 _ACEOF
   10957 if ac_fn_c_try_link "$LINENO"; then :
   10958   ac_cv_lib_bz2_BZ2_bzopen=yes
   10959 else
   10960   ac_cv_lib_bz2_BZ2_bzopen=no
   10961 fi
   10962 rm -f core conftest.err conftest.$ac_objext \
   10963     conftest$ac_exeext conftest.$ac_ext
   10964 LIBS=$ac_check_lib_save_LIBS
   10965 fi
   10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
   10967 $as_echo "$ac_cv_lib_bz2_BZ2_bzopen" >&6; }
   10968 if test "x$ac_cv_lib_bz2_BZ2_bzopen" = xyes; then :
   10969   cat >>confdefs.h <<_ACEOF
   10970 #define HAVE_LIBBZ2 1
   10971 _ACEOF
   10972 
   10973   LIBS="-lbz2 $LIBS"
   10974 
   10975 else
   10976   as_fn_error $? "*** libbz2 is required for bzip2 support" "$LINENO" 5
   10977 fi
   10978 
   10979 
   10980 $as_echo "#define X_BZIP2_FONT_COMPRESSION 1" >>confdefs.h
   10981 
   10982 fi
   10983 
   10984 # Checks for system functions / libraries
   10985 for ac_func in vasprintf
   10986 do :
   10987   ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
   10988 if test "x$ac_cv_func_vasprintf" = xyes; then :
   10989   cat >>confdefs.h <<_ACEOF
   10990 #define HAVE_VASPRINTF 1
   10991 _ACEOF
   10992 
   10993 fi
   10994 done
   10995 
   10996 
   10997 # Checks for pkg-config packages
   10998 
   10999 pkg_failed=no
   11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MKFONTSCALE" >&5
   11001 $as_echo_n "checking for MKFONTSCALE... " >&6; }
   11002 
   11003 if test -n "$MKFONTSCALE_CFLAGS"; then
   11004     pkg_cv_MKFONTSCALE_CFLAGS="$MKFONTSCALE_CFLAGS"
   11005  elif test -n "$PKG_CONFIG"; then
   11006     if test -n "$PKG_CONFIG" && \
   11007     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontenc freetype2\""; } >&5
   11008   ($PKG_CONFIG --exists --print-errors "fontenc freetype2") 2>&5
   11009   ac_status=$?
   11010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11011   test $ac_status = 0; }; then
   11012   pkg_cv_MKFONTSCALE_CFLAGS=`$PKG_CONFIG --cflags "fontenc freetype2" 2>/dev/null`
   11013 		      test "x$?" != "x0" && pkg_failed=yes
   11014 else
   11015   pkg_failed=yes
   11016 fi
   11017  else
   11018     pkg_failed=untried
   11019 fi
   11020 if test -n "$MKFONTSCALE_LIBS"; then
   11021     pkg_cv_MKFONTSCALE_LIBS="$MKFONTSCALE_LIBS"
   11022  elif test -n "$PKG_CONFIG"; then
   11023     if test -n "$PKG_CONFIG" && \
   11024     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontenc freetype2\""; } >&5
   11025   ($PKG_CONFIG --exists --print-errors "fontenc freetype2") 2>&5
   11026   ac_status=$?
   11027   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11028   test $ac_status = 0; }; then
   11029   pkg_cv_MKFONTSCALE_LIBS=`$PKG_CONFIG --libs "fontenc freetype2" 2>/dev/null`
   11030 		      test "x$?" != "x0" && pkg_failed=yes
   11031 else
   11032   pkg_failed=yes
   11033 fi
   11034  else
   11035     pkg_failed=untried
   11036 fi
   11037 
   11038 
   11039 
   11040 if test $pkg_failed = yes; then
   11041    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11042 $as_echo "no" >&6; }
   11043 
   11044 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11045         _pkg_short_errors_supported=yes
   11046 else
   11047         _pkg_short_errors_supported=no
   11048 fi
   11049         if test $_pkg_short_errors_supported = yes; then
   11050 	        MKFONTSCALE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontenc freetype2" 2>&1`
   11051         else
   11052 	        MKFONTSCALE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontenc freetype2" 2>&1`
   11053         fi
   11054 	# Put the nasty error message in config.log where it belongs
   11055 	echo "$MKFONTSCALE_PKG_ERRORS" >&5
   11056 
   11057 	as_fn_error $? "Package requirements (fontenc freetype2) were not met:
   11058 
   11059 $MKFONTSCALE_PKG_ERRORS
   11060 
   11061 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11062 installed software in a non-standard prefix.
   11063 
   11064 Alternatively, you may set the environment variables MKFONTSCALE_CFLAGS
   11065 and MKFONTSCALE_LIBS to avoid the need to call pkg-config.
   11066 See the pkg-config man page for more details." "$LINENO" 5
   11067 elif test $pkg_failed = untried; then
   11068      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11069 $as_echo "no" >&6; }
   11070 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11072 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11073 is in your PATH or set the PKG_CONFIG environment variable to the full
   11074 path to pkg-config.
   11075 
   11076 Alternatively, you may set the environment variables MKFONTSCALE_CFLAGS
   11077 and MKFONTSCALE_LIBS to avoid the need to call pkg-config.
   11078 See the pkg-config man page for more details.
   11079 
   11080 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11081 See \`config.log' for more details" "$LINENO" 5; }
   11082 else
   11083 	MKFONTSCALE_CFLAGS=$pkg_cv_MKFONTSCALE_CFLAGS
   11084 	MKFONTSCALE_LIBS=$pkg_cv_MKFONTSCALE_LIBS
   11085         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11086 $as_echo "yes" >&6; }
   11087 
   11088 fi
   11089 
   11090 pkg_failed=no
   11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   11092 $as_echo_n "checking for X11... " >&6; }
   11093 
   11094 if test -n "$X11_CFLAGS"; then
   11095     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
   11096  elif test -n "$PKG_CONFIG"; then
   11097     if test -n "$PKG_CONFIG" && \
   11098     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
   11099   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
   11100   ac_status=$?
   11101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11102   test $ac_status = 0; }; then
   11103   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.25" 2>/dev/null`
   11104 		      test "x$?" != "x0" && pkg_failed=yes
   11105 else
   11106   pkg_failed=yes
   11107 fi
   11108  else
   11109     pkg_failed=untried
   11110 fi
   11111 if test -n "$X11_LIBS"; then
   11112     pkg_cv_X11_LIBS="$X11_LIBS"
   11113  elif test -n "$PKG_CONFIG"; then
   11114     if test -n "$PKG_CONFIG" && \
   11115     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
   11116   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
   11117   ac_status=$?
   11118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11119   test $ac_status = 0; }; then
   11120   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.25" 2>/dev/null`
   11121 		      test "x$?" != "x0" && pkg_failed=yes
   11122 else
   11123   pkg_failed=yes
   11124 fi
   11125  else
   11126     pkg_failed=untried
   11127 fi
   11128 
   11129 
   11130 
   11131 if test $pkg_failed = yes; then
   11132    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11133 $as_echo "no" >&6; }
   11134 
   11135 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11136         _pkg_short_errors_supported=yes
   11137 else
   11138         _pkg_short_errors_supported=no
   11139 fi
   11140         if test $_pkg_short_errors_supported = yes; then
   11141 	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.25" 2>&1`
   11142         else
   11143 	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.25" 2>&1`
   11144         fi
   11145 	# Put the nasty error message in config.log where it belongs
   11146 	echo "$X11_PKG_ERRORS" >&5
   11147 
   11148 	as_fn_error $? "Package requirements (xproto >= 7.0.25) were not met:
   11149 
   11150 $X11_PKG_ERRORS
   11151 
   11152 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11153 installed software in a non-standard prefix.
   11154 
   11155 Alternatively, you may set the environment variables X11_CFLAGS
   11156 and X11_LIBS to avoid the need to call pkg-config.
   11157 See the pkg-config man page for more details." "$LINENO" 5
   11158 elif test $pkg_failed = untried; then
   11159      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11160 $as_echo "no" >&6; }
   11161 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11163 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11164 is in your PATH or set the PKG_CONFIG environment variable to the full
   11165 path to pkg-config.
   11166 
   11167 Alternatively, you may set the environment variables X11_CFLAGS
   11168 and X11_LIBS to avoid the need to call pkg-config.
   11169 See the pkg-config man page for more details.
   11170 
   11171 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11172 See \`config.log' for more details" "$LINENO" 5; }
   11173 else
   11174 	X11_CFLAGS=$pkg_cv_X11_CFLAGS
   11175 	X11_LIBS=$pkg_cv_X11_LIBS
   11176         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11177 $as_echo "yes" >&6; }
   11178 
   11179 fi
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 # Check whether --with-lint was given.
   11187 if test "${with_lint+set}" = set; then :
   11188   withval=$with_lint; use_lint=$withval
   11189 else
   11190   use_lint=no
   11191 fi
   11192 
   11193 
   11194 # Obtain platform specific info like program name and options
   11195 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   11196 case $host_os in
   11197   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   11198 	lint_name=splint
   11199 	lint_options="-badflag"
   11200 	;;
   11201   *freebsd* | *netbsd*)
   11202 	lint_name=lint
   11203 	lint_options="-u -b"
   11204 	;;
   11205   *solaris*)
   11206 	lint_name=lint
   11207 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   11208 	;;
   11209 esac
   11210 
   11211 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   11212 if test "x$use_lint" = x"yes" ; then
   11213    # Extract the first word of "$lint_name", so it can be a program name with args.
   11214 set dummy $lint_name; ac_word=$2
   11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11216 $as_echo_n "checking for $ac_word... " >&6; }
   11217 if ${ac_cv_path_LINT+:} false; then :
   11218   $as_echo_n "(cached) " >&6
   11219 else
   11220   case $LINT in
   11221   [\\/]* | ?:[\\/]*)
   11222   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   11223   ;;
   11224   *)
   11225   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11226 for as_dir in $PATH
   11227 do
   11228   IFS=$as_save_IFS
   11229   test -z "$as_dir" && as_dir=.
   11230     for ac_exec_ext in '' $ac_executable_extensions; do
   11231   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11232     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   11233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11234     break 2
   11235   fi
   11236 done
   11237   done
   11238 IFS=$as_save_IFS
   11239 
   11240   ;;
   11241 esac
   11242 fi
   11243 LINT=$ac_cv_path_LINT
   11244 if test -n "$LINT"; then
   11245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   11246 $as_echo "$LINT" >&6; }
   11247 else
   11248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11249 $as_echo "no" >&6; }
   11250 fi
   11251 
   11252 
   11253    if test "x$LINT" = "x"; then
   11254         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   11255    fi
   11256 elif test "x$use_lint" = x"no" ; then
   11257    if test "x$LINT" != "x"; then
   11258       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   11259 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   11260    fi
   11261 else
   11262    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   11263 fi
   11264 
   11265 # User supplied flags override default flags
   11266 if test "x$LINT_FLAGS" != "x"; then
   11267    lint_options=$LINT_FLAGS
   11268 fi
   11269 
   11270 LINT_FLAGS=$lint_options
   11271 
   11272  if test "x$LINT" != x; then
   11273   LINT_TRUE=
   11274   LINT_FALSE='#'
   11275 else
   11276   LINT_TRUE='#'
   11277   LINT_FALSE=
   11278 fi
   11279 
   11280 
   11281 
   11282 
   11283 ac_config_files="$ac_config_files Makefile man/Makefile"
   11284 
   11285 cat >confcache <<\_ACEOF
   11286 # This file is a shell script that caches the results of configure
   11287 # tests run on this system so they can be shared between configure
   11288 # scripts and configure runs, see configure's option --config-cache.
   11289 # It is not useful on other systems.  If it contains results you don't
   11290 # want to keep, you may remove or edit it.
   11291 #
   11292 # config.status only pays attention to the cache file if you give it
   11293 # the --recheck option to rerun configure.
   11294 #
   11295 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11296 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11297 # following values.
   11298 
   11299 _ACEOF
   11300 
   11301 # The following way of writing the cache mishandles newlines in values,
   11302 # but we know of no workaround that is simple, portable, and efficient.
   11303 # So, we kill variables containing newlines.
   11304 # Ultrix sh set writes to stderr and can't be redirected directly,
   11305 # and sets the high bit in the cache file unless we assign to the vars.
   11306 (
   11307   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11308     eval ac_val=\$$ac_var
   11309     case $ac_val in #(
   11310     *${as_nl}*)
   11311       case $ac_var in #(
   11312       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11313 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11314       esac
   11315       case $ac_var in #(
   11316       _ | IFS | as_nl) ;; #(
   11317       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11318       *) { eval $ac_var=; unset $ac_var;} ;;
   11319       esac ;;
   11320     esac
   11321   done
   11322 
   11323   (set) 2>&1 |
   11324     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11325     *${as_nl}ac_space=\ *)
   11326       # `set' does not quote correctly, so add quotes: double-quote
   11327       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11328       sed -n \
   11329 	"s/'/'\\\\''/g;
   11330 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11331       ;; #(
   11332     *)
   11333       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11334       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11335       ;;
   11336     esac |
   11337     sort
   11338 ) |
   11339   sed '
   11340      /^ac_cv_env_/b end
   11341      t clear
   11342      :clear
   11343      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11344      t end
   11345      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11346      :end' >>confcache
   11347 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11348   if test -w "$cache_file"; then
   11349     if test "x$cache_file" != "x/dev/null"; then
   11350       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11351 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11352       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11353 	cat confcache >"$cache_file"
   11354       else
   11355         case $cache_file in #(
   11356         */* | ?:*)
   11357 	  mv -f confcache "$cache_file"$$ &&
   11358 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11359         *)
   11360 	  mv -f confcache "$cache_file" ;;
   11361 	esac
   11362       fi
   11363     fi
   11364   else
   11365     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11366 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11367   fi
   11368 fi
   11369 rm -f confcache
   11370 
   11371 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11372 # Let make expand exec_prefix.
   11373 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11374 
   11375 DEFS=-DHAVE_CONFIG_H
   11376 
   11377 ac_libobjs=
   11378 ac_ltlibobjs=
   11379 U=
   11380 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11381   # 1. Remove the extension, and $U if already installed.
   11382   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11383   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11384   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11385   #    will be set to the directory where LIBOBJS objects are built.
   11386   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11387   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11388 done
   11389 LIBOBJS=$ac_libobjs
   11390 
   11391 LTLIBOBJS=$ac_ltlibobjs
   11392 
   11393 
   11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11395 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11396    if test -n "$am_sleep_pid"; then
   11397      # Hide warnings about reused PIDs.
   11398      wait $am_sleep_pid 2>/dev/null
   11399    fi
   11400    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11401 $as_echo "done" >&6; }
   11402 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11403   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11405 fi
   11406 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11407   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11409 fi
   11410  if test -n "$EXEEXT"; then
   11411   am__EXEEXT_TRUE=
   11412   am__EXEEXT_FALSE='#'
   11413 else
   11414   am__EXEEXT_TRUE='#'
   11415   am__EXEEXT_FALSE=
   11416 fi
   11417 
   11418 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11419   as_fn_error $? "conditional \"LINT\" was never defined.
   11420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11421 fi
   11422 
   11423 : "${CONFIG_STATUS=./config.status}"
   11424 ac_write_fail=0
   11425 ac_clean_files_save=$ac_clean_files
   11426 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11427 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11428 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11429 as_write_fail=0
   11430 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11431 #! $SHELL
   11432 # Generated by $as_me.
   11433 # Run this file to recreate the current configuration.
   11434 # Compiler output produced by configure, useful for debugging
   11435 # configure, is in config.log if it exists.
   11436 
   11437 debug=false
   11438 ac_cs_recheck=false
   11439 ac_cs_silent=false
   11440 
   11441 SHELL=\${CONFIG_SHELL-$SHELL}
   11442 export SHELL
   11443 _ASEOF
   11444 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11445 ## -------------------- ##
   11446 ## M4sh Initialization. ##
   11447 ## -------------------- ##
   11448 
   11449 # Be more Bourne compatible
   11450 DUALCASE=1; export DUALCASE # for MKS sh
   11451 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11452   emulate sh
   11453   NULLCMD=:
   11454   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11455   # is contrary to our usage.  Disable this feature.
   11456   alias -g '${1+"$@"}'='"$@"'
   11457   setopt NO_GLOB_SUBST
   11458 else
   11459   case `(set -o) 2>/dev/null` in #(
   11460   *posix*) :
   11461     set -o posix ;; #(
   11462   *) :
   11463      ;;
   11464 esac
   11465 fi
   11466 
   11467 
   11468 as_nl='
   11469 '
   11470 export as_nl
   11471 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11472 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11473 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11474 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11475 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11476 # but without wasting forks for bash or zsh.
   11477 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11478     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11479   as_echo='print -r --'
   11480   as_echo_n='print -rn --'
   11481 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11482   as_echo='printf %s\n'
   11483   as_echo_n='printf %s'
   11484 else
   11485   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11486     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11487     as_echo_n='/usr/ucb/echo -n'
   11488   else
   11489     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11490     as_echo_n_body='eval
   11491       arg=$1;
   11492       case $arg in #(
   11493       *"$as_nl"*)
   11494 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11495 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11496       esac;
   11497       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11498     '
   11499     export as_echo_n_body
   11500     as_echo_n='sh -c $as_echo_n_body as_echo'
   11501   fi
   11502   export as_echo_body
   11503   as_echo='sh -c $as_echo_body as_echo'
   11504 fi
   11505 
   11506 # The user is always right.
   11507 if test "${PATH_SEPARATOR+set}" != set; then
   11508   PATH_SEPARATOR=:
   11509   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11510     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11511       PATH_SEPARATOR=';'
   11512   }
   11513 fi
   11514 
   11515 
   11516 # IFS
   11517 # We need space, tab and new line, in precisely that order.  Quoting is
   11518 # there to prevent editors from complaining about space-tab.
   11519 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11520 # splitting by setting IFS to empty value.)
   11521 IFS=" ""	$as_nl"
   11522 
   11523 # Find who we are.  Look in the path if we contain no directory separator.
   11524 as_myself=
   11525 case $0 in #((
   11526   *[\\/]* ) as_myself=$0 ;;
   11527   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11528 for as_dir in $PATH
   11529 do
   11530   IFS=$as_save_IFS
   11531   test -z "$as_dir" && as_dir=.
   11532     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11533   done
   11534 IFS=$as_save_IFS
   11535 
   11536      ;;
   11537 esac
   11538 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11539 # in which case we are not to be found in the path.
   11540 if test "x$as_myself" = x; then
   11541   as_myself=$0
   11542 fi
   11543 if test ! -f "$as_myself"; then
   11544   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11545   exit 1
   11546 fi
   11547 
   11548 # Unset variables that we do not need and which cause bugs (e.g. in
   11549 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11550 # suppresses any "Segmentation fault" message there.  '((' could
   11551 # trigger a bug in pdksh 5.2.14.
   11552 for as_var in BASH_ENV ENV MAIL MAILPATH
   11553 do eval test x\${$as_var+set} = xset \
   11554   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11555 done
   11556 PS1='$ '
   11557 PS2='> '
   11558 PS4='+ '
   11559 
   11560 # NLS nuisances.
   11561 LC_ALL=C
   11562 export LC_ALL
   11563 LANGUAGE=C
   11564 export LANGUAGE
   11565 
   11566 # CDPATH.
   11567 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11568 
   11569 
   11570 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11571 # ----------------------------------------
   11572 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11573 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11574 # script with STATUS, using 1 if that was 0.
   11575 as_fn_error ()
   11576 {
   11577   as_status=$1; test $as_status -eq 0 && as_status=1
   11578   if test "$4"; then
   11579     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11580     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11581   fi
   11582   $as_echo "$as_me: error: $2" >&2
   11583   as_fn_exit $as_status
   11584 } # as_fn_error
   11585 
   11586 
   11587 # as_fn_set_status STATUS
   11588 # -----------------------
   11589 # Set $? to STATUS, without forking.
   11590 as_fn_set_status ()
   11591 {
   11592   return $1
   11593 } # as_fn_set_status
   11594 
   11595 # as_fn_exit STATUS
   11596 # -----------------
   11597 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11598 as_fn_exit ()
   11599 {
   11600   set +e
   11601   as_fn_set_status $1
   11602   exit $1
   11603 } # as_fn_exit
   11604 
   11605 # as_fn_unset VAR
   11606 # ---------------
   11607 # Portably unset VAR.
   11608 as_fn_unset ()
   11609 {
   11610   { eval $1=; unset $1;}
   11611 }
   11612 as_unset=as_fn_unset
   11613 # as_fn_append VAR VALUE
   11614 # ----------------------
   11615 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11616 # advantage of any shell optimizations that allow amortized linear growth over
   11617 # repeated appends, instead of the typical quadratic growth present in naive
   11618 # implementations.
   11619 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11620   eval 'as_fn_append ()
   11621   {
   11622     eval $1+=\$2
   11623   }'
   11624 else
   11625   as_fn_append ()
   11626   {
   11627     eval $1=\$$1\$2
   11628   }
   11629 fi # as_fn_append
   11630 
   11631 # as_fn_arith ARG...
   11632 # ------------------
   11633 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11634 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11635 # must be portable across $(()) and expr.
   11636 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11637   eval 'as_fn_arith ()
   11638   {
   11639     as_val=$(( $* ))
   11640   }'
   11641 else
   11642   as_fn_arith ()
   11643   {
   11644     as_val=`expr "$@" || test $? -eq 1`
   11645   }
   11646 fi # as_fn_arith
   11647 
   11648 
   11649 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11650    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11651   as_expr=expr
   11652 else
   11653   as_expr=false
   11654 fi
   11655 
   11656 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11657   as_basename=basename
   11658 else
   11659   as_basename=false
   11660 fi
   11661 
   11662 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11663   as_dirname=dirname
   11664 else
   11665   as_dirname=false
   11666 fi
   11667 
   11668 as_me=`$as_basename -- "$0" ||
   11669 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11670 	 X"$0" : 'X\(//\)$' \| \
   11671 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11672 $as_echo X/"$0" |
   11673     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11674 	    s//\1/
   11675 	    q
   11676 	  }
   11677 	  /^X\/\(\/\/\)$/{
   11678 	    s//\1/
   11679 	    q
   11680 	  }
   11681 	  /^X\/\(\/\).*/{
   11682 	    s//\1/
   11683 	    q
   11684 	  }
   11685 	  s/.*/./; q'`
   11686 
   11687 # Avoid depending upon Character Ranges.
   11688 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11689 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11690 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11691 as_cr_digits='0123456789'
   11692 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11693 
   11694 ECHO_C= ECHO_N= ECHO_T=
   11695 case `echo -n x` in #(((((
   11696 -n*)
   11697   case `echo 'xy\c'` in
   11698   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11699   xy)  ECHO_C='\c';;
   11700   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11701        ECHO_T='	';;
   11702   esac;;
   11703 *)
   11704   ECHO_N='-n';;
   11705 esac
   11706 
   11707 rm -f conf$$ conf$$.exe conf$$.file
   11708 if test -d conf$$.dir; then
   11709   rm -f conf$$.dir/conf$$.file
   11710 else
   11711   rm -f conf$$.dir
   11712   mkdir conf$$.dir 2>/dev/null
   11713 fi
   11714 if (echo >conf$$.file) 2>/dev/null; then
   11715   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11716     as_ln_s='ln -s'
   11717     # ... but there are two gotchas:
   11718     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11719     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11720     # In both cases, we have to default to `cp -pR'.
   11721     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11722       as_ln_s='cp -pR'
   11723   elif ln conf$$.file conf$$ 2>/dev/null; then
   11724     as_ln_s=ln
   11725   else
   11726     as_ln_s='cp -pR'
   11727   fi
   11728 else
   11729   as_ln_s='cp -pR'
   11730 fi
   11731 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11732 rmdir conf$$.dir 2>/dev/null
   11733 
   11734 
   11735 # as_fn_mkdir_p
   11736 # -------------
   11737 # Create "$as_dir" as a directory, including parents if necessary.
   11738 as_fn_mkdir_p ()
   11739 {
   11740 
   11741   case $as_dir in #(
   11742   -*) as_dir=./$as_dir;;
   11743   esac
   11744   test -d "$as_dir" || eval $as_mkdir_p || {
   11745     as_dirs=
   11746     while :; do
   11747       case $as_dir in #(
   11748       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11749       *) as_qdir=$as_dir;;
   11750       esac
   11751       as_dirs="'$as_qdir' $as_dirs"
   11752       as_dir=`$as_dirname -- "$as_dir" ||
   11753 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11754 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11755 	 X"$as_dir" : 'X\(//\)$' \| \
   11756 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11757 $as_echo X"$as_dir" |
   11758     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11759 	    s//\1/
   11760 	    q
   11761 	  }
   11762 	  /^X\(\/\/\)[^/].*/{
   11763 	    s//\1/
   11764 	    q
   11765 	  }
   11766 	  /^X\(\/\/\)$/{
   11767 	    s//\1/
   11768 	    q
   11769 	  }
   11770 	  /^X\(\/\).*/{
   11771 	    s//\1/
   11772 	    q
   11773 	  }
   11774 	  s/.*/./; q'`
   11775       test -d "$as_dir" && break
   11776     done
   11777     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11778   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11779 
   11780 
   11781 } # as_fn_mkdir_p
   11782 if mkdir -p . 2>/dev/null; then
   11783   as_mkdir_p='mkdir -p "$as_dir"'
   11784 else
   11785   test -d ./-p && rmdir ./-p
   11786   as_mkdir_p=false
   11787 fi
   11788 
   11789 
   11790 # as_fn_executable_p FILE
   11791 # -----------------------
   11792 # Test if FILE is an executable regular file.
   11793 as_fn_executable_p ()
   11794 {
   11795   test -f "$1" && test -x "$1"
   11796 } # as_fn_executable_p
   11797 as_test_x='test -x'
   11798 as_executable_p=as_fn_executable_p
   11799 
   11800 # Sed expression to map a string onto a valid CPP name.
   11801 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11802 
   11803 # Sed expression to map a string onto a valid variable name.
   11804 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11805 
   11806 
   11807 exec 6>&1
   11808 ## ----------------------------------- ##
   11809 ## Main body of $CONFIG_STATUS script. ##
   11810 ## ----------------------------------- ##
   11811 _ASEOF
   11812 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11813 
   11814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11815 # Save the log message, to keep $0 and so on meaningful, and to
   11816 # report actual input values of CONFIG_FILES etc. instead of their
   11817 # values after options handling.
   11818 ac_log="
   11819 This file was extended by mkfontscale $as_me 1.2.1, which was
   11820 generated by GNU Autoconf 2.69.  Invocation command line was
   11821 
   11822   CONFIG_FILES    = $CONFIG_FILES
   11823   CONFIG_HEADERS  = $CONFIG_HEADERS
   11824   CONFIG_LINKS    = $CONFIG_LINKS
   11825   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11826   $ $0 $@
   11827 
   11828 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11829 "
   11830 
   11831 _ACEOF
   11832 
   11833 case $ac_config_files in *"
   11834 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11835 esac
   11836 
   11837 case $ac_config_headers in *"
   11838 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11839 esac
   11840 
   11841 
   11842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11843 # Files that config.status was made for.
   11844 config_files="$ac_config_files"
   11845 config_headers="$ac_config_headers"
   11846 config_commands="$ac_config_commands"
   11847 
   11848 _ACEOF
   11849 
   11850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11851 ac_cs_usage="\
   11852 \`$as_me' instantiates files and other configuration actions
   11853 from templates according to the current configuration.  Unless the files
   11854 and actions are specified as TAGs, all are instantiated by default.
   11855 
   11856 Usage: $0 [OPTION]... [TAG]...
   11857 
   11858   -h, --help       print this help, then exit
   11859   -V, --version    print version number and configuration settings, then exit
   11860       --config     print configuration, then exit
   11861   -q, --quiet, --silent
   11862                    do not print progress messages
   11863   -d, --debug      don't remove temporary files
   11864       --recheck    update $as_me by reconfiguring in the same conditions
   11865       --file=FILE[:TEMPLATE]
   11866                    instantiate the configuration file FILE
   11867       --header=FILE[:TEMPLATE]
   11868                    instantiate the configuration header FILE
   11869 
   11870 Configuration files:
   11871 $config_files
   11872 
   11873 Configuration headers:
   11874 $config_headers
   11875 
   11876 Configuration commands:
   11877 $config_commands
   11878 
   11879 Report bugs to <https://gitlab.freedesktop.org/xorg/app/mkfontscale/issues>."
   11880 
   11881 _ACEOF
   11882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11883 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11884 ac_cs_version="\\
   11885 mkfontscale config.status 1.2.1
   11886 configured by $0, generated by GNU Autoconf 2.69,
   11887   with options \\"\$ac_cs_config\\"
   11888 
   11889 Copyright (C) 2012 Free Software Foundation, Inc.
   11890 This config.status script is free software; the Free Software Foundation
   11891 gives unlimited permission to copy, distribute and modify it."
   11892 
   11893 ac_pwd='$ac_pwd'
   11894 srcdir='$srcdir'
   11895 INSTALL='$INSTALL'
   11896 MKDIR_P='$MKDIR_P'
   11897 AWK='$AWK'
   11898 test -n "\$AWK" || AWK=awk
   11899 _ACEOF
   11900 
   11901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11902 # The default lists apply if the user does not specify any file.
   11903 ac_need_defaults=:
   11904 while test $# != 0
   11905 do
   11906   case $1 in
   11907   --*=?*)
   11908     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11909     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11910     ac_shift=:
   11911     ;;
   11912   --*=)
   11913     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11914     ac_optarg=
   11915     ac_shift=:
   11916     ;;
   11917   *)
   11918     ac_option=$1
   11919     ac_optarg=$2
   11920     ac_shift=shift
   11921     ;;
   11922   esac
   11923 
   11924   case $ac_option in
   11925   # Handling of the options.
   11926   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11927     ac_cs_recheck=: ;;
   11928   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11929     $as_echo "$ac_cs_version"; exit ;;
   11930   --config | --confi | --conf | --con | --co | --c )
   11931     $as_echo "$ac_cs_config"; exit ;;
   11932   --debug | --debu | --deb | --de | --d | -d )
   11933     debug=: ;;
   11934   --file | --fil | --fi | --f )
   11935     $ac_shift
   11936     case $ac_optarg in
   11937     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11938     '') as_fn_error $? "missing file argument" ;;
   11939     esac
   11940     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11941     ac_need_defaults=false;;
   11942   --header | --heade | --head | --hea )
   11943     $ac_shift
   11944     case $ac_optarg in
   11945     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11946     esac
   11947     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11948     ac_need_defaults=false;;
   11949   --he | --h)
   11950     # Conflict between --help and --header
   11951     as_fn_error $? "ambiguous option: \`$1'
   11952 Try \`$0 --help' for more information.";;
   11953   --help | --hel | -h )
   11954     $as_echo "$ac_cs_usage"; exit ;;
   11955   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11956   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11957     ac_cs_silent=: ;;
   11958 
   11959   # This is an error.
   11960   -*) as_fn_error $? "unrecognized option: \`$1'
   11961 Try \`$0 --help' for more information." ;;
   11962 
   11963   *) as_fn_append ac_config_targets " $1"
   11964      ac_need_defaults=false ;;
   11965 
   11966   esac
   11967   shift
   11968 done
   11969 
   11970 ac_configure_extra_args=
   11971 
   11972 if $ac_cs_silent; then
   11973   exec 6>/dev/null
   11974   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11975 fi
   11976 
   11977 _ACEOF
   11978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11979 if \$ac_cs_recheck; then
   11980   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11981   shift
   11982   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11983   CONFIG_SHELL='$SHELL'
   11984   export CONFIG_SHELL
   11985   exec "\$@"
   11986 fi
   11987 
   11988 _ACEOF
   11989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11990 exec 5>>config.log
   11991 {
   11992   echo
   11993   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11994 ## Running $as_me. ##
   11995 _ASBOX
   11996   $as_echo "$ac_log"
   11997 } >&5
   11998 
   11999 _ACEOF
   12000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12001 #
   12002 # INIT-COMMANDS
   12003 #
   12004 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12005 
   12006 _ACEOF
   12007 
   12008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12009 
   12010 # Handling of arguments.
   12011 for ac_config_target in $ac_config_targets
   12012 do
   12013   case $ac_config_target in
   12014     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12015     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12016     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12017     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12018 
   12019   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12020   esac
   12021 done
   12022 
   12023 
   12024 # If the user did not use the arguments to specify the items to instantiate,
   12025 # then the envvar interface is used.  Set only those that are not.
   12026 # We use the long form for the default assignment because of an extremely
   12027 # bizarre bug on SunOS 4.1.3.
   12028 if $ac_need_defaults; then
   12029   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12030   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12031   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12032 fi
   12033 
   12034 # Have a temporary directory for convenience.  Make it in the build tree
   12035 # simply because there is no reason against having it here, and in addition,
   12036 # creating and moving files from /tmp can sometimes cause problems.
   12037 # Hook for its removal unless debugging.
   12038 # Note that there is a small window in which the directory will not be cleaned:
   12039 # after its creation but before its name has been assigned to `$tmp'.
   12040 $debug ||
   12041 {
   12042   tmp= ac_tmp=
   12043   trap 'exit_status=$?
   12044   : "${ac_tmp:=$tmp}"
   12045   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12046 ' 0
   12047   trap 'as_fn_exit 1' 1 2 13 15
   12048 }
   12049 # Create a (secure) tmp directory for tmp files.
   12050 
   12051 {
   12052   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12053   test -d "$tmp"
   12054 }  ||
   12055 {
   12056   tmp=./conf$$-$RANDOM
   12057   (umask 077 && mkdir "$tmp")
   12058 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12059 ac_tmp=$tmp
   12060 
   12061 # Set up the scripts for CONFIG_FILES section.
   12062 # No need to generate them if there are no CONFIG_FILES.
   12063 # This happens for instance with `./config.status config.h'.
   12064 if test -n "$CONFIG_FILES"; then
   12065 
   12066 
   12067 ac_cr=`echo X | tr X '\015'`
   12068 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12069 # But we know of no other shell where ac_cr would be empty at this
   12070 # point, so we can use a bashism as a fallback.
   12071 if test "x$ac_cr" = x; then
   12072   eval ac_cr=\$\'\\r\'
   12073 fi
   12074 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12075 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12076   ac_cs_awk_cr='\\r'
   12077 else
   12078   ac_cs_awk_cr=$ac_cr
   12079 fi
   12080 
   12081 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12082 _ACEOF
   12083 
   12084 
   12085 {
   12086   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12087   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12088   echo "_ACEOF"
   12089 } >conf$$subs.sh ||
   12090   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12091 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12092 ac_delim='%!_!# '
   12093 for ac_last_try in false false false false false :; do
   12094   . ./conf$$subs.sh ||
   12095     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12096 
   12097   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12098   if test $ac_delim_n = $ac_delim_num; then
   12099     break
   12100   elif $ac_last_try; then
   12101     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12102   else
   12103     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12104   fi
   12105 done
   12106 rm -f conf$$subs.sh
   12107 
   12108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12109 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12110 _ACEOF
   12111 sed -n '
   12112 h
   12113 s/^/S["/; s/!.*/"]=/
   12114 p
   12115 g
   12116 s/^[^!]*!//
   12117 :repl
   12118 t repl
   12119 s/'"$ac_delim"'$//
   12120 t delim
   12121 :nl
   12122 h
   12123 s/\(.\{148\}\)..*/\1/
   12124 t more1
   12125 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12126 p
   12127 n
   12128 b repl
   12129 :more1
   12130 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12131 p
   12132 g
   12133 s/.\{148\}//
   12134 t nl
   12135 :delim
   12136 h
   12137 s/\(.\{148\}\)..*/\1/
   12138 t more2
   12139 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12140 p
   12141 b
   12142 :more2
   12143 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12144 p
   12145 g
   12146 s/.\{148\}//
   12147 t delim
   12148 ' <conf$$subs.awk | sed '
   12149 /^[^""]/{
   12150   N
   12151   s/\n//
   12152 }
   12153 ' >>$CONFIG_STATUS || ac_write_fail=1
   12154 rm -f conf$$subs.awk
   12155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12156 _ACAWK
   12157 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12158   for (key in S) S_is_set[key] = 1
   12159   FS = ""
   12160 
   12161 }
   12162 {
   12163   line = $ 0
   12164   nfields = split(line, field, "@")
   12165   substed = 0
   12166   len = length(field[1])
   12167   for (i = 2; i < nfields; i++) {
   12168     key = field[i]
   12169     keylen = length(key)
   12170     if (S_is_set[key]) {
   12171       value = S[key]
   12172       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12173       len += length(value) + length(field[++i])
   12174       substed = 1
   12175     } else
   12176       len += 1 + keylen
   12177   }
   12178 
   12179   print line
   12180 }
   12181 
   12182 _ACAWK
   12183 _ACEOF
   12184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12185 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12186   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12187 else
   12188   cat
   12189 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12190   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12191 _ACEOF
   12192 
   12193 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12194 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12195 # trailing colons and then remove the whole line if VPATH becomes empty
   12196 # (actually we leave an empty line to preserve line numbers).
   12197 if test "x$srcdir" = x.; then
   12198   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12199 h
   12200 s///
   12201 s/^/:/
   12202 s/[	 ]*$/:/
   12203 s/:\$(srcdir):/:/g
   12204 s/:\${srcdir}:/:/g
   12205 s/:@srcdir@:/:/g
   12206 s/^:*//
   12207 s/:*$//
   12208 x
   12209 s/\(=[	 ]*\).*/\1/
   12210 G
   12211 s/\n//
   12212 s/^[^=]*=[	 ]*$//
   12213 }'
   12214 fi
   12215 
   12216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12217 fi # test -n "$CONFIG_FILES"
   12218 
   12219 # Set up the scripts for CONFIG_HEADERS section.
   12220 # No need to generate them if there are no CONFIG_HEADERS.
   12221 # This happens for instance with `./config.status Makefile'.
   12222 if test -n "$CONFIG_HEADERS"; then
   12223 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12224 BEGIN {
   12225 _ACEOF
   12226 
   12227 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12228 # here-document in config.status, that substitutes the proper values into
   12229 # config.h.in to produce config.h.
   12230 
   12231 # Create a delimiter string that does not exist in confdefs.h, to ease
   12232 # handling of long lines.
   12233 ac_delim='%!_!# '
   12234 for ac_last_try in false false :; do
   12235   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12236   if test -z "$ac_tt"; then
   12237     break
   12238   elif $ac_last_try; then
   12239     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12240   else
   12241     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12242   fi
   12243 done
   12244 
   12245 # For the awk script, D is an array of macro values keyed by name,
   12246 # likewise P contains macro parameters if any.  Preserve backslash
   12247 # newline sequences.
   12248 
   12249 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12250 sed -n '
   12251 s/.\{148\}/&'"$ac_delim"'/g
   12252 t rset
   12253 :rset
   12254 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12255 t def
   12256 d
   12257 :def
   12258 s/\\$//
   12259 t bsnl
   12260 s/["\\]/\\&/g
   12261 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12262 D["\1"]=" \3"/p
   12263 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12264 d
   12265 :bsnl
   12266 s/["\\]/\\&/g
   12267 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12268 D["\1"]=" \3\\\\\\n"\\/p
   12269 t cont
   12270 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12271 t cont
   12272 d
   12273 :cont
   12274 n
   12275 s/.\{148\}/&'"$ac_delim"'/g
   12276 t clear
   12277 :clear
   12278 s/\\$//
   12279 t bsnlc
   12280 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12281 d
   12282 :bsnlc
   12283 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12284 b cont
   12285 ' <confdefs.h | sed '
   12286 s/'"$ac_delim"'/"\\\
   12287 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12288 
   12289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12290   for (key in D) D_is_set[key] = 1
   12291   FS = ""
   12292 }
   12293 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12294   line = \$ 0
   12295   split(line, arg, " ")
   12296   if (arg[1] == "#") {
   12297     defundef = arg[2]
   12298     mac1 = arg[3]
   12299   } else {
   12300     defundef = substr(arg[1], 2)
   12301     mac1 = arg[2]
   12302   }
   12303   split(mac1, mac2, "(") #)
   12304   macro = mac2[1]
   12305   prefix = substr(line, 1, index(line, defundef) - 1)
   12306   if (D_is_set[macro]) {
   12307     # Preserve the white space surrounding the "#".
   12308     print prefix "define", macro P[macro] D[macro]
   12309     next
   12310   } else {
   12311     # Replace #undef with comments.  This is necessary, for example,
   12312     # in the case of _POSIX_SOURCE, which is predefined and required
   12313     # on some systems where configure will not decide to define it.
   12314     if (defundef == "undef") {
   12315       print "/*", prefix defundef, macro, "*/"
   12316       next
   12317     }
   12318   }
   12319 }
   12320 { print }
   12321 _ACAWK
   12322 _ACEOF
   12323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12324   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12325 fi # test -n "$CONFIG_HEADERS"
   12326 
   12327 
   12328 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12329 shift
   12330 for ac_tag
   12331 do
   12332   case $ac_tag in
   12333   :[FHLC]) ac_mode=$ac_tag; continue;;
   12334   esac
   12335   case $ac_mode$ac_tag in
   12336   :[FHL]*:*);;
   12337   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12338   :[FH]-) ac_tag=-:-;;
   12339   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12340   esac
   12341   ac_save_IFS=$IFS
   12342   IFS=:
   12343   set x $ac_tag
   12344   IFS=$ac_save_IFS
   12345   shift
   12346   ac_file=$1
   12347   shift
   12348 
   12349   case $ac_mode in
   12350   :L) ac_source=$1;;
   12351   :[FH])
   12352     ac_file_inputs=
   12353     for ac_f
   12354     do
   12355       case $ac_f in
   12356       -) ac_f="$ac_tmp/stdin";;
   12357       *) # Look for the file first in the build tree, then in the source tree
   12358 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12359 	 # because $ac_f cannot contain `:'.
   12360 	 test -f "$ac_f" ||
   12361 	   case $ac_f in
   12362 	   [\\/$]*) false;;
   12363 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12364 	   esac ||
   12365 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12366       esac
   12367       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12368       as_fn_append ac_file_inputs " '$ac_f'"
   12369     done
   12370 
   12371     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12372     # use $as_me), people would be surprised to read:
   12373     #    /* config.h.  Generated by config.status.  */
   12374     configure_input='Generated from '`
   12375 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12376 	`' by configure.'
   12377     if test x"$ac_file" != x-; then
   12378       configure_input="$ac_file.  $configure_input"
   12379       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12380 $as_echo "$as_me: creating $ac_file" >&6;}
   12381     fi
   12382     # Neutralize special characters interpreted by sed in replacement strings.
   12383     case $configure_input in #(
   12384     *\&* | *\|* | *\\* )
   12385        ac_sed_conf_input=`$as_echo "$configure_input" |
   12386        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12387     *) ac_sed_conf_input=$configure_input;;
   12388     esac
   12389 
   12390     case $ac_tag in
   12391     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12392       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12393     esac
   12394     ;;
   12395   esac
   12396 
   12397   ac_dir=`$as_dirname -- "$ac_file" ||
   12398 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12399 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12400 	 X"$ac_file" : 'X\(//\)$' \| \
   12401 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12402 $as_echo X"$ac_file" |
   12403     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12404 	    s//\1/
   12405 	    q
   12406 	  }
   12407 	  /^X\(\/\/\)[^/].*/{
   12408 	    s//\1/
   12409 	    q
   12410 	  }
   12411 	  /^X\(\/\/\)$/{
   12412 	    s//\1/
   12413 	    q
   12414 	  }
   12415 	  /^X\(\/\).*/{
   12416 	    s//\1/
   12417 	    q
   12418 	  }
   12419 	  s/.*/./; q'`
   12420   as_dir="$ac_dir"; as_fn_mkdir_p
   12421   ac_builddir=.
   12422 
   12423 case "$ac_dir" in
   12424 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12425 *)
   12426   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12427   # A ".." for each directory in $ac_dir_suffix.
   12428   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12429   case $ac_top_builddir_sub in
   12430   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12431   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12432   esac ;;
   12433 esac
   12434 ac_abs_top_builddir=$ac_pwd
   12435 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12436 # for backward compatibility:
   12437 ac_top_builddir=$ac_top_build_prefix
   12438 
   12439 case $srcdir in
   12440   .)  # We are building in place.
   12441     ac_srcdir=.
   12442     ac_top_srcdir=$ac_top_builddir_sub
   12443     ac_abs_top_srcdir=$ac_pwd ;;
   12444   [\\/]* | ?:[\\/]* )  # Absolute name.
   12445     ac_srcdir=$srcdir$ac_dir_suffix;
   12446     ac_top_srcdir=$srcdir
   12447     ac_abs_top_srcdir=$srcdir ;;
   12448   *) # Relative name.
   12449     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12450     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12451     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12452 esac
   12453 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12454 
   12455 
   12456   case $ac_mode in
   12457   :F)
   12458   #
   12459   # CONFIG_FILE
   12460   #
   12461 
   12462   case $INSTALL in
   12463   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12464   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12465   esac
   12466   ac_MKDIR_P=$MKDIR_P
   12467   case $MKDIR_P in
   12468   [\\/$]* | ?:[\\/]* ) ;;
   12469   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12470   esac
   12471 _ACEOF
   12472 
   12473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12474 # If the template does not know about datarootdir, expand it.
   12475 # FIXME: This hack should be removed a few years after 2.60.
   12476 ac_datarootdir_hack=; ac_datarootdir_seen=
   12477 ac_sed_dataroot='
   12478 /datarootdir/ {
   12479   p
   12480   q
   12481 }
   12482 /@datadir@/p
   12483 /@docdir@/p
   12484 /@infodir@/p
   12485 /@localedir@/p
   12486 /@mandir@/p'
   12487 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12488 *datarootdir*) ac_datarootdir_seen=yes;;
   12489 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12490   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12491 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12492 _ACEOF
   12493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12494   ac_datarootdir_hack='
   12495   s&@datadir@&$datadir&g
   12496   s&@docdir@&$docdir&g
   12497   s&@infodir@&$infodir&g
   12498   s&@localedir@&$localedir&g
   12499   s&@mandir@&$mandir&g
   12500   s&\\\${datarootdir}&$datarootdir&g' ;;
   12501 esac
   12502 _ACEOF
   12503 
   12504 # Neutralize VPATH when `$srcdir' = `.'.
   12505 # Shell code in configure.ac might set extrasub.
   12506 # FIXME: do we really want to maintain this feature?
   12507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12508 ac_sed_extra="$ac_vpsub
   12509 $extrasub
   12510 _ACEOF
   12511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12512 :t
   12513 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12514 s|@configure_input@|$ac_sed_conf_input|;t t
   12515 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12516 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12517 s&@srcdir@&$ac_srcdir&;t t
   12518 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12519 s&@top_srcdir@&$ac_top_srcdir&;t t
   12520 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12521 s&@builddir@&$ac_builddir&;t t
   12522 s&@abs_builddir@&$ac_abs_builddir&;t t
   12523 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12524 s&@INSTALL@&$ac_INSTALL&;t t
   12525 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12526 $ac_datarootdir_hack
   12527 "
   12528 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12529   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12530 
   12531 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12532   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12533   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12534       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12535   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12536 which seems to be undefined.  Please make sure it is defined" >&5
   12537 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12538 which seems to be undefined.  Please make sure it is defined" >&2;}
   12539 
   12540   rm -f "$ac_tmp/stdin"
   12541   case $ac_file in
   12542   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12543   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12544   esac \
   12545   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12546  ;;
   12547   :H)
   12548   #
   12549   # CONFIG_HEADER
   12550   #
   12551   if test x"$ac_file" != x-; then
   12552     {
   12553       $as_echo "/* $configure_input  */" \
   12554       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12555     } >"$ac_tmp/config.h" \
   12556       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12557     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12558       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12559 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12560     else
   12561       rm -f "$ac_file"
   12562       mv "$ac_tmp/config.h" "$ac_file" \
   12563 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12564     fi
   12565   else
   12566     $as_echo "/* $configure_input  */" \
   12567       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12568       || as_fn_error $? "could not create -" "$LINENO" 5
   12569   fi
   12570 # Compute "$ac_file"'s index in $config_headers.
   12571 _am_arg="$ac_file"
   12572 _am_stamp_count=1
   12573 for _am_header in $config_headers :; do
   12574   case $_am_header in
   12575     $_am_arg | $_am_arg:* )
   12576       break ;;
   12577     * )
   12578       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12579   esac
   12580 done
   12581 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12582 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12583 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12584 	 X"$_am_arg" : 'X\(//\)$' \| \
   12585 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12586 $as_echo X"$_am_arg" |
   12587     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12588 	    s//\1/
   12589 	    q
   12590 	  }
   12591 	  /^X\(\/\/\)[^/].*/{
   12592 	    s//\1/
   12593 	    q
   12594 	  }
   12595 	  /^X\(\/\/\)$/{
   12596 	    s//\1/
   12597 	    q
   12598 	  }
   12599 	  /^X\(\/\).*/{
   12600 	    s//\1/
   12601 	    q
   12602 	  }
   12603 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12604  ;;
   12605 
   12606   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12607 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12608  ;;
   12609   esac
   12610 
   12611 
   12612   case $ac_file$ac_mode in
   12613     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12614   # Older Autoconf quotes --file arguments for eval, but not when files
   12615   # are listed without --file.  Let's play safe and only enable the eval
   12616   # if we detect the quoting.
   12617   case $CONFIG_FILES in
   12618   *\'*) eval set x "$CONFIG_FILES" ;;
   12619   *)   set x $CONFIG_FILES ;;
   12620   esac
   12621   shift
   12622   for mf
   12623   do
   12624     # Strip MF so we end up with the name of the file.
   12625     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12626     # Check whether this is an Automake generated Makefile or not.
   12627     # We used to match only the files named 'Makefile.in', but
   12628     # some people rename them; so instead we look at the file content.
   12629     # Grep'ing the first line is not enough: some people post-process
   12630     # each Makefile.in and add a new line on top of each file to say so.
   12631     # Grep'ing the whole file is not good either: AIX grep has a line
   12632     # limit of 2048, but all sed's we know have understand at least 4000.
   12633     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12634       dirpart=`$as_dirname -- "$mf" ||
   12635 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12636 	 X"$mf" : 'X\(//\)[^/]' \| \
   12637 	 X"$mf" : 'X\(//\)$' \| \
   12638 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12639 $as_echo X"$mf" |
   12640     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12641 	    s//\1/
   12642 	    q
   12643 	  }
   12644 	  /^X\(\/\/\)[^/].*/{
   12645 	    s//\1/
   12646 	    q
   12647 	  }
   12648 	  /^X\(\/\/\)$/{
   12649 	    s//\1/
   12650 	    q
   12651 	  }
   12652 	  /^X\(\/\).*/{
   12653 	    s//\1/
   12654 	    q
   12655 	  }
   12656 	  s/.*/./; q'`
   12657     else
   12658       continue
   12659     fi
   12660     # Extract the definition of DEPDIR, am__include, and am__quote
   12661     # from the Makefile without running 'make'.
   12662     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12663     test -z "$DEPDIR" && continue
   12664     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12665     test -z "$am__include" && continue
   12666     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12667     # Find all dependency output files, they are included files with
   12668     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12669     # simplest approach to changing $(DEPDIR) to its actual value in the
   12670     # expansion.
   12671     for file in `sed -n "
   12672       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12673 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12674       # Make sure the directory exists.
   12675       test -f "$dirpart/$file" && continue
   12676       fdir=`$as_dirname -- "$file" ||
   12677 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12678 	 X"$file" : 'X\(//\)[^/]' \| \
   12679 	 X"$file" : 'X\(//\)$' \| \
   12680 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12681 $as_echo X"$file" |
   12682     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12683 	    s//\1/
   12684 	    q
   12685 	  }
   12686 	  /^X\(\/\/\)[^/].*/{
   12687 	    s//\1/
   12688 	    q
   12689 	  }
   12690 	  /^X\(\/\/\)$/{
   12691 	    s//\1/
   12692 	    q
   12693 	  }
   12694 	  /^X\(\/\).*/{
   12695 	    s//\1/
   12696 	    q
   12697 	  }
   12698 	  s/.*/./; q'`
   12699       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12700       # echo "creating $dirpart/$file"
   12701       echo '# dummy' > "$dirpart/$file"
   12702     done
   12703   done
   12704 }
   12705  ;;
   12706 
   12707   esac
   12708 done # for ac_tag
   12709 
   12710 
   12711 as_fn_exit 0
   12712 _ACEOF
   12713 ac_clean_files=$ac_clean_files_save
   12714 
   12715 test $ac_write_fail = 0 ||
   12716   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12717 
   12718 
   12719 # configure is writing to config.log, and then calls config.status.
   12720 # config.status does its own redirection, appending to config.log.
   12721 # Unfortunately, on DOS this fails, as config.log is still kept open
   12722 # by configure, so config.status won't be able to write to it; its
   12723 # output is simply discarded.  So we exec the FD to /dev/null,
   12724 # effectively closing config.log, so it can be properly (re)opened and
   12725 # appended to by config.status.  When coming back to configure, we
   12726 # need to make the FD available again.
   12727 if test "$no_create" != yes; then
   12728   ac_cs_success=:
   12729   ac_config_status_args=
   12730   test "$silent" = yes &&
   12731     ac_config_status_args="$ac_config_status_args --quiet"
   12732   exec 5>/dev/null
   12733   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12734   exec 5>>config.log
   12735   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12736   # would make configure fail if this is the last instruction.
   12737   $ac_cs_success || as_fn_exit 1
   12738 fi
   12739 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12740   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12741 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12742 fi
   12743 
   12744