Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for font-util 1.3.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='font-util'
    583 PACKAGE_TARNAME='font-util'
    584 PACKAGE_VERSION='1.3.1'
    585 PACKAGE_STRING='font-util 1.3.1'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 MAPDIR
    631 fontrootdir
    632 MAN_SUBSTS
    633 XORG_MAN_PAGE
    634 ADMIN_MAN_DIR
    635 DRIVER_MAN_DIR
    636 MISC_MAN_DIR
    637 FILE_MAN_DIR
    638 LIB_MAN_DIR
    639 APP_MAN_DIR
    640 ADMIN_MAN_SUFFIX
    641 DRIVER_MAN_SUFFIX
    642 MISC_MAN_SUFFIX
    643 FILE_MAN_SUFFIX
    644 LIB_MAN_SUFFIX
    645 APP_MAN_SUFFIX
    646 SED
    647 host_os
    648 host_vendor
    649 host_cpu
    650 host
    651 build_os
    652 build_vendor
    653 build_cpu
    654 build
    655 INSTALL_CMD
    656 PKG_CONFIG
    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_mapdir
    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 
    767 
    768 # Initialize some variables set by options.
    769 ac_init_help=
    770 ac_init_version=false
    771 ac_unrecognized_opts=
    772 ac_unrecognized_sep=
    773 # The variables have the same names as the options, with
    774 # dashes changed to underlines.
    775 cache_file=/dev/null
    776 exec_prefix=NONE
    777 no_create=
    778 no_recursion=
    779 prefix=NONE
    780 program_prefix=NONE
    781 program_suffix=NONE
    782 program_transform_name=s,x,x,
    783 silent=
    784 site=
    785 srcdir=
    786 verbose=
    787 x_includes=NONE
    788 x_libraries=NONE
    789 
    790 # Installation directory options.
    791 # These are left unexpanded so users can "make install exec_prefix=/foo"
    792 # and all the variables that are supposed to be based on exec_prefix
    793 # by default will actually change.
    794 # Use braces instead of parens because sh, perl, etc. also accept them.
    795 # (The list follows the same order as the GNU Coding Standards.)
    796 bindir='${exec_prefix}/bin'
    797 sbindir='${exec_prefix}/sbin'
    798 libexecdir='${exec_prefix}/libexec'
    799 datarootdir='${prefix}/share'
    800 datadir='${datarootdir}'
    801 sysconfdir='${prefix}/etc'
    802 sharedstatedir='${prefix}/com'
    803 localstatedir='${prefix}/var'
    804 includedir='${prefix}/include'
    805 oldincludedir='/usr/include'
    806 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    807 infodir='${datarootdir}/info'
    808 htmldir='${docdir}'
    809 dvidir='${docdir}'
    810 pdfdir='${docdir}'
    811 psdir='${docdir}'
    812 libdir='${exec_prefix}/lib'
    813 localedir='${datarootdir}/locale'
    814 mandir='${datarootdir}/man'
    815 
    816 ac_prev=
    817 ac_dashdash=
    818 for ac_option
    819 do
    820   # If the previous option needs an argument, assign it.
    821   if test -n "$ac_prev"; then
    822     eval $ac_prev=\$ac_option
    823     ac_prev=
    824     continue
    825   fi
    826 
    827   case $ac_option in
    828   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    829   *=)   ac_optarg= ;;
    830   *)    ac_optarg=yes ;;
    831   esac
    832 
    833   # Accept the important Cygnus configure options, so we can diagnose typos.
    834 
    835   case $ac_dashdash$ac_option in
    836   --)
    837     ac_dashdash=yes ;;
    838 
    839   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    840     ac_prev=bindir ;;
    841   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    842     bindir=$ac_optarg ;;
    843 
    844   -build | --build | --buil | --bui | --bu)
    845     ac_prev=build_alias ;;
    846   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    847     build_alias=$ac_optarg ;;
    848 
    849   -cache-file | --cache-file | --cache-fil | --cache-fi \
    850   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    851     ac_prev=cache_file ;;
    852   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    853   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    854     cache_file=$ac_optarg ;;
    855 
    856   --config-cache | -C)
    857     cache_file=config.cache ;;
    858 
    859   -datadir | --datadir | --datadi | --datad)
    860     ac_prev=datadir ;;
    861   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    862     datadir=$ac_optarg ;;
    863 
    864   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    865   | --dataroo | --dataro | --datar)
    866     ac_prev=datarootdir ;;
    867   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    868   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    869     datarootdir=$ac_optarg ;;
    870 
    871   -disable-* | --disable-*)
    872     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    873     # Reject names that are not valid shell variable names.
    874     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    875       as_fn_error $? "invalid feature name: $ac_useropt"
    876     ac_useropt_orig=$ac_useropt
    877     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    878     case $ac_user_opts in
    879       *"
    880 "enable_$ac_useropt"
    881 "*) ;;
    882       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    883 	 ac_unrecognized_sep=', ';;
    884     esac
    885     eval enable_$ac_useropt=no ;;
    886 
    887   -docdir | --docdir | --docdi | --doc | --do)
    888     ac_prev=docdir ;;
    889   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    890     docdir=$ac_optarg ;;
    891 
    892   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    893     ac_prev=dvidir ;;
    894   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    895     dvidir=$ac_optarg ;;
    896 
    897   -enable-* | --enable-*)
    898     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    899     # Reject names that are not valid shell variable names.
    900     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    901       as_fn_error $? "invalid feature name: $ac_useropt"
    902     ac_useropt_orig=$ac_useropt
    903     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    904     case $ac_user_opts in
    905       *"
    906 "enable_$ac_useropt"
    907 "*) ;;
    908       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    909 	 ac_unrecognized_sep=', ';;
    910     esac
    911     eval enable_$ac_useropt=\$ac_optarg ;;
    912 
    913   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    914   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    915   | --exec | --exe | --ex)
    916     ac_prev=exec_prefix ;;
    917   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    918   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    919   | --exec=* | --exe=* | --ex=*)
    920     exec_prefix=$ac_optarg ;;
    921 
    922   -gas | --gas | --ga | --g)
    923     # Obsolete; use --with-gas.
    924     with_gas=yes ;;
    925 
    926   -help | --help | --hel | --he | -h)
    927     ac_init_help=long ;;
    928   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    929     ac_init_help=recursive ;;
    930   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    931     ac_init_help=short ;;
    932 
    933   -host | --host | --hos | --ho)
    934     ac_prev=host_alias ;;
    935   -host=* | --host=* | --hos=* | --ho=*)
    936     host_alias=$ac_optarg ;;
    937 
    938   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    939     ac_prev=htmldir ;;
    940   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    941   | --ht=*)
    942     htmldir=$ac_optarg ;;
    943 
    944   -includedir | --includedir | --includedi | --included | --include \
    945   | --includ | --inclu | --incl | --inc)
    946     ac_prev=includedir ;;
    947   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    948   | --includ=* | --inclu=* | --incl=* | --inc=*)
    949     includedir=$ac_optarg ;;
    950 
    951   -infodir | --infodir | --infodi | --infod | --info | --inf)
    952     ac_prev=infodir ;;
    953   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    954     infodir=$ac_optarg ;;
    955 
    956   -libdir | --libdir | --libdi | --libd)
    957     ac_prev=libdir ;;
    958   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    959     libdir=$ac_optarg ;;
    960 
    961   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    962   | --libexe | --libex | --libe)
    963     ac_prev=libexecdir ;;
    964   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    965   | --libexe=* | --libex=* | --libe=*)
    966     libexecdir=$ac_optarg ;;
    967 
    968   -localedir | --localedir | --localedi | --localed | --locale)
    969     ac_prev=localedir ;;
    970   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    971     localedir=$ac_optarg ;;
    972 
    973   -localstatedir | --localstatedir | --localstatedi | --localstated \
    974   | --localstate | --localstat | --localsta | --localst | --locals)
    975     ac_prev=localstatedir ;;
    976   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    977   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    978     localstatedir=$ac_optarg ;;
    979 
    980   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    981     ac_prev=mandir ;;
    982   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    983     mandir=$ac_optarg ;;
    984 
    985   -nfp | --nfp | --nf)
    986     # Obsolete; use --without-fp.
    987     with_fp=no ;;
    988 
    989   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    990   | --no-cr | --no-c | -n)
    991     no_create=yes ;;
    992 
    993   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    994   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    995     no_recursion=yes ;;
    996 
    997   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    998   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    999   | --oldin | --oldi | --old | --ol | --o)
   1000     ac_prev=oldincludedir ;;
   1001   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1002   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1003   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1004     oldincludedir=$ac_optarg ;;
   1005 
   1006   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1007     ac_prev=prefix ;;
   1008   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1009     prefix=$ac_optarg ;;
   1010 
   1011   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1012   | --program-pre | --program-pr | --program-p)
   1013     ac_prev=program_prefix ;;
   1014   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1015   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1016     program_prefix=$ac_optarg ;;
   1017 
   1018   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1019   | --program-suf | --program-su | --program-s)
   1020     ac_prev=program_suffix ;;
   1021   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1022   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1023     program_suffix=$ac_optarg ;;
   1024 
   1025   -program-transform-name | --program-transform-name \
   1026   | --program-transform-nam | --program-transform-na \
   1027   | --program-transform-n | --program-transform- \
   1028   | --program-transform | --program-transfor \
   1029   | --program-transfo | --program-transf \
   1030   | --program-trans | --program-tran \
   1031   | --progr-tra | --program-tr | --program-t)
   1032     ac_prev=program_transform_name ;;
   1033   -program-transform-name=* | --program-transform-name=* \
   1034   | --program-transform-nam=* | --program-transform-na=* \
   1035   | --program-transform-n=* | --program-transform-=* \
   1036   | --program-transform=* | --program-transfor=* \
   1037   | --program-transfo=* | --program-transf=* \
   1038   | --program-trans=* | --program-tran=* \
   1039   | --progr-tra=* | --program-tr=* | --program-t=*)
   1040     program_transform_name=$ac_optarg ;;
   1041 
   1042   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1043     ac_prev=pdfdir ;;
   1044   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1045     pdfdir=$ac_optarg ;;
   1046 
   1047   -psdir | --psdir | --psdi | --psd | --ps)
   1048     ac_prev=psdir ;;
   1049   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1050     psdir=$ac_optarg ;;
   1051 
   1052   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1053   | -silent | --silent | --silen | --sile | --sil)
   1054     silent=yes ;;
   1055 
   1056   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1057     ac_prev=sbindir ;;
   1058   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1059   | --sbi=* | --sb=*)
   1060     sbindir=$ac_optarg ;;
   1061 
   1062   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1063   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1064   | --sharedst | --shareds | --shared | --share | --shar \
   1065   | --sha | --sh)
   1066     ac_prev=sharedstatedir ;;
   1067   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1068   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1069   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1070   | --sha=* | --sh=*)
   1071     sharedstatedir=$ac_optarg ;;
   1072 
   1073   -site | --site | --sit)
   1074     ac_prev=site ;;
   1075   -site=* | --site=* | --sit=*)
   1076     site=$ac_optarg ;;
   1077 
   1078   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1079     ac_prev=srcdir ;;
   1080   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1081     srcdir=$ac_optarg ;;
   1082 
   1083   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1084   | --syscon | --sysco | --sysc | --sys | --sy)
   1085     ac_prev=sysconfdir ;;
   1086   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1087   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1088     sysconfdir=$ac_optarg ;;
   1089 
   1090   -target | --target | --targe | --targ | --tar | --ta | --t)
   1091     ac_prev=target_alias ;;
   1092   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1093     target_alias=$ac_optarg ;;
   1094 
   1095   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1096     verbose=yes ;;
   1097 
   1098   -version | --version | --versio | --versi | --vers | -V)
   1099     ac_init_version=: ;;
   1100 
   1101   -with-* | --with-*)
   1102     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1103     # Reject names that are not valid shell variable names.
   1104     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1105       as_fn_error $? "invalid package name: $ac_useropt"
   1106     ac_useropt_orig=$ac_useropt
   1107     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1108     case $ac_user_opts in
   1109       *"
   1110 "with_$ac_useropt"
   1111 "*) ;;
   1112       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1113 	 ac_unrecognized_sep=', ';;
   1114     esac
   1115     eval with_$ac_useropt=\$ac_optarg ;;
   1116 
   1117   -without-* | --without-*)
   1118     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1119     # Reject names that are not valid shell variable names.
   1120     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1121       as_fn_error $? "invalid package name: $ac_useropt"
   1122     ac_useropt_orig=$ac_useropt
   1123     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1124     case $ac_user_opts in
   1125       *"
   1126 "with_$ac_useropt"
   1127 "*) ;;
   1128       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1129 	 ac_unrecognized_sep=', ';;
   1130     esac
   1131     eval with_$ac_useropt=no ;;
   1132 
   1133   --x)
   1134     # Obsolete; use --with-x.
   1135     with_x=yes ;;
   1136 
   1137   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1138   | --x-incl | --x-inc | --x-in | --x-i)
   1139     ac_prev=x_includes ;;
   1140   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1141   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1142     x_includes=$ac_optarg ;;
   1143 
   1144   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1145   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1146     ac_prev=x_libraries ;;
   1147   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1148   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1149     x_libraries=$ac_optarg ;;
   1150 
   1151   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1152 Try \`$0 --help' for more information"
   1153     ;;
   1154 
   1155   *=*)
   1156     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1157     # Reject names that are not valid shell variable names.
   1158     case $ac_envvar in #(
   1159       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1160       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1161     esac
   1162     eval $ac_envvar=\$ac_optarg
   1163     export $ac_envvar ;;
   1164 
   1165   *)
   1166     # FIXME: should be removed in autoconf 3.0.
   1167     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1168     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1169       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1170     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1171     ;;
   1172 
   1173   esac
   1174 done
   1175 
   1176 if test -n "$ac_prev"; then
   1177   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1178   as_fn_error $? "missing argument to $ac_option"
   1179 fi
   1180 
   1181 if test -n "$ac_unrecognized_opts"; then
   1182   case $enable_option_checking in
   1183     no) ;;
   1184     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1185     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1186   esac
   1187 fi
   1188 
   1189 # Check all directory arguments for consistency.
   1190 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1191 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1192 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1193 		libdir localedir mandir
   1194 do
   1195   eval ac_val=\$$ac_var
   1196   # Remove trailing slashes.
   1197   case $ac_val in
   1198     */ )
   1199       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1200       eval $ac_var=\$ac_val;;
   1201   esac
   1202   # Be sure to have absolute directory names.
   1203   case $ac_val in
   1204     [\\/$]* | ?:[\\/]* )  continue;;
   1205     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1206   esac
   1207   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1208 done
   1209 
   1210 # There might be people who depend on the old broken behavior: `$host'
   1211 # used to hold the argument of --host etc.
   1212 # FIXME: To remove some day.
   1213 build=$build_alias
   1214 host=$host_alias
   1215 target=$target_alias
   1216 
   1217 # FIXME: To remove some day.
   1218 if test "x$host_alias" != x; then
   1219   if test "x$build_alias" = x; then
   1220     cross_compiling=maybe
   1221   elif test "x$build_alias" != "x$host_alias"; then
   1222     cross_compiling=yes
   1223   fi
   1224 fi
   1225 
   1226 ac_tool_prefix=
   1227 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1228 
   1229 test "$silent" = yes && exec 6>/dev/null
   1230 
   1231 
   1232 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1233 ac_ls_di=`ls -di .` &&
   1234 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1235   as_fn_error $? "working directory cannot be determined"
   1236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1237   as_fn_error $? "pwd does not report name of working directory"
   1238 
   1239 
   1240 # Find the source files, if location was not specified.
   1241 if test -z "$srcdir"; then
   1242   ac_srcdir_defaulted=yes
   1243   # Try the directory containing this script, then the parent directory.
   1244   ac_confdir=`$as_dirname -- "$as_myself" ||
   1245 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1246 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1247 	 X"$as_myself" : 'X\(//\)$' \| \
   1248 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1249 $as_echo X"$as_myself" |
   1250     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1251 	    s//\1/
   1252 	    q
   1253 	  }
   1254 	  /^X\(\/\/\)[^/].*/{
   1255 	    s//\1/
   1256 	    q
   1257 	  }
   1258 	  /^X\(\/\/\)$/{
   1259 	    s//\1/
   1260 	    q
   1261 	  }
   1262 	  /^X\(\/\).*/{
   1263 	    s//\1/
   1264 	    q
   1265 	  }
   1266 	  s/.*/./; q'`
   1267   srcdir=$ac_confdir
   1268   if test ! -r "$srcdir/$ac_unique_file"; then
   1269     srcdir=..
   1270   fi
   1271 else
   1272   ac_srcdir_defaulted=no
   1273 fi
   1274 if test ! -r "$srcdir/$ac_unique_file"; then
   1275   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1276   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1277 fi
   1278 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1279 ac_abs_confdir=`(
   1280 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1281 	pwd)`
   1282 # When building in place, set srcdir=.
   1283 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1284   srcdir=.
   1285 fi
   1286 # Remove unnecessary trailing slashes from srcdir.
   1287 # Double slashes in file names in object file debugging info
   1288 # mess up M-x gdb in Emacs.
   1289 case $srcdir in
   1290 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1291 esac
   1292 for ac_var in $ac_precious_vars; do
   1293   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1294   eval ac_env_${ac_var}_value=\$${ac_var}
   1295   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1296   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1297 done
   1298 
   1299 #
   1300 # Report the --help message.
   1301 #
   1302 if test "$ac_init_help" = "long"; then
   1303   # Omit some internal or obsolete options to make the list less imposing.
   1304   # This message is too long to be a string in the A/UX 3.1 sh.
   1305   cat <<_ACEOF
   1306 \`configure' configures font-util 1.3.1 to adapt to many kinds of systems.
   1307 
   1308 Usage: $0 [OPTION]... [VAR=VALUE]...
   1309 
   1310 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1311 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1312 
   1313 Defaults for the options are specified in brackets.
   1314 
   1315 Configuration:
   1316   -h, --help              display this help and exit
   1317       --help=short        display options specific to this package
   1318       --help=recursive    display the short help of all the included packages
   1319   -V, --version           display version information and exit
   1320   -q, --quiet, --silent   do not print \`checking ...' messages
   1321       --cache-file=FILE   cache test results in FILE [disabled]
   1322   -C, --config-cache      alias for \`--cache-file=config.cache'
   1323   -n, --no-create         do not create output files
   1324       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1325 
   1326 Installation directories:
   1327   --prefix=PREFIX         install architecture-independent files in PREFIX
   1328                           [$ac_default_prefix]
   1329   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1330                           [PREFIX]
   1331 
   1332 By default, \`make install' will install all the files in
   1333 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1334 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1335 for instance \`--prefix=\$HOME'.
   1336 
   1337 For better control, use the options below.
   1338 
   1339 Fine tuning of the installation directories:
   1340   --bindir=DIR            user executables [EPREFIX/bin]
   1341   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1342   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1343   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1344   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1345   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1346   --libdir=DIR            object code libraries [EPREFIX/lib]
   1347   --includedir=DIR        C header files [PREFIX/include]
   1348   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1349   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1350   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1351   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1352   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1353   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1354   --docdir=DIR            documentation root [DATAROOTDIR/doc/font-util]
   1355   --htmldir=DIR           html documentation [DOCDIR]
   1356   --dvidir=DIR            dvi documentation [DOCDIR]
   1357   --pdfdir=DIR            pdf documentation [DOCDIR]
   1358   --psdir=DIR             ps documentation [DOCDIR]
   1359 _ACEOF
   1360 
   1361   cat <<\_ACEOF
   1362 
   1363 Program names:
   1364   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1365   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1366   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1367 
   1368 System types:
   1369   --build=BUILD     configure for building on BUILD [guessed]
   1370   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1371 _ACEOF
   1372 fi
   1373 
   1374 if test -n "$ac_init_help"; then
   1375   case $ac_init_help in
   1376      short | recursive ) echo "Configuration of font-util 1.3.1:";;
   1377    esac
   1378   cat <<\_ACEOF
   1379 
   1380 Optional Features:
   1381   --disable-option-checking  ignore unrecognized --enable/--with options
   1382   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1383   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1384   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1385   --disable-silent-rules  verbose build output (undo: "make V=0")
   1386   --enable-dependency-tracking
   1387                           do not reject slow dependency extractors
   1388   --disable-dependency-tracking
   1389                           speeds up one-time build
   1390   --disable-selective-werror
   1391                           Turn off selective compiler errors. (default:
   1392                           enabled)
   1393   --enable-strict-compilation
   1394                           Enable all warnings from compiler and make them
   1395                           errors (default: disabled)
   1396 
   1397 Optional Packages:
   1398   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1399   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1400   --with-fontrootdir=DIR  Path to parent of font subdirectories
   1401                           [DATADIR/fonts/X11]
   1402   --with-mapdir=DIR       Path to install font maps [FONTROOTDIR/util]
   1403 
   1404 Some influential environment variables:
   1405   CC          C compiler command
   1406   CFLAGS      C compiler flags
   1407   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1408               nonstandard directory <lib dir>
   1409   LIBS        libraries to pass to the linker, e.g. -l<library>
   1410   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1411               you have headers in a nonstandard directory <include dir>
   1412   CPP         C preprocessor
   1413   PKG_CONFIG  path to pkg-config utility
   1414 
   1415 Use these variables to override the choices made by `configure' or to help
   1416 it to find libraries and programs with nonstandard names/locations.
   1417 
   1418 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1419 _ACEOF
   1420 ac_status=$?
   1421 fi
   1422 
   1423 if test "$ac_init_help" = "recursive"; then
   1424   # If there are subdirs, report their specific --help.
   1425   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1426     test -d "$ac_dir" ||
   1427       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1428       continue
   1429     ac_builddir=.
   1430 
   1431 case "$ac_dir" in
   1432 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1433 *)
   1434   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1435   # A ".." for each directory in $ac_dir_suffix.
   1436   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1437   case $ac_top_builddir_sub in
   1438   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1439   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1440   esac ;;
   1441 esac
   1442 ac_abs_top_builddir=$ac_pwd
   1443 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1444 # for backward compatibility:
   1445 ac_top_builddir=$ac_top_build_prefix
   1446 
   1447 case $srcdir in
   1448   .)  # We are building in place.
   1449     ac_srcdir=.
   1450     ac_top_srcdir=$ac_top_builddir_sub
   1451     ac_abs_top_srcdir=$ac_pwd ;;
   1452   [\\/]* | ?:[\\/]* )  # Absolute name.
   1453     ac_srcdir=$srcdir$ac_dir_suffix;
   1454     ac_top_srcdir=$srcdir
   1455     ac_abs_top_srcdir=$srcdir ;;
   1456   *) # Relative name.
   1457     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1458     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1459     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1460 esac
   1461 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1462 
   1463     cd "$ac_dir" || { ac_status=$?; continue; }
   1464     # Check for guested configure.
   1465     if test -f "$ac_srcdir/configure.gnu"; then
   1466       echo &&
   1467       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1468     elif test -f "$ac_srcdir/configure"; then
   1469       echo &&
   1470       $SHELL "$ac_srcdir/configure" --help=recursive
   1471     else
   1472       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1473     fi || ac_status=$?
   1474     cd "$ac_pwd" || { ac_status=$?; break; }
   1475   done
   1476 fi
   1477 
   1478 test -n "$ac_init_help" && exit $ac_status
   1479 if $ac_init_version; then
   1480   cat <<\_ACEOF
   1481 font-util configure 1.3.1
   1482 generated by GNU Autoconf 2.69
   1483 
   1484 Copyright (C) 2012 Free Software Foundation, Inc.
   1485 This configure script is free software; the Free Software Foundation
   1486 gives unlimited permission to copy, distribute and modify it.
   1487 _ACEOF
   1488   exit
   1489 fi
   1490 
   1491 ## ------------------------ ##
   1492 ## Autoconf initialization. ##
   1493 ## ------------------------ ##
   1494 
   1495 # ac_fn_c_try_compile LINENO
   1496 # --------------------------
   1497 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1498 ac_fn_c_try_compile ()
   1499 {
   1500   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1501   rm -f conftest.$ac_objext
   1502   if { { ac_try="$ac_compile"
   1503 case "(($ac_try" in
   1504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1505   *) ac_try_echo=$ac_try;;
   1506 esac
   1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1508 $as_echo "$ac_try_echo"; } >&5
   1509   (eval "$ac_compile") 2>conftest.err
   1510   ac_status=$?
   1511   if test -s conftest.err; then
   1512     grep -v '^ *+' conftest.err >conftest.er1
   1513     cat conftest.er1 >&5
   1514     mv -f conftest.er1 conftest.err
   1515   fi
   1516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1517   test $ac_status = 0; } && {
   1518 	 test -z "$ac_c_werror_flag" ||
   1519 	 test ! -s conftest.err
   1520        } && test -s conftest.$ac_objext; then :
   1521   ac_retval=0
   1522 else
   1523   $as_echo "$as_me: failed program was:" >&5
   1524 sed 's/^/| /' conftest.$ac_ext >&5
   1525 
   1526 	ac_retval=1
   1527 fi
   1528   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1529   as_fn_set_status $ac_retval
   1530 
   1531 } # ac_fn_c_try_compile
   1532 
   1533 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1534 # ---------------------------------------------
   1535 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1536 # accordingly.
   1537 ac_fn_c_check_decl ()
   1538 {
   1539   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1540   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1541   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1543 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1544 if eval \${$3+:} false; then :
   1545   $as_echo_n "(cached) " >&6
   1546 else
   1547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1548 /* end confdefs.h.  */
   1549 $4
   1550 int
   1551 main ()
   1552 {
   1553 #ifndef $as_decl_name
   1554 #ifdef __cplusplus
   1555   (void) $as_decl_use;
   1556 #else
   1557   (void) $as_decl_name;
   1558 #endif
   1559 #endif
   1560 
   1561   ;
   1562   return 0;
   1563 }
   1564 _ACEOF
   1565 if ac_fn_c_try_compile "$LINENO"; then :
   1566   eval "$3=yes"
   1567 else
   1568   eval "$3=no"
   1569 fi
   1570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1571 fi
   1572 eval ac_res=\$$3
   1573 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1574 $as_echo "$ac_res" >&6; }
   1575   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1576 
   1577 } # ac_fn_c_check_decl
   1578 
   1579 # ac_fn_c_try_cpp LINENO
   1580 # ----------------------
   1581 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1582 ac_fn_c_try_cpp ()
   1583 {
   1584   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1585   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1586 case "(($ac_try" in
   1587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1588   *) ac_try_echo=$ac_try;;
   1589 esac
   1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1591 $as_echo "$ac_try_echo"; } >&5
   1592   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1593   ac_status=$?
   1594   if test -s conftest.err; then
   1595     grep -v '^ *+' conftest.err >conftest.er1
   1596     cat conftest.er1 >&5
   1597     mv -f conftest.er1 conftest.err
   1598   fi
   1599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1600   test $ac_status = 0; } > conftest.i && {
   1601 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1602 	 test ! -s conftest.err
   1603        }; then :
   1604   ac_retval=0
   1605 else
   1606   $as_echo "$as_me: failed program was:" >&5
   1607 sed 's/^/| /' conftest.$ac_ext >&5
   1608 
   1609     ac_retval=1
   1610 fi
   1611   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1612   as_fn_set_status $ac_retval
   1613 
   1614 } # ac_fn_c_try_cpp
   1615 
   1616 # ac_fn_c_try_run LINENO
   1617 # ----------------------
   1618 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1619 # that executables *can* be run.
   1620 ac_fn_c_try_run ()
   1621 {
   1622   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1623   if { { ac_try="$ac_link"
   1624 case "(($ac_try" in
   1625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1626   *) ac_try_echo=$ac_try;;
   1627 esac
   1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1629 $as_echo "$ac_try_echo"; } >&5
   1630   (eval "$ac_link") 2>&5
   1631   ac_status=$?
   1632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1633   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1634   { { case "(($ac_try" in
   1635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1636   *) ac_try_echo=$ac_try;;
   1637 esac
   1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1639 $as_echo "$ac_try_echo"; } >&5
   1640   (eval "$ac_try") 2>&5
   1641   ac_status=$?
   1642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1643   test $ac_status = 0; }; }; then :
   1644   ac_retval=0
   1645 else
   1646   $as_echo "$as_me: program exited with status $ac_status" >&5
   1647        $as_echo "$as_me: failed program was:" >&5
   1648 sed 's/^/| /' conftest.$ac_ext >&5
   1649 
   1650        ac_retval=$ac_status
   1651 fi
   1652   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1653   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1654   as_fn_set_status $ac_retval
   1655 
   1656 } # ac_fn_c_try_run
   1657 
   1658 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1659 # -------------------------------------------------------
   1660 # Tests whether HEADER exists and can be compiled using the include files in
   1661 # INCLUDES, setting the cache variable VAR accordingly.
   1662 ac_fn_c_check_header_compile ()
   1663 {
   1664   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1666 $as_echo_n "checking for $2... " >&6; }
   1667 if eval \${$3+:} false; then :
   1668   $as_echo_n "(cached) " >&6
   1669 else
   1670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1671 /* end confdefs.h.  */
   1672 $4
   1673 #include <$2>
   1674 _ACEOF
   1675 if ac_fn_c_try_compile "$LINENO"; then :
   1676   eval "$3=yes"
   1677 else
   1678   eval "$3=no"
   1679 fi
   1680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1681 fi
   1682 eval ac_res=\$$3
   1683 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1684 $as_echo "$ac_res" >&6; }
   1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1686 
   1687 } # ac_fn_c_check_header_compile
   1688 
   1689 # ac_fn_c_try_link LINENO
   1690 # -----------------------
   1691 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1692 ac_fn_c_try_link ()
   1693 {
   1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1695   rm -f conftest.$ac_objext conftest$ac_exeext
   1696   if { { ac_try="$ac_link"
   1697 case "(($ac_try" in
   1698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1699   *) ac_try_echo=$ac_try;;
   1700 esac
   1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1702 $as_echo "$ac_try_echo"; } >&5
   1703   (eval "$ac_link") 2>conftest.err
   1704   ac_status=$?
   1705   if test -s conftest.err; then
   1706     grep -v '^ *+' conftest.err >conftest.er1
   1707     cat conftest.er1 >&5
   1708     mv -f conftest.er1 conftest.err
   1709   fi
   1710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1711   test $ac_status = 0; } && {
   1712 	 test -z "$ac_c_werror_flag" ||
   1713 	 test ! -s conftest.err
   1714        } && test -s conftest$ac_exeext && {
   1715 	 test "$cross_compiling" = yes ||
   1716 	 test -x conftest$ac_exeext
   1717        }; then :
   1718   ac_retval=0
   1719 else
   1720   $as_echo "$as_me: failed program was:" >&5
   1721 sed 's/^/| /' conftest.$ac_ext >&5
   1722 
   1723 	ac_retval=1
   1724 fi
   1725   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1726   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1727   # interfere with the next link command; also delete a directory that is
   1728   # left behind by Apple's compiler.  We do this before executing the actions.
   1729   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1730   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1731   as_fn_set_status $ac_retval
   1732 
   1733 } # ac_fn_c_try_link
   1734 cat >config.log <<_ACEOF
   1735 This file contains any messages produced by compilers while
   1736 running configure, to aid debugging if configure makes a mistake.
   1737 
   1738 It was created by font-util $as_me 1.3.1, which was
   1739 generated by GNU Autoconf 2.69.  Invocation command line was
   1740 
   1741   $ $0 $@
   1742 
   1743 _ACEOF
   1744 exec 5>>config.log
   1745 {
   1746 cat <<_ASUNAME
   1747 ## --------- ##
   1748 ## Platform. ##
   1749 ## --------- ##
   1750 
   1751 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1752 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1753 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1754 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1755 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1756 
   1757 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1758 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1759 
   1760 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1761 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1762 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1763 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1764 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1765 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1766 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1767 
   1768 _ASUNAME
   1769 
   1770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1771 for as_dir in $PATH
   1772 do
   1773   IFS=$as_save_IFS
   1774   test -z "$as_dir" && as_dir=.
   1775     $as_echo "PATH: $as_dir"
   1776   done
   1777 IFS=$as_save_IFS
   1778 
   1779 } >&5
   1780 
   1781 cat >&5 <<_ACEOF
   1782 
   1783 
   1784 ## ----------- ##
   1785 ## Core tests. ##
   1786 ## ----------- ##
   1787 
   1788 _ACEOF
   1789 
   1790 
   1791 # Keep a trace of the command line.
   1792 # Strip out --no-create and --no-recursion so they do not pile up.
   1793 # Strip out --silent because we don't want to record it for future runs.
   1794 # Also quote any args containing shell meta-characters.
   1795 # Make two passes to allow for proper duplicate-argument suppression.
   1796 ac_configure_args=
   1797 ac_configure_args0=
   1798 ac_configure_args1=
   1799 ac_must_keep_next=false
   1800 for ac_pass in 1 2
   1801 do
   1802   for ac_arg
   1803   do
   1804     case $ac_arg in
   1805     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1806     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1807     | -silent | --silent | --silen | --sile | --sil)
   1808       continue ;;
   1809     *\'*)
   1810       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1811     esac
   1812     case $ac_pass in
   1813     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1814     2)
   1815       as_fn_append ac_configure_args1 " '$ac_arg'"
   1816       if test $ac_must_keep_next = true; then
   1817 	ac_must_keep_next=false # Got value, back to normal.
   1818       else
   1819 	case $ac_arg in
   1820 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1821 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1822 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1823 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1824 	    case "$ac_configure_args0 " in
   1825 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1826 	    esac
   1827 	    ;;
   1828 	  -* ) ac_must_keep_next=true ;;
   1829 	esac
   1830       fi
   1831       as_fn_append ac_configure_args " '$ac_arg'"
   1832       ;;
   1833     esac
   1834   done
   1835 done
   1836 { ac_configure_args0=; unset ac_configure_args0;}
   1837 { ac_configure_args1=; unset ac_configure_args1;}
   1838 
   1839 # When interrupted or exit'd, cleanup temporary files, and complete
   1840 # config.log.  We remove comments because anyway the quotes in there
   1841 # would cause problems or look ugly.
   1842 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1843 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1844 trap 'exit_status=$?
   1845   # Save into config.log some information that might help in debugging.
   1846   {
   1847     echo
   1848 
   1849     $as_echo "## ---------------- ##
   1850 ## Cache variables. ##
   1851 ## ---------------- ##"
   1852     echo
   1853     # The following way of writing the cache mishandles newlines in values,
   1854 (
   1855   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1856     eval ac_val=\$$ac_var
   1857     case $ac_val in #(
   1858     *${as_nl}*)
   1859       case $ac_var in #(
   1860       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1861 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1862       esac
   1863       case $ac_var in #(
   1864       _ | IFS | as_nl) ;; #(
   1865       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1866       *) { eval $ac_var=; unset $ac_var;} ;;
   1867       esac ;;
   1868     esac
   1869   done
   1870   (set) 2>&1 |
   1871     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1872     *${as_nl}ac_space=\ *)
   1873       sed -n \
   1874 	"s/'\''/'\''\\\\'\'''\''/g;
   1875 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1876       ;; #(
   1877     *)
   1878       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1879       ;;
   1880     esac |
   1881     sort
   1882 )
   1883     echo
   1884 
   1885     $as_echo "## ----------------- ##
   1886 ## Output variables. ##
   1887 ## ----------------- ##"
   1888     echo
   1889     for ac_var in $ac_subst_vars
   1890     do
   1891       eval ac_val=\$$ac_var
   1892       case $ac_val in
   1893       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1894       esac
   1895       $as_echo "$ac_var='\''$ac_val'\''"
   1896     done | sort
   1897     echo
   1898 
   1899     if test -n "$ac_subst_files"; then
   1900       $as_echo "## ------------------- ##
   1901 ## File substitutions. ##
   1902 ## ------------------- ##"
   1903       echo
   1904       for ac_var in $ac_subst_files
   1905       do
   1906 	eval ac_val=\$$ac_var
   1907 	case $ac_val in
   1908 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1909 	esac
   1910 	$as_echo "$ac_var='\''$ac_val'\''"
   1911       done | sort
   1912       echo
   1913     fi
   1914 
   1915     if test -s confdefs.h; then
   1916       $as_echo "## ----------- ##
   1917 ## confdefs.h. ##
   1918 ## ----------- ##"
   1919       echo
   1920       cat confdefs.h
   1921       echo
   1922     fi
   1923     test "$ac_signal" != 0 &&
   1924       $as_echo "$as_me: caught signal $ac_signal"
   1925     $as_echo "$as_me: exit $exit_status"
   1926   } >&5
   1927   rm -f core *.core core.conftest.* &&
   1928     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1929     exit $exit_status
   1930 ' 0
   1931 for ac_signal in 1 2 13 15; do
   1932   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1933 done
   1934 ac_signal=0
   1935 
   1936 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1937 rm -f -r conftest* confdefs.h
   1938 
   1939 $as_echo "/* confdefs.h */" > confdefs.h
   1940 
   1941 # Predefined preprocessor variables.
   1942 
   1943 cat >>confdefs.h <<_ACEOF
   1944 #define PACKAGE_NAME "$PACKAGE_NAME"
   1945 _ACEOF
   1946 
   1947 cat >>confdefs.h <<_ACEOF
   1948 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1949 _ACEOF
   1950 
   1951 cat >>confdefs.h <<_ACEOF
   1952 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1953 _ACEOF
   1954 
   1955 cat >>confdefs.h <<_ACEOF
   1956 #define PACKAGE_STRING "$PACKAGE_STRING"
   1957 _ACEOF
   1958 
   1959 cat >>confdefs.h <<_ACEOF
   1960 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1961 _ACEOF
   1962 
   1963 cat >>confdefs.h <<_ACEOF
   1964 #define PACKAGE_URL "$PACKAGE_URL"
   1965 _ACEOF
   1966 
   1967 
   1968 # Let the site file select an alternate cache file if it wants to.
   1969 # Prefer an explicitly selected file to automatically selected ones.
   1970 ac_site_file1=NONE
   1971 ac_site_file2=NONE
   1972 if test -n "$CONFIG_SITE"; then
   1973   # We do not want a PATH search for config.site.
   1974   case $CONFIG_SITE in #((
   1975     -*)  ac_site_file1=./$CONFIG_SITE;;
   1976     */*) ac_site_file1=$CONFIG_SITE;;
   1977     *)   ac_site_file1=./$CONFIG_SITE;;
   1978   esac
   1979 elif test "x$prefix" != xNONE; then
   1980   ac_site_file1=$prefix/share/config.site
   1981   ac_site_file2=$prefix/etc/config.site
   1982 else
   1983   ac_site_file1=$ac_default_prefix/share/config.site
   1984   ac_site_file2=$ac_default_prefix/etc/config.site
   1985 fi
   1986 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1987 do
   1988   test "x$ac_site_file" = xNONE && continue
   1989   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1990     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1991 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1992     sed 's/^/| /' "$ac_site_file" >&5
   1993     . "$ac_site_file" \
   1994       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1996 as_fn_error $? "failed to load site script $ac_site_file
   1997 See \`config.log' for more details" "$LINENO" 5; }
   1998   fi
   1999 done
   2000 
   2001 if test -r "$cache_file"; then
   2002   # Some versions of bash will fail to source /dev/null (special files
   2003   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2004   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2005     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2006 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2007     case $cache_file in
   2008       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2009       *)                      . "./$cache_file";;
   2010     esac
   2011   fi
   2012 else
   2013   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2014 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2015   >$cache_file
   2016 fi
   2017 
   2018 # Check that the precious variables saved in the cache have kept the same
   2019 # value.
   2020 ac_cache_corrupted=false
   2021 for ac_var in $ac_precious_vars; do
   2022   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2023   eval ac_new_set=\$ac_env_${ac_var}_set
   2024   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2025   eval ac_new_val=\$ac_env_${ac_var}_value
   2026   case $ac_old_set,$ac_new_set in
   2027     set,)
   2028       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2029 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2030       ac_cache_corrupted=: ;;
   2031     ,set)
   2032       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2033 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2034       ac_cache_corrupted=: ;;
   2035     ,);;
   2036     *)
   2037       if test "x$ac_old_val" != "x$ac_new_val"; then
   2038 	# differences in whitespace do not lead to failure.
   2039 	ac_old_val_w=`echo x $ac_old_val`
   2040 	ac_new_val_w=`echo x $ac_new_val`
   2041 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2042 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2043 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2044 	  ac_cache_corrupted=:
   2045 	else
   2046 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2047 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2048 	  eval $ac_var=\$ac_old_val
   2049 	fi
   2050 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2051 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2052 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2053 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2054       fi;;
   2055   esac
   2056   # Pass precious variables to config.status.
   2057   if test "$ac_new_set" = set; then
   2058     case $ac_new_val in
   2059     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2060     *) ac_arg=$ac_var=$ac_new_val ;;
   2061     esac
   2062     case " $ac_configure_args " in
   2063       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2064       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2065     esac
   2066   fi
   2067 done
   2068 if $ac_cache_corrupted; then
   2069   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2071   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2072 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2073   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2074 fi
   2075 ## -------------------- ##
   2076 ## Main body of script. ##
   2077 ## -------------------- ##
   2078 
   2079 ac_ext=c
   2080 ac_cpp='$CPP $CPPFLAGS'
   2081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2084 
   2085 
   2086 
   2087 ac_config_headers="$ac_config_headers config.h"
   2088 
   2089 
   2090 # Initialize Automake
   2091 am__api_version='1.15'
   2092 
   2093 ac_aux_dir=
   2094 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2095   if test -f "$ac_dir/install-sh"; then
   2096     ac_aux_dir=$ac_dir
   2097     ac_install_sh="$ac_aux_dir/install-sh -c"
   2098     break
   2099   elif test -f "$ac_dir/install.sh"; then
   2100     ac_aux_dir=$ac_dir
   2101     ac_install_sh="$ac_aux_dir/install.sh -c"
   2102     break
   2103   elif test -f "$ac_dir/shtool"; then
   2104     ac_aux_dir=$ac_dir
   2105     ac_install_sh="$ac_aux_dir/shtool install -c"
   2106     break
   2107   fi
   2108 done
   2109 if test -z "$ac_aux_dir"; then
   2110   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2111 fi
   2112 
   2113 # These three variables are undocumented and unsupported,
   2114 # and are intended to be withdrawn in a future Autoconf release.
   2115 # They can cause serious problems if a builder's source tree is in a directory
   2116 # whose full name contains unusual characters.
   2117 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2118 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2119 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2120 
   2121 
   2122 # Find a good install program.  We prefer a C program (faster),
   2123 # so one script is as good as another.  But avoid the broken or
   2124 # incompatible versions:
   2125 # SysV /etc/install, /usr/sbin/install
   2126 # SunOS /usr/etc/install
   2127 # IRIX /sbin/install
   2128 # AIX /bin/install
   2129 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2130 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2131 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2132 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2133 # OS/2's system install, which has a completely different semantic
   2134 # ./install, which can be erroneously created by make from ./install.sh.
   2135 # Reject install programs that cannot install multiple files.
   2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2137 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2138 if test -z "$INSTALL"; then
   2139 if ${ac_cv_path_install+:} false; then :
   2140   $as_echo_n "(cached) " >&6
   2141 else
   2142   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2143 for as_dir in $PATH
   2144 do
   2145   IFS=$as_save_IFS
   2146   test -z "$as_dir" && as_dir=.
   2147     # Account for people who put trailing slashes in PATH elements.
   2148 case $as_dir/ in #((
   2149   ./ | .// | /[cC]/* | \
   2150   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2151   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2152   /usr/ucb/* ) ;;
   2153   *)
   2154     # OSF1 and SCO ODT 3.0 have their own names for install.
   2155     # Don't use installbsd from OSF since it installs stuff as root
   2156     # by default.
   2157     for ac_prog in ginstall scoinst install; do
   2158       for ac_exec_ext in '' $ac_executable_extensions; do
   2159 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2160 	  if test $ac_prog = install &&
   2161 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2162 	    # AIX install.  It has an incompatible calling convention.
   2163 	    :
   2164 	  elif test $ac_prog = install &&
   2165 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2166 	    # program-specific install script used by HP pwplus--don't use.
   2167 	    :
   2168 	  else
   2169 	    rm -rf conftest.one conftest.two conftest.dir
   2170 	    echo one > conftest.one
   2171 	    echo two > conftest.two
   2172 	    mkdir conftest.dir
   2173 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2174 	      test -s conftest.one && test -s conftest.two &&
   2175 	      test -s conftest.dir/conftest.one &&
   2176 	      test -s conftest.dir/conftest.two
   2177 	    then
   2178 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2179 	      break 3
   2180 	    fi
   2181 	  fi
   2182 	fi
   2183       done
   2184     done
   2185     ;;
   2186 esac
   2187 
   2188   done
   2189 IFS=$as_save_IFS
   2190 
   2191 rm -rf conftest.one conftest.two conftest.dir
   2192 
   2193 fi
   2194   if test "${ac_cv_path_install+set}" = set; then
   2195     INSTALL=$ac_cv_path_install
   2196   else
   2197     # As a last resort, use the slow shell script.  Don't cache a
   2198     # value for INSTALL within a source directory, because that will
   2199     # break other packages using the cache if that directory is
   2200     # removed, or if the value is a relative name.
   2201     INSTALL=$ac_install_sh
   2202   fi
   2203 fi
   2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2205 $as_echo "$INSTALL" >&6; }
   2206 
   2207 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2208 # It thinks the first close brace ends the variable substitution.
   2209 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2210 
   2211 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2212 
   2213 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2214 
   2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2216 $as_echo_n "checking whether build environment is sane... " >&6; }
   2217 # Reject unsafe characters in $srcdir or the absolute working directory
   2218 # name.  Accept space and tab only in the latter.
   2219 am_lf='
   2220 '
   2221 case `pwd` in
   2222   *[\\\"\#\$\&\'\`$am_lf]*)
   2223     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2224 esac
   2225 case $srcdir in
   2226   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2227     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2228 esac
   2229 
   2230 # Do 'set' in a subshell so we don't clobber the current shell's
   2231 # arguments.  Must try -L first in case configure is actually a
   2232 # symlink; some systems play weird games with the mod time of symlinks
   2233 # (eg FreeBSD returns the mod time of the symlink's containing
   2234 # directory).
   2235 if (
   2236    am_has_slept=no
   2237    for am_try in 1 2; do
   2238      echo "timestamp, slept: $am_has_slept" > conftest.file
   2239      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2240      if test "$*" = "X"; then
   2241 	# -L didn't work.
   2242 	set X `ls -t "$srcdir/configure" conftest.file`
   2243      fi
   2244      if test "$*" != "X $srcdir/configure conftest.file" \
   2245 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2246 
   2247 	# If neither matched, then we have a broken ls.  This can happen
   2248 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2249 	# broken ls alias from the environment.  This has actually
   2250 	# happened.  Such a system could not be considered "sane".
   2251 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2252   alias in your environment" "$LINENO" 5
   2253      fi
   2254      if test "$2" = conftest.file || test $am_try -eq 2; then
   2255        break
   2256      fi
   2257      # Just in case.
   2258      sleep 1
   2259      am_has_slept=yes
   2260    done
   2261    test "$2" = conftest.file
   2262    )
   2263 then
   2264    # Ok.
   2265    :
   2266 else
   2267    as_fn_error $? "newly created file is older than distributed files!
   2268 Check your system clock" "$LINENO" 5
   2269 fi
   2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2271 $as_echo "yes" >&6; }
   2272 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2273 # generated files are strictly newer.
   2274 am_sleep_pid=
   2275 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2276   ( sleep 1 ) &
   2277   am_sleep_pid=$!
   2278 fi
   2279 
   2280 rm -f conftest.file
   2281 
   2282 test "$program_prefix" != NONE &&
   2283   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2284 # Use a double $ so make ignores it.
   2285 test "$program_suffix" != NONE &&
   2286   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2287 # Double any \ or $.
   2288 # By default was `s,x,x', remove it if useless.
   2289 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2290 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2291 
   2292 # Expand $ac_aux_dir to an absolute path.
   2293 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2294 
   2295 if test x"${MISSING+set}" != xset; then
   2296   case $am_aux_dir in
   2297   *\ * | *\	*)
   2298     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2299   *)
   2300     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2301   esac
   2302 fi
   2303 # Use eval to expand $SHELL
   2304 if eval "$MISSING --is-lightweight"; then
   2305   am_missing_run="$MISSING "
   2306 else
   2307   am_missing_run=
   2308   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2309 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2310 fi
   2311 
   2312 if test x"${install_sh+set}" != xset; then
   2313   case $am_aux_dir in
   2314   *\ * | *\	*)
   2315     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2316   *)
   2317     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2318   esac
   2319 fi
   2320 
   2321 # Installed binaries are usually stripped using 'strip' when the user
   2322 # run "make install-strip".  However 'strip' might not be the right
   2323 # tool to use in cross-compilation environments, therefore Automake
   2324 # will honor the 'STRIP' environment variable to overrule this program.
   2325 if test "$cross_compiling" != no; then
   2326   if test -n "$ac_tool_prefix"; then
   2327   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2328 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2330 $as_echo_n "checking for $ac_word... " >&6; }
   2331 if ${ac_cv_prog_STRIP+:} false; then :
   2332   $as_echo_n "(cached) " >&6
   2333 else
   2334   if test -n "$STRIP"; then
   2335   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2336 else
   2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2338 for as_dir in $PATH
   2339 do
   2340   IFS=$as_save_IFS
   2341   test -z "$as_dir" && as_dir=.
   2342     for ac_exec_ext in '' $ac_executable_extensions; do
   2343   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2344     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2346     break 2
   2347   fi
   2348 done
   2349   done
   2350 IFS=$as_save_IFS
   2351 
   2352 fi
   2353 fi
   2354 STRIP=$ac_cv_prog_STRIP
   2355 if test -n "$STRIP"; then
   2356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2357 $as_echo "$STRIP" >&6; }
   2358 else
   2359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2360 $as_echo "no" >&6; }
   2361 fi
   2362 
   2363 
   2364 fi
   2365 if test -z "$ac_cv_prog_STRIP"; then
   2366   ac_ct_STRIP=$STRIP
   2367   # Extract the first word of "strip", so it can be a program name with args.
   2368 set dummy strip; ac_word=$2
   2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2370 $as_echo_n "checking for $ac_word... " >&6; }
   2371 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2372   $as_echo_n "(cached) " >&6
   2373 else
   2374   if test -n "$ac_ct_STRIP"; then
   2375   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2376 else
   2377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2378 for as_dir in $PATH
   2379 do
   2380   IFS=$as_save_IFS
   2381   test -z "$as_dir" && as_dir=.
   2382     for ac_exec_ext in '' $ac_executable_extensions; do
   2383   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2384     ac_cv_prog_ac_ct_STRIP="strip"
   2385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2386     break 2
   2387   fi
   2388 done
   2389   done
   2390 IFS=$as_save_IFS
   2391 
   2392 fi
   2393 fi
   2394 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2395 if test -n "$ac_ct_STRIP"; then
   2396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2397 $as_echo "$ac_ct_STRIP" >&6; }
   2398 else
   2399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2400 $as_echo "no" >&6; }
   2401 fi
   2402 
   2403   if test "x$ac_ct_STRIP" = x; then
   2404     STRIP=":"
   2405   else
   2406     case $cross_compiling:$ac_tool_warned in
   2407 yes:)
   2408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2410 ac_tool_warned=yes ;;
   2411 esac
   2412     STRIP=$ac_ct_STRIP
   2413   fi
   2414 else
   2415   STRIP="$ac_cv_prog_STRIP"
   2416 fi
   2417 
   2418 fi
   2419 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2420 
   2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2422 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2423 if test -z "$MKDIR_P"; then
   2424   if ${ac_cv_path_mkdir+:} false; then :
   2425   $as_echo_n "(cached) " >&6
   2426 else
   2427   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2428 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2429 do
   2430   IFS=$as_save_IFS
   2431   test -z "$as_dir" && as_dir=.
   2432     for ac_prog in mkdir gmkdir; do
   2433 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2434 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2435 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2436 	     'mkdir (GNU coreutils) '* | \
   2437 	     'mkdir (coreutils) '* | \
   2438 	     'mkdir (fileutils) '4.1*)
   2439 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2440 	       break 3;;
   2441 	   esac
   2442 	 done
   2443        done
   2444   done
   2445 IFS=$as_save_IFS
   2446 
   2447 fi
   2448 
   2449   test -d ./--version && rmdir ./--version
   2450   if test "${ac_cv_path_mkdir+set}" = set; then
   2451     MKDIR_P="$ac_cv_path_mkdir -p"
   2452   else
   2453     # As a last resort, use the slow shell script.  Don't cache a
   2454     # value for MKDIR_P within a source directory, because that will
   2455     # break other packages using the cache if that directory is
   2456     # removed, or if the value is a relative name.
   2457     MKDIR_P="$ac_install_sh -d"
   2458   fi
   2459 fi
   2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2461 $as_echo "$MKDIR_P" >&6; }
   2462 
   2463 for ac_prog in gawk mawk nawk awk
   2464 do
   2465   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2466 set dummy $ac_prog; ac_word=$2
   2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2468 $as_echo_n "checking for $ac_word... " >&6; }
   2469 if ${ac_cv_prog_AWK+:} false; then :
   2470   $as_echo_n "(cached) " >&6
   2471 else
   2472   if test -n "$AWK"; then
   2473   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2474 else
   2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2476 for as_dir in $PATH
   2477 do
   2478   IFS=$as_save_IFS
   2479   test -z "$as_dir" && as_dir=.
   2480     for ac_exec_ext in '' $ac_executable_extensions; do
   2481   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2482     ac_cv_prog_AWK="$ac_prog"
   2483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2484     break 2
   2485   fi
   2486 done
   2487   done
   2488 IFS=$as_save_IFS
   2489 
   2490 fi
   2491 fi
   2492 AWK=$ac_cv_prog_AWK
   2493 if test -n "$AWK"; then
   2494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2495 $as_echo "$AWK" >&6; }
   2496 else
   2497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2498 $as_echo "no" >&6; }
   2499 fi
   2500 
   2501 
   2502   test -n "$AWK" && break
   2503 done
   2504 
   2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2506 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2507 set x ${MAKE-make}
   2508 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2509 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2510   $as_echo_n "(cached) " >&6
   2511 else
   2512   cat >conftest.make <<\_ACEOF
   2513 SHELL = /bin/sh
   2514 all:
   2515 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2516 _ACEOF
   2517 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2518 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2519   *@@@%%%=?*=@@@%%%*)
   2520     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2521   *)
   2522     eval ac_cv_prog_make_${ac_make}_set=no;;
   2523 esac
   2524 rm -f conftest.make
   2525 fi
   2526 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2528 $as_echo "yes" >&6; }
   2529   SET_MAKE=
   2530 else
   2531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2532 $as_echo "no" >&6; }
   2533   SET_MAKE="MAKE=${MAKE-make}"
   2534 fi
   2535 
   2536 rm -rf .tst 2>/dev/null
   2537 mkdir .tst 2>/dev/null
   2538 if test -d .tst; then
   2539   am__leading_dot=.
   2540 else
   2541   am__leading_dot=_
   2542 fi
   2543 rmdir .tst 2>/dev/null
   2544 
   2545 # Check whether --enable-silent-rules was given.
   2546 if test "${enable_silent_rules+set}" = set; then :
   2547   enableval=$enable_silent_rules;
   2548 fi
   2549 
   2550 case $enable_silent_rules in # (((
   2551   yes) AM_DEFAULT_VERBOSITY=0;;
   2552    no) AM_DEFAULT_VERBOSITY=1;;
   2553     *) AM_DEFAULT_VERBOSITY=1;;
   2554 esac
   2555 am_make=${MAKE-make}
   2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2557 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2558 if ${am_cv_make_support_nested_variables+:} false; then :
   2559   $as_echo_n "(cached) " >&6
   2560 else
   2561   if $as_echo 'TRUE=$(BAR$(V))
   2562 BAR0=false
   2563 BAR1=true
   2564 V=1
   2565 am__doit:
   2566 	@$(TRUE)
   2567 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2568   am_cv_make_support_nested_variables=yes
   2569 else
   2570   am_cv_make_support_nested_variables=no
   2571 fi
   2572 fi
   2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2574 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2575 if test $am_cv_make_support_nested_variables = yes; then
   2576     AM_V='$(V)'
   2577   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2578 else
   2579   AM_V=$AM_DEFAULT_VERBOSITY
   2580   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2581 fi
   2582 AM_BACKSLASH='\'
   2583 
   2584 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2585   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2586   # is not polluted with repeated "-I."
   2587   am__isrc=' -I$(srcdir)'
   2588   # test to see if srcdir already configured
   2589   if test -f $srcdir/config.status; then
   2590     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2591   fi
   2592 fi
   2593 
   2594 # test whether we have cygpath
   2595 if test -z "$CYGPATH_W"; then
   2596   if (cygpath --version) >/dev/null 2>/dev/null; then
   2597     CYGPATH_W='cygpath -w'
   2598   else
   2599     CYGPATH_W=echo
   2600   fi
   2601 fi
   2602 
   2603 
   2604 # Define the identity of the package.
   2605  PACKAGE='font-util'
   2606  VERSION='1.3.1'
   2607 
   2608 
   2609 cat >>confdefs.h <<_ACEOF
   2610 #define PACKAGE "$PACKAGE"
   2611 _ACEOF
   2612 
   2613 
   2614 cat >>confdefs.h <<_ACEOF
   2615 #define VERSION "$VERSION"
   2616 _ACEOF
   2617 
   2618 # Some tools Automake needs.
   2619 
   2620 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2621 
   2622 
   2623 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2624 
   2625 
   2626 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2627 
   2628 
   2629 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2630 
   2631 
   2632 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2633 
   2634 # For better backward compatibility.  To be removed once Automake 1.9.x
   2635 # dies out for good.  For more background, see:
   2636 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2637 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2638 mkdir_p='$(MKDIR_P)'
   2639 
   2640 # We need awk for the "check" target (and possibly the TAP driver).  The
   2641 # system "awk" is bad on some platforms.
   2642 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2643 # in the wild :-(  We should find a proper way to deprecate it ...
   2644 AMTAR='$${TAR-tar}'
   2645 
   2646 
   2647 # We'll loop over all known methods to create a tar archive until one works.
   2648 _am_tools='gnutar  pax cpio none'
   2649 
   2650 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2651 
   2652 
   2653 
   2654 
   2655 
   2656 
   2657 # POSIX will say in a future version that running "rm -f" with no argument
   2658 # is OK; and we want to be able to make that assumption in our Makefile
   2659 # recipes.  So use an aggressive probe to check that the usage we want is
   2660 # actually supported "in the wild" to an acceptable degree.
   2661 # See automake bug#10828.
   2662 # To make any issue more visible, cause the running configure to be aborted
   2663 # by default if the 'rm' program in use doesn't match our expectations; the
   2664 # user can still override this though.
   2665 if rm -f && rm -fr && rm -rf; then : OK; else
   2666   cat >&2 <<'END'
   2667 Oops!
   2668 
   2669 Your 'rm' program seems unable to run without file operands specified
   2670 on the command line, even when the '-f' option is present.  This is contrary
   2671 to the behaviour of most rm programs out there, and not conforming with
   2672 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2673 
   2674 Please tell bug-automake@gnu.org about your system, including the value
   2675 of your $PATH and any error possibly output before this message.  This
   2676 can help us improve future automake versions.
   2677 
   2678 END
   2679   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2680     echo 'Configuration will proceed anyway, since you have set the' >&2
   2681     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2682     echo >&2
   2683   else
   2684     cat >&2 <<'END'
   2685 Aborting the configuration process, to ensure you take notice of the issue.
   2686 
   2687 You can download and install GNU coreutils to get an 'rm' implementation
   2688 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2689 
   2690 If you want to complete the configuration process using your problematic
   2691 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2692 to "yes", and re-run configure.
   2693 
   2694 END
   2695     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2696   fi
   2697 fi
   2698 
   2699 
   2700 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2701 
   2702 
   2703 
   2704 
   2705 
   2706 
   2707 
   2708 
   2709 
   2710 
   2711 
   2712 DEPDIR="${am__leading_dot}deps"
   2713 
   2714 ac_config_commands="$ac_config_commands depfiles"
   2715 
   2716 
   2717 am_make=${MAKE-make}
   2718 cat > confinc << 'END'
   2719 am__doit:
   2720 	@echo this is the am__doit target
   2721 .PHONY: am__doit
   2722 END
   2723 # If we don't find an include directive, just comment out the code.
   2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2725 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2726 am__include="#"
   2727 am__quote=
   2728 _am_result=none
   2729 # First try GNU make style include.
   2730 echo "include confinc" > confmf
   2731 # Ignore all kinds of additional output from 'make'.
   2732 case `$am_make -s -f confmf 2> /dev/null` in #(
   2733 *the\ am__doit\ target*)
   2734   am__include=include
   2735   am__quote=
   2736   _am_result=GNU
   2737   ;;
   2738 esac
   2739 # Now try BSD make style include.
   2740 if test "$am__include" = "#"; then
   2741    echo '.include "confinc"' > confmf
   2742    case `$am_make -s -f confmf 2> /dev/null` in #(
   2743    *the\ am__doit\ target*)
   2744      am__include=.include
   2745      am__quote="\""
   2746      _am_result=BSD
   2747      ;;
   2748    esac
   2749 fi
   2750 
   2751 
   2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2753 $as_echo "$_am_result" >&6; }
   2754 rm -f confinc confmf
   2755 
   2756 # Check whether --enable-dependency-tracking was given.
   2757 if test "${enable_dependency_tracking+set}" = set; then :
   2758   enableval=$enable_dependency_tracking;
   2759 fi
   2760 
   2761 if test "x$enable_dependency_tracking" != xno; then
   2762   am_depcomp="$ac_aux_dir/depcomp"
   2763   AMDEPBACKSLASH='\'
   2764   am__nodep='_no'
   2765 fi
   2766  if test "x$enable_dependency_tracking" != xno; then
   2767   AMDEP_TRUE=
   2768   AMDEP_FALSE='#'
   2769 else
   2770   AMDEP_TRUE='#'
   2771   AMDEP_FALSE=
   2772 fi
   2773 
   2774 
   2775 ac_ext=c
   2776 ac_cpp='$CPP $CPPFLAGS'
   2777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2780 if test -n "$ac_tool_prefix"; then
   2781   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2782 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2784 $as_echo_n "checking for $ac_word... " >&6; }
   2785 if ${ac_cv_prog_CC+:} false; then :
   2786   $as_echo_n "(cached) " >&6
   2787 else
   2788   if test -n "$CC"; then
   2789   ac_cv_prog_CC="$CC" # Let the user override the test.
   2790 else
   2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2792 for as_dir in $PATH
   2793 do
   2794   IFS=$as_save_IFS
   2795   test -z "$as_dir" && as_dir=.
   2796     for ac_exec_ext in '' $ac_executable_extensions; do
   2797   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2798     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2800     break 2
   2801   fi
   2802 done
   2803   done
   2804 IFS=$as_save_IFS
   2805 
   2806 fi
   2807 fi
   2808 CC=$ac_cv_prog_CC
   2809 if test -n "$CC"; then
   2810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2811 $as_echo "$CC" >&6; }
   2812 else
   2813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2814 $as_echo "no" >&6; }
   2815 fi
   2816 
   2817 
   2818 fi
   2819 if test -z "$ac_cv_prog_CC"; then
   2820   ac_ct_CC=$CC
   2821   # Extract the first word of "gcc", so it can be a program name with args.
   2822 set dummy gcc; ac_word=$2
   2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2824 $as_echo_n "checking for $ac_word... " >&6; }
   2825 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2826   $as_echo_n "(cached) " >&6
   2827 else
   2828   if test -n "$ac_ct_CC"; then
   2829   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2830 else
   2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2832 for as_dir in $PATH
   2833 do
   2834   IFS=$as_save_IFS
   2835   test -z "$as_dir" && as_dir=.
   2836     for ac_exec_ext in '' $ac_executable_extensions; do
   2837   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2838     ac_cv_prog_ac_ct_CC="gcc"
   2839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2840     break 2
   2841   fi
   2842 done
   2843   done
   2844 IFS=$as_save_IFS
   2845 
   2846 fi
   2847 fi
   2848 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2849 if test -n "$ac_ct_CC"; then
   2850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2851 $as_echo "$ac_ct_CC" >&6; }
   2852 else
   2853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2854 $as_echo "no" >&6; }
   2855 fi
   2856 
   2857   if test "x$ac_ct_CC" = x; then
   2858     CC=""
   2859   else
   2860     case $cross_compiling:$ac_tool_warned in
   2861 yes:)
   2862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2864 ac_tool_warned=yes ;;
   2865 esac
   2866     CC=$ac_ct_CC
   2867   fi
   2868 else
   2869   CC="$ac_cv_prog_CC"
   2870 fi
   2871 
   2872 if test -z "$CC"; then
   2873           if test -n "$ac_tool_prefix"; then
   2874     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2875 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2877 $as_echo_n "checking for $ac_word... " >&6; }
   2878 if ${ac_cv_prog_CC+:} false; then :
   2879   $as_echo_n "(cached) " >&6
   2880 else
   2881   if test -n "$CC"; then
   2882   ac_cv_prog_CC="$CC" # Let the user override the test.
   2883 else
   2884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2885 for as_dir in $PATH
   2886 do
   2887   IFS=$as_save_IFS
   2888   test -z "$as_dir" && as_dir=.
   2889     for ac_exec_ext in '' $ac_executable_extensions; do
   2890   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2891     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2893     break 2
   2894   fi
   2895 done
   2896   done
   2897 IFS=$as_save_IFS
   2898 
   2899 fi
   2900 fi
   2901 CC=$ac_cv_prog_CC
   2902 if test -n "$CC"; then
   2903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2904 $as_echo "$CC" >&6; }
   2905 else
   2906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2907 $as_echo "no" >&6; }
   2908 fi
   2909 
   2910 
   2911   fi
   2912 fi
   2913 if test -z "$CC"; then
   2914   # Extract the first word of "cc", so it can be a program name with args.
   2915 set dummy cc; ac_word=$2
   2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2917 $as_echo_n "checking for $ac_word... " >&6; }
   2918 if ${ac_cv_prog_CC+:} false; then :
   2919   $as_echo_n "(cached) " >&6
   2920 else
   2921   if test -n "$CC"; then
   2922   ac_cv_prog_CC="$CC" # Let the user override the test.
   2923 else
   2924   ac_prog_rejected=no
   2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2926 for as_dir in $PATH
   2927 do
   2928   IFS=$as_save_IFS
   2929   test -z "$as_dir" && as_dir=.
   2930     for ac_exec_ext in '' $ac_executable_extensions; do
   2931   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2932     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2933        ac_prog_rejected=yes
   2934        continue
   2935      fi
   2936     ac_cv_prog_CC="cc"
   2937     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2938     break 2
   2939   fi
   2940 done
   2941   done
   2942 IFS=$as_save_IFS
   2943 
   2944 if test $ac_prog_rejected = yes; then
   2945   # We found a bogon in the path, so make sure we never use it.
   2946   set dummy $ac_cv_prog_CC
   2947   shift
   2948   if test $# != 0; then
   2949     # We chose a different compiler from the bogus one.
   2950     # However, it has the same basename, so the bogon will be chosen
   2951     # first if we set CC to just the basename; use the full file name.
   2952     shift
   2953     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2954   fi
   2955 fi
   2956 fi
   2957 fi
   2958 CC=$ac_cv_prog_CC
   2959 if test -n "$CC"; then
   2960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2961 $as_echo "$CC" >&6; }
   2962 else
   2963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2964 $as_echo "no" >&6; }
   2965 fi
   2966 
   2967 
   2968 fi
   2969 if test -z "$CC"; then
   2970   if test -n "$ac_tool_prefix"; then
   2971   for ac_prog in cl.exe
   2972   do
   2973     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2974 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2976 $as_echo_n "checking for $ac_word... " >&6; }
   2977 if ${ac_cv_prog_CC+:} false; then :
   2978   $as_echo_n "(cached) " >&6
   2979 else
   2980   if test -n "$CC"; then
   2981   ac_cv_prog_CC="$CC" # Let the user override the test.
   2982 else
   2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2984 for as_dir in $PATH
   2985 do
   2986   IFS=$as_save_IFS
   2987   test -z "$as_dir" && as_dir=.
   2988     for ac_exec_ext in '' $ac_executable_extensions; do
   2989   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2990     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2991     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2992     break 2
   2993   fi
   2994 done
   2995   done
   2996 IFS=$as_save_IFS
   2997 
   2998 fi
   2999 fi
   3000 CC=$ac_cv_prog_CC
   3001 if test -n "$CC"; then
   3002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3003 $as_echo "$CC" >&6; }
   3004 else
   3005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3006 $as_echo "no" >&6; }
   3007 fi
   3008 
   3009 
   3010     test -n "$CC" && break
   3011   done
   3012 fi
   3013 if test -z "$CC"; then
   3014   ac_ct_CC=$CC
   3015   for ac_prog in cl.exe
   3016 do
   3017   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3018 set dummy $ac_prog; ac_word=$2
   3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3020 $as_echo_n "checking for $ac_word... " >&6; }
   3021 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3022   $as_echo_n "(cached) " >&6
   3023 else
   3024   if test -n "$ac_ct_CC"; then
   3025   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3026 else
   3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3028 for as_dir in $PATH
   3029 do
   3030   IFS=$as_save_IFS
   3031   test -z "$as_dir" && as_dir=.
   3032     for ac_exec_ext in '' $ac_executable_extensions; do
   3033   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3034     ac_cv_prog_ac_ct_CC="$ac_prog"
   3035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3036     break 2
   3037   fi
   3038 done
   3039   done
   3040 IFS=$as_save_IFS
   3041 
   3042 fi
   3043 fi
   3044 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3045 if test -n "$ac_ct_CC"; then
   3046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3047 $as_echo "$ac_ct_CC" >&6; }
   3048 else
   3049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3050 $as_echo "no" >&6; }
   3051 fi
   3052 
   3053 
   3054   test -n "$ac_ct_CC" && break
   3055 done
   3056 
   3057   if test "x$ac_ct_CC" = x; then
   3058     CC=""
   3059   else
   3060     case $cross_compiling:$ac_tool_warned in
   3061 yes:)
   3062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3064 ac_tool_warned=yes ;;
   3065 esac
   3066     CC=$ac_ct_CC
   3067   fi
   3068 fi
   3069 
   3070 fi
   3071 
   3072 
   3073 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3075 as_fn_error $? "no acceptable C compiler found in \$PATH
   3076 See \`config.log' for more details" "$LINENO" 5; }
   3077 
   3078 # Provide some information about the compiler.
   3079 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3080 set X $ac_compile
   3081 ac_compiler=$2
   3082 for ac_option in --version -v -V -qversion; do
   3083   { { ac_try="$ac_compiler $ac_option >&5"
   3084 case "(($ac_try" in
   3085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3086   *) ac_try_echo=$ac_try;;
   3087 esac
   3088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3089 $as_echo "$ac_try_echo"; } >&5
   3090   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3091   ac_status=$?
   3092   if test -s conftest.err; then
   3093     sed '10a\
   3094 ... rest of stderr output deleted ...
   3095          10q' conftest.err >conftest.er1
   3096     cat conftest.er1 >&5
   3097   fi
   3098   rm -f conftest.er1 conftest.err
   3099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3100   test $ac_status = 0; }
   3101 done
   3102 
   3103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3104 /* end confdefs.h.  */
   3105 
   3106 int
   3107 main ()
   3108 {
   3109 
   3110   ;
   3111   return 0;
   3112 }
   3113 _ACEOF
   3114 ac_clean_files_save=$ac_clean_files
   3115 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3116 # Try to create an executable without -o first, disregard a.out.
   3117 # It will help us diagnose broken compilers, and finding out an intuition
   3118 # of exeext.
   3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3120 $as_echo_n "checking whether the C compiler works... " >&6; }
   3121 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3122 
   3123 # The possible output files:
   3124 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3125 
   3126 ac_rmfiles=
   3127 for ac_file in $ac_files
   3128 do
   3129   case $ac_file in
   3130     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3131     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3132   esac
   3133 done
   3134 rm -f $ac_rmfiles
   3135 
   3136 if { { ac_try="$ac_link_default"
   3137 case "(($ac_try" in
   3138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3139   *) ac_try_echo=$ac_try;;
   3140 esac
   3141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3142 $as_echo "$ac_try_echo"; } >&5
   3143   (eval "$ac_link_default") 2>&5
   3144   ac_status=$?
   3145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3146   test $ac_status = 0; }; then :
   3147   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3148 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3149 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3150 # so that the user can short-circuit this test for compilers unknown to
   3151 # Autoconf.
   3152 for ac_file in $ac_files ''
   3153 do
   3154   test -f "$ac_file" || continue
   3155   case $ac_file in
   3156     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3157 	;;
   3158     [ab].out )
   3159 	# We found the default executable, but exeext='' is most
   3160 	# certainly right.
   3161 	break;;
   3162     *.* )
   3163 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3164 	then :; else
   3165 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3166 	fi
   3167 	# We set ac_cv_exeext here because the later test for it is not
   3168 	# safe: cross compilers may not add the suffix if given an `-o'
   3169 	# argument, so we may need to know it at that point already.
   3170 	# Even if this section looks crufty: it has the advantage of
   3171 	# actually working.
   3172 	break;;
   3173     * )
   3174 	break;;
   3175   esac
   3176 done
   3177 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3178 
   3179 else
   3180   ac_file=''
   3181 fi
   3182 if test -z "$ac_file"; then :
   3183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3184 $as_echo "no" >&6; }
   3185 $as_echo "$as_me: failed program was:" >&5
   3186 sed 's/^/| /' conftest.$ac_ext >&5
   3187 
   3188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3190 as_fn_error 77 "C compiler cannot create executables
   3191 See \`config.log' for more details" "$LINENO" 5; }
   3192 else
   3193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3194 $as_echo "yes" >&6; }
   3195 fi
   3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3197 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3199 $as_echo "$ac_file" >&6; }
   3200 ac_exeext=$ac_cv_exeext
   3201 
   3202 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3203 ac_clean_files=$ac_clean_files_save
   3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3205 $as_echo_n "checking for suffix of executables... " >&6; }
   3206 if { { ac_try="$ac_link"
   3207 case "(($ac_try" in
   3208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3209   *) ac_try_echo=$ac_try;;
   3210 esac
   3211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3212 $as_echo "$ac_try_echo"; } >&5
   3213   (eval "$ac_link") 2>&5
   3214   ac_status=$?
   3215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3216   test $ac_status = 0; }; then :
   3217   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3218 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3219 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3220 # `rm'.
   3221 for ac_file in conftest.exe conftest conftest.*; do
   3222   test -f "$ac_file" || continue
   3223   case $ac_file in
   3224     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3225     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3226 	  break;;
   3227     * ) break;;
   3228   esac
   3229 done
   3230 else
   3231   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3233 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3234 See \`config.log' for more details" "$LINENO" 5; }
   3235 fi
   3236 rm -f conftest conftest$ac_cv_exeext
   3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3238 $as_echo "$ac_cv_exeext" >&6; }
   3239 
   3240 rm -f conftest.$ac_ext
   3241 EXEEXT=$ac_cv_exeext
   3242 ac_exeext=$EXEEXT
   3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3244 /* end confdefs.h.  */
   3245 #include <stdio.h>
   3246 int
   3247 main ()
   3248 {
   3249 FILE *f = fopen ("conftest.out", "w");
   3250  return ferror (f) || fclose (f) != 0;
   3251 
   3252   ;
   3253   return 0;
   3254 }
   3255 _ACEOF
   3256 ac_clean_files="$ac_clean_files conftest.out"
   3257 # Check that the compiler produces executables we can run.  If not, either
   3258 # the compiler is broken, or we cross compile.
   3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3260 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3261 if test "$cross_compiling" != yes; then
   3262   { { ac_try="$ac_link"
   3263 case "(($ac_try" in
   3264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3265   *) ac_try_echo=$ac_try;;
   3266 esac
   3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3268 $as_echo "$ac_try_echo"; } >&5
   3269   (eval "$ac_link") 2>&5
   3270   ac_status=$?
   3271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3272   test $ac_status = 0; }
   3273   if { ac_try='./conftest$ac_cv_exeext'
   3274   { { case "(($ac_try" in
   3275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3276   *) ac_try_echo=$ac_try;;
   3277 esac
   3278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3279 $as_echo "$ac_try_echo"; } >&5
   3280   (eval "$ac_try") 2>&5
   3281   ac_status=$?
   3282   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3283   test $ac_status = 0; }; }; then
   3284     cross_compiling=no
   3285   else
   3286     if test "$cross_compiling" = maybe; then
   3287 	cross_compiling=yes
   3288     else
   3289 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3291 as_fn_error $? "cannot run C compiled programs.
   3292 If you meant to cross compile, use \`--host'.
   3293 See \`config.log' for more details" "$LINENO" 5; }
   3294     fi
   3295   fi
   3296 fi
   3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3298 $as_echo "$cross_compiling" >&6; }
   3299 
   3300 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3301 ac_clean_files=$ac_clean_files_save
   3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3303 $as_echo_n "checking for suffix of object files... " >&6; }
   3304 if ${ac_cv_objext+:} false; then :
   3305   $as_echo_n "(cached) " >&6
   3306 else
   3307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3308 /* end confdefs.h.  */
   3309 
   3310 int
   3311 main ()
   3312 {
   3313 
   3314   ;
   3315   return 0;
   3316 }
   3317 _ACEOF
   3318 rm -f conftest.o conftest.obj
   3319 if { { ac_try="$ac_compile"
   3320 case "(($ac_try" in
   3321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3322   *) ac_try_echo=$ac_try;;
   3323 esac
   3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3325 $as_echo "$ac_try_echo"; } >&5
   3326   (eval "$ac_compile") 2>&5
   3327   ac_status=$?
   3328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3329   test $ac_status = 0; }; then :
   3330   for ac_file in conftest.o conftest.obj conftest.*; do
   3331   test -f "$ac_file" || continue;
   3332   case $ac_file in
   3333     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3334     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3335        break;;
   3336   esac
   3337 done
   3338 else
   3339   $as_echo "$as_me: failed program was:" >&5
   3340 sed 's/^/| /' conftest.$ac_ext >&5
   3341 
   3342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3344 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3345 See \`config.log' for more details" "$LINENO" 5; }
   3346 fi
   3347 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3348 fi
   3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3350 $as_echo "$ac_cv_objext" >&6; }
   3351 OBJEXT=$ac_cv_objext
   3352 ac_objext=$OBJEXT
   3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3354 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3355 if ${ac_cv_c_compiler_gnu+:} false; then :
   3356   $as_echo_n "(cached) " >&6
   3357 else
   3358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3359 /* end confdefs.h.  */
   3360 
   3361 int
   3362 main ()
   3363 {
   3364 #ifndef __GNUC__
   3365        choke me
   3366 #endif
   3367 
   3368   ;
   3369   return 0;
   3370 }
   3371 _ACEOF
   3372 if ac_fn_c_try_compile "$LINENO"; then :
   3373   ac_compiler_gnu=yes
   3374 else
   3375   ac_compiler_gnu=no
   3376 fi
   3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3378 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3379 
   3380 fi
   3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3382 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3383 if test $ac_compiler_gnu = yes; then
   3384   GCC=yes
   3385 else
   3386   GCC=
   3387 fi
   3388 ac_test_CFLAGS=${CFLAGS+set}
   3389 ac_save_CFLAGS=$CFLAGS
   3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3391 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3392 if ${ac_cv_prog_cc_g+:} false; then :
   3393   $as_echo_n "(cached) " >&6
   3394 else
   3395   ac_save_c_werror_flag=$ac_c_werror_flag
   3396    ac_c_werror_flag=yes
   3397    ac_cv_prog_cc_g=no
   3398    CFLAGS="-g"
   3399    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3400 /* end confdefs.h.  */
   3401 
   3402 int
   3403 main ()
   3404 {
   3405 
   3406   ;
   3407   return 0;
   3408 }
   3409 _ACEOF
   3410 if ac_fn_c_try_compile "$LINENO"; then :
   3411   ac_cv_prog_cc_g=yes
   3412 else
   3413   CFLAGS=""
   3414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3415 /* end confdefs.h.  */
   3416 
   3417 int
   3418 main ()
   3419 {
   3420 
   3421   ;
   3422   return 0;
   3423 }
   3424 _ACEOF
   3425 if ac_fn_c_try_compile "$LINENO"; then :
   3426 
   3427 else
   3428   ac_c_werror_flag=$ac_save_c_werror_flag
   3429 	 CFLAGS="-g"
   3430 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3431 /* end confdefs.h.  */
   3432 
   3433 int
   3434 main ()
   3435 {
   3436 
   3437   ;
   3438   return 0;
   3439 }
   3440 _ACEOF
   3441 if ac_fn_c_try_compile "$LINENO"; then :
   3442   ac_cv_prog_cc_g=yes
   3443 fi
   3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3445 fi
   3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3447 fi
   3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3449    ac_c_werror_flag=$ac_save_c_werror_flag
   3450 fi
   3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3452 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3453 if test "$ac_test_CFLAGS" = set; then
   3454   CFLAGS=$ac_save_CFLAGS
   3455 elif test $ac_cv_prog_cc_g = yes; then
   3456   if test "$GCC" = yes; then
   3457     CFLAGS="-g -O2"
   3458   else
   3459     CFLAGS="-g"
   3460   fi
   3461 else
   3462   if test "$GCC" = yes; then
   3463     CFLAGS="-O2"
   3464   else
   3465     CFLAGS=
   3466   fi
   3467 fi
   3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3469 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3470 if ${ac_cv_prog_cc_c89+:} false; then :
   3471   $as_echo_n "(cached) " >&6
   3472 else
   3473   ac_cv_prog_cc_c89=no
   3474 ac_save_CC=$CC
   3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3476 /* end confdefs.h.  */
   3477 #include <stdarg.h>
   3478 #include <stdio.h>
   3479 struct stat;
   3480 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3481 struct buf { int x; };
   3482 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3483 static char *e (p, i)
   3484      char **p;
   3485      int i;
   3486 {
   3487   return p[i];
   3488 }
   3489 static char *f (char * (*g) (char **, int), char **p, ...)
   3490 {
   3491   char *s;
   3492   va_list v;
   3493   va_start (v,p);
   3494   s = g (p, va_arg (v,int));
   3495   va_end (v);
   3496   return s;
   3497 }
   3498 
   3499 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3500    function prototypes and stuff, but not '\xHH' hex character constants.
   3501    These don't provoke an error unfortunately, instead are silently treated
   3502    as 'x'.  The following induces an error, until -std is added to get
   3503    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3504    array size at least.  It's necessary to write '\x00'==0 to get something
   3505    that's true only with -std.  */
   3506 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3507 
   3508 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3509    inside strings and character constants.  */
   3510 #define FOO(x) 'x'
   3511 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3512 
   3513 int test (int i, double x);
   3514 struct s1 {int (*f) (int a);};
   3515 struct s2 {int (*f) (double a);};
   3516 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3517 int argc;
   3518 char **argv;
   3519 int
   3520 main ()
   3521 {
   3522 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3523   ;
   3524   return 0;
   3525 }
   3526 _ACEOF
   3527 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3528 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3529 do
   3530   CC="$ac_save_CC $ac_arg"
   3531   if ac_fn_c_try_compile "$LINENO"; then :
   3532   ac_cv_prog_cc_c89=$ac_arg
   3533 fi
   3534 rm -f core conftest.err conftest.$ac_objext
   3535   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3536 done
   3537 rm -f conftest.$ac_ext
   3538 CC=$ac_save_CC
   3539 
   3540 fi
   3541 # AC_CACHE_VAL
   3542 case "x$ac_cv_prog_cc_c89" in
   3543   x)
   3544     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3545 $as_echo "none needed" >&6; } ;;
   3546   xno)
   3547     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3548 $as_echo "unsupported" >&6; } ;;
   3549   *)
   3550     CC="$CC $ac_cv_prog_cc_c89"
   3551     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3552 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3553 esac
   3554 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3555 
   3556 fi
   3557 
   3558 ac_ext=c
   3559 ac_cpp='$CPP $CPPFLAGS'
   3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3563 
   3564 ac_ext=c
   3565 ac_cpp='$CPP $CPPFLAGS'
   3566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3570 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3571 if ${am_cv_prog_cc_c_o+:} false; then :
   3572   $as_echo_n "(cached) " >&6
   3573 else
   3574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3575 /* end confdefs.h.  */
   3576 
   3577 int
   3578 main ()
   3579 {
   3580 
   3581   ;
   3582   return 0;
   3583 }
   3584 _ACEOF
   3585   # Make sure it works both with $CC and with simple cc.
   3586   # Following AC_PROG_CC_C_O, we do the test twice because some
   3587   # compilers refuse to overwrite an existing .o file with -o,
   3588   # though they will create one.
   3589   am_cv_prog_cc_c_o=yes
   3590   for am_i in 1 2; do
   3591     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3592    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3593    ac_status=$?
   3594    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3595    (exit $ac_status); } \
   3596          && test -f conftest2.$ac_objext; then
   3597       : OK
   3598     else
   3599       am_cv_prog_cc_c_o=no
   3600       break
   3601     fi
   3602   done
   3603   rm -f core conftest*
   3604   unset am_i
   3605 fi
   3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3607 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3608 if test "$am_cv_prog_cc_c_o" != yes; then
   3609    # Losing compiler, so override with the script.
   3610    # FIXME: It is wrong to rewrite CC.
   3611    # But if we don't then we get into trouble of one sort or another.
   3612    # A longer-term fix would be to have automake use am__CC in this case,
   3613    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3614    CC="$am_aux_dir/compile $CC"
   3615 fi
   3616 ac_ext=c
   3617 ac_cpp='$CPP $CPPFLAGS'
   3618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3621 
   3622 
   3623 depcc="$CC"   am_compiler_list=
   3624 
   3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3626 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3627 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3628   $as_echo_n "(cached) " >&6
   3629 else
   3630   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3631   # We make a subdir and do the tests there.  Otherwise we can end up
   3632   # making bogus files that we don't know about and never remove.  For
   3633   # instance it was reported that on HP-UX the gcc test will end up
   3634   # making a dummy file named 'D' -- because '-MD' means "put the output
   3635   # in D".
   3636   rm -rf conftest.dir
   3637   mkdir conftest.dir
   3638   # Copy depcomp to subdir because otherwise we won't find it if we're
   3639   # using a relative directory.
   3640   cp "$am_depcomp" conftest.dir
   3641   cd conftest.dir
   3642   # We will build objects and dependencies in a subdirectory because
   3643   # it helps to detect inapplicable dependency modes.  For instance
   3644   # both Tru64's cc and ICC support -MD to output dependencies as a
   3645   # side effect of compilation, but ICC will put the dependencies in
   3646   # the current directory while Tru64 will put them in the object
   3647   # directory.
   3648   mkdir sub
   3649 
   3650   am_cv_CC_dependencies_compiler_type=none
   3651   if test "$am_compiler_list" = ""; then
   3652      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3653   fi
   3654   am__universal=false
   3655   case " $depcc " in #(
   3656      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3657      esac
   3658 
   3659   for depmode in $am_compiler_list; do
   3660     # Setup a source with many dependencies, because some compilers
   3661     # like to wrap large dependency lists on column 80 (with \), and
   3662     # we should not choose a depcomp mode which is confused by this.
   3663     #
   3664     # We need to recreate these files for each test, as the compiler may
   3665     # overwrite some of them when testing with obscure command lines.
   3666     # This happens at least with the AIX C compiler.
   3667     : > sub/conftest.c
   3668     for i in 1 2 3 4 5 6; do
   3669       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3670       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3671       # Solaris 10 /bin/sh.
   3672       echo '/* dummy */' > sub/conftst$i.h
   3673     done
   3674     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3675 
   3676     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3677     # mode.  It turns out that the SunPro C++ compiler does not properly
   3678     # handle '-M -o', and we need to detect this.  Also, some Intel
   3679     # versions had trouble with output in subdirs.
   3680     am__obj=sub/conftest.${OBJEXT-o}
   3681     am__minus_obj="-o $am__obj"
   3682     case $depmode in
   3683     gcc)
   3684       # This depmode causes a compiler race in universal mode.
   3685       test "$am__universal" = false || continue
   3686       ;;
   3687     nosideeffect)
   3688       # After this tag, mechanisms are not by side-effect, so they'll
   3689       # only be used when explicitly requested.
   3690       if test "x$enable_dependency_tracking" = xyes; then
   3691 	continue
   3692       else
   3693 	break
   3694       fi
   3695       ;;
   3696     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3697       # This compiler won't grok '-c -o', but also, the minuso test has
   3698       # not run yet.  These depmodes are late enough in the game, and
   3699       # so weak that their functioning should not be impacted.
   3700       am__obj=conftest.${OBJEXT-o}
   3701       am__minus_obj=
   3702       ;;
   3703     none) break ;;
   3704     esac
   3705     if depmode=$depmode \
   3706        source=sub/conftest.c object=$am__obj \
   3707        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3708        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3709          >/dev/null 2>conftest.err &&
   3710        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3711        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3712        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3713        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3714       # icc doesn't choke on unknown options, it will just issue warnings
   3715       # or remarks (even with -Werror).  So we grep stderr for any message
   3716       # that says an option was ignored or not supported.
   3717       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3718       #   icc: Command line warning: ignoring option '-M'; no argument required
   3719       # The diagnosis changed in icc 8.0:
   3720       #   icc: Command line remark: option '-MP' not supported
   3721       if (grep 'ignoring option' conftest.err ||
   3722           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3723         am_cv_CC_dependencies_compiler_type=$depmode
   3724         break
   3725       fi
   3726     fi
   3727   done
   3728 
   3729   cd ..
   3730   rm -rf conftest.dir
   3731 else
   3732   am_cv_CC_dependencies_compiler_type=none
   3733 fi
   3734 
   3735 fi
   3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3737 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3738 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3739 
   3740  if
   3741   test "x$enable_dependency_tracking" != xno \
   3742   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3743   am__fastdepCC_TRUE=
   3744   am__fastdepCC_FALSE='#'
   3745 else
   3746   am__fastdepCC_TRUE='#'
   3747   am__fastdepCC_FALSE=
   3748 fi
   3749 
   3750 
   3751    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3752 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3753 if ${ac_cv_prog_cc_c99+:} false; then :
   3754   $as_echo_n "(cached) " >&6
   3755 else
   3756   ac_cv_prog_cc_c99=no
   3757 ac_save_CC=$CC
   3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3759 /* end confdefs.h.  */
   3760 #include <stdarg.h>
   3761 #include <stdbool.h>
   3762 #include <stdlib.h>
   3763 #include <wchar.h>
   3764 #include <stdio.h>
   3765 
   3766 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3767 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3768 #define showlist(...) puts (#__VA_ARGS__)
   3769 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3770 static void
   3771 test_varargs_macros (void)
   3772 {
   3773   int x = 1234;
   3774   int y = 5678;
   3775   debug ("Flag");
   3776   debug ("X = %d\n", x);
   3777   showlist (The first, second, and third items.);
   3778   report (x>y, "x is %d but y is %d", x, y);
   3779 }
   3780 
   3781 // Check long long types.
   3782 #define BIG64 18446744073709551615ull
   3783 #define BIG32 4294967295ul
   3784 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3785 #if !BIG_OK
   3786   your preprocessor is broken;
   3787 #endif
   3788 #if BIG_OK
   3789 #else
   3790   your preprocessor is broken;
   3791 #endif
   3792 static long long int bignum = -9223372036854775807LL;
   3793 static unsigned long long int ubignum = BIG64;
   3794 
   3795 struct incomplete_array
   3796 {
   3797   int datasize;
   3798   double data[];
   3799 };
   3800 
   3801 struct named_init {
   3802   int number;
   3803   const wchar_t *name;
   3804   double average;
   3805 };
   3806 
   3807 typedef const char *ccp;
   3808 
   3809 static inline int
   3810 test_restrict (ccp restrict text)
   3811 {
   3812   // See if C++-style comments work.
   3813   // Iterate through items via the restricted pointer.
   3814   // Also check for declarations in for loops.
   3815   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3816     continue;
   3817   return 0;
   3818 }
   3819 
   3820 // Check varargs and va_copy.
   3821 static void
   3822 test_varargs (const char *format, ...)
   3823 {
   3824   va_list args;
   3825   va_start (args, format);
   3826   va_list args_copy;
   3827   va_copy (args_copy, args);
   3828 
   3829   const char *str;
   3830   int number;
   3831   float fnumber;
   3832 
   3833   while (*format)
   3834     {
   3835       switch (*format++)
   3836 	{
   3837 	case 's': // string
   3838 	  str = va_arg (args_copy, const char *);
   3839 	  break;
   3840 	case 'd': // int
   3841 	  number = va_arg (args_copy, int);
   3842 	  break;
   3843 	case 'f': // float
   3844 	  fnumber = va_arg (args_copy, double);
   3845 	  break;
   3846 	default:
   3847 	  break;
   3848 	}
   3849     }
   3850   va_end (args_copy);
   3851   va_end (args);
   3852 }
   3853 
   3854 int
   3855 main ()
   3856 {
   3857 
   3858   // Check bool.
   3859   _Bool success = false;
   3860 
   3861   // Check restrict.
   3862   if (test_restrict ("String literal") == 0)
   3863     success = true;
   3864   char *restrict newvar = "Another string";
   3865 
   3866   // Check varargs.
   3867   test_varargs ("s, d' f .", "string", 65, 34.234);
   3868   test_varargs_macros ();
   3869 
   3870   // Check flexible array members.
   3871   struct incomplete_array *ia =
   3872     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3873   ia->datasize = 10;
   3874   for (int i = 0; i < ia->datasize; ++i)
   3875     ia->data[i] = i * 1.234;
   3876 
   3877   // Check named initializers.
   3878   struct named_init ni = {
   3879     .number = 34,
   3880     .name = L"Test wide string",
   3881     .average = 543.34343,
   3882   };
   3883 
   3884   ni.number = 58;
   3885 
   3886   int dynamic_array[ni.number];
   3887   dynamic_array[ni.number - 1] = 543;
   3888 
   3889   // work around unused variable warnings
   3890   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3891 	  || dynamic_array[ni.number - 1] != 543);
   3892 
   3893   ;
   3894   return 0;
   3895 }
   3896 _ACEOF
   3897 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3898 do
   3899   CC="$ac_save_CC $ac_arg"
   3900   if ac_fn_c_try_compile "$LINENO"; then :
   3901   ac_cv_prog_cc_c99=$ac_arg
   3902 fi
   3903 rm -f core conftest.err conftest.$ac_objext
   3904   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3905 done
   3906 rm -f conftest.$ac_ext
   3907 CC=$ac_save_CC
   3908 
   3909 fi
   3910 # AC_CACHE_VAL
   3911 case "x$ac_cv_prog_cc_c99" in
   3912   x)
   3913     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3914 $as_echo "none needed" >&6; } ;;
   3915   xno)
   3916     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3917 $as_echo "unsupported" >&6; } ;;
   3918   *)
   3919     CC="$CC $ac_cv_prog_cc_c99"
   3920     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3921 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3922 esac
   3923 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3924 
   3925 fi
   3926 
   3927 
   3928 
   3929 ac_ext=c
   3930 ac_cpp='$CPP $CPPFLAGS'
   3931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3935 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3936 # On Suns, sometimes $CPP names a directory.
   3937 if test -n "$CPP" && test -d "$CPP"; then
   3938   CPP=
   3939 fi
   3940 if test -z "$CPP"; then
   3941   if ${ac_cv_prog_CPP+:} false; then :
   3942   $as_echo_n "(cached) " >&6
   3943 else
   3944       # Double quotes because CPP needs to be expanded
   3945     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3946     do
   3947       ac_preproc_ok=false
   3948 for ac_c_preproc_warn_flag in '' yes
   3949 do
   3950   # Use a header file that comes with gcc, so configuring glibc
   3951   # with a fresh cross-compiler works.
   3952   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3953   # <limits.h> exists even on freestanding compilers.
   3954   # On the NeXT, cc -E runs the code through the compiler's parser,
   3955   # not just through cpp. "Syntax error" is here to catch this case.
   3956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3957 /* end confdefs.h.  */
   3958 #ifdef __STDC__
   3959 # include <limits.h>
   3960 #else
   3961 # include <assert.h>
   3962 #endif
   3963 		     Syntax error
   3964 _ACEOF
   3965 if ac_fn_c_try_cpp "$LINENO"; then :
   3966 
   3967 else
   3968   # Broken: fails on valid input.
   3969 continue
   3970 fi
   3971 rm -f conftest.err conftest.i conftest.$ac_ext
   3972 
   3973   # OK, works on sane cases.  Now check whether nonexistent headers
   3974   # can be detected and how.
   3975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3976 /* end confdefs.h.  */
   3977 #include <ac_nonexistent.h>
   3978 _ACEOF
   3979 if ac_fn_c_try_cpp "$LINENO"; then :
   3980   # Broken: success on invalid input.
   3981 continue
   3982 else
   3983   # Passes both tests.
   3984 ac_preproc_ok=:
   3985 break
   3986 fi
   3987 rm -f conftest.err conftest.i conftest.$ac_ext
   3988 
   3989 done
   3990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3991 rm -f conftest.i conftest.err conftest.$ac_ext
   3992 if $ac_preproc_ok; then :
   3993   break
   3994 fi
   3995 
   3996     done
   3997     ac_cv_prog_CPP=$CPP
   3998 
   3999 fi
   4000   CPP=$ac_cv_prog_CPP
   4001 else
   4002   ac_cv_prog_CPP=$CPP
   4003 fi
   4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4005 $as_echo "$CPP" >&6; }
   4006 ac_preproc_ok=false
   4007 for ac_c_preproc_warn_flag in '' yes
   4008 do
   4009   # Use a header file that comes with gcc, so configuring glibc
   4010   # with a fresh cross-compiler works.
   4011   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4012   # <limits.h> exists even on freestanding compilers.
   4013   # On the NeXT, cc -E runs the code through the compiler's parser,
   4014   # not just through cpp. "Syntax error" is here to catch this case.
   4015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4016 /* end confdefs.h.  */
   4017 #ifdef __STDC__
   4018 # include <limits.h>
   4019 #else
   4020 # include <assert.h>
   4021 #endif
   4022 		     Syntax error
   4023 _ACEOF
   4024 if ac_fn_c_try_cpp "$LINENO"; then :
   4025 
   4026 else
   4027   # Broken: fails on valid input.
   4028 continue
   4029 fi
   4030 rm -f conftest.err conftest.i conftest.$ac_ext
   4031 
   4032   # OK, works on sane cases.  Now check whether nonexistent headers
   4033   # can be detected and how.
   4034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4035 /* end confdefs.h.  */
   4036 #include <ac_nonexistent.h>
   4037 _ACEOF
   4038 if ac_fn_c_try_cpp "$LINENO"; then :
   4039   # Broken: success on invalid input.
   4040 continue
   4041 else
   4042   # Passes both tests.
   4043 ac_preproc_ok=:
   4044 break
   4045 fi
   4046 rm -f conftest.err conftest.i conftest.$ac_ext
   4047 
   4048 done
   4049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4050 rm -f conftest.i conftest.err conftest.$ac_ext
   4051 if $ac_preproc_ok; then :
   4052 
   4053 else
   4054   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4056 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4057 See \`config.log' for more details" "$LINENO" 5; }
   4058 fi
   4059 
   4060 ac_ext=c
   4061 ac_cpp='$CPP $CPPFLAGS'
   4062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4065 
   4066 
   4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4068 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4069 if ${ac_cv_path_GREP+:} false; then :
   4070   $as_echo_n "(cached) " >&6
   4071 else
   4072   if test -z "$GREP"; then
   4073   ac_path_GREP_found=false
   4074   # Loop through the user's path and test for each of PROGNAME-LIST
   4075   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4076 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4077 do
   4078   IFS=$as_save_IFS
   4079   test -z "$as_dir" && as_dir=.
   4080     for ac_prog in grep ggrep; do
   4081     for ac_exec_ext in '' $ac_executable_extensions; do
   4082       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4083       as_fn_executable_p "$ac_path_GREP" || continue
   4084 # Check for GNU ac_path_GREP and select it if it is found.
   4085   # Check for GNU $ac_path_GREP
   4086 case `"$ac_path_GREP" --version 2>&1` in
   4087 *GNU*)
   4088   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4089 *)
   4090   ac_count=0
   4091   $as_echo_n 0123456789 >"conftest.in"
   4092   while :
   4093   do
   4094     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4095     mv "conftest.tmp" "conftest.in"
   4096     cp "conftest.in" "conftest.nl"
   4097     $as_echo 'GREP' >> "conftest.nl"
   4098     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4099     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4100     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4101     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4102       # Best one so far, save it but keep looking for a better one
   4103       ac_cv_path_GREP="$ac_path_GREP"
   4104       ac_path_GREP_max=$ac_count
   4105     fi
   4106     # 10*(2^10) chars as input seems more than enough
   4107     test $ac_count -gt 10 && break
   4108   done
   4109   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4110 esac
   4111 
   4112       $ac_path_GREP_found && break 3
   4113     done
   4114   done
   4115   done
   4116 IFS=$as_save_IFS
   4117   if test -z "$ac_cv_path_GREP"; then
   4118     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4119   fi
   4120 else
   4121   ac_cv_path_GREP=$GREP
   4122 fi
   4123 
   4124 fi
   4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4126 $as_echo "$ac_cv_path_GREP" >&6; }
   4127  GREP="$ac_cv_path_GREP"
   4128 
   4129 
   4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4131 $as_echo_n "checking for egrep... " >&6; }
   4132 if ${ac_cv_path_EGREP+:} false; then :
   4133   $as_echo_n "(cached) " >&6
   4134 else
   4135   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4136    then ac_cv_path_EGREP="$GREP -E"
   4137    else
   4138      if test -z "$EGREP"; then
   4139   ac_path_EGREP_found=false
   4140   # Loop through the user's path and test for each of PROGNAME-LIST
   4141   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4142 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4143 do
   4144   IFS=$as_save_IFS
   4145   test -z "$as_dir" && as_dir=.
   4146     for ac_prog in egrep; do
   4147     for ac_exec_ext in '' $ac_executable_extensions; do
   4148       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4149       as_fn_executable_p "$ac_path_EGREP" || continue
   4150 # Check for GNU ac_path_EGREP and select it if it is found.
   4151   # Check for GNU $ac_path_EGREP
   4152 case `"$ac_path_EGREP" --version 2>&1` in
   4153 *GNU*)
   4154   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4155 *)
   4156   ac_count=0
   4157   $as_echo_n 0123456789 >"conftest.in"
   4158   while :
   4159   do
   4160     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4161     mv "conftest.tmp" "conftest.in"
   4162     cp "conftest.in" "conftest.nl"
   4163     $as_echo 'EGREP' >> "conftest.nl"
   4164     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4165     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4166     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4167     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4168       # Best one so far, save it but keep looking for a better one
   4169       ac_cv_path_EGREP="$ac_path_EGREP"
   4170       ac_path_EGREP_max=$ac_count
   4171     fi
   4172     # 10*(2^10) chars as input seems more than enough
   4173     test $ac_count -gt 10 && break
   4174   done
   4175   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4176 esac
   4177 
   4178       $ac_path_EGREP_found && break 3
   4179     done
   4180   done
   4181   done
   4182 IFS=$as_save_IFS
   4183   if test -z "$ac_cv_path_EGREP"; then
   4184     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4185   fi
   4186 else
   4187   ac_cv_path_EGREP=$EGREP
   4188 fi
   4189 
   4190    fi
   4191 fi
   4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4193 $as_echo "$ac_cv_path_EGREP" >&6; }
   4194  EGREP="$ac_cv_path_EGREP"
   4195 
   4196 
   4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4198 $as_echo_n "checking for ANSI C header files... " >&6; }
   4199 if ${ac_cv_header_stdc+:} false; then :
   4200   $as_echo_n "(cached) " >&6
   4201 else
   4202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4203 /* end confdefs.h.  */
   4204 #include <stdlib.h>
   4205 #include <stdarg.h>
   4206 #include <string.h>
   4207 #include <float.h>
   4208 
   4209 int
   4210 main ()
   4211 {
   4212 
   4213   ;
   4214   return 0;
   4215 }
   4216 _ACEOF
   4217 if ac_fn_c_try_compile "$LINENO"; then :
   4218   ac_cv_header_stdc=yes
   4219 else
   4220   ac_cv_header_stdc=no
   4221 fi
   4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4223 
   4224 if test $ac_cv_header_stdc = yes; then
   4225   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4227 /* end confdefs.h.  */
   4228 #include <string.h>
   4229 
   4230 _ACEOF
   4231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4232   $EGREP "memchr" >/dev/null 2>&1; then :
   4233 
   4234 else
   4235   ac_cv_header_stdc=no
   4236 fi
   4237 rm -f conftest*
   4238 
   4239 fi
   4240 
   4241 if test $ac_cv_header_stdc = yes; then
   4242   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4244 /* end confdefs.h.  */
   4245 #include <stdlib.h>
   4246 
   4247 _ACEOF
   4248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4249   $EGREP "free" >/dev/null 2>&1; then :
   4250 
   4251 else
   4252   ac_cv_header_stdc=no
   4253 fi
   4254 rm -f conftest*
   4255 
   4256 fi
   4257 
   4258 if test $ac_cv_header_stdc = yes; then
   4259   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4260   if test "$cross_compiling" = yes; then :
   4261   :
   4262 else
   4263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4264 /* end confdefs.h.  */
   4265 #include <ctype.h>
   4266 #include <stdlib.h>
   4267 #if ((' ' & 0x0FF) == 0x020)
   4268 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4269 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4270 #else
   4271 # define ISLOWER(c) \
   4272 		   (('a' <= (c) && (c) <= 'i') \
   4273 		     || ('j' <= (c) && (c) <= 'r') \
   4274 		     || ('s' <= (c) && (c) <= 'z'))
   4275 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4276 #endif
   4277 
   4278 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4279 int
   4280 main ()
   4281 {
   4282   int i;
   4283   for (i = 0; i < 256; i++)
   4284     if (XOR (islower (i), ISLOWER (i))
   4285 	|| toupper (i) != TOUPPER (i))
   4286       return 2;
   4287   return 0;
   4288 }
   4289 _ACEOF
   4290 if ac_fn_c_try_run "$LINENO"; then :
   4291 
   4292 else
   4293   ac_cv_header_stdc=no
   4294 fi
   4295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4296   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4297 fi
   4298 
   4299 fi
   4300 fi
   4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4302 $as_echo "$ac_cv_header_stdc" >&6; }
   4303 if test $ac_cv_header_stdc = yes; then
   4304 
   4305 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4306 
   4307 fi
   4308 
   4309 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4310 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4311 		  inttypes.h stdint.h unistd.h
   4312 do :
   4313   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4314 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4315 "
   4316 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4317   cat >>confdefs.h <<_ACEOF
   4318 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4319 _ACEOF
   4320 
   4321 fi
   4322 
   4323 done
   4324 
   4325 
   4326 
   4327 
   4328 
   4329 
   4330 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4331 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4332   CLANGCC="yes"
   4333 else
   4334   CLANGCC="no"
   4335 fi
   4336 
   4337 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4338 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4339   INTELCC="yes"
   4340 else
   4341   INTELCC="no"
   4342 fi
   4343 
   4344 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4345 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4346   SUNCC="yes"
   4347 else
   4348   SUNCC="no"
   4349 fi
   4350 
   4351 
   4352 
   4353 
   4354 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4355 	if test -n "$ac_tool_prefix"; then
   4356   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4357 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4359 $as_echo_n "checking for $ac_word... " >&6; }
   4360 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4361   $as_echo_n "(cached) " >&6
   4362 else
   4363   case $PKG_CONFIG in
   4364   [\\/]* | ?:[\\/]*)
   4365   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4366   ;;
   4367   *)
   4368   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4369 for as_dir in $PATH
   4370 do
   4371   IFS=$as_save_IFS
   4372   test -z "$as_dir" && as_dir=.
   4373     for ac_exec_ext in '' $ac_executable_extensions; do
   4374   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4375     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4377     break 2
   4378   fi
   4379 done
   4380   done
   4381 IFS=$as_save_IFS
   4382 
   4383   ;;
   4384 esac
   4385 fi
   4386 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4387 if test -n "$PKG_CONFIG"; then
   4388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4389 $as_echo "$PKG_CONFIG" >&6; }
   4390 else
   4391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4392 $as_echo "no" >&6; }
   4393 fi
   4394 
   4395 
   4396 fi
   4397 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4398   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4399   # Extract the first word of "pkg-config", so it can be a program name with args.
   4400 set dummy pkg-config; ac_word=$2
   4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4402 $as_echo_n "checking for $ac_word... " >&6; }
   4403 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4404   $as_echo_n "(cached) " >&6
   4405 else
   4406   case $ac_pt_PKG_CONFIG in
   4407   [\\/]* | ?:[\\/]*)
   4408   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4409   ;;
   4410   *)
   4411   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4412 for as_dir in $PATH
   4413 do
   4414   IFS=$as_save_IFS
   4415   test -z "$as_dir" && as_dir=.
   4416     for ac_exec_ext in '' $ac_executable_extensions; do
   4417   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4418     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4420     break 2
   4421   fi
   4422 done
   4423   done
   4424 IFS=$as_save_IFS
   4425 
   4426   ;;
   4427 esac
   4428 fi
   4429 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4430 if test -n "$ac_pt_PKG_CONFIG"; then
   4431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4432 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4433 else
   4434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4435 $as_echo "no" >&6; }
   4436 fi
   4437 
   4438   if test "x$ac_pt_PKG_CONFIG" = x; then
   4439     PKG_CONFIG=""
   4440   else
   4441     case $cross_compiling:$ac_tool_warned in
   4442 yes:)
   4443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4445 ac_tool_warned=yes ;;
   4446 esac
   4447     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4448   fi
   4449 else
   4450   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4451 fi
   4452 
   4453 fi
   4454 if test -n "$PKG_CONFIG"; then
   4455 	_pkg_min_version=0.9.0
   4456 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4457 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4458 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4460 $as_echo "yes" >&6; }
   4461 	else
   4462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4463 $as_echo "no" >&6; }
   4464 		PKG_CONFIG=""
   4465 	fi
   4466 
   4467 fi
   4468 # Make sure we can run config.sub.
   4469 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4470   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4471 
   4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4473 $as_echo_n "checking build system type... " >&6; }
   4474 if ${ac_cv_build+:} false; then :
   4475   $as_echo_n "(cached) " >&6
   4476 else
   4477   ac_build_alias=$build_alias
   4478 test "x$ac_build_alias" = x &&
   4479   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4480 test "x$ac_build_alias" = x &&
   4481   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4482 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4483   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4484 
   4485 fi
   4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4487 $as_echo "$ac_cv_build" >&6; }
   4488 case $ac_cv_build in
   4489 *-*-*) ;;
   4490 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4491 esac
   4492 build=$ac_cv_build
   4493 ac_save_IFS=$IFS; IFS='-'
   4494 set x $ac_cv_build
   4495 shift
   4496 build_cpu=$1
   4497 build_vendor=$2
   4498 shift; shift
   4499 # Remember, the first character of IFS is used to create $*,
   4500 # except with old shells:
   4501 build_os=$*
   4502 IFS=$ac_save_IFS
   4503 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4504 
   4505 
   4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4507 $as_echo_n "checking host system type... " >&6; }
   4508 if ${ac_cv_host+:} false; then :
   4509   $as_echo_n "(cached) " >&6
   4510 else
   4511   if test "x$host_alias" = x; then
   4512   ac_cv_host=$ac_cv_build
   4513 else
   4514   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4515     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4516 fi
   4517 
   4518 fi
   4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4520 $as_echo "$ac_cv_host" >&6; }
   4521 case $ac_cv_host in
   4522 *-*-*) ;;
   4523 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4524 esac
   4525 host=$ac_cv_host
   4526 ac_save_IFS=$IFS; IFS='-'
   4527 set x $ac_cv_host
   4528 shift
   4529 host_cpu=$1
   4530 host_vendor=$2
   4531 shift; shift
   4532 # Remember, the first character of IFS is used to create $*,
   4533 # except with old shells:
   4534 host_os=$*
   4535 IFS=$ac_save_IFS
   4536 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4537 
   4538 
   4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4540 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4541 if ${ac_cv_path_SED+:} false; then :
   4542   $as_echo_n "(cached) " >&6
   4543 else
   4544             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4545      for ac_i in 1 2 3 4 5 6 7; do
   4546        ac_script="$ac_script$as_nl$ac_script"
   4547      done
   4548      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4549      { ac_script=; unset ac_script;}
   4550      if test -z "$SED"; then
   4551   ac_path_SED_found=false
   4552   # Loop through the user's path and test for each of PROGNAME-LIST
   4553   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4554 for as_dir in $PATH
   4555 do
   4556   IFS=$as_save_IFS
   4557   test -z "$as_dir" && as_dir=.
   4558     for ac_prog in sed gsed; do
   4559     for ac_exec_ext in '' $ac_executable_extensions; do
   4560       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4561       as_fn_executable_p "$ac_path_SED" || continue
   4562 # Check for GNU ac_path_SED and select it if it is found.
   4563   # Check for GNU $ac_path_SED
   4564 case `"$ac_path_SED" --version 2>&1` in
   4565 *GNU*)
   4566   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4567 *)
   4568   ac_count=0
   4569   $as_echo_n 0123456789 >"conftest.in"
   4570   while :
   4571   do
   4572     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4573     mv "conftest.tmp" "conftest.in"
   4574     cp "conftest.in" "conftest.nl"
   4575     $as_echo '' >> "conftest.nl"
   4576     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4577     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4578     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4579     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4580       # Best one so far, save it but keep looking for a better one
   4581       ac_cv_path_SED="$ac_path_SED"
   4582       ac_path_SED_max=$ac_count
   4583     fi
   4584     # 10*(2^10) chars as input seems more than enough
   4585     test $ac_count -gt 10 && break
   4586   done
   4587   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4588 esac
   4589 
   4590       $ac_path_SED_found && break 3
   4591     done
   4592   done
   4593   done
   4594 IFS=$as_save_IFS
   4595   if test -z "$ac_cv_path_SED"; then
   4596     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4597   fi
   4598 else
   4599   ac_cv_path_SED=$SED
   4600 fi
   4601 
   4602 fi
   4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4604 $as_echo "$ac_cv_path_SED" >&6; }
   4605  SED="$ac_cv_path_SED"
   4606   rm -f conftest.sed
   4607 
   4608 
   4609 
   4610 
   4611 
   4612 
   4613 # Check whether --enable-selective-werror was given.
   4614 if test "${enable_selective_werror+set}" = set; then :
   4615   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4616 else
   4617   SELECTIVE_WERROR=yes
   4618 fi
   4619 
   4620 
   4621 
   4622 
   4623 
   4624 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4625 if test "x$SUNCC" = "xyes"; then
   4626     BASE_CFLAGS="-v"
   4627 else
   4628     BASE_CFLAGS=""
   4629 fi
   4630 
   4631 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4632 
   4633 
   4634 
   4635 
   4636 
   4637 
   4638 
   4639 
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 xorg_testset_save_CFLAGS="$CFLAGS"
   4646 
   4647 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4650 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4651 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4652   $as_echo_n "(cached) " >&6
   4653 else
   4654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4655 /* end confdefs.h.  */
   4656 int i;
   4657 _ACEOF
   4658 if ac_fn_c_try_compile "$LINENO"; then :
   4659   xorg_cv_cc_flag_unknown_warning_option=yes
   4660 else
   4661   xorg_cv_cc_flag_unknown_warning_option=no
   4662 fi
   4663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4664 fi
   4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4666 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4668 	CFLAGS="$xorg_testset_save_CFLAGS"
   4669 fi
   4670 
   4671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4674 	fi
   4675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4677 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4678 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4679   $as_echo_n "(cached) " >&6
   4680 else
   4681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4682 /* end confdefs.h.  */
   4683 int i;
   4684 _ACEOF
   4685 if ac_fn_c_try_compile "$LINENO"; then :
   4686   xorg_cv_cc_flag_unused_command_line_argument=yes
   4687 else
   4688   xorg_cv_cc_flag_unused_command_line_argument=no
   4689 fi
   4690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4691 fi
   4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4693 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4694 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4695 	CFLAGS="$xorg_testset_save_CFLAGS"
   4696 fi
   4697 
   4698 found="no"
   4699 
   4700 	if test $found = "no" ; then
   4701 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4703 		fi
   4704 
   4705 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4707 		fi
   4708 
   4709 		CFLAGS="$CFLAGS -Wall"
   4710 
   4711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4712 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4713 		cacheid=xorg_cv_cc_flag__Wall
   4714 		if eval \${$cacheid+:} false; then :
   4715   $as_echo_n "(cached) " >&6
   4716 else
   4717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4718 /* end confdefs.h.  */
   4719 int i;
   4720 int
   4721 main ()
   4722 {
   4723 
   4724   ;
   4725   return 0;
   4726 }
   4727 _ACEOF
   4728 if ac_fn_c_try_link "$LINENO"; then :
   4729   eval $cacheid=yes
   4730 else
   4731   eval $cacheid=no
   4732 fi
   4733 rm -f core conftest.err conftest.$ac_objext \
   4734     conftest$ac_exeext conftest.$ac_ext
   4735 fi
   4736 
   4737 
   4738 		CFLAGS="$xorg_testset_save_CFLAGS"
   4739 
   4740 		eval supported=\$$cacheid
   4741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4742 $as_echo "$supported" >&6; }
   4743 		if test "$supported" = "yes" ; then
   4744 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4745 			found="yes"
   4746 		fi
   4747 	fi
   4748 
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 
   4755 
   4756 
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 xorg_testset_save_CFLAGS="$CFLAGS"
   4764 
   4765 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4766 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4768 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4769 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4770   $as_echo_n "(cached) " >&6
   4771 else
   4772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4773 /* end confdefs.h.  */
   4774 int i;
   4775 _ACEOF
   4776 if ac_fn_c_try_compile "$LINENO"; then :
   4777   xorg_cv_cc_flag_unknown_warning_option=yes
   4778 else
   4779   xorg_cv_cc_flag_unknown_warning_option=no
   4780 fi
   4781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4782 fi
   4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4784 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4785 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4786 	CFLAGS="$xorg_testset_save_CFLAGS"
   4787 fi
   4788 
   4789 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4790 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4791 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4792 	fi
   4793 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4794 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4795 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4796 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4797   $as_echo_n "(cached) " >&6
   4798 else
   4799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4800 /* end confdefs.h.  */
   4801 int i;
   4802 _ACEOF
   4803 if ac_fn_c_try_compile "$LINENO"; then :
   4804   xorg_cv_cc_flag_unused_command_line_argument=yes
   4805 else
   4806   xorg_cv_cc_flag_unused_command_line_argument=no
   4807 fi
   4808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4809 fi
   4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4811 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4812 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4813 	CFLAGS="$xorg_testset_save_CFLAGS"
   4814 fi
   4815 
   4816 found="no"
   4817 
   4818 	if test $found = "no" ; then
   4819 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4820 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4821 		fi
   4822 
   4823 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4824 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4825 		fi
   4826 
   4827 		CFLAGS="$CFLAGS -Wpointer-arith"
   4828 
   4829 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4830 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4831 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4832 		if eval \${$cacheid+:} false; then :
   4833   $as_echo_n "(cached) " >&6
   4834 else
   4835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4836 /* end confdefs.h.  */
   4837 int i;
   4838 int
   4839 main ()
   4840 {
   4841 
   4842   ;
   4843   return 0;
   4844 }
   4845 _ACEOF
   4846 if ac_fn_c_try_link "$LINENO"; then :
   4847   eval $cacheid=yes
   4848 else
   4849   eval $cacheid=no
   4850 fi
   4851 rm -f core conftest.err conftest.$ac_objext \
   4852     conftest$ac_exeext conftest.$ac_ext
   4853 fi
   4854 
   4855 
   4856 		CFLAGS="$xorg_testset_save_CFLAGS"
   4857 
   4858 		eval supported=\$$cacheid
   4859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4860 $as_echo "$supported" >&6; }
   4861 		if test "$supported" = "yes" ; then
   4862 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4863 			found="yes"
   4864 		fi
   4865 	fi
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 xorg_testset_save_CFLAGS="$CFLAGS"
   4882 
   4883 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4884 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4886 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4887 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4888   $as_echo_n "(cached) " >&6
   4889 else
   4890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4891 /* end confdefs.h.  */
   4892 int i;
   4893 _ACEOF
   4894 if ac_fn_c_try_compile "$LINENO"; then :
   4895   xorg_cv_cc_flag_unknown_warning_option=yes
   4896 else
   4897   xorg_cv_cc_flag_unknown_warning_option=no
   4898 fi
   4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4900 fi
   4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4902 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4903 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4904 	CFLAGS="$xorg_testset_save_CFLAGS"
   4905 fi
   4906 
   4907 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4908 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4910 	fi
   4911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4913 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4914 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4915   $as_echo_n "(cached) " >&6
   4916 else
   4917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4918 /* end confdefs.h.  */
   4919 int i;
   4920 _ACEOF
   4921 if ac_fn_c_try_compile "$LINENO"; then :
   4922   xorg_cv_cc_flag_unused_command_line_argument=yes
   4923 else
   4924   xorg_cv_cc_flag_unused_command_line_argument=no
   4925 fi
   4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4927 fi
   4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4929 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4930 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4931 	CFLAGS="$xorg_testset_save_CFLAGS"
   4932 fi
   4933 
   4934 found="no"
   4935 
   4936 	if test $found = "no" ; then
   4937 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4939 		fi
   4940 
   4941 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4943 		fi
   4944 
   4945 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4946 
   4947 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4948 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4949 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4950 		if eval \${$cacheid+:} false; then :
   4951   $as_echo_n "(cached) " >&6
   4952 else
   4953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4954 /* end confdefs.h.  */
   4955 int i;
   4956 int
   4957 main ()
   4958 {
   4959 
   4960   ;
   4961   return 0;
   4962 }
   4963 _ACEOF
   4964 if ac_fn_c_try_link "$LINENO"; then :
   4965   eval $cacheid=yes
   4966 else
   4967   eval $cacheid=no
   4968 fi
   4969 rm -f core conftest.err conftest.$ac_objext \
   4970     conftest$ac_exeext conftest.$ac_ext
   4971 fi
   4972 
   4973 
   4974 		CFLAGS="$xorg_testset_save_CFLAGS"
   4975 
   4976 		eval supported=\$$cacheid
   4977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4978 $as_echo "$supported" >&6; }
   4979 		if test "$supported" = "yes" ; then
   4980 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4981 			found="yes"
   4982 		fi
   4983 	fi
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 xorg_testset_save_CFLAGS="$CFLAGS"
   5000 
   5001 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5002 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5003 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5004 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5005 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5006   $as_echo_n "(cached) " >&6
   5007 else
   5008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5009 /* end confdefs.h.  */
   5010 int i;
   5011 _ACEOF
   5012 if ac_fn_c_try_compile "$LINENO"; then :
   5013   xorg_cv_cc_flag_unknown_warning_option=yes
   5014 else
   5015   xorg_cv_cc_flag_unknown_warning_option=no
   5016 fi
   5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5018 fi
   5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5020 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5022 	CFLAGS="$xorg_testset_save_CFLAGS"
   5023 fi
   5024 
   5025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5028 	fi
   5029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5030 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5031 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5032 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5033   $as_echo_n "(cached) " >&6
   5034 else
   5035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5036 /* end confdefs.h.  */
   5037 int i;
   5038 _ACEOF
   5039 if ac_fn_c_try_compile "$LINENO"; then :
   5040   xorg_cv_cc_flag_unused_command_line_argument=yes
   5041 else
   5042   xorg_cv_cc_flag_unused_command_line_argument=no
   5043 fi
   5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5045 fi
   5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5047 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5048 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5049 	CFLAGS="$xorg_testset_save_CFLAGS"
   5050 fi
   5051 
   5052 found="no"
   5053 
   5054 	if test $found = "no" ; then
   5055 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5056 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5057 		fi
   5058 
   5059 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5060 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5061 		fi
   5062 
   5063 		CFLAGS="$CFLAGS -Wformat=2"
   5064 
   5065 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5066 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5067 		cacheid=xorg_cv_cc_flag__Wformat_2
   5068 		if eval \${$cacheid+:} false; then :
   5069   $as_echo_n "(cached) " >&6
   5070 else
   5071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5072 /* end confdefs.h.  */
   5073 int i;
   5074 int
   5075 main ()
   5076 {
   5077 
   5078   ;
   5079   return 0;
   5080 }
   5081 _ACEOF
   5082 if ac_fn_c_try_link "$LINENO"; then :
   5083   eval $cacheid=yes
   5084 else
   5085   eval $cacheid=no
   5086 fi
   5087 rm -f core conftest.err conftest.$ac_objext \
   5088     conftest$ac_exeext conftest.$ac_ext
   5089 fi
   5090 
   5091 
   5092 		CFLAGS="$xorg_testset_save_CFLAGS"
   5093 
   5094 		eval supported=\$$cacheid
   5095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5096 $as_echo "$supported" >&6; }
   5097 		if test "$supported" = "yes" ; then
   5098 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5099 			found="yes"
   5100 		fi
   5101 	fi
   5102 
   5103 	if test $found = "no" ; then
   5104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5106 		fi
   5107 
   5108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5110 		fi
   5111 
   5112 		CFLAGS="$CFLAGS -Wformat"
   5113 
   5114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5115 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5116 		cacheid=xorg_cv_cc_flag__Wformat
   5117 		if eval \${$cacheid+:} false; then :
   5118   $as_echo_n "(cached) " >&6
   5119 else
   5120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5121 /* end confdefs.h.  */
   5122 int i;
   5123 int
   5124 main ()
   5125 {
   5126 
   5127   ;
   5128   return 0;
   5129 }
   5130 _ACEOF
   5131 if ac_fn_c_try_link "$LINENO"; then :
   5132   eval $cacheid=yes
   5133 else
   5134   eval $cacheid=no
   5135 fi
   5136 rm -f core conftest.err conftest.$ac_objext \
   5137     conftest$ac_exeext conftest.$ac_ext
   5138 fi
   5139 
   5140 
   5141 		CFLAGS="$xorg_testset_save_CFLAGS"
   5142 
   5143 		eval supported=\$$cacheid
   5144 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5145 $as_echo "$supported" >&6; }
   5146 		if test "$supported" = "yes" ; then
   5147 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5148 			found="yes"
   5149 		fi
   5150 	fi
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 xorg_testset_save_CFLAGS="$CFLAGS"
   5169 
   5170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5173 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5174 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5175   $as_echo_n "(cached) " >&6
   5176 else
   5177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5178 /* end confdefs.h.  */
   5179 int i;
   5180 _ACEOF
   5181 if ac_fn_c_try_compile "$LINENO"; then :
   5182   xorg_cv_cc_flag_unknown_warning_option=yes
   5183 else
   5184   xorg_cv_cc_flag_unknown_warning_option=no
   5185 fi
   5186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5187 fi
   5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5189 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5191 	CFLAGS="$xorg_testset_save_CFLAGS"
   5192 fi
   5193 
   5194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5197 	fi
   5198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5200 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5201 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5202   $as_echo_n "(cached) " >&6
   5203 else
   5204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5205 /* end confdefs.h.  */
   5206 int i;
   5207 _ACEOF
   5208 if ac_fn_c_try_compile "$LINENO"; then :
   5209   xorg_cv_cc_flag_unused_command_line_argument=yes
   5210 else
   5211   xorg_cv_cc_flag_unused_command_line_argument=no
   5212 fi
   5213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5214 fi
   5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5216 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5218 	CFLAGS="$xorg_testset_save_CFLAGS"
   5219 fi
   5220 
   5221 found="no"
   5222 
   5223 	if test $found = "no" ; then
   5224 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5226 		fi
   5227 
   5228 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5230 		fi
   5231 
   5232 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5233 
   5234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5235 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5236 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5237 		if eval \${$cacheid+:} false; then :
   5238   $as_echo_n "(cached) " >&6
   5239 else
   5240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5241 /* end confdefs.h.  */
   5242 int i;
   5243 int
   5244 main ()
   5245 {
   5246 
   5247   ;
   5248   return 0;
   5249 }
   5250 _ACEOF
   5251 if ac_fn_c_try_link "$LINENO"; then :
   5252   eval $cacheid=yes
   5253 else
   5254   eval $cacheid=no
   5255 fi
   5256 rm -f core conftest.err conftest.$ac_objext \
   5257     conftest$ac_exeext conftest.$ac_ext
   5258 fi
   5259 
   5260 
   5261 		CFLAGS="$xorg_testset_save_CFLAGS"
   5262 
   5263 		eval supported=\$$cacheid
   5264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5265 $as_echo "$supported" >&6; }
   5266 		if test "$supported" = "yes" ; then
   5267 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5268 			found="yes"
   5269 		fi
   5270 	fi
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 xorg_testset_save_CFLAGS="$CFLAGS"
   5287 
   5288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5291 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5292 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5293   $as_echo_n "(cached) " >&6
   5294 else
   5295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5296 /* end confdefs.h.  */
   5297 int i;
   5298 _ACEOF
   5299 if ac_fn_c_try_compile "$LINENO"; then :
   5300   xorg_cv_cc_flag_unknown_warning_option=yes
   5301 else
   5302   xorg_cv_cc_flag_unknown_warning_option=no
   5303 fi
   5304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5305 fi
   5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5307 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5308 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5309 	CFLAGS="$xorg_testset_save_CFLAGS"
   5310 fi
   5311 
   5312 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5313 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5314 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5315 	fi
   5316 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5318 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5319 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5320   $as_echo_n "(cached) " >&6
   5321 else
   5322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5323 /* end confdefs.h.  */
   5324 int i;
   5325 _ACEOF
   5326 if ac_fn_c_try_compile "$LINENO"; then :
   5327   xorg_cv_cc_flag_unused_command_line_argument=yes
   5328 else
   5329   xorg_cv_cc_flag_unused_command_line_argument=no
   5330 fi
   5331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5332 fi
   5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5334 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5335 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5336 	CFLAGS="$xorg_testset_save_CFLAGS"
   5337 fi
   5338 
   5339 found="no"
   5340 
   5341 	if test $found = "no" ; then
   5342 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5344 		fi
   5345 
   5346 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5348 		fi
   5349 
   5350 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5351 
   5352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5353 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5354 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5355 		if eval \${$cacheid+:} false; then :
   5356   $as_echo_n "(cached) " >&6
   5357 else
   5358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5359 /* end confdefs.h.  */
   5360 int i;
   5361 int
   5362 main ()
   5363 {
   5364 
   5365   ;
   5366   return 0;
   5367 }
   5368 _ACEOF
   5369 if ac_fn_c_try_link "$LINENO"; then :
   5370   eval $cacheid=yes
   5371 else
   5372   eval $cacheid=no
   5373 fi
   5374 rm -f core conftest.err conftest.$ac_objext \
   5375     conftest$ac_exeext conftest.$ac_ext
   5376 fi
   5377 
   5378 
   5379 		CFLAGS="$xorg_testset_save_CFLAGS"
   5380 
   5381 		eval supported=\$$cacheid
   5382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5383 $as_echo "$supported" >&6; }
   5384 		if test "$supported" = "yes" ; then
   5385 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5386 			found="yes"
   5387 		fi
   5388 	fi
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 xorg_testset_save_CFLAGS="$CFLAGS"
   5405 
   5406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5409 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5410 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5411   $as_echo_n "(cached) " >&6
   5412 else
   5413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5414 /* end confdefs.h.  */
   5415 int i;
   5416 _ACEOF
   5417 if ac_fn_c_try_compile "$LINENO"; then :
   5418   xorg_cv_cc_flag_unknown_warning_option=yes
   5419 else
   5420   xorg_cv_cc_flag_unknown_warning_option=no
   5421 fi
   5422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5423 fi
   5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5425 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5427 	CFLAGS="$xorg_testset_save_CFLAGS"
   5428 fi
   5429 
   5430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5433 	fi
   5434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5436 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5437 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5438   $as_echo_n "(cached) " >&6
   5439 else
   5440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5441 /* end confdefs.h.  */
   5442 int i;
   5443 _ACEOF
   5444 if ac_fn_c_try_compile "$LINENO"; then :
   5445   xorg_cv_cc_flag_unused_command_line_argument=yes
   5446 else
   5447   xorg_cv_cc_flag_unused_command_line_argument=no
   5448 fi
   5449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5450 fi
   5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5452 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5453 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5454 	CFLAGS="$xorg_testset_save_CFLAGS"
   5455 fi
   5456 
   5457 found="no"
   5458 
   5459 	if test $found = "no" ; then
   5460 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5462 		fi
   5463 
   5464 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5466 		fi
   5467 
   5468 		CFLAGS="$CFLAGS -Wnested-externs"
   5469 
   5470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5471 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5472 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5473 		if eval \${$cacheid+:} false; then :
   5474   $as_echo_n "(cached) " >&6
   5475 else
   5476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5477 /* end confdefs.h.  */
   5478 int i;
   5479 int
   5480 main ()
   5481 {
   5482 
   5483   ;
   5484   return 0;
   5485 }
   5486 _ACEOF
   5487 if ac_fn_c_try_link "$LINENO"; then :
   5488   eval $cacheid=yes
   5489 else
   5490   eval $cacheid=no
   5491 fi
   5492 rm -f core conftest.err conftest.$ac_objext \
   5493     conftest$ac_exeext conftest.$ac_ext
   5494 fi
   5495 
   5496 
   5497 		CFLAGS="$xorg_testset_save_CFLAGS"
   5498 
   5499 		eval supported=\$$cacheid
   5500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5501 $as_echo "$supported" >&6; }
   5502 		if test "$supported" = "yes" ; then
   5503 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5504 			found="yes"
   5505 		fi
   5506 	fi
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 xorg_testset_save_CFLAGS="$CFLAGS"
   5523 
   5524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5527 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5528 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5529   $as_echo_n "(cached) " >&6
   5530 else
   5531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5532 /* end confdefs.h.  */
   5533 int i;
   5534 _ACEOF
   5535 if ac_fn_c_try_compile "$LINENO"; then :
   5536   xorg_cv_cc_flag_unknown_warning_option=yes
   5537 else
   5538   xorg_cv_cc_flag_unknown_warning_option=no
   5539 fi
   5540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5541 fi
   5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5543 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5545 	CFLAGS="$xorg_testset_save_CFLAGS"
   5546 fi
   5547 
   5548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5551 	fi
   5552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5554 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5555 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5556   $as_echo_n "(cached) " >&6
   5557 else
   5558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5559 /* end confdefs.h.  */
   5560 int i;
   5561 _ACEOF
   5562 if ac_fn_c_try_compile "$LINENO"; then :
   5563   xorg_cv_cc_flag_unused_command_line_argument=yes
   5564 else
   5565   xorg_cv_cc_flag_unused_command_line_argument=no
   5566 fi
   5567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5568 fi
   5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5570 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5572 	CFLAGS="$xorg_testset_save_CFLAGS"
   5573 fi
   5574 
   5575 found="no"
   5576 
   5577 	if test $found = "no" ; then
   5578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5580 		fi
   5581 
   5582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5584 		fi
   5585 
   5586 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5587 
   5588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5589 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5590 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5591 		if eval \${$cacheid+:} false; then :
   5592   $as_echo_n "(cached) " >&6
   5593 else
   5594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5595 /* end confdefs.h.  */
   5596 int i;
   5597 int
   5598 main ()
   5599 {
   5600 
   5601   ;
   5602   return 0;
   5603 }
   5604 _ACEOF
   5605 if ac_fn_c_try_link "$LINENO"; then :
   5606   eval $cacheid=yes
   5607 else
   5608   eval $cacheid=no
   5609 fi
   5610 rm -f core conftest.err conftest.$ac_objext \
   5611     conftest$ac_exeext conftest.$ac_ext
   5612 fi
   5613 
   5614 
   5615 		CFLAGS="$xorg_testset_save_CFLAGS"
   5616 
   5617 		eval supported=\$$cacheid
   5618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5619 $as_echo "$supported" >&6; }
   5620 		if test "$supported" = "yes" ; then
   5621 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5622 			found="yes"
   5623 		fi
   5624 	fi
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 xorg_testset_save_CFLAGS="$CFLAGS"
   5641 
   5642 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5645 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5646 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5647   $as_echo_n "(cached) " >&6
   5648 else
   5649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5650 /* end confdefs.h.  */
   5651 int i;
   5652 _ACEOF
   5653 if ac_fn_c_try_compile "$LINENO"; then :
   5654   xorg_cv_cc_flag_unknown_warning_option=yes
   5655 else
   5656   xorg_cv_cc_flag_unknown_warning_option=no
   5657 fi
   5658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5659 fi
   5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5661 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5663 	CFLAGS="$xorg_testset_save_CFLAGS"
   5664 fi
   5665 
   5666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5669 	fi
   5670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5672 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5673 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5674   $as_echo_n "(cached) " >&6
   5675 else
   5676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5677 /* end confdefs.h.  */
   5678 int i;
   5679 _ACEOF
   5680 if ac_fn_c_try_compile "$LINENO"; then :
   5681   xorg_cv_cc_flag_unused_command_line_argument=yes
   5682 else
   5683   xorg_cv_cc_flag_unused_command_line_argument=no
   5684 fi
   5685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5686 fi
   5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5688 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5689 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5690 	CFLAGS="$xorg_testset_save_CFLAGS"
   5691 fi
   5692 
   5693 found="no"
   5694 
   5695 	if test $found = "no" ; then
   5696 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5698 		fi
   5699 
   5700 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5702 		fi
   5703 
   5704 		CFLAGS="$CFLAGS -Wold-style-definition"
   5705 
   5706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5707 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5708 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5709 		if eval \${$cacheid+:} false; then :
   5710   $as_echo_n "(cached) " >&6
   5711 else
   5712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5713 /* end confdefs.h.  */
   5714 int i;
   5715 int
   5716 main ()
   5717 {
   5718 
   5719   ;
   5720   return 0;
   5721 }
   5722 _ACEOF
   5723 if ac_fn_c_try_link "$LINENO"; then :
   5724   eval $cacheid=yes
   5725 else
   5726   eval $cacheid=no
   5727 fi
   5728 rm -f core conftest.err conftest.$ac_objext \
   5729     conftest$ac_exeext conftest.$ac_ext
   5730 fi
   5731 
   5732 
   5733 		CFLAGS="$xorg_testset_save_CFLAGS"
   5734 
   5735 		eval supported=\$$cacheid
   5736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5737 $as_echo "$supported" >&6; }
   5738 		if test "$supported" = "yes" ; then
   5739 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5740 			found="yes"
   5741 		fi
   5742 	fi
   5743 
   5744 	if test $found = "no" ; then
   5745 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5746 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5747 		fi
   5748 
   5749 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5750 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5751 		fi
   5752 
   5753 		CFLAGS="$CFLAGS -fd"
   5754 
   5755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5756 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5757 		cacheid=xorg_cv_cc_flag__fd
   5758 		if eval \${$cacheid+:} false; then :
   5759   $as_echo_n "(cached) " >&6
   5760 else
   5761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5762 /* end confdefs.h.  */
   5763 int i;
   5764 int
   5765 main ()
   5766 {
   5767 
   5768   ;
   5769   return 0;
   5770 }
   5771 _ACEOF
   5772 if ac_fn_c_try_link "$LINENO"; then :
   5773   eval $cacheid=yes
   5774 else
   5775   eval $cacheid=no
   5776 fi
   5777 rm -f core conftest.err conftest.$ac_objext \
   5778     conftest$ac_exeext conftest.$ac_ext
   5779 fi
   5780 
   5781 
   5782 		CFLAGS="$xorg_testset_save_CFLAGS"
   5783 
   5784 		eval supported=\$$cacheid
   5785 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5786 $as_echo "$supported" >&6; }
   5787 		if test "$supported" = "yes" ; then
   5788 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5789 			found="yes"
   5790 		fi
   5791 	fi
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 xorg_testset_save_CFLAGS="$CFLAGS"
   5808 
   5809 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5810 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5811 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5812 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5813 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5814   $as_echo_n "(cached) " >&6
   5815 else
   5816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5817 /* end confdefs.h.  */
   5818 int i;
   5819 _ACEOF
   5820 if ac_fn_c_try_compile "$LINENO"; then :
   5821   xorg_cv_cc_flag_unknown_warning_option=yes
   5822 else
   5823   xorg_cv_cc_flag_unknown_warning_option=no
   5824 fi
   5825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5826 fi
   5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5828 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5829 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5830 	CFLAGS="$xorg_testset_save_CFLAGS"
   5831 fi
   5832 
   5833 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5834 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5835 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5836 	fi
   5837 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5838 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5839 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5840 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5841   $as_echo_n "(cached) " >&6
   5842 else
   5843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5844 /* end confdefs.h.  */
   5845 int i;
   5846 _ACEOF
   5847 if ac_fn_c_try_compile "$LINENO"; then :
   5848   xorg_cv_cc_flag_unused_command_line_argument=yes
   5849 else
   5850   xorg_cv_cc_flag_unused_command_line_argument=no
   5851 fi
   5852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5853 fi
   5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5855 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5856 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5857 	CFLAGS="$xorg_testset_save_CFLAGS"
   5858 fi
   5859 
   5860 found="no"
   5861 
   5862 	if test $found = "no" ; then
   5863 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5865 		fi
   5866 
   5867 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5869 		fi
   5870 
   5871 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5872 
   5873 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5874 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5875 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5876 		if eval \${$cacheid+:} false; then :
   5877   $as_echo_n "(cached) " >&6
   5878 else
   5879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5880 /* end confdefs.h.  */
   5881 int i;
   5882 int
   5883 main ()
   5884 {
   5885 
   5886   ;
   5887   return 0;
   5888 }
   5889 _ACEOF
   5890 if ac_fn_c_try_link "$LINENO"; then :
   5891   eval $cacheid=yes
   5892 else
   5893   eval $cacheid=no
   5894 fi
   5895 rm -f core conftest.err conftest.$ac_objext \
   5896     conftest$ac_exeext conftest.$ac_ext
   5897 fi
   5898 
   5899 
   5900 		CFLAGS="$xorg_testset_save_CFLAGS"
   5901 
   5902 		eval supported=\$$cacheid
   5903 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5904 $as_echo "$supported" >&6; }
   5905 		if test "$supported" = "yes" ; then
   5906 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5907 			found="yes"
   5908 		fi
   5909 	fi
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 # This chunk adds additional warnings that could catch undesired effects.
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 xorg_testset_save_CFLAGS="$CFLAGS"
   5930 
   5931 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5932 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5933 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5934 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5935 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5936   $as_echo_n "(cached) " >&6
   5937 else
   5938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5939 /* end confdefs.h.  */
   5940 int i;
   5941 _ACEOF
   5942 if ac_fn_c_try_compile "$LINENO"; then :
   5943   xorg_cv_cc_flag_unknown_warning_option=yes
   5944 else
   5945   xorg_cv_cc_flag_unknown_warning_option=no
   5946 fi
   5947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5948 fi
   5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5950 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5951 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5952 	CFLAGS="$xorg_testset_save_CFLAGS"
   5953 fi
   5954 
   5955 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5956 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5957 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5958 	fi
   5959 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5960 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5961 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5962 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5963   $as_echo_n "(cached) " >&6
   5964 else
   5965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5966 /* end confdefs.h.  */
   5967 int i;
   5968 _ACEOF
   5969 if ac_fn_c_try_compile "$LINENO"; then :
   5970   xorg_cv_cc_flag_unused_command_line_argument=yes
   5971 else
   5972   xorg_cv_cc_flag_unused_command_line_argument=no
   5973 fi
   5974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5975 fi
   5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5977 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5978 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5979 	CFLAGS="$xorg_testset_save_CFLAGS"
   5980 fi
   5981 
   5982 found="no"
   5983 
   5984 	if test $found = "no" ; then
   5985 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5986 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5987 		fi
   5988 
   5989 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5990 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5991 		fi
   5992 
   5993 		CFLAGS="$CFLAGS -Wunused"
   5994 
   5995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5996 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5997 		cacheid=xorg_cv_cc_flag__Wunused
   5998 		if eval \${$cacheid+:} false; then :
   5999   $as_echo_n "(cached) " >&6
   6000 else
   6001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6002 /* end confdefs.h.  */
   6003 int i;
   6004 int
   6005 main ()
   6006 {
   6007 
   6008   ;
   6009   return 0;
   6010 }
   6011 _ACEOF
   6012 if ac_fn_c_try_link "$LINENO"; then :
   6013   eval $cacheid=yes
   6014 else
   6015   eval $cacheid=no
   6016 fi
   6017 rm -f core conftest.err conftest.$ac_objext \
   6018     conftest$ac_exeext conftest.$ac_ext
   6019 fi
   6020 
   6021 
   6022 		CFLAGS="$xorg_testset_save_CFLAGS"
   6023 
   6024 		eval supported=\$$cacheid
   6025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6026 $as_echo "$supported" >&6; }
   6027 		if test "$supported" = "yes" ; then
   6028 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6029 			found="yes"
   6030 		fi
   6031 	fi
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 xorg_testset_save_CFLAGS="$CFLAGS"
   6048 
   6049 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6050 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6051 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6052 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6053 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6054   $as_echo_n "(cached) " >&6
   6055 else
   6056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6057 /* end confdefs.h.  */
   6058 int i;
   6059 _ACEOF
   6060 if ac_fn_c_try_compile "$LINENO"; then :
   6061   xorg_cv_cc_flag_unknown_warning_option=yes
   6062 else
   6063   xorg_cv_cc_flag_unknown_warning_option=no
   6064 fi
   6065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6066 fi
   6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6068 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6070 	CFLAGS="$xorg_testset_save_CFLAGS"
   6071 fi
   6072 
   6073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6076 	fi
   6077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6079 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6080 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6081   $as_echo_n "(cached) " >&6
   6082 else
   6083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6084 /* end confdefs.h.  */
   6085 int i;
   6086 _ACEOF
   6087 if ac_fn_c_try_compile "$LINENO"; then :
   6088   xorg_cv_cc_flag_unused_command_line_argument=yes
   6089 else
   6090   xorg_cv_cc_flag_unused_command_line_argument=no
   6091 fi
   6092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6093 fi
   6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6095 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6096 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6097 	CFLAGS="$xorg_testset_save_CFLAGS"
   6098 fi
   6099 
   6100 found="no"
   6101 
   6102 	if test $found = "no" ; then
   6103 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6104 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6105 		fi
   6106 
   6107 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6108 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6109 		fi
   6110 
   6111 		CFLAGS="$CFLAGS -Wuninitialized"
   6112 
   6113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6114 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6115 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6116 		if eval \${$cacheid+:} false; then :
   6117   $as_echo_n "(cached) " >&6
   6118 else
   6119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6120 /* end confdefs.h.  */
   6121 int i;
   6122 int
   6123 main ()
   6124 {
   6125 
   6126   ;
   6127   return 0;
   6128 }
   6129 _ACEOF
   6130 if ac_fn_c_try_link "$LINENO"; then :
   6131   eval $cacheid=yes
   6132 else
   6133   eval $cacheid=no
   6134 fi
   6135 rm -f core conftest.err conftest.$ac_objext \
   6136     conftest$ac_exeext conftest.$ac_ext
   6137 fi
   6138 
   6139 
   6140 		CFLAGS="$xorg_testset_save_CFLAGS"
   6141 
   6142 		eval supported=\$$cacheid
   6143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6144 $as_echo "$supported" >&6; }
   6145 		if test "$supported" = "yes" ; then
   6146 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6147 			found="yes"
   6148 		fi
   6149 	fi
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 xorg_testset_save_CFLAGS="$CFLAGS"
   6166 
   6167 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6168 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6169 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6170 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6171 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6172   $as_echo_n "(cached) " >&6
   6173 else
   6174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6175 /* end confdefs.h.  */
   6176 int i;
   6177 _ACEOF
   6178 if ac_fn_c_try_compile "$LINENO"; then :
   6179   xorg_cv_cc_flag_unknown_warning_option=yes
   6180 else
   6181   xorg_cv_cc_flag_unknown_warning_option=no
   6182 fi
   6183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6184 fi
   6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6186 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6187 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6188 	CFLAGS="$xorg_testset_save_CFLAGS"
   6189 fi
   6190 
   6191 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6192 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6193 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6194 	fi
   6195 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6197 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6198 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6199   $as_echo_n "(cached) " >&6
   6200 else
   6201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6202 /* end confdefs.h.  */
   6203 int i;
   6204 _ACEOF
   6205 if ac_fn_c_try_compile "$LINENO"; then :
   6206   xorg_cv_cc_flag_unused_command_line_argument=yes
   6207 else
   6208   xorg_cv_cc_flag_unused_command_line_argument=no
   6209 fi
   6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6211 fi
   6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6213 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6214 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6215 	CFLAGS="$xorg_testset_save_CFLAGS"
   6216 fi
   6217 
   6218 found="no"
   6219 
   6220 	if test $found = "no" ; then
   6221 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6222 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6223 		fi
   6224 
   6225 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6226 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6227 		fi
   6228 
   6229 		CFLAGS="$CFLAGS -Wshadow"
   6230 
   6231 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6232 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6233 		cacheid=xorg_cv_cc_flag__Wshadow
   6234 		if eval \${$cacheid+:} false; then :
   6235   $as_echo_n "(cached) " >&6
   6236 else
   6237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6238 /* end confdefs.h.  */
   6239 int i;
   6240 int
   6241 main ()
   6242 {
   6243 
   6244   ;
   6245   return 0;
   6246 }
   6247 _ACEOF
   6248 if ac_fn_c_try_link "$LINENO"; then :
   6249   eval $cacheid=yes
   6250 else
   6251   eval $cacheid=no
   6252 fi
   6253 rm -f core conftest.err conftest.$ac_objext \
   6254     conftest$ac_exeext conftest.$ac_ext
   6255 fi
   6256 
   6257 
   6258 		CFLAGS="$xorg_testset_save_CFLAGS"
   6259 
   6260 		eval supported=\$$cacheid
   6261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6262 $as_echo "$supported" >&6; }
   6263 		if test "$supported" = "yes" ; then
   6264 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6265 			found="yes"
   6266 		fi
   6267 	fi
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 xorg_testset_save_CFLAGS="$CFLAGS"
   6284 
   6285 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6286 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6287 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6288 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6289 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6290   $as_echo_n "(cached) " >&6
   6291 else
   6292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6293 /* end confdefs.h.  */
   6294 int i;
   6295 _ACEOF
   6296 if ac_fn_c_try_compile "$LINENO"; then :
   6297   xorg_cv_cc_flag_unknown_warning_option=yes
   6298 else
   6299   xorg_cv_cc_flag_unknown_warning_option=no
   6300 fi
   6301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6302 fi
   6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6304 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6305 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6306 	CFLAGS="$xorg_testset_save_CFLAGS"
   6307 fi
   6308 
   6309 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6310 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6311 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6312 	fi
   6313 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6314 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6315 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6316 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6317   $as_echo_n "(cached) " >&6
   6318 else
   6319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6320 /* end confdefs.h.  */
   6321 int i;
   6322 _ACEOF
   6323 if ac_fn_c_try_compile "$LINENO"; then :
   6324   xorg_cv_cc_flag_unused_command_line_argument=yes
   6325 else
   6326   xorg_cv_cc_flag_unused_command_line_argument=no
   6327 fi
   6328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6329 fi
   6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6331 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6332 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6333 	CFLAGS="$xorg_testset_save_CFLAGS"
   6334 fi
   6335 
   6336 found="no"
   6337 
   6338 	if test $found = "no" ; then
   6339 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6340 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6341 		fi
   6342 
   6343 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6344 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6345 		fi
   6346 
   6347 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6348 
   6349 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6350 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6351 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6352 		if eval \${$cacheid+:} false; then :
   6353   $as_echo_n "(cached) " >&6
   6354 else
   6355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6356 /* end confdefs.h.  */
   6357 int i;
   6358 int
   6359 main ()
   6360 {
   6361 
   6362   ;
   6363   return 0;
   6364 }
   6365 _ACEOF
   6366 if ac_fn_c_try_link "$LINENO"; then :
   6367   eval $cacheid=yes
   6368 else
   6369   eval $cacheid=no
   6370 fi
   6371 rm -f core conftest.err conftest.$ac_objext \
   6372     conftest$ac_exeext conftest.$ac_ext
   6373 fi
   6374 
   6375 
   6376 		CFLAGS="$xorg_testset_save_CFLAGS"
   6377 
   6378 		eval supported=\$$cacheid
   6379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6380 $as_echo "$supported" >&6; }
   6381 		if test "$supported" = "yes" ; then
   6382 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6383 			found="yes"
   6384 		fi
   6385 	fi
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 xorg_testset_save_CFLAGS="$CFLAGS"
   6402 
   6403 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6404 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6405 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6406 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6407 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6408   $as_echo_n "(cached) " >&6
   6409 else
   6410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6411 /* end confdefs.h.  */
   6412 int i;
   6413 _ACEOF
   6414 if ac_fn_c_try_compile "$LINENO"; then :
   6415   xorg_cv_cc_flag_unknown_warning_option=yes
   6416 else
   6417   xorg_cv_cc_flag_unknown_warning_option=no
   6418 fi
   6419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6420 fi
   6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6422 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6423 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6424 	CFLAGS="$xorg_testset_save_CFLAGS"
   6425 fi
   6426 
   6427 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6428 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6429 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6430 	fi
   6431 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6432 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6433 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6434 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6435   $as_echo_n "(cached) " >&6
   6436 else
   6437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6438 /* end confdefs.h.  */
   6439 int i;
   6440 _ACEOF
   6441 if ac_fn_c_try_compile "$LINENO"; then :
   6442   xorg_cv_cc_flag_unused_command_line_argument=yes
   6443 else
   6444   xorg_cv_cc_flag_unused_command_line_argument=no
   6445 fi
   6446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6447 fi
   6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6449 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6451 	CFLAGS="$xorg_testset_save_CFLAGS"
   6452 fi
   6453 
   6454 found="no"
   6455 
   6456 	if test $found = "no" ; then
   6457 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6459 		fi
   6460 
   6461 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6463 		fi
   6464 
   6465 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6466 
   6467 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6468 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6469 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6470 		if eval \${$cacheid+:} false; then :
   6471   $as_echo_n "(cached) " >&6
   6472 else
   6473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6474 /* end confdefs.h.  */
   6475 int i;
   6476 int
   6477 main ()
   6478 {
   6479 
   6480   ;
   6481   return 0;
   6482 }
   6483 _ACEOF
   6484 if ac_fn_c_try_link "$LINENO"; then :
   6485   eval $cacheid=yes
   6486 else
   6487   eval $cacheid=no
   6488 fi
   6489 rm -f core conftest.err conftest.$ac_objext \
   6490     conftest$ac_exeext conftest.$ac_ext
   6491 fi
   6492 
   6493 
   6494 		CFLAGS="$xorg_testset_save_CFLAGS"
   6495 
   6496 		eval supported=\$$cacheid
   6497 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6498 $as_echo "$supported" >&6; }
   6499 		if test "$supported" = "yes" ; then
   6500 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6501 			found="yes"
   6502 		fi
   6503 	fi
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 xorg_testset_save_CFLAGS="$CFLAGS"
   6520 
   6521 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6522 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6523 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6524 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6525 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6526   $as_echo_n "(cached) " >&6
   6527 else
   6528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6529 /* end confdefs.h.  */
   6530 int i;
   6531 _ACEOF
   6532 if ac_fn_c_try_compile "$LINENO"; then :
   6533   xorg_cv_cc_flag_unknown_warning_option=yes
   6534 else
   6535   xorg_cv_cc_flag_unknown_warning_option=no
   6536 fi
   6537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6538 fi
   6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6540 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6541 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6542 	CFLAGS="$xorg_testset_save_CFLAGS"
   6543 fi
   6544 
   6545 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6546 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6547 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6548 	fi
   6549 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6550 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6551 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6552 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6553   $as_echo_n "(cached) " >&6
   6554 else
   6555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6556 /* end confdefs.h.  */
   6557 int i;
   6558 _ACEOF
   6559 if ac_fn_c_try_compile "$LINENO"; then :
   6560   xorg_cv_cc_flag_unused_command_line_argument=yes
   6561 else
   6562   xorg_cv_cc_flag_unused_command_line_argument=no
   6563 fi
   6564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6565 fi
   6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6567 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6568 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6569 	CFLAGS="$xorg_testset_save_CFLAGS"
   6570 fi
   6571 
   6572 found="no"
   6573 
   6574 	if test $found = "no" ; then
   6575 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6576 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6577 		fi
   6578 
   6579 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6580 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6581 		fi
   6582 
   6583 		CFLAGS="$CFLAGS -Wredundant-decls"
   6584 
   6585 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6586 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6587 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6588 		if eval \${$cacheid+:} false; then :
   6589   $as_echo_n "(cached) " >&6
   6590 else
   6591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6592 /* end confdefs.h.  */
   6593 int i;
   6594 int
   6595 main ()
   6596 {
   6597 
   6598   ;
   6599   return 0;
   6600 }
   6601 _ACEOF
   6602 if ac_fn_c_try_link "$LINENO"; then :
   6603   eval $cacheid=yes
   6604 else
   6605   eval $cacheid=no
   6606 fi
   6607 rm -f core conftest.err conftest.$ac_objext \
   6608     conftest$ac_exeext conftest.$ac_ext
   6609 fi
   6610 
   6611 
   6612 		CFLAGS="$xorg_testset_save_CFLAGS"
   6613 
   6614 		eval supported=\$$cacheid
   6615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6616 $as_echo "$supported" >&6; }
   6617 		if test "$supported" = "yes" ; then
   6618 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6619 			found="yes"
   6620 		fi
   6621 	fi
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 xorg_testset_save_CFLAGS="$CFLAGS"
   6638 
   6639 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6640 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6641 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6642 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6643 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6644   $as_echo_n "(cached) " >&6
   6645 else
   6646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6647 /* end confdefs.h.  */
   6648 int i;
   6649 _ACEOF
   6650 if ac_fn_c_try_compile "$LINENO"; then :
   6651   xorg_cv_cc_flag_unknown_warning_option=yes
   6652 else
   6653   xorg_cv_cc_flag_unknown_warning_option=no
   6654 fi
   6655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6656 fi
   6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6658 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6659 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6660 	CFLAGS="$xorg_testset_save_CFLAGS"
   6661 fi
   6662 
   6663 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6664 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6665 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6666 	fi
   6667 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6669 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6670 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6671   $as_echo_n "(cached) " >&6
   6672 else
   6673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6674 /* end confdefs.h.  */
   6675 int i;
   6676 _ACEOF
   6677 if ac_fn_c_try_compile "$LINENO"; then :
   6678   xorg_cv_cc_flag_unused_command_line_argument=yes
   6679 else
   6680   xorg_cv_cc_flag_unused_command_line_argument=no
   6681 fi
   6682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6683 fi
   6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6685 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6686 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6687 	CFLAGS="$xorg_testset_save_CFLAGS"
   6688 fi
   6689 
   6690 found="no"
   6691 
   6692 	if test $found = "no" ; then
   6693 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6694 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6695 		fi
   6696 
   6697 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6698 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6699 		fi
   6700 
   6701 		CFLAGS="$CFLAGS -Wlogical-op"
   6702 
   6703 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6704 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6705 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6706 		if eval \${$cacheid+:} false; then :
   6707   $as_echo_n "(cached) " >&6
   6708 else
   6709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6710 /* end confdefs.h.  */
   6711 int i;
   6712 int
   6713 main ()
   6714 {
   6715 
   6716   ;
   6717   return 0;
   6718 }
   6719 _ACEOF
   6720 if ac_fn_c_try_link "$LINENO"; then :
   6721   eval $cacheid=yes
   6722 else
   6723   eval $cacheid=no
   6724 fi
   6725 rm -f core conftest.err conftest.$ac_objext \
   6726     conftest$ac_exeext conftest.$ac_ext
   6727 fi
   6728 
   6729 
   6730 		CFLAGS="$xorg_testset_save_CFLAGS"
   6731 
   6732 		eval supported=\$$cacheid
   6733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6734 $as_echo "$supported" >&6; }
   6735 		if test "$supported" = "yes" ; then
   6736 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6737 			found="yes"
   6738 		fi
   6739 	fi
   6740 
   6741 
   6742 
   6743 # These are currently disabled because they are noisy.  They will be enabled
   6744 # in the future once the codebase is sufficiently modernized to silence
   6745 # them.  For now, I don't want them to drown out the other warnings.
   6746 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6747 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6748 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6749 
   6750 # Turn some warnings into errors, so we don't accidently get successful builds
   6751 # when there are problems that should be fixed.
   6752 
   6753 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 xorg_testset_save_CFLAGS="$CFLAGS"
   6768 
   6769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6772 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6773 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6774   $as_echo_n "(cached) " >&6
   6775 else
   6776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6777 /* end confdefs.h.  */
   6778 int i;
   6779 _ACEOF
   6780 if ac_fn_c_try_compile "$LINENO"; then :
   6781   xorg_cv_cc_flag_unknown_warning_option=yes
   6782 else
   6783   xorg_cv_cc_flag_unknown_warning_option=no
   6784 fi
   6785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6786 fi
   6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6788 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6789 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6790 	CFLAGS="$xorg_testset_save_CFLAGS"
   6791 fi
   6792 
   6793 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6794 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6796 	fi
   6797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6799 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6800 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6801   $as_echo_n "(cached) " >&6
   6802 else
   6803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6804 /* end confdefs.h.  */
   6805 int i;
   6806 _ACEOF
   6807 if ac_fn_c_try_compile "$LINENO"; then :
   6808   xorg_cv_cc_flag_unused_command_line_argument=yes
   6809 else
   6810   xorg_cv_cc_flag_unused_command_line_argument=no
   6811 fi
   6812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6813 fi
   6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6815 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6816 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6817 	CFLAGS="$xorg_testset_save_CFLAGS"
   6818 fi
   6819 
   6820 found="no"
   6821 
   6822 	if test $found = "no" ; then
   6823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6825 		fi
   6826 
   6827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6829 		fi
   6830 
   6831 		CFLAGS="$CFLAGS -Werror=implicit"
   6832 
   6833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6834 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6835 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6836 		if eval \${$cacheid+:} false; then :
   6837   $as_echo_n "(cached) " >&6
   6838 else
   6839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6840 /* end confdefs.h.  */
   6841 int i;
   6842 int
   6843 main ()
   6844 {
   6845 
   6846   ;
   6847   return 0;
   6848 }
   6849 _ACEOF
   6850 if ac_fn_c_try_link "$LINENO"; then :
   6851   eval $cacheid=yes
   6852 else
   6853   eval $cacheid=no
   6854 fi
   6855 rm -f core conftest.err conftest.$ac_objext \
   6856     conftest$ac_exeext conftest.$ac_ext
   6857 fi
   6858 
   6859 
   6860 		CFLAGS="$xorg_testset_save_CFLAGS"
   6861 
   6862 		eval supported=\$$cacheid
   6863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6864 $as_echo "$supported" >&6; }
   6865 		if test "$supported" = "yes" ; then
   6866 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6867 			found="yes"
   6868 		fi
   6869 	fi
   6870 
   6871 	if test $found = "no" ; then
   6872 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6873 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6874 		fi
   6875 
   6876 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6877 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6878 		fi
   6879 
   6880 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6881 
   6882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6883 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6884 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6885 		if eval \${$cacheid+:} false; then :
   6886   $as_echo_n "(cached) " >&6
   6887 else
   6888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6889 /* end confdefs.h.  */
   6890 int i;
   6891 int
   6892 main ()
   6893 {
   6894 
   6895   ;
   6896   return 0;
   6897 }
   6898 _ACEOF
   6899 if ac_fn_c_try_link "$LINENO"; then :
   6900   eval $cacheid=yes
   6901 else
   6902   eval $cacheid=no
   6903 fi
   6904 rm -f core conftest.err conftest.$ac_objext \
   6905     conftest$ac_exeext conftest.$ac_ext
   6906 fi
   6907 
   6908 
   6909 		CFLAGS="$xorg_testset_save_CFLAGS"
   6910 
   6911 		eval supported=\$$cacheid
   6912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6913 $as_echo "$supported" >&6; }
   6914 		if test "$supported" = "yes" ; then
   6915 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6916 			found="yes"
   6917 		fi
   6918 	fi
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 xorg_testset_save_CFLAGS="$CFLAGS"
   6935 
   6936 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6937 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6938 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6939 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6940 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6941   $as_echo_n "(cached) " >&6
   6942 else
   6943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6944 /* end confdefs.h.  */
   6945 int i;
   6946 _ACEOF
   6947 if ac_fn_c_try_compile "$LINENO"; then :
   6948   xorg_cv_cc_flag_unknown_warning_option=yes
   6949 else
   6950   xorg_cv_cc_flag_unknown_warning_option=no
   6951 fi
   6952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6953 fi
   6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6955 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6956 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6957 	CFLAGS="$xorg_testset_save_CFLAGS"
   6958 fi
   6959 
   6960 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6961 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6962 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6963 	fi
   6964 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6966 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6967 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6968   $as_echo_n "(cached) " >&6
   6969 else
   6970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6971 /* end confdefs.h.  */
   6972 int i;
   6973 _ACEOF
   6974 if ac_fn_c_try_compile "$LINENO"; then :
   6975   xorg_cv_cc_flag_unused_command_line_argument=yes
   6976 else
   6977   xorg_cv_cc_flag_unused_command_line_argument=no
   6978 fi
   6979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6980 fi
   6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6982 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6983 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6984 	CFLAGS="$xorg_testset_save_CFLAGS"
   6985 fi
   6986 
   6987 found="no"
   6988 
   6989 	if test $found = "no" ; then
   6990 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6991 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6992 		fi
   6993 
   6994 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6995 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6996 		fi
   6997 
   6998 		CFLAGS="$CFLAGS -Werror=nonnull"
   6999 
   7000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7001 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7002 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7003 		if eval \${$cacheid+:} false; then :
   7004   $as_echo_n "(cached) " >&6
   7005 else
   7006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7007 /* end confdefs.h.  */
   7008 int i;
   7009 int
   7010 main ()
   7011 {
   7012 
   7013   ;
   7014   return 0;
   7015 }
   7016 _ACEOF
   7017 if ac_fn_c_try_link "$LINENO"; then :
   7018   eval $cacheid=yes
   7019 else
   7020   eval $cacheid=no
   7021 fi
   7022 rm -f core conftest.err conftest.$ac_objext \
   7023     conftest$ac_exeext conftest.$ac_ext
   7024 fi
   7025 
   7026 
   7027 		CFLAGS="$xorg_testset_save_CFLAGS"
   7028 
   7029 		eval supported=\$$cacheid
   7030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7031 $as_echo "$supported" >&6; }
   7032 		if test "$supported" = "yes" ; then
   7033 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7034 			found="yes"
   7035 		fi
   7036 	fi
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 xorg_testset_save_CFLAGS="$CFLAGS"
   7053 
   7054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7057 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7058 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7059   $as_echo_n "(cached) " >&6
   7060 else
   7061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7062 /* end confdefs.h.  */
   7063 int i;
   7064 _ACEOF
   7065 if ac_fn_c_try_compile "$LINENO"; then :
   7066   xorg_cv_cc_flag_unknown_warning_option=yes
   7067 else
   7068   xorg_cv_cc_flag_unknown_warning_option=no
   7069 fi
   7070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7071 fi
   7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7073 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7075 	CFLAGS="$xorg_testset_save_CFLAGS"
   7076 fi
   7077 
   7078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7081 	fi
   7082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7084 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7085 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7086   $as_echo_n "(cached) " >&6
   7087 else
   7088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7089 /* end confdefs.h.  */
   7090 int i;
   7091 _ACEOF
   7092 if ac_fn_c_try_compile "$LINENO"; then :
   7093   xorg_cv_cc_flag_unused_command_line_argument=yes
   7094 else
   7095   xorg_cv_cc_flag_unused_command_line_argument=no
   7096 fi
   7097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7098 fi
   7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7100 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7102 	CFLAGS="$xorg_testset_save_CFLAGS"
   7103 fi
   7104 
   7105 found="no"
   7106 
   7107 	if test $found = "no" ; then
   7108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7110 		fi
   7111 
   7112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7114 		fi
   7115 
   7116 		CFLAGS="$CFLAGS -Werror=init-self"
   7117 
   7118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7119 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7120 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7121 		if eval \${$cacheid+:} false; then :
   7122   $as_echo_n "(cached) " >&6
   7123 else
   7124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7125 /* end confdefs.h.  */
   7126 int i;
   7127 int
   7128 main ()
   7129 {
   7130 
   7131   ;
   7132   return 0;
   7133 }
   7134 _ACEOF
   7135 if ac_fn_c_try_link "$LINENO"; then :
   7136   eval $cacheid=yes
   7137 else
   7138   eval $cacheid=no
   7139 fi
   7140 rm -f core conftest.err conftest.$ac_objext \
   7141     conftest$ac_exeext conftest.$ac_ext
   7142 fi
   7143 
   7144 
   7145 		CFLAGS="$xorg_testset_save_CFLAGS"
   7146 
   7147 		eval supported=\$$cacheid
   7148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7149 $as_echo "$supported" >&6; }
   7150 		if test "$supported" = "yes" ; then
   7151 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7152 			found="yes"
   7153 		fi
   7154 	fi
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 xorg_testset_save_CFLAGS="$CFLAGS"
   7171 
   7172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7175 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7176 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7177   $as_echo_n "(cached) " >&6
   7178 else
   7179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7180 /* end confdefs.h.  */
   7181 int i;
   7182 _ACEOF
   7183 if ac_fn_c_try_compile "$LINENO"; then :
   7184   xorg_cv_cc_flag_unknown_warning_option=yes
   7185 else
   7186   xorg_cv_cc_flag_unknown_warning_option=no
   7187 fi
   7188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7189 fi
   7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7191 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7193 	CFLAGS="$xorg_testset_save_CFLAGS"
   7194 fi
   7195 
   7196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7199 	fi
   7200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7202 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7203 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7204   $as_echo_n "(cached) " >&6
   7205 else
   7206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7207 /* end confdefs.h.  */
   7208 int i;
   7209 _ACEOF
   7210 if ac_fn_c_try_compile "$LINENO"; then :
   7211   xorg_cv_cc_flag_unused_command_line_argument=yes
   7212 else
   7213   xorg_cv_cc_flag_unused_command_line_argument=no
   7214 fi
   7215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7216 fi
   7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7218 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7220 	CFLAGS="$xorg_testset_save_CFLAGS"
   7221 fi
   7222 
   7223 found="no"
   7224 
   7225 	if test $found = "no" ; then
   7226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7228 		fi
   7229 
   7230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7232 		fi
   7233 
   7234 		CFLAGS="$CFLAGS -Werror=main"
   7235 
   7236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7237 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7238 		cacheid=xorg_cv_cc_flag__Werror_main
   7239 		if eval \${$cacheid+:} false; then :
   7240   $as_echo_n "(cached) " >&6
   7241 else
   7242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7243 /* end confdefs.h.  */
   7244 int i;
   7245 int
   7246 main ()
   7247 {
   7248 
   7249   ;
   7250   return 0;
   7251 }
   7252 _ACEOF
   7253 if ac_fn_c_try_link "$LINENO"; then :
   7254   eval $cacheid=yes
   7255 else
   7256   eval $cacheid=no
   7257 fi
   7258 rm -f core conftest.err conftest.$ac_objext \
   7259     conftest$ac_exeext conftest.$ac_ext
   7260 fi
   7261 
   7262 
   7263 		CFLAGS="$xorg_testset_save_CFLAGS"
   7264 
   7265 		eval supported=\$$cacheid
   7266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7267 $as_echo "$supported" >&6; }
   7268 		if test "$supported" = "yes" ; then
   7269 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7270 			found="yes"
   7271 		fi
   7272 	fi
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 xorg_testset_save_CFLAGS="$CFLAGS"
   7289 
   7290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7293 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7294 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7295   $as_echo_n "(cached) " >&6
   7296 else
   7297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7298 /* end confdefs.h.  */
   7299 int i;
   7300 _ACEOF
   7301 if ac_fn_c_try_compile "$LINENO"; then :
   7302   xorg_cv_cc_flag_unknown_warning_option=yes
   7303 else
   7304   xorg_cv_cc_flag_unknown_warning_option=no
   7305 fi
   7306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7307 fi
   7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7309 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7310 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7311 	CFLAGS="$xorg_testset_save_CFLAGS"
   7312 fi
   7313 
   7314 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7315 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7316 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7317 	fi
   7318 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7320 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7321 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7322   $as_echo_n "(cached) " >&6
   7323 else
   7324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7325 /* end confdefs.h.  */
   7326 int i;
   7327 _ACEOF
   7328 if ac_fn_c_try_compile "$LINENO"; then :
   7329   xorg_cv_cc_flag_unused_command_line_argument=yes
   7330 else
   7331   xorg_cv_cc_flag_unused_command_line_argument=no
   7332 fi
   7333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7334 fi
   7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7336 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7338 	CFLAGS="$xorg_testset_save_CFLAGS"
   7339 fi
   7340 
   7341 found="no"
   7342 
   7343 	if test $found = "no" ; then
   7344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7346 		fi
   7347 
   7348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7350 		fi
   7351 
   7352 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7353 
   7354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7355 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7356 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7357 		if eval \${$cacheid+:} false; then :
   7358   $as_echo_n "(cached) " >&6
   7359 else
   7360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7361 /* end confdefs.h.  */
   7362 int i;
   7363 int
   7364 main ()
   7365 {
   7366 
   7367   ;
   7368   return 0;
   7369 }
   7370 _ACEOF
   7371 if ac_fn_c_try_link "$LINENO"; then :
   7372   eval $cacheid=yes
   7373 else
   7374   eval $cacheid=no
   7375 fi
   7376 rm -f core conftest.err conftest.$ac_objext \
   7377     conftest$ac_exeext conftest.$ac_ext
   7378 fi
   7379 
   7380 
   7381 		CFLAGS="$xorg_testset_save_CFLAGS"
   7382 
   7383 		eval supported=\$$cacheid
   7384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7385 $as_echo "$supported" >&6; }
   7386 		if test "$supported" = "yes" ; then
   7387 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7388 			found="yes"
   7389 		fi
   7390 	fi
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 xorg_testset_save_CFLAGS="$CFLAGS"
   7407 
   7408 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7411 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7412 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7413   $as_echo_n "(cached) " >&6
   7414 else
   7415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7416 /* end confdefs.h.  */
   7417 int i;
   7418 _ACEOF
   7419 if ac_fn_c_try_compile "$LINENO"; then :
   7420   xorg_cv_cc_flag_unknown_warning_option=yes
   7421 else
   7422   xorg_cv_cc_flag_unknown_warning_option=no
   7423 fi
   7424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7425 fi
   7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7427 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7428 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7429 	CFLAGS="$xorg_testset_save_CFLAGS"
   7430 fi
   7431 
   7432 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7433 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7434 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7435 	fi
   7436 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7438 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7439 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7440   $as_echo_n "(cached) " >&6
   7441 else
   7442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7443 /* end confdefs.h.  */
   7444 int i;
   7445 _ACEOF
   7446 if ac_fn_c_try_compile "$LINENO"; then :
   7447   xorg_cv_cc_flag_unused_command_line_argument=yes
   7448 else
   7449   xorg_cv_cc_flag_unused_command_line_argument=no
   7450 fi
   7451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7452 fi
   7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7454 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7455 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7456 	CFLAGS="$xorg_testset_save_CFLAGS"
   7457 fi
   7458 
   7459 found="no"
   7460 
   7461 	if test $found = "no" ; then
   7462 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7464 		fi
   7465 
   7466 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7468 		fi
   7469 
   7470 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7471 
   7472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7473 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7474 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7475 		if eval \${$cacheid+:} false; then :
   7476   $as_echo_n "(cached) " >&6
   7477 else
   7478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7479 /* end confdefs.h.  */
   7480 int i;
   7481 int
   7482 main ()
   7483 {
   7484 
   7485   ;
   7486   return 0;
   7487 }
   7488 _ACEOF
   7489 if ac_fn_c_try_link "$LINENO"; then :
   7490   eval $cacheid=yes
   7491 else
   7492   eval $cacheid=no
   7493 fi
   7494 rm -f core conftest.err conftest.$ac_objext \
   7495     conftest$ac_exeext conftest.$ac_ext
   7496 fi
   7497 
   7498 
   7499 		CFLAGS="$xorg_testset_save_CFLAGS"
   7500 
   7501 		eval supported=\$$cacheid
   7502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7503 $as_echo "$supported" >&6; }
   7504 		if test "$supported" = "yes" ; then
   7505 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7506 			found="yes"
   7507 		fi
   7508 	fi
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 xorg_testset_save_CFLAGS="$CFLAGS"
   7525 
   7526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7529 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7530 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7531   $as_echo_n "(cached) " >&6
   7532 else
   7533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7534 /* end confdefs.h.  */
   7535 int i;
   7536 _ACEOF
   7537 if ac_fn_c_try_compile "$LINENO"; then :
   7538   xorg_cv_cc_flag_unknown_warning_option=yes
   7539 else
   7540   xorg_cv_cc_flag_unknown_warning_option=no
   7541 fi
   7542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7543 fi
   7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7545 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7546 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7547 	CFLAGS="$xorg_testset_save_CFLAGS"
   7548 fi
   7549 
   7550 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7551 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7552 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7553 	fi
   7554 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7556 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7557 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7558   $as_echo_n "(cached) " >&6
   7559 else
   7560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7561 /* end confdefs.h.  */
   7562 int i;
   7563 _ACEOF
   7564 if ac_fn_c_try_compile "$LINENO"; then :
   7565   xorg_cv_cc_flag_unused_command_line_argument=yes
   7566 else
   7567   xorg_cv_cc_flag_unused_command_line_argument=no
   7568 fi
   7569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7570 fi
   7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7572 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7573 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7574 	CFLAGS="$xorg_testset_save_CFLAGS"
   7575 fi
   7576 
   7577 found="no"
   7578 
   7579 	if test $found = "no" ; then
   7580 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7581 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7582 		fi
   7583 
   7584 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7585 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7586 		fi
   7587 
   7588 		CFLAGS="$CFLAGS -Werror=return-type"
   7589 
   7590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7591 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7592 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7593 		if eval \${$cacheid+:} false; then :
   7594   $as_echo_n "(cached) " >&6
   7595 else
   7596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7597 /* end confdefs.h.  */
   7598 int i;
   7599 int
   7600 main ()
   7601 {
   7602 
   7603   ;
   7604   return 0;
   7605 }
   7606 _ACEOF
   7607 if ac_fn_c_try_link "$LINENO"; then :
   7608   eval $cacheid=yes
   7609 else
   7610   eval $cacheid=no
   7611 fi
   7612 rm -f core conftest.err conftest.$ac_objext \
   7613     conftest$ac_exeext conftest.$ac_ext
   7614 fi
   7615 
   7616 
   7617 		CFLAGS="$xorg_testset_save_CFLAGS"
   7618 
   7619 		eval supported=\$$cacheid
   7620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7621 $as_echo "$supported" >&6; }
   7622 		if test "$supported" = "yes" ; then
   7623 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7624 			found="yes"
   7625 		fi
   7626 	fi
   7627 
   7628 	if test $found = "no" ; then
   7629 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7630 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7631 		fi
   7632 
   7633 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7634 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7635 		fi
   7636 
   7637 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7638 
   7639 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7640 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7641 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7642 		if eval \${$cacheid+:} false; then :
   7643   $as_echo_n "(cached) " >&6
   7644 else
   7645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7646 /* end confdefs.h.  */
   7647 int i;
   7648 int
   7649 main ()
   7650 {
   7651 
   7652   ;
   7653   return 0;
   7654 }
   7655 _ACEOF
   7656 if ac_fn_c_try_link "$LINENO"; then :
   7657   eval $cacheid=yes
   7658 else
   7659   eval $cacheid=no
   7660 fi
   7661 rm -f core conftest.err conftest.$ac_objext \
   7662     conftest$ac_exeext conftest.$ac_ext
   7663 fi
   7664 
   7665 
   7666 		CFLAGS="$xorg_testset_save_CFLAGS"
   7667 
   7668 		eval supported=\$$cacheid
   7669 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7670 $as_echo "$supported" >&6; }
   7671 		if test "$supported" = "yes" ; then
   7672 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7673 			found="yes"
   7674 		fi
   7675 	fi
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 xorg_testset_save_CFLAGS="$CFLAGS"
   7692 
   7693 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7694 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7695 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7696 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7697 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7698   $as_echo_n "(cached) " >&6
   7699 else
   7700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7701 /* end confdefs.h.  */
   7702 int i;
   7703 _ACEOF
   7704 if ac_fn_c_try_compile "$LINENO"; then :
   7705   xorg_cv_cc_flag_unknown_warning_option=yes
   7706 else
   7707   xorg_cv_cc_flag_unknown_warning_option=no
   7708 fi
   7709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7710 fi
   7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7712 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7713 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7714 	CFLAGS="$xorg_testset_save_CFLAGS"
   7715 fi
   7716 
   7717 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7718 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7719 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7720 	fi
   7721 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7722 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7723 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7724 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7725   $as_echo_n "(cached) " >&6
   7726 else
   7727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7728 /* end confdefs.h.  */
   7729 int i;
   7730 _ACEOF
   7731 if ac_fn_c_try_compile "$LINENO"; then :
   7732   xorg_cv_cc_flag_unused_command_line_argument=yes
   7733 else
   7734   xorg_cv_cc_flag_unused_command_line_argument=no
   7735 fi
   7736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7737 fi
   7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7739 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7740 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7741 	CFLAGS="$xorg_testset_save_CFLAGS"
   7742 fi
   7743 
   7744 found="no"
   7745 
   7746 	if test $found = "no" ; then
   7747 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7748 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7749 		fi
   7750 
   7751 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7752 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7753 		fi
   7754 
   7755 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7756 
   7757 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7758 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7759 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7760 		if eval \${$cacheid+:} false; then :
   7761   $as_echo_n "(cached) " >&6
   7762 else
   7763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7764 /* end confdefs.h.  */
   7765 int i;
   7766 int
   7767 main ()
   7768 {
   7769 
   7770   ;
   7771   return 0;
   7772 }
   7773 _ACEOF
   7774 if ac_fn_c_try_link "$LINENO"; then :
   7775   eval $cacheid=yes
   7776 else
   7777   eval $cacheid=no
   7778 fi
   7779 rm -f core conftest.err conftest.$ac_objext \
   7780     conftest$ac_exeext conftest.$ac_ext
   7781 fi
   7782 
   7783 
   7784 		CFLAGS="$xorg_testset_save_CFLAGS"
   7785 
   7786 		eval supported=\$$cacheid
   7787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7788 $as_echo "$supported" >&6; }
   7789 		if test "$supported" = "yes" ; then
   7790 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7791 			found="yes"
   7792 		fi
   7793 	fi
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 xorg_testset_save_CFLAGS="$CFLAGS"
   7810 
   7811 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7812 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7813 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7814 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7815 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7816   $as_echo_n "(cached) " >&6
   7817 else
   7818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7819 /* end confdefs.h.  */
   7820 int i;
   7821 _ACEOF
   7822 if ac_fn_c_try_compile "$LINENO"; then :
   7823   xorg_cv_cc_flag_unknown_warning_option=yes
   7824 else
   7825   xorg_cv_cc_flag_unknown_warning_option=no
   7826 fi
   7827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7828 fi
   7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7830 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7831 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7832 	CFLAGS="$xorg_testset_save_CFLAGS"
   7833 fi
   7834 
   7835 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7836 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7837 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7838 	fi
   7839 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7840 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7841 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7842 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7843   $as_echo_n "(cached) " >&6
   7844 else
   7845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7846 /* end confdefs.h.  */
   7847 int i;
   7848 _ACEOF
   7849 if ac_fn_c_try_compile "$LINENO"; then :
   7850   xorg_cv_cc_flag_unused_command_line_argument=yes
   7851 else
   7852   xorg_cv_cc_flag_unused_command_line_argument=no
   7853 fi
   7854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7855 fi
   7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7857 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7858 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7859 	CFLAGS="$xorg_testset_save_CFLAGS"
   7860 fi
   7861 
   7862 found="no"
   7863 
   7864 	if test $found = "no" ; then
   7865 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7866 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7867 		fi
   7868 
   7869 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7870 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7871 		fi
   7872 
   7873 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7874 
   7875 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7876 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7877 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7878 		if eval \${$cacheid+:} false; then :
   7879   $as_echo_n "(cached) " >&6
   7880 else
   7881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7882 /* end confdefs.h.  */
   7883 int i;
   7884 int
   7885 main ()
   7886 {
   7887 
   7888   ;
   7889   return 0;
   7890 }
   7891 _ACEOF
   7892 if ac_fn_c_try_link "$LINENO"; then :
   7893   eval $cacheid=yes
   7894 else
   7895   eval $cacheid=no
   7896 fi
   7897 rm -f core conftest.err conftest.$ac_objext \
   7898     conftest$ac_exeext conftest.$ac_ext
   7899 fi
   7900 
   7901 
   7902 		CFLAGS="$xorg_testset_save_CFLAGS"
   7903 
   7904 		eval supported=\$$cacheid
   7905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7906 $as_echo "$supported" >&6; }
   7907 		if test "$supported" = "yes" ; then
   7908 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7909 			found="yes"
   7910 		fi
   7911 	fi
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 xorg_testset_save_CFLAGS="$CFLAGS"
   7928 
   7929 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7930 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7931 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7932 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7933 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7934   $as_echo_n "(cached) " >&6
   7935 else
   7936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7937 /* end confdefs.h.  */
   7938 int i;
   7939 _ACEOF
   7940 if ac_fn_c_try_compile "$LINENO"; then :
   7941   xorg_cv_cc_flag_unknown_warning_option=yes
   7942 else
   7943   xorg_cv_cc_flag_unknown_warning_option=no
   7944 fi
   7945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7946 fi
   7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7948 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7949 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7950 	CFLAGS="$xorg_testset_save_CFLAGS"
   7951 fi
   7952 
   7953 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7954 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7955 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7956 	fi
   7957 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7958 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7959 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7960 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7961   $as_echo_n "(cached) " >&6
   7962 else
   7963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7964 /* end confdefs.h.  */
   7965 int i;
   7966 _ACEOF
   7967 if ac_fn_c_try_compile "$LINENO"; then :
   7968   xorg_cv_cc_flag_unused_command_line_argument=yes
   7969 else
   7970   xorg_cv_cc_flag_unused_command_line_argument=no
   7971 fi
   7972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7973 fi
   7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7975 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7976 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7977 	CFLAGS="$xorg_testset_save_CFLAGS"
   7978 fi
   7979 
   7980 found="no"
   7981 
   7982 	if test $found = "no" ; then
   7983 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7984 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7985 		fi
   7986 
   7987 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7988 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7989 		fi
   7990 
   7991 		CFLAGS="$CFLAGS -Werror=write-strings"
   7992 
   7993 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7994 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7995 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   7996 		if eval \${$cacheid+:} false; then :
   7997   $as_echo_n "(cached) " >&6
   7998 else
   7999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8000 /* end confdefs.h.  */
   8001 int i;
   8002 int
   8003 main ()
   8004 {
   8005 
   8006   ;
   8007   return 0;
   8008 }
   8009 _ACEOF
   8010 if ac_fn_c_try_link "$LINENO"; then :
   8011   eval $cacheid=yes
   8012 else
   8013   eval $cacheid=no
   8014 fi
   8015 rm -f core conftest.err conftest.$ac_objext \
   8016     conftest$ac_exeext conftest.$ac_ext
   8017 fi
   8018 
   8019 
   8020 		CFLAGS="$xorg_testset_save_CFLAGS"
   8021 
   8022 		eval supported=\$$cacheid
   8023 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8024 $as_echo "$supported" >&6; }
   8025 		if test "$supported" = "yes" ; then
   8026 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8027 			found="yes"
   8028 		fi
   8029 	fi
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 xorg_testset_save_CFLAGS="$CFLAGS"
   8046 
   8047 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8048 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8049 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8050 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8051 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8052   $as_echo_n "(cached) " >&6
   8053 else
   8054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8055 /* end confdefs.h.  */
   8056 int i;
   8057 _ACEOF
   8058 if ac_fn_c_try_compile "$LINENO"; then :
   8059   xorg_cv_cc_flag_unknown_warning_option=yes
   8060 else
   8061   xorg_cv_cc_flag_unknown_warning_option=no
   8062 fi
   8063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8064 fi
   8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8066 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8067 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8068 	CFLAGS="$xorg_testset_save_CFLAGS"
   8069 fi
   8070 
   8071 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8072 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8073 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8074 	fi
   8075 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8076 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8077 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8078 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8079   $as_echo_n "(cached) " >&6
   8080 else
   8081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8082 /* end confdefs.h.  */
   8083 int i;
   8084 _ACEOF
   8085 if ac_fn_c_try_compile "$LINENO"; then :
   8086   xorg_cv_cc_flag_unused_command_line_argument=yes
   8087 else
   8088   xorg_cv_cc_flag_unused_command_line_argument=no
   8089 fi
   8090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8091 fi
   8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8093 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8094 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8095 	CFLAGS="$xorg_testset_save_CFLAGS"
   8096 fi
   8097 
   8098 found="no"
   8099 
   8100 	if test $found = "no" ; then
   8101 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8103 		fi
   8104 
   8105 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8107 		fi
   8108 
   8109 		CFLAGS="$CFLAGS -Werror=address"
   8110 
   8111 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8112 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8113 		cacheid=xorg_cv_cc_flag__Werror_address
   8114 		if eval \${$cacheid+:} false; then :
   8115   $as_echo_n "(cached) " >&6
   8116 else
   8117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8118 /* end confdefs.h.  */
   8119 int i;
   8120 int
   8121 main ()
   8122 {
   8123 
   8124   ;
   8125   return 0;
   8126 }
   8127 _ACEOF
   8128 if ac_fn_c_try_link "$LINENO"; then :
   8129   eval $cacheid=yes
   8130 else
   8131   eval $cacheid=no
   8132 fi
   8133 rm -f core conftest.err conftest.$ac_objext \
   8134     conftest$ac_exeext conftest.$ac_ext
   8135 fi
   8136 
   8137 
   8138 		CFLAGS="$xorg_testset_save_CFLAGS"
   8139 
   8140 		eval supported=\$$cacheid
   8141 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8142 $as_echo "$supported" >&6; }
   8143 		if test "$supported" = "yes" ; then
   8144 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8145 			found="yes"
   8146 		fi
   8147 	fi
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 xorg_testset_save_CFLAGS="$CFLAGS"
   8164 
   8165 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8166 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8167 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8168 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8169 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8170   $as_echo_n "(cached) " >&6
   8171 else
   8172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8173 /* end confdefs.h.  */
   8174 int i;
   8175 _ACEOF
   8176 if ac_fn_c_try_compile "$LINENO"; then :
   8177   xorg_cv_cc_flag_unknown_warning_option=yes
   8178 else
   8179   xorg_cv_cc_flag_unknown_warning_option=no
   8180 fi
   8181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8182 fi
   8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8184 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8185 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8186 	CFLAGS="$xorg_testset_save_CFLAGS"
   8187 fi
   8188 
   8189 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8190 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8191 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8192 	fi
   8193 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8194 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8195 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8196 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8197   $as_echo_n "(cached) " >&6
   8198 else
   8199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8200 /* end confdefs.h.  */
   8201 int i;
   8202 _ACEOF
   8203 if ac_fn_c_try_compile "$LINENO"; then :
   8204   xorg_cv_cc_flag_unused_command_line_argument=yes
   8205 else
   8206   xorg_cv_cc_flag_unused_command_line_argument=no
   8207 fi
   8208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8209 fi
   8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8211 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8212 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8213 	CFLAGS="$xorg_testset_save_CFLAGS"
   8214 fi
   8215 
   8216 found="no"
   8217 
   8218 	if test $found = "no" ; then
   8219 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8221 		fi
   8222 
   8223 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8225 		fi
   8226 
   8227 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8228 
   8229 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8230 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8231 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8232 		if eval \${$cacheid+:} false; then :
   8233   $as_echo_n "(cached) " >&6
   8234 else
   8235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8236 /* end confdefs.h.  */
   8237 int i;
   8238 int
   8239 main ()
   8240 {
   8241 
   8242   ;
   8243   return 0;
   8244 }
   8245 _ACEOF
   8246 if ac_fn_c_try_link "$LINENO"; then :
   8247   eval $cacheid=yes
   8248 else
   8249   eval $cacheid=no
   8250 fi
   8251 rm -f core conftest.err conftest.$ac_objext \
   8252     conftest$ac_exeext conftest.$ac_ext
   8253 fi
   8254 
   8255 
   8256 		CFLAGS="$xorg_testset_save_CFLAGS"
   8257 
   8258 		eval supported=\$$cacheid
   8259 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8260 $as_echo "$supported" >&6; }
   8261 		if test "$supported" = "yes" ; then
   8262 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8263 			found="yes"
   8264 		fi
   8265 	fi
   8266 
   8267 	if test $found = "no" ; then
   8268 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8269 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8270 		fi
   8271 
   8272 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8273 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8274 		fi
   8275 
   8276 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8277 
   8278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8279 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8280 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8281 		if eval \${$cacheid+:} false; then :
   8282   $as_echo_n "(cached) " >&6
   8283 else
   8284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8285 /* end confdefs.h.  */
   8286 int i;
   8287 int
   8288 main ()
   8289 {
   8290 
   8291   ;
   8292   return 0;
   8293 }
   8294 _ACEOF
   8295 if ac_fn_c_try_link "$LINENO"; then :
   8296   eval $cacheid=yes
   8297 else
   8298   eval $cacheid=no
   8299 fi
   8300 rm -f core conftest.err conftest.$ac_objext \
   8301     conftest$ac_exeext conftest.$ac_ext
   8302 fi
   8303 
   8304 
   8305 		CFLAGS="$xorg_testset_save_CFLAGS"
   8306 
   8307 		eval supported=\$$cacheid
   8308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8309 $as_echo "$supported" >&6; }
   8310 		if test "$supported" = "yes" ; then
   8311 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8312 			found="yes"
   8313 		fi
   8314 	fi
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 xorg_testset_save_CFLAGS="$CFLAGS"
   8331 
   8332 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8335 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8336 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8337   $as_echo_n "(cached) " >&6
   8338 else
   8339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8340 /* end confdefs.h.  */
   8341 int i;
   8342 _ACEOF
   8343 if ac_fn_c_try_compile "$LINENO"; then :
   8344   xorg_cv_cc_flag_unknown_warning_option=yes
   8345 else
   8346   xorg_cv_cc_flag_unknown_warning_option=no
   8347 fi
   8348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8349 fi
   8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8351 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8352 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8353 	CFLAGS="$xorg_testset_save_CFLAGS"
   8354 fi
   8355 
   8356 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8357 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8358 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8359 	fi
   8360 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8362 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8363 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8364   $as_echo_n "(cached) " >&6
   8365 else
   8366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8367 /* end confdefs.h.  */
   8368 int i;
   8369 _ACEOF
   8370 if ac_fn_c_try_compile "$LINENO"; then :
   8371   xorg_cv_cc_flag_unused_command_line_argument=yes
   8372 else
   8373   xorg_cv_cc_flag_unused_command_line_argument=no
   8374 fi
   8375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8376 fi
   8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8378 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8379 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8380 	CFLAGS="$xorg_testset_save_CFLAGS"
   8381 fi
   8382 
   8383 found="no"
   8384 
   8385 	if test $found = "no" ; then
   8386 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8388 		fi
   8389 
   8390 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8392 		fi
   8393 
   8394 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8395 
   8396 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8397 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8398 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8399 		if eval \${$cacheid+:} false; then :
   8400   $as_echo_n "(cached) " >&6
   8401 else
   8402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8403 /* end confdefs.h.  */
   8404 int i;
   8405 int
   8406 main ()
   8407 {
   8408 
   8409   ;
   8410   return 0;
   8411 }
   8412 _ACEOF
   8413 if ac_fn_c_try_link "$LINENO"; then :
   8414   eval $cacheid=yes
   8415 else
   8416   eval $cacheid=no
   8417 fi
   8418 rm -f core conftest.err conftest.$ac_objext \
   8419     conftest$ac_exeext conftest.$ac_ext
   8420 fi
   8421 
   8422 
   8423 		CFLAGS="$xorg_testset_save_CFLAGS"
   8424 
   8425 		eval supported=\$$cacheid
   8426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8427 $as_echo "$supported" >&6; }
   8428 		if test "$supported" = "yes" ; then
   8429 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8430 			found="yes"
   8431 		fi
   8432 	fi
   8433 
   8434  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8435 else
   8436 { $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
   8437 $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;}
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 xorg_testset_save_CFLAGS="$CFLAGS"
   8452 
   8453 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8454 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8456 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8457 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8458   $as_echo_n "(cached) " >&6
   8459 else
   8460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8461 /* end confdefs.h.  */
   8462 int i;
   8463 _ACEOF
   8464 if ac_fn_c_try_compile "$LINENO"; then :
   8465   xorg_cv_cc_flag_unknown_warning_option=yes
   8466 else
   8467   xorg_cv_cc_flag_unknown_warning_option=no
   8468 fi
   8469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8470 fi
   8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8472 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8473 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8474 	CFLAGS="$xorg_testset_save_CFLAGS"
   8475 fi
   8476 
   8477 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8478 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8479 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8480 	fi
   8481 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8483 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8484 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8485   $as_echo_n "(cached) " >&6
   8486 else
   8487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8488 /* end confdefs.h.  */
   8489 int i;
   8490 _ACEOF
   8491 if ac_fn_c_try_compile "$LINENO"; then :
   8492   xorg_cv_cc_flag_unused_command_line_argument=yes
   8493 else
   8494   xorg_cv_cc_flag_unused_command_line_argument=no
   8495 fi
   8496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8497 fi
   8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8499 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8500 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8501 	CFLAGS="$xorg_testset_save_CFLAGS"
   8502 fi
   8503 
   8504 found="no"
   8505 
   8506 	if test $found = "no" ; then
   8507 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8508 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8509 		fi
   8510 
   8511 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8512 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8513 		fi
   8514 
   8515 		CFLAGS="$CFLAGS -Wimplicit"
   8516 
   8517 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8518 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8519 		cacheid=xorg_cv_cc_flag__Wimplicit
   8520 		if eval \${$cacheid+:} false; then :
   8521   $as_echo_n "(cached) " >&6
   8522 else
   8523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8524 /* end confdefs.h.  */
   8525 int i;
   8526 int
   8527 main ()
   8528 {
   8529 
   8530   ;
   8531   return 0;
   8532 }
   8533 _ACEOF
   8534 if ac_fn_c_try_link "$LINENO"; then :
   8535   eval $cacheid=yes
   8536 else
   8537   eval $cacheid=no
   8538 fi
   8539 rm -f core conftest.err conftest.$ac_objext \
   8540     conftest$ac_exeext conftest.$ac_ext
   8541 fi
   8542 
   8543 
   8544 		CFLAGS="$xorg_testset_save_CFLAGS"
   8545 
   8546 		eval supported=\$$cacheid
   8547 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8548 $as_echo "$supported" >&6; }
   8549 		if test "$supported" = "yes" ; then
   8550 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8551 			found="yes"
   8552 		fi
   8553 	fi
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 xorg_testset_save_CFLAGS="$CFLAGS"
   8570 
   8571 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8572 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8573 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8574 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8575 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8576   $as_echo_n "(cached) " >&6
   8577 else
   8578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8579 /* end confdefs.h.  */
   8580 int i;
   8581 _ACEOF
   8582 if ac_fn_c_try_compile "$LINENO"; then :
   8583   xorg_cv_cc_flag_unknown_warning_option=yes
   8584 else
   8585   xorg_cv_cc_flag_unknown_warning_option=no
   8586 fi
   8587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8588 fi
   8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8590 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8591 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8592 	CFLAGS="$xorg_testset_save_CFLAGS"
   8593 fi
   8594 
   8595 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8596 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8597 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8598 	fi
   8599 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8601 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8602 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8603   $as_echo_n "(cached) " >&6
   8604 else
   8605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8606 /* end confdefs.h.  */
   8607 int i;
   8608 _ACEOF
   8609 if ac_fn_c_try_compile "$LINENO"; then :
   8610   xorg_cv_cc_flag_unused_command_line_argument=yes
   8611 else
   8612   xorg_cv_cc_flag_unused_command_line_argument=no
   8613 fi
   8614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8615 fi
   8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8617 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8618 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8619 	CFLAGS="$xorg_testset_save_CFLAGS"
   8620 fi
   8621 
   8622 found="no"
   8623 
   8624 	if test $found = "no" ; then
   8625 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8627 		fi
   8628 
   8629 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8631 		fi
   8632 
   8633 		CFLAGS="$CFLAGS -Wnonnull"
   8634 
   8635 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8636 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8637 		cacheid=xorg_cv_cc_flag__Wnonnull
   8638 		if eval \${$cacheid+:} false; then :
   8639   $as_echo_n "(cached) " >&6
   8640 else
   8641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8642 /* end confdefs.h.  */
   8643 int i;
   8644 int
   8645 main ()
   8646 {
   8647 
   8648   ;
   8649   return 0;
   8650 }
   8651 _ACEOF
   8652 if ac_fn_c_try_link "$LINENO"; then :
   8653   eval $cacheid=yes
   8654 else
   8655   eval $cacheid=no
   8656 fi
   8657 rm -f core conftest.err conftest.$ac_objext \
   8658     conftest$ac_exeext conftest.$ac_ext
   8659 fi
   8660 
   8661 
   8662 		CFLAGS="$xorg_testset_save_CFLAGS"
   8663 
   8664 		eval supported=\$$cacheid
   8665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8666 $as_echo "$supported" >&6; }
   8667 		if test "$supported" = "yes" ; then
   8668 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8669 			found="yes"
   8670 		fi
   8671 	fi
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 xorg_testset_save_CFLAGS="$CFLAGS"
   8688 
   8689 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8690 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8691 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8692 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8693 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8694   $as_echo_n "(cached) " >&6
   8695 else
   8696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8697 /* end confdefs.h.  */
   8698 int i;
   8699 _ACEOF
   8700 if ac_fn_c_try_compile "$LINENO"; then :
   8701   xorg_cv_cc_flag_unknown_warning_option=yes
   8702 else
   8703   xorg_cv_cc_flag_unknown_warning_option=no
   8704 fi
   8705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8706 fi
   8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8708 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8709 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8710 	CFLAGS="$xorg_testset_save_CFLAGS"
   8711 fi
   8712 
   8713 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8714 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8715 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8716 	fi
   8717 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8718 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8719 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8720 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8721   $as_echo_n "(cached) " >&6
   8722 else
   8723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8724 /* end confdefs.h.  */
   8725 int i;
   8726 _ACEOF
   8727 if ac_fn_c_try_compile "$LINENO"; then :
   8728   xorg_cv_cc_flag_unused_command_line_argument=yes
   8729 else
   8730   xorg_cv_cc_flag_unused_command_line_argument=no
   8731 fi
   8732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8733 fi
   8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8735 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8736 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8737 	CFLAGS="$xorg_testset_save_CFLAGS"
   8738 fi
   8739 
   8740 found="no"
   8741 
   8742 	if test $found = "no" ; then
   8743 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8744 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8745 		fi
   8746 
   8747 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8748 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8749 		fi
   8750 
   8751 		CFLAGS="$CFLAGS -Winit-self"
   8752 
   8753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8754 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8755 		cacheid=xorg_cv_cc_flag__Winit_self
   8756 		if eval \${$cacheid+:} false; then :
   8757   $as_echo_n "(cached) " >&6
   8758 else
   8759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8760 /* end confdefs.h.  */
   8761 int i;
   8762 int
   8763 main ()
   8764 {
   8765 
   8766   ;
   8767   return 0;
   8768 }
   8769 _ACEOF
   8770 if ac_fn_c_try_link "$LINENO"; then :
   8771   eval $cacheid=yes
   8772 else
   8773   eval $cacheid=no
   8774 fi
   8775 rm -f core conftest.err conftest.$ac_objext \
   8776     conftest$ac_exeext conftest.$ac_ext
   8777 fi
   8778 
   8779 
   8780 		CFLAGS="$xorg_testset_save_CFLAGS"
   8781 
   8782 		eval supported=\$$cacheid
   8783 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8784 $as_echo "$supported" >&6; }
   8785 		if test "$supported" = "yes" ; then
   8786 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8787 			found="yes"
   8788 		fi
   8789 	fi
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 xorg_testset_save_CFLAGS="$CFLAGS"
   8806 
   8807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8808 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8809 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8810 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8811 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8812   $as_echo_n "(cached) " >&6
   8813 else
   8814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8815 /* end confdefs.h.  */
   8816 int i;
   8817 _ACEOF
   8818 if ac_fn_c_try_compile "$LINENO"; then :
   8819   xorg_cv_cc_flag_unknown_warning_option=yes
   8820 else
   8821   xorg_cv_cc_flag_unknown_warning_option=no
   8822 fi
   8823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8824 fi
   8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8826 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8827 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8828 	CFLAGS="$xorg_testset_save_CFLAGS"
   8829 fi
   8830 
   8831 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8832 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8833 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8834 	fi
   8835 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8837 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8838 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8839   $as_echo_n "(cached) " >&6
   8840 else
   8841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8842 /* end confdefs.h.  */
   8843 int i;
   8844 _ACEOF
   8845 if ac_fn_c_try_compile "$LINENO"; then :
   8846   xorg_cv_cc_flag_unused_command_line_argument=yes
   8847 else
   8848   xorg_cv_cc_flag_unused_command_line_argument=no
   8849 fi
   8850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8851 fi
   8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8853 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8854 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8855 	CFLAGS="$xorg_testset_save_CFLAGS"
   8856 fi
   8857 
   8858 found="no"
   8859 
   8860 	if test $found = "no" ; then
   8861 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8862 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8863 		fi
   8864 
   8865 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8866 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8867 		fi
   8868 
   8869 		CFLAGS="$CFLAGS -Wmain"
   8870 
   8871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8872 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8873 		cacheid=xorg_cv_cc_flag__Wmain
   8874 		if eval \${$cacheid+:} false; then :
   8875   $as_echo_n "(cached) " >&6
   8876 else
   8877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8878 /* end confdefs.h.  */
   8879 int i;
   8880 int
   8881 main ()
   8882 {
   8883 
   8884   ;
   8885   return 0;
   8886 }
   8887 _ACEOF
   8888 if ac_fn_c_try_link "$LINENO"; then :
   8889   eval $cacheid=yes
   8890 else
   8891   eval $cacheid=no
   8892 fi
   8893 rm -f core conftest.err conftest.$ac_objext \
   8894     conftest$ac_exeext conftest.$ac_ext
   8895 fi
   8896 
   8897 
   8898 		CFLAGS="$xorg_testset_save_CFLAGS"
   8899 
   8900 		eval supported=\$$cacheid
   8901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8902 $as_echo "$supported" >&6; }
   8903 		if test "$supported" = "yes" ; then
   8904 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8905 			found="yes"
   8906 		fi
   8907 	fi
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 xorg_testset_save_CFLAGS="$CFLAGS"
   8924 
   8925 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8926 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8927 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8928 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8929 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8930   $as_echo_n "(cached) " >&6
   8931 else
   8932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8933 /* end confdefs.h.  */
   8934 int i;
   8935 _ACEOF
   8936 if ac_fn_c_try_compile "$LINENO"; then :
   8937   xorg_cv_cc_flag_unknown_warning_option=yes
   8938 else
   8939   xorg_cv_cc_flag_unknown_warning_option=no
   8940 fi
   8941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8942 fi
   8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8944 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8945 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8946 	CFLAGS="$xorg_testset_save_CFLAGS"
   8947 fi
   8948 
   8949 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8950 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8951 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8952 	fi
   8953 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8955 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8956 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8957   $as_echo_n "(cached) " >&6
   8958 else
   8959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8960 /* end confdefs.h.  */
   8961 int i;
   8962 _ACEOF
   8963 if ac_fn_c_try_compile "$LINENO"; then :
   8964   xorg_cv_cc_flag_unused_command_line_argument=yes
   8965 else
   8966   xorg_cv_cc_flag_unused_command_line_argument=no
   8967 fi
   8968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8969 fi
   8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8971 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8972 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8973 	CFLAGS="$xorg_testset_save_CFLAGS"
   8974 fi
   8975 
   8976 found="no"
   8977 
   8978 	if test $found = "no" ; then
   8979 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8980 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8981 		fi
   8982 
   8983 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8984 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8985 		fi
   8986 
   8987 		CFLAGS="$CFLAGS -Wmissing-braces"
   8988 
   8989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8990 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8991 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8992 		if eval \${$cacheid+:} false; then :
   8993   $as_echo_n "(cached) " >&6
   8994 else
   8995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8996 /* end confdefs.h.  */
   8997 int i;
   8998 int
   8999 main ()
   9000 {
   9001 
   9002   ;
   9003   return 0;
   9004 }
   9005 _ACEOF
   9006 if ac_fn_c_try_link "$LINENO"; then :
   9007   eval $cacheid=yes
   9008 else
   9009   eval $cacheid=no
   9010 fi
   9011 rm -f core conftest.err conftest.$ac_objext \
   9012     conftest$ac_exeext conftest.$ac_ext
   9013 fi
   9014 
   9015 
   9016 		CFLAGS="$xorg_testset_save_CFLAGS"
   9017 
   9018 		eval supported=\$$cacheid
   9019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9020 $as_echo "$supported" >&6; }
   9021 		if test "$supported" = "yes" ; then
   9022 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9023 			found="yes"
   9024 		fi
   9025 	fi
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 xorg_testset_save_CFLAGS="$CFLAGS"
   9042 
   9043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9046 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9047 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9048   $as_echo_n "(cached) " >&6
   9049 else
   9050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9051 /* end confdefs.h.  */
   9052 int i;
   9053 _ACEOF
   9054 if ac_fn_c_try_compile "$LINENO"; then :
   9055   xorg_cv_cc_flag_unknown_warning_option=yes
   9056 else
   9057   xorg_cv_cc_flag_unknown_warning_option=no
   9058 fi
   9059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9060 fi
   9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9062 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9063 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9064 	CFLAGS="$xorg_testset_save_CFLAGS"
   9065 fi
   9066 
   9067 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9068 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9070 	fi
   9071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9073 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9074 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9075   $as_echo_n "(cached) " >&6
   9076 else
   9077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9078 /* end confdefs.h.  */
   9079 int i;
   9080 _ACEOF
   9081 if ac_fn_c_try_compile "$LINENO"; then :
   9082   xorg_cv_cc_flag_unused_command_line_argument=yes
   9083 else
   9084   xorg_cv_cc_flag_unused_command_line_argument=no
   9085 fi
   9086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9087 fi
   9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9089 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9090 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9091 	CFLAGS="$xorg_testset_save_CFLAGS"
   9092 fi
   9093 
   9094 found="no"
   9095 
   9096 	if test $found = "no" ; then
   9097 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9099 		fi
   9100 
   9101 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9103 		fi
   9104 
   9105 		CFLAGS="$CFLAGS -Wsequence-point"
   9106 
   9107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9108 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9109 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9110 		if eval \${$cacheid+:} false; then :
   9111   $as_echo_n "(cached) " >&6
   9112 else
   9113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9114 /* end confdefs.h.  */
   9115 int i;
   9116 int
   9117 main ()
   9118 {
   9119 
   9120   ;
   9121   return 0;
   9122 }
   9123 _ACEOF
   9124 if ac_fn_c_try_link "$LINENO"; then :
   9125   eval $cacheid=yes
   9126 else
   9127   eval $cacheid=no
   9128 fi
   9129 rm -f core conftest.err conftest.$ac_objext \
   9130     conftest$ac_exeext conftest.$ac_ext
   9131 fi
   9132 
   9133 
   9134 		CFLAGS="$xorg_testset_save_CFLAGS"
   9135 
   9136 		eval supported=\$$cacheid
   9137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9138 $as_echo "$supported" >&6; }
   9139 		if test "$supported" = "yes" ; then
   9140 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9141 			found="yes"
   9142 		fi
   9143 	fi
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 xorg_testset_save_CFLAGS="$CFLAGS"
   9160 
   9161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9164 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9165 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9166   $as_echo_n "(cached) " >&6
   9167 else
   9168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9169 /* end confdefs.h.  */
   9170 int i;
   9171 _ACEOF
   9172 if ac_fn_c_try_compile "$LINENO"; then :
   9173   xorg_cv_cc_flag_unknown_warning_option=yes
   9174 else
   9175   xorg_cv_cc_flag_unknown_warning_option=no
   9176 fi
   9177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9178 fi
   9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9180 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9182 	CFLAGS="$xorg_testset_save_CFLAGS"
   9183 fi
   9184 
   9185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9188 	fi
   9189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9191 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9192 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9193   $as_echo_n "(cached) " >&6
   9194 else
   9195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9196 /* end confdefs.h.  */
   9197 int i;
   9198 _ACEOF
   9199 if ac_fn_c_try_compile "$LINENO"; then :
   9200   xorg_cv_cc_flag_unused_command_line_argument=yes
   9201 else
   9202   xorg_cv_cc_flag_unused_command_line_argument=no
   9203 fi
   9204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9205 fi
   9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9207 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9208 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9209 	CFLAGS="$xorg_testset_save_CFLAGS"
   9210 fi
   9211 
   9212 found="no"
   9213 
   9214 	if test $found = "no" ; then
   9215 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9216 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9217 		fi
   9218 
   9219 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9220 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9221 		fi
   9222 
   9223 		CFLAGS="$CFLAGS -Wreturn-type"
   9224 
   9225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9226 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9227 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9228 		if eval \${$cacheid+:} false; then :
   9229   $as_echo_n "(cached) " >&6
   9230 else
   9231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9232 /* end confdefs.h.  */
   9233 int i;
   9234 int
   9235 main ()
   9236 {
   9237 
   9238   ;
   9239   return 0;
   9240 }
   9241 _ACEOF
   9242 if ac_fn_c_try_link "$LINENO"; then :
   9243   eval $cacheid=yes
   9244 else
   9245   eval $cacheid=no
   9246 fi
   9247 rm -f core conftest.err conftest.$ac_objext \
   9248     conftest$ac_exeext conftest.$ac_ext
   9249 fi
   9250 
   9251 
   9252 		CFLAGS="$xorg_testset_save_CFLAGS"
   9253 
   9254 		eval supported=\$$cacheid
   9255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9256 $as_echo "$supported" >&6; }
   9257 		if test "$supported" = "yes" ; then
   9258 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9259 			found="yes"
   9260 		fi
   9261 	fi
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 xorg_testset_save_CFLAGS="$CFLAGS"
   9278 
   9279 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9282 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9283 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9284   $as_echo_n "(cached) " >&6
   9285 else
   9286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9287 /* end confdefs.h.  */
   9288 int i;
   9289 _ACEOF
   9290 if ac_fn_c_try_compile "$LINENO"; then :
   9291   xorg_cv_cc_flag_unknown_warning_option=yes
   9292 else
   9293   xorg_cv_cc_flag_unknown_warning_option=no
   9294 fi
   9295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9296 fi
   9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9298 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9299 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9300 	CFLAGS="$xorg_testset_save_CFLAGS"
   9301 fi
   9302 
   9303 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9304 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9305 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9306 	fi
   9307 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9309 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9310 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9311   $as_echo_n "(cached) " >&6
   9312 else
   9313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9314 /* end confdefs.h.  */
   9315 int i;
   9316 _ACEOF
   9317 if ac_fn_c_try_compile "$LINENO"; then :
   9318   xorg_cv_cc_flag_unused_command_line_argument=yes
   9319 else
   9320   xorg_cv_cc_flag_unused_command_line_argument=no
   9321 fi
   9322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9323 fi
   9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9325 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9327 	CFLAGS="$xorg_testset_save_CFLAGS"
   9328 fi
   9329 
   9330 found="no"
   9331 
   9332 	if test $found = "no" ; then
   9333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9335 		fi
   9336 
   9337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9339 		fi
   9340 
   9341 		CFLAGS="$CFLAGS -Wtrigraphs"
   9342 
   9343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9344 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9345 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9346 		if eval \${$cacheid+:} false; then :
   9347   $as_echo_n "(cached) " >&6
   9348 else
   9349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9350 /* end confdefs.h.  */
   9351 int i;
   9352 int
   9353 main ()
   9354 {
   9355 
   9356   ;
   9357   return 0;
   9358 }
   9359 _ACEOF
   9360 if ac_fn_c_try_link "$LINENO"; then :
   9361   eval $cacheid=yes
   9362 else
   9363   eval $cacheid=no
   9364 fi
   9365 rm -f core conftest.err conftest.$ac_objext \
   9366     conftest$ac_exeext conftest.$ac_ext
   9367 fi
   9368 
   9369 
   9370 		CFLAGS="$xorg_testset_save_CFLAGS"
   9371 
   9372 		eval supported=\$$cacheid
   9373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9374 $as_echo "$supported" >&6; }
   9375 		if test "$supported" = "yes" ; then
   9376 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9377 			found="yes"
   9378 		fi
   9379 	fi
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 xorg_testset_save_CFLAGS="$CFLAGS"
   9396 
   9397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9400 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9401 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9402   $as_echo_n "(cached) " >&6
   9403 else
   9404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9405 /* end confdefs.h.  */
   9406 int i;
   9407 _ACEOF
   9408 if ac_fn_c_try_compile "$LINENO"; then :
   9409   xorg_cv_cc_flag_unknown_warning_option=yes
   9410 else
   9411   xorg_cv_cc_flag_unknown_warning_option=no
   9412 fi
   9413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9414 fi
   9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9416 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9418 	CFLAGS="$xorg_testset_save_CFLAGS"
   9419 fi
   9420 
   9421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9424 	fi
   9425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9427 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9428 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9429   $as_echo_n "(cached) " >&6
   9430 else
   9431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9432 /* end confdefs.h.  */
   9433 int i;
   9434 _ACEOF
   9435 if ac_fn_c_try_compile "$LINENO"; then :
   9436   xorg_cv_cc_flag_unused_command_line_argument=yes
   9437 else
   9438   xorg_cv_cc_flag_unused_command_line_argument=no
   9439 fi
   9440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9441 fi
   9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9443 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9444 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9445 	CFLAGS="$xorg_testset_save_CFLAGS"
   9446 fi
   9447 
   9448 found="no"
   9449 
   9450 	if test $found = "no" ; then
   9451 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9453 		fi
   9454 
   9455 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9457 		fi
   9458 
   9459 		CFLAGS="$CFLAGS -Warray-bounds"
   9460 
   9461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9462 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9463 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9464 		if eval \${$cacheid+:} false; then :
   9465   $as_echo_n "(cached) " >&6
   9466 else
   9467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9468 /* end confdefs.h.  */
   9469 int i;
   9470 int
   9471 main ()
   9472 {
   9473 
   9474   ;
   9475   return 0;
   9476 }
   9477 _ACEOF
   9478 if ac_fn_c_try_link "$LINENO"; then :
   9479   eval $cacheid=yes
   9480 else
   9481   eval $cacheid=no
   9482 fi
   9483 rm -f core conftest.err conftest.$ac_objext \
   9484     conftest$ac_exeext conftest.$ac_ext
   9485 fi
   9486 
   9487 
   9488 		CFLAGS="$xorg_testset_save_CFLAGS"
   9489 
   9490 		eval supported=\$$cacheid
   9491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9492 $as_echo "$supported" >&6; }
   9493 		if test "$supported" = "yes" ; then
   9494 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9495 			found="yes"
   9496 		fi
   9497 	fi
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 xorg_testset_save_CFLAGS="$CFLAGS"
   9514 
   9515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9517 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9518 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9519 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9520   $as_echo_n "(cached) " >&6
   9521 else
   9522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9523 /* end confdefs.h.  */
   9524 int i;
   9525 _ACEOF
   9526 if ac_fn_c_try_compile "$LINENO"; then :
   9527   xorg_cv_cc_flag_unknown_warning_option=yes
   9528 else
   9529   xorg_cv_cc_flag_unknown_warning_option=no
   9530 fi
   9531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9532 fi
   9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9534 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9535 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9536 	CFLAGS="$xorg_testset_save_CFLAGS"
   9537 fi
   9538 
   9539 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9540 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9541 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9542 	fi
   9543 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9545 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9546 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9547   $as_echo_n "(cached) " >&6
   9548 else
   9549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9550 /* end confdefs.h.  */
   9551 int i;
   9552 _ACEOF
   9553 if ac_fn_c_try_compile "$LINENO"; then :
   9554   xorg_cv_cc_flag_unused_command_line_argument=yes
   9555 else
   9556   xorg_cv_cc_flag_unused_command_line_argument=no
   9557 fi
   9558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9559 fi
   9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9561 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9562 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9563 	CFLAGS="$xorg_testset_save_CFLAGS"
   9564 fi
   9565 
   9566 found="no"
   9567 
   9568 	if test $found = "no" ; then
   9569 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9570 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9571 		fi
   9572 
   9573 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9574 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9575 		fi
   9576 
   9577 		CFLAGS="$CFLAGS -Wwrite-strings"
   9578 
   9579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9580 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9581 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9582 		if eval \${$cacheid+:} false; then :
   9583   $as_echo_n "(cached) " >&6
   9584 else
   9585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9586 /* end confdefs.h.  */
   9587 int i;
   9588 int
   9589 main ()
   9590 {
   9591 
   9592   ;
   9593   return 0;
   9594 }
   9595 _ACEOF
   9596 if ac_fn_c_try_link "$LINENO"; then :
   9597   eval $cacheid=yes
   9598 else
   9599   eval $cacheid=no
   9600 fi
   9601 rm -f core conftest.err conftest.$ac_objext \
   9602     conftest$ac_exeext conftest.$ac_ext
   9603 fi
   9604 
   9605 
   9606 		CFLAGS="$xorg_testset_save_CFLAGS"
   9607 
   9608 		eval supported=\$$cacheid
   9609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9610 $as_echo "$supported" >&6; }
   9611 		if test "$supported" = "yes" ; then
   9612 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9613 			found="yes"
   9614 		fi
   9615 	fi
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 xorg_testset_save_CFLAGS="$CFLAGS"
   9632 
   9633 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9634 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9636 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9637 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9638   $as_echo_n "(cached) " >&6
   9639 else
   9640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9641 /* end confdefs.h.  */
   9642 int i;
   9643 _ACEOF
   9644 if ac_fn_c_try_compile "$LINENO"; then :
   9645   xorg_cv_cc_flag_unknown_warning_option=yes
   9646 else
   9647   xorg_cv_cc_flag_unknown_warning_option=no
   9648 fi
   9649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9650 fi
   9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9652 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9653 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9654 	CFLAGS="$xorg_testset_save_CFLAGS"
   9655 fi
   9656 
   9657 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9658 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9659 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9660 	fi
   9661 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9662 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9663 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9664 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9665   $as_echo_n "(cached) " >&6
   9666 else
   9667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9668 /* end confdefs.h.  */
   9669 int i;
   9670 _ACEOF
   9671 if ac_fn_c_try_compile "$LINENO"; then :
   9672   xorg_cv_cc_flag_unused_command_line_argument=yes
   9673 else
   9674   xorg_cv_cc_flag_unused_command_line_argument=no
   9675 fi
   9676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9677 fi
   9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9679 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9680 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9681 	CFLAGS="$xorg_testset_save_CFLAGS"
   9682 fi
   9683 
   9684 found="no"
   9685 
   9686 	if test $found = "no" ; then
   9687 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9688 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9689 		fi
   9690 
   9691 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9692 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9693 		fi
   9694 
   9695 		CFLAGS="$CFLAGS -Waddress"
   9696 
   9697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9698 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9699 		cacheid=xorg_cv_cc_flag__Waddress
   9700 		if eval \${$cacheid+:} false; then :
   9701   $as_echo_n "(cached) " >&6
   9702 else
   9703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9704 /* end confdefs.h.  */
   9705 int i;
   9706 int
   9707 main ()
   9708 {
   9709 
   9710   ;
   9711   return 0;
   9712 }
   9713 _ACEOF
   9714 if ac_fn_c_try_link "$LINENO"; then :
   9715   eval $cacheid=yes
   9716 else
   9717   eval $cacheid=no
   9718 fi
   9719 rm -f core conftest.err conftest.$ac_objext \
   9720     conftest$ac_exeext conftest.$ac_ext
   9721 fi
   9722 
   9723 
   9724 		CFLAGS="$xorg_testset_save_CFLAGS"
   9725 
   9726 		eval supported=\$$cacheid
   9727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9728 $as_echo "$supported" >&6; }
   9729 		if test "$supported" = "yes" ; then
   9730 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9731 			found="yes"
   9732 		fi
   9733 	fi
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 xorg_testset_save_CFLAGS="$CFLAGS"
   9750 
   9751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9754 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9755 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9756   $as_echo_n "(cached) " >&6
   9757 else
   9758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9759 /* end confdefs.h.  */
   9760 int i;
   9761 _ACEOF
   9762 if ac_fn_c_try_compile "$LINENO"; then :
   9763   xorg_cv_cc_flag_unknown_warning_option=yes
   9764 else
   9765   xorg_cv_cc_flag_unknown_warning_option=no
   9766 fi
   9767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9768 fi
   9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9770 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9771 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9772 	CFLAGS="$xorg_testset_save_CFLAGS"
   9773 fi
   9774 
   9775 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9776 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9777 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9778 	fi
   9779 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9781 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9782 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9783   $as_echo_n "(cached) " >&6
   9784 else
   9785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9786 /* end confdefs.h.  */
   9787 int i;
   9788 _ACEOF
   9789 if ac_fn_c_try_compile "$LINENO"; then :
   9790   xorg_cv_cc_flag_unused_command_line_argument=yes
   9791 else
   9792   xorg_cv_cc_flag_unused_command_line_argument=no
   9793 fi
   9794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9795 fi
   9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9797 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9799 	CFLAGS="$xorg_testset_save_CFLAGS"
   9800 fi
   9801 
   9802 found="no"
   9803 
   9804 	if test $found = "no" ; then
   9805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9807 		fi
   9808 
   9809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9811 		fi
   9812 
   9813 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9814 
   9815 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9816 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9817 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9818 		if eval \${$cacheid+:} false; then :
   9819   $as_echo_n "(cached) " >&6
   9820 else
   9821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9822 /* end confdefs.h.  */
   9823 int i;
   9824 int
   9825 main ()
   9826 {
   9827 
   9828   ;
   9829   return 0;
   9830 }
   9831 _ACEOF
   9832 if ac_fn_c_try_link "$LINENO"; then :
   9833   eval $cacheid=yes
   9834 else
   9835   eval $cacheid=no
   9836 fi
   9837 rm -f core conftest.err conftest.$ac_objext \
   9838     conftest$ac_exeext conftest.$ac_ext
   9839 fi
   9840 
   9841 
   9842 		CFLAGS="$xorg_testset_save_CFLAGS"
   9843 
   9844 		eval supported=\$$cacheid
   9845 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9846 $as_echo "$supported" >&6; }
   9847 		if test "$supported" = "yes" ; then
   9848 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9849 			found="yes"
   9850 		fi
   9851 	fi
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 xorg_testset_save_CFLAGS="$CFLAGS"
   9868 
   9869 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9870 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9871 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9872 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9873 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9874   $as_echo_n "(cached) " >&6
   9875 else
   9876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9877 /* end confdefs.h.  */
   9878 int i;
   9879 _ACEOF
   9880 if ac_fn_c_try_compile "$LINENO"; then :
   9881   xorg_cv_cc_flag_unknown_warning_option=yes
   9882 else
   9883   xorg_cv_cc_flag_unknown_warning_option=no
   9884 fi
   9885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9886 fi
   9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9888 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9889 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9890 	CFLAGS="$xorg_testset_save_CFLAGS"
   9891 fi
   9892 
   9893 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9894 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9895 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9896 	fi
   9897 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9898 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9899 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9900 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9901   $as_echo_n "(cached) " >&6
   9902 else
   9903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9904 /* end confdefs.h.  */
   9905 int i;
   9906 _ACEOF
   9907 if ac_fn_c_try_compile "$LINENO"; then :
   9908   xorg_cv_cc_flag_unused_command_line_argument=yes
   9909 else
   9910   xorg_cv_cc_flag_unused_command_line_argument=no
   9911 fi
   9912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9913 fi
   9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9915 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9916 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9917 	CFLAGS="$xorg_testset_save_CFLAGS"
   9918 fi
   9919 
   9920 found="no"
   9921 
   9922 	if test $found = "no" ; then
   9923 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9924 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9925 		fi
   9926 
   9927 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9928 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9929 		fi
   9930 
   9931 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9932 
   9933 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9934 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9935 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9936 		if eval \${$cacheid+:} false; then :
   9937   $as_echo_n "(cached) " >&6
   9938 else
   9939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9940 /* end confdefs.h.  */
   9941 int i;
   9942 int
   9943 main ()
   9944 {
   9945 
   9946   ;
   9947   return 0;
   9948 }
   9949 _ACEOF
   9950 if ac_fn_c_try_link "$LINENO"; then :
   9951   eval $cacheid=yes
   9952 else
   9953   eval $cacheid=no
   9954 fi
   9955 rm -f core conftest.err conftest.$ac_objext \
   9956     conftest$ac_exeext conftest.$ac_ext
   9957 fi
   9958 
   9959 
   9960 		CFLAGS="$xorg_testset_save_CFLAGS"
   9961 
   9962 		eval supported=\$$cacheid
   9963 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9964 $as_echo "$supported" >&6; }
   9965 		if test "$supported" = "yes" ; then
   9966 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9967 			found="yes"
   9968 		fi
   9969 	fi
   9970 
   9971 
   9972 fi
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 		CWARNFLAGS="$BASE_CFLAGS"
   9981 		if  test "x$GCC" = xyes ; then
   9982 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9983 		fi
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 # Check whether --enable-strict-compilation was given.
   9993 if test "${enable_strict_compilation+set}" = set; then :
   9994   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9995 else
   9996   STRICT_COMPILE=no
   9997 fi
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 STRICT_CFLAGS=""
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 xorg_testset_save_CFLAGS="$CFLAGS"
   10019 
   10020 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10021 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10023 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10024 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10025   $as_echo_n "(cached) " >&6
   10026 else
   10027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10028 /* end confdefs.h.  */
   10029 int i;
   10030 _ACEOF
   10031 if ac_fn_c_try_compile "$LINENO"; then :
   10032   xorg_cv_cc_flag_unknown_warning_option=yes
   10033 else
   10034   xorg_cv_cc_flag_unknown_warning_option=no
   10035 fi
   10036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10037 fi
   10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10039 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10040 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10041 	CFLAGS="$xorg_testset_save_CFLAGS"
   10042 fi
   10043 
   10044 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10045 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10046 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10047 	fi
   10048 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10049 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10050 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10051 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10052   $as_echo_n "(cached) " >&6
   10053 else
   10054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10055 /* end confdefs.h.  */
   10056 int i;
   10057 _ACEOF
   10058 if ac_fn_c_try_compile "$LINENO"; then :
   10059   xorg_cv_cc_flag_unused_command_line_argument=yes
   10060 else
   10061   xorg_cv_cc_flag_unused_command_line_argument=no
   10062 fi
   10063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10064 fi
   10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10066 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10067 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10068 	CFLAGS="$xorg_testset_save_CFLAGS"
   10069 fi
   10070 
   10071 found="no"
   10072 
   10073 	if test $found = "no" ; then
   10074 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10075 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10076 		fi
   10077 
   10078 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10079 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10080 		fi
   10081 
   10082 		CFLAGS="$CFLAGS -pedantic"
   10083 
   10084 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10085 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10086 		cacheid=xorg_cv_cc_flag__pedantic
   10087 		if eval \${$cacheid+:} false; then :
   10088   $as_echo_n "(cached) " >&6
   10089 else
   10090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10091 /* end confdefs.h.  */
   10092 int i;
   10093 int
   10094 main ()
   10095 {
   10096 
   10097   ;
   10098   return 0;
   10099 }
   10100 _ACEOF
   10101 if ac_fn_c_try_link "$LINENO"; then :
   10102   eval $cacheid=yes
   10103 else
   10104   eval $cacheid=no
   10105 fi
   10106 rm -f core conftest.err conftest.$ac_objext \
   10107     conftest$ac_exeext conftest.$ac_ext
   10108 fi
   10109 
   10110 
   10111 		CFLAGS="$xorg_testset_save_CFLAGS"
   10112 
   10113 		eval supported=\$$cacheid
   10114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10115 $as_echo "$supported" >&6; }
   10116 		if test "$supported" = "yes" ; then
   10117 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10118 			found="yes"
   10119 		fi
   10120 	fi
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 xorg_testset_save_CFLAGS="$CFLAGS"
   10137 
   10138 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10139 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10140 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10141 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10142 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10143   $as_echo_n "(cached) " >&6
   10144 else
   10145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10146 /* end confdefs.h.  */
   10147 int i;
   10148 _ACEOF
   10149 if ac_fn_c_try_compile "$LINENO"; then :
   10150   xorg_cv_cc_flag_unknown_warning_option=yes
   10151 else
   10152   xorg_cv_cc_flag_unknown_warning_option=no
   10153 fi
   10154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10155 fi
   10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10157 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10158 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10159 	CFLAGS="$xorg_testset_save_CFLAGS"
   10160 fi
   10161 
   10162 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10163 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10164 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10165 	fi
   10166 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10167 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10168 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10169 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10170   $as_echo_n "(cached) " >&6
   10171 else
   10172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10173 /* end confdefs.h.  */
   10174 int i;
   10175 _ACEOF
   10176 if ac_fn_c_try_compile "$LINENO"; then :
   10177   xorg_cv_cc_flag_unused_command_line_argument=yes
   10178 else
   10179   xorg_cv_cc_flag_unused_command_line_argument=no
   10180 fi
   10181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10182 fi
   10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10184 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10185 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10186 	CFLAGS="$xorg_testset_save_CFLAGS"
   10187 fi
   10188 
   10189 found="no"
   10190 
   10191 	if test $found = "no" ; then
   10192 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10193 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10194 		fi
   10195 
   10196 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10197 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10198 		fi
   10199 
   10200 		CFLAGS="$CFLAGS -Werror"
   10201 
   10202 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10203 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10204 		cacheid=xorg_cv_cc_flag__Werror
   10205 		if eval \${$cacheid+:} false; then :
   10206   $as_echo_n "(cached) " >&6
   10207 else
   10208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10209 /* end confdefs.h.  */
   10210 int i;
   10211 int
   10212 main ()
   10213 {
   10214 
   10215   ;
   10216   return 0;
   10217 }
   10218 _ACEOF
   10219 if ac_fn_c_try_link "$LINENO"; then :
   10220   eval $cacheid=yes
   10221 else
   10222   eval $cacheid=no
   10223 fi
   10224 rm -f core conftest.err conftest.$ac_objext \
   10225     conftest$ac_exeext conftest.$ac_ext
   10226 fi
   10227 
   10228 
   10229 		CFLAGS="$xorg_testset_save_CFLAGS"
   10230 
   10231 		eval supported=\$$cacheid
   10232 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10233 $as_echo "$supported" >&6; }
   10234 		if test "$supported" = "yes" ; then
   10235 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10236 			found="yes"
   10237 		fi
   10238 	fi
   10239 
   10240 	if test $found = "no" ; then
   10241 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10243 		fi
   10244 
   10245 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10247 		fi
   10248 
   10249 		CFLAGS="$CFLAGS -errwarn"
   10250 
   10251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10252 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10253 		cacheid=xorg_cv_cc_flag__errwarn
   10254 		if eval \${$cacheid+:} false; then :
   10255   $as_echo_n "(cached) " >&6
   10256 else
   10257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10258 /* end confdefs.h.  */
   10259 int i;
   10260 int
   10261 main ()
   10262 {
   10263 
   10264   ;
   10265   return 0;
   10266 }
   10267 _ACEOF
   10268 if ac_fn_c_try_link "$LINENO"; then :
   10269   eval $cacheid=yes
   10270 else
   10271   eval $cacheid=no
   10272 fi
   10273 rm -f core conftest.err conftest.$ac_objext \
   10274     conftest$ac_exeext conftest.$ac_ext
   10275 fi
   10276 
   10277 
   10278 		CFLAGS="$xorg_testset_save_CFLAGS"
   10279 
   10280 		eval supported=\$$cacheid
   10281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10282 $as_echo "$supported" >&6; }
   10283 		if test "$supported" = "yes" ; then
   10284 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10285 			found="yes"
   10286 		fi
   10287 	fi
   10288 
   10289 
   10290 
   10291 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10292 # activate it with -Werror, so we add it here explicitly.
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 xorg_testset_save_CFLAGS="$CFLAGS"
   10307 
   10308 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10309 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10311 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10312 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10313   $as_echo_n "(cached) " >&6
   10314 else
   10315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10316 /* end confdefs.h.  */
   10317 int i;
   10318 _ACEOF
   10319 if ac_fn_c_try_compile "$LINENO"; then :
   10320   xorg_cv_cc_flag_unknown_warning_option=yes
   10321 else
   10322   xorg_cv_cc_flag_unknown_warning_option=no
   10323 fi
   10324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10325 fi
   10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10327 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10328 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10329 	CFLAGS="$xorg_testset_save_CFLAGS"
   10330 fi
   10331 
   10332 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10333 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10334 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10335 	fi
   10336 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10337 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10338 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10339 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10340   $as_echo_n "(cached) " >&6
   10341 else
   10342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10343 /* end confdefs.h.  */
   10344 int i;
   10345 _ACEOF
   10346 if ac_fn_c_try_compile "$LINENO"; then :
   10347   xorg_cv_cc_flag_unused_command_line_argument=yes
   10348 else
   10349   xorg_cv_cc_flag_unused_command_line_argument=no
   10350 fi
   10351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10352 fi
   10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10354 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10355 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10356 	CFLAGS="$xorg_testset_save_CFLAGS"
   10357 fi
   10358 
   10359 found="no"
   10360 
   10361 	if test $found = "no" ; then
   10362 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10363 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10364 		fi
   10365 
   10366 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10367 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10368 		fi
   10369 
   10370 		CFLAGS="$CFLAGS -Werror=attributes"
   10371 
   10372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10373 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10374 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10375 		if eval \${$cacheid+:} false; then :
   10376   $as_echo_n "(cached) " >&6
   10377 else
   10378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10379 /* end confdefs.h.  */
   10380 int i;
   10381 int
   10382 main ()
   10383 {
   10384 
   10385   ;
   10386   return 0;
   10387 }
   10388 _ACEOF
   10389 if ac_fn_c_try_link "$LINENO"; then :
   10390   eval $cacheid=yes
   10391 else
   10392   eval $cacheid=no
   10393 fi
   10394 rm -f core conftest.err conftest.$ac_objext \
   10395     conftest$ac_exeext conftest.$ac_ext
   10396 fi
   10397 
   10398 
   10399 		CFLAGS="$xorg_testset_save_CFLAGS"
   10400 
   10401 		eval supported=\$$cacheid
   10402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10403 $as_echo "$supported" >&6; }
   10404 		if test "$supported" = "yes" ; then
   10405 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10406 			found="yes"
   10407 		fi
   10408 	fi
   10409 
   10410 
   10411 
   10412 if test "x$STRICT_COMPILE" = "xyes"; then
   10413     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10414     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10415 fi
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 cat >>confdefs.h <<_ACEOF
   10423 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10424 _ACEOF
   10425 
   10426 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10427 	if test "x$PVM" = "x"; then
   10428 		PVM="0"
   10429 	fi
   10430 
   10431 cat >>confdefs.h <<_ACEOF
   10432 #define PACKAGE_VERSION_MINOR $PVM
   10433 _ACEOF
   10434 
   10435 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10436 	if test "x$PVP" = "x"; then
   10437 		PVP="0"
   10438 	fi
   10439 
   10440 cat >>confdefs.h <<_ACEOF
   10441 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10442 _ACEOF
   10443 
   10444 
   10445 
   10446 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10447 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10448 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10449 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10450 
   10451 
   10452 
   10453 
   10454 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10455 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10456 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10457 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10458 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 if test x$APP_MAN_SUFFIX = x    ; then
   10466     APP_MAN_SUFFIX=1
   10467 fi
   10468 if test x$APP_MAN_DIR = x    ; then
   10469     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10470 fi
   10471 
   10472 if test x$LIB_MAN_SUFFIX = x    ; then
   10473     LIB_MAN_SUFFIX=3
   10474 fi
   10475 if test x$LIB_MAN_DIR = x    ; then
   10476     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10477 fi
   10478 
   10479 if test x$FILE_MAN_SUFFIX = x    ; then
   10480     case $host_os in
   10481 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10482 	*)		FILE_MAN_SUFFIX=5  ;;
   10483     esac
   10484 fi
   10485 if test x$FILE_MAN_DIR = x    ; then
   10486     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10487 fi
   10488 
   10489 if test x$MISC_MAN_SUFFIX = x    ; then
   10490     case $host_os in
   10491 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10492 	*)		MISC_MAN_SUFFIX=7  ;;
   10493     esac
   10494 fi
   10495 if test x$MISC_MAN_DIR = x    ; then
   10496     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10497 fi
   10498 
   10499 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10500     case $host_os in
   10501 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10502 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10503     esac
   10504 fi
   10505 if test x$DRIVER_MAN_DIR = x    ; then
   10506     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10507 fi
   10508 
   10509 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10510     case $host_os in
   10511 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10512 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10513     esac
   10514 fi
   10515 if test x$ADMIN_MAN_DIR = x    ; then
   10516     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10517 fi
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 XORG_MAN_PAGE="X Version 11"
   10534 
   10535 MAN_SUBSTS="\
   10536 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10537 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10538 	-e 's|__xservername__|Xorg|g' \
   10539 	-e 's|__xconfigfile__|xorg.conf|g' \
   10540 	-e 's|__projectroot__|\$(prefix)|g' \
   10541 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10542 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10543 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10544 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10545 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10546 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10547 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10548 
   10549 
   10550 
   10551 # Check whether --enable-silent-rules was given.
   10552 if test "${enable_silent_rules+set}" = set; then :
   10553   enableval=$enable_silent_rules;
   10554 fi
   10555 
   10556 case $enable_silent_rules in # (((
   10557   yes) AM_DEFAULT_VERBOSITY=0;;
   10558    no) AM_DEFAULT_VERBOSITY=1;;
   10559     *) AM_DEFAULT_VERBOSITY=0;;
   10560 esac
   10561 am_make=${MAKE-make}
   10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10563 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10564 if ${am_cv_make_support_nested_variables+:} false; then :
   10565   $as_echo_n "(cached) " >&6
   10566 else
   10567   if $as_echo 'TRUE=$(BAR$(V))
   10568 BAR0=false
   10569 BAR1=true
   10570 V=1
   10571 am__doit:
   10572 	@$(TRUE)
   10573 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10574   am_cv_make_support_nested_variables=yes
   10575 else
   10576   am_cv_make_support_nested_variables=no
   10577 fi
   10578 fi
   10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10580 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10581 if test $am_cv_make_support_nested_variables = yes; then
   10582     AM_V='$(V)'
   10583   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10584 else
   10585   AM_V=$AM_DEFAULT_VERBOSITY
   10586   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10587 fi
   10588 AM_BACKSLASH='\'
   10589 
   10590 
   10591 
   10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
   10593 $as_echo_n "checking for root directory for font files... " >&6; }
   10594 fontrootdir='${datadir}/fonts/X11'
   10595 
   10596 # Check whether --with-fontrootdir was given.
   10597 if test "${with_fontrootdir+set}" = set; then :
   10598   withval=$with_fontrootdir; fontrootdir="${withval}"
   10599 fi
   10600 
   10601 
   10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${fontrootdir}" >&5
   10603 $as_echo "${fontrootdir}" >&6; }
   10604 
   10605 mapdir='${fontrootdir}/util'
   10606 
   10607 # Check whether --with-mapdir was given.
   10608 if test "${with_mapdir+set}" = set; then :
   10609   withval=$with_mapdir; mapdir="${withval}"
   10610 fi
   10611 
   10612 MAPDIR="$mapdir"
   10613 
   10614 
   10615 ac_config_files="$ac_config_files Makefile man/Makefile fontutil.m4 fontutil.pc"
   10616 
   10617 
   10618 cat >confcache <<\_ACEOF
   10619 # This file is a shell script that caches the results of configure
   10620 # tests run on this system so they can be shared between configure
   10621 # scripts and configure runs, see configure's option --config-cache.
   10622 # It is not useful on other systems.  If it contains results you don't
   10623 # want to keep, you may remove or edit it.
   10624 #
   10625 # config.status only pays attention to the cache file if you give it
   10626 # the --recheck option to rerun configure.
   10627 #
   10628 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10629 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10630 # following values.
   10631 
   10632 _ACEOF
   10633 
   10634 # The following way of writing the cache mishandles newlines in values,
   10635 # but we know of no workaround that is simple, portable, and efficient.
   10636 # So, we kill variables containing newlines.
   10637 # Ultrix sh set writes to stderr and can't be redirected directly,
   10638 # and sets the high bit in the cache file unless we assign to the vars.
   10639 (
   10640   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10641     eval ac_val=\$$ac_var
   10642     case $ac_val in #(
   10643     *${as_nl}*)
   10644       case $ac_var in #(
   10645       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10646 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10647       esac
   10648       case $ac_var in #(
   10649       _ | IFS | as_nl) ;; #(
   10650       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10651       *) { eval $ac_var=; unset $ac_var;} ;;
   10652       esac ;;
   10653     esac
   10654   done
   10655 
   10656   (set) 2>&1 |
   10657     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10658     *${as_nl}ac_space=\ *)
   10659       # `set' does not quote correctly, so add quotes: double-quote
   10660       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10661       sed -n \
   10662 	"s/'/'\\\\''/g;
   10663 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10664       ;; #(
   10665     *)
   10666       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10667       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10668       ;;
   10669     esac |
   10670     sort
   10671 ) |
   10672   sed '
   10673      /^ac_cv_env_/b end
   10674      t clear
   10675      :clear
   10676      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10677      t end
   10678      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10679      :end' >>confcache
   10680 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10681   if test -w "$cache_file"; then
   10682     if test "x$cache_file" != "x/dev/null"; then
   10683       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10684 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10685       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10686 	cat confcache >"$cache_file"
   10687       else
   10688         case $cache_file in #(
   10689         */* | ?:*)
   10690 	  mv -f confcache "$cache_file"$$ &&
   10691 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10692         *)
   10693 	  mv -f confcache "$cache_file" ;;
   10694 	esac
   10695       fi
   10696     fi
   10697   else
   10698     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10699 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10700   fi
   10701 fi
   10702 rm -f confcache
   10703 
   10704 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10705 # Let make expand exec_prefix.
   10706 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10707 
   10708 DEFS=-DHAVE_CONFIG_H
   10709 
   10710 ac_libobjs=
   10711 ac_ltlibobjs=
   10712 U=
   10713 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10714   # 1. Remove the extension, and $U if already installed.
   10715   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10716   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10717   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10718   #    will be set to the directory where LIBOBJS objects are built.
   10719   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10720   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10721 done
   10722 LIBOBJS=$ac_libobjs
   10723 
   10724 LTLIBOBJS=$ac_ltlibobjs
   10725 
   10726 
   10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10728 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10729    if test -n "$am_sleep_pid"; then
   10730      # Hide warnings about reused PIDs.
   10731      wait $am_sleep_pid 2>/dev/null
   10732    fi
   10733    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10734 $as_echo "done" >&6; }
   10735  if test -n "$EXEEXT"; then
   10736   am__EXEEXT_TRUE=
   10737   am__EXEEXT_FALSE='#'
   10738 else
   10739   am__EXEEXT_TRUE='#'
   10740   am__EXEEXT_FALSE=
   10741 fi
   10742 
   10743 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10744   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10746 fi
   10747 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10748   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10750 fi
   10751 
   10752 : "${CONFIG_STATUS=./config.status}"
   10753 ac_write_fail=0
   10754 ac_clean_files_save=$ac_clean_files
   10755 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10756 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10757 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10758 as_write_fail=0
   10759 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10760 #! $SHELL
   10761 # Generated by $as_me.
   10762 # Run this file to recreate the current configuration.
   10763 # Compiler output produced by configure, useful for debugging
   10764 # configure, is in config.log if it exists.
   10765 
   10766 debug=false
   10767 ac_cs_recheck=false
   10768 ac_cs_silent=false
   10769 
   10770 SHELL=\${CONFIG_SHELL-$SHELL}
   10771 export SHELL
   10772 _ASEOF
   10773 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10774 ## -------------------- ##
   10775 ## M4sh Initialization. ##
   10776 ## -------------------- ##
   10777 
   10778 # Be more Bourne compatible
   10779 DUALCASE=1; export DUALCASE # for MKS sh
   10780 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10781   emulate sh
   10782   NULLCMD=:
   10783   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10784   # is contrary to our usage.  Disable this feature.
   10785   alias -g '${1+"$@"}'='"$@"'
   10786   setopt NO_GLOB_SUBST
   10787 else
   10788   case `(set -o) 2>/dev/null` in #(
   10789   *posix*) :
   10790     set -o posix ;; #(
   10791   *) :
   10792      ;;
   10793 esac
   10794 fi
   10795 
   10796 
   10797 as_nl='
   10798 '
   10799 export as_nl
   10800 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10801 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10802 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10803 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10804 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10805 # but without wasting forks for bash or zsh.
   10806 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10807     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10808   as_echo='print -r --'
   10809   as_echo_n='print -rn --'
   10810 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10811   as_echo='printf %s\n'
   10812   as_echo_n='printf %s'
   10813 else
   10814   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10815     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10816     as_echo_n='/usr/ucb/echo -n'
   10817   else
   10818     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10819     as_echo_n_body='eval
   10820       arg=$1;
   10821       case $arg in #(
   10822       *"$as_nl"*)
   10823 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10824 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10825       esac;
   10826       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10827     '
   10828     export as_echo_n_body
   10829     as_echo_n='sh -c $as_echo_n_body as_echo'
   10830   fi
   10831   export as_echo_body
   10832   as_echo='sh -c $as_echo_body as_echo'
   10833 fi
   10834 
   10835 # The user is always right.
   10836 if test "${PATH_SEPARATOR+set}" != set; then
   10837   PATH_SEPARATOR=:
   10838   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10839     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10840       PATH_SEPARATOR=';'
   10841   }
   10842 fi
   10843 
   10844 
   10845 # IFS
   10846 # We need space, tab and new line, in precisely that order.  Quoting is
   10847 # there to prevent editors from complaining about space-tab.
   10848 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10849 # splitting by setting IFS to empty value.)
   10850 IFS=" ""	$as_nl"
   10851 
   10852 # Find who we are.  Look in the path if we contain no directory separator.
   10853 as_myself=
   10854 case $0 in #((
   10855   *[\\/]* ) as_myself=$0 ;;
   10856   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10857 for as_dir in $PATH
   10858 do
   10859   IFS=$as_save_IFS
   10860   test -z "$as_dir" && as_dir=.
   10861     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10862   done
   10863 IFS=$as_save_IFS
   10864 
   10865      ;;
   10866 esac
   10867 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10868 # in which case we are not to be found in the path.
   10869 if test "x$as_myself" = x; then
   10870   as_myself=$0
   10871 fi
   10872 if test ! -f "$as_myself"; then
   10873   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10874   exit 1
   10875 fi
   10876 
   10877 # Unset variables that we do not need and which cause bugs (e.g. in
   10878 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   10879 # suppresses any "Segmentation fault" message there.  '((' could
   10880 # trigger a bug in pdksh 5.2.14.
   10881 for as_var in BASH_ENV ENV MAIL MAILPATH
   10882 do eval test x\${$as_var+set} = xset \
   10883   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   10884 done
   10885 PS1='$ '
   10886 PS2='> '
   10887 PS4='+ '
   10888 
   10889 # NLS nuisances.
   10890 LC_ALL=C
   10891 export LC_ALL
   10892 LANGUAGE=C
   10893 export LANGUAGE
   10894 
   10895 # CDPATH.
   10896 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10897 
   10898 
   10899 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   10900 # ----------------------------------------
   10901 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   10902 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   10903 # script with STATUS, using 1 if that was 0.
   10904 as_fn_error ()
   10905 {
   10906   as_status=$1; test $as_status -eq 0 && as_status=1
   10907   if test "$4"; then
   10908     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   10909     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   10910   fi
   10911   $as_echo "$as_me: error: $2" >&2
   10912   as_fn_exit $as_status
   10913 } # as_fn_error
   10914 
   10915 
   10916 # as_fn_set_status STATUS
   10917 # -----------------------
   10918 # Set $? to STATUS, without forking.
   10919 as_fn_set_status ()
   10920 {
   10921   return $1
   10922 } # as_fn_set_status
   10923 
   10924 # as_fn_exit STATUS
   10925 # -----------------
   10926 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   10927 as_fn_exit ()
   10928 {
   10929   set +e
   10930   as_fn_set_status $1
   10931   exit $1
   10932 } # as_fn_exit
   10933 
   10934 # as_fn_unset VAR
   10935 # ---------------
   10936 # Portably unset VAR.
   10937 as_fn_unset ()
   10938 {
   10939   { eval $1=; unset $1;}
   10940 }
   10941 as_unset=as_fn_unset
   10942 # as_fn_append VAR VALUE
   10943 # ----------------------
   10944 # Append the text in VALUE to the end of the definition contained in VAR. Take
   10945 # advantage of any shell optimizations that allow amortized linear growth over
   10946 # repeated appends, instead of the typical quadratic growth present in naive
   10947 # implementations.
   10948 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   10949   eval 'as_fn_append ()
   10950   {
   10951     eval $1+=\$2
   10952   }'
   10953 else
   10954   as_fn_append ()
   10955   {
   10956     eval $1=\$$1\$2
   10957   }
   10958 fi # as_fn_append
   10959 
   10960 # as_fn_arith ARG...
   10961 # ------------------
   10962 # Perform arithmetic evaluation on the ARGs, and store the result in the
   10963 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   10964 # must be portable across $(()) and expr.
   10965 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   10966   eval 'as_fn_arith ()
   10967   {
   10968     as_val=$(( $* ))
   10969   }'
   10970 else
   10971   as_fn_arith ()
   10972   {
   10973     as_val=`expr "$@" || test $? -eq 1`
   10974   }
   10975 fi # as_fn_arith
   10976 
   10977 
   10978 if expr a : '\(a\)' >/dev/null 2>&1 &&
   10979    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   10980   as_expr=expr
   10981 else
   10982   as_expr=false
   10983 fi
   10984 
   10985 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   10986   as_basename=basename
   10987 else
   10988   as_basename=false
   10989 fi
   10990 
   10991 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   10992   as_dirname=dirname
   10993 else
   10994   as_dirname=false
   10995 fi
   10996 
   10997 as_me=`$as_basename -- "$0" ||
   10998 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   10999 	 X"$0" : 'X\(//\)$' \| \
   11000 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11001 $as_echo X/"$0" |
   11002     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11003 	    s//\1/
   11004 	    q
   11005 	  }
   11006 	  /^X\/\(\/\/\)$/{
   11007 	    s//\1/
   11008 	    q
   11009 	  }
   11010 	  /^X\/\(\/\).*/{
   11011 	    s//\1/
   11012 	    q
   11013 	  }
   11014 	  s/.*/./; q'`
   11015 
   11016 # Avoid depending upon Character Ranges.
   11017 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11018 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11019 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11020 as_cr_digits='0123456789'
   11021 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11022 
   11023 ECHO_C= ECHO_N= ECHO_T=
   11024 case `echo -n x` in #(((((
   11025 -n*)
   11026   case `echo 'xy\c'` in
   11027   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11028   xy)  ECHO_C='\c';;
   11029   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11030        ECHO_T='	';;
   11031   esac;;
   11032 *)
   11033   ECHO_N='-n';;
   11034 esac
   11035 
   11036 rm -f conf$$ conf$$.exe conf$$.file
   11037 if test -d conf$$.dir; then
   11038   rm -f conf$$.dir/conf$$.file
   11039 else
   11040   rm -f conf$$.dir
   11041   mkdir conf$$.dir 2>/dev/null
   11042 fi
   11043 if (echo >conf$$.file) 2>/dev/null; then
   11044   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11045     as_ln_s='ln -s'
   11046     # ... but there are two gotchas:
   11047     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11048     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11049     # In both cases, we have to default to `cp -pR'.
   11050     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11051       as_ln_s='cp -pR'
   11052   elif ln conf$$.file conf$$ 2>/dev/null; then
   11053     as_ln_s=ln
   11054   else
   11055     as_ln_s='cp -pR'
   11056   fi
   11057 else
   11058   as_ln_s='cp -pR'
   11059 fi
   11060 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11061 rmdir conf$$.dir 2>/dev/null
   11062 
   11063 
   11064 # as_fn_mkdir_p
   11065 # -------------
   11066 # Create "$as_dir" as a directory, including parents if necessary.
   11067 as_fn_mkdir_p ()
   11068 {
   11069 
   11070   case $as_dir in #(
   11071   -*) as_dir=./$as_dir;;
   11072   esac
   11073   test -d "$as_dir" || eval $as_mkdir_p || {
   11074     as_dirs=
   11075     while :; do
   11076       case $as_dir in #(
   11077       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11078       *) as_qdir=$as_dir;;
   11079       esac
   11080       as_dirs="'$as_qdir' $as_dirs"
   11081       as_dir=`$as_dirname -- "$as_dir" ||
   11082 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11083 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11084 	 X"$as_dir" : 'X\(//\)$' \| \
   11085 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11086 $as_echo X"$as_dir" |
   11087     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11088 	    s//\1/
   11089 	    q
   11090 	  }
   11091 	  /^X\(\/\/\)[^/].*/{
   11092 	    s//\1/
   11093 	    q
   11094 	  }
   11095 	  /^X\(\/\/\)$/{
   11096 	    s//\1/
   11097 	    q
   11098 	  }
   11099 	  /^X\(\/\).*/{
   11100 	    s//\1/
   11101 	    q
   11102 	  }
   11103 	  s/.*/./; q'`
   11104       test -d "$as_dir" && break
   11105     done
   11106     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11107   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11108 
   11109 
   11110 } # as_fn_mkdir_p
   11111 if mkdir -p . 2>/dev/null; then
   11112   as_mkdir_p='mkdir -p "$as_dir"'
   11113 else
   11114   test -d ./-p && rmdir ./-p
   11115   as_mkdir_p=false
   11116 fi
   11117 
   11118 
   11119 # as_fn_executable_p FILE
   11120 # -----------------------
   11121 # Test if FILE is an executable regular file.
   11122 as_fn_executable_p ()
   11123 {
   11124   test -f "$1" && test -x "$1"
   11125 } # as_fn_executable_p
   11126 as_test_x='test -x'
   11127 as_executable_p=as_fn_executable_p
   11128 
   11129 # Sed expression to map a string onto a valid CPP name.
   11130 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11131 
   11132 # Sed expression to map a string onto a valid variable name.
   11133 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11134 
   11135 
   11136 exec 6>&1
   11137 ## ----------------------------------- ##
   11138 ## Main body of $CONFIG_STATUS script. ##
   11139 ## ----------------------------------- ##
   11140 _ASEOF
   11141 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11142 
   11143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11144 # Save the log message, to keep $0 and so on meaningful, and to
   11145 # report actual input values of CONFIG_FILES etc. instead of their
   11146 # values after options handling.
   11147 ac_log="
   11148 This file was extended by font-util $as_me 1.3.1, which was
   11149 generated by GNU Autoconf 2.69.  Invocation command line was
   11150 
   11151   CONFIG_FILES    = $CONFIG_FILES
   11152   CONFIG_HEADERS  = $CONFIG_HEADERS
   11153   CONFIG_LINKS    = $CONFIG_LINKS
   11154   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11155   $ $0 $@
   11156 
   11157 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11158 "
   11159 
   11160 _ACEOF
   11161 
   11162 case $ac_config_files in *"
   11163 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11164 esac
   11165 
   11166 case $ac_config_headers in *"
   11167 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11168 esac
   11169 
   11170 
   11171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11172 # Files that config.status was made for.
   11173 config_files="$ac_config_files"
   11174 config_headers="$ac_config_headers"
   11175 config_commands="$ac_config_commands"
   11176 
   11177 _ACEOF
   11178 
   11179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11180 ac_cs_usage="\
   11181 \`$as_me' instantiates files and other configuration actions
   11182 from templates according to the current configuration.  Unless the files
   11183 and actions are specified as TAGs, all are instantiated by default.
   11184 
   11185 Usage: $0 [OPTION]... [TAG]...
   11186 
   11187   -h, --help       print this help, then exit
   11188   -V, --version    print version number and configuration settings, then exit
   11189       --config     print configuration, then exit
   11190   -q, --quiet, --silent
   11191                    do not print progress messages
   11192   -d, --debug      don't remove temporary files
   11193       --recheck    update $as_me by reconfiguring in the same conditions
   11194       --file=FILE[:TEMPLATE]
   11195                    instantiate the configuration file FILE
   11196       --header=FILE[:TEMPLATE]
   11197                    instantiate the configuration header FILE
   11198 
   11199 Configuration files:
   11200 $config_files
   11201 
   11202 Configuration headers:
   11203 $config_headers
   11204 
   11205 Configuration commands:
   11206 $config_commands
   11207 
   11208 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11209 
   11210 _ACEOF
   11211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11212 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11213 ac_cs_version="\\
   11214 font-util config.status 1.3.1
   11215 configured by $0, generated by GNU Autoconf 2.69,
   11216   with options \\"\$ac_cs_config\\"
   11217 
   11218 Copyright (C) 2012 Free Software Foundation, Inc.
   11219 This config.status script is free software; the Free Software Foundation
   11220 gives unlimited permission to copy, distribute and modify it."
   11221 
   11222 ac_pwd='$ac_pwd'
   11223 srcdir='$srcdir'
   11224 INSTALL='$INSTALL'
   11225 MKDIR_P='$MKDIR_P'
   11226 AWK='$AWK'
   11227 test -n "\$AWK" || AWK=awk
   11228 _ACEOF
   11229 
   11230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11231 # The default lists apply if the user does not specify any file.
   11232 ac_need_defaults=:
   11233 while test $# != 0
   11234 do
   11235   case $1 in
   11236   --*=?*)
   11237     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11238     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11239     ac_shift=:
   11240     ;;
   11241   --*=)
   11242     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11243     ac_optarg=
   11244     ac_shift=:
   11245     ;;
   11246   *)
   11247     ac_option=$1
   11248     ac_optarg=$2
   11249     ac_shift=shift
   11250     ;;
   11251   esac
   11252 
   11253   case $ac_option in
   11254   # Handling of the options.
   11255   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11256     ac_cs_recheck=: ;;
   11257   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11258     $as_echo "$ac_cs_version"; exit ;;
   11259   --config | --confi | --conf | --con | --co | --c )
   11260     $as_echo "$ac_cs_config"; exit ;;
   11261   --debug | --debu | --deb | --de | --d | -d )
   11262     debug=: ;;
   11263   --file | --fil | --fi | --f )
   11264     $ac_shift
   11265     case $ac_optarg in
   11266     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11267     '') as_fn_error $? "missing file argument" ;;
   11268     esac
   11269     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11270     ac_need_defaults=false;;
   11271   --header | --heade | --head | --hea )
   11272     $ac_shift
   11273     case $ac_optarg in
   11274     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11275     esac
   11276     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11277     ac_need_defaults=false;;
   11278   --he | --h)
   11279     # Conflict between --help and --header
   11280     as_fn_error $? "ambiguous option: \`$1'
   11281 Try \`$0 --help' for more information.";;
   11282   --help | --hel | -h )
   11283     $as_echo "$ac_cs_usage"; exit ;;
   11284   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11285   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11286     ac_cs_silent=: ;;
   11287 
   11288   # This is an error.
   11289   -*) as_fn_error $? "unrecognized option: \`$1'
   11290 Try \`$0 --help' for more information." ;;
   11291 
   11292   *) as_fn_append ac_config_targets " $1"
   11293      ac_need_defaults=false ;;
   11294 
   11295   esac
   11296   shift
   11297 done
   11298 
   11299 ac_configure_extra_args=
   11300 
   11301 if $ac_cs_silent; then
   11302   exec 6>/dev/null
   11303   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11304 fi
   11305 
   11306 _ACEOF
   11307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11308 if \$ac_cs_recheck; then
   11309   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11310   shift
   11311   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11312   CONFIG_SHELL='$SHELL'
   11313   export CONFIG_SHELL
   11314   exec "\$@"
   11315 fi
   11316 
   11317 _ACEOF
   11318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11319 exec 5>>config.log
   11320 {
   11321   echo
   11322   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11323 ## Running $as_me. ##
   11324 _ASBOX
   11325   $as_echo "$ac_log"
   11326 } >&5
   11327 
   11328 _ACEOF
   11329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11330 #
   11331 # INIT-COMMANDS
   11332 #
   11333 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11334 
   11335 _ACEOF
   11336 
   11337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11338 
   11339 # Handling of arguments.
   11340 for ac_config_target in $ac_config_targets
   11341 do
   11342   case $ac_config_target in
   11343     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11344     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11345     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11346     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11347     "fontutil.m4") CONFIG_FILES="$CONFIG_FILES fontutil.m4" ;;
   11348     "fontutil.pc") CONFIG_FILES="$CONFIG_FILES fontutil.pc" ;;
   11349 
   11350   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11351   esac
   11352 done
   11353 
   11354 
   11355 # If the user did not use the arguments to specify the items to instantiate,
   11356 # then the envvar interface is used.  Set only those that are not.
   11357 # We use the long form for the default assignment because of an extremely
   11358 # bizarre bug on SunOS 4.1.3.
   11359 if $ac_need_defaults; then
   11360   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11361   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11362   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11363 fi
   11364 
   11365 # Have a temporary directory for convenience.  Make it in the build tree
   11366 # simply because there is no reason against having it here, and in addition,
   11367 # creating and moving files from /tmp can sometimes cause problems.
   11368 # Hook for its removal unless debugging.
   11369 # Note that there is a small window in which the directory will not be cleaned:
   11370 # after its creation but before its name has been assigned to `$tmp'.
   11371 $debug ||
   11372 {
   11373   tmp= ac_tmp=
   11374   trap 'exit_status=$?
   11375   : "${ac_tmp:=$tmp}"
   11376   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11377 ' 0
   11378   trap 'as_fn_exit 1' 1 2 13 15
   11379 }
   11380 # Create a (secure) tmp directory for tmp files.
   11381 
   11382 {
   11383   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11384   test -d "$tmp"
   11385 }  ||
   11386 {
   11387   tmp=./conf$$-$RANDOM
   11388   (umask 077 && mkdir "$tmp")
   11389 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11390 ac_tmp=$tmp
   11391 
   11392 # Set up the scripts for CONFIG_FILES section.
   11393 # No need to generate them if there are no CONFIG_FILES.
   11394 # This happens for instance with `./config.status config.h'.
   11395 if test -n "$CONFIG_FILES"; then
   11396 
   11397 
   11398 ac_cr=`echo X | tr X '\015'`
   11399 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11400 # But we know of no other shell where ac_cr would be empty at this
   11401 # point, so we can use a bashism as a fallback.
   11402 if test "x$ac_cr" = x; then
   11403   eval ac_cr=\$\'\\r\'
   11404 fi
   11405 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11406 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11407   ac_cs_awk_cr='\\r'
   11408 else
   11409   ac_cs_awk_cr=$ac_cr
   11410 fi
   11411 
   11412 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11413 _ACEOF
   11414 
   11415 
   11416 {
   11417   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11418   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11419   echo "_ACEOF"
   11420 } >conf$$subs.sh ||
   11421   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11422 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11423 ac_delim='%!_!# '
   11424 for ac_last_try in false false false false false :; do
   11425   . ./conf$$subs.sh ||
   11426     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11427 
   11428   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11429   if test $ac_delim_n = $ac_delim_num; then
   11430     break
   11431   elif $ac_last_try; then
   11432     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11433   else
   11434     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11435   fi
   11436 done
   11437 rm -f conf$$subs.sh
   11438 
   11439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11440 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11441 _ACEOF
   11442 sed -n '
   11443 h
   11444 s/^/S["/; s/!.*/"]=/
   11445 p
   11446 g
   11447 s/^[^!]*!//
   11448 :repl
   11449 t repl
   11450 s/'"$ac_delim"'$//
   11451 t delim
   11452 :nl
   11453 h
   11454 s/\(.\{148\}\)..*/\1/
   11455 t more1
   11456 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11457 p
   11458 n
   11459 b repl
   11460 :more1
   11461 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11462 p
   11463 g
   11464 s/.\{148\}//
   11465 t nl
   11466 :delim
   11467 h
   11468 s/\(.\{148\}\)..*/\1/
   11469 t more2
   11470 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11471 p
   11472 b
   11473 :more2
   11474 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11475 p
   11476 g
   11477 s/.\{148\}//
   11478 t delim
   11479 ' <conf$$subs.awk | sed '
   11480 /^[^""]/{
   11481   N
   11482   s/\n//
   11483 }
   11484 ' >>$CONFIG_STATUS || ac_write_fail=1
   11485 rm -f conf$$subs.awk
   11486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11487 _ACAWK
   11488 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11489   for (key in S) S_is_set[key] = 1
   11490   FS = ""
   11491 
   11492 }
   11493 {
   11494   line = $ 0
   11495   nfields = split(line, field, "@")
   11496   substed = 0
   11497   len = length(field[1])
   11498   for (i = 2; i < nfields; i++) {
   11499     key = field[i]
   11500     keylen = length(key)
   11501     if (S_is_set[key]) {
   11502       value = S[key]
   11503       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11504       len += length(value) + length(field[++i])
   11505       substed = 1
   11506     } else
   11507       len += 1 + keylen
   11508   }
   11509 
   11510   print line
   11511 }
   11512 
   11513 _ACAWK
   11514 _ACEOF
   11515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11516 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11517   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11518 else
   11519   cat
   11520 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11521   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11522 _ACEOF
   11523 
   11524 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11525 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11526 # trailing colons and then remove the whole line if VPATH becomes empty
   11527 # (actually we leave an empty line to preserve line numbers).
   11528 if test "x$srcdir" = x.; then
   11529   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11530 h
   11531 s///
   11532 s/^/:/
   11533 s/[	 ]*$/:/
   11534 s/:\$(srcdir):/:/g
   11535 s/:\${srcdir}:/:/g
   11536 s/:@srcdir@:/:/g
   11537 s/^:*//
   11538 s/:*$//
   11539 x
   11540 s/\(=[	 ]*\).*/\1/
   11541 G
   11542 s/\n//
   11543 s/^[^=]*=[	 ]*$//
   11544 }'
   11545 fi
   11546 
   11547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11548 fi # test -n "$CONFIG_FILES"
   11549 
   11550 # Set up the scripts for CONFIG_HEADERS section.
   11551 # No need to generate them if there are no CONFIG_HEADERS.
   11552 # This happens for instance with `./config.status Makefile'.
   11553 if test -n "$CONFIG_HEADERS"; then
   11554 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11555 BEGIN {
   11556 _ACEOF
   11557 
   11558 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11559 # here-document in config.status, that substitutes the proper values into
   11560 # config.h.in to produce config.h.
   11561 
   11562 # Create a delimiter string that does not exist in confdefs.h, to ease
   11563 # handling of long lines.
   11564 ac_delim='%!_!# '
   11565 for ac_last_try in false false :; do
   11566   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11567   if test -z "$ac_tt"; then
   11568     break
   11569   elif $ac_last_try; then
   11570     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11571   else
   11572     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11573   fi
   11574 done
   11575 
   11576 # For the awk script, D is an array of macro values keyed by name,
   11577 # likewise P contains macro parameters if any.  Preserve backslash
   11578 # newline sequences.
   11579 
   11580 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11581 sed -n '
   11582 s/.\{148\}/&'"$ac_delim"'/g
   11583 t rset
   11584 :rset
   11585 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11586 t def
   11587 d
   11588 :def
   11589 s/\\$//
   11590 t bsnl
   11591 s/["\\]/\\&/g
   11592 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11593 D["\1"]=" \3"/p
   11594 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11595 d
   11596 :bsnl
   11597 s/["\\]/\\&/g
   11598 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11599 D["\1"]=" \3\\\\\\n"\\/p
   11600 t cont
   11601 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11602 t cont
   11603 d
   11604 :cont
   11605 n
   11606 s/.\{148\}/&'"$ac_delim"'/g
   11607 t clear
   11608 :clear
   11609 s/\\$//
   11610 t bsnlc
   11611 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11612 d
   11613 :bsnlc
   11614 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11615 b cont
   11616 ' <confdefs.h | sed '
   11617 s/'"$ac_delim"'/"\\\
   11618 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11619 
   11620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11621   for (key in D) D_is_set[key] = 1
   11622   FS = ""
   11623 }
   11624 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11625   line = \$ 0
   11626   split(line, arg, " ")
   11627   if (arg[1] == "#") {
   11628     defundef = arg[2]
   11629     mac1 = arg[3]
   11630   } else {
   11631     defundef = substr(arg[1], 2)
   11632     mac1 = arg[2]
   11633   }
   11634   split(mac1, mac2, "(") #)
   11635   macro = mac2[1]
   11636   prefix = substr(line, 1, index(line, defundef) - 1)
   11637   if (D_is_set[macro]) {
   11638     # Preserve the white space surrounding the "#".
   11639     print prefix "define", macro P[macro] D[macro]
   11640     next
   11641   } else {
   11642     # Replace #undef with comments.  This is necessary, for example,
   11643     # in the case of _POSIX_SOURCE, which is predefined and required
   11644     # on some systems where configure will not decide to define it.
   11645     if (defundef == "undef") {
   11646       print "/*", prefix defundef, macro, "*/"
   11647       next
   11648     }
   11649   }
   11650 }
   11651 { print }
   11652 _ACAWK
   11653 _ACEOF
   11654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11655   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11656 fi # test -n "$CONFIG_HEADERS"
   11657 
   11658 
   11659 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11660 shift
   11661 for ac_tag
   11662 do
   11663   case $ac_tag in
   11664   :[FHLC]) ac_mode=$ac_tag; continue;;
   11665   esac
   11666   case $ac_mode$ac_tag in
   11667   :[FHL]*:*);;
   11668   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11669   :[FH]-) ac_tag=-:-;;
   11670   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11671   esac
   11672   ac_save_IFS=$IFS
   11673   IFS=:
   11674   set x $ac_tag
   11675   IFS=$ac_save_IFS
   11676   shift
   11677   ac_file=$1
   11678   shift
   11679 
   11680   case $ac_mode in
   11681   :L) ac_source=$1;;
   11682   :[FH])
   11683     ac_file_inputs=
   11684     for ac_f
   11685     do
   11686       case $ac_f in
   11687       -) ac_f="$ac_tmp/stdin";;
   11688       *) # Look for the file first in the build tree, then in the source tree
   11689 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11690 	 # because $ac_f cannot contain `:'.
   11691 	 test -f "$ac_f" ||
   11692 	   case $ac_f in
   11693 	   [\\/$]*) false;;
   11694 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11695 	   esac ||
   11696 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11697       esac
   11698       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11699       as_fn_append ac_file_inputs " '$ac_f'"
   11700     done
   11701 
   11702     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11703     # use $as_me), people would be surprised to read:
   11704     #    /* config.h.  Generated by config.status.  */
   11705     configure_input='Generated from '`
   11706 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11707 	`' by configure.'
   11708     if test x"$ac_file" != x-; then
   11709       configure_input="$ac_file.  $configure_input"
   11710       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11711 $as_echo "$as_me: creating $ac_file" >&6;}
   11712     fi
   11713     # Neutralize special characters interpreted by sed in replacement strings.
   11714     case $configure_input in #(
   11715     *\&* | *\|* | *\\* )
   11716        ac_sed_conf_input=`$as_echo "$configure_input" |
   11717        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11718     *) ac_sed_conf_input=$configure_input;;
   11719     esac
   11720 
   11721     case $ac_tag in
   11722     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11723       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11724     esac
   11725     ;;
   11726   esac
   11727 
   11728   ac_dir=`$as_dirname -- "$ac_file" ||
   11729 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11730 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11731 	 X"$ac_file" : 'X\(//\)$' \| \
   11732 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11733 $as_echo X"$ac_file" |
   11734     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11735 	    s//\1/
   11736 	    q
   11737 	  }
   11738 	  /^X\(\/\/\)[^/].*/{
   11739 	    s//\1/
   11740 	    q
   11741 	  }
   11742 	  /^X\(\/\/\)$/{
   11743 	    s//\1/
   11744 	    q
   11745 	  }
   11746 	  /^X\(\/\).*/{
   11747 	    s//\1/
   11748 	    q
   11749 	  }
   11750 	  s/.*/./; q'`
   11751   as_dir="$ac_dir"; as_fn_mkdir_p
   11752   ac_builddir=.
   11753 
   11754 case "$ac_dir" in
   11755 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11756 *)
   11757   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11758   # A ".." for each directory in $ac_dir_suffix.
   11759   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11760   case $ac_top_builddir_sub in
   11761   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11762   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11763   esac ;;
   11764 esac
   11765 ac_abs_top_builddir=$ac_pwd
   11766 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11767 # for backward compatibility:
   11768 ac_top_builddir=$ac_top_build_prefix
   11769 
   11770 case $srcdir in
   11771   .)  # We are building in place.
   11772     ac_srcdir=.
   11773     ac_top_srcdir=$ac_top_builddir_sub
   11774     ac_abs_top_srcdir=$ac_pwd ;;
   11775   [\\/]* | ?:[\\/]* )  # Absolute name.
   11776     ac_srcdir=$srcdir$ac_dir_suffix;
   11777     ac_top_srcdir=$srcdir
   11778     ac_abs_top_srcdir=$srcdir ;;
   11779   *) # Relative name.
   11780     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11781     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11782     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11783 esac
   11784 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11785 
   11786 
   11787   case $ac_mode in
   11788   :F)
   11789   #
   11790   # CONFIG_FILE
   11791   #
   11792 
   11793   case $INSTALL in
   11794   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11795   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11796   esac
   11797   ac_MKDIR_P=$MKDIR_P
   11798   case $MKDIR_P in
   11799   [\\/$]* | ?:[\\/]* ) ;;
   11800   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11801   esac
   11802 _ACEOF
   11803 
   11804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11805 # If the template does not know about datarootdir, expand it.
   11806 # FIXME: This hack should be removed a few years after 2.60.
   11807 ac_datarootdir_hack=; ac_datarootdir_seen=
   11808 ac_sed_dataroot='
   11809 /datarootdir/ {
   11810   p
   11811   q
   11812 }
   11813 /@datadir@/p
   11814 /@docdir@/p
   11815 /@infodir@/p
   11816 /@localedir@/p
   11817 /@mandir@/p'
   11818 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11819 *datarootdir*) ac_datarootdir_seen=yes;;
   11820 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11821   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11822 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11823 _ACEOF
   11824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11825   ac_datarootdir_hack='
   11826   s&@datadir@&$datadir&g
   11827   s&@docdir@&$docdir&g
   11828   s&@infodir@&$infodir&g
   11829   s&@localedir@&$localedir&g
   11830   s&@mandir@&$mandir&g
   11831   s&\\\${datarootdir}&$datarootdir&g' ;;
   11832 esac
   11833 _ACEOF
   11834 
   11835 # Neutralize VPATH when `$srcdir' = `.'.
   11836 # Shell code in configure.ac might set extrasub.
   11837 # FIXME: do we really want to maintain this feature?
   11838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11839 ac_sed_extra="$ac_vpsub
   11840 $extrasub
   11841 _ACEOF
   11842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11843 :t
   11844 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11845 s|@configure_input@|$ac_sed_conf_input|;t t
   11846 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11847 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11848 s&@srcdir@&$ac_srcdir&;t t
   11849 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11850 s&@top_srcdir@&$ac_top_srcdir&;t t
   11851 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11852 s&@builddir@&$ac_builddir&;t t
   11853 s&@abs_builddir@&$ac_abs_builddir&;t t
   11854 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11855 s&@INSTALL@&$ac_INSTALL&;t t
   11856 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11857 $ac_datarootdir_hack
   11858 "
   11859 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11860   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11861 
   11862 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11863   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11864   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11865       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11866   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11867 which seems to be undefined.  Please make sure it is defined" >&5
   11868 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11869 which seems to be undefined.  Please make sure it is defined" >&2;}
   11870 
   11871   rm -f "$ac_tmp/stdin"
   11872   case $ac_file in
   11873   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11874   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11875   esac \
   11876   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11877  ;;
   11878   :H)
   11879   #
   11880   # CONFIG_HEADER
   11881   #
   11882   if test x"$ac_file" != x-; then
   11883     {
   11884       $as_echo "/* $configure_input  */" \
   11885       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   11886     } >"$ac_tmp/config.h" \
   11887       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11888     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   11889       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   11890 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   11891     else
   11892       rm -f "$ac_file"
   11893       mv "$ac_tmp/config.h" "$ac_file" \
   11894 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11895     fi
   11896   else
   11897     $as_echo "/* $configure_input  */" \
   11898       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   11899       || as_fn_error $? "could not create -" "$LINENO" 5
   11900   fi
   11901 # Compute "$ac_file"'s index in $config_headers.
   11902 _am_arg="$ac_file"
   11903 _am_stamp_count=1
   11904 for _am_header in $config_headers :; do
   11905   case $_am_header in
   11906     $_am_arg | $_am_arg:* )
   11907       break ;;
   11908     * )
   11909       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   11910   esac
   11911 done
   11912 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   11913 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11914 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   11915 	 X"$_am_arg" : 'X\(//\)$' \| \
   11916 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   11917 $as_echo X"$_am_arg" |
   11918     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11919 	    s//\1/
   11920 	    q
   11921 	  }
   11922 	  /^X\(\/\/\)[^/].*/{
   11923 	    s//\1/
   11924 	    q
   11925 	  }
   11926 	  /^X\(\/\/\)$/{
   11927 	    s//\1/
   11928 	    q
   11929 	  }
   11930 	  /^X\(\/\).*/{
   11931 	    s//\1/
   11932 	    q
   11933 	  }
   11934 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   11935  ;;
   11936 
   11937   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   11938 $as_echo "$as_me: executing $ac_file commands" >&6;}
   11939  ;;
   11940   esac
   11941 
   11942 
   11943   case $ac_file$ac_mode in
   11944     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   11945   # Older Autoconf quotes --file arguments for eval, but not when files
   11946   # are listed without --file.  Let's play safe and only enable the eval
   11947   # if we detect the quoting.
   11948   case $CONFIG_FILES in
   11949   *\'*) eval set x "$CONFIG_FILES" ;;
   11950   *)   set x $CONFIG_FILES ;;
   11951   esac
   11952   shift
   11953   for mf
   11954   do
   11955     # Strip MF so we end up with the name of the file.
   11956     mf=`echo "$mf" | sed -e 's/:.*$//'`
   11957     # Check whether this is an Automake generated Makefile or not.
   11958     # We used to match only the files named 'Makefile.in', but
   11959     # some people rename them; so instead we look at the file content.
   11960     # Grep'ing the first line is not enough: some people post-process
   11961     # each Makefile.in and add a new line on top of each file to say so.
   11962     # Grep'ing the whole file is not good either: AIX grep has a line
   11963     # limit of 2048, but all sed's we know have understand at least 4000.
   11964     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   11965       dirpart=`$as_dirname -- "$mf" ||
   11966 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11967 	 X"$mf" : 'X\(//\)[^/]' \| \
   11968 	 X"$mf" : 'X\(//\)$' \| \
   11969 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   11970 $as_echo X"$mf" |
   11971     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11972 	    s//\1/
   11973 	    q
   11974 	  }
   11975 	  /^X\(\/\/\)[^/].*/{
   11976 	    s//\1/
   11977 	    q
   11978 	  }
   11979 	  /^X\(\/\/\)$/{
   11980 	    s//\1/
   11981 	    q
   11982 	  }
   11983 	  /^X\(\/\).*/{
   11984 	    s//\1/
   11985 	    q
   11986 	  }
   11987 	  s/.*/./; q'`
   11988     else
   11989       continue
   11990     fi
   11991     # Extract the definition of DEPDIR, am__include, and am__quote
   11992     # from the Makefile without running 'make'.
   11993     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   11994     test -z "$DEPDIR" && continue
   11995     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   11996     test -z "$am__include" && continue
   11997     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   11998     # Find all dependency output files, they are included files with
   11999     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12000     # simplest approach to changing $(DEPDIR) to its actual value in the
   12001     # expansion.
   12002     for file in `sed -n "
   12003       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12004 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12005       # Make sure the directory exists.
   12006       test -f "$dirpart/$file" && continue
   12007       fdir=`$as_dirname -- "$file" ||
   12008 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12009 	 X"$file" : 'X\(//\)[^/]' \| \
   12010 	 X"$file" : 'X\(//\)$' \| \
   12011 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12012 $as_echo X"$file" |
   12013     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12014 	    s//\1/
   12015 	    q
   12016 	  }
   12017 	  /^X\(\/\/\)[^/].*/{
   12018 	    s//\1/
   12019 	    q
   12020 	  }
   12021 	  /^X\(\/\/\)$/{
   12022 	    s//\1/
   12023 	    q
   12024 	  }
   12025 	  /^X\(\/\).*/{
   12026 	    s//\1/
   12027 	    q
   12028 	  }
   12029 	  s/.*/./; q'`
   12030       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12031       # echo "creating $dirpart/$file"
   12032       echo '# dummy' > "$dirpart/$file"
   12033     done
   12034   done
   12035 }
   12036  ;;
   12037 
   12038   esac
   12039 done # for ac_tag
   12040 
   12041 
   12042 as_fn_exit 0
   12043 _ACEOF
   12044 ac_clean_files=$ac_clean_files_save
   12045 
   12046 test $ac_write_fail = 0 ||
   12047   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12048 
   12049 
   12050 # configure is writing to config.log, and then calls config.status.
   12051 # config.status does its own redirection, appending to config.log.
   12052 # Unfortunately, on DOS this fails, as config.log is still kept open
   12053 # by configure, so config.status won't be able to write to it; its
   12054 # output is simply discarded.  So we exec the FD to /dev/null,
   12055 # effectively closing config.log, so it can be properly (re)opened and
   12056 # appended to by config.status.  When coming back to configure, we
   12057 # need to make the FD available again.
   12058 if test "$no_create" != yes; then
   12059   ac_cs_success=:
   12060   ac_config_status_args=
   12061   test "$silent" = yes &&
   12062     ac_config_status_args="$ac_config_status_args --quiet"
   12063   exec 5>/dev/null
   12064   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12065   exec 5>>config.log
   12066   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12067   # would make configure fail if this is the last instruction.
   12068   $ac_cs_success || as_fn_exit 1
   12069 fi
   12070 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12071   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12072 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12073 fi
   12074 
   12075