Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xlsfonts 1.0.6.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='xlsfonts'
    583 PACKAGE_TARNAME='xlsfonts'
    584 PACKAGE_VERSION='1.0.6'
    585 PACKAGE_STRING='xlsfonts 1.0.6'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 XLSFONTS_LIBS
    631 XLSFONTS_CFLAGS
    632 MAN_SUBSTS
    633 XORG_MAN_PAGE
    634 ADMIN_MAN_DIR
    635 DRIVER_MAN_DIR
    636 MISC_MAN_DIR
    637 FILE_MAN_DIR
    638 LIB_MAN_DIR
    639 APP_MAN_DIR
    640 ADMIN_MAN_SUFFIX
    641 DRIVER_MAN_SUFFIX
    642 MISC_MAN_SUFFIX
    643 FILE_MAN_SUFFIX
    644 LIB_MAN_SUFFIX
    645 APP_MAN_SUFFIX
    646 SED
    647 host_os
    648 host_vendor
    649 host_cpu
    650 host
    651 build_os
    652 build_vendor
    653 build_cpu
    654 build
    655 INSTALL_CMD
    656 PKG_CONFIG_LIBDIR
    657 PKG_CONFIG_PATH
    658 PKG_CONFIG
    659 CHANGELOG_CMD
    660 STRICT_CFLAGS
    661 CWARNFLAGS
    662 BASE_CFLAGS
    663 EGREP
    664 GREP
    665 CPP
    666 am__fastdepCC_FALSE
    667 am__fastdepCC_TRUE
    668 CCDEPMODE
    669 am__nodep
    670 AMDEPBACKSLASH
    671 AMDEP_FALSE
    672 AMDEP_TRUE
    673 am__quote
    674 am__include
    675 DEPDIR
    676 OBJEXT
    677 EXEEXT
    678 ac_ct_CC
    679 CPPFLAGS
    680 LDFLAGS
    681 CFLAGS
    682 CC
    683 AM_BACKSLASH
    684 AM_DEFAULT_VERBOSITY
    685 AM_DEFAULT_V
    686 AM_V
    687 am__untar
    688 am__tar
    689 AMTAR
    690 am__leading_dot
    691 SET_MAKE
    692 AWK
    693 mkdir_p
    694 MKDIR_P
    695 INSTALL_STRIP_PROGRAM
    696 STRIP
    697 install_sh
    698 MAKEINFO
    699 AUTOHEADER
    700 AUTOMAKE
    701 AUTOCONF
    702 ACLOCAL
    703 VERSION
    704 PACKAGE
    705 CYGPATH_W
    706 am__isrc
    707 INSTALL_DATA
    708 INSTALL_SCRIPT
    709 INSTALL_PROGRAM
    710 target_alias
    711 host_alias
    712 build_alias
    713 LIBS
    714 ECHO_T
    715 ECHO_N
    716 ECHO_C
    717 DEFS
    718 mandir
    719 localedir
    720 libdir
    721 psdir
    722 pdfdir
    723 dvidir
    724 htmldir
    725 infodir
    726 docdir
    727 oldincludedir
    728 includedir
    729 localstatedir
    730 sharedstatedir
    731 sysconfdir
    732 datadir
    733 datarootdir
    734 libexecdir
    735 sbindir
    736 bindir
    737 program_transform_name
    738 prefix
    739 exec_prefix
    740 PACKAGE_URL
    741 PACKAGE_BUGREPORT
    742 PACKAGE_STRING
    743 PACKAGE_VERSION
    744 PACKAGE_TARNAME
    745 PACKAGE_NAME
    746 PATH_SEPARATOR
    747 SHELL'
    748 ac_subst_files=''
    749 ac_user_opts='
    750 enable_option_checking
    751 enable_silent_rules
    752 enable_dependency_tracking
    753 enable_selective_werror
    754 enable_strict_compilation
    755 '
    756       ac_precious_vars='build_alias
    757 host_alias
    758 target_alias
    759 CC
    760 CFLAGS
    761 LDFLAGS
    762 LIBS
    763 CPPFLAGS
    764 CPP
    765 PKG_CONFIG
    766 PKG_CONFIG_PATH
    767 PKG_CONFIG_LIBDIR
    768 XLSFONTS_CFLAGS
    769 XLSFONTS_LIBS'
    770 
    771 
    772 # Initialize some variables set by options.
    773 ac_init_help=
    774 ac_init_version=false
    775 ac_unrecognized_opts=
    776 ac_unrecognized_sep=
    777 # The variables have the same names as the options, with
    778 # dashes changed to underlines.
    779 cache_file=/dev/null
    780 exec_prefix=NONE
    781 no_create=
    782 no_recursion=
    783 prefix=NONE
    784 program_prefix=NONE
    785 program_suffix=NONE
    786 program_transform_name=s,x,x,
    787 silent=
    788 site=
    789 srcdir=
    790 verbose=
    791 x_includes=NONE
    792 x_libraries=NONE
    793 
    794 # Installation directory options.
    795 # These are left unexpanded so users can "make install exec_prefix=/foo"
    796 # and all the variables that are supposed to be based on exec_prefix
    797 # by default will actually change.
    798 # Use braces instead of parens because sh, perl, etc. also accept them.
    799 # (The list follows the same order as the GNU Coding Standards.)
    800 bindir='${exec_prefix}/bin'
    801 sbindir='${exec_prefix}/sbin'
    802 libexecdir='${exec_prefix}/libexec'
    803 datarootdir='${prefix}/share'
    804 datadir='${datarootdir}'
    805 sysconfdir='${prefix}/etc'
    806 sharedstatedir='${prefix}/com'
    807 localstatedir='${prefix}/var'
    808 includedir='${prefix}/include'
    809 oldincludedir='/usr/include'
    810 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    811 infodir='${datarootdir}/info'
    812 htmldir='${docdir}'
    813 dvidir='${docdir}'
    814 pdfdir='${docdir}'
    815 psdir='${docdir}'
    816 libdir='${exec_prefix}/lib'
    817 localedir='${datarootdir}/locale'
    818 mandir='${datarootdir}/man'
    819 
    820 ac_prev=
    821 ac_dashdash=
    822 for ac_option
    823 do
    824   # If the previous option needs an argument, assign it.
    825   if test -n "$ac_prev"; then
    826     eval $ac_prev=\$ac_option
    827     ac_prev=
    828     continue
    829   fi
    830 
    831   case $ac_option in
    832   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    833   *=)   ac_optarg= ;;
    834   *)    ac_optarg=yes ;;
    835   esac
    836 
    837   # Accept the important Cygnus configure options, so we can diagnose typos.
    838 
    839   case $ac_dashdash$ac_option in
    840   --)
    841     ac_dashdash=yes ;;
    842 
    843   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    844     ac_prev=bindir ;;
    845   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    846     bindir=$ac_optarg ;;
    847 
    848   -build | --build | --buil | --bui | --bu)
    849     ac_prev=build_alias ;;
    850   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    851     build_alias=$ac_optarg ;;
    852 
    853   -cache-file | --cache-file | --cache-fil | --cache-fi \
    854   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    855     ac_prev=cache_file ;;
    856   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    857   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    858     cache_file=$ac_optarg ;;
    859 
    860   --config-cache | -C)
    861     cache_file=config.cache ;;
    862 
    863   -datadir | --datadir | --datadi | --datad)
    864     ac_prev=datadir ;;
    865   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    866     datadir=$ac_optarg ;;
    867 
    868   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    869   | --dataroo | --dataro | --datar)
    870     ac_prev=datarootdir ;;
    871   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    872   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    873     datarootdir=$ac_optarg ;;
    874 
    875   -disable-* | --disable-*)
    876     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    877     # Reject names that are not valid shell variable names.
    878     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    879       as_fn_error $? "invalid feature name: $ac_useropt"
    880     ac_useropt_orig=$ac_useropt
    881     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    882     case $ac_user_opts in
    883       *"
    884 "enable_$ac_useropt"
    885 "*) ;;
    886       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    887 	 ac_unrecognized_sep=', ';;
    888     esac
    889     eval enable_$ac_useropt=no ;;
    890 
    891   -docdir | --docdir | --docdi | --doc | --do)
    892     ac_prev=docdir ;;
    893   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    894     docdir=$ac_optarg ;;
    895 
    896   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    897     ac_prev=dvidir ;;
    898   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    899     dvidir=$ac_optarg ;;
    900 
    901   -enable-* | --enable-*)
    902     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    903     # Reject names that are not valid shell variable names.
    904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    905       as_fn_error $? "invalid feature name: $ac_useropt"
    906     ac_useropt_orig=$ac_useropt
    907     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    908     case $ac_user_opts in
    909       *"
    910 "enable_$ac_useropt"
    911 "*) ;;
    912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    913 	 ac_unrecognized_sep=', ';;
    914     esac
    915     eval enable_$ac_useropt=\$ac_optarg ;;
    916 
    917   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    918   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    919   | --exec | --exe | --ex)
    920     ac_prev=exec_prefix ;;
    921   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    922   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    923   | --exec=* | --exe=* | --ex=*)
    924     exec_prefix=$ac_optarg ;;
    925 
    926   -gas | --gas | --ga | --g)
    927     # Obsolete; use --with-gas.
    928     with_gas=yes ;;
    929 
    930   -help | --help | --hel | --he | -h)
    931     ac_init_help=long ;;
    932   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    933     ac_init_help=recursive ;;
    934   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    935     ac_init_help=short ;;
    936 
    937   -host | --host | --hos | --ho)
    938     ac_prev=host_alias ;;
    939   -host=* | --host=* | --hos=* | --ho=*)
    940     host_alias=$ac_optarg ;;
    941 
    942   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    943     ac_prev=htmldir ;;
    944   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    945   | --ht=*)
    946     htmldir=$ac_optarg ;;
    947 
    948   -includedir | --includedir | --includedi | --included | --include \
    949   | --includ | --inclu | --incl | --inc)
    950     ac_prev=includedir ;;
    951   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    952   | --includ=* | --inclu=* | --incl=* | --inc=*)
    953     includedir=$ac_optarg ;;
    954 
    955   -infodir | --infodir | --infodi | --infod | --info | --inf)
    956     ac_prev=infodir ;;
    957   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    958     infodir=$ac_optarg ;;
    959 
    960   -libdir | --libdir | --libdi | --libd)
    961     ac_prev=libdir ;;
    962   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    963     libdir=$ac_optarg ;;
    964 
    965   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    966   | --libexe | --libex | --libe)
    967     ac_prev=libexecdir ;;
    968   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    969   | --libexe=* | --libex=* | --libe=*)
    970     libexecdir=$ac_optarg ;;
    971 
    972   -localedir | --localedir | --localedi | --localed | --locale)
    973     ac_prev=localedir ;;
    974   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    975     localedir=$ac_optarg ;;
    976 
    977   -localstatedir | --localstatedir | --localstatedi | --localstated \
    978   | --localstate | --localstat | --localsta | --localst | --locals)
    979     ac_prev=localstatedir ;;
    980   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    981   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    982     localstatedir=$ac_optarg ;;
    983 
    984   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    985     ac_prev=mandir ;;
    986   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    987     mandir=$ac_optarg ;;
    988 
    989   -nfp | --nfp | --nf)
    990     # Obsolete; use --without-fp.
    991     with_fp=no ;;
    992 
    993   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    994   | --no-cr | --no-c | -n)
    995     no_create=yes ;;
    996 
    997   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    998   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    999     no_recursion=yes ;;
   1000 
   1001   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1002   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1003   | --oldin | --oldi | --old | --ol | --o)
   1004     ac_prev=oldincludedir ;;
   1005   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1006   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1007   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1008     oldincludedir=$ac_optarg ;;
   1009 
   1010   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1011     ac_prev=prefix ;;
   1012   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1013     prefix=$ac_optarg ;;
   1014 
   1015   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1016   | --program-pre | --program-pr | --program-p)
   1017     ac_prev=program_prefix ;;
   1018   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1019   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1020     program_prefix=$ac_optarg ;;
   1021 
   1022   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1023   | --program-suf | --program-su | --program-s)
   1024     ac_prev=program_suffix ;;
   1025   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1026   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1027     program_suffix=$ac_optarg ;;
   1028 
   1029   -program-transform-name | --program-transform-name \
   1030   | --program-transform-nam | --program-transform-na \
   1031   | --program-transform-n | --program-transform- \
   1032   | --program-transform | --program-transfor \
   1033   | --program-transfo | --program-transf \
   1034   | --program-trans | --program-tran \
   1035   | --progr-tra | --program-tr | --program-t)
   1036     ac_prev=program_transform_name ;;
   1037   -program-transform-name=* | --program-transform-name=* \
   1038   | --program-transform-nam=* | --program-transform-na=* \
   1039   | --program-transform-n=* | --program-transform-=* \
   1040   | --program-transform=* | --program-transfor=* \
   1041   | --program-transfo=* | --program-transf=* \
   1042   | --program-trans=* | --program-tran=* \
   1043   | --progr-tra=* | --program-tr=* | --program-t=*)
   1044     program_transform_name=$ac_optarg ;;
   1045 
   1046   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1047     ac_prev=pdfdir ;;
   1048   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1049     pdfdir=$ac_optarg ;;
   1050 
   1051   -psdir | --psdir | --psdi | --psd | --ps)
   1052     ac_prev=psdir ;;
   1053   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1054     psdir=$ac_optarg ;;
   1055 
   1056   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1057   | -silent | --silent | --silen | --sile | --sil)
   1058     silent=yes ;;
   1059 
   1060   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1061     ac_prev=sbindir ;;
   1062   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1063   | --sbi=* | --sb=*)
   1064     sbindir=$ac_optarg ;;
   1065 
   1066   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1067   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1068   | --sharedst | --shareds | --shared | --share | --shar \
   1069   | --sha | --sh)
   1070     ac_prev=sharedstatedir ;;
   1071   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1072   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1073   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1074   | --sha=* | --sh=*)
   1075     sharedstatedir=$ac_optarg ;;
   1076 
   1077   -site | --site | --sit)
   1078     ac_prev=site ;;
   1079   -site=* | --site=* | --sit=*)
   1080     site=$ac_optarg ;;
   1081 
   1082   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1083     ac_prev=srcdir ;;
   1084   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1085     srcdir=$ac_optarg ;;
   1086 
   1087   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1088   | --syscon | --sysco | --sysc | --sys | --sy)
   1089     ac_prev=sysconfdir ;;
   1090   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1091   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1092     sysconfdir=$ac_optarg ;;
   1093 
   1094   -target | --target | --targe | --targ | --tar | --ta | --t)
   1095     ac_prev=target_alias ;;
   1096   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1097     target_alias=$ac_optarg ;;
   1098 
   1099   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1100     verbose=yes ;;
   1101 
   1102   -version | --version | --versio | --versi | --vers | -V)
   1103     ac_init_version=: ;;
   1104 
   1105   -with-* | --with-*)
   1106     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1107     # Reject names that are not valid shell variable names.
   1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1109       as_fn_error $? "invalid package name: $ac_useropt"
   1110     ac_useropt_orig=$ac_useropt
   1111     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1112     case $ac_user_opts in
   1113       *"
   1114 "with_$ac_useropt"
   1115 "*) ;;
   1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1117 	 ac_unrecognized_sep=', ';;
   1118     esac
   1119     eval with_$ac_useropt=\$ac_optarg ;;
   1120 
   1121   -without-* | --without-*)
   1122     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1123     # Reject names that are not valid shell variable names.
   1124     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1125       as_fn_error $? "invalid package name: $ac_useropt"
   1126     ac_useropt_orig=$ac_useropt
   1127     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1128     case $ac_user_opts in
   1129       *"
   1130 "with_$ac_useropt"
   1131 "*) ;;
   1132       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1133 	 ac_unrecognized_sep=', ';;
   1134     esac
   1135     eval with_$ac_useropt=no ;;
   1136 
   1137   --x)
   1138     # Obsolete; use --with-x.
   1139     with_x=yes ;;
   1140 
   1141   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1142   | --x-incl | --x-inc | --x-in | --x-i)
   1143     ac_prev=x_includes ;;
   1144   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1145   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1146     x_includes=$ac_optarg ;;
   1147 
   1148   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1149   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1150     ac_prev=x_libraries ;;
   1151   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1152   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1153     x_libraries=$ac_optarg ;;
   1154 
   1155   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1156 Try \`$0 --help' for more information"
   1157     ;;
   1158 
   1159   *=*)
   1160     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1161     # Reject names that are not valid shell variable names.
   1162     case $ac_envvar in #(
   1163       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1164       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1165     esac
   1166     eval $ac_envvar=\$ac_optarg
   1167     export $ac_envvar ;;
   1168 
   1169   *)
   1170     # FIXME: should be removed in autoconf 3.0.
   1171     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1172     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1173       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1174     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1175     ;;
   1176 
   1177   esac
   1178 done
   1179 
   1180 if test -n "$ac_prev"; then
   1181   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1182   as_fn_error $? "missing argument to $ac_option"
   1183 fi
   1184 
   1185 if test -n "$ac_unrecognized_opts"; then
   1186   case $enable_option_checking in
   1187     no) ;;
   1188     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1189     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1190   esac
   1191 fi
   1192 
   1193 # Check all directory arguments for consistency.
   1194 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1195 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1196 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1197 		libdir localedir mandir
   1198 do
   1199   eval ac_val=\$$ac_var
   1200   # Remove trailing slashes.
   1201   case $ac_val in
   1202     */ )
   1203       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1204       eval $ac_var=\$ac_val;;
   1205   esac
   1206   # Be sure to have absolute directory names.
   1207   case $ac_val in
   1208     [\\/$]* | ?:[\\/]* )  continue;;
   1209     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1210   esac
   1211   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1212 done
   1213 
   1214 # There might be people who depend on the old broken behavior: `$host'
   1215 # used to hold the argument of --host etc.
   1216 # FIXME: To remove some day.
   1217 build=$build_alias
   1218 host=$host_alias
   1219 target=$target_alias
   1220 
   1221 # FIXME: To remove some day.
   1222 if test "x$host_alias" != x; then
   1223   if test "x$build_alias" = x; then
   1224     cross_compiling=maybe
   1225   elif test "x$build_alias" != "x$host_alias"; then
   1226     cross_compiling=yes
   1227   fi
   1228 fi
   1229 
   1230 ac_tool_prefix=
   1231 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1232 
   1233 test "$silent" = yes && exec 6>/dev/null
   1234 
   1235 
   1236 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1237 ac_ls_di=`ls -di .` &&
   1238 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1239   as_fn_error $? "working directory cannot be determined"
   1240 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1241   as_fn_error $? "pwd does not report name of working directory"
   1242 
   1243 
   1244 # Find the source files, if location was not specified.
   1245 if test -z "$srcdir"; then
   1246   ac_srcdir_defaulted=yes
   1247   # Try the directory containing this script, then the parent directory.
   1248   ac_confdir=`$as_dirname -- "$as_myself" ||
   1249 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1250 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1251 	 X"$as_myself" : 'X\(//\)$' \| \
   1252 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1253 $as_echo X"$as_myself" |
   1254     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1255 	    s//\1/
   1256 	    q
   1257 	  }
   1258 	  /^X\(\/\/\)[^/].*/{
   1259 	    s//\1/
   1260 	    q
   1261 	  }
   1262 	  /^X\(\/\/\)$/{
   1263 	    s//\1/
   1264 	    q
   1265 	  }
   1266 	  /^X\(\/\).*/{
   1267 	    s//\1/
   1268 	    q
   1269 	  }
   1270 	  s/.*/./; q'`
   1271   srcdir=$ac_confdir
   1272   if test ! -r "$srcdir/$ac_unique_file"; then
   1273     srcdir=..
   1274   fi
   1275 else
   1276   ac_srcdir_defaulted=no
   1277 fi
   1278 if test ! -r "$srcdir/$ac_unique_file"; then
   1279   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1280   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1281 fi
   1282 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1283 ac_abs_confdir=`(
   1284 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1285 	pwd)`
   1286 # When building in place, set srcdir=.
   1287 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1288   srcdir=.
   1289 fi
   1290 # Remove unnecessary trailing slashes from srcdir.
   1291 # Double slashes in file names in object file debugging info
   1292 # mess up M-x gdb in Emacs.
   1293 case $srcdir in
   1294 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1295 esac
   1296 for ac_var in $ac_precious_vars; do
   1297   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1298   eval ac_env_${ac_var}_value=\$${ac_var}
   1299   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1300   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1301 done
   1302 
   1303 #
   1304 # Report the --help message.
   1305 #
   1306 if test "$ac_init_help" = "long"; then
   1307   # Omit some internal or obsolete options to make the list less imposing.
   1308   # This message is too long to be a string in the A/UX 3.1 sh.
   1309   cat <<_ACEOF
   1310 \`configure' configures xlsfonts 1.0.6 to adapt to many kinds of systems.
   1311 
   1312 Usage: $0 [OPTION]... [VAR=VALUE]...
   1313 
   1314 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1315 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1316 
   1317 Defaults for the options are specified in brackets.
   1318 
   1319 Configuration:
   1320   -h, --help              display this help and exit
   1321       --help=short        display options specific to this package
   1322       --help=recursive    display the short help of all the included packages
   1323   -V, --version           display version information and exit
   1324   -q, --quiet, --silent   do not print \`checking ...' messages
   1325       --cache-file=FILE   cache test results in FILE [disabled]
   1326   -C, --config-cache      alias for \`--cache-file=config.cache'
   1327   -n, --no-create         do not create output files
   1328       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1329 
   1330 Installation directories:
   1331   --prefix=PREFIX         install architecture-independent files in PREFIX
   1332                           [$ac_default_prefix]
   1333   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1334                           [PREFIX]
   1335 
   1336 By default, \`make install' will install all the files in
   1337 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1338 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1339 for instance \`--prefix=\$HOME'.
   1340 
   1341 For better control, use the options below.
   1342 
   1343 Fine tuning of the installation directories:
   1344   --bindir=DIR            user executables [EPREFIX/bin]
   1345   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1346   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1347   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1348   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1349   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1350   --libdir=DIR            object code libraries [EPREFIX/lib]
   1351   --includedir=DIR        C header files [PREFIX/include]
   1352   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1353   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1354   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1355   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1356   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1357   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1358   --docdir=DIR            documentation root [DATAROOTDIR/doc/xlsfonts]
   1359   --htmldir=DIR           html documentation [DOCDIR]
   1360   --dvidir=DIR            dvi documentation [DOCDIR]
   1361   --pdfdir=DIR            pdf documentation [DOCDIR]
   1362   --psdir=DIR             ps documentation [DOCDIR]
   1363 _ACEOF
   1364 
   1365   cat <<\_ACEOF
   1366 
   1367 Program names:
   1368   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1369   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1370   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1371 
   1372 System types:
   1373   --build=BUILD     configure for building on BUILD [guessed]
   1374   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1375 _ACEOF
   1376 fi
   1377 
   1378 if test -n "$ac_init_help"; then
   1379   case $ac_init_help in
   1380      short | recursive ) echo "Configuration of xlsfonts 1.0.6:";;
   1381    esac
   1382   cat <<\_ACEOF
   1383 
   1384 Optional Features:
   1385   --disable-option-checking  ignore unrecognized --enable/--with options
   1386   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1387   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1388   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1389   --disable-silent-rules  verbose build output (undo: "make V=0")
   1390   --enable-dependency-tracking
   1391                           do not reject slow dependency extractors
   1392   --disable-dependency-tracking
   1393                           speeds up one-time build
   1394   --disable-selective-werror
   1395                           Turn off selective compiler errors. (default:
   1396                           enabled)
   1397   --enable-strict-compilation
   1398                           Enable all warnings from compiler and make them
   1399                           errors (default: disabled)
   1400 
   1401 Some influential environment variables:
   1402   CC          C compiler command
   1403   CFLAGS      C compiler flags
   1404   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1405               nonstandard directory <lib dir>
   1406   LIBS        libraries to pass to the linker, e.g. -l<library>
   1407   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1408               you have headers in a nonstandard directory <include dir>
   1409   CPP         C preprocessor
   1410   PKG_CONFIG  path to pkg-config utility
   1411   PKG_CONFIG_PATH
   1412               directories to add to pkg-config's search path
   1413   PKG_CONFIG_LIBDIR
   1414               path overriding pkg-config's built-in search path
   1415   XLSFONTS_CFLAGS
   1416               C compiler flags for XLSFONTS, overriding pkg-config
   1417   XLSFONTS_LIBS
   1418               linker flags for XLSFONTS, overriding pkg-config
   1419 
   1420 Use these variables to override the choices made by `configure' or to help
   1421 it to find libraries and programs with nonstandard names/locations.
   1422 
   1423 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1424 _ACEOF
   1425 ac_status=$?
   1426 fi
   1427 
   1428 if test "$ac_init_help" = "recursive"; then
   1429   # If there are subdirs, report their specific --help.
   1430   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1431     test -d "$ac_dir" ||
   1432       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1433       continue
   1434     ac_builddir=.
   1435 
   1436 case "$ac_dir" in
   1437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1438 *)
   1439   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1440   # A ".." for each directory in $ac_dir_suffix.
   1441   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1442   case $ac_top_builddir_sub in
   1443   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1444   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1445   esac ;;
   1446 esac
   1447 ac_abs_top_builddir=$ac_pwd
   1448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1449 # for backward compatibility:
   1450 ac_top_builddir=$ac_top_build_prefix
   1451 
   1452 case $srcdir in
   1453   .)  # We are building in place.
   1454     ac_srcdir=.
   1455     ac_top_srcdir=$ac_top_builddir_sub
   1456     ac_abs_top_srcdir=$ac_pwd ;;
   1457   [\\/]* | ?:[\\/]* )  # Absolute name.
   1458     ac_srcdir=$srcdir$ac_dir_suffix;
   1459     ac_top_srcdir=$srcdir
   1460     ac_abs_top_srcdir=$srcdir ;;
   1461   *) # Relative name.
   1462     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1463     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1464     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1465 esac
   1466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1467 
   1468     cd "$ac_dir" || { ac_status=$?; continue; }
   1469     # Check for guested configure.
   1470     if test -f "$ac_srcdir/configure.gnu"; then
   1471       echo &&
   1472       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1473     elif test -f "$ac_srcdir/configure"; then
   1474       echo &&
   1475       $SHELL "$ac_srcdir/configure" --help=recursive
   1476     else
   1477       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1478     fi || ac_status=$?
   1479     cd "$ac_pwd" || { ac_status=$?; break; }
   1480   done
   1481 fi
   1482 
   1483 test -n "$ac_init_help" && exit $ac_status
   1484 if $ac_init_version; then
   1485   cat <<\_ACEOF
   1486 xlsfonts configure 1.0.6
   1487 generated by GNU Autoconf 2.69
   1488 
   1489 Copyright (C) 2012 Free Software Foundation, Inc.
   1490 This configure script is free software; the Free Software Foundation
   1491 gives unlimited permission to copy, distribute and modify it.
   1492 _ACEOF
   1493   exit
   1494 fi
   1495 
   1496 ## ------------------------ ##
   1497 ## Autoconf initialization. ##
   1498 ## ------------------------ ##
   1499 
   1500 # ac_fn_c_try_compile LINENO
   1501 # --------------------------
   1502 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1503 ac_fn_c_try_compile ()
   1504 {
   1505   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1506   rm -f conftest.$ac_objext
   1507   if { { ac_try="$ac_compile"
   1508 case "(($ac_try" in
   1509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1510   *) ac_try_echo=$ac_try;;
   1511 esac
   1512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1513 $as_echo "$ac_try_echo"; } >&5
   1514   (eval "$ac_compile") 2>conftest.err
   1515   ac_status=$?
   1516   if test -s conftest.err; then
   1517     grep -v '^ *+' conftest.err >conftest.er1
   1518     cat conftest.er1 >&5
   1519     mv -f conftest.er1 conftest.err
   1520   fi
   1521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1522   test $ac_status = 0; } && {
   1523 	 test -z "$ac_c_werror_flag" ||
   1524 	 test ! -s conftest.err
   1525        } && test -s conftest.$ac_objext; then :
   1526   ac_retval=0
   1527 else
   1528   $as_echo "$as_me: failed program was:" >&5
   1529 sed 's/^/| /' conftest.$ac_ext >&5
   1530 
   1531 	ac_retval=1
   1532 fi
   1533   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1534   as_fn_set_status $ac_retval
   1535 
   1536 } # ac_fn_c_try_compile
   1537 
   1538 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1539 # ---------------------------------------------
   1540 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1541 # accordingly.
   1542 ac_fn_c_check_decl ()
   1543 {
   1544   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1545   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1546   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1548 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1549 if eval \${$3+:} false; then :
   1550   $as_echo_n "(cached) " >&6
   1551 else
   1552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1553 /* end confdefs.h.  */
   1554 $4
   1555 int
   1556 main ()
   1557 {
   1558 #ifndef $as_decl_name
   1559 #ifdef __cplusplus
   1560   (void) $as_decl_use;
   1561 #else
   1562   (void) $as_decl_name;
   1563 #endif
   1564 #endif
   1565 
   1566   ;
   1567   return 0;
   1568 }
   1569 _ACEOF
   1570 if ac_fn_c_try_compile "$LINENO"; then :
   1571   eval "$3=yes"
   1572 else
   1573   eval "$3=no"
   1574 fi
   1575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1576 fi
   1577 eval ac_res=\$$3
   1578 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1579 $as_echo "$ac_res" >&6; }
   1580   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1581 
   1582 } # ac_fn_c_check_decl
   1583 
   1584 # ac_fn_c_try_cpp LINENO
   1585 # ----------------------
   1586 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1587 ac_fn_c_try_cpp ()
   1588 {
   1589   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1590   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1591 case "(($ac_try" in
   1592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1593   *) ac_try_echo=$ac_try;;
   1594 esac
   1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1596 $as_echo "$ac_try_echo"; } >&5
   1597   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1598   ac_status=$?
   1599   if test -s conftest.err; then
   1600     grep -v '^ *+' conftest.err >conftest.er1
   1601     cat conftest.er1 >&5
   1602     mv -f conftest.er1 conftest.err
   1603   fi
   1604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1605   test $ac_status = 0; } > conftest.i && {
   1606 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1607 	 test ! -s conftest.err
   1608        }; then :
   1609   ac_retval=0
   1610 else
   1611   $as_echo "$as_me: failed program was:" >&5
   1612 sed 's/^/| /' conftest.$ac_ext >&5
   1613 
   1614     ac_retval=1
   1615 fi
   1616   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1617   as_fn_set_status $ac_retval
   1618 
   1619 } # ac_fn_c_try_cpp
   1620 
   1621 # ac_fn_c_try_run LINENO
   1622 # ----------------------
   1623 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1624 # that executables *can* be run.
   1625 ac_fn_c_try_run ()
   1626 {
   1627   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1628   if { { ac_try="$ac_link"
   1629 case "(($ac_try" in
   1630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1631   *) ac_try_echo=$ac_try;;
   1632 esac
   1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1634 $as_echo "$ac_try_echo"; } >&5
   1635   (eval "$ac_link") 2>&5
   1636   ac_status=$?
   1637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1638   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1639   { { case "(($ac_try" in
   1640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1641   *) ac_try_echo=$ac_try;;
   1642 esac
   1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1644 $as_echo "$ac_try_echo"; } >&5
   1645   (eval "$ac_try") 2>&5
   1646   ac_status=$?
   1647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1648   test $ac_status = 0; }; }; then :
   1649   ac_retval=0
   1650 else
   1651   $as_echo "$as_me: program exited with status $ac_status" >&5
   1652        $as_echo "$as_me: failed program was:" >&5
   1653 sed 's/^/| /' conftest.$ac_ext >&5
   1654 
   1655        ac_retval=$ac_status
   1656 fi
   1657   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1658   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1659   as_fn_set_status $ac_retval
   1660 
   1661 } # ac_fn_c_try_run
   1662 
   1663 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1664 # -------------------------------------------------------
   1665 # Tests whether HEADER exists and can be compiled using the include files in
   1666 # INCLUDES, setting the cache variable VAR accordingly.
   1667 ac_fn_c_check_header_compile ()
   1668 {
   1669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1671 $as_echo_n "checking for $2... " >&6; }
   1672 if eval \${$3+:} false; then :
   1673   $as_echo_n "(cached) " >&6
   1674 else
   1675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1676 /* end confdefs.h.  */
   1677 $4
   1678 #include <$2>
   1679 _ACEOF
   1680 if ac_fn_c_try_compile "$LINENO"; then :
   1681   eval "$3=yes"
   1682 else
   1683   eval "$3=no"
   1684 fi
   1685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1686 fi
   1687 eval ac_res=\$$3
   1688 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1689 $as_echo "$ac_res" >&6; }
   1690   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1691 
   1692 } # ac_fn_c_check_header_compile
   1693 
   1694 # ac_fn_c_try_link LINENO
   1695 # -----------------------
   1696 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1697 ac_fn_c_try_link ()
   1698 {
   1699   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1700   rm -f conftest.$ac_objext conftest$ac_exeext
   1701   if { { ac_try="$ac_link"
   1702 case "(($ac_try" in
   1703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1704   *) ac_try_echo=$ac_try;;
   1705 esac
   1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1707 $as_echo "$ac_try_echo"; } >&5
   1708   (eval "$ac_link") 2>conftest.err
   1709   ac_status=$?
   1710   if test -s conftest.err; then
   1711     grep -v '^ *+' conftest.err >conftest.er1
   1712     cat conftest.er1 >&5
   1713     mv -f conftest.er1 conftest.err
   1714   fi
   1715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1716   test $ac_status = 0; } && {
   1717 	 test -z "$ac_c_werror_flag" ||
   1718 	 test ! -s conftest.err
   1719        } && test -s conftest$ac_exeext && {
   1720 	 test "$cross_compiling" = yes ||
   1721 	 test -x conftest$ac_exeext
   1722        }; then :
   1723   ac_retval=0
   1724 else
   1725   $as_echo "$as_me: failed program was:" >&5
   1726 sed 's/^/| /' conftest.$ac_ext >&5
   1727 
   1728 	ac_retval=1
   1729 fi
   1730   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1731   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1732   # interfere with the next link command; also delete a directory that is
   1733   # left behind by Apple's compiler.  We do this before executing the actions.
   1734   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1735   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1736   as_fn_set_status $ac_retval
   1737 
   1738 } # ac_fn_c_try_link
   1739 cat >config.log <<_ACEOF
   1740 This file contains any messages produced by compilers while
   1741 running configure, to aid debugging if configure makes a mistake.
   1742 
   1743 It was created by xlsfonts $as_me 1.0.6, which was
   1744 generated by GNU Autoconf 2.69.  Invocation command line was
   1745 
   1746   $ $0 $@
   1747 
   1748 _ACEOF
   1749 exec 5>>config.log
   1750 {
   1751 cat <<_ASUNAME
   1752 ## --------- ##
   1753 ## Platform. ##
   1754 ## --------- ##
   1755 
   1756 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1757 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1758 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1759 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1760 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1761 
   1762 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1763 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1764 
   1765 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1766 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1767 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1768 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1769 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1770 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1771 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1772 
   1773 _ASUNAME
   1774 
   1775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1776 for as_dir in $PATH
   1777 do
   1778   IFS=$as_save_IFS
   1779   test -z "$as_dir" && as_dir=.
   1780     $as_echo "PATH: $as_dir"
   1781   done
   1782 IFS=$as_save_IFS
   1783 
   1784 } >&5
   1785 
   1786 cat >&5 <<_ACEOF
   1787 
   1788 
   1789 ## ----------- ##
   1790 ## Core tests. ##
   1791 ## ----------- ##
   1792 
   1793 _ACEOF
   1794 
   1795 
   1796 # Keep a trace of the command line.
   1797 # Strip out --no-create and --no-recursion so they do not pile up.
   1798 # Strip out --silent because we don't want to record it for future runs.
   1799 # Also quote any args containing shell meta-characters.
   1800 # Make two passes to allow for proper duplicate-argument suppression.
   1801 ac_configure_args=
   1802 ac_configure_args0=
   1803 ac_configure_args1=
   1804 ac_must_keep_next=false
   1805 for ac_pass in 1 2
   1806 do
   1807   for ac_arg
   1808   do
   1809     case $ac_arg in
   1810     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1811     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1812     | -silent | --silent | --silen | --sile | --sil)
   1813       continue ;;
   1814     *\'*)
   1815       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1816     esac
   1817     case $ac_pass in
   1818     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1819     2)
   1820       as_fn_append ac_configure_args1 " '$ac_arg'"
   1821       if test $ac_must_keep_next = true; then
   1822 	ac_must_keep_next=false # Got value, back to normal.
   1823       else
   1824 	case $ac_arg in
   1825 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1826 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1827 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1828 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1829 	    case "$ac_configure_args0 " in
   1830 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1831 	    esac
   1832 	    ;;
   1833 	  -* ) ac_must_keep_next=true ;;
   1834 	esac
   1835       fi
   1836       as_fn_append ac_configure_args " '$ac_arg'"
   1837       ;;
   1838     esac
   1839   done
   1840 done
   1841 { ac_configure_args0=; unset ac_configure_args0;}
   1842 { ac_configure_args1=; unset ac_configure_args1;}
   1843 
   1844 # When interrupted or exit'd, cleanup temporary files, and complete
   1845 # config.log.  We remove comments because anyway the quotes in there
   1846 # would cause problems or look ugly.
   1847 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1848 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1849 trap 'exit_status=$?
   1850   # Save into config.log some information that might help in debugging.
   1851   {
   1852     echo
   1853 
   1854     $as_echo "## ---------------- ##
   1855 ## Cache variables. ##
   1856 ## ---------------- ##"
   1857     echo
   1858     # The following way of writing the cache mishandles newlines in values,
   1859 (
   1860   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1861     eval ac_val=\$$ac_var
   1862     case $ac_val in #(
   1863     *${as_nl}*)
   1864       case $ac_var in #(
   1865       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1866 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1867       esac
   1868       case $ac_var in #(
   1869       _ | IFS | as_nl) ;; #(
   1870       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1871       *) { eval $ac_var=; unset $ac_var;} ;;
   1872       esac ;;
   1873     esac
   1874   done
   1875   (set) 2>&1 |
   1876     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1877     *${as_nl}ac_space=\ *)
   1878       sed -n \
   1879 	"s/'\''/'\''\\\\'\'''\''/g;
   1880 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1881       ;; #(
   1882     *)
   1883       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1884       ;;
   1885     esac |
   1886     sort
   1887 )
   1888     echo
   1889 
   1890     $as_echo "## ----------------- ##
   1891 ## Output variables. ##
   1892 ## ----------------- ##"
   1893     echo
   1894     for ac_var in $ac_subst_vars
   1895     do
   1896       eval ac_val=\$$ac_var
   1897       case $ac_val in
   1898       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1899       esac
   1900       $as_echo "$ac_var='\''$ac_val'\''"
   1901     done | sort
   1902     echo
   1903 
   1904     if test -n "$ac_subst_files"; then
   1905       $as_echo "## ------------------- ##
   1906 ## File substitutions. ##
   1907 ## ------------------- ##"
   1908       echo
   1909       for ac_var in $ac_subst_files
   1910       do
   1911 	eval ac_val=\$$ac_var
   1912 	case $ac_val in
   1913 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1914 	esac
   1915 	$as_echo "$ac_var='\''$ac_val'\''"
   1916       done | sort
   1917       echo
   1918     fi
   1919 
   1920     if test -s confdefs.h; then
   1921       $as_echo "## ----------- ##
   1922 ## confdefs.h. ##
   1923 ## ----------- ##"
   1924       echo
   1925       cat confdefs.h
   1926       echo
   1927     fi
   1928     test "$ac_signal" != 0 &&
   1929       $as_echo "$as_me: caught signal $ac_signal"
   1930     $as_echo "$as_me: exit $exit_status"
   1931   } >&5
   1932   rm -f core *.core core.conftest.* &&
   1933     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1934     exit $exit_status
   1935 ' 0
   1936 for ac_signal in 1 2 13 15; do
   1937   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1938 done
   1939 ac_signal=0
   1940 
   1941 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1942 rm -f -r conftest* confdefs.h
   1943 
   1944 $as_echo "/* confdefs.h */" > confdefs.h
   1945 
   1946 # Predefined preprocessor variables.
   1947 
   1948 cat >>confdefs.h <<_ACEOF
   1949 #define PACKAGE_NAME "$PACKAGE_NAME"
   1950 _ACEOF
   1951 
   1952 cat >>confdefs.h <<_ACEOF
   1953 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1954 _ACEOF
   1955 
   1956 cat >>confdefs.h <<_ACEOF
   1957 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1958 _ACEOF
   1959 
   1960 cat >>confdefs.h <<_ACEOF
   1961 #define PACKAGE_STRING "$PACKAGE_STRING"
   1962 _ACEOF
   1963 
   1964 cat >>confdefs.h <<_ACEOF
   1965 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1966 _ACEOF
   1967 
   1968 cat >>confdefs.h <<_ACEOF
   1969 #define PACKAGE_URL "$PACKAGE_URL"
   1970 _ACEOF
   1971 
   1972 
   1973 # Let the site file select an alternate cache file if it wants to.
   1974 # Prefer an explicitly selected file to automatically selected ones.
   1975 ac_site_file1=NONE
   1976 ac_site_file2=NONE
   1977 if test -n "$CONFIG_SITE"; then
   1978   # We do not want a PATH search for config.site.
   1979   case $CONFIG_SITE in #((
   1980     -*)  ac_site_file1=./$CONFIG_SITE;;
   1981     */*) ac_site_file1=$CONFIG_SITE;;
   1982     *)   ac_site_file1=./$CONFIG_SITE;;
   1983   esac
   1984 elif test "x$prefix" != xNONE; then
   1985   ac_site_file1=$prefix/share/config.site
   1986   ac_site_file2=$prefix/etc/config.site
   1987 else
   1988   ac_site_file1=$ac_default_prefix/share/config.site
   1989   ac_site_file2=$ac_default_prefix/etc/config.site
   1990 fi
   1991 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1992 do
   1993   test "x$ac_site_file" = xNONE && continue
   1994   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1995     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1996 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1997     sed 's/^/| /' "$ac_site_file" >&5
   1998     . "$ac_site_file" \
   1999       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2001 as_fn_error $? "failed to load site script $ac_site_file
   2002 See \`config.log' for more details" "$LINENO" 5; }
   2003   fi
   2004 done
   2005 
   2006 if test -r "$cache_file"; then
   2007   # Some versions of bash will fail to source /dev/null (special files
   2008   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2009   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2010     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2011 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2012     case $cache_file in
   2013       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2014       *)                      . "./$cache_file";;
   2015     esac
   2016   fi
   2017 else
   2018   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2019 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2020   >$cache_file
   2021 fi
   2022 
   2023 # Check that the precious variables saved in the cache have kept the same
   2024 # value.
   2025 ac_cache_corrupted=false
   2026 for ac_var in $ac_precious_vars; do
   2027   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2028   eval ac_new_set=\$ac_env_${ac_var}_set
   2029   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2030   eval ac_new_val=\$ac_env_${ac_var}_value
   2031   case $ac_old_set,$ac_new_set in
   2032     set,)
   2033       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2034 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2035       ac_cache_corrupted=: ;;
   2036     ,set)
   2037       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2038 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2039       ac_cache_corrupted=: ;;
   2040     ,);;
   2041     *)
   2042       if test "x$ac_old_val" != "x$ac_new_val"; then
   2043 	# differences in whitespace do not lead to failure.
   2044 	ac_old_val_w=`echo x $ac_old_val`
   2045 	ac_new_val_w=`echo x $ac_new_val`
   2046 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2047 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2048 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2049 	  ac_cache_corrupted=:
   2050 	else
   2051 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2052 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2053 	  eval $ac_var=\$ac_old_val
   2054 	fi
   2055 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2056 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2057 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2058 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2059       fi;;
   2060   esac
   2061   # Pass precious variables to config.status.
   2062   if test "$ac_new_set" = set; then
   2063     case $ac_new_val in
   2064     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2065     *) ac_arg=$ac_var=$ac_new_val ;;
   2066     esac
   2067     case " $ac_configure_args " in
   2068       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2069       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2070     esac
   2071   fi
   2072 done
   2073 if $ac_cache_corrupted; then
   2074   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2076   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2077 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2078   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2079 fi
   2080 ## -------------------- ##
   2081 ## Main body of script. ##
   2082 ## -------------------- ##
   2083 
   2084 ac_ext=c
   2085 ac_cpp='$CPP $CPPFLAGS'
   2086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2089 
   2090 
   2091 
   2092 ac_config_headers="$ac_config_headers config.h"
   2093 
   2094 
   2095 # Initialize Automake
   2096 am__api_version='1.15'
   2097 
   2098 ac_aux_dir=
   2099 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2100   if test -f "$ac_dir/install-sh"; then
   2101     ac_aux_dir=$ac_dir
   2102     ac_install_sh="$ac_aux_dir/install-sh -c"
   2103     break
   2104   elif test -f "$ac_dir/install.sh"; then
   2105     ac_aux_dir=$ac_dir
   2106     ac_install_sh="$ac_aux_dir/install.sh -c"
   2107     break
   2108   elif test -f "$ac_dir/shtool"; then
   2109     ac_aux_dir=$ac_dir
   2110     ac_install_sh="$ac_aux_dir/shtool install -c"
   2111     break
   2112   fi
   2113 done
   2114 if test -z "$ac_aux_dir"; then
   2115   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2116 fi
   2117 
   2118 # These three variables are undocumented and unsupported,
   2119 # and are intended to be withdrawn in a future Autoconf release.
   2120 # They can cause serious problems if a builder's source tree is in a directory
   2121 # whose full name contains unusual characters.
   2122 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2123 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2124 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2125 
   2126 
   2127 # Find a good install program.  We prefer a C program (faster),
   2128 # so one script is as good as another.  But avoid the broken or
   2129 # incompatible versions:
   2130 # SysV /etc/install, /usr/sbin/install
   2131 # SunOS /usr/etc/install
   2132 # IRIX /sbin/install
   2133 # AIX /bin/install
   2134 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2135 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2136 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2137 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2138 # OS/2's system install, which has a completely different semantic
   2139 # ./install, which can be erroneously created by make from ./install.sh.
   2140 # Reject install programs that cannot install multiple files.
   2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2142 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2143 if test -z "$INSTALL"; then
   2144 if ${ac_cv_path_install+:} false; then :
   2145   $as_echo_n "(cached) " >&6
   2146 else
   2147   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2148 for as_dir in $PATH
   2149 do
   2150   IFS=$as_save_IFS
   2151   test -z "$as_dir" && as_dir=.
   2152     # Account for people who put trailing slashes in PATH elements.
   2153 case $as_dir/ in #((
   2154   ./ | .// | /[cC]/* | \
   2155   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2156   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2157   /usr/ucb/* ) ;;
   2158   *)
   2159     # OSF1 and SCO ODT 3.0 have their own names for install.
   2160     # Don't use installbsd from OSF since it installs stuff as root
   2161     # by default.
   2162     for ac_prog in ginstall scoinst install; do
   2163       for ac_exec_ext in '' $ac_executable_extensions; do
   2164 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2165 	  if test $ac_prog = install &&
   2166 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2167 	    # AIX install.  It has an incompatible calling convention.
   2168 	    :
   2169 	  elif test $ac_prog = install &&
   2170 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2171 	    # program-specific install script used by HP pwplus--don't use.
   2172 	    :
   2173 	  else
   2174 	    rm -rf conftest.one conftest.two conftest.dir
   2175 	    echo one > conftest.one
   2176 	    echo two > conftest.two
   2177 	    mkdir conftest.dir
   2178 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2179 	      test -s conftest.one && test -s conftest.two &&
   2180 	      test -s conftest.dir/conftest.one &&
   2181 	      test -s conftest.dir/conftest.two
   2182 	    then
   2183 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2184 	      break 3
   2185 	    fi
   2186 	  fi
   2187 	fi
   2188       done
   2189     done
   2190     ;;
   2191 esac
   2192 
   2193   done
   2194 IFS=$as_save_IFS
   2195 
   2196 rm -rf conftest.one conftest.two conftest.dir
   2197 
   2198 fi
   2199   if test "${ac_cv_path_install+set}" = set; then
   2200     INSTALL=$ac_cv_path_install
   2201   else
   2202     # As a last resort, use the slow shell script.  Don't cache a
   2203     # value for INSTALL within a source directory, because that will
   2204     # break other packages using the cache if that directory is
   2205     # removed, or if the value is a relative name.
   2206     INSTALL=$ac_install_sh
   2207   fi
   2208 fi
   2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2210 $as_echo "$INSTALL" >&6; }
   2211 
   2212 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2213 # It thinks the first close brace ends the variable substitution.
   2214 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2215 
   2216 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2217 
   2218 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2219 
   2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2221 $as_echo_n "checking whether build environment is sane... " >&6; }
   2222 # Reject unsafe characters in $srcdir or the absolute working directory
   2223 # name.  Accept space and tab only in the latter.
   2224 am_lf='
   2225 '
   2226 case `pwd` in
   2227   *[\\\"\#\$\&\'\`$am_lf]*)
   2228     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2229 esac
   2230 case $srcdir in
   2231   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2232     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2233 esac
   2234 
   2235 # Do 'set' in a subshell so we don't clobber the current shell's
   2236 # arguments.  Must try -L first in case configure is actually a
   2237 # symlink; some systems play weird games with the mod time of symlinks
   2238 # (eg FreeBSD returns the mod time of the symlink's containing
   2239 # directory).
   2240 if (
   2241    am_has_slept=no
   2242    for am_try in 1 2; do
   2243      echo "timestamp, slept: $am_has_slept" > conftest.file
   2244      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2245      if test "$*" = "X"; then
   2246 	# -L didn't work.
   2247 	set X `ls -t "$srcdir/configure" conftest.file`
   2248      fi
   2249      if test "$*" != "X $srcdir/configure conftest.file" \
   2250 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2251 
   2252 	# If neither matched, then we have a broken ls.  This can happen
   2253 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2254 	# broken ls alias from the environment.  This has actually
   2255 	# happened.  Such a system could not be considered "sane".
   2256 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2257   alias in your environment" "$LINENO" 5
   2258      fi
   2259      if test "$2" = conftest.file || test $am_try -eq 2; then
   2260        break
   2261      fi
   2262      # Just in case.
   2263      sleep 1
   2264      am_has_slept=yes
   2265    done
   2266    test "$2" = conftest.file
   2267    )
   2268 then
   2269    # Ok.
   2270    :
   2271 else
   2272    as_fn_error $? "newly created file is older than distributed files!
   2273 Check your system clock" "$LINENO" 5
   2274 fi
   2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2276 $as_echo "yes" >&6; }
   2277 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2278 # generated files are strictly newer.
   2279 am_sleep_pid=
   2280 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2281   ( sleep 1 ) &
   2282   am_sleep_pid=$!
   2283 fi
   2284 
   2285 rm -f conftest.file
   2286 
   2287 test "$program_prefix" != NONE &&
   2288   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2289 # Use a double $ so make ignores it.
   2290 test "$program_suffix" != NONE &&
   2291   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2292 # Double any \ or $.
   2293 # By default was `s,x,x', remove it if useless.
   2294 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2295 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2296 
   2297 # Expand $ac_aux_dir to an absolute path.
   2298 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2299 
   2300 if test x"${MISSING+set}" != xset; then
   2301   case $am_aux_dir in
   2302   *\ * | *\	*)
   2303     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2304   *)
   2305     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2306   esac
   2307 fi
   2308 # Use eval to expand $SHELL
   2309 if eval "$MISSING --is-lightweight"; then
   2310   am_missing_run="$MISSING "
   2311 else
   2312   am_missing_run=
   2313   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2314 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2315 fi
   2316 
   2317 if test x"${install_sh+set}" != xset; then
   2318   case $am_aux_dir in
   2319   *\ * | *\	*)
   2320     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2321   *)
   2322     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2323   esac
   2324 fi
   2325 
   2326 # Installed binaries are usually stripped using 'strip' when the user
   2327 # run "make install-strip".  However 'strip' might not be the right
   2328 # tool to use in cross-compilation environments, therefore Automake
   2329 # will honor the 'STRIP' environment variable to overrule this program.
   2330 if test "$cross_compiling" != no; then
   2331   if test -n "$ac_tool_prefix"; then
   2332   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2333 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2335 $as_echo_n "checking for $ac_word... " >&6; }
   2336 if ${ac_cv_prog_STRIP+:} false; then :
   2337   $as_echo_n "(cached) " >&6
   2338 else
   2339   if test -n "$STRIP"; then
   2340   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2341 else
   2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2343 for as_dir in $PATH
   2344 do
   2345   IFS=$as_save_IFS
   2346   test -z "$as_dir" && as_dir=.
   2347     for ac_exec_ext in '' $ac_executable_extensions; do
   2348   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2349     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2351     break 2
   2352   fi
   2353 done
   2354   done
   2355 IFS=$as_save_IFS
   2356 
   2357 fi
   2358 fi
   2359 STRIP=$ac_cv_prog_STRIP
   2360 if test -n "$STRIP"; then
   2361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2362 $as_echo "$STRIP" >&6; }
   2363 else
   2364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2365 $as_echo "no" >&6; }
   2366 fi
   2367 
   2368 
   2369 fi
   2370 if test -z "$ac_cv_prog_STRIP"; then
   2371   ac_ct_STRIP=$STRIP
   2372   # Extract the first word of "strip", so it can be a program name with args.
   2373 set dummy strip; ac_word=$2
   2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2375 $as_echo_n "checking for $ac_word... " >&6; }
   2376 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2377   $as_echo_n "(cached) " >&6
   2378 else
   2379   if test -n "$ac_ct_STRIP"; then
   2380   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2381 else
   2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2383 for as_dir in $PATH
   2384 do
   2385   IFS=$as_save_IFS
   2386   test -z "$as_dir" && as_dir=.
   2387     for ac_exec_ext in '' $ac_executable_extensions; do
   2388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2389     ac_cv_prog_ac_ct_STRIP="strip"
   2390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2391     break 2
   2392   fi
   2393 done
   2394   done
   2395 IFS=$as_save_IFS
   2396 
   2397 fi
   2398 fi
   2399 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2400 if test -n "$ac_ct_STRIP"; then
   2401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2402 $as_echo "$ac_ct_STRIP" >&6; }
   2403 else
   2404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2405 $as_echo "no" >&6; }
   2406 fi
   2407 
   2408   if test "x$ac_ct_STRIP" = x; then
   2409     STRIP=":"
   2410   else
   2411     case $cross_compiling:$ac_tool_warned in
   2412 yes:)
   2413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2415 ac_tool_warned=yes ;;
   2416 esac
   2417     STRIP=$ac_ct_STRIP
   2418   fi
   2419 else
   2420   STRIP="$ac_cv_prog_STRIP"
   2421 fi
   2422 
   2423 fi
   2424 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2425 
   2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2427 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2428 if test -z "$MKDIR_P"; then
   2429   if ${ac_cv_path_mkdir+:} false; then :
   2430   $as_echo_n "(cached) " >&6
   2431 else
   2432   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2433 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2434 do
   2435   IFS=$as_save_IFS
   2436   test -z "$as_dir" && as_dir=.
   2437     for ac_prog in mkdir gmkdir; do
   2438 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2439 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2440 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2441 	     'mkdir (GNU coreutils) '* | \
   2442 	     'mkdir (coreutils) '* | \
   2443 	     'mkdir (fileutils) '4.1*)
   2444 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2445 	       break 3;;
   2446 	   esac
   2447 	 done
   2448        done
   2449   done
   2450 IFS=$as_save_IFS
   2451 
   2452 fi
   2453 
   2454   test -d ./--version && rmdir ./--version
   2455   if test "${ac_cv_path_mkdir+set}" = set; then
   2456     MKDIR_P="$ac_cv_path_mkdir -p"
   2457   else
   2458     # As a last resort, use the slow shell script.  Don't cache a
   2459     # value for MKDIR_P within a source directory, because that will
   2460     # break other packages using the cache if that directory is
   2461     # removed, or if the value is a relative name.
   2462     MKDIR_P="$ac_install_sh -d"
   2463   fi
   2464 fi
   2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2466 $as_echo "$MKDIR_P" >&6; }
   2467 
   2468 for ac_prog in gawk mawk nawk awk
   2469 do
   2470   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2471 set dummy $ac_prog; ac_word=$2
   2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2473 $as_echo_n "checking for $ac_word... " >&6; }
   2474 if ${ac_cv_prog_AWK+:} false; then :
   2475   $as_echo_n "(cached) " >&6
   2476 else
   2477   if test -n "$AWK"; then
   2478   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2479 else
   2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2481 for as_dir in $PATH
   2482 do
   2483   IFS=$as_save_IFS
   2484   test -z "$as_dir" && as_dir=.
   2485     for ac_exec_ext in '' $ac_executable_extensions; do
   2486   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2487     ac_cv_prog_AWK="$ac_prog"
   2488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2489     break 2
   2490   fi
   2491 done
   2492   done
   2493 IFS=$as_save_IFS
   2494 
   2495 fi
   2496 fi
   2497 AWK=$ac_cv_prog_AWK
   2498 if test -n "$AWK"; then
   2499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2500 $as_echo "$AWK" >&6; }
   2501 else
   2502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2503 $as_echo "no" >&6; }
   2504 fi
   2505 
   2506 
   2507   test -n "$AWK" && break
   2508 done
   2509 
   2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2511 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2512 set x ${MAKE-make}
   2513 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2514 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2515   $as_echo_n "(cached) " >&6
   2516 else
   2517   cat >conftest.make <<\_ACEOF
   2518 SHELL = /bin/sh
   2519 all:
   2520 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2521 _ACEOF
   2522 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2523 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2524   *@@@%%%=?*=@@@%%%*)
   2525     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2526   *)
   2527     eval ac_cv_prog_make_${ac_make}_set=no;;
   2528 esac
   2529 rm -f conftest.make
   2530 fi
   2531 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2533 $as_echo "yes" >&6; }
   2534   SET_MAKE=
   2535 else
   2536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2537 $as_echo "no" >&6; }
   2538   SET_MAKE="MAKE=${MAKE-make}"
   2539 fi
   2540 
   2541 rm -rf .tst 2>/dev/null
   2542 mkdir .tst 2>/dev/null
   2543 if test -d .tst; then
   2544   am__leading_dot=.
   2545 else
   2546   am__leading_dot=_
   2547 fi
   2548 rmdir .tst 2>/dev/null
   2549 
   2550 # Check whether --enable-silent-rules was given.
   2551 if test "${enable_silent_rules+set}" = set; then :
   2552   enableval=$enable_silent_rules;
   2553 fi
   2554 
   2555 case $enable_silent_rules in # (((
   2556   yes) AM_DEFAULT_VERBOSITY=0;;
   2557    no) AM_DEFAULT_VERBOSITY=1;;
   2558     *) AM_DEFAULT_VERBOSITY=1;;
   2559 esac
   2560 am_make=${MAKE-make}
   2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2562 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2563 if ${am_cv_make_support_nested_variables+:} false; then :
   2564   $as_echo_n "(cached) " >&6
   2565 else
   2566   if $as_echo 'TRUE=$(BAR$(V))
   2567 BAR0=false
   2568 BAR1=true
   2569 V=1
   2570 am__doit:
   2571 	@$(TRUE)
   2572 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2573   am_cv_make_support_nested_variables=yes
   2574 else
   2575   am_cv_make_support_nested_variables=no
   2576 fi
   2577 fi
   2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2579 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2580 if test $am_cv_make_support_nested_variables = yes; then
   2581     AM_V='$(V)'
   2582   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2583 else
   2584   AM_V=$AM_DEFAULT_VERBOSITY
   2585   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2586 fi
   2587 AM_BACKSLASH='\'
   2588 
   2589 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2590   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2591   # is not polluted with repeated "-I."
   2592   am__isrc=' -I$(srcdir)'
   2593   # test to see if srcdir already configured
   2594   if test -f $srcdir/config.status; then
   2595     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2596   fi
   2597 fi
   2598 
   2599 # test whether we have cygpath
   2600 if test -z "$CYGPATH_W"; then
   2601   if (cygpath --version) >/dev/null 2>/dev/null; then
   2602     CYGPATH_W='cygpath -w'
   2603   else
   2604     CYGPATH_W=echo
   2605   fi
   2606 fi
   2607 
   2608 
   2609 # Define the identity of the package.
   2610  PACKAGE='xlsfonts'
   2611  VERSION='1.0.6'
   2612 
   2613 
   2614 cat >>confdefs.h <<_ACEOF
   2615 #define PACKAGE "$PACKAGE"
   2616 _ACEOF
   2617 
   2618 
   2619 cat >>confdefs.h <<_ACEOF
   2620 #define VERSION "$VERSION"
   2621 _ACEOF
   2622 
   2623 # Some tools Automake needs.
   2624 
   2625 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2626 
   2627 
   2628 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2629 
   2630 
   2631 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2632 
   2633 
   2634 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2635 
   2636 
   2637 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2638 
   2639 # For better backward compatibility.  To be removed once Automake 1.9.x
   2640 # dies out for good.  For more background, see:
   2641 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2642 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2643 mkdir_p='$(MKDIR_P)'
   2644 
   2645 # We need awk for the "check" target (and possibly the TAP driver).  The
   2646 # system "awk" is bad on some platforms.
   2647 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2648 # in the wild :-(  We should find a proper way to deprecate it ...
   2649 AMTAR='$${TAR-tar}'
   2650 
   2651 
   2652 # We'll loop over all known methods to create a tar archive until one works.
   2653 _am_tools='gnutar  pax cpio none'
   2654 
   2655 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2656 
   2657 
   2658 
   2659 
   2660 
   2661 
   2662 # POSIX will say in a future version that running "rm -f" with no argument
   2663 # is OK; and we want to be able to make that assumption in our Makefile
   2664 # recipes.  So use an aggressive probe to check that the usage we want is
   2665 # actually supported "in the wild" to an acceptable degree.
   2666 # See automake bug#10828.
   2667 # To make any issue more visible, cause the running configure to be aborted
   2668 # by default if the 'rm' program in use doesn't match our expectations; the
   2669 # user can still override this though.
   2670 if rm -f && rm -fr && rm -rf; then : OK; else
   2671   cat >&2 <<'END'
   2672 Oops!
   2673 
   2674 Your 'rm' program seems unable to run without file operands specified
   2675 on the command line, even when the '-f' option is present.  This is contrary
   2676 to the behaviour of most rm programs out there, and not conforming with
   2677 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2678 
   2679 Please tell bug-automake@gnu.org about your system, including the value
   2680 of your $PATH and any error possibly output before this message.  This
   2681 can help us improve future automake versions.
   2682 
   2683 END
   2684   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2685     echo 'Configuration will proceed anyway, since you have set the' >&2
   2686     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2687     echo >&2
   2688   else
   2689     cat >&2 <<'END'
   2690 Aborting the configuration process, to ensure you take notice of the issue.
   2691 
   2692 You can download and install GNU coreutils to get an 'rm' implementation
   2693 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2694 
   2695 If you want to complete the configuration process using your problematic
   2696 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2697 to "yes", and re-run configure.
   2698 
   2699 END
   2700     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2701   fi
   2702 fi
   2703 
   2704 
   2705 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2706 
   2707 
   2708 
   2709 
   2710 
   2711 
   2712 
   2713 
   2714 
   2715 
   2716 
   2717 DEPDIR="${am__leading_dot}deps"
   2718 
   2719 ac_config_commands="$ac_config_commands depfiles"
   2720 
   2721 
   2722 am_make=${MAKE-make}
   2723 cat > confinc << 'END'
   2724 am__doit:
   2725 	@echo this is the am__doit target
   2726 .PHONY: am__doit
   2727 END
   2728 # If we don't find an include directive, just comment out the code.
   2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2730 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2731 am__include="#"
   2732 am__quote=
   2733 _am_result=none
   2734 # First try GNU make style include.
   2735 echo "include confinc" > confmf
   2736 # Ignore all kinds of additional output from 'make'.
   2737 case `$am_make -s -f confmf 2> /dev/null` in #(
   2738 *the\ am__doit\ target*)
   2739   am__include=include
   2740   am__quote=
   2741   _am_result=GNU
   2742   ;;
   2743 esac
   2744 # Now try BSD make style include.
   2745 if test "$am__include" = "#"; then
   2746    echo '.include "confinc"' > confmf
   2747    case `$am_make -s -f confmf 2> /dev/null` in #(
   2748    *the\ am__doit\ target*)
   2749      am__include=.include
   2750      am__quote="\""
   2751      _am_result=BSD
   2752      ;;
   2753    esac
   2754 fi
   2755 
   2756 
   2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2758 $as_echo "$_am_result" >&6; }
   2759 rm -f confinc confmf
   2760 
   2761 # Check whether --enable-dependency-tracking was given.
   2762 if test "${enable_dependency_tracking+set}" = set; then :
   2763   enableval=$enable_dependency_tracking;
   2764 fi
   2765 
   2766 if test "x$enable_dependency_tracking" != xno; then
   2767   am_depcomp="$ac_aux_dir/depcomp"
   2768   AMDEPBACKSLASH='\'
   2769   am__nodep='_no'
   2770 fi
   2771  if test "x$enable_dependency_tracking" != xno; then
   2772   AMDEP_TRUE=
   2773   AMDEP_FALSE='#'
   2774 else
   2775   AMDEP_TRUE='#'
   2776   AMDEP_FALSE=
   2777 fi
   2778 
   2779 
   2780 ac_ext=c
   2781 ac_cpp='$CPP $CPPFLAGS'
   2782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2785 if test -n "$ac_tool_prefix"; then
   2786   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2787 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2789 $as_echo_n "checking for $ac_word... " >&6; }
   2790 if ${ac_cv_prog_CC+:} false; then :
   2791   $as_echo_n "(cached) " >&6
   2792 else
   2793   if test -n "$CC"; then
   2794   ac_cv_prog_CC="$CC" # Let the user override the test.
   2795 else
   2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2797 for as_dir in $PATH
   2798 do
   2799   IFS=$as_save_IFS
   2800   test -z "$as_dir" && as_dir=.
   2801     for ac_exec_ext in '' $ac_executable_extensions; do
   2802   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2803     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2805     break 2
   2806   fi
   2807 done
   2808   done
   2809 IFS=$as_save_IFS
   2810 
   2811 fi
   2812 fi
   2813 CC=$ac_cv_prog_CC
   2814 if test -n "$CC"; then
   2815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2816 $as_echo "$CC" >&6; }
   2817 else
   2818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2819 $as_echo "no" >&6; }
   2820 fi
   2821 
   2822 
   2823 fi
   2824 if test -z "$ac_cv_prog_CC"; then
   2825   ac_ct_CC=$CC
   2826   # Extract the first word of "gcc", so it can be a program name with args.
   2827 set dummy gcc; ac_word=$2
   2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2829 $as_echo_n "checking for $ac_word... " >&6; }
   2830 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2831   $as_echo_n "(cached) " >&6
   2832 else
   2833   if test -n "$ac_ct_CC"; then
   2834   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2835 else
   2836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2837 for as_dir in $PATH
   2838 do
   2839   IFS=$as_save_IFS
   2840   test -z "$as_dir" && as_dir=.
   2841     for ac_exec_ext in '' $ac_executable_extensions; do
   2842   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2843     ac_cv_prog_ac_ct_CC="gcc"
   2844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2845     break 2
   2846   fi
   2847 done
   2848   done
   2849 IFS=$as_save_IFS
   2850 
   2851 fi
   2852 fi
   2853 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2854 if test -n "$ac_ct_CC"; then
   2855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2856 $as_echo "$ac_ct_CC" >&6; }
   2857 else
   2858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2859 $as_echo "no" >&6; }
   2860 fi
   2861 
   2862   if test "x$ac_ct_CC" = x; then
   2863     CC=""
   2864   else
   2865     case $cross_compiling:$ac_tool_warned in
   2866 yes:)
   2867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2869 ac_tool_warned=yes ;;
   2870 esac
   2871     CC=$ac_ct_CC
   2872   fi
   2873 else
   2874   CC="$ac_cv_prog_CC"
   2875 fi
   2876 
   2877 if test -z "$CC"; then
   2878           if test -n "$ac_tool_prefix"; then
   2879     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2880 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2882 $as_echo_n "checking for $ac_word... " >&6; }
   2883 if ${ac_cv_prog_CC+:} false; then :
   2884   $as_echo_n "(cached) " >&6
   2885 else
   2886   if test -n "$CC"; then
   2887   ac_cv_prog_CC="$CC" # Let the user override the test.
   2888 else
   2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2890 for as_dir in $PATH
   2891 do
   2892   IFS=$as_save_IFS
   2893   test -z "$as_dir" && as_dir=.
   2894     for ac_exec_ext in '' $ac_executable_extensions; do
   2895   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2896     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2897     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2898     break 2
   2899   fi
   2900 done
   2901   done
   2902 IFS=$as_save_IFS
   2903 
   2904 fi
   2905 fi
   2906 CC=$ac_cv_prog_CC
   2907 if test -n "$CC"; then
   2908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2909 $as_echo "$CC" >&6; }
   2910 else
   2911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2912 $as_echo "no" >&6; }
   2913 fi
   2914 
   2915 
   2916   fi
   2917 fi
   2918 if test -z "$CC"; then
   2919   # Extract the first word of "cc", so it can be a program name with args.
   2920 set dummy cc; ac_word=$2
   2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2922 $as_echo_n "checking for $ac_word... " >&6; }
   2923 if ${ac_cv_prog_CC+:} false; then :
   2924   $as_echo_n "(cached) " >&6
   2925 else
   2926   if test -n "$CC"; then
   2927   ac_cv_prog_CC="$CC" # Let the user override the test.
   2928 else
   2929   ac_prog_rejected=no
   2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2931 for as_dir in $PATH
   2932 do
   2933   IFS=$as_save_IFS
   2934   test -z "$as_dir" && as_dir=.
   2935     for ac_exec_ext in '' $ac_executable_extensions; do
   2936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2937     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2938        ac_prog_rejected=yes
   2939        continue
   2940      fi
   2941     ac_cv_prog_CC="cc"
   2942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2943     break 2
   2944   fi
   2945 done
   2946   done
   2947 IFS=$as_save_IFS
   2948 
   2949 if test $ac_prog_rejected = yes; then
   2950   # We found a bogon in the path, so make sure we never use it.
   2951   set dummy $ac_cv_prog_CC
   2952   shift
   2953   if test $# != 0; then
   2954     # We chose a different compiler from the bogus one.
   2955     # However, it has the same basename, so the bogon will be chosen
   2956     # first if we set CC to just the basename; use the full file name.
   2957     shift
   2958     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2959   fi
   2960 fi
   2961 fi
   2962 fi
   2963 CC=$ac_cv_prog_CC
   2964 if test -n "$CC"; then
   2965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2966 $as_echo "$CC" >&6; }
   2967 else
   2968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2969 $as_echo "no" >&6; }
   2970 fi
   2971 
   2972 
   2973 fi
   2974 if test -z "$CC"; then
   2975   if test -n "$ac_tool_prefix"; then
   2976   for ac_prog in cl.exe
   2977   do
   2978     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2979 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2981 $as_echo_n "checking for $ac_word... " >&6; }
   2982 if ${ac_cv_prog_CC+:} false; then :
   2983   $as_echo_n "(cached) " >&6
   2984 else
   2985   if test -n "$CC"; then
   2986   ac_cv_prog_CC="$CC" # Let the user override the test.
   2987 else
   2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2989 for as_dir in $PATH
   2990 do
   2991   IFS=$as_save_IFS
   2992   test -z "$as_dir" && as_dir=.
   2993     for ac_exec_ext in '' $ac_executable_extensions; do
   2994   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2995     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2997     break 2
   2998   fi
   2999 done
   3000   done
   3001 IFS=$as_save_IFS
   3002 
   3003 fi
   3004 fi
   3005 CC=$ac_cv_prog_CC
   3006 if test -n "$CC"; then
   3007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3008 $as_echo "$CC" >&6; }
   3009 else
   3010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3011 $as_echo "no" >&6; }
   3012 fi
   3013 
   3014 
   3015     test -n "$CC" && break
   3016   done
   3017 fi
   3018 if test -z "$CC"; then
   3019   ac_ct_CC=$CC
   3020   for ac_prog in cl.exe
   3021 do
   3022   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3023 set dummy $ac_prog; ac_word=$2
   3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3025 $as_echo_n "checking for $ac_word... " >&6; }
   3026 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3027   $as_echo_n "(cached) " >&6
   3028 else
   3029   if test -n "$ac_ct_CC"; then
   3030   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3031 else
   3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3033 for as_dir in $PATH
   3034 do
   3035   IFS=$as_save_IFS
   3036   test -z "$as_dir" && as_dir=.
   3037     for ac_exec_ext in '' $ac_executable_extensions; do
   3038   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3039     ac_cv_prog_ac_ct_CC="$ac_prog"
   3040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3041     break 2
   3042   fi
   3043 done
   3044   done
   3045 IFS=$as_save_IFS
   3046 
   3047 fi
   3048 fi
   3049 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3050 if test -n "$ac_ct_CC"; then
   3051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3052 $as_echo "$ac_ct_CC" >&6; }
   3053 else
   3054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3055 $as_echo "no" >&6; }
   3056 fi
   3057 
   3058 
   3059   test -n "$ac_ct_CC" && break
   3060 done
   3061 
   3062   if test "x$ac_ct_CC" = x; then
   3063     CC=""
   3064   else
   3065     case $cross_compiling:$ac_tool_warned in
   3066 yes:)
   3067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3069 ac_tool_warned=yes ;;
   3070 esac
   3071     CC=$ac_ct_CC
   3072   fi
   3073 fi
   3074 
   3075 fi
   3076 
   3077 
   3078 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3080 as_fn_error $? "no acceptable C compiler found in \$PATH
   3081 See \`config.log' for more details" "$LINENO" 5; }
   3082 
   3083 # Provide some information about the compiler.
   3084 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3085 set X $ac_compile
   3086 ac_compiler=$2
   3087 for ac_option in --version -v -V -qversion; do
   3088   { { ac_try="$ac_compiler $ac_option >&5"
   3089 case "(($ac_try" in
   3090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3091   *) ac_try_echo=$ac_try;;
   3092 esac
   3093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3094 $as_echo "$ac_try_echo"; } >&5
   3095   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3096   ac_status=$?
   3097   if test -s conftest.err; then
   3098     sed '10a\
   3099 ... rest of stderr output deleted ...
   3100          10q' conftest.err >conftest.er1
   3101     cat conftest.er1 >&5
   3102   fi
   3103   rm -f conftest.er1 conftest.err
   3104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3105   test $ac_status = 0; }
   3106 done
   3107 
   3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3109 /* end confdefs.h.  */
   3110 
   3111 int
   3112 main ()
   3113 {
   3114 
   3115   ;
   3116   return 0;
   3117 }
   3118 _ACEOF
   3119 ac_clean_files_save=$ac_clean_files
   3120 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3121 # Try to create an executable without -o first, disregard a.out.
   3122 # It will help us diagnose broken compilers, and finding out an intuition
   3123 # of exeext.
   3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3125 $as_echo_n "checking whether the C compiler works... " >&6; }
   3126 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3127 
   3128 # The possible output files:
   3129 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3130 
   3131 ac_rmfiles=
   3132 for ac_file in $ac_files
   3133 do
   3134   case $ac_file in
   3135     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3136     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3137   esac
   3138 done
   3139 rm -f $ac_rmfiles
   3140 
   3141 if { { ac_try="$ac_link_default"
   3142 case "(($ac_try" in
   3143   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3144   *) ac_try_echo=$ac_try;;
   3145 esac
   3146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3147 $as_echo "$ac_try_echo"; } >&5
   3148   (eval "$ac_link_default") 2>&5
   3149   ac_status=$?
   3150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3151   test $ac_status = 0; }; then :
   3152   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3153 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3154 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3155 # so that the user can short-circuit this test for compilers unknown to
   3156 # Autoconf.
   3157 for ac_file in $ac_files ''
   3158 do
   3159   test -f "$ac_file" || continue
   3160   case $ac_file in
   3161     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3162 	;;
   3163     [ab].out )
   3164 	# We found the default executable, but exeext='' is most
   3165 	# certainly right.
   3166 	break;;
   3167     *.* )
   3168 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3169 	then :; else
   3170 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3171 	fi
   3172 	# We set ac_cv_exeext here because the later test for it is not
   3173 	# safe: cross compilers may not add the suffix if given an `-o'
   3174 	# argument, so we may need to know it at that point already.
   3175 	# Even if this section looks crufty: it has the advantage of
   3176 	# actually working.
   3177 	break;;
   3178     * )
   3179 	break;;
   3180   esac
   3181 done
   3182 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3183 
   3184 else
   3185   ac_file=''
   3186 fi
   3187 if test -z "$ac_file"; then :
   3188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3189 $as_echo "no" >&6; }
   3190 $as_echo "$as_me: failed program was:" >&5
   3191 sed 's/^/| /' conftest.$ac_ext >&5
   3192 
   3193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3195 as_fn_error 77 "C compiler cannot create executables
   3196 See \`config.log' for more details" "$LINENO" 5; }
   3197 else
   3198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3199 $as_echo "yes" >&6; }
   3200 fi
   3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3202 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3204 $as_echo "$ac_file" >&6; }
   3205 ac_exeext=$ac_cv_exeext
   3206 
   3207 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3208 ac_clean_files=$ac_clean_files_save
   3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3210 $as_echo_n "checking for suffix of executables... " >&6; }
   3211 if { { ac_try="$ac_link"
   3212 case "(($ac_try" in
   3213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3214   *) ac_try_echo=$ac_try;;
   3215 esac
   3216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3217 $as_echo "$ac_try_echo"; } >&5
   3218   (eval "$ac_link") 2>&5
   3219   ac_status=$?
   3220   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3221   test $ac_status = 0; }; then :
   3222   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3223 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3224 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3225 # `rm'.
   3226 for ac_file in conftest.exe conftest conftest.*; do
   3227   test -f "$ac_file" || continue
   3228   case $ac_file in
   3229     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3230     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3231 	  break;;
   3232     * ) break;;
   3233   esac
   3234 done
   3235 else
   3236   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3238 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3239 See \`config.log' for more details" "$LINENO" 5; }
   3240 fi
   3241 rm -f conftest conftest$ac_cv_exeext
   3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3243 $as_echo "$ac_cv_exeext" >&6; }
   3244 
   3245 rm -f conftest.$ac_ext
   3246 EXEEXT=$ac_cv_exeext
   3247 ac_exeext=$EXEEXT
   3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3249 /* end confdefs.h.  */
   3250 #include <stdio.h>
   3251 int
   3252 main ()
   3253 {
   3254 FILE *f = fopen ("conftest.out", "w");
   3255  return ferror (f) || fclose (f) != 0;
   3256 
   3257   ;
   3258   return 0;
   3259 }
   3260 _ACEOF
   3261 ac_clean_files="$ac_clean_files conftest.out"
   3262 # Check that the compiler produces executables we can run.  If not, either
   3263 # the compiler is broken, or we cross compile.
   3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3265 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3266 if test "$cross_compiling" != yes; then
   3267   { { ac_try="$ac_link"
   3268 case "(($ac_try" in
   3269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3270   *) ac_try_echo=$ac_try;;
   3271 esac
   3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3273 $as_echo "$ac_try_echo"; } >&5
   3274   (eval "$ac_link") 2>&5
   3275   ac_status=$?
   3276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3277   test $ac_status = 0; }
   3278   if { ac_try='./conftest$ac_cv_exeext'
   3279   { { case "(($ac_try" in
   3280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3281   *) ac_try_echo=$ac_try;;
   3282 esac
   3283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3284 $as_echo "$ac_try_echo"; } >&5
   3285   (eval "$ac_try") 2>&5
   3286   ac_status=$?
   3287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3288   test $ac_status = 0; }; }; then
   3289     cross_compiling=no
   3290   else
   3291     if test "$cross_compiling" = maybe; then
   3292 	cross_compiling=yes
   3293     else
   3294 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3296 as_fn_error $? "cannot run C compiled programs.
   3297 If you meant to cross compile, use \`--host'.
   3298 See \`config.log' for more details" "$LINENO" 5; }
   3299     fi
   3300   fi
   3301 fi
   3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3303 $as_echo "$cross_compiling" >&6; }
   3304 
   3305 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3306 ac_clean_files=$ac_clean_files_save
   3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3308 $as_echo_n "checking for suffix of object files... " >&6; }
   3309 if ${ac_cv_objext+:} false; then :
   3310   $as_echo_n "(cached) " >&6
   3311 else
   3312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3313 /* end confdefs.h.  */
   3314 
   3315 int
   3316 main ()
   3317 {
   3318 
   3319   ;
   3320   return 0;
   3321 }
   3322 _ACEOF
   3323 rm -f conftest.o conftest.obj
   3324 if { { ac_try="$ac_compile"
   3325 case "(($ac_try" in
   3326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3327   *) ac_try_echo=$ac_try;;
   3328 esac
   3329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3330 $as_echo "$ac_try_echo"; } >&5
   3331   (eval "$ac_compile") 2>&5
   3332   ac_status=$?
   3333   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3334   test $ac_status = 0; }; then :
   3335   for ac_file in conftest.o conftest.obj conftest.*; do
   3336   test -f "$ac_file" || continue;
   3337   case $ac_file in
   3338     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3339     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3340        break;;
   3341   esac
   3342 done
   3343 else
   3344   $as_echo "$as_me: failed program was:" >&5
   3345 sed 's/^/| /' conftest.$ac_ext >&5
   3346 
   3347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3349 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3350 See \`config.log' for more details" "$LINENO" 5; }
   3351 fi
   3352 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3353 fi
   3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3355 $as_echo "$ac_cv_objext" >&6; }
   3356 OBJEXT=$ac_cv_objext
   3357 ac_objext=$OBJEXT
   3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3359 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3360 if ${ac_cv_c_compiler_gnu+:} false; then :
   3361   $as_echo_n "(cached) " >&6
   3362 else
   3363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3364 /* end confdefs.h.  */
   3365 
   3366 int
   3367 main ()
   3368 {
   3369 #ifndef __GNUC__
   3370        choke me
   3371 #endif
   3372 
   3373   ;
   3374   return 0;
   3375 }
   3376 _ACEOF
   3377 if ac_fn_c_try_compile "$LINENO"; then :
   3378   ac_compiler_gnu=yes
   3379 else
   3380   ac_compiler_gnu=no
   3381 fi
   3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3383 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3384 
   3385 fi
   3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3387 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3388 if test $ac_compiler_gnu = yes; then
   3389   GCC=yes
   3390 else
   3391   GCC=
   3392 fi
   3393 ac_test_CFLAGS=${CFLAGS+set}
   3394 ac_save_CFLAGS=$CFLAGS
   3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3396 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3397 if ${ac_cv_prog_cc_g+:} false; then :
   3398   $as_echo_n "(cached) " >&6
   3399 else
   3400   ac_save_c_werror_flag=$ac_c_werror_flag
   3401    ac_c_werror_flag=yes
   3402    ac_cv_prog_cc_g=no
   3403    CFLAGS="-g"
   3404    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3405 /* end confdefs.h.  */
   3406 
   3407 int
   3408 main ()
   3409 {
   3410 
   3411   ;
   3412   return 0;
   3413 }
   3414 _ACEOF
   3415 if ac_fn_c_try_compile "$LINENO"; then :
   3416   ac_cv_prog_cc_g=yes
   3417 else
   3418   CFLAGS=""
   3419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3420 /* end confdefs.h.  */
   3421 
   3422 int
   3423 main ()
   3424 {
   3425 
   3426   ;
   3427   return 0;
   3428 }
   3429 _ACEOF
   3430 if ac_fn_c_try_compile "$LINENO"; then :
   3431 
   3432 else
   3433   ac_c_werror_flag=$ac_save_c_werror_flag
   3434 	 CFLAGS="-g"
   3435 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3436 /* end confdefs.h.  */
   3437 
   3438 int
   3439 main ()
   3440 {
   3441 
   3442   ;
   3443   return 0;
   3444 }
   3445 _ACEOF
   3446 if ac_fn_c_try_compile "$LINENO"; then :
   3447   ac_cv_prog_cc_g=yes
   3448 fi
   3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3450 fi
   3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3452 fi
   3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3454    ac_c_werror_flag=$ac_save_c_werror_flag
   3455 fi
   3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3457 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3458 if test "$ac_test_CFLAGS" = set; then
   3459   CFLAGS=$ac_save_CFLAGS
   3460 elif test $ac_cv_prog_cc_g = yes; then
   3461   if test "$GCC" = yes; then
   3462     CFLAGS="-g -O2"
   3463   else
   3464     CFLAGS="-g"
   3465   fi
   3466 else
   3467   if test "$GCC" = yes; then
   3468     CFLAGS="-O2"
   3469   else
   3470     CFLAGS=
   3471   fi
   3472 fi
   3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3474 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3475 if ${ac_cv_prog_cc_c89+:} false; then :
   3476   $as_echo_n "(cached) " >&6
   3477 else
   3478   ac_cv_prog_cc_c89=no
   3479 ac_save_CC=$CC
   3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3481 /* end confdefs.h.  */
   3482 #include <stdarg.h>
   3483 #include <stdio.h>
   3484 struct stat;
   3485 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3486 struct buf { int x; };
   3487 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3488 static char *e (p, i)
   3489      char **p;
   3490      int i;
   3491 {
   3492   return p[i];
   3493 }
   3494 static char *f (char * (*g) (char **, int), char **p, ...)
   3495 {
   3496   char *s;
   3497   va_list v;
   3498   va_start (v,p);
   3499   s = g (p, va_arg (v,int));
   3500   va_end (v);
   3501   return s;
   3502 }
   3503 
   3504 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3505    function prototypes and stuff, but not '\xHH' hex character constants.
   3506    These don't provoke an error unfortunately, instead are silently treated
   3507    as 'x'.  The following induces an error, until -std is added to get
   3508    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3509    array size at least.  It's necessary to write '\x00'==0 to get something
   3510    that's true only with -std.  */
   3511 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3512 
   3513 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3514    inside strings and character constants.  */
   3515 #define FOO(x) 'x'
   3516 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3517 
   3518 int test (int i, double x);
   3519 struct s1 {int (*f) (int a);};
   3520 struct s2 {int (*f) (double a);};
   3521 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3522 int argc;
   3523 char **argv;
   3524 int
   3525 main ()
   3526 {
   3527 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3528   ;
   3529   return 0;
   3530 }
   3531 _ACEOF
   3532 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3533 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3534 do
   3535   CC="$ac_save_CC $ac_arg"
   3536   if ac_fn_c_try_compile "$LINENO"; then :
   3537   ac_cv_prog_cc_c89=$ac_arg
   3538 fi
   3539 rm -f core conftest.err conftest.$ac_objext
   3540   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3541 done
   3542 rm -f conftest.$ac_ext
   3543 CC=$ac_save_CC
   3544 
   3545 fi
   3546 # AC_CACHE_VAL
   3547 case "x$ac_cv_prog_cc_c89" in
   3548   x)
   3549     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3550 $as_echo "none needed" >&6; } ;;
   3551   xno)
   3552     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3553 $as_echo "unsupported" >&6; } ;;
   3554   *)
   3555     CC="$CC $ac_cv_prog_cc_c89"
   3556     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3557 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3558 esac
   3559 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3560 
   3561 fi
   3562 
   3563 ac_ext=c
   3564 ac_cpp='$CPP $CPPFLAGS'
   3565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3568 
   3569 ac_ext=c
   3570 ac_cpp='$CPP $CPPFLAGS'
   3571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3575 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3576 if ${am_cv_prog_cc_c_o+:} false; then :
   3577   $as_echo_n "(cached) " >&6
   3578 else
   3579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3580 /* end confdefs.h.  */
   3581 
   3582 int
   3583 main ()
   3584 {
   3585 
   3586   ;
   3587   return 0;
   3588 }
   3589 _ACEOF
   3590   # Make sure it works both with $CC and with simple cc.
   3591   # Following AC_PROG_CC_C_O, we do the test twice because some
   3592   # compilers refuse to overwrite an existing .o file with -o,
   3593   # though they will create one.
   3594   am_cv_prog_cc_c_o=yes
   3595   for am_i in 1 2; do
   3596     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3597    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3598    ac_status=$?
   3599    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3600    (exit $ac_status); } \
   3601          && test -f conftest2.$ac_objext; then
   3602       : OK
   3603     else
   3604       am_cv_prog_cc_c_o=no
   3605       break
   3606     fi
   3607   done
   3608   rm -f core conftest*
   3609   unset am_i
   3610 fi
   3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3612 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3613 if test "$am_cv_prog_cc_c_o" != yes; then
   3614    # Losing compiler, so override with the script.
   3615    # FIXME: It is wrong to rewrite CC.
   3616    # But if we don't then we get into trouble of one sort or another.
   3617    # A longer-term fix would be to have automake use am__CC in this case,
   3618    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3619    CC="$am_aux_dir/compile $CC"
   3620 fi
   3621 ac_ext=c
   3622 ac_cpp='$CPP $CPPFLAGS'
   3623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3626 
   3627 
   3628 depcc="$CC"   am_compiler_list=
   3629 
   3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3631 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3632 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3633   $as_echo_n "(cached) " >&6
   3634 else
   3635   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3636   # We make a subdir and do the tests there.  Otherwise we can end up
   3637   # making bogus files that we don't know about and never remove.  For
   3638   # instance it was reported that on HP-UX the gcc test will end up
   3639   # making a dummy file named 'D' -- because '-MD' means "put the output
   3640   # in D".
   3641   rm -rf conftest.dir
   3642   mkdir conftest.dir
   3643   # Copy depcomp to subdir because otherwise we won't find it if we're
   3644   # using a relative directory.
   3645   cp "$am_depcomp" conftest.dir
   3646   cd conftest.dir
   3647   # We will build objects and dependencies in a subdirectory because
   3648   # it helps to detect inapplicable dependency modes.  For instance
   3649   # both Tru64's cc and ICC support -MD to output dependencies as a
   3650   # side effect of compilation, but ICC will put the dependencies in
   3651   # the current directory while Tru64 will put them in the object
   3652   # directory.
   3653   mkdir sub
   3654 
   3655   am_cv_CC_dependencies_compiler_type=none
   3656   if test "$am_compiler_list" = ""; then
   3657      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3658   fi
   3659   am__universal=false
   3660   case " $depcc " in #(
   3661      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3662      esac
   3663 
   3664   for depmode in $am_compiler_list; do
   3665     # Setup a source with many dependencies, because some compilers
   3666     # like to wrap large dependency lists on column 80 (with \), and
   3667     # we should not choose a depcomp mode which is confused by this.
   3668     #
   3669     # We need to recreate these files for each test, as the compiler may
   3670     # overwrite some of them when testing with obscure command lines.
   3671     # This happens at least with the AIX C compiler.
   3672     : > sub/conftest.c
   3673     for i in 1 2 3 4 5 6; do
   3674       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3675       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3676       # Solaris 10 /bin/sh.
   3677       echo '/* dummy */' > sub/conftst$i.h
   3678     done
   3679     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3680 
   3681     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3682     # mode.  It turns out that the SunPro C++ compiler does not properly
   3683     # handle '-M -o', and we need to detect this.  Also, some Intel
   3684     # versions had trouble with output in subdirs.
   3685     am__obj=sub/conftest.${OBJEXT-o}
   3686     am__minus_obj="-o $am__obj"
   3687     case $depmode in
   3688     gcc)
   3689       # This depmode causes a compiler race in universal mode.
   3690       test "$am__universal" = false || continue
   3691       ;;
   3692     nosideeffect)
   3693       # After this tag, mechanisms are not by side-effect, so they'll
   3694       # only be used when explicitly requested.
   3695       if test "x$enable_dependency_tracking" = xyes; then
   3696 	continue
   3697       else
   3698 	break
   3699       fi
   3700       ;;
   3701     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3702       # This compiler won't grok '-c -o', but also, the minuso test has
   3703       # not run yet.  These depmodes are late enough in the game, and
   3704       # so weak that their functioning should not be impacted.
   3705       am__obj=conftest.${OBJEXT-o}
   3706       am__minus_obj=
   3707       ;;
   3708     none) break ;;
   3709     esac
   3710     if depmode=$depmode \
   3711        source=sub/conftest.c object=$am__obj \
   3712        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3713        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3714          >/dev/null 2>conftest.err &&
   3715        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3716        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3717        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3718        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3719       # icc doesn't choke on unknown options, it will just issue warnings
   3720       # or remarks (even with -Werror).  So we grep stderr for any message
   3721       # that says an option was ignored or not supported.
   3722       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3723       #   icc: Command line warning: ignoring option '-M'; no argument required
   3724       # The diagnosis changed in icc 8.0:
   3725       #   icc: Command line remark: option '-MP' not supported
   3726       if (grep 'ignoring option' conftest.err ||
   3727           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3728         am_cv_CC_dependencies_compiler_type=$depmode
   3729         break
   3730       fi
   3731     fi
   3732   done
   3733 
   3734   cd ..
   3735   rm -rf conftest.dir
   3736 else
   3737   am_cv_CC_dependencies_compiler_type=none
   3738 fi
   3739 
   3740 fi
   3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3742 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3743 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3744 
   3745  if
   3746   test "x$enable_dependency_tracking" != xno \
   3747   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3748   am__fastdepCC_TRUE=
   3749   am__fastdepCC_FALSE='#'
   3750 else
   3751   am__fastdepCC_TRUE='#'
   3752   am__fastdepCC_FALSE=
   3753 fi
   3754 
   3755 
   3756    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3757 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3758 if ${ac_cv_prog_cc_c99+:} false; then :
   3759   $as_echo_n "(cached) " >&6
   3760 else
   3761   ac_cv_prog_cc_c99=no
   3762 ac_save_CC=$CC
   3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3764 /* end confdefs.h.  */
   3765 #include <stdarg.h>
   3766 #include <stdbool.h>
   3767 #include <stdlib.h>
   3768 #include <wchar.h>
   3769 #include <stdio.h>
   3770 
   3771 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3772 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3773 #define showlist(...) puts (#__VA_ARGS__)
   3774 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3775 static void
   3776 test_varargs_macros (void)
   3777 {
   3778   int x = 1234;
   3779   int y = 5678;
   3780   debug ("Flag");
   3781   debug ("X = %d\n", x);
   3782   showlist (The first, second, and third items.);
   3783   report (x>y, "x is %d but y is %d", x, y);
   3784 }
   3785 
   3786 // Check long long types.
   3787 #define BIG64 18446744073709551615ull
   3788 #define BIG32 4294967295ul
   3789 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3790 #if !BIG_OK
   3791   your preprocessor is broken;
   3792 #endif
   3793 #if BIG_OK
   3794 #else
   3795   your preprocessor is broken;
   3796 #endif
   3797 static long long int bignum = -9223372036854775807LL;
   3798 static unsigned long long int ubignum = BIG64;
   3799 
   3800 struct incomplete_array
   3801 {
   3802   int datasize;
   3803   double data[];
   3804 };
   3805 
   3806 struct named_init {
   3807   int number;
   3808   const wchar_t *name;
   3809   double average;
   3810 };
   3811 
   3812 typedef const char *ccp;
   3813 
   3814 static inline int
   3815 test_restrict (ccp restrict text)
   3816 {
   3817   // See if C++-style comments work.
   3818   // Iterate through items via the restricted pointer.
   3819   // Also check for declarations in for loops.
   3820   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3821     continue;
   3822   return 0;
   3823 }
   3824 
   3825 // Check varargs and va_copy.
   3826 static void
   3827 test_varargs (const char *format, ...)
   3828 {
   3829   va_list args;
   3830   va_start (args, format);
   3831   va_list args_copy;
   3832   va_copy (args_copy, args);
   3833 
   3834   const char *str;
   3835   int number;
   3836   float fnumber;
   3837 
   3838   while (*format)
   3839     {
   3840       switch (*format++)
   3841 	{
   3842 	case 's': // string
   3843 	  str = va_arg (args_copy, const char *);
   3844 	  break;
   3845 	case 'd': // int
   3846 	  number = va_arg (args_copy, int);
   3847 	  break;
   3848 	case 'f': // float
   3849 	  fnumber = va_arg (args_copy, double);
   3850 	  break;
   3851 	default:
   3852 	  break;
   3853 	}
   3854     }
   3855   va_end (args_copy);
   3856   va_end (args);
   3857 }
   3858 
   3859 int
   3860 main ()
   3861 {
   3862 
   3863   // Check bool.
   3864   _Bool success = false;
   3865 
   3866   // Check restrict.
   3867   if (test_restrict ("String literal") == 0)
   3868     success = true;
   3869   char *restrict newvar = "Another string";
   3870 
   3871   // Check varargs.
   3872   test_varargs ("s, d' f .", "string", 65, 34.234);
   3873   test_varargs_macros ();
   3874 
   3875   // Check flexible array members.
   3876   struct incomplete_array *ia =
   3877     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3878   ia->datasize = 10;
   3879   for (int i = 0; i < ia->datasize; ++i)
   3880     ia->data[i] = i * 1.234;
   3881 
   3882   // Check named initializers.
   3883   struct named_init ni = {
   3884     .number = 34,
   3885     .name = L"Test wide string",
   3886     .average = 543.34343,
   3887   };
   3888 
   3889   ni.number = 58;
   3890 
   3891   int dynamic_array[ni.number];
   3892   dynamic_array[ni.number - 1] = 543;
   3893 
   3894   // work around unused variable warnings
   3895   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3896 	  || dynamic_array[ni.number - 1] != 543);
   3897 
   3898   ;
   3899   return 0;
   3900 }
   3901 _ACEOF
   3902 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3903 do
   3904   CC="$ac_save_CC $ac_arg"
   3905   if ac_fn_c_try_compile "$LINENO"; then :
   3906   ac_cv_prog_cc_c99=$ac_arg
   3907 fi
   3908 rm -f core conftest.err conftest.$ac_objext
   3909   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3910 done
   3911 rm -f conftest.$ac_ext
   3912 CC=$ac_save_CC
   3913 
   3914 fi
   3915 # AC_CACHE_VAL
   3916 case "x$ac_cv_prog_cc_c99" in
   3917   x)
   3918     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3919 $as_echo "none needed" >&6; } ;;
   3920   xno)
   3921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3922 $as_echo "unsupported" >&6; } ;;
   3923   *)
   3924     CC="$CC $ac_cv_prog_cc_c99"
   3925     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3926 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3927 esac
   3928 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3929 
   3930 fi
   3931 
   3932 
   3933 
   3934 ac_ext=c
   3935 ac_cpp='$CPP $CPPFLAGS'
   3936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3940 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3941 # On Suns, sometimes $CPP names a directory.
   3942 if test -n "$CPP" && test -d "$CPP"; then
   3943   CPP=
   3944 fi
   3945 if test -z "$CPP"; then
   3946   if ${ac_cv_prog_CPP+:} false; then :
   3947   $as_echo_n "(cached) " >&6
   3948 else
   3949       # Double quotes because CPP needs to be expanded
   3950     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3951     do
   3952       ac_preproc_ok=false
   3953 for ac_c_preproc_warn_flag in '' yes
   3954 do
   3955   # Use a header file that comes with gcc, so configuring glibc
   3956   # with a fresh cross-compiler works.
   3957   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3958   # <limits.h> exists even on freestanding compilers.
   3959   # On the NeXT, cc -E runs the code through the compiler's parser,
   3960   # not just through cpp. "Syntax error" is here to catch this case.
   3961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3962 /* end confdefs.h.  */
   3963 #ifdef __STDC__
   3964 # include <limits.h>
   3965 #else
   3966 # include <assert.h>
   3967 #endif
   3968 		     Syntax error
   3969 _ACEOF
   3970 if ac_fn_c_try_cpp "$LINENO"; then :
   3971 
   3972 else
   3973   # Broken: fails on valid input.
   3974 continue
   3975 fi
   3976 rm -f conftest.err conftest.i conftest.$ac_ext
   3977 
   3978   # OK, works on sane cases.  Now check whether nonexistent headers
   3979   # can be detected and how.
   3980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3981 /* end confdefs.h.  */
   3982 #include <ac_nonexistent.h>
   3983 _ACEOF
   3984 if ac_fn_c_try_cpp "$LINENO"; then :
   3985   # Broken: success on invalid input.
   3986 continue
   3987 else
   3988   # Passes both tests.
   3989 ac_preproc_ok=:
   3990 break
   3991 fi
   3992 rm -f conftest.err conftest.i conftest.$ac_ext
   3993 
   3994 done
   3995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3996 rm -f conftest.i conftest.err conftest.$ac_ext
   3997 if $ac_preproc_ok; then :
   3998   break
   3999 fi
   4000 
   4001     done
   4002     ac_cv_prog_CPP=$CPP
   4003 
   4004 fi
   4005   CPP=$ac_cv_prog_CPP
   4006 else
   4007   ac_cv_prog_CPP=$CPP
   4008 fi
   4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4010 $as_echo "$CPP" >&6; }
   4011 ac_preproc_ok=false
   4012 for ac_c_preproc_warn_flag in '' yes
   4013 do
   4014   # Use a header file that comes with gcc, so configuring glibc
   4015   # with a fresh cross-compiler works.
   4016   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4017   # <limits.h> exists even on freestanding compilers.
   4018   # On the NeXT, cc -E runs the code through the compiler's parser,
   4019   # not just through cpp. "Syntax error" is here to catch this case.
   4020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4021 /* end confdefs.h.  */
   4022 #ifdef __STDC__
   4023 # include <limits.h>
   4024 #else
   4025 # include <assert.h>
   4026 #endif
   4027 		     Syntax error
   4028 _ACEOF
   4029 if ac_fn_c_try_cpp "$LINENO"; then :
   4030 
   4031 else
   4032   # Broken: fails on valid input.
   4033 continue
   4034 fi
   4035 rm -f conftest.err conftest.i conftest.$ac_ext
   4036 
   4037   # OK, works on sane cases.  Now check whether nonexistent headers
   4038   # can be detected and how.
   4039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4040 /* end confdefs.h.  */
   4041 #include <ac_nonexistent.h>
   4042 _ACEOF
   4043 if ac_fn_c_try_cpp "$LINENO"; then :
   4044   # Broken: success on invalid input.
   4045 continue
   4046 else
   4047   # Passes both tests.
   4048 ac_preproc_ok=:
   4049 break
   4050 fi
   4051 rm -f conftest.err conftest.i conftest.$ac_ext
   4052 
   4053 done
   4054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4055 rm -f conftest.i conftest.err conftest.$ac_ext
   4056 if $ac_preproc_ok; then :
   4057 
   4058 else
   4059   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4061 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4062 See \`config.log' for more details" "$LINENO" 5; }
   4063 fi
   4064 
   4065 ac_ext=c
   4066 ac_cpp='$CPP $CPPFLAGS'
   4067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4070 
   4071 
   4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4073 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4074 if ${ac_cv_path_GREP+:} false; then :
   4075   $as_echo_n "(cached) " >&6
   4076 else
   4077   if test -z "$GREP"; then
   4078   ac_path_GREP_found=false
   4079   # Loop through the user's path and test for each of PROGNAME-LIST
   4080   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4081 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4082 do
   4083   IFS=$as_save_IFS
   4084   test -z "$as_dir" && as_dir=.
   4085     for ac_prog in grep ggrep; do
   4086     for ac_exec_ext in '' $ac_executable_extensions; do
   4087       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4088       as_fn_executable_p "$ac_path_GREP" || continue
   4089 # Check for GNU ac_path_GREP and select it if it is found.
   4090   # Check for GNU $ac_path_GREP
   4091 case `"$ac_path_GREP" --version 2>&1` in
   4092 *GNU*)
   4093   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4094 *)
   4095   ac_count=0
   4096   $as_echo_n 0123456789 >"conftest.in"
   4097   while :
   4098   do
   4099     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4100     mv "conftest.tmp" "conftest.in"
   4101     cp "conftest.in" "conftest.nl"
   4102     $as_echo 'GREP' >> "conftest.nl"
   4103     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4104     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4105     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4106     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4107       # Best one so far, save it but keep looking for a better one
   4108       ac_cv_path_GREP="$ac_path_GREP"
   4109       ac_path_GREP_max=$ac_count
   4110     fi
   4111     # 10*(2^10) chars as input seems more than enough
   4112     test $ac_count -gt 10 && break
   4113   done
   4114   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4115 esac
   4116 
   4117       $ac_path_GREP_found && break 3
   4118     done
   4119   done
   4120   done
   4121 IFS=$as_save_IFS
   4122   if test -z "$ac_cv_path_GREP"; then
   4123     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4124   fi
   4125 else
   4126   ac_cv_path_GREP=$GREP
   4127 fi
   4128 
   4129 fi
   4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4131 $as_echo "$ac_cv_path_GREP" >&6; }
   4132  GREP="$ac_cv_path_GREP"
   4133 
   4134 
   4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4136 $as_echo_n "checking for egrep... " >&6; }
   4137 if ${ac_cv_path_EGREP+:} false; then :
   4138   $as_echo_n "(cached) " >&6
   4139 else
   4140   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4141    then ac_cv_path_EGREP="$GREP -E"
   4142    else
   4143      if test -z "$EGREP"; then
   4144   ac_path_EGREP_found=false
   4145   # Loop through the user's path and test for each of PROGNAME-LIST
   4146   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4147 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4148 do
   4149   IFS=$as_save_IFS
   4150   test -z "$as_dir" && as_dir=.
   4151     for ac_prog in egrep; do
   4152     for ac_exec_ext in '' $ac_executable_extensions; do
   4153       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4154       as_fn_executable_p "$ac_path_EGREP" || continue
   4155 # Check for GNU ac_path_EGREP and select it if it is found.
   4156   # Check for GNU $ac_path_EGREP
   4157 case `"$ac_path_EGREP" --version 2>&1` in
   4158 *GNU*)
   4159   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4160 *)
   4161   ac_count=0
   4162   $as_echo_n 0123456789 >"conftest.in"
   4163   while :
   4164   do
   4165     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4166     mv "conftest.tmp" "conftest.in"
   4167     cp "conftest.in" "conftest.nl"
   4168     $as_echo 'EGREP' >> "conftest.nl"
   4169     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4170     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4171     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4172     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4173       # Best one so far, save it but keep looking for a better one
   4174       ac_cv_path_EGREP="$ac_path_EGREP"
   4175       ac_path_EGREP_max=$ac_count
   4176     fi
   4177     # 10*(2^10) chars as input seems more than enough
   4178     test $ac_count -gt 10 && break
   4179   done
   4180   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4181 esac
   4182 
   4183       $ac_path_EGREP_found && break 3
   4184     done
   4185   done
   4186   done
   4187 IFS=$as_save_IFS
   4188   if test -z "$ac_cv_path_EGREP"; then
   4189     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4190   fi
   4191 else
   4192   ac_cv_path_EGREP=$EGREP
   4193 fi
   4194 
   4195    fi
   4196 fi
   4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4198 $as_echo "$ac_cv_path_EGREP" >&6; }
   4199  EGREP="$ac_cv_path_EGREP"
   4200 
   4201 
   4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4203 $as_echo_n "checking for ANSI C header files... " >&6; }
   4204 if ${ac_cv_header_stdc+:} false; then :
   4205   $as_echo_n "(cached) " >&6
   4206 else
   4207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4208 /* end confdefs.h.  */
   4209 #include <stdlib.h>
   4210 #include <stdarg.h>
   4211 #include <string.h>
   4212 #include <float.h>
   4213 
   4214 int
   4215 main ()
   4216 {
   4217 
   4218   ;
   4219   return 0;
   4220 }
   4221 _ACEOF
   4222 if ac_fn_c_try_compile "$LINENO"; then :
   4223   ac_cv_header_stdc=yes
   4224 else
   4225   ac_cv_header_stdc=no
   4226 fi
   4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4228 
   4229 if test $ac_cv_header_stdc = yes; then
   4230   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4232 /* end confdefs.h.  */
   4233 #include <string.h>
   4234 
   4235 _ACEOF
   4236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4237   $EGREP "memchr" >/dev/null 2>&1; then :
   4238 
   4239 else
   4240   ac_cv_header_stdc=no
   4241 fi
   4242 rm -f conftest*
   4243 
   4244 fi
   4245 
   4246 if test $ac_cv_header_stdc = yes; then
   4247   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4249 /* end confdefs.h.  */
   4250 #include <stdlib.h>
   4251 
   4252 _ACEOF
   4253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4254   $EGREP "free" >/dev/null 2>&1; then :
   4255 
   4256 else
   4257   ac_cv_header_stdc=no
   4258 fi
   4259 rm -f conftest*
   4260 
   4261 fi
   4262 
   4263 if test $ac_cv_header_stdc = yes; then
   4264   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4265   if test "$cross_compiling" = yes; then :
   4266   :
   4267 else
   4268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4269 /* end confdefs.h.  */
   4270 #include <ctype.h>
   4271 #include <stdlib.h>
   4272 #if ((' ' & 0x0FF) == 0x020)
   4273 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4274 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4275 #else
   4276 # define ISLOWER(c) \
   4277 		   (('a' <= (c) && (c) <= 'i') \
   4278 		     || ('j' <= (c) && (c) <= 'r') \
   4279 		     || ('s' <= (c) && (c) <= 'z'))
   4280 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4281 #endif
   4282 
   4283 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4284 int
   4285 main ()
   4286 {
   4287   int i;
   4288   for (i = 0; i < 256; i++)
   4289     if (XOR (islower (i), ISLOWER (i))
   4290 	|| toupper (i) != TOUPPER (i))
   4291       return 2;
   4292   return 0;
   4293 }
   4294 _ACEOF
   4295 if ac_fn_c_try_run "$LINENO"; then :
   4296 
   4297 else
   4298   ac_cv_header_stdc=no
   4299 fi
   4300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4301   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4302 fi
   4303 
   4304 fi
   4305 fi
   4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4307 $as_echo "$ac_cv_header_stdc" >&6; }
   4308 if test $ac_cv_header_stdc = yes; then
   4309 
   4310 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4311 
   4312 fi
   4313 
   4314 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4315 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4316 		  inttypes.h stdint.h unistd.h
   4317 do :
   4318   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4319 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4320 "
   4321 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4322   cat >>confdefs.h <<_ACEOF
   4323 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4324 _ACEOF
   4325 
   4326 fi
   4327 
   4328 done
   4329 
   4330 
   4331 
   4332 
   4333 
   4334 
   4335 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4336 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4337   CLANGCC="yes"
   4338 else
   4339   CLANGCC="no"
   4340 fi
   4341 
   4342 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4343 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4344   INTELCC="yes"
   4345 else
   4346   INTELCC="no"
   4347 fi
   4348 
   4349 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4350 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4351   SUNCC="yes"
   4352 else
   4353   SUNCC="no"
   4354 fi
   4355 
   4356 
   4357 
   4358 
   4359 
   4360 
   4361 
   4362 
   4363 
   4364 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4365 	if test -n "$ac_tool_prefix"; then
   4366   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4367 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4369 $as_echo_n "checking for $ac_word... " >&6; }
   4370 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4371   $as_echo_n "(cached) " >&6
   4372 else
   4373   case $PKG_CONFIG in
   4374   [\\/]* | ?:[\\/]*)
   4375   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4376   ;;
   4377   *)
   4378   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4379 for as_dir in $PATH
   4380 do
   4381   IFS=$as_save_IFS
   4382   test -z "$as_dir" && as_dir=.
   4383     for ac_exec_ext in '' $ac_executable_extensions; do
   4384   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4385     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4387     break 2
   4388   fi
   4389 done
   4390   done
   4391 IFS=$as_save_IFS
   4392 
   4393   ;;
   4394 esac
   4395 fi
   4396 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4397 if test -n "$PKG_CONFIG"; then
   4398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4399 $as_echo "$PKG_CONFIG" >&6; }
   4400 else
   4401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4402 $as_echo "no" >&6; }
   4403 fi
   4404 
   4405 
   4406 fi
   4407 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4408   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4409   # Extract the first word of "pkg-config", so it can be a program name with args.
   4410 set dummy pkg-config; ac_word=$2
   4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4412 $as_echo_n "checking for $ac_word... " >&6; }
   4413 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4414   $as_echo_n "(cached) " >&6
   4415 else
   4416   case $ac_pt_PKG_CONFIG in
   4417   [\\/]* | ?:[\\/]*)
   4418   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4419   ;;
   4420   *)
   4421   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4422 for as_dir in $PATH
   4423 do
   4424   IFS=$as_save_IFS
   4425   test -z "$as_dir" && as_dir=.
   4426     for ac_exec_ext in '' $ac_executable_extensions; do
   4427   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4428     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4430     break 2
   4431   fi
   4432 done
   4433   done
   4434 IFS=$as_save_IFS
   4435 
   4436   ;;
   4437 esac
   4438 fi
   4439 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4440 if test -n "$ac_pt_PKG_CONFIG"; then
   4441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4442 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4443 else
   4444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4445 $as_echo "no" >&6; }
   4446 fi
   4447 
   4448   if test "x$ac_pt_PKG_CONFIG" = x; then
   4449     PKG_CONFIG=""
   4450   else
   4451     case $cross_compiling:$ac_tool_warned in
   4452 yes:)
   4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4455 ac_tool_warned=yes ;;
   4456 esac
   4457     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4458   fi
   4459 else
   4460   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4461 fi
   4462 
   4463 fi
   4464 if test -n "$PKG_CONFIG"; then
   4465 	_pkg_min_version=0.9.0
   4466 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4467 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4468 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4470 $as_echo "yes" >&6; }
   4471 	else
   4472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4473 $as_echo "no" >&6; }
   4474 		PKG_CONFIG=""
   4475 	fi
   4476 fi
   4477 # Make sure we can run config.sub.
   4478 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4479   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4480 
   4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4482 $as_echo_n "checking build system type... " >&6; }
   4483 if ${ac_cv_build+:} false; then :
   4484   $as_echo_n "(cached) " >&6
   4485 else
   4486   ac_build_alias=$build_alias
   4487 test "x$ac_build_alias" = x &&
   4488   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4489 test "x$ac_build_alias" = x &&
   4490   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4491 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4492   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4493 
   4494 fi
   4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4496 $as_echo "$ac_cv_build" >&6; }
   4497 case $ac_cv_build in
   4498 *-*-*) ;;
   4499 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4500 esac
   4501 build=$ac_cv_build
   4502 ac_save_IFS=$IFS; IFS='-'
   4503 set x $ac_cv_build
   4504 shift
   4505 build_cpu=$1
   4506 build_vendor=$2
   4507 shift; shift
   4508 # Remember, the first character of IFS is used to create $*,
   4509 # except with old shells:
   4510 build_os=$*
   4511 IFS=$ac_save_IFS
   4512 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4513 
   4514 
   4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4516 $as_echo_n "checking host system type... " >&6; }
   4517 if ${ac_cv_host+:} false; then :
   4518   $as_echo_n "(cached) " >&6
   4519 else
   4520   if test "x$host_alias" = x; then
   4521   ac_cv_host=$ac_cv_build
   4522 else
   4523   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4524     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4525 fi
   4526 
   4527 fi
   4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4529 $as_echo "$ac_cv_host" >&6; }
   4530 case $ac_cv_host in
   4531 *-*-*) ;;
   4532 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4533 esac
   4534 host=$ac_cv_host
   4535 ac_save_IFS=$IFS; IFS='-'
   4536 set x $ac_cv_host
   4537 shift
   4538 host_cpu=$1
   4539 host_vendor=$2
   4540 shift; shift
   4541 # Remember, the first character of IFS is used to create $*,
   4542 # except with old shells:
   4543 host_os=$*
   4544 IFS=$ac_save_IFS
   4545 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4546 
   4547 
   4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4549 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4550 if ${ac_cv_path_SED+:} false; then :
   4551   $as_echo_n "(cached) " >&6
   4552 else
   4553             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4554      for ac_i in 1 2 3 4 5 6 7; do
   4555        ac_script="$ac_script$as_nl$ac_script"
   4556      done
   4557      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4558      { ac_script=; unset ac_script;}
   4559      if test -z "$SED"; then
   4560   ac_path_SED_found=false
   4561   # Loop through the user's path and test for each of PROGNAME-LIST
   4562   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4563 for as_dir in $PATH
   4564 do
   4565   IFS=$as_save_IFS
   4566   test -z "$as_dir" && as_dir=.
   4567     for ac_prog in sed gsed; do
   4568     for ac_exec_ext in '' $ac_executable_extensions; do
   4569       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4570       as_fn_executable_p "$ac_path_SED" || continue
   4571 # Check for GNU ac_path_SED and select it if it is found.
   4572   # Check for GNU $ac_path_SED
   4573 case `"$ac_path_SED" --version 2>&1` in
   4574 *GNU*)
   4575   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4576 *)
   4577   ac_count=0
   4578   $as_echo_n 0123456789 >"conftest.in"
   4579   while :
   4580   do
   4581     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4582     mv "conftest.tmp" "conftest.in"
   4583     cp "conftest.in" "conftest.nl"
   4584     $as_echo '' >> "conftest.nl"
   4585     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4586     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4587     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4588     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4589       # Best one so far, save it but keep looking for a better one
   4590       ac_cv_path_SED="$ac_path_SED"
   4591       ac_path_SED_max=$ac_count
   4592     fi
   4593     # 10*(2^10) chars as input seems more than enough
   4594     test $ac_count -gt 10 && break
   4595   done
   4596   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4597 esac
   4598 
   4599       $ac_path_SED_found && break 3
   4600     done
   4601   done
   4602   done
   4603 IFS=$as_save_IFS
   4604   if test -z "$ac_cv_path_SED"; then
   4605     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4606   fi
   4607 else
   4608   ac_cv_path_SED=$SED
   4609 fi
   4610 
   4611 fi
   4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4613 $as_echo "$ac_cv_path_SED" >&6; }
   4614  SED="$ac_cv_path_SED"
   4615   rm -f conftest.sed
   4616 
   4617 
   4618 
   4619 
   4620 
   4621 
   4622 # Check whether --enable-selective-werror was given.
   4623 if test "${enable_selective_werror+set}" = set; then :
   4624   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4625 else
   4626   SELECTIVE_WERROR=yes
   4627 fi
   4628 
   4629 
   4630 
   4631 
   4632 
   4633 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4634 if test "x$SUNCC" = "xyes"; then
   4635     BASE_CFLAGS="-v"
   4636 else
   4637     BASE_CFLAGS=""
   4638 fi
   4639 
   4640 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 
   4650 
   4651 
   4652 
   4653 
   4654 xorg_testset_save_CFLAGS="$CFLAGS"
   4655 
   4656 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4657 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4658 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4659 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4660 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4661   $as_echo_n "(cached) " >&6
   4662 else
   4663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4664 /* end confdefs.h.  */
   4665 int i;
   4666 _ACEOF
   4667 if ac_fn_c_try_compile "$LINENO"; then :
   4668   xorg_cv_cc_flag_unknown_warning_option=yes
   4669 else
   4670   xorg_cv_cc_flag_unknown_warning_option=no
   4671 fi
   4672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4673 fi
   4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4675 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4676 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4677 	CFLAGS="$xorg_testset_save_CFLAGS"
   4678 fi
   4679 
   4680 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4681 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4682 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4683 	fi
   4684 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4686 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4687 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4688   $as_echo_n "(cached) " >&6
   4689 else
   4690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4691 /* end confdefs.h.  */
   4692 int i;
   4693 _ACEOF
   4694 if ac_fn_c_try_compile "$LINENO"; then :
   4695   xorg_cv_cc_flag_unused_command_line_argument=yes
   4696 else
   4697   xorg_cv_cc_flag_unused_command_line_argument=no
   4698 fi
   4699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4700 fi
   4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4702 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4703 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4704 	CFLAGS="$xorg_testset_save_CFLAGS"
   4705 fi
   4706 
   4707 found="no"
   4708 
   4709 	if test $found = "no" ; then
   4710 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4711 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4712 		fi
   4713 
   4714 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4715 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4716 		fi
   4717 
   4718 		CFLAGS="$CFLAGS -Wall"
   4719 
   4720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4721 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4722 		cacheid=xorg_cv_cc_flag__Wall
   4723 		if eval \${$cacheid+:} false; then :
   4724   $as_echo_n "(cached) " >&6
   4725 else
   4726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4727 /* end confdefs.h.  */
   4728 int i;
   4729 int
   4730 main ()
   4731 {
   4732 
   4733   ;
   4734   return 0;
   4735 }
   4736 _ACEOF
   4737 if ac_fn_c_try_link "$LINENO"; then :
   4738   eval $cacheid=yes
   4739 else
   4740   eval $cacheid=no
   4741 fi
   4742 rm -f core conftest.err conftest.$ac_objext \
   4743     conftest$ac_exeext conftest.$ac_ext
   4744 fi
   4745 
   4746 
   4747 		CFLAGS="$xorg_testset_save_CFLAGS"
   4748 
   4749 		eval supported=\$$cacheid
   4750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4751 $as_echo "$supported" >&6; }
   4752 		if test "$supported" = "yes" ; then
   4753 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4754 			found="yes"
   4755 		fi
   4756 	fi
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 xorg_testset_save_CFLAGS="$CFLAGS"
   4773 
   4774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4777 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4778 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4779   $as_echo_n "(cached) " >&6
   4780 else
   4781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4782 /* end confdefs.h.  */
   4783 int i;
   4784 _ACEOF
   4785 if ac_fn_c_try_compile "$LINENO"; then :
   4786   xorg_cv_cc_flag_unknown_warning_option=yes
   4787 else
   4788   xorg_cv_cc_flag_unknown_warning_option=no
   4789 fi
   4790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4791 fi
   4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4793 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4795 	CFLAGS="$xorg_testset_save_CFLAGS"
   4796 fi
   4797 
   4798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4801 	fi
   4802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4804 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4805 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4806   $as_echo_n "(cached) " >&6
   4807 else
   4808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4809 /* end confdefs.h.  */
   4810 int i;
   4811 _ACEOF
   4812 if ac_fn_c_try_compile "$LINENO"; then :
   4813   xorg_cv_cc_flag_unused_command_line_argument=yes
   4814 else
   4815   xorg_cv_cc_flag_unused_command_line_argument=no
   4816 fi
   4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4818 fi
   4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4820 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4822 	CFLAGS="$xorg_testset_save_CFLAGS"
   4823 fi
   4824 
   4825 found="no"
   4826 
   4827 	if test $found = "no" ; then
   4828 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4830 		fi
   4831 
   4832 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4834 		fi
   4835 
   4836 		CFLAGS="$CFLAGS -Wpointer-arith"
   4837 
   4838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4839 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4840 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4841 		if eval \${$cacheid+:} false; then :
   4842   $as_echo_n "(cached) " >&6
   4843 else
   4844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4845 /* end confdefs.h.  */
   4846 int i;
   4847 int
   4848 main ()
   4849 {
   4850 
   4851   ;
   4852   return 0;
   4853 }
   4854 _ACEOF
   4855 if ac_fn_c_try_link "$LINENO"; then :
   4856   eval $cacheid=yes
   4857 else
   4858   eval $cacheid=no
   4859 fi
   4860 rm -f core conftest.err conftest.$ac_objext \
   4861     conftest$ac_exeext conftest.$ac_ext
   4862 fi
   4863 
   4864 
   4865 		CFLAGS="$xorg_testset_save_CFLAGS"
   4866 
   4867 		eval supported=\$$cacheid
   4868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4869 $as_echo "$supported" >&6; }
   4870 		if test "$supported" = "yes" ; then
   4871 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4872 			found="yes"
   4873 		fi
   4874 	fi
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 xorg_testset_save_CFLAGS="$CFLAGS"
   4891 
   4892 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4893 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4895 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4896 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4897   $as_echo_n "(cached) " >&6
   4898 else
   4899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4900 /* end confdefs.h.  */
   4901 int i;
   4902 _ACEOF
   4903 if ac_fn_c_try_compile "$LINENO"; then :
   4904   xorg_cv_cc_flag_unknown_warning_option=yes
   4905 else
   4906   xorg_cv_cc_flag_unknown_warning_option=no
   4907 fi
   4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4909 fi
   4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4911 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4912 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4913 	CFLAGS="$xorg_testset_save_CFLAGS"
   4914 fi
   4915 
   4916 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4917 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4918 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4919 	fi
   4920 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4922 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4923 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4924   $as_echo_n "(cached) " >&6
   4925 else
   4926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4927 /* end confdefs.h.  */
   4928 int i;
   4929 _ACEOF
   4930 if ac_fn_c_try_compile "$LINENO"; then :
   4931   xorg_cv_cc_flag_unused_command_line_argument=yes
   4932 else
   4933   xorg_cv_cc_flag_unused_command_line_argument=no
   4934 fi
   4935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4936 fi
   4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4938 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4939 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4940 	CFLAGS="$xorg_testset_save_CFLAGS"
   4941 fi
   4942 
   4943 found="no"
   4944 
   4945 	if test $found = "no" ; then
   4946 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4947 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4948 		fi
   4949 
   4950 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4951 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4952 		fi
   4953 
   4954 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4955 
   4956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4957 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4958 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4959 		if eval \${$cacheid+:} false; then :
   4960   $as_echo_n "(cached) " >&6
   4961 else
   4962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4963 /* end confdefs.h.  */
   4964 int i;
   4965 int
   4966 main ()
   4967 {
   4968 
   4969   ;
   4970   return 0;
   4971 }
   4972 _ACEOF
   4973 if ac_fn_c_try_link "$LINENO"; then :
   4974   eval $cacheid=yes
   4975 else
   4976   eval $cacheid=no
   4977 fi
   4978 rm -f core conftest.err conftest.$ac_objext \
   4979     conftest$ac_exeext conftest.$ac_ext
   4980 fi
   4981 
   4982 
   4983 		CFLAGS="$xorg_testset_save_CFLAGS"
   4984 
   4985 		eval supported=\$$cacheid
   4986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4987 $as_echo "$supported" >&6; }
   4988 		if test "$supported" = "yes" ; then
   4989 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4990 			found="yes"
   4991 		fi
   4992 	fi
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 xorg_testset_save_CFLAGS="$CFLAGS"
   5009 
   5010 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5011 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5013 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5014 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5015   $as_echo_n "(cached) " >&6
   5016 else
   5017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5018 /* end confdefs.h.  */
   5019 int i;
   5020 _ACEOF
   5021 if ac_fn_c_try_compile "$LINENO"; then :
   5022   xorg_cv_cc_flag_unknown_warning_option=yes
   5023 else
   5024   xorg_cv_cc_flag_unknown_warning_option=no
   5025 fi
   5026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5027 fi
   5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5029 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5031 	CFLAGS="$xorg_testset_save_CFLAGS"
   5032 fi
   5033 
   5034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5037 	fi
   5038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5040 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5041 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5042   $as_echo_n "(cached) " >&6
   5043 else
   5044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5045 /* end confdefs.h.  */
   5046 int i;
   5047 _ACEOF
   5048 if ac_fn_c_try_compile "$LINENO"; then :
   5049   xorg_cv_cc_flag_unused_command_line_argument=yes
   5050 else
   5051   xorg_cv_cc_flag_unused_command_line_argument=no
   5052 fi
   5053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5054 fi
   5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5056 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5057 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5058 	CFLAGS="$xorg_testset_save_CFLAGS"
   5059 fi
   5060 
   5061 found="no"
   5062 
   5063 	if test $found = "no" ; then
   5064 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5066 		fi
   5067 
   5068 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5070 		fi
   5071 
   5072 		CFLAGS="$CFLAGS -Wformat=2"
   5073 
   5074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5075 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5076 		cacheid=xorg_cv_cc_flag__Wformat_2
   5077 		if eval \${$cacheid+:} false; then :
   5078   $as_echo_n "(cached) " >&6
   5079 else
   5080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5081 /* end confdefs.h.  */
   5082 int i;
   5083 int
   5084 main ()
   5085 {
   5086 
   5087   ;
   5088   return 0;
   5089 }
   5090 _ACEOF
   5091 if ac_fn_c_try_link "$LINENO"; then :
   5092   eval $cacheid=yes
   5093 else
   5094   eval $cacheid=no
   5095 fi
   5096 rm -f core conftest.err conftest.$ac_objext \
   5097     conftest$ac_exeext conftest.$ac_ext
   5098 fi
   5099 
   5100 
   5101 		CFLAGS="$xorg_testset_save_CFLAGS"
   5102 
   5103 		eval supported=\$$cacheid
   5104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5105 $as_echo "$supported" >&6; }
   5106 		if test "$supported" = "yes" ; then
   5107 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5108 			found="yes"
   5109 		fi
   5110 	fi
   5111 
   5112 	if test $found = "no" ; then
   5113 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5115 		fi
   5116 
   5117 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5119 		fi
   5120 
   5121 		CFLAGS="$CFLAGS -Wformat"
   5122 
   5123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5124 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5125 		cacheid=xorg_cv_cc_flag__Wformat
   5126 		if eval \${$cacheid+:} false; then :
   5127   $as_echo_n "(cached) " >&6
   5128 else
   5129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5130 /* end confdefs.h.  */
   5131 int i;
   5132 int
   5133 main ()
   5134 {
   5135 
   5136   ;
   5137   return 0;
   5138 }
   5139 _ACEOF
   5140 if ac_fn_c_try_link "$LINENO"; then :
   5141   eval $cacheid=yes
   5142 else
   5143   eval $cacheid=no
   5144 fi
   5145 rm -f core conftest.err conftest.$ac_objext \
   5146     conftest$ac_exeext conftest.$ac_ext
   5147 fi
   5148 
   5149 
   5150 		CFLAGS="$xorg_testset_save_CFLAGS"
   5151 
   5152 		eval supported=\$$cacheid
   5153 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5154 $as_echo "$supported" >&6; }
   5155 		if test "$supported" = "yes" ; then
   5156 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5157 			found="yes"
   5158 		fi
   5159 	fi
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 xorg_testset_save_CFLAGS="$CFLAGS"
   5178 
   5179 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5180 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5182 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5183 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5184   $as_echo_n "(cached) " >&6
   5185 else
   5186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5187 /* end confdefs.h.  */
   5188 int i;
   5189 _ACEOF
   5190 if ac_fn_c_try_compile "$LINENO"; then :
   5191   xorg_cv_cc_flag_unknown_warning_option=yes
   5192 else
   5193   xorg_cv_cc_flag_unknown_warning_option=no
   5194 fi
   5195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5196 fi
   5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5198 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5199 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5200 	CFLAGS="$xorg_testset_save_CFLAGS"
   5201 fi
   5202 
   5203 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5204 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5205 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5206 	fi
   5207 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5208 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5209 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5210 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5211   $as_echo_n "(cached) " >&6
   5212 else
   5213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5214 /* end confdefs.h.  */
   5215 int i;
   5216 _ACEOF
   5217 if ac_fn_c_try_compile "$LINENO"; then :
   5218   xorg_cv_cc_flag_unused_command_line_argument=yes
   5219 else
   5220   xorg_cv_cc_flag_unused_command_line_argument=no
   5221 fi
   5222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5223 fi
   5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5225 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5226 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5227 	CFLAGS="$xorg_testset_save_CFLAGS"
   5228 fi
   5229 
   5230 found="no"
   5231 
   5232 	if test $found = "no" ; then
   5233 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5234 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5235 		fi
   5236 
   5237 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5238 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5239 		fi
   5240 
   5241 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5242 
   5243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5244 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5245 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5246 		if eval \${$cacheid+:} false; then :
   5247   $as_echo_n "(cached) " >&6
   5248 else
   5249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5250 /* end confdefs.h.  */
   5251 int i;
   5252 int
   5253 main ()
   5254 {
   5255 
   5256   ;
   5257   return 0;
   5258 }
   5259 _ACEOF
   5260 if ac_fn_c_try_link "$LINENO"; then :
   5261   eval $cacheid=yes
   5262 else
   5263   eval $cacheid=no
   5264 fi
   5265 rm -f core conftest.err conftest.$ac_objext \
   5266     conftest$ac_exeext conftest.$ac_ext
   5267 fi
   5268 
   5269 
   5270 		CFLAGS="$xorg_testset_save_CFLAGS"
   5271 
   5272 		eval supported=\$$cacheid
   5273 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5274 $as_echo "$supported" >&6; }
   5275 		if test "$supported" = "yes" ; then
   5276 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5277 			found="yes"
   5278 		fi
   5279 	fi
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 xorg_testset_save_CFLAGS="$CFLAGS"
   5296 
   5297 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5298 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5300 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5301 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5302   $as_echo_n "(cached) " >&6
   5303 else
   5304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5305 /* end confdefs.h.  */
   5306 int i;
   5307 _ACEOF
   5308 if ac_fn_c_try_compile "$LINENO"; then :
   5309   xorg_cv_cc_flag_unknown_warning_option=yes
   5310 else
   5311   xorg_cv_cc_flag_unknown_warning_option=no
   5312 fi
   5313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5314 fi
   5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5316 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5317 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5318 	CFLAGS="$xorg_testset_save_CFLAGS"
   5319 fi
   5320 
   5321 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5322 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5323 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5324 	fi
   5325 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5327 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5328 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5329   $as_echo_n "(cached) " >&6
   5330 else
   5331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5332 /* end confdefs.h.  */
   5333 int i;
   5334 _ACEOF
   5335 if ac_fn_c_try_compile "$LINENO"; then :
   5336   xorg_cv_cc_flag_unused_command_line_argument=yes
   5337 else
   5338   xorg_cv_cc_flag_unused_command_line_argument=no
   5339 fi
   5340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5341 fi
   5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5343 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5344 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5345 	CFLAGS="$xorg_testset_save_CFLAGS"
   5346 fi
   5347 
   5348 found="no"
   5349 
   5350 	if test $found = "no" ; then
   5351 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5352 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5353 		fi
   5354 
   5355 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5356 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5357 		fi
   5358 
   5359 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5360 
   5361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5362 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5363 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5364 		if eval \${$cacheid+:} false; then :
   5365   $as_echo_n "(cached) " >&6
   5366 else
   5367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5368 /* end confdefs.h.  */
   5369 int i;
   5370 int
   5371 main ()
   5372 {
   5373 
   5374   ;
   5375   return 0;
   5376 }
   5377 _ACEOF
   5378 if ac_fn_c_try_link "$LINENO"; then :
   5379   eval $cacheid=yes
   5380 else
   5381   eval $cacheid=no
   5382 fi
   5383 rm -f core conftest.err conftest.$ac_objext \
   5384     conftest$ac_exeext conftest.$ac_ext
   5385 fi
   5386 
   5387 
   5388 		CFLAGS="$xorg_testset_save_CFLAGS"
   5389 
   5390 		eval supported=\$$cacheid
   5391 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5392 $as_echo "$supported" >&6; }
   5393 		if test "$supported" = "yes" ; then
   5394 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5395 			found="yes"
   5396 		fi
   5397 	fi
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 xorg_testset_save_CFLAGS="$CFLAGS"
   5414 
   5415 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5416 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5418 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5419 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5420   $as_echo_n "(cached) " >&6
   5421 else
   5422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5423 /* end confdefs.h.  */
   5424 int i;
   5425 _ACEOF
   5426 if ac_fn_c_try_compile "$LINENO"; then :
   5427   xorg_cv_cc_flag_unknown_warning_option=yes
   5428 else
   5429   xorg_cv_cc_flag_unknown_warning_option=no
   5430 fi
   5431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5432 fi
   5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5434 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5436 	CFLAGS="$xorg_testset_save_CFLAGS"
   5437 fi
   5438 
   5439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5442 	fi
   5443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5445 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5446 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5447   $as_echo_n "(cached) " >&6
   5448 else
   5449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5450 /* end confdefs.h.  */
   5451 int i;
   5452 _ACEOF
   5453 if ac_fn_c_try_compile "$LINENO"; then :
   5454   xorg_cv_cc_flag_unused_command_line_argument=yes
   5455 else
   5456   xorg_cv_cc_flag_unused_command_line_argument=no
   5457 fi
   5458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5459 fi
   5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5461 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5462 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5463 	CFLAGS="$xorg_testset_save_CFLAGS"
   5464 fi
   5465 
   5466 found="no"
   5467 
   5468 	if test $found = "no" ; then
   5469 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5471 		fi
   5472 
   5473 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5475 		fi
   5476 
   5477 		CFLAGS="$CFLAGS -Wnested-externs"
   5478 
   5479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5480 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5481 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5482 		if eval \${$cacheid+:} false; then :
   5483   $as_echo_n "(cached) " >&6
   5484 else
   5485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5486 /* end confdefs.h.  */
   5487 int i;
   5488 int
   5489 main ()
   5490 {
   5491 
   5492   ;
   5493   return 0;
   5494 }
   5495 _ACEOF
   5496 if ac_fn_c_try_link "$LINENO"; then :
   5497   eval $cacheid=yes
   5498 else
   5499   eval $cacheid=no
   5500 fi
   5501 rm -f core conftest.err conftest.$ac_objext \
   5502     conftest$ac_exeext conftest.$ac_ext
   5503 fi
   5504 
   5505 
   5506 		CFLAGS="$xorg_testset_save_CFLAGS"
   5507 
   5508 		eval supported=\$$cacheid
   5509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5510 $as_echo "$supported" >&6; }
   5511 		if test "$supported" = "yes" ; then
   5512 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5513 			found="yes"
   5514 		fi
   5515 	fi
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 xorg_testset_save_CFLAGS="$CFLAGS"
   5532 
   5533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5536 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5537 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5538   $as_echo_n "(cached) " >&6
   5539 else
   5540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5541 /* end confdefs.h.  */
   5542 int i;
   5543 _ACEOF
   5544 if ac_fn_c_try_compile "$LINENO"; then :
   5545   xorg_cv_cc_flag_unknown_warning_option=yes
   5546 else
   5547   xorg_cv_cc_flag_unknown_warning_option=no
   5548 fi
   5549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5550 fi
   5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5552 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5553 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5554 	CFLAGS="$xorg_testset_save_CFLAGS"
   5555 fi
   5556 
   5557 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5558 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5559 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5560 	fi
   5561 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5563 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5564 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5565   $as_echo_n "(cached) " >&6
   5566 else
   5567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5568 /* end confdefs.h.  */
   5569 int i;
   5570 _ACEOF
   5571 if ac_fn_c_try_compile "$LINENO"; then :
   5572   xorg_cv_cc_flag_unused_command_line_argument=yes
   5573 else
   5574   xorg_cv_cc_flag_unused_command_line_argument=no
   5575 fi
   5576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5577 fi
   5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5579 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5581 	CFLAGS="$xorg_testset_save_CFLAGS"
   5582 fi
   5583 
   5584 found="no"
   5585 
   5586 	if test $found = "no" ; then
   5587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5589 		fi
   5590 
   5591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5593 		fi
   5594 
   5595 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5596 
   5597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5598 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5599 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5600 		if eval \${$cacheid+:} false; then :
   5601   $as_echo_n "(cached) " >&6
   5602 else
   5603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5604 /* end confdefs.h.  */
   5605 int i;
   5606 int
   5607 main ()
   5608 {
   5609 
   5610   ;
   5611   return 0;
   5612 }
   5613 _ACEOF
   5614 if ac_fn_c_try_link "$LINENO"; then :
   5615   eval $cacheid=yes
   5616 else
   5617   eval $cacheid=no
   5618 fi
   5619 rm -f core conftest.err conftest.$ac_objext \
   5620     conftest$ac_exeext conftest.$ac_ext
   5621 fi
   5622 
   5623 
   5624 		CFLAGS="$xorg_testset_save_CFLAGS"
   5625 
   5626 		eval supported=\$$cacheid
   5627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5628 $as_echo "$supported" >&6; }
   5629 		if test "$supported" = "yes" ; then
   5630 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5631 			found="yes"
   5632 		fi
   5633 	fi
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 xorg_testset_save_CFLAGS="$CFLAGS"
   5650 
   5651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5654 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5655 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5656   $as_echo_n "(cached) " >&6
   5657 else
   5658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5659 /* end confdefs.h.  */
   5660 int i;
   5661 _ACEOF
   5662 if ac_fn_c_try_compile "$LINENO"; then :
   5663   xorg_cv_cc_flag_unknown_warning_option=yes
   5664 else
   5665   xorg_cv_cc_flag_unknown_warning_option=no
   5666 fi
   5667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5668 fi
   5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5670 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5671 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5672 	CFLAGS="$xorg_testset_save_CFLAGS"
   5673 fi
   5674 
   5675 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5676 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5677 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5678 	fi
   5679 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5681 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5682 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5683   $as_echo_n "(cached) " >&6
   5684 else
   5685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5686 /* end confdefs.h.  */
   5687 int i;
   5688 _ACEOF
   5689 if ac_fn_c_try_compile "$LINENO"; then :
   5690   xorg_cv_cc_flag_unused_command_line_argument=yes
   5691 else
   5692   xorg_cv_cc_flag_unused_command_line_argument=no
   5693 fi
   5694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5695 fi
   5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5697 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5698 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5699 	CFLAGS="$xorg_testset_save_CFLAGS"
   5700 fi
   5701 
   5702 found="no"
   5703 
   5704 	if test $found = "no" ; then
   5705 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5707 		fi
   5708 
   5709 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5711 		fi
   5712 
   5713 		CFLAGS="$CFLAGS -Wold-style-definition"
   5714 
   5715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5716 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5717 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5718 		if eval \${$cacheid+:} false; then :
   5719   $as_echo_n "(cached) " >&6
   5720 else
   5721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5722 /* end confdefs.h.  */
   5723 int i;
   5724 int
   5725 main ()
   5726 {
   5727 
   5728   ;
   5729   return 0;
   5730 }
   5731 _ACEOF
   5732 if ac_fn_c_try_link "$LINENO"; then :
   5733   eval $cacheid=yes
   5734 else
   5735   eval $cacheid=no
   5736 fi
   5737 rm -f core conftest.err conftest.$ac_objext \
   5738     conftest$ac_exeext conftest.$ac_ext
   5739 fi
   5740 
   5741 
   5742 		CFLAGS="$xorg_testset_save_CFLAGS"
   5743 
   5744 		eval supported=\$$cacheid
   5745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5746 $as_echo "$supported" >&6; }
   5747 		if test "$supported" = "yes" ; then
   5748 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5749 			found="yes"
   5750 		fi
   5751 	fi
   5752 
   5753 	if test $found = "no" ; then
   5754 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5755 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5756 		fi
   5757 
   5758 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5759 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5760 		fi
   5761 
   5762 		CFLAGS="$CFLAGS -fd"
   5763 
   5764 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5765 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5766 		cacheid=xorg_cv_cc_flag__fd
   5767 		if eval \${$cacheid+:} false; then :
   5768   $as_echo_n "(cached) " >&6
   5769 else
   5770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5771 /* end confdefs.h.  */
   5772 int i;
   5773 int
   5774 main ()
   5775 {
   5776 
   5777   ;
   5778   return 0;
   5779 }
   5780 _ACEOF
   5781 if ac_fn_c_try_link "$LINENO"; then :
   5782   eval $cacheid=yes
   5783 else
   5784   eval $cacheid=no
   5785 fi
   5786 rm -f core conftest.err conftest.$ac_objext \
   5787     conftest$ac_exeext conftest.$ac_ext
   5788 fi
   5789 
   5790 
   5791 		CFLAGS="$xorg_testset_save_CFLAGS"
   5792 
   5793 		eval supported=\$$cacheid
   5794 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5795 $as_echo "$supported" >&6; }
   5796 		if test "$supported" = "yes" ; then
   5797 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5798 			found="yes"
   5799 		fi
   5800 	fi
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 xorg_testset_save_CFLAGS="$CFLAGS"
   5817 
   5818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5819 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5821 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5822 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5823   $as_echo_n "(cached) " >&6
   5824 else
   5825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5826 /* end confdefs.h.  */
   5827 int i;
   5828 _ACEOF
   5829 if ac_fn_c_try_compile "$LINENO"; then :
   5830   xorg_cv_cc_flag_unknown_warning_option=yes
   5831 else
   5832   xorg_cv_cc_flag_unknown_warning_option=no
   5833 fi
   5834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5835 fi
   5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5837 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5838 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5839 	CFLAGS="$xorg_testset_save_CFLAGS"
   5840 fi
   5841 
   5842 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5843 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5844 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5845 	fi
   5846 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5848 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5849 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5850   $as_echo_n "(cached) " >&6
   5851 else
   5852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5853 /* end confdefs.h.  */
   5854 int i;
   5855 _ACEOF
   5856 if ac_fn_c_try_compile "$LINENO"; then :
   5857   xorg_cv_cc_flag_unused_command_line_argument=yes
   5858 else
   5859   xorg_cv_cc_flag_unused_command_line_argument=no
   5860 fi
   5861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5862 fi
   5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5864 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5865 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5866 	CFLAGS="$xorg_testset_save_CFLAGS"
   5867 fi
   5868 
   5869 found="no"
   5870 
   5871 	if test $found = "no" ; then
   5872 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5873 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5874 		fi
   5875 
   5876 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5877 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5878 		fi
   5879 
   5880 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5881 
   5882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5883 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5884 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5885 		if eval \${$cacheid+:} false; then :
   5886   $as_echo_n "(cached) " >&6
   5887 else
   5888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5889 /* end confdefs.h.  */
   5890 int i;
   5891 int
   5892 main ()
   5893 {
   5894 
   5895   ;
   5896   return 0;
   5897 }
   5898 _ACEOF
   5899 if ac_fn_c_try_link "$LINENO"; then :
   5900   eval $cacheid=yes
   5901 else
   5902   eval $cacheid=no
   5903 fi
   5904 rm -f core conftest.err conftest.$ac_objext \
   5905     conftest$ac_exeext conftest.$ac_ext
   5906 fi
   5907 
   5908 
   5909 		CFLAGS="$xorg_testset_save_CFLAGS"
   5910 
   5911 		eval supported=\$$cacheid
   5912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5913 $as_echo "$supported" >&6; }
   5914 		if test "$supported" = "yes" ; then
   5915 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5916 			found="yes"
   5917 		fi
   5918 	fi
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 # This chunk adds additional warnings that could catch undesired effects.
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 xorg_testset_save_CFLAGS="$CFLAGS"
   5939 
   5940 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5941 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5943 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5944 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5945   $as_echo_n "(cached) " >&6
   5946 else
   5947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5948 /* end confdefs.h.  */
   5949 int i;
   5950 _ACEOF
   5951 if ac_fn_c_try_compile "$LINENO"; then :
   5952   xorg_cv_cc_flag_unknown_warning_option=yes
   5953 else
   5954   xorg_cv_cc_flag_unknown_warning_option=no
   5955 fi
   5956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5957 fi
   5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5959 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5960 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5961 	CFLAGS="$xorg_testset_save_CFLAGS"
   5962 fi
   5963 
   5964 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5965 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5966 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5967 	fi
   5968 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5969 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5970 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5971 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5972   $as_echo_n "(cached) " >&6
   5973 else
   5974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5975 /* end confdefs.h.  */
   5976 int i;
   5977 _ACEOF
   5978 if ac_fn_c_try_compile "$LINENO"; then :
   5979   xorg_cv_cc_flag_unused_command_line_argument=yes
   5980 else
   5981   xorg_cv_cc_flag_unused_command_line_argument=no
   5982 fi
   5983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5984 fi
   5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5986 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5987 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5988 	CFLAGS="$xorg_testset_save_CFLAGS"
   5989 fi
   5990 
   5991 found="no"
   5992 
   5993 	if test $found = "no" ; then
   5994 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5996 		fi
   5997 
   5998 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6000 		fi
   6001 
   6002 		CFLAGS="$CFLAGS -Wunused"
   6003 
   6004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6005 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6006 		cacheid=xorg_cv_cc_flag__Wunused
   6007 		if eval \${$cacheid+:} false; then :
   6008   $as_echo_n "(cached) " >&6
   6009 else
   6010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6011 /* end confdefs.h.  */
   6012 int i;
   6013 int
   6014 main ()
   6015 {
   6016 
   6017   ;
   6018   return 0;
   6019 }
   6020 _ACEOF
   6021 if ac_fn_c_try_link "$LINENO"; then :
   6022   eval $cacheid=yes
   6023 else
   6024   eval $cacheid=no
   6025 fi
   6026 rm -f core conftest.err conftest.$ac_objext \
   6027     conftest$ac_exeext conftest.$ac_ext
   6028 fi
   6029 
   6030 
   6031 		CFLAGS="$xorg_testset_save_CFLAGS"
   6032 
   6033 		eval supported=\$$cacheid
   6034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6035 $as_echo "$supported" >&6; }
   6036 		if test "$supported" = "yes" ; then
   6037 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6038 			found="yes"
   6039 		fi
   6040 	fi
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 xorg_testset_save_CFLAGS="$CFLAGS"
   6057 
   6058 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6059 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6061 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6062 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6063   $as_echo_n "(cached) " >&6
   6064 else
   6065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6066 /* end confdefs.h.  */
   6067 int i;
   6068 _ACEOF
   6069 if ac_fn_c_try_compile "$LINENO"; then :
   6070   xorg_cv_cc_flag_unknown_warning_option=yes
   6071 else
   6072   xorg_cv_cc_flag_unknown_warning_option=no
   6073 fi
   6074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6075 fi
   6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6077 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6078 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6079 	CFLAGS="$xorg_testset_save_CFLAGS"
   6080 fi
   6081 
   6082 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6083 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6084 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6085 	fi
   6086 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6087 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6088 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6089 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6090   $as_echo_n "(cached) " >&6
   6091 else
   6092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6093 /* end confdefs.h.  */
   6094 int i;
   6095 _ACEOF
   6096 if ac_fn_c_try_compile "$LINENO"; then :
   6097   xorg_cv_cc_flag_unused_command_line_argument=yes
   6098 else
   6099   xorg_cv_cc_flag_unused_command_line_argument=no
   6100 fi
   6101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6102 fi
   6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6104 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6105 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6106 	CFLAGS="$xorg_testset_save_CFLAGS"
   6107 fi
   6108 
   6109 found="no"
   6110 
   6111 	if test $found = "no" ; then
   6112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6114 		fi
   6115 
   6116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6118 		fi
   6119 
   6120 		CFLAGS="$CFLAGS -Wuninitialized"
   6121 
   6122 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6123 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6124 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6125 		if eval \${$cacheid+:} false; then :
   6126   $as_echo_n "(cached) " >&6
   6127 else
   6128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6129 /* end confdefs.h.  */
   6130 int i;
   6131 int
   6132 main ()
   6133 {
   6134 
   6135   ;
   6136   return 0;
   6137 }
   6138 _ACEOF
   6139 if ac_fn_c_try_link "$LINENO"; then :
   6140   eval $cacheid=yes
   6141 else
   6142   eval $cacheid=no
   6143 fi
   6144 rm -f core conftest.err conftest.$ac_objext \
   6145     conftest$ac_exeext conftest.$ac_ext
   6146 fi
   6147 
   6148 
   6149 		CFLAGS="$xorg_testset_save_CFLAGS"
   6150 
   6151 		eval supported=\$$cacheid
   6152 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6153 $as_echo "$supported" >&6; }
   6154 		if test "$supported" = "yes" ; then
   6155 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6156 			found="yes"
   6157 		fi
   6158 	fi
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 xorg_testset_save_CFLAGS="$CFLAGS"
   6175 
   6176 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6177 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6179 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6180 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6181   $as_echo_n "(cached) " >&6
   6182 else
   6183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6184 /* end confdefs.h.  */
   6185 int i;
   6186 _ACEOF
   6187 if ac_fn_c_try_compile "$LINENO"; then :
   6188   xorg_cv_cc_flag_unknown_warning_option=yes
   6189 else
   6190   xorg_cv_cc_flag_unknown_warning_option=no
   6191 fi
   6192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6193 fi
   6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6195 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6196 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6197 	CFLAGS="$xorg_testset_save_CFLAGS"
   6198 fi
   6199 
   6200 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6201 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6202 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6203 	fi
   6204 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6206 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6207 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6208   $as_echo_n "(cached) " >&6
   6209 else
   6210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6211 /* end confdefs.h.  */
   6212 int i;
   6213 _ACEOF
   6214 if ac_fn_c_try_compile "$LINENO"; then :
   6215   xorg_cv_cc_flag_unused_command_line_argument=yes
   6216 else
   6217   xorg_cv_cc_flag_unused_command_line_argument=no
   6218 fi
   6219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6220 fi
   6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6222 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6223 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6224 	CFLAGS="$xorg_testset_save_CFLAGS"
   6225 fi
   6226 
   6227 found="no"
   6228 
   6229 	if test $found = "no" ; then
   6230 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6231 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6232 		fi
   6233 
   6234 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6235 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6236 		fi
   6237 
   6238 		CFLAGS="$CFLAGS -Wshadow"
   6239 
   6240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6241 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6242 		cacheid=xorg_cv_cc_flag__Wshadow
   6243 		if eval \${$cacheid+:} false; then :
   6244   $as_echo_n "(cached) " >&6
   6245 else
   6246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6247 /* end confdefs.h.  */
   6248 int i;
   6249 int
   6250 main ()
   6251 {
   6252 
   6253   ;
   6254   return 0;
   6255 }
   6256 _ACEOF
   6257 if ac_fn_c_try_link "$LINENO"; then :
   6258   eval $cacheid=yes
   6259 else
   6260   eval $cacheid=no
   6261 fi
   6262 rm -f core conftest.err conftest.$ac_objext \
   6263     conftest$ac_exeext conftest.$ac_ext
   6264 fi
   6265 
   6266 
   6267 		CFLAGS="$xorg_testset_save_CFLAGS"
   6268 
   6269 		eval supported=\$$cacheid
   6270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6271 $as_echo "$supported" >&6; }
   6272 		if test "$supported" = "yes" ; then
   6273 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6274 			found="yes"
   6275 		fi
   6276 	fi
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 xorg_testset_save_CFLAGS="$CFLAGS"
   6293 
   6294 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6295 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6297 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6298 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6299   $as_echo_n "(cached) " >&6
   6300 else
   6301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6302 /* end confdefs.h.  */
   6303 int i;
   6304 _ACEOF
   6305 if ac_fn_c_try_compile "$LINENO"; then :
   6306   xorg_cv_cc_flag_unknown_warning_option=yes
   6307 else
   6308   xorg_cv_cc_flag_unknown_warning_option=no
   6309 fi
   6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6311 fi
   6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6313 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6314 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6315 	CFLAGS="$xorg_testset_save_CFLAGS"
   6316 fi
   6317 
   6318 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6319 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6320 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6321 	fi
   6322 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6324 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6325 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6326   $as_echo_n "(cached) " >&6
   6327 else
   6328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6329 /* end confdefs.h.  */
   6330 int i;
   6331 _ACEOF
   6332 if ac_fn_c_try_compile "$LINENO"; then :
   6333   xorg_cv_cc_flag_unused_command_line_argument=yes
   6334 else
   6335   xorg_cv_cc_flag_unused_command_line_argument=no
   6336 fi
   6337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6338 fi
   6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6340 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6341 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6342 	CFLAGS="$xorg_testset_save_CFLAGS"
   6343 fi
   6344 
   6345 found="no"
   6346 
   6347 	if test $found = "no" ; then
   6348 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6349 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6350 		fi
   6351 
   6352 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6353 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6354 		fi
   6355 
   6356 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6357 
   6358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6359 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6360 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6361 		if eval \${$cacheid+:} false; then :
   6362   $as_echo_n "(cached) " >&6
   6363 else
   6364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6365 /* end confdefs.h.  */
   6366 int i;
   6367 int
   6368 main ()
   6369 {
   6370 
   6371   ;
   6372   return 0;
   6373 }
   6374 _ACEOF
   6375 if ac_fn_c_try_link "$LINENO"; then :
   6376   eval $cacheid=yes
   6377 else
   6378   eval $cacheid=no
   6379 fi
   6380 rm -f core conftest.err conftest.$ac_objext \
   6381     conftest$ac_exeext conftest.$ac_ext
   6382 fi
   6383 
   6384 
   6385 		CFLAGS="$xorg_testset_save_CFLAGS"
   6386 
   6387 		eval supported=\$$cacheid
   6388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6389 $as_echo "$supported" >&6; }
   6390 		if test "$supported" = "yes" ; then
   6391 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6392 			found="yes"
   6393 		fi
   6394 	fi
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 xorg_testset_save_CFLAGS="$CFLAGS"
   6411 
   6412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6415 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6416 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6417   $as_echo_n "(cached) " >&6
   6418 else
   6419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6420 /* end confdefs.h.  */
   6421 int i;
   6422 _ACEOF
   6423 if ac_fn_c_try_compile "$LINENO"; then :
   6424   xorg_cv_cc_flag_unknown_warning_option=yes
   6425 else
   6426   xorg_cv_cc_flag_unknown_warning_option=no
   6427 fi
   6428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6429 fi
   6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6431 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6433 	CFLAGS="$xorg_testset_save_CFLAGS"
   6434 fi
   6435 
   6436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6439 	fi
   6440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6442 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6443 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6444   $as_echo_n "(cached) " >&6
   6445 else
   6446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6447 /* end confdefs.h.  */
   6448 int i;
   6449 _ACEOF
   6450 if ac_fn_c_try_compile "$LINENO"; then :
   6451   xorg_cv_cc_flag_unused_command_line_argument=yes
   6452 else
   6453   xorg_cv_cc_flag_unused_command_line_argument=no
   6454 fi
   6455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6456 fi
   6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6458 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6459 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6460 	CFLAGS="$xorg_testset_save_CFLAGS"
   6461 fi
   6462 
   6463 found="no"
   6464 
   6465 	if test $found = "no" ; then
   6466 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6467 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6468 		fi
   6469 
   6470 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6471 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6472 		fi
   6473 
   6474 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6475 
   6476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6477 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6478 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6479 		if eval \${$cacheid+:} false; then :
   6480   $as_echo_n "(cached) " >&6
   6481 else
   6482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6483 /* end confdefs.h.  */
   6484 int i;
   6485 int
   6486 main ()
   6487 {
   6488 
   6489   ;
   6490   return 0;
   6491 }
   6492 _ACEOF
   6493 if ac_fn_c_try_link "$LINENO"; then :
   6494   eval $cacheid=yes
   6495 else
   6496   eval $cacheid=no
   6497 fi
   6498 rm -f core conftest.err conftest.$ac_objext \
   6499     conftest$ac_exeext conftest.$ac_ext
   6500 fi
   6501 
   6502 
   6503 		CFLAGS="$xorg_testset_save_CFLAGS"
   6504 
   6505 		eval supported=\$$cacheid
   6506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6507 $as_echo "$supported" >&6; }
   6508 		if test "$supported" = "yes" ; then
   6509 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6510 			found="yes"
   6511 		fi
   6512 	fi
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 xorg_testset_save_CFLAGS="$CFLAGS"
   6529 
   6530 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6531 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6533 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6534 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6535   $as_echo_n "(cached) " >&6
   6536 else
   6537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6538 /* end confdefs.h.  */
   6539 int i;
   6540 _ACEOF
   6541 if ac_fn_c_try_compile "$LINENO"; then :
   6542   xorg_cv_cc_flag_unknown_warning_option=yes
   6543 else
   6544   xorg_cv_cc_flag_unknown_warning_option=no
   6545 fi
   6546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6547 fi
   6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6549 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6550 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6551 	CFLAGS="$xorg_testset_save_CFLAGS"
   6552 fi
   6553 
   6554 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6555 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6556 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6557 	fi
   6558 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6560 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6561 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6562   $as_echo_n "(cached) " >&6
   6563 else
   6564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6565 /* end confdefs.h.  */
   6566 int i;
   6567 _ACEOF
   6568 if ac_fn_c_try_compile "$LINENO"; then :
   6569   xorg_cv_cc_flag_unused_command_line_argument=yes
   6570 else
   6571   xorg_cv_cc_flag_unused_command_line_argument=no
   6572 fi
   6573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6574 fi
   6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6576 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6577 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6578 	CFLAGS="$xorg_testset_save_CFLAGS"
   6579 fi
   6580 
   6581 found="no"
   6582 
   6583 	if test $found = "no" ; then
   6584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6586 		fi
   6587 
   6588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6590 		fi
   6591 
   6592 		CFLAGS="$CFLAGS -Wredundant-decls"
   6593 
   6594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6595 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6596 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6597 		if eval \${$cacheid+:} false; then :
   6598   $as_echo_n "(cached) " >&6
   6599 else
   6600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6601 /* end confdefs.h.  */
   6602 int i;
   6603 int
   6604 main ()
   6605 {
   6606 
   6607   ;
   6608   return 0;
   6609 }
   6610 _ACEOF
   6611 if ac_fn_c_try_link "$LINENO"; then :
   6612   eval $cacheid=yes
   6613 else
   6614   eval $cacheid=no
   6615 fi
   6616 rm -f core conftest.err conftest.$ac_objext \
   6617     conftest$ac_exeext conftest.$ac_ext
   6618 fi
   6619 
   6620 
   6621 		CFLAGS="$xorg_testset_save_CFLAGS"
   6622 
   6623 		eval supported=\$$cacheid
   6624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6625 $as_echo "$supported" >&6; }
   6626 		if test "$supported" = "yes" ; then
   6627 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6628 			found="yes"
   6629 		fi
   6630 	fi
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 xorg_testset_save_CFLAGS="$CFLAGS"
   6647 
   6648 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6649 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6651 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6652 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6653   $as_echo_n "(cached) " >&6
   6654 else
   6655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6656 /* end confdefs.h.  */
   6657 int i;
   6658 _ACEOF
   6659 if ac_fn_c_try_compile "$LINENO"; then :
   6660   xorg_cv_cc_flag_unknown_warning_option=yes
   6661 else
   6662   xorg_cv_cc_flag_unknown_warning_option=no
   6663 fi
   6664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6665 fi
   6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6667 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6668 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6669 	CFLAGS="$xorg_testset_save_CFLAGS"
   6670 fi
   6671 
   6672 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6673 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6674 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6675 	fi
   6676 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6678 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6679 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6680   $as_echo_n "(cached) " >&6
   6681 else
   6682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6683 /* end confdefs.h.  */
   6684 int i;
   6685 _ACEOF
   6686 if ac_fn_c_try_compile "$LINENO"; then :
   6687   xorg_cv_cc_flag_unused_command_line_argument=yes
   6688 else
   6689   xorg_cv_cc_flag_unused_command_line_argument=no
   6690 fi
   6691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6692 fi
   6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6694 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6696 	CFLAGS="$xorg_testset_save_CFLAGS"
   6697 fi
   6698 
   6699 found="no"
   6700 
   6701 	if test $found = "no" ; then
   6702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6704 		fi
   6705 
   6706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6708 		fi
   6709 
   6710 		CFLAGS="$CFLAGS -Wlogical-op"
   6711 
   6712 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6713 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6714 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6715 		if eval \${$cacheid+:} false; then :
   6716   $as_echo_n "(cached) " >&6
   6717 else
   6718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6719 /* end confdefs.h.  */
   6720 int i;
   6721 int
   6722 main ()
   6723 {
   6724 
   6725   ;
   6726   return 0;
   6727 }
   6728 _ACEOF
   6729 if ac_fn_c_try_link "$LINENO"; then :
   6730   eval $cacheid=yes
   6731 else
   6732   eval $cacheid=no
   6733 fi
   6734 rm -f core conftest.err conftest.$ac_objext \
   6735     conftest$ac_exeext conftest.$ac_ext
   6736 fi
   6737 
   6738 
   6739 		CFLAGS="$xorg_testset_save_CFLAGS"
   6740 
   6741 		eval supported=\$$cacheid
   6742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6743 $as_echo "$supported" >&6; }
   6744 		if test "$supported" = "yes" ; then
   6745 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6746 			found="yes"
   6747 		fi
   6748 	fi
   6749 
   6750 
   6751 
   6752 # These are currently disabled because they are noisy.  They will be enabled
   6753 # in the future once the codebase is sufficiently modernized to silence
   6754 # them.  For now, I don't want them to drown out the other warnings.
   6755 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6756 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6757 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6758 
   6759 # Turn some warnings into errors, so we don't accidently get successful builds
   6760 # when there are problems that should be fixed.
   6761 
   6762 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 xorg_testset_save_CFLAGS="$CFLAGS"
   6777 
   6778 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6779 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6781 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6782 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6783   $as_echo_n "(cached) " >&6
   6784 else
   6785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6786 /* end confdefs.h.  */
   6787 int i;
   6788 _ACEOF
   6789 if ac_fn_c_try_compile "$LINENO"; then :
   6790   xorg_cv_cc_flag_unknown_warning_option=yes
   6791 else
   6792   xorg_cv_cc_flag_unknown_warning_option=no
   6793 fi
   6794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6795 fi
   6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6797 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6798 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6799 	CFLAGS="$xorg_testset_save_CFLAGS"
   6800 fi
   6801 
   6802 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6803 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6804 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6805 	fi
   6806 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6807 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6808 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6809 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6810   $as_echo_n "(cached) " >&6
   6811 else
   6812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6813 /* end confdefs.h.  */
   6814 int i;
   6815 _ACEOF
   6816 if ac_fn_c_try_compile "$LINENO"; then :
   6817   xorg_cv_cc_flag_unused_command_line_argument=yes
   6818 else
   6819   xorg_cv_cc_flag_unused_command_line_argument=no
   6820 fi
   6821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6822 fi
   6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6824 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6825 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6826 	CFLAGS="$xorg_testset_save_CFLAGS"
   6827 fi
   6828 
   6829 found="no"
   6830 
   6831 	if test $found = "no" ; then
   6832 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6833 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6834 		fi
   6835 
   6836 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6837 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6838 		fi
   6839 
   6840 		CFLAGS="$CFLAGS -Werror=implicit"
   6841 
   6842 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6843 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6844 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6845 		if eval \${$cacheid+:} false; then :
   6846   $as_echo_n "(cached) " >&6
   6847 else
   6848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6849 /* end confdefs.h.  */
   6850 int i;
   6851 int
   6852 main ()
   6853 {
   6854 
   6855   ;
   6856   return 0;
   6857 }
   6858 _ACEOF
   6859 if ac_fn_c_try_link "$LINENO"; then :
   6860   eval $cacheid=yes
   6861 else
   6862   eval $cacheid=no
   6863 fi
   6864 rm -f core conftest.err conftest.$ac_objext \
   6865     conftest$ac_exeext conftest.$ac_ext
   6866 fi
   6867 
   6868 
   6869 		CFLAGS="$xorg_testset_save_CFLAGS"
   6870 
   6871 		eval supported=\$$cacheid
   6872 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6873 $as_echo "$supported" >&6; }
   6874 		if test "$supported" = "yes" ; then
   6875 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6876 			found="yes"
   6877 		fi
   6878 	fi
   6879 
   6880 	if test $found = "no" ; then
   6881 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6883 		fi
   6884 
   6885 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6887 		fi
   6888 
   6889 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6890 
   6891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6892 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6893 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6894 		if eval \${$cacheid+:} 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 int
   6901 main ()
   6902 {
   6903 
   6904   ;
   6905   return 0;
   6906 }
   6907 _ACEOF
   6908 if ac_fn_c_try_link "$LINENO"; then :
   6909   eval $cacheid=yes
   6910 else
   6911   eval $cacheid=no
   6912 fi
   6913 rm -f core conftest.err conftest.$ac_objext \
   6914     conftest$ac_exeext conftest.$ac_ext
   6915 fi
   6916 
   6917 
   6918 		CFLAGS="$xorg_testset_save_CFLAGS"
   6919 
   6920 		eval supported=\$$cacheid
   6921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6922 $as_echo "$supported" >&6; }
   6923 		if test "$supported" = "yes" ; then
   6924 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6925 			found="yes"
   6926 		fi
   6927 	fi
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 xorg_testset_save_CFLAGS="$CFLAGS"
   6944 
   6945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6948 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6949 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6950   $as_echo_n "(cached) " >&6
   6951 else
   6952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6953 /* end confdefs.h.  */
   6954 int i;
   6955 _ACEOF
   6956 if ac_fn_c_try_compile "$LINENO"; then :
   6957   xorg_cv_cc_flag_unknown_warning_option=yes
   6958 else
   6959   xorg_cv_cc_flag_unknown_warning_option=no
   6960 fi
   6961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6962 fi
   6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6964 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6966 	CFLAGS="$xorg_testset_save_CFLAGS"
   6967 fi
   6968 
   6969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6972 	fi
   6973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6975 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6976 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6977   $as_echo_n "(cached) " >&6
   6978 else
   6979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6980 /* end confdefs.h.  */
   6981 int i;
   6982 _ACEOF
   6983 if ac_fn_c_try_compile "$LINENO"; then :
   6984   xorg_cv_cc_flag_unused_command_line_argument=yes
   6985 else
   6986   xorg_cv_cc_flag_unused_command_line_argument=no
   6987 fi
   6988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6989 fi
   6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6991 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6992 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6993 	CFLAGS="$xorg_testset_save_CFLAGS"
   6994 fi
   6995 
   6996 found="no"
   6997 
   6998 	if test $found = "no" ; then
   6999 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7000 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7001 		fi
   7002 
   7003 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7004 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7005 		fi
   7006 
   7007 		CFLAGS="$CFLAGS -Werror=nonnull"
   7008 
   7009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7010 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7011 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7012 		if eval \${$cacheid+:} false; then :
   7013   $as_echo_n "(cached) " >&6
   7014 else
   7015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7016 /* end confdefs.h.  */
   7017 int i;
   7018 int
   7019 main ()
   7020 {
   7021 
   7022   ;
   7023   return 0;
   7024 }
   7025 _ACEOF
   7026 if ac_fn_c_try_link "$LINENO"; then :
   7027   eval $cacheid=yes
   7028 else
   7029   eval $cacheid=no
   7030 fi
   7031 rm -f core conftest.err conftest.$ac_objext \
   7032     conftest$ac_exeext conftest.$ac_ext
   7033 fi
   7034 
   7035 
   7036 		CFLAGS="$xorg_testset_save_CFLAGS"
   7037 
   7038 		eval supported=\$$cacheid
   7039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7040 $as_echo "$supported" >&6; }
   7041 		if test "$supported" = "yes" ; then
   7042 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7043 			found="yes"
   7044 		fi
   7045 	fi
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 xorg_testset_save_CFLAGS="$CFLAGS"
   7062 
   7063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7064 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7065 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7066 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7067 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7068   $as_echo_n "(cached) " >&6
   7069 else
   7070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7071 /* end confdefs.h.  */
   7072 int i;
   7073 _ACEOF
   7074 if ac_fn_c_try_compile "$LINENO"; then :
   7075   xorg_cv_cc_flag_unknown_warning_option=yes
   7076 else
   7077   xorg_cv_cc_flag_unknown_warning_option=no
   7078 fi
   7079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7080 fi
   7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7082 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7083 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7084 	CFLAGS="$xorg_testset_save_CFLAGS"
   7085 fi
   7086 
   7087 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7088 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7089 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7090 	fi
   7091 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7093 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7094 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7095   $as_echo_n "(cached) " >&6
   7096 else
   7097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7098 /* end confdefs.h.  */
   7099 int i;
   7100 _ACEOF
   7101 if ac_fn_c_try_compile "$LINENO"; then :
   7102   xorg_cv_cc_flag_unused_command_line_argument=yes
   7103 else
   7104   xorg_cv_cc_flag_unused_command_line_argument=no
   7105 fi
   7106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7107 fi
   7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7109 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7110 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7111 	CFLAGS="$xorg_testset_save_CFLAGS"
   7112 fi
   7113 
   7114 found="no"
   7115 
   7116 	if test $found = "no" ; then
   7117 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7118 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7119 		fi
   7120 
   7121 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7122 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7123 		fi
   7124 
   7125 		CFLAGS="$CFLAGS -Werror=init-self"
   7126 
   7127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7128 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7129 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7130 		if eval \${$cacheid+:} false; then :
   7131   $as_echo_n "(cached) " >&6
   7132 else
   7133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7134 /* end confdefs.h.  */
   7135 int i;
   7136 int
   7137 main ()
   7138 {
   7139 
   7140   ;
   7141   return 0;
   7142 }
   7143 _ACEOF
   7144 if ac_fn_c_try_link "$LINENO"; then :
   7145   eval $cacheid=yes
   7146 else
   7147   eval $cacheid=no
   7148 fi
   7149 rm -f core conftest.err conftest.$ac_objext \
   7150     conftest$ac_exeext conftest.$ac_ext
   7151 fi
   7152 
   7153 
   7154 		CFLAGS="$xorg_testset_save_CFLAGS"
   7155 
   7156 		eval supported=\$$cacheid
   7157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7158 $as_echo "$supported" >&6; }
   7159 		if test "$supported" = "yes" ; then
   7160 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7161 			found="yes"
   7162 		fi
   7163 	fi
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 xorg_testset_save_CFLAGS="$CFLAGS"
   7180 
   7181 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7182 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7184 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7185 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7186   $as_echo_n "(cached) " >&6
   7187 else
   7188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7189 /* end confdefs.h.  */
   7190 int i;
   7191 _ACEOF
   7192 if ac_fn_c_try_compile "$LINENO"; then :
   7193   xorg_cv_cc_flag_unknown_warning_option=yes
   7194 else
   7195   xorg_cv_cc_flag_unknown_warning_option=no
   7196 fi
   7197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7198 fi
   7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7200 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7201 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7202 	CFLAGS="$xorg_testset_save_CFLAGS"
   7203 fi
   7204 
   7205 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7206 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7207 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7208 	fi
   7209 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7211 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7212 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7213   $as_echo_n "(cached) " >&6
   7214 else
   7215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7216 /* end confdefs.h.  */
   7217 int i;
   7218 _ACEOF
   7219 if ac_fn_c_try_compile "$LINENO"; then :
   7220   xorg_cv_cc_flag_unused_command_line_argument=yes
   7221 else
   7222   xorg_cv_cc_flag_unused_command_line_argument=no
   7223 fi
   7224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7225 fi
   7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7227 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7228 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7229 	CFLAGS="$xorg_testset_save_CFLAGS"
   7230 fi
   7231 
   7232 found="no"
   7233 
   7234 	if test $found = "no" ; then
   7235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7237 		fi
   7238 
   7239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7241 		fi
   7242 
   7243 		CFLAGS="$CFLAGS -Werror=main"
   7244 
   7245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7246 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7247 		cacheid=xorg_cv_cc_flag__Werror_main
   7248 		if eval \${$cacheid+:} false; then :
   7249   $as_echo_n "(cached) " >&6
   7250 else
   7251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7252 /* end confdefs.h.  */
   7253 int i;
   7254 int
   7255 main ()
   7256 {
   7257 
   7258   ;
   7259   return 0;
   7260 }
   7261 _ACEOF
   7262 if ac_fn_c_try_link "$LINENO"; then :
   7263   eval $cacheid=yes
   7264 else
   7265   eval $cacheid=no
   7266 fi
   7267 rm -f core conftest.err conftest.$ac_objext \
   7268     conftest$ac_exeext conftest.$ac_ext
   7269 fi
   7270 
   7271 
   7272 		CFLAGS="$xorg_testset_save_CFLAGS"
   7273 
   7274 		eval supported=\$$cacheid
   7275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7276 $as_echo "$supported" >&6; }
   7277 		if test "$supported" = "yes" ; then
   7278 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7279 			found="yes"
   7280 		fi
   7281 	fi
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 xorg_testset_save_CFLAGS="$CFLAGS"
   7298 
   7299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7302 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7303 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7304   $as_echo_n "(cached) " >&6
   7305 else
   7306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7307 /* end confdefs.h.  */
   7308 int i;
   7309 _ACEOF
   7310 if ac_fn_c_try_compile "$LINENO"; then :
   7311   xorg_cv_cc_flag_unknown_warning_option=yes
   7312 else
   7313   xorg_cv_cc_flag_unknown_warning_option=no
   7314 fi
   7315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7316 fi
   7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7318 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7319 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7320 	CFLAGS="$xorg_testset_save_CFLAGS"
   7321 fi
   7322 
   7323 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7324 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7325 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7326 	fi
   7327 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7329 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7330 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7331   $as_echo_n "(cached) " >&6
   7332 else
   7333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7334 /* end confdefs.h.  */
   7335 int i;
   7336 _ACEOF
   7337 if ac_fn_c_try_compile "$LINENO"; then :
   7338   xorg_cv_cc_flag_unused_command_line_argument=yes
   7339 else
   7340   xorg_cv_cc_flag_unused_command_line_argument=no
   7341 fi
   7342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7343 fi
   7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7345 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7346 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7347 	CFLAGS="$xorg_testset_save_CFLAGS"
   7348 fi
   7349 
   7350 found="no"
   7351 
   7352 	if test $found = "no" ; then
   7353 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7355 		fi
   7356 
   7357 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7359 		fi
   7360 
   7361 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7362 
   7363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7364 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7365 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7366 		if eval \${$cacheid+:} false; then :
   7367   $as_echo_n "(cached) " >&6
   7368 else
   7369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7370 /* end confdefs.h.  */
   7371 int i;
   7372 int
   7373 main ()
   7374 {
   7375 
   7376   ;
   7377   return 0;
   7378 }
   7379 _ACEOF
   7380 if ac_fn_c_try_link "$LINENO"; then :
   7381   eval $cacheid=yes
   7382 else
   7383   eval $cacheid=no
   7384 fi
   7385 rm -f core conftest.err conftest.$ac_objext \
   7386     conftest$ac_exeext conftest.$ac_ext
   7387 fi
   7388 
   7389 
   7390 		CFLAGS="$xorg_testset_save_CFLAGS"
   7391 
   7392 		eval supported=\$$cacheid
   7393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7394 $as_echo "$supported" >&6; }
   7395 		if test "$supported" = "yes" ; then
   7396 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7397 			found="yes"
   7398 		fi
   7399 	fi
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 xorg_testset_save_CFLAGS="$CFLAGS"
   7416 
   7417 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7418 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7420 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7421 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7422   $as_echo_n "(cached) " >&6
   7423 else
   7424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7425 /* end confdefs.h.  */
   7426 int i;
   7427 _ACEOF
   7428 if ac_fn_c_try_compile "$LINENO"; then :
   7429   xorg_cv_cc_flag_unknown_warning_option=yes
   7430 else
   7431   xorg_cv_cc_flag_unknown_warning_option=no
   7432 fi
   7433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7434 fi
   7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7436 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7437 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7438 	CFLAGS="$xorg_testset_save_CFLAGS"
   7439 fi
   7440 
   7441 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7442 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7443 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7444 	fi
   7445 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7447 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7448 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7449   $as_echo_n "(cached) " >&6
   7450 else
   7451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7452 /* end confdefs.h.  */
   7453 int i;
   7454 _ACEOF
   7455 if ac_fn_c_try_compile "$LINENO"; then :
   7456   xorg_cv_cc_flag_unused_command_line_argument=yes
   7457 else
   7458   xorg_cv_cc_flag_unused_command_line_argument=no
   7459 fi
   7460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7461 fi
   7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7463 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7464 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7465 	CFLAGS="$xorg_testset_save_CFLAGS"
   7466 fi
   7467 
   7468 found="no"
   7469 
   7470 	if test $found = "no" ; then
   7471 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7473 		fi
   7474 
   7475 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7477 		fi
   7478 
   7479 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7480 
   7481 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7482 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7483 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7484 		if eval \${$cacheid+:} false; then :
   7485   $as_echo_n "(cached) " >&6
   7486 else
   7487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7488 /* end confdefs.h.  */
   7489 int i;
   7490 int
   7491 main ()
   7492 {
   7493 
   7494   ;
   7495   return 0;
   7496 }
   7497 _ACEOF
   7498 if ac_fn_c_try_link "$LINENO"; then :
   7499   eval $cacheid=yes
   7500 else
   7501   eval $cacheid=no
   7502 fi
   7503 rm -f core conftest.err conftest.$ac_objext \
   7504     conftest$ac_exeext conftest.$ac_ext
   7505 fi
   7506 
   7507 
   7508 		CFLAGS="$xorg_testset_save_CFLAGS"
   7509 
   7510 		eval supported=\$$cacheid
   7511 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7512 $as_echo "$supported" >&6; }
   7513 		if test "$supported" = "yes" ; then
   7514 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7515 			found="yes"
   7516 		fi
   7517 	fi
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 xorg_testset_save_CFLAGS="$CFLAGS"
   7534 
   7535 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7536 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7538 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7539 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7540   $as_echo_n "(cached) " >&6
   7541 else
   7542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7543 /* end confdefs.h.  */
   7544 int i;
   7545 _ACEOF
   7546 if ac_fn_c_try_compile "$LINENO"; then :
   7547   xorg_cv_cc_flag_unknown_warning_option=yes
   7548 else
   7549   xorg_cv_cc_flag_unknown_warning_option=no
   7550 fi
   7551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7552 fi
   7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7554 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7555 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7556 	CFLAGS="$xorg_testset_save_CFLAGS"
   7557 fi
   7558 
   7559 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7560 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7561 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7562 	fi
   7563 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7565 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7566 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7567   $as_echo_n "(cached) " >&6
   7568 else
   7569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7570 /* end confdefs.h.  */
   7571 int i;
   7572 _ACEOF
   7573 if ac_fn_c_try_compile "$LINENO"; then :
   7574   xorg_cv_cc_flag_unused_command_line_argument=yes
   7575 else
   7576   xorg_cv_cc_flag_unused_command_line_argument=no
   7577 fi
   7578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7579 fi
   7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7581 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7582 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7583 	CFLAGS="$xorg_testset_save_CFLAGS"
   7584 fi
   7585 
   7586 found="no"
   7587 
   7588 	if test $found = "no" ; then
   7589 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7591 		fi
   7592 
   7593 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7595 		fi
   7596 
   7597 		CFLAGS="$CFLAGS -Werror=return-type"
   7598 
   7599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7600 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7601 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7602 		if eval \${$cacheid+:} false; then :
   7603   $as_echo_n "(cached) " >&6
   7604 else
   7605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7606 /* end confdefs.h.  */
   7607 int i;
   7608 int
   7609 main ()
   7610 {
   7611 
   7612   ;
   7613   return 0;
   7614 }
   7615 _ACEOF
   7616 if ac_fn_c_try_link "$LINENO"; then :
   7617   eval $cacheid=yes
   7618 else
   7619   eval $cacheid=no
   7620 fi
   7621 rm -f core conftest.err conftest.$ac_objext \
   7622     conftest$ac_exeext conftest.$ac_ext
   7623 fi
   7624 
   7625 
   7626 		CFLAGS="$xorg_testset_save_CFLAGS"
   7627 
   7628 		eval supported=\$$cacheid
   7629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7630 $as_echo "$supported" >&6; }
   7631 		if test "$supported" = "yes" ; then
   7632 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7633 			found="yes"
   7634 		fi
   7635 	fi
   7636 
   7637 	if test $found = "no" ; then
   7638 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7639 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7640 		fi
   7641 
   7642 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7643 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7644 		fi
   7645 
   7646 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7647 
   7648 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7649 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7650 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7651 		if eval \${$cacheid+:} false; then :
   7652   $as_echo_n "(cached) " >&6
   7653 else
   7654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7655 /* end confdefs.h.  */
   7656 int i;
   7657 int
   7658 main ()
   7659 {
   7660 
   7661   ;
   7662   return 0;
   7663 }
   7664 _ACEOF
   7665 if ac_fn_c_try_link "$LINENO"; then :
   7666   eval $cacheid=yes
   7667 else
   7668   eval $cacheid=no
   7669 fi
   7670 rm -f core conftest.err conftest.$ac_objext \
   7671     conftest$ac_exeext conftest.$ac_ext
   7672 fi
   7673 
   7674 
   7675 		CFLAGS="$xorg_testset_save_CFLAGS"
   7676 
   7677 		eval supported=\$$cacheid
   7678 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7679 $as_echo "$supported" >&6; }
   7680 		if test "$supported" = "yes" ; then
   7681 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7682 			found="yes"
   7683 		fi
   7684 	fi
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 xorg_testset_save_CFLAGS="$CFLAGS"
   7701 
   7702 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7703 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7704 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7705 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7706 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7707   $as_echo_n "(cached) " >&6
   7708 else
   7709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7710 /* end confdefs.h.  */
   7711 int i;
   7712 _ACEOF
   7713 if ac_fn_c_try_compile "$LINENO"; then :
   7714   xorg_cv_cc_flag_unknown_warning_option=yes
   7715 else
   7716   xorg_cv_cc_flag_unknown_warning_option=no
   7717 fi
   7718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7719 fi
   7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7721 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7722 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7723 	CFLAGS="$xorg_testset_save_CFLAGS"
   7724 fi
   7725 
   7726 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7727 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7728 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7729 	fi
   7730 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7731 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7732 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7733 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7734   $as_echo_n "(cached) " >&6
   7735 else
   7736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7737 /* end confdefs.h.  */
   7738 int i;
   7739 _ACEOF
   7740 if ac_fn_c_try_compile "$LINENO"; then :
   7741   xorg_cv_cc_flag_unused_command_line_argument=yes
   7742 else
   7743   xorg_cv_cc_flag_unused_command_line_argument=no
   7744 fi
   7745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7746 fi
   7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7748 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7749 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7750 	CFLAGS="$xorg_testset_save_CFLAGS"
   7751 fi
   7752 
   7753 found="no"
   7754 
   7755 	if test $found = "no" ; then
   7756 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7757 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7758 		fi
   7759 
   7760 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7761 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7762 		fi
   7763 
   7764 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7765 
   7766 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7767 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7768 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7769 		if eval \${$cacheid+:} false; then :
   7770   $as_echo_n "(cached) " >&6
   7771 else
   7772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7773 /* end confdefs.h.  */
   7774 int i;
   7775 int
   7776 main ()
   7777 {
   7778 
   7779   ;
   7780   return 0;
   7781 }
   7782 _ACEOF
   7783 if ac_fn_c_try_link "$LINENO"; then :
   7784   eval $cacheid=yes
   7785 else
   7786   eval $cacheid=no
   7787 fi
   7788 rm -f core conftest.err conftest.$ac_objext \
   7789     conftest$ac_exeext conftest.$ac_ext
   7790 fi
   7791 
   7792 
   7793 		CFLAGS="$xorg_testset_save_CFLAGS"
   7794 
   7795 		eval supported=\$$cacheid
   7796 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7797 $as_echo "$supported" >&6; }
   7798 		if test "$supported" = "yes" ; then
   7799 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7800 			found="yes"
   7801 		fi
   7802 	fi
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 xorg_testset_save_CFLAGS="$CFLAGS"
   7819 
   7820 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7821 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7823 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7824 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7825   $as_echo_n "(cached) " >&6
   7826 else
   7827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7828 /* end confdefs.h.  */
   7829 int i;
   7830 _ACEOF
   7831 if ac_fn_c_try_compile "$LINENO"; then :
   7832   xorg_cv_cc_flag_unknown_warning_option=yes
   7833 else
   7834   xorg_cv_cc_flag_unknown_warning_option=no
   7835 fi
   7836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7837 fi
   7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7839 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7840 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7841 	CFLAGS="$xorg_testset_save_CFLAGS"
   7842 fi
   7843 
   7844 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7845 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7846 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7847 	fi
   7848 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7849 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7850 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7851 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7852   $as_echo_n "(cached) " >&6
   7853 else
   7854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7855 /* end confdefs.h.  */
   7856 int i;
   7857 _ACEOF
   7858 if ac_fn_c_try_compile "$LINENO"; then :
   7859   xorg_cv_cc_flag_unused_command_line_argument=yes
   7860 else
   7861   xorg_cv_cc_flag_unused_command_line_argument=no
   7862 fi
   7863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7864 fi
   7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7866 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7867 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7868 	CFLAGS="$xorg_testset_save_CFLAGS"
   7869 fi
   7870 
   7871 found="no"
   7872 
   7873 	if test $found = "no" ; then
   7874 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7875 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7876 		fi
   7877 
   7878 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7879 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7880 		fi
   7881 
   7882 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7883 
   7884 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7885 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7886 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7887 		if eval \${$cacheid+:} false; then :
   7888   $as_echo_n "(cached) " >&6
   7889 else
   7890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7891 /* end confdefs.h.  */
   7892 int i;
   7893 int
   7894 main ()
   7895 {
   7896 
   7897   ;
   7898   return 0;
   7899 }
   7900 _ACEOF
   7901 if ac_fn_c_try_link "$LINENO"; then :
   7902   eval $cacheid=yes
   7903 else
   7904   eval $cacheid=no
   7905 fi
   7906 rm -f core conftest.err conftest.$ac_objext \
   7907     conftest$ac_exeext conftest.$ac_ext
   7908 fi
   7909 
   7910 
   7911 		CFLAGS="$xorg_testset_save_CFLAGS"
   7912 
   7913 		eval supported=\$$cacheid
   7914 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7915 $as_echo "$supported" >&6; }
   7916 		if test "$supported" = "yes" ; then
   7917 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7918 			found="yes"
   7919 		fi
   7920 	fi
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 xorg_testset_save_CFLAGS="$CFLAGS"
   7937 
   7938 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7939 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7940 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7941 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7942 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7943   $as_echo_n "(cached) " >&6
   7944 else
   7945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7946 /* end confdefs.h.  */
   7947 int i;
   7948 _ACEOF
   7949 if ac_fn_c_try_compile "$LINENO"; then :
   7950   xorg_cv_cc_flag_unknown_warning_option=yes
   7951 else
   7952   xorg_cv_cc_flag_unknown_warning_option=no
   7953 fi
   7954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7955 fi
   7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7957 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7958 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7959 	CFLAGS="$xorg_testset_save_CFLAGS"
   7960 fi
   7961 
   7962 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7963 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7964 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7965 	fi
   7966 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7968 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7969 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7970   $as_echo_n "(cached) " >&6
   7971 else
   7972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7973 /* end confdefs.h.  */
   7974 int i;
   7975 _ACEOF
   7976 if ac_fn_c_try_compile "$LINENO"; then :
   7977   xorg_cv_cc_flag_unused_command_line_argument=yes
   7978 else
   7979   xorg_cv_cc_flag_unused_command_line_argument=no
   7980 fi
   7981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7982 fi
   7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7984 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7985 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7986 	CFLAGS="$xorg_testset_save_CFLAGS"
   7987 fi
   7988 
   7989 found="no"
   7990 
   7991 	if test $found = "no" ; then
   7992 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7993 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7994 		fi
   7995 
   7996 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7997 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7998 		fi
   7999 
   8000 		CFLAGS="$CFLAGS -Werror=write-strings"
   8001 
   8002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8003 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8004 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8005 		if eval \${$cacheid+:} false; then :
   8006   $as_echo_n "(cached) " >&6
   8007 else
   8008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8009 /* end confdefs.h.  */
   8010 int i;
   8011 int
   8012 main ()
   8013 {
   8014 
   8015   ;
   8016   return 0;
   8017 }
   8018 _ACEOF
   8019 if ac_fn_c_try_link "$LINENO"; then :
   8020   eval $cacheid=yes
   8021 else
   8022   eval $cacheid=no
   8023 fi
   8024 rm -f core conftest.err conftest.$ac_objext \
   8025     conftest$ac_exeext conftest.$ac_ext
   8026 fi
   8027 
   8028 
   8029 		CFLAGS="$xorg_testset_save_CFLAGS"
   8030 
   8031 		eval supported=\$$cacheid
   8032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8033 $as_echo "$supported" >&6; }
   8034 		if test "$supported" = "yes" ; then
   8035 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8036 			found="yes"
   8037 		fi
   8038 	fi
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 xorg_testset_save_CFLAGS="$CFLAGS"
   8055 
   8056 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8057 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8059 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8060 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8061   $as_echo_n "(cached) " >&6
   8062 else
   8063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8064 /* end confdefs.h.  */
   8065 int i;
   8066 _ACEOF
   8067 if ac_fn_c_try_compile "$LINENO"; then :
   8068   xorg_cv_cc_flag_unknown_warning_option=yes
   8069 else
   8070   xorg_cv_cc_flag_unknown_warning_option=no
   8071 fi
   8072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8073 fi
   8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8075 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8076 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8077 	CFLAGS="$xorg_testset_save_CFLAGS"
   8078 fi
   8079 
   8080 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8081 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8083 	fi
   8084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8086 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8087 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8088   $as_echo_n "(cached) " >&6
   8089 else
   8090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8091 /* end confdefs.h.  */
   8092 int i;
   8093 _ACEOF
   8094 if ac_fn_c_try_compile "$LINENO"; then :
   8095   xorg_cv_cc_flag_unused_command_line_argument=yes
   8096 else
   8097   xorg_cv_cc_flag_unused_command_line_argument=no
   8098 fi
   8099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8100 fi
   8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8102 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8103 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8104 	CFLAGS="$xorg_testset_save_CFLAGS"
   8105 fi
   8106 
   8107 found="no"
   8108 
   8109 	if test $found = "no" ; then
   8110 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8111 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8112 		fi
   8113 
   8114 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8115 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8116 		fi
   8117 
   8118 		CFLAGS="$CFLAGS -Werror=address"
   8119 
   8120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8121 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8122 		cacheid=xorg_cv_cc_flag__Werror_address
   8123 		if eval \${$cacheid+:} false; then :
   8124   $as_echo_n "(cached) " >&6
   8125 else
   8126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8127 /* end confdefs.h.  */
   8128 int i;
   8129 int
   8130 main ()
   8131 {
   8132 
   8133   ;
   8134   return 0;
   8135 }
   8136 _ACEOF
   8137 if ac_fn_c_try_link "$LINENO"; then :
   8138   eval $cacheid=yes
   8139 else
   8140   eval $cacheid=no
   8141 fi
   8142 rm -f core conftest.err conftest.$ac_objext \
   8143     conftest$ac_exeext conftest.$ac_ext
   8144 fi
   8145 
   8146 
   8147 		CFLAGS="$xorg_testset_save_CFLAGS"
   8148 
   8149 		eval supported=\$$cacheid
   8150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8151 $as_echo "$supported" >&6; }
   8152 		if test "$supported" = "yes" ; then
   8153 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8154 			found="yes"
   8155 		fi
   8156 	fi
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 xorg_testset_save_CFLAGS="$CFLAGS"
   8173 
   8174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8175 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8177 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8178 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8179   $as_echo_n "(cached) " >&6
   8180 else
   8181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8182 /* end confdefs.h.  */
   8183 int i;
   8184 _ACEOF
   8185 if ac_fn_c_try_compile "$LINENO"; then :
   8186   xorg_cv_cc_flag_unknown_warning_option=yes
   8187 else
   8188   xorg_cv_cc_flag_unknown_warning_option=no
   8189 fi
   8190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8191 fi
   8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8193 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8194 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8195 	CFLAGS="$xorg_testset_save_CFLAGS"
   8196 fi
   8197 
   8198 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8199 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8200 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8201 	fi
   8202 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8204 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8205 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8206   $as_echo_n "(cached) " >&6
   8207 else
   8208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8209 /* end confdefs.h.  */
   8210 int i;
   8211 _ACEOF
   8212 if ac_fn_c_try_compile "$LINENO"; then :
   8213   xorg_cv_cc_flag_unused_command_line_argument=yes
   8214 else
   8215   xorg_cv_cc_flag_unused_command_line_argument=no
   8216 fi
   8217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8218 fi
   8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8220 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8222 	CFLAGS="$xorg_testset_save_CFLAGS"
   8223 fi
   8224 
   8225 found="no"
   8226 
   8227 	if test $found = "no" ; then
   8228 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8230 		fi
   8231 
   8232 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8234 		fi
   8235 
   8236 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8237 
   8238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8239 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8240 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8241 		if eval \${$cacheid+:} false; then :
   8242   $as_echo_n "(cached) " >&6
   8243 else
   8244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8245 /* end confdefs.h.  */
   8246 int i;
   8247 int
   8248 main ()
   8249 {
   8250 
   8251   ;
   8252   return 0;
   8253 }
   8254 _ACEOF
   8255 if ac_fn_c_try_link "$LINENO"; then :
   8256   eval $cacheid=yes
   8257 else
   8258   eval $cacheid=no
   8259 fi
   8260 rm -f core conftest.err conftest.$ac_objext \
   8261     conftest$ac_exeext conftest.$ac_ext
   8262 fi
   8263 
   8264 
   8265 		CFLAGS="$xorg_testset_save_CFLAGS"
   8266 
   8267 		eval supported=\$$cacheid
   8268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8269 $as_echo "$supported" >&6; }
   8270 		if test "$supported" = "yes" ; then
   8271 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8272 			found="yes"
   8273 		fi
   8274 	fi
   8275 
   8276 	if test $found = "no" ; then
   8277 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8278 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8279 		fi
   8280 
   8281 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8282 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8283 		fi
   8284 
   8285 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8286 
   8287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8288 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8289 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8290 		if eval \${$cacheid+:} false; then :
   8291   $as_echo_n "(cached) " >&6
   8292 else
   8293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8294 /* end confdefs.h.  */
   8295 int i;
   8296 int
   8297 main ()
   8298 {
   8299 
   8300   ;
   8301   return 0;
   8302 }
   8303 _ACEOF
   8304 if ac_fn_c_try_link "$LINENO"; then :
   8305   eval $cacheid=yes
   8306 else
   8307   eval $cacheid=no
   8308 fi
   8309 rm -f core conftest.err conftest.$ac_objext \
   8310     conftest$ac_exeext conftest.$ac_ext
   8311 fi
   8312 
   8313 
   8314 		CFLAGS="$xorg_testset_save_CFLAGS"
   8315 
   8316 		eval supported=\$$cacheid
   8317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8318 $as_echo "$supported" >&6; }
   8319 		if test "$supported" = "yes" ; then
   8320 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8321 			found="yes"
   8322 		fi
   8323 	fi
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 xorg_testset_save_CFLAGS="$CFLAGS"
   8340 
   8341 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8342 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8343 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8344 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8345 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8346   $as_echo_n "(cached) " >&6
   8347 else
   8348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8349 /* end confdefs.h.  */
   8350 int i;
   8351 _ACEOF
   8352 if ac_fn_c_try_compile "$LINENO"; then :
   8353   xorg_cv_cc_flag_unknown_warning_option=yes
   8354 else
   8355   xorg_cv_cc_flag_unknown_warning_option=no
   8356 fi
   8357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8358 fi
   8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8360 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8361 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8362 	CFLAGS="$xorg_testset_save_CFLAGS"
   8363 fi
   8364 
   8365 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8366 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8367 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8368 	fi
   8369 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8370 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8371 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8372 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8373   $as_echo_n "(cached) " >&6
   8374 else
   8375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8376 /* end confdefs.h.  */
   8377 int i;
   8378 _ACEOF
   8379 if ac_fn_c_try_compile "$LINENO"; then :
   8380   xorg_cv_cc_flag_unused_command_line_argument=yes
   8381 else
   8382   xorg_cv_cc_flag_unused_command_line_argument=no
   8383 fi
   8384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8385 fi
   8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8387 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8389 	CFLAGS="$xorg_testset_save_CFLAGS"
   8390 fi
   8391 
   8392 found="no"
   8393 
   8394 	if test $found = "no" ; then
   8395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8397 		fi
   8398 
   8399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8401 		fi
   8402 
   8403 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8404 
   8405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8406 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8407 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8408 		if eval \${$cacheid+:} false; then :
   8409   $as_echo_n "(cached) " >&6
   8410 else
   8411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8412 /* end confdefs.h.  */
   8413 int i;
   8414 int
   8415 main ()
   8416 {
   8417 
   8418   ;
   8419   return 0;
   8420 }
   8421 _ACEOF
   8422 if ac_fn_c_try_link "$LINENO"; then :
   8423   eval $cacheid=yes
   8424 else
   8425   eval $cacheid=no
   8426 fi
   8427 rm -f core conftest.err conftest.$ac_objext \
   8428     conftest$ac_exeext conftest.$ac_ext
   8429 fi
   8430 
   8431 
   8432 		CFLAGS="$xorg_testset_save_CFLAGS"
   8433 
   8434 		eval supported=\$$cacheid
   8435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8436 $as_echo "$supported" >&6; }
   8437 		if test "$supported" = "yes" ; then
   8438 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8439 			found="yes"
   8440 		fi
   8441 	fi
   8442 
   8443  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8444 else
   8445 { $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
   8446 $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;}
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 xorg_testset_save_CFLAGS="$CFLAGS"
   8461 
   8462 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8463 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8465 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8466 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8467   $as_echo_n "(cached) " >&6
   8468 else
   8469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8470 /* end confdefs.h.  */
   8471 int i;
   8472 _ACEOF
   8473 if ac_fn_c_try_compile "$LINENO"; then :
   8474   xorg_cv_cc_flag_unknown_warning_option=yes
   8475 else
   8476   xorg_cv_cc_flag_unknown_warning_option=no
   8477 fi
   8478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8479 fi
   8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8481 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8482 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8483 	CFLAGS="$xorg_testset_save_CFLAGS"
   8484 fi
   8485 
   8486 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8487 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8488 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8489 	fi
   8490 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8492 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8493 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8494   $as_echo_n "(cached) " >&6
   8495 else
   8496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8497 /* end confdefs.h.  */
   8498 int i;
   8499 _ACEOF
   8500 if ac_fn_c_try_compile "$LINENO"; then :
   8501   xorg_cv_cc_flag_unused_command_line_argument=yes
   8502 else
   8503   xorg_cv_cc_flag_unused_command_line_argument=no
   8504 fi
   8505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8506 fi
   8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8508 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8509 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8510 	CFLAGS="$xorg_testset_save_CFLAGS"
   8511 fi
   8512 
   8513 found="no"
   8514 
   8515 	if test $found = "no" ; then
   8516 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8517 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8518 		fi
   8519 
   8520 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8521 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8522 		fi
   8523 
   8524 		CFLAGS="$CFLAGS -Wimplicit"
   8525 
   8526 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8527 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8528 		cacheid=xorg_cv_cc_flag__Wimplicit
   8529 		if eval \${$cacheid+:} false; then :
   8530   $as_echo_n "(cached) " >&6
   8531 else
   8532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8533 /* end confdefs.h.  */
   8534 int i;
   8535 int
   8536 main ()
   8537 {
   8538 
   8539   ;
   8540   return 0;
   8541 }
   8542 _ACEOF
   8543 if ac_fn_c_try_link "$LINENO"; then :
   8544   eval $cacheid=yes
   8545 else
   8546   eval $cacheid=no
   8547 fi
   8548 rm -f core conftest.err conftest.$ac_objext \
   8549     conftest$ac_exeext conftest.$ac_ext
   8550 fi
   8551 
   8552 
   8553 		CFLAGS="$xorg_testset_save_CFLAGS"
   8554 
   8555 		eval supported=\$$cacheid
   8556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8557 $as_echo "$supported" >&6; }
   8558 		if test "$supported" = "yes" ; then
   8559 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8560 			found="yes"
   8561 		fi
   8562 	fi
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 xorg_testset_save_CFLAGS="$CFLAGS"
   8579 
   8580 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8581 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8583 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8584 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8585   $as_echo_n "(cached) " >&6
   8586 else
   8587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8588 /* end confdefs.h.  */
   8589 int i;
   8590 _ACEOF
   8591 if ac_fn_c_try_compile "$LINENO"; then :
   8592   xorg_cv_cc_flag_unknown_warning_option=yes
   8593 else
   8594   xorg_cv_cc_flag_unknown_warning_option=no
   8595 fi
   8596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8597 fi
   8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8599 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8600 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8601 	CFLAGS="$xorg_testset_save_CFLAGS"
   8602 fi
   8603 
   8604 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8605 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8606 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8607 	fi
   8608 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8610 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8611 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8612   $as_echo_n "(cached) " >&6
   8613 else
   8614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8615 /* end confdefs.h.  */
   8616 int i;
   8617 _ACEOF
   8618 if ac_fn_c_try_compile "$LINENO"; then :
   8619   xorg_cv_cc_flag_unused_command_line_argument=yes
   8620 else
   8621   xorg_cv_cc_flag_unused_command_line_argument=no
   8622 fi
   8623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8624 fi
   8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8626 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8627 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8628 	CFLAGS="$xorg_testset_save_CFLAGS"
   8629 fi
   8630 
   8631 found="no"
   8632 
   8633 	if test $found = "no" ; then
   8634 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8636 		fi
   8637 
   8638 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8640 		fi
   8641 
   8642 		CFLAGS="$CFLAGS -Wnonnull"
   8643 
   8644 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8645 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8646 		cacheid=xorg_cv_cc_flag__Wnonnull
   8647 		if eval \${$cacheid+:} false; then :
   8648   $as_echo_n "(cached) " >&6
   8649 else
   8650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8651 /* end confdefs.h.  */
   8652 int i;
   8653 int
   8654 main ()
   8655 {
   8656 
   8657   ;
   8658   return 0;
   8659 }
   8660 _ACEOF
   8661 if ac_fn_c_try_link "$LINENO"; then :
   8662   eval $cacheid=yes
   8663 else
   8664   eval $cacheid=no
   8665 fi
   8666 rm -f core conftest.err conftest.$ac_objext \
   8667     conftest$ac_exeext conftest.$ac_ext
   8668 fi
   8669 
   8670 
   8671 		CFLAGS="$xorg_testset_save_CFLAGS"
   8672 
   8673 		eval supported=\$$cacheid
   8674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8675 $as_echo "$supported" >&6; }
   8676 		if test "$supported" = "yes" ; then
   8677 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8678 			found="yes"
   8679 		fi
   8680 	fi
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 xorg_testset_save_CFLAGS="$CFLAGS"
   8697 
   8698 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8701 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8702 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8703   $as_echo_n "(cached) " >&6
   8704 else
   8705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8706 /* end confdefs.h.  */
   8707 int i;
   8708 _ACEOF
   8709 if ac_fn_c_try_compile "$LINENO"; then :
   8710   xorg_cv_cc_flag_unknown_warning_option=yes
   8711 else
   8712   xorg_cv_cc_flag_unknown_warning_option=no
   8713 fi
   8714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8715 fi
   8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8717 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8718 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8719 	CFLAGS="$xorg_testset_save_CFLAGS"
   8720 fi
   8721 
   8722 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8723 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8725 	fi
   8726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8728 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8729 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8730   $as_echo_n "(cached) " >&6
   8731 else
   8732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8733 /* end confdefs.h.  */
   8734 int i;
   8735 _ACEOF
   8736 if ac_fn_c_try_compile "$LINENO"; then :
   8737   xorg_cv_cc_flag_unused_command_line_argument=yes
   8738 else
   8739   xorg_cv_cc_flag_unused_command_line_argument=no
   8740 fi
   8741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8742 fi
   8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8744 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8746 	CFLAGS="$xorg_testset_save_CFLAGS"
   8747 fi
   8748 
   8749 found="no"
   8750 
   8751 	if test $found = "no" ; then
   8752 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8754 		fi
   8755 
   8756 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8758 		fi
   8759 
   8760 		CFLAGS="$CFLAGS -Winit-self"
   8761 
   8762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8763 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8764 		cacheid=xorg_cv_cc_flag__Winit_self
   8765 		if eval \${$cacheid+:} false; then :
   8766   $as_echo_n "(cached) " >&6
   8767 else
   8768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8769 /* end confdefs.h.  */
   8770 int i;
   8771 int
   8772 main ()
   8773 {
   8774 
   8775   ;
   8776   return 0;
   8777 }
   8778 _ACEOF
   8779 if ac_fn_c_try_link "$LINENO"; then :
   8780   eval $cacheid=yes
   8781 else
   8782   eval $cacheid=no
   8783 fi
   8784 rm -f core conftest.err conftest.$ac_objext \
   8785     conftest$ac_exeext conftest.$ac_ext
   8786 fi
   8787 
   8788 
   8789 		CFLAGS="$xorg_testset_save_CFLAGS"
   8790 
   8791 		eval supported=\$$cacheid
   8792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8793 $as_echo "$supported" >&6; }
   8794 		if test "$supported" = "yes" ; then
   8795 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8796 			found="yes"
   8797 		fi
   8798 	fi
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 xorg_testset_save_CFLAGS="$CFLAGS"
   8815 
   8816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8819 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8820 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8821   $as_echo_n "(cached) " >&6
   8822 else
   8823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8824 /* end confdefs.h.  */
   8825 int i;
   8826 _ACEOF
   8827 if ac_fn_c_try_compile "$LINENO"; then :
   8828   xorg_cv_cc_flag_unknown_warning_option=yes
   8829 else
   8830   xorg_cv_cc_flag_unknown_warning_option=no
   8831 fi
   8832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8833 fi
   8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8835 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8837 	CFLAGS="$xorg_testset_save_CFLAGS"
   8838 fi
   8839 
   8840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8843 	fi
   8844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8846 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8847 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8848   $as_echo_n "(cached) " >&6
   8849 else
   8850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8851 /* end confdefs.h.  */
   8852 int i;
   8853 _ACEOF
   8854 if ac_fn_c_try_compile "$LINENO"; then :
   8855   xorg_cv_cc_flag_unused_command_line_argument=yes
   8856 else
   8857   xorg_cv_cc_flag_unused_command_line_argument=no
   8858 fi
   8859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8860 fi
   8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8862 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8864 	CFLAGS="$xorg_testset_save_CFLAGS"
   8865 fi
   8866 
   8867 found="no"
   8868 
   8869 	if test $found = "no" ; then
   8870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8872 		fi
   8873 
   8874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8876 		fi
   8877 
   8878 		CFLAGS="$CFLAGS -Wmain"
   8879 
   8880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8881 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8882 		cacheid=xorg_cv_cc_flag__Wmain
   8883 		if eval \${$cacheid+:} false; then :
   8884   $as_echo_n "(cached) " >&6
   8885 else
   8886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8887 /* end confdefs.h.  */
   8888 int i;
   8889 int
   8890 main ()
   8891 {
   8892 
   8893   ;
   8894   return 0;
   8895 }
   8896 _ACEOF
   8897 if ac_fn_c_try_link "$LINENO"; then :
   8898   eval $cacheid=yes
   8899 else
   8900   eval $cacheid=no
   8901 fi
   8902 rm -f core conftest.err conftest.$ac_objext \
   8903     conftest$ac_exeext conftest.$ac_ext
   8904 fi
   8905 
   8906 
   8907 		CFLAGS="$xorg_testset_save_CFLAGS"
   8908 
   8909 		eval supported=\$$cacheid
   8910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8911 $as_echo "$supported" >&6; }
   8912 		if test "$supported" = "yes" ; then
   8913 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8914 			found="yes"
   8915 		fi
   8916 	fi
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 xorg_testset_save_CFLAGS="$CFLAGS"
   8933 
   8934 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8935 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8937 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8938 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8939   $as_echo_n "(cached) " >&6
   8940 else
   8941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8942 /* end confdefs.h.  */
   8943 int i;
   8944 _ACEOF
   8945 if ac_fn_c_try_compile "$LINENO"; then :
   8946   xorg_cv_cc_flag_unknown_warning_option=yes
   8947 else
   8948   xorg_cv_cc_flag_unknown_warning_option=no
   8949 fi
   8950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8951 fi
   8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8953 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8955 	CFLAGS="$xorg_testset_save_CFLAGS"
   8956 fi
   8957 
   8958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8961 	fi
   8962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8964 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8965 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8966   $as_echo_n "(cached) " >&6
   8967 else
   8968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8969 /* end confdefs.h.  */
   8970 int i;
   8971 _ACEOF
   8972 if ac_fn_c_try_compile "$LINENO"; then :
   8973   xorg_cv_cc_flag_unused_command_line_argument=yes
   8974 else
   8975   xorg_cv_cc_flag_unused_command_line_argument=no
   8976 fi
   8977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8978 fi
   8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8980 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8981 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8982 	CFLAGS="$xorg_testset_save_CFLAGS"
   8983 fi
   8984 
   8985 found="no"
   8986 
   8987 	if test $found = "no" ; then
   8988 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8990 		fi
   8991 
   8992 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8994 		fi
   8995 
   8996 		CFLAGS="$CFLAGS -Wmissing-braces"
   8997 
   8998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8999 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9000 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9001 		if eval \${$cacheid+:} false; then :
   9002   $as_echo_n "(cached) " >&6
   9003 else
   9004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9005 /* end confdefs.h.  */
   9006 int i;
   9007 int
   9008 main ()
   9009 {
   9010 
   9011   ;
   9012   return 0;
   9013 }
   9014 _ACEOF
   9015 if ac_fn_c_try_link "$LINENO"; then :
   9016   eval $cacheid=yes
   9017 else
   9018   eval $cacheid=no
   9019 fi
   9020 rm -f core conftest.err conftest.$ac_objext \
   9021     conftest$ac_exeext conftest.$ac_ext
   9022 fi
   9023 
   9024 
   9025 		CFLAGS="$xorg_testset_save_CFLAGS"
   9026 
   9027 		eval supported=\$$cacheid
   9028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9029 $as_echo "$supported" >&6; }
   9030 		if test "$supported" = "yes" ; then
   9031 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9032 			found="yes"
   9033 		fi
   9034 	fi
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 xorg_testset_save_CFLAGS="$CFLAGS"
   9051 
   9052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9055 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9056 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9057   $as_echo_n "(cached) " >&6
   9058 else
   9059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9060 /* end confdefs.h.  */
   9061 int i;
   9062 _ACEOF
   9063 if ac_fn_c_try_compile "$LINENO"; then :
   9064   xorg_cv_cc_flag_unknown_warning_option=yes
   9065 else
   9066   xorg_cv_cc_flag_unknown_warning_option=no
   9067 fi
   9068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9069 fi
   9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9071 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9072 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9073 	CFLAGS="$xorg_testset_save_CFLAGS"
   9074 fi
   9075 
   9076 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9077 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9079 	fi
   9080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9082 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9083 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9084   $as_echo_n "(cached) " >&6
   9085 else
   9086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9087 /* end confdefs.h.  */
   9088 int i;
   9089 _ACEOF
   9090 if ac_fn_c_try_compile "$LINENO"; then :
   9091   xorg_cv_cc_flag_unused_command_line_argument=yes
   9092 else
   9093   xorg_cv_cc_flag_unused_command_line_argument=no
   9094 fi
   9095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9096 fi
   9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9098 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9099 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9100 	CFLAGS="$xorg_testset_save_CFLAGS"
   9101 fi
   9102 
   9103 found="no"
   9104 
   9105 	if test $found = "no" ; then
   9106 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9108 		fi
   9109 
   9110 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9112 		fi
   9113 
   9114 		CFLAGS="$CFLAGS -Wsequence-point"
   9115 
   9116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9117 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9118 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9119 		if eval \${$cacheid+:} false; then :
   9120   $as_echo_n "(cached) " >&6
   9121 else
   9122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9123 /* end confdefs.h.  */
   9124 int i;
   9125 int
   9126 main ()
   9127 {
   9128 
   9129   ;
   9130   return 0;
   9131 }
   9132 _ACEOF
   9133 if ac_fn_c_try_link "$LINENO"; then :
   9134   eval $cacheid=yes
   9135 else
   9136   eval $cacheid=no
   9137 fi
   9138 rm -f core conftest.err conftest.$ac_objext \
   9139     conftest$ac_exeext conftest.$ac_ext
   9140 fi
   9141 
   9142 
   9143 		CFLAGS="$xorg_testset_save_CFLAGS"
   9144 
   9145 		eval supported=\$$cacheid
   9146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9147 $as_echo "$supported" >&6; }
   9148 		if test "$supported" = "yes" ; then
   9149 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9150 			found="yes"
   9151 		fi
   9152 	fi
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 xorg_testset_save_CFLAGS="$CFLAGS"
   9169 
   9170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9173 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9174 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9175   $as_echo_n "(cached) " >&6
   9176 else
   9177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9178 /* end confdefs.h.  */
   9179 int i;
   9180 _ACEOF
   9181 if ac_fn_c_try_compile "$LINENO"; then :
   9182   xorg_cv_cc_flag_unknown_warning_option=yes
   9183 else
   9184   xorg_cv_cc_flag_unknown_warning_option=no
   9185 fi
   9186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9187 fi
   9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9189 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9191 	CFLAGS="$xorg_testset_save_CFLAGS"
   9192 fi
   9193 
   9194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9197 	fi
   9198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9200 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9201 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9202   $as_echo_n "(cached) " >&6
   9203 else
   9204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 int i;
   9207 _ACEOF
   9208 if ac_fn_c_try_compile "$LINENO"; then :
   9209   xorg_cv_cc_flag_unused_command_line_argument=yes
   9210 else
   9211   xorg_cv_cc_flag_unused_command_line_argument=no
   9212 fi
   9213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9214 fi
   9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9216 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9218 	CFLAGS="$xorg_testset_save_CFLAGS"
   9219 fi
   9220 
   9221 found="no"
   9222 
   9223 	if test $found = "no" ; then
   9224 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9226 		fi
   9227 
   9228 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9230 		fi
   9231 
   9232 		CFLAGS="$CFLAGS -Wreturn-type"
   9233 
   9234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9235 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9236 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9237 		if eval \${$cacheid+:} false; then :
   9238   $as_echo_n "(cached) " >&6
   9239 else
   9240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9241 /* end confdefs.h.  */
   9242 int i;
   9243 int
   9244 main ()
   9245 {
   9246 
   9247   ;
   9248   return 0;
   9249 }
   9250 _ACEOF
   9251 if ac_fn_c_try_link "$LINENO"; then :
   9252   eval $cacheid=yes
   9253 else
   9254   eval $cacheid=no
   9255 fi
   9256 rm -f core conftest.err conftest.$ac_objext \
   9257     conftest$ac_exeext conftest.$ac_ext
   9258 fi
   9259 
   9260 
   9261 		CFLAGS="$xorg_testset_save_CFLAGS"
   9262 
   9263 		eval supported=\$$cacheid
   9264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9265 $as_echo "$supported" >&6; }
   9266 		if test "$supported" = "yes" ; then
   9267 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9268 			found="yes"
   9269 		fi
   9270 	fi
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 xorg_testset_save_CFLAGS="$CFLAGS"
   9287 
   9288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9291 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9292 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9293   $as_echo_n "(cached) " >&6
   9294 else
   9295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9296 /* end confdefs.h.  */
   9297 int i;
   9298 _ACEOF
   9299 if ac_fn_c_try_compile "$LINENO"; then :
   9300   xorg_cv_cc_flag_unknown_warning_option=yes
   9301 else
   9302   xorg_cv_cc_flag_unknown_warning_option=no
   9303 fi
   9304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9305 fi
   9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9307 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9308 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9309 	CFLAGS="$xorg_testset_save_CFLAGS"
   9310 fi
   9311 
   9312 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9313 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9314 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9315 	fi
   9316 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9318 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9319 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9320   $as_echo_n "(cached) " >&6
   9321 else
   9322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9323 /* end confdefs.h.  */
   9324 int i;
   9325 _ACEOF
   9326 if ac_fn_c_try_compile "$LINENO"; then :
   9327   xorg_cv_cc_flag_unused_command_line_argument=yes
   9328 else
   9329   xorg_cv_cc_flag_unused_command_line_argument=no
   9330 fi
   9331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9332 fi
   9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9334 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9335 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9336 	CFLAGS="$xorg_testset_save_CFLAGS"
   9337 fi
   9338 
   9339 found="no"
   9340 
   9341 	if test $found = "no" ; then
   9342 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9344 		fi
   9345 
   9346 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9348 		fi
   9349 
   9350 		CFLAGS="$CFLAGS -Wtrigraphs"
   9351 
   9352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9353 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9354 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9355 		if eval \${$cacheid+:} false; then :
   9356   $as_echo_n "(cached) " >&6
   9357 else
   9358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9359 /* end confdefs.h.  */
   9360 int i;
   9361 int
   9362 main ()
   9363 {
   9364 
   9365   ;
   9366   return 0;
   9367 }
   9368 _ACEOF
   9369 if ac_fn_c_try_link "$LINENO"; then :
   9370   eval $cacheid=yes
   9371 else
   9372   eval $cacheid=no
   9373 fi
   9374 rm -f core conftest.err conftest.$ac_objext \
   9375     conftest$ac_exeext conftest.$ac_ext
   9376 fi
   9377 
   9378 
   9379 		CFLAGS="$xorg_testset_save_CFLAGS"
   9380 
   9381 		eval supported=\$$cacheid
   9382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9383 $as_echo "$supported" >&6; }
   9384 		if test "$supported" = "yes" ; then
   9385 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9386 			found="yes"
   9387 		fi
   9388 	fi
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 xorg_testset_save_CFLAGS="$CFLAGS"
   9405 
   9406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9409 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9410 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9411   $as_echo_n "(cached) " >&6
   9412 else
   9413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9414 /* end confdefs.h.  */
   9415 int i;
   9416 _ACEOF
   9417 if ac_fn_c_try_compile "$LINENO"; then :
   9418   xorg_cv_cc_flag_unknown_warning_option=yes
   9419 else
   9420   xorg_cv_cc_flag_unknown_warning_option=no
   9421 fi
   9422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9423 fi
   9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9425 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9427 	CFLAGS="$xorg_testset_save_CFLAGS"
   9428 fi
   9429 
   9430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9433 	fi
   9434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9436 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9437 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9438   $as_echo_n "(cached) " >&6
   9439 else
   9440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9441 /* end confdefs.h.  */
   9442 int i;
   9443 _ACEOF
   9444 if ac_fn_c_try_compile "$LINENO"; then :
   9445   xorg_cv_cc_flag_unused_command_line_argument=yes
   9446 else
   9447   xorg_cv_cc_flag_unused_command_line_argument=no
   9448 fi
   9449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9450 fi
   9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9452 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9453 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9454 	CFLAGS="$xorg_testset_save_CFLAGS"
   9455 fi
   9456 
   9457 found="no"
   9458 
   9459 	if test $found = "no" ; then
   9460 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9462 		fi
   9463 
   9464 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9466 		fi
   9467 
   9468 		CFLAGS="$CFLAGS -Warray-bounds"
   9469 
   9470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9471 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9472 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9473 		if eval \${$cacheid+:} false; then :
   9474   $as_echo_n "(cached) " >&6
   9475 else
   9476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9477 /* end confdefs.h.  */
   9478 int i;
   9479 int
   9480 main ()
   9481 {
   9482 
   9483   ;
   9484   return 0;
   9485 }
   9486 _ACEOF
   9487 if ac_fn_c_try_link "$LINENO"; then :
   9488   eval $cacheid=yes
   9489 else
   9490   eval $cacheid=no
   9491 fi
   9492 rm -f core conftest.err conftest.$ac_objext \
   9493     conftest$ac_exeext conftest.$ac_ext
   9494 fi
   9495 
   9496 
   9497 		CFLAGS="$xorg_testset_save_CFLAGS"
   9498 
   9499 		eval supported=\$$cacheid
   9500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9501 $as_echo "$supported" >&6; }
   9502 		if test "$supported" = "yes" ; then
   9503 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9504 			found="yes"
   9505 		fi
   9506 	fi
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 xorg_testset_save_CFLAGS="$CFLAGS"
   9523 
   9524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9527 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9528 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9529   $as_echo_n "(cached) " >&6
   9530 else
   9531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9532 /* end confdefs.h.  */
   9533 int i;
   9534 _ACEOF
   9535 if ac_fn_c_try_compile "$LINENO"; then :
   9536   xorg_cv_cc_flag_unknown_warning_option=yes
   9537 else
   9538   xorg_cv_cc_flag_unknown_warning_option=no
   9539 fi
   9540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9541 fi
   9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9543 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9545 	CFLAGS="$xorg_testset_save_CFLAGS"
   9546 fi
   9547 
   9548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9551 	fi
   9552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9554 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9555 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9556   $as_echo_n "(cached) " >&6
   9557 else
   9558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9559 /* end confdefs.h.  */
   9560 int i;
   9561 _ACEOF
   9562 if ac_fn_c_try_compile "$LINENO"; then :
   9563   xorg_cv_cc_flag_unused_command_line_argument=yes
   9564 else
   9565   xorg_cv_cc_flag_unused_command_line_argument=no
   9566 fi
   9567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9568 fi
   9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9570 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9572 	CFLAGS="$xorg_testset_save_CFLAGS"
   9573 fi
   9574 
   9575 found="no"
   9576 
   9577 	if test $found = "no" ; then
   9578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9580 		fi
   9581 
   9582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9584 		fi
   9585 
   9586 		CFLAGS="$CFLAGS -Wwrite-strings"
   9587 
   9588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9589 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9590 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9591 		if eval \${$cacheid+:} false; then :
   9592   $as_echo_n "(cached) " >&6
   9593 else
   9594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9595 /* end confdefs.h.  */
   9596 int i;
   9597 int
   9598 main ()
   9599 {
   9600 
   9601   ;
   9602   return 0;
   9603 }
   9604 _ACEOF
   9605 if ac_fn_c_try_link "$LINENO"; then :
   9606   eval $cacheid=yes
   9607 else
   9608   eval $cacheid=no
   9609 fi
   9610 rm -f core conftest.err conftest.$ac_objext \
   9611     conftest$ac_exeext conftest.$ac_ext
   9612 fi
   9613 
   9614 
   9615 		CFLAGS="$xorg_testset_save_CFLAGS"
   9616 
   9617 		eval supported=\$$cacheid
   9618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9619 $as_echo "$supported" >&6; }
   9620 		if test "$supported" = "yes" ; then
   9621 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9622 			found="yes"
   9623 		fi
   9624 	fi
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 xorg_testset_save_CFLAGS="$CFLAGS"
   9641 
   9642 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9645 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9646 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9647   $as_echo_n "(cached) " >&6
   9648 else
   9649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9650 /* end confdefs.h.  */
   9651 int i;
   9652 _ACEOF
   9653 if ac_fn_c_try_compile "$LINENO"; then :
   9654   xorg_cv_cc_flag_unknown_warning_option=yes
   9655 else
   9656   xorg_cv_cc_flag_unknown_warning_option=no
   9657 fi
   9658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9659 fi
   9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9661 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9663 	CFLAGS="$xorg_testset_save_CFLAGS"
   9664 fi
   9665 
   9666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9669 	fi
   9670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9672 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9673 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9674   $as_echo_n "(cached) " >&6
   9675 else
   9676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9677 /* end confdefs.h.  */
   9678 int i;
   9679 _ACEOF
   9680 if ac_fn_c_try_compile "$LINENO"; then :
   9681   xorg_cv_cc_flag_unused_command_line_argument=yes
   9682 else
   9683   xorg_cv_cc_flag_unused_command_line_argument=no
   9684 fi
   9685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9686 fi
   9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9688 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9689 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9690 	CFLAGS="$xorg_testset_save_CFLAGS"
   9691 fi
   9692 
   9693 found="no"
   9694 
   9695 	if test $found = "no" ; then
   9696 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9698 		fi
   9699 
   9700 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9702 		fi
   9703 
   9704 		CFLAGS="$CFLAGS -Waddress"
   9705 
   9706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9707 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9708 		cacheid=xorg_cv_cc_flag__Waddress
   9709 		if eval \${$cacheid+:} false; then :
   9710   $as_echo_n "(cached) " >&6
   9711 else
   9712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9713 /* end confdefs.h.  */
   9714 int i;
   9715 int
   9716 main ()
   9717 {
   9718 
   9719   ;
   9720   return 0;
   9721 }
   9722 _ACEOF
   9723 if ac_fn_c_try_link "$LINENO"; then :
   9724   eval $cacheid=yes
   9725 else
   9726   eval $cacheid=no
   9727 fi
   9728 rm -f core conftest.err conftest.$ac_objext \
   9729     conftest$ac_exeext conftest.$ac_ext
   9730 fi
   9731 
   9732 
   9733 		CFLAGS="$xorg_testset_save_CFLAGS"
   9734 
   9735 		eval supported=\$$cacheid
   9736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9737 $as_echo "$supported" >&6; }
   9738 		if test "$supported" = "yes" ; then
   9739 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9740 			found="yes"
   9741 		fi
   9742 	fi
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 xorg_testset_save_CFLAGS="$CFLAGS"
   9759 
   9760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9763 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9764 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9765   $as_echo_n "(cached) " >&6
   9766 else
   9767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9768 /* end confdefs.h.  */
   9769 int i;
   9770 _ACEOF
   9771 if ac_fn_c_try_compile "$LINENO"; then :
   9772   xorg_cv_cc_flag_unknown_warning_option=yes
   9773 else
   9774   xorg_cv_cc_flag_unknown_warning_option=no
   9775 fi
   9776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9777 fi
   9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9779 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9780 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9781 	CFLAGS="$xorg_testset_save_CFLAGS"
   9782 fi
   9783 
   9784 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9785 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9786 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9787 	fi
   9788 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9790 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9791 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9792   $as_echo_n "(cached) " >&6
   9793 else
   9794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9795 /* end confdefs.h.  */
   9796 int i;
   9797 _ACEOF
   9798 if ac_fn_c_try_compile "$LINENO"; then :
   9799   xorg_cv_cc_flag_unused_command_line_argument=yes
   9800 else
   9801   xorg_cv_cc_flag_unused_command_line_argument=no
   9802 fi
   9803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9804 fi
   9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9806 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9808 	CFLAGS="$xorg_testset_save_CFLAGS"
   9809 fi
   9810 
   9811 found="no"
   9812 
   9813 	if test $found = "no" ; then
   9814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9816 		fi
   9817 
   9818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9820 		fi
   9821 
   9822 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9823 
   9824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9825 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9826 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9827 		if eval \${$cacheid+:} false; then :
   9828   $as_echo_n "(cached) " >&6
   9829 else
   9830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9831 /* end confdefs.h.  */
   9832 int i;
   9833 int
   9834 main ()
   9835 {
   9836 
   9837   ;
   9838   return 0;
   9839 }
   9840 _ACEOF
   9841 if ac_fn_c_try_link "$LINENO"; then :
   9842   eval $cacheid=yes
   9843 else
   9844   eval $cacheid=no
   9845 fi
   9846 rm -f core conftest.err conftest.$ac_objext \
   9847     conftest$ac_exeext conftest.$ac_ext
   9848 fi
   9849 
   9850 
   9851 		CFLAGS="$xorg_testset_save_CFLAGS"
   9852 
   9853 		eval supported=\$$cacheid
   9854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9855 $as_echo "$supported" >&6; }
   9856 		if test "$supported" = "yes" ; then
   9857 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9858 			found="yes"
   9859 		fi
   9860 	fi
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 xorg_testset_save_CFLAGS="$CFLAGS"
   9877 
   9878 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9879 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9880 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9881 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9882 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9883   $as_echo_n "(cached) " >&6
   9884 else
   9885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9886 /* end confdefs.h.  */
   9887 int i;
   9888 _ACEOF
   9889 if ac_fn_c_try_compile "$LINENO"; then :
   9890   xorg_cv_cc_flag_unknown_warning_option=yes
   9891 else
   9892   xorg_cv_cc_flag_unknown_warning_option=no
   9893 fi
   9894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9895 fi
   9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9897 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9898 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9899 	CFLAGS="$xorg_testset_save_CFLAGS"
   9900 fi
   9901 
   9902 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9903 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9904 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9905 	fi
   9906 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9908 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9909 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9910   $as_echo_n "(cached) " >&6
   9911 else
   9912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9913 /* end confdefs.h.  */
   9914 int i;
   9915 _ACEOF
   9916 if ac_fn_c_try_compile "$LINENO"; then :
   9917   xorg_cv_cc_flag_unused_command_line_argument=yes
   9918 else
   9919   xorg_cv_cc_flag_unused_command_line_argument=no
   9920 fi
   9921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9922 fi
   9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9924 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9925 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9926 	CFLAGS="$xorg_testset_save_CFLAGS"
   9927 fi
   9928 
   9929 found="no"
   9930 
   9931 	if test $found = "no" ; then
   9932 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9933 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9934 		fi
   9935 
   9936 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9937 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9938 		fi
   9939 
   9940 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9941 
   9942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9943 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9944 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9945 		if eval \${$cacheid+:} false; then :
   9946   $as_echo_n "(cached) " >&6
   9947 else
   9948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9949 /* end confdefs.h.  */
   9950 int i;
   9951 int
   9952 main ()
   9953 {
   9954 
   9955   ;
   9956   return 0;
   9957 }
   9958 _ACEOF
   9959 if ac_fn_c_try_link "$LINENO"; then :
   9960   eval $cacheid=yes
   9961 else
   9962   eval $cacheid=no
   9963 fi
   9964 rm -f core conftest.err conftest.$ac_objext \
   9965     conftest$ac_exeext conftest.$ac_ext
   9966 fi
   9967 
   9968 
   9969 		CFLAGS="$xorg_testset_save_CFLAGS"
   9970 
   9971 		eval supported=\$$cacheid
   9972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9973 $as_echo "$supported" >&6; }
   9974 		if test "$supported" = "yes" ; then
   9975 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9976 			found="yes"
   9977 		fi
   9978 	fi
   9979 
   9980 
   9981 fi
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 		CWARNFLAGS="$BASE_CFLAGS"
   9990 		if  test "x$GCC" = xyes ; then
   9991 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9992 		fi
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 # Check whether --enable-strict-compilation was given.
   10002 if test "${enable_strict_compilation+set}" = set; then :
   10003   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10004 else
   10005   STRICT_COMPILE=no
   10006 fi
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 STRICT_CFLAGS=""
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 xorg_testset_save_CFLAGS="$CFLAGS"
   10028 
   10029 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10030 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10032 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10033 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   10042 else
   10043   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   10048 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10049 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10050 	CFLAGS="$xorg_testset_save_CFLAGS"
   10051 fi
   10052 
   10053 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10054 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10055 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10056 	fi
   10057 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10059 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10060 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10061   $as_echo_n "(cached) " >&6
   10062 else
   10063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10064 /* end confdefs.h.  */
   10065 int i;
   10066 _ACEOF
   10067 if ac_fn_c_try_compile "$LINENO"; then :
   10068   xorg_cv_cc_flag_unused_command_line_argument=yes
   10069 else
   10070   xorg_cv_cc_flag_unused_command_line_argument=no
   10071 fi
   10072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10073 fi
   10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10075 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10076 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10077 	CFLAGS="$xorg_testset_save_CFLAGS"
   10078 fi
   10079 
   10080 found="no"
   10081 
   10082 	if test $found = "no" ; then
   10083 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10085 		fi
   10086 
   10087 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10089 		fi
   10090 
   10091 		CFLAGS="$CFLAGS -pedantic"
   10092 
   10093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10094 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10095 		cacheid=xorg_cv_cc_flag__pedantic
   10096 		if eval \${$cacheid+:} false; then :
   10097   $as_echo_n "(cached) " >&6
   10098 else
   10099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10100 /* end confdefs.h.  */
   10101 int i;
   10102 int
   10103 main ()
   10104 {
   10105 
   10106   ;
   10107   return 0;
   10108 }
   10109 _ACEOF
   10110 if ac_fn_c_try_link "$LINENO"; then :
   10111   eval $cacheid=yes
   10112 else
   10113   eval $cacheid=no
   10114 fi
   10115 rm -f core conftest.err conftest.$ac_objext \
   10116     conftest$ac_exeext conftest.$ac_ext
   10117 fi
   10118 
   10119 
   10120 		CFLAGS="$xorg_testset_save_CFLAGS"
   10121 
   10122 		eval supported=\$$cacheid
   10123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10124 $as_echo "$supported" >&6; }
   10125 		if test "$supported" = "yes" ; then
   10126 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10127 			found="yes"
   10128 		fi
   10129 	fi
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 xorg_testset_save_CFLAGS="$CFLAGS"
   10146 
   10147 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10148 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10149 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10150 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10151 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   10160 else
   10161   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   10166 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10167 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10168 	CFLAGS="$xorg_testset_save_CFLAGS"
   10169 fi
   10170 
   10171 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10172 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10173 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10174 	fi
   10175 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10177 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10178 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10179   $as_echo_n "(cached) " >&6
   10180 else
   10181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10182 /* end confdefs.h.  */
   10183 int i;
   10184 _ACEOF
   10185 if ac_fn_c_try_compile "$LINENO"; then :
   10186   xorg_cv_cc_flag_unused_command_line_argument=yes
   10187 else
   10188   xorg_cv_cc_flag_unused_command_line_argument=no
   10189 fi
   10190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10191 fi
   10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10193 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10194 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10195 	CFLAGS="$xorg_testset_save_CFLAGS"
   10196 fi
   10197 
   10198 found="no"
   10199 
   10200 	if test $found = "no" ; then
   10201 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10202 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10203 		fi
   10204 
   10205 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10206 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10207 		fi
   10208 
   10209 		CFLAGS="$CFLAGS -Werror"
   10210 
   10211 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10212 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10213 		cacheid=xorg_cv_cc_flag__Werror
   10214 		if eval \${$cacheid+:} false; then :
   10215   $as_echo_n "(cached) " >&6
   10216 else
   10217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10218 /* end confdefs.h.  */
   10219 int i;
   10220 int
   10221 main ()
   10222 {
   10223 
   10224   ;
   10225   return 0;
   10226 }
   10227 _ACEOF
   10228 if ac_fn_c_try_link "$LINENO"; then :
   10229   eval $cacheid=yes
   10230 else
   10231   eval $cacheid=no
   10232 fi
   10233 rm -f core conftest.err conftest.$ac_objext \
   10234     conftest$ac_exeext conftest.$ac_ext
   10235 fi
   10236 
   10237 
   10238 		CFLAGS="$xorg_testset_save_CFLAGS"
   10239 
   10240 		eval supported=\$$cacheid
   10241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10242 $as_echo "$supported" >&6; }
   10243 		if test "$supported" = "yes" ; then
   10244 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10245 			found="yes"
   10246 		fi
   10247 	fi
   10248 
   10249 	if test $found = "no" ; then
   10250 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10251 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10252 		fi
   10253 
   10254 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10255 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10256 		fi
   10257 
   10258 		CFLAGS="$CFLAGS -errwarn"
   10259 
   10260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10261 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10262 		cacheid=xorg_cv_cc_flag__errwarn
   10263 		if eval \${$cacheid+:} false; then :
   10264   $as_echo_n "(cached) " >&6
   10265 else
   10266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10267 /* end confdefs.h.  */
   10268 int i;
   10269 int
   10270 main ()
   10271 {
   10272 
   10273   ;
   10274   return 0;
   10275 }
   10276 _ACEOF
   10277 if ac_fn_c_try_link "$LINENO"; then :
   10278   eval $cacheid=yes
   10279 else
   10280   eval $cacheid=no
   10281 fi
   10282 rm -f core conftest.err conftest.$ac_objext \
   10283     conftest$ac_exeext conftest.$ac_ext
   10284 fi
   10285 
   10286 
   10287 		CFLAGS="$xorg_testset_save_CFLAGS"
   10288 
   10289 		eval supported=\$$cacheid
   10290 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10291 $as_echo "$supported" >&6; }
   10292 		if test "$supported" = "yes" ; then
   10293 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10294 			found="yes"
   10295 		fi
   10296 	fi
   10297 
   10298 
   10299 
   10300 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10301 # activate it with -Werror, so we add it here explicitly.
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 xorg_testset_save_CFLAGS="$CFLAGS"
   10316 
   10317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10320 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10321 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10322   $as_echo_n "(cached) " >&6
   10323 else
   10324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10325 /* end confdefs.h.  */
   10326 int i;
   10327 _ACEOF
   10328 if ac_fn_c_try_compile "$LINENO"; then :
   10329   xorg_cv_cc_flag_unknown_warning_option=yes
   10330 else
   10331   xorg_cv_cc_flag_unknown_warning_option=no
   10332 fi
   10333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10334 fi
   10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10336 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10338 	CFLAGS="$xorg_testset_save_CFLAGS"
   10339 fi
   10340 
   10341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10344 	fi
   10345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10347 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10348 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10349   $as_echo_n "(cached) " >&6
   10350 else
   10351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10352 /* end confdefs.h.  */
   10353 int i;
   10354 _ACEOF
   10355 if ac_fn_c_try_compile "$LINENO"; then :
   10356   xorg_cv_cc_flag_unused_command_line_argument=yes
   10357 else
   10358   xorg_cv_cc_flag_unused_command_line_argument=no
   10359 fi
   10360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10361 fi
   10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10363 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10365 	CFLAGS="$xorg_testset_save_CFLAGS"
   10366 fi
   10367 
   10368 found="no"
   10369 
   10370 	if test $found = "no" ; then
   10371 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10373 		fi
   10374 
   10375 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10377 		fi
   10378 
   10379 		CFLAGS="$CFLAGS -Werror=attributes"
   10380 
   10381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10382 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10383 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10384 		if eval \${$cacheid+:} false; then :
   10385   $as_echo_n "(cached) " >&6
   10386 else
   10387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10388 /* end confdefs.h.  */
   10389 int i;
   10390 int
   10391 main ()
   10392 {
   10393 
   10394   ;
   10395   return 0;
   10396 }
   10397 _ACEOF
   10398 if ac_fn_c_try_link "$LINENO"; then :
   10399   eval $cacheid=yes
   10400 else
   10401   eval $cacheid=no
   10402 fi
   10403 rm -f core conftest.err conftest.$ac_objext \
   10404     conftest$ac_exeext conftest.$ac_ext
   10405 fi
   10406 
   10407 
   10408 		CFLAGS="$xorg_testset_save_CFLAGS"
   10409 
   10410 		eval supported=\$$cacheid
   10411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10412 $as_echo "$supported" >&6; }
   10413 		if test "$supported" = "yes" ; then
   10414 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10415 			found="yes"
   10416 		fi
   10417 	fi
   10418 
   10419 
   10420 
   10421 if test "x$STRICT_COMPILE" = "xyes"; then
   10422     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10423     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10424 fi
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 cat >>confdefs.h <<_ACEOF
   10432 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10433 _ACEOF
   10434 
   10435 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10436 	if test "x$PVM" = "x"; then
   10437 		PVM="0"
   10438 	fi
   10439 
   10440 cat >>confdefs.h <<_ACEOF
   10441 #define PACKAGE_VERSION_MINOR $PVM
   10442 _ACEOF
   10443 
   10444 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10445 	if test "x$PVP" = "x"; then
   10446 		PVP="0"
   10447 	fi
   10448 
   10449 cat >>confdefs.h <<_ACEOF
   10450 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10451 _ACEOF
   10452 
   10453 
   10454 
   10455 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10456 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10457 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10458 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10459 
   10460 
   10461 
   10462 
   10463 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10464 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10465 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10466 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10467 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 if test x$APP_MAN_SUFFIX = x    ; then
   10475     APP_MAN_SUFFIX=1
   10476 fi
   10477 if test x$APP_MAN_DIR = x    ; then
   10478     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10479 fi
   10480 
   10481 if test x$LIB_MAN_SUFFIX = x    ; then
   10482     LIB_MAN_SUFFIX=3
   10483 fi
   10484 if test x$LIB_MAN_DIR = x    ; then
   10485     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10486 fi
   10487 
   10488 if test x$FILE_MAN_SUFFIX = x    ; then
   10489     case $host_os in
   10490 	# Solaris 2.0 - 11 use SysV man page sections
   10491 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10492 	*)				FILE_MAN_SUFFIX=5  ;;
   10493     esac
   10494 fi
   10495 if test x$FILE_MAN_DIR = x    ; then
   10496     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10497 fi
   10498 
   10499 if test x$MISC_MAN_SUFFIX = x    ; then
   10500     case $host_os in
   10501 	# Solaris 2.0 - 11 use SysV man page sections
   10502 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10503 	*)				MISC_MAN_SUFFIX=7  ;;
   10504     esac
   10505 fi
   10506 if test x$MISC_MAN_DIR = x    ; then
   10507     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10508 fi
   10509 
   10510 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10511     case $host_os in
   10512 	# Solaris 2.0 - 11 use SysV man page sections
   10513 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10514 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10515     esac
   10516 fi
   10517 if test x$DRIVER_MAN_DIR = x    ; then
   10518     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10519 fi
   10520 
   10521 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10522     case $host_os in
   10523 	# Solaris 2.0 - 11 use SysV man page sections
   10524 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10525 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10526     esac
   10527 fi
   10528 if test x$ADMIN_MAN_DIR = x    ; then
   10529     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10530 fi
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 XORG_MAN_PAGE="X Version 11"
   10547 
   10548 MAN_SUBSTS="\
   10549 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10550 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10551 	-e 's|__xservername__|Xorg|g' \
   10552 	-e 's|__xconfigfile__|xorg.conf|g' \
   10553 	-e 's|__projectroot__|\$(prefix)|g' \
   10554 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10555 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10556 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10557 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10558 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10559 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10560 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10561 
   10562 
   10563 
   10564 # Check whether --enable-silent-rules was given.
   10565 if test "${enable_silent_rules+set}" = set; then :
   10566   enableval=$enable_silent_rules;
   10567 fi
   10568 
   10569 case $enable_silent_rules in # (((
   10570   yes) AM_DEFAULT_VERBOSITY=0;;
   10571    no) AM_DEFAULT_VERBOSITY=1;;
   10572     *) AM_DEFAULT_VERBOSITY=0;;
   10573 esac
   10574 am_make=${MAKE-make}
   10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10576 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10577 if ${am_cv_make_support_nested_variables+:} false; then :
   10578   $as_echo_n "(cached) " >&6
   10579 else
   10580   if $as_echo 'TRUE=$(BAR$(V))
   10581 BAR0=false
   10582 BAR1=true
   10583 V=1
   10584 am__doit:
   10585 	@$(TRUE)
   10586 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10587   am_cv_make_support_nested_variables=yes
   10588 else
   10589   am_cv_make_support_nested_variables=no
   10590 fi
   10591 fi
   10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10593 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10594 if test $am_cv_make_support_nested_variables = yes; then
   10595     AM_V='$(V)'
   10596   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10597 else
   10598   AM_V=$AM_DEFAULT_VERBOSITY
   10599   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10600 fi
   10601 AM_BACKSLASH='\'
   10602 
   10603 
   10604 
   10605 # Checks for pkg-config packages
   10606 
   10607 pkg_failed=no
   10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLSFONTS" >&5
   10609 $as_echo_n "checking for XLSFONTS... " >&6; }
   10610 
   10611 if test -n "$XLSFONTS_CFLAGS"; then
   10612     pkg_cv_XLSFONTS_CFLAGS="$XLSFONTS_CFLAGS"
   10613  elif test -n "$PKG_CONFIG"; then
   10614     if test -n "$PKG_CONFIG" && \
   10615     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.17\""; } >&5
   10616   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.17") 2>&5
   10617   ac_status=$?
   10618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10619   test $ac_status = 0; }; then
   10620   pkg_cv_XLSFONTS_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.17" 2>/dev/null`
   10621 		      test "x$?" != "x0" && pkg_failed=yes
   10622 else
   10623   pkg_failed=yes
   10624 fi
   10625  else
   10626     pkg_failed=untried
   10627 fi
   10628 if test -n "$XLSFONTS_LIBS"; then
   10629     pkg_cv_XLSFONTS_LIBS="$XLSFONTS_LIBS"
   10630  elif test -n "$PKG_CONFIG"; then
   10631     if test -n "$PKG_CONFIG" && \
   10632     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.17\""; } >&5
   10633   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.17") 2>&5
   10634   ac_status=$?
   10635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10636   test $ac_status = 0; }; then
   10637   pkg_cv_XLSFONTS_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.17" 2>/dev/null`
   10638 		      test "x$?" != "x0" && pkg_failed=yes
   10639 else
   10640   pkg_failed=yes
   10641 fi
   10642  else
   10643     pkg_failed=untried
   10644 fi
   10645 
   10646 
   10647 
   10648 if test $pkg_failed = yes; then
   10649    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10650 $as_echo "no" >&6; }
   10651 
   10652 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10653         _pkg_short_errors_supported=yes
   10654 else
   10655         _pkg_short_errors_supported=no
   10656 fi
   10657         if test $_pkg_short_errors_supported = yes; then
   10658 	        XLSFONTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xproto >= 7.0.17" 2>&1`
   10659         else
   10660 	        XLSFONTS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xproto >= 7.0.17" 2>&1`
   10661         fi
   10662 	# Put the nasty error message in config.log where it belongs
   10663 	echo "$XLSFONTS_PKG_ERRORS" >&5
   10664 
   10665 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.17) were not met:
   10666 
   10667 $XLSFONTS_PKG_ERRORS
   10668 
   10669 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10670 installed software in a non-standard prefix.
   10671 
   10672 Alternatively, you may set the environment variables XLSFONTS_CFLAGS
   10673 and XLSFONTS_LIBS to avoid the need to call pkg-config.
   10674 See the pkg-config man page for more details." "$LINENO" 5
   10675 elif test $pkg_failed = untried; then
   10676      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10677 $as_echo "no" >&6; }
   10678 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10680 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10681 is in your PATH or set the PKG_CONFIG environment variable to the full
   10682 path to pkg-config.
   10683 
   10684 Alternatively, you may set the environment variables XLSFONTS_CFLAGS
   10685 and XLSFONTS_LIBS to avoid the need to call pkg-config.
   10686 See the pkg-config man page for more details.
   10687 
   10688 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10689 See \`config.log' for more details" "$LINENO" 5; }
   10690 else
   10691 	XLSFONTS_CFLAGS=$pkg_cv_XLSFONTS_CFLAGS
   10692 	XLSFONTS_LIBS=$pkg_cv_XLSFONTS_LIBS
   10693         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10694 $as_echo "yes" >&6; }
   10695 
   10696 fi
   10697 
   10698 ac_config_files="$ac_config_files Makefile man/Makefile"
   10699 
   10700 cat >confcache <<\_ACEOF
   10701 # This file is a shell script that caches the results of configure
   10702 # tests run on this system so they can be shared between configure
   10703 # scripts and configure runs, see configure's option --config-cache.
   10704 # It is not useful on other systems.  If it contains results you don't
   10705 # want to keep, you may remove or edit it.
   10706 #
   10707 # config.status only pays attention to the cache file if you give it
   10708 # the --recheck option to rerun configure.
   10709 #
   10710 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10711 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10712 # following values.
   10713 
   10714 _ACEOF
   10715 
   10716 # The following way of writing the cache mishandles newlines in values,
   10717 # but we know of no workaround that is simple, portable, and efficient.
   10718 # So, we kill variables containing newlines.
   10719 # Ultrix sh set writes to stderr and can't be redirected directly,
   10720 # and sets the high bit in the cache file unless we assign to the vars.
   10721 (
   10722   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10723     eval ac_val=\$$ac_var
   10724     case $ac_val in #(
   10725     *${as_nl}*)
   10726       case $ac_var in #(
   10727       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10728 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10729       esac
   10730       case $ac_var in #(
   10731       _ | IFS | as_nl) ;; #(
   10732       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10733       *) { eval $ac_var=; unset $ac_var;} ;;
   10734       esac ;;
   10735     esac
   10736   done
   10737 
   10738   (set) 2>&1 |
   10739     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10740     *${as_nl}ac_space=\ *)
   10741       # `set' does not quote correctly, so add quotes: double-quote
   10742       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10743       sed -n \
   10744 	"s/'/'\\\\''/g;
   10745 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10746       ;; #(
   10747     *)
   10748       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10749       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10750       ;;
   10751     esac |
   10752     sort
   10753 ) |
   10754   sed '
   10755      /^ac_cv_env_/b end
   10756      t clear
   10757      :clear
   10758      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10759      t end
   10760      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10761      :end' >>confcache
   10762 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10763   if test -w "$cache_file"; then
   10764     if test "x$cache_file" != "x/dev/null"; then
   10765       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10766 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10767       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10768 	cat confcache >"$cache_file"
   10769       else
   10770         case $cache_file in #(
   10771         */* | ?:*)
   10772 	  mv -f confcache "$cache_file"$$ &&
   10773 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10774         *)
   10775 	  mv -f confcache "$cache_file" ;;
   10776 	esac
   10777       fi
   10778     fi
   10779   else
   10780     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10781 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10782   fi
   10783 fi
   10784 rm -f confcache
   10785 
   10786 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10787 # Let make expand exec_prefix.
   10788 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10789 
   10790 DEFS=-DHAVE_CONFIG_H
   10791 
   10792 ac_libobjs=
   10793 ac_ltlibobjs=
   10794 U=
   10795 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10796   # 1. Remove the extension, and $U if already installed.
   10797   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10798   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10799   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10800   #    will be set to the directory where LIBOBJS objects are built.
   10801   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10802   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10803 done
   10804 LIBOBJS=$ac_libobjs
   10805 
   10806 LTLIBOBJS=$ac_ltlibobjs
   10807 
   10808 
   10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10810 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10811    if test -n "$am_sleep_pid"; then
   10812      # Hide warnings about reused PIDs.
   10813      wait $am_sleep_pid 2>/dev/null
   10814    fi
   10815    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10816 $as_echo "done" >&6; }
   10817  if test -n "$EXEEXT"; then
   10818   am__EXEEXT_TRUE=
   10819   am__EXEEXT_FALSE='#'
   10820 else
   10821   am__EXEEXT_TRUE='#'
   10822   am__EXEEXT_FALSE=
   10823 fi
   10824 
   10825 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10826   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10828 fi
   10829 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10830   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10832 fi
   10833 
   10834 : "${CONFIG_STATUS=./config.status}"
   10835 ac_write_fail=0
   10836 ac_clean_files_save=$ac_clean_files
   10837 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10838 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10839 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10840 as_write_fail=0
   10841 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10842 #! $SHELL
   10843 # Generated by $as_me.
   10844 # Run this file to recreate the current configuration.
   10845 # Compiler output produced by configure, useful for debugging
   10846 # configure, is in config.log if it exists.
   10847 
   10848 debug=false
   10849 ac_cs_recheck=false
   10850 ac_cs_silent=false
   10851 
   10852 SHELL=\${CONFIG_SHELL-$SHELL}
   10853 export SHELL
   10854 _ASEOF
   10855 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10856 ## -------------------- ##
   10857 ## M4sh Initialization. ##
   10858 ## -------------------- ##
   10859 
   10860 # Be more Bourne compatible
   10861 DUALCASE=1; export DUALCASE # for MKS sh
   10862 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10863   emulate sh
   10864   NULLCMD=:
   10865   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10866   # is contrary to our usage.  Disable this feature.
   10867   alias -g '${1+"$@"}'='"$@"'
   10868   setopt NO_GLOB_SUBST
   10869 else
   10870   case `(set -o) 2>/dev/null` in #(
   10871   *posix*) :
   10872     set -o posix ;; #(
   10873   *) :
   10874      ;;
   10875 esac
   10876 fi
   10877 
   10878 
   10879 as_nl='
   10880 '
   10881 export as_nl
   10882 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10883 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10884 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10885 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10886 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10887 # but without wasting forks for bash or zsh.
   10888 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10889     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10890   as_echo='print -r --'
   10891   as_echo_n='print -rn --'
   10892 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10893   as_echo='printf %s\n'
   10894   as_echo_n='printf %s'
   10895 else
   10896   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10897     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10898     as_echo_n='/usr/ucb/echo -n'
   10899   else
   10900     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10901     as_echo_n_body='eval
   10902       arg=$1;
   10903       case $arg in #(
   10904       *"$as_nl"*)
   10905 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10906 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10907       esac;
   10908       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10909     '
   10910     export as_echo_n_body
   10911     as_echo_n='sh -c $as_echo_n_body as_echo'
   10912   fi
   10913   export as_echo_body
   10914   as_echo='sh -c $as_echo_body as_echo'
   10915 fi
   10916 
   10917 # The user is always right.
   10918 if test "${PATH_SEPARATOR+set}" != set; then
   10919   PATH_SEPARATOR=:
   10920   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10921     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10922       PATH_SEPARATOR=';'
   10923   }
   10924 fi
   10925 
   10926 
   10927 # IFS
   10928 # We need space, tab and new line, in precisely that order.  Quoting is
   10929 # there to prevent editors from complaining about space-tab.
   10930 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10931 # splitting by setting IFS to empty value.)
   10932 IFS=" ""	$as_nl"
   10933 
   10934 # Find who we are.  Look in the path if we contain no directory separator.
   10935 as_myself=
   10936 case $0 in #((
   10937   *[\\/]* ) as_myself=$0 ;;
   10938   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10939 for as_dir in $PATH
   10940 do
   10941   IFS=$as_save_IFS
   10942   test -z "$as_dir" && as_dir=.
   10943     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10944   done
   10945 IFS=$as_save_IFS
   10946 
   10947      ;;
   10948 esac
   10949 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10950 # in which case we are not to be found in the path.
   10951 if test "x$as_myself" = x; then
   10952   as_myself=$0
   10953 fi
   10954 if test ! -f "$as_myself"; then
   10955   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10956   exit 1
   10957 fi
   10958 
   10959 # Unset variables that we do not need and which cause bugs (e.g. in
   10960 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   10961 # suppresses any "Segmentation fault" message there.  '((' could
   10962 # trigger a bug in pdksh 5.2.14.
   10963 for as_var in BASH_ENV ENV MAIL MAILPATH
   10964 do eval test x\${$as_var+set} = xset \
   10965   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   10966 done
   10967 PS1='$ '
   10968 PS2='> '
   10969 PS4='+ '
   10970 
   10971 # NLS nuisances.
   10972 LC_ALL=C
   10973 export LC_ALL
   10974 LANGUAGE=C
   10975 export LANGUAGE
   10976 
   10977 # CDPATH.
   10978 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10979 
   10980 
   10981 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   10982 # ----------------------------------------
   10983 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   10984 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   10985 # script with STATUS, using 1 if that was 0.
   10986 as_fn_error ()
   10987 {
   10988   as_status=$1; test $as_status -eq 0 && as_status=1
   10989   if test "$4"; then
   10990     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   10991     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   10992   fi
   10993   $as_echo "$as_me: error: $2" >&2
   10994   as_fn_exit $as_status
   10995 } # as_fn_error
   10996 
   10997 
   10998 # as_fn_set_status STATUS
   10999 # -----------------------
   11000 # Set $? to STATUS, without forking.
   11001 as_fn_set_status ()
   11002 {
   11003   return $1
   11004 } # as_fn_set_status
   11005 
   11006 # as_fn_exit STATUS
   11007 # -----------------
   11008 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11009 as_fn_exit ()
   11010 {
   11011   set +e
   11012   as_fn_set_status $1
   11013   exit $1
   11014 } # as_fn_exit
   11015 
   11016 # as_fn_unset VAR
   11017 # ---------------
   11018 # Portably unset VAR.
   11019 as_fn_unset ()
   11020 {
   11021   { eval $1=; unset $1;}
   11022 }
   11023 as_unset=as_fn_unset
   11024 # as_fn_append VAR VALUE
   11025 # ----------------------
   11026 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11027 # advantage of any shell optimizations that allow amortized linear growth over
   11028 # repeated appends, instead of the typical quadratic growth present in naive
   11029 # implementations.
   11030 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11031   eval 'as_fn_append ()
   11032   {
   11033     eval $1+=\$2
   11034   }'
   11035 else
   11036   as_fn_append ()
   11037   {
   11038     eval $1=\$$1\$2
   11039   }
   11040 fi # as_fn_append
   11041 
   11042 # as_fn_arith ARG...
   11043 # ------------------
   11044 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11045 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11046 # must be portable across $(()) and expr.
   11047 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11048   eval 'as_fn_arith ()
   11049   {
   11050     as_val=$(( $* ))
   11051   }'
   11052 else
   11053   as_fn_arith ()
   11054   {
   11055     as_val=`expr "$@" || test $? -eq 1`
   11056   }
   11057 fi # as_fn_arith
   11058 
   11059 
   11060 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11061    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11062   as_expr=expr
   11063 else
   11064   as_expr=false
   11065 fi
   11066 
   11067 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11068   as_basename=basename
   11069 else
   11070   as_basename=false
   11071 fi
   11072 
   11073 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11074   as_dirname=dirname
   11075 else
   11076   as_dirname=false
   11077 fi
   11078 
   11079 as_me=`$as_basename -- "$0" ||
   11080 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11081 	 X"$0" : 'X\(//\)$' \| \
   11082 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11083 $as_echo X/"$0" |
   11084     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11085 	    s//\1/
   11086 	    q
   11087 	  }
   11088 	  /^X\/\(\/\/\)$/{
   11089 	    s//\1/
   11090 	    q
   11091 	  }
   11092 	  /^X\/\(\/\).*/{
   11093 	    s//\1/
   11094 	    q
   11095 	  }
   11096 	  s/.*/./; q'`
   11097 
   11098 # Avoid depending upon Character Ranges.
   11099 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11100 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11101 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11102 as_cr_digits='0123456789'
   11103 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11104 
   11105 ECHO_C= ECHO_N= ECHO_T=
   11106 case `echo -n x` in #(((((
   11107 -n*)
   11108   case `echo 'xy\c'` in
   11109   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11110   xy)  ECHO_C='\c';;
   11111   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11112        ECHO_T='	';;
   11113   esac;;
   11114 *)
   11115   ECHO_N='-n';;
   11116 esac
   11117 
   11118 rm -f conf$$ conf$$.exe conf$$.file
   11119 if test -d conf$$.dir; then
   11120   rm -f conf$$.dir/conf$$.file
   11121 else
   11122   rm -f conf$$.dir
   11123   mkdir conf$$.dir 2>/dev/null
   11124 fi
   11125 if (echo >conf$$.file) 2>/dev/null; then
   11126   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11127     as_ln_s='ln -s'
   11128     # ... but there are two gotchas:
   11129     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11130     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11131     # In both cases, we have to default to `cp -pR'.
   11132     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11133       as_ln_s='cp -pR'
   11134   elif ln conf$$.file conf$$ 2>/dev/null; then
   11135     as_ln_s=ln
   11136   else
   11137     as_ln_s='cp -pR'
   11138   fi
   11139 else
   11140   as_ln_s='cp -pR'
   11141 fi
   11142 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11143 rmdir conf$$.dir 2>/dev/null
   11144 
   11145 
   11146 # as_fn_mkdir_p
   11147 # -------------
   11148 # Create "$as_dir" as a directory, including parents if necessary.
   11149 as_fn_mkdir_p ()
   11150 {
   11151 
   11152   case $as_dir in #(
   11153   -*) as_dir=./$as_dir;;
   11154   esac
   11155   test -d "$as_dir" || eval $as_mkdir_p || {
   11156     as_dirs=
   11157     while :; do
   11158       case $as_dir in #(
   11159       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11160       *) as_qdir=$as_dir;;
   11161       esac
   11162       as_dirs="'$as_qdir' $as_dirs"
   11163       as_dir=`$as_dirname -- "$as_dir" ||
   11164 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11165 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11166 	 X"$as_dir" : 'X\(//\)$' \| \
   11167 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11168 $as_echo X"$as_dir" |
   11169     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11170 	    s//\1/
   11171 	    q
   11172 	  }
   11173 	  /^X\(\/\/\)[^/].*/{
   11174 	    s//\1/
   11175 	    q
   11176 	  }
   11177 	  /^X\(\/\/\)$/{
   11178 	    s//\1/
   11179 	    q
   11180 	  }
   11181 	  /^X\(\/\).*/{
   11182 	    s//\1/
   11183 	    q
   11184 	  }
   11185 	  s/.*/./; q'`
   11186       test -d "$as_dir" && break
   11187     done
   11188     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11189   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11190 
   11191 
   11192 } # as_fn_mkdir_p
   11193 if mkdir -p . 2>/dev/null; then
   11194   as_mkdir_p='mkdir -p "$as_dir"'
   11195 else
   11196   test -d ./-p && rmdir ./-p
   11197   as_mkdir_p=false
   11198 fi
   11199 
   11200 
   11201 # as_fn_executable_p FILE
   11202 # -----------------------
   11203 # Test if FILE is an executable regular file.
   11204 as_fn_executable_p ()
   11205 {
   11206   test -f "$1" && test -x "$1"
   11207 } # as_fn_executable_p
   11208 as_test_x='test -x'
   11209 as_executable_p=as_fn_executable_p
   11210 
   11211 # Sed expression to map a string onto a valid CPP name.
   11212 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11213 
   11214 # Sed expression to map a string onto a valid variable name.
   11215 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11216 
   11217 
   11218 exec 6>&1
   11219 ## ----------------------------------- ##
   11220 ## Main body of $CONFIG_STATUS script. ##
   11221 ## ----------------------------------- ##
   11222 _ASEOF
   11223 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11224 
   11225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11226 # Save the log message, to keep $0 and so on meaningful, and to
   11227 # report actual input values of CONFIG_FILES etc. instead of their
   11228 # values after options handling.
   11229 ac_log="
   11230 This file was extended by xlsfonts $as_me 1.0.6, which was
   11231 generated by GNU Autoconf 2.69.  Invocation command line was
   11232 
   11233   CONFIG_FILES    = $CONFIG_FILES
   11234   CONFIG_HEADERS  = $CONFIG_HEADERS
   11235   CONFIG_LINKS    = $CONFIG_LINKS
   11236   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11237   $ $0 $@
   11238 
   11239 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11240 "
   11241 
   11242 _ACEOF
   11243 
   11244 case $ac_config_files in *"
   11245 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11246 esac
   11247 
   11248 case $ac_config_headers in *"
   11249 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11250 esac
   11251 
   11252 
   11253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11254 # Files that config.status was made for.
   11255 config_files="$ac_config_files"
   11256 config_headers="$ac_config_headers"
   11257 config_commands="$ac_config_commands"
   11258 
   11259 _ACEOF
   11260 
   11261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11262 ac_cs_usage="\
   11263 \`$as_me' instantiates files and other configuration actions
   11264 from templates according to the current configuration.  Unless the files
   11265 and actions are specified as TAGs, all are instantiated by default.
   11266 
   11267 Usage: $0 [OPTION]... [TAG]...
   11268 
   11269   -h, --help       print this help, then exit
   11270   -V, --version    print version number and configuration settings, then exit
   11271       --config     print configuration, then exit
   11272   -q, --quiet, --silent
   11273                    do not print progress messages
   11274   -d, --debug      don't remove temporary files
   11275       --recheck    update $as_me by reconfiguring in the same conditions
   11276       --file=FILE[:TEMPLATE]
   11277                    instantiate the configuration file FILE
   11278       --header=FILE[:TEMPLATE]
   11279                    instantiate the configuration header FILE
   11280 
   11281 Configuration files:
   11282 $config_files
   11283 
   11284 Configuration headers:
   11285 $config_headers
   11286 
   11287 Configuration commands:
   11288 $config_commands
   11289 
   11290 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11291 
   11292 _ACEOF
   11293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11294 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11295 ac_cs_version="\\
   11296 xlsfonts config.status 1.0.6
   11297 configured by $0, generated by GNU Autoconf 2.69,
   11298   with options \\"\$ac_cs_config\\"
   11299 
   11300 Copyright (C) 2012 Free Software Foundation, Inc.
   11301 This config.status script is free software; the Free Software Foundation
   11302 gives unlimited permission to copy, distribute and modify it."
   11303 
   11304 ac_pwd='$ac_pwd'
   11305 srcdir='$srcdir'
   11306 INSTALL='$INSTALL'
   11307 MKDIR_P='$MKDIR_P'
   11308 AWK='$AWK'
   11309 test -n "\$AWK" || AWK=awk
   11310 _ACEOF
   11311 
   11312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11313 # The default lists apply if the user does not specify any file.
   11314 ac_need_defaults=:
   11315 while test $# != 0
   11316 do
   11317   case $1 in
   11318   --*=?*)
   11319     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11320     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11321     ac_shift=:
   11322     ;;
   11323   --*=)
   11324     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11325     ac_optarg=
   11326     ac_shift=:
   11327     ;;
   11328   *)
   11329     ac_option=$1
   11330     ac_optarg=$2
   11331     ac_shift=shift
   11332     ;;
   11333   esac
   11334 
   11335   case $ac_option in
   11336   # Handling of the options.
   11337   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11338     ac_cs_recheck=: ;;
   11339   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11340     $as_echo "$ac_cs_version"; exit ;;
   11341   --config | --confi | --conf | --con | --co | --c )
   11342     $as_echo "$ac_cs_config"; exit ;;
   11343   --debug | --debu | --deb | --de | --d | -d )
   11344     debug=: ;;
   11345   --file | --fil | --fi | --f )
   11346     $ac_shift
   11347     case $ac_optarg in
   11348     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11349     '') as_fn_error $? "missing file argument" ;;
   11350     esac
   11351     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11352     ac_need_defaults=false;;
   11353   --header | --heade | --head | --hea )
   11354     $ac_shift
   11355     case $ac_optarg in
   11356     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11357     esac
   11358     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11359     ac_need_defaults=false;;
   11360   --he | --h)
   11361     # Conflict between --help and --header
   11362     as_fn_error $? "ambiguous option: \`$1'
   11363 Try \`$0 --help' for more information.";;
   11364   --help | --hel | -h )
   11365     $as_echo "$ac_cs_usage"; exit ;;
   11366   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11367   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11368     ac_cs_silent=: ;;
   11369 
   11370   # This is an error.
   11371   -*) as_fn_error $? "unrecognized option: \`$1'
   11372 Try \`$0 --help' for more information." ;;
   11373 
   11374   *) as_fn_append ac_config_targets " $1"
   11375      ac_need_defaults=false ;;
   11376 
   11377   esac
   11378   shift
   11379 done
   11380 
   11381 ac_configure_extra_args=
   11382 
   11383 if $ac_cs_silent; then
   11384   exec 6>/dev/null
   11385   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11386 fi
   11387 
   11388 _ACEOF
   11389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11390 if \$ac_cs_recheck; then
   11391   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11392   shift
   11393   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11394   CONFIG_SHELL='$SHELL'
   11395   export CONFIG_SHELL
   11396   exec "\$@"
   11397 fi
   11398 
   11399 _ACEOF
   11400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11401 exec 5>>config.log
   11402 {
   11403   echo
   11404   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11405 ## Running $as_me. ##
   11406 _ASBOX
   11407   $as_echo "$ac_log"
   11408 } >&5
   11409 
   11410 _ACEOF
   11411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11412 #
   11413 # INIT-COMMANDS
   11414 #
   11415 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11416 
   11417 _ACEOF
   11418 
   11419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11420 
   11421 # Handling of arguments.
   11422 for ac_config_target in $ac_config_targets
   11423 do
   11424   case $ac_config_target in
   11425     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11426     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11427     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11428     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11429 
   11430   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11431   esac
   11432 done
   11433 
   11434 
   11435 # If the user did not use the arguments to specify the items to instantiate,
   11436 # then the envvar interface is used.  Set only those that are not.
   11437 # We use the long form for the default assignment because of an extremely
   11438 # bizarre bug on SunOS 4.1.3.
   11439 if $ac_need_defaults; then
   11440   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11441   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11442   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11443 fi
   11444 
   11445 # Have a temporary directory for convenience.  Make it in the build tree
   11446 # simply because there is no reason against having it here, and in addition,
   11447 # creating and moving files from /tmp can sometimes cause problems.
   11448 # Hook for its removal unless debugging.
   11449 # Note that there is a small window in which the directory will not be cleaned:
   11450 # after its creation but before its name has been assigned to `$tmp'.
   11451 $debug ||
   11452 {
   11453   tmp= ac_tmp=
   11454   trap 'exit_status=$?
   11455   : "${ac_tmp:=$tmp}"
   11456   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11457 ' 0
   11458   trap 'as_fn_exit 1' 1 2 13 15
   11459 }
   11460 # Create a (secure) tmp directory for tmp files.
   11461 
   11462 {
   11463   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11464   test -d "$tmp"
   11465 }  ||
   11466 {
   11467   tmp=./conf$$-$RANDOM
   11468   (umask 077 && mkdir "$tmp")
   11469 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11470 ac_tmp=$tmp
   11471 
   11472 # Set up the scripts for CONFIG_FILES section.
   11473 # No need to generate them if there are no CONFIG_FILES.
   11474 # This happens for instance with `./config.status config.h'.
   11475 if test -n "$CONFIG_FILES"; then
   11476 
   11477 
   11478 ac_cr=`echo X | tr X '\015'`
   11479 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11480 # But we know of no other shell where ac_cr would be empty at this
   11481 # point, so we can use a bashism as a fallback.
   11482 if test "x$ac_cr" = x; then
   11483   eval ac_cr=\$\'\\r\'
   11484 fi
   11485 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11486 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11487   ac_cs_awk_cr='\\r'
   11488 else
   11489   ac_cs_awk_cr=$ac_cr
   11490 fi
   11491 
   11492 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11493 _ACEOF
   11494 
   11495 
   11496 {
   11497   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11498   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11499   echo "_ACEOF"
   11500 } >conf$$subs.sh ||
   11501   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11502 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11503 ac_delim='%!_!# '
   11504 for ac_last_try in false false false false false :; do
   11505   . ./conf$$subs.sh ||
   11506     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11507 
   11508   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11509   if test $ac_delim_n = $ac_delim_num; then
   11510     break
   11511   elif $ac_last_try; then
   11512     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11513   else
   11514     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11515   fi
   11516 done
   11517 rm -f conf$$subs.sh
   11518 
   11519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11520 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11521 _ACEOF
   11522 sed -n '
   11523 h
   11524 s/^/S["/; s/!.*/"]=/
   11525 p
   11526 g
   11527 s/^[^!]*!//
   11528 :repl
   11529 t repl
   11530 s/'"$ac_delim"'$//
   11531 t delim
   11532 :nl
   11533 h
   11534 s/\(.\{148\}\)..*/\1/
   11535 t more1
   11536 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11537 p
   11538 n
   11539 b repl
   11540 :more1
   11541 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11542 p
   11543 g
   11544 s/.\{148\}//
   11545 t nl
   11546 :delim
   11547 h
   11548 s/\(.\{148\}\)..*/\1/
   11549 t more2
   11550 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11551 p
   11552 b
   11553 :more2
   11554 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11555 p
   11556 g
   11557 s/.\{148\}//
   11558 t delim
   11559 ' <conf$$subs.awk | sed '
   11560 /^[^""]/{
   11561   N
   11562   s/\n//
   11563 }
   11564 ' >>$CONFIG_STATUS || ac_write_fail=1
   11565 rm -f conf$$subs.awk
   11566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11567 _ACAWK
   11568 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11569   for (key in S) S_is_set[key] = 1
   11570   FS = ""
   11571 
   11572 }
   11573 {
   11574   line = $ 0
   11575   nfields = split(line, field, "@")
   11576   substed = 0
   11577   len = length(field[1])
   11578   for (i = 2; i < nfields; i++) {
   11579     key = field[i]
   11580     keylen = length(key)
   11581     if (S_is_set[key]) {
   11582       value = S[key]
   11583       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11584       len += length(value) + length(field[++i])
   11585       substed = 1
   11586     } else
   11587       len += 1 + keylen
   11588   }
   11589 
   11590   print line
   11591 }
   11592 
   11593 _ACAWK
   11594 _ACEOF
   11595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11596 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11597   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11598 else
   11599   cat
   11600 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11601   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11602 _ACEOF
   11603 
   11604 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11605 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11606 # trailing colons and then remove the whole line if VPATH becomes empty
   11607 # (actually we leave an empty line to preserve line numbers).
   11608 if test "x$srcdir" = x.; then
   11609   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11610 h
   11611 s///
   11612 s/^/:/
   11613 s/[	 ]*$/:/
   11614 s/:\$(srcdir):/:/g
   11615 s/:\${srcdir}:/:/g
   11616 s/:@srcdir@:/:/g
   11617 s/^:*//
   11618 s/:*$//
   11619 x
   11620 s/\(=[	 ]*\).*/\1/
   11621 G
   11622 s/\n//
   11623 s/^[^=]*=[	 ]*$//
   11624 }'
   11625 fi
   11626 
   11627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11628 fi # test -n "$CONFIG_FILES"
   11629 
   11630 # Set up the scripts for CONFIG_HEADERS section.
   11631 # No need to generate them if there are no CONFIG_HEADERS.
   11632 # This happens for instance with `./config.status Makefile'.
   11633 if test -n "$CONFIG_HEADERS"; then
   11634 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11635 BEGIN {
   11636 _ACEOF
   11637 
   11638 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11639 # here-document in config.status, that substitutes the proper values into
   11640 # config.h.in to produce config.h.
   11641 
   11642 # Create a delimiter string that does not exist in confdefs.h, to ease
   11643 # handling of long lines.
   11644 ac_delim='%!_!# '
   11645 for ac_last_try in false false :; do
   11646   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11647   if test -z "$ac_tt"; then
   11648     break
   11649   elif $ac_last_try; then
   11650     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11651   else
   11652     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11653   fi
   11654 done
   11655 
   11656 # For the awk script, D is an array of macro values keyed by name,
   11657 # likewise P contains macro parameters if any.  Preserve backslash
   11658 # newline sequences.
   11659 
   11660 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11661 sed -n '
   11662 s/.\{148\}/&'"$ac_delim"'/g
   11663 t rset
   11664 :rset
   11665 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11666 t def
   11667 d
   11668 :def
   11669 s/\\$//
   11670 t bsnl
   11671 s/["\\]/\\&/g
   11672 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11673 D["\1"]=" \3"/p
   11674 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11675 d
   11676 :bsnl
   11677 s/["\\]/\\&/g
   11678 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11679 D["\1"]=" \3\\\\\\n"\\/p
   11680 t cont
   11681 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11682 t cont
   11683 d
   11684 :cont
   11685 n
   11686 s/.\{148\}/&'"$ac_delim"'/g
   11687 t clear
   11688 :clear
   11689 s/\\$//
   11690 t bsnlc
   11691 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11692 d
   11693 :bsnlc
   11694 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11695 b cont
   11696 ' <confdefs.h | sed '
   11697 s/'"$ac_delim"'/"\\\
   11698 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11699 
   11700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11701   for (key in D) D_is_set[key] = 1
   11702   FS = ""
   11703 }
   11704 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11705   line = \$ 0
   11706   split(line, arg, " ")
   11707   if (arg[1] == "#") {
   11708     defundef = arg[2]
   11709     mac1 = arg[3]
   11710   } else {
   11711     defundef = substr(arg[1], 2)
   11712     mac1 = arg[2]
   11713   }
   11714   split(mac1, mac2, "(") #)
   11715   macro = mac2[1]
   11716   prefix = substr(line, 1, index(line, defundef) - 1)
   11717   if (D_is_set[macro]) {
   11718     # Preserve the white space surrounding the "#".
   11719     print prefix "define", macro P[macro] D[macro]
   11720     next
   11721   } else {
   11722     # Replace #undef with comments.  This is necessary, for example,
   11723     # in the case of _POSIX_SOURCE, which is predefined and required
   11724     # on some systems where configure will not decide to define it.
   11725     if (defundef == "undef") {
   11726       print "/*", prefix defundef, macro, "*/"
   11727       next
   11728     }
   11729   }
   11730 }
   11731 { print }
   11732 _ACAWK
   11733 _ACEOF
   11734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11735   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11736 fi # test -n "$CONFIG_HEADERS"
   11737 
   11738 
   11739 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11740 shift
   11741 for ac_tag
   11742 do
   11743   case $ac_tag in
   11744   :[FHLC]) ac_mode=$ac_tag; continue;;
   11745   esac
   11746   case $ac_mode$ac_tag in
   11747   :[FHL]*:*);;
   11748   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11749   :[FH]-) ac_tag=-:-;;
   11750   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11751   esac
   11752   ac_save_IFS=$IFS
   11753   IFS=:
   11754   set x $ac_tag
   11755   IFS=$ac_save_IFS
   11756   shift
   11757   ac_file=$1
   11758   shift
   11759 
   11760   case $ac_mode in
   11761   :L) ac_source=$1;;
   11762   :[FH])
   11763     ac_file_inputs=
   11764     for ac_f
   11765     do
   11766       case $ac_f in
   11767       -) ac_f="$ac_tmp/stdin";;
   11768       *) # Look for the file first in the build tree, then in the source tree
   11769 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11770 	 # because $ac_f cannot contain `:'.
   11771 	 test -f "$ac_f" ||
   11772 	   case $ac_f in
   11773 	   [\\/$]*) false;;
   11774 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11775 	   esac ||
   11776 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11777       esac
   11778       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11779       as_fn_append ac_file_inputs " '$ac_f'"
   11780     done
   11781 
   11782     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11783     # use $as_me), people would be surprised to read:
   11784     #    /* config.h.  Generated by config.status.  */
   11785     configure_input='Generated from '`
   11786 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11787 	`' by configure.'
   11788     if test x"$ac_file" != x-; then
   11789       configure_input="$ac_file.  $configure_input"
   11790       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11791 $as_echo "$as_me: creating $ac_file" >&6;}
   11792     fi
   11793     # Neutralize special characters interpreted by sed in replacement strings.
   11794     case $configure_input in #(
   11795     *\&* | *\|* | *\\* )
   11796        ac_sed_conf_input=`$as_echo "$configure_input" |
   11797        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11798     *) ac_sed_conf_input=$configure_input;;
   11799     esac
   11800 
   11801     case $ac_tag in
   11802     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11803       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11804     esac
   11805     ;;
   11806   esac
   11807 
   11808   ac_dir=`$as_dirname -- "$ac_file" ||
   11809 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11810 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11811 	 X"$ac_file" : 'X\(//\)$' \| \
   11812 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11813 $as_echo X"$ac_file" |
   11814     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11815 	    s//\1/
   11816 	    q
   11817 	  }
   11818 	  /^X\(\/\/\)[^/].*/{
   11819 	    s//\1/
   11820 	    q
   11821 	  }
   11822 	  /^X\(\/\/\)$/{
   11823 	    s//\1/
   11824 	    q
   11825 	  }
   11826 	  /^X\(\/\).*/{
   11827 	    s//\1/
   11828 	    q
   11829 	  }
   11830 	  s/.*/./; q'`
   11831   as_dir="$ac_dir"; as_fn_mkdir_p
   11832   ac_builddir=.
   11833 
   11834 case "$ac_dir" in
   11835 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11836 *)
   11837   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11838   # A ".." for each directory in $ac_dir_suffix.
   11839   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11840   case $ac_top_builddir_sub in
   11841   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11842   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11843   esac ;;
   11844 esac
   11845 ac_abs_top_builddir=$ac_pwd
   11846 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11847 # for backward compatibility:
   11848 ac_top_builddir=$ac_top_build_prefix
   11849 
   11850 case $srcdir in
   11851   .)  # We are building in place.
   11852     ac_srcdir=.
   11853     ac_top_srcdir=$ac_top_builddir_sub
   11854     ac_abs_top_srcdir=$ac_pwd ;;
   11855   [\\/]* | ?:[\\/]* )  # Absolute name.
   11856     ac_srcdir=$srcdir$ac_dir_suffix;
   11857     ac_top_srcdir=$srcdir
   11858     ac_abs_top_srcdir=$srcdir ;;
   11859   *) # Relative name.
   11860     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11861     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11862     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11863 esac
   11864 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11865 
   11866 
   11867   case $ac_mode in
   11868   :F)
   11869   #
   11870   # CONFIG_FILE
   11871   #
   11872 
   11873   case $INSTALL in
   11874   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11875   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11876   esac
   11877   ac_MKDIR_P=$MKDIR_P
   11878   case $MKDIR_P in
   11879   [\\/$]* | ?:[\\/]* ) ;;
   11880   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11881   esac
   11882 _ACEOF
   11883 
   11884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11885 # If the template does not know about datarootdir, expand it.
   11886 # FIXME: This hack should be removed a few years after 2.60.
   11887 ac_datarootdir_hack=; ac_datarootdir_seen=
   11888 ac_sed_dataroot='
   11889 /datarootdir/ {
   11890   p
   11891   q
   11892 }
   11893 /@datadir@/p
   11894 /@docdir@/p
   11895 /@infodir@/p
   11896 /@localedir@/p
   11897 /@mandir@/p'
   11898 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11899 *datarootdir*) ac_datarootdir_seen=yes;;
   11900 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11901   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11902 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11903 _ACEOF
   11904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11905   ac_datarootdir_hack='
   11906   s&@datadir@&$datadir&g
   11907   s&@docdir@&$docdir&g
   11908   s&@infodir@&$infodir&g
   11909   s&@localedir@&$localedir&g
   11910   s&@mandir@&$mandir&g
   11911   s&\\\${datarootdir}&$datarootdir&g' ;;
   11912 esac
   11913 _ACEOF
   11914 
   11915 # Neutralize VPATH when `$srcdir' = `.'.
   11916 # Shell code in configure.ac might set extrasub.
   11917 # FIXME: do we really want to maintain this feature?
   11918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11919 ac_sed_extra="$ac_vpsub
   11920 $extrasub
   11921 _ACEOF
   11922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11923 :t
   11924 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11925 s|@configure_input@|$ac_sed_conf_input|;t t
   11926 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11927 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11928 s&@srcdir@&$ac_srcdir&;t t
   11929 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11930 s&@top_srcdir@&$ac_top_srcdir&;t t
   11931 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11932 s&@builddir@&$ac_builddir&;t t
   11933 s&@abs_builddir@&$ac_abs_builddir&;t t
   11934 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11935 s&@INSTALL@&$ac_INSTALL&;t t
   11936 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11937 $ac_datarootdir_hack
   11938 "
   11939 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11940   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11941 
   11942 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11943   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11944   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11945       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11946   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11947 which seems to be undefined.  Please make sure it is defined" >&5
   11948 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11949 which seems to be undefined.  Please make sure it is defined" >&2;}
   11950 
   11951   rm -f "$ac_tmp/stdin"
   11952   case $ac_file in
   11953   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11954   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11955   esac \
   11956   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11957  ;;
   11958   :H)
   11959   #
   11960   # CONFIG_HEADER
   11961   #
   11962   if test x"$ac_file" != x-; then
   11963     {
   11964       $as_echo "/* $configure_input  */" \
   11965       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   11966     } >"$ac_tmp/config.h" \
   11967       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11968     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   11969       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   11970 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   11971     else
   11972       rm -f "$ac_file"
   11973       mv "$ac_tmp/config.h" "$ac_file" \
   11974 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11975     fi
   11976   else
   11977     $as_echo "/* $configure_input  */" \
   11978       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   11979       || as_fn_error $? "could not create -" "$LINENO" 5
   11980   fi
   11981 # Compute "$ac_file"'s index in $config_headers.
   11982 _am_arg="$ac_file"
   11983 _am_stamp_count=1
   11984 for _am_header in $config_headers :; do
   11985   case $_am_header in
   11986     $_am_arg | $_am_arg:* )
   11987       break ;;
   11988     * )
   11989       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   11990   esac
   11991 done
   11992 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   11993 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11994 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   11995 	 X"$_am_arg" : 'X\(//\)$' \| \
   11996 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   11997 $as_echo X"$_am_arg" |
   11998     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11999 	    s//\1/
   12000 	    q
   12001 	  }
   12002 	  /^X\(\/\/\)[^/].*/{
   12003 	    s//\1/
   12004 	    q
   12005 	  }
   12006 	  /^X\(\/\/\)$/{
   12007 	    s//\1/
   12008 	    q
   12009 	  }
   12010 	  /^X\(\/\).*/{
   12011 	    s//\1/
   12012 	    q
   12013 	  }
   12014 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12015  ;;
   12016 
   12017   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12018 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12019  ;;
   12020   esac
   12021 
   12022 
   12023   case $ac_file$ac_mode in
   12024     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12025   # Older Autoconf quotes --file arguments for eval, but not when files
   12026   # are listed without --file.  Let's play safe and only enable the eval
   12027   # if we detect the quoting.
   12028   case $CONFIG_FILES in
   12029   *\'*) eval set x "$CONFIG_FILES" ;;
   12030   *)   set x $CONFIG_FILES ;;
   12031   esac
   12032   shift
   12033   for mf
   12034   do
   12035     # Strip MF so we end up with the name of the file.
   12036     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12037     # Check whether this is an Automake generated Makefile or not.
   12038     # We used to match only the files named 'Makefile.in', but
   12039     # some people rename them; so instead we look at the file content.
   12040     # Grep'ing the first line is not enough: some people post-process
   12041     # each Makefile.in and add a new line on top of each file to say so.
   12042     # Grep'ing the whole file is not good either: AIX grep has a line
   12043     # limit of 2048, but all sed's we know have understand at least 4000.
   12044     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12045       dirpart=`$as_dirname -- "$mf" ||
   12046 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12047 	 X"$mf" : 'X\(//\)[^/]' \| \
   12048 	 X"$mf" : 'X\(//\)$' \| \
   12049 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12050 $as_echo X"$mf" |
   12051     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12052 	    s//\1/
   12053 	    q
   12054 	  }
   12055 	  /^X\(\/\/\)[^/].*/{
   12056 	    s//\1/
   12057 	    q
   12058 	  }
   12059 	  /^X\(\/\/\)$/{
   12060 	    s//\1/
   12061 	    q
   12062 	  }
   12063 	  /^X\(\/\).*/{
   12064 	    s//\1/
   12065 	    q
   12066 	  }
   12067 	  s/.*/./; q'`
   12068     else
   12069       continue
   12070     fi
   12071     # Extract the definition of DEPDIR, am__include, and am__quote
   12072     # from the Makefile without running 'make'.
   12073     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12074     test -z "$DEPDIR" && continue
   12075     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12076     test -z "$am__include" && continue
   12077     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12078     # Find all dependency output files, they are included files with
   12079     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12080     # simplest approach to changing $(DEPDIR) to its actual value in the
   12081     # expansion.
   12082     for file in `sed -n "
   12083       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12084 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12085       # Make sure the directory exists.
   12086       test -f "$dirpart/$file" && continue
   12087       fdir=`$as_dirname -- "$file" ||
   12088 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12089 	 X"$file" : 'X\(//\)[^/]' \| \
   12090 	 X"$file" : 'X\(//\)$' \| \
   12091 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12092 $as_echo X"$file" |
   12093     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12094 	    s//\1/
   12095 	    q
   12096 	  }
   12097 	  /^X\(\/\/\)[^/].*/{
   12098 	    s//\1/
   12099 	    q
   12100 	  }
   12101 	  /^X\(\/\/\)$/{
   12102 	    s//\1/
   12103 	    q
   12104 	  }
   12105 	  /^X\(\/\).*/{
   12106 	    s//\1/
   12107 	    q
   12108 	  }
   12109 	  s/.*/./; q'`
   12110       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12111       # echo "creating $dirpart/$file"
   12112       echo '# dummy' > "$dirpart/$file"
   12113     done
   12114   done
   12115 }
   12116  ;;
   12117 
   12118   esac
   12119 done # for ac_tag
   12120 
   12121 
   12122 as_fn_exit 0
   12123 _ACEOF
   12124 ac_clean_files=$ac_clean_files_save
   12125 
   12126 test $ac_write_fail = 0 ||
   12127   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12128 
   12129 
   12130 # configure is writing to config.log, and then calls config.status.
   12131 # config.status does its own redirection, appending to config.log.
   12132 # Unfortunately, on DOS this fails, as config.log is still kept open
   12133 # by configure, so config.status won't be able to write to it; its
   12134 # output is simply discarded.  So we exec the FD to /dev/null,
   12135 # effectively closing config.log, so it can be properly (re)opened and
   12136 # appended to by config.status.  When coming back to configure, we
   12137 # need to make the FD available again.
   12138 if test "$no_create" != yes; then
   12139   ac_cs_success=:
   12140   ac_config_status_args=
   12141   test "$silent" = yes &&
   12142     ac_config_status_args="$ac_config_status_args --quiet"
   12143   exec 5>/dev/null
   12144   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12145   exec 5>>config.log
   12146   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12147   # would make configure fail if this is the last instruction.
   12148   $ac_cs_success || as_fn_exit 1
   12149 fi
   12150 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12151   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12152 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12153 fi
   12154 
   12155