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 fonttosfnt 1.2.2.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/fonttosfnt/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://gitlab.freedesktop.org/xorg/app/fonttosfnt/issues
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='fonttosfnt'
    583 PACKAGE_TARNAME='fonttosfnt'
    584 PACKAGE_VERSION='1.2.2'
    585 PACKAGE_STRING='fonttosfnt 1.2.2'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/fonttosfnt/issues'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 FONTTOSFNT_LIBS
    631 FONTTOSFNT_CFLAGS
    632 NEED_SETENV_FALSE
    633 NEED_SETENV_TRUE
    634 MAN_SUBSTS
    635 XORG_MAN_PAGE
    636 ADMIN_MAN_DIR
    637 DRIVER_MAN_DIR
    638 MISC_MAN_DIR
    639 FILE_MAN_DIR
    640 LIB_MAN_DIR
    641 APP_MAN_DIR
    642 ADMIN_MAN_SUFFIX
    643 DRIVER_MAN_SUFFIX
    644 MISC_MAN_SUFFIX
    645 FILE_MAN_SUFFIX
    646 LIB_MAN_SUFFIX
    647 APP_MAN_SUFFIX
    648 SED
    649 host_os
    650 host_vendor
    651 host_cpu
    652 host
    653 build_os
    654 build_vendor
    655 build_cpu
    656 build
    657 INSTALL_CMD
    658 PKG_CONFIG_LIBDIR
    659 PKG_CONFIG_PATH
    660 PKG_CONFIG
    661 CHANGELOG_CMD
    662 STRICT_CFLAGS
    663 CWARNFLAGS
    664 BASE_CFLAGS
    665 EGREP
    666 GREP
    667 CPP
    668 am__fastdepCC_FALSE
    669 am__fastdepCC_TRUE
    670 CCDEPMODE
    671 am__nodep
    672 AMDEPBACKSLASH
    673 AMDEP_FALSE
    674 AMDEP_TRUE
    675 am__include
    676 DEPDIR
    677 OBJEXT
    678 EXEEXT
    679 ac_ct_CC
    680 CPPFLAGS
    681 LDFLAGS
    682 CFLAGS
    683 CC
    684 AM_BACKSLASH
    685 AM_DEFAULT_VERBOSITY
    686 AM_DEFAULT_V
    687 AM_V
    688 am__untar
    689 am__tar
    690 AMTAR
    691 am__leading_dot
    692 SET_MAKE
    693 AWK
    694 mkdir_p
    695 MKDIR_P
    696 INSTALL_STRIP_PROGRAM
    697 STRIP
    698 install_sh
    699 MAKEINFO
    700 AUTOHEADER
    701 AUTOMAKE
    702 AUTOCONF
    703 ACLOCAL
    704 VERSION
    705 PACKAGE
    706 CYGPATH_W
    707 am__isrc
    708 INSTALL_DATA
    709 INSTALL_SCRIPT
    710 INSTALL_PROGRAM
    711 target_alias
    712 host_alias
    713 build_alias
    714 LIBS
    715 ECHO_T
    716 ECHO_N
    717 ECHO_C
    718 DEFS
    719 mandir
    720 localedir
    721 libdir
    722 psdir
    723 pdfdir
    724 dvidir
    725 htmldir
    726 infodir
    727 docdir
    728 oldincludedir
    729 includedir
    730 runstatedir
    731 localstatedir
    732 sharedstatedir
    733 sysconfdir
    734 datadir
    735 datarootdir
    736 libexecdir
    737 sbindir
    738 bindir
    739 program_transform_name
    740 prefix
    741 exec_prefix
    742 PACKAGE_URL
    743 PACKAGE_BUGREPORT
    744 PACKAGE_STRING
    745 PACKAGE_VERSION
    746 PACKAGE_TARNAME
    747 PACKAGE_NAME
    748 PATH_SEPARATOR
    749 SHELL
    750 am__quote'
    751 ac_subst_files=''
    752 ac_user_opts='
    753 enable_option_checking
    754 enable_silent_rules
    755 enable_dependency_tracking
    756 enable_selective_werror
    757 enable_strict_compilation
    758 '
    759       ac_precious_vars='build_alias
    760 host_alias
    761 target_alias
    762 CC
    763 CFLAGS
    764 LDFLAGS
    765 LIBS
    766 CPPFLAGS
    767 CPP
    768 PKG_CONFIG
    769 PKG_CONFIG_PATH
    770 PKG_CONFIG_LIBDIR
    771 FONTTOSFNT_CFLAGS
    772 FONTTOSFNT_LIBS'
    773 
    774 
    775 # Initialize some variables set by options.
    776 ac_init_help=
    777 ac_init_version=false
    778 ac_unrecognized_opts=
    779 ac_unrecognized_sep=
    780 # The variables have the same names as the options, with
    781 # dashes changed to underlines.
    782 cache_file=/dev/null
    783 exec_prefix=NONE
    784 no_create=
    785 no_recursion=
    786 prefix=NONE
    787 program_prefix=NONE
    788 program_suffix=NONE
    789 program_transform_name=s,x,x,
    790 silent=
    791 site=
    792 srcdir=
    793 verbose=
    794 x_includes=NONE
    795 x_libraries=NONE
    796 
    797 # Installation directory options.
    798 # These are left unexpanded so users can "make install exec_prefix=/foo"
    799 # and all the variables that are supposed to be based on exec_prefix
    800 # by default will actually change.
    801 # Use braces instead of parens because sh, perl, etc. also accept them.
    802 # (The list follows the same order as the GNU Coding Standards.)
    803 bindir='${exec_prefix}/bin'
    804 sbindir='${exec_prefix}/sbin'
    805 libexecdir='${exec_prefix}/libexec'
    806 datarootdir='${prefix}/share'
    807 datadir='${datarootdir}'
    808 sysconfdir='${prefix}/etc'
    809 sharedstatedir='${prefix}/com'
    810 localstatedir='${prefix}/var'
    811 runstatedir='${localstatedir}/run'
    812 includedir='${prefix}/include'
    813 oldincludedir='/usr/include'
    814 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    815 infodir='${datarootdir}/info'
    816 htmldir='${docdir}'
    817 dvidir='${docdir}'
    818 pdfdir='${docdir}'
    819 psdir='${docdir}'
    820 libdir='${exec_prefix}/lib'
    821 localedir='${datarootdir}/locale'
    822 mandir='${datarootdir}/man'
    823 
    824 ac_prev=
    825 ac_dashdash=
    826 for ac_option
    827 do
    828   # If the previous option needs an argument, assign it.
    829   if test -n "$ac_prev"; then
    830     eval $ac_prev=\$ac_option
    831     ac_prev=
    832     continue
    833   fi
    834 
    835   case $ac_option in
    836   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    837   *=)   ac_optarg= ;;
    838   *)    ac_optarg=yes ;;
    839   esac
    840 
    841   # Accept the important Cygnus configure options, so we can diagnose typos.
    842 
    843   case $ac_dashdash$ac_option in
    844   --)
    845     ac_dashdash=yes ;;
    846 
    847   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    848     ac_prev=bindir ;;
    849   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    850     bindir=$ac_optarg ;;
    851 
    852   -build | --build | --buil | --bui | --bu)
    853     ac_prev=build_alias ;;
    854   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    855     build_alias=$ac_optarg ;;
    856 
    857   -cache-file | --cache-file | --cache-fil | --cache-fi \
    858   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    859     ac_prev=cache_file ;;
    860   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    861   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    862     cache_file=$ac_optarg ;;
    863 
    864   --config-cache | -C)
    865     cache_file=config.cache ;;
    866 
    867   -datadir | --datadir | --datadi | --datad)
    868     ac_prev=datadir ;;
    869   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    870     datadir=$ac_optarg ;;
    871 
    872   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    873   | --dataroo | --dataro | --datar)
    874     ac_prev=datarootdir ;;
    875   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    876   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    877     datarootdir=$ac_optarg ;;
    878 
    879   -disable-* | --disable-*)
    880     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    881     # Reject names that are not valid shell variable names.
    882     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    883       as_fn_error $? "invalid feature name: $ac_useropt"
    884     ac_useropt_orig=$ac_useropt
    885     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    886     case $ac_user_opts in
    887       *"
    888 "enable_$ac_useropt"
    889 "*) ;;
    890       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    891 	 ac_unrecognized_sep=', ';;
    892     esac
    893     eval enable_$ac_useropt=no ;;
    894 
    895   -docdir | --docdir | --docdi | --doc | --do)
    896     ac_prev=docdir ;;
    897   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    898     docdir=$ac_optarg ;;
    899 
    900   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    901     ac_prev=dvidir ;;
    902   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    903     dvidir=$ac_optarg ;;
    904 
    905   -enable-* | --enable-*)
    906     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    907     # Reject names that are not valid shell variable names.
    908     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    909       as_fn_error $? "invalid feature name: $ac_useropt"
    910     ac_useropt_orig=$ac_useropt
    911     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    912     case $ac_user_opts in
    913       *"
    914 "enable_$ac_useropt"
    915 "*) ;;
    916       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    917 	 ac_unrecognized_sep=', ';;
    918     esac
    919     eval enable_$ac_useropt=\$ac_optarg ;;
    920 
    921   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    922   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    923   | --exec | --exe | --ex)
    924     ac_prev=exec_prefix ;;
    925   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    926   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    927   | --exec=* | --exe=* | --ex=*)
    928     exec_prefix=$ac_optarg ;;
    929 
    930   -gas | --gas | --ga | --g)
    931     # Obsolete; use --with-gas.
    932     with_gas=yes ;;
    933 
    934   -help | --help | --hel | --he | -h)
    935     ac_init_help=long ;;
    936   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    937     ac_init_help=recursive ;;
    938   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    939     ac_init_help=short ;;
    940 
    941   -host | --host | --hos | --ho)
    942     ac_prev=host_alias ;;
    943   -host=* | --host=* | --hos=* | --ho=*)
    944     host_alias=$ac_optarg ;;
    945 
    946   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    947     ac_prev=htmldir ;;
    948   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    949   | --ht=*)
    950     htmldir=$ac_optarg ;;
    951 
    952   -includedir | --includedir | --includedi | --included | --include \
    953   | --includ | --inclu | --incl | --inc)
    954     ac_prev=includedir ;;
    955   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    956   | --includ=* | --inclu=* | --incl=* | --inc=*)
    957     includedir=$ac_optarg ;;
    958 
    959   -infodir | --infodir | --infodi | --infod | --info | --inf)
    960     ac_prev=infodir ;;
    961   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    962     infodir=$ac_optarg ;;
    963 
    964   -libdir | --libdir | --libdi | --libd)
    965     ac_prev=libdir ;;
    966   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    967     libdir=$ac_optarg ;;
    968 
    969   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    970   | --libexe | --libex | --libe)
    971     ac_prev=libexecdir ;;
    972   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    973   | --libexe=* | --libex=* | --libe=*)
    974     libexecdir=$ac_optarg ;;
    975 
    976   -localedir | --localedir | --localedi | --localed | --locale)
    977     ac_prev=localedir ;;
    978   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    979     localedir=$ac_optarg ;;
    980 
    981   -localstatedir | --localstatedir | --localstatedi | --localstated \
    982   | --localstate | --localstat | --localsta | --localst | --locals)
    983     ac_prev=localstatedir ;;
    984   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    985   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    986     localstatedir=$ac_optarg ;;
    987 
    988   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    989     ac_prev=mandir ;;
    990   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    991     mandir=$ac_optarg ;;
    992 
    993   -nfp | --nfp | --nf)
    994     # Obsolete; use --without-fp.
    995     with_fp=no ;;
    996 
    997   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    998   | --no-cr | --no-c | -n)
    999     no_create=yes ;;
   1000 
   1001   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1002   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1003     no_recursion=yes ;;
   1004 
   1005   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1006   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1007   | --oldin | --oldi | --old | --ol | --o)
   1008     ac_prev=oldincludedir ;;
   1009   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1010   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1011   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1012     oldincludedir=$ac_optarg ;;
   1013 
   1014   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1015     ac_prev=prefix ;;
   1016   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1017     prefix=$ac_optarg ;;
   1018 
   1019   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1020   | --program-pre | --program-pr | --program-p)
   1021     ac_prev=program_prefix ;;
   1022   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1023   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1024     program_prefix=$ac_optarg ;;
   1025 
   1026   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1027   | --program-suf | --program-su | --program-s)
   1028     ac_prev=program_suffix ;;
   1029   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1030   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1031     program_suffix=$ac_optarg ;;
   1032 
   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     ac_prev=program_transform_name ;;
   1041   -program-transform-name=* | --program-transform-name=* \
   1042   | --program-transform-nam=* | --program-transform-na=* \
   1043   | --program-transform-n=* | --program-transform-=* \
   1044   | --program-transform=* | --program-transfor=* \
   1045   | --program-transfo=* | --program-transf=* \
   1046   | --program-trans=* | --program-tran=* \
   1047   | --progr-tra=* | --program-tr=* | --program-t=*)
   1048     program_transform_name=$ac_optarg ;;
   1049 
   1050   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1051     ac_prev=pdfdir ;;
   1052   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1053     pdfdir=$ac_optarg ;;
   1054 
   1055   -psdir | --psdir | --psdi | --psd | --ps)
   1056     ac_prev=psdir ;;
   1057   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1058     psdir=$ac_optarg ;;
   1059 
   1060   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1061   | -silent | --silent | --silen | --sile | --sil)
   1062     silent=yes ;;
   1063 
   1064   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1065   | --runstate | --runstat | --runsta | --runst | --runs \
   1066   | --run | --ru | --r)
   1067     ac_prev=runstatedir ;;
   1068   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1069   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1070   | --run=* | --ru=* | --r=*)
   1071     runstatedir=$ac_optarg ;;
   1072 
   1073   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1074     ac_prev=sbindir ;;
   1075   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1076   | --sbi=* | --sb=*)
   1077     sbindir=$ac_optarg ;;
   1078 
   1079   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1080   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1081   | --sharedst | --shareds | --shared | --share | --shar \
   1082   | --sha | --sh)
   1083     ac_prev=sharedstatedir ;;
   1084   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1085   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1086   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1087   | --sha=* | --sh=*)
   1088     sharedstatedir=$ac_optarg ;;
   1089 
   1090   -site | --site | --sit)
   1091     ac_prev=site ;;
   1092   -site=* | --site=* | --sit=*)
   1093     site=$ac_optarg ;;
   1094 
   1095   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1096     ac_prev=srcdir ;;
   1097   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1098     srcdir=$ac_optarg ;;
   1099 
   1100   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1101   | --syscon | --sysco | --sysc | --sys | --sy)
   1102     ac_prev=sysconfdir ;;
   1103   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1104   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1105     sysconfdir=$ac_optarg ;;
   1106 
   1107   -target | --target | --targe | --targ | --tar | --ta | --t)
   1108     ac_prev=target_alias ;;
   1109   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1110     target_alias=$ac_optarg ;;
   1111 
   1112   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1113     verbose=yes ;;
   1114 
   1115   -version | --version | --versio | --versi | --vers | -V)
   1116     ac_init_version=: ;;
   1117 
   1118   -with-* | --with-*)
   1119     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1120     # Reject names that are not valid shell variable names.
   1121     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1122       as_fn_error $? "invalid package name: $ac_useropt"
   1123     ac_useropt_orig=$ac_useropt
   1124     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1125     case $ac_user_opts in
   1126       *"
   1127 "with_$ac_useropt"
   1128 "*) ;;
   1129       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1130 	 ac_unrecognized_sep=', ';;
   1131     esac
   1132     eval with_$ac_useropt=\$ac_optarg ;;
   1133 
   1134   -without-* | --without-*)
   1135     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1136     # Reject names that are not valid shell variable names.
   1137     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1138       as_fn_error $? "invalid package name: $ac_useropt"
   1139     ac_useropt_orig=$ac_useropt
   1140     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1141     case $ac_user_opts in
   1142       *"
   1143 "with_$ac_useropt"
   1144 "*) ;;
   1145       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1146 	 ac_unrecognized_sep=', ';;
   1147     esac
   1148     eval with_$ac_useropt=no ;;
   1149 
   1150   --x)
   1151     # Obsolete; use --with-x.
   1152     with_x=yes ;;
   1153 
   1154   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1155   | --x-incl | --x-inc | --x-in | --x-i)
   1156     ac_prev=x_includes ;;
   1157   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1158   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1159     x_includes=$ac_optarg ;;
   1160 
   1161   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1162   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1163     ac_prev=x_libraries ;;
   1164   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1165   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1166     x_libraries=$ac_optarg ;;
   1167 
   1168   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1169 Try \`$0 --help' for more information"
   1170     ;;
   1171 
   1172   *=*)
   1173     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1174     # Reject names that are not valid shell variable names.
   1175     case $ac_envvar in #(
   1176       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1177       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1178     esac
   1179     eval $ac_envvar=\$ac_optarg
   1180     export $ac_envvar ;;
   1181 
   1182   *)
   1183     # FIXME: should be removed in autoconf 3.0.
   1184     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1185     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1186       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1187     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1188     ;;
   1189 
   1190   esac
   1191 done
   1192 
   1193 if test -n "$ac_prev"; then
   1194   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1195   as_fn_error $? "missing argument to $ac_option"
   1196 fi
   1197 
   1198 if test -n "$ac_unrecognized_opts"; then
   1199   case $enable_option_checking in
   1200     no) ;;
   1201     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1202     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1203   esac
   1204 fi
   1205 
   1206 # Check all directory arguments for consistency.
   1207 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1208 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1209 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1210 		libdir localedir mandir runstatedir
   1211 do
   1212   eval ac_val=\$$ac_var
   1213   # Remove trailing slashes.
   1214   case $ac_val in
   1215     */ )
   1216       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1217       eval $ac_var=\$ac_val;;
   1218   esac
   1219   # Be sure to have absolute directory names.
   1220   case $ac_val in
   1221     [\\/$]* | ?:[\\/]* )  continue;;
   1222     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1223   esac
   1224   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1225 done
   1226 
   1227 # There might be people who depend on the old broken behavior: `$host'
   1228 # used to hold the argument of --host etc.
   1229 # FIXME: To remove some day.
   1230 build=$build_alias
   1231 host=$host_alias
   1232 target=$target_alias
   1233 
   1234 # FIXME: To remove some day.
   1235 if test "x$host_alias" != x; then
   1236   if test "x$build_alias" = x; then
   1237     cross_compiling=maybe
   1238   elif test "x$build_alias" != "x$host_alias"; then
   1239     cross_compiling=yes
   1240   fi
   1241 fi
   1242 
   1243 ac_tool_prefix=
   1244 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1245 
   1246 test "$silent" = yes && exec 6>/dev/null
   1247 
   1248 
   1249 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1250 ac_ls_di=`ls -di .` &&
   1251 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1252   as_fn_error $? "working directory cannot be determined"
   1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1254   as_fn_error $? "pwd does not report name of working directory"
   1255 
   1256 
   1257 # Find the source files, if location was not specified.
   1258 if test -z "$srcdir"; then
   1259   ac_srcdir_defaulted=yes
   1260   # Try the directory containing this script, then the parent directory.
   1261   ac_confdir=`$as_dirname -- "$as_myself" ||
   1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1263 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1264 	 X"$as_myself" : 'X\(//\)$' \| \
   1265 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1266 $as_echo X"$as_myself" |
   1267     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1268 	    s//\1/
   1269 	    q
   1270 	  }
   1271 	  /^X\(\/\/\)[^/].*/{
   1272 	    s//\1/
   1273 	    q
   1274 	  }
   1275 	  /^X\(\/\/\)$/{
   1276 	    s//\1/
   1277 	    q
   1278 	  }
   1279 	  /^X\(\/\).*/{
   1280 	    s//\1/
   1281 	    q
   1282 	  }
   1283 	  s/.*/./; q'`
   1284   srcdir=$ac_confdir
   1285   if test ! -r "$srcdir/$ac_unique_file"; then
   1286     srcdir=..
   1287   fi
   1288 else
   1289   ac_srcdir_defaulted=no
   1290 fi
   1291 if test ! -r "$srcdir/$ac_unique_file"; then
   1292   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1293   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1294 fi
   1295 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1296 ac_abs_confdir=`(
   1297 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1298 	pwd)`
   1299 # When building in place, set srcdir=.
   1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1301   srcdir=.
   1302 fi
   1303 # Remove unnecessary trailing slashes from srcdir.
   1304 # Double slashes in file names in object file debugging info
   1305 # mess up M-x gdb in Emacs.
   1306 case $srcdir in
   1307 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1308 esac
   1309 for ac_var in $ac_precious_vars; do
   1310   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1311   eval ac_env_${ac_var}_value=\$${ac_var}
   1312   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1313   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1314 done
   1315 
   1316 #
   1317 # Report the --help message.
   1318 #
   1319 if test "$ac_init_help" = "long"; then
   1320   # Omit some internal or obsolete options to make the list less imposing.
   1321   # This message is too long to be a string in the A/UX 3.1 sh.
   1322   cat <<_ACEOF
   1323 \`configure' configures fonttosfnt 1.2.2 to adapt to many kinds of systems.
   1324 
   1325 Usage: $0 [OPTION]... [VAR=VALUE]...
   1326 
   1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1328 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1329 
   1330 Defaults for the options are specified in brackets.
   1331 
   1332 Configuration:
   1333   -h, --help              display this help and exit
   1334       --help=short        display options specific to this package
   1335       --help=recursive    display the short help of all the included packages
   1336   -V, --version           display version information and exit
   1337   -q, --quiet, --silent   do not print \`checking ...' messages
   1338       --cache-file=FILE   cache test results in FILE [disabled]
   1339   -C, --config-cache      alias for \`--cache-file=config.cache'
   1340   -n, --no-create         do not create output files
   1341       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1342 
   1343 Installation directories:
   1344   --prefix=PREFIX         install architecture-independent files in PREFIX
   1345                           [$ac_default_prefix]
   1346   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1347                           [PREFIX]
   1348 
   1349 By default, \`make install' will install all the files in
   1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1352 for instance \`--prefix=\$HOME'.
   1353 
   1354 For better control, use the options below.
   1355 
   1356 Fine tuning of the installation directories:
   1357   --bindir=DIR            user executables [EPREFIX/bin]
   1358   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1359   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1360   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1361   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1362   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1363   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1364   --libdir=DIR            object code libraries [EPREFIX/lib]
   1365   --includedir=DIR        C header files [PREFIX/include]
   1366   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1367   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1368   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1369   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1370   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1371   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1372   --docdir=DIR            documentation root [DATAROOTDIR/doc/fonttosfnt]
   1373   --htmldir=DIR           html documentation [DOCDIR]
   1374   --dvidir=DIR            dvi documentation [DOCDIR]
   1375   --pdfdir=DIR            pdf documentation [DOCDIR]
   1376   --psdir=DIR             ps documentation [DOCDIR]
   1377 _ACEOF
   1378 
   1379   cat <<\_ACEOF
   1380 
   1381 Program names:
   1382   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1383   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1384   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1385 
   1386 System types:
   1387   --build=BUILD     configure for building on BUILD [guessed]
   1388   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1389 _ACEOF
   1390 fi
   1391 
   1392 if test -n "$ac_init_help"; then
   1393   case $ac_init_help in
   1394      short | recursive ) echo "Configuration of fonttosfnt 1.2.2:";;
   1395    esac
   1396   cat <<\_ACEOF
   1397 
   1398 Optional Features:
   1399   --disable-option-checking  ignore unrecognized --enable/--with options
   1400   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1401   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1402   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1403   --disable-silent-rules  verbose build output (undo: "make V=0")
   1404   --enable-dependency-tracking
   1405                           do not reject slow dependency extractors
   1406   --disable-dependency-tracking
   1407                           speeds up one-time build
   1408   --disable-selective-werror
   1409                           Turn off selective compiler errors. (default:
   1410                           enabled)
   1411   --enable-strict-compilation
   1412                           Enable all warnings from compiler and make them
   1413                           errors (default: disabled)
   1414 
   1415 Some influential environment variables:
   1416   CC          C compiler command
   1417   CFLAGS      C compiler flags
   1418   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1419               nonstandard directory <lib dir>
   1420   LIBS        libraries to pass to the linker, e.g. -l<library>
   1421   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1422               you have headers in a nonstandard directory <include dir>
   1423   CPP         C preprocessor
   1424   PKG_CONFIG  path to pkg-config utility
   1425   PKG_CONFIG_PATH
   1426               directories to add to pkg-config's search path
   1427   PKG_CONFIG_LIBDIR
   1428               path overriding pkg-config's built-in search path
   1429   FONTTOSFNT_CFLAGS
   1430               C compiler flags for FONTTOSFNT, overriding pkg-config
   1431   FONTTOSFNT_LIBS
   1432               linker flags for FONTTOSFNT, overriding pkg-config
   1433 
   1434 Use these variables to override the choices made by `configure' or to help
   1435 it to find libraries and programs with nonstandard names/locations.
   1436 
   1437 Report bugs to <https://gitlab.freedesktop.org/xorg/app/fonttosfnt/issues>.
   1438 _ACEOF
   1439 ac_status=$?
   1440 fi
   1441 
   1442 if test "$ac_init_help" = "recursive"; then
   1443   # If there are subdirs, report their specific --help.
   1444   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1445     test -d "$ac_dir" ||
   1446       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1447       continue
   1448     ac_builddir=.
   1449 
   1450 case "$ac_dir" in
   1451 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1452 *)
   1453   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1454   # A ".." for each directory in $ac_dir_suffix.
   1455   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1456   case $ac_top_builddir_sub in
   1457   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1458   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1459   esac ;;
   1460 esac
   1461 ac_abs_top_builddir=$ac_pwd
   1462 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1463 # for backward compatibility:
   1464 ac_top_builddir=$ac_top_build_prefix
   1465 
   1466 case $srcdir in
   1467   .)  # We are building in place.
   1468     ac_srcdir=.
   1469     ac_top_srcdir=$ac_top_builddir_sub
   1470     ac_abs_top_srcdir=$ac_pwd ;;
   1471   [\\/]* | ?:[\\/]* )  # Absolute name.
   1472     ac_srcdir=$srcdir$ac_dir_suffix;
   1473     ac_top_srcdir=$srcdir
   1474     ac_abs_top_srcdir=$srcdir ;;
   1475   *) # Relative name.
   1476     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1477     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1478     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1479 esac
   1480 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1481 
   1482     cd "$ac_dir" || { ac_status=$?; continue; }
   1483     # Check for guested configure.
   1484     if test -f "$ac_srcdir/configure.gnu"; then
   1485       echo &&
   1486       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1487     elif test -f "$ac_srcdir/configure"; then
   1488       echo &&
   1489       $SHELL "$ac_srcdir/configure" --help=recursive
   1490     else
   1491       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1492     fi || ac_status=$?
   1493     cd "$ac_pwd" || { ac_status=$?; break; }
   1494   done
   1495 fi
   1496 
   1497 test -n "$ac_init_help" && exit $ac_status
   1498 if $ac_init_version; then
   1499   cat <<\_ACEOF
   1500 fonttosfnt configure 1.2.2
   1501 generated by GNU Autoconf 2.69
   1502 
   1503 Copyright (C) 2012 Free Software Foundation, Inc.
   1504 This configure script is free software; the Free Software Foundation
   1505 gives unlimited permission to copy, distribute and modify it.
   1506 _ACEOF
   1507   exit
   1508 fi
   1509 
   1510 ## ------------------------ ##
   1511 ## Autoconf initialization. ##
   1512 ## ------------------------ ##
   1513 
   1514 # ac_fn_c_try_compile LINENO
   1515 # --------------------------
   1516 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1517 ac_fn_c_try_compile ()
   1518 {
   1519   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1520   rm -f conftest.$ac_objext
   1521   if { { ac_try="$ac_compile"
   1522 case "(($ac_try" in
   1523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1524   *) ac_try_echo=$ac_try;;
   1525 esac
   1526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1527 $as_echo "$ac_try_echo"; } >&5
   1528   (eval "$ac_compile") 2>conftest.err
   1529   ac_status=$?
   1530   if test -s conftest.err; then
   1531     grep -v '^ *+' conftest.err >conftest.er1
   1532     cat conftest.er1 >&5
   1533     mv -f conftest.er1 conftest.err
   1534   fi
   1535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1536   test $ac_status = 0; } && {
   1537 	 test -z "$ac_c_werror_flag" ||
   1538 	 test ! -s conftest.err
   1539        } && test -s conftest.$ac_objext; then :
   1540   ac_retval=0
   1541 else
   1542   $as_echo "$as_me: failed program was:" >&5
   1543 sed 's/^/| /' conftest.$ac_ext >&5
   1544 
   1545 	ac_retval=1
   1546 fi
   1547   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1548   as_fn_set_status $ac_retval
   1549 
   1550 } # ac_fn_c_try_compile
   1551 
   1552 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1553 # ---------------------------------------------
   1554 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1555 # accordingly.
   1556 ac_fn_c_check_decl ()
   1557 {
   1558   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1559   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1560   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1562 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1563 if eval \${$3+:} false; then :
   1564   $as_echo_n "(cached) " >&6
   1565 else
   1566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1567 /* end confdefs.h.  */
   1568 $4
   1569 int
   1570 main ()
   1571 {
   1572 #ifndef $as_decl_name
   1573 #ifdef __cplusplus
   1574   (void) $as_decl_use;
   1575 #else
   1576   (void) $as_decl_name;
   1577 #endif
   1578 #endif
   1579 
   1580   ;
   1581   return 0;
   1582 }
   1583 _ACEOF
   1584 if ac_fn_c_try_compile "$LINENO"; then :
   1585   eval "$3=yes"
   1586 else
   1587   eval "$3=no"
   1588 fi
   1589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1590 fi
   1591 eval ac_res=\$$3
   1592 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1593 $as_echo "$ac_res" >&6; }
   1594   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1595 
   1596 } # ac_fn_c_check_decl
   1597 
   1598 # ac_fn_c_try_cpp LINENO
   1599 # ----------------------
   1600 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1601 ac_fn_c_try_cpp ()
   1602 {
   1603   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1604   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1605 case "(($ac_try" in
   1606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1607   *) ac_try_echo=$ac_try;;
   1608 esac
   1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1610 $as_echo "$ac_try_echo"; } >&5
   1611   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1612   ac_status=$?
   1613   if test -s conftest.err; then
   1614     grep -v '^ *+' conftest.err >conftest.er1
   1615     cat conftest.er1 >&5
   1616     mv -f conftest.er1 conftest.err
   1617   fi
   1618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1619   test $ac_status = 0; } > conftest.i && {
   1620 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1621 	 test ! -s conftest.err
   1622        }; then :
   1623   ac_retval=0
   1624 else
   1625   $as_echo "$as_me: failed program was:" >&5
   1626 sed 's/^/| /' conftest.$ac_ext >&5
   1627 
   1628     ac_retval=1
   1629 fi
   1630   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1631   as_fn_set_status $ac_retval
   1632 
   1633 } # ac_fn_c_try_cpp
   1634 
   1635 # ac_fn_c_try_run LINENO
   1636 # ----------------------
   1637 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1638 # that executables *can* be run.
   1639 ac_fn_c_try_run ()
   1640 {
   1641   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1642   if { { ac_try="$ac_link"
   1643 case "(($ac_try" in
   1644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1645   *) ac_try_echo=$ac_try;;
   1646 esac
   1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1648 $as_echo "$ac_try_echo"; } >&5
   1649   (eval "$ac_link") 2>&5
   1650   ac_status=$?
   1651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1652   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1653   { { case "(($ac_try" in
   1654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1655   *) ac_try_echo=$ac_try;;
   1656 esac
   1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1658 $as_echo "$ac_try_echo"; } >&5
   1659   (eval "$ac_try") 2>&5
   1660   ac_status=$?
   1661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1662   test $ac_status = 0; }; }; then :
   1663   ac_retval=0
   1664 else
   1665   $as_echo "$as_me: program exited with status $ac_status" >&5
   1666        $as_echo "$as_me: failed program was:" >&5
   1667 sed 's/^/| /' conftest.$ac_ext >&5
   1668 
   1669        ac_retval=$ac_status
   1670 fi
   1671   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1672   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1673   as_fn_set_status $ac_retval
   1674 
   1675 } # ac_fn_c_try_run
   1676 
   1677 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1678 # -------------------------------------------------------
   1679 # Tests whether HEADER exists and can be compiled using the include files in
   1680 # INCLUDES, setting the cache variable VAR accordingly.
   1681 ac_fn_c_check_header_compile ()
   1682 {
   1683   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1685 $as_echo_n "checking for $2... " >&6; }
   1686 if eval \${$3+:} false; then :
   1687   $as_echo_n "(cached) " >&6
   1688 else
   1689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1690 /* end confdefs.h.  */
   1691 $4
   1692 #include <$2>
   1693 _ACEOF
   1694 if ac_fn_c_try_compile "$LINENO"; then :
   1695   eval "$3=yes"
   1696 else
   1697   eval "$3=no"
   1698 fi
   1699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1700 fi
   1701 eval ac_res=\$$3
   1702 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1703 $as_echo "$ac_res" >&6; }
   1704   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1705 
   1706 } # ac_fn_c_check_header_compile
   1707 
   1708 # ac_fn_c_try_link LINENO
   1709 # -----------------------
   1710 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1711 ac_fn_c_try_link ()
   1712 {
   1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1714   rm -f conftest.$ac_objext conftest$ac_exeext
   1715   if { { ac_try="$ac_link"
   1716 case "(($ac_try" in
   1717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1718   *) ac_try_echo=$ac_try;;
   1719 esac
   1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1721 $as_echo "$ac_try_echo"; } >&5
   1722   (eval "$ac_link") 2>conftest.err
   1723   ac_status=$?
   1724   if test -s conftest.err; then
   1725     grep -v '^ *+' conftest.err >conftest.er1
   1726     cat conftest.er1 >&5
   1727     mv -f conftest.er1 conftest.err
   1728   fi
   1729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1730   test $ac_status = 0; } && {
   1731 	 test -z "$ac_c_werror_flag" ||
   1732 	 test ! -s conftest.err
   1733        } && test -s conftest$ac_exeext && {
   1734 	 test "$cross_compiling" = yes ||
   1735 	 test -x conftest$ac_exeext
   1736        }; then :
   1737   ac_retval=0
   1738 else
   1739   $as_echo "$as_me: failed program was:" >&5
   1740 sed 's/^/| /' conftest.$ac_ext >&5
   1741 
   1742 	ac_retval=1
   1743 fi
   1744   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1745   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1746   # interfere with the next link command; also delete a directory that is
   1747   # left behind by Apple's compiler.  We do this before executing the actions.
   1748   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1749   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1750   as_fn_set_status $ac_retval
   1751 
   1752 } # ac_fn_c_try_link
   1753 
   1754 # ac_fn_c_check_func LINENO FUNC VAR
   1755 # ----------------------------------
   1756 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1757 ac_fn_c_check_func ()
   1758 {
   1759   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1761 $as_echo_n "checking for $2... " >&6; }
   1762 if eval \${$3+:} false; then :
   1763   $as_echo_n "(cached) " >&6
   1764 else
   1765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1766 /* end confdefs.h.  */
   1767 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1768    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1769 #define $2 innocuous_$2
   1770 
   1771 /* System header to define __stub macros and hopefully few prototypes,
   1772     which can conflict with char $2 (); below.
   1773     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1774     <limits.h> exists even on freestanding compilers.  */
   1775 
   1776 #ifdef __STDC__
   1777 # include <limits.h>
   1778 #else
   1779 # include <assert.h>
   1780 #endif
   1781 
   1782 #undef $2
   1783 
   1784 /* Override any GCC internal prototype to avoid an error.
   1785    Use char because int might match the return type of a GCC
   1786    builtin and then its argument prototype would still apply.  */
   1787 #ifdef __cplusplus
   1788 extern "C"
   1789 #endif
   1790 char $2 ();
   1791 /* The GNU C library defines this for functions which it implements
   1792     to always fail with ENOSYS.  Some functions are actually named
   1793     something starting with __ and the normal name is an alias.  */
   1794 #if defined __stub_$2 || defined __stub___$2
   1795 choke me
   1796 #endif
   1797 
   1798 int
   1799 main ()
   1800 {
   1801 return $2 ();
   1802   ;
   1803   return 0;
   1804 }
   1805 _ACEOF
   1806 if ac_fn_c_try_link "$LINENO"; then :
   1807   eval "$3=yes"
   1808 else
   1809   eval "$3=no"
   1810 fi
   1811 rm -f core conftest.err conftest.$ac_objext \
   1812     conftest$ac_exeext conftest.$ac_ext
   1813 fi
   1814 eval ac_res=\$$3
   1815 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1816 $as_echo "$ac_res" >&6; }
   1817   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1818 
   1819 } # ac_fn_c_check_func
   1820 cat >config.log <<_ACEOF
   1821 This file contains any messages produced by compilers while
   1822 running configure, to aid debugging if configure makes a mistake.
   1823 
   1824 It was created by fonttosfnt $as_me 1.2.2, which was
   1825 generated by GNU Autoconf 2.69.  Invocation command line was
   1826 
   1827   $ $0 $@
   1828 
   1829 _ACEOF
   1830 exec 5>>config.log
   1831 {
   1832 cat <<_ASUNAME
   1833 ## --------- ##
   1834 ## Platform. ##
   1835 ## --------- ##
   1836 
   1837 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1838 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1839 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1840 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1841 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1842 
   1843 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1844 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1845 
   1846 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1847 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1848 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1849 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1850 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1851 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1852 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1853 
   1854 _ASUNAME
   1855 
   1856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1857 for as_dir in $PATH
   1858 do
   1859   IFS=$as_save_IFS
   1860   test -z "$as_dir" && as_dir=.
   1861     $as_echo "PATH: $as_dir"
   1862   done
   1863 IFS=$as_save_IFS
   1864 
   1865 } >&5
   1866 
   1867 cat >&5 <<_ACEOF
   1868 
   1869 
   1870 ## ----------- ##
   1871 ## Core tests. ##
   1872 ## ----------- ##
   1873 
   1874 _ACEOF
   1875 
   1876 
   1877 # Keep a trace of the command line.
   1878 # Strip out --no-create and --no-recursion so they do not pile up.
   1879 # Strip out --silent because we don't want to record it for future runs.
   1880 # Also quote any args containing shell meta-characters.
   1881 # Make two passes to allow for proper duplicate-argument suppression.
   1882 ac_configure_args=
   1883 ac_configure_args0=
   1884 ac_configure_args1=
   1885 ac_must_keep_next=false
   1886 for ac_pass in 1 2
   1887 do
   1888   for ac_arg
   1889   do
   1890     case $ac_arg in
   1891     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1892     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1893     | -silent | --silent | --silen | --sile | --sil)
   1894       continue ;;
   1895     *\'*)
   1896       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1897     esac
   1898     case $ac_pass in
   1899     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1900     2)
   1901       as_fn_append ac_configure_args1 " '$ac_arg'"
   1902       if test $ac_must_keep_next = true; then
   1903 	ac_must_keep_next=false # Got value, back to normal.
   1904       else
   1905 	case $ac_arg in
   1906 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1907 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1908 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1909 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1910 	    case "$ac_configure_args0 " in
   1911 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1912 	    esac
   1913 	    ;;
   1914 	  -* ) ac_must_keep_next=true ;;
   1915 	esac
   1916       fi
   1917       as_fn_append ac_configure_args " '$ac_arg'"
   1918       ;;
   1919     esac
   1920   done
   1921 done
   1922 { ac_configure_args0=; unset ac_configure_args0;}
   1923 { ac_configure_args1=; unset ac_configure_args1;}
   1924 
   1925 # When interrupted or exit'd, cleanup temporary files, and complete
   1926 # config.log.  We remove comments because anyway the quotes in there
   1927 # would cause problems or look ugly.
   1928 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1929 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1930 trap 'exit_status=$?
   1931   # Save into config.log some information that might help in debugging.
   1932   {
   1933     echo
   1934 
   1935     $as_echo "## ---------------- ##
   1936 ## Cache variables. ##
   1937 ## ---------------- ##"
   1938     echo
   1939     # The following way of writing the cache mishandles newlines in values,
   1940 (
   1941   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1942     eval ac_val=\$$ac_var
   1943     case $ac_val in #(
   1944     *${as_nl}*)
   1945       case $ac_var in #(
   1946       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1947 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1948       esac
   1949       case $ac_var in #(
   1950       _ | IFS | as_nl) ;; #(
   1951       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1952       *) { eval $ac_var=; unset $ac_var;} ;;
   1953       esac ;;
   1954     esac
   1955   done
   1956   (set) 2>&1 |
   1957     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1958     *${as_nl}ac_space=\ *)
   1959       sed -n \
   1960 	"s/'\''/'\''\\\\'\'''\''/g;
   1961 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1962       ;; #(
   1963     *)
   1964       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1965       ;;
   1966     esac |
   1967     sort
   1968 )
   1969     echo
   1970 
   1971     $as_echo "## ----------------- ##
   1972 ## Output variables. ##
   1973 ## ----------------- ##"
   1974     echo
   1975     for ac_var in $ac_subst_vars
   1976     do
   1977       eval ac_val=\$$ac_var
   1978       case $ac_val in
   1979       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1980       esac
   1981       $as_echo "$ac_var='\''$ac_val'\''"
   1982     done | sort
   1983     echo
   1984 
   1985     if test -n "$ac_subst_files"; then
   1986       $as_echo "## ------------------- ##
   1987 ## File substitutions. ##
   1988 ## ------------------- ##"
   1989       echo
   1990       for ac_var in $ac_subst_files
   1991       do
   1992 	eval ac_val=\$$ac_var
   1993 	case $ac_val in
   1994 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1995 	esac
   1996 	$as_echo "$ac_var='\''$ac_val'\''"
   1997       done | sort
   1998       echo
   1999     fi
   2000 
   2001     if test -s confdefs.h; then
   2002       $as_echo "## ----------- ##
   2003 ## confdefs.h. ##
   2004 ## ----------- ##"
   2005       echo
   2006       cat confdefs.h
   2007       echo
   2008     fi
   2009     test "$ac_signal" != 0 &&
   2010       $as_echo "$as_me: caught signal $ac_signal"
   2011     $as_echo "$as_me: exit $exit_status"
   2012   } >&5
   2013   rm -f core *.core core.conftest.* &&
   2014     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2015     exit $exit_status
   2016 ' 0
   2017 for ac_signal in 1 2 13 15; do
   2018   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2019 done
   2020 ac_signal=0
   2021 
   2022 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2023 rm -f -r conftest* confdefs.h
   2024 
   2025 $as_echo "/* confdefs.h */" > confdefs.h
   2026 
   2027 # Predefined preprocessor variables.
   2028 
   2029 cat >>confdefs.h <<_ACEOF
   2030 #define PACKAGE_NAME "$PACKAGE_NAME"
   2031 _ACEOF
   2032 
   2033 cat >>confdefs.h <<_ACEOF
   2034 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2035 _ACEOF
   2036 
   2037 cat >>confdefs.h <<_ACEOF
   2038 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2039 _ACEOF
   2040 
   2041 cat >>confdefs.h <<_ACEOF
   2042 #define PACKAGE_STRING "$PACKAGE_STRING"
   2043 _ACEOF
   2044 
   2045 cat >>confdefs.h <<_ACEOF
   2046 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2047 _ACEOF
   2048 
   2049 cat >>confdefs.h <<_ACEOF
   2050 #define PACKAGE_URL "$PACKAGE_URL"
   2051 _ACEOF
   2052 
   2053 
   2054 # Let the site file select an alternate cache file if it wants to.
   2055 # Prefer an explicitly selected file to automatically selected ones.
   2056 ac_site_file1=NONE
   2057 ac_site_file2=NONE
   2058 if test -n "$CONFIG_SITE"; then
   2059   # We do not want a PATH search for config.site.
   2060   case $CONFIG_SITE in #((
   2061     -*)  ac_site_file1=./$CONFIG_SITE;;
   2062     */*) ac_site_file1=$CONFIG_SITE;;
   2063     *)   ac_site_file1=./$CONFIG_SITE;;
   2064   esac
   2065 elif test "x$prefix" != xNONE; then
   2066   ac_site_file1=$prefix/share/config.site
   2067   ac_site_file2=$prefix/etc/config.site
   2068 else
   2069   ac_site_file1=$ac_default_prefix/share/config.site
   2070   ac_site_file2=$ac_default_prefix/etc/config.site
   2071 fi
   2072 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2073 do
   2074   test "x$ac_site_file" = xNONE && continue
   2075   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2076     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2077 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2078     sed 's/^/| /' "$ac_site_file" >&5
   2079     . "$ac_site_file" \
   2080       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2082 as_fn_error $? "failed to load site script $ac_site_file
   2083 See \`config.log' for more details" "$LINENO" 5; }
   2084   fi
   2085 done
   2086 
   2087 if test -r "$cache_file"; then
   2088   # Some versions of bash will fail to source /dev/null (special files
   2089   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2090   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2091     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2092 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2093     case $cache_file in
   2094       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2095       *)                      . "./$cache_file";;
   2096     esac
   2097   fi
   2098 else
   2099   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2100 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2101   >$cache_file
   2102 fi
   2103 
   2104 # Check that the precious variables saved in the cache have kept the same
   2105 # value.
   2106 ac_cache_corrupted=false
   2107 for ac_var in $ac_precious_vars; do
   2108   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2109   eval ac_new_set=\$ac_env_${ac_var}_set
   2110   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2111   eval ac_new_val=\$ac_env_${ac_var}_value
   2112   case $ac_old_set,$ac_new_set in
   2113     set,)
   2114       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2115 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2116       ac_cache_corrupted=: ;;
   2117     ,set)
   2118       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2119 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2120       ac_cache_corrupted=: ;;
   2121     ,);;
   2122     *)
   2123       if test "x$ac_old_val" != "x$ac_new_val"; then
   2124 	# differences in whitespace do not lead to failure.
   2125 	ac_old_val_w=`echo x $ac_old_val`
   2126 	ac_new_val_w=`echo x $ac_new_val`
   2127 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2128 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2129 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2130 	  ac_cache_corrupted=:
   2131 	else
   2132 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2133 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2134 	  eval $ac_var=\$ac_old_val
   2135 	fi
   2136 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2137 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2138 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2139 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2140       fi;;
   2141   esac
   2142   # Pass precious variables to config.status.
   2143   if test "$ac_new_set" = set; then
   2144     case $ac_new_val in
   2145     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2146     *) ac_arg=$ac_var=$ac_new_val ;;
   2147     esac
   2148     case " $ac_configure_args " in
   2149       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2150       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2151     esac
   2152   fi
   2153 done
   2154 if $ac_cache_corrupted; then
   2155   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2157   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2158 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2159   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2160 fi
   2161 ## -------------------- ##
   2162 ## Main body of script. ##
   2163 ## -------------------- ##
   2164 
   2165 ac_ext=c
   2166 ac_cpp='$CPP $CPPFLAGS'
   2167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2170 
   2171 
   2172 
   2173 ac_config_headers="$ac_config_headers config.h"
   2174 
   2175 
   2176 # Initialize Automake
   2177 am__api_version='1.16'
   2178 
   2179 ac_aux_dir=
   2180 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2181   if test -f "$ac_dir/install-sh"; then
   2182     ac_aux_dir=$ac_dir
   2183     ac_install_sh="$ac_aux_dir/install-sh -c"
   2184     break
   2185   elif test -f "$ac_dir/install.sh"; then
   2186     ac_aux_dir=$ac_dir
   2187     ac_install_sh="$ac_aux_dir/install.sh -c"
   2188     break
   2189   elif test -f "$ac_dir/shtool"; then
   2190     ac_aux_dir=$ac_dir
   2191     ac_install_sh="$ac_aux_dir/shtool install -c"
   2192     break
   2193   fi
   2194 done
   2195 if test -z "$ac_aux_dir"; then
   2196   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2197 fi
   2198 
   2199 # These three variables are undocumented and unsupported,
   2200 # and are intended to be withdrawn in a future Autoconf release.
   2201 # They can cause serious problems if a builder's source tree is in a directory
   2202 # whose full name contains unusual characters.
   2203 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2204 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2205 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2206 
   2207 
   2208 # Find a good install program.  We prefer a C program (faster),
   2209 # so one script is as good as another.  But avoid the broken or
   2210 # incompatible versions:
   2211 # SysV /etc/install, /usr/sbin/install
   2212 # SunOS /usr/etc/install
   2213 # IRIX /sbin/install
   2214 # AIX /bin/install
   2215 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2216 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2217 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2218 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2219 # OS/2's system install, which has a completely different semantic
   2220 # ./install, which can be erroneously created by make from ./install.sh.
   2221 # Reject install programs that cannot install multiple files.
   2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2223 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2224 if test -z "$INSTALL"; then
   2225 if ${ac_cv_path_install+:} false; then :
   2226   $as_echo_n "(cached) " >&6
   2227 else
   2228   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2229 for as_dir in $PATH
   2230 do
   2231   IFS=$as_save_IFS
   2232   test -z "$as_dir" && as_dir=.
   2233     # Account for people who put trailing slashes in PATH elements.
   2234 case $as_dir/ in #((
   2235   ./ | .// | /[cC]/* | \
   2236   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2237   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2238   /usr/ucb/* ) ;;
   2239   *)
   2240     # OSF1 and SCO ODT 3.0 have their own names for install.
   2241     # Don't use installbsd from OSF since it installs stuff as root
   2242     # by default.
   2243     for ac_prog in ginstall scoinst install; do
   2244       for ac_exec_ext in '' $ac_executable_extensions; do
   2245 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2246 	  if test $ac_prog = install &&
   2247 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2248 	    # AIX install.  It has an incompatible calling convention.
   2249 	    :
   2250 	  elif test $ac_prog = install &&
   2251 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2252 	    # program-specific install script used by HP pwplus--don't use.
   2253 	    :
   2254 	  else
   2255 	    rm -rf conftest.one conftest.two conftest.dir
   2256 	    echo one > conftest.one
   2257 	    echo two > conftest.two
   2258 	    mkdir conftest.dir
   2259 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2260 	      test -s conftest.one && test -s conftest.two &&
   2261 	      test -s conftest.dir/conftest.one &&
   2262 	      test -s conftest.dir/conftest.two
   2263 	    then
   2264 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2265 	      break 3
   2266 	    fi
   2267 	  fi
   2268 	fi
   2269       done
   2270     done
   2271     ;;
   2272 esac
   2273 
   2274   done
   2275 IFS=$as_save_IFS
   2276 
   2277 rm -rf conftest.one conftest.two conftest.dir
   2278 
   2279 fi
   2280   if test "${ac_cv_path_install+set}" = set; then
   2281     INSTALL=$ac_cv_path_install
   2282   else
   2283     # As a last resort, use the slow shell script.  Don't cache a
   2284     # value for INSTALL within a source directory, because that will
   2285     # break other packages using the cache if that directory is
   2286     # removed, or if the value is a relative name.
   2287     INSTALL=$ac_install_sh
   2288   fi
   2289 fi
   2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2291 $as_echo "$INSTALL" >&6; }
   2292 
   2293 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2294 # It thinks the first close brace ends the variable substitution.
   2295 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2296 
   2297 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2298 
   2299 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2300 
   2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2302 $as_echo_n "checking whether build environment is sane... " >&6; }
   2303 # Reject unsafe characters in $srcdir or the absolute working directory
   2304 # name.  Accept space and tab only in the latter.
   2305 am_lf='
   2306 '
   2307 case `pwd` in
   2308   *[\\\"\#\$\&\'\`$am_lf]*)
   2309     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2310 esac
   2311 case $srcdir in
   2312   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2313     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2314 esac
   2315 
   2316 # Do 'set' in a subshell so we don't clobber the current shell's
   2317 # arguments.  Must try -L first in case configure is actually a
   2318 # symlink; some systems play weird games with the mod time of symlinks
   2319 # (eg FreeBSD returns the mod time of the symlink's containing
   2320 # directory).
   2321 if (
   2322    am_has_slept=no
   2323    for am_try in 1 2; do
   2324      echo "timestamp, slept: $am_has_slept" > conftest.file
   2325      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2326      if test "$*" = "X"; then
   2327 	# -L didn't work.
   2328 	set X `ls -t "$srcdir/configure" conftest.file`
   2329      fi
   2330      if test "$*" != "X $srcdir/configure conftest.file" \
   2331 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2332 
   2333 	# If neither matched, then we have a broken ls.  This can happen
   2334 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2335 	# broken ls alias from the environment.  This has actually
   2336 	# happened.  Such a system could not be considered "sane".
   2337 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2338   alias in your environment" "$LINENO" 5
   2339      fi
   2340      if test "$2" = conftest.file || test $am_try -eq 2; then
   2341        break
   2342      fi
   2343      # Just in case.
   2344      sleep 1
   2345      am_has_slept=yes
   2346    done
   2347    test "$2" = conftest.file
   2348    )
   2349 then
   2350    # Ok.
   2351    :
   2352 else
   2353    as_fn_error $? "newly created file is older than distributed files!
   2354 Check your system clock" "$LINENO" 5
   2355 fi
   2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2357 $as_echo "yes" >&6; }
   2358 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2359 # generated files are strictly newer.
   2360 am_sleep_pid=
   2361 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2362   ( sleep 1 ) &
   2363   am_sleep_pid=$!
   2364 fi
   2365 
   2366 rm -f conftest.file
   2367 
   2368 test "$program_prefix" != NONE &&
   2369   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2370 # Use a double $ so make ignores it.
   2371 test "$program_suffix" != NONE &&
   2372   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2373 # Double any \ or $.
   2374 # By default was `s,x,x', remove it if useless.
   2375 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2376 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2377 
   2378 # Expand $ac_aux_dir to an absolute path.
   2379 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2380 
   2381 if test x"${MISSING+set}" != xset; then
   2382   case $am_aux_dir in
   2383   *\ * | *\	*)
   2384     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2385   *)
   2386     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2387   esac
   2388 fi
   2389 # Use eval to expand $SHELL
   2390 if eval "$MISSING --is-lightweight"; then
   2391   am_missing_run="$MISSING "
   2392 else
   2393   am_missing_run=
   2394   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2395 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2396 fi
   2397 
   2398 if test x"${install_sh+set}" != xset; then
   2399   case $am_aux_dir in
   2400   *\ * | *\	*)
   2401     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2402   *)
   2403     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2404   esac
   2405 fi
   2406 
   2407 # Installed binaries are usually stripped using 'strip' when the user
   2408 # run "make install-strip".  However 'strip' might not be the right
   2409 # tool to use in cross-compilation environments, therefore Automake
   2410 # will honor the 'STRIP' environment variable to overrule this program.
   2411 if test "$cross_compiling" != no; then
   2412   if test -n "$ac_tool_prefix"; then
   2413   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2414 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2416 $as_echo_n "checking for $ac_word... " >&6; }
   2417 if ${ac_cv_prog_STRIP+:} false; then :
   2418   $as_echo_n "(cached) " >&6
   2419 else
   2420   if test -n "$STRIP"; then
   2421   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2422 else
   2423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2424 for as_dir in $PATH
   2425 do
   2426   IFS=$as_save_IFS
   2427   test -z "$as_dir" && as_dir=.
   2428     for ac_exec_ext in '' $ac_executable_extensions; do
   2429   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2430     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2432     break 2
   2433   fi
   2434 done
   2435   done
   2436 IFS=$as_save_IFS
   2437 
   2438 fi
   2439 fi
   2440 STRIP=$ac_cv_prog_STRIP
   2441 if test -n "$STRIP"; then
   2442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2443 $as_echo "$STRIP" >&6; }
   2444 else
   2445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2446 $as_echo "no" >&6; }
   2447 fi
   2448 
   2449 
   2450 fi
   2451 if test -z "$ac_cv_prog_STRIP"; then
   2452   ac_ct_STRIP=$STRIP
   2453   # Extract the first word of "strip", so it can be a program name with args.
   2454 set dummy strip; ac_word=$2
   2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2456 $as_echo_n "checking for $ac_word... " >&6; }
   2457 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2458   $as_echo_n "(cached) " >&6
   2459 else
   2460   if test -n "$ac_ct_STRIP"; then
   2461   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2462 else
   2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2464 for as_dir in $PATH
   2465 do
   2466   IFS=$as_save_IFS
   2467   test -z "$as_dir" && as_dir=.
   2468     for ac_exec_ext in '' $ac_executable_extensions; do
   2469   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2470     ac_cv_prog_ac_ct_STRIP="strip"
   2471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2472     break 2
   2473   fi
   2474 done
   2475   done
   2476 IFS=$as_save_IFS
   2477 
   2478 fi
   2479 fi
   2480 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2481 if test -n "$ac_ct_STRIP"; then
   2482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2483 $as_echo "$ac_ct_STRIP" >&6; }
   2484 else
   2485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2486 $as_echo "no" >&6; }
   2487 fi
   2488 
   2489   if test "x$ac_ct_STRIP" = x; then
   2490     STRIP=":"
   2491   else
   2492     case $cross_compiling:$ac_tool_warned in
   2493 yes:)
   2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2496 ac_tool_warned=yes ;;
   2497 esac
   2498     STRIP=$ac_ct_STRIP
   2499   fi
   2500 else
   2501   STRIP="$ac_cv_prog_STRIP"
   2502 fi
   2503 
   2504 fi
   2505 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2506 
   2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2508 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2509 if test -z "$MKDIR_P"; then
   2510   if ${ac_cv_path_mkdir+:} false; then :
   2511   $as_echo_n "(cached) " >&6
   2512 else
   2513   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2514 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2515 do
   2516   IFS=$as_save_IFS
   2517   test -z "$as_dir" && as_dir=.
   2518     for ac_prog in mkdir gmkdir; do
   2519 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2520 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2521 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2522 	     'mkdir (GNU coreutils) '* | \
   2523 	     'mkdir (coreutils) '* | \
   2524 	     'mkdir (fileutils) '4.1*)
   2525 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2526 	       break 3;;
   2527 	   esac
   2528 	 done
   2529        done
   2530   done
   2531 IFS=$as_save_IFS
   2532 
   2533 fi
   2534 
   2535   test -d ./--version && rmdir ./--version
   2536   if test "${ac_cv_path_mkdir+set}" = set; then
   2537     MKDIR_P="$ac_cv_path_mkdir -p"
   2538   else
   2539     # As a last resort, use the slow shell script.  Don't cache a
   2540     # value for MKDIR_P within a source directory, because that will
   2541     # break other packages using the cache if that directory is
   2542     # removed, or if the value is a relative name.
   2543     MKDIR_P="$ac_install_sh -d"
   2544   fi
   2545 fi
   2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2547 $as_echo "$MKDIR_P" >&6; }
   2548 
   2549 for ac_prog in gawk mawk nawk awk
   2550 do
   2551   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2552 set dummy $ac_prog; ac_word=$2
   2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2554 $as_echo_n "checking for $ac_word... " >&6; }
   2555 if ${ac_cv_prog_AWK+:} false; then :
   2556   $as_echo_n "(cached) " >&6
   2557 else
   2558   if test -n "$AWK"; then
   2559   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2560 else
   2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2562 for as_dir in $PATH
   2563 do
   2564   IFS=$as_save_IFS
   2565   test -z "$as_dir" && as_dir=.
   2566     for ac_exec_ext in '' $ac_executable_extensions; do
   2567   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2568     ac_cv_prog_AWK="$ac_prog"
   2569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2570     break 2
   2571   fi
   2572 done
   2573   done
   2574 IFS=$as_save_IFS
   2575 
   2576 fi
   2577 fi
   2578 AWK=$ac_cv_prog_AWK
   2579 if test -n "$AWK"; then
   2580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2581 $as_echo "$AWK" >&6; }
   2582 else
   2583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2584 $as_echo "no" >&6; }
   2585 fi
   2586 
   2587 
   2588   test -n "$AWK" && break
   2589 done
   2590 
   2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2592 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2593 set x ${MAKE-make}
   2594 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2595 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2596   $as_echo_n "(cached) " >&6
   2597 else
   2598   cat >conftest.make <<\_ACEOF
   2599 SHELL = /bin/sh
   2600 all:
   2601 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2602 _ACEOF
   2603 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2604 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2605   *@@@%%%=?*=@@@%%%*)
   2606     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2607   *)
   2608     eval ac_cv_prog_make_${ac_make}_set=no;;
   2609 esac
   2610 rm -f conftest.make
   2611 fi
   2612 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2614 $as_echo "yes" >&6; }
   2615   SET_MAKE=
   2616 else
   2617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2618 $as_echo "no" >&6; }
   2619   SET_MAKE="MAKE=${MAKE-make}"
   2620 fi
   2621 
   2622 rm -rf .tst 2>/dev/null
   2623 mkdir .tst 2>/dev/null
   2624 if test -d .tst; then
   2625   am__leading_dot=.
   2626 else
   2627   am__leading_dot=_
   2628 fi
   2629 rmdir .tst 2>/dev/null
   2630 
   2631 # Check whether --enable-silent-rules was given.
   2632 if test "${enable_silent_rules+set}" = set; then :
   2633   enableval=$enable_silent_rules;
   2634 fi
   2635 
   2636 case $enable_silent_rules in # (((
   2637   yes) AM_DEFAULT_VERBOSITY=0;;
   2638    no) AM_DEFAULT_VERBOSITY=1;;
   2639     *) AM_DEFAULT_VERBOSITY=1;;
   2640 esac
   2641 am_make=${MAKE-make}
   2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2643 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2644 if ${am_cv_make_support_nested_variables+:} false; then :
   2645   $as_echo_n "(cached) " >&6
   2646 else
   2647   if $as_echo 'TRUE=$(BAR$(V))
   2648 BAR0=false
   2649 BAR1=true
   2650 V=1
   2651 am__doit:
   2652 	@$(TRUE)
   2653 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2654   am_cv_make_support_nested_variables=yes
   2655 else
   2656   am_cv_make_support_nested_variables=no
   2657 fi
   2658 fi
   2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2660 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2661 if test $am_cv_make_support_nested_variables = yes; then
   2662     AM_V='$(V)'
   2663   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2664 else
   2665   AM_V=$AM_DEFAULT_VERBOSITY
   2666   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2667 fi
   2668 AM_BACKSLASH='\'
   2669 
   2670 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2671   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2672   # is not polluted with repeated "-I."
   2673   am__isrc=' -I$(srcdir)'
   2674   # test to see if srcdir already configured
   2675   if test -f $srcdir/config.status; then
   2676     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2677   fi
   2678 fi
   2679 
   2680 # test whether we have cygpath
   2681 if test -z "$CYGPATH_W"; then
   2682   if (cygpath --version) >/dev/null 2>/dev/null; then
   2683     CYGPATH_W='cygpath -w'
   2684   else
   2685     CYGPATH_W=echo
   2686   fi
   2687 fi
   2688 
   2689 
   2690 # Define the identity of the package.
   2691  PACKAGE='fonttosfnt'
   2692  VERSION='1.2.2'
   2693 
   2694 
   2695 cat >>confdefs.h <<_ACEOF
   2696 #define PACKAGE "$PACKAGE"
   2697 _ACEOF
   2698 
   2699 
   2700 cat >>confdefs.h <<_ACEOF
   2701 #define VERSION "$VERSION"
   2702 _ACEOF
   2703 
   2704 # Some tools Automake needs.
   2705 
   2706 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2707 
   2708 
   2709 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2710 
   2711 
   2712 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2713 
   2714 
   2715 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2716 
   2717 
   2718 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2719 
   2720 # For better backward compatibility.  To be removed once Automake 1.9.x
   2721 # dies out for good.  For more background, see:
   2722 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2723 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2724 mkdir_p='$(MKDIR_P)'
   2725 
   2726 # We need awk for the "check" target (and possibly the TAP driver).  The
   2727 # system "awk" is bad on some platforms.
   2728 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2729 # in the wild :-(  We should find a proper way to deprecate it ...
   2730 AMTAR='$${TAR-tar}'
   2731 
   2732 
   2733 # We'll loop over all known methods to create a tar archive until one works.
   2734 _am_tools='gnutar  pax cpio none'
   2735 
   2736 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2737 
   2738 
   2739 
   2740 
   2741 
   2742 
   2743 # POSIX will say in a future version that running "rm -f" with no argument
   2744 # is OK; and we want to be able to make that assumption in our Makefile
   2745 # recipes.  So use an aggressive probe to check that the usage we want is
   2746 # actually supported "in the wild" to an acceptable degree.
   2747 # See automake bug#10828.
   2748 # To make any issue more visible, cause the running configure to be aborted
   2749 # by default if the 'rm' program in use doesn't match our expectations; the
   2750 # user can still override this though.
   2751 if rm -f && rm -fr && rm -rf; then : OK; else
   2752   cat >&2 <<'END'
   2753 Oops!
   2754 
   2755 Your 'rm' program seems unable to run without file operands specified
   2756 on the command line, even when the '-f' option is present.  This is contrary
   2757 to the behaviour of most rm programs out there, and not conforming with
   2758 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2759 
   2760 Please tell bug-automake@gnu.org about your system, including the value
   2761 of your $PATH and any error possibly output before this message.  This
   2762 can help us improve future automake versions.
   2763 
   2764 END
   2765   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2766     echo 'Configuration will proceed anyway, since you have set the' >&2
   2767     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2768     echo >&2
   2769   else
   2770     cat >&2 <<'END'
   2771 Aborting the configuration process, to ensure you take notice of the issue.
   2772 
   2773 You can download and install GNU coreutils to get an 'rm' implementation
   2774 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   2775 
   2776 If you want to complete the configuration process using your problematic
   2777 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2778 to "yes", and re-run configure.
   2779 
   2780 END
   2781     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2782   fi
   2783 fi
   2784 
   2785 
   2786 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2787 
   2788 
   2789 
   2790 
   2791 
   2792 
   2793 
   2794 
   2795 
   2796 
   2797 
   2798 DEPDIR="${am__leading_dot}deps"
   2799 
   2800 ac_config_commands="$ac_config_commands depfiles"
   2801 
   2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   2803 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   2804 cat > confinc.mk << 'END'
   2805 am__doit:
   2806 	@echo this is the am__doit target >confinc.out
   2807 .PHONY: am__doit
   2808 END
   2809 am__include="#"
   2810 am__quote=
   2811 # BSD make does it like this.
   2812 echo '.include "confinc.mk" # ignored' > confmf.BSD
   2813 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   2814 echo 'include confinc.mk # ignored' > confmf.GNU
   2815 _am_result=no
   2816 for s in GNU BSD; do
   2817   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   2818    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   2819    ac_status=$?
   2820    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2821    (exit $ac_status); }
   2822   case $?:`cat confinc.out 2>/dev/null` in #(
   2823   '0:this is the am__doit target') :
   2824     case $s in #(
   2825   BSD) :
   2826     am__include='.include' am__quote='"' ;; #(
   2827   *) :
   2828     am__include='include' am__quote='' ;;
   2829 esac ;; #(
   2830   *) :
   2831      ;;
   2832 esac
   2833   if test "$am__include" != "#"; then
   2834     _am_result="yes ($s style)"
   2835     break
   2836   fi
   2837 done
   2838 rm -f confinc.* confmf.*
   2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   2840 $as_echo "${_am_result}" >&6; }
   2841 
   2842 # Check whether --enable-dependency-tracking was given.
   2843 if test "${enable_dependency_tracking+set}" = set; then :
   2844   enableval=$enable_dependency_tracking;
   2845 fi
   2846 
   2847 if test "x$enable_dependency_tracking" != xno; then
   2848   am_depcomp="$ac_aux_dir/depcomp"
   2849   AMDEPBACKSLASH='\'
   2850   am__nodep='_no'
   2851 fi
   2852  if test "x$enable_dependency_tracking" != xno; then
   2853   AMDEP_TRUE=
   2854   AMDEP_FALSE='#'
   2855 else
   2856   AMDEP_TRUE='#'
   2857   AMDEP_FALSE=
   2858 fi
   2859 
   2860 
   2861 ac_ext=c
   2862 ac_cpp='$CPP $CPPFLAGS'
   2863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2866 if test -n "$ac_tool_prefix"; then
   2867   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2868 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2870 $as_echo_n "checking for $ac_word... " >&6; }
   2871 if ${ac_cv_prog_CC+:} false; then :
   2872   $as_echo_n "(cached) " >&6
   2873 else
   2874   if test -n "$CC"; then
   2875   ac_cv_prog_CC="$CC" # Let the user override the test.
   2876 else
   2877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2878 for as_dir in $PATH
   2879 do
   2880   IFS=$as_save_IFS
   2881   test -z "$as_dir" && as_dir=.
   2882     for ac_exec_ext in '' $ac_executable_extensions; do
   2883   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2884     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2886     break 2
   2887   fi
   2888 done
   2889   done
   2890 IFS=$as_save_IFS
   2891 
   2892 fi
   2893 fi
   2894 CC=$ac_cv_prog_CC
   2895 if test -n "$CC"; then
   2896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2897 $as_echo "$CC" >&6; }
   2898 else
   2899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2900 $as_echo "no" >&6; }
   2901 fi
   2902 
   2903 
   2904 fi
   2905 if test -z "$ac_cv_prog_CC"; then
   2906   ac_ct_CC=$CC
   2907   # Extract the first word of "gcc", so it can be a program name with args.
   2908 set dummy gcc; ac_word=$2
   2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2910 $as_echo_n "checking for $ac_word... " >&6; }
   2911 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2912   $as_echo_n "(cached) " >&6
   2913 else
   2914   if test -n "$ac_ct_CC"; then
   2915   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2916 else
   2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2918 for as_dir in $PATH
   2919 do
   2920   IFS=$as_save_IFS
   2921   test -z "$as_dir" && as_dir=.
   2922     for ac_exec_ext in '' $ac_executable_extensions; do
   2923   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2924     ac_cv_prog_ac_ct_CC="gcc"
   2925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2926     break 2
   2927   fi
   2928 done
   2929   done
   2930 IFS=$as_save_IFS
   2931 
   2932 fi
   2933 fi
   2934 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2935 if test -n "$ac_ct_CC"; then
   2936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2937 $as_echo "$ac_ct_CC" >&6; }
   2938 else
   2939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2940 $as_echo "no" >&6; }
   2941 fi
   2942 
   2943   if test "x$ac_ct_CC" = x; then
   2944     CC=""
   2945   else
   2946     case $cross_compiling:$ac_tool_warned in
   2947 yes:)
   2948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2950 ac_tool_warned=yes ;;
   2951 esac
   2952     CC=$ac_ct_CC
   2953   fi
   2954 else
   2955   CC="$ac_cv_prog_CC"
   2956 fi
   2957 
   2958 if test -z "$CC"; then
   2959           if test -n "$ac_tool_prefix"; then
   2960     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2961 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2963 $as_echo_n "checking for $ac_word... " >&6; }
   2964 if ${ac_cv_prog_CC+:} false; then :
   2965   $as_echo_n "(cached) " >&6
   2966 else
   2967   if test -n "$CC"; then
   2968   ac_cv_prog_CC="$CC" # Let the user override the test.
   2969 else
   2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2971 for as_dir in $PATH
   2972 do
   2973   IFS=$as_save_IFS
   2974   test -z "$as_dir" && as_dir=.
   2975     for ac_exec_ext in '' $ac_executable_extensions; do
   2976   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2977     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2979     break 2
   2980   fi
   2981 done
   2982   done
   2983 IFS=$as_save_IFS
   2984 
   2985 fi
   2986 fi
   2987 CC=$ac_cv_prog_CC
   2988 if test -n "$CC"; then
   2989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2990 $as_echo "$CC" >&6; }
   2991 else
   2992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2993 $as_echo "no" >&6; }
   2994 fi
   2995 
   2996 
   2997   fi
   2998 fi
   2999 if test -z "$CC"; then
   3000   # Extract the first word of "cc", so it can be a program name with args.
   3001 set dummy cc; ac_word=$2
   3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3003 $as_echo_n "checking for $ac_word... " >&6; }
   3004 if ${ac_cv_prog_CC+:} false; then :
   3005   $as_echo_n "(cached) " >&6
   3006 else
   3007   if test -n "$CC"; then
   3008   ac_cv_prog_CC="$CC" # Let the user override the test.
   3009 else
   3010   ac_prog_rejected=no
   3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3012 for as_dir in $PATH
   3013 do
   3014   IFS=$as_save_IFS
   3015   test -z "$as_dir" && as_dir=.
   3016     for ac_exec_ext in '' $ac_executable_extensions; do
   3017   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3018     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3019        ac_prog_rejected=yes
   3020        continue
   3021      fi
   3022     ac_cv_prog_CC="cc"
   3023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3024     break 2
   3025   fi
   3026 done
   3027   done
   3028 IFS=$as_save_IFS
   3029 
   3030 if test $ac_prog_rejected = yes; then
   3031   # We found a bogon in the path, so make sure we never use it.
   3032   set dummy $ac_cv_prog_CC
   3033   shift
   3034   if test $# != 0; then
   3035     # We chose a different compiler from the bogus one.
   3036     # However, it has the same basename, so the bogon will be chosen
   3037     # first if we set CC to just the basename; use the full file name.
   3038     shift
   3039     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3040   fi
   3041 fi
   3042 fi
   3043 fi
   3044 CC=$ac_cv_prog_CC
   3045 if test -n "$CC"; then
   3046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3047 $as_echo "$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 fi
   3055 if test -z "$CC"; then
   3056   if test -n "$ac_tool_prefix"; then
   3057   for ac_prog in cl.exe
   3058   do
   3059     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3060 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3062 $as_echo_n "checking for $ac_word... " >&6; }
   3063 if ${ac_cv_prog_CC+:} false; then :
   3064   $as_echo_n "(cached) " >&6
   3065 else
   3066   if test -n "$CC"; then
   3067   ac_cv_prog_CC="$CC" # Let the user override the test.
   3068 else
   3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3070 for as_dir in $PATH
   3071 do
   3072   IFS=$as_save_IFS
   3073   test -z "$as_dir" && as_dir=.
   3074     for ac_exec_ext in '' $ac_executable_extensions; do
   3075   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3076     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3078     break 2
   3079   fi
   3080 done
   3081   done
   3082 IFS=$as_save_IFS
   3083 
   3084 fi
   3085 fi
   3086 CC=$ac_cv_prog_CC
   3087 if test -n "$CC"; then
   3088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3089 $as_echo "$CC" >&6; }
   3090 else
   3091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3092 $as_echo "no" >&6; }
   3093 fi
   3094 
   3095 
   3096     test -n "$CC" && break
   3097   done
   3098 fi
   3099 if test -z "$CC"; then
   3100   ac_ct_CC=$CC
   3101   for ac_prog in cl.exe
   3102 do
   3103   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3104 set dummy $ac_prog; ac_word=$2
   3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3106 $as_echo_n "checking for $ac_word... " >&6; }
   3107 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3108   $as_echo_n "(cached) " >&6
   3109 else
   3110   if test -n "$ac_ct_CC"; then
   3111   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3112 else
   3113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3114 for as_dir in $PATH
   3115 do
   3116   IFS=$as_save_IFS
   3117   test -z "$as_dir" && as_dir=.
   3118     for ac_exec_ext in '' $ac_executable_extensions; do
   3119   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3120     ac_cv_prog_ac_ct_CC="$ac_prog"
   3121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3122     break 2
   3123   fi
   3124 done
   3125   done
   3126 IFS=$as_save_IFS
   3127 
   3128 fi
   3129 fi
   3130 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3131 if test -n "$ac_ct_CC"; then
   3132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3133 $as_echo "$ac_ct_CC" >&6; }
   3134 else
   3135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3136 $as_echo "no" >&6; }
   3137 fi
   3138 
   3139 
   3140   test -n "$ac_ct_CC" && break
   3141 done
   3142 
   3143   if test "x$ac_ct_CC" = x; then
   3144     CC=""
   3145   else
   3146     case $cross_compiling:$ac_tool_warned in
   3147 yes:)
   3148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3150 ac_tool_warned=yes ;;
   3151 esac
   3152     CC=$ac_ct_CC
   3153   fi
   3154 fi
   3155 
   3156 fi
   3157 
   3158 
   3159 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3161 as_fn_error $? "no acceptable C compiler found in \$PATH
   3162 See \`config.log' for more details" "$LINENO" 5; }
   3163 
   3164 # Provide some information about the compiler.
   3165 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3166 set X $ac_compile
   3167 ac_compiler=$2
   3168 for ac_option in --version -v -V -qversion; do
   3169   { { ac_try="$ac_compiler $ac_option >&5"
   3170 case "(($ac_try" in
   3171   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3172   *) ac_try_echo=$ac_try;;
   3173 esac
   3174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3175 $as_echo "$ac_try_echo"; } >&5
   3176   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3177   ac_status=$?
   3178   if test -s conftest.err; then
   3179     sed '10a\
   3180 ... rest of stderr output deleted ...
   3181          10q' conftest.err >conftest.er1
   3182     cat conftest.er1 >&5
   3183   fi
   3184   rm -f conftest.er1 conftest.err
   3185   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3186   test $ac_status = 0; }
   3187 done
   3188 
   3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3190 /* end confdefs.h.  */
   3191 
   3192 int
   3193 main ()
   3194 {
   3195 
   3196   ;
   3197   return 0;
   3198 }
   3199 _ACEOF
   3200 ac_clean_files_save=$ac_clean_files
   3201 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3202 # Try to create an executable without -o first, disregard a.out.
   3203 # It will help us diagnose broken compilers, and finding out an intuition
   3204 # of exeext.
   3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3206 $as_echo_n "checking whether the C compiler works... " >&6; }
   3207 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3208 
   3209 # The possible output files:
   3210 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3211 
   3212 ac_rmfiles=
   3213 for ac_file in $ac_files
   3214 do
   3215   case $ac_file in
   3216     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3217     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3218   esac
   3219 done
   3220 rm -f $ac_rmfiles
   3221 
   3222 if { { ac_try="$ac_link_default"
   3223 case "(($ac_try" in
   3224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3225   *) ac_try_echo=$ac_try;;
   3226 esac
   3227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3228 $as_echo "$ac_try_echo"; } >&5
   3229   (eval "$ac_link_default") 2>&5
   3230   ac_status=$?
   3231   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3232   test $ac_status = 0; }; then :
   3233   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3234 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3235 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3236 # so that the user can short-circuit this test for compilers unknown to
   3237 # Autoconf.
   3238 for ac_file in $ac_files ''
   3239 do
   3240   test -f "$ac_file" || continue
   3241   case $ac_file in
   3242     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3243 	;;
   3244     [ab].out )
   3245 	# We found the default executable, but exeext='' is most
   3246 	# certainly right.
   3247 	break;;
   3248     *.* )
   3249 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3250 	then :; else
   3251 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3252 	fi
   3253 	# We set ac_cv_exeext here because the later test for it is not
   3254 	# safe: cross compilers may not add the suffix if given an `-o'
   3255 	# argument, so we may need to know it at that point already.
   3256 	# Even if this section looks crufty: it has the advantage of
   3257 	# actually working.
   3258 	break;;
   3259     * )
   3260 	break;;
   3261   esac
   3262 done
   3263 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3264 
   3265 else
   3266   ac_file=''
   3267 fi
   3268 if test -z "$ac_file"; then :
   3269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3270 $as_echo "no" >&6; }
   3271 $as_echo "$as_me: failed program was:" >&5
   3272 sed 's/^/| /' conftest.$ac_ext >&5
   3273 
   3274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3276 as_fn_error 77 "C compiler cannot create executables
   3277 See \`config.log' for more details" "$LINENO" 5; }
   3278 else
   3279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3280 $as_echo "yes" >&6; }
   3281 fi
   3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3283 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3285 $as_echo "$ac_file" >&6; }
   3286 ac_exeext=$ac_cv_exeext
   3287 
   3288 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3289 ac_clean_files=$ac_clean_files_save
   3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3291 $as_echo_n "checking for suffix of executables... " >&6; }
   3292 if { { ac_try="$ac_link"
   3293 case "(($ac_try" in
   3294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3295   *) ac_try_echo=$ac_try;;
   3296 esac
   3297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3298 $as_echo "$ac_try_echo"; } >&5
   3299   (eval "$ac_link") 2>&5
   3300   ac_status=$?
   3301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3302   test $ac_status = 0; }; then :
   3303   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3304 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3305 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3306 # `rm'.
   3307 for ac_file in conftest.exe conftest conftest.*; do
   3308   test -f "$ac_file" || continue
   3309   case $ac_file in
   3310     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3311     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3312 	  break;;
   3313     * ) break;;
   3314   esac
   3315 done
   3316 else
   3317   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3319 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3320 See \`config.log' for more details" "$LINENO" 5; }
   3321 fi
   3322 rm -f conftest conftest$ac_cv_exeext
   3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3324 $as_echo "$ac_cv_exeext" >&6; }
   3325 
   3326 rm -f conftest.$ac_ext
   3327 EXEEXT=$ac_cv_exeext
   3328 ac_exeext=$EXEEXT
   3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3330 /* end confdefs.h.  */
   3331 #include <stdio.h>
   3332 int
   3333 main ()
   3334 {
   3335 FILE *f = fopen ("conftest.out", "w");
   3336  return ferror (f) || fclose (f) != 0;
   3337 
   3338   ;
   3339   return 0;
   3340 }
   3341 _ACEOF
   3342 ac_clean_files="$ac_clean_files conftest.out"
   3343 # Check that the compiler produces executables we can run.  If not, either
   3344 # the compiler is broken, or we cross compile.
   3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3346 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3347 if test "$cross_compiling" != yes; then
   3348   { { ac_try="$ac_link"
   3349 case "(($ac_try" in
   3350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3351   *) ac_try_echo=$ac_try;;
   3352 esac
   3353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3354 $as_echo "$ac_try_echo"; } >&5
   3355   (eval "$ac_link") 2>&5
   3356   ac_status=$?
   3357   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3358   test $ac_status = 0; }
   3359   if { ac_try='./conftest$ac_cv_exeext'
   3360   { { case "(($ac_try" in
   3361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3362   *) ac_try_echo=$ac_try;;
   3363 esac
   3364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3365 $as_echo "$ac_try_echo"; } >&5
   3366   (eval "$ac_try") 2>&5
   3367   ac_status=$?
   3368   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3369   test $ac_status = 0; }; }; then
   3370     cross_compiling=no
   3371   else
   3372     if test "$cross_compiling" = maybe; then
   3373 	cross_compiling=yes
   3374     else
   3375 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3377 as_fn_error $? "cannot run C compiled programs.
   3378 If you meant to cross compile, use \`--host'.
   3379 See \`config.log' for more details" "$LINENO" 5; }
   3380     fi
   3381   fi
   3382 fi
   3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3384 $as_echo "$cross_compiling" >&6; }
   3385 
   3386 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3387 ac_clean_files=$ac_clean_files_save
   3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3389 $as_echo_n "checking for suffix of object files... " >&6; }
   3390 if ${ac_cv_objext+:} false; then :
   3391   $as_echo_n "(cached) " >&6
   3392 else
   3393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3394 /* end confdefs.h.  */
   3395 
   3396 int
   3397 main ()
   3398 {
   3399 
   3400   ;
   3401   return 0;
   3402 }
   3403 _ACEOF
   3404 rm -f conftest.o conftest.obj
   3405 if { { ac_try="$ac_compile"
   3406 case "(($ac_try" in
   3407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3408   *) ac_try_echo=$ac_try;;
   3409 esac
   3410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3411 $as_echo "$ac_try_echo"; } >&5
   3412   (eval "$ac_compile") 2>&5
   3413   ac_status=$?
   3414   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3415   test $ac_status = 0; }; then :
   3416   for ac_file in conftest.o conftest.obj conftest.*; do
   3417   test -f "$ac_file" || continue;
   3418   case $ac_file in
   3419     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3420     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3421        break;;
   3422   esac
   3423 done
   3424 else
   3425   $as_echo "$as_me: failed program was:" >&5
   3426 sed 's/^/| /' conftest.$ac_ext >&5
   3427 
   3428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3430 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3431 See \`config.log' for more details" "$LINENO" 5; }
   3432 fi
   3433 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3434 fi
   3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3436 $as_echo "$ac_cv_objext" >&6; }
   3437 OBJEXT=$ac_cv_objext
   3438 ac_objext=$OBJEXT
   3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3440 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3441 if ${ac_cv_c_compiler_gnu+:} false; then :
   3442   $as_echo_n "(cached) " >&6
   3443 else
   3444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3445 /* end confdefs.h.  */
   3446 
   3447 int
   3448 main ()
   3449 {
   3450 #ifndef __GNUC__
   3451        choke me
   3452 #endif
   3453 
   3454   ;
   3455   return 0;
   3456 }
   3457 _ACEOF
   3458 if ac_fn_c_try_compile "$LINENO"; then :
   3459   ac_compiler_gnu=yes
   3460 else
   3461   ac_compiler_gnu=no
   3462 fi
   3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3464 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3465 
   3466 fi
   3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3468 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3469 if test $ac_compiler_gnu = yes; then
   3470   GCC=yes
   3471 else
   3472   GCC=
   3473 fi
   3474 ac_test_CFLAGS=${CFLAGS+set}
   3475 ac_save_CFLAGS=$CFLAGS
   3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3477 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3478 if ${ac_cv_prog_cc_g+:} false; then :
   3479   $as_echo_n "(cached) " >&6
   3480 else
   3481   ac_save_c_werror_flag=$ac_c_werror_flag
   3482    ac_c_werror_flag=yes
   3483    ac_cv_prog_cc_g=no
   3484    CFLAGS="-g"
   3485    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3486 /* end confdefs.h.  */
   3487 
   3488 int
   3489 main ()
   3490 {
   3491 
   3492   ;
   3493   return 0;
   3494 }
   3495 _ACEOF
   3496 if ac_fn_c_try_compile "$LINENO"; then :
   3497   ac_cv_prog_cc_g=yes
   3498 else
   3499   CFLAGS=""
   3500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3501 /* end confdefs.h.  */
   3502 
   3503 int
   3504 main ()
   3505 {
   3506 
   3507   ;
   3508   return 0;
   3509 }
   3510 _ACEOF
   3511 if ac_fn_c_try_compile "$LINENO"; then :
   3512 
   3513 else
   3514   ac_c_werror_flag=$ac_save_c_werror_flag
   3515 	 CFLAGS="-g"
   3516 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3517 /* end confdefs.h.  */
   3518 
   3519 int
   3520 main ()
   3521 {
   3522 
   3523   ;
   3524   return 0;
   3525 }
   3526 _ACEOF
   3527 if ac_fn_c_try_compile "$LINENO"; then :
   3528   ac_cv_prog_cc_g=yes
   3529 fi
   3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3531 fi
   3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3533 fi
   3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3535    ac_c_werror_flag=$ac_save_c_werror_flag
   3536 fi
   3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3538 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3539 if test "$ac_test_CFLAGS" = set; then
   3540   CFLAGS=$ac_save_CFLAGS
   3541 elif test $ac_cv_prog_cc_g = yes; then
   3542   if test "$GCC" = yes; then
   3543     CFLAGS="-g -O2"
   3544   else
   3545     CFLAGS="-g"
   3546   fi
   3547 else
   3548   if test "$GCC" = yes; then
   3549     CFLAGS="-O2"
   3550   else
   3551     CFLAGS=
   3552   fi
   3553 fi
   3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3555 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3556 if ${ac_cv_prog_cc_c89+:} false; then :
   3557   $as_echo_n "(cached) " >&6
   3558 else
   3559   ac_cv_prog_cc_c89=no
   3560 ac_save_CC=$CC
   3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3562 /* end confdefs.h.  */
   3563 #include <stdarg.h>
   3564 #include <stdio.h>
   3565 struct stat;
   3566 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3567 struct buf { int x; };
   3568 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3569 static char *e (p, i)
   3570      char **p;
   3571      int i;
   3572 {
   3573   return p[i];
   3574 }
   3575 static char *f (char * (*g) (char **, int), char **p, ...)
   3576 {
   3577   char *s;
   3578   va_list v;
   3579   va_start (v,p);
   3580   s = g (p, va_arg (v,int));
   3581   va_end (v);
   3582   return s;
   3583 }
   3584 
   3585 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3586    function prototypes and stuff, but not '\xHH' hex character constants.
   3587    These don't provoke an error unfortunately, instead are silently treated
   3588    as 'x'.  The following induces an error, until -std is added to get
   3589    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3590    array size at least.  It's necessary to write '\x00'==0 to get something
   3591    that's true only with -std.  */
   3592 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3593 
   3594 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3595    inside strings and character constants.  */
   3596 #define FOO(x) 'x'
   3597 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3598 
   3599 int test (int i, double x);
   3600 struct s1 {int (*f) (int a);};
   3601 struct s2 {int (*f) (double a);};
   3602 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3603 int argc;
   3604 char **argv;
   3605 int
   3606 main ()
   3607 {
   3608 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3609   ;
   3610   return 0;
   3611 }
   3612 _ACEOF
   3613 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3614 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3615 do
   3616   CC="$ac_save_CC $ac_arg"
   3617   if ac_fn_c_try_compile "$LINENO"; then :
   3618   ac_cv_prog_cc_c89=$ac_arg
   3619 fi
   3620 rm -f core conftest.err conftest.$ac_objext
   3621   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3622 done
   3623 rm -f conftest.$ac_ext
   3624 CC=$ac_save_CC
   3625 
   3626 fi
   3627 # AC_CACHE_VAL
   3628 case "x$ac_cv_prog_cc_c89" in
   3629   x)
   3630     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3631 $as_echo "none needed" >&6; } ;;
   3632   xno)
   3633     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3634 $as_echo "unsupported" >&6; } ;;
   3635   *)
   3636     CC="$CC $ac_cv_prog_cc_c89"
   3637     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3638 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3639 esac
   3640 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3641 
   3642 fi
   3643 
   3644 ac_ext=c
   3645 ac_cpp='$CPP $CPPFLAGS'
   3646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3649 
   3650 ac_ext=c
   3651 ac_cpp='$CPP $CPPFLAGS'
   3652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3656 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3657 if ${am_cv_prog_cc_c_o+:} false; then :
   3658   $as_echo_n "(cached) " >&6
   3659 else
   3660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3661 /* end confdefs.h.  */
   3662 
   3663 int
   3664 main ()
   3665 {
   3666 
   3667   ;
   3668   return 0;
   3669 }
   3670 _ACEOF
   3671   # Make sure it works both with $CC and with simple cc.
   3672   # Following AC_PROG_CC_C_O, we do the test twice because some
   3673   # compilers refuse to overwrite an existing .o file with -o,
   3674   # though they will create one.
   3675   am_cv_prog_cc_c_o=yes
   3676   for am_i in 1 2; do
   3677     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3678    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3679    ac_status=$?
   3680    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3681    (exit $ac_status); } \
   3682          && test -f conftest2.$ac_objext; then
   3683       : OK
   3684     else
   3685       am_cv_prog_cc_c_o=no
   3686       break
   3687     fi
   3688   done
   3689   rm -f core conftest*
   3690   unset am_i
   3691 fi
   3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3693 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3694 if test "$am_cv_prog_cc_c_o" != yes; then
   3695    # Losing compiler, so override with the script.
   3696    # FIXME: It is wrong to rewrite CC.
   3697    # But if we don't then we get into trouble of one sort or another.
   3698    # A longer-term fix would be to have automake use am__CC in this case,
   3699    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3700    CC="$am_aux_dir/compile $CC"
   3701 fi
   3702 ac_ext=c
   3703 ac_cpp='$CPP $CPPFLAGS'
   3704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3707 
   3708 
   3709 depcc="$CC"   am_compiler_list=
   3710 
   3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3712 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3713 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3714   $as_echo_n "(cached) " >&6
   3715 else
   3716   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3717   # We make a subdir and do the tests there.  Otherwise we can end up
   3718   # making bogus files that we don't know about and never remove.  For
   3719   # instance it was reported that on HP-UX the gcc test will end up
   3720   # making a dummy file named 'D' -- because '-MD' means "put the output
   3721   # in D".
   3722   rm -rf conftest.dir
   3723   mkdir conftest.dir
   3724   # Copy depcomp to subdir because otherwise we won't find it if we're
   3725   # using a relative directory.
   3726   cp "$am_depcomp" conftest.dir
   3727   cd conftest.dir
   3728   # We will build objects and dependencies in a subdirectory because
   3729   # it helps to detect inapplicable dependency modes.  For instance
   3730   # both Tru64's cc and ICC support -MD to output dependencies as a
   3731   # side effect of compilation, but ICC will put the dependencies in
   3732   # the current directory while Tru64 will put them in the object
   3733   # directory.
   3734   mkdir sub
   3735 
   3736   am_cv_CC_dependencies_compiler_type=none
   3737   if test "$am_compiler_list" = ""; then
   3738      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3739   fi
   3740   am__universal=false
   3741   case " $depcc " in #(
   3742      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3743      esac
   3744 
   3745   for depmode in $am_compiler_list; do
   3746     # Setup a source with many dependencies, because some compilers
   3747     # like to wrap large dependency lists on column 80 (with \), and
   3748     # we should not choose a depcomp mode which is confused by this.
   3749     #
   3750     # We need to recreate these files for each test, as the compiler may
   3751     # overwrite some of them when testing with obscure command lines.
   3752     # This happens at least with the AIX C compiler.
   3753     : > sub/conftest.c
   3754     for i in 1 2 3 4 5 6; do
   3755       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3756       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3757       # Solaris 10 /bin/sh.
   3758       echo '/* dummy */' > sub/conftst$i.h
   3759     done
   3760     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3761 
   3762     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3763     # mode.  It turns out that the SunPro C++ compiler does not properly
   3764     # handle '-M -o', and we need to detect this.  Also, some Intel
   3765     # versions had trouble with output in subdirs.
   3766     am__obj=sub/conftest.${OBJEXT-o}
   3767     am__minus_obj="-o $am__obj"
   3768     case $depmode in
   3769     gcc)
   3770       # This depmode causes a compiler race in universal mode.
   3771       test "$am__universal" = false || continue
   3772       ;;
   3773     nosideeffect)
   3774       # After this tag, mechanisms are not by side-effect, so they'll
   3775       # only be used when explicitly requested.
   3776       if test "x$enable_dependency_tracking" = xyes; then
   3777 	continue
   3778       else
   3779 	break
   3780       fi
   3781       ;;
   3782     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3783       # This compiler won't grok '-c -o', but also, the minuso test has
   3784       # not run yet.  These depmodes are late enough in the game, and
   3785       # so weak that their functioning should not be impacted.
   3786       am__obj=conftest.${OBJEXT-o}
   3787       am__minus_obj=
   3788       ;;
   3789     none) break ;;
   3790     esac
   3791     if depmode=$depmode \
   3792        source=sub/conftest.c object=$am__obj \
   3793        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3794        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3795          >/dev/null 2>conftest.err &&
   3796        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3797        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3798        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3799        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3800       # icc doesn't choke on unknown options, it will just issue warnings
   3801       # or remarks (even with -Werror).  So we grep stderr for any message
   3802       # that says an option was ignored or not supported.
   3803       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3804       #   icc: Command line warning: ignoring option '-M'; no argument required
   3805       # The diagnosis changed in icc 8.0:
   3806       #   icc: Command line remark: option '-MP' not supported
   3807       if (grep 'ignoring option' conftest.err ||
   3808           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3809         am_cv_CC_dependencies_compiler_type=$depmode
   3810         break
   3811       fi
   3812     fi
   3813   done
   3814 
   3815   cd ..
   3816   rm -rf conftest.dir
   3817 else
   3818   am_cv_CC_dependencies_compiler_type=none
   3819 fi
   3820 
   3821 fi
   3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3823 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3824 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3825 
   3826  if
   3827   test "x$enable_dependency_tracking" != xno \
   3828   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3829   am__fastdepCC_TRUE=
   3830   am__fastdepCC_FALSE='#'
   3831 else
   3832   am__fastdepCC_TRUE='#'
   3833   am__fastdepCC_FALSE=
   3834 fi
   3835 
   3836 
   3837    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3838 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3839 if ${ac_cv_prog_cc_c99+:} false; then :
   3840   $as_echo_n "(cached) " >&6
   3841 else
   3842   ac_cv_prog_cc_c99=no
   3843 ac_save_CC=$CC
   3844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3845 /* end confdefs.h.  */
   3846 #include <stdarg.h>
   3847 #include <stdbool.h>
   3848 #include <stdlib.h>
   3849 #include <wchar.h>
   3850 #include <stdio.h>
   3851 
   3852 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3853 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3854 #define showlist(...) puts (#__VA_ARGS__)
   3855 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3856 static void
   3857 test_varargs_macros (void)
   3858 {
   3859   int x = 1234;
   3860   int y = 5678;
   3861   debug ("Flag");
   3862   debug ("X = %d\n", x);
   3863   showlist (The first, second, and third items.);
   3864   report (x>y, "x is %d but y is %d", x, y);
   3865 }
   3866 
   3867 // Check long long types.
   3868 #define BIG64 18446744073709551615ull
   3869 #define BIG32 4294967295ul
   3870 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3871 #if !BIG_OK
   3872   your preprocessor is broken;
   3873 #endif
   3874 #if BIG_OK
   3875 #else
   3876   your preprocessor is broken;
   3877 #endif
   3878 static long long int bignum = -9223372036854775807LL;
   3879 static unsigned long long int ubignum = BIG64;
   3880 
   3881 struct incomplete_array
   3882 {
   3883   int datasize;
   3884   double data[];
   3885 };
   3886 
   3887 struct named_init {
   3888   int number;
   3889   const wchar_t *name;
   3890   double average;
   3891 };
   3892 
   3893 typedef const char *ccp;
   3894 
   3895 static inline int
   3896 test_restrict (ccp restrict text)
   3897 {
   3898   // See if C++-style comments work.
   3899   // Iterate through items via the restricted pointer.
   3900   // Also check for declarations in for loops.
   3901   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3902     continue;
   3903   return 0;
   3904 }
   3905 
   3906 // Check varargs and va_copy.
   3907 static void
   3908 test_varargs (const char *format, ...)
   3909 {
   3910   va_list args;
   3911   va_start (args, format);
   3912   va_list args_copy;
   3913   va_copy (args_copy, args);
   3914 
   3915   const char *str;
   3916   int number;
   3917   float fnumber;
   3918 
   3919   while (*format)
   3920     {
   3921       switch (*format++)
   3922 	{
   3923 	case 's': // string
   3924 	  str = va_arg (args_copy, const char *);
   3925 	  break;
   3926 	case 'd': // int
   3927 	  number = va_arg (args_copy, int);
   3928 	  break;
   3929 	case 'f': // float
   3930 	  fnumber = va_arg (args_copy, double);
   3931 	  break;
   3932 	default:
   3933 	  break;
   3934 	}
   3935     }
   3936   va_end (args_copy);
   3937   va_end (args);
   3938 }
   3939 
   3940 int
   3941 main ()
   3942 {
   3943 
   3944   // Check bool.
   3945   _Bool success = false;
   3946 
   3947   // Check restrict.
   3948   if (test_restrict ("String literal") == 0)
   3949     success = true;
   3950   char *restrict newvar = "Another string";
   3951 
   3952   // Check varargs.
   3953   test_varargs ("s, d' f .", "string", 65, 34.234);
   3954   test_varargs_macros ();
   3955 
   3956   // Check flexible array members.
   3957   struct incomplete_array *ia =
   3958     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3959   ia->datasize = 10;
   3960   for (int i = 0; i < ia->datasize; ++i)
   3961     ia->data[i] = i * 1.234;
   3962 
   3963   // Check named initializers.
   3964   struct named_init ni = {
   3965     .number = 34,
   3966     .name = L"Test wide string",
   3967     .average = 543.34343,
   3968   };
   3969 
   3970   ni.number = 58;
   3971 
   3972   int dynamic_array[ni.number];
   3973   dynamic_array[ni.number - 1] = 543;
   3974 
   3975   // work around unused variable warnings
   3976   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3977 	  || dynamic_array[ni.number - 1] != 543);
   3978 
   3979   ;
   3980   return 0;
   3981 }
   3982 _ACEOF
   3983 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3984 do
   3985   CC="$ac_save_CC $ac_arg"
   3986   if ac_fn_c_try_compile "$LINENO"; then :
   3987   ac_cv_prog_cc_c99=$ac_arg
   3988 fi
   3989 rm -f core conftest.err conftest.$ac_objext
   3990   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3991 done
   3992 rm -f conftest.$ac_ext
   3993 CC=$ac_save_CC
   3994 
   3995 fi
   3996 # AC_CACHE_VAL
   3997 case "x$ac_cv_prog_cc_c99" in
   3998   x)
   3999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4000 $as_echo "none needed" >&6; } ;;
   4001   xno)
   4002     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4003 $as_echo "unsupported" >&6; } ;;
   4004   *)
   4005     CC="$CC $ac_cv_prog_cc_c99"
   4006     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4007 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4008 esac
   4009 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4010 
   4011 fi
   4012 
   4013 
   4014 
   4015 ac_ext=c
   4016 ac_cpp='$CPP $CPPFLAGS'
   4017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4021 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4022 # On Suns, sometimes $CPP names a directory.
   4023 if test -n "$CPP" && test -d "$CPP"; then
   4024   CPP=
   4025 fi
   4026 if test -z "$CPP"; then
   4027   if ${ac_cv_prog_CPP+:} false; then :
   4028   $as_echo_n "(cached) " >&6
   4029 else
   4030       # Double quotes because CPP needs to be expanded
   4031     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4032     do
   4033       ac_preproc_ok=false
   4034 for ac_c_preproc_warn_flag in '' yes
   4035 do
   4036   # Use a header file that comes with gcc, so configuring glibc
   4037   # with a fresh cross-compiler works.
   4038   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4039   # <limits.h> exists even on freestanding compilers.
   4040   # On the NeXT, cc -E runs the code through the compiler's parser,
   4041   # not just through cpp. "Syntax error" is here to catch this case.
   4042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4043 /* end confdefs.h.  */
   4044 #ifdef __STDC__
   4045 # include <limits.h>
   4046 #else
   4047 # include <assert.h>
   4048 #endif
   4049 		     Syntax error
   4050 _ACEOF
   4051 if ac_fn_c_try_cpp "$LINENO"; then :
   4052 
   4053 else
   4054   # Broken: fails on valid input.
   4055 continue
   4056 fi
   4057 rm -f conftest.err conftest.i conftest.$ac_ext
   4058 
   4059   # OK, works on sane cases.  Now check whether nonexistent headers
   4060   # can be detected and how.
   4061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4062 /* end confdefs.h.  */
   4063 #include <ac_nonexistent.h>
   4064 _ACEOF
   4065 if ac_fn_c_try_cpp "$LINENO"; then :
   4066   # Broken: success on invalid input.
   4067 continue
   4068 else
   4069   # Passes both tests.
   4070 ac_preproc_ok=:
   4071 break
   4072 fi
   4073 rm -f conftest.err conftest.i conftest.$ac_ext
   4074 
   4075 done
   4076 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4077 rm -f conftest.i conftest.err conftest.$ac_ext
   4078 if $ac_preproc_ok; then :
   4079   break
   4080 fi
   4081 
   4082     done
   4083     ac_cv_prog_CPP=$CPP
   4084 
   4085 fi
   4086   CPP=$ac_cv_prog_CPP
   4087 else
   4088   ac_cv_prog_CPP=$CPP
   4089 fi
   4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4091 $as_echo "$CPP" >&6; }
   4092 ac_preproc_ok=false
   4093 for ac_c_preproc_warn_flag in '' yes
   4094 do
   4095   # Use a header file that comes with gcc, so configuring glibc
   4096   # with a fresh cross-compiler works.
   4097   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4098   # <limits.h> exists even on freestanding compilers.
   4099   # On the NeXT, cc -E runs the code through the compiler's parser,
   4100   # not just through cpp. "Syntax error" is here to catch this case.
   4101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4102 /* end confdefs.h.  */
   4103 #ifdef __STDC__
   4104 # include <limits.h>
   4105 #else
   4106 # include <assert.h>
   4107 #endif
   4108 		     Syntax error
   4109 _ACEOF
   4110 if ac_fn_c_try_cpp "$LINENO"; then :
   4111 
   4112 else
   4113   # Broken: fails on valid input.
   4114 continue
   4115 fi
   4116 rm -f conftest.err conftest.i conftest.$ac_ext
   4117 
   4118   # OK, works on sane cases.  Now check whether nonexistent headers
   4119   # can be detected and how.
   4120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4121 /* end confdefs.h.  */
   4122 #include <ac_nonexistent.h>
   4123 _ACEOF
   4124 if ac_fn_c_try_cpp "$LINENO"; then :
   4125   # Broken: success on invalid input.
   4126 continue
   4127 else
   4128   # Passes both tests.
   4129 ac_preproc_ok=:
   4130 break
   4131 fi
   4132 rm -f conftest.err conftest.i conftest.$ac_ext
   4133 
   4134 done
   4135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4136 rm -f conftest.i conftest.err conftest.$ac_ext
   4137 if $ac_preproc_ok; then :
   4138 
   4139 else
   4140   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4142 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4143 See \`config.log' for more details" "$LINENO" 5; }
   4144 fi
   4145 
   4146 ac_ext=c
   4147 ac_cpp='$CPP $CPPFLAGS'
   4148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4151 
   4152 
   4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4154 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4155 if ${ac_cv_path_GREP+:} false; then :
   4156   $as_echo_n "(cached) " >&6
   4157 else
   4158   if test -z "$GREP"; then
   4159   ac_path_GREP_found=false
   4160   # Loop through the user's path and test for each of PROGNAME-LIST
   4161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4163 do
   4164   IFS=$as_save_IFS
   4165   test -z "$as_dir" && as_dir=.
   4166     for ac_prog in grep ggrep; do
   4167     for ac_exec_ext in '' $ac_executable_extensions; do
   4168       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4169       as_fn_executable_p "$ac_path_GREP" || continue
   4170 # Check for GNU ac_path_GREP and select it if it is found.
   4171   # Check for GNU $ac_path_GREP
   4172 case `"$ac_path_GREP" --version 2>&1` in
   4173 *GNU*)
   4174   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4175 *)
   4176   ac_count=0
   4177   $as_echo_n 0123456789 >"conftest.in"
   4178   while :
   4179   do
   4180     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4181     mv "conftest.tmp" "conftest.in"
   4182     cp "conftest.in" "conftest.nl"
   4183     $as_echo 'GREP' >> "conftest.nl"
   4184     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4185     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4186     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4187     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4188       # Best one so far, save it but keep looking for a better one
   4189       ac_cv_path_GREP="$ac_path_GREP"
   4190       ac_path_GREP_max=$ac_count
   4191     fi
   4192     # 10*(2^10) chars as input seems more than enough
   4193     test $ac_count -gt 10 && break
   4194   done
   4195   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4196 esac
   4197 
   4198       $ac_path_GREP_found && break 3
   4199     done
   4200   done
   4201   done
   4202 IFS=$as_save_IFS
   4203   if test -z "$ac_cv_path_GREP"; then
   4204     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4205   fi
   4206 else
   4207   ac_cv_path_GREP=$GREP
   4208 fi
   4209 
   4210 fi
   4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4212 $as_echo "$ac_cv_path_GREP" >&6; }
   4213  GREP="$ac_cv_path_GREP"
   4214 
   4215 
   4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4217 $as_echo_n "checking for egrep... " >&6; }
   4218 if ${ac_cv_path_EGREP+:} false; then :
   4219   $as_echo_n "(cached) " >&6
   4220 else
   4221   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4222    then ac_cv_path_EGREP="$GREP -E"
   4223    else
   4224      if test -z "$EGREP"; then
   4225   ac_path_EGREP_found=false
   4226   # Loop through the user's path and test for each of PROGNAME-LIST
   4227   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4228 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4229 do
   4230   IFS=$as_save_IFS
   4231   test -z "$as_dir" && as_dir=.
   4232     for ac_prog in egrep; do
   4233     for ac_exec_ext in '' $ac_executable_extensions; do
   4234       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4235       as_fn_executable_p "$ac_path_EGREP" || continue
   4236 # Check for GNU ac_path_EGREP and select it if it is found.
   4237   # Check for GNU $ac_path_EGREP
   4238 case `"$ac_path_EGREP" --version 2>&1` in
   4239 *GNU*)
   4240   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4241 *)
   4242   ac_count=0
   4243   $as_echo_n 0123456789 >"conftest.in"
   4244   while :
   4245   do
   4246     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4247     mv "conftest.tmp" "conftest.in"
   4248     cp "conftest.in" "conftest.nl"
   4249     $as_echo 'EGREP' >> "conftest.nl"
   4250     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4251     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4252     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4253     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4254       # Best one so far, save it but keep looking for a better one
   4255       ac_cv_path_EGREP="$ac_path_EGREP"
   4256       ac_path_EGREP_max=$ac_count
   4257     fi
   4258     # 10*(2^10) chars as input seems more than enough
   4259     test $ac_count -gt 10 && break
   4260   done
   4261   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4262 esac
   4263 
   4264       $ac_path_EGREP_found && break 3
   4265     done
   4266   done
   4267   done
   4268 IFS=$as_save_IFS
   4269   if test -z "$ac_cv_path_EGREP"; then
   4270     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4271   fi
   4272 else
   4273   ac_cv_path_EGREP=$EGREP
   4274 fi
   4275 
   4276    fi
   4277 fi
   4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4279 $as_echo "$ac_cv_path_EGREP" >&6; }
   4280  EGREP="$ac_cv_path_EGREP"
   4281 
   4282 
   4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4284 $as_echo_n "checking for ANSI C header files... " >&6; }
   4285 if ${ac_cv_header_stdc+:} false; then :
   4286   $as_echo_n "(cached) " >&6
   4287 else
   4288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4289 /* end confdefs.h.  */
   4290 #include <stdlib.h>
   4291 #include <stdarg.h>
   4292 #include <string.h>
   4293 #include <float.h>
   4294 
   4295 int
   4296 main ()
   4297 {
   4298 
   4299   ;
   4300   return 0;
   4301 }
   4302 _ACEOF
   4303 if ac_fn_c_try_compile "$LINENO"; then :
   4304   ac_cv_header_stdc=yes
   4305 else
   4306   ac_cv_header_stdc=no
   4307 fi
   4308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4309 
   4310 if test $ac_cv_header_stdc = yes; then
   4311   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4313 /* end confdefs.h.  */
   4314 #include <string.h>
   4315 
   4316 _ACEOF
   4317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4318   $EGREP "memchr" >/dev/null 2>&1; then :
   4319 
   4320 else
   4321   ac_cv_header_stdc=no
   4322 fi
   4323 rm -f conftest*
   4324 
   4325 fi
   4326 
   4327 if test $ac_cv_header_stdc = yes; then
   4328   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4330 /* end confdefs.h.  */
   4331 #include <stdlib.h>
   4332 
   4333 _ACEOF
   4334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4335   $EGREP "free" >/dev/null 2>&1; then :
   4336 
   4337 else
   4338   ac_cv_header_stdc=no
   4339 fi
   4340 rm -f conftest*
   4341 
   4342 fi
   4343 
   4344 if test $ac_cv_header_stdc = yes; then
   4345   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4346   if test "$cross_compiling" = yes; then :
   4347   :
   4348 else
   4349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4350 /* end confdefs.h.  */
   4351 #include <ctype.h>
   4352 #include <stdlib.h>
   4353 #if ((' ' & 0x0FF) == 0x020)
   4354 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4355 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4356 #else
   4357 # define ISLOWER(c) \
   4358 		   (('a' <= (c) && (c) <= 'i') \
   4359 		     || ('j' <= (c) && (c) <= 'r') \
   4360 		     || ('s' <= (c) && (c) <= 'z'))
   4361 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4362 #endif
   4363 
   4364 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4365 int
   4366 main ()
   4367 {
   4368   int i;
   4369   for (i = 0; i < 256; i++)
   4370     if (XOR (islower (i), ISLOWER (i))
   4371 	|| toupper (i) != TOUPPER (i))
   4372       return 2;
   4373   return 0;
   4374 }
   4375 _ACEOF
   4376 if ac_fn_c_try_run "$LINENO"; then :
   4377 
   4378 else
   4379   ac_cv_header_stdc=no
   4380 fi
   4381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4382   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4383 fi
   4384 
   4385 fi
   4386 fi
   4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4388 $as_echo "$ac_cv_header_stdc" >&6; }
   4389 if test $ac_cv_header_stdc = yes; then
   4390 
   4391 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4392 
   4393 fi
   4394 
   4395 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4396 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4397 		  inttypes.h stdint.h unistd.h
   4398 do :
   4399   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4400 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4401 "
   4402 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4403   cat >>confdefs.h <<_ACEOF
   4404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4405 _ACEOF
   4406 
   4407 fi
   4408 
   4409 done
   4410 
   4411 
   4412 
   4413 
   4414 
   4415 
   4416 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4417 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4418   CLANGCC="yes"
   4419 else
   4420   CLANGCC="no"
   4421 fi
   4422 
   4423 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4424 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4425   INTELCC="yes"
   4426 else
   4427   INTELCC="no"
   4428 fi
   4429 
   4430 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4431 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4432   SUNCC="yes"
   4433 else
   4434   SUNCC="no"
   4435 fi
   4436 
   4437 
   4438 
   4439 
   4440 
   4441 
   4442 
   4443 
   4444 
   4445 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4446 	if test -n "$ac_tool_prefix"; then
   4447   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4448 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4450 $as_echo_n "checking for $ac_word... " >&6; }
   4451 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4452   $as_echo_n "(cached) " >&6
   4453 else
   4454   case $PKG_CONFIG in
   4455   [\\/]* | ?:[\\/]*)
   4456   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4457   ;;
   4458   *)
   4459   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4460 for as_dir in $PATH
   4461 do
   4462   IFS=$as_save_IFS
   4463   test -z "$as_dir" && as_dir=.
   4464     for ac_exec_ext in '' $ac_executable_extensions; do
   4465   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4466     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4468     break 2
   4469   fi
   4470 done
   4471   done
   4472 IFS=$as_save_IFS
   4473 
   4474   ;;
   4475 esac
   4476 fi
   4477 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4478 if test -n "$PKG_CONFIG"; then
   4479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4480 $as_echo "$PKG_CONFIG" >&6; }
   4481 else
   4482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4483 $as_echo "no" >&6; }
   4484 fi
   4485 
   4486 
   4487 fi
   4488 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4489   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4490   # Extract the first word of "pkg-config", so it can be a program name with args.
   4491 set dummy pkg-config; ac_word=$2
   4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4493 $as_echo_n "checking for $ac_word... " >&6; }
   4494 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4495   $as_echo_n "(cached) " >&6
   4496 else
   4497   case $ac_pt_PKG_CONFIG in
   4498   [\\/]* | ?:[\\/]*)
   4499   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4500   ;;
   4501   *)
   4502   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4503 for as_dir in $PATH
   4504 do
   4505   IFS=$as_save_IFS
   4506   test -z "$as_dir" && as_dir=.
   4507     for ac_exec_ext in '' $ac_executable_extensions; do
   4508   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4509     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4511     break 2
   4512   fi
   4513 done
   4514   done
   4515 IFS=$as_save_IFS
   4516 
   4517   ;;
   4518 esac
   4519 fi
   4520 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4521 if test -n "$ac_pt_PKG_CONFIG"; then
   4522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4523 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4524 else
   4525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4526 $as_echo "no" >&6; }
   4527 fi
   4528 
   4529   if test "x$ac_pt_PKG_CONFIG" = x; then
   4530     PKG_CONFIG=""
   4531   else
   4532     case $cross_compiling:$ac_tool_warned in
   4533 yes:)
   4534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4536 ac_tool_warned=yes ;;
   4537 esac
   4538     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4539   fi
   4540 else
   4541   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4542 fi
   4543 
   4544 fi
   4545 if test -n "$PKG_CONFIG"; then
   4546 	_pkg_min_version=0.9.0
   4547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4548 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4549 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4551 $as_echo "yes" >&6; }
   4552 	else
   4553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4554 $as_echo "no" >&6; }
   4555 		PKG_CONFIG=""
   4556 	fi
   4557 fi
   4558 # Make sure we can run config.sub.
   4559 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4560   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4561 
   4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4563 $as_echo_n "checking build system type... " >&6; }
   4564 if ${ac_cv_build+:} false; then :
   4565   $as_echo_n "(cached) " >&6
   4566 else
   4567   ac_build_alias=$build_alias
   4568 test "x$ac_build_alias" = x &&
   4569   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4570 test "x$ac_build_alias" = x &&
   4571   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4572 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4573   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4574 
   4575 fi
   4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4577 $as_echo "$ac_cv_build" >&6; }
   4578 case $ac_cv_build in
   4579 *-*-*) ;;
   4580 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4581 esac
   4582 build=$ac_cv_build
   4583 ac_save_IFS=$IFS; IFS='-'
   4584 set x $ac_cv_build
   4585 shift
   4586 build_cpu=$1
   4587 build_vendor=$2
   4588 shift; shift
   4589 # Remember, the first character of IFS is used to create $*,
   4590 # except with old shells:
   4591 build_os=$*
   4592 IFS=$ac_save_IFS
   4593 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4594 
   4595 
   4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4597 $as_echo_n "checking host system type... " >&6; }
   4598 if ${ac_cv_host+:} false; then :
   4599   $as_echo_n "(cached) " >&6
   4600 else
   4601   if test "x$host_alias" = x; then
   4602   ac_cv_host=$ac_cv_build
   4603 else
   4604   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4605     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4606 fi
   4607 
   4608 fi
   4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4610 $as_echo "$ac_cv_host" >&6; }
   4611 case $ac_cv_host in
   4612 *-*-*) ;;
   4613 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4614 esac
   4615 host=$ac_cv_host
   4616 ac_save_IFS=$IFS; IFS='-'
   4617 set x $ac_cv_host
   4618 shift
   4619 host_cpu=$1
   4620 host_vendor=$2
   4621 shift; shift
   4622 # Remember, the first character of IFS is used to create $*,
   4623 # except with old shells:
   4624 host_os=$*
   4625 IFS=$ac_save_IFS
   4626 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4627 
   4628 
   4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4630 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4631 if ${ac_cv_path_SED+:} false; then :
   4632   $as_echo_n "(cached) " >&6
   4633 else
   4634             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4635      for ac_i in 1 2 3 4 5 6 7; do
   4636        ac_script="$ac_script$as_nl$ac_script"
   4637      done
   4638      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4639      { ac_script=; unset ac_script;}
   4640      if test -z "$SED"; then
   4641   ac_path_SED_found=false
   4642   # Loop through the user's path and test for each of PROGNAME-LIST
   4643   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4644 for as_dir in $PATH
   4645 do
   4646   IFS=$as_save_IFS
   4647   test -z "$as_dir" && as_dir=.
   4648     for ac_prog in sed gsed; do
   4649     for ac_exec_ext in '' $ac_executable_extensions; do
   4650       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4651       as_fn_executable_p "$ac_path_SED" || continue
   4652 # Check for GNU ac_path_SED and select it if it is found.
   4653   # Check for GNU $ac_path_SED
   4654 case `"$ac_path_SED" --version 2>&1` in
   4655 *GNU*)
   4656   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4657 *)
   4658   ac_count=0
   4659   $as_echo_n 0123456789 >"conftest.in"
   4660   while :
   4661   do
   4662     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4663     mv "conftest.tmp" "conftest.in"
   4664     cp "conftest.in" "conftest.nl"
   4665     $as_echo '' >> "conftest.nl"
   4666     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4667     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4668     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4669     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4670       # Best one so far, save it but keep looking for a better one
   4671       ac_cv_path_SED="$ac_path_SED"
   4672       ac_path_SED_max=$ac_count
   4673     fi
   4674     # 10*(2^10) chars as input seems more than enough
   4675     test $ac_count -gt 10 && break
   4676   done
   4677   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4678 esac
   4679 
   4680       $ac_path_SED_found && break 3
   4681     done
   4682   done
   4683   done
   4684 IFS=$as_save_IFS
   4685   if test -z "$ac_cv_path_SED"; then
   4686     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4687   fi
   4688 else
   4689   ac_cv_path_SED=$SED
   4690 fi
   4691 
   4692 fi
   4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4694 $as_echo "$ac_cv_path_SED" >&6; }
   4695  SED="$ac_cv_path_SED"
   4696   rm -f conftest.sed
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 # Check whether --enable-selective-werror was given.
   4704 if test "${enable_selective_werror+set}" = set; then :
   4705   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4706 else
   4707   SELECTIVE_WERROR=yes
   4708 fi
   4709 
   4710 
   4711 
   4712 
   4713 
   4714 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4715 if test "x$SUNCC" = "xyes"; then
   4716     BASE_CFLAGS="-v"
   4717 else
   4718     BASE_CFLAGS=""
   4719 fi
   4720 
   4721 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4722 
   4723 
   4724 
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 xorg_testset_save_CFLAGS="$CFLAGS"
   4736 
   4737 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4738 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4739 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4740 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4741 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4742   $as_echo_n "(cached) " >&6
   4743 else
   4744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4745 /* end confdefs.h.  */
   4746 int i;
   4747 _ACEOF
   4748 if ac_fn_c_try_compile "$LINENO"; then :
   4749   xorg_cv_cc_flag_unknown_warning_option=yes
   4750 else
   4751   xorg_cv_cc_flag_unknown_warning_option=no
   4752 fi
   4753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4754 fi
   4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4756 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4757 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4758 	CFLAGS="$xorg_testset_save_CFLAGS"
   4759 fi
   4760 
   4761 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4762 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4764 	fi
   4765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4766 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4767 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4768 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4769   $as_echo_n "(cached) " >&6
   4770 else
   4771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4772 /* end confdefs.h.  */
   4773 int i;
   4774 _ACEOF
   4775 if ac_fn_c_try_compile "$LINENO"; then :
   4776   xorg_cv_cc_flag_unused_command_line_argument=yes
   4777 else
   4778   xorg_cv_cc_flag_unused_command_line_argument=no
   4779 fi
   4780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4781 fi
   4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4783 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4784 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4785 	CFLAGS="$xorg_testset_save_CFLAGS"
   4786 fi
   4787 
   4788 found="no"
   4789 
   4790 	if test $found = "no" ; then
   4791 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4792 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4793 		fi
   4794 
   4795 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4796 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4797 		fi
   4798 
   4799 		CFLAGS="$CFLAGS -Wall"
   4800 
   4801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4802 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4803 		cacheid=xorg_cv_cc_flag__Wall
   4804 		if eval \${$cacheid+:} false; then :
   4805   $as_echo_n "(cached) " >&6
   4806 else
   4807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4808 /* end confdefs.h.  */
   4809 int i;
   4810 int
   4811 main ()
   4812 {
   4813 
   4814   ;
   4815   return 0;
   4816 }
   4817 _ACEOF
   4818 if ac_fn_c_try_link "$LINENO"; then :
   4819   eval $cacheid=yes
   4820 else
   4821   eval $cacheid=no
   4822 fi
   4823 rm -f core conftest.err conftest.$ac_objext \
   4824     conftest$ac_exeext conftest.$ac_ext
   4825 fi
   4826 
   4827 
   4828 		CFLAGS="$xorg_testset_save_CFLAGS"
   4829 
   4830 		eval supported=\$$cacheid
   4831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4832 $as_echo "$supported" >&6; }
   4833 		if test "$supported" = "yes" ; then
   4834 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4835 			found="yes"
   4836 		fi
   4837 	fi
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 xorg_testset_save_CFLAGS="$CFLAGS"
   4854 
   4855 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4856 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4858 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4859 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4860   $as_echo_n "(cached) " >&6
   4861 else
   4862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4863 /* end confdefs.h.  */
   4864 int i;
   4865 _ACEOF
   4866 if ac_fn_c_try_compile "$LINENO"; then :
   4867   xorg_cv_cc_flag_unknown_warning_option=yes
   4868 else
   4869   xorg_cv_cc_flag_unknown_warning_option=no
   4870 fi
   4871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4872 fi
   4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4874 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4876 	CFLAGS="$xorg_testset_save_CFLAGS"
   4877 fi
   4878 
   4879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4882 	fi
   4883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4884 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4885 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4886 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4887   $as_echo_n "(cached) " >&6
   4888 else
   4889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4890 /* end confdefs.h.  */
   4891 int i;
   4892 _ACEOF
   4893 if ac_fn_c_try_compile "$LINENO"; then :
   4894   xorg_cv_cc_flag_unused_command_line_argument=yes
   4895 else
   4896   xorg_cv_cc_flag_unused_command_line_argument=no
   4897 fi
   4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4899 fi
   4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4901 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4902 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4903 	CFLAGS="$xorg_testset_save_CFLAGS"
   4904 fi
   4905 
   4906 found="no"
   4907 
   4908 	if test $found = "no" ; then
   4909 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4910 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4911 		fi
   4912 
   4913 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4914 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4915 		fi
   4916 
   4917 		CFLAGS="$CFLAGS -Wpointer-arith"
   4918 
   4919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4920 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4921 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4922 		if eval \${$cacheid+:} false; then :
   4923   $as_echo_n "(cached) " >&6
   4924 else
   4925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4926 /* end confdefs.h.  */
   4927 int i;
   4928 int
   4929 main ()
   4930 {
   4931 
   4932   ;
   4933   return 0;
   4934 }
   4935 _ACEOF
   4936 if ac_fn_c_try_link "$LINENO"; then :
   4937   eval $cacheid=yes
   4938 else
   4939   eval $cacheid=no
   4940 fi
   4941 rm -f core conftest.err conftest.$ac_objext \
   4942     conftest$ac_exeext conftest.$ac_ext
   4943 fi
   4944 
   4945 
   4946 		CFLAGS="$xorg_testset_save_CFLAGS"
   4947 
   4948 		eval supported=\$$cacheid
   4949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4950 $as_echo "$supported" >&6; }
   4951 		if test "$supported" = "yes" ; then
   4952 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4953 			found="yes"
   4954 		fi
   4955 	fi
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 xorg_testset_save_CFLAGS="$CFLAGS"
   4972 
   4973 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4975 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4976 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4977 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4978   $as_echo_n "(cached) " >&6
   4979 else
   4980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4981 /* end confdefs.h.  */
   4982 int i;
   4983 _ACEOF
   4984 if ac_fn_c_try_compile "$LINENO"; then :
   4985   xorg_cv_cc_flag_unknown_warning_option=yes
   4986 else
   4987   xorg_cv_cc_flag_unknown_warning_option=no
   4988 fi
   4989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4990 fi
   4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4992 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4993 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4994 	CFLAGS="$xorg_testset_save_CFLAGS"
   4995 fi
   4996 
   4997 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4998 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5000 	fi
   5001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5002 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5003 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5004 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5005   $as_echo_n "(cached) " >&6
   5006 else
   5007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5008 /* end confdefs.h.  */
   5009 int i;
   5010 _ACEOF
   5011 if ac_fn_c_try_compile "$LINENO"; then :
   5012   xorg_cv_cc_flag_unused_command_line_argument=yes
   5013 else
   5014   xorg_cv_cc_flag_unused_command_line_argument=no
   5015 fi
   5016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5017 fi
   5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5019 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5020 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5021 	CFLAGS="$xorg_testset_save_CFLAGS"
   5022 fi
   5023 
   5024 found="no"
   5025 
   5026 	if test $found = "no" ; then
   5027 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5028 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5029 		fi
   5030 
   5031 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5032 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5033 		fi
   5034 
   5035 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5036 
   5037 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5038 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5039 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5040 		if eval \${$cacheid+:} false; then :
   5041   $as_echo_n "(cached) " >&6
   5042 else
   5043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5044 /* end confdefs.h.  */
   5045 int i;
   5046 int
   5047 main ()
   5048 {
   5049 
   5050   ;
   5051   return 0;
   5052 }
   5053 _ACEOF
   5054 if ac_fn_c_try_link "$LINENO"; then :
   5055   eval $cacheid=yes
   5056 else
   5057   eval $cacheid=no
   5058 fi
   5059 rm -f core conftest.err conftest.$ac_objext \
   5060     conftest$ac_exeext conftest.$ac_ext
   5061 fi
   5062 
   5063 
   5064 		CFLAGS="$xorg_testset_save_CFLAGS"
   5065 
   5066 		eval supported=\$$cacheid
   5067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5068 $as_echo "$supported" >&6; }
   5069 		if test "$supported" = "yes" ; then
   5070 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5071 			found="yes"
   5072 		fi
   5073 	fi
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 xorg_testset_save_CFLAGS="$CFLAGS"
   5090 
   5091 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5092 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5093 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5094 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5095 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5096   $as_echo_n "(cached) " >&6
   5097 else
   5098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5099 /* end confdefs.h.  */
   5100 int i;
   5101 _ACEOF
   5102 if ac_fn_c_try_compile "$LINENO"; then :
   5103   xorg_cv_cc_flag_unknown_warning_option=yes
   5104 else
   5105   xorg_cv_cc_flag_unknown_warning_option=no
   5106 fi
   5107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5108 fi
   5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5110 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5111 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5112 	CFLAGS="$xorg_testset_save_CFLAGS"
   5113 fi
   5114 
   5115 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5116 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5117 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5118 	fi
   5119 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5120 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5121 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5122 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5123   $as_echo_n "(cached) " >&6
   5124 else
   5125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5126 /* end confdefs.h.  */
   5127 int i;
   5128 _ACEOF
   5129 if ac_fn_c_try_compile "$LINENO"; then :
   5130   xorg_cv_cc_flag_unused_command_line_argument=yes
   5131 else
   5132   xorg_cv_cc_flag_unused_command_line_argument=no
   5133 fi
   5134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5135 fi
   5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5137 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5138 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5139 	CFLAGS="$xorg_testset_save_CFLAGS"
   5140 fi
   5141 
   5142 found="no"
   5143 
   5144 	if test $found = "no" ; then
   5145 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5146 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5147 		fi
   5148 
   5149 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5150 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5151 		fi
   5152 
   5153 		CFLAGS="$CFLAGS -Wformat=2"
   5154 
   5155 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5156 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5157 		cacheid=xorg_cv_cc_flag__Wformat_2
   5158 		if eval \${$cacheid+:} false; then :
   5159   $as_echo_n "(cached) " >&6
   5160 else
   5161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5162 /* end confdefs.h.  */
   5163 int i;
   5164 int
   5165 main ()
   5166 {
   5167 
   5168   ;
   5169   return 0;
   5170 }
   5171 _ACEOF
   5172 if ac_fn_c_try_link "$LINENO"; then :
   5173   eval $cacheid=yes
   5174 else
   5175   eval $cacheid=no
   5176 fi
   5177 rm -f core conftest.err conftest.$ac_objext \
   5178     conftest$ac_exeext conftest.$ac_ext
   5179 fi
   5180 
   5181 
   5182 		CFLAGS="$xorg_testset_save_CFLAGS"
   5183 
   5184 		eval supported=\$$cacheid
   5185 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5186 $as_echo "$supported" >&6; }
   5187 		if test "$supported" = "yes" ; then
   5188 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5189 			found="yes"
   5190 		fi
   5191 	fi
   5192 
   5193 	if test $found = "no" ; then
   5194 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5195 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5196 		fi
   5197 
   5198 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5199 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5200 		fi
   5201 
   5202 		CFLAGS="$CFLAGS -Wformat"
   5203 
   5204 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5205 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5206 		cacheid=xorg_cv_cc_flag__Wformat
   5207 		if eval \${$cacheid+:} false; then :
   5208   $as_echo_n "(cached) " >&6
   5209 else
   5210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5211 /* end confdefs.h.  */
   5212 int i;
   5213 int
   5214 main ()
   5215 {
   5216 
   5217   ;
   5218   return 0;
   5219 }
   5220 _ACEOF
   5221 if ac_fn_c_try_link "$LINENO"; then :
   5222   eval $cacheid=yes
   5223 else
   5224   eval $cacheid=no
   5225 fi
   5226 rm -f core conftest.err conftest.$ac_objext \
   5227     conftest$ac_exeext conftest.$ac_ext
   5228 fi
   5229 
   5230 
   5231 		CFLAGS="$xorg_testset_save_CFLAGS"
   5232 
   5233 		eval supported=\$$cacheid
   5234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5235 $as_echo "$supported" >&6; }
   5236 		if test "$supported" = "yes" ; then
   5237 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5238 			found="yes"
   5239 		fi
   5240 	fi
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 xorg_testset_save_CFLAGS="$CFLAGS"
   5259 
   5260 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5261 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5262 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5263 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5264 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5265   $as_echo_n "(cached) " >&6
   5266 else
   5267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5268 /* end confdefs.h.  */
   5269 int i;
   5270 _ACEOF
   5271 if ac_fn_c_try_compile "$LINENO"; then :
   5272   xorg_cv_cc_flag_unknown_warning_option=yes
   5273 else
   5274   xorg_cv_cc_flag_unknown_warning_option=no
   5275 fi
   5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5277 fi
   5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5279 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5280 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5281 	CFLAGS="$xorg_testset_save_CFLAGS"
   5282 fi
   5283 
   5284 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5285 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5286 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5287 	fi
   5288 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5289 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5290 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5291 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5292   $as_echo_n "(cached) " >&6
   5293 else
   5294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5295 /* end confdefs.h.  */
   5296 int i;
   5297 _ACEOF
   5298 if ac_fn_c_try_compile "$LINENO"; then :
   5299   xorg_cv_cc_flag_unused_command_line_argument=yes
   5300 else
   5301   xorg_cv_cc_flag_unused_command_line_argument=no
   5302 fi
   5303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5304 fi
   5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5306 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5307 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5308 	CFLAGS="$xorg_testset_save_CFLAGS"
   5309 fi
   5310 
   5311 found="no"
   5312 
   5313 	if test $found = "no" ; then
   5314 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5315 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5316 		fi
   5317 
   5318 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5319 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5320 		fi
   5321 
   5322 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5323 
   5324 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5325 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5326 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5327 		if eval \${$cacheid+:} false; then :
   5328   $as_echo_n "(cached) " >&6
   5329 else
   5330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5331 /* end confdefs.h.  */
   5332 int i;
   5333 int
   5334 main ()
   5335 {
   5336 
   5337   ;
   5338   return 0;
   5339 }
   5340 _ACEOF
   5341 if ac_fn_c_try_link "$LINENO"; then :
   5342   eval $cacheid=yes
   5343 else
   5344   eval $cacheid=no
   5345 fi
   5346 rm -f core conftest.err conftest.$ac_objext \
   5347     conftest$ac_exeext conftest.$ac_ext
   5348 fi
   5349 
   5350 
   5351 		CFLAGS="$xorg_testset_save_CFLAGS"
   5352 
   5353 		eval supported=\$$cacheid
   5354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5355 $as_echo "$supported" >&6; }
   5356 		if test "$supported" = "yes" ; then
   5357 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5358 			found="yes"
   5359 		fi
   5360 	fi
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 xorg_testset_save_CFLAGS="$CFLAGS"
   5377 
   5378 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5379 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5380 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5381 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5382 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5383   $as_echo_n "(cached) " >&6
   5384 else
   5385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5386 /* end confdefs.h.  */
   5387 int i;
   5388 _ACEOF
   5389 if ac_fn_c_try_compile "$LINENO"; then :
   5390   xorg_cv_cc_flag_unknown_warning_option=yes
   5391 else
   5392   xorg_cv_cc_flag_unknown_warning_option=no
   5393 fi
   5394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5395 fi
   5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5397 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5398 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5399 	CFLAGS="$xorg_testset_save_CFLAGS"
   5400 fi
   5401 
   5402 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5403 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5404 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5405 	fi
   5406 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5407 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5408 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5409 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5410   $as_echo_n "(cached) " >&6
   5411 else
   5412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5413 /* end confdefs.h.  */
   5414 int i;
   5415 _ACEOF
   5416 if ac_fn_c_try_compile "$LINENO"; then :
   5417   xorg_cv_cc_flag_unused_command_line_argument=yes
   5418 else
   5419   xorg_cv_cc_flag_unused_command_line_argument=no
   5420 fi
   5421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5422 fi
   5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5424 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5425 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5426 	CFLAGS="$xorg_testset_save_CFLAGS"
   5427 fi
   5428 
   5429 found="no"
   5430 
   5431 	if test $found = "no" ; then
   5432 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5433 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5434 		fi
   5435 
   5436 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5437 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5438 		fi
   5439 
   5440 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5441 
   5442 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5443 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5444 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5445 		if eval \${$cacheid+:} false; then :
   5446   $as_echo_n "(cached) " >&6
   5447 else
   5448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5449 /* end confdefs.h.  */
   5450 int i;
   5451 int
   5452 main ()
   5453 {
   5454 
   5455   ;
   5456   return 0;
   5457 }
   5458 _ACEOF
   5459 if ac_fn_c_try_link "$LINENO"; then :
   5460   eval $cacheid=yes
   5461 else
   5462   eval $cacheid=no
   5463 fi
   5464 rm -f core conftest.err conftest.$ac_objext \
   5465     conftest$ac_exeext conftest.$ac_ext
   5466 fi
   5467 
   5468 
   5469 		CFLAGS="$xorg_testset_save_CFLAGS"
   5470 
   5471 		eval supported=\$$cacheid
   5472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5473 $as_echo "$supported" >&6; }
   5474 		if test "$supported" = "yes" ; then
   5475 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5476 			found="yes"
   5477 		fi
   5478 	fi
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 xorg_testset_save_CFLAGS="$CFLAGS"
   5495 
   5496 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5497 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5498 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5499 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5500 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5501   $as_echo_n "(cached) " >&6
   5502 else
   5503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5504 /* end confdefs.h.  */
   5505 int i;
   5506 _ACEOF
   5507 if ac_fn_c_try_compile "$LINENO"; then :
   5508   xorg_cv_cc_flag_unknown_warning_option=yes
   5509 else
   5510   xorg_cv_cc_flag_unknown_warning_option=no
   5511 fi
   5512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5513 fi
   5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5515 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5516 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5517 	CFLAGS="$xorg_testset_save_CFLAGS"
   5518 fi
   5519 
   5520 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5521 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5522 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5523 	fi
   5524 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5525 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5526 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5527 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5528   $as_echo_n "(cached) " >&6
   5529 else
   5530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5531 /* end confdefs.h.  */
   5532 int i;
   5533 _ACEOF
   5534 if ac_fn_c_try_compile "$LINENO"; then :
   5535   xorg_cv_cc_flag_unused_command_line_argument=yes
   5536 else
   5537   xorg_cv_cc_flag_unused_command_line_argument=no
   5538 fi
   5539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5540 fi
   5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5542 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5543 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5544 	CFLAGS="$xorg_testset_save_CFLAGS"
   5545 fi
   5546 
   5547 found="no"
   5548 
   5549 	if test $found = "no" ; then
   5550 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5551 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5552 		fi
   5553 
   5554 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5555 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5556 		fi
   5557 
   5558 		CFLAGS="$CFLAGS -Wnested-externs"
   5559 
   5560 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5561 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5562 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5563 		if eval \${$cacheid+:} false; then :
   5564   $as_echo_n "(cached) " >&6
   5565 else
   5566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5567 /* end confdefs.h.  */
   5568 int i;
   5569 int
   5570 main ()
   5571 {
   5572 
   5573   ;
   5574   return 0;
   5575 }
   5576 _ACEOF
   5577 if ac_fn_c_try_link "$LINENO"; then :
   5578   eval $cacheid=yes
   5579 else
   5580   eval $cacheid=no
   5581 fi
   5582 rm -f core conftest.err conftest.$ac_objext \
   5583     conftest$ac_exeext conftest.$ac_ext
   5584 fi
   5585 
   5586 
   5587 		CFLAGS="$xorg_testset_save_CFLAGS"
   5588 
   5589 		eval supported=\$$cacheid
   5590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5591 $as_echo "$supported" >&6; }
   5592 		if test "$supported" = "yes" ; then
   5593 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5594 			found="yes"
   5595 		fi
   5596 	fi
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 xorg_testset_save_CFLAGS="$CFLAGS"
   5613 
   5614 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5615 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5617 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5618 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5619   $as_echo_n "(cached) " >&6
   5620 else
   5621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5622 /* end confdefs.h.  */
   5623 int i;
   5624 _ACEOF
   5625 if ac_fn_c_try_compile "$LINENO"; then :
   5626   xorg_cv_cc_flag_unknown_warning_option=yes
   5627 else
   5628   xorg_cv_cc_flag_unknown_warning_option=no
   5629 fi
   5630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5631 fi
   5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5633 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5634 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5635 	CFLAGS="$xorg_testset_save_CFLAGS"
   5636 fi
   5637 
   5638 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5639 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5640 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5641 	fi
   5642 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5643 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5644 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5645 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5646   $as_echo_n "(cached) " >&6
   5647 else
   5648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5649 /* end confdefs.h.  */
   5650 int i;
   5651 _ACEOF
   5652 if ac_fn_c_try_compile "$LINENO"; then :
   5653   xorg_cv_cc_flag_unused_command_line_argument=yes
   5654 else
   5655   xorg_cv_cc_flag_unused_command_line_argument=no
   5656 fi
   5657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5658 fi
   5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5660 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5661 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5662 	CFLAGS="$xorg_testset_save_CFLAGS"
   5663 fi
   5664 
   5665 found="no"
   5666 
   5667 	if test $found = "no" ; then
   5668 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5669 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5670 		fi
   5671 
   5672 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5673 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5674 		fi
   5675 
   5676 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5677 
   5678 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5679 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5680 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5681 		if eval \${$cacheid+:} false; then :
   5682   $as_echo_n "(cached) " >&6
   5683 else
   5684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5685 /* end confdefs.h.  */
   5686 int i;
   5687 int
   5688 main ()
   5689 {
   5690 
   5691   ;
   5692   return 0;
   5693 }
   5694 _ACEOF
   5695 if ac_fn_c_try_link "$LINENO"; then :
   5696   eval $cacheid=yes
   5697 else
   5698   eval $cacheid=no
   5699 fi
   5700 rm -f core conftest.err conftest.$ac_objext \
   5701     conftest$ac_exeext conftest.$ac_ext
   5702 fi
   5703 
   5704 
   5705 		CFLAGS="$xorg_testset_save_CFLAGS"
   5706 
   5707 		eval supported=\$$cacheid
   5708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5709 $as_echo "$supported" >&6; }
   5710 		if test "$supported" = "yes" ; then
   5711 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5712 			found="yes"
   5713 		fi
   5714 	fi
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 xorg_testset_save_CFLAGS="$CFLAGS"
   5731 
   5732 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5733 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5735 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5736 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5737   $as_echo_n "(cached) " >&6
   5738 else
   5739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5740 /* end confdefs.h.  */
   5741 int i;
   5742 _ACEOF
   5743 if ac_fn_c_try_compile "$LINENO"; then :
   5744   xorg_cv_cc_flag_unknown_warning_option=yes
   5745 else
   5746   xorg_cv_cc_flag_unknown_warning_option=no
   5747 fi
   5748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5749 fi
   5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5751 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5752 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5753 	CFLAGS="$xorg_testset_save_CFLAGS"
   5754 fi
   5755 
   5756 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5757 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5758 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5759 	fi
   5760 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5761 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5762 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5763 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5764   $as_echo_n "(cached) " >&6
   5765 else
   5766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5767 /* end confdefs.h.  */
   5768 int i;
   5769 _ACEOF
   5770 if ac_fn_c_try_compile "$LINENO"; then :
   5771   xorg_cv_cc_flag_unused_command_line_argument=yes
   5772 else
   5773   xorg_cv_cc_flag_unused_command_line_argument=no
   5774 fi
   5775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5776 fi
   5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5778 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5779 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5780 	CFLAGS="$xorg_testset_save_CFLAGS"
   5781 fi
   5782 
   5783 found="no"
   5784 
   5785 	if test $found = "no" ; then
   5786 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5787 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5788 		fi
   5789 
   5790 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5791 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5792 		fi
   5793 
   5794 		CFLAGS="$CFLAGS -Wold-style-definition"
   5795 
   5796 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5797 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5798 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5799 		if eval \${$cacheid+:} false; then :
   5800   $as_echo_n "(cached) " >&6
   5801 else
   5802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5803 /* end confdefs.h.  */
   5804 int i;
   5805 int
   5806 main ()
   5807 {
   5808 
   5809   ;
   5810   return 0;
   5811 }
   5812 _ACEOF
   5813 if ac_fn_c_try_link "$LINENO"; then :
   5814   eval $cacheid=yes
   5815 else
   5816   eval $cacheid=no
   5817 fi
   5818 rm -f core conftest.err conftest.$ac_objext \
   5819     conftest$ac_exeext conftest.$ac_ext
   5820 fi
   5821 
   5822 
   5823 		CFLAGS="$xorg_testset_save_CFLAGS"
   5824 
   5825 		eval supported=\$$cacheid
   5826 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5827 $as_echo "$supported" >&6; }
   5828 		if test "$supported" = "yes" ; then
   5829 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5830 			found="yes"
   5831 		fi
   5832 	fi
   5833 
   5834 	if test $found = "no" ; then
   5835 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5836 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5837 		fi
   5838 
   5839 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5840 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5841 		fi
   5842 
   5843 		CFLAGS="$CFLAGS -fd"
   5844 
   5845 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5846 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5847 		cacheid=xorg_cv_cc_flag__fd
   5848 		if eval \${$cacheid+:} false; then :
   5849   $as_echo_n "(cached) " >&6
   5850 else
   5851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5852 /* end confdefs.h.  */
   5853 int i;
   5854 int
   5855 main ()
   5856 {
   5857 
   5858   ;
   5859   return 0;
   5860 }
   5861 _ACEOF
   5862 if ac_fn_c_try_link "$LINENO"; then :
   5863   eval $cacheid=yes
   5864 else
   5865   eval $cacheid=no
   5866 fi
   5867 rm -f core conftest.err conftest.$ac_objext \
   5868     conftest$ac_exeext conftest.$ac_ext
   5869 fi
   5870 
   5871 
   5872 		CFLAGS="$xorg_testset_save_CFLAGS"
   5873 
   5874 		eval supported=\$$cacheid
   5875 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5876 $as_echo "$supported" >&6; }
   5877 		if test "$supported" = "yes" ; then
   5878 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5879 			found="yes"
   5880 		fi
   5881 	fi
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 xorg_testset_save_CFLAGS="$CFLAGS"
   5898 
   5899 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5900 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5901 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5902 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5903 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5904   $as_echo_n "(cached) " >&6
   5905 else
   5906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5907 /* end confdefs.h.  */
   5908 int i;
   5909 _ACEOF
   5910 if ac_fn_c_try_compile "$LINENO"; then :
   5911   xorg_cv_cc_flag_unknown_warning_option=yes
   5912 else
   5913   xorg_cv_cc_flag_unknown_warning_option=no
   5914 fi
   5915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5916 fi
   5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5918 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5919 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5920 	CFLAGS="$xorg_testset_save_CFLAGS"
   5921 fi
   5922 
   5923 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5924 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5925 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5926 	fi
   5927 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5928 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5929 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5930 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5931   $as_echo_n "(cached) " >&6
   5932 else
   5933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5934 /* end confdefs.h.  */
   5935 int i;
   5936 _ACEOF
   5937 if ac_fn_c_try_compile "$LINENO"; then :
   5938   xorg_cv_cc_flag_unused_command_line_argument=yes
   5939 else
   5940   xorg_cv_cc_flag_unused_command_line_argument=no
   5941 fi
   5942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5943 fi
   5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5945 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5946 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5947 	CFLAGS="$xorg_testset_save_CFLAGS"
   5948 fi
   5949 
   5950 found="no"
   5951 
   5952 	if test $found = "no" ; then
   5953 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5955 		fi
   5956 
   5957 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5959 		fi
   5960 
   5961 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5962 
   5963 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5964 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5965 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5966 		if eval \${$cacheid+:} false; then :
   5967   $as_echo_n "(cached) " >&6
   5968 else
   5969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5970 /* end confdefs.h.  */
   5971 int i;
   5972 int
   5973 main ()
   5974 {
   5975 
   5976   ;
   5977   return 0;
   5978 }
   5979 _ACEOF
   5980 if ac_fn_c_try_link "$LINENO"; then :
   5981   eval $cacheid=yes
   5982 else
   5983   eval $cacheid=no
   5984 fi
   5985 rm -f core conftest.err conftest.$ac_objext \
   5986     conftest$ac_exeext conftest.$ac_ext
   5987 fi
   5988 
   5989 
   5990 		CFLAGS="$xorg_testset_save_CFLAGS"
   5991 
   5992 		eval supported=\$$cacheid
   5993 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5994 $as_echo "$supported" >&6; }
   5995 		if test "$supported" = "yes" ; then
   5996 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5997 			found="yes"
   5998 		fi
   5999 	fi
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 # This chunk adds additional warnings that could catch undesired effects.
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 xorg_testset_save_CFLAGS="$CFLAGS"
   6020 
   6021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6024 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6025 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6026   $as_echo_n "(cached) " >&6
   6027 else
   6028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6029 /* end confdefs.h.  */
   6030 int i;
   6031 _ACEOF
   6032 if ac_fn_c_try_compile "$LINENO"; then :
   6033   xorg_cv_cc_flag_unknown_warning_option=yes
   6034 else
   6035   xorg_cv_cc_flag_unknown_warning_option=no
   6036 fi
   6037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6038 fi
   6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6040 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6042 	CFLAGS="$xorg_testset_save_CFLAGS"
   6043 fi
   6044 
   6045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6048 	fi
   6049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6051 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6052 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6053   $as_echo_n "(cached) " >&6
   6054 else
   6055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6056 /* end confdefs.h.  */
   6057 int i;
   6058 _ACEOF
   6059 if ac_fn_c_try_compile "$LINENO"; then :
   6060   xorg_cv_cc_flag_unused_command_line_argument=yes
   6061 else
   6062   xorg_cv_cc_flag_unused_command_line_argument=no
   6063 fi
   6064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6065 fi
   6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6067 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6068 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6069 	CFLAGS="$xorg_testset_save_CFLAGS"
   6070 fi
   6071 
   6072 found="no"
   6073 
   6074 	if test $found = "no" ; then
   6075 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6076 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6077 		fi
   6078 
   6079 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6080 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6081 		fi
   6082 
   6083 		CFLAGS="$CFLAGS -Wunused"
   6084 
   6085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6086 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6087 		cacheid=xorg_cv_cc_flag__Wunused
   6088 		if eval \${$cacheid+:} false; then :
   6089   $as_echo_n "(cached) " >&6
   6090 else
   6091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6092 /* end confdefs.h.  */
   6093 int i;
   6094 int
   6095 main ()
   6096 {
   6097 
   6098   ;
   6099   return 0;
   6100 }
   6101 _ACEOF
   6102 if ac_fn_c_try_link "$LINENO"; then :
   6103   eval $cacheid=yes
   6104 else
   6105   eval $cacheid=no
   6106 fi
   6107 rm -f core conftest.err conftest.$ac_objext \
   6108     conftest$ac_exeext conftest.$ac_ext
   6109 fi
   6110 
   6111 
   6112 		CFLAGS="$xorg_testset_save_CFLAGS"
   6113 
   6114 		eval supported=\$$cacheid
   6115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6116 $as_echo "$supported" >&6; }
   6117 		if test "$supported" = "yes" ; then
   6118 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6119 			found="yes"
   6120 		fi
   6121 	fi
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 xorg_testset_save_CFLAGS="$CFLAGS"
   6138 
   6139 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6140 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6141 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6142 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6143 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6144   $as_echo_n "(cached) " >&6
   6145 else
   6146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6147 /* end confdefs.h.  */
   6148 int i;
   6149 _ACEOF
   6150 if ac_fn_c_try_compile "$LINENO"; then :
   6151   xorg_cv_cc_flag_unknown_warning_option=yes
   6152 else
   6153   xorg_cv_cc_flag_unknown_warning_option=no
   6154 fi
   6155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6156 fi
   6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6158 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6159 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6160 	CFLAGS="$xorg_testset_save_CFLAGS"
   6161 fi
   6162 
   6163 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6164 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6165 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6166 	fi
   6167 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6169 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6170 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6171   $as_echo_n "(cached) " >&6
   6172 else
   6173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6174 /* end confdefs.h.  */
   6175 int i;
   6176 _ACEOF
   6177 if ac_fn_c_try_compile "$LINENO"; then :
   6178   xorg_cv_cc_flag_unused_command_line_argument=yes
   6179 else
   6180   xorg_cv_cc_flag_unused_command_line_argument=no
   6181 fi
   6182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6183 fi
   6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6185 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6186 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6187 	CFLAGS="$xorg_testset_save_CFLAGS"
   6188 fi
   6189 
   6190 found="no"
   6191 
   6192 	if test $found = "no" ; then
   6193 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6195 		fi
   6196 
   6197 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6199 		fi
   6200 
   6201 		CFLAGS="$CFLAGS -Wuninitialized"
   6202 
   6203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6204 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6205 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6206 		if eval \${$cacheid+:} false; then :
   6207   $as_echo_n "(cached) " >&6
   6208 else
   6209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6210 /* end confdefs.h.  */
   6211 int i;
   6212 int
   6213 main ()
   6214 {
   6215 
   6216   ;
   6217   return 0;
   6218 }
   6219 _ACEOF
   6220 if ac_fn_c_try_link "$LINENO"; then :
   6221   eval $cacheid=yes
   6222 else
   6223   eval $cacheid=no
   6224 fi
   6225 rm -f core conftest.err conftest.$ac_objext \
   6226     conftest$ac_exeext conftest.$ac_ext
   6227 fi
   6228 
   6229 
   6230 		CFLAGS="$xorg_testset_save_CFLAGS"
   6231 
   6232 		eval supported=\$$cacheid
   6233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6234 $as_echo "$supported" >&6; }
   6235 		if test "$supported" = "yes" ; then
   6236 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6237 			found="yes"
   6238 		fi
   6239 	fi
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 xorg_testset_save_CFLAGS="$CFLAGS"
   6256 
   6257 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6258 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6259 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6260 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6261 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6262   $as_echo_n "(cached) " >&6
   6263 else
   6264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6265 /* end confdefs.h.  */
   6266 int i;
   6267 _ACEOF
   6268 if ac_fn_c_try_compile "$LINENO"; then :
   6269   xorg_cv_cc_flag_unknown_warning_option=yes
   6270 else
   6271   xorg_cv_cc_flag_unknown_warning_option=no
   6272 fi
   6273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6274 fi
   6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6276 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6277 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6278 	CFLAGS="$xorg_testset_save_CFLAGS"
   6279 fi
   6280 
   6281 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6282 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6283 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6284 	fi
   6285 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6287 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6288 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6289   $as_echo_n "(cached) " >&6
   6290 else
   6291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6292 /* end confdefs.h.  */
   6293 int i;
   6294 _ACEOF
   6295 if ac_fn_c_try_compile "$LINENO"; then :
   6296   xorg_cv_cc_flag_unused_command_line_argument=yes
   6297 else
   6298   xorg_cv_cc_flag_unused_command_line_argument=no
   6299 fi
   6300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6301 fi
   6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6303 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6304 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6305 	CFLAGS="$xorg_testset_save_CFLAGS"
   6306 fi
   6307 
   6308 found="no"
   6309 
   6310 	if test $found = "no" ; then
   6311 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6312 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6313 		fi
   6314 
   6315 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6316 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6317 		fi
   6318 
   6319 		CFLAGS="$CFLAGS -Wshadow"
   6320 
   6321 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6322 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6323 		cacheid=xorg_cv_cc_flag__Wshadow
   6324 		if eval \${$cacheid+:} false; then :
   6325   $as_echo_n "(cached) " >&6
   6326 else
   6327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6328 /* end confdefs.h.  */
   6329 int i;
   6330 int
   6331 main ()
   6332 {
   6333 
   6334   ;
   6335   return 0;
   6336 }
   6337 _ACEOF
   6338 if ac_fn_c_try_link "$LINENO"; then :
   6339   eval $cacheid=yes
   6340 else
   6341   eval $cacheid=no
   6342 fi
   6343 rm -f core conftest.err conftest.$ac_objext \
   6344     conftest$ac_exeext conftest.$ac_ext
   6345 fi
   6346 
   6347 
   6348 		CFLAGS="$xorg_testset_save_CFLAGS"
   6349 
   6350 		eval supported=\$$cacheid
   6351 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6352 $as_echo "$supported" >&6; }
   6353 		if test "$supported" = "yes" ; then
   6354 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6355 			found="yes"
   6356 		fi
   6357 	fi
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 xorg_testset_save_CFLAGS="$CFLAGS"
   6374 
   6375 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6376 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6377 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6378 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6379 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6380   $as_echo_n "(cached) " >&6
   6381 else
   6382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6383 /* end confdefs.h.  */
   6384 int i;
   6385 _ACEOF
   6386 if ac_fn_c_try_compile "$LINENO"; then :
   6387   xorg_cv_cc_flag_unknown_warning_option=yes
   6388 else
   6389   xorg_cv_cc_flag_unknown_warning_option=no
   6390 fi
   6391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6392 fi
   6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6394 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6395 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6396 	CFLAGS="$xorg_testset_save_CFLAGS"
   6397 fi
   6398 
   6399 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6400 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6401 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6402 	fi
   6403 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6405 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6406 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6407   $as_echo_n "(cached) " >&6
   6408 else
   6409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6410 /* end confdefs.h.  */
   6411 int i;
   6412 _ACEOF
   6413 if ac_fn_c_try_compile "$LINENO"; then :
   6414   xorg_cv_cc_flag_unused_command_line_argument=yes
   6415 else
   6416   xorg_cv_cc_flag_unused_command_line_argument=no
   6417 fi
   6418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6419 fi
   6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6421 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6422 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6423 	CFLAGS="$xorg_testset_save_CFLAGS"
   6424 fi
   6425 
   6426 found="no"
   6427 
   6428 	if test $found = "no" ; then
   6429 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6431 		fi
   6432 
   6433 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6435 		fi
   6436 
   6437 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6438 
   6439 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6440 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6441 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6442 		if eval \${$cacheid+:} false; then :
   6443   $as_echo_n "(cached) " >&6
   6444 else
   6445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6446 /* end confdefs.h.  */
   6447 int i;
   6448 int
   6449 main ()
   6450 {
   6451 
   6452   ;
   6453   return 0;
   6454 }
   6455 _ACEOF
   6456 if ac_fn_c_try_link "$LINENO"; then :
   6457   eval $cacheid=yes
   6458 else
   6459   eval $cacheid=no
   6460 fi
   6461 rm -f core conftest.err conftest.$ac_objext \
   6462     conftest$ac_exeext conftest.$ac_ext
   6463 fi
   6464 
   6465 
   6466 		CFLAGS="$xorg_testset_save_CFLAGS"
   6467 
   6468 		eval supported=\$$cacheid
   6469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6470 $as_echo "$supported" >&6; }
   6471 		if test "$supported" = "yes" ; then
   6472 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6473 			found="yes"
   6474 		fi
   6475 	fi
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 xorg_testset_save_CFLAGS="$CFLAGS"
   6492 
   6493 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6494 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6495 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6496 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6497 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6498   $as_echo_n "(cached) " >&6
   6499 else
   6500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6501 /* end confdefs.h.  */
   6502 int i;
   6503 _ACEOF
   6504 if ac_fn_c_try_compile "$LINENO"; then :
   6505   xorg_cv_cc_flag_unknown_warning_option=yes
   6506 else
   6507   xorg_cv_cc_flag_unknown_warning_option=no
   6508 fi
   6509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6510 fi
   6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6512 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6513 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6514 	CFLAGS="$xorg_testset_save_CFLAGS"
   6515 fi
   6516 
   6517 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6518 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6519 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6520 	fi
   6521 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6523 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6524 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6525   $as_echo_n "(cached) " >&6
   6526 else
   6527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6528 /* end confdefs.h.  */
   6529 int i;
   6530 _ACEOF
   6531 if ac_fn_c_try_compile "$LINENO"; then :
   6532   xorg_cv_cc_flag_unused_command_line_argument=yes
   6533 else
   6534   xorg_cv_cc_flag_unused_command_line_argument=no
   6535 fi
   6536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6537 fi
   6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6539 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6540 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6541 	CFLAGS="$xorg_testset_save_CFLAGS"
   6542 fi
   6543 
   6544 found="no"
   6545 
   6546 	if test $found = "no" ; then
   6547 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6548 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6549 		fi
   6550 
   6551 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6552 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6553 		fi
   6554 
   6555 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6556 
   6557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6558 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6559 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6560 		if eval \${$cacheid+:} false; then :
   6561   $as_echo_n "(cached) " >&6
   6562 else
   6563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6564 /* end confdefs.h.  */
   6565 int i;
   6566 int
   6567 main ()
   6568 {
   6569 
   6570   ;
   6571   return 0;
   6572 }
   6573 _ACEOF
   6574 if ac_fn_c_try_link "$LINENO"; then :
   6575   eval $cacheid=yes
   6576 else
   6577   eval $cacheid=no
   6578 fi
   6579 rm -f core conftest.err conftest.$ac_objext \
   6580     conftest$ac_exeext conftest.$ac_ext
   6581 fi
   6582 
   6583 
   6584 		CFLAGS="$xorg_testset_save_CFLAGS"
   6585 
   6586 		eval supported=\$$cacheid
   6587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6588 $as_echo "$supported" >&6; }
   6589 		if test "$supported" = "yes" ; then
   6590 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6591 			found="yes"
   6592 		fi
   6593 	fi
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 xorg_testset_save_CFLAGS="$CFLAGS"
   6610 
   6611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6613 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6614 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6615 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6616   $as_echo_n "(cached) " >&6
   6617 else
   6618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6619 /* end confdefs.h.  */
   6620 int i;
   6621 _ACEOF
   6622 if ac_fn_c_try_compile "$LINENO"; then :
   6623   xorg_cv_cc_flag_unknown_warning_option=yes
   6624 else
   6625   xorg_cv_cc_flag_unknown_warning_option=no
   6626 fi
   6627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6628 fi
   6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6630 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6631 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6632 	CFLAGS="$xorg_testset_save_CFLAGS"
   6633 fi
   6634 
   6635 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6636 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6637 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6638 	fi
   6639 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6641 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6642 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6643   $as_echo_n "(cached) " >&6
   6644 else
   6645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6646 /* end confdefs.h.  */
   6647 int i;
   6648 _ACEOF
   6649 if ac_fn_c_try_compile "$LINENO"; then :
   6650   xorg_cv_cc_flag_unused_command_line_argument=yes
   6651 else
   6652   xorg_cv_cc_flag_unused_command_line_argument=no
   6653 fi
   6654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6655 fi
   6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6657 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6658 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6659 	CFLAGS="$xorg_testset_save_CFLAGS"
   6660 fi
   6661 
   6662 found="no"
   6663 
   6664 	if test $found = "no" ; then
   6665 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6666 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6667 		fi
   6668 
   6669 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6670 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6671 		fi
   6672 
   6673 		CFLAGS="$CFLAGS -Wredundant-decls"
   6674 
   6675 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6676 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6677 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6678 		if eval \${$cacheid+:} false; then :
   6679   $as_echo_n "(cached) " >&6
   6680 else
   6681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6682 /* end confdefs.h.  */
   6683 int i;
   6684 int
   6685 main ()
   6686 {
   6687 
   6688   ;
   6689   return 0;
   6690 }
   6691 _ACEOF
   6692 if ac_fn_c_try_link "$LINENO"; then :
   6693   eval $cacheid=yes
   6694 else
   6695   eval $cacheid=no
   6696 fi
   6697 rm -f core conftest.err conftest.$ac_objext \
   6698     conftest$ac_exeext conftest.$ac_ext
   6699 fi
   6700 
   6701 
   6702 		CFLAGS="$xorg_testset_save_CFLAGS"
   6703 
   6704 		eval supported=\$$cacheid
   6705 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6706 $as_echo "$supported" >&6; }
   6707 		if test "$supported" = "yes" ; then
   6708 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6709 			found="yes"
   6710 		fi
   6711 	fi
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 xorg_testset_save_CFLAGS="$CFLAGS"
   6728 
   6729 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6730 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6731 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6732 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6733 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6734   $as_echo_n "(cached) " >&6
   6735 else
   6736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6737 /* end confdefs.h.  */
   6738 int i;
   6739 _ACEOF
   6740 if ac_fn_c_try_compile "$LINENO"; then :
   6741   xorg_cv_cc_flag_unknown_warning_option=yes
   6742 else
   6743   xorg_cv_cc_flag_unknown_warning_option=no
   6744 fi
   6745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6746 fi
   6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6748 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6749 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6750 	CFLAGS="$xorg_testset_save_CFLAGS"
   6751 fi
   6752 
   6753 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6754 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6755 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6756 	fi
   6757 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6759 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6760 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6761   $as_echo_n "(cached) " >&6
   6762 else
   6763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6764 /* end confdefs.h.  */
   6765 int i;
   6766 _ACEOF
   6767 if ac_fn_c_try_compile "$LINENO"; then :
   6768   xorg_cv_cc_flag_unused_command_line_argument=yes
   6769 else
   6770   xorg_cv_cc_flag_unused_command_line_argument=no
   6771 fi
   6772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6773 fi
   6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6775 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6776 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6777 	CFLAGS="$xorg_testset_save_CFLAGS"
   6778 fi
   6779 
   6780 found="no"
   6781 
   6782 	if test $found = "no" ; then
   6783 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6785 		fi
   6786 
   6787 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6789 		fi
   6790 
   6791 		CFLAGS="$CFLAGS -Wlogical-op"
   6792 
   6793 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6794 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6795 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6796 		if eval \${$cacheid+:} false; then :
   6797   $as_echo_n "(cached) " >&6
   6798 else
   6799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6800 /* end confdefs.h.  */
   6801 int i;
   6802 int
   6803 main ()
   6804 {
   6805 
   6806   ;
   6807   return 0;
   6808 }
   6809 _ACEOF
   6810 if ac_fn_c_try_link "$LINENO"; then :
   6811   eval $cacheid=yes
   6812 else
   6813   eval $cacheid=no
   6814 fi
   6815 rm -f core conftest.err conftest.$ac_objext \
   6816     conftest$ac_exeext conftest.$ac_ext
   6817 fi
   6818 
   6819 
   6820 		CFLAGS="$xorg_testset_save_CFLAGS"
   6821 
   6822 		eval supported=\$$cacheid
   6823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6824 $as_echo "$supported" >&6; }
   6825 		if test "$supported" = "yes" ; then
   6826 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6827 			found="yes"
   6828 		fi
   6829 	fi
   6830 
   6831 
   6832 
   6833 # These are currently disabled because they are noisy.  They will be enabled
   6834 # in the future once the codebase is sufficiently modernized to silence
   6835 # them.  For now, I don't want them to drown out the other warnings.
   6836 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6837 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6838 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6839 
   6840 # Turn some warnings into errors, so we don't accidently get successful builds
   6841 # when there are problems that should be fixed.
   6842 
   6843 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 xorg_testset_save_CFLAGS="$CFLAGS"
   6858 
   6859 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6860 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6861 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6862 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6863 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6864   $as_echo_n "(cached) " >&6
   6865 else
   6866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6867 /* end confdefs.h.  */
   6868 int i;
   6869 _ACEOF
   6870 if ac_fn_c_try_compile "$LINENO"; then :
   6871   xorg_cv_cc_flag_unknown_warning_option=yes
   6872 else
   6873   xorg_cv_cc_flag_unknown_warning_option=no
   6874 fi
   6875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6876 fi
   6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6878 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6879 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6880 	CFLAGS="$xorg_testset_save_CFLAGS"
   6881 fi
   6882 
   6883 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6884 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6885 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6886 	fi
   6887 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6889 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6890 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6891   $as_echo_n "(cached) " >&6
   6892 else
   6893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6894 /* end confdefs.h.  */
   6895 int i;
   6896 _ACEOF
   6897 if ac_fn_c_try_compile "$LINENO"; then :
   6898   xorg_cv_cc_flag_unused_command_line_argument=yes
   6899 else
   6900   xorg_cv_cc_flag_unused_command_line_argument=no
   6901 fi
   6902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6903 fi
   6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6905 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6906 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6907 	CFLAGS="$xorg_testset_save_CFLAGS"
   6908 fi
   6909 
   6910 found="no"
   6911 
   6912 	if test $found = "no" ; then
   6913 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6914 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6915 		fi
   6916 
   6917 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6918 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6919 		fi
   6920 
   6921 		CFLAGS="$CFLAGS -Werror=implicit"
   6922 
   6923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6924 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6925 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6926 		if eval \${$cacheid+:} false; then :
   6927   $as_echo_n "(cached) " >&6
   6928 else
   6929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6930 /* end confdefs.h.  */
   6931 int i;
   6932 int
   6933 main ()
   6934 {
   6935 
   6936   ;
   6937   return 0;
   6938 }
   6939 _ACEOF
   6940 if ac_fn_c_try_link "$LINENO"; then :
   6941   eval $cacheid=yes
   6942 else
   6943   eval $cacheid=no
   6944 fi
   6945 rm -f core conftest.err conftest.$ac_objext \
   6946     conftest$ac_exeext conftest.$ac_ext
   6947 fi
   6948 
   6949 
   6950 		CFLAGS="$xorg_testset_save_CFLAGS"
   6951 
   6952 		eval supported=\$$cacheid
   6953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6954 $as_echo "$supported" >&6; }
   6955 		if test "$supported" = "yes" ; then
   6956 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6957 			found="yes"
   6958 		fi
   6959 	fi
   6960 
   6961 	if test $found = "no" ; then
   6962 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6963 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6964 		fi
   6965 
   6966 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6967 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6968 		fi
   6969 
   6970 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6971 
   6972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6973 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6974 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6975 		if eval \${$cacheid+:} false; then :
   6976   $as_echo_n "(cached) " >&6
   6977 else
   6978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6979 /* end confdefs.h.  */
   6980 int i;
   6981 int
   6982 main ()
   6983 {
   6984 
   6985   ;
   6986   return 0;
   6987 }
   6988 _ACEOF
   6989 if ac_fn_c_try_link "$LINENO"; then :
   6990   eval $cacheid=yes
   6991 else
   6992   eval $cacheid=no
   6993 fi
   6994 rm -f core conftest.err conftest.$ac_objext \
   6995     conftest$ac_exeext conftest.$ac_ext
   6996 fi
   6997 
   6998 
   6999 		CFLAGS="$xorg_testset_save_CFLAGS"
   7000 
   7001 		eval supported=\$$cacheid
   7002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7003 $as_echo "$supported" >&6; }
   7004 		if test "$supported" = "yes" ; then
   7005 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7006 			found="yes"
   7007 		fi
   7008 	fi
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 xorg_testset_save_CFLAGS="$CFLAGS"
   7025 
   7026 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7027 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7029 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7030 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7031   $as_echo_n "(cached) " >&6
   7032 else
   7033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7034 /* end confdefs.h.  */
   7035 int i;
   7036 _ACEOF
   7037 if ac_fn_c_try_compile "$LINENO"; then :
   7038   xorg_cv_cc_flag_unknown_warning_option=yes
   7039 else
   7040   xorg_cv_cc_flag_unknown_warning_option=no
   7041 fi
   7042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7043 fi
   7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7045 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7046 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7047 	CFLAGS="$xorg_testset_save_CFLAGS"
   7048 fi
   7049 
   7050 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7051 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7053 	fi
   7054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7056 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7057 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7058   $as_echo_n "(cached) " >&6
   7059 else
   7060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7061 /* end confdefs.h.  */
   7062 int i;
   7063 _ACEOF
   7064 if ac_fn_c_try_compile "$LINENO"; then :
   7065   xorg_cv_cc_flag_unused_command_line_argument=yes
   7066 else
   7067   xorg_cv_cc_flag_unused_command_line_argument=no
   7068 fi
   7069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7070 fi
   7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7072 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7074 	CFLAGS="$xorg_testset_save_CFLAGS"
   7075 fi
   7076 
   7077 found="no"
   7078 
   7079 	if test $found = "no" ; then
   7080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7082 		fi
   7083 
   7084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7086 		fi
   7087 
   7088 		CFLAGS="$CFLAGS -Werror=nonnull"
   7089 
   7090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7091 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7092 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7093 		if eval \${$cacheid+:} false; then :
   7094   $as_echo_n "(cached) " >&6
   7095 else
   7096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7097 /* end confdefs.h.  */
   7098 int i;
   7099 int
   7100 main ()
   7101 {
   7102 
   7103   ;
   7104   return 0;
   7105 }
   7106 _ACEOF
   7107 if ac_fn_c_try_link "$LINENO"; then :
   7108   eval $cacheid=yes
   7109 else
   7110   eval $cacheid=no
   7111 fi
   7112 rm -f core conftest.err conftest.$ac_objext \
   7113     conftest$ac_exeext conftest.$ac_ext
   7114 fi
   7115 
   7116 
   7117 		CFLAGS="$xorg_testset_save_CFLAGS"
   7118 
   7119 		eval supported=\$$cacheid
   7120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7121 $as_echo "$supported" >&6; }
   7122 		if test "$supported" = "yes" ; then
   7123 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7124 			found="yes"
   7125 		fi
   7126 	fi
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 xorg_testset_save_CFLAGS="$CFLAGS"
   7143 
   7144 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7145 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7146 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7147 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7148 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7149   $as_echo_n "(cached) " >&6
   7150 else
   7151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7152 /* end confdefs.h.  */
   7153 int i;
   7154 _ACEOF
   7155 if ac_fn_c_try_compile "$LINENO"; then :
   7156   xorg_cv_cc_flag_unknown_warning_option=yes
   7157 else
   7158   xorg_cv_cc_flag_unknown_warning_option=no
   7159 fi
   7160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7161 fi
   7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7163 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7164 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7165 	CFLAGS="$xorg_testset_save_CFLAGS"
   7166 fi
   7167 
   7168 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7169 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7170 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7171 	fi
   7172 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7173 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7174 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7175 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7176   $as_echo_n "(cached) " >&6
   7177 else
   7178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7179 /* end confdefs.h.  */
   7180 int i;
   7181 _ACEOF
   7182 if ac_fn_c_try_compile "$LINENO"; then :
   7183   xorg_cv_cc_flag_unused_command_line_argument=yes
   7184 else
   7185   xorg_cv_cc_flag_unused_command_line_argument=no
   7186 fi
   7187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7188 fi
   7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7190 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7192 	CFLAGS="$xorg_testset_save_CFLAGS"
   7193 fi
   7194 
   7195 found="no"
   7196 
   7197 	if test $found = "no" ; then
   7198 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7200 		fi
   7201 
   7202 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7204 		fi
   7205 
   7206 		CFLAGS="$CFLAGS -Werror=init-self"
   7207 
   7208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7209 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7210 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7211 		if eval \${$cacheid+:} false; then :
   7212   $as_echo_n "(cached) " >&6
   7213 else
   7214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7215 /* end confdefs.h.  */
   7216 int i;
   7217 int
   7218 main ()
   7219 {
   7220 
   7221   ;
   7222   return 0;
   7223 }
   7224 _ACEOF
   7225 if ac_fn_c_try_link "$LINENO"; then :
   7226   eval $cacheid=yes
   7227 else
   7228   eval $cacheid=no
   7229 fi
   7230 rm -f core conftest.err conftest.$ac_objext \
   7231     conftest$ac_exeext conftest.$ac_ext
   7232 fi
   7233 
   7234 
   7235 		CFLAGS="$xorg_testset_save_CFLAGS"
   7236 
   7237 		eval supported=\$$cacheid
   7238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7239 $as_echo "$supported" >&6; }
   7240 		if test "$supported" = "yes" ; then
   7241 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7242 			found="yes"
   7243 		fi
   7244 	fi
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 xorg_testset_save_CFLAGS="$CFLAGS"
   7261 
   7262 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7263 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7265 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7266 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7267   $as_echo_n "(cached) " >&6
   7268 else
   7269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7270 /* end confdefs.h.  */
   7271 int i;
   7272 _ACEOF
   7273 if ac_fn_c_try_compile "$LINENO"; then :
   7274   xorg_cv_cc_flag_unknown_warning_option=yes
   7275 else
   7276   xorg_cv_cc_flag_unknown_warning_option=no
   7277 fi
   7278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7279 fi
   7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7281 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7282 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7283 	CFLAGS="$xorg_testset_save_CFLAGS"
   7284 fi
   7285 
   7286 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7287 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7288 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7289 	fi
   7290 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7291 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7292 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7293 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7294   $as_echo_n "(cached) " >&6
   7295 else
   7296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7297 /* end confdefs.h.  */
   7298 int i;
   7299 _ACEOF
   7300 if ac_fn_c_try_compile "$LINENO"; then :
   7301   xorg_cv_cc_flag_unused_command_line_argument=yes
   7302 else
   7303   xorg_cv_cc_flag_unused_command_line_argument=no
   7304 fi
   7305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7306 fi
   7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7308 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7309 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7310 	CFLAGS="$xorg_testset_save_CFLAGS"
   7311 fi
   7312 
   7313 found="no"
   7314 
   7315 	if test $found = "no" ; then
   7316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7318 		fi
   7319 
   7320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7322 		fi
   7323 
   7324 		CFLAGS="$CFLAGS -Werror=main"
   7325 
   7326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7327 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7328 		cacheid=xorg_cv_cc_flag__Werror_main
   7329 		if eval \${$cacheid+:} false; then :
   7330   $as_echo_n "(cached) " >&6
   7331 else
   7332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7333 /* end confdefs.h.  */
   7334 int i;
   7335 int
   7336 main ()
   7337 {
   7338 
   7339   ;
   7340   return 0;
   7341 }
   7342 _ACEOF
   7343 if ac_fn_c_try_link "$LINENO"; then :
   7344   eval $cacheid=yes
   7345 else
   7346   eval $cacheid=no
   7347 fi
   7348 rm -f core conftest.err conftest.$ac_objext \
   7349     conftest$ac_exeext conftest.$ac_ext
   7350 fi
   7351 
   7352 
   7353 		CFLAGS="$xorg_testset_save_CFLAGS"
   7354 
   7355 		eval supported=\$$cacheid
   7356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7357 $as_echo "$supported" >&6; }
   7358 		if test "$supported" = "yes" ; then
   7359 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7360 			found="yes"
   7361 		fi
   7362 	fi
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 xorg_testset_save_CFLAGS="$CFLAGS"
   7379 
   7380 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7381 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7383 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7384 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7385   $as_echo_n "(cached) " >&6
   7386 else
   7387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7388 /* end confdefs.h.  */
   7389 int i;
   7390 _ACEOF
   7391 if ac_fn_c_try_compile "$LINENO"; then :
   7392   xorg_cv_cc_flag_unknown_warning_option=yes
   7393 else
   7394   xorg_cv_cc_flag_unknown_warning_option=no
   7395 fi
   7396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7397 fi
   7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7399 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7400 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7401 	CFLAGS="$xorg_testset_save_CFLAGS"
   7402 fi
   7403 
   7404 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7405 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7406 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7407 	fi
   7408 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7409 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7410 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7411 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7412   $as_echo_n "(cached) " >&6
   7413 else
   7414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7415 /* end confdefs.h.  */
   7416 int i;
   7417 _ACEOF
   7418 if ac_fn_c_try_compile "$LINENO"; then :
   7419   xorg_cv_cc_flag_unused_command_line_argument=yes
   7420 else
   7421   xorg_cv_cc_flag_unused_command_line_argument=no
   7422 fi
   7423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7424 fi
   7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7426 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7428 	CFLAGS="$xorg_testset_save_CFLAGS"
   7429 fi
   7430 
   7431 found="no"
   7432 
   7433 	if test $found = "no" ; then
   7434 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7436 		fi
   7437 
   7438 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7440 		fi
   7441 
   7442 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7443 
   7444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7445 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7446 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7447 		if eval \${$cacheid+:} false; then :
   7448   $as_echo_n "(cached) " >&6
   7449 else
   7450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7451 /* end confdefs.h.  */
   7452 int i;
   7453 int
   7454 main ()
   7455 {
   7456 
   7457   ;
   7458   return 0;
   7459 }
   7460 _ACEOF
   7461 if ac_fn_c_try_link "$LINENO"; then :
   7462   eval $cacheid=yes
   7463 else
   7464   eval $cacheid=no
   7465 fi
   7466 rm -f core conftest.err conftest.$ac_objext \
   7467     conftest$ac_exeext conftest.$ac_ext
   7468 fi
   7469 
   7470 
   7471 		CFLAGS="$xorg_testset_save_CFLAGS"
   7472 
   7473 		eval supported=\$$cacheid
   7474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7475 $as_echo "$supported" >&6; }
   7476 		if test "$supported" = "yes" ; then
   7477 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7478 			found="yes"
   7479 		fi
   7480 	fi
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 xorg_testset_save_CFLAGS="$CFLAGS"
   7497 
   7498 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7499 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7501 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7502 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7503   $as_echo_n "(cached) " >&6
   7504 else
   7505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7506 /* end confdefs.h.  */
   7507 int i;
   7508 _ACEOF
   7509 if ac_fn_c_try_compile "$LINENO"; then :
   7510   xorg_cv_cc_flag_unknown_warning_option=yes
   7511 else
   7512   xorg_cv_cc_flag_unknown_warning_option=no
   7513 fi
   7514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7515 fi
   7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7517 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7518 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7519 	CFLAGS="$xorg_testset_save_CFLAGS"
   7520 fi
   7521 
   7522 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7523 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7524 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7525 	fi
   7526 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7528 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7529 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7530   $as_echo_n "(cached) " >&6
   7531 else
   7532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7533 /* end confdefs.h.  */
   7534 int i;
   7535 _ACEOF
   7536 if ac_fn_c_try_compile "$LINENO"; then :
   7537   xorg_cv_cc_flag_unused_command_line_argument=yes
   7538 else
   7539   xorg_cv_cc_flag_unused_command_line_argument=no
   7540 fi
   7541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7542 fi
   7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7544 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7546 	CFLAGS="$xorg_testset_save_CFLAGS"
   7547 fi
   7548 
   7549 found="no"
   7550 
   7551 	if test $found = "no" ; then
   7552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7554 		fi
   7555 
   7556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7558 		fi
   7559 
   7560 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7561 
   7562 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7563 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7564 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7565 		if eval \${$cacheid+:} false; then :
   7566   $as_echo_n "(cached) " >&6
   7567 else
   7568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7569 /* end confdefs.h.  */
   7570 int i;
   7571 int
   7572 main ()
   7573 {
   7574 
   7575   ;
   7576   return 0;
   7577 }
   7578 _ACEOF
   7579 if ac_fn_c_try_link "$LINENO"; then :
   7580   eval $cacheid=yes
   7581 else
   7582   eval $cacheid=no
   7583 fi
   7584 rm -f core conftest.err conftest.$ac_objext \
   7585     conftest$ac_exeext conftest.$ac_ext
   7586 fi
   7587 
   7588 
   7589 		CFLAGS="$xorg_testset_save_CFLAGS"
   7590 
   7591 		eval supported=\$$cacheid
   7592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7593 $as_echo "$supported" >&6; }
   7594 		if test "$supported" = "yes" ; then
   7595 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7596 			found="yes"
   7597 		fi
   7598 	fi
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 xorg_testset_save_CFLAGS="$CFLAGS"
   7615 
   7616 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7617 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7619 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7620 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7621   $as_echo_n "(cached) " >&6
   7622 else
   7623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7624 /* end confdefs.h.  */
   7625 int i;
   7626 _ACEOF
   7627 if ac_fn_c_try_compile "$LINENO"; then :
   7628   xorg_cv_cc_flag_unknown_warning_option=yes
   7629 else
   7630   xorg_cv_cc_flag_unknown_warning_option=no
   7631 fi
   7632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7633 fi
   7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7635 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7637 	CFLAGS="$xorg_testset_save_CFLAGS"
   7638 fi
   7639 
   7640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7643 	fi
   7644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7646 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7647 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7648   $as_echo_n "(cached) " >&6
   7649 else
   7650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7651 /* end confdefs.h.  */
   7652 int i;
   7653 _ACEOF
   7654 if ac_fn_c_try_compile "$LINENO"; then :
   7655   xorg_cv_cc_flag_unused_command_line_argument=yes
   7656 else
   7657   xorg_cv_cc_flag_unused_command_line_argument=no
   7658 fi
   7659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7660 fi
   7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7662 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7663 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7664 	CFLAGS="$xorg_testset_save_CFLAGS"
   7665 fi
   7666 
   7667 found="no"
   7668 
   7669 	if test $found = "no" ; then
   7670 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7671 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7672 		fi
   7673 
   7674 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7675 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7676 		fi
   7677 
   7678 		CFLAGS="$CFLAGS -Werror=return-type"
   7679 
   7680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7681 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7682 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7683 		if eval \${$cacheid+:} false; then :
   7684   $as_echo_n "(cached) " >&6
   7685 else
   7686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7687 /* end confdefs.h.  */
   7688 int i;
   7689 int
   7690 main ()
   7691 {
   7692 
   7693   ;
   7694   return 0;
   7695 }
   7696 _ACEOF
   7697 if ac_fn_c_try_link "$LINENO"; then :
   7698   eval $cacheid=yes
   7699 else
   7700   eval $cacheid=no
   7701 fi
   7702 rm -f core conftest.err conftest.$ac_objext \
   7703     conftest$ac_exeext conftest.$ac_ext
   7704 fi
   7705 
   7706 
   7707 		CFLAGS="$xorg_testset_save_CFLAGS"
   7708 
   7709 		eval supported=\$$cacheid
   7710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7711 $as_echo "$supported" >&6; }
   7712 		if test "$supported" = "yes" ; then
   7713 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7714 			found="yes"
   7715 		fi
   7716 	fi
   7717 
   7718 	if test $found = "no" ; then
   7719 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7720 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7721 		fi
   7722 
   7723 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7724 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7725 		fi
   7726 
   7727 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7728 
   7729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7730 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7731 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7732 		if eval \${$cacheid+:} false; then :
   7733   $as_echo_n "(cached) " >&6
   7734 else
   7735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7736 /* end confdefs.h.  */
   7737 int i;
   7738 int
   7739 main ()
   7740 {
   7741 
   7742   ;
   7743   return 0;
   7744 }
   7745 _ACEOF
   7746 if ac_fn_c_try_link "$LINENO"; then :
   7747   eval $cacheid=yes
   7748 else
   7749   eval $cacheid=no
   7750 fi
   7751 rm -f core conftest.err conftest.$ac_objext \
   7752     conftest$ac_exeext conftest.$ac_ext
   7753 fi
   7754 
   7755 
   7756 		CFLAGS="$xorg_testset_save_CFLAGS"
   7757 
   7758 		eval supported=\$$cacheid
   7759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7760 $as_echo "$supported" >&6; }
   7761 		if test "$supported" = "yes" ; then
   7762 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7763 			found="yes"
   7764 		fi
   7765 	fi
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 xorg_testset_save_CFLAGS="$CFLAGS"
   7782 
   7783 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7784 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7786 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7787 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7788   $as_echo_n "(cached) " >&6
   7789 else
   7790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7791 /* end confdefs.h.  */
   7792 int i;
   7793 _ACEOF
   7794 if ac_fn_c_try_compile "$LINENO"; then :
   7795   xorg_cv_cc_flag_unknown_warning_option=yes
   7796 else
   7797   xorg_cv_cc_flag_unknown_warning_option=no
   7798 fi
   7799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7800 fi
   7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7802 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7803 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7804 	CFLAGS="$xorg_testset_save_CFLAGS"
   7805 fi
   7806 
   7807 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7808 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7809 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7810 	fi
   7811 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7813 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7814 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7815   $as_echo_n "(cached) " >&6
   7816 else
   7817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7818 /* end confdefs.h.  */
   7819 int i;
   7820 _ACEOF
   7821 if ac_fn_c_try_compile "$LINENO"; then :
   7822   xorg_cv_cc_flag_unused_command_line_argument=yes
   7823 else
   7824   xorg_cv_cc_flag_unused_command_line_argument=no
   7825 fi
   7826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7827 fi
   7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7829 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7830 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7831 	CFLAGS="$xorg_testset_save_CFLAGS"
   7832 fi
   7833 
   7834 found="no"
   7835 
   7836 	if test $found = "no" ; then
   7837 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7838 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7839 		fi
   7840 
   7841 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7842 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7843 		fi
   7844 
   7845 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7846 
   7847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7848 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7849 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7850 		if eval \${$cacheid+:} false; then :
   7851   $as_echo_n "(cached) " >&6
   7852 else
   7853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7854 /* end confdefs.h.  */
   7855 int i;
   7856 int
   7857 main ()
   7858 {
   7859 
   7860   ;
   7861   return 0;
   7862 }
   7863 _ACEOF
   7864 if ac_fn_c_try_link "$LINENO"; then :
   7865   eval $cacheid=yes
   7866 else
   7867   eval $cacheid=no
   7868 fi
   7869 rm -f core conftest.err conftest.$ac_objext \
   7870     conftest$ac_exeext conftest.$ac_ext
   7871 fi
   7872 
   7873 
   7874 		CFLAGS="$xorg_testset_save_CFLAGS"
   7875 
   7876 		eval supported=\$$cacheid
   7877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7878 $as_echo "$supported" >&6; }
   7879 		if test "$supported" = "yes" ; then
   7880 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7881 			found="yes"
   7882 		fi
   7883 	fi
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 xorg_testset_save_CFLAGS="$CFLAGS"
   7900 
   7901 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7902 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7904 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7905 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7906   $as_echo_n "(cached) " >&6
   7907 else
   7908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7909 /* end confdefs.h.  */
   7910 int i;
   7911 _ACEOF
   7912 if ac_fn_c_try_compile "$LINENO"; then :
   7913   xorg_cv_cc_flag_unknown_warning_option=yes
   7914 else
   7915   xorg_cv_cc_flag_unknown_warning_option=no
   7916 fi
   7917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7918 fi
   7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7920 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7922 	CFLAGS="$xorg_testset_save_CFLAGS"
   7923 fi
   7924 
   7925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7928 	fi
   7929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7931 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7932 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7933   $as_echo_n "(cached) " >&6
   7934 else
   7935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7936 /* end confdefs.h.  */
   7937 int i;
   7938 _ACEOF
   7939 if ac_fn_c_try_compile "$LINENO"; then :
   7940   xorg_cv_cc_flag_unused_command_line_argument=yes
   7941 else
   7942   xorg_cv_cc_flag_unused_command_line_argument=no
   7943 fi
   7944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7945 fi
   7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7947 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7948 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7949 	CFLAGS="$xorg_testset_save_CFLAGS"
   7950 fi
   7951 
   7952 found="no"
   7953 
   7954 	if test $found = "no" ; then
   7955 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7956 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7957 		fi
   7958 
   7959 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7960 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7961 		fi
   7962 
   7963 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7964 
   7965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7966 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7967 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7968 		if eval \${$cacheid+:} false; then :
   7969   $as_echo_n "(cached) " >&6
   7970 else
   7971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7972 /* end confdefs.h.  */
   7973 int i;
   7974 int
   7975 main ()
   7976 {
   7977 
   7978   ;
   7979   return 0;
   7980 }
   7981 _ACEOF
   7982 if ac_fn_c_try_link "$LINENO"; then :
   7983   eval $cacheid=yes
   7984 else
   7985   eval $cacheid=no
   7986 fi
   7987 rm -f core conftest.err conftest.$ac_objext \
   7988     conftest$ac_exeext conftest.$ac_ext
   7989 fi
   7990 
   7991 
   7992 		CFLAGS="$xorg_testset_save_CFLAGS"
   7993 
   7994 		eval supported=\$$cacheid
   7995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7996 $as_echo "$supported" >&6; }
   7997 		if test "$supported" = "yes" ; then
   7998 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7999 			found="yes"
   8000 		fi
   8001 	fi
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 xorg_testset_save_CFLAGS="$CFLAGS"
   8018 
   8019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8021 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8022 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8023 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8024   $as_echo_n "(cached) " >&6
   8025 else
   8026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8027 /* end confdefs.h.  */
   8028 int i;
   8029 _ACEOF
   8030 if ac_fn_c_try_compile "$LINENO"; then :
   8031   xorg_cv_cc_flag_unknown_warning_option=yes
   8032 else
   8033   xorg_cv_cc_flag_unknown_warning_option=no
   8034 fi
   8035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8036 fi
   8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8038 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8039 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8040 	CFLAGS="$xorg_testset_save_CFLAGS"
   8041 fi
   8042 
   8043 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8044 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8045 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8046 	fi
   8047 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8049 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8050 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8051   $as_echo_n "(cached) " >&6
   8052 else
   8053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8054 /* end confdefs.h.  */
   8055 int i;
   8056 _ACEOF
   8057 if ac_fn_c_try_compile "$LINENO"; then :
   8058   xorg_cv_cc_flag_unused_command_line_argument=yes
   8059 else
   8060   xorg_cv_cc_flag_unused_command_line_argument=no
   8061 fi
   8062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8063 fi
   8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8065 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8066 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8067 	CFLAGS="$xorg_testset_save_CFLAGS"
   8068 fi
   8069 
   8070 found="no"
   8071 
   8072 	if test $found = "no" ; then
   8073 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8074 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8075 		fi
   8076 
   8077 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8078 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8079 		fi
   8080 
   8081 		CFLAGS="$CFLAGS -Werror=write-strings"
   8082 
   8083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8084 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8085 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8086 		if eval \${$cacheid+:} false; then :
   8087   $as_echo_n "(cached) " >&6
   8088 else
   8089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8090 /* end confdefs.h.  */
   8091 int i;
   8092 int
   8093 main ()
   8094 {
   8095 
   8096   ;
   8097   return 0;
   8098 }
   8099 _ACEOF
   8100 if ac_fn_c_try_link "$LINENO"; then :
   8101   eval $cacheid=yes
   8102 else
   8103   eval $cacheid=no
   8104 fi
   8105 rm -f core conftest.err conftest.$ac_objext \
   8106     conftest$ac_exeext conftest.$ac_ext
   8107 fi
   8108 
   8109 
   8110 		CFLAGS="$xorg_testset_save_CFLAGS"
   8111 
   8112 		eval supported=\$$cacheid
   8113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8114 $as_echo "$supported" >&6; }
   8115 		if test "$supported" = "yes" ; then
   8116 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8117 			found="yes"
   8118 		fi
   8119 	fi
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 xorg_testset_save_CFLAGS="$CFLAGS"
   8136 
   8137 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8138 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8139 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8140 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8141 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8142   $as_echo_n "(cached) " >&6
   8143 else
   8144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8145 /* end confdefs.h.  */
   8146 int i;
   8147 _ACEOF
   8148 if ac_fn_c_try_compile "$LINENO"; then :
   8149   xorg_cv_cc_flag_unknown_warning_option=yes
   8150 else
   8151   xorg_cv_cc_flag_unknown_warning_option=no
   8152 fi
   8153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8154 fi
   8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8156 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8157 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8158 	CFLAGS="$xorg_testset_save_CFLAGS"
   8159 fi
   8160 
   8161 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8162 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8163 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8164 	fi
   8165 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8167 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8168 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8169   $as_echo_n "(cached) " >&6
   8170 else
   8171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8172 /* end confdefs.h.  */
   8173 int i;
   8174 _ACEOF
   8175 if ac_fn_c_try_compile "$LINENO"; then :
   8176   xorg_cv_cc_flag_unused_command_line_argument=yes
   8177 else
   8178   xorg_cv_cc_flag_unused_command_line_argument=no
   8179 fi
   8180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8181 fi
   8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8183 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8184 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8185 	CFLAGS="$xorg_testset_save_CFLAGS"
   8186 fi
   8187 
   8188 found="no"
   8189 
   8190 	if test $found = "no" ; then
   8191 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8192 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8193 		fi
   8194 
   8195 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8196 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8197 		fi
   8198 
   8199 		CFLAGS="$CFLAGS -Werror=address"
   8200 
   8201 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8202 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8203 		cacheid=xorg_cv_cc_flag__Werror_address
   8204 		if eval \${$cacheid+:} false; then :
   8205   $as_echo_n "(cached) " >&6
   8206 else
   8207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8208 /* end confdefs.h.  */
   8209 int i;
   8210 int
   8211 main ()
   8212 {
   8213 
   8214   ;
   8215   return 0;
   8216 }
   8217 _ACEOF
   8218 if ac_fn_c_try_link "$LINENO"; then :
   8219   eval $cacheid=yes
   8220 else
   8221   eval $cacheid=no
   8222 fi
   8223 rm -f core conftest.err conftest.$ac_objext \
   8224     conftest$ac_exeext conftest.$ac_ext
   8225 fi
   8226 
   8227 
   8228 		CFLAGS="$xorg_testset_save_CFLAGS"
   8229 
   8230 		eval supported=\$$cacheid
   8231 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8232 $as_echo "$supported" >&6; }
   8233 		if test "$supported" = "yes" ; then
   8234 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8235 			found="yes"
   8236 		fi
   8237 	fi
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 xorg_testset_save_CFLAGS="$CFLAGS"
   8254 
   8255 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8256 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8257 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8258 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8259 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8260   $as_echo_n "(cached) " >&6
   8261 else
   8262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8263 /* end confdefs.h.  */
   8264 int i;
   8265 _ACEOF
   8266 if ac_fn_c_try_compile "$LINENO"; then :
   8267   xorg_cv_cc_flag_unknown_warning_option=yes
   8268 else
   8269   xorg_cv_cc_flag_unknown_warning_option=no
   8270 fi
   8271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8272 fi
   8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8274 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8275 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8276 	CFLAGS="$xorg_testset_save_CFLAGS"
   8277 fi
   8278 
   8279 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8280 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8281 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8282 	fi
   8283 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8285 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8286 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8287   $as_echo_n "(cached) " >&6
   8288 else
   8289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8290 /* end confdefs.h.  */
   8291 int i;
   8292 _ACEOF
   8293 if ac_fn_c_try_compile "$LINENO"; then :
   8294   xorg_cv_cc_flag_unused_command_line_argument=yes
   8295 else
   8296   xorg_cv_cc_flag_unused_command_line_argument=no
   8297 fi
   8298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8299 fi
   8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8301 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8302 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8303 	CFLAGS="$xorg_testset_save_CFLAGS"
   8304 fi
   8305 
   8306 found="no"
   8307 
   8308 	if test $found = "no" ; then
   8309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8311 		fi
   8312 
   8313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8315 		fi
   8316 
   8317 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8318 
   8319 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8320 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8321 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8322 		if eval \${$cacheid+:} false; then :
   8323   $as_echo_n "(cached) " >&6
   8324 else
   8325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8326 /* end confdefs.h.  */
   8327 int i;
   8328 int
   8329 main ()
   8330 {
   8331 
   8332   ;
   8333   return 0;
   8334 }
   8335 _ACEOF
   8336 if ac_fn_c_try_link "$LINENO"; then :
   8337   eval $cacheid=yes
   8338 else
   8339   eval $cacheid=no
   8340 fi
   8341 rm -f core conftest.err conftest.$ac_objext \
   8342     conftest$ac_exeext conftest.$ac_ext
   8343 fi
   8344 
   8345 
   8346 		CFLAGS="$xorg_testset_save_CFLAGS"
   8347 
   8348 		eval supported=\$$cacheid
   8349 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8350 $as_echo "$supported" >&6; }
   8351 		if test "$supported" = "yes" ; then
   8352 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8353 			found="yes"
   8354 		fi
   8355 	fi
   8356 
   8357 	if test $found = "no" ; then
   8358 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8360 		fi
   8361 
   8362 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8364 		fi
   8365 
   8366 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8367 
   8368 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8369 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8370 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8371 		if eval \${$cacheid+:} false; then :
   8372   $as_echo_n "(cached) " >&6
   8373 else
   8374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8375 /* end confdefs.h.  */
   8376 int i;
   8377 int
   8378 main ()
   8379 {
   8380 
   8381   ;
   8382   return 0;
   8383 }
   8384 _ACEOF
   8385 if ac_fn_c_try_link "$LINENO"; then :
   8386   eval $cacheid=yes
   8387 else
   8388   eval $cacheid=no
   8389 fi
   8390 rm -f core conftest.err conftest.$ac_objext \
   8391     conftest$ac_exeext conftest.$ac_ext
   8392 fi
   8393 
   8394 
   8395 		CFLAGS="$xorg_testset_save_CFLAGS"
   8396 
   8397 		eval supported=\$$cacheid
   8398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8399 $as_echo "$supported" >&6; }
   8400 		if test "$supported" = "yes" ; then
   8401 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8402 			found="yes"
   8403 		fi
   8404 	fi
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 xorg_testset_save_CFLAGS="$CFLAGS"
   8421 
   8422 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8423 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8425 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8426 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8427   $as_echo_n "(cached) " >&6
   8428 else
   8429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8430 /* end confdefs.h.  */
   8431 int i;
   8432 _ACEOF
   8433 if ac_fn_c_try_compile "$LINENO"; then :
   8434   xorg_cv_cc_flag_unknown_warning_option=yes
   8435 else
   8436   xorg_cv_cc_flag_unknown_warning_option=no
   8437 fi
   8438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8439 fi
   8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8441 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8442 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8443 	CFLAGS="$xorg_testset_save_CFLAGS"
   8444 fi
   8445 
   8446 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8447 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8448 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8449 	fi
   8450 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8452 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8453 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8454   $as_echo_n "(cached) " >&6
   8455 else
   8456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8457 /* end confdefs.h.  */
   8458 int i;
   8459 _ACEOF
   8460 if ac_fn_c_try_compile "$LINENO"; then :
   8461   xorg_cv_cc_flag_unused_command_line_argument=yes
   8462 else
   8463   xorg_cv_cc_flag_unused_command_line_argument=no
   8464 fi
   8465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8466 fi
   8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8468 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8469 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8470 	CFLAGS="$xorg_testset_save_CFLAGS"
   8471 fi
   8472 
   8473 found="no"
   8474 
   8475 	if test $found = "no" ; then
   8476 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8477 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8478 		fi
   8479 
   8480 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8481 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8482 		fi
   8483 
   8484 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8485 
   8486 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8487 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8488 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8489 		if eval \${$cacheid+:} false; then :
   8490   $as_echo_n "(cached) " >&6
   8491 else
   8492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8493 /* end confdefs.h.  */
   8494 int i;
   8495 int
   8496 main ()
   8497 {
   8498 
   8499   ;
   8500   return 0;
   8501 }
   8502 _ACEOF
   8503 if ac_fn_c_try_link "$LINENO"; then :
   8504   eval $cacheid=yes
   8505 else
   8506   eval $cacheid=no
   8507 fi
   8508 rm -f core conftest.err conftest.$ac_objext \
   8509     conftest$ac_exeext conftest.$ac_ext
   8510 fi
   8511 
   8512 
   8513 		CFLAGS="$xorg_testset_save_CFLAGS"
   8514 
   8515 		eval supported=\$$cacheid
   8516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8517 $as_echo "$supported" >&6; }
   8518 		if test "$supported" = "yes" ; then
   8519 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8520 			found="yes"
   8521 		fi
   8522 	fi
   8523 
   8524  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8525 else
   8526 { $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
   8527 $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;}
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 xorg_testset_save_CFLAGS="$CFLAGS"
   8542 
   8543 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8544 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8546 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8547 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8548   $as_echo_n "(cached) " >&6
   8549 else
   8550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8551 /* end confdefs.h.  */
   8552 int i;
   8553 _ACEOF
   8554 if ac_fn_c_try_compile "$LINENO"; then :
   8555   xorg_cv_cc_flag_unknown_warning_option=yes
   8556 else
   8557   xorg_cv_cc_flag_unknown_warning_option=no
   8558 fi
   8559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8560 fi
   8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8562 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8563 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8564 	CFLAGS="$xorg_testset_save_CFLAGS"
   8565 fi
   8566 
   8567 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8568 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8569 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8570 	fi
   8571 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8573 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8574 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8575   $as_echo_n "(cached) " >&6
   8576 else
   8577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8578 /* end confdefs.h.  */
   8579 int i;
   8580 _ACEOF
   8581 if ac_fn_c_try_compile "$LINENO"; then :
   8582   xorg_cv_cc_flag_unused_command_line_argument=yes
   8583 else
   8584   xorg_cv_cc_flag_unused_command_line_argument=no
   8585 fi
   8586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8587 fi
   8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8589 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8591 	CFLAGS="$xorg_testset_save_CFLAGS"
   8592 fi
   8593 
   8594 found="no"
   8595 
   8596 	if test $found = "no" ; then
   8597 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8599 		fi
   8600 
   8601 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8603 		fi
   8604 
   8605 		CFLAGS="$CFLAGS -Wimplicit"
   8606 
   8607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8608 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8609 		cacheid=xorg_cv_cc_flag__Wimplicit
   8610 		if eval \${$cacheid+:} false; then :
   8611   $as_echo_n "(cached) " >&6
   8612 else
   8613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8614 /* end confdefs.h.  */
   8615 int i;
   8616 int
   8617 main ()
   8618 {
   8619 
   8620   ;
   8621   return 0;
   8622 }
   8623 _ACEOF
   8624 if ac_fn_c_try_link "$LINENO"; then :
   8625   eval $cacheid=yes
   8626 else
   8627   eval $cacheid=no
   8628 fi
   8629 rm -f core conftest.err conftest.$ac_objext \
   8630     conftest$ac_exeext conftest.$ac_ext
   8631 fi
   8632 
   8633 
   8634 		CFLAGS="$xorg_testset_save_CFLAGS"
   8635 
   8636 		eval supported=\$$cacheid
   8637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8638 $as_echo "$supported" >&6; }
   8639 		if test "$supported" = "yes" ; then
   8640 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8641 			found="yes"
   8642 		fi
   8643 	fi
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 xorg_testset_save_CFLAGS="$CFLAGS"
   8660 
   8661 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8662 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8664 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8665 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8666   $as_echo_n "(cached) " >&6
   8667 else
   8668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8669 /* end confdefs.h.  */
   8670 int i;
   8671 _ACEOF
   8672 if ac_fn_c_try_compile "$LINENO"; then :
   8673   xorg_cv_cc_flag_unknown_warning_option=yes
   8674 else
   8675   xorg_cv_cc_flag_unknown_warning_option=no
   8676 fi
   8677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8678 fi
   8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8680 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8681 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8682 	CFLAGS="$xorg_testset_save_CFLAGS"
   8683 fi
   8684 
   8685 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8686 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8687 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8688 	fi
   8689 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8691 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8692 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8693   $as_echo_n "(cached) " >&6
   8694 else
   8695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8696 /* end confdefs.h.  */
   8697 int i;
   8698 _ACEOF
   8699 if ac_fn_c_try_compile "$LINENO"; then :
   8700   xorg_cv_cc_flag_unused_command_line_argument=yes
   8701 else
   8702   xorg_cv_cc_flag_unused_command_line_argument=no
   8703 fi
   8704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8705 fi
   8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8707 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8709 	CFLAGS="$xorg_testset_save_CFLAGS"
   8710 fi
   8711 
   8712 found="no"
   8713 
   8714 	if test $found = "no" ; then
   8715 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8717 		fi
   8718 
   8719 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8721 		fi
   8722 
   8723 		CFLAGS="$CFLAGS -Wnonnull"
   8724 
   8725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8726 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8727 		cacheid=xorg_cv_cc_flag__Wnonnull
   8728 		if eval \${$cacheid+:} false; then :
   8729   $as_echo_n "(cached) " >&6
   8730 else
   8731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8732 /* end confdefs.h.  */
   8733 int i;
   8734 int
   8735 main ()
   8736 {
   8737 
   8738   ;
   8739   return 0;
   8740 }
   8741 _ACEOF
   8742 if ac_fn_c_try_link "$LINENO"; then :
   8743   eval $cacheid=yes
   8744 else
   8745   eval $cacheid=no
   8746 fi
   8747 rm -f core conftest.err conftest.$ac_objext \
   8748     conftest$ac_exeext conftest.$ac_ext
   8749 fi
   8750 
   8751 
   8752 		CFLAGS="$xorg_testset_save_CFLAGS"
   8753 
   8754 		eval supported=\$$cacheid
   8755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8756 $as_echo "$supported" >&6; }
   8757 		if test "$supported" = "yes" ; then
   8758 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8759 			found="yes"
   8760 		fi
   8761 	fi
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 xorg_testset_save_CFLAGS="$CFLAGS"
   8778 
   8779 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8780 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8782 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8783 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8784   $as_echo_n "(cached) " >&6
   8785 else
   8786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8787 /* end confdefs.h.  */
   8788 int i;
   8789 _ACEOF
   8790 if ac_fn_c_try_compile "$LINENO"; then :
   8791   xorg_cv_cc_flag_unknown_warning_option=yes
   8792 else
   8793   xorg_cv_cc_flag_unknown_warning_option=no
   8794 fi
   8795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8796 fi
   8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8798 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8799 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8800 	CFLAGS="$xorg_testset_save_CFLAGS"
   8801 fi
   8802 
   8803 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8804 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8805 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8806 	fi
   8807 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8808 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8809 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8810 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8811   $as_echo_n "(cached) " >&6
   8812 else
   8813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8814 /* end confdefs.h.  */
   8815 int i;
   8816 _ACEOF
   8817 if ac_fn_c_try_compile "$LINENO"; then :
   8818   xorg_cv_cc_flag_unused_command_line_argument=yes
   8819 else
   8820   xorg_cv_cc_flag_unused_command_line_argument=no
   8821 fi
   8822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8823 fi
   8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8825 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8826 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8827 	CFLAGS="$xorg_testset_save_CFLAGS"
   8828 fi
   8829 
   8830 found="no"
   8831 
   8832 	if test $found = "no" ; then
   8833 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8834 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8835 		fi
   8836 
   8837 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8838 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8839 		fi
   8840 
   8841 		CFLAGS="$CFLAGS -Winit-self"
   8842 
   8843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8844 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8845 		cacheid=xorg_cv_cc_flag__Winit_self
   8846 		if eval \${$cacheid+:} false; then :
   8847   $as_echo_n "(cached) " >&6
   8848 else
   8849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8850 /* end confdefs.h.  */
   8851 int i;
   8852 int
   8853 main ()
   8854 {
   8855 
   8856   ;
   8857   return 0;
   8858 }
   8859 _ACEOF
   8860 if ac_fn_c_try_link "$LINENO"; then :
   8861   eval $cacheid=yes
   8862 else
   8863   eval $cacheid=no
   8864 fi
   8865 rm -f core conftest.err conftest.$ac_objext \
   8866     conftest$ac_exeext conftest.$ac_ext
   8867 fi
   8868 
   8869 
   8870 		CFLAGS="$xorg_testset_save_CFLAGS"
   8871 
   8872 		eval supported=\$$cacheid
   8873 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8874 $as_echo "$supported" >&6; }
   8875 		if test "$supported" = "yes" ; then
   8876 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8877 			found="yes"
   8878 		fi
   8879 	fi
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 xorg_testset_save_CFLAGS="$CFLAGS"
   8896 
   8897 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8898 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8900 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8901 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8902   $as_echo_n "(cached) " >&6
   8903 else
   8904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8905 /* end confdefs.h.  */
   8906 int i;
   8907 _ACEOF
   8908 if ac_fn_c_try_compile "$LINENO"; then :
   8909   xorg_cv_cc_flag_unknown_warning_option=yes
   8910 else
   8911   xorg_cv_cc_flag_unknown_warning_option=no
   8912 fi
   8913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8914 fi
   8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8916 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8917 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8918 	CFLAGS="$xorg_testset_save_CFLAGS"
   8919 fi
   8920 
   8921 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8922 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8923 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8924 	fi
   8925 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8926 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8927 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8928 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8929   $as_echo_n "(cached) " >&6
   8930 else
   8931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8932 /* end confdefs.h.  */
   8933 int i;
   8934 _ACEOF
   8935 if ac_fn_c_try_compile "$LINENO"; then :
   8936   xorg_cv_cc_flag_unused_command_line_argument=yes
   8937 else
   8938   xorg_cv_cc_flag_unused_command_line_argument=no
   8939 fi
   8940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8941 fi
   8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8943 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8944 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8945 	CFLAGS="$xorg_testset_save_CFLAGS"
   8946 fi
   8947 
   8948 found="no"
   8949 
   8950 	if test $found = "no" ; then
   8951 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8953 		fi
   8954 
   8955 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8957 		fi
   8958 
   8959 		CFLAGS="$CFLAGS -Wmain"
   8960 
   8961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8962 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8963 		cacheid=xorg_cv_cc_flag__Wmain
   8964 		if eval \${$cacheid+:} false; then :
   8965   $as_echo_n "(cached) " >&6
   8966 else
   8967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8968 /* end confdefs.h.  */
   8969 int i;
   8970 int
   8971 main ()
   8972 {
   8973 
   8974   ;
   8975   return 0;
   8976 }
   8977 _ACEOF
   8978 if ac_fn_c_try_link "$LINENO"; then :
   8979   eval $cacheid=yes
   8980 else
   8981   eval $cacheid=no
   8982 fi
   8983 rm -f core conftest.err conftest.$ac_objext \
   8984     conftest$ac_exeext conftest.$ac_ext
   8985 fi
   8986 
   8987 
   8988 		CFLAGS="$xorg_testset_save_CFLAGS"
   8989 
   8990 		eval supported=\$$cacheid
   8991 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8992 $as_echo "$supported" >&6; }
   8993 		if test "$supported" = "yes" ; then
   8994 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8995 			found="yes"
   8996 		fi
   8997 	fi
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 xorg_testset_save_CFLAGS="$CFLAGS"
   9014 
   9015 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9016 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9017 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9018 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9019 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9020   $as_echo_n "(cached) " >&6
   9021 else
   9022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9023 /* end confdefs.h.  */
   9024 int i;
   9025 _ACEOF
   9026 if ac_fn_c_try_compile "$LINENO"; then :
   9027   xorg_cv_cc_flag_unknown_warning_option=yes
   9028 else
   9029   xorg_cv_cc_flag_unknown_warning_option=no
   9030 fi
   9031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9032 fi
   9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9034 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9035 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9036 	CFLAGS="$xorg_testset_save_CFLAGS"
   9037 fi
   9038 
   9039 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9040 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9041 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9042 	fi
   9043 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9045 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9046 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9047   $as_echo_n "(cached) " >&6
   9048 else
   9049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9050 /* end confdefs.h.  */
   9051 int i;
   9052 _ACEOF
   9053 if ac_fn_c_try_compile "$LINENO"; then :
   9054   xorg_cv_cc_flag_unused_command_line_argument=yes
   9055 else
   9056   xorg_cv_cc_flag_unused_command_line_argument=no
   9057 fi
   9058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9059 fi
   9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9061 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9062 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9063 	CFLAGS="$xorg_testset_save_CFLAGS"
   9064 fi
   9065 
   9066 found="no"
   9067 
   9068 	if test $found = "no" ; then
   9069 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9070 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9071 		fi
   9072 
   9073 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9074 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9075 		fi
   9076 
   9077 		CFLAGS="$CFLAGS -Wmissing-braces"
   9078 
   9079 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9080 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9081 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9082 		if eval \${$cacheid+:} false; then :
   9083   $as_echo_n "(cached) " >&6
   9084 else
   9085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9086 /* end confdefs.h.  */
   9087 int i;
   9088 int
   9089 main ()
   9090 {
   9091 
   9092   ;
   9093   return 0;
   9094 }
   9095 _ACEOF
   9096 if ac_fn_c_try_link "$LINENO"; then :
   9097   eval $cacheid=yes
   9098 else
   9099   eval $cacheid=no
   9100 fi
   9101 rm -f core conftest.err conftest.$ac_objext \
   9102     conftest$ac_exeext conftest.$ac_ext
   9103 fi
   9104 
   9105 
   9106 		CFLAGS="$xorg_testset_save_CFLAGS"
   9107 
   9108 		eval supported=\$$cacheid
   9109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9110 $as_echo "$supported" >&6; }
   9111 		if test "$supported" = "yes" ; then
   9112 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9113 			found="yes"
   9114 		fi
   9115 	fi
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 
   9122 
   9123 
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 xorg_testset_save_CFLAGS="$CFLAGS"
   9132 
   9133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9134 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9135 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9136 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9137 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9138   $as_echo_n "(cached) " >&6
   9139 else
   9140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9141 /* end confdefs.h.  */
   9142 int i;
   9143 _ACEOF
   9144 if ac_fn_c_try_compile "$LINENO"; then :
   9145   xorg_cv_cc_flag_unknown_warning_option=yes
   9146 else
   9147   xorg_cv_cc_flag_unknown_warning_option=no
   9148 fi
   9149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9150 fi
   9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9152 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9153 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9154 	CFLAGS="$xorg_testset_save_CFLAGS"
   9155 fi
   9156 
   9157 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9158 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9159 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9160 	fi
   9161 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9163 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9164 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9165   $as_echo_n "(cached) " >&6
   9166 else
   9167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9168 /* end confdefs.h.  */
   9169 int i;
   9170 _ACEOF
   9171 if ac_fn_c_try_compile "$LINENO"; then :
   9172   xorg_cv_cc_flag_unused_command_line_argument=yes
   9173 else
   9174   xorg_cv_cc_flag_unused_command_line_argument=no
   9175 fi
   9176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9177 fi
   9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9179 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9180 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9181 	CFLAGS="$xorg_testset_save_CFLAGS"
   9182 fi
   9183 
   9184 found="no"
   9185 
   9186 	if test $found = "no" ; then
   9187 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9189 		fi
   9190 
   9191 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9193 		fi
   9194 
   9195 		CFLAGS="$CFLAGS -Wsequence-point"
   9196 
   9197 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9198 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9199 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9200 		if eval \${$cacheid+:} false; then :
   9201   $as_echo_n "(cached) " >&6
   9202 else
   9203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9204 /* end confdefs.h.  */
   9205 int i;
   9206 int
   9207 main ()
   9208 {
   9209 
   9210   ;
   9211   return 0;
   9212 }
   9213 _ACEOF
   9214 if ac_fn_c_try_link "$LINENO"; then :
   9215   eval $cacheid=yes
   9216 else
   9217   eval $cacheid=no
   9218 fi
   9219 rm -f core conftest.err conftest.$ac_objext \
   9220     conftest$ac_exeext conftest.$ac_ext
   9221 fi
   9222 
   9223 
   9224 		CFLAGS="$xorg_testset_save_CFLAGS"
   9225 
   9226 		eval supported=\$$cacheid
   9227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9228 $as_echo "$supported" >&6; }
   9229 		if test "$supported" = "yes" ; then
   9230 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9231 			found="yes"
   9232 		fi
   9233 	fi
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 xorg_testset_save_CFLAGS="$CFLAGS"
   9250 
   9251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9253 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9254 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9255 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9256   $as_echo_n "(cached) " >&6
   9257 else
   9258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9259 /* end confdefs.h.  */
   9260 int i;
   9261 _ACEOF
   9262 if ac_fn_c_try_compile "$LINENO"; then :
   9263   xorg_cv_cc_flag_unknown_warning_option=yes
   9264 else
   9265   xorg_cv_cc_flag_unknown_warning_option=no
   9266 fi
   9267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9268 fi
   9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9270 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9271 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9272 	CFLAGS="$xorg_testset_save_CFLAGS"
   9273 fi
   9274 
   9275 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9276 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9278 	fi
   9279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9281 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9282 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9283   $as_echo_n "(cached) " >&6
   9284 else
   9285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9286 /* end confdefs.h.  */
   9287 int i;
   9288 _ACEOF
   9289 if ac_fn_c_try_compile "$LINENO"; then :
   9290   xorg_cv_cc_flag_unused_command_line_argument=yes
   9291 else
   9292   xorg_cv_cc_flag_unused_command_line_argument=no
   9293 fi
   9294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9295 fi
   9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9297 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9298 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9299 	CFLAGS="$xorg_testset_save_CFLAGS"
   9300 fi
   9301 
   9302 found="no"
   9303 
   9304 	if test $found = "no" ; then
   9305 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9307 		fi
   9308 
   9309 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9311 		fi
   9312 
   9313 		CFLAGS="$CFLAGS -Wreturn-type"
   9314 
   9315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9316 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9317 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9318 		if eval \${$cacheid+:} false; then :
   9319   $as_echo_n "(cached) " >&6
   9320 else
   9321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9322 /* end confdefs.h.  */
   9323 int i;
   9324 int
   9325 main ()
   9326 {
   9327 
   9328   ;
   9329   return 0;
   9330 }
   9331 _ACEOF
   9332 if ac_fn_c_try_link "$LINENO"; then :
   9333   eval $cacheid=yes
   9334 else
   9335   eval $cacheid=no
   9336 fi
   9337 rm -f core conftest.err conftest.$ac_objext \
   9338     conftest$ac_exeext conftest.$ac_ext
   9339 fi
   9340 
   9341 
   9342 		CFLAGS="$xorg_testset_save_CFLAGS"
   9343 
   9344 		eval supported=\$$cacheid
   9345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9346 $as_echo "$supported" >&6; }
   9347 		if test "$supported" = "yes" ; then
   9348 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9349 			found="yes"
   9350 		fi
   9351 	fi
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 xorg_testset_save_CFLAGS="$CFLAGS"
   9368 
   9369 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9370 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9372 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9373 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9374   $as_echo_n "(cached) " >&6
   9375 else
   9376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9377 /* end confdefs.h.  */
   9378 int i;
   9379 _ACEOF
   9380 if ac_fn_c_try_compile "$LINENO"; then :
   9381   xorg_cv_cc_flag_unknown_warning_option=yes
   9382 else
   9383   xorg_cv_cc_flag_unknown_warning_option=no
   9384 fi
   9385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9386 fi
   9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9388 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9390 	CFLAGS="$xorg_testset_save_CFLAGS"
   9391 fi
   9392 
   9393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9396 	fi
   9397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9399 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9400 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9401   $as_echo_n "(cached) " >&6
   9402 else
   9403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9404 /* end confdefs.h.  */
   9405 int i;
   9406 _ACEOF
   9407 if ac_fn_c_try_compile "$LINENO"; then :
   9408   xorg_cv_cc_flag_unused_command_line_argument=yes
   9409 else
   9410   xorg_cv_cc_flag_unused_command_line_argument=no
   9411 fi
   9412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9413 fi
   9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9415 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9416 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9417 	CFLAGS="$xorg_testset_save_CFLAGS"
   9418 fi
   9419 
   9420 found="no"
   9421 
   9422 	if test $found = "no" ; then
   9423 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9425 		fi
   9426 
   9427 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9429 		fi
   9430 
   9431 		CFLAGS="$CFLAGS -Wtrigraphs"
   9432 
   9433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9434 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9435 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9436 		if eval \${$cacheid+:} false; then :
   9437   $as_echo_n "(cached) " >&6
   9438 else
   9439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9440 /* end confdefs.h.  */
   9441 int i;
   9442 int
   9443 main ()
   9444 {
   9445 
   9446   ;
   9447   return 0;
   9448 }
   9449 _ACEOF
   9450 if ac_fn_c_try_link "$LINENO"; then :
   9451   eval $cacheid=yes
   9452 else
   9453   eval $cacheid=no
   9454 fi
   9455 rm -f core conftest.err conftest.$ac_objext \
   9456     conftest$ac_exeext conftest.$ac_ext
   9457 fi
   9458 
   9459 
   9460 		CFLAGS="$xorg_testset_save_CFLAGS"
   9461 
   9462 		eval supported=\$$cacheid
   9463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9464 $as_echo "$supported" >&6; }
   9465 		if test "$supported" = "yes" ; then
   9466 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9467 			found="yes"
   9468 		fi
   9469 	fi
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 xorg_testset_save_CFLAGS="$CFLAGS"
   9486 
   9487 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9488 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9490 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9491 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9492   $as_echo_n "(cached) " >&6
   9493 else
   9494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9495 /* end confdefs.h.  */
   9496 int i;
   9497 _ACEOF
   9498 if ac_fn_c_try_compile "$LINENO"; then :
   9499   xorg_cv_cc_flag_unknown_warning_option=yes
   9500 else
   9501   xorg_cv_cc_flag_unknown_warning_option=no
   9502 fi
   9503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9504 fi
   9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9506 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9507 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9508 	CFLAGS="$xorg_testset_save_CFLAGS"
   9509 fi
   9510 
   9511 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9512 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9513 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9514 	fi
   9515 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9517 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9518 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9519   $as_echo_n "(cached) " >&6
   9520 else
   9521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9522 /* end confdefs.h.  */
   9523 int i;
   9524 _ACEOF
   9525 if ac_fn_c_try_compile "$LINENO"; then :
   9526   xorg_cv_cc_flag_unused_command_line_argument=yes
   9527 else
   9528   xorg_cv_cc_flag_unused_command_line_argument=no
   9529 fi
   9530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9531 fi
   9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9533 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9534 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9535 	CFLAGS="$xorg_testset_save_CFLAGS"
   9536 fi
   9537 
   9538 found="no"
   9539 
   9540 	if test $found = "no" ; then
   9541 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9542 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9543 		fi
   9544 
   9545 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9546 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9547 		fi
   9548 
   9549 		CFLAGS="$CFLAGS -Warray-bounds"
   9550 
   9551 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9552 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9553 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9554 		if eval \${$cacheid+:} false; then :
   9555   $as_echo_n "(cached) " >&6
   9556 else
   9557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9558 /* end confdefs.h.  */
   9559 int i;
   9560 int
   9561 main ()
   9562 {
   9563 
   9564   ;
   9565   return 0;
   9566 }
   9567 _ACEOF
   9568 if ac_fn_c_try_link "$LINENO"; then :
   9569   eval $cacheid=yes
   9570 else
   9571   eval $cacheid=no
   9572 fi
   9573 rm -f core conftest.err conftest.$ac_objext \
   9574     conftest$ac_exeext conftest.$ac_ext
   9575 fi
   9576 
   9577 
   9578 		CFLAGS="$xorg_testset_save_CFLAGS"
   9579 
   9580 		eval supported=\$$cacheid
   9581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9582 $as_echo "$supported" >&6; }
   9583 		if test "$supported" = "yes" ; then
   9584 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9585 			found="yes"
   9586 		fi
   9587 	fi
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 xorg_testset_save_CFLAGS="$CFLAGS"
   9604 
   9605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9608 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9609 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9610   $as_echo_n "(cached) " >&6
   9611 else
   9612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9613 /* end confdefs.h.  */
   9614 int i;
   9615 _ACEOF
   9616 if ac_fn_c_try_compile "$LINENO"; then :
   9617   xorg_cv_cc_flag_unknown_warning_option=yes
   9618 else
   9619   xorg_cv_cc_flag_unknown_warning_option=no
   9620 fi
   9621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9622 fi
   9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9624 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9625 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9626 	CFLAGS="$xorg_testset_save_CFLAGS"
   9627 fi
   9628 
   9629 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9630 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9632 	fi
   9633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9635 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9636 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9637   $as_echo_n "(cached) " >&6
   9638 else
   9639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9640 /* end confdefs.h.  */
   9641 int i;
   9642 _ACEOF
   9643 if ac_fn_c_try_compile "$LINENO"; then :
   9644   xorg_cv_cc_flag_unused_command_line_argument=yes
   9645 else
   9646   xorg_cv_cc_flag_unused_command_line_argument=no
   9647 fi
   9648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9649 fi
   9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9651 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9653 	CFLAGS="$xorg_testset_save_CFLAGS"
   9654 fi
   9655 
   9656 found="no"
   9657 
   9658 	if test $found = "no" ; then
   9659 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9661 		fi
   9662 
   9663 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9665 		fi
   9666 
   9667 		CFLAGS="$CFLAGS -Wwrite-strings"
   9668 
   9669 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9670 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9671 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9672 		if eval \${$cacheid+:} false; then :
   9673   $as_echo_n "(cached) " >&6
   9674 else
   9675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9676 /* end confdefs.h.  */
   9677 int i;
   9678 int
   9679 main ()
   9680 {
   9681 
   9682   ;
   9683   return 0;
   9684 }
   9685 _ACEOF
   9686 if ac_fn_c_try_link "$LINENO"; then :
   9687   eval $cacheid=yes
   9688 else
   9689   eval $cacheid=no
   9690 fi
   9691 rm -f core conftest.err conftest.$ac_objext \
   9692     conftest$ac_exeext conftest.$ac_ext
   9693 fi
   9694 
   9695 
   9696 		CFLAGS="$xorg_testset_save_CFLAGS"
   9697 
   9698 		eval supported=\$$cacheid
   9699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9700 $as_echo "$supported" >&6; }
   9701 		if test "$supported" = "yes" ; then
   9702 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9703 			found="yes"
   9704 		fi
   9705 	fi
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 xorg_testset_save_CFLAGS="$CFLAGS"
   9722 
   9723 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9724 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9726 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9727 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9728   $as_echo_n "(cached) " >&6
   9729 else
   9730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9731 /* end confdefs.h.  */
   9732 int i;
   9733 _ACEOF
   9734 if ac_fn_c_try_compile "$LINENO"; then :
   9735   xorg_cv_cc_flag_unknown_warning_option=yes
   9736 else
   9737   xorg_cv_cc_flag_unknown_warning_option=no
   9738 fi
   9739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9740 fi
   9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9742 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9743 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9744 	CFLAGS="$xorg_testset_save_CFLAGS"
   9745 fi
   9746 
   9747 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9748 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9749 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9750 	fi
   9751 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9752 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9753 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9754 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9755   $as_echo_n "(cached) " >&6
   9756 else
   9757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9758 /* end confdefs.h.  */
   9759 int i;
   9760 _ACEOF
   9761 if ac_fn_c_try_compile "$LINENO"; then :
   9762   xorg_cv_cc_flag_unused_command_line_argument=yes
   9763 else
   9764   xorg_cv_cc_flag_unused_command_line_argument=no
   9765 fi
   9766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9767 fi
   9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9769 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9770 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9771 	CFLAGS="$xorg_testset_save_CFLAGS"
   9772 fi
   9773 
   9774 found="no"
   9775 
   9776 	if test $found = "no" ; then
   9777 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9778 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9779 		fi
   9780 
   9781 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9782 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9783 		fi
   9784 
   9785 		CFLAGS="$CFLAGS -Waddress"
   9786 
   9787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9788 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9789 		cacheid=xorg_cv_cc_flag__Waddress
   9790 		if eval \${$cacheid+:} false; then :
   9791   $as_echo_n "(cached) " >&6
   9792 else
   9793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9794 /* end confdefs.h.  */
   9795 int i;
   9796 int
   9797 main ()
   9798 {
   9799 
   9800   ;
   9801   return 0;
   9802 }
   9803 _ACEOF
   9804 if ac_fn_c_try_link "$LINENO"; then :
   9805   eval $cacheid=yes
   9806 else
   9807   eval $cacheid=no
   9808 fi
   9809 rm -f core conftest.err conftest.$ac_objext \
   9810     conftest$ac_exeext conftest.$ac_ext
   9811 fi
   9812 
   9813 
   9814 		CFLAGS="$xorg_testset_save_CFLAGS"
   9815 
   9816 		eval supported=\$$cacheid
   9817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9818 $as_echo "$supported" >&6; }
   9819 		if test "$supported" = "yes" ; then
   9820 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9821 			found="yes"
   9822 		fi
   9823 	fi
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 xorg_testset_save_CFLAGS="$CFLAGS"
   9840 
   9841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9844 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9845 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9846   $as_echo_n "(cached) " >&6
   9847 else
   9848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9849 /* end confdefs.h.  */
   9850 int i;
   9851 _ACEOF
   9852 if ac_fn_c_try_compile "$LINENO"; then :
   9853   xorg_cv_cc_flag_unknown_warning_option=yes
   9854 else
   9855   xorg_cv_cc_flag_unknown_warning_option=no
   9856 fi
   9857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9858 fi
   9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9860 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9861 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9862 	CFLAGS="$xorg_testset_save_CFLAGS"
   9863 fi
   9864 
   9865 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9866 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9867 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9868 	fi
   9869 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9871 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9872 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9873   $as_echo_n "(cached) " >&6
   9874 else
   9875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9876 /* end confdefs.h.  */
   9877 int i;
   9878 _ACEOF
   9879 if ac_fn_c_try_compile "$LINENO"; then :
   9880   xorg_cv_cc_flag_unused_command_line_argument=yes
   9881 else
   9882   xorg_cv_cc_flag_unused_command_line_argument=no
   9883 fi
   9884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9885 fi
   9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9887 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9888 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9889 	CFLAGS="$xorg_testset_save_CFLAGS"
   9890 fi
   9891 
   9892 found="no"
   9893 
   9894 	if test $found = "no" ; then
   9895 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9897 		fi
   9898 
   9899 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9901 		fi
   9902 
   9903 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9904 
   9905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9906 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9907 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9908 		if eval \${$cacheid+:} false; then :
   9909   $as_echo_n "(cached) " >&6
   9910 else
   9911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9912 /* end confdefs.h.  */
   9913 int i;
   9914 int
   9915 main ()
   9916 {
   9917 
   9918   ;
   9919   return 0;
   9920 }
   9921 _ACEOF
   9922 if ac_fn_c_try_link "$LINENO"; then :
   9923   eval $cacheid=yes
   9924 else
   9925   eval $cacheid=no
   9926 fi
   9927 rm -f core conftest.err conftest.$ac_objext \
   9928     conftest$ac_exeext conftest.$ac_ext
   9929 fi
   9930 
   9931 
   9932 		CFLAGS="$xorg_testset_save_CFLAGS"
   9933 
   9934 		eval supported=\$$cacheid
   9935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9936 $as_echo "$supported" >&6; }
   9937 		if test "$supported" = "yes" ; then
   9938 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9939 			found="yes"
   9940 		fi
   9941 	fi
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 xorg_testset_save_CFLAGS="$CFLAGS"
   9958 
   9959 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9960 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9961 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9962 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9963 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9964   $as_echo_n "(cached) " >&6
   9965 else
   9966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9967 /* end confdefs.h.  */
   9968 int i;
   9969 _ACEOF
   9970 if ac_fn_c_try_compile "$LINENO"; then :
   9971   xorg_cv_cc_flag_unknown_warning_option=yes
   9972 else
   9973   xorg_cv_cc_flag_unknown_warning_option=no
   9974 fi
   9975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9976 fi
   9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9978 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9979 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9980 	CFLAGS="$xorg_testset_save_CFLAGS"
   9981 fi
   9982 
   9983 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9984 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9985 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9986 	fi
   9987 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9988 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9989 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9990 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9991   $as_echo_n "(cached) " >&6
   9992 else
   9993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9994 /* end confdefs.h.  */
   9995 int i;
   9996 _ACEOF
   9997 if ac_fn_c_try_compile "$LINENO"; then :
   9998   xorg_cv_cc_flag_unused_command_line_argument=yes
   9999 else
   10000   xorg_cv_cc_flag_unused_command_line_argument=no
   10001 fi
   10002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10003 fi
   10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10005 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10006 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10007 	CFLAGS="$xorg_testset_save_CFLAGS"
   10008 fi
   10009 
   10010 found="no"
   10011 
   10012 	if test $found = "no" ; then
   10013 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10014 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10015 		fi
   10016 
   10017 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10018 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10019 		fi
   10020 
   10021 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10022 
   10023 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10024 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10025 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10026 		if eval \${$cacheid+:} false; then :
   10027   $as_echo_n "(cached) " >&6
   10028 else
   10029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10030 /* end confdefs.h.  */
   10031 int i;
   10032 int
   10033 main ()
   10034 {
   10035 
   10036   ;
   10037   return 0;
   10038 }
   10039 _ACEOF
   10040 if ac_fn_c_try_link "$LINENO"; then :
   10041   eval $cacheid=yes
   10042 else
   10043   eval $cacheid=no
   10044 fi
   10045 rm -f core conftest.err conftest.$ac_objext \
   10046     conftest$ac_exeext conftest.$ac_ext
   10047 fi
   10048 
   10049 
   10050 		CFLAGS="$xorg_testset_save_CFLAGS"
   10051 
   10052 		eval supported=\$$cacheid
   10053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10054 $as_echo "$supported" >&6; }
   10055 		if test "$supported" = "yes" ; then
   10056 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10057 			found="yes"
   10058 		fi
   10059 	fi
   10060 
   10061 
   10062 fi
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 		CWARNFLAGS="$BASE_CFLAGS"
   10071 		if  test "x$GCC" = xyes ; then
   10072 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10073 		fi
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 # Check whether --enable-strict-compilation was given.
   10083 if test "${enable_strict_compilation+set}" = set; then :
   10084   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10085 else
   10086   STRICT_COMPILE=no
   10087 fi
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 STRICT_CFLAGS=""
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 xorg_testset_save_CFLAGS="$CFLAGS"
   10109 
   10110 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10111 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10113 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10114 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10115   $as_echo_n "(cached) " >&6
   10116 else
   10117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10118 /* end confdefs.h.  */
   10119 int i;
   10120 _ACEOF
   10121 if ac_fn_c_try_compile "$LINENO"; then :
   10122   xorg_cv_cc_flag_unknown_warning_option=yes
   10123 else
   10124   xorg_cv_cc_flag_unknown_warning_option=no
   10125 fi
   10126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10127 fi
   10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10129 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10130 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10131 	CFLAGS="$xorg_testset_save_CFLAGS"
   10132 fi
   10133 
   10134 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10135 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10136 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10137 	fi
   10138 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10139 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10140 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10141 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10142   $as_echo_n "(cached) " >&6
   10143 else
   10144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10145 /* end confdefs.h.  */
   10146 int i;
   10147 _ACEOF
   10148 if ac_fn_c_try_compile "$LINENO"; then :
   10149   xorg_cv_cc_flag_unused_command_line_argument=yes
   10150 else
   10151   xorg_cv_cc_flag_unused_command_line_argument=no
   10152 fi
   10153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10154 fi
   10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10156 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10157 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10158 	CFLAGS="$xorg_testset_save_CFLAGS"
   10159 fi
   10160 
   10161 found="no"
   10162 
   10163 	if test $found = "no" ; then
   10164 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10165 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10166 		fi
   10167 
   10168 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10169 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10170 		fi
   10171 
   10172 		CFLAGS="$CFLAGS -pedantic"
   10173 
   10174 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10175 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10176 		cacheid=xorg_cv_cc_flag__pedantic
   10177 		if eval \${$cacheid+:} false; then :
   10178   $as_echo_n "(cached) " >&6
   10179 else
   10180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10181 /* end confdefs.h.  */
   10182 int i;
   10183 int
   10184 main ()
   10185 {
   10186 
   10187   ;
   10188   return 0;
   10189 }
   10190 _ACEOF
   10191 if ac_fn_c_try_link "$LINENO"; then :
   10192   eval $cacheid=yes
   10193 else
   10194   eval $cacheid=no
   10195 fi
   10196 rm -f core conftest.err conftest.$ac_objext \
   10197     conftest$ac_exeext conftest.$ac_ext
   10198 fi
   10199 
   10200 
   10201 		CFLAGS="$xorg_testset_save_CFLAGS"
   10202 
   10203 		eval supported=\$$cacheid
   10204 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10205 $as_echo "$supported" >&6; }
   10206 		if test "$supported" = "yes" ; then
   10207 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10208 			found="yes"
   10209 		fi
   10210 	fi
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 xorg_testset_save_CFLAGS="$CFLAGS"
   10227 
   10228 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10229 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10231 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10232 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10233   $as_echo_n "(cached) " >&6
   10234 else
   10235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10236 /* end confdefs.h.  */
   10237 int i;
   10238 _ACEOF
   10239 if ac_fn_c_try_compile "$LINENO"; then :
   10240   xorg_cv_cc_flag_unknown_warning_option=yes
   10241 else
   10242   xorg_cv_cc_flag_unknown_warning_option=no
   10243 fi
   10244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10245 fi
   10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10247 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10248 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10249 	CFLAGS="$xorg_testset_save_CFLAGS"
   10250 fi
   10251 
   10252 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10253 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10254 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10255 	fi
   10256 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10257 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10258 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10259 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10260   $as_echo_n "(cached) " >&6
   10261 else
   10262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10263 /* end confdefs.h.  */
   10264 int i;
   10265 _ACEOF
   10266 if ac_fn_c_try_compile "$LINENO"; then :
   10267   xorg_cv_cc_flag_unused_command_line_argument=yes
   10268 else
   10269   xorg_cv_cc_flag_unused_command_line_argument=no
   10270 fi
   10271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10272 fi
   10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10274 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10275 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10276 	CFLAGS="$xorg_testset_save_CFLAGS"
   10277 fi
   10278 
   10279 found="no"
   10280 
   10281 	if test $found = "no" ; then
   10282 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10283 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10284 		fi
   10285 
   10286 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10287 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10288 		fi
   10289 
   10290 		CFLAGS="$CFLAGS -Werror"
   10291 
   10292 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10293 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10294 		cacheid=xorg_cv_cc_flag__Werror
   10295 		if eval \${$cacheid+:} false; then :
   10296   $as_echo_n "(cached) " >&6
   10297 else
   10298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10299 /* end confdefs.h.  */
   10300 int i;
   10301 int
   10302 main ()
   10303 {
   10304 
   10305   ;
   10306   return 0;
   10307 }
   10308 _ACEOF
   10309 if ac_fn_c_try_link "$LINENO"; then :
   10310   eval $cacheid=yes
   10311 else
   10312   eval $cacheid=no
   10313 fi
   10314 rm -f core conftest.err conftest.$ac_objext \
   10315     conftest$ac_exeext conftest.$ac_ext
   10316 fi
   10317 
   10318 
   10319 		CFLAGS="$xorg_testset_save_CFLAGS"
   10320 
   10321 		eval supported=\$$cacheid
   10322 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10323 $as_echo "$supported" >&6; }
   10324 		if test "$supported" = "yes" ; then
   10325 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10326 			found="yes"
   10327 		fi
   10328 	fi
   10329 
   10330 	if test $found = "no" ; then
   10331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10333 		fi
   10334 
   10335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10337 		fi
   10338 
   10339 		CFLAGS="$CFLAGS -errwarn"
   10340 
   10341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10342 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10343 		cacheid=xorg_cv_cc_flag__errwarn
   10344 		if eval \${$cacheid+:} false; then :
   10345   $as_echo_n "(cached) " >&6
   10346 else
   10347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10348 /* end confdefs.h.  */
   10349 int i;
   10350 int
   10351 main ()
   10352 {
   10353 
   10354   ;
   10355   return 0;
   10356 }
   10357 _ACEOF
   10358 if ac_fn_c_try_link "$LINENO"; then :
   10359   eval $cacheid=yes
   10360 else
   10361   eval $cacheid=no
   10362 fi
   10363 rm -f core conftest.err conftest.$ac_objext \
   10364     conftest$ac_exeext conftest.$ac_ext
   10365 fi
   10366 
   10367 
   10368 		CFLAGS="$xorg_testset_save_CFLAGS"
   10369 
   10370 		eval supported=\$$cacheid
   10371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10372 $as_echo "$supported" >&6; }
   10373 		if test "$supported" = "yes" ; then
   10374 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10375 			found="yes"
   10376 		fi
   10377 	fi
   10378 
   10379 
   10380 
   10381 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10382 # activate it with -Werror, so we add it here explicitly.
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 xorg_testset_save_CFLAGS="$CFLAGS"
   10397 
   10398 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10399 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10401 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10402 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10403   $as_echo_n "(cached) " >&6
   10404 else
   10405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10406 /* end confdefs.h.  */
   10407 int i;
   10408 _ACEOF
   10409 if ac_fn_c_try_compile "$LINENO"; then :
   10410   xorg_cv_cc_flag_unknown_warning_option=yes
   10411 else
   10412   xorg_cv_cc_flag_unknown_warning_option=no
   10413 fi
   10414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10415 fi
   10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10417 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10419 	CFLAGS="$xorg_testset_save_CFLAGS"
   10420 fi
   10421 
   10422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10425 	fi
   10426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10428 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10429 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10430   $as_echo_n "(cached) " >&6
   10431 else
   10432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10433 /* end confdefs.h.  */
   10434 int i;
   10435 _ACEOF
   10436 if ac_fn_c_try_compile "$LINENO"; then :
   10437   xorg_cv_cc_flag_unused_command_line_argument=yes
   10438 else
   10439   xorg_cv_cc_flag_unused_command_line_argument=no
   10440 fi
   10441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10442 fi
   10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10444 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10445 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10446 	CFLAGS="$xorg_testset_save_CFLAGS"
   10447 fi
   10448 
   10449 found="no"
   10450 
   10451 	if test $found = "no" ; then
   10452 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10453 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10454 		fi
   10455 
   10456 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10457 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10458 		fi
   10459 
   10460 		CFLAGS="$CFLAGS -Werror=attributes"
   10461 
   10462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10463 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10464 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10465 		if eval \${$cacheid+:} false; then :
   10466   $as_echo_n "(cached) " >&6
   10467 else
   10468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10469 /* end confdefs.h.  */
   10470 int i;
   10471 int
   10472 main ()
   10473 {
   10474 
   10475   ;
   10476   return 0;
   10477 }
   10478 _ACEOF
   10479 if ac_fn_c_try_link "$LINENO"; then :
   10480   eval $cacheid=yes
   10481 else
   10482   eval $cacheid=no
   10483 fi
   10484 rm -f core conftest.err conftest.$ac_objext \
   10485     conftest$ac_exeext conftest.$ac_ext
   10486 fi
   10487 
   10488 
   10489 		CFLAGS="$xorg_testset_save_CFLAGS"
   10490 
   10491 		eval supported=\$$cacheid
   10492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10493 $as_echo "$supported" >&6; }
   10494 		if test "$supported" = "yes" ; then
   10495 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10496 			found="yes"
   10497 		fi
   10498 	fi
   10499 
   10500 
   10501 
   10502 if test "x$STRICT_COMPILE" = "xyes"; then
   10503     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10504     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10505 fi
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 cat >>confdefs.h <<_ACEOF
   10513 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10514 _ACEOF
   10515 
   10516 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10517 	if test "x$PVM" = "x"; then
   10518 		PVM="0"
   10519 	fi
   10520 
   10521 cat >>confdefs.h <<_ACEOF
   10522 #define PACKAGE_VERSION_MINOR $PVM
   10523 _ACEOF
   10524 
   10525 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10526 	if test "x$PVP" = "x"; then
   10527 		PVP="0"
   10528 	fi
   10529 
   10530 cat >>confdefs.h <<_ACEOF
   10531 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10532 _ACEOF
   10533 
   10534 
   10535 
   10536 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10537 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10538 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10539 touch \$(top_srcdir)/ChangeLog; \
   10540 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10541 
   10542 
   10543 
   10544 
   10545 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10546 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10547 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10548 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10549 touch \$(top_srcdir)/INSTALL; \
   10550 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 case $host_os in
   10558     solaris*)
   10559         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10560         # check for a man page file found in later versions that use
   10561         # traditional section numbers instead
   10562         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10563 $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10564 if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
   10565   $as_echo_n "(cached) " >&6
   10566 else
   10567   test "$cross_compiling" = yes &&
   10568   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10569 if test -r "/usr/share/man/man7/attributes.7"; then
   10570   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10571 else
   10572   ac_cv_file__usr_share_man_man7_attributes_7=no
   10573 fi
   10574 fi
   10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10576 $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10577 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
   10578   SYSV_MAN_SECTIONS=false
   10579 else
   10580   SYSV_MAN_SECTIONS=true
   10581 fi
   10582 
   10583         ;;
   10584     *) SYSV_MAN_SECTIONS=false ;;
   10585 esac
   10586 
   10587 if test x$APP_MAN_SUFFIX = x    ; then
   10588     APP_MAN_SUFFIX=1
   10589 fi
   10590 if test x$APP_MAN_DIR = x    ; then
   10591     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10592 fi
   10593 
   10594 if test x$LIB_MAN_SUFFIX = x    ; then
   10595     LIB_MAN_SUFFIX=3
   10596 fi
   10597 if test x$LIB_MAN_DIR = x    ; then
   10598     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10599 fi
   10600 
   10601 if test x$FILE_MAN_SUFFIX = x    ; then
   10602     case $SYSV_MAN_SECTIONS in
   10603 	true)				FILE_MAN_SUFFIX=4  ;;
   10604 	*)				FILE_MAN_SUFFIX=5  ;;
   10605     esac
   10606 fi
   10607 if test x$FILE_MAN_DIR = x    ; then
   10608     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10609 fi
   10610 
   10611 if test x$MISC_MAN_SUFFIX = x    ; then
   10612     case $SYSV_MAN_SECTIONS in
   10613 	true)				MISC_MAN_SUFFIX=5  ;;
   10614 	*)				MISC_MAN_SUFFIX=7  ;;
   10615     esac
   10616 fi
   10617 if test x$MISC_MAN_DIR = x    ; then
   10618     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10619 fi
   10620 
   10621 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10622     case $SYSV_MAN_SECTIONS in
   10623 	true)				DRIVER_MAN_SUFFIX=7  ;;
   10624 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10625     esac
   10626 fi
   10627 if test x$DRIVER_MAN_DIR = x    ; then
   10628     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10629 fi
   10630 
   10631 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10632     case $SYSV_MAN_SECTIONS in
   10633 	true)				ADMIN_MAN_SUFFIX=1m ;;
   10634 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10635     esac
   10636 fi
   10637 if test x$ADMIN_MAN_DIR = x    ; then
   10638     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10639 fi
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 XORG_MAN_PAGE="X Version 11"
   10656 
   10657 MAN_SUBSTS="\
   10658 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10659 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10660 	-e 's|__xservername__|Xorg|g' \
   10661 	-e 's|__xconfigfile__|xorg.conf|g' \
   10662 	-e 's|__projectroot__|\$(prefix)|g' \
   10663 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10664 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10665 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10666 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10667 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10668 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10669 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10670 
   10671 
   10672 
   10673 # Check whether --enable-silent-rules was given.
   10674 if test "${enable_silent_rules+set}" = set; then :
   10675   enableval=$enable_silent_rules;
   10676 fi
   10677 
   10678 case $enable_silent_rules in # (((
   10679   yes) AM_DEFAULT_VERBOSITY=0;;
   10680    no) AM_DEFAULT_VERBOSITY=1;;
   10681     *) AM_DEFAULT_VERBOSITY=0;;
   10682 esac
   10683 am_make=${MAKE-make}
   10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10685 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10686 if ${am_cv_make_support_nested_variables+:} false; then :
   10687   $as_echo_n "(cached) " >&6
   10688 else
   10689   if $as_echo 'TRUE=$(BAR$(V))
   10690 BAR0=false
   10691 BAR1=true
   10692 V=1
   10693 am__doit:
   10694 	@$(TRUE)
   10695 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10696   am_cv_make_support_nested_variables=yes
   10697 else
   10698   am_cv_make_support_nested_variables=no
   10699 fi
   10700 fi
   10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10702 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10703 if test $am_cv_make_support_nested_variables = yes; then
   10704     AM_V='$(V)'
   10705   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10706 else
   10707   AM_V=$AM_DEFAULT_VERBOSITY
   10708   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10709 fi
   10710 AM_BACKSLASH='\'
   10711 
   10712 
   10713 
   10714 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
   10715 if test "x$ac_cv_func_setenv" = xyes; then :
   10716   have_setenv=yes
   10717 else
   10718   have_setenv=no
   10719 fi
   10720 
   10721 for ac_func in vasprintf
   10722 do :
   10723   ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
   10724 if test "x$ac_cv_func_vasprintf" = xyes; then :
   10725   cat >>confdefs.h <<_ACEOF
   10726 #define HAVE_VASPRINTF 1
   10727 _ACEOF
   10728 
   10729 fi
   10730 done
   10731 
   10732 ac_fn_c_check_decl "$LINENO" "va_copy" "ac_cv_have_decl_va_copy" "
   10733 	$ac_includes_default
   10734 	#include <stdarg.h>
   10735 
   10736 "
   10737 if test "x$ac_cv_have_decl_va_copy" = xyes; then :
   10738   ac_have_decl=1
   10739 else
   10740   ac_have_decl=0
   10741 fi
   10742 
   10743 cat >>confdefs.h <<_ACEOF
   10744 #define HAVE_DECL_VA_COPY $ac_have_decl
   10745 _ACEOF
   10746 
   10747 
   10748  if test x$have_setenv = xno; then
   10749   NEED_SETENV_TRUE=
   10750   NEED_SETENV_FALSE='#'
   10751 else
   10752   NEED_SETENV_TRUE='#'
   10753   NEED_SETENV_FALSE=
   10754 fi
   10755 
   10756 
   10757 # Checks for pkg-config packages
   10758 
   10759 pkg_failed=no
   10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTTOSFNT" >&5
   10761 $as_echo_n "checking for FONTTOSFNT... " >&6; }
   10762 
   10763 if test -n "$FONTTOSFNT_CFLAGS"; then
   10764     pkg_cv_FONTTOSFNT_CFLAGS="$FONTTOSFNT_CFLAGS"
   10765  elif test -n "$PKG_CONFIG"; then
   10766     if test -n "$PKG_CONFIG" && \
   10767     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto freetype2 fontenc\""; } >&5
   10768   ($PKG_CONFIG --exists --print-errors "xproto freetype2 fontenc") 2>&5
   10769   ac_status=$?
   10770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10771   test $ac_status = 0; }; then
   10772   pkg_cv_FONTTOSFNT_CFLAGS=`$PKG_CONFIG --cflags "xproto freetype2 fontenc" 2>/dev/null`
   10773 		      test "x$?" != "x0" && pkg_failed=yes
   10774 else
   10775   pkg_failed=yes
   10776 fi
   10777  else
   10778     pkg_failed=untried
   10779 fi
   10780 if test -n "$FONTTOSFNT_LIBS"; then
   10781     pkg_cv_FONTTOSFNT_LIBS="$FONTTOSFNT_LIBS"
   10782  elif test -n "$PKG_CONFIG"; then
   10783     if test -n "$PKG_CONFIG" && \
   10784     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto freetype2 fontenc\""; } >&5
   10785   ($PKG_CONFIG --exists --print-errors "xproto freetype2 fontenc") 2>&5
   10786   ac_status=$?
   10787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10788   test $ac_status = 0; }; then
   10789   pkg_cv_FONTTOSFNT_LIBS=`$PKG_CONFIG --libs "xproto freetype2 fontenc" 2>/dev/null`
   10790 		      test "x$?" != "x0" && pkg_failed=yes
   10791 else
   10792   pkg_failed=yes
   10793 fi
   10794  else
   10795     pkg_failed=untried
   10796 fi
   10797 
   10798 
   10799 
   10800 if test $pkg_failed = yes; then
   10801    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10802 $as_echo "no" >&6; }
   10803 
   10804 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10805         _pkg_short_errors_supported=yes
   10806 else
   10807         _pkg_short_errors_supported=no
   10808 fi
   10809         if test $_pkg_short_errors_supported = yes; then
   10810 	        FONTTOSFNT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto freetype2 fontenc" 2>&1`
   10811         else
   10812 	        FONTTOSFNT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto freetype2 fontenc" 2>&1`
   10813         fi
   10814 	# Put the nasty error message in config.log where it belongs
   10815 	echo "$FONTTOSFNT_PKG_ERRORS" >&5
   10816 
   10817 	as_fn_error $? "Package requirements (xproto freetype2 fontenc) were not met:
   10818 
   10819 $FONTTOSFNT_PKG_ERRORS
   10820 
   10821 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10822 installed software in a non-standard prefix.
   10823 
   10824 Alternatively, you may set the environment variables FONTTOSFNT_CFLAGS
   10825 and FONTTOSFNT_LIBS to avoid the need to call pkg-config.
   10826 See the pkg-config man page for more details." "$LINENO" 5
   10827 elif test $pkg_failed = untried; then
   10828      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10829 $as_echo "no" >&6; }
   10830 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10832 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10833 is in your PATH or set the PKG_CONFIG environment variable to the full
   10834 path to pkg-config.
   10835 
   10836 Alternatively, you may set the environment variables FONTTOSFNT_CFLAGS
   10837 and FONTTOSFNT_LIBS to avoid the need to call pkg-config.
   10838 See the pkg-config man page for more details.
   10839 
   10840 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10841 See \`config.log' for more details" "$LINENO" 5; }
   10842 else
   10843 	FONTTOSFNT_CFLAGS=$pkg_cv_FONTTOSFNT_CFLAGS
   10844 	FONTTOSFNT_LIBS=$pkg_cv_FONTTOSFNT_LIBS
   10845         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10846 $as_echo "yes" >&6; }
   10847 
   10848 fi
   10849 
   10850 
   10851 ac_config_files="$ac_config_files Makefile man/Makefile"
   10852 
   10853 cat >confcache <<\_ACEOF
   10854 # This file is a shell script that caches the results of configure
   10855 # tests run on this system so they can be shared between configure
   10856 # scripts and configure runs, see configure's option --config-cache.
   10857 # It is not useful on other systems.  If it contains results you don't
   10858 # want to keep, you may remove or edit it.
   10859 #
   10860 # config.status only pays attention to the cache file if you give it
   10861 # the --recheck option to rerun configure.
   10862 #
   10863 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10864 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10865 # following values.
   10866 
   10867 _ACEOF
   10868 
   10869 # The following way of writing the cache mishandles newlines in values,
   10870 # but we know of no workaround that is simple, portable, and efficient.
   10871 # So, we kill variables containing newlines.
   10872 # Ultrix sh set writes to stderr and can't be redirected directly,
   10873 # and sets the high bit in the cache file unless we assign to the vars.
   10874 (
   10875   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10876     eval ac_val=\$$ac_var
   10877     case $ac_val in #(
   10878     *${as_nl}*)
   10879       case $ac_var in #(
   10880       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10881 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10882       esac
   10883       case $ac_var in #(
   10884       _ | IFS | as_nl) ;; #(
   10885       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10886       *) { eval $ac_var=; unset $ac_var;} ;;
   10887       esac ;;
   10888     esac
   10889   done
   10890 
   10891   (set) 2>&1 |
   10892     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10893     *${as_nl}ac_space=\ *)
   10894       # `set' does not quote correctly, so add quotes: double-quote
   10895       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10896       sed -n \
   10897 	"s/'/'\\\\''/g;
   10898 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10899       ;; #(
   10900     *)
   10901       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10902       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10903       ;;
   10904     esac |
   10905     sort
   10906 ) |
   10907   sed '
   10908      /^ac_cv_env_/b end
   10909      t clear
   10910      :clear
   10911      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10912      t end
   10913      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10914      :end' >>confcache
   10915 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10916   if test -w "$cache_file"; then
   10917     if test "x$cache_file" != "x/dev/null"; then
   10918       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10919 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10920       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10921 	cat confcache >"$cache_file"
   10922       else
   10923         case $cache_file in #(
   10924         */* | ?:*)
   10925 	  mv -f confcache "$cache_file"$$ &&
   10926 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10927         *)
   10928 	  mv -f confcache "$cache_file" ;;
   10929 	esac
   10930       fi
   10931     fi
   10932   else
   10933     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10934 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10935   fi
   10936 fi
   10937 rm -f confcache
   10938 
   10939 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10940 # Let make expand exec_prefix.
   10941 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10942 
   10943 DEFS=-DHAVE_CONFIG_H
   10944 
   10945 ac_libobjs=
   10946 ac_ltlibobjs=
   10947 U=
   10948 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10949   # 1. Remove the extension, and $U if already installed.
   10950   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10951   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10952   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10953   #    will be set to the directory where LIBOBJS objects are built.
   10954   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10955   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10956 done
   10957 LIBOBJS=$ac_libobjs
   10958 
   10959 LTLIBOBJS=$ac_ltlibobjs
   10960 
   10961 
   10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10963 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10964    if test -n "$am_sleep_pid"; then
   10965      # Hide warnings about reused PIDs.
   10966      wait $am_sleep_pid 2>/dev/null
   10967    fi
   10968    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10969 $as_echo "done" >&6; }
   10970  if test -n "$EXEEXT"; then
   10971   am__EXEEXT_TRUE=
   10972   am__EXEEXT_FALSE='#'
   10973 else
   10974   am__EXEEXT_TRUE='#'
   10975   am__EXEEXT_FALSE=
   10976 fi
   10977 
   10978 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10979   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10981 fi
   10982 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10983   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10985 fi
   10986 if test -z "${NEED_SETENV_TRUE}" && test -z "${NEED_SETENV_FALSE}"; then
   10987   as_fn_error $? "conditional \"NEED_SETENV\" was never defined.
   10988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10989 fi
   10990 
   10991 : "${CONFIG_STATUS=./config.status}"
   10992 ac_write_fail=0
   10993 ac_clean_files_save=$ac_clean_files
   10994 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10995 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10996 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10997 as_write_fail=0
   10998 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10999 #! $SHELL
   11000 # Generated by $as_me.
   11001 # Run this file to recreate the current configuration.
   11002 # Compiler output produced by configure, useful for debugging
   11003 # configure, is in config.log if it exists.
   11004 
   11005 debug=false
   11006 ac_cs_recheck=false
   11007 ac_cs_silent=false
   11008 
   11009 SHELL=\${CONFIG_SHELL-$SHELL}
   11010 export SHELL
   11011 _ASEOF
   11012 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11013 ## -------------------- ##
   11014 ## M4sh Initialization. ##
   11015 ## -------------------- ##
   11016 
   11017 # Be more Bourne compatible
   11018 DUALCASE=1; export DUALCASE # for MKS sh
   11019 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11020   emulate sh
   11021   NULLCMD=:
   11022   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11023   # is contrary to our usage.  Disable this feature.
   11024   alias -g '${1+"$@"}'='"$@"'
   11025   setopt NO_GLOB_SUBST
   11026 else
   11027   case `(set -o) 2>/dev/null` in #(
   11028   *posix*) :
   11029     set -o posix ;; #(
   11030   *) :
   11031      ;;
   11032 esac
   11033 fi
   11034 
   11035 
   11036 as_nl='
   11037 '
   11038 export as_nl
   11039 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11040 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11041 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11042 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11043 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11044 # but without wasting forks for bash or zsh.
   11045 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11046     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11047   as_echo='print -r --'
   11048   as_echo_n='print -rn --'
   11049 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11050   as_echo='printf %s\n'
   11051   as_echo_n='printf %s'
   11052 else
   11053   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11054     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11055     as_echo_n='/usr/ucb/echo -n'
   11056   else
   11057     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11058     as_echo_n_body='eval
   11059       arg=$1;
   11060       case $arg in #(
   11061       *"$as_nl"*)
   11062 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11063 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11064       esac;
   11065       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11066     '
   11067     export as_echo_n_body
   11068     as_echo_n='sh -c $as_echo_n_body as_echo'
   11069   fi
   11070   export as_echo_body
   11071   as_echo='sh -c $as_echo_body as_echo'
   11072 fi
   11073 
   11074 # The user is always right.
   11075 if test "${PATH_SEPARATOR+set}" != set; then
   11076   PATH_SEPARATOR=:
   11077   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11078     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11079       PATH_SEPARATOR=';'
   11080   }
   11081 fi
   11082 
   11083 
   11084 # IFS
   11085 # We need space, tab and new line, in precisely that order.  Quoting is
   11086 # there to prevent editors from complaining about space-tab.
   11087 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11088 # splitting by setting IFS to empty value.)
   11089 IFS=" ""	$as_nl"
   11090 
   11091 # Find who we are.  Look in the path if we contain no directory separator.
   11092 as_myself=
   11093 case $0 in #((
   11094   *[\\/]* ) as_myself=$0 ;;
   11095   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11096 for as_dir in $PATH
   11097 do
   11098   IFS=$as_save_IFS
   11099   test -z "$as_dir" && as_dir=.
   11100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11101   done
   11102 IFS=$as_save_IFS
   11103 
   11104      ;;
   11105 esac
   11106 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11107 # in which case we are not to be found in the path.
   11108 if test "x$as_myself" = x; then
   11109   as_myself=$0
   11110 fi
   11111 if test ! -f "$as_myself"; then
   11112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11113   exit 1
   11114 fi
   11115 
   11116 # Unset variables that we do not need and which cause bugs (e.g. in
   11117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11118 # suppresses any "Segmentation fault" message there.  '((' could
   11119 # trigger a bug in pdksh 5.2.14.
   11120 for as_var in BASH_ENV ENV MAIL MAILPATH
   11121 do eval test x\${$as_var+set} = xset \
   11122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11123 done
   11124 PS1='$ '
   11125 PS2='> '
   11126 PS4='+ '
   11127 
   11128 # NLS nuisances.
   11129 LC_ALL=C
   11130 export LC_ALL
   11131 LANGUAGE=C
   11132 export LANGUAGE
   11133 
   11134 # CDPATH.
   11135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11136 
   11137 
   11138 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11139 # ----------------------------------------
   11140 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11141 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11142 # script with STATUS, using 1 if that was 0.
   11143 as_fn_error ()
   11144 {
   11145   as_status=$1; test $as_status -eq 0 && as_status=1
   11146   if test "$4"; then
   11147     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11148     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11149   fi
   11150   $as_echo "$as_me: error: $2" >&2
   11151   as_fn_exit $as_status
   11152 } # as_fn_error
   11153 
   11154 
   11155 # as_fn_set_status STATUS
   11156 # -----------------------
   11157 # Set $? to STATUS, without forking.
   11158 as_fn_set_status ()
   11159 {
   11160   return $1
   11161 } # as_fn_set_status
   11162 
   11163 # as_fn_exit STATUS
   11164 # -----------------
   11165 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11166 as_fn_exit ()
   11167 {
   11168   set +e
   11169   as_fn_set_status $1
   11170   exit $1
   11171 } # as_fn_exit
   11172 
   11173 # as_fn_unset VAR
   11174 # ---------------
   11175 # Portably unset VAR.
   11176 as_fn_unset ()
   11177 {
   11178   { eval $1=; unset $1;}
   11179 }
   11180 as_unset=as_fn_unset
   11181 # as_fn_append VAR VALUE
   11182 # ----------------------
   11183 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11184 # advantage of any shell optimizations that allow amortized linear growth over
   11185 # repeated appends, instead of the typical quadratic growth present in naive
   11186 # implementations.
   11187 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11188   eval 'as_fn_append ()
   11189   {
   11190     eval $1+=\$2
   11191   }'
   11192 else
   11193   as_fn_append ()
   11194   {
   11195     eval $1=\$$1\$2
   11196   }
   11197 fi # as_fn_append
   11198 
   11199 # as_fn_arith ARG...
   11200 # ------------------
   11201 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11202 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11203 # must be portable across $(()) and expr.
   11204 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11205   eval 'as_fn_arith ()
   11206   {
   11207     as_val=$(( $* ))
   11208   }'
   11209 else
   11210   as_fn_arith ()
   11211   {
   11212     as_val=`expr "$@" || test $? -eq 1`
   11213   }
   11214 fi # as_fn_arith
   11215 
   11216 
   11217 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11218    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11219   as_expr=expr
   11220 else
   11221   as_expr=false
   11222 fi
   11223 
   11224 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11225   as_basename=basename
   11226 else
   11227   as_basename=false
   11228 fi
   11229 
   11230 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11231   as_dirname=dirname
   11232 else
   11233   as_dirname=false
   11234 fi
   11235 
   11236 as_me=`$as_basename -- "$0" ||
   11237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11238 	 X"$0" : 'X\(//\)$' \| \
   11239 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11240 $as_echo X/"$0" |
   11241     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11242 	    s//\1/
   11243 	    q
   11244 	  }
   11245 	  /^X\/\(\/\/\)$/{
   11246 	    s//\1/
   11247 	    q
   11248 	  }
   11249 	  /^X\/\(\/\).*/{
   11250 	    s//\1/
   11251 	    q
   11252 	  }
   11253 	  s/.*/./; q'`
   11254 
   11255 # Avoid depending upon Character Ranges.
   11256 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11257 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11258 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11259 as_cr_digits='0123456789'
   11260 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11261 
   11262 ECHO_C= ECHO_N= ECHO_T=
   11263 case `echo -n x` in #(((((
   11264 -n*)
   11265   case `echo 'xy\c'` in
   11266   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11267   xy)  ECHO_C='\c';;
   11268   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11269        ECHO_T='	';;
   11270   esac;;
   11271 *)
   11272   ECHO_N='-n';;
   11273 esac
   11274 
   11275 rm -f conf$$ conf$$.exe conf$$.file
   11276 if test -d conf$$.dir; then
   11277   rm -f conf$$.dir/conf$$.file
   11278 else
   11279   rm -f conf$$.dir
   11280   mkdir conf$$.dir 2>/dev/null
   11281 fi
   11282 if (echo >conf$$.file) 2>/dev/null; then
   11283   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11284     as_ln_s='ln -s'
   11285     # ... but there are two gotchas:
   11286     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11287     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11288     # In both cases, we have to default to `cp -pR'.
   11289     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11290       as_ln_s='cp -pR'
   11291   elif ln conf$$.file conf$$ 2>/dev/null; then
   11292     as_ln_s=ln
   11293   else
   11294     as_ln_s='cp -pR'
   11295   fi
   11296 else
   11297   as_ln_s='cp -pR'
   11298 fi
   11299 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11300 rmdir conf$$.dir 2>/dev/null
   11301 
   11302 
   11303 # as_fn_mkdir_p
   11304 # -------------
   11305 # Create "$as_dir" as a directory, including parents if necessary.
   11306 as_fn_mkdir_p ()
   11307 {
   11308 
   11309   case $as_dir in #(
   11310   -*) as_dir=./$as_dir;;
   11311   esac
   11312   test -d "$as_dir" || eval $as_mkdir_p || {
   11313     as_dirs=
   11314     while :; do
   11315       case $as_dir in #(
   11316       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11317       *) as_qdir=$as_dir;;
   11318       esac
   11319       as_dirs="'$as_qdir' $as_dirs"
   11320       as_dir=`$as_dirname -- "$as_dir" ||
   11321 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11322 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11323 	 X"$as_dir" : 'X\(//\)$' \| \
   11324 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11325 $as_echo X"$as_dir" |
   11326     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11327 	    s//\1/
   11328 	    q
   11329 	  }
   11330 	  /^X\(\/\/\)[^/].*/{
   11331 	    s//\1/
   11332 	    q
   11333 	  }
   11334 	  /^X\(\/\/\)$/{
   11335 	    s//\1/
   11336 	    q
   11337 	  }
   11338 	  /^X\(\/\).*/{
   11339 	    s//\1/
   11340 	    q
   11341 	  }
   11342 	  s/.*/./; q'`
   11343       test -d "$as_dir" && break
   11344     done
   11345     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11346   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11347 
   11348 
   11349 } # as_fn_mkdir_p
   11350 if mkdir -p . 2>/dev/null; then
   11351   as_mkdir_p='mkdir -p "$as_dir"'
   11352 else
   11353   test -d ./-p && rmdir ./-p
   11354   as_mkdir_p=false
   11355 fi
   11356 
   11357 
   11358 # as_fn_executable_p FILE
   11359 # -----------------------
   11360 # Test if FILE is an executable regular file.
   11361 as_fn_executable_p ()
   11362 {
   11363   test -f "$1" && test -x "$1"
   11364 } # as_fn_executable_p
   11365 as_test_x='test -x'
   11366 as_executable_p=as_fn_executable_p
   11367 
   11368 # Sed expression to map a string onto a valid CPP name.
   11369 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11370 
   11371 # Sed expression to map a string onto a valid variable name.
   11372 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11373 
   11374 
   11375 exec 6>&1
   11376 ## ----------------------------------- ##
   11377 ## Main body of $CONFIG_STATUS script. ##
   11378 ## ----------------------------------- ##
   11379 _ASEOF
   11380 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11381 
   11382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11383 # Save the log message, to keep $0 and so on meaningful, and to
   11384 # report actual input values of CONFIG_FILES etc. instead of their
   11385 # values after options handling.
   11386 ac_log="
   11387 This file was extended by fonttosfnt $as_me 1.2.2, which was
   11388 generated by GNU Autoconf 2.69.  Invocation command line was
   11389 
   11390   CONFIG_FILES    = $CONFIG_FILES
   11391   CONFIG_HEADERS  = $CONFIG_HEADERS
   11392   CONFIG_LINKS    = $CONFIG_LINKS
   11393   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11394   $ $0 $@
   11395 
   11396 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11397 "
   11398 
   11399 _ACEOF
   11400 
   11401 case $ac_config_files in *"
   11402 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11403 esac
   11404 
   11405 case $ac_config_headers in *"
   11406 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11407 esac
   11408 
   11409 
   11410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11411 # Files that config.status was made for.
   11412 config_files="$ac_config_files"
   11413 config_headers="$ac_config_headers"
   11414 config_commands="$ac_config_commands"
   11415 
   11416 _ACEOF
   11417 
   11418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11419 ac_cs_usage="\
   11420 \`$as_me' instantiates files and other configuration actions
   11421 from templates according to the current configuration.  Unless the files
   11422 and actions are specified as TAGs, all are instantiated by default.
   11423 
   11424 Usage: $0 [OPTION]... [TAG]...
   11425 
   11426   -h, --help       print this help, then exit
   11427   -V, --version    print version number and configuration settings, then exit
   11428       --config     print configuration, then exit
   11429   -q, --quiet, --silent
   11430                    do not print progress messages
   11431   -d, --debug      don't remove temporary files
   11432       --recheck    update $as_me by reconfiguring in the same conditions
   11433       --file=FILE[:TEMPLATE]
   11434                    instantiate the configuration file FILE
   11435       --header=FILE[:TEMPLATE]
   11436                    instantiate the configuration header FILE
   11437 
   11438 Configuration files:
   11439 $config_files
   11440 
   11441 Configuration headers:
   11442 $config_headers
   11443 
   11444 Configuration commands:
   11445 $config_commands
   11446 
   11447 Report bugs to <https://gitlab.freedesktop.org/xorg/app/fonttosfnt/issues>."
   11448 
   11449 _ACEOF
   11450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11451 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11452 ac_cs_version="\\
   11453 fonttosfnt config.status 1.2.2
   11454 configured by $0, generated by GNU Autoconf 2.69,
   11455   with options \\"\$ac_cs_config\\"
   11456 
   11457 Copyright (C) 2012 Free Software Foundation, Inc.
   11458 This config.status script is free software; the Free Software Foundation
   11459 gives unlimited permission to copy, distribute and modify it."
   11460 
   11461 ac_pwd='$ac_pwd'
   11462 srcdir='$srcdir'
   11463 INSTALL='$INSTALL'
   11464 MKDIR_P='$MKDIR_P'
   11465 AWK='$AWK'
   11466 test -n "\$AWK" || AWK=awk
   11467 _ACEOF
   11468 
   11469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11470 # The default lists apply if the user does not specify any file.
   11471 ac_need_defaults=:
   11472 while test $# != 0
   11473 do
   11474   case $1 in
   11475   --*=?*)
   11476     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11477     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11478     ac_shift=:
   11479     ;;
   11480   --*=)
   11481     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11482     ac_optarg=
   11483     ac_shift=:
   11484     ;;
   11485   *)
   11486     ac_option=$1
   11487     ac_optarg=$2
   11488     ac_shift=shift
   11489     ;;
   11490   esac
   11491 
   11492   case $ac_option in
   11493   # Handling of the options.
   11494   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11495     ac_cs_recheck=: ;;
   11496   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11497     $as_echo "$ac_cs_version"; exit ;;
   11498   --config | --confi | --conf | --con | --co | --c )
   11499     $as_echo "$ac_cs_config"; exit ;;
   11500   --debug | --debu | --deb | --de | --d | -d )
   11501     debug=: ;;
   11502   --file | --fil | --fi | --f )
   11503     $ac_shift
   11504     case $ac_optarg in
   11505     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11506     '') as_fn_error $? "missing file argument" ;;
   11507     esac
   11508     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11509     ac_need_defaults=false;;
   11510   --header | --heade | --head | --hea )
   11511     $ac_shift
   11512     case $ac_optarg in
   11513     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11514     esac
   11515     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11516     ac_need_defaults=false;;
   11517   --he | --h)
   11518     # Conflict between --help and --header
   11519     as_fn_error $? "ambiguous option: \`$1'
   11520 Try \`$0 --help' for more information.";;
   11521   --help | --hel | -h )
   11522     $as_echo "$ac_cs_usage"; exit ;;
   11523   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11524   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11525     ac_cs_silent=: ;;
   11526 
   11527   # This is an error.
   11528   -*) as_fn_error $? "unrecognized option: \`$1'
   11529 Try \`$0 --help' for more information." ;;
   11530 
   11531   *) as_fn_append ac_config_targets " $1"
   11532      ac_need_defaults=false ;;
   11533 
   11534   esac
   11535   shift
   11536 done
   11537 
   11538 ac_configure_extra_args=
   11539 
   11540 if $ac_cs_silent; then
   11541   exec 6>/dev/null
   11542   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11543 fi
   11544 
   11545 _ACEOF
   11546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11547 if \$ac_cs_recheck; then
   11548   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11549   shift
   11550   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11551   CONFIG_SHELL='$SHELL'
   11552   export CONFIG_SHELL
   11553   exec "\$@"
   11554 fi
   11555 
   11556 _ACEOF
   11557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11558 exec 5>>config.log
   11559 {
   11560   echo
   11561   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11562 ## Running $as_me. ##
   11563 _ASBOX
   11564   $as_echo "$ac_log"
   11565 } >&5
   11566 
   11567 _ACEOF
   11568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11569 #
   11570 # INIT-COMMANDS
   11571 #
   11572 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   11573 
   11574 _ACEOF
   11575 
   11576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11577 
   11578 # Handling of arguments.
   11579 for ac_config_target in $ac_config_targets
   11580 do
   11581   case $ac_config_target in
   11582     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11583     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11584     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11585     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11586 
   11587   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11588   esac
   11589 done
   11590 
   11591 
   11592 # If the user did not use the arguments to specify the items to instantiate,
   11593 # then the envvar interface is used.  Set only those that are not.
   11594 # We use the long form for the default assignment because of an extremely
   11595 # bizarre bug on SunOS 4.1.3.
   11596 if $ac_need_defaults; then
   11597   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11598   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11599   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11600 fi
   11601 
   11602 # Have a temporary directory for convenience.  Make it in the build tree
   11603 # simply because there is no reason against having it here, and in addition,
   11604 # creating and moving files from /tmp can sometimes cause problems.
   11605 # Hook for its removal unless debugging.
   11606 # Note that there is a small window in which the directory will not be cleaned:
   11607 # after its creation but before its name has been assigned to `$tmp'.
   11608 $debug ||
   11609 {
   11610   tmp= ac_tmp=
   11611   trap 'exit_status=$?
   11612   : "${ac_tmp:=$tmp}"
   11613   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11614 ' 0
   11615   trap 'as_fn_exit 1' 1 2 13 15
   11616 }
   11617 # Create a (secure) tmp directory for tmp files.
   11618 
   11619 {
   11620   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11621   test -d "$tmp"
   11622 }  ||
   11623 {
   11624   tmp=./conf$$-$RANDOM
   11625   (umask 077 && mkdir "$tmp")
   11626 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11627 ac_tmp=$tmp
   11628 
   11629 # Set up the scripts for CONFIG_FILES section.
   11630 # No need to generate them if there are no CONFIG_FILES.
   11631 # This happens for instance with `./config.status config.h'.
   11632 if test -n "$CONFIG_FILES"; then
   11633 
   11634 
   11635 ac_cr=`echo X | tr X '\015'`
   11636 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11637 # But we know of no other shell where ac_cr would be empty at this
   11638 # point, so we can use a bashism as a fallback.
   11639 if test "x$ac_cr" = x; then
   11640   eval ac_cr=\$\'\\r\'
   11641 fi
   11642 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11643 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11644   ac_cs_awk_cr='\\r'
   11645 else
   11646   ac_cs_awk_cr=$ac_cr
   11647 fi
   11648 
   11649 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11650 _ACEOF
   11651 
   11652 
   11653 {
   11654   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11655   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11656   echo "_ACEOF"
   11657 } >conf$$subs.sh ||
   11658   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11659 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11660 ac_delim='%!_!# '
   11661 for ac_last_try in false false false false false :; do
   11662   . ./conf$$subs.sh ||
   11663     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11664 
   11665   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11666   if test $ac_delim_n = $ac_delim_num; then
   11667     break
   11668   elif $ac_last_try; then
   11669     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11670   else
   11671     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11672   fi
   11673 done
   11674 rm -f conf$$subs.sh
   11675 
   11676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11677 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11678 _ACEOF
   11679 sed -n '
   11680 h
   11681 s/^/S["/; s/!.*/"]=/
   11682 p
   11683 g
   11684 s/^[^!]*!//
   11685 :repl
   11686 t repl
   11687 s/'"$ac_delim"'$//
   11688 t delim
   11689 :nl
   11690 h
   11691 s/\(.\{148\}\)..*/\1/
   11692 t more1
   11693 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11694 p
   11695 n
   11696 b repl
   11697 :more1
   11698 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11699 p
   11700 g
   11701 s/.\{148\}//
   11702 t nl
   11703 :delim
   11704 h
   11705 s/\(.\{148\}\)..*/\1/
   11706 t more2
   11707 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11708 p
   11709 b
   11710 :more2
   11711 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11712 p
   11713 g
   11714 s/.\{148\}//
   11715 t delim
   11716 ' <conf$$subs.awk | sed '
   11717 /^[^""]/{
   11718   N
   11719   s/\n//
   11720 }
   11721 ' >>$CONFIG_STATUS || ac_write_fail=1
   11722 rm -f conf$$subs.awk
   11723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11724 _ACAWK
   11725 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11726   for (key in S) S_is_set[key] = 1
   11727   FS = ""
   11728 
   11729 }
   11730 {
   11731   line = $ 0
   11732   nfields = split(line, field, "@")
   11733   substed = 0
   11734   len = length(field[1])
   11735   for (i = 2; i < nfields; i++) {
   11736     key = field[i]
   11737     keylen = length(key)
   11738     if (S_is_set[key]) {
   11739       value = S[key]
   11740       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11741       len += length(value) + length(field[++i])
   11742       substed = 1
   11743     } else
   11744       len += 1 + keylen
   11745   }
   11746 
   11747   print line
   11748 }
   11749 
   11750 _ACAWK
   11751 _ACEOF
   11752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11753 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11754   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11755 else
   11756   cat
   11757 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11758   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11759 _ACEOF
   11760 
   11761 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11762 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11763 # trailing colons and then remove the whole line if VPATH becomes empty
   11764 # (actually we leave an empty line to preserve line numbers).
   11765 if test "x$srcdir" = x.; then
   11766   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11767 h
   11768 s///
   11769 s/^/:/
   11770 s/[	 ]*$/:/
   11771 s/:\$(srcdir):/:/g
   11772 s/:\${srcdir}:/:/g
   11773 s/:@srcdir@:/:/g
   11774 s/^:*//
   11775 s/:*$//
   11776 x
   11777 s/\(=[	 ]*\).*/\1/
   11778 G
   11779 s/\n//
   11780 s/^[^=]*=[	 ]*$//
   11781 }'
   11782 fi
   11783 
   11784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11785 fi # test -n "$CONFIG_FILES"
   11786 
   11787 # Set up the scripts for CONFIG_HEADERS section.
   11788 # No need to generate them if there are no CONFIG_HEADERS.
   11789 # This happens for instance with `./config.status Makefile'.
   11790 if test -n "$CONFIG_HEADERS"; then
   11791 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11792 BEGIN {
   11793 _ACEOF
   11794 
   11795 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11796 # here-document in config.status, that substitutes the proper values into
   11797 # config.h.in to produce config.h.
   11798 
   11799 # Create a delimiter string that does not exist in confdefs.h, to ease
   11800 # handling of long lines.
   11801 ac_delim='%!_!# '
   11802 for ac_last_try in false false :; do
   11803   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11804   if test -z "$ac_tt"; then
   11805     break
   11806   elif $ac_last_try; then
   11807     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11808   else
   11809     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11810   fi
   11811 done
   11812 
   11813 # For the awk script, D is an array of macro values keyed by name,
   11814 # likewise P contains macro parameters if any.  Preserve backslash
   11815 # newline sequences.
   11816 
   11817 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11818 sed -n '
   11819 s/.\{148\}/&'"$ac_delim"'/g
   11820 t rset
   11821 :rset
   11822 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11823 t def
   11824 d
   11825 :def
   11826 s/\\$//
   11827 t bsnl
   11828 s/["\\]/\\&/g
   11829 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11830 D["\1"]=" \3"/p
   11831 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11832 d
   11833 :bsnl
   11834 s/["\\]/\\&/g
   11835 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11836 D["\1"]=" \3\\\\\\n"\\/p
   11837 t cont
   11838 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11839 t cont
   11840 d
   11841 :cont
   11842 n
   11843 s/.\{148\}/&'"$ac_delim"'/g
   11844 t clear
   11845 :clear
   11846 s/\\$//
   11847 t bsnlc
   11848 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11849 d
   11850 :bsnlc
   11851 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11852 b cont
   11853 ' <confdefs.h | sed '
   11854 s/'"$ac_delim"'/"\\\
   11855 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11856 
   11857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11858   for (key in D) D_is_set[key] = 1
   11859   FS = ""
   11860 }
   11861 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11862   line = \$ 0
   11863   split(line, arg, " ")
   11864   if (arg[1] == "#") {
   11865     defundef = arg[2]
   11866     mac1 = arg[3]
   11867   } else {
   11868     defundef = substr(arg[1], 2)
   11869     mac1 = arg[2]
   11870   }
   11871   split(mac1, mac2, "(") #)
   11872   macro = mac2[1]
   11873   prefix = substr(line, 1, index(line, defundef) - 1)
   11874   if (D_is_set[macro]) {
   11875     # Preserve the white space surrounding the "#".
   11876     print prefix "define", macro P[macro] D[macro]
   11877     next
   11878   } else {
   11879     # Replace #undef with comments.  This is necessary, for example,
   11880     # in the case of _POSIX_SOURCE, which is predefined and required
   11881     # on some systems where configure will not decide to define it.
   11882     if (defundef == "undef") {
   11883       print "/*", prefix defundef, macro, "*/"
   11884       next
   11885     }
   11886   }
   11887 }
   11888 { print }
   11889 _ACAWK
   11890 _ACEOF
   11891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11892   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11893 fi # test -n "$CONFIG_HEADERS"
   11894 
   11895 
   11896 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11897 shift
   11898 for ac_tag
   11899 do
   11900   case $ac_tag in
   11901   :[FHLC]) ac_mode=$ac_tag; continue;;
   11902   esac
   11903   case $ac_mode$ac_tag in
   11904   :[FHL]*:*);;
   11905   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11906   :[FH]-) ac_tag=-:-;;
   11907   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11908   esac
   11909   ac_save_IFS=$IFS
   11910   IFS=:
   11911   set x $ac_tag
   11912   IFS=$ac_save_IFS
   11913   shift
   11914   ac_file=$1
   11915   shift
   11916 
   11917   case $ac_mode in
   11918   :L) ac_source=$1;;
   11919   :[FH])
   11920     ac_file_inputs=
   11921     for ac_f
   11922     do
   11923       case $ac_f in
   11924       -) ac_f="$ac_tmp/stdin";;
   11925       *) # Look for the file first in the build tree, then in the source tree
   11926 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11927 	 # because $ac_f cannot contain `:'.
   11928 	 test -f "$ac_f" ||
   11929 	   case $ac_f in
   11930 	   [\\/$]*) false;;
   11931 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11932 	   esac ||
   11933 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11934       esac
   11935       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11936       as_fn_append ac_file_inputs " '$ac_f'"
   11937     done
   11938 
   11939     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11940     # use $as_me), people would be surprised to read:
   11941     #    /* config.h.  Generated by config.status.  */
   11942     configure_input='Generated from '`
   11943 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11944 	`' by configure.'
   11945     if test x"$ac_file" != x-; then
   11946       configure_input="$ac_file.  $configure_input"
   11947       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11948 $as_echo "$as_me: creating $ac_file" >&6;}
   11949     fi
   11950     # Neutralize special characters interpreted by sed in replacement strings.
   11951     case $configure_input in #(
   11952     *\&* | *\|* | *\\* )
   11953        ac_sed_conf_input=`$as_echo "$configure_input" |
   11954        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11955     *) ac_sed_conf_input=$configure_input;;
   11956     esac
   11957 
   11958     case $ac_tag in
   11959     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11960       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11961     esac
   11962     ;;
   11963   esac
   11964 
   11965   ac_dir=`$as_dirname -- "$ac_file" ||
   11966 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11967 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11968 	 X"$ac_file" : 'X\(//\)$' \| \
   11969 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11970 $as_echo X"$ac_file" |
   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   as_dir="$ac_dir"; as_fn_mkdir_p
   11989   ac_builddir=.
   11990 
   11991 case "$ac_dir" in
   11992 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11993 *)
   11994   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11995   # A ".." for each directory in $ac_dir_suffix.
   11996   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11997   case $ac_top_builddir_sub in
   11998   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11999   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12000   esac ;;
   12001 esac
   12002 ac_abs_top_builddir=$ac_pwd
   12003 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12004 # for backward compatibility:
   12005 ac_top_builddir=$ac_top_build_prefix
   12006 
   12007 case $srcdir in
   12008   .)  # We are building in place.
   12009     ac_srcdir=.
   12010     ac_top_srcdir=$ac_top_builddir_sub
   12011     ac_abs_top_srcdir=$ac_pwd ;;
   12012   [\\/]* | ?:[\\/]* )  # Absolute name.
   12013     ac_srcdir=$srcdir$ac_dir_suffix;
   12014     ac_top_srcdir=$srcdir
   12015     ac_abs_top_srcdir=$srcdir ;;
   12016   *) # Relative name.
   12017     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12018     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12019     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12020 esac
   12021 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12022 
   12023 
   12024   case $ac_mode in
   12025   :F)
   12026   #
   12027   # CONFIG_FILE
   12028   #
   12029 
   12030   case $INSTALL in
   12031   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12032   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12033   esac
   12034   ac_MKDIR_P=$MKDIR_P
   12035   case $MKDIR_P in
   12036   [\\/$]* | ?:[\\/]* ) ;;
   12037   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12038   esac
   12039 _ACEOF
   12040 
   12041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12042 # If the template does not know about datarootdir, expand it.
   12043 # FIXME: This hack should be removed a few years after 2.60.
   12044 ac_datarootdir_hack=; ac_datarootdir_seen=
   12045 ac_sed_dataroot='
   12046 /datarootdir/ {
   12047   p
   12048   q
   12049 }
   12050 /@datadir@/p
   12051 /@docdir@/p
   12052 /@infodir@/p
   12053 /@localedir@/p
   12054 /@mandir@/p'
   12055 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12056 *datarootdir*) ac_datarootdir_seen=yes;;
   12057 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12058   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12059 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12060 _ACEOF
   12061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12062   ac_datarootdir_hack='
   12063   s&@datadir@&$datadir&g
   12064   s&@docdir@&$docdir&g
   12065   s&@infodir@&$infodir&g
   12066   s&@localedir@&$localedir&g
   12067   s&@mandir@&$mandir&g
   12068   s&\\\${datarootdir}&$datarootdir&g' ;;
   12069 esac
   12070 _ACEOF
   12071 
   12072 # Neutralize VPATH when `$srcdir' = `.'.
   12073 # Shell code in configure.ac might set extrasub.
   12074 # FIXME: do we really want to maintain this feature?
   12075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12076 ac_sed_extra="$ac_vpsub
   12077 $extrasub
   12078 _ACEOF
   12079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12080 :t
   12081 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12082 s|@configure_input@|$ac_sed_conf_input|;t t
   12083 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12084 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12085 s&@srcdir@&$ac_srcdir&;t t
   12086 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12087 s&@top_srcdir@&$ac_top_srcdir&;t t
   12088 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12089 s&@builddir@&$ac_builddir&;t t
   12090 s&@abs_builddir@&$ac_abs_builddir&;t t
   12091 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12092 s&@INSTALL@&$ac_INSTALL&;t t
   12093 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12094 $ac_datarootdir_hack
   12095 "
   12096 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12097   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12098 
   12099 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12100   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12101   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12102       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12103   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12104 which seems to be undefined.  Please make sure it is defined" >&5
   12105 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12106 which seems to be undefined.  Please make sure it is defined" >&2;}
   12107 
   12108   rm -f "$ac_tmp/stdin"
   12109   case $ac_file in
   12110   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12111   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12112   esac \
   12113   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12114  ;;
   12115   :H)
   12116   #
   12117   # CONFIG_HEADER
   12118   #
   12119   if test x"$ac_file" != x-; then
   12120     {
   12121       $as_echo "/* $configure_input  */" \
   12122       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12123     } >"$ac_tmp/config.h" \
   12124       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12125     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12126       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12127 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12128     else
   12129       rm -f "$ac_file"
   12130       mv "$ac_tmp/config.h" "$ac_file" \
   12131 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12132     fi
   12133   else
   12134     $as_echo "/* $configure_input  */" \
   12135       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12136       || as_fn_error $? "could not create -" "$LINENO" 5
   12137   fi
   12138 # Compute "$ac_file"'s index in $config_headers.
   12139 _am_arg="$ac_file"
   12140 _am_stamp_count=1
   12141 for _am_header in $config_headers :; do
   12142   case $_am_header in
   12143     $_am_arg | $_am_arg:* )
   12144       break ;;
   12145     * )
   12146       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12147   esac
   12148 done
   12149 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12150 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12151 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12152 	 X"$_am_arg" : 'X\(//\)$' \| \
   12153 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12154 $as_echo X"$_am_arg" |
   12155     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12156 	    s//\1/
   12157 	    q
   12158 	  }
   12159 	  /^X\(\/\/\)[^/].*/{
   12160 	    s//\1/
   12161 	    q
   12162 	  }
   12163 	  /^X\(\/\/\)$/{
   12164 	    s//\1/
   12165 	    q
   12166 	  }
   12167 	  /^X\(\/\).*/{
   12168 	    s//\1/
   12169 	    q
   12170 	  }
   12171 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12172  ;;
   12173 
   12174   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12175 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12176  ;;
   12177   esac
   12178 
   12179 
   12180   case $ac_file$ac_mode in
   12181     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12182   # Older Autoconf quotes --file arguments for eval, but not when files
   12183   # are listed without --file.  Let's play safe and only enable the eval
   12184   # if we detect the quoting.
   12185   # TODO: see whether this extra hack can be removed once we start
   12186   # requiring Autoconf 2.70 or later.
   12187   case $CONFIG_FILES in #(
   12188   *\'*) :
   12189     eval set x "$CONFIG_FILES" ;; #(
   12190   *) :
   12191     set x $CONFIG_FILES ;; #(
   12192   *) :
   12193      ;;
   12194 esac
   12195   shift
   12196   # Used to flag and report bootstrapping failures.
   12197   am_rc=0
   12198   for am_mf
   12199   do
   12200     # Strip MF so we end up with the name of the file.
   12201     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   12202     # Check whether this is an Automake generated Makefile which includes
   12203     # dependency-tracking related rules and includes.
   12204     # Grep'ing the whole file directly is not great: AIX grep has a line
   12205     # limit of 2048, but all sed's we know have understand at least 4000.
   12206     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12207       || continue
   12208     am_dirpart=`$as_dirname -- "$am_mf" ||
   12209 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12210 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12211 	 X"$am_mf" : 'X\(//\)$' \| \
   12212 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12213 $as_echo X"$am_mf" |
   12214     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12215 	    s//\1/
   12216 	    q
   12217 	  }
   12218 	  /^X\(\/\/\)[^/].*/{
   12219 	    s//\1/
   12220 	    q
   12221 	  }
   12222 	  /^X\(\/\/\)$/{
   12223 	    s//\1/
   12224 	    q
   12225 	  }
   12226 	  /^X\(\/\).*/{
   12227 	    s//\1/
   12228 	    q
   12229 	  }
   12230 	  s/.*/./; q'`
   12231     am_filepart=`$as_basename -- "$am_mf" ||
   12232 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12233 	 X"$am_mf" : 'X\(//\)$' \| \
   12234 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12235 $as_echo X/"$am_mf" |
   12236     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12237 	    s//\1/
   12238 	    q
   12239 	  }
   12240 	  /^X\/\(\/\/\)$/{
   12241 	    s//\1/
   12242 	    q
   12243 	  }
   12244 	  /^X\/\(\/\).*/{
   12245 	    s//\1/
   12246 	    q
   12247 	  }
   12248 	  s/.*/./; q'`
   12249     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12250       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12251         | $MAKE -f - am--depfiles" >&5
   12252    (cd "$am_dirpart" \
   12253       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12254         | $MAKE -f - am--depfiles) >&5 2>&5
   12255    ac_status=$?
   12256    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12257    (exit $ac_status); } || am_rc=$?
   12258   done
   12259   if test $am_rc -ne 0; then
   12260     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12262 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12263     for automatic dependency tracking.  If GNU make was not used, consider
   12264     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12265     necessary).  You can also try re-running configure with the
   12266     '--disable-dependency-tracking' option to at least be able to build
   12267     the package (albeit without support for automatic dependency tracking).
   12268 See \`config.log' for more details" "$LINENO" 5; }
   12269   fi
   12270   { am_dirpart=; unset am_dirpart;}
   12271   { am_filepart=; unset am_filepart;}
   12272   { am_mf=; unset am_mf;}
   12273   { am_rc=; unset am_rc;}
   12274   rm -f conftest-deps.mk
   12275 }
   12276  ;;
   12277 
   12278   esac
   12279 done # for ac_tag
   12280 
   12281 
   12282 as_fn_exit 0
   12283 _ACEOF
   12284 ac_clean_files=$ac_clean_files_save
   12285 
   12286 test $ac_write_fail = 0 ||
   12287   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12288 
   12289 
   12290 # configure is writing to config.log, and then calls config.status.
   12291 # config.status does its own redirection, appending to config.log.
   12292 # Unfortunately, on DOS this fails, as config.log is still kept open
   12293 # by configure, so config.status won't be able to write to it; its
   12294 # output is simply discarded.  So we exec the FD to /dev/null,
   12295 # effectively closing config.log, so it can be properly (re)opened and
   12296 # appended to by config.status.  When coming back to configure, we
   12297 # need to make the FD available again.
   12298 if test "$no_create" != yes; then
   12299   ac_cs_success=:
   12300   ac_config_status_args=
   12301   test "$silent" = yes &&
   12302     ac_config_status_args="$ac_config_status_args --quiet"
   12303   exec 5>/dev/null
   12304   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12305   exec 5>>config.log
   12306   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12307   # would make configure fail if this is the last instruction.
   12308   $ac_cs_success || as_fn_exit 1
   12309 fi
   12310 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12311   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12312 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12313 fi
   12314 
   12315