Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for font-alias 1.0.4.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/font/alias/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://gitlab.freedesktop.org/xorg/font/alias/issues
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='font-alias'
    583 PACKAGE_TARNAME='font-alias'
    584 PACKAGE_VERSION='1.0.4'
    585 PACKAGE_STRING='font-alias 1.0.4'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/alias/issues'
    587 PACKAGE_URL=''
    588 
    589 # Factoring default headers for most tests.
    590 ac_includes_default="\
    591 #include <stdio.h>
    592 #ifdef HAVE_SYS_TYPES_H
    593 # include <sys/types.h>
    594 #endif
    595 #ifdef HAVE_SYS_STAT_H
    596 # include <sys/stat.h>
    597 #endif
    598 #ifdef STDC_HEADERS
    599 # include <stdlib.h>
    600 # include <stddef.h>
    601 #else
    602 # ifdef HAVE_STDLIB_H
    603 #  include <stdlib.h>
    604 # endif
    605 #endif
    606 #ifdef HAVE_STRING_H
    607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    608 #  include <memory.h>
    609 # endif
    610 # include <string.h>
    611 #endif
    612 #ifdef HAVE_STRINGS_H
    613 # include <strings.h>
    614 #endif
    615 #ifdef HAVE_INTTYPES_H
    616 # include <inttypes.h>
    617 #endif
    618 #ifdef HAVE_STDINT_H
    619 # include <stdint.h>
    620 #endif
    621 #ifdef HAVE_UNISTD_H
    622 # include <unistd.h>
    623 #endif"
    624 
    625 ac_subst_vars='am__EXEEXT_FALSE
    626 am__EXEEXT_TRUE
    627 LTLIBOBJS
    628 LIBOBJS
    629 FONTROOTDIR
    630 MAN_SUBSTS
    631 XORG_MAN_PAGE
    632 ADMIN_MAN_DIR
    633 DRIVER_MAN_DIR
    634 MISC_MAN_DIR
    635 FILE_MAN_DIR
    636 LIB_MAN_DIR
    637 APP_MAN_DIR
    638 ADMIN_MAN_SUFFIX
    639 DRIVER_MAN_SUFFIX
    640 MISC_MAN_SUFFIX
    641 FILE_MAN_SUFFIX
    642 LIB_MAN_SUFFIX
    643 APP_MAN_SUFFIX
    644 SED
    645 host_os
    646 host_vendor
    647 host_cpu
    648 host
    649 build_os
    650 build_vendor
    651 build_cpu
    652 build
    653 INSTALL_CMD
    654 PKG_CONFIG_LIBDIR
    655 PKG_CONFIG_PATH
    656 PKG_CONFIG
    657 CHANGELOG_CMD
    658 STRICT_CFLAGS
    659 CWARNFLAGS
    660 BASE_CFLAGS
    661 EGREP
    662 GREP
    663 CPP
    664 am__fastdepCC_FALSE
    665 am__fastdepCC_TRUE
    666 CCDEPMODE
    667 am__nodep
    668 AMDEPBACKSLASH
    669 AMDEP_FALSE
    670 AMDEP_TRUE
    671 am__quote
    672 am__include
    673 DEPDIR
    674 OBJEXT
    675 EXEEXT
    676 ac_ct_CC
    677 CPPFLAGS
    678 LDFLAGS
    679 CFLAGS
    680 CC
    681 AM_BACKSLASH
    682 AM_DEFAULT_VERBOSITY
    683 AM_DEFAULT_V
    684 AM_V
    685 am__untar
    686 am__tar
    687 AMTAR
    688 am__leading_dot
    689 SET_MAKE
    690 AWK
    691 mkdir_p
    692 MKDIR_P
    693 INSTALL_STRIP_PROGRAM
    694 STRIP
    695 install_sh
    696 MAKEINFO
    697 AUTOHEADER
    698 AUTOMAKE
    699 AUTOCONF
    700 ACLOCAL
    701 VERSION
    702 PACKAGE
    703 CYGPATH_W
    704 am__isrc
    705 INSTALL_DATA
    706 INSTALL_SCRIPT
    707 INSTALL_PROGRAM
    708 target_alias
    709 host_alias
    710 build_alias
    711 LIBS
    712 ECHO_T
    713 ECHO_N
    714 ECHO_C
    715 DEFS
    716 mandir
    717 localedir
    718 libdir
    719 psdir
    720 pdfdir
    721 dvidir
    722 htmldir
    723 infodir
    724 docdir
    725 oldincludedir
    726 includedir
    727 localstatedir
    728 sharedstatedir
    729 sysconfdir
    730 datadir
    731 datarootdir
    732 libexecdir
    733 sbindir
    734 bindir
    735 program_transform_name
    736 prefix
    737 exec_prefix
    738 PACKAGE_URL
    739 PACKAGE_BUGREPORT
    740 PACKAGE_STRING
    741 PACKAGE_VERSION
    742 PACKAGE_TARNAME
    743 PACKAGE_NAME
    744 PATH_SEPARATOR
    745 SHELL'
    746 ac_subst_files=''
    747 ac_user_opts='
    748 enable_option_checking
    749 enable_silent_rules
    750 enable_dependency_tracking
    751 enable_selective_werror
    752 enable_strict_compilation
    753 with_fontrootdir
    754 with_top_fontdir
    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 
    769 
    770 # Initialize some variables set by options.
    771 ac_init_help=
    772 ac_init_version=false
    773 ac_unrecognized_opts=
    774 ac_unrecognized_sep=
    775 # The variables have the same names as the options, with
    776 # dashes changed to underlines.
    777 cache_file=/dev/null
    778 exec_prefix=NONE
    779 no_create=
    780 no_recursion=
    781 prefix=NONE
    782 program_prefix=NONE
    783 program_suffix=NONE
    784 program_transform_name=s,x,x,
    785 silent=
    786 site=
    787 srcdir=
    788 verbose=
    789 x_includes=NONE
    790 x_libraries=NONE
    791 
    792 # Installation directory options.
    793 # These are left unexpanded so users can "make install exec_prefix=/foo"
    794 # and all the variables that are supposed to be based on exec_prefix
    795 # by default will actually change.
    796 # Use braces instead of parens because sh, perl, etc. also accept them.
    797 # (The list follows the same order as the GNU Coding Standards.)
    798 bindir='${exec_prefix}/bin'
    799 sbindir='${exec_prefix}/sbin'
    800 libexecdir='${exec_prefix}/libexec'
    801 datarootdir='${prefix}/share'
    802 datadir='${datarootdir}'
    803 sysconfdir='${prefix}/etc'
    804 sharedstatedir='${prefix}/com'
    805 localstatedir='${prefix}/var'
    806 includedir='${prefix}/include'
    807 oldincludedir='/usr/include'
    808 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    809 infodir='${datarootdir}/info'
    810 htmldir='${docdir}'
    811 dvidir='${docdir}'
    812 pdfdir='${docdir}'
    813 psdir='${docdir}'
    814 libdir='${exec_prefix}/lib'
    815 localedir='${datarootdir}/locale'
    816 mandir='${datarootdir}/man'
    817 
    818 ac_prev=
    819 ac_dashdash=
    820 for ac_option
    821 do
    822   # If the previous option needs an argument, assign it.
    823   if test -n "$ac_prev"; then
    824     eval $ac_prev=\$ac_option
    825     ac_prev=
    826     continue
    827   fi
    828 
    829   case $ac_option in
    830   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    831   *=)   ac_optarg= ;;
    832   *)    ac_optarg=yes ;;
    833   esac
    834 
    835   # Accept the important Cygnus configure options, so we can diagnose typos.
    836 
    837   case $ac_dashdash$ac_option in
    838   --)
    839     ac_dashdash=yes ;;
    840 
    841   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    842     ac_prev=bindir ;;
    843   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    844     bindir=$ac_optarg ;;
    845 
    846   -build | --build | --buil | --bui | --bu)
    847     ac_prev=build_alias ;;
    848   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    849     build_alias=$ac_optarg ;;
    850 
    851   -cache-file | --cache-file | --cache-fil | --cache-fi \
    852   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    853     ac_prev=cache_file ;;
    854   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    855   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    856     cache_file=$ac_optarg ;;
    857 
    858   --config-cache | -C)
    859     cache_file=config.cache ;;
    860 
    861   -datadir | --datadir | --datadi | --datad)
    862     ac_prev=datadir ;;
    863   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    864     datadir=$ac_optarg ;;
    865 
    866   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    867   | --dataroo | --dataro | --datar)
    868     ac_prev=datarootdir ;;
    869   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    870   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    871     datarootdir=$ac_optarg ;;
    872 
    873   -disable-* | --disable-*)
    874     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    875     # Reject names that are not valid shell variable names.
    876     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    877       as_fn_error $? "invalid feature name: $ac_useropt"
    878     ac_useropt_orig=$ac_useropt
    879     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    880     case $ac_user_opts in
    881       *"
    882 "enable_$ac_useropt"
    883 "*) ;;
    884       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    885 	 ac_unrecognized_sep=', ';;
    886     esac
    887     eval enable_$ac_useropt=no ;;
    888 
    889   -docdir | --docdir | --docdi | --doc | --do)
    890     ac_prev=docdir ;;
    891   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    892     docdir=$ac_optarg ;;
    893 
    894   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    895     ac_prev=dvidir ;;
    896   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    897     dvidir=$ac_optarg ;;
    898 
    899   -enable-* | --enable-*)
    900     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    901     # Reject names that are not valid shell variable names.
    902     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    903       as_fn_error $? "invalid feature name: $ac_useropt"
    904     ac_useropt_orig=$ac_useropt
    905     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    906     case $ac_user_opts in
    907       *"
    908 "enable_$ac_useropt"
    909 "*) ;;
    910       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    911 	 ac_unrecognized_sep=', ';;
    912     esac
    913     eval enable_$ac_useropt=\$ac_optarg ;;
    914 
    915   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    916   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    917   | --exec | --exe | --ex)
    918     ac_prev=exec_prefix ;;
    919   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    920   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    921   | --exec=* | --exe=* | --ex=*)
    922     exec_prefix=$ac_optarg ;;
    923 
    924   -gas | --gas | --ga | --g)
    925     # Obsolete; use --with-gas.
    926     with_gas=yes ;;
    927 
    928   -help | --help | --hel | --he | -h)
    929     ac_init_help=long ;;
    930   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    931     ac_init_help=recursive ;;
    932   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    933     ac_init_help=short ;;
    934 
    935   -host | --host | --hos | --ho)
    936     ac_prev=host_alias ;;
    937   -host=* | --host=* | --hos=* | --ho=*)
    938     host_alias=$ac_optarg ;;
    939 
    940   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    941     ac_prev=htmldir ;;
    942   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    943   | --ht=*)
    944     htmldir=$ac_optarg ;;
    945 
    946   -includedir | --includedir | --includedi | --included | --include \
    947   | --includ | --inclu | --incl | --inc)
    948     ac_prev=includedir ;;
    949   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    950   | --includ=* | --inclu=* | --incl=* | --inc=*)
    951     includedir=$ac_optarg ;;
    952 
    953   -infodir | --infodir | --infodi | --infod | --info | --inf)
    954     ac_prev=infodir ;;
    955   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    956     infodir=$ac_optarg ;;
    957 
    958   -libdir | --libdir | --libdi | --libd)
    959     ac_prev=libdir ;;
    960   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    961     libdir=$ac_optarg ;;
    962 
    963   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    964   | --libexe | --libex | --libe)
    965     ac_prev=libexecdir ;;
    966   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    967   | --libexe=* | --libex=* | --libe=*)
    968     libexecdir=$ac_optarg ;;
    969 
    970   -localedir | --localedir | --localedi | --localed | --locale)
    971     ac_prev=localedir ;;
    972   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    973     localedir=$ac_optarg ;;
    974 
    975   -localstatedir | --localstatedir | --localstatedi | --localstated \
    976   | --localstate | --localstat | --localsta | --localst | --locals)
    977     ac_prev=localstatedir ;;
    978   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    979   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    980     localstatedir=$ac_optarg ;;
    981 
    982   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    983     ac_prev=mandir ;;
    984   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    985     mandir=$ac_optarg ;;
    986 
    987   -nfp | --nfp | --nf)
    988     # Obsolete; use --without-fp.
    989     with_fp=no ;;
    990 
    991   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    992   | --no-cr | --no-c | -n)
    993     no_create=yes ;;
    994 
    995   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    996   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    997     no_recursion=yes ;;
    998 
    999   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1000   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1001   | --oldin | --oldi | --old | --ol | --o)
   1002     ac_prev=oldincludedir ;;
   1003   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1004   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1005   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1006     oldincludedir=$ac_optarg ;;
   1007 
   1008   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1009     ac_prev=prefix ;;
   1010   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1011     prefix=$ac_optarg ;;
   1012 
   1013   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1014   | --program-pre | --program-pr | --program-p)
   1015     ac_prev=program_prefix ;;
   1016   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1017   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1018     program_prefix=$ac_optarg ;;
   1019 
   1020   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1021   | --program-suf | --program-su | --program-s)
   1022     ac_prev=program_suffix ;;
   1023   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1024   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1025     program_suffix=$ac_optarg ;;
   1026 
   1027   -program-transform-name | --program-transform-name \
   1028   | --program-transform-nam | --program-transform-na \
   1029   | --program-transform-n | --program-transform- \
   1030   | --program-transform | --program-transfor \
   1031   | --program-transfo | --program-transf \
   1032   | --program-trans | --program-tran \
   1033   | --progr-tra | --program-tr | --program-t)
   1034     ac_prev=program_transform_name ;;
   1035   -program-transform-name=* | --program-transform-name=* \
   1036   | --program-transform-nam=* | --program-transform-na=* \
   1037   | --program-transform-n=* | --program-transform-=* \
   1038   | --program-transform=* | --program-transfor=* \
   1039   | --program-transfo=* | --program-transf=* \
   1040   | --program-trans=* | --program-tran=* \
   1041   | --progr-tra=* | --program-tr=* | --program-t=*)
   1042     program_transform_name=$ac_optarg ;;
   1043 
   1044   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1045     ac_prev=pdfdir ;;
   1046   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1047     pdfdir=$ac_optarg ;;
   1048 
   1049   -psdir | --psdir | --psdi | --psd | --ps)
   1050     ac_prev=psdir ;;
   1051   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1052     psdir=$ac_optarg ;;
   1053 
   1054   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1055   | -silent | --silent | --silen | --sile | --sil)
   1056     silent=yes ;;
   1057 
   1058   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1059     ac_prev=sbindir ;;
   1060   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1061   | --sbi=* | --sb=*)
   1062     sbindir=$ac_optarg ;;
   1063 
   1064   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1065   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1066   | --sharedst | --shareds | --shared | --share | --shar \
   1067   | --sha | --sh)
   1068     ac_prev=sharedstatedir ;;
   1069   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1070   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1071   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1072   | --sha=* | --sh=*)
   1073     sharedstatedir=$ac_optarg ;;
   1074 
   1075   -site | --site | --sit)
   1076     ac_prev=site ;;
   1077   -site=* | --site=* | --sit=*)
   1078     site=$ac_optarg ;;
   1079 
   1080   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1081     ac_prev=srcdir ;;
   1082   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1083     srcdir=$ac_optarg ;;
   1084 
   1085   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1086   | --syscon | --sysco | --sysc | --sys | --sy)
   1087     ac_prev=sysconfdir ;;
   1088   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1089   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1090     sysconfdir=$ac_optarg ;;
   1091 
   1092   -target | --target | --targe | --targ | --tar | --ta | --t)
   1093     ac_prev=target_alias ;;
   1094   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1095     target_alias=$ac_optarg ;;
   1096 
   1097   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1098     verbose=yes ;;
   1099 
   1100   -version | --version | --versio | --versi | --vers | -V)
   1101     ac_init_version=: ;;
   1102 
   1103   -with-* | --with-*)
   1104     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1105     # Reject names that are not valid shell variable names.
   1106     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1107       as_fn_error $? "invalid package name: $ac_useropt"
   1108     ac_useropt_orig=$ac_useropt
   1109     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1110     case $ac_user_opts in
   1111       *"
   1112 "with_$ac_useropt"
   1113 "*) ;;
   1114       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1115 	 ac_unrecognized_sep=', ';;
   1116     esac
   1117     eval with_$ac_useropt=\$ac_optarg ;;
   1118 
   1119   -without-* | --without-*)
   1120     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1121     # Reject names that are not valid shell variable names.
   1122     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1123       as_fn_error $? "invalid package name: $ac_useropt"
   1124     ac_useropt_orig=$ac_useropt
   1125     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1126     case $ac_user_opts in
   1127       *"
   1128 "with_$ac_useropt"
   1129 "*) ;;
   1130       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1131 	 ac_unrecognized_sep=', ';;
   1132     esac
   1133     eval with_$ac_useropt=no ;;
   1134 
   1135   --x)
   1136     # Obsolete; use --with-x.
   1137     with_x=yes ;;
   1138 
   1139   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1140   | --x-incl | --x-inc | --x-in | --x-i)
   1141     ac_prev=x_includes ;;
   1142   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1143   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1144     x_includes=$ac_optarg ;;
   1145 
   1146   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1147   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1148     ac_prev=x_libraries ;;
   1149   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1150   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1151     x_libraries=$ac_optarg ;;
   1152 
   1153   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1154 Try \`$0 --help' for more information"
   1155     ;;
   1156 
   1157   *=*)
   1158     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1159     # Reject names that are not valid shell variable names.
   1160     case $ac_envvar in #(
   1161       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1162       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1163     esac
   1164     eval $ac_envvar=\$ac_optarg
   1165     export $ac_envvar ;;
   1166 
   1167   *)
   1168     # FIXME: should be removed in autoconf 3.0.
   1169     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1170     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1171       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1172     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1173     ;;
   1174 
   1175   esac
   1176 done
   1177 
   1178 if test -n "$ac_prev"; then
   1179   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1180   as_fn_error $? "missing argument to $ac_option"
   1181 fi
   1182 
   1183 if test -n "$ac_unrecognized_opts"; then
   1184   case $enable_option_checking in
   1185     no) ;;
   1186     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1187     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1188   esac
   1189 fi
   1190 
   1191 # Check all directory arguments for consistency.
   1192 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1193 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1194 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1195 		libdir localedir mandir
   1196 do
   1197   eval ac_val=\$$ac_var
   1198   # Remove trailing slashes.
   1199   case $ac_val in
   1200     */ )
   1201       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1202       eval $ac_var=\$ac_val;;
   1203   esac
   1204   # Be sure to have absolute directory names.
   1205   case $ac_val in
   1206     [\\/$]* | ?:[\\/]* )  continue;;
   1207     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1208   esac
   1209   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1210 done
   1211 
   1212 # There might be people who depend on the old broken behavior: `$host'
   1213 # used to hold the argument of --host etc.
   1214 # FIXME: To remove some day.
   1215 build=$build_alias
   1216 host=$host_alias
   1217 target=$target_alias
   1218 
   1219 # FIXME: To remove some day.
   1220 if test "x$host_alias" != x; then
   1221   if test "x$build_alias" = x; then
   1222     cross_compiling=maybe
   1223   elif test "x$build_alias" != "x$host_alias"; then
   1224     cross_compiling=yes
   1225   fi
   1226 fi
   1227 
   1228 ac_tool_prefix=
   1229 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1230 
   1231 test "$silent" = yes && exec 6>/dev/null
   1232 
   1233 
   1234 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1235 ac_ls_di=`ls -di .` &&
   1236 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1237   as_fn_error $? "working directory cannot be determined"
   1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1239   as_fn_error $? "pwd does not report name of working directory"
   1240 
   1241 
   1242 # Find the source files, if location was not specified.
   1243 if test -z "$srcdir"; then
   1244   ac_srcdir_defaulted=yes
   1245   # Try the directory containing this script, then the parent directory.
   1246   ac_confdir=`$as_dirname -- "$as_myself" ||
   1247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1248 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1249 	 X"$as_myself" : 'X\(//\)$' \| \
   1250 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1251 $as_echo X"$as_myself" |
   1252     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1253 	    s//\1/
   1254 	    q
   1255 	  }
   1256 	  /^X\(\/\/\)[^/].*/{
   1257 	    s//\1/
   1258 	    q
   1259 	  }
   1260 	  /^X\(\/\/\)$/{
   1261 	    s//\1/
   1262 	    q
   1263 	  }
   1264 	  /^X\(\/\).*/{
   1265 	    s//\1/
   1266 	    q
   1267 	  }
   1268 	  s/.*/./; q'`
   1269   srcdir=$ac_confdir
   1270   if test ! -r "$srcdir/$ac_unique_file"; then
   1271     srcdir=..
   1272   fi
   1273 else
   1274   ac_srcdir_defaulted=no
   1275 fi
   1276 if test ! -r "$srcdir/$ac_unique_file"; then
   1277   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1278   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1279 fi
   1280 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1281 ac_abs_confdir=`(
   1282 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1283 	pwd)`
   1284 # When building in place, set srcdir=.
   1285 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1286   srcdir=.
   1287 fi
   1288 # Remove unnecessary trailing slashes from srcdir.
   1289 # Double slashes in file names in object file debugging info
   1290 # mess up M-x gdb in Emacs.
   1291 case $srcdir in
   1292 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1293 esac
   1294 for ac_var in $ac_precious_vars; do
   1295   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1296   eval ac_env_${ac_var}_value=\$${ac_var}
   1297   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1298   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1299 done
   1300 
   1301 #
   1302 # Report the --help message.
   1303 #
   1304 if test "$ac_init_help" = "long"; then
   1305   # Omit some internal or obsolete options to make the list less imposing.
   1306   # This message is too long to be a string in the A/UX 3.1 sh.
   1307   cat <<_ACEOF
   1308 \`configure' configures font-alias 1.0.4 to adapt to many kinds of systems.
   1309 
   1310 Usage: $0 [OPTION]... [VAR=VALUE]...
   1311 
   1312 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1313 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1314 
   1315 Defaults for the options are specified in brackets.
   1316 
   1317 Configuration:
   1318   -h, --help              display this help and exit
   1319       --help=short        display options specific to this package
   1320       --help=recursive    display the short help of all the included packages
   1321   -V, --version           display version information and exit
   1322   -q, --quiet, --silent   do not print \`checking ...' messages
   1323       --cache-file=FILE   cache test results in FILE [disabled]
   1324   -C, --config-cache      alias for \`--cache-file=config.cache'
   1325   -n, --no-create         do not create output files
   1326       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1327 
   1328 Installation directories:
   1329   --prefix=PREFIX         install architecture-independent files in PREFIX
   1330                           [$ac_default_prefix]
   1331   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1332                           [PREFIX]
   1333 
   1334 By default, \`make install' will install all the files in
   1335 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1336 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1337 for instance \`--prefix=\$HOME'.
   1338 
   1339 For better control, use the options below.
   1340 
   1341 Fine tuning of the installation directories:
   1342   --bindir=DIR            user executables [EPREFIX/bin]
   1343   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1344   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1345   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1346   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1347   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1348   --libdir=DIR            object code libraries [EPREFIX/lib]
   1349   --includedir=DIR        C header files [PREFIX/include]
   1350   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1351   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1352   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1353   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1354   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1355   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1356   --docdir=DIR            documentation root [DATAROOTDIR/doc/font-alias]
   1357   --htmldir=DIR           html documentation [DOCDIR]
   1358   --dvidir=DIR            dvi documentation [DOCDIR]
   1359   --pdfdir=DIR            pdf documentation [DOCDIR]
   1360   --psdir=DIR             ps documentation [DOCDIR]
   1361 _ACEOF
   1362 
   1363   cat <<\_ACEOF
   1364 
   1365 Program names:
   1366   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1367   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1368   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1369 
   1370 System types:
   1371   --build=BUILD     configure for building on BUILD [guessed]
   1372   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1373 _ACEOF
   1374 fi
   1375 
   1376 if test -n "$ac_init_help"; then
   1377   case $ac_init_help in
   1378      short | recursive ) echo "Configuration of font-alias 1.0.4:";;
   1379    esac
   1380   cat <<\_ACEOF
   1381 
   1382 Optional Features:
   1383   --disable-option-checking  ignore unrecognized --enable/--with options
   1384   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1385   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1386   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1387   --disable-silent-rules  verbose build output (undo: "make V=0")
   1388   --enable-dependency-tracking
   1389                           do not reject slow dependency extractors
   1390   --disable-dependency-tracking
   1391                           speeds up one-time build
   1392   --disable-selective-werror
   1393                           Turn off selective compiler errors. (default:
   1394                           enabled)
   1395   --enable-strict-compilation
   1396                           Enable all warnings from compiler and make them
   1397                           errors (default: disabled)
   1398 
   1399 Optional Packages:
   1400   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1401   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1402   --with-fontrootdir=DIR  Path to root directory for font files
   1403   --with-top-fontdir=<pathname>
   1404                           Obsolete: use --with-fontrootdir instead
   1405 
   1406 Some influential environment variables:
   1407   CC          C compiler command
   1408   CFLAGS      C compiler flags
   1409   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1410               nonstandard directory <lib dir>
   1411   LIBS        libraries to pass to the linker, e.g. -l<library>
   1412   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1413               you have headers in a nonstandard directory <include dir>
   1414   CPP         C preprocessor
   1415   PKG_CONFIG  path to pkg-config utility
   1416   PKG_CONFIG_PATH
   1417               directories to add to pkg-config's search path
   1418   PKG_CONFIG_LIBDIR
   1419               path overriding pkg-config's built-in search path
   1420 
   1421 Use these variables to override the choices made by `configure' or to help
   1422 it to find libraries and programs with nonstandard names/locations.
   1423 
   1424 Report bugs to <https://gitlab.freedesktop.org/xorg/font/alias/issues>.
   1425 _ACEOF
   1426 ac_status=$?
   1427 fi
   1428 
   1429 if test "$ac_init_help" = "recursive"; then
   1430   # If there are subdirs, report their specific --help.
   1431   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1432     test -d "$ac_dir" ||
   1433       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1434       continue
   1435     ac_builddir=.
   1436 
   1437 case "$ac_dir" in
   1438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1439 *)
   1440   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1441   # A ".." for each directory in $ac_dir_suffix.
   1442   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1443   case $ac_top_builddir_sub in
   1444   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1445   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1446   esac ;;
   1447 esac
   1448 ac_abs_top_builddir=$ac_pwd
   1449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1450 # for backward compatibility:
   1451 ac_top_builddir=$ac_top_build_prefix
   1452 
   1453 case $srcdir in
   1454   .)  # We are building in place.
   1455     ac_srcdir=.
   1456     ac_top_srcdir=$ac_top_builddir_sub
   1457     ac_abs_top_srcdir=$ac_pwd ;;
   1458   [\\/]* | ?:[\\/]* )  # Absolute name.
   1459     ac_srcdir=$srcdir$ac_dir_suffix;
   1460     ac_top_srcdir=$srcdir
   1461     ac_abs_top_srcdir=$srcdir ;;
   1462   *) # Relative name.
   1463     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1464     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1465     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1466 esac
   1467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1468 
   1469     cd "$ac_dir" || { ac_status=$?; continue; }
   1470     # Check for guested configure.
   1471     if test -f "$ac_srcdir/configure.gnu"; then
   1472       echo &&
   1473       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1474     elif test -f "$ac_srcdir/configure"; then
   1475       echo &&
   1476       $SHELL "$ac_srcdir/configure" --help=recursive
   1477     else
   1478       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1479     fi || ac_status=$?
   1480     cd "$ac_pwd" || { ac_status=$?; break; }
   1481   done
   1482 fi
   1483 
   1484 test -n "$ac_init_help" && exit $ac_status
   1485 if $ac_init_version; then
   1486   cat <<\_ACEOF
   1487 font-alias configure 1.0.4
   1488 generated by GNU Autoconf 2.69
   1489 
   1490 Copyright (C) 2012 Free Software Foundation, Inc.
   1491 This configure script is free software; the Free Software Foundation
   1492 gives unlimited permission to copy, distribute and modify it.
   1493 _ACEOF
   1494   exit
   1495 fi
   1496 
   1497 ## ------------------------ ##
   1498 ## Autoconf initialization. ##
   1499 ## ------------------------ ##
   1500 
   1501 # ac_fn_c_try_compile LINENO
   1502 # --------------------------
   1503 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1504 ac_fn_c_try_compile ()
   1505 {
   1506   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1507   rm -f conftest.$ac_objext
   1508   if { { ac_try="$ac_compile"
   1509 case "(($ac_try" in
   1510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1511   *) ac_try_echo=$ac_try;;
   1512 esac
   1513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1514 $as_echo "$ac_try_echo"; } >&5
   1515   (eval "$ac_compile") 2>conftest.err
   1516   ac_status=$?
   1517   if test -s conftest.err; then
   1518     grep -v '^ *+' conftest.err >conftest.er1
   1519     cat conftest.er1 >&5
   1520     mv -f conftest.er1 conftest.err
   1521   fi
   1522   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1523   test $ac_status = 0; } && {
   1524 	 test -z "$ac_c_werror_flag" ||
   1525 	 test ! -s conftest.err
   1526        } && test -s conftest.$ac_objext; then :
   1527   ac_retval=0
   1528 else
   1529   $as_echo "$as_me: failed program was:" >&5
   1530 sed 's/^/| /' conftest.$ac_ext >&5
   1531 
   1532 	ac_retval=1
   1533 fi
   1534   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1535   as_fn_set_status $ac_retval
   1536 
   1537 } # ac_fn_c_try_compile
   1538 
   1539 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1540 # ---------------------------------------------
   1541 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1542 # accordingly.
   1543 ac_fn_c_check_decl ()
   1544 {
   1545   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1546   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1547   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1549 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1550 if eval \${$3+:} false; then :
   1551   $as_echo_n "(cached) " >&6
   1552 else
   1553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1554 /* end confdefs.h.  */
   1555 $4
   1556 int
   1557 main ()
   1558 {
   1559 #ifndef $as_decl_name
   1560 #ifdef __cplusplus
   1561   (void) $as_decl_use;
   1562 #else
   1563   (void) $as_decl_name;
   1564 #endif
   1565 #endif
   1566 
   1567   ;
   1568   return 0;
   1569 }
   1570 _ACEOF
   1571 if ac_fn_c_try_compile "$LINENO"; then :
   1572   eval "$3=yes"
   1573 else
   1574   eval "$3=no"
   1575 fi
   1576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1577 fi
   1578 eval ac_res=\$$3
   1579 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1580 $as_echo "$ac_res" >&6; }
   1581   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1582 
   1583 } # ac_fn_c_check_decl
   1584 
   1585 # ac_fn_c_try_cpp LINENO
   1586 # ----------------------
   1587 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1588 ac_fn_c_try_cpp ()
   1589 {
   1590   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1591   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1592 case "(($ac_try" in
   1593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1594   *) ac_try_echo=$ac_try;;
   1595 esac
   1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1597 $as_echo "$ac_try_echo"; } >&5
   1598   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1599   ac_status=$?
   1600   if test -s conftest.err; then
   1601     grep -v '^ *+' conftest.err >conftest.er1
   1602     cat conftest.er1 >&5
   1603     mv -f conftest.er1 conftest.err
   1604   fi
   1605   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1606   test $ac_status = 0; } > conftest.i && {
   1607 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1608 	 test ! -s conftest.err
   1609        }; then :
   1610   ac_retval=0
   1611 else
   1612   $as_echo "$as_me: failed program was:" >&5
   1613 sed 's/^/| /' conftest.$ac_ext >&5
   1614 
   1615     ac_retval=1
   1616 fi
   1617   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1618   as_fn_set_status $ac_retval
   1619 
   1620 } # ac_fn_c_try_cpp
   1621 
   1622 # ac_fn_c_try_run LINENO
   1623 # ----------------------
   1624 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1625 # that executables *can* be run.
   1626 ac_fn_c_try_run ()
   1627 {
   1628   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1629   if { { ac_try="$ac_link"
   1630 case "(($ac_try" in
   1631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1632   *) ac_try_echo=$ac_try;;
   1633 esac
   1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1635 $as_echo "$ac_try_echo"; } >&5
   1636   (eval "$ac_link") 2>&5
   1637   ac_status=$?
   1638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1639   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1640   { { case "(($ac_try" in
   1641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1642   *) ac_try_echo=$ac_try;;
   1643 esac
   1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1645 $as_echo "$ac_try_echo"; } >&5
   1646   (eval "$ac_try") 2>&5
   1647   ac_status=$?
   1648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1649   test $ac_status = 0; }; }; then :
   1650   ac_retval=0
   1651 else
   1652   $as_echo "$as_me: program exited with status $ac_status" >&5
   1653        $as_echo "$as_me: failed program was:" >&5
   1654 sed 's/^/| /' conftest.$ac_ext >&5
   1655 
   1656        ac_retval=$ac_status
   1657 fi
   1658   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1659   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1660   as_fn_set_status $ac_retval
   1661 
   1662 } # ac_fn_c_try_run
   1663 
   1664 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1665 # -------------------------------------------------------
   1666 # Tests whether HEADER exists and can be compiled using the include files in
   1667 # INCLUDES, setting the cache variable VAR accordingly.
   1668 ac_fn_c_check_header_compile ()
   1669 {
   1670   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1672 $as_echo_n "checking for $2... " >&6; }
   1673 if eval \${$3+:} false; then :
   1674   $as_echo_n "(cached) " >&6
   1675 else
   1676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1677 /* end confdefs.h.  */
   1678 $4
   1679 #include <$2>
   1680 _ACEOF
   1681 if ac_fn_c_try_compile "$LINENO"; then :
   1682   eval "$3=yes"
   1683 else
   1684   eval "$3=no"
   1685 fi
   1686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1687 fi
   1688 eval ac_res=\$$3
   1689 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1690 $as_echo "$ac_res" >&6; }
   1691   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1692 
   1693 } # ac_fn_c_check_header_compile
   1694 
   1695 # ac_fn_c_try_link LINENO
   1696 # -----------------------
   1697 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1698 ac_fn_c_try_link ()
   1699 {
   1700   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1701   rm -f conftest.$ac_objext conftest$ac_exeext
   1702   if { { ac_try="$ac_link"
   1703 case "(($ac_try" in
   1704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1705   *) ac_try_echo=$ac_try;;
   1706 esac
   1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1708 $as_echo "$ac_try_echo"; } >&5
   1709   (eval "$ac_link") 2>conftest.err
   1710   ac_status=$?
   1711   if test -s conftest.err; then
   1712     grep -v '^ *+' conftest.err >conftest.er1
   1713     cat conftest.er1 >&5
   1714     mv -f conftest.er1 conftest.err
   1715   fi
   1716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1717   test $ac_status = 0; } && {
   1718 	 test -z "$ac_c_werror_flag" ||
   1719 	 test ! -s conftest.err
   1720        } && test -s conftest$ac_exeext && {
   1721 	 test "$cross_compiling" = yes ||
   1722 	 test -x conftest$ac_exeext
   1723        }; then :
   1724   ac_retval=0
   1725 else
   1726   $as_echo "$as_me: failed program was:" >&5
   1727 sed 's/^/| /' conftest.$ac_ext >&5
   1728 
   1729 	ac_retval=1
   1730 fi
   1731   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1732   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1733   # interfere with the next link command; also delete a directory that is
   1734   # left behind by Apple's compiler.  We do this before executing the actions.
   1735   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1736   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1737   as_fn_set_status $ac_retval
   1738 
   1739 } # ac_fn_c_try_link
   1740 cat >config.log <<_ACEOF
   1741 This file contains any messages produced by compilers while
   1742 running configure, to aid debugging if configure makes a mistake.
   1743 
   1744 It was created by font-alias $as_me 1.0.4, which was
   1745 generated by GNU Autoconf 2.69.  Invocation command line was
   1746 
   1747   $ $0 $@
   1748 
   1749 _ACEOF
   1750 exec 5>>config.log
   1751 {
   1752 cat <<_ASUNAME
   1753 ## --------- ##
   1754 ## Platform. ##
   1755 ## --------- ##
   1756 
   1757 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1758 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1759 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1760 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1761 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1762 
   1763 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1764 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1765 
   1766 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1767 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1768 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1769 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1770 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1771 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1772 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1773 
   1774 _ASUNAME
   1775 
   1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1777 for as_dir in $PATH
   1778 do
   1779   IFS=$as_save_IFS
   1780   test -z "$as_dir" && as_dir=.
   1781     $as_echo "PATH: $as_dir"
   1782   done
   1783 IFS=$as_save_IFS
   1784 
   1785 } >&5
   1786 
   1787 cat >&5 <<_ACEOF
   1788 
   1789 
   1790 ## ----------- ##
   1791 ## Core tests. ##
   1792 ## ----------- ##
   1793 
   1794 _ACEOF
   1795 
   1796 
   1797 # Keep a trace of the command line.
   1798 # Strip out --no-create and --no-recursion so they do not pile up.
   1799 # Strip out --silent because we don't want to record it for future runs.
   1800 # Also quote any args containing shell meta-characters.
   1801 # Make two passes to allow for proper duplicate-argument suppression.
   1802 ac_configure_args=
   1803 ac_configure_args0=
   1804 ac_configure_args1=
   1805 ac_must_keep_next=false
   1806 for ac_pass in 1 2
   1807 do
   1808   for ac_arg
   1809   do
   1810     case $ac_arg in
   1811     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1812     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1813     | -silent | --silent | --silen | --sile | --sil)
   1814       continue ;;
   1815     *\'*)
   1816       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1817     esac
   1818     case $ac_pass in
   1819     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1820     2)
   1821       as_fn_append ac_configure_args1 " '$ac_arg'"
   1822       if test $ac_must_keep_next = true; then
   1823 	ac_must_keep_next=false # Got value, back to normal.
   1824       else
   1825 	case $ac_arg in
   1826 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1827 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1828 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1829 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1830 	    case "$ac_configure_args0 " in
   1831 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1832 	    esac
   1833 	    ;;
   1834 	  -* ) ac_must_keep_next=true ;;
   1835 	esac
   1836       fi
   1837       as_fn_append ac_configure_args " '$ac_arg'"
   1838       ;;
   1839     esac
   1840   done
   1841 done
   1842 { ac_configure_args0=; unset ac_configure_args0;}
   1843 { ac_configure_args1=; unset ac_configure_args1;}
   1844 
   1845 # When interrupted or exit'd, cleanup temporary files, and complete
   1846 # config.log.  We remove comments because anyway the quotes in there
   1847 # would cause problems or look ugly.
   1848 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1849 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1850 trap 'exit_status=$?
   1851   # Save into config.log some information that might help in debugging.
   1852   {
   1853     echo
   1854 
   1855     $as_echo "## ---------------- ##
   1856 ## Cache variables. ##
   1857 ## ---------------- ##"
   1858     echo
   1859     # The following way of writing the cache mishandles newlines in values,
   1860 (
   1861   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1862     eval ac_val=\$$ac_var
   1863     case $ac_val in #(
   1864     *${as_nl}*)
   1865       case $ac_var in #(
   1866       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1867 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1868       esac
   1869       case $ac_var in #(
   1870       _ | IFS | as_nl) ;; #(
   1871       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1872       *) { eval $ac_var=; unset $ac_var;} ;;
   1873       esac ;;
   1874     esac
   1875   done
   1876   (set) 2>&1 |
   1877     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1878     *${as_nl}ac_space=\ *)
   1879       sed -n \
   1880 	"s/'\''/'\''\\\\'\'''\''/g;
   1881 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1882       ;; #(
   1883     *)
   1884       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1885       ;;
   1886     esac |
   1887     sort
   1888 )
   1889     echo
   1890 
   1891     $as_echo "## ----------------- ##
   1892 ## Output variables. ##
   1893 ## ----------------- ##"
   1894     echo
   1895     for ac_var in $ac_subst_vars
   1896     do
   1897       eval ac_val=\$$ac_var
   1898       case $ac_val in
   1899       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1900       esac
   1901       $as_echo "$ac_var='\''$ac_val'\''"
   1902     done | sort
   1903     echo
   1904 
   1905     if test -n "$ac_subst_files"; then
   1906       $as_echo "## ------------------- ##
   1907 ## File substitutions. ##
   1908 ## ------------------- ##"
   1909       echo
   1910       for ac_var in $ac_subst_files
   1911       do
   1912 	eval ac_val=\$$ac_var
   1913 	case $ac_val in
   1914 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1915 	esac
   1916 	$as_echo "$ac_var='\''$ac_val'\''"
   1917       done | sort
   1918       echo
   1919     fi
   1920 
   1921     if test -s confdefs.h; then
   1922       $as_echo "## ----------- ##
   1923 ## confdefs.h. ##
   1924 ## ----------- ##"
   1925       echo
   1926       cat confdefs.h
   1927       echo
   1928     fi
   1929     test "$ac_signal" != 0 &&
   1930       $as_echo "$as_me: caught signal $ac_signal"
   1931     $as_echo "$as_me: exit $exit_status"
   1932   } >&5
   1933   rm -f core *.core core.conftest.* &&
   1934     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1935     exit $exit_status
   1936 ' 0
   1937 for ac_signal in 1 2 13 15; do
   1938   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1939 done
   1940 ac_signal=0
   1941 
   1942 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1943 rm -f -r conftest* confdefs.h
   1944 
   1945 $as_echo "/* confdefs.h */" > confdefs.h
   1946 
   1947 # Predefined preprocessor variables.
   1948 
   1949 cat >>confdefs.h <<_ACEOF
   1950 #define PACKAGE_NAME "$PACKAGE_NAME"
   1951 _ACEOF
   1952 
   1953 cat >>confdefs.h <<_ACEOF
   1954 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1955 _ACEOF
   1956 
   1957 cat >>confdefs.h <<_ACEOF
   1958 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1959 _ACEOF
   1960 
   1961 cat >>confdefs.h <<_ACEOF
   1962 #define PACKAGE_STRING "$PACKAGE_STRING"
   1963 _ACEOF
   1964 
   1965 cat >>confdefs.h <<_ACEOF
   1966 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1967 _ACEOF
   1968 
   1969 cat >>confdefs.h <<_ACEOF
   1970 #define PACKAGE_URL "$PACKAGE_URL"
   1971 _ACEOF
   1972 
   1973 
   1974 # Let the site file select an alternate cache file if it wants to.
   1975 # Prefer an explicitly selected file to automatically selected ones.
   1976 ac_site_file1=NONE
   1977 ac_site_file2=NONE
   1978 if test -n "$CONFIG_SITE"; then
   1979   # We do not want a PATH search for config.site.
   1980   case $CONFIG_SITE in #((
   1981     -*)  ac_site_file1=./$CONFIG_SITE;;
   1982     */*) ac_site_file1=$CONFIG_SITE;;
   1983     *)   ac_site_file1=./$CONFIG_SITE;;
   1984   esac
   1985 elif test "x$prefix" != xNONE; then
   1986   ac_site_file1=$prefix/share/config.site
   1987   ac_site_file2=$prefix/etc/config.site
   1988 else
   1989   ac_site_file1=$ac_default_prefix/share/config.site
   1990   ac_site_file2=$ac_default_prefix/etc/config.site
   1991 fi
   1992 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1993 do
   1994   test "x$ac_site_file" = xNONE && continue
   1995   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1996     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1997 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1998     sed 's/^/| /' "$ac_site_file" >&5
   1999     . "$ac_site_file" \
   2000       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2002 as_fn_error $? "failed to load site script $ac_site_file
   2003 See \`config.log' for more details" "$LINENO" 5; }
   2004   fi
   2005 done
   2006 
   2007 if test -r "$cache_file"; then
   2008   # Some versions of bash will fail to source /dev/null (special files
   2009   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2010   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2011     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2012 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2013     case $cache_file in
   2014       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2015       *)                      . "./$cache_file";;
   2016     esac
   2017   fi
   2018 else
   2019   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2020 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2021   >$cache_file
   2022 fi
   2023 
   2024 # Check that the precious variables saved in the cache have kept the same
   2025 # value.
   2026 ac_cache_corrupted=false
   2027 for ac_var in $ac_precious_vars; do
   2028   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2029   eval ac_new_set=\$ac_env_${ac_var}_set
   2030   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2031   eval ac_new_val=\$ac_env_${ac_var}_value
   2032   case $ac_old_set,$ac_new_set in
   2033     set,)
   2034       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2035 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2036       ac_cache_corrupted=: ;;
   2037     ,set)
   2038       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2039 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2040       ac_cache_corrupted=: ;;
   2041     ,);;
   2042     *)
   2043       if test "x$ac_old_val" != "x$ac_new_val"; then
   2044 	# differences in whitespace do not lead to failure.
   2045 	ac_old_val_w=`echo x $ac_old_val`
   2046 	ac_new_val_w=`echo x $ac_new_val`
   2047 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2048 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2049 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2050 	  ac_cache_corrupted=:
   2051 	else
   2052 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2053 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2054 	  eval $ac_var=\$ac_old_val
   2055 	fi
   2056 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2057 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2058 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2059 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2060       fi;;
   2061   esac
   2062   # Pass precious variables to config.status.
   2063   if test "$ac_new_set" = set; then
   2064     case $ac_new_val in
   2065     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2066     *) ac_arg=$ac_var=$ac_new_val ;;
   2067     esac
   2068     case " $ac_configure_args " in
   2069       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2070       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2071     esac
   2072   fi
   2073 done
   2074 if $ac_cache_corrupted; then
   2075   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2077   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2078 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2079   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2080 fi
   2081 ## -------------------- ##
   2082 ## Main body of script. ##
   2083 ## -------------------- ##
   2084 
   2085 ac_ext=c
   2086 ac_cpp='$CPP $CPPFLAGS'
   2087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2090 
   2091 
   2092 am__api_version='1.15'
   2093 
   2094 ac_aux_dir=
   2095 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2096   if test -f "$ac_dir/install-sh"; then
   2097     ac_aux_dir=$ac_dir
   2098     ac_install_sh="$ac_aux_dir/install-sh -c"
   2099     break
   2100   elif 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/shtool"; then
   2105     ac_aux_dir=$ac_dir
   2106     ac_install_sh="$ac_aux_dir/shtool install -c"
   2107     break
   2108   fi
   2109 done
   2110 if test -z "$ac_aux_dir"; then
   2111   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2112 fi
   2113 
   2114 # These three variables are undocumented and unsupported,
   2115 # and are intended to be withdrawn in a future Autoconf release.
   2116 # They can cause serious problems if a builder's source tree is in a directory
   2117 # whose full name contains unusual characters.
   2118 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2119 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2120 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2121 
   2122 
   2123 # Find a good install program.  We prefer a C program (faster),
   2124 # so one script is as good as another.  But avoid the broken or
   2125 # incompatible versions:
   2126 # SysV /etc/install, /usr/sbin/install
   2127 # SunOS /usr/etc/install
   2128 # IRIX /sbin/install
   2129 # AIX /bin/install
   2130 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2131 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2132 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2133 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2134 # OS/2's system install, which has a completely different semantic
   2135 # ./install, which can be erroneously created by make from ./install.sh.
   2136 # Reject install programs that cannot install multiple files.
   2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2138 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2139 if test -z "$INSTALL"; then
   2140 if ${ac_cv_path_install+:} false; then :
   2141   $as_echo_n "(cached) " >&6
   2142 else
   2143   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2144 for as_dir in $PATH
   2145 do
   2146   IFS=$as_save_IFS
   2147   test -z "$as_dir" && as_dir=.
   2148     # Account for people who put trailing slashes in PATH elements.
   2149 case $as_dir/ in #((
   2150   ./ | .// | /[cC]/* | \
   2151   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2152   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2153   /usr/ucb/* ) ;;
   2154   *)
   2155     # OSF1 and SCO ODT 3.0 have their own names for install.
   2156     # Don't use installbsd from OSF since it installs stuff as root
   2157     # by default.
   2158     for ac_prog in ginstall scoinst install; do
   2159       for ac_exec_ext in '' $ac_executable_extensions; do
   2160 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2161 	  if test $ac_prog = install &&
   2162 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2163 	    # AIX install.  It has an incompatible calling convention.
   2164 	    :
   2165 	  elif test $ac_prog = install &&
   2166 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2167 	    # program-specific install script used by HP pwplus--don't use.
   2168 	    :
   2169 	  else
   2170 	    rm -rf conftest.one conftest.two conftest.dir
   2171 	    echo one > conftest.one
   2172 	    echo two > conftest.two
   2173 	    mkdir conftest.dir
   2174 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2175 	      test -s conftest.one && test -s conftest.two &&
   2176 	      test -s conftest.dir/conftest.one &&
   2177 	      test -s conftest.dir/conftest.two
   2178 	    then
   2179 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2180 	      break 3
   2181 	    fi
   2182 	  fi
   2183 	fi
   2184       done
   2185     done
   2186     ;;
   2187 esac
   2188 
   2189   done
   2190 IFS=$as_save_IFS
   2191 
   2192 rm -rf conftest.one conftest.two conftest.dir
   2193 
   2194 fi
   2195   if test "${ac_cv_path_install+set}" = set; then
   2196     INSTALL=$ac_cv_path_install
   2197   else
   2198     # As a last resort, use the slow shell script.  Don't cache a
   2199     # value for INSTALL within a source directory, because that will
   2200     # break other packages using the cache if that directory is
   2201     # removed, or if the value is a relative name.
   2202     INSTALL=$ac_install_sh
   2203   fi
   2204 fi
   2205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2206 $as_echo "$INSTALL" >&6; }
   2207 
   2208 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2209 # It thinks the first close brace ends the variable substitution.
   2210 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2211 
   2212 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2213 
   2214 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2215 
   2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2217 $as_echo_n "checking whether build environment is sane... " >&6; }
   2218 # Reject unsafe characters in $srcdir or the absolute working directory
   2219 # name.  Accept space and tab only in the latter.
   2220 am_lf='
   2221 '
   2222 case `pwd` in
   2223   *[\\\"\#\$\&\'\`$am_lf]*)
   2224     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2225 esac
   2226 case $srcdir in
   2227   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2228     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2229 esac
   2230 
   2231 # Do 'set' in a subshell so we don't clobber the current shell's
   2232 # arguments.  Must try -L first in case configure is actually a
   2233 # symlink; some systems play weird games with the mod time of symlinks
   2234 # (eg FreeBSD returns the mod time of the symlink's containing
   2235 # directory).
   2236 if (
   2237    am_has_slept=no
   2238    for am_try in 1 2; do
   2239      echo "timestamp, slept: $am_has_slept" > conftest.file
   2240      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2241      if test "$*" = "X"; then
   2242 	# -L didn't work.
   2243 	set X `ls -t "$srcdir/configure" conftest.file`
   2244      fi
   2245      if test "$*" != "X $srcdir/configure conftest.file" \
   2246 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2247 
   2248 	# If neither matched, then we have a broken ls.  This can happen
   2249 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2250 	# broken ls alias from the environment.  This has actually
   2251 	# happened.  Such a system could not be considered "sane".
   2252 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2253   alias in your environment" "$LINENO" 5
   2254      fi
   2255      if test "$2" = conftest.file || test $am_try -eq 2; then
   2256        break
   2257      fi
   2258      # Just in case.
   2259      sleep 1
   2260      am_has_slept=yes
   2261    done
   2262    test "$2" = conftest.file
   2263    )
   2264 then
   2265    # Ok.
   2266    :
   2267 else
   2268    as_fn_error $? "newly created file is older than distributed files!
   2269 Check your system clock" "$LINENO" 5
   2270 fi
   2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2272 $as_echo "yes" >&6; }
   2273 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2274 # generated files are strictly newer.
   2275 am_sleep_pid=
   2276 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2277   ( sleep 1 ) &
   2278   am_sleep_pid=$!
   2279 fi
   2280 
   2281 rm -f conftest.file
   2282 
   2283 test "$program_prefix" != NONE &&
   2284   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2285 # Use a double $ so make ignores it.
   2286 test "$program_suffix" != NONE &&
   2287   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2288 # Double any \ or $.
   2289 # By default was `s,x,x', remove it if useless.
   2290 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2291 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2292 
   2293 # Expand $ac_aux_dir to an absolute path.
   2294 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2295 
   2296 if test x"${MISSING+set}" != xset; then
   2297   case $am_aux_dir in
   2298   *\ * | *\	*)
   2299     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2300   *)
   2301     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2302   esac
   2303 fi
   2304 # Use eval to expand $SHELL
   2305 if eval "$MISSING --is-lightweight"; then
   2306   am_missing_run="$MISSING "
   2307 else
   2308   am_missing_run=
   2309   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2310 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2311 fi
   2312 
   2313 if test x"${install_sh+set}" != xset; then
   2314   case $am_aux_dir in
   2315   *\ * | *\	*)
   2316     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2317   *)
   2318     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2319   esac
   2320 fi
   2321 
   2322 # Installed binaries are usually stripped using 'strip' when the user
   2323 # run "make install-strip".  However 'strip' might not be the right
   2324 # tool to use in cross-compilation environments, therefore Automake
   2325 # will honor the 'STRIP' environment variable to overrule this program.
   2326 if test "$cross_compiling" != no; then
   2327   if test -n "$ac_tool_prefix"; then
   2328   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2329 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2331 $as_echo_n "checking for $ac_word... " >&6; }
   2332 if ${ac_cv_prog_STRIP+:} false; then :
   2333   $as_echo_n "(cached) " >&6
   2334 else
   2335   if test -n "$STRIP"; then
   2336   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2337 else
   2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2339 for as_dir in $PATH
   2340 do
   2341   IFS=$as_save_IFS
   2342   test -z "$as_dir" && as_dir=.
   2343     for ac_exec_ext in '' $ac_executable_extensions; do
   2344   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2345     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2347     break 2
   2348   fi
   2349 done
   2350   done
   2351 IFS=$as_save_IFS
   2352 
   2353 fi
   2354 fi
   2355 STRIP=$ac_cv_prog_STRIP
   2356 if test -n "$STRIP"; then
   2357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2358 $as_echo "$STRIP" >&6; }
   2359 else
   2360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2361 $as_echo "no" >&6; }
   2362 fi
   2363 
   2364 
   2365 fi
   2366 if test -z "$ac_cv_prog_STRIP"; then
   2367   ac_ct_STRIP=$STRIP
   2368   # Extract the first word of "strip", so it can be a program name with args.
   2369 set dummy strip; ac_word=$2
   2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2371 $as_echo_n "checking for $ac_word... " >&6; }
   2372 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2373   $as_echo_n "(cached) " >&6
   2374 else
   2375   if test -n "$ac_ct_STRIP"; then
   2376   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2377 else
   2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2379 for as_dir in $PATH
   2380 do
   2381   IFS=$as_save_IFS
   2382   test -z "$as_dir" && as_dir=.
   2383     for ac_exec_ext in '' $ac_executable_extensions; do
   2384   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2385     ac_cv_prog_ac_ct_STRIP="strip"
   2386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2387     break 2
   2388   fi
   2389 done
   2390   done
   2391 IFS=$as_save_IFS
   2392 
   2393 fi
   2394 fi
   2395 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2396 if test -n "$ac_ct_STRIP"; then
   2397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2398 $as_echo "$ac_ct_STRIP" >&6; }
   2399 else
   2400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2401 $as_echo "no" >&6; }
   2402 fi
   2403 
   2404   if test "x$ac_ct_STRIP" = x; then
   2405     STRIP=":"
   2406   else
   2407     case $cross_compiling:$ac_tool_warned in
   2408 yes:)
   2409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2411 ac_tool_warned=yes ;;
   2412 esac
   2413     STRIP=$ac_ct_STRIP
   2414   fi
   2415 else
   2416   STRIP="$ac_cv_prog_STRIP"
   2417 fi
   2418 
   2419 fi
   2420 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2421 
   2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2423 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2424 if test -z "$MKDIR_P"; then
   2425   if ${ac_cv_path_mkdir+:} false; then :
   2426   $as_echo_n "(cached) " >&6
   2427 else
   2428   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2429 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2430 do
   2431   IFS=$as_save_IFS
   2432   test -z "$as_dir" && as_dir=.
   2433     for ac_prog in mkdir gmkdir; do
   2434 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2435 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2436 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2437 	     'mkdir (GNU coreutils) '* | \
   2438 	     'mkdir (coreutils) '* | \
   2439 	     'mkdir (fileutils) '4.1*)
   2440 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2441 	       break 3;;
   2442 	   esac
   2443 	 done
   2444        done
   2445   done
   2446 IFS=$as_save_IFS
   2447 
   2448 fi
   2449 
   2450   test -d ./--version && rmdir ./--version
   2451   if test "${ac_cv_path_mkdir+set}" = set; then
   2452     MKDIR_P="$ac_cv_path_mkdir -p"
   2453   else
   2454     # As a last resort, use the slow shell script.  Don't cache a
   2455     # value for MKDIR_P within a source directory, because that will
   2456     # break other packages using the cache if that directory is
   2457     # removed, or if the value is a relative name.
   2458     MKDIR_P="$ac_install_sh -d"
   2459   fi
   2460 fi
   2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2462 $as_echo "$MKDIR_P" >&6; }
   2463 
   2464 for ac_prog in gawk mawk nawk awk
   2465 do
   2466   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2467 set dummy $ac_prog; ac_word=$2
   2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2469 $as_echo_n "checking for $ac_word... " >&6; }
   2470 if ${ac_cv_prog_AWK+:} false; then :
   2471   $as_echo_n "(cached) " >&6
   2472 else
   2473   if test -n "$AWK"; then
   2474   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2475 else
   2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2477 for as_dir in $PATH
   2478 do
   2479   IFS=$as_save_IFS
   2480   test -z "$as_dir" && as_dir=.
   2481     for ac_exec_ext in '' $ac_executable_extensions; do
   2482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2483     ac_cv_prog_AWK="$ac_prog"
   2484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2485     break 2
   2486   fi
   2487 done
   2488   done
   2489 IFS=$as_save_IFS
   2490 
   2491 fi
   2492 fi
   2493 AWK=$ac_cv_prog_AWK
   2494 if test -n "$AWK"; then
   2495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2496 $as_echo "$AWK" >&6; }
   2497 else
   2498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2499 $as_echo "no" >&6; }
   2500 fi
   2501 
   2502 
   2503   test -n "$AWK" && break
   2504 done
   2505 
   2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2507 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2508 set x ${MAKE-make}
   2509 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2510 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2511   $as_echo_n "(cached) " >&6
   2512 else
   2513   cat >conftest.make <<\_ACEOF
   2514 SHELL = /bin/sh
   2515 all:
   2516 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2517 _ACEOF
   2518 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2519 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2520   *@@@%%%=?*=@@@%%%*)
   2521     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2522   *)
   2523     eval ac_cv_prog_make_${ac_make}_set=no;;
   2524 esac
   2525 rm -f conftest.make
   2526 fi
   2527 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2529 $as_echo "yes" >&6; }
   2530   SET_MAKE=
   2531 else
   2532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2533 $as_echo "no" >&6; }
   2534   SET_MAKE="MAKE=${MAKE-make}"
   2535 fi
   2536 
   2537 rm -rf .tst 2>/dev/null
   2538 mkdir .tst 2>/dev/null
   2539 if test -d .tst; then
   2540   am__leading_dot=.
   2541 else
   2542   am__leading_dot=_
   2543 fi
   2544 rmdir .tst 2>/dev/null
   2545 
   2546 # Check whether --enable-silent-rules was given.
   2547 if test "${enable_silent_rules+set}" = set; then :
   2548   enableval=$enable_silent_rules;
   2549 fi
   2550 
   2551 case $enable_silent_rules in # (((
   2552   yes) AM_DEFAULT_VERBOSITY=0;;
   2553    no) AM_DEFAULT_VERBOSITY=1;;
   2554     *) AM_DEFAULT_VERBOSITY=1;;
   2555 esac
   2556 am_make=${MAKE-make}
   2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2558 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2559 if ${am_cv_make_support_nested_variables+:} false; then :
   2560   $as_echo_n "(cached) " >&6
   2561 else
   2562   if $as_echo 'TRUE=$(BAR$(V))
   2563 BAR0=false
   2564 BAR1=true
   2565 V=1
   2566 am__doit:
   2567 	@$(TRUE)
   2568 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2569   am_cv_make_support_nested_variables=yes
   2570 else
   2571   am_cv_make_support_nested_variables=no
   2572 fi
   2573 fi
   2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2575 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2576 if test $am_cv_make_support_nested_variables = yes; then
   2577     AM_V='$(V)'
   2578   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2579 else
   2580   AM_V=$AM_DEFAULT_VERBOSITY
   2581   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2582 fi
   2583 AM_BACKSLASH='\'
   2584 
   2585 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2586   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2587   # is not polluted with repeated "-I."
   2588   am__isrc=' -I$(srcdir)'
   2589   # test to see if srcdir already configured
   2590   if test -f $srcdir/config.status; then
   2591     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2592   fi
   2593 fi
   2594 
   2595 # test whether we have cygpath
   2596 if test -z "$CYGPATH_W"; then
   2597   if (cygpath --version) >/dev/null 2>/dev/null; then
   2598     CYGPATH_W='cygpath -w'
   2599   else
   2600     CYGPATH_W=echo
   2601   fi
   2602 fi
   2603 
   2604 
   2605 # Define the identity of the package.
   2606  PACKAGE='font-alias'
   2607  VERSION='1.0.4'
   2608 
   2609 
   2610 cat >>confdefs.h <<_ACEOF
   2611 #define PACKAGE "$PACKAGE"
   2612 _ACEOF
   2613 
   2614 
   2615 cat >>confdefs.h <<_ACEOF
   2616 #define VERSION "$VERSION"
   2617 _ACEOF
   2618 
   2619 # Some tools Automake needs.
   2620 
   2621 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2622 
   2623 
   2624 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2625 
   2626 
   2627 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2628 
   2629 
   2630 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2631 
   2632 
   2633 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2634 
   2635 # For better backward compatibility.  To be removed once Automake 1.9.x
   2636 # dies out for good.  For more background, see:
   2637 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2638 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2639 mkdir_p='$(MKDIR_P)'
   2640 
   2641 # We need awk for the "check" target (and possibly the TAP driver).  The
   2642 # system "awk" is bad on some platforms.
   2643 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2644 # in the wild :-(  We should find a proper way to deprecate it ...
   2645 AMTAR='$${TAR-tar}'
   2646 
   2647 
   2648 # We'll loop over all known methods to create a tar archive until one works.
   2649 _am_tools='gnutar  pax cpio none'
   2650 
   2651 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2652 
   2653 
   2654 
   2655 
   2656 
   2657 
   2658 # POSIX will say in a future version that running "rm -f" with no argument
   2659 # is OK; and we want to be able to make that assumption in our Makefile
   2660 # recipes.  So use an aggressive probe to check that the usage we want is
   2661 # actually supported "in the wild" to an acceptable degree.
   2662 # See automake bug#10828.
   2663 # To make any issue more visible, cause the running configure to be aborted
   2664 # by default if the 'rm' program in use doesn't match our expectations; the
   2665 # user can still override this though.
   2666 if rm -f && rm -fr && rm -rf; then : OK; else
   2667   cat >&2 <<'END'
   2668 Oops!
   2669 
   2670 Your 'rm' program seems unable to run without file operands specified
   2671 on the command line, even when the '-f' option is present.  This is contrary
   2672 to the behaviour of most rm programs out there, and not conforming with
   2673 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2674 
   2675 Please tell bug-automake@gnu.org about your system, including the value
   2676 of your $PATH and any error possibly output before this message.  This
   2677 can help us improve future automake versions.
   2678 
   2679 END
   2680   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2681     echo 'Configuration will proceed anyway, since you have set the' >&2
   2682     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2683     echo >&2
   2684   else
   2685     cat >&2 <<'END'
   2686 Aborting the configuration process, to ensure you take notice of the issue.
   2687 
   2688 You can download and install GNU coreutils to get an 'rm' implementation
   2689 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2690 
   2691 If you want to complete the configuration process using your problematic
   2692 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2693 to "yes", and re-run configure.
   2694 
   2695 END
   2696     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2697   fi
   2698 fi
   2699 
   2700 
   2701 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   2702 
   2703 
   2704 
   2705 
   2706 
   2707 
   2708 
   2709 
   2710 
   2711 
   2712 
   2713 DEPDIR="${am__leading_dot}deps"
   2714 
   2715 ac_config_commands="$ac_config_commands depfiles"
   2716 
   2717 
   2718 am_make=${MAKE-make}
   2719 cat > confinc << 'END'
   2720 am__doit:
   2721 	@echo this is the am__doit target
   2722 .PHONY: am__doit
   2723 END
   2724 # If we don't find an include directive, just comment out the code.
   2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2726 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2727 am__include="#"
   2728 am__quote=
   2729 _am_result=none
   2730 # First try GNU make style include.
   2731 echo "include confinc" > confmf
   2732 # Ignore all kinds of additional output from 'make'.
   2733 case `$am_make -s -f confmf 2> /dev/null` in #(
   2734 *the\ am__doit\ target*)
   2735   am__include=include
   2736   am__quote=
   2737   _am_result=GNU
   2738   ;;
   2739 esac
   2740 # Now try BSD make style include.
   2741 if test "$am__include" = "#"; then
   2742    echo '.include "confinc"' > confmf
   2743    case `$am_make -s -f confmf 2> /dev/null` in #(
   2744    *the\ am__doit\ target*)
   2745      am__include=.include
   2746      am__quote="\""
   2747      _am_result=BSD
   2748      ;;
   2749    esac
   2750 fi
   2751 
   2752 
   2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2754 $as_echo "$_am_result" >&6; }
   2755 rm -f confinc confmf
   2756 
   2757 # Check whether --enable-dependency-tracking was given.
   2758 if test "${enable_dependency_tracking+set}" = set; then :
   2759   enableval=$enable_dependency_tracking;
   2760 fi
   2761 
   2762 if test "x$enable_dependency_tracking" != xno; then
   2763   am_depcomp="$ac_aux_dir/depcomp"
   2764   AMDEPBACKSLASH='\'
   2765   am__nodep='_no'
   2766 fi
   2767  if test "x$enable_dependency_tracking" != xno; then
   2768   AMDEP_TRUE=
   2769   AMDEP_FALSE='#'
   2770 else
   2771   AMDEP_TRUE='#'
   2772   AMDEP_FALSE=
   2773 fi
   2774 
   2775 
   2776 ac_ext=c
   2777 ac_cpp='$CPP $CPPFLAGS'
   2778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2781 if test -n "$ac_tool_prefix"; then
   2782   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2783 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2785 $as_echo_n "checking for $ac_word... " >&6; }
   2786 if ${ac_cv_prog_CC+:} false; then :
   2787   $as_echo_n "(cached) " >&6
   2788 else
   2789   if test -n "$CC"; then
   2790   ac_cv_prog_CC="$CC" # Let the user override the test.
   2791 else
   2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2793 for as_dir in $PATH
   2794 do
   2795   IFS=$as_save_IFS
   2796   test -z "$as_dir" && as_dir=.
   2797     for ac_exec_ext in '' $ac_executable_extensions; do
   2798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2799     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2801     break 2
   2802   fi
   2803 done
   2804   done
   2805 IFS=$as_save_IFS
   2806 
   2807 fi
   2808 fi
   2809 CC=$ac_cv_prog_CC
   2810 if test -n "$CC"; then
   2811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2812 $as_echo "$CC" >&6; }
   2813 else
   2814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2815 $as_echo "no" >&6; }
   2816 fi
   2817 
   2818 
   2819 fi
   2820 if test -z "$ac_cv_prog_CC"; then
   2821   ac_ct_CC=$CC
   2822   # Extract the first word of "gcc", so it can be a program name with args.
   2823 set dummy gcc; ac_word=$2
   2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2825 $as_echo_n "checking for $ac_word... " >&6; }
   2826 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2827   $as_echo_n "(cached) " >&6
   2828 else
   2829   if test -n "$ac_ct_CC"; then
   2830   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2831 else
   2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2833 for as_dir in $PATH
   2834 do
   2835   IFS=$as_save_IFS
   2836   test -z "$as_dir" && as_dir=.
   2837     for ac_exec_ext in '' $ac_executable_extensions; do
   2838   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2839     ac_cv_prog_ac_ct_CC="gcc"
   2840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2841     break 2
   2842   fi
   2843 done
   2844   done
   2845 IFS=$as_save_IFS
   2846 
   2847 fi
   2848 fi
   2849 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2850 if test -n "$ac_ct_CC"; then
   2851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2852 $as_echo "$ac_ct_CC" >&6; }
   2853 else
   2854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2855 $as_echo "no" >&6; }
   2856 fi
   2857 
   2858   if test "x$ac_ct_CC" = x; then
   2859     CC=""
   2860   else
   2861     case $cross_compiling:$ac_tool_warned in
   2862 yes:)
   2863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2865 ac_tool_warned=yes ;;
   2866 esac
   2867     CC=$ac_ct_CC
   2868   fi
   2869 else
   2870   CC="$ac_cv_prog_CC"
   2871 fi
   2872 
   2873 if test -z "$CC"; then
   2874           if test -n "$ac_tool_prefix"; then
   2875     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2876 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2878 $as_echo_n "checking for $ac_word... " >&6; }
   2879 if ${ac_cv_prog_CC+:} false; then :
   2880   $as_echo_n "(cached) " >&6
   2881 else
   2882   if test -n "$CC"; then
   2883   ac_cv_prog_CC="$CC" # Let the user override the test.
   2884 else
   2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2886 for as_dir in $PATH
   2887 do
   2888   IFS=$as_save_IFS
   2889   test -z "$as_dir" && as_dir=.
   2890     for ac_exec_ext in '' $ac_executable_extensions; do
   2891   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2892     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2894     break 2
   2895   fi
   2896 done
   2897   done
   2898 IFS=$as_save_IFS
   2899 
   2900 fi
   2901 fi
   2902 CC=$ac_cv_prog_CC
   2903 if test -n "$CC"; then
   2904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2905 $as_echo "$CC" >&6; }
   2906 else
   2907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2908 $as_echo "no" >&6; }
   2909 fi
   2910 
   2911 
   2912   fi
   2913 fi
   2914 if test -z "$CC"; then
   2915   # Extract the first word of "cc", so it can be a program name with args.
   2916 set dummy cc; ac_word=$2
   2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2918 $as_echo_n "checking for $ac_word... " >&6; }
   2919 if ${ac_cv_prog_CC+:} false; then :
   2920   $as_echo_n "(cached) " >&6
   2921 else
   2922   if test -n "$CC"; then
   2923   ac_cv_prog_CC="$CC" # Let the user override the test.
   2924 else
   2925   ac_prog_rejected=no
   2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2927 for as_dir in $PATH
   2928 do
   2929   IFS=$as_save_IFS
   2930   test -z "$as_dir" && as_dir=.
   2931     for ac_exec_ext in '' $ac_executable_extensions; do
   2932   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2933     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2934        ac_prog_rejected=yes
   2935        continue
   2936      fi
   2937     ac_cv_prog_CC="cc"
   2938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2939     break 2
   2940   fi
   2941 done
   2942   done
   2943 IFS=$as_save_IFS
   2944 
   2945 if test $ac_prog_rejected = yes; then
   2946   # We found a bogon in the path, so make sure we never use it.
   2947   set dummy $ac_cv_prog_CC
   2948   shift
   2949   if test $# != 0; then
   2950     # We chose a different compiler from the bogus one.
   2951     # However, it has the same basename, so the bogon will be chosen
   2952     # first if we set CC to just the basename; use the full file name.
   2953     shift
   2954     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2955   fi
   2956 fi
   2957 fi
   2958 fi
   2959 CC=$ac_cv_prog_CC
   2960 if test -n "$CC"; then
   2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2962 $as_echo "$CC" >&6; }
   2963 else
   2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2965 $as_echo "no" >&6; }
   2966 fi
   2967 
   2968 
   2969 fi
   2970 if test -z "$CC"; then
   2971   if test -n "$ac_tool_prefix"; then
   2972   for ac_prog in cl.exe
   2973   do
   2974     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2977 $as_echo_n "checking for $ac_word... " >&6; }
   2978 if ${ac_cv_prog_CC+:} false; then :
   2979   $as_echo_n "(cached) " >&6
   2980 else
   2981   if test -n "$CC"; then
   2982   ac_cv_prog_CC="$CC" # Let the user override the test.
   2983 else
   2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2985 for as_dir in $PATH
   2986 do
   2987   IFS=$as_save_IFS
   2988   test -z "$as_dir" && as_dir=.
   2989     for ac_exec_ext in '' $ac_executable_extensions; do
   2990   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2991     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2993     break 2
   2994   fi
   2995 done
   2996   done
   2997 IFS=$as_save_IFS
   2998 
   2999 fi
   3000 fi
   3001 CC=$ac_cv_prog_CC
   3002 if test -n "$CC"; then
   3003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3004 $as_echo "$CC" >&6; }
   3005 else
   3006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3007 $as_echo "no" >&6; }
   3008 fi
   3009 
   3010 
   3011     test -n "$CC" && break
   3012   done
   3013 fi
   3014 if test -z "$CC"; then
   3015   ac_ct_CC=$CC
   3016   for ac_prog in cl.exe
   3017 do
   3018   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3019 set dummy $ac_prog; ac_word=$2
   3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3021 $as_echo_n "checking for $ac_word... " >&6; }
   3022 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3023   $as_echo_n "(cached) " >&6
   3024 else
   3025   if test -n "$ac_ct_CC"; then
   3026   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3027 else
   3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3029 for as_dir in $PATH
   3030 do
   3031   IFS=$as_save_IFS
   3032   test -z "$as_dir" && as_dir=.
   3033     for ac_exec_ext in '' $ac_executable_extensions; do
   3034   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3035     ac_cv_prog_ac_ct_CC="$ac_prog"
   3036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3037     break 2
   3038   fi
   3039 done
   3040   done
   3041 IFS=$as_save_IFS
   3042 
   3043 fi
   3044 fi
   3045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3046 if test -n "$ac_ct_CC"; then
   3047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3048 $as_echo "$ac_ct_CC" >&6; }
   3049 else
   3050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3051 $as_echo "no" >&6; }
   3052 fi
   3053 
   3054 
   3055   test -n "$ac_ct_CC" && break
   3056 done
   3057 
   3058   if test "x$ac_ct_CC" = x; then
   3059     CC=""
   3060   else
   3061     case $cross_compiling:$ac_tool_warned in
   3062 yes:)
   3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3065 ac_tool_warned=yes ;;
   3066 esac
   3067     CC=$ac_ct_CC
   3068   fi
   3069 fi
   3070 
   3071 fi
   3072 
   3073 
   3074 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3076 as_fn_error $? "no acceptable C compiler found in \$PATH
   3077 See \`config.log' for more details" "$LINENO" 5; }
   3078 
   3079 # Provide some information about the compiler.
   3080 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3081 set X $ac_compile
   3082 ac_compiler=$2
   3083 for ac_option in --version -v -V -qversion; do
   3084   { { ac_try="$ac_compiler $ac_option >&5"
   3085 case "(($ac_try" in
   3086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3087   *) ac_try_echo=$ac_try;;
   3088 esac
   3089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3090 $as_echo "$ac_try_echo"; } >&5
   3091   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3092   ac_status=$?
   3093   if test -s conftest.err; then
   3094     sed '10a\
   3095 ... rest of stderr output deleted ...
   3096          10q' conftest.err >conftest.er1
   3097     cat conftest.er1 >&5
   3098   fi
   3099   rm -f conftest.er1 conftest.err
   3100   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3101   test $ac_status = 0; }
   3102 done
   3103 
   3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3105 /* end confdefs.h.  */
   3106 
   3107 int
   3108 main ()
   3109 {
   3110 
   3111   ;
   3112   return 0;
   3113 }
   3114 _ACEOF
   3115 ac_clean_files_save=$ac_clean_files
   3116 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3117 # Try to create an executable without -o first, disregard a.out.
   3118 # It will help us diagnose broken compilers, and finding out an intuition
   3119 # of exeext.
   3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3121 $as_echo_n "checking whether the C compiler works... " >&6; }
   3122 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3123 
   3124 # The possible output files:
   3125 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3126 
   3127 ac_rmfiles=
   3128 for ac_file in $ac_files
   3129 do
   3130   case $ac_file in
   3131     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3132     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3133   esac
   3134 done
   3135 rm -f $ac_rmfiles
   3136 
   3137 if { { ac_try="$ac_link_default"
   3138 case "(($ac_try" in
   3139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3140   *) ac_try_echo=$ac_try;;
   3141 esac
   3142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3143 $as_echo "$ac_try_echo"; } >&5
   3144   (eval "$ac_link_default") 2>&5
   3145   ac_status=$?
   3146   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3147   test $ac_status = 0; }; then :
   3148   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3149 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3150 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3151 # so that the user can short-circuit this test for compilers unknown to
   3152 # Autoconf.
   3153 for ac_file in $ac_files ''
   3154 do
   3155   test -f "$ac_file" || continue
   3156   case $ac_file in
   3157     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3158 	;;
   3159     [ab].out )
   3160 	# We found the default executable, but exeext='' is most
   3161 	# certainly right.
   3162 	break;;
   3163     *.* )
   3164 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3165 	then :; else
   3166 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3167 	fi
   3168 	# We set ac_cv_exeext here because the later test for it is not
   3169 	# safe: cross compilers may not add the suffix if given an `-o'
   3170 	# argument, so we may need to know it at that point already.
   3171 	# Even if this section looks crufty: it has the advantage of
   3172 	# actually working.
   3173 	break;;
   3174     * )
   3175 	break;;
   3176   esac
   3177 done
   3178 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3179 
   3180 else
   3181   ac_file=''
   3182 fi
   3183 if test -z "$ac_file"; then :
   3184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3185 $as_echo "no" >&6; }
   3186 $as_echo "$as_me: failed program was:" >&5
   3187 sed 's/^/| /' conftest.$ac_ext >&5
   3188 
   3189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3191 as_fn_error 77 "C compiler cannot create executables
   3192 See \`config.log' for more details" "$LINENO" 5; }
   3193 else
   3194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3195 $as_echo "yes" >&6; }
   3196 fi
   3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3198 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3200 $as_echo "$ac_file" >&6; }
   3201 ac_exeext=$ac_cv_exeext
   3202 
   3203 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3204 ac_clean_files=$ac_clean_files_save
   3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3206 $as_echo_n "checking for suffix of executables... " >&6; }
   3207 if { { ac_try="$ac_link"
   3208 case "(($ac_try" in
   3209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3210   *) ac_try_echo=$ac_try;;
   3211 esac
   3212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3213 $as_echo "$ac_try_echo"; } >&5
   3214   (eval "$ac_link") 2>&5
   3215   ac_status=$?
   3216   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3217   test $ac_status = 0; }; then :
   3218   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3219 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3220 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3221 # `rm'.
   3222 for ac_file in conftest.exe conftest conftest.*; do
   3223   test -f "$ac_file" || continue
   3224   case $ac_file in
   3225     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3226     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3227 	  break;;
   3228     * ) break;;
   3229   esac
   3230 done
   3231 else
   3232   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3234 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3235 See \`config.log' for more details" "$LINENO" 5; }
   3236 fi
   3237 rm -f conftest conftest$ac_cv_exeext
   3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3239 $as_echo "$ac_cv_exeext" >&6; }
   3240 
   3241 rm -f conftest.$ac_ext
   3242 EXEEXT=$ac_cv_exeext
   3243 ac_exeext=$EXEEXT
   3244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3245 /* end confdefs.h.  */
   3246 #include <stdio.h>
   3247 int
   3248 main ()
   3249 {
   3250 FILE *f = fopen ("conftest.out", "w");
   3251  return ferror (f) || fclose (f) != 0;
   3252 
   3253   ;
   3254   return 0;
   3255 }
   3256 _ACEOF
   3257 ac_clean_files="$ac_clean_files conftest.out"
   3258 # Check that the compiler produces executables we can run.  If not, either
   3259 # the compiler is broken, or we cross compile.
   3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3261 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3262 if test "$cross_compiling" != yes; then
   3263   { { ac_try="$ac_link"
   3264 case "(($ac_try" in
   3265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3266   *) ac_try_echo=$ac_try;;
   3267 esac
   3268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3269 $as_echo "$ac_try_echo"; } >&5
   3270   (eval "$ac_link") 2>&5
   3271   ac_status=$?
   3272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3273   test $ac_status = 0; }
   3274   if { ac_try='./conftest$ac_cv_exeext'
   3275   { { case "(($ac_try" in
   3276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3277   *) ac_try_echo=$ac_try;;
   3278 esac
   3279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3280 $as_echo "$ac_try_echo"; } >&5
   3281   (eval "$ac_try") 2>&5
   3282   ac_status=$?
   3283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3284   test $ac_status = 0; }; }; then
   3285     cross_compiling=no
   3286   else
   3287     if test "$cross_compiling" = maybe; then
   3288 	cross_compiling=yes
   3289     else
   3290 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3292 as_fn_error $? "cannot run C compiled programs.
   3293 If you meant to cross compile, use \`--host'.
   3294 See \`config.log' for more details" "$LINENO" 5; }
   3295     fi
   3296   fi
   3297 fi
   3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3299 $as_echo "$cross_compiling" >&6; }
   3300 
   3301 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3302 ac_clean_files=$ac_clean_files_save
   3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3304 $as_echo_n "checking for suffix of object files... " >&6; }
   3305 if ${ac_cv_objext+:} false; then :
   3306   $as_echo_n "(cached) " >&6
   3307 else
   3308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3309 /* end confdefs.h.  */
   3310 
   3311 int
   3312 main ()
   3313 {
   3314 
   3315   ;
   3316   return 0;
   3317 }
   3318 _ACEOF
   3319 rm -f conftest.o conftest.obj
   3320 if { { ac_try="$ac_compile"
   3321 case "(($ac_try" in
   3322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3323   *) ac_try_echo=$ac_try;;
   3324 esac
   3325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3326 $as_echo "$ac_try_echo"; } >&5
   3327   (eval "$ac_compile") 2>&5
   3328   ac_status=$?
   3329   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3330   test $ac_status = 0; }; then :
   3331   for ac_file in conftest.o conftest.obj conftest.*; do
   3332   test -f "$ac_file" || continue;
   3333   case $ac_file in
   3334     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3335     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3336        break;;
   3337   esac
   3338 done
   3339 else
   3340   $as_echo "$as_me: failed program was:" >&5
   3341 sed 's/^/| /' conftest.$ac_ext >&5
   3342 
   3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3345 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3346 See \`config.log' for more details" "$LINENO" 5; }
   3347 fi
   3348 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3349 fi
   3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3351 $as_echo "$ac_cv_objext" >&6; }
   3352 OBJEXT=$ac_cv_objext
   3353 ac_objext=$OBJEXT
   3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3355 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3356 if ${ac_cv_c_compiler_gnu+:} false; then :
   3357   $as_echo_n "(cached) " >&6
   3358 else
   3359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3360 /* end confdefs.h.  */
   3361 
   3362 int
   3363 main ()
   3364 {
   3365 #ifndef __GNUC__
   3366        choke me
   3367 #endif
   3368 
   3369   ;
   3370   return 0;
   3371 }
   3372 _ACEOF
   3373 if ac_fn_c_try_compile "$LINENO"; then :
   3374   ac_compiler_gnu=yes
   3375 else
   3376   ac_compiler_gnu=no
   3377 fi
   3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3379 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3380 
   3381 fi
   3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3383 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3384 if test $ac_compiler_gnu = yes; then
   3385   GCC=yes
   3386 else
   3387   GCC=
   3388 fi
   3389 ac_test_CFLAGS=${CFLAGS+set}
   3390 ac_save_CFLAGS=$CFLAGS
   3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3392 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3393 if ${ac_cv_prog_cc_g+:} false; then :
   3394   $as_echo_n "(cached) " >&6
   3395 else
   3396   ac_save_c_werror_flag=$ac_c_werror_flag
   3397    ac_c_werror_flag=yes
   3398    ac_cv_prog_cc_g=no
   3399    CFLAGS="-g"
   3400    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3401 /* end confdefs.h.  */
   3402 
   3403 int
   3404 main ()
   3405 {
   3406 
   3407   ;
   3408   return 0;
   3409 }
   3410 _ACEOF
   3411 if ac_fn_c_try_compile "$LINENO"; then :
   3412   ac_cv_prog_cc_g=yes
   3413 else
   3414   CFLAGS=""
   3415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3416 /* end confdefs.h.  */
   3417 
   3418 int
   3419 main ()
   3420 {
   3421 
   3422   ;
   3423   return 0;
   3424 }
   3425 _ACEOF
   3426 if ac_fn_c_try_compile "$LINENO"; then :
   3427 
   3428 else
   3429   ac_c_werror_flag=$ac_save_c_werror_flag
   3430 	 CFLAGS="-g"
   3431 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3432 /* end confdefs.h.  */
   3433 
   3434 int
   3435 main ()
   3436 {
   3437 
   3438   ;
   3439   return 0;
   3440 }
   3441 _ACEOF
   3442 if ac_fn_c_try_compile "$LINENO"; then :
   3443   ac_cv_prog_cc_g=yes
   3444 fi
   3445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3446 fi
   3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3448 fi
   3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3450    ac_c_werror_flag=$ac_save_c_werror_flag
   3451 fi
   3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3453 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3454 if test "$ac_test_CFLAGS" = set; then
   3455   CFLAGS=$ac_save_CFLAGS
   3456 elif test $ac_cv_prog_cc_g = yes; then
   3457   if test "$GCC" = yes; then
   3458     CFLAGS="-g -O2"
   3459   else
   3460     CFLAGS="-g"
   3461   fi
   3462 else
   3463   if test "$GCC" = yes; then
   3464     CFLAGS="-O2"
   3465   else
   3466     CFLAGS=
   3467   fi
   3468 fi
   3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3470 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3471 if ${ac_cv_prog_cc_c89+:} false; then :
   3472   $as_echo_n "(cached) " >&6
   3473 else
   3474   ac_cv_prog_cc_c89=no
   3475 ac_save_CC=$CC
   3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3477 /* end confdefs.h.  */
   3478 #include <stdarg.h>
   3479 #include <stdio.h>
   3480 struct stat;
   3481 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3482 struct buf { int x; };
   3483 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3484 static char *e (p, i)
   3485      char **p;
   3486      int i;
   3487 {
   3488   return p[i];
   3489 }
   3490 static char *f (char * (*g) (char **, int), char **p, ...)
   3491 {
   3492   char *s;
   3493   va_list v;
   3494   va_start (v,p);
   3495   s = g (p, va_arg (v,int));
   3496   va_end (v);
   3497   return s;
   3498 }
   3499 
   3500 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3501    function prototypes and stuff, but not '\xHH' hex character constants.
   3502    These don't provoke an error unfortunately, instead are silently treated
   3503    as 'x'.  The following induces an error, until -std is added to get
   3504    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3505    array size at least.  It's necessary to write '\x00'==0 to get something
   3506    that's true only with -std.  */
   3507 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3508 
   3509 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3510    inside strings and character constants.  */
   3511 #define FOO(x) 'x'
   3512 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3513 
   3514 int test (int i, double x);
   3515 struct s1 {int (*f) (int a);};
   3516 struct s2 {int (*f) (double a);};
   3517 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3518 int argc;
   3519 char **argv;
   3520 int
   3521 main ()
   3522 {
   3523 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3524   ;
   3525   return 0;
   3526 }
   3527 _ACEOF
   3528 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3529 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3530 do
   3531   CC="$ac_save_CC $ac_arg"
   3532   if ac_fn_c_try_compile "$LINENO"; then :
   3533   ac_cv_prog_cc_c89=$ac_arg
   3534 fi
   3535 rm -f core conftest.err conftest.$ac_objext
   3536   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3537 done
   3538 rm -f conftest.$ac_ext
   3539 CC=$ac_save_CC
   3540 
   3541 fi
   3542 # AC_CACHE_VAL
   3543 case "x$ac_cv_prog_cc_c89" in
   3544   x)
   3545     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3546 $as_echo "none needed" >&6; } ;;
   3547   xno)
   3548     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3549 $as_echo "unsupported" >&6; } ;;
   3550   *)
   3551     CC="$CC $ac_cv_prog_cc_c89"
   3552     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3553 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3554 esac
   3555 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3556 
   3557 fi
   3558 
   3559 ac_ext=c
   3560 ac_cpp='$CPP $CPPFLAGS'
   3561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3564 
   3565 ac_ext=c
   3566 ac_cpp='$CPP $CPPFLAGS'
   3567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3571 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3572 if ${am_cv_prog_cc_c_o+:} false; then :
   3573   $as_echo_n "(cached) " >&6
   3574 else
   3575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3576 /* end confdefs.h.  */
   3577 
   3578 int
   3579 main ()
   3580 {
   3581 
   3582   ;
   3583   return 0;
   3584 }
   3585 _ACEOF
   3586   # Make sure it works both with $CC and with simple cc.
   3587   # Following AC_PROG_CC_C_O, we do the test twice because some
   3588   # compilers refuse to overwrite an existing .o file with -o,
   3589   # though they will create one.
   3590   am_cv_prog_cc_c_o=yes
   3591   for am_i in 1 2; do
   3592     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3593    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3594    ac_status=$?
   3595    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3596    (exit $ac_status); } \
   3597          && test -f conftest2.$ac_objext; then
   3598       : OK
   3599     else
   3600       am_cv_prog_cc_c_o=no
   3601       break
   3602     fi
   3603   done
   3604   rm -f core conftest*
   3605   unset am_i
   3606 fi
   3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3608 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3609 if test "$am_cv_prog_cc_c_o" != yes; then
   3610    # Losing compiler, so override with the script.
   3611    # FIXME: It is wrong to rewrite CC.
   3612    # But if we don't then we get into trouble of one sort or another.
   3613    # A longer-term fix would be to have automake use am__CC in this case,
   3614    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3615    CC="$am_aux_dir/compile $CC"
   3616 fi
   3617 ac_ext=c
   3618 ac_cpp='$CPP $CPPFLAGS'
   3619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3622 
   3623 
   3624 depcc="$CC"   am_compiler_list=
   3625 
   3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3627 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3628 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3629   $as_echo_n "(cached) " >&6
   3630 else
   3631   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3632   # We make a subdir and do the tests there.  Otherwise we can end up
   3633   # making bogus files that we don't know about and never remove.  For
   3634   # instance it was reported that on HP-UX the gcc test will end up
   3635   # making a dummy file named 'D' -- because '-MD' means "put the output
   3636   # in D".
   3637   rm -rf conftest.dir
   3638   mkdir conftest.dir
   3639   # Copy depcomp to subdir because otherwise we won't find it if we're
   3640   # using a relative directory.
   3641   cp "$am_depcomp" conftest.dir
   3642   cd conftest.dir
   3643   # We will build objects and dependencies in a subdirectory because
   3644   # it helps to detect inapplicable dependency modes.  For instance
   3645   # both Tru64's cc and ICC support -MD to output dependencies as a
   3646   # side effect of compilation, but ICC will put the dependencies in
   3647   # the current directory while Tru64 will put them in the object
   3648   # directory.
   3649   mkdir sub
   3650 
   3651   am_cv_CC_dependencies_compiler_type=none
   3652   if test "$am_compiler_list" = ""; then
   3653      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3654   fi
   3655   am__universal=false
   3656   case " $depcc " in #(
   3657      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3658      esac
   3659 
   3660   for depmode in $am_compiler_list; do
   3661     # Setup a source with many dependencies, because some compilers
   3662     # like to wrap large dependency lists on column 80 (with \), and
   3663     # we should not choose a depcomp mode which is confused by this.
   3664     #
   3665     # We need to recreate these files for each test, as the compiler may
   3666     # overwrite some of them when testing with obscure command lines.
   3667     # This happens at least with the AIX C compiler.
   3668     : > sub/conftest.c
   3669     for i in 1 2 3 4 5 6; do
   3670       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3671       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3672       # Solaris 10 /bin/sh.
   3673       echo '/* dummy */' > sub/conftst$i.h
   3674     done
   3675     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3676 
   3677     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3678     # mode.  It turns out that the SunPro C++ compiler does not properly
   3679     # handle '-M -o', and we need to detect this.  Also, some Intel
   3680     # versions had trouble with output in subdirs.
   3681     am__obj=sub/conftest.${OBJEXT-o}
   3682     am__minus_obj="-o $am__obj"
   3683     case $depmode in
   3684     gcc)
   3685       # This depmode causes a compiler race in universal mode.
   3686       test "$am__universal" = false || continue
   3687       ;;
   3688     nosideeffect)
   3689       # After this tag, mechanisms are not by side-effect, so they'll
   3690       # only be used when explicitly requested.
   3691       if test "x$enable_dependency_tracking" = xyes; then
   3692 	continue
   3693       else
   3694 	break
   3695       fi
   3696       ;;
   3697     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3698       # This compiler won't grok '-c -o', but also, the minuso test has
   3699       # not run yet.  These depmodes are late enough in the game, and
   3700       # so weak that their functioning should not be impacted.
   3701       am__obj=conftest.${OBJEXT-o}
   3702       am__minus_obj=
   3703       ;;
   3704     none) break ;;
   3705     esac
   3706     if depmode=$depmode \
   3707        source=sub/conftest.c object=$am__obj \
   3708        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3709        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3710          >/dev/null 2>conftest.err &&
   3711        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3712        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3713        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3714        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3715       # icc doesn't choke on unknown options, it will just issue warnings
   3716       # or remarks (even with -Werror).  So we grep stderr for any message
   3717       # that says an option was ignored or not supported.
   3718       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3719       #   icc: Command line warning: ignoring option '-M'; no argument required
   3720       # The diagnosis changed in icc 8.0:
   3721       #   icc: Command line remark: option '-MP' not supported
   3722       if (grep 'ignoring option' conftest.err ||
   3723           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3724         am_cv_CC_dependencies_compiler_type=$depmode
   3725         break
   3726       fi
   3727     fi
   3728   done
   3729 
   3730   cd ..
   3731   rm -rf conftest.dir
   3732 else
   3733   am_cv_CC_dependencies_compiler_type=none
   3734 fi
   3735 
   3736 fi
   3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3738 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3739 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3740 
   3741  if
   3742   test "x$enable_dependency_tracking" != xno \
   3743   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3744   am__fastdepCC_TRUE=
   3745   am__fastdepCC_FALSE='#'
   3746 else
   3747   am__fastdepCC_TRUE='#'
   3748   am__fastdepCC_FALSE=
   3749 fi
   3750 
   3751 
   3752    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3753 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3754 if ${ac_cv_prog_cc_c99+:} false; then :
   3755   $as_echo_n "(cached) " >&6
   3756 else
   3757   ac_cv_prog_cc_c99=no
   3758 ac_save_CC=$CC
   3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3760 /* end confdefs.h.  */
   3761 #include <stdarg.h>
   3762 #include <stdbool.h>
   3763 #include <stdlib.h>
   3764 #include <wchar.h>
   3765 #include <stdio.h>
   3766 
   3767 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3768 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3769 #define showlist(...) puts (#__VA_ARGS__)
   3770 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3771 static void
   3772 test_varargs_macros (void)
   3773 {
   3774   int x = 1234;
   3775   int y = 5678;
   3776   debug ("Flag");
   3777   debug ("X = %d\n", x);
   3778   showlist (The first, second, and third items.);
   3779   report (x>y, "x is %d but y is %d", x, y);
   3780 }
   3781 
   3782 // Check long long types.
   3783 #define BIG64 18446744073709551615ull
   3784 #define BIG32 4294967295ul
   3785 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3786 #if !BIG_OK
   3787   your preprocessor is broken;
   3788 #endif
   3789 #if BIG_OK
   3790 #else
   3791   your preprocessor is broken;
   3792 #endif
   3793 static long long int bignum = -9223372036854775807LL;
   3794 static unsigned long long int ubignum = BIG64;
   3795 
   3796 struct incomplete_array
   3797 {
   3798   int datasize;
   3799   double data[];
   3800 };
   3801 
   3802 struct named_init {
   3803   int number;
   3804   const wchar_t *name;
   3805   double average;
   3806 };
   3807 
   3808 typedef const char *ccp;
   3809 
   3810 static inline int
   3811 test_restrict (ccp restrict text)
   3812 {
   3813   // See if C++-style comments work.
   3814   // Iterate through items via the restricted pointer.
   3815   // Also check for declarations in for loops.
   3816   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3817     continue;
   3818   return 0;
   3819 }
   3820 
   3821 // Check varargs and va_copy.
   3822 static void
   3823 test_varargs (const char *format, ...)
   3824 {
   3825   va_list args;
   3826   va_start (args, format);
   3827   va_list args_copy;
   3828   va_copy (args_copy, args);
   3829 
   3830   const char *str;
   3831   int number;
   3832   float fnumber;
   3833 
   3834   while (*format)
   3835     {
   3836       switch (*format++)
   3837 	{
   3838 	case 's': // string
   3839 	  str = va_arg (args_copy, const char *);
   3840 	  break;
   3841 	case 'd': // int
   3842 	  number = va_arg (args_copy, int);
   3843 	  break;
   3844 	case 'f': // float
   3845 	  fnumber = va_arg (args_copy, double);
   3846 	  break;
   3847 	default:
   3848 	  break;
   3849 	}
   3850     }
   3851   va_end (args_copy);
   3852   va_end (args);
   3853 }
   3854 
   3855 int
   3856 main ()
   3857 {
   3858 
   3859   // Check bool.
   3860   _Bool success = false;
   3861 
   3862   // Check restrict.
   3863   if (test_restrict ("String literal") == 0)
   3864     success = true;
   3865   char *restrict newvar = "Another string";
   3866 
   3867   // Check varargs.
   3868   test_varargs ("s, d' f .", "string", 65, 34.234);
   3869   test_varargs_macros ();
   3870 
   3871   // Check flexible array members.
   3872   struct incomplete_array *ia =
   3873     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3874   ia->datasize = 10;
   3875   for (int i = 0; i < ia->datasize; ++i)
   3876     ia->data[i] = i * 1.234;
   3877 
   3878   // Check named initializers.
   3879   struct named_init ni = {
   3880     .number = 34,
   3881     .name = L"Test wide string",
   3882     .average = 543.34343,
   3883   };
   3884 
   3885   ni.number = 58;
   3886 
   3887   int dynamic_array[ni.number];
   3888   dynamic_array[ni.number - 1] = 543;
   3889 
   3890   // work around unused variable warnings
   3891   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3892 	  || dynamic_array[ni.number - 1] != 543);
   3893 
   3894   ;
   3895   return 0;
   3896 }
   3897 _ACEOF
   3898 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3899 do
   3900   CC="$ac_save_CC $ac_arg"
   3901   if ac_fn_c_try_compile "$LINENO"; then :
   3902   ac_cv_prog_cc_c99=$ac_arg
   3903 fi
   3904 rm -f core conftest.err conftest.$ac_objext
   3905   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3906 done
   3907 rm -f conftest.$ac_ext
   3908 CC=$ac_save_CC
   3909 
   3910 fi
   3911 # AC_CACHE_VAL
   3912 case "x$ac_cv_prog_cc_c99" in
   3913   x)
   3914     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3915 $as_echo "none needed" >&6; } ;;
   3916   xno)
   3917     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3918 $as_echo "unsupported" >&6; } ;;
   3919   *)
   3920     CC="$CC $ac_cv_prog_cc_c99"
   3921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3922 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3923 esac
   3924 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3925 
   3926 fi
   3927 
   3928 
   3929 
   3930 ac_ext=c
   3931 ac_cpp='$CPP $CPPFLAGS'
   3932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3936 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3937 # On Suns, sometimes $CPP names a directory.
   3938 if test -n "$CPP" && test -d "$CPP"; then
   3939   CPP=
   3940 fi
   3941 if test -z "$CPP"; then
   3942   if ${ac_cv_prog_CPP+:} false; then :
   3943   $as_echo_n "(cached) " >&6
   3944 else
   3945       # Double quotes because CPP needs to be expanded
   3946     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3947     do
   3948       ac_preproc_ok=false
   3949 for ac_c_preproc_warn_flag in '' yes
   3950 do
   3951   # Use a header file that comes with gcc, so configuring glibc
   3952   # with a fresh cross-compiler works.
   3953   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3954   # <limits.h> exists even on freestanding compilers.
   3955   # On the NeXT, cc -E runs the code through the compiler's parser,
   3956   # not just through cpp. "Syntax error" is here to catch this case.
   3957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3958 /* end confdefs.h.  */
   3959 #ifdef __STDC__
   3960 # include <limits.h>
   3961 #else
   3962 # include <assert.h>
   3963 #endif
   3964 		     Syntax error
   3965 _ACEOF
   3966 if ac_fn_c_try_cpp "$LINENO"; then :
   3967 
   3968 else
   3969   # Broken: fails on valid input.
   3970 continue
   3971 fi
   3972 rm -f conftest.err conftest.i conftest.$ac_ext
   3973 
   3974   # OK, works on sane cases.  Now check whether nonexistent headers
   3975   # can be detected and how.
   3976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3977 /* end confdefs.h.  */
   3978 #include <ac_nonexistent.h>
   3979 _ACEOF
   3980 if ac_fn_c_try_cpp "$LINENO"; then :
   3981   # Broken: success on invalid input.
   3982 continue
   3983 else
   3984   # Passes both tests.
   3985 ac_preproc_ok=:
   3986 break
   3987 fi
   3988 rm -f conftest.err conftest.i conftest.$ac_ext
   3989 
   3990 done
   3991 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3992 rm -f conftest.i conftest.err conftest.$ac_ext
   3993 if $ac_preproc_ok; then :
   3994   break
   3995 fi
   3996 
   3997     done
   3998     ac_cv_prog_CPP=$CPP
   3999 
   4000 fi
   4001   CPP=$ac_cv_prog_CPP
   4002 else
   4003   ac_cv_prog_CPP=$CPP
   4004 fi
   4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4006 $as_echo "$CPP" >&6; }
   4007 ac_preproc_ok=false
   4008 for ac_c_preproc_warn_flag in '' yes
   4009 do
   4010   # Use a header file that comes with gcc, so configuring glibc
   4011   # with a fresh cross-compiler works.
   4012   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4013   # <limits.h> exists even on freestanding compilers.
   4014   # On the NeXT, cc -E runs the code through the compiler's parser,
   4015   # not just through cpp. "Syntax error" is here to catch this case.
   4016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4017 /* end confdefs.h.  */
   4018 #ifdef __STDC__
   4019 # include <limits.h>
   4020 #else
   4021 # include <assert.h>
   4022 #endif
   4023 		     Syntax error
   4024 _ACEOF
   4025 if ac_fn_c_try_cpp "$LINENO"; then :
   4026 
   4027 else
   4028   # Broken: fails on valid input.
   4029 continue
   4030 fi
   4031 rm -f conftest.err conftest.i conftest.$ac_ext
   4032 
   4033   # OK, works on sane cases.  Now check whether nonexistent headers
   4034   # can be detected and how.
   4035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4036 /* end confdefs.h.  */
   4037 #include <ac_nonexistent.h>
   4038 _ACEOF
   4039 if ac_fn_c_try_cpp "$LINENO"; then :
   4040   # Broken: success on invalid input.
   4041 continue
   4042 else
   4043   # Passes both tests.
   4044 ac_preproc_ok=:
   4045 break
   4046 fi
   4047 rm -f conftest.err conftest.i conftest.$ac_ext
   4048 
   4049 done
   4050 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4051 rm -f conftest.i conftest.err conftest.$ac_ext
   4052 if $ac_preproc_ok; then :
   4053 
   4054 else
   4055   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4057 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4058 See \`config.log' for more details" "$LINENO" 5; }
   4059 fi
   4060 
   4061 ac_ext=c
   4062 ac_cpp='$CPP $CPPFLAGS'
   4063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4066 
   4067 
   4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4069 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4070 if ${ac_cv_path_GREP+:} false; then :
   4071   $as_echo_n "(cached) " >&6
   4072 else
   4073   if test -z "$GREP"; then
   4074   ac_path_GREP_found=false
   4075   # Loop through the user's path and test for each of PROGNAME-LIST
   4076   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4077 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4078 do
   4079   IFS=$as_save_IFS
   4080   test -z "$as_dir" && as_dir=.
   4081     for ac_prog in grep ggrep; do
   4082     for ac_exec_ext in '' $ac_executable_extensions; do
   4083       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4084       as_fn_executable_p "$ac_path_GREP" || continue
   4085 # Check for GNU ac_path_GREP and select it if it is found.
   4086   # Check for GNU $ac_path_GREP
   4087 case `"$ac_path_GREP" --version 2>&1` in
   4088 *GNU*)
   4089   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4090 *)
   4091   ac_count=0
   4092   $as_echo_n 0123456789 >"conftest.in"
   4093   while :
   4094   do
   4095     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4096     mv "conftest.tmp" "conftest.in"
   4097     cp "conftest.in" "conftest.nl"
   4098     $as_echo 'GREP' >> "conftest.nl"
   4099     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4100     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4101     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4102     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4103       # Best one so far, save it but keep looking for a better one
   4104       ac_cv_path_GREP="$ac_path_GREP"
   4105       ac_path_GREP_max=$ac_count
   4106     fi
   4107     # 10*(2^10) chars as input seems more than enough
   4108     test $ac_count -gt 10 && break
   4109   done
   4110   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4111 esac
   4112 
   4113       $ac_path_GREP_found && break 3
   4114     done
   4115   done
   4116   done
   4117 IFS=$as_save_IFS
   4118   if test -z "$ac_cv_path_GREP"; then
   4119     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4120   fi
   4121 else
   4122   ac_cv_path_GREP=$GREP
   4123 fi
   4124 
   4125 fi
   4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4127 $as_echo "$ac_cv_path_GREP" >&6; }
   4128  GREP="$ac_cv_path_GREP"
   4129 
   4130 
   4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4132 $as_echo_n "checking for egrep... " >&6; }
   4133 if ${ac_cv_path_EGREP+:} false; then :
   4134   $as_echo_n "(cached) " >&6
   4135 else
   4136   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4137    then ac_cv_path_EGREP="$GREP -E"
   4138    else
   4139      if test -z "$EGREP"; then
   4140   ac_path_EGREP_found=false
   4141   # Loop through the user's path and test for each of PROGNAME-LIST
   4142   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4143 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4144 do
   4145   IFS=$as_save_IFS
   4146   test -z "$as_dir" && as_dir=.
   4147     for ac_prog in egrep; do
   4148     for ac_exec_ext in '' $ac_executable_extensions; do
   4149       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4150       as_fn_executable_p "$ac_path_EGREP" || continue
   4151 # Check for GNU ac_path_EGREP and select it if it is found.
   4152   # Check for GNU $ac_path_EGREP
   4153 case `"$ac_path_EGREP" --version 2>&1` in
   4154 *GNU*)
   4155   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4156 *)
   4157   ac_count=0
   4158   $as_echo_n 0123456789 >"conftest.in"
   4159   while :
   4160   do
   4161     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4162     mv "conftest.tmp" "conftest.in"
   4163     cp "conftest.in" "conftest.nl"
   4164     $as_echo 'EGREP' >> "conftest.nl"
   4165     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4166     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4167     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4168     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4169       # Best one so far, save it but keep looking for a better one
   4170       ac_cv_path_EGREP="$ac_path_EGREP"
   4171       ac_path_EGREP_max=$ac_count
   4172     fi
   4173     # 10*(2^10) chars as input seems more than enough
   4174     test $ac_count -gt 10 && break
   4175   done
   4176   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4177 esac
   4178 
   4179       $ac_path_EGREP_found && break 3
   4180     done
   4181   done
   4182   done
   4183 IFS=$as_save_IFS
   4184   if test -z "$ac_cv_path_EGREP"; then
   4185     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4186   fi
   4187 else
   4188   ac_cv_path_EGREP=$EGREP
   4189 fi
   4190 
   4191    fi
   4192 fi
   4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4194 $as_echo "$ac_cv_path_EGREP" >&6; }
   4195  EGREP="$ac_cv_path_EGREP"
   4196 
   4197 
   4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4199 $as_echo_n "checking for ANSI C header files... " >&6; }
   4200 if ${ac_cv_header_stdc+:} false; then :
   4201   $as_echo_n "(cached) " >&6
   4202 else
   4203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4204 /* end confdefs.h.  */
   4205 #include <stdlib.h>
   4206 #include <stdarg.h>
   4207 #include <string.h>
   4208 #include <float.h>
   4209 
   4210 int
   4211 main ()
   4212 {
   4213 
   4214   ;
   4215   return 0;
   4216 }
   4217 _ACEOF
   4218 if ac_fn_c_try_compile "$LINENO"; then :
   4219   ac_cv_header_stdc=yes
   4220 else
   4221   ac_cv_header_stdc=no
   4222 fi
   4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4224 
   4225 if test $ac_cv_header_stdc = yes; then
   4226   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4228 /* end confdefs.h.  */
   4229 #include <string.h>
   4230 
   4231 _ACEOF
   4232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4233   $EGREP "memchr" >/dev/null 2>&1; then :
   4234 
   4235 else
   4236   ac_cv_header_stdc=no
   4237 fi
   4238 rm -f conftest*
   4239 
   4240 fi
   4241 
   4242 if test $ac_cv_header_stdc = yes; then
   4243   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4245 /* end confdefs.h.  */
   4246 #include <stdlib.h>
   4247 
   4248 _ACEOF
   4249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4250   $EGREP "free" >/dev/null 2>&1; then :
   4251 
   4252 else
   4253   ac_cv_header_stdc=no
   4254 fi
   4255 rm -f conftest*
   4256 
   4257 fi
   4258 
   4259 if test $ac_cv_header_stdc = yes; then
   4260   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4261   if test "$cross_compiling" = yes; then :
   4262   :
   4263 else
   4264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4265 /* end confdefs.h.  */
   4266 #include <ctype.h>
   4267 #include <stdlib.h>
   4268 #if ((' ' & 0x0FF) == 0x020)
   4269 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4270 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4271 #else
   4272 # define ISLOWER(c) \
   4273 		   (('a' <= (c) && (c) <= 'i') \
   4274 		     || ('j' <= (c) && (c) <= 'r') \
   4275 		     || ('s' <= (c) && (c) <= 'z'))
   4276 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4277 #endif
   4278 
   4279 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4280 int
   4281 main ()
   4282 {
   4283   int i;
   4284   for (i = 0; i < 256; i++)
   4285     if (XOR (islower (i), ISLOWER (i))
   4286 	|| toupper (i) != TOUPPER (i))
   4287       return 2;
   4288   return 0;
   4289 }
   4290 _ACEOF
   4291 if ac_fn_c_try_run "$LINENO"; then :
   4292 
   4293 else
   4294   ac_cv_header_stdc=no
   4295 fi
   4296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4297   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4298 fi
   4299 
   4300 fi
   4301 fi
   4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4303 $as_echo "$ac_cv_header_stdc" >&6; }
   4304 if test $ac_cv_header_stdc = yes; then
   4305 
   4306 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4307 
   4308 fi
   4309 
   4310 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4311 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4312 		  inttypes.h stdint.h unistd.h
   4313 do :
   4314   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4315 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4316 "
   4317 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4318   cat >>confdefs.h <<_ACEOF
   4319 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4320 _ACEOF
   4321 
   4322 fi
   4323 
   4324 done
   4325 
   4326 
   4327 
   4328 
   4329 
   4330 
   4331 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4332 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4333   CLANGCC="yes"
   4334 else
   4335   CLANGCC="no"
   4336 fi
   4337 
   4338 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4339 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4340   INTELCC="yes"
   4341 else
   4342   INTELCC="no"
   4343 fi
   4344 
   4345 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4346 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4347   SUNCC="yes"
   4348 else
   4349   SUNCC="no"
   4350 fi
   4351 
   4352 
   4353 
   4354 
   4355 
   4356 
   4357 
   4358 
   4359 
   4360 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4361 	if test -n "$ac_tool_prefix"; then
   4362   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4363 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4365 $as_echo_n "checking for $ac_word... " >&6; }
   4366 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4367   $as_echo_n "(cached) " >&6
   4368 else
   4369   case $PKG_CONFIG in
   4370   [\\/]* | ?:[\\/]*)
   4371   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4372   ;;
   4373   *)
   4374   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4375 for as_dir in $PATH
   4376 do
   4377   IFS=$as_save_IFS
   4378   test -z "$as_dir" && as_dir=.
   4379     for ac_exec_ext in '' $ac_executable_extensions; do
   4380   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4381     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4383     break 2
   4384   fi
   4385 done
   4386   done
   4387 IFS=$as_save_IFS
   4388 
   4389   ;;
   4390 esac
   4391 fi
   4392 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4393 if test -n "$PKG_CONFIG"; then
   4394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4395 $as_echo "$PKG_CONFIG" >&6; }
   4396 else
   4397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4398 $as_echo "no" >&6; }
   4399 fi
   4400 
   4401 
   4402 fi
   4403 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4404   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4405   # Extract the first word of "pkg-config", so it can be a program name with args.
   4406 set dummy pkg-config; ac_word=$2
   4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4408 $as_echo_n "checking for $ac_word... " >&6; }
   4409 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4410   $as_echo_n "(cached) " >&6
   4411 else
   4412   case $ac_pt_PKG_CONFIG in
   4413   [\\/]* | ?:[\\/]*)
   4414   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4415   ;;
   4416   *)
   4417   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4418 for as_dir in $PATH
   4419 do
   4420   IFS=$as_save_IFS
   4421   test -z "$as_dir" && as_dir=.
   4422     for ac_exec_ext in '' $ac_executable_extensions; do
   4423   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4424     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4426     break 2
   4427   fi
   4428 done
   4429   done
   4430 IFS=$as_save_IFS
   4431 
   4432   ;;
   4433 esac
   4434 fi
   4435 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4436 if test -n "$ac_pt_PKG_CONFIG"; then
   4437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4438 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4439 else
   4440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4441 $as_echo "no" >&6; }
   4442 fi
   4443 
   4444   if test "x$ac_pt_PKG_CONFIG" = x; then
   4445     PKG_CONFIG=""
   4446   else
   4447     case $cross_compiling:$ac_tool_warned in
   4448 yes:)
   4449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4451 ac_tool_warned=yes ;;
   4452 esac
   4453     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4454   fi
   4455 else
   4456   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4457 fi
   4458 
   4459 fi
   4460 if test -n "$PKG_CONFIG"; then
   4461 	_pkg_min_version=0.9.0
   4462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4463 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4464 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4465 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4466 $as_echo "yes" >&6; }
   4467 	else
   4468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4469 $as_echo "no" >&6; }
   4470 		PKG_CONFIG=""
   4471 	fi
   4472 fi
   4473 # Make sure we can run config.sub.
   4474 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4475   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4476 
   4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4478 $as_echo_n "checking build system type... " >&6; }
   4479 if ${ac_cv_build+:} false; then :
   4480   $as_echo_n "(cached) " >&6
   4481 else
   4482   ac_build_alias=$build_alias
   4483 test "x$ac_build_alias" = x &&
   4484   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4485 test "x$ac_build_alias" = x &&
   4486   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4487 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4488   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4489 
   4490 fi
   4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4492 $as_echo "$ac_cv_build" >&6; }
   4493 case $ac_cv_build in
   4494 *-*-*) ;;
   4495 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4496 esac
   4497 build=$ac_cv_build
   4498 ac_save_IFS=$IFS; IFS='-'
   4499 set x $ac_cv_build
   4500 shift
   4501 build_cpu=$1
   4502 build_vendor=$2
   4503 shift; shift
   4504 # Remember, the first character of IFS is used to create $*,
   4505 # except with old shells:
   4506 build_os=$*
   4507 IFS=$ac_save_IFS
   4508 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4509 
   4510 
   4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4512 $as_echo_n "checking host system type... " >&6; }
   4513 if ${ac_cv_host+:} false; then :
   4514   $as_echo_n "(cached) " >&6
   4515 else
   4516   if test "x$host_alias" = x; then
   4517   ac_cv_host=$ac_cv_build
   4518 else
   4519   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4520     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4521 fi
   4522 
   4523 fi
   4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4525 $as_echo "$ac_cv_host" >&6; }
   4526 case $ac_cv_host in
   4527 *-*-*) ;;
   4528 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4529 esac
   4530 host=$ac_cv_host
   4531 ac_save_IFS=$IFS; IFS='-'
   4532 set x $ac_cv_host
   4533 shift
   4534 host_cpu=$1
   4535 host_vendor=$2
   4536 shift; shift
   4537 # Remember, the first character of IFS is used to create $*,
   4538 # except with old shells:
   4539 host_os=$*
   4540 IFS=$ac_save_IFS
   4541 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4542 
   4543 
   4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4545 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4546 if ${ac_cv_path_SED+:} false; then :
   4547   $as_echo_n "(cached) " >&6
   4548 else
   4549             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4550      for ac_i in 1 2 3 4 5 6 7; do
   4551        ac_script="$ac_script$as_nl$ac_script"
   4552      done
   4553      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4554      { ac_script=; unset ac_script;}
   4555      if test -z "$SED"; then
   4556   ac_path_SED_found=false
   4557   # Loop through the user's path and test for each of PROGNAME-LIST
   4558   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4559 for as_dir in $PATH
   4560 do
   4561   IFS=$as_save_IFS
   4562   test -z "$as_dir" && as_dir=.
   4563     for ac_prog in sed gsed; do
   4564     for ac_exec_ext in '' $ac_executable_extensions; do
   4565       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4566       as_fn_executable_p "$ac_path_SED" || continue
   4567 # Check for GNU ac_path_SED and select it if it is found.
   4568   # Check for GNU $ac_path_SED
   4569 case `"$ac_path_SED" --version 2>&1` in
   4570 *GNU*)
   4571   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4572 *)
   4573   ac_count=0
   4574   $as_echo_n 0123456789 >"conftest.in"
   4575   while :
   4576   do
   4577     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4578     mv "conftest.tmp" "conftest.in"
   4579     cp "conftest.in" "conftest.nl"
   4580     $as_echo '' >> "conftest.nl"
   4581     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4582     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4583     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4584     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4585       # Best one so far, save it but keep looking for a better one
   4586       ac_cv_path_SED="$ac_path_SED"
   4587       ac_path_SED_max=$ac_count
   4588     fi
   4589     # 10*(2^10) chars as input seems more than enough
   4590     test $ac_count -gt 10 && break
   4591   done
   4592   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4593 esac
   4594 
   4595       $ac_path_SED_found && break 3
   4596     done
   4597   done
   4598   done
   4599 IFS=$as_save_IFS
   4600   if test -z "$ac_cv_path_SED"; then
   4601     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4602   fi
   4603 else
   4604   ac_cv_path_SED=$SED
   4605 fi
   4606 
   4607 fi
   4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4609 $as_echo "$ac_cv_path_SED" >&6; }
   4610  SED="$ac_cv_path_SED"
   4611   rm -f conftest.sed
   4612 
   4613 
   4614 
   4615 
   4616 
   4617 
   4618 # Check whether --enable-selective-werror was given.
   4619 if test "${enable_selective_werror+set}" = set; then :
   4620   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4621 else
   4622   SELECTIVE_WERROR=yes
   4623 fi
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4630 if test "x$SUNCC" = "xyes"; then
   4631     BASE_CFLAGS="-v"
   4632 else
   4633     BASE_CFLAGS=""
   4634 fi
   4635 
   4636 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4637 
   4638 
   4639 
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 
   4650 xorg_testset_save_CFLAGS="$CFLAGS"
   4651 
   4652 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4655 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4656 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4657   $as_echo_n "(cached) " >&6
   4658 else
   4659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4660 /* end confdefs.h.  */
   4661 int i;
   4662 _ACEOF
   4663 if ac_fn_c_try_compile "$LINENO"; then :
   4664   xorg_cv_cc_flag_unknown_warning_option=yes
   4665 else
   4666   xorg_cv_cc_flag_unknown_warning_option=no
   4667 fi
   4668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4669 fi
   4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4671 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4672 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4673 	CFLAGS="$xorg_testset_save_CFLAGS"
   4674 fi
   4675 
   4676 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4677 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4678 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4679 	fi
   4680 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4681 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4682 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4683 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4684   $as_echo_n "(cached) " >&6
   4685 else
   4686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4687 /* end confdefs.h.  */
   4688 int i;
   4689 _ACEOF
   4690 if ac_fn_c_try_compile "$LINENO"; then :
   4691   xorg_cv_cc_flag_unused_command_line_argument=yes
   4692 else
   4693   xorg_cv_cc_flag_unused_command_line_argument=no
   4694 fi
   4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4696 fi
   4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4698 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4699 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4700 	CFLAGS="$xorg_testset_save_CFLAGS"
   4701 fi
   4702 
   4703 found="no"
   4704 
   4705 	if test $found = "no" ; then
   4706 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4708 		fi
   4709 
   4710 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4712 		fi
   4713 
   4714 		CFLAGS="$CFLAGS -Wall"
   4715 
   4716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4717 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4718 		cacheid=xorg_cv_cc_flag__Wall
   4719 		if eval \${$cacheid+:} false; then :
   4720   $as_echo_n "(cached) " >&6
   4721 else
   4722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4723 /* end confdefs.h.  */
   4724 int i;
   4725 int
   4726 main ()
   4727 {
   4728 
   4729   ;
   4730   return 0;
   4731 }
   4732 _ACEOF
   4733 if ac_fn_c_try_link "$LINENO"; then :
   4734   eval $cacheid=yes
   4735 else
   4736   eval $cacheid=no
   4737 fi
   4738 rm -f core conftest.err conftest.$ac_objext \
   4739     conftest$ac_exeext conftest.$ac_ext
   4740 fi
   4741 
   4742 
   4743 		CFLAGS="$xorg_testset_save_CFLAGS"
   4744 
   4745 		eval supported=\$$cacheid
   4746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4747 $as_echo "$supported" >&6; }
   4748 		if test "$supported" = "yes" ; then
   4749 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4750 			found="yes"
   4751 		fi
   4752 	fi
   4753 
   4754 
   4755 
   4756 
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 xorg_testset_save_CFLAGS="$CFLAGS"
   4769 
   4770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4773 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4774 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4775   $as_echo_n "(cached) " >&6
   4776 else
   4777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4778 /* end confdefs.h.  */
   4779 int i;
   4780 _ACEOF
   4781 if ac_fn_c_try_compile "$LINENO"; then :
   4782   xorg_cv_cc_flag_unknown_warning_option=yes
   4783 else
   4784   xorg_cv_cc_flag_unknown_warning_option=no
   4785 fi
   4786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4787 fi
   4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4789 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4791 	CFLAGS="$xorg_testset_save_CFLAGS"
   4792 fi
   4793 
   4794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4797 	fi
   4798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4800 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4801 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4802   $as_echo_n "(cached) " >&6
   4803 else
   4804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4805 /* end confdefs.h.  */
   4806 int i;
   4807 _ACEOF
   4808 if ac_fn_c_try_compile "$LINENO"; then :
   4809   xorg_cv_cc_flag_unused_command_line_argument=yes
   4810 else
   4811   xorg_cv_cc_flag_unused_command_line_argument=no
   4812 fi
   4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4814 fi
   4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4816 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4817 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4818 	CFLAGS="$xorg_testset_save_CFLAGS"
   4819 fi
   4820 
   4821 found="no"
   4822 
   4823 	if test $found = "no" ; then
   4824 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4825 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4826 		fi
   4827 
   4828 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4829 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4830 		fi
   4831 
   4832 		CFLAGS="$CFLAGS -Wpointer-arith"
   4833 
   4834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4835 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4836 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4837 		if eval \${$cacheid+:} false; then :
   4838   $as_echo_n "(cached) " >&6
   4839 else
   4840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4841 /* end confdefs.h.  */
   4842 int i;
   4843 int
   4844 main ()
   4845 {
   4846 
   4847   ;
   4848   return 0;
   4849 }
   4850 _ACEOF
   4851 if ac_fn_c_try_link "$LINENO"; then :
   4852   eval $cacheid=yes
   4853 else
   4854   eval $cacheid=no
   4855 fi
   4856 rm -f core conftest.err conftest.$ac_objext \
   4857     conftest$ac_exeext conftest.$ac_ext
   4858 fi
   4859 
   4860 
   4861 		CFLAGS="$xorg_testset_save_CFLAGS"
   4862 
   4863 		eval supported=\$$cacheid
   4864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4865 $as_echo "$supported" >&6; }
   4866 		if test "$supported" = "yes" ; then
   4867 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4868 			found="yes"
   4869 		fi
   4870 	fi
   4871 
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 xorg_testset_save_CFLAGS="$CFLAGS"
   4887 
   4888 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4889 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4891 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4892 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4893   $as_echo_n "(cached) " >&6
   4894 else
   4895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4896 /* end confdefs.h.  */
   4897 int i;
   4898 _ACEOF
   4899 if ac_fn_c_try_compile "$LINENO"; then :
   4900   xorg_cv_cc_flag_unknown_warning_option=yes
   4901 else
   4902   xorg_cv_cc_flag_unknown_warning_option=no
   4903 fi
   4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4905 fi
   4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4907 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4908 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4909 	CFLAGS="$xorg_testset_save_CFLAGS"
   4910 fi
   4911 
   4912 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4913 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4914 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4915 	fi
   4916 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4918 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4919 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4920   $as_echo_n "(cached) " >&6
   4921 else
   4922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4923 /* end confdefs.h.  */
   4924 int i;
   4925 _ACEOF
   4926 if ac_fn_c_try_compile "$LINENO"; then :
   4927   xorg_cv_cc_flag_unused_command_line_argument=yes
   4928 else
   4929   xorg_cv_cc_flag_unused_command_line_argument=no
   4930 fi
   4931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4932 fi
   4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4934 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4935 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4936 	CFLAGS="$xorg_testset_save_CFLAGS"
   4937 fi
   4938 
   4939 found="no"
   4940 
   4941 	if test $found = "no" ; then
   4942 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4944 		fi
   4945 
   4946 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4948 		fi
   4949 
   4950 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4951 
   4952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4953 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4954 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4955 		if eval \${$cacheid+:} false; then :
   4956   $as_echo_n "(cached) " >&6
   4957 else
   4958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4959 /* end confdefs.h.  */
   4960 int i;
   4961 int
   4962 main ()
   4963 {
   4964 
   4965   ;
   4966   return 0;
   4967 }
   4968 _ACEOF
   4969 if ac_fn_c_try_link "$LINENO"; then :
   4970   eval $cacheid=yes
   4971 else
   4972   eval $cacheid=no
   4973 fi
   4974 rm -f core conftest.err conftest.$ac_objext \
   4975     conftest$ac_exeext conftest.$ac_ext
   4976 fi
   4977 
   4978 
   4979 		CFLAGS="$xorg_testset_save_CFLAGS"
   4980 
   4981 		eval supported=\$$cacheid
   4982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4983 $as_echo "$supported" >&6; }
   4984 		if test "$supported" = "yes" ; then
   4985 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4986 			found="yes"
   4987 		fi
   4988 	fi
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 xorg_testset_save_CFLAGS="$CFLAGS"
   5005 
   5006 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5007 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5009 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5010 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5011   $as_echo_n "(cached) " >&6
   5012 else
   5013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5014 /* end confdefs.h.  */
   5015 int i;
   5016 _ACEOF
   5017 if ac_fn_c_try_compile "$LINENO"; then :
   5018   xorg_cv_cc_flag_unknown_warning_option=yes
   5019 else
   5020   xorg_cv_cc_flag_unknown_warning_option=no
   5021 fi
   5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5023 fi
   5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5025 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5026 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5027 	CFLAGS="$xorg_testset_save_CFLAGS"
   5028 fi
   5029 
   5030 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5031 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5032 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5033 	fi
   5034 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5036 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5037 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5038   $as_echo_n "(cached) " >&6
   5039 else
   5040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5041 /* end confdefs.h.  */
   5042 int i;
   5043 _ACEOF
   5044 if ac_fn_c_try_compile "$LINENO"; then :
   5045   xorg_cv_cc_flag_unused_command_line_argument=yes
   5046 else
   5047   xorg_cv_cc_flag_unused_command_line_argument=no
   5048 fi
   5049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5050 fi
   5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5052 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5053 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5054 	CFLAGS="$xorg_testset_save_CFLAGS"
   5055 fi
   5056 
   5057 found="no"
   5058 
   5059 	if test $found = "no" ; then
   5060 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5061 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5062 		fi
   5063 
   5064 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5065 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5066 		fi
   5067 
   5068 		CFLAGS="$CFLAGS -Wformat=2"
   5069 
   5070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5071 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5072 		cacheid=xorg_cv_cc_flag__Wformat_2
   5073 		if eval \${$cacheid+:} false; then :
   5074   $as_echo_n "(cached) " >&6
   5075 else
   5076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5077 /* end confdefs.h.  */
   5078 int i;
   5079 int
   5080 main ()
   5081 {
   5082 
   5083   ;
   5084   return 0;
   5085 }
   5086 _ACEOF
   5087 if ac_fn_c_try_link "$LINENO"; then :
   5088   eval $cacheid=yes
   5089 else
   5090   eval $cacheid=no
   5091 fi
   5092 rm -f core conftest.err conftest.$ac_objext \
   5093     conftest$ac_exeext conftest.$ac_ext
   5094 fi
   5095 
   5096 
   5097 		CFLAGS="$xorg_testset_save_CFLAGS"
   5098 
   5099 		eval supported=\$$cacheid
   5100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5101 $as_echo "$supported" >&6; }
   5102 		if test "$supported" = "yes" ; then
   5103 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5104 			found="yes"
   5105 		fi
   5106 	fi
   5107 
   5108 	if test $found = "no" ; then
   5109 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5110 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5111 		fi
   5112 
   5113 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5114 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5115 		fi
   5116 
   5117 		CFLAGS="$CFLAGS -Wformat"
   5118 
   5119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5120 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5121 		cacheid=xorg_cv_cc_flag__Wformat
   5122 		if eval \${$cacheid+:} false; then :
   5123   $as_echo_n "(cached) " >&6
   5124 else
   5125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5126 /* end confdefs.h.  */
   5127 int i;
   5128 int
   5129 main ()
   5130 {
   5131 
   5132   ;
   5133   return 0;
   5134 }
   5135 _ACEOF
   5136 if ac_fn_c_try_link "$LINENO"; then :
   5137   eval $cacheid=yes
   5138 else
   5139   eval $cacheid=no
   5140 fi
   5141 rm -f core conftest.err conftest.$ac_objext \
   5142     conftest$ac_exeext conftest.$ac_ext
   5143 fi
   5144 
   5145 
   5146 		CFLAGS="$xorg_testset_save_CFLAGS"
   5147 
   5148 		eval supported=\$$cacheid
   5149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5150 $as_echo "$supported" >&6; }
   5151 		if test "$supported" = "yes" ; then
   5152 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5153 			found="yes"
   5154 		fi
   5155 	fi
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 xorg_testset_save_CFLAGS="$CFLAGS"
   5174 
   5175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5178 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5179 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5180   $as_echo_n "(cached) " >&6
   5181 else
   5182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5183 /* end confdefs.h.  */
   5184 int i;
   5185 _ACEOF
   5186 if ac_fn_c_try_compile "$LINENO"; then :
   5187   xorg_cv_cc_flag_unknown_warning_option=yes
   5188 else
   5189   xorg_cv_cc_flag_unknown_warning_option=no
   5190 fi
   5191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5192 fi
   5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5194 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5195 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5196 	CFLAGS="$xorg_testset_save_CFLAGS"
   5197 fi
   5198 
   5199 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5200 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5201 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5202 	fi
   5203 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5205 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5206 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5207   $as_echo_n "(cached) " >&6
   5208 else
   5209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5210 /* end confdefs.h.  */
   5211 int i;
   5212 _ACEOF
   5213 if ac_fn_c_try_compile "$LINENO"; then :
   5214   xorg_cv_cc_flag_unused_command_line_argument=yes
   5215 else
   5216   xorg_cv_cc_flag_unused_command_line_argument=no
   5217 fi
   5218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5219 fi
   5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5221 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5222 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5223 	CFLAGS="$xorg_testset_save_CFLAGS"
   5224 fi
   5225 
   5226 found="no"
   5227 
   5228 	if test $found = "no" ; then
   5229 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5230 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5231 		fi
   5232 
   5233 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5234 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5235 		fi
   5236 
   5237 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5238 
   5239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5240 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5241 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5242 		if eval \${$cacheid+:} false; then :
   5243   $as_echo_n "(cached) " >&6
   5244 else
   5245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5246 /* end confdefs.h.  */
   5247 int i;
   5248 int
   5249 main ()
   5250 {
   5251 
   5252   ;
   5253   return 0;
   5254 }
   5255 _ACEOF
   5256 if ac_fn_c_try_link "$LINENO"; then :
   5257   eval $cacheid=yes
   5258 else
   5259   eval $cacheid=no
   5260 fi
   5261 rm -f core conftest.err conftest.$ac_objext \
   5262     conftest$ac_exeext conftest.$ac_ext
   5263 fi
   5264 
   5265 
   5266 		CFLAGS="$xorg_testset_save_CFLAGS"
   5267 
   5268 		eval supported=\$$cacheid
   5269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5270 $as_echo "$supported" >&6; }
   5271 		if test "$supported" = "yes" ; then
   5272 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5273 			found="yes"
   5274 		fi
   5275 	fi
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 xorg_testset_save_CFLAGS="$CFLAGS"
   5292 
   5293 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5294 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5296 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5297 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5298   $as_echo_n "(cached) " >&6
   5299 else
   5300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5301 /* end confdefs.h.  */
   5302 int i;
   5303 _ACEOF
   5304 if ac_fn_c_try_compile "$LINENO"; then :
   5305   xorg_cv_cc_flag_unknown_warning_option=yes
   5306 else
   5307   xorg_cv_cc_flag_unknown_warning_option=no
   5308 fi
   5309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5310 fi
   5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5312 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5313 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5314 	CFLAGS="$xorg_testset_save_CFLAGS"
   5315 fi
   5316 
   5317 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5318 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5319 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5320 	fi
   5321 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5322 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5323 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5324 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5325   $as_echo_n "(cached) " >&6
   5326 else
   5327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5328 /* end confdefs.h.  */
   5329 int i;
   5330 _ACEOF
   5331 if ac_fn_c_try_compile "$LINENO"; then :
   5332   xorg_cv_cc_flag_unused_command_line_argument=yes
   5333 else
   5334   xorg_cv_cc_flag_unused_command_line_argument=no
   5335 fi
   5336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5337 fi
   5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5339 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5340 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5341 	CFLAGS="$xorg_testset_save_CFLAGS"
   5342 fi
   5343 
   5344 found="no"
   5345 
   5346 	if test $found = "no" ; then
   5347 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5349 		fi
   5350 
   5351 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5353 		fi
   5354 
   5355 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5356 
   5357 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5358 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5359 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5360 		if eval \${$cacheid+:} false; then :
   5361   $as_echo_n "(cached) " >&6
   5362 else
   5363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5364 /* end confdefs.h.  */
   5365 int i;
   5366 int
   5367 main ()
   5368 {
   5369 
   5370   ;
   5371   return 0;
   5372 }
   5373 _ACEOF
   5374 if ac_fn_c_try_link "$LINENO"; then :
   5375   eval $cacheid=yes
   5376 else
   5377   eval $cacheid=no
   5378 fi
   5379 rm -f core conftest.err conftest.$ac_objext \
   5380     conftest$ac_exeext conftest.$ac_ext
   5381 fi
   5382 
   5383 
   5384 		CFLAGS="$xorg_testset_save_CFLAGS"
   5385 
   5386 		eval supported=\$$cacheid
   5387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5388 $as_echo "$supported" >&6; }
   5389 		if test "$supported" = "yes" ; then
   5390 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5391 			found="yes"
   5392 		fi
   5393 	fi
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 xorg_testset_save_CFLAGS="$CFLAGS"
   5410 
   5411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5414 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5415 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5416   $as_echo_n "(cached) " >&6
   5417 else
   5418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5419 /* end confdefs.h.  */
   5420 int i;
   5421 _ACEOF
   5422 if ac_fn_c_try_compile "$LINENO"; then :
   5423   xorg_cv_cc_flag_unknown_warning_option=yes
   5424 else
   5425   xorg_cv_cc_flag_unknown_warning_option=no
   5426 fi
   5427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5428 fi
   5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5430 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5431 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5432 	CFLAGS="$xorg_testset_save_CFLAGS"
   5433 fi
   5434 
   5435 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5436 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5437 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5438 	fi
   5439 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5440 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5441 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5442 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5443   $as_echo_n "(cached) " >&6
   5444 else
   5445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5446 /* end confdefs.h.  */
   5447 int i;
   5448 _ACEOF
   5449 if ac_fn_c_try_compile "$LINENO"; then :
   5450   xorg_cv_cc_flag_unused_command_line_argument=yes
   5451 else
   5452   xorg_cv_cc_flag_unused_command_line_argument=no
   5453 fi
   5454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5455 fi
   5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5457 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5459 	CFLAGS="$xorg_testset_save_CFLAGS"
   5460 fi
   5461 
   5462 found="no"
   5463 
   5464 	if test $found = "no" ; then
   5465 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5467 		fi
   5468 
   5469 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5471 		fi
   5472 
   5473 		CFLAGS="$CFLAGS -Wnested-externs"
   5474 
   5475 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5476 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5477 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5478 		if eval \${$cacheid+:} false; then :
   5479   $as_echo_n "(cached) " >&6
   5480 else
   5481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5482 /* end confdefs.h.  */
   5483 int i;
   5484 int
   5485 main ()
   5486 {
   5487 
   5488   ;
   5489   return 0;
   5490 }
   5491 _ACEOF
   5492 if ac_fn_c_try_link "$LINENO"; then :
   5493   eval $cacheid=yes
   5494 else
   5495   eval $cacheid=no
   5496 fi
   5497 rm -f core conftest.err conftest.$ac_objext \
   5498     conftest$ac_exeext conftest.$ac_ext
   5499 fi
   5500 
   5501 
   5502 		CFLAGS="$xorg_testset_save_CFLAGS"
   5503 
   5504 		eval supported=\$$cacheid
   5505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5506 $as_echo "$supported" >&6; }
   5507 		if test "$supported" = "yes" ; then
   5508 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5509 			found="yes"
   5510 		fi
   5511 	fi
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 xorg_testset_save_CFLAGS="$CFLAGS"
   5528 
   5529 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5530 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5532 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5533 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5534   $as_echo_n "(cached) " >&6
   5535 else
   5536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5537 /* end confdefs.h.  */
   5538 int i;
   5539 _ACEOF
   5540 if ac_fn_c_try_compile "$LINENO"; then :
   5541   xorg_cv_cc_flag_unknown_warning_option=yes
   5542 else
   5543   xorg_cv_cc_flag_unknown_warning_option=no
   5544 fi
   5545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5546 fi
   5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5548 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5549 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5550 	CFLAGS="$xorg_testset_save_CFLAGS"
   5551 fi
   5552 
   5553 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5554 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5555 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5556 	fi
   5557 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5558 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5559 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5560 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5561   $as_echo_n "(cached) " >&6
   5562 else
   5563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5564 /* end confdefs.h.  */
   5565 int i;
   5566 _ACEOF
   5567 if ac_fn_c_try_compile "$LINENO"; then :
   5568   xorg_cv_cc_flag_unused_command_line_argument=yes
   5569 else
   5570   xorg_cv_cc_flag_unused_command_line_argument=no
   5571 fi
   5572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5573 fi
   5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5575 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5576 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5577 	CFLAGS="$xorg_testset_save_CFLAGS"
   5578 fi
   5579 
   5580 found="no"
   5581 
   5582 	if test $found = "no" ; then
   5583 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5585 		fi
   5586 
   5587 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5589 		fi
   5590 
   5591 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5592 
   5593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5594 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5595 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5596 		if eval \${$cacheid+:} false; then :
   5597   $as_echo_n "(cached) " >&6
   5598 else
   5599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5600 /* end confdefs.h.  */
   5601 int i;
   5602 int
   5603 main ()
   5604 {
   5605 
   5606   ;
   5607   return 0;
   5608 }
   5609 _ACEOF
   5610 if ac_fn_c_try_link "$LINENO"; then :
   5611   eval $cacheid=yes
   5612 else
   5613   eval $cacheid=no
   5614 fi
   5615 rm -f core conftest.err conftest.$ac_objext \
   5616     conftest$ac_exeext conftest.$ac_ext
   5617 fi
   5618 
   5619 
   5620 		CFLAGS="$xorg_testset_save_CFLAGS"
   5621 
   5622 		eval supported=\$$cacheid
   5623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5624 $as_echo "$supported" >&6; }
   5625 		if test "$supported" = "yes" ; then
   5626 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5627 			found="yes"
   5628 		fi
   5629 	fi
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 xorg_testset_save_CFLAGS="$CFLAGS"
   5646 
   5647 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5650 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5651 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5652   $as_echo_n "(cached) " >&6
   5653 else
   5654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5655 /* end confdefs.h.  */
   5656 int i;
   5657 _ACEOF
   5658 if ac_fn_c_try_compile "$LINENO"; then :
   5659   xorg_cv_cc_flag_unknown_warning_option=yes
   5660 else
   5661   xorg_cv_cc_flag_unknown_warning_option=no
   5662 fi
   5663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5664 fi
   5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5666 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5668 	CFLAGS="$xorg_testset_save_CFLAGS"
   5669 fi
   5670 
   5671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5674 	fi
   5675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5677 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5678 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5679   $as_echo_n "(cached) " >&6
   5680 else
   5681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5682 /* end confdefs.h.  */
   5683 int i;
   5684 _ACEOF
   5685 if ac_fn_c_try_compile "$LINENO"; then :
   5686   xorg_cv_cc_flag_unused_command_line_argument=yes
   5687 else
   5688   xorg_cv_cc_flag_unused_command_line_argument=no
   5689 fi
   5690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5691 fi
   5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5693 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5694 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5695 	CFLAGS="$xorg_testset_save_CFLAGS"
   5696 fi
   5697 
   5698 found="no"
   5699 
   5700 	if test $found = "no" ; then
   5701 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5703 		fi
   5704 
   5705 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5707 		fi
   5708 
   5709 		CFLAGS="$CFLAGS -Wold-style-definition"
   5710 
   5711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5712 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5713 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5714 		if eval \${$cacheid+:} false; then :
   5715   $as_echo_n "(cached) " >&6
   5716 else
   5717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5718 /* end confdefs.h.  */
   5719 int i;
   5720 int
   5721 main ()
   5722 {
   5723 
   5724   ;
   5725   return 0;
   5726 }
   5727 _ACEOF
   5728 if ac_fn_c_try_link "$LINENO"; then :
   5729   eval $cacheid=yes
   5730 else
   5731   eval $cacheid=no
   5732 fi
   5733 rm -f core conftest.err conftest.$ac_objext \
   5734     conftest$ac_exeext conftest.$ac_ext
   5735 fi
   5736 
   5737 
   5738 		CFLAGS="$xorg_testset_save_CFLAGS"
   5739 
   5740 		eval supported=\$$cacheid
   5741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5742 $as_echo "$supported" >&6; }
   5743 		if test "$supported" = "yes" ; then
   5744 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5745 			found="yes"
   5746 		fi
   5747 	fi
   5748 
   5749 	if test $found = "no" ; then
   5750 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5752 		fi
   5753 
   5754 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5756 		fi
   5757 
   5758 		CFLAGS="$CFLAGS -fd"
   5759 
   5760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5761 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5762 		cacheid=xorg_cv_cc_flag__fd
   5763 		if eval \${$cacheid+:} false; then :
   5764   $as_echo_n "(cached) " >&6
   5765 else
   5766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5767 /* end confdefs.h.  */
   5768 int i;
   5769 int
   5770 main ()
   5771 {
   5772 
   5773   ;
   5774   return 0;
   5775 }
   5776 _ACEOF
   5777 if ac_fn_c_try_link "$LINENO"; then :
   5778   eval $cacheid=yes
   5779 else
   5780   eval $cacheid=no
   5781 fi
   5782 rm -f core conftest.err conftest.$ac_objext \
   5783     conftest$ac_exeext conftest.$ac_ext
   5784 fi
   5785 
   5786 
   5787 		CFLAGS="$xorg_testset_save_CFLAGS"
   5788 
   5789 		eval supported=\$$cacheid
   5790 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5791 $as_echo "$supported" >&6; }
   5792 		if test "$supported" = "yes" ; then
   5793 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5794 			found="yes"
   5795 		fi
   5796 	fi
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 xorg_testset_save_CFLAGS="$CFLAGS"
   5813 
   5814 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5817 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5818 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5819   $as_echo_n "(cached) " >&6
   5820 else
   5821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5822 /* end confdefs.h.  */
   5823 int i;
   5824 _ACEOF
   5825 if ac_fn_c_try_compile "$LINENO"; then :
   5826   xorg_cv_cc_flag_unknown_warning_option=yes
   5827 else
   5828   xorg_cv_cc_flag_unknown_warning_option=no
   5829 fi
   5830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5831 fi
   5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5833 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5834 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5835 	CFLAGS="$xorg_testset_save_CFLAGS"
   5836 fi
   5837 
   5838 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5839 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5840 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5841 	fi
   5842 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5844 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5845 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5846   $as_echo_n "(cached) " >&6
   5847 else
   5848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5849 /* end confdefs.h.  */
   5850 int i;
   5851 _ACEOF
   5852 if ac_fn_c_try_compile "$LINENO"; then :
   5853   xorg_cv_cc_flag_unused_command_line_argument=yes
   5854 else
   5855   xorg_cv_cc_flag_unused_command_line_argument=no
   5856 fi
   5857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5858 fi
   5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5860 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5861 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5862 	CFLAGS="$xorg_testset_save_CFLAGS"
   5863 fi
   5864 
   5865 found="no"
   5866 
   5867 	if test $found = "no" ; then
   5868 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5869 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5870 		fi
   5871 
   5872 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5873 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5874 		fi
   5875 
   5876 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5877 
   5878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5879 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5880 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5881 		if eval \${$cacheid+:} false; then :
   5882   $as_echo_n "(cached) " >&6
   5883 else
   5884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5885 /* end confdefs.h.  */
   5886 int i;
   5887 int
   5888 main ()
   5889 {
   5890 
   5891   ;
   5892   return 0;
   5893 }
   5894 _ACEOF
   5895 if ac_fn_c_try_link "$LINENO"; then :
   5896   eval $cacheid=yes
   5897 else
   5898   eval $cacheid=no
   5899 fi
   5900 rm -f core conftest.err conftest.$ac_objext \
   5901     conftest$ac_exeext conftest.$ac_ext
   5902 fi
   5903 
   5904 
   5905 		CFLAGS="$xorg_testset_save_CFLAGS"
   5906 
   5907 		eval supported=\$$cacheid
   5908 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5909 $as_echo "$supported" >&6; }
   5910 		if test "$supported" = "yes" ; then
   5911 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5912 			found="yes"
   5913 		fi
   5914 	fi
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 # This chunk adds additional warnings that could catch undesired effects.
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 xorg_testset_save_CFLAGS="$CFLAGS"
   5935 
   5936 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5937 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5938 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5939 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5940 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5941   $as_echo_n "(cached) " >&6
   5942 else
   5943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5944 /* end confdefs.h.  */
   5945 int i;
   5946 _ACEOF
   5947 if ac_fn_c_try_compile "$LINENO"; then :
   5948   xorg_cv_cc_flag_unknown_warning_option=yes
   5949 else
   5950   xorg_cv_cc_flag_unknown_warning_option=no
   5951 fi
   5952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5953 fi
   5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5955 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5956 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5957 	CFLAGS="$xorg_testset_save_CFLAGS"
   5958 fi
   5959 
   5960 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5961 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5962 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5963 	fi
   5964 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5966 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5967 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5968   $as_echo_n "(cached) " >&6
   5969 else
   5970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5971 /* end confdefs.h.  */
   5972 int i;
   5973 _ACEOF
   5974 if ac_fn_c_try_compile "$LINENO"; then :
   5975   xorg_cv_cc_flag_unused_command_line_argument=yes
   5976 else
   5977   xorg_cv_cc_flag_unused_command_line_argument=no
   5978 fi
   5979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5980 fi
   5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5982 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5983 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5984 	CFLAGS="$xorg_testset_save_CFLAGS"
   5985 fi
   5986 
   5987 found="no"
   5988 
   5989 	if test $found = "no" ; then
   5990 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5991 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5992 		fi
   5993 
   5994 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5995 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5996 		fi
   5997 
   5998 		CFLAGS="$CFLAGS -Wunused"
   5999 
   6000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6001 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6002 		cacheid=xorg_cv_cc_flag__Wunused
   6003 		if eval \${$cacheid+:} false; then :
   6004   $as_echo_n "(cached) " >&6
   6005 else
   6006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6007 /* end confdefs.h.  */
   6008 int i;
   6009 int
   6010 main ()
   6011 {
   6012 
   6013   ;
   6014   return 0;
   6015 }
   6016 _ACEOF
   6017 if ac_fn_c_try_link "$LINENO"; then :
   6018   eval $cacheid=yes
   6019 else
   6020   eval $cacheid=no
   6021 fi
   6022 rm -f core conftest.err conftest.$ac_objext \
   6023     conftest$ac_exeext conftest.$ac_ext
   6024 fi
   6025 
   6026 
   6027 		CFLAGS="$xorg_testset_save_CFLAGS"
   6028 
   6029 		eval supported=\$$cacheid
   6030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6031 $as_echo "$supported" >&6; }
   6032 		if test "$supported" = "yes" ; then
   6033 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6034 			found="yes"
   6035 		fi
   6036 	fi
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 xorg_testset_save_CFLAGS="$CFLAGS"
   6053 
   6054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6057 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6058 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6059   $as_echo_n "(cached) " >&6
   6060 else
   6061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6062 /* end confdefs.h.  */
   6063 int i;
   6064 _ACEOF
   6065 if ac_fn_c_try_compile "$LINENO"; then :
   6066   xorg_cv_cc_flag_unknown_warning_option=yes
   6067 else
   6068   xorg_cv_cc_flag_unknown_warning_option=no
   6069 fi
   6070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6071 fi
   6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6073 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6075 	CFLAGS="$xorg_testset_save_CFLAGS"
   6076 fi
   6077 
   6078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6081 	fi
   6082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6084 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6085 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6086   $as_echo_n "(cached) " >&6
   6087 else
   6088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6089 /* end confdefs.h.  */
   6090 int i;
   6091 _ACEOF
   6092 if ac_fn_c_try_compile "$LINENO"; then :
   6093   xorg_cv_cc_flag_unused_command_line_argument=yes
   6094 else
   6095   xorg_cv_cc_flag_unused_command_line_argument=no
   6096 fi
   6097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6098 fi
   6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6100 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6102 	CFLAGS="$xorg_testset_save_CFLAGS"
   6103 fi
   6104 
   6105 found="no"
   6106 
   6107 	if test $found = "no" ; then
   6108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6110 		fi
   6111 
   6112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6114 		fi
   6115 
   6116 		CFLAGS="$CFLAGS -Wuninitialized"
   6117 
   6118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6119 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6120 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6121 		if eval \${$cacheid+:} false; then :
   6122   $as_echo_n "(cached) " >&6
   6123 else
   6124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6125 /* end confdefs.h.  */
   6126 int i;
   6127 int
   6128 main ()
   6129 {
   6130 
   6131   ;
   6132   return 0;
   6133 }
   6134 _ACEOF
   6135 if ac_fn_c_try_link "$LINENO"; then :
   6136   eval $cacheid=yes
   6137 else
   6138   eval $cacheid=no
   6139 fi
   6140 rm -f core conftest.err conftest.$ac_objext \
   6141     conftest$ac_exeext conftest.$ac_ext
   6142 fi
   6143 
   6144 
   6145 		CFLAGS="$xorg_testset_save_CFLAGS"
   6146 
   6147 		eval supported=\$$cacheid
   6148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6149 $as_echo "$supported" >&6; }
   6150 		if test "$supported" = "yes" ; then
   6151 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6152 			found="yes"
   6153 		fi
   6154 	fi
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 xorg_testset_save_CFLAGS="$CFLAGS"
   6171 
   6172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6175 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6176 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6177   $as_echo_n "(cached) " >&6
   6178 else
   6179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6180 /* end confdefs.h.  */
   6181 int i;
   6182 _ACEOF
   6183 if ac_fn_c_try_compile "$LINENO"; then :
   6184   xorg_cv_cc_flag_unknown_warning_option=yes
   6185 else
   6186   xorg_cv_cc_flag_unknown_warning_option=no
   6187 fi
   6188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6189 fi
   6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6191 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6193 	CFLAGS="$xorg_testset_save_CFLAGS"
   6194 fi
   6195 
   6196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6199 	fi
   6200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6202 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6203 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6204   $as_echo_n "(cached) " >&6
   6205 else
   6206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6207 /* end confdefs.h.  */
   6208 int i;
   6209 _ACEOF
   6210 if ac_fn_c_try_compile "$LINENO"; then :
   6211   xorg_cv_cc_flag_unused_command_line_argument=yes
   6212 else
   6213   xorg_cv_cc_flag_unused_command_line_argument=no
   6214 fi
   6215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6216 fi
   6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6218 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6220 	CFLAGS="$xorg_testset_save_CFLAGS"
   6221 fi
   6222 
   6223 found="no"
   6224 
   6225 	if test $found = "no" ; then
   6226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6228 		fi
   6229 
   6230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6232 		fi
   6233 
   6234 		CFLAGS="$CFLAGS -Wshadow"
   6235 
   6236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6237 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6238 		cacheid=xorg_cv_cc_flag__Wshadow
   6239 		if eval \${$cacheid+:} false; then :
   6240   $as_echo_n "(cached) " >&6
   6241 else
   6242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6243 /* end confdefs.h.  */
   6244 int i;
   6245 int
   6246 main ()
   6247 {
   6248 
   6249   ;
   6250   return 0;
   6251 }
   6252 _ACEOF
   6253 if ac_fn_c_try_link "$LINENO"; then :
   6254   eval $cacheid=yes
   6255 else
   6256   eval $cacheid=no
   6257 fi
   6258 rm -f core conftest.err conftest.$ac_objext \
   6259     conftest$ac_exeext conftest.$ac_ext
   6260 fi
   6261 
   6262 
   6263 		CFLAGS="$xorg_testset_save_CFLAGS"
   6264 
   6265 		eval supported=\$$cacheid
   6266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6267 $as_echo "$supported" >&6; }
   6268 		if test "$supported" = "yes" ; then
   6269 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6270 			found="yes"
   6271 		fi
   6272 	fi
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 xorg_testset_save_CFLAGS="$CFLAGS"
   6289 
   6290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6293 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6294 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6295   $as_echo_n "(cached) " >&6
   6296 else
   6297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6298 /* end confdefs.h.  */
   6299 int i;
   6300 _ACEOF
   6301 if ac_fn_c_try_compile "$LINENO"; then :
   6302   xorg_cv_cc_flag_unknown_warning_option=yes
   6303 else
   6304   xorg_cv_cc_flag_unknown_warning_option=no
   6305 fi
   6306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6307 fi
   6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6309 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6310 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6311 	CFLAGS="$xorg_testset_save_CFLAGS"
   6312 fi
   6313 
   6314 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6315 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6316 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6317 	fi
   6318 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6320 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6321 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6322   $as_echo_n "(cached) " >&6
   6323 else
   6324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6325 /* end confdefs.h.  */
   6326 int i;
   6327 _ACEOF
   6328 if ac_fn_c_try_compile "$LINENO"; then :
   6329   xorg_cv_cc_flag_unused_command_line_argument=yes
   6330 else
   6331   xorg_cv_cc_flag_unused_command_line_argument=no
   6332 fi
   6333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6334 fi
   6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6336 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6338 	CFLAGS="$xorg_testset_save_CFLAGS"
   6339 fi
   6340 
   6341 found="no"
   6342 
   6343 	if test $found = "no" ; then
   6344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6346 		fi
   6347 
   6348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6350 		fi
   6351 
   6352 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6353 
   6354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6355 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6356 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6357 		if eval \${$cacheid+:} false; then :
   6358   $as_echo_n "(cached) " >&6
   6359 else
   6360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6361 /* end confdefs.h.  */
   6362 int i;
   6363 int
   6364 main ()
   6365 {
   6366 
   6367   ;
   6368   return 0;
   6369 }
   6370 _ACEOF
   6371 if ac_fn_c_try_link "$LINENO"; then :
   6372   eval $cacheid=yes
   6373 else
   6374   eval $cacheid=no
   6375 fi
   6376 rm -f core conftest.err conftest.$ac_objext \
   6377     conftest$ac_exeext conftest.$ac_ext
   6378 fi
   6379 
   6380 
   6381 		CFLAGS="$xorg_testset_save_CFLAGS"
   6382 
   6383 		eval supported=\$$cacheid
   6384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6385 $as_echo "$supported" >&6; }
   6386 		if test "$supported" = "yes" ; then
   6387 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6388 			found="yes"
   6389 		fi
   6390 	fi
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 xorg_testset_save_CFLAGS="$CFLAGS"
   6407 
   6408 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6411 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6412 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6413   $as_echo_n "(cached) " >&6
   6414 else
   6415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6416 /* end confdefs.h.  */
   6417 int i;
   6418 _ACEOF
   6419 if ac_fn_c_try_compile "$LINENO"; then :
   6420   xorg_cv_cc_flag_unknown_warning_option=yes
   6421 else
   6422   xorg_cv_cc_flag_unknown_warning_option=no
   6423 fi
   6424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6425 fi
   6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6427 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6428 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6429 	CFLAGS="$xorg_testset_save_CFLAGS"
   6430 fi
   6431 
   6432 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6433 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6434 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6435 	fi
   6436 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6438 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6439 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6440   $as_echo_n "(cached) " >&6
   6441 else
   6442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6443 /* end confdefs.h.  */
   6444 int i;
   6445 _ACEOF
   6446 if ac_fn_c_try_compile "$LINENO"; then :
   6447   xorg_cv_cc_flag_unused_command_line_argument=yes
   6448 else
   6449   xorg_cv_cc_flag_unused_command_line_argument=no
   6450 fi
   6451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6452 fi
   6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6454 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6455 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6456 	CFLAGS="$xorg_testset_save_CFLAGS"
   6457 fi
   6458 
   6459 found="no"
   6460 
   6461 	if test $found = "no" ; then
   6462 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6464 		fi
   6465 
   6466 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6468 		fi
   6469 
   6470 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6471 
   6472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6473 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6474 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6475 		if eval \${$cacheid+:} false; then :
   6476   $as_echo_n "(cached) " >&6
   6477 else
   6478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6479 /* end confdefs.h.  */
   6480 int i;
   6481 int
   6482 main ()
   6483 {
   6484 
   6485   ;
   6486   return 0;
   6487 }
   6488 _ACEOF
   6489 if ac_fn_c_try_link "$LINENO"; then :
   6490   eval $cacheid=yes
   6491 else
   6492   eval $cacheid=no
   6493 fi
   6494 rm -f core conftest.err conftest.$ac_objext \
   6495     conftest$ac_exeext conftest.$ac_ext
   6496 fi
   6497 
   6498 
   6499 		CFLAGS="$xorg_testset_save_CFLAGS"
   6500 
   6501 		eval supported=\$$cacheid
   6502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6503 $as_echo "$supported" >&6; }
   6504 		if test "$supported" = "yes" ; then
   6505 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6506 			found="yes"
   6507 		fi
   6508 	fi
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 xorg_testset_save_CFLAGS="$CFLAGS"
   6525 
   6526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6529 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6530 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6531   $as_echo_n "(cached) " >&6
   6532 else
   6533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6534 /* end confdefs.h.  */
   6535 int i;
   6536 _ACEOF
   6537 if ac_fn_c_try_compile "$LINENO"; then :
   6538   xorg_cv_cc_flag_unknown_warning_option=yes
   6539 else
   6540   xorg_cv_cc_flag_unknown_warning_option=no
   6541 fi
   6542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6543 fi
   6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6545 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6546 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6547 	CFLAGS="$xorg_testset_save_CFLAGS"
   6548 fi
   6549 
   6550 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6551 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6552 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6553 	fi
   6554 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6556 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6557 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6558   $as_echo_n "(cached) " >&6
   6559 else
   6560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6561 /* end confdefs.h.  */
   6562 int i;
   6563 _ACEOF
   6564 if ac_fn_c_try_compile "$LINENO"; then :
   6565   xorg_cv_cc_flag_unused_command_line_argument=yes
   6566 else
   6567   xorg_cv_cc_flag_unused_command_line_argument=no
   6568 fi
   6569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6570 fi
   6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6572 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6573 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6574 	CFLAGS="$xorg_testset_save_CFLAGS"
   6575 fi
   6576 
   6577 found="no"
   6578 
   6579 	if test $found = "no" ; then
   6580 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6581 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6582 		fi
   6583 
   6584 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6585 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6586 		fi
   6587 
   6588 		CFLAGS="$CFLAGS -Wredundant-decls"
   6589 
   6590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6591 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6592 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6593 		if eval \${$cacheid+:} false; then :
   6594   $as_echo_n "(cached) " >&6
   6595 else
   6596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6597 /* end confdefs.h.  */
   6598 int i;
   6599 int
   6600 main ()
   6601 {
   6602 
   6603   ;
   6604   return 0;
   6605 }
   6606 _ACEOF
   6607 if ac_fn_c_try_link "$LINENO"; then :
   6608   eval $cacheid=yes
   6609 else
   6610   eval $cacheid=no
   6611 fi
   6612 rm -f core conftest.err conftest.$ac_objext \
   6613     conftest$ac_exeext conftest.$ac_ext
   6614 fi
   6615 
   6616 
   6617 		CFLAGS="$xorg_testset_save_CFLAGS"
   6618 
   6619 		eval supported=\$$cacheid
   6620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6621 $as_echo "$supported" >&6; }
   6622 		if test "$supported" = "yes" ; then
   6623 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6624 			found="yes"
   6625 		fi
   6626 	fi
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 xorg_testset_save_CFLAGS="$CFLAGS"
   6643 
   6644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6647 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6648 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6649   $as_echo_n "(cached) " >&6
   6650 else
   6651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6652 /* end confdefs.h.  */
   6653 int i;
   6654 _ACEOF
   6655 if ac_fn_c_try_compile "$LINENO"; then :
   6656   xorg_cv_cc_flag_unknown_warning_option=yes
   6657 else
   6658   xorg_cv_cc_flag_unknown_warning_option=no
   6659 fi
   6660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6661 fi
   6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6663 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6664 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6665 	CFLAGS="$xorg_testset_save_CFLAGS"
   6666 fi
   6667 
   6668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6669 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6671 	fi
   6672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6674 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6675 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6676   $as_echo_n "(cached) " >&6
   6677 else
   6678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6679 /* end confdefs.h.  */
   6680 int i;
   6681 _ACEOF
   6682 if ac_fn_c_try_compile "$LINENO"; then :
   6683   xorg_cv_cc_flag_unused_command_line_argument=yes
   6684 else
   6685   xorg_cv_cc_flag_unused_command_line_argument=no
   6686 fi
   6687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6688 fi
   6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6690 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6692 	CFLAGS="$xorg_testset_save_CFLAGS"
   6693 fi
   6694 
   6695 found="no"
   6696 
   6697 	if test $found = "no" ; then
   6698 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6700 		fi
   6701 
   6702 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6704 		fi
   6705 
   6706 		CFLAGS="$CFLAGS -Wlogical-op"
   6707 
   6708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6709 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6710 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6711 		if eval \${$cacheid+:} false; then :
   6712   $as_echo_n "(cached) " >&6
   6713 else
   6714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6715 /* end confdefs.h.  */
   6716 int i;
   6717 int
   6718 main ()
   6719 {
   6720 
   6721   ;
   6722   return 0;
   6723 }
   6724 _ACEOF
   6725 if ac_fn_c_try_link "$LINENO"; then :
   6726   eval $cacheid=yes
   6727 else
   6728   eval $cacheid=no
   6729 fi
   6730 rm -f core conftest.err conftest.$ac_objext \
   6731     conftest$ac_exeext conftest.$ac_ext
   6732 fi
   6733 
   6734 
   6735 		CFLAGS="$xorg_testset_save_CFLAGS"
   6736 
   6737 		eval supported=\$$cacheid
   6738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6739 $as_echo "$supported" >&6; }
   6740 		if test "$supported" = "yes" ; then
   6741 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6742 			found="yes"
   6743 		fi
   6744 	fi
   6745 
   6746 
   6747 
   6748 # These are currently disabled because they are noisy.  They will be enabled
   6749 # in the future once the codebase is sufficiently modernized to silence
   6750 # them.  For now, I don't want them to drown out the other warnings.
   6751 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6752 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6753 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6754 
   6755 # Turn some warnings into errors, so we don't accidently get successful builds
   6756 # when there are problems that should be fixed.
   6757 
   6758 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 xorg_testset_save_CFLAGS="$CFLAGS"
   6773 
   6774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6777 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6778 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6779   $as_echo_n "(cached) " >&6
   6780 else
   6781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6782 /* end confdefs.h.  */
   6783 int i;
   6784 _ACEOF
   6785 if ac_fn_c_try_compile "$LINENO"; then :
   6786   xorg_cv_cc_flag_unknown_warning_option=yes
   6787 else
   6788   xorg_cv_cc_flag_unknown_warning_option=no
   6789 fi
   6790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6791 fi
   6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6793 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6795 	CFLAGS="$xorg_testset_save_CFLAGS"
   6796 fi
   6797 
   6798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6801 	fi
   6802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6804 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6805 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6806   $as_echo_n "(cached) " >&6
   6807 else
   6808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6809 /* end confdefs.h.  */
   6810 int i;
   6811 _ACEOF
   6812 if ac_fn_c_try_compile "$LINENO"; then :
   6813   xorg_cv_cc_flag_unused_command_line_argument=yes
   6814 else
   6815   xorg_cv_cc_flag_unused_command_line_argument=no
   6816 fi
   6817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6818 fi
   6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6820 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6822 	CFLAGS="$xorg_testset_save_CFLAGS"
   6823 fi
   6824 
   6825 found="no"
   6826 
   6827 	if test $found = "no" ; then
   6828 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6830 		fi
   6831 
   6832 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6834 		fi
   6835 
   6836 		CFLAGS="$CFLAGS -Werror=implicit"
   6837 
   6838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6839 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6840 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6841 		if eval \${$cacheid+:} false; then :
   6842   $as_echo_n "(cached) " >&6
   6843 else
   6844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6845 /* end confdefs.h.  */
   6846 int i;
   6847 int
   6848 main ()
   6849 {
   6850 
   6851   ;
   6852   return 0;
   6853 }
   6854 _ACEOF
   6855 if ac_fn_c_try_link "$LINENO"; then :
   6856   eval $cacheid=yes
   6857 else
   6858   eval $cacheid=no
   6859 fi
   6860 rm -f core conftest.err conftest.$ac_objext \
   6861     conftest$ac_exeext conftest.$ac_ext
   6862 fi
   6863 
   6864 
   6865 		CFLAGS="$xorg_testset_save_CFLAGS"
   6866 
   6867 		eval supported=\$$cacheid
   6868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6869 $as_echo "$supported" >&6; }
   6870 		if test "$supported" = "yes" ; then
   6871 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6872 			found="yes"
   6873 		fi
   6874 	fi
   6875 
   6876 	if test $found = "no" ; then
   6877 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6879 		fi
   6880 
   6881 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6883 		fi
   6884 
   6885 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6886 
   6887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6888 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6889 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6890 		if eval \${$cacheid+:} false; then :
   6891   $as_echo_n "(cached) " >&6
   6892 else
   6893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6894 /* end confdefs.h.  */
   6895 int i;
   6896 int
   6897 main ()
   6898 {
   6899 
   6900   ;
   6901   return 0;
   6902 }
   6903 _ACEOF
   6904 if ac_fn_c_try_link "$LINENO"; then :
   6905   eval $cacheid=yes
   6906 else
   6907   eval $cacheid=no
   6908 fi
   6909 rm -f core conftest.err conftest.$ac_objext \
   6910     conftest$ac_exeext conftest.$ac_ext
   6911 fi
   6912 
   6913 
   6914 		CFLAGS="$xorg_testset_save_CFLAGS"
   6915 
   6916 		eval supported=\$$cacheid
   6917 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6918 $as_echo "$supported" >&6; }
   6919 		if test "$supported" = "yes" ; then
   6920 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6921 			found="yes"
   6922 		fi
   6923 	fi
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 xorg_testset_save_CFLAGS="$CFLAGS"
   6940 
   6941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6944 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6945 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6946   $as_echo_n "(cached) " >&6
   6947 else
   6948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6949 /* end confdefs.h.  */
   6950 int i;
   6951 _ACEOF
   6952 if ac_fn_c_try_compile "$LINENO"; then :
   6953   xorg_cv_cc_flag_unknown_warning_option=yes
   6954 else
   6955   xorg_cv_cc_flag_unknown_warning_option=no
   6956 fi
   6957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6958 fi
   6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6960 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6962 	CFLAGS="$xorg_testset_save_CFLAGS"
   6963 fi
   6964 
   6965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6968 	fi
   6969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6971 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6972 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6973   $as_echo_n "(cached) " >&6
   6974 else
   6975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6976 /* end confdefs.h.  */
   6977 int i;
   6978 _ACEOF
   6979 if ac_fn_c_try_compile "$LINENO"; then :
   6980   xorg_cv_cc_flag_unused_command_line_argument=yes
   6981 else
   6982   xorg_cv_cc_flag_unused_command_line_argument=no
   6983 fi
   6984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6985 fi
   6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6987 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6989 	CFLAGS="$xorg_testset_save_CFLAGS"
   6990 fi
   6991 
   6992 found="no"
   6993 
   6994 	if test $found = "no" ; then
   6995 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6997 		fi
   6998 
   6999 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7001 		fi
   7002 
   7003 		CFLAGS="$CFLAGS -Werror=nonnull"
   7004 
   7005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7006 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7007 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7008 		if eval \${$cacheid+:} false; then :
   7009   $as_echo_n "(cached) " >&6
   7010 else
   7011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7012 /* end confdefs.h.  */
   7013 int i;
   7014 int
   7015 main ()
   7016 {
   7017 
   7018   ;
   7019   return 0;
   7020 }
   7021 _ACEOF
   7022 if ac_fn_c_try_link "$LINENO"; then :
   7023   eval $cacheid=yes
   7024 else
   7025   eval $cacheid=no
   7026 fi
   7027 rm -f core conftest.err conftest.$ac_objext \
   7028     conftest$ac_exeext conftest.$ac_ext
   7029 fi
   7030 
   7031 
   7032 		CFLAGS="$xorg_testset_save_CFLAGS"
   7033 
   7034 		eval supported=\$$cacheid
   7035 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7036 $as_echo "$supported" >&6; }
   7037 		if test "$supported" = "yes" ; then
   7038 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7039 			found="yes"
   7040 		fi
   7041 	fi
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 xorg_testset_save_CFLAGS="$CFLAGS"
   7058 
   7059 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7062 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7063 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7064   $as_echo_n "(cached) " >&6
   7065 else
   7066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7067 /* end confdefs.h.  */
   7068 int i;
   7069 _ACEOF
   7070 if ac_fn_c_try_compile "$LINENO"; then :
   7071   xorg_cv_cc_flag_unknown_warning_option=yes
   7072 else
   7073   xorg_cv_cc_flag_unknown_warning_option=no
   7074 fi
   7075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7076 fi
   7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7078 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7079 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7080 	CFLAGS="$xorg_testset_save_CFLAGS"
   7081 fi
   7082 
   7083 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7084 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7085 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7086 	fi
   7087 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7089 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7090 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7091   $as_echo_n "(cached) " >&6
   7092 else
   7093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7094 /* end confdefs.h.  */
   7095 int i;
   7096 _ACEOF
   7097 if ac_fn_c_try_compile "$LINENO"; then :
   7098   xorg_cv_cc_flag_unused_command_line_argument=yes
   7099 else
   7100   xorg_cv_cc_flag_unused_command_line_argument=no
   7101 fi
   7102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7103 fi
   7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7105 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7106 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7107 	CFLAGS="$xorg_testset_save_CFLAGS"
   7108 fi
   7109 
   7110 found="no"
   7111 
   7112 	if test $found = "no" ; then
   7113 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7115 		fi
   7116 
   7117 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7119 		fi
   7120 
   7121 		CFLAGS="$CFLAGS -Werror=init-self"
   7122 
   7123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7124 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7125 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7126 		if eval \${$cacheid+:} false; then :
   7127   $as_echo_n "(cached) " >&6
   7128 else
   7129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7130 /* end confdefs.h.  */
   7131 int i;
   7132 int
   7133 main ()
   7134 {
   7135 
   7136   ;
   7137   return 0;
   7138 }
   7139 _ACEOF
   7140 if ac_fn_c_try_link "$LINENO"; then :
   7141   eval $cacheid=yes
   7142 else
   7143   eval $cacheid=no
   7144 fi
   7145 rm -f core conftest.err conftest.$ac_objext \
   7146     conftest$ac_exeext conftest.$ac_ext
   7147 fi
   7148 
   7149 
   7150 		CFLAGS="$xorg_testset_save_CFLAGS"
   7151 
   7152 		eval supported=\$$cacheid
   7153 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7154 $as_echo "$supported" >&6; }
   7155 		if test "$supported" = "yes" ; then
   7156 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7157 			found="yes"
   7158 		fi
   7159 	fi
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 xorg_testset_save_CFLAGS="$CFLAGS"
   7176 
   7177 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7178 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7180 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7181 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7182   $as_echo_n "(cached) " >&6
   7183 else
   7184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7185 /* end confdefs.h.  */
   7186 int i;
   7187 _ACEOF
   7188 if ac_fn_c_try_compile "$LINENO"; then :
   7189   xorg_cv_cc_flag_unknown_warning_option=yes
   7190 else
   7191   xorg_cv_cc_flag_unknown_warning_option=no
   7192 fi
   7193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7194 fi
   7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7196 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7198 	CFLAGS="$xorg_testset_save_CFLAGS"
   7199 fi
   7200 
   7201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7204 	fi
   7205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7207 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7208 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7209   $as_echo_n "(cached) " >&6
   7210 else
   7211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7212 /* end confdefs.h.  */
   7213 int i;
   7214 _ACEOF
   7215 if ac_fn_c_try_compile "$LINENO"; then :
   7216   xorg_cv_cc_flag_unused_command_line_argument=yes
   7217 else
   7218   xorg_cv_cc_flag_unused_command_line_argument=no
   7219 fi
   7220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7221 fi
   7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7223 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7224 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7225 	CFLAGS="$xorg_testset_save_CFLAGS"
   7226 fi
   7227 
   7228 found="no"
   7229 
   7230 	if test $found = "no" ; then
   7231 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7233 		fi
   7234 
   7235 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7237 		fi
   7238 
   7239 		CFLAGS="$CFLAGS -Werror=main"
   7240 
   7241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7242 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7243 		cacheid=xorg_cv_cc_flag__Werror_main
   7244 		if eval \${$cacheid+:} false; then :
   7245   $as_echo_n "(cached) " >&6
   7246 else
   7247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7248 /* end confdefs.h.  */
   7249 int i;
   7250 int
   7251 main ()
   7252 {
   7253 
   7254   ;
   7255   return 0;
   7256 }
   7257 _ACEOF
   7258 if ac_fn_c_try_link "$LINENO"; then :
   7259   eval $cacheid=yes
   7260 else
   7261   eval $cacheid=no
   7262 fi
   7263 rm -f core conftest.err conftest.$ac_objext \
   7264     conftest$ac_exeext conftest.$ac_ext
   7265 fi
   7266 
   7267 
   7268 		CFLAGS="$xorg_testset_save_CFLAGS"
   7269 
   7270 		eval supported=\$$cacheid
   7271 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7272 $as_echo "$supported" >&6; }
   7273 		if test "$supported" = "yes" ; then
   7274 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7275 			found="yes"
   7276 		fi
   7277 	fi
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 xorg_testset_save_CFLAGS="$CFLAGS"
   7294 
   7295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7298 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7299 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7300   $as_echo_n "(cached) " >&6
   7301 else
   7302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7303 /* end confdefs.h.  */
   7304 int i;
   7305 _ACEOF
   7306 if ac_fn_c_try_compile "$LINENO"; then :
   7307   xorg_cv_cc_flag_unknown_warning_option=yes
   7308 else
   7309   xorg_cv_cc_flag_unknown_warning_option=no
   7310 fi
   7311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7312 fi
   7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7314 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7315 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7316 	CFLAGS="$xorg_testset_save_CFLAGS"
   7317 fi
   7318 
   7319 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7320 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7321 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7322 	fi
   7323 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7325 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7326 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7327   $as_echo_n "(cached) " >&6
   7328 else
   7329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7330 /* end confdefs.h.  */
   7331 int i;
   7332 _ACEOF
   7333 if ac_fn_c_try_compile "$LINENO"; then :
   7334   xorg_cv_cc_flag_unused_command_line_argument=yes
   7335 else
   7336   xorg_cv_cc_flag_unused_command_line_argument=no
   7337 fi
   7338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7339 fi
   7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7341 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7343 	CFLAGS="$xorg_testset_save_CFLAGS"
   7344 fi
   7345 
   7346 found="no"
   7347 
   7348 	if test $found = "no" ; then
   7349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7351 		fi
   7352 
   7353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7355 		fi
   7356 
   7357 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7358 
   7359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7360 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7361 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7362 		if eval \${$cacheid+:} false; then :
   7363   $as_echo_n "(cached) " >&6
   7364 else
   7365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7366 /* end confdefs.h.  */
   7367 int i;
   7368 int
   7369 main ()
   7370 {
   7371 
   7372   ;
   7373   return 0;
   7374 }
   7375 _ACEOF
   7376 if ac_fn_c_try_link "$LINENO"; then :
   7377   eval $cacheid=yes
   7378 else
   7379   eval $cacheid=no
   7380 fi
   7381 rm -f core conftest.err conftest.$ac_objext \
   7382     conftest$ac_exeext conftest.$ac_ext
   7383 fi
   7384 
   7385 
   7386 		CFLAGS="$xorg_testset_save_CFLAGS"
   7387 
   7388 		eval supported=\$$cacheid
   7389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7390 $as_echo "$supported" >&6; }
   7391 		if test "$supported" = "yes" ; then
   7392 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7393 			found="yes"
   7394 		fi
   7395 	fi
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 xorg_testset_save_CFLAGS="$CFLAGS"
   7412 
   7413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7416 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7417 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7418   $as_echo_n "(cached) " >&6
   7419 else
   7420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7421 /* end confdefs.h.  */
   7422 int i;
   7423 _ACEOF
   7424 if ac_fn_c_try_compile "$LINENO"; then :
   7425   xorg_cv_cc_flag_unknown_warning_option=yes
   7426 else
   7427   xorg_cv_cc_flag_unknown_warning_option=no
   7428 fi
   7429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7430 fi
   7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7432 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7434 	CFLAGS="$xorg_testset_save_CFLAGS"
   7435 fi
   7436 
   7437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7440 	fi
   7441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7443 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7444 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7445   $as_echo_n "(cached) " >&6
   7446 else
   7447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7448 /* end confdefs.h.  */
   7449 int i;
   7450 _ACEOF
   7451 if ac_fn_c_try_compile "$LINENO"; then :
   7452   xorg_cv_cc_flag_unused_command_line_argument=yes
   7453 else
   7454   xorg_cv_cc_flag_unused_command_line_argument=no
   7455 fi
   7456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7457 fi
   7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7459 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7461 	CFLAGS="$xorg_testset_save_CFLAGS"
   7462 fi
   7463 
   7464 found="no"
   7465 
   7466 	if test $found = "no" ; then
   7467 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7469 		fi
   7470 
   7471 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7473 		fi
   7474 
   7475 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7476 
   7477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7478 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7479 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7480 		if eval \${$cacheid+:} false; then :
   7481   $as_echo_n "(cached) " >&6
   7482 else
   7483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7484 /* end confdefs.h.  */
   7485 int i;
   7486 int
   7487 main ()
   7488 {
   7489 
   7490   ;
   7491   return 0;
   7492 }
   7493 _ACEOF
   7494 if ac_fn_c_try_link "$LINENO"; then :
   7495   eval $cacheid=yes
   7496 else
   7497   eval $cacheid=no
   7498 fi
   7499 rm -f core conftest.err conftest.$ac_objext \
   7500     conftest$ac_exeext conftest.$ac_ext
   7501 fi
   7502 
   7503 
   7504 		CFLAGS="$xorg_testset_save_CFLAGS"
   7505 
   7506 		eval supported=\$$cacheid
   7507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7508 $as_echo "$supported" >&6; }
   7509 		if test "$supported" = "yes" ; then
   7510 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7511 			found="yes"
   7512 		fi
   7513 	fi
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 xorg_testset_save_CFLAGS="$CFLAGS"
   7530 
   7531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7534 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7535 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7536   $as_echo_n "(cached) " >&6
   7537 else
   7538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7539 /* end confdefs.h.  */
   7540 int i;
   7541 _ACEOF
   7542 if ac_fn_c_try_compile "$LINENO"; then :
   7543   xorg_cv_cc_flag_unknown_warning_option=yes
   7544 else
   7545   xorg_cv_cc_flag_unknown_warning_option=no
   7546 fi
   7547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7548 fi
   7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7550 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7552 	CFLAGS="$xorg_testset_save_CFLAGS"
   7553 fi
   7554 
   7555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7558 	fi
   7559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7561 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7562 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7563   $as_echo_n "(cached) " >&6
   7564 else
   7565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7566 /* end confdefs.h.  */
   7567 int i;
   7568 _ACEOF
   7569 if ac_fn_c_try_compile "$LINENO"; then :
   7570   xorg_cv_cc_flag_unused_command_line_argument=yes
   7571 else
   7572   xorg_cv_cc_flag_unused_command_line_argument=no
   7573 fi
   7574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7575 fi
   7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7577 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7579 	CFLAGS="$xorg_testset_save_CFLAGS"
   7580 fi
   7581 
   7582 found="no"
   7583 
   7584 	if test $found = "no" ; then
   7585 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7587 		fi
   7588 
   7589 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7591 		fi
   7592 
   7593 		CFLAGS="$CFLAGS -Werror=return-type"
   7594 
   7595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7596 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7597 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7598 		if eval \${$cacheid+:} false; then :
   7599   $as_echo_n "(cached) " >&6
   7600 else
   7601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7602 /* end confdefs.h.  */
   7603 int i;
   7604 int
   7605 main ()
   7606 {
   7607 
   7608   ;
   7609   return 0;
   7610 }
   7611 _ACEOF
   7612 if ac_fn_c_try_link "$LINENO"; then :
   7613   eval $cacheid=yes
   7614 else
   7615   eval $cacheid=no
   7616 fi
   7617 rm -f core conftest.err conftest.$ac_objext \
   7618     conftest$ac_exeext conftest.$ac_ext
   7619 fi
   7620 
   7621 
   7622 		CFLAGS="$xorg_testset_save_CFLAGS"
   7623 
   7624 		eval supported=\$$cacheid
   7625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7626 $as_echo "$supported" >&6; }
   7627 		if test "$supported" = "yes" ; then
   7628 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7629 			found="yes"
   7630 		fi
   7631 	fi
   7632 
   7633 	if test $found = "no" ; then
   7634 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7636 		fi
   7637 
   7638 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7640 		fi
   7641 
   7642 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7643 
   7644 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7645 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7646 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7647 		if eval \${$cacheid+:} false; then :
   7648   $as_echo_n "(cached) " >&6
   7649 else
   7650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7651 /* end confdefs.h.  */
   7652 int i;
   7653 int
   7654 main ()
   7655 {
   7656 
   7657   ;
   7658   return 0;
   7659 }
   7660 _ACEOF
   7661 if ac_fn_c_try_link "$LINENO"; then :
   7662   eval $cacheid=yes
   7663 else
   7664   eval $cacheid=no
   7665 fi
   7666 rm -f core conftest.err conftest.$ac_objext \
   7667     conftest$ac_exeext conftest.$ac_ext
   7668 fi
   7669 
   7670 
   7671 		CFLAGS="$xorg_testset_save_CFLAGS"
   7672 
   7673 		eval supported=\$$cacheid
   7674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7675 $as_echo "$supported" >&6; }
   7676 		if test "$supported" = "yes" ; then
   7677 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7678 			found="yes"
   7679 		fi
   7680 	fi
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 xorg_testset_save_CFLAGS="$CFLAGS"
   7697 
   7698 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7701 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7702 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7703   $as_echo_n "(cached) " >&6
   7704 else
   7705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7706 /* end confdefs.h.  */
   7707 int i;
   7708 _ACEOF
   7709 if ac_fn_c_try_compile "$LINENO"; then :
   7710   xorg_cv_cc_flag_unknown_warning_option=yes
   7711 else
   7712   xorg_cv_cc_flag_unknown_warning_option=no
   7713 fi
   7714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7715 fi
   7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7717 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7718 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7719 	CFLAGS="$xorg_testset_save_CFLAGS"
   7720 fi
   7721 
   7722 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7723 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7725 	fi
   7726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7728 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7729 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7730   $as_echo_n "(cached) " >&6
   7731 else
   7732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7733 /* end confdefs.h.  */
   7734 int i;
   7735 _ACEOF
   7736 if ac_fn_c_try_compile "$LINENO"; then :
   7737   xorg_cv_cc_flag_unused_command_line_argument=yes
   7738 else
   7739   xorg_cv_cc_flag_unused_command_line_argument=no
   7740 fi
   7741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7742 fi
   7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7744 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7746 	CFLAGS="$xorg_testset_save_CFLAGS"
   7747 fi
   7748 
   7749 found="no"
   7750 
   7751 	if test $found = "no" ; then
   7752 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7754 		fi
   7755 
   7756 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7758 		fi
   7759 
   7760 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7761 
   7762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7763 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7764 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7765 		if eval \${$cacheid+:} false; then :
   7766   $as_echo_n "(cached) " >&6
   7767 else
   7768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7769 /* end confdefs.h.  */
   7770 int i;
   7771 int
   7772 main ()
   7773 {
   7774 
   7775   ;
   7776   return 0;
   7777 }
   7778 _ACEOF
   7779 if ac_fn_c_try_link "$LINENO"; then :
   7780   eval $cacheid=yes
   7781 else
   7782   eval $cacheid=no
   7783 fi
   7784 rm -f core conftest.err conftest.$ac_objext \
   7785     conftest$ac_exeext conftest.$ac_ext
   7786 fi
   7787 
   7788 
   7789 		CFLAGS="$xorg_testset_save_CFLAGS"
   7790 
   7791 		eval supported=\$$cacheid
   7792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7793 $as_echo "$supported" >&6; }
   7794 		if test "$supported" = "yes" ; then
   7795 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7796 			found="yes"
   7797 		fi
   7798 	fi
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 xorg_testset_save_CFLAGS="$CFLAGS"
   7815 
   7816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7819 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7820 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7821   $as_echo_n "(cached) " >&6
   7822 else
   7823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7824 /* end confdefs.h.  */
   7825 int i;
   7826 _ACEOF
   7827 if ac_fn_c_try_compile "$LINENO"; then :
   7828   xorg_cv_cc_flag_unknown_warning_option=yes
   7829 else
   7830   xorg_cv_cc_flag_unknown_warning_option=no
   7831 fi
   7832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7833 fi
   7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7835 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7837 	CFLAGS="$xorg_testset_save_CFLAGS"
   7838 fi
   7839 
   7840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7843 	fi
   7844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7846 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7847 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7848   $as_echo_n "(cached) " >&6
   7849 else
   7850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7851 /* end confdefs.h.  */
   7852 int i;
   7853 _ACEOF
   7854 if ac_fn_c_try_compile "$LINENO"; then :
   7855   xorg_cv_cc_flag_unused_command_line_argument=yes
   7856 else
   7857   xorg_cv_cc_flag_unused_command_line_argument=no
   7858 fi
   7859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7860 fi
   7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7862 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7864 	CFLAGS="$xorg_testset_save_CFLAGS"
   7865 fi
   7866 
   7867 found="no"
   7868 
   7869 	if test $found = "no" ; then
   7870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7872 		fi
   7873 
   7874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7876 		fi
   7877 
   7878 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7879 
   7880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7881 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7882 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7883 		if eval \${$cacheid+:} false; then :
   7884   $as_echo_n "(cached) " >&6
   7885 else
   7886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7887 /* end confdefs.h.  */
   7888 int i;
   7889 int
   7890 main ()
   7891 {
   7892 
   7893   ;
   7894   return 0;
   7895 }
   7896 _ACEOF
   7897 if ac_fn_c_try_link "$LINENO"; then :
   7898   eval $cacheid=yes
   7899 else
   7900   eval $cacheid=no
   7901 fi
   7902 rm -f core conftest.err conftest.$ac_objext \
   7903     conftest$ac_exeext conftest.$ac_ext
   7904 fi
   7905 
   7906 
   7907 		CFLAGS="$xorg_testset_save_CFLAGS"
   7908 
   7909 		eval supported=\$$cacheid
   7910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7911 $as_echo "$supported" >&6; }
   7912 		if test "$supported" = "yes" ; then
   7913 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7914 			found="yes"
   7915 		fi
   7916 	fi
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 xorg_testset_save_CFLAGS="$CFLAGS"
   7933 
   7934 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7935 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7937 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7938 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7939   $as_echo_n "(cached) " >&6
   7940 else
   7941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7942 /* end confdefs.h.  */
   7943 int i;
   7944 _ACEOF
   7945 if ac_fn_c_try_compile "$LINENO"; then :
   7946   xorg_cv_cc_flag_unknown_warning_option=yes
   7947 else
   7948   xorg_cv_cc_flag_unknown_warning_option=no
   7949 fi
   7950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7951 fi
   7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7953 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7955 	CFLAGS="$xorg_testset_save_CFLAGS"
   7956 fi
   7957 
   7958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7961 	fi
   7962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7964 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7965 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7966   $as_echo_n "(cached) " >&6
   7967 else
   7968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7969 /* end confdefs.h.  */
   7970 int i;
   7971 _ACEOF
   7972 if ac_fn_c_try_compile "$LINENO"; then :
   7973   xorg_cv_cc_flag_unused_command_line_argument=yes
   7974 else
   7975   xorg_cv_cc_flag_unused_command_line_argument=no
   7976 fi
   7977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7978 fi
   7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7980 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7981 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7982 	CFLAGS="$xorg_testset_save_CFLAGS"
   7983 fi
   7984 
   7985 found="no"
   7986 
   7987 	if test $found = "no" ; then
   7988 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7990 		fi
   7991 
   7992 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7994 		fi
   7995 
   7996 		CFLAGS="$CFLAGS -Werror=write-strings"
   7997 
   7998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7999 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8000 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8001 		if eval \${$cacheid+:} false; then :
   8002   $as_echo_n "(cached) " >&6
   8003 else
   8004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8005 /* end confdefs.h.  */
   8006 int i;
   8007 int
   8008 main ()
   8009 {
   8010 
   8011   ;
   8012   return 0;
   8013 }
   8014 _ACEOF
   8015 if ac_fn_c_try_link "$LINENO"; then :
   8016   eval $cacheid=yes
   8017 else
   8018   eval $cacheid=no
   8019 fi
   8020 rm -f core conftest.err conftest.$ac_objext \
   8021     conftest$ac_exeext conftest.$ac_ext
   8022 fi
   8023 
   8024 
   8025 		CFLAGS="$xorg_testset_save_CFLAGS"
   8026 
   8027 		eval supported=\$$cacheid
   8028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8029 $as_echo "$supported" >&6; }
   8030 		if test "$supported" = "yes" ; then
   8031 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8032 			found="yes"
   8033 		fi
   8034 	fi
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 xorg_testset_save_CFLAGS="$CFLAGS"
   8051 
   8052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8055 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8056 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8057   $as_echo_n "(cached) " >&6
   8058 else
   8059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8060 /* end confdefs.h.  */
   8061 int i;
   8062 _ACEOF
   8063 if ac_fn_c_try_compile "$LINENO"; then :
   8064   xorg_cv_cc_flag_unknown_warning_option=yes
   8065 else
   8066   xorg_cv_cc_flag_unknown_warning_option=no
   8067 fi
   8068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8069 fi
   8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8071 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8072 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8073 	CFLAGS="$xorg_testset_save_CFLAGS"
   8074 fi
   8075 
   8076 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8077 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8079 	fi
   8080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8082 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8083 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8084   $as_echo_n "(cached) " >&6
   8085 else
   8086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8087 /* end confdefs.h.  */
   8088 int i;
   8089 _ACEOF
   8090 if ac_fn_c_try_compile "$LINENO"; then :
   8091   xorg_cv_cc_flag_unused_command_line_argument=yes
   8092 else
   8093   xorg_cv_cc_flag_unused_command_line_argument=no
   8094 fi
   8095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8096 fi
   8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8098 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8099 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8100 	CFLAGS="$xorg_testset_save_CFLAGS"
   8101 fi
   8102 
   8103 found="no"
   8104 
   8105 	if test $found = "no" ; then
   8106 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8108 		fi
   8109 
   8110 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8112 		fi
   8113 
   8114 		CFLAGS="$CFLAGS -Werror=address"
   8115 
   8116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8117 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8118 		cacheid=xorg_cv_cc_flag__Werror_address
   8119 		if eval \${$cacheid+:} false; then :
   8120   $as_echo_n "(cached) " >&6
   8121 else
   8122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8123 /* end confdefs.h.  */
   8124 int i;
   8125 int
   8126 main ()
   8127 {
   8128 
   8129   ;
   8130   return 0;
   8131 }
   8132 _ACEOF
   8133 if ac_fn_c_try_link "$LINENO"; then :
   8134   eval $cacheid=yes
   8135 else
   8136   eval $cacheid=no
   8137 fi
   8138 rm -f core conftest.err conftest.$ac_objext \
   8139     conftest$ac_exeext conftest.$ac_ext
   8140 fi
   8141 
   8142 
   8143 		CFLAGS="$xorg_testset_save_CFLAGS"
   8144 
   8145 		eval supported=\$$cacheid
   8146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8147 $as_echo "$supported" >&6; }
   8148 		if test "$supported" = "yes" ; then
   8149 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8150 			found="yes"
   8151 		fi
   8152 	fi
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 xorg_testset_save_CFLAGS="$CFLAGS"
   8169 
   8170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8173 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8174 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8175   $as_echo_n "(cached) " >&6
   8176 else
   8177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8178 /* end confdefs.h.  */
   8179 int i;
   8180 _ACEOF
   8181 if ac_fn_c_try_compile "$LINENO"; then :
   8182   xorg_cv_cc_flag_unknown_warning_option=yes
   8183 else
   8184   xorg_cv_cc_flag_unknown_warning_option=no
   8185 fi
   8186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8187 fi
   8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8189 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8191 	CFLAGS="$xorg_testset_save_CFLAGS"
   8192 fi
   8193 
   8194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8197 	fi
   8198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8200 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8201 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8202   $as_echo_n "(cached) " >&6
   8203 else
   8204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8205 /* end confdefs.h.  */
   8206 int i;
   8207 _ACEOF
   8208 if ac_fn_c_try_compile "$LINENO"; then :
   8209   xorg_cv_cc_flag_unused_command_line_argument=yes
   8210 else
   8211   xorg_cv_cc_flag_unused_command_line_argument=no
   8212 fi
   8213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8214 fi
   8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8216 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8218 	CFLAGS="$xorg_testset_save_CFLAGS"
   8219 fi
   8220 
   8221 found="no"
   8222 
   8223 	if test $found = "no" ; then
   8224 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8226 		fi
   8227 
   8228 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8230 		fi
   8231 
   8232 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8233 
   8234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8235 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8236 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8237 		if eval \${$cacheid+:} false; then :
   8238   $as_echo_n "(cached) " >&6
   8239 else
   8240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8241 /* end confdefs.h.  */
   8242 int i;
   8243 int
   8244 main ()
   8245 {
   8246 
   8247   ;
   8248   return 0;
   8249 }
   8250 _ACEOF
   8251 if ac_fn_c_try_link "$LINENO"; then :
   8252   eval $cacheid=yes
   8253 else
   8254   eval $cacheid=no
   8255 fi
   8256 rm -f core conftest.err conftest.$ac_objext \
   8257     conftest$ac_exeext conftest.$ac_ext
   8258 fi
   8259 
   8260 
   8261 		CFLAGS="$xorg_testset_save_CFLAGS"
   8262 
   8263 		eval supported=\$$cacheid
   8264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8265 $as_echo "$supported" >&6; }
   8266 		if test "$supported" = "yes" ; then
   8267 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8268 			found="yes"
   8269 		fi
   8270 	fi
   8271 
   8272 	if test $found = "no" ; then
   8273 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8275 		fi
   8276 
   8277 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8279 		fi
   8280 
   8281 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8282 
   8283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8284 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8285 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8286 		if eval \${$cacheid+:} false; then :
   8287   $as_echo_n "(cached) " >&6
   8288 else
   8289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8290 /* end confdefs.h.  */
   8291 int i;
   8292 int
   8293 main ()
   8294 {
   8295 
   8296   ;
   8297   return 0;
   8298 }
   8299 _ACEOF
   8300 if ac_fn_c_try_link "$LINENO"; then :
   8301   eval $cacheid=yes
   8302 else
   8303   eval $cacheid=no
   8304 fi
   8305 rm -f core conftest.err conftest.$ac_objext \
   8306     conftest$ac_exeext conftest.$ac_ext
   8307 fi
   8308 
   8309 
   8310 		CFLAGS="$xorg_testset_save_CFLAGS"
   8311 
   8312 		eval supported=\$$cacheid
   8313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8314 $as_echo "$supported" >&6; }
   8315 		if test "$supported" = "yes" ; then
   8316 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8317 			found="yes"
   8318 		fi
   8319 	fi
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 xorg_testset_save_CFLAGS="$CFLAGS"
   8336 
   8337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8340 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8341 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8342   $as_echo_n "(cached) " >&6
   8343 else
   8344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8345 /* end confdefs.h.  */
   8346 int i;
   8347 _ACEOF
   8348 if ac_fn_c_try_compile "$LINENO"; then :
   8349   xorg_cv_cc_flag_unknown_warning_option=yes
   8350 else
   8351   xorg_cv_cc_flag_unknown_warning_option=no
   8352 fi
   8353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8354 fi
   8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8356 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8357 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8358 	CFLAGS="$xorg_testset_save_CFLAGS"
   8359 fi
   8360 
   8361 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8362 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8364 	fi
   8365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8367 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8368 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8369   $as_echo_n "(cached) " >&6
   8370 else
   8371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8372 /* end confdefs.h.  */
   8373 int i;
   8374 _ACEOF
   8375 if ac_fn_c_try_compile "$LINENO"; then :
   8376   xorg_cv_cc_flag_unused_command_line_argument=yes
   8377 else
   8378   xorg_cv_cc_flag_unused_command_line_argument=no
   8379 fi
   8380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8381 fi
   8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8383 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8384 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8385 	CFLAGS="$xorg_testset_save_CFLAGS"
   8386 fi
   8387 
   8388 found="no"
   8389 
   8390 	if test $found = "no" ; then
   8391 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8392 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8393 		fi
   8394 
   8395 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8396 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8397 		fi
   8398 
   8399 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8400 
   8401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8402 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8403 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8404 		if eval \${$cacheid+:} false; then :
   8405   $as_echo_n "(cached) " >&6
   8406 else
   8407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8408 /* end confdefs.h.  */
   8409 int i;
   8410 int
   8411 main ()
   8412 {
   8413 
   8414   ;
   8415   return 0;
   8416 }
   8417 _ACEOF
   8418 if ac_fn_c_try_link "$LINENO"; then :
   8419   eval $cacheid=yes
   8420 else
   8421   eval $cacheid=no
   8422 fi
   8423 rm -f core conftest.err conftest.$ac_objext \
   8424     conftest$ac_exeext conftest.$ac_ext
   8425 fi
   8426 
   8427 
   8428 		CFLAGS="$xorg_testset_save_CFLAGS"
   8429 
   8430 		eval supported=\$$cacheid
   8431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8432 $as_echo "$supported" >&6; }
   8433 		if test "$supported" = "yes" ; then
   8434 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8435 			found="yes"
   8436 		fi
   8437 	fi
   8438 
   8439  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8440 else
   8441 { $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
   8442 $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;}
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 xorg_testset_save_CFLAGS="$CFLAGS"
   8457 
   8458 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8459 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8461 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8462 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8463   $as_echo_n "(cached) " >&6
   8464 else
   8465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8466 /* end confdefs.h.  */
   8467 int i;
   8468 _ACEOF
   8469 if ac_fn_c_try_compile "$LINENO"; then :
   8470   xorg_cv_cc_flag_unknown_warning_option=yes
   8471 else
   8472   xorg_cv_cc_flag_unknown_warning_option=no
   8473 fi
   8474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8475 fi
   8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8477 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8478 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8479 	CFLAGS="$xorg_testset_save_CFLAGS"
   8480 fi
   8481 
   8482 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8483 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8484 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8485 	fi
   8486 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8488 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8489 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8490   $as_echo_n "(cached) " >&6
   8491 else
   8492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8493 /* end confdefs.h.  */
   8494 int i;
   8495 _ACEOF
   8496 if ac_fn_c_try_compile "$LINENO"; then :
   8497   xorg_cv_cc_flag_unused_command_line_argument=yes
   8498 else
   8499   xorg_cv_cc_flag_unused_command_line_argument=no
   8500 fi
   8501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8502 fi
   8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8504 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8505 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8506 	CFLAGS="$xorg_testset_save_CFLAGS"
   8507 fi
   8508 
   8509 found="no"
   8510 
   8511 	if test $found = "no" ; then
   8512 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8513 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8514 		fi
   8515 
   8516 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8517 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8518 		fi
   8519 
   8520 		CFLAGS="$CFLAGS -Wimplicit"
   8521 
   8522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8523 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8524 		cacheid=xorg_cv_cc_flag__Wimplicit
   8525 		if eval \${$cacheid+:} false; then :
   8526   $as_echo_n "(cached) " >&6
   8527 else
   8528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8529 /* end confdefs.h.  */
   8530 int i;
   8531 int
   8532 main ()
   8533 {
   8534 
   8535   ;
   8536   return 0;
   8537 }
   8538 _ACEOF
   8539 if ac_fn_c_try_link "$LINENO"; then :
   8540   eval $cacheid=yes
   8541 else
   8542   eval $cacheid=no
   8543 fi
   8544 rm -f core conftest.err conftest.$ac_objext \
   8545     conftest$ac_exeext conftest.$ac_ext
   8546 fi
   8547 
   8548 
   8549 		CFLAGS="$xorg_testset_save_CFLAGS"
   8550 
   8551 		eval supported=\$$cacheid
   8552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8553 $as_echo "$supported" >&6; }
   8554 		if test "$supported" = "yes" ; then
   8555 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8556 			found="yes"
   8557 		fi
   8558 	fi
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 xorg_testset_save_CFLAGS="$CFLAGS"
   8575 
   8576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8579 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8580 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8581   $as_echo_n "(cached) " >&6
   8582 else
   8583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8584 /* end confdefs.h.  */
   8585 int i;
   8586 _ACEOF
   8587 if ac_fn_c_try_compile "$LINENO"; then :
   8588   xorg_cv_cc_flag_unknown_warning_option=yes
   8589 else
   8590   xorg_cv_cc_flag_unknown_warning_option=no
   8591 fi
   8592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8593 fi
   8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8595 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8597 	CFLAGS="$xorg_testset_save_CFLAGS"
   8598 fi
   8599 
   8600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8603 	fi
   8604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8606 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8607 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8608   $as_echo_n "(cached) " >&6
   8609 else
   8610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8611 /* end confdefs.h.  */
   8612 int i;
   8613 _ACEOF
   8614 if ac_fn_c_try_compile "$LINENO"; then :
   8615   xorg_cv_cc_flag_unused_command_line_argument=yes
   8616 else
   8617   xorg_cv_cc_flag_unused_command_line_argument=no
   8618 fi
   8619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8620 fi
   8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8622 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8623 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8624 	CFLAGS="$xorg_testset_save_CFLAGS"
   8625 fi
   8626 
   8627 found="no"
   8628 
   8629 	if test $found = "no" ; then
   8630 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8632 		fi
   8633 
   8634 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8636 		fi
   8637 
   8638 		CFLAGS="$CFLAGS -Wnonnull"
   8639 
   8640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8641 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8642 		cacheid=xorg_cv_cc_flag__Wnonnull
   8643 		if eval \${$cacheid+:} false; then :
   8644   $as_echo_n "(cached) " >&6
   8645 else
   8646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8647 /* end confdefs.h.  */
   8648 int i;
   8649 int
   8650 main ()
   8651 {
   8652 
   8653   ;
   8654   return 0;
   8655 }
   8656 _ACEOF
   8657 if ac_fn_c_try_link "$LINENO"; then :
   8658   eval $cacheid=yes
   8659 else
   8660   eval $cacheid=no
   8661 fi
   8662 rm -f core conftest.err conftest.$ac_objext \
   8663     conftest$ac_exeext conftest.$ac_ext
   8664 fi
   8665 
   8666 
   8667 		CFLAGS="$xorg_testset_save_CFLAGS"
   8668 
   8669 		eval supported=\$$cacheid
   8670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8671 $as_echo "$supported" >&6; }
   8672 		if test "$supported" = "yes" ; then
   8673 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8674 			found="yes"
   8675 		fi
   8676 	fi
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 xorg_testset_save_CFLAGS="$CFLAGS"
   8693 
   8694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8697 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8698 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8699   $as_echo_n "(cached) " >&6
   8700 else
   8701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8702 /* end confdefs.h.  */
   8703 int i;
   8704 _ACEOF
   8705 if ac_fn_c_try_compile "$LINENO"; then :
   8706   xorg_cv_cc_flag_unknown_warning_option=yes
   8707 else
   8708   xorg_cv_cc_flag_unknown_warning_option=no
   8709 fi
   8710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8711 fi
   8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8713 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8715 	CFLAGS="$xorg_testset_save_CFLAGS"
   8716 fi
   8717 
   8718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8721 	fi
   8722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8724 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8725 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8726   $as_echo_n "(cached) " >&6
   8727 else
   8728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8729 /* end confdefs.h.  */
   8730 int i;
   8731 _ACEOF
   8732 if ac_fn_c_try_compile "$LINENO"; then :
   8733   xorg_cv_cc_flag_unused_command_line_argument=yes
   8734 else
   8735   xorg_cv_cc_flag_unused_command_line_argument=no
   8736 fi
   8737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8738 fi
   8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8740 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8742 	CFLAGS="$xorg_testset_save_CFLAGS"
   8743 fi
   8744 
   8745 found="no"
   8746 
   8747 	if test $found = "no" ; then
   8748 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8750 		fi
   8751 
   8752 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8754 		fi
   8755 
   8756 		CFLAGS="$CFLAGS -Winit-self"
   8757 
   8758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8759 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8760 		cacheid=xorg_cv_cc_flag__Winit_self
   8761 		if eval \${$cacheid+:} false; then :
   8762   $as_echo_n "(cached) " >&6
   8763 else
   8764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8765 /* end confdefs.h.  */
   8766 int i;
   8767 int
   8768 main ()
   8769 {
   8770 
   8771   ;
   8772   return 0;
   8773 }
   8774 _ACEOF
   8775 if ac_fn_c_try_link "$LINENO"; then :
   8776   eval $cacheid=yes
   8777 else
   8778   eval $cacheid=no
   8779 fi
   8780 rm -f core conftest.err conftest.$ac_objext \
   8781     conftest$ac_exeext conftest.$ac_ext
   8782 fi
   8783 
   8784 
   8785 		CFLAGS="$xorg_testset_save_CFLAGS"
   8786 
   8787 		eval supported=\$$cacheid
   8788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8789 $as_echo "$supported" >&6; }
   8790 		if test "$supported" = "yes" ; then
   8791 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8792 			found="yes"
   8793 		fi
   8794 	fi
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 xorg_testset_save_CFLAGS="$CFLAGS"
   8811 
   8812 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8813 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8815 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8816 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8817   $as_echo_n "(cached) " >&6
   8818 else
   8819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8820 /* end confdefs.h.  */
   8821 int i;
   8822 _ACEOF
   8823 if ac_fn_c_try_compile "$LINENO"; then :
   8824   xorg_cv_cc_flag_unknown_warning_option=yes
   8825 else
   8826   xorg_cv_cc_flag_unknown_warning_option=no
   8827 fi
   8828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8829 fi
   8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8831 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8832 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8833 	CFLAGS="$xorg_testset_save_CFLAGS"
   8834 fi
   8835 
   8836 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8837 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8838 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8839 	fi
   8840 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8841 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8842 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8843 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8844   $as_echo_n "(cached) " >&6
   8845 else
   8846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8847 /* end confdefs.h.  */
   8848 int i;
   8849 _ACEOF
   8850 if ac_fn_c_try_compile "$LINENO"; then :
   8851   xorg_cv_cc_flag_unused_command_line_argument=yes
   8852 else
   8853   xorg_cv_cc_flag_unused_command_line_argument=no
   8854 fi
   8855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8856 fi
   8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8858 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8859 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8860 	CFLAGS="$xorg_testset_save_CFLAGS"
   8861 fi
   8862 
   8863 found="no"
   8864 
   8865 	if test $found = "no" ; then
   8866 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8867 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8868 		fi
   8869 
   8870 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8871 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8872 		fi
   8873 
   8874 		CFLAGS="$CFLAGS -Wmain"
   8875 
   8876 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8877 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8878 		cacheid=xorg_cv_cc_flag__Wmain
   8879 		if eval \${$cacheid+:} false; then :
   8880   $as_echo_n "(cached) " >&6
   8881 else
   8882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8883 /* end confdefs.h.  */
   8884 int i;
   8885 int
   8886 main ()
   8887 {
   8888 
   8889   ;
   8890   return 0;
   8891 }
   8892 _ACEOF
   8893 if ac_fn_c_try_link "$LINENO"; then :
   8894   eval $cacheid=yes
   8895 else
   8896   eval $cacheid=no
   8897 fi
   8898 rm -f core conftest.err conftest.$ac_objext \
   8899     conftest$ac_exeext conftest.$ac_ext
   8900 fi
   8901 
   8902 
   8903 		CFLAGS="$xorg_testset_save_CFLAGS"
   8904 
   8905 		eval supported=\$$cacheid
   8906 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8907 $as_echo "$supported" >&6; }
   8908 		if test "$supported" = "yes" ; then
   8909 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8910 			found="yes"
   8911 		fi
   8912 	fi
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 xorg_testset_save_CFLAGS="$CFLAGS"
   8929 
   8930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8933 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8934 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8935   $as_echo_n "(cached) " >&6
   8936 else
   8937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8938 /* end confdefs.h.  */
   8939 int i;
   8940 _ACEOF
   8941 if ac_fn_c_try_compile "$LINENO"; then :
   8942   xorg_cv_cc_flag_unknown_warning_option=yes
   8943 else
   8944   xorg_cv_cc_flag_unknown_warning_option=no
   8945 fi
   8946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8947 fi
   8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8949 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8950 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8951 	CFLAGS="$xorg_testset_save_CFLAGS"
   8952 fi
   8953 
   8954 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8955 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8957 	fi
   8958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8960 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8961 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8962   $as_echo_n "(cached) " >&6
   8963 else
   8964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8965 /* end confdefs.h.  */
   8966 int i;
   8967 _ACEOF
   8968 if ac_fn_c_try_compile "$LINENO"; then :
   8969   xorg_cv_cc_flag_unused_command_line_argument=yes
   8970 else
   8971   xorg_cv_cc_flag_unused_command_line_argument=no
   8972 fi
   8973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8974 fi
   8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8976 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8978 	CFLAGS="$xorg_testset_save_CFLAGS"
   8979 fi
   8980 
   8981 found="no"
   8982 
   8983 	if test $found = "no" ; then
   8984 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8986 		fi
   8987 
   8988 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8990 		fi
   8991 
   8992 		CFLAGS="$CFLAGS -Wmissing-braces"
   8993 
   8994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8995 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8996 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8997 		if eval \${$cacheid+:} false; then :
   8998   $as_echo_n "(cached) " >&6
   8999 else
   9000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9001 /* end confdefs.h.  */
   9002 int i;
   9003 int
   9004 main ()
   9005 {
   9006 
   9007   ;
   9008   return 0;
   9009 }
   9010 _ACEOF
   9011 if ac_fn_c_try_link "$LINENO"; then :
   9012   eval $cacheid=yes
   9013 else
   9014   eval $cacheid=no
   9015 fi
   9016 rm -f core conftest.err conftest.$ac_objext \
   9017     conftest$ac_exeext conftest.$ac_ext
   9018 fi
   9019 
   9020 
   9021 		CFLAGS="$xorg_testset_save_CFLAGS"
   9022 
   9023 		eval supported=\$$cacheid
   9024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9025 $as_echo "$supported" >&6; }
   9026 		if test "$supported" = "yes" ; then
   9027 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9028 			found="yes"
   9029 		fi
   9030 	fi
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 xorg_testset_save_CFLAGS="$CFLAGS"
   9047 
   9048 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9049 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9051 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9052 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9053   $as_echo_n "(cached) " >&6
   9054 else
   9055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9056 /* end confdefs.h.  */
   9057 int i;
   9058 _ACEOF
   9059 if ac_fn_c_try_compile "$LINENO"; then :
   9060   xorg_cv_cc_flag_unknown_warning_option=yes
   9061 else
   9062   xorg_cv_cc_flag_unknown_warning_option=no
   9063 fi
   9064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9065 fi
   9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9067 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9069 	CFLAGS="$xorg_testset_save_CFLAGS"
   9070 fi
   9071 
   9072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9075 	fi
   9076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9077 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9078 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9079 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9080   $as_echo_n "(cached) " >&6
   9081 else
   9082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9083 /* end confdefs.h.  */
   9084 int i;
   9085 _ACEOF
   9086 if ac_fn_c_try_compile "$LINENO"; then :
   9087   xorg_cv_cc_flag_unused_command_line_argument=yes
   9088 else
   9089   xorg_cv_cc_flag_unused_command_line_argument=no
   9090 fi
   9091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9092 fi
   9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9094 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9095 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9096 	CFLAGS="$xorg_testset_save_CFLAGS"
   9097 fi
   9098 
   9099 found="no"
   9100 
   9101 	if test $found = "no" ; then
   9102 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9104 		fi
   9105 
   9106 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9108 		fi
   9109 
   9110 		CFLAGS="$CFLAGS -Wsequence-point"
   9111 
   9112 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9113 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9114 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9115 		if eval \${$cacheid+:} false; then :
   9116   $as_echo_n "(cached) " >&6
   9117 else
   9118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9119 /* end confdefs.h.  */
   9120 int i;
   9121 int
   9122 main ()
   9123 {
   9124 
   9125   ;
   9126   return 0;
   9127 }
   9128 _ACEOF
   9129 if ac_fn_c_try_link "$LINENO"; then :
   9130   eval $cacheid=yes
   9131 else
   9132   eval $cacheid=no
   9133 fi
   9134 rm -f core conftest.err conftest.$ac_objext \
   9135     conftest$ac_exeext conftest.$ac_ext
   9136 fi
   9137 
   9138 
   9139 		CFLAGS="$xorg_testset_save_CFLAGS"
   9140 
   9141 		eval supported=\$$cacheid
   9142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9143 $as_echo "$supported" >&6; }
   9144 		if test "$supported" = "yes" ; then
   9145 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9146 			found="yes"
   9147 		fi
   9148 	fi
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 xorg_testset_save_CFLAGS="$CFLAGS"
   9165 
   9166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9169 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9170 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9171   $as_echo_n "(cached) " >&6
   9172 else
   9173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9174 /* end confdefs.h.  */
   9175 int i;
   9176 _ACEOF
   9177 if ac_fn_c_try_compile "$LINENO"; then :
   9178   xorg_cv_cc_flag_unknown_warning_option=yes
   9179 else
   9180   xorg_cv_cc_flag_unknown_warning_option=no
   9181 fi
   9182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9183 fi
   9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9185 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9186 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9187 	CFLAGS="$xorg_testset_save_CFLAGS"
   9188 fi
   9189 
   9190 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9191 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9192 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9193 	fi
   9194 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9195 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9196 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9197 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9198   $as_echo_n "(cached) " >&6
   9199 else
   9200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9201 /* end confdefs.h.  */
   9202 int i;
   9203 _ACEOF
   9204 if ac_fn_c_try_compile "$LINENO"; then :
   9205   xorg_cv_cc_flag_unused_command_line_argument=yes
   9206 else
   9207   xorg_cv_cc_flag_unused_command_line_argument=no
   9208 fi
   9209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9210 fi
   9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9212 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9214 	CFLAGS="$xorg_testset_save_CFLAGS"
   9215 fi
   9216 
   9217 found="no"
   9218 
   9219 	if test $found = "no" ; then
   9220 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9222 		fi
   9223 
   9224 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9226 		fi
   9227 
   9228 		CFLAGS="$CFLAGS -Wreturn-type"
   9229 
   9230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9231 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9232 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9233 		if eval \${$cacheid+:} false; then :
   9234   $as_echo_n "(cached) " >&6
   9235 else
   9236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9237 /* end confdefs.h.  */
   9238 int i;
   9239 int
   9240 main ()
   9241 {
   9242 
   9243   ;
   9244   return 0;
   9245 }
   9246 _ACEOF
   9247 if ac_fn_c_try_link "$LINENO"; then :
   9248   eval $cacheid=yes
   9249 else
   9250   eval $cacheid=no
   9251 fi
   9252 rm -f core conftest.err conftest.$ac_objext \
   9253     conftest$ac_exeext conftest.$ac_ext
   9254 fi
   9255 
   9256 
   9257 		CFLAGS="$xorg_testset_save_CFLAGS"
   9258 
   9259 		eval supported=\$$cacheid
   9260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9261 $as_echo "$supported" >&6; }
   9262 		if test "$supported" = "yes" ; then
   9263 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9264 			found="yes"
   9265 		fi
   9266 	fi
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 xorg_testset_save_CFLAGS="$CFLAGS"
   9283 
   9284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9287 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9288 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9289   $as_echo_n "(cached) " >&6
   9290 else
   9291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9292 /* end confdefs.h.  */
   9293 int i;
   9294 _ACEOF
   9295 if ac_fn_c_try_compile "$LINENO"; then :
   9296   xorg_cv_cc_flag_unknown_warning_option=yes
   9297 else
   9298   xorg_cv_cc_flag_unknown_warning_option=no
   9299 fi
   9300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9301 fi
   9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9303 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9304 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9305 	CFLAGS="$xorg_testset_save_CFLAGS"
   9306 fi
   9307 
   9308 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9309 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9311 	fi
   9312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9314 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9315 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9316   $as_echo_n "(cached) " >&6
   9317 else
   9318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9319 /* end confdefs.h.  */
   9320 int i;
   9321 _ACEOF
   9322 if ac_fn_c_try_compile "$LINENO"; then :
   9323   xorg_cv_cc_flag_unused_command_line_argument=yes
   9324 else
   9325   xorg_cv_cc_flag_unused_command_line_argument=no
   9326 fi
   9327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9328 fi
   9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9330 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9332 	CFLAGS="$xorg_testset_save_CFLAGS"
   9333 fi
   9334 
   9335 found="no"
   9336 
   9337 	if test $found = "no" ; then
   9338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9340 		fi
   9341 
   9342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9344 		fi
   9345 
   9346 		CFLAGS="$CFLAGS -Wtrigraphs"
   9347 
   9348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9349 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9350 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9351 		if eval \${$cacheid+:} false; then :
   9352   $as_echo_n "(cached) " >&6
   9353 else
   9354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9355 /* end confdefs.h.  */
   9356 int i;
   9357 int
   9358 main ()
   9359 {
   9360 
   9361   ;
   9362   return 0;
   9363 }
   9364 _ACEOF
   9365 if ac_fn_c_try_link "$LINENO"; then :
   9366   eval $cacheid=yes
   9367 else
   9368   eval $cacheid=no
   9369 fi
   9370 rm -f core conftest.err conftest.$ac_objext \
   9371     conftest$ac_exeext conftest.$ac_ext
   9372 fi
   9373 
   9374 
   9375 		CFLAGS="$xorg_testset_save_CFLAGS"
   9376 
   9377 		eval supported=\$$cacheid
   9378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9379 $as_echo "$supported" >&6; }
   9380 		if test "$supported" = "yes" ; then
   9381 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9382 			found="yes"
   9383 		fi
   9384 	fi
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 xorg_testset_save_CFLAGS="$CFLAGS"
   9401 
   9402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9405 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9406 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9407   $as_echo_n "(cached) " >&6
   9408 else
   9409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9410 /* end confdefs.h.  */
   9411 int i;
   9412 _ACEOF
   9413 if ac_fn_c_try_compile "$LINENO"; then :
   9414   xorg_cv_cc_flag_unknown_warning_option=yes
   9415 else
   9416   xorg_cv_cc_flag_unknown_warning_option=no
   9417 fi
   9418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9419 fi
   9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9421 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9423 	CFLAGS="$xorg_testset_save_CFLAGS"
   9424 fi
   9425 
   9426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9429 	fi
   9430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9432 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9433 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9434   $as_echo_n "(cached) " >&6
   9435 else
   9436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9437 /* end confdefs.h.  */
   9438 int i;
   9439 _ACEOF
   9440 if ac_fn_c_try_compile "$LINENO"; then :
   9441   xorg_cv_cc_flag_unused_command_line_argument=yes
   9442 else
   9443   xorg_cv_cc_flag_unused_command_line_argument=no
   9444 fi
   9445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9446 fi
   9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9448 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9450 	CFLAGS="$xorg_testset_save_CFLAGS"
   9451 fi
   9452 
   9453 found="no"
   9454 
   9455 	if test $found = "no" ; then
   9456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9458 		fi
   9459 
   9460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9462 		fi
   9463 
   9464 		CFLAGS="$CFLAGS -Warray-bounds"
   9465 
   9466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9467 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9468 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9469 		if eval \${$cacheid+:} false; then :
   9470   $as_echo_n "(cached) " >&6
   9471 else
   9472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9473 /* end confdefs.h.  */
   9474 int i;
   9475 int
   9476 main ()
   9477 {
   9478 
   9479   ;
   9480   return 0;
   9481 }
   9482 _ACEOF
   9483 if ac_fn_c_try_link "$LINENO"; then :
   9484   eval $cacheid=yes
   9485 else
   9486   eval $cacheid=no
   9487 fi
   9488 rm -f core conftest.err conftest.$ac_objext \
   9489     conftest$ac_exeext conftest.$ac_ext
   9490 fi
   9491 
   9492 
   9493 		CFLAGS="$xorg_testset_save_CFLAGS"
   9494 
   9495 		eval supported=\$$cacheid
   9496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9497 $as_echo "$supported" >&6; }
   9498 		if test "$supported" = "yes" ; then
   9499 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9500 			found="yes"
   9501 		fi
   9502 	fi
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 xorg_testset_save_CFLAGS="$CFLAGS"
   9519 
   9520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9523 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9524 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9525   $as_echo_n "(cached) " >&6
   9526 else
   9527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9528 /* end confdefs.h.  */
   9529 int i;
   9530 _ACEOF
   9531 if ac_fn_c_try_compile "$LINENO"; then :
   9532   xorg_cv_cc_flag_unknown_warning_option=yes
   9533 else
   9534   xorg_cv_cc_flag_unknown_warning_option=no
   9535 fi
   9536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9537 fi
   9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9539 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9541 	CFLAGS="$xorg_testset_save_CFLAGS"
   9542 fi
   9543 
   9544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9547 	fi
   9548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9550 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9551 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9552   $as_echo_n "(cached) " >&6
   9553 else
   9554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9555 /* end confdefs.h.  */
   9556 int i;
   9557 _ACEOF
   9558 if ac_fn_c_try_compile "$LINENO"; then :
   9559   xorg_cv_cc_flag_unused_command_line_argument=yes
   9560 else
   9561   xorg_cv_cc_flag_unused_command_line_argument=no
   9562 fi
   9563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9564 fi
   9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9566 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9568 	CFLAGS="$xorg_testset_save_CFLAGS"
   9569 fi
   9570 
   9571 found="no"
   9572 
   9573 	if test $found = "no" ; then
   9574 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9576 		fi
   9577 
   9578 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9580 		fi
   9581 
   9582 		CFLAGS="$CFLAGS -Wwrite-strings"
   9583 
   9584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9585 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9586 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9587 		if eval \${$cacheid+:} false; then :
   9588   $as_echo_n "(cached) " >&6
   9589 else
   9590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9591 /* end confdefs.h.  */
   9592 int i;
   9593 int
   9594 main ()
   9595 {
   9596 
   9597   ;
   9598   return 0;
   9599 }
   9600 _ACEOF
   9601 if ac_fn_c_try_link "$LINENO"; then :
   9602   eval $cacheid=yes
   9603 else
   9604   eval $cacheid=no
   9605 fi
   9606 rm -f core conftest.err conftest.$ac_objext \
   9607     conftest$ac_exeext conftest.$ac_ext
   9608 fi
   9609 
   9610 
   9611 		CFLAGS="$xorg_testset_save_CFLAGS"
   9612 
   9613 		eval supported=\$$cacheid
   9614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9615 $as_echo "$supported" >&6; }
   9616 		if test "$supported" = "yes" ; then
   9617 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9618 			found="yes"
   9619 		fi
   9620 	fi
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 xorg_testset_save_CFLAGS="$CFLAGS"
   9637 
   9638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9641 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9642 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9643   $as_echo_n "(cached) " >&6
   9644 else
   9645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9646 /* end confdefs.h.  */
   9647 int i;
   9648 _ACEOF
   9649 if ac_fn_c_try_compile "$LINENO"; then :
   9650   xorg_cv_cc_flag_unknown_warning_option=yes
   9651 else
   9652   xorg_cv_cc_flag_unknown_warning_option=no
   9653 fi
   9654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9655 fi
   9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9657 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9659 	CFLAGS="$xorg_testset_save_CFLAGS"
   9660 fi
   9661 
   9662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9665 	fi
   9666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9668 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9669 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9670   $as_echo_n "(cached) " >&6
   9671 else
   9672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9673 /* end confdefs.h.  */
   9674 int i;
   9675 _ACEOF
   9676 if ac_fn_c_try_compile "$LINENO"; then :
   9677   xorg_cv_cc_flag_unused_command_line_argument=yes
   9678 else
   9679   xorg_cv_cc_flag_unused_command_line_argument=no
   9680 fi
   9681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9682 fi
   9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9684 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9685 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9686 	CFLAGS="$xorg_testset_save_CFLAGS"
   9687 fi
   9688 
   9689 found="no"
   9690 
   9691 	if test $found = "no" ; then
   9692 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9694 		fi
   9695 
   9696 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9698 		fi
   9699 
   9700 		CFLAGS="$CFLAGS -Waddress"
   9701 
   9702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9703 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9704 		cacheid=xorg_cv_cc_flag__Waddress
   9705 		if eval \${$cacheid+:} false; then :
   9706   $as_echo_n "(cached) " >&6
   9707 else
   9708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9709 /* end confdefs.h.  */
   9710 int i;
   9711 int
   9712 main ()
   9713 {
   9714 
   9715   ;
   9716   return 0;
   9717 }
   9718 _ACEOF
   9719 if ac_fn_c_try_link "$LINENO"; then :
   9720   eval $cacheid=yes
   9721 else
   9722   eval $cacheid=no
   9723 fi
   9724 rm -f core conftest.err conftest.$ac_objext \
   9725     conftest$ac_exeext conftest.$ac_ext
   9726 fi
   9727 
   9728 
   9729 		CFLAGS="$xorg_testset_save_CFLAGS"
   9730 
   9731 		eval supported=\$$cacheid
   9732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9733 $as_echo "$supported" >&6; }
   9734 		if test "$supported" = "yes" ; then
   9735 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9736 			found="yes"
   9737 		fi
   9738 	fi
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 xorg_testset_save_CFLAGS="$CFLAGS"
   9755 
   9756 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9757 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9759 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9760 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9761   $as_echo_n "(cached) " >&6
   9762 else
   9763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9764 /* end confdefs.h.  */
   9765 int i;
   9766 _ACEOF
   9767 if ac_fn_c_try_compile "$LINENO"; then :
   9768   xorg_cv_cc_flag_unknown_warning_option=yes
   9769 else
   9770   xorg_cv_cc_flag_unknown_warning_option=no
   9771 fi
   9772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9773 fi
   9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9775 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9777 	CFLAGS="$xorg_testset_save_CFLAGS"
   9778 fi
   9779 
   9780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9783 	fi
   9784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9786 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9787 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9788   $as_echo_n "(cached) " >&6
   9789 else
   9790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9791 /* end confdefs.h.  */
   9792 int i;
   9793 _ACEOF
   9794 if ac_fn_c_try_compile "$LINENO"; then :
   9795   xorg_cv_cc_flag_unused_command_line_argument=yes
   9796 else
   9797   xorg_cv_cc_flag_unused_command_line_argument=no
   9798 fi
   9799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9800 fi
   9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9802 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9803 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9804 	CFLAGS="$xorg_testset_save_CFLAGS"
   9805 fi
   9806 
   9807 found="no"
   9808 
   9809 	if test $found = "no" ; then
   9810 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9811 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9812 		fi
   9813 
   9814 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9815 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9816 		fi
   9817 
   9818 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9819 
   9820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9821 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9822 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9823 		if eval \${$cacheid+:} false; then :
   9824   $as_echo_n "(cached) " >&6
   9825 else
   9826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9827 /* end confdefs.h.  */
   9828 int i;
   9829 int
   9830 main ()
   9831 {
   9832 
   9833   ;
   9834   return 0;
   9835 }
   9836 _ACEOF
   9837 if ac_fn_c_try_link "$LINENO"; then :
   9838   eval $cacheid=yes
   9839 else
   9840   eval $cacheid=no
   9841 fi
   9842 rm -f core conftest.err conftest.$ac_objext \
   9843     conftest$ac_exeext conftest.$ac_ext
   9844 fi
   9845 
   9846 
   9847 		CFLAGS="$xorg_testset_save_CFLAGS"
   9848 
   9849 		eval supported=\$$cacheid
   9850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9851 $as_echo "$supported" >&6; }
   9852 		if test "$supported" = "yes" ; then
   9853 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9854 			found="yes"
   9855 		fi
   9856 	fi
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 xorg_testset_save_CFLAGS="$CFLAGS"
   9873 
   9874 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9875 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9877 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9878 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9879   $as_echo_n "(cached) " >&6
   9880 else
   9881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9882 /* end confdefs.h.  */
   9883 int i;
   9884 _ACEOF
   9885 if ac_fn_c_try_compile "$LINENO"; then :
   9886   xorg_cv_cc_flag_unknown_warning_option=yes
   9887 else
   9888   xorg_cv_cc_flag_unknown_warning_option=no
   9889 fi
   9890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9891 fi
   9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9893 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9895 	CFLAGS="$xorg_testset_save_CFLAGS"
   9896 fi
   9897 
   9898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9901 	fi
   9902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9904 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9905 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9906   $as_echo_n "(cached) " >&6
   9907 else
   9908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9909 /* end confdefs.h.  */
   9910 int i;
   9911 _ACEOF
   9912 if ac_fn_c_try_compile "$LINENO"; then :
   9913   xorg_cv_cc_flag_unused_command_line_argument=yes
   9914 else
   9915   xorg_cv_cc_flag_unused_command_line_argument=no
   9916 fi
   9917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9918 fi
   9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9920 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9921 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9922 	CFLAGS="$xorg_testset_save_CFLAGS"
   9923 fi
   9924 
   9925 found="no"
   9926 
   9927 	if test $found = "no" ; then
   9928 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9929 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9930 		fi
   9931 
   9932 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9933 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9934 		fi
   9935 
   9936 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9937 
   9938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9939 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9940 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9941 		if eval \${$cacheid+:} false; then :
   9942   $as_echo_n "(cached) " >&6
   9943 else
   9944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9945 /* end confdefs.h.  */
   9946 int i;
   9947 int
   9948 main ()
   9949 {
   9950 
   9951   ;
   9952   return 0;
   9953 }
   9954 _ACEOF
   9955 if ac_fn_c_try_link "$LINENO"; then :
   9956   eval $cacheid=yes
   9957 else
   9958   eval $cacheid=no
   9959 fi
   9960 rm -f core conftest.err conftest.$ac_objext \
   9961     conftest$ac_exeext conftest.$ac_ext
   9962 fi
   9963 
   9964 
   9965 		CFLAGS="$xorg_testset_save_CFLAGS"
   9966 
   9967 		eval supported=\$$cacheid
   9968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9969 $as_echo "$supported" >&6; }
   9970 		if test "$supported" = "yes" ; then
   9971 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9972 			found="yes"
   9973 		fi
   9974 	fi
   9975 
   9976 
   9977 fi
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 		CWARNFLAGS="$BASE_CFLAGS"
   9986 		if  test "x$GCC" = xyes ; then
   9987 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9988 		fi
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 # Check whether --enable-strict-compilation was given.
   9998 if test "${enable_strict_compilation+set}" = set; then :
   9999   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10000 else
   10001   STRICT_COMPILE=no
   10002 fi
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 STRICT_CFLAGS=""
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 xorg_testset_save_CFLAGS="$CFLAGS"
   10024 
   10025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10028 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10029 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10030   $as_echo_n "(cached) " >&6
   10031 else
   10032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10033 /* end confdefs.h.  */
   10034 int i;
   10035 _ACEOF
   10036 if ac_fn_c_try_compile "$LINENO"; then :
   10037   xorg_cv_cc_flag_unknown_warning_option=yes
   10038 else
   10039   xorg_cv_cc_flag_unknown_warning_option=no
   10040 fi
   10041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10042 fi
   10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10044 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10046 	CFLAGS="$xorg_testset_save_CFLAGS"
   10047 fi
   10048 
   10049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10052 	fi
   10053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10055 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10056 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10057   $as_echo_n "(cached) " >&6
   10058 else
   10059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10060 /* end confdefs.h.  */
   10061 int i;
   10062 _ACEOF
   10063 if ac_fn_c_try_compile "$LINENO"; then :
   10064   xorg_cv_cc_flag_unused_command_line_argument=yes
   10065 else
   10066   xorg_cv_cc_flag_unused_command_line_argument=no
   10067 fi
   10068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10069 fi
   10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10071 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10073 	CFLAGS="$xorg_testset_save_CFLAGS"
   10074 fi
   10075 
   10076 found="no"
   10077 
   10078 	if test $found = "no" ; then
   10079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10081 		fi
   10082 
   10083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10085 		fi
   10086 
   10087 		CFLAGS="$CFLAGS -pedantic"
   10088 
   10089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10090 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10091 		cacheid=xorg_cv_cc_flag__pedantic
   10092 		if eval \${$cacheid+:} false; then :
   10093   $as_echo_n "(cached) " >&6
   10094 else
   10095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10096 /* end confdefs.h.  */
   10097 int i;
   10098 int
   10099 main ()
   10100 {
   10101 
   10102   ;
   10103   return 0;
   10104 }
   10105 _ACEOF
   10106 if ac_fn_c_try_link "$LINENO"; then :
   10107   eval $cacheid=yes
   10108 else
   10109   eval $cacheid=no
   10110 fi
   10111 rm -f core conftest.err conftest.$ac_objext \
   10112     conftest$ac_exeext conftest.$ac_ext
   10113 fi
   10114 
   10115 
   10116 		CFLAGS="$xorg_testset_save_CFLAGS"
   10117 
   10118 		eval supported=\$$cacheid
   10119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10120 $as_echo "$supported" >&6; }
   10121 		if test "$supported" = "yes" ; then
   10122 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10123 			found="yes"
   10124 		fi
   10125 	fi
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 xorg_testset_save_CFLAGS="$CFLAGS"
   10142 
   10143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10146 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10147 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10148   $as_echo_n "(cached) " >&6
   10149 else
   10150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10151 /* end confdefs.h.  */
   10152 int i;
   10153 _ACEOF
   10154 if ac_fn_c_try_compile "$LINENO"; then :
   10155   xorg_cv_cc_flag_unknown_warning_option=yes
   10156 else
   10157   xorg_cv_cc_flag_unknown_warning_option=no
   10158 fi
   10159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10160 fi
   10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10162 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10163 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10164 	CFLAGS="$xorg_testset_save_CFLAGS"
   10165 fi
   10166 
   10167 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10168 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10170 	fi
   10171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10173 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10174 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10175   $as_echo_n "(cached) " >&6
   10176 else
   10177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10178 /* end confdefs.h.  */
   10179 int i;
   10180 _ACEOF
   10181 if ac_fn_c_try_compile "$LINENO"; then :
   10182   xorg_cv_cc_flag_unused_command_line_argument=yes
   10183 else
   10184   xorg_cv_cc_flag_unused_command_line_argument=no
   10185 fi
   10186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10187 fi
   10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10189 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10191 	CFLAGS="$xorg_testset_save_CFLAGS"
   10192 fi
   10193 
   10194 found="no"
   10195 
   10196 	if test $found = "no" ; then
   10197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10199 		fi
   10200 
   10201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10203 		fi
   10204 
   10205 		CFLAGS="$CFLAGS -Werror"
   10206 
   10207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10208 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10209 		cacheid=xorg_cv_cc_flag__Werror
   10210 		if eval \${$cacheid+:} false; then :
   10211   $as_echo_n "(cached) " >&6
   10212 else
   10213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10214 /* end confdefs.h.  */
   10215 int i;
   10216 int
   10217 main ()
   10218 {
   10219 
   10220   ;
   10221   return 0;
   10222 }
   10223 _ACEOF
   10224 if ac_fn_c_try_link "$LINENO"; then :
   10225   eval $cacheid=yes
   10226 else
   10227   eval $cacheid=no
   10228 fi
   10229 rm -f core conftest.err conftest.$ac_objext \
   10230     conftest$ac_exeext conftest.$ac_ext
   10231 fi
   10232 
   10233 
   10234 		CFLAGS="$xorg_testset_save_CFLAGS"
   10235 
   10236 		eval supported=\$$cacheid
   10237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10238 $as_echo "$supported" >&6; }
   10239 		if test "$supported" = "yes" ; then
   10240 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10241 			found="yes"
   10242 		fi
   10243 	fi
   10244 
   10245 	if test $found = "no" ; then
   10246 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10248 		fi
   10249 
   10250 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10252 		fi
   10253 
   10254 		CFLAGS="$CFLAGS -errwarn"
   10255 
   10256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10257 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10258 		cacheid=xorg_cv_cc_flag__errwarn
   10259 		if eval \${$cacheid+:} false; then :
   10260   $as_echo_n "(cached) " >&6
   10261 else
   10262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10263 /* end confdefs.h.  */
   10264 int i;
   10265 int
   10266 main ()
   10267 {
   10268 
   10269   ;
   10270   return 0;
   10271 }
   10272 _ACEOF
   10273 if ac_fn_c_try_link "$LINENO"; then :
   10274   eval $cacheid=yes
   10275 else
   10276   eval $cacheid=no
   10277 fi
   10278 rm -f core conftest.err conftest.$ac_objext \
   10279     conftest$ac_exeext conftest.$ac_ext
   10280 fi
   10281 
   10282 
   10283 		CFLAGS="$xorg_testset_save_CFLAGS"
   10284 
   10285 		eval supported=\$$cacheid
   10286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10287 $as_echo "$supported" >&6; }
   10288 		if test "$supported" = "yes" ; then
   10289 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10290 			found="yes"
   10291 		fi
   10292 	fi
   10293 
   10294 
   10295 
   10296 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10297 # activate it with -Werror, so we add it here explicitly.
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 xorg_testset_save_CFLAGS="$CFLAGS"
   10312 
   10313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10316 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10317 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10318   $as_echo_n "(cached) " >&6
   10319 else
   10320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10321 /* end confdefs.h.  */
   10322 int i;
   10323 _ACEOF
   10324 if ac_fn_c_try_compile "$LINENO"; then :
   10325   xorg_cv_cc_flag_unknown_warning_option=yes
   10326 else
   10327   xorg_cv_cc_flag_unknown_warning_option=no
   10328 fi
   10329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10330 fi
   10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10332 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10334 	CFLAGS="$xorg_testset_save_CFLAGS"
   10335 fi
   10336 
   10337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10340 	fi
   10341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10343 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10344 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10345   $as_echo_n "(cached) " >&6
   10346 else
   10347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10348 /* end confdefs.h.  */
   10349 int i;
   10350 _ACEOF
   10351 if ac_fn_c_try_compile "$LINENO"; then :
   10352   xorg_cv_cc_flag_unused_command_line_argument=yes
   10353 else
   10354   xorg_cv_cc_flag_unused_command_line_argument=no
   10355 fi
   10356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10357 fi
   10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10359 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10360 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10361 	CFLAGS="$xorg_testset_save_CFLAGS"
   10362 fi
   10363 
   10364 found="no"
   10365 
   10366 	if test $found = "no" ; then
   10367 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10369 		fi
   10370 
   10371 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10373 		fi
   10374 
   10375 		CFLAGS="$CFLAGS -Werror=attributes"
   10376 
   10377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10378 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10379 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10380 		if eval \${$cacheid+:} false; then :
   10381   $as_echo_n "(cached) " >&6
   10382 else
   10383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10384 /* end confdefs.h.  */
   10385 int i;
   10386 int
   10387 main ()
   10388 {
   10389 
   10390   ;
   10391   return 0;
   10392 }
   10393 _ACEOF
   10394 if ac_fn_c_try_link "$LINENO"; then :
   10395   eval $cacheid=yes
   10396 else
   10397   eval $cacheid=no
   10398 fi
   10399 rm -f core conftest.err conftest.$ac_objext \
   10400     conftest$ac_exeext conftest.$ac_ext
   10401 fi
   10402 
   10403 
   10404 		CFLAGS="$xorg_testset_save_CFLAGS"
   10405 
   10406 		eval supported=\$$cacheid
   10407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10408 $as_echo "$supported" >&6; }
   10409 		if test "$supported" = "yes" ; then
   10410 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10411 			found="yes"
   10412 		fi
   10413 	fi
   10414 
   10415 
   10416 
   10417 if test "x$STRICT_COMPILE" = "xyes"; then
   10418     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10419     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10420 fi
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 cat >>confdefs.h <<_ACEOF
   10428 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10429 _ACEOF
   10430 
   10431 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10432 	if test "x$PVM" = "x"; then
   10433 		PVM="0"
   10434 	fi
   10435 
   10436 cat >>confdefs.h <<_ACEOF
   10437 #define PACKAGE_VERSION_MINOR $PVM
   10438 _ACEOF
   10439 
   10440 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10441 	if test "x$PVP" = "x"; then
   10442 		PVP="0"
   10443 	fi
   10444 
   10445 cat >>confdefs.h <<_ACEOF
   10446 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10447 _ACEOF
   10448 
   10449 
   10450 
   10451 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10452 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10453 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10454 touch \$(top_srcdir)/ChangeLog; \
   10455 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10456 
   10457 
   10458 
   10459 
   10460 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10461 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10462 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10463 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10464 touch \$(top_srcdir)/INSTALL; \
   10465 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 case $host_os in
   10473     solaris*)
   10474         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10475         # check for a man page file found in later versions that use
   10476         # traditional section numbers instead
   10477         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10478 $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10479 if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
   10480   $as_echo_n "(cached) " >&6
   10481 else
   10482   test "$cross_compiling" = yes &&
   10483   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10484 if test -r "/usr/share/man/man7/attributes.7"; then
   10485   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10486 else
   10487   ac_cv_file__usr_share_man_man7_attributes_7=no
   10488 fi
   10489 fi
   10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10491 $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10492 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
   10493   SYSV_MAN_SECTIONS=false
   10494 else
   10495   SYSV_MAN_SECTIONS=true
   10496 fi
   10497 
   10498         ;;
   10499     *) SYSV_MAN_SECTIONS=false ;;
   10500 esac
   10501 
   10502 if test x$APP_MAN_SUFFIX = x    ; then
   10503     APP_MAN_SUFFIX=1
   10504 fi
   10505 if test x$APP_MAN_DIR = x    ; then
   10506     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10507 fi
   10508 
   10509 if test x$LIB_MAN_SUFFIX = x    ; then
   10510     LIB_MAN_SUFFIX=3
   10511 fi
   10512 if test x$LIB_MAN_DIR = x    ; then
   10513     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10514 fi
   10515 
   10516 if test x$FILE_MAN_SUFFIX = x    ; then
   10517     case $SYSV_MAN_SECTIONS in
   10518 	true)				FILE_MAN_SUFFIX=4  ;;
   10519 	*)				FILE_MAN_SUFFIX=5  ;;
   10520     esac
   10521 fi
   10522 if test x$FILE_MAN_DIR = x    ; then
   10523     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10524 fi
   10525 
   10526 if test x$MISC_MAN_SUFFIX = x    ; then
   10527     case $SYSV_MAN_SECTIONS in
   10528 	true)				MISC_MAN_SUFFIX=5  ;;
   10529 	*)				MISC_MAN_SUFFIX=7  ;;
   10530     esac
   10531 fi
   10532 if test x$MISC_MAN_DIR = x    ; then
   10533     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10534 fi
   10535 
   10536 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10537     case $SYSV_MAN_SECTIONS in
   10538 	true)				DRIVER_MAN_SUFFIX=7  ;;
   10539 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10540     esac
   10541 fi
   10542 if test x$DRIVER_MAN_DIR = x    ; then
   10543     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10544 fi
   10545 
   10546 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10547     case $SYSV_MAN_SECTIONS in
   10548 	true)				ADMIN_MAN_SUFFIX=1m ;;
   10549 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10550     esac
   10551 fi
   10552 if test x$ADMIN_MAN_DIR = x    ; then
   10553     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10554 fi
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 XORG_MAN_PAGE="X Version 11"
   10571 
   10572 MAN_SUBSTS="\
   10573 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10574 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10575 	-e 's|__xservername__|Xorg|g' \
   10576 	-e 's|__xconfigfile__|xorg.conf|g' \
   10577 	-e 's|__projectroot__|\$(prefix)|g' \
   10578 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10579 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10580 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10581 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10582 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10583 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10584 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10585 
   10586 
   10587 
   10588 # Check whether --enable-silent-rules was given.
   10589 if test "${enable_silent_rules+set}" = set; then :
   10590   enableval=$enable_silent_rules;
   10591 fi
   10592 
   10593 case $enable_silent_rules in # (((
   10594   yes) AM_DEFAULT_VERBOSITY=0;;
   10595    no) AM_DEFAULT_VERBOSITY=1;;
   10596     *) AM_DEFAULT_VERBOSITY=0;;
   10597 esac
   10598 am_make=${MAKE-make}
   10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10600 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10601 if ${am_cv_make_support_nested_variables+:} false; then :
   10602   $as_echo_n "(cached) " >&6
   10603 else
   10604   if $as_echo 'TRUE=$(BAR$(V))
   10605 BAR0=false
   10606 BAR1=true
   10607 V=1
   10608 am__doit:
   10609 	@$(TRUE)
   10610 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10611   am_cv_make_support_nested_variables=yes
   10612 else
   10613   am_cv_make_support_nested_variables=no
   10614 fi
   10615 fi
   10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10617 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10618 if test $am_cv_make_support_nested_variables = yes; then
   10619     AM_V='$(V)'
   10620   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10621 else
   10622   AM_V=$AM_DEFAULT_VERBOSITY
   10623   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10624 fi
   10625 AM_BACKSLASH='\'
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 # Require X.Org's font util macros 1.2 or later
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
   10648 $as_echo_n "checking for root directory for font files... " >&6; }
   10649 
   10650 # Check whether --with-fontrootdir was given.
   10651 if test "${with_fontrootdir+set}" = set; then :
   10652   withval=$with_fontrootdir; FONTROOTDIR="$withval"
   10653 fi
   10654 
   10655 	# if --with-fontrootdir not specified...
   10656 	if test "x${FONTROOTDIR}" = "x"; then
   10657 		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
   10658 	fi
   10659 	# ...and if pkg-config didn't find fontdir in fontutil.pc...
   10660 	if test "x${FONTROOTDIR}" = "x"; then
   10661 		FONTROOTDIR="${datadir}/fonts/X11"
   10662 	fi
   10663 
   10664 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
   10665 $as_echo "${FONTROOTDIR}" >&6; }
   10666 
   10667 
   10668 
   10669 # Check whether --with-top-fontdir was given.
   10670 if test "${with_top_fontdir+set}" = set; then :
   10671   withval=$with_top_fontdir; as_fn_error $? "--with-top-fontdir is obsolete, use --with-fontrootdir instead" "$LINENO" 5
   10672 fi
   10673 
   10674 
   10675 
   10676 ac_config_files="$ac_config_files Makefile 100dpi/Makefile 75dpi/Makefile cyrillic/Makefile misc/Makefile"
   10677 
   10678 cat >confcache <<\_ACEOF
   10679 # This file is a shell script that caches the results of configure
   10680 # tests run on this system so they can be shared between configure
   10681 # scripts and configure runs, see configure's option --config-cache.
   10682 # It is not useful on other systems.  If it contains results you don't
   10683 # want to keep, you may remove or edit it.
   10684 #
   10685 # config.status only pays attention to the cache file if you give it
   10686 # the --recheck option to rerun configure.
   10687 #
   10688 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10689 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10690 # following values.
   10691 
   10692 _ACEOF
   10693 
   10694 # The following way of writing the cache mishandles newlines in values,
   10695 # but we know of no workaround that is simple, portable, and efficient.
   10696 # So, we kill variables containing newlines.
   10697 # Ultrix sh set writes to stderr and can't be redirected directly,
   10698 # and sets the high bit in the cache file unless we assign to the vars.
   10699 (
   10700   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10701     eval ac_val=\$$ac_var
   10702     case $ac_val in #(
   10703     *${as_nl}*)
   10704       case $ac_var in #(
   10705       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10706 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10707       esac
   10708       case $ac_var in #(
   10709       _ | IFS | as_nl) ;; #(
   10710       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10711       *) { eval $ac_var=; unset $ac_var;} ;;
   10712       esac ;;
   10713     esac
   10714   done
   10715 
   10716   (set) 2>&1 |
   10717     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10718     *${as_nl}ac_space=\ *)
   10719       # `set' does not quote correctly, so add quotes: double-quote
   10720       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10721       sed -n \
   10722 	"s/'/'\\\\''/g;
   10723 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10724       ;; #(
   10725     *)
   10726       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10727       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10728       ;;
   10729     esac |
   10730     sort
   10731 ) |
   10732   sed '
   10733      /^ac_cv_env_/b end
   10734      t clear
   10735      :clear
   10736      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10737      t end
   10738      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10739      :end' >>confcache
   10740 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10741   if test -w "$cache_file"; then
   10742     if test "x$cache_file" != "x/dev/null"; then
   10743       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10744 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10745       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10746 	cat confcache >"$cache_file"
   10747       else
   10748         case $cache_file in #(
   10749         */* | ?:*)
   10750 	  mv -f confcache "$cache_file"$$ &&
   10751 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10752         *)
   10753 	  mv -f confcache "$cache_file" ;;
   10754 	esac
   10755       fi
   10756     fi
   10757   else
   10758     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10759 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10760   fi
   10761 fi
   10762 rm -f confcache
   10763 
   10764 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10765 # Let make expand exec_prefix.
   10766 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10767 
   10768 # Transform confdefs.h into DEFS.
   10769 # Protect against shell expansion while executing Makefile rules.
   10770 # Protect against Makefile macro expansion.
   10771 #
   10772 # If the first sed substitution is executed (which looks for macros that
   10773 # take arguments), then branch to the quote section.  Otherwise,
   10774 # look for a macro that doesn't take arguments.
   10775 ac_script='
   10776 :mline
   10777 /\\$/{
   10778  N
   10779  s,\\\n,,
   10780  b mline
   10781 }
   10782 t clear
   10783 :clear
   10784 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   10785 t quote
   10786 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   10787 t quote
   10788 b any
   10789 :quote
   10790 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   10791 s/\[/\\&/g
   10792 s/\]/\\&/g
   10793 s/\$/$$/g
   10794 H
   10795 :any
   10796 ${
   10797 	g
   10798 	s/^\n//
   10799 	s/\n/ /g
   10800 	p
   10801 }
   10802 '
   10803 DEFS=`sed -n "$ac_script" confdefs.h`
   10804 
   10805 
   10806 ac_libobjs=
   10807 ac_ltlibobjs=
   10808 U=
   10809 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10810   # 1. Remove the extension, and $U if already installed.
   10811   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10812   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10813   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10814   #    will be set to the directory where LIBOBJS objects are built.
   10815   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10816   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10817 done
   10818 LIBOBJS=$ac_libobjs
   10819 
   10820 LTLIBOBJS=$ac_ltlibobjs
   10821 
   10822 
   10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10824 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10825    if test -n "$am_sleep_pid"; then
   10826      # Hide warnings about reused PIDs.
   10827      wait $am_sleep_pid 2>/dev/null
   10828    fi
   10829    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10830 $as_echo "done" >&6; }
   10831  if test -n "$EXEEXT"; then
   10832   am__EXEEXT_TRUE=
   10833   am__EXEEXT_FALSE='#'
   10834 else
   10835   am__EXEEXT_TRUE='#'
   10836   am__EXEEXT_FALSE=
   10837 fi
   10838 
   10839 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10840   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10842 fi
   10843 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10844   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10846 fi
   10847 
   10848 : "${CONFIG_STATUS=./config.status}"
   10849 ac_write_fail=0
   10850 ac_clean_files_save=$ac_clean_files
   10851 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10852 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10853 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10854 as_write_fail=0
   10855 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10856 #! $SHELL
   10857 # Generated by $as_me.
   10858 # Run this file to recreate the current configuration.
   10859 # Compiler output produced by configure, useful for debugging
   10860 # configure, is in config.log if it exists.
   10861 
   10862 debug=false
   10863 ac_cs_recheck=false
   10864 ac_cs_silent=false
   10865 
   10866 SHELL=\${CONFIG_SHELL-$SHELL}
   10867 export SHELL
   10868 _ASEOF
   10869 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10870 ## -------------------- ##
   10871 ## M4sh Initialization. ##
   10872 ## -------------------- ##
   10873 
   10874 # Be more Bourne compatible
   10875 DUALCASE=1; export DUALCASE # for MKS sh
   10876 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10877   emulate sh
   10878   NULLCMD=:
   10879   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10880   # is contrary to our usage.  Disable this feature.
   10881   alias -g '${1+"$@"}'='"$@"'
   10882   setopt NO_GLOB_SUBST
   10883 else
   10884   case `(set -o) 2>/dev/null` in #(
   10885   *posix*) :
   10886     set -o posix ;; #(
   10887   *) :
   10888      ;;
   10889 esac
   10890 fi
   10891 
   10892 
   10893 as_nl='
   10894 '
   10895 export as_nl
   10896 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10897 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10898 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10899 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10900 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10901 # but without wasting forks for bash or zsh.
   10902 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10903     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10904   as_echo='print -r --'
   10905   as_echo_n='print -rn --'
   10906 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10907   as_echo='printf %s\n'
   10908   as_echo_n='printf %s'
   10909 else
   10910   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10911     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10912     as_echo_n='/usr/ucb/echo -n'
   10913   else
   10914     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10915     as_echo_n_body='eval
   10916       arg=$1;
   10917       case $arg in #(
   10918       *"$as_nl"*)
   10919 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10920 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10921       esac;
   10922       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10923     '
   10924     export as_echo_n_body
   10925     as_echo_n='sh -c $as_echo_n_body as_echo'
   10926   fi
   10927   export as_echo_body
   10928   as_echo='sh -c $as_echo_body as_echo'
   10929 fi
   10930 
   10931 # The user is always right.
   10932 if test "${PATH_SEPARATOR+set}" != set; then
   10933   PATH_SEPARATOR=:
   10934   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10935     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10936       PATH_SEPARATOR=';'
   10937   }
   10938 fi
   10939 
   10940 
   10941 # IFS
   10942 # We need space, tab and new line, in precisely that order.  Quoting is
   10943 # there to prevent editors from complaining about space-tab.
   10944 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10945 # splitting by setting IFS to empty value.)
   10946 IFS=" ""	$as_nl"
   10947 
   10948 # Find who we are.  Look in the path if we contain no directory separator.
   10949 as_myself=
   10950 case $0 in #((
   10951   *[\\/]* ) as_myself=$0 ;;
   10952   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10953 for as_dir in $PATH
   10954 do
   10955   IFS=$as_save_IFS
   10956   test -z "$as_dir" && as_dir=.
   10957     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10958   done
   10959 IFS=$as_save_IFS
   10960 
   10961      ;;
   10962 esac
   10963 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10964 # in which case we are not to be found in the path.
   10965 if test "x$as_myself" = x; then
   10966   as_myself=$0
   10967 fi
   10968 if test ! -f "$as_myself"; then
   10969   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10970   exit 1
   10971 fi
   10972 
   10973 # Unset variables that we do not need and which cause bugs (e.g. in
   10974 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   10975 # suppresses any "Segmentation fault" message there.  '((' could
   10976 # trigger a bug in pdksh 5.2.14.
   10977 for as_var in BASH_ENV ENV MAIL MAILPATH
   10978 do eval test x\${$as_var+set} = xset \
   10979   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   10980 done
   10981 PS1='$ '
   10982 PS2='> '
   10983 PS4='+ '
   10984 
   10985 # NLS nuisances.
   10986 LC_ALL=C
   10987 export LC_ALL
   10988 LANGUAGE=C
   10989 export LANGUAGE
   10990 
   10991 # CDPATH.
   10992 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10993 
   10994 
   10995 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   10996 # ----------------------------------------
   10997 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   10998 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   10999 # script with STATUS, using 1 if that was 0.
   11000 as_fn_error ()
   11001 {
   11002   as_status=$1; test $as_status -eq 0 && as_status=1
   11003   if test "$4"; then
   11004     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11005     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11006   fi
   11007   $as_echo "$as_me: error: $2" >&2
   11008   as_fn_exit $as_status
   11009 } # as_fn_error
   11010 
   11011 
   11012 # as_fn_set_status STATUS
   11013 # -----------------------
   11014 # Set $? to STATUS, without forking.
   11015 as_fn_set_status ()
   11016 {
   11017   return $1
   11018 } # as_fn_set_status
   11019 
   11020 # as_fn_exit STATUS
   11021 # -----------------
   11022 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11023 as_fn_exit ()
   11024 {
   11025   set +e
   11026   as_fn_set_status $1
   11027   exit $1
   11028 } # as_fn_exit
   11029 
   11030 # as_fn_unset VAR
   11031 # ---------------
   11032 # Portably unset VAR.
   11033 as_fn_unset ()
   11034 {
   11035   { eval $1=; unset $1;}
   11036 }
   11037 as_unset=as_fn_unset
   11038 # as_fn_append VAR VALUE
   11039 # ----------------------
   11040 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11041 # advantage of any shell optimizations that allow amortized linear growth over
   11042 # repeated appends, instead of the typical quadratic growth present in naive
   11043 # implementations.
   11044 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11045   eval 'as_fn_append ()
   11046   {
   11047     eval $1+=\$2
   11048   }'
   11049 else
   11050   as_fn_append ()
   11051   {
   11052     eval $1=\$$1\$2
   11053   }
   11054 fi # as_fn_append
   11055 
   11056 # as_fn_arith ARG...
   11057 # ------------------
   11058 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11059 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11060 # must be portable across $(()) and expr.
   11061 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11062   eval 'as_fn_arith ()
   11063   {
   11064     as_val=$(( $* ))
   11065   }'
   11066 else
   11067   as_fn_arith ()
   11068   {
   11069     as_val=`expr "$@" || test $? -eq 1`
   11070   }
   11071 fi # as_fn_arith
   11072 
   11073 
   11074 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11075    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11076   as_expr=expr
   11077 else
   11078   as_expr=false
   11079 fi
   11080 
   11081 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11082   as_basename=basename
   11083 else
   11084   as_basename=false
   11085 fi
   11086 
   11087 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11088   as_dirname=dirname
   11089 else
   11090   as_dirname=false
   11091 fi
   11092 
   11093 as_me=`$as_basename -- "$0" ||
   11094 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11095 	 X"$0" : 'X\(//\)$' \| \
   11096 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11097 $as_echo X/"$0" |
   11098     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11099 	    s//\1/
   11100 	    q
   11101 	  }
   11102 	  /^X\/\(\/\/\)$/{
   11103 	    s//\1/
   11104 	    q
   11105 	  }
   11106 	  /^X\/\(\/\).*/{
   11107 	    s//\1/
   11108 	    q
   11109 	  }
   11110 	  s/.*/./; q'`
   11111 
   11112 # Avoid depending upon Character Ranges.
   11113 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11114 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11115 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11116 as_cr_digits='0123456789'
   11117 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11118 
   11119 ECHO_C= ECHO_N= ECHO_T=
   11120 case `echo -n x` in #(((((
   11121 -n*)
   11122   case `echo 'xy\c'` in
   11123   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11124   xy)  ECHO_C='\c';;
   11125   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11126        ECHO_T='	';;
   11127   esac;;
   11128 *)
   11129   ECHO_N='-n';;
   11130 esac
   11131 
   11132 rm -f conf$$ conf$$.exe conf$$.file
   11133 if test -d conf$$.dir; then
   11134   rm -f conf$$.dir/conf$$.file
   11135 else
   11136   rm -f conf$$.dir
   11137   mkdir conf$$.dir 2>/dev/null
   11138 fi
   11139 if (echo >conf$$.file) 2>/dev/null; then
   11140   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11141     as_ln_s='ln -s'
   11142     # ... but there are two gotchas:
   11143     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11144     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11145     # In both cases, we have to default to `cp -pR'.
   11146     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11147       as_ln_s='cp -pR'
   11148   elif ln conf$$.file conf$$ 2>/dev/null; then
   11149     as_ln_s=ln
   11150   else
   11151     as_ln_s='cp -pR'
   11152   fi
   11153 else
   11154   as_ln_s='cp -pR'
   11155 fi
   11156 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11157 rmdir conf$$.dir 2>/dev/null
   11158 
   11159 
   11160 # as_fn_mkdir_p
   11161 # -------------
   11162 # Create "$as_dir" as a directory, including parents if necessary.
   11163 as_fn_mkdir_p ()
   11164 {
   11165 
   11166   case $as_dir in #(
   11167   -*) as_dir=./$as_dir;;
   11168   esac
   11169   test -d "$as_dir" || eval $as_mkdir_p || {
   11170     as_dirs=
   11171     while :; do
   11172       case $as_dir in #(
   11173       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11174       *) as_qdir=$as_dir;;
   11175       esac
   11176       as_dirs="'$as_qdir' $as_dirs"
   11177       as_dir=`$as_dirname -- "$as_dir" ||
   11178 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11179 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11180 	 X"$as_dir" : 'X\(//\)$' \| \
   11181 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11182 $as_echo X"$as_dir" |
   11183     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11184 	    s//\1/
   11185 	    q
   11186 	  }
   11187 	  /^X\(\/\/\)[^/].*/{
   11188 	    s//\1/
   11189 	    q
   11190 	  }
   11191 	  /^X\(\/\/\)$/{
   11192 	    s//\1/
   11193 	    q
   11194 	  }
   11195 	  /^X\(\/\).*/{
   11196 	    s//\1/
   11197 	    q
   11198 	  }
   11199 	  s/.*/./; q'`
   11200       test -d "$as_dir" && break
   11201     done
   11202     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11203   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11204 
   11205 
   11206 } # as_fn_mkdir_p
   11207 if mkdir -p . 2>/dev/null; then
   11208   as_mkdir_p='mkdir -p "$as_dir"'
   11209 else
   11210   test -d ./-p && rmdir ./-p
   11211   as_mkdir_p=false
   11212 fi
   11213 
   11214 
   11215 # as_fn_executable_p FILE
   11216 # -----------------------
   11217 # Test if FILE is an executable regular file.
   11218 as_fn_executable_p ()
   11219 {
   11220   test -f "$1" && test -x "$1"
   11221 } # as_fn_executable_p
   11222 as_test_x='test -x'
   11223 as_executable_p=as_fn_executable_p
   11224 
   11225 # Sed expression to map a string onto a valid CPP name.
   11226 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11227 
   11228 # Sed expression to map a string onto a valid variable name.
   11229 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11230 
   11231 
   11232 exec 6>&1
   11233 ## ----------------------------------- ##
   11234 ## Main body of $CONFIG_STATUS script. ##
   11235 ## ----------------------------------- ##
   11236 _ASEOF
   11237 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11238 
   11239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11240 # Save the log message, to keep $0 and so on meaningful, and to
   11241 # report actual input values of CONFIG_FILES etc. instead of their
   11242 # values after options handling.
   11243 ac_log="
   11244 This file was extended by font-alias $as_me 1.0.4, which was
   11245 generated by GNU Autoconf 2.69.  Invocation command line was
   11246 
   11247   CONFIG_FILES    = $CONFIG_FILES
   11248   CONFIG_HEADERS  = $CONFIG_HEADERS
   11249   CONFIG_LINKS    = $CONFIG_LINKS
   11250   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11251   $ $0 $@
   11252 
   11253 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11254 "
   11255 
   11256 _ACEOF
   11257 
   11258 case $ac_config_files in *"
   11259 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11260 esac
   11261 
   11262 
   11263 
   11264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11265 # Files that config.status was made for.
   11266 config_files="$ac_config_files"
   11267 config_commands="$ac_config_commands"
   11268 
   11269 _ACEOF
   11270 
   11271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11272 ac_cs_usage="\
   11273 \`$as_me' instantiates files and other configuration actions
   11274 from templates according to the current configuration.  Unless the files
   11275 and actions are specified as TAGs, all are instantiated by default.
   11276 
   11277 Usage: $0 [OPTION]... [TAG]...
   11278 
   11279   -h, --help       print this help, then exit
   11280   -V, --version    print version number and configuration settings, then exit
   11281       --config     print configuration, then exit
   11282   -q, --quiet, --silent
   11283                    do not print progress messages
   11284   -d, --debug      don't remove temporary files
   11285       --recheck    update $as_me by reconfiguring in the same conditions
   11286       --file=FILE[:TEMPLATE]
   11287                    instantiate the configuration file FILE
   11288 
   11289 Configuration files:
   11290 $config_files
   11291 
   11292 Configuration commands:
   11293 $config_commands
   11294 
   11295 Report bugs to <https://gitlab.freedesktop.org/xorg/font/alias/issues>."
   11296 
   11297 _ACEOF
   11298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11299 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11300 ac_cs_version="\\
   11301 font-alias config.status 1.0.4
   11302 configured by $0, generated by GNU Autoconf 2.69,
   11303   with options \\"\$ac_cs_config\\"
   11304 
   11305 Copyright (C) 2012 Free Software Foundation, Inc.
   11306 This config.status script is free software; the Free Software Foundation
   11307 gives unlimited permission to copy, distribute and modify it."
   11308 
   11309 ac_pwd='$ac_pwd'
   11310 srcdir='$srcdir'
   11311 INSTALL='$INSTALL'
   11312 MKDIR_P='$MKDIR_P'
   11313 AWK='$AWK'
   11314 test -n "\$AWK" || AWK=awk
   11315 _ACEOF
   11316 
   11317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11318 # The default lists apply if the user does not specify any file.
   11319 ac_need_defaults=:
   11320 while test $# != 0
   11321 do
   11322   case $1 in
   11323   --*=?*)
   11324     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11325     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11326     ac_shift=:
   11327     ;;
   11328   --*=)
   11329     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11330     ac_optarg=
   11331     ac_shift=:
   11332     ;;
   11333   *)
   11334     ac_option=$1
   11335     ac_optarg=$2
   11336     ac_shift=shift
   11337     ;;
   11338   esac
   11339 
   11340   case $ac_option in
   11341   # Handling of the options.
   11342   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11343     ac_cs_recheck=: ;;
   11344   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11345     $as_echo "$ac_cs_version"; exit ;;
   11346   --config | --confi | --conf | --con | --co | --c )
   11347     $as_echo "$ac_cs_config"; exit ;;
   11348   --debug | --debu | --deb | --de | --d | -d )
   11349     debug=: ;;
   11350   --file | --fil | --fi | --f )
   11351     $ac_shift
   11352     case $ac_optarg in
   11353     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11354     '') as_fn_error $? "missing file argument" ;;
   11355     esac
   11356     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11357     ac_need_defaults=false;;
   11358   --he | --h |  --help | --hel | -h )
   11359     $as_echo "$ac_cs_usage"; exit ;;
   11360   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11361   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11362     ac_cs_silent=: ;;
   11363 
   11364   # This is an error.
   11365   -*) as_fn_error $? "unrecognized option: \`$1'
   11366 Try \`$0 --help' for more information." ;;
   11367 
   11368   *) as_fn_append ac_config_targets " $1"
   11369      ac_need_defaults=false ;;
   11370 
   11371   esac
   11372   shift
   11373 done
   11374 
   11375 ac_configure_extra_args=
   11376 
   11377 if $ac_cs_silent; then
   11378   exec 6>/dev/null
   11379   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11380 fi
   11381 
   11382 _ACEOF
   11383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11384 if \$ac_cs_recheck; then
   11385   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11386   shift
   11387   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11388   CONFIG_SHELL='$SHELL'
   11389   export CONFIG_SHELL
   11390   exec "\$@"
   11391 fi
   11392 
   11393 _ACEOF
   11394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11395 exec 5>>config.log
   11396 {
   11397   echo
   11398   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11399 ## Running $as_me. ##
   11400 _ASBOX
   11401   $as_echo "$ac_log"
   11402 } >&5
   11403 
   11404 _ACEOF
   11405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11406 #
   11407 # INIT-COMMANDS
   11408 #
   11409 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11410 
   11411 _ACEOF
   11412 
   11413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11414 
   11415 # Handling of arguments.
   11416 for ac_config_target in $ac_config_targets
   11417 do
   11418   case $ac_config_target in
   11419     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11420     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11421     "100dpi/Makefile") CONFIG_FILES="$CONFIG_FILES 100dpi/Makefile" ;;
   11422     "75dpi/Makefile") CONFIG_FILES="$CONFIG_FILES 75dpi/Makefile" ;;
   11423     "cyrillic/Makefile") CONFIG_FILES="$CONFIG_FILES cyrillic/Makefile" ;;
   11424     "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
   11425 
   11426   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11427   esac
   11428 done
   11429 
   11430 
   11431 # If the user did not use the arguments to specify the items to instantiate,
   11432 # then the envvar interface is used.  Set only those that are not.
   11433 # We use the long form for the default assignment because of an extremely
   11434 # bizarre bug on SunOS 4.1.3.
   11435 if $ac_need_defaults; then
   11436   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11437   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11438 fi
   11439 
   11440 # Have a temporary directory for convenience.  Make it in the build tree
   11441 # simply because there is no reason against having it here, and in addition,
   11442 # creating and moving files from /tmp can sometimes cause problems.
   11443 # Hook for its removal unless debugging.
   11444 # Note that there is a small window in which the directory will not be cleaned:
   11445 # after its creation but before its name has been assigned to `$tmp'.
   11446 $debug ||
   11447 {
   11448   tmp= ac_tmp=
   11449   trap 'exit_status=$?
   11450   : "${ac_tmp:=$tmp}"
   11451   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11452 ' 0
   11453   trap 'as_fn_exit 1' 1 2 13 15
   11454 }
   11455 # Create a (secure) tmp directory for tmp files.
   11456 
   11457 {
   11458   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11459   test -d "$tmp"
   11460 }  ||
   11461 {
   11462   tmp=./conf$$-$RANDOM
   11463   (umask 077 && mkdir "$tmp")
   11464 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11465 ac_tmp=$tmp
   11466 
   11467 # Set up the scripts for CONFIG_FILES section.
   11468 # No need to generate them if there are no CONFIG_FILES.
   11469 # This happens for instance with `./config.status config.h'.
   11470 if test -n "$CONFIG_FILES"; then
   11471 
   11472 
   11473 ac_cr=`echo X | tr X '\015'`
   11474 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11475 # But we know of no other shell where ac_cr would be empty at this
   11476 # point, so we can use a bashism as a fallback.
   11477 if test "x$ac_cr" = x; then
   11478   eval ac_cr=\$\'\\r\'
   11479 fi
   11480 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11481 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11482   ac_cs_awk_cr='\\r'
   11483 else
   11484   ac_cs_awk_cr=$ac_cr
   11485 fi
   11486 
   11487 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11488 _ACEOF
   11489 
   11490 
   11491 {
   11492   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11493   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11494   echo "_ACEOF"
   11495 } >conf$$subs.sh ||
   11496   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11497 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11498 ac_delim='%!_!# '
   11499 for ac_last_try in false false false false false :; do
   11500   . ./conf$$subs.sh ||
   11501     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11502 
   11503   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11504   if test $ac_delim_n = $ac_delim_num; then
   11505     break
   11506   elif $ac_last_try; then
   11507     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11508   else
   11509     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11510   fi
   11511 done
   11512 rm -f conf$$subs.sh
   11513 
   11514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11515 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11516 _ACEOF
   11517 sed -n '
   11518 h
   11519 s/^/S["/; s/!.*/"]=/
   11520 p
   11521 g
   11522 s/^[^!]*!//
   11523 :repl
   11524 t repl
   11525 s/'"$ac_delim"'$//
   11526 t delim
   11527 :nl
   11528 h
   11529 s/\(.\{148\}\)..*/\1/
   11530 t more1
   11531 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11532 p
   11533 n
   11534 b repl
   11535 :more1
   11536 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11537 p
   11538 g
   11539 s/.\{148\}//
   11540 t nl
   11541 :delim
   11542 h
   11543 s/\(.\{148\}\)..*/\1/
   11544 t more2
   11545 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11546 p
   11547 b
   11548 :more2
   11549 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11550 p
   11551 g
   11552 s/.\{148\}//
   11553 t delim
   11554 ' <conf$$subs.awk | sed '
   11555 /^[^""]/{
   11556   N
   11557   s/\n//
   11558 }
   11559 ' >>$CONFIG_STATUS || ac_write_fail=1
   11560 rm -f conf$$subs.awk
   11561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11562 _ACAWK
   11563 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11564   for (key in S) S_is_set[key] = 1
   11565   FS = ""
   11566 
   11567 }
   11568 {
   11569   line = $ 0
   11570   nfields = split(line, field, "@")
   11571   substed = 0
   11572   len = length(field[1])
   11573   for (i = 2; i < nfields; i++) {
   11574     key = field[i]
   11575     keylen = length(key)
   11576     if (S_is_set[key]) {
   11577       value = S[key]
   11578       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11579       len += length(value) + length(field[++i])
   11580       substed = 1
   11581     } else
   11582       len += 1 + keylen
   11583   }
   11584 
   11585   print line
   11586 }
   11587 
   11588 _ACAWK
   11589 _ACEOF
   11590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11591 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11592   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11593 else
   11594   cat
   11595 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11596   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11597 _ACEOF
   11598 
   11599 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11600 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11601 # trailing colons and then remove the whole line if VPATH becomes empty
   11602 # (actually we leave an empty line to preserve line numbers).
   11603 if test "x$srcdir" = x.; then
   11604   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11605 h
   11606 s///
   11607 s/^/:/
   11608 s/[	 ]*$/:/
   11609 s/:\$(srcdir):/:/g
   11610 s/:\${srcdir}:/:/g
   11611 s/:@srcdir@:/:/g
   11612 s/^:*//
   11613 s/:*$//
   11614 x
   11615 s/\(=[	 ]*\).*/\1/
   11616 G
   11617 s/\n//
   11618 s/^[^=]*=[	 ]*$//
   11619 }'
   11620 fi
   11621 
   11622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11623 fi # test -n "$CONFIG_FILES"
   11624 
   11625 
   11626 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   11627 shift
   11628 for ac_tag
   11629 do
   11630   case $ac_tag in
   11631   :[FHLC]) ac_mode=$ac_tag; continue;;
   11632   esac
   11633   case $ac_mode$ac_tag in
   11634   :[FHL]*:*);;
   11635   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11636   :[FH]-) ac_tag=-:-;;
   11637   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11638   esac
   11639   ac_save_IFS=$IFS
   11640   IFS=:
   11641   set x $ac_tag
   11642   IFS=$ac_save_IFS
   11643   shift
   11644   ac_file=$1
   11645   shift
   11646 
   11647   case $ac_mode in
   11648   :L) ac_source=$1;;
   11649   :[FH])
   11650     ac_file_inputs=
   11651     for ac_f
   11652     do
   11653       case $ac_f in
   11654       -) ac_f="$ac_tmp/stdin";;
   11655       *) # Look for the file first in the build tree, then in the source tree
   11656 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11657 	 # because $ac_f cannot contain `:'.
   11658 	 test -f "$ac_f" ||
   11659 	   case $ac_f in
   11660 	   [\\/$]*) false;;
   11661 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11662 	   esac ||
   11663 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11664       esac
   11665       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11666       as_fn_append ac_file_inputs " '$ac_f'"
   11667     done
   11668 
   11669     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11670     # use $as_me), people would be surprised to read:
   11671     #    /* config.h.  Generated by config.status.  */
   11672     configure_input='Generated from '`
   11673 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11674 	`' by configure.'
   11675     if test x"$ac_file" != x-; then
   11676       configure_input="$ac_file.  $configure_input"
   11677       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11678 $as_echo "$as_me: creating $ac_file" >&6;}
   11679     fi
   11680     # Neutralize special characters interpreted by sed in replacement strings.
   11681     case $configure_input in #(
   11682     *\&* | *\|* | *\\* )
   11683        ac_sed_conf_input=`$as_echo "$configure_input" |
   11684        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11685     *) ac_sed_conf_input=$configure_input;;
   11686     esac
   11687 
   11688     case $ac_tag in
   11689     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11690       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11691     esac
   11692     ;;
   11693   esac
   11694 
   11695   ac_dir=`$as_dirname -- "$ac_file" ||
   11696 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11697 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11698 	 X"$ac_file" : 'X\(//\)$' \| \
   11699 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11700 $as_echo X"$ac_file" |
   11701     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11702 	    s//\1/
   11703 	    q
   11704 	  }
   11705 	  /^X\(\/\/\)[^/].*/{
   11706 	    s//\1/
   11707 	    q
   11708 	  }
   11709 	  /^X\(\/\/\)$/{
   11710 	    s//\1/
   11711 	    q
   11712 	  }
   11713 	  /^X\(\/\).*/{
   11714 	    s//\1/
   11715 	    q
   11716 	  }
   11717 	  s/.*/./; q'`
   11718   as_dir="$ac_dir"; as_fn_mkdir_p
   11719   ac_builddir=.
   11720 
   11721 case "$ac_dir" in
   11722 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11723 *)
   11724   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11725   # A ".." for each directory in $ac_dir_suffix.
   11726   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11727   case $ac_top_builddir_sub in
   11728   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11729   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11730   esac ;;
   11731 esac
   11732 ac_abs_top_builddir=$ac_pwd
   11733 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11734 # for backward compatibility:
   11735 ac_top_builddir=$ac_top_build_prefix
   11736 
   11737 case $srcdir in
   11738   .)  # We are building in place.
   11739     ac_srcdir=.
   11740     ac_top_srcdir=$ac_top_builddir_sub
   11741     ac_abs_top_srcdir=$ac_pwd ;;
   11742   [\\/]* | ?:[\\/]* )  # Absolute name.
   11743     ac_srcdir=$srcdir$ac_dir_suffix;
   11744     ac_top_srcdir=$srcdir
   11745     ac_abs_top_srcdir=$srcdir ;;
   11746   *) # Relative name.
   11747     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11748     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11749     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11750 esac
   11751 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11752 
   11753 
   11754   case $ac_mode in
   11755   :F)
   11756   #
   11757   # CONFIG_FILE
   11758   #
   11759 
   11760   case $INSTALL in
   11761   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11762   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11763   esac
   11764   ac_MKDIR_P=$MKDIR_P
   11765   case $MKDIR_P in
   11766   [\\/$]* | ?:[\\/]* ) ;;
   11767   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11768   esac
   11769 _ACEOF
   11770 
   11771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11772 # If the template does not know about datarootdir, expand it.
   11773 # FIXME: This hack should be removed a few years after 2.60.
   11774 ac_datarootdir_hack=; ac_datarootdir_seen=
   11775 ac_sed_dataroot='
   11776 /datarootdir/ {
   11777   p
   11778   q
   11779 }
   11780 /@datadir@/p
   11781 /@docdir@/p
   11782 /@infodir@/p
   11783 /@localedir@/p
   11784 /@mandir@/p'
   11785 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11786 *datarootdir*) ac_datarootdir_seen=yes;;
   11787 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11788   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11789 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11790 _ACEOF
   11791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11792   ac_datarootdir_hack='
   11793   s&@datadir@&$datadir&g
   11794   s&@docdir@&$docdir&g
   11795   s&@infodir@&$infodir&g
   11796   s&@localedir@&$localedir&g
   11797   s&@mandir@&$mandir&g
   11798   s&\\\${datarootdir}&$datarootdir&g' ;;
   11799 esac
   11800 _ACEOF
   11801 
   11802 # Neutralize VPATH when `$srcdir' = `.'.
   11803 # Shell code in configure.ac might set extrasub.
   11804 # FIXME: do we really want to maintain this feature?
   11805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11806 ac_sed_extra="$ac_vpsub
   11807 $extrasub
   11808 _ACEOF
   11809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11810 :t
   11811 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11812 s|@configure_input@|$ac_sed_conf_input|;t t
   11813 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11814 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11815 s&@srcdir@&$ac_srcdir&;t t
   11816 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11817 s&@top_srcdir@&$ac_top_srcdir&;t t
   11818 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11819 s&@builddir@&$ac_builddir&;t t
   11820 s&@abs_builddir@&$ac_abs_builddir&;t t
   11821 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11822 s&@INSTALL@&$ac_INSTALL&;t t
   11823 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11824 $ac_datarootdir_hack
   11825 "
   11826 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11827   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11828 
   11829 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11830   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11831   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11832       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11833   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11834 which seems to be undefined.  Please make sure it is defined" >&5
   11835 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11836 which seems to be undefined.  Please make sure it is defined" >&2;}
   11837 
   11838   rm -f "$ac_tmp/stdin"
   11839   case $ac_file in
   11840   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11841   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11842   esac \
   11843   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11844  ;;
   11845 
   11846 
   11847   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   11848 $as_echo "$as_me: executing $ac_file commands" >&6;}
   11849  ;;
   11850   esac
   11851 
   11852 
   11853   case $ac_file$ac_mode in
   11854     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   11855   # Older Autoconf quotes --file arguments for eval, but not when files
   11856   # are listed without --file.  Let's play safe and only enable the eval
   11857   # if we detect the quoting.
   11858   case $CONFIG_FILES in
   11859   *\'*) eval set x "$CONFIG_FILES" ;;
   11860   *)   set x $CONFIG_FILES ;;
   11861   esac
   11862   shift
   11863   for mf
   11864   do
   11865     # Strip MF so we end up with the name of the file.
   11866     mf=`echo "$mf" | sed -e 's/:.*$//'`
   11867     # Check whether this is an Automake generated Makefile or not.
   11868     # We used to match only the files named 'Makefile.in', but
   11869     # some people rename them; so instead we look at the file content.
   11870     # Grep'ing the first line is not enough: some people post-process
   11871     # each Makefile.in and add a new line on top of each file to say so.
   11872     # Grep'ing the whole file is not good either: AIX grep has a line
   11873     # limit of 2048, but all sed's we know have understand at least 4000.
   11874     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   11875       dirpart=`$as_dirname -- "$mf" ||
   11876 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11877 	 X"$mf" : 'X\(//\)[^/]' \| \
   11878 	 X"$mf" : 'X\(//\)$' \| \
   11879 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   11880 $as_echo X"$mf" |
   11881     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11882 	    s//\1/
   11883 	    q
   11884 	  }
   11885 	  /^X\(\/\/\)[^/].*/{
   11886 	    s//\1/
   11887 	    q
   11888 	  }
   11889 	  /^X\(\/\/\)$/{
   11890 	    s//\1/
   11891 	    q
   11892 	  }
   11893 	  /^X\(\/\).*/{
   11894 	    s//\1/
   11895 	    q
   11896 	  }
   11897 	  s/.*/./; q'`
   11898     else
   11899       continue
   11900     fi
   11901     # Extract the definition of DEPDIR, am__include, and am__quote
   11902     # from the Makefile without running 'make'.
   11903     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   11904     test -z "$DEPDIR" && continue
   11905     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   11906     test -z "$am__include" && continue
   11907     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   11908     # Find all dependency output files, they are included files with
   11909     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   11910     # simplest approach to changing $(DEPDIR) to its actual value in the
   11911     # expansion.
   11912     for file in `sed -n "
   11913       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   11914 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   11915       # Make sure the directory exists.
   11916       test -f "$dirpart/$file" && continue
   11917       fdir=`$as_dirname -- "$file" ||
   11918 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11919 	 X"$file" : 'X\(//\)[^/]' \| \
   11920 	 X"$file" : 'X\(//\)$' \| \
   11921 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   11922 $as_echo X"$file" |
   11923     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11924 	    s//\1/
   11925 	    q
   11926 	  }
   11927 	  /^X\(\/\/\)[^/].*/{
   11928 	    s//\1/
   11929 	    q
   11930 	  }
   11931 	  /^X\(\/\/\)$/{
   11932 	    s//\1/
   11933 	    q
   11934 	  }
   11935 	  /^X\(\/\).*/{
   11936 	    s//\1/
   11937 	    q
   11938 	  }
   11939 	  s/.*/./; q'`
   11940       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   11941       # echo "creating $dirpart/$file"
   11942       echo '# dummy' > "$dirpart/$file"
   11943     done
   11944   done
   11945 }
   11946  ;;
   11947 
   11948   esac
   11949 done # for ac_tag
   11950 
   11951 
   11952 as_fn_exit 0
   11953 _ACEOF
   11954 ac_clean_files=$ac_clean_files_save
   11955 
   11956 test $ac_write_fail = 0 ||
   11957   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   11958 
   11959 
   11960 # configure is writing to config.log, and then calls config.status.
   11961 # config.status does its own redirection, appending to config.log.
   11962 # Unfortunately, on DOS this fails, as config.log is still kept open
   11963 # by configure, so config.status won't be able to write to it; its
   11964 # output is simply discarded.  So we exec the FD to /dev/null,
   11965 # effectively closing config.log, so it can be properly (re)opened and
   11966 # appended to by config.status.  When coming back to configure, we
   11967 # need to make the FD available again.
   11968 if test "$no_create" != yes; then
   11969   ac_cs_success=:
   11970   ac_config_status_args=
   11971   test "$silent" = yes &&
   11972     ac_config_status_args="$ac_config_status_args --quiet"
   11973   exec 5>/dev/null
   11974   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   11975   exec 5>>config.log
   11976   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   11977   # would make configure fail if this is the last instruction.
   11978   $ac_cs_success || as_fn_exit 1
   11979 fi
   11980 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   11981   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   11982 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   11983 fi
   11984 
   11985