Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for bdftopcf 1.0.5.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='bdftopcf'
    583 PACKAGE_TARNAME='bdftopcf'
    584 PACKAGE_VERSION='1.0.5'
    585 PACKAGE_STRING='bdftopcf 1.0.5'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 LINT_FALSE
    631 LINT_TRUE
    632 LINT_FLAGS
    633 LINT
    634 BDFTOPCF_LIBS
    635 BDFTOPCF_CFLAGS
    636 MAN_SUBSTS
    637 XORG_MAN_PAGE
    638 ADMIN_MAN_DIR
    639 DRIVER_MAN_DIR
    640 MISC_MAN_DIR
    641 FILE_MAN_DIR
    642 LIB_MAN_DIR
    643 APP_MAN_DIR
    644 ADMIN_MAN_SUFFIX
    645 DRIVER_MAN_SUFFIX
    646 MISC_MAN_SUFFIX
    647 FILE_MAN_SUFFIX
    648 LIB_MAN_SUFFIX
    649 APP_MAN_SUFFIX
    650 SED
    651 host_os
    652 host_vendor
    653 host_cpu
    654 host
    655 build_os
    656 build_vendor
    657 build_cpu
    658 build
    659 INSTALL_CMD
    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__quote
    676 am__include
    677 DEPDIR
    678 OBJEXT
    679 EXEEXT
    680 ac_ct_CC
    681 CPPFLAGS
    682 LDFLAGS
    683 CFLAGS
    684 CC
    685 AM_BACKSLASH
    686 AM_DEFAULT_VERBOSITY
    687 AM_DEFAULT_V
    688 AM_V
    689 am__untar
    690 am__tar
    691 AMTAR
    692 am__leading_dot
    693 SET_MAKE
    694 AWK
    695 mkdir_p
    696 MKDIR_P
    697 INSTALL_STRIP_PROGRAM
    698 STRIP
    699 install_sh
    700 MAKEINFO
    701 AUTOHEADER
    702 AUTOMAKE
    703 AUTOCONF
    704 ACLOCAL
    705 VERSION
    706 PACKAGE
    707 CYGPATH_W
    708 am__isrc
    709 INSTALL_DATA
    710 INSTALL_SCRIPT
    711 INSTALL_PROGRAM
    712 target_alias
    713 host_alias
    714 build_alias
    715 LIBS
    716 ECHO_T
    717 ECHO_N
    718 ECHO_C
    719 DEFS
    720 mandir
    721 localedir
    722 libdir
    723 psdir
    724 pdfdir
    725 dvidir
    726 htmldir
    727 infodir
    728 docdir
    729 oldincludedir
    730 includedir
    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 ac_subst_files=''
    751 ac_user_opts='
    752 enable_option_checking
    753 enable_silent_rules
    754 enable_dependency_tracking
    755 enable_selective_werror
    756 enable_strict_compilation
    757 with_lint
    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 BDFTOPCF_CFLAGS
    770 BDFTOPCF_LIBS
    771 LINT
    772 LINT_FLAGS'
    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 includedir='${prefix}/include'
    812 oldincludedir='/usr/include'
    813 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    814 infodir='${datarootdir}/info'
    815 htmldir='${docdir}'
    816 dvidir='${docdir}'
    817 pdfdir='${docdir}'
    818 psdir='${docdir}'
    819 libdir='${exec_prefix}/lib'
    820 localedir='${datarootdir}/locale'
    821 mandir='${datarootdir}/man'
    822 
    823 ac_prev=
    824 ac_dashdash=
    825 for ac_option
    826 do
    827   # If the previous option needs an argument, assign it.
    828   if test -n "$ac_prev"; then
    829     eval $ac_prev=\$ac_option
    830     ac_prev=
    831     continue
    832   fi
    833 
    834   case $ac_option in
    835   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    836   *=)   ac_optarg= ;;
    837   *)    ac_optarg=yes ;;
    838   esac
    839 
    840   # Accept the important Cygnus configure options, so we can diagnose typos.
    841 
    842   case $ac_dashdash$ac_option in
    843   --)
    844     ac_dashdash=yes ;;
    845 
    846   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    847     ac_prev=bindir ;;
    848   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    849     bindir=$ac_optarg ;;
    850 
    851   -build | --build | --buil | --bui | --bu)
    852     ac_prev=build_alias ;;
    853   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    854     build_alias=$ac_optarg ;;
    855 
    856   -cache-file | --cache-file | --cache-fil | --cache-fi \
    857   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    858     ac_prev=cache_file ;;
    859   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    860   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    861     cache_file=$ac_optarg ;;
    862 
    863   --config-cache | -C)
    864     cache_file=config.cache ;;
    865 
    866   -datadir | --datadir | --datadi | --datad)
    867     ac_prev=datadir ;;
    868   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    869     datadir=$ac_optarg ;;
    870 
    871   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    872   | --dataroo | --dataro | --datar)
    873     ac_prev=datarootdir ;;
    874   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    875   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    876     datarootdir=$ac_optarg ;;
    877 
    878   -disable-* | --disable-*)
    879     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    880     # Reject names that are not valid shell variable names.
    881     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    882       as_fn_error $? "invalid feature name: $ac_useropt"
    883     ac_useropt_orig=$ac_useropt
    884     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    885     case $ac_user_opts in
    886       *"
    887 "enable_$ac_useropt"
    888 "*) ;;
    889       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    890 	 ac_unrecognized_sep=', ';;
    891     esac
    892     eval enable_$ac_useropt=no ;;
    893 
    894   -docdir | --docdir | --docdi | --doc | --do)
    895     ac_prev=docdir ;;
    896   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    897     docdir=$ac_optarg ;;
    898 
    899   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    900     ac_prev=dvidir ;;
    901   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    902     dvidir=$ac_optarg ;;
    903 
    904   -enable-* | --enable-*)
    905     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    906     # Reject names that are not valid shell variable names.
    907     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    908       as_fn_error $? "invalid feature name: $ac_useropt"
    909     ac_useropt_orig=$ac_useropt
    910     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    911     case $ac_user_opts in
    912       *"
    913 "enable_$ac_useropt"
    914 "*) ;;
    915       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    916 	 ac_unrecognized_sep=', ';;
    917     esac
    918     eval enable_$ac_useropt=\$ac_optarg ;;
    919 
    920   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    921   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    922   | --exec | --exe | --ex)
    923     ac_prev=exec_prefix ;;
    924   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    925   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    926   | --exec=* | --exe=* | --ex=*)
    927     exec_prefix=$ac_optarg ;;
    928 
    929   -gas | --gas | --ga | --g)
    930     # Obsolete; use --with-gas.
    931     with_gas=yes ;;
    932 
    933   -help | --help | --hel | --he | -h)
    934     ac_init_help=long ;;
    935   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    936     ac_init_help=recursive ;;
    937   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    938     ac_init_help=short ;;
    939 
    940   -host | --host | --hos | --ho)
    941     ac_prev=host_alias ;;
    942   -host=* | --host=* | --hos=* | --ho=*)
    943     host_alias=$ac_optarg ;;
    944 
    945   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    946     ac_prev=htmldir ;;
    947   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    948   | --ht=*)
    949     htmldir=$ac_optarg ;;
    950 
    951   -includedir | --includedir | --includedi | --included | --include \
    952   | --includ | --inclu | --incl | --inc)
    953     ac_prev=includedir ;;
    954   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    955   | --includ=* | --inclu=* | --incl=* | --inc=*)
    956     includedir=$ac_optarg ;;
    957 
    958   -infodir | --infodir | --infodi | --infod | --info | --inf)
    959     ac_prev=infodir ;;
    960   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    961     infodir=$ac_optarg ;;
    962 
    963   -libdir | --libdir | --libdi | --libd)
    964     ac_prev=libdir ;;
    965   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    966     libdir=$ac_optarg ;;
    967 
    968   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    969   | --libexe | --libex | --libe)
    970     ac_prev=libexecdir ;;
    971   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    972   | --libexe=* | --libex=* | --libe=*)
    973     libexecdir=$ac_optarg ;;
    974 
    975   -localedir | --localedir | --localedi | --localed | --locale)
    976     ac_prev=localedir ;;
    977   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    978     localedir=$ac_optarg ;;
    979 
    980   -localstatedir | --localstatedir | --localstatedi | --localstated \
    981   | --localstate | --localstat | --localsta | --localst | --locals)
    982     ac_prev=localstatedir ;;
    983   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    984   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    985     localstatedir=$ac_optarg ;;
    986 
    987   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    988     ac_prev=mandir ;;
    989   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    990     mandir=$ac_optarg ;;
    991 
    992   -nfp | --nfp | --nf)
    993     # Obsolete; use --without-fp.
    994     with_fp=no ;;
    995 
    996   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    997   | --no-cr | --no-c | -n)
    998     no_create=yes ;;
    999 
   1000   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1001   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1002     no_recursion=yes ;;
   1003 
   1004   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1005   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1006   | --oldin | --oldi | --old | --ol | --o)
   1007     ac_prev=oldincludedir ;;
   1008   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1009   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1010   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1011     oldincludedir=$ac_optarg ;;
   1012 
   1013   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1014     ac_prev=prefix ;;
   1015   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1016     prefix=$ac_optarg ;;
   1017 
   1018   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1019   | --program-pre | --program-pr | --program-p)
   1020     ac_prev=program_prefix ;;
   1021   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1022   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1023     program_prefix=$ac_optarg ;;
   1024 
   1025   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1026   | --program-suf | --program-su | --program-s)
   1027     ac_prev=program_suffix ;;
   1028   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1029   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1030     program_suffix=$ac_optarg ;;
   1031 
   1032   -program-transform-name | --program-transform-name \
   1033   | --program-transform-nam | --program-transform-na \
   1034   | --program-transform-n | --program-transform- \
   1035   | --program-transform | --program-transfor \
   1036   | --program-transfo | --program-transf \
   1037   | --program-trans | --program-tran \
   1038   | --progr-tra | --program-tr | --program-t)
   1039     ac_prev=program_transform_name ;;
   1040   -program-transform-name=* | --program-transform-name=* \
   1041   | --program-transform-nam=* | --program-transform-na=* \
   1042   | --program-transform-n=* | --program-transform-=* \
   1043   | --program-transform=* | --program-transfor=* \
   1044   | --program-transfo=* | --program-transf=* \
   1045   | --program-trans=* | --program-tran=* \
   1046   | --progr-tra=* | --program-tr=* | --program-t=*)
   1047     program_transform_name=$ac_optarg ;;
   1048 
   1049   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1050     ac_prev=pdfdir ;;
   1051   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1052     pdfdir=$ac_optarg ;;
   1053 
   1054   -psdir | --psdir | --psdi | --psd | --ps)
   1055     ac_prev=psdir ;;
   1056   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1057     psdir=$ac_optarg ;;
   1058 
   1059   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1060   | -silent | --silent | --silen | --sile | --sil)
   1061     silent=yes ;;
   1062 
   1063   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1064     ac_prev=sbindir ;;
   1065   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1066   | --sbi=* | --sb=*)
   1067     sbindir=$ac_optarg ;;
   1068 
   1069   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1070   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1071   | --sharedst | --shareds | --shared | --share | --shar \
   1072   | --sha | --sh)
   1073     ac_prev=sharedstatedir ;;
   1074   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1075   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1076   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1077   | --sha=* | --sh=*)
   1078     sharedstatedir=$ac_optarg ;;
   1079 
   1080   -site | --site | --sit)
   1081     ac_prev=site ;;
   1082   -site=* | --site=* | --sit=*)
   1083     site=$ac_optarg ;;
   1084 
   1085   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1086     ac_prev=srcdir ;;
   1087   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1088     srcdir=$ac_optarg ;;
   1089 
   1090   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1091   | --syscon | --sysco | --sysc | --sys | --sy)
   1092     ac_prev=sysconfdir ;;
   1093   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1094   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1095     sysconfdir=$ac_optarg ;;
   1096 
   1097   -target | --target | --targe | --targ | --tar | --ta | --t)
   1098     ac_prev=target_alias ;;
   1099   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1100     target_alias=$ac_optarg ;;
   1101 
   1102   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1103     verbose=yes ;;
   1104 
   1105   -version | --version | --versio | --versi | --vers | -V)
   1106     ac_init_version=: ;;
   1107 
   1108   -with-* | --with-*)
   1109     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1110     # Reject names that are not valid shell variable names.
   1111     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1112       as_fn_error $? "invalid package name: $ac_useropt"
   1113     ac_useropt_orig=$ac_useropt
   1114     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1115     case $ac_user_opts in
   1116       *"
   1117 "with_$ac_useropt"
   1118 "*) ;;
   1119       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1120 	 ac_unrecognized_sep=', ';;
   1121     esac
   1122     eval with_$ac_useropt=\$ac_optarg ;;
   1123 
   1124   -without-* | --without-*)
   1125     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1126     # Reject names that are not valid shell variable names.
   1127     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1128       as_fn_error $? "invalid package name: $ac_useropt"
   1129     ac_useropt_orig=$ac_useropt
   1130     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1131     case $ac_user_opts in
   1132       *"
   1133 "with_$ac_useropt"
   1134 "*) ;;
   1135       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1136 	 ac_unrecognized_sep=', ';;
   1137     esac
   1138     eval with_$ac_useropt=no ;;
   1139 
   1140   --x)
   1141     # Obsolete; use --with-x.
   1142     with_x=yes ;;
   1143 
   1144   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1145   | --x-incl | --x-inc | --x-in | --x-i)
   1146     ac_prev=x_includes ;;
   1147   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1148   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1149     x_includes=$ac_optarg ;;
   1150 
   1151   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1152   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1153     ac_prev=x_libraries ;;
   1154   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1155   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1156     x_libraries=$ac_optarg ;;
   1157 
   1158   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1159 Try \`$0 --help' for more information"
   1160     ;;
   1161 
   1162   *=*)
   1163     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1164     # Reject names that are not valid shell variable names.
   1165     case $ac_envvar in #(
   1166       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1167       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1168     esac
   1169     eval $ac_envvar=\$ac_optarg
   1170     export $ac_envvar ;;
   1171 
   1172   *)
   1173     # FIXME: should be removed in autoconf 3.0.
   1174     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1175     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1176       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1177     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1178     ;;
   1179 
   1180   esac
   1181 done
   1182 
   1183 if test -n "$ac_prev"; then
   1184   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1185   as_fn_error $? "missing argument to $ac_option"
   1186 fi
   1187 
   1188 if test -n "$ac_unrecognized_opts"; then
   1189   case $enable_option_checking in
   1190     no) ;;
   1191     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1192     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1193   esac
   1194 fi
   1195 
   1196 # Check all directory arguments for consistency.
   1197 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1198 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1199 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1200 		libdir localedir mandir
   1201 do
   1202   eval ac_val=\$$ac_var
   1203   # Remove trailing slashes.
   1204   case $ac_val in
   1205     */ )
   1206       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1207       eval $ac_var=\$ac_val;;
   1208   esac
   1209   # Be sure to have absolute directory names.
   1210   case $ac_val in
   1211     [\\/$]* | ?:[\\/]* )  continue;;
   1212     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1213   esac
   1214   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1215 done
   1216 
   1217 # There might be people who depend on the old broken behavior: `$host'
   1218 # used to hold the argument of --host etc.
   1219 # FIXME: To remove some day.
   1220 build=$build_alias
   1221 host=$host_alias
   1222 target=$target_alias
   1223 
   1224 # FIXME: To remove some day.
   1225 if test "x$host_alias" != x; then
   1226   if test "x$build_alias" = x; then
   1227     cross_compiling=maybe
   1228   elif test "x$build_alias" != "x$host_alias"; then
   1229     cross_compiling=yes
   1230   fi
   1231 fi
   1232 
   1233 ac_tool_prefix=
   1234 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1235 
   1236 test "$silent" = yes && exec 6>/dev/null
   1237 
   1238 
   1239 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1240 ac_ls_di=`ls -di .` &&
   1241 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1242   as_fn_error $? "working directory cannot be determined"
   1243 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1244   as_fn_error $? "pwd does not report name of working directory"
   1245 
   1246 
   1247 # Find the source files, if location was not specified.
   1248 if test -z "$srcdir"; then
   1249   ac_srcdir_defaulted=yes
   1250   # Try the directory containing this script, then the parent directory.
   1251   ac_confdir=`$as_dirname -- "$as_myself" ||
   1252 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1253 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1254 	 X"$as_myself" : 'X\(//\)$' \| \
   1255 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1256 $as_echo X"$as_myself" |
   1257     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1258 	    s//\1/
   1259 	    q
   1260 	  }
   1261 	  /^X\(\/\/\)[^/].*/{
   1262 	    s//\1/
   1263 	    q
   1264 	  }
   1265 	  /^X\(\/\/\)$/{
   1266 	    s//\1/
   1267 	    q
   1268 	  }
   1269 	  /^X\(\/\).*/{
   1270 	    s//\1/
   1271 	    q
   1272 	  }
   1273 	  s/.*/./; q'`
   1274   srcdir=$ac_confdir
   1275   if test ! -r "$srcdir/$ac_unique_file"; then
   1276     srcdir=..
   1277   fi
   1278 else
   1279   ac_srcdir_defaulted=no
   1280 fi
   1281 if test ! -r "$srcdir/$ac_unique_file"; then
   1282   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1283   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1284 fi
   1285 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1286 ac_abs_confdir=`(
   1287 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1288 	pwd)`
   1289 # When building in place, set srcdir=.
   1290 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1291   srcdir=.
   1292 fi
   1293 # Remove unnecessary trailing slashes from srcdir.
   1294 # Double slashes in file names in object file debugging info
   1295 # mess up M-x gdb in Emacs.
   1296 case $srcdir in
   1297 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1298 esac
   1299 for ac_var in $ac_precious_vars; do
   1300   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1301   eval ac_env_${ac_var}_value=\$${ac_var}
   1302   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1303   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1304 done
   1305 
   1306 #
   1307 # Report the --help message.
   1308 #
   1309 if test "$ac_init_help" = "long"; then
   1310   # Omit some internal or obsolete options to make the list less imposing.
   1311   # This message is too long to be a string in the A/UX 3.1 sh.
   1312   cat <<_ACEOF
   1313 \`configure' configures bdftopcf 1.0.5 to adapt to many kinds of systems.
   1314 
   1315 Usage: $0 [OPTION]... [VAR=VALUE]...
   1316 
   1317 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1318 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1319 
   1320 Defaults for the options are specified in brackets.
   1321 
   1322 Configuration:
   1323   -h, --help              display this help and exit
   1324       --help=short        display options specific to this package
   1325       --help=recursive    display the short help of all the included packages
   1326   -V, --version           display version information and exit
   1327   -q, --quiet, --silent   do not print \`checking ...' messages
   1328       --cache-file=FILE   cache test results in FILE [disabled]
   1329   -C, --config-cache      alias for \`--cache-file=config.cache'
   1330   -n, --no-create         do not create output files
   1331       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1332 
   1333 Installation directories:
   1334   --prefix=PREFIX         install architecture-independent files in PREFIX
   1335                           [$ac_default_prefix]
   1336   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1337                           [PREFIX]
   1338 
   1339 By default, \`make install' will install all the files in
   1340 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1341 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1342 for instance \`--prefix=\$HOME'.
   1343 
   1344 For better control, use the options below.
   1345 
   1346 Fine tuning of the installation directories:
   1347   --bindir=DIR            user executables [EPREFIX/bin]
   1348   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1349   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1350   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1351   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1352   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1353   --libdir=DIR            object code libraries [EPREFIX/lib]
   1354   --includedir=DIR        C header files [PREFIX/include]
   1355   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1356   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1357   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1358   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1359   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1360   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1361   --docdir=DIR            documentation root [DATAROOTDIR/doc/bdftopcf]
   1362   --htmldir=DIR           html documentation [DOCDIR]
   1363   --dvidir=DIR            dvi documentation [DOCDIR]
   1364   --pdfdir=DIR            pdf documentation [DOCDIR]
   1365   --psdir=DIR             ps documentation [DOCDIR]
   1366 _ACEOF
   1367 
   1368   cat <<\_ACEOF
   1369 
   1370 Program names:
   1371   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1372   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1373   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1374 
   1375 System types:
   1376   --build=BUILD     configure for building on BUILD [guessed]
   1377   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1378 _ACEOF
   1379 fi
   1380 
   1381 if test -n "$ac_init_help"; then
   1382   case $ac_init_help in
   1383      short | recursive ) echo "Configuration of bdftopcf 1.0.5:";;
   1384    esac
   1385   cat <<\_ACEOF
   1386 
   1387 Optional Features:
   1388   --disable-option-checking  ignore unrecognized --enable/--with options
   1389   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1390   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1391   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1392   --disable-silent-rules  verbose build output (undo: "make V=0")
   1393   --enable-dependency-tracking
   1394                           do not reject slow dependency extractors
   1395   --disable-dependency-tracking
   1396                           speeds up one-time build
   1397   --disable-selective-werror
   1398                           Turn off selective compiler errors. (default:
   1399                           enabled)
   1400   --enable-strict-compilation
   1401                           Enable all warnings from compiler and make them
   1402                           errors (default: disabled)
   1403 
   1404 Optional Packages:
   1405   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1406   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1407   --with-lint             Use a lint-style source code checker (default:
   1408                           disabled)
   1409 
   1410 Some influential environment variables:
   1411   CC          C compiler command
   1412   CFLAGS      C compiler flags
   1413   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1414               nonstandard directory <lib dir>
   1415   LIBS        libraries to pass to the linker, e.g. -l<library>
   1416   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1417               you have headers in a nonstandard directory <include dir>
   1418   CPP         C preprocessor
   1419   PKG_CONFIG  path to pkg-config utility
   1420   BDFTOPCF_CFLAGS
   1421               C compiler flags for BDFTOPCF, overriding pkg-config
   1422   BDFTOPCF_LIBS
   1423               linker flags for BDFTOPCF, overriding pkg-config
   1424   LINT        Path to a lint-style command
   1425   LINT_FLAGS  Flags for the lint-style command
   1426 
   1427 Use these variables to override the choices made by `configure' or to help
   1428 it to find libraries and programs with nonstandard names/locations.
   1429 
   1430 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1431 _ACEOF
   1432 ac_status=$?
   1433 fi
   1434 
   1435 if test "$ac_init_help" = "recursive"; then
   1436   # If there are subdirs, report their specific --help.
   1437   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1438     test -d "$ac_dir" ||
   1439       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1440       continue
   1441     ac_builddir=.
   1442 
   1443 case "$ac_dir" in
   1444 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1445 *)
   1446   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1447   # A ".." for each directory in $ac_dir_suffix.
   1448   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1449   case $ac_top_builddir_sub in
   1450   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1451   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1452   esac ;;
   1453 esac
   1454 ac_abs_top_builddir=$ac_pwd
   1455 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1456 # for backward compatibility:
   1457 ac_top_builddir=$ac_top_build_prefix
   1458 
   1459 case $srcdir in
   1460   .)  # We are building in place.
   1461     ac_srcdir=.
   1462     ac_top_srcdir=$ac_top_builddir_sub
   1463     ac_abs_top_srcdir=$ac_pwd ;;
   1464   [\\/]* | ?:[\\/]* )  # Absolute name.
   1465     ac_srcdir=$srcdir$ac_dir_suffix;
   1466     ac_top_srcdir=$srcdir
   1467     ac_abs_top_srcdir=$srcdir ;;
   1468   *) # Relative name.
   1469     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1470     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1471     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1472 esac
   1473 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1474 
   1475     cd "$ac_dir" || { ac_status=$?; continue; }
   1476     # Check for guested configure.
   1477     if test -f "$ac_srcdir/configure.gnu"; then
   1478       echo &&
   1479       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1480     elif test -f "$ac_srcdir/configure"; then
   1481       echo &&
   1482       $SHELL "$ac_srcdir/configure" --help=recursive
   1483     else
   1484       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1485     fi || ac_status=$?
   1486     cd "$ac_pwd" || { ac_status=$?; break; }
   1487   done
   1488 fi
   1489 
   1490 test -n "$ac_init_help" && exit $ac_status
   1491 if $ac_init_version; then
   1492   cat <<\_ACEOF
   1493 bdftopcf configure 1.0.5
   1494 generated by GNU Autoconf 2.69
   1495 
   1496 Copyright (C) 2012 Free Software Foundation, Inc.
   1497 This configure script is free software; the Free Software Foundation
   1498 gives unlimited permission to copy, distribute and modify it.
   1499 _ACEOF
   1500   exit
   1501 fi
   1502 
   1503 ## ------------------------ ##
   1504 ## Autoconf initialization. ##
   1505 ## ------------------------ ##
   1506 
   1507 # ac_fn_c_try_compile LINENO
   1508 # --------------------------
   1509 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1510 ac_fn_c_try_compile ()
   1511 {
   1512   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1513   rm -f conftest.$ac_objext
   1514   if { { ac_try="$ac_compile"
   1515 case "(($ac_try" in
   1516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1517   *) ac_try_echo=$ac_try;;
   1518 esac
   1519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1520 $as_echo "$ac_try_echo"; } >&5
   1521   (eval "$ac_compile") 2>conftest.err
   1522   ac_status=$?
   1523   if test -s conftest.err; then
   1524     grep -v '^ *+' conftest.err >conftest.er1
   1525     cat conftest.er1 >&5
   1526     mv -f conftest.er1 conftest.err
   1527   fi
   1528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1529   test $ac_status = 0; } && {
   1530 	 test -z "$ac_c_werror_flag" ||
   1531 	 test ! -s conftest.err
   1532        } && test -s conftest.$ac_objext; then :
   1533   ac_retval=0
   1534 else
   1535   $as_echo "$as_me: failed program was:" >&5
   1536 sed 's/^/| /' conftest.$ac_ext >&5
   1537 
   1538 	ac_retval=1
   1539 fi
   1540   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1541   as_fn_set_status $ac_retval
   1542 
   1543 } # ac_fn_c_try_compile
   1544 
   1545 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1546 # ---------------------------------------------
   1547 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1548 # accordingly.
   1549 ac_fn_c_check_decl ()
   1550 {
   1551   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1552   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1553   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1555 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1556 if eval \${$3+:} false; then :
   1557   $as_echo_n "(cached) " >&6
   1558 else
   1559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1560 /* end confdefs.h.  */
   1561 $4
   1562 int
   1563 main ()
   1564 {
   1565 #ifndef $as_decl_name
   1566 #ifdef __cplusplus
   1567   (void) $as_decl_use;
   1568 #else
   1569   (void) $as_decl_name;
   1570 #endif
   1571 #endif
   1572 
   1573   ;
   1574   return 0;
   1575 }
   1576 _ACEOF
   1577 if ac_fn_c_try_compile "$LINENO"; then :
   1578   eval "$3=yes"
   1579 else
   1580   eval "$3=no"
   1581 fi
   1582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1583 fi
   1584 eval ac_res=\$$3
   1585 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1586 $as_echo "$ac_res" >&6; }
   1587   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1588 
   1589 } # ac_fn_c_check_decl
   1590 
   1591 # ac_fn_c_try_cpp LINENO
   1592 # ----------------------
   1593 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1594 ac_fn_c_try_cpp ()
   1595 {
   1596   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1597   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1598 case "(($ac_try" in
   1599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1600   *) ac_try_echo=$ac_try;;
   1601 esac
   1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1603 $as_echo "$ac_try_echo"; } >&5
   1604   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1605   ac_status=$?
   1606   if test -s conftest.err; then
   1607     grep -v '^ *+' conftest.err >conftest.er1
   1608     cat conftest.er1 >&5
   1609     mv -f conftest.er1 conftest.err
   1610   fi
   1611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1612   test $ac_status = 0; } > conftest.i && {
   1613 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1614 	 test ! -s conftest.err
   1615        }; then :
   1616   ac_retval=0
   1617 else
   1618   $as_echo "$as_me: failed program was:" >&5
   1619 sed 's/^/| /' conftest.$ac_ext >&5
   1620 
   1621     ac_retval=1
   1622 fi
   1623   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1624   as_fn_set_status $ac_retval
   1625 
   1626 } # ac_fn_c_try_cpp
   1627 
   1628 # ac_fn_c_try_run LINENO
   1629 # ----------------------
   1630 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1631 # that executables *can* be run.
   1632 ac_fn_c_try_run ()
   1633 {
   1634   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1635   if { { ac_try="$ac_link"
   1636 case "(($ac_try" in
   1637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1638   *) ac_try_echo=$ac_try;;
   1639 esac
   1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1641 $as_echo "$ac_try_echo"; } >&5
   1642   (eval "$ac_link") 2>&5
   1643   ac_status=$?
   1644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1645   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1646   { { case "(($ac_try" in
   1647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1648   *) ac_try_echo=$ac_try;;
   1649 esac
   1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1651 $as_echo "$ac_try_echo"; } >&5
   1652   (eval "$ac_try") 2>&5
   1653   ac_status=$?
   1654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1655   test $ac_status = 0; }; }; then :
   1656   ac_retval=0
   1657 else
   1658   $as_echo "$as_me: program exited with status $ac_status" >&5
   1659        $as_echo "$as_me: failed program was:" >&5
   1660 sed 's/^/| /' conftest.$ac_ext >&5
   1661 
   1662        ac_retval=$ac_status
   1663 fi
   1664   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1665   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1666   as_fn_set_status $ac_retval
   1667 
   1668 } # ac_fn_c_try_run
   1669 
   1670 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1671 # -------------------------------------------------------
   1672 # Tests whether HEADER exists and can be compiled using the include files in
   1673 # INCLUDES, setting the cache variable VAR accordingly.
   1674 ac_fn_c_check_header_compile ()
   1675 {
   1676   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1678 $as_echo_n "checking for $2... " >&6; }
   1679 if eval \${$3+:} false; then :
   1680   $as_echo_n "(cached) " >&6
   1681 else
   1682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1683 /* end confdefs.h.  */
   1684 $4
   1685 #include <$2>
   1686 _ACEOF
   1687 if ac_fn_c_try_compile "$LINENO"; then :
   1688   eval "$3=yes"
   1689 else
   1690   eval "$3=no"
   1691 fi
   1692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1693 fi
   1694 eval ac_res=\$$3
   1695 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1696 $as_echo "$ac_res" >&6; }
   1697   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1698 
   1699 } # ac_fn_c_check_header_compile
   1700 
   1701 # ac_fn_c_try_link LINENO
   1702 # -----------------------
   1703 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1704 ac_fn_c_try_link ()
   1705 {
   1706   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1707   rm -f conftest.$ac_objext conftest$ac_exeext
   1708   if { { ac_try="$ac_link"
   1709 case "(($ac_try" in
   1710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1711   *) ac_try_echo=$ac_try;;
   1712 esac
   1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1714 $as_echo "$ac_try_echo"; } >&5
   1715   (eval "$ac_link") 2>conftest.err
   1716   ac_status=$?
   1717   if test -s conftest.err; then
   1718     grep -v '^ *+' conftest.err >conftest.er1
   1719     cat conftest.er1 >&5
   1720     mv -f conftest.er1 conftest.err
   1721   fi
   1722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1723   test $ac_status = 0; } && {
   1724 	 test -z "$ac_c_werror_flag" ||
   1725 	 test ! -s conftest.err
   1726        } && test -s conftest$ac_exeext && {
   1727 	 test "$cross_compiling" = yes ||
   1728 	 test -x conftest$ac_exeext
   1729        }; then :
   1730   ac_retval=0
   1731 else
   1732   $as_echo "$as_me: failed program was:" >&5
   1733 sed 's/^/| /' conftest.$ac_ext >&5
   1734 
   1735 	ac_retval=1
   1736 fi
   1737   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1738   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1739   # interfere with the next link command; also delete a directory that is
   1740   # left behind by Apple's compiler.  We do this before executing the actions.
   1741   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1742   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1743   as_fn_set_status $ac_retval
   1744 
   1745 } # ac_fn_c_try_link
   1746 cat >config.log <<_ACEOF
   1747 This file contains any messages produced by compilers while
   1748 running configure, to aid debugging if configure makes a mistake.
   1749 
   1750 It was created by bdftopcf $as_me 1.0.5, which was
   1751 generated by GNU Autoconf 2.69.  Invocation command line was
   1752 
   1753   $ $0 $@
   1754 
   1755 _ACEOF
   1756 exec 5>>config.log
   1757 {
   1758 cat <<_ASUNAME
   1759 ## --------- ##
   1760 ## Platform. ##
   1761 ## --------- ##
   1762 
   1763 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1764 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1765 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1766 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1767 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1768 
   1769 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1770 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1771 
   1772 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1773 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1774 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1775 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1776 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1777 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1778 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1779 
   1780 _ASUNAME
   1781 
   1782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1783 for as_dir in $PATH
   1784 do
   1785   IFS=$as_save_IFS
   1786   test -z "$as_dir" && as_dir=.
   1787     $as_echo "PATH: $as_dir"
   1788   done
   1789 IFS=$as_save_IFS
   1790 
   1791 } >&5
   1792 
   1793 cat >&5 <<_ACEOF
   1794 
   1795 
   1796 ## ----------- ##
   1797 ## Core tests. ##
   1798 ## ----------- ##
   1799 
   1800 _ACEOF
   1801 
   1802 
   1803 # Keep a trace of the command line.
   1804 # Strip out --no-create and --no-recursion so they do not pile up.
   1805 # Strip out --silent because we don't want to record it for future runs.
   1806 # Also quote any args containing shell meta-characters.
   1807 # Make two passes to allow for proper duplicate-argument suppression.
   1808 ac_configure_args=
   1809 ac_configure_args0=
   1810 ac_configure_args1=
   1811 ac_must_keep_next=false
   1812 for ac_pass in 1 2
   1813 do
   1814   for ac_arg
   1815   do
   1816     case $ac_arg in
   1817     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1818     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1819     | -silent | --silent | --silen | --sile | --sil)
   1820       continue ;;
   1821     *\'*)
   1822       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1823     esac
   1824     case $ac_pass in
   1825     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1826     2)
   1827       as_fn_append ac_configure_args1 " '$ac_arg'"
   1828       if test $ac_must_keep_next = true; then
   1829 	ac_must_keep_next=false # Got value, back to normal.
   1830       else
   1831 	case $ac_arg in
   1832 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1833 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1834 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1835 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1836 	    case "$ac_configure_args0 " in
   1837 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1838 	    esac
   1839 	    ;;
   1840 	  -* ) ac_must_keep_next=true ;;
   1841 	esac
   1842       fi
   1843       as_fn_append ac_configure_args " '$ac_arg'"
   1844       ;;
   1845     esac
   1846   done
   1847 done
   1848 { ac_configure_args0=; unset ac_configure_args0;}
   1849 { ac_configure_args1=; unset ac_configure_args1;}
   1850 
   1851 # When interrupted or exit'd, cleanup temporary files, and complete
   1852 # config.log.  We remove comments because anyway the quotes in there
   1853 # would cause problems or look ugly.
   1854 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1855 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1856 trap 'exit_status=$?
   1857   # Save into config.log some information that might help in debugging.
   1858   {
   1859     echo
   1860 
   1861     $as_echo "## ---------------- ##
   1862 ## Cache variables. ##
   1863 ## ---------------- ##"
   1864     echo
   1865     # The following way of writing the cache mishandles newlines in values,
   1866 (
   1867   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1868     eval ac_val=\$$ac_var
   1869     case $ac_val in #(
   1870     *${as_nl}*)
   1871       case $ac_var in #(
   1872       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1873 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1874       esac
   1875       case $ac_var in #(
   1876       _ | IFS | as_nl) ;; #(
   1877       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1878       *) { eval $ac_var=; unset $ac_var;} ;;
   1879       esac ;;
   1880     esac
   1881   done
   1882   (set) 2>&1 |
   1883     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1884     *${as_nl}ac_space=\ *)
   1885       sed -n \
   1886 	"s/'\''/'\''\\\\'\'''\''/g;
   1887 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1888       ;; #(
   1889     *)
   1890       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1891       ;;
   1892     esac |
   1893     sort
   1894 )
   1895     echo
   1896 
   1897     $as_echo "## ----------------- ##
   1898 ## Output variables. ##
   1899 ## ----------------- ##"
   1900     echo
   1901     for ac_var in $ac_subst_vars
   1902     do
   1903       eval ac_val=\$$ac_var
   1904       case $ac_val in
   1905       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1906       esac
   1907       $as_echo "$ac_var='\''$ac_val'\''"
   1908     done | sort
   1909     echo
   1910 
   1911     if test -n "$ac_subst_files"; then
   1912       $as_echo "## ------------------- ##
   1913 ## File substitutions. ##
   1914 ## ------------------- ##"
   1915       echo
   1916       for ac_var in $ac_subst_files
   1917       do
   1918 	eval ac_val=\$$ac_var
   1919 	case $ac_val in
   1920 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1921 	esac
   1922 	$as_echo "$ac_var='\''$ac_val'\''"
   1923       done | sort
   1924       echo
   1925     fi
   1926 
   1927     if test -s confdefs.h; then
   1928       $as_echo "## ----------- ##
   1929 ## confdefs.h. ##
   1930 ## ----------- ##"
   1931       echo
   1932       cat confdefs.h
   1933       echo
   1934     fi
   1935     test "$ac_signal" != 0 &&
   1936       $as_echo "$as_me: caught signal $ac_signal"
   1937     $as_echo "$as_me: exit $exit_status"
   1938   } >&5
   1939   rm -f core *.core core.conftest.* &&
   1940     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1941     exit $exit_status
   1942 ' 0
   1943 for ac_signal in 1 2 13 15; do
   1944   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1945 done
   1946 ac_signal=0
   1947 
   1948 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1949 rm -f -r conftest* confdefs.h
   1950 
   1951 $as_echo "/* confdefs.h */" > confdefs.h
   1952 
   1953 # Predefined preprocessor variables.
   1954 
   1955 cat >>confdefs.h <<_ACEOF
   1956 #define PACKAGE_NAME "$PACKAGE_NAME"
   1957 _ACEOF
   1958 
   1959 cat >>confdefs.h <<_ACEOF
   1960 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1961 _ACEOF
   1962 
   1963 cat >>confdefs.h <<_ACEOF
   1964 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1965 _ACEOF
   1966 
   1967 cat >>confdefs.h <<_ACEOF
   1968 #define PACKAGE_STRING "$PACKAGE_STRING"
   1969 _ACEOF
   1970 
   1971 cat >>confdefs.h <<_ACEOF
   1972 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1973 _ACEOF
   1974 
   1975 cat >>confdefs.h <<_ACEOF
   1976 #define PACKAGE_URL "$PACKAGE_URL"
   1977 _ACEOF
   1978 
   1979 
   1980 # Let the site file select an alternate cache file if it wants to.
   1981 # Prefer an explicitly selected file to automatically selected ones.
   1982 ac_site_file1=NONE
   1983 ac_site_file2=NONE
   1984 if test -n "$CONFIG_SITE"; then
   1985   # We do not want a PATH search for config.site.
   1986   case $CONFIG_SITE in #((
   1987     -*)  ac_site_file1=./$CONFIG_SITE;;
   1988     */*) ac_site_file1=$CONFIG_SITE;;
   1989     *)   ac_site_file1=./$CONFIG_SITE;;
   1990   esac
   1991 elif test "x$prefix" != xNONE; then
   1992   ac_site_file1=$prefix/share/config.site
   1993   ac_site_file2=$prefix/etc/config.site
   1994 else
   1995   ac_site_file1=$ac_default_prefix/share/config.site
   1996   ac_site_file2=$ac_default_prefix/etc/config.site
   1997 fi
   1998 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1999 do
   2000   test "x$ac_site_file" = xNONE && continue
   2001   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2002     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2003 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2004     sed 's/^/| /' "$ac_site_file" >&5
   2005     . "$ac_site_file" \
   2006       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2008 as_fn_error $? "failed to load site script $ac_site_file
   2009 See \`config.log' for more details" "$LINENO" 5; }
   2010   fi
   2011 done
   2012 
   2013 if test -r "$cache_file"; then
   2014   # Some versions of bash will fail to source /dev/null (special files
   2015   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2016   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2017     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2018 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2019     case $cache_file in
   2020       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2021       *)                      . "./$cache_file";;
   2022     esac
   2023   fi
   2024 else
   2025   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2026 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2027   >$cache_file
   2028 fi
   2029 
   2030 # Check that the precious variables saved in the cache have kept the same
   2031 # value.
   2032 ac_cache_corrupted=false
   2033 for ac_var in $ac_precious_vars; do
   2034   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2035   eval ac_new_set=\$ac_env_${ac_var}_set
   2036   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2037   eval ac_new_val=\$ac_env_${ac_var}_value
   2038   case $ac_old_set,$ac_new_set in
   2039     set,)
   2040       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2041 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2042       ac_cache_corrupted=: ;;
   2043     ,set)
   2044       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2045 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2046       ac_cache_corrupted=: ;;
   2047     ,);;
   2048     *)
   2049       if test "x$ac_old_val" != "x$ac_new_val"; then
   2050 	# differences in whitespace do not lead to failure.
   2051 	ac_old_val_w=`echo x $ac_old_val`
   2052 	ac_new_val_w=`echo x $ac_new_val`
   2053 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2054 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2055 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2056 	  ac_cache_corrupted=:
   2057 	else
   2058 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2059 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2060 	  eval $ac_var=\$ac_old_val
   2061 	fi
   2062 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2063 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2064 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2065 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2066       fi;;
   2067   esac
   2068   # Pass precious variables to config.status.
   2069   if test "$ac_new_set" = set; then
   2070     case $ac_new_val in
   2071     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2072     *) ac_arg=$ac_var=$ac_new_val ;;
   2073     esac
   2074     case " $ac_configure_args " in
   2075       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2076       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2077     esac
   2078   fi
   2079 done
   2080 if $ac_cache_corrupted; then
   2081   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2083   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2084 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2085   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2086 fi
   2087 ## -------------------- ##
   2088 ## Main body of script. ##
   2089 ## -------------------- ##
   2090 
   2091 ac_ext=c
   2092 ac_cpp='$CPP $CPPFLAGS'
   2093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2096 
   2097 
   2098 
   2099 ac_config_headers="$ac_config_headers config.h"
   2100 
   2101 
   2102 # Initialize Automake
   2103 am__api_version='1.14'
   2104 
   2105 ac_aux_dir=
   2106 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2107   if test -f "$ac_dir/install-sh"; then
   2108     ac_aux_dir=$ac_dir
   2109     ac_install_sh="$ac_aux_dir/install-sh -c"
   2110     break
   2111   elif test -f "$ac_dir/install.sh"; then
   2112     ac_aux_dir=$ac_dir
   2113     ac_install_sh="$ac_aux_dir/install.sh -c"
   2114     break
   2115   elif test -f "$ac_dir/shtool"; then
   2116     ac_aux_dir=$ac_dir
   2117     ac_install_sh="$ac_aux_dir/shtool install -c"
   2118     break
   2119   fi
   2120 done
   2121 if test -z "$ac_aux_dir"; then
   2122   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2123 fi
   2124 
   2125 # These three variables are undocumented and unsupported,
   2126 # and are intended to be withdrawn in a future Autoconf release.
   2127 # They can cause serious problems if a builder's source tree is in a directory
   2128 # whose full name contains unusual characters.
   2129 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2130 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2131 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2132 
   2133 
   2134 # Find a good install program.  We prefer a C program (faster),
   2135 # so one script is as good as another.  But avoid the broken or
   2136 # incompatible versions:
   2137 # SysV /etc/install, /usr/sbin/install
   2138 # SunOS /usr/etc/install
   2139 # IRIX /sbin/install
   2140 # AIX /bin/install
   2141 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2142 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2143 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2144 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2145 # OS/2's system install, which has a completely different semantic
   2146 # ./install, which can be erroneously created by make from ./install.sh.
   2147 # Reject install programs that cannot install multiple files.
   2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2149 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2150 if test -z "$INSTALL"; then
   2151 if ${ac_cv_path_install+:} false; then :
   2152   $as_echo_n "(cached) " >&6
   2153 else
   2154   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2155 for as_dir in $PATH
   2156 do
   2157   IFS=$as_save_IFS
   2158   test -z "$as_dir" && as_dir=.
   2159     # Account for people who put trailing slashes in PATH elements.
   2160 case $as_dir/ in #((
   2161   ./ | .// | /[cC]/* | \
   2162   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2163   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2164   /usr/ucb/* ) ;;
   2165   *)
   2166     # OSF1 and SCO ODT 3.0 have their own names for install.
   2167     # Don't use installbsd from OSF since it installs stuff as root
   2168     # by default.
   2169     for ac_prog in ginstall scoinst install; do
   2170       for ac_exec_ext in '' $ac_executable_extensions; do
   2171 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2172 	  if test $ac_prog = install &&
   2173 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2174 	    # AIX install.  It has an incompatible calling convention.
   2175 	    :
   2176 	  elif test $ac_prog = install &&
   2177 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2178 	    # program-specific install script used by HP pwplus--don't use.
   2179 	    :
   2180 	  else
   2181 	    rm -rf conftest.one conftest.two conftest.dir
   2182 	    echo one > conftest.one
   2183 	    echo two > conftest.two
   2184 	    mkdir conftest.dir
   2185 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2186 	      test -s conftest.one && test -s conftest.two &&
   2187 	      test -s conftest.dir/conftest.one &&
   2188 	      test -s conftest.dir/conftest.two
   2189 	    then
   2190 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2191 	      break 3
   2192 	    fi
   2193 	  fi
   2194 	fi
   2195       done
   2196     done
   2197     ;;
   2198 esac
   2199 
   2200   done
   2201 IFS=$as_save_IFS
   2202 
   2203 rm -rf conftest.one conftest.two conftest.dir
   2204 
   2205 fi
   2206   if test "${ac_cv_path_install+set}" = set; then
   2207     INSTALL=$ac_cv_path_install
   2208   else
   2209     # As a last resort, use the slow shell script.  Don't cache a
   2210     # value for INSTALL within a source directory, because that will
   2211     # break other packages using the cache if that directory is
   2212     # removed, or if the value is a relative name.
   2213     INSTALL=$ac_install_sh
   2214   fi
   2215 fi
   2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2217 $as_echo "$INSTALL" >&6; }
   2218 
   2219 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2220 # It thinks the first close brace ends the variable substitution.
   2221 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2222 
   2223 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2224 
   2225 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2226 
   2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2228 $as_echo_n "checking whether build environment is sane... " >&6; }
   2229 # Reject unsafe characters in $srcdir or the absolute working directory
   2230 # name.  Accept space and tab only in the latter.
   2231 am_lf='
   2232 '
   2233 case `pwd` in
   2234   *[\\\"\#\$\&\'\`$am_lf]*)
   2235     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2236 esac
   2237 case $srcdir in
   2238   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2239     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2240 esac
   2241 
   2242 # Do 'set' in a subshell so we don't clobber the current shell's
   2243 # arguments.  Must try -L first in case configure is actually a
   2244 # symlink; some systems play weird games with the mod time of symlinks
   2245 # (eg FreeBSD returns the mod time of the symlink's containing
   2246 # directory).
   2247 if (
   2248    am_has_slept=no
   2249    for am_try in 1 2; do
   2250      echo "timestamp, slept: $am_has_slept" > conftest.file
   2251      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2252      if test "$*" = "X"; then
   2253 	# -L didn't work.
   2254 	set X `ls -t "$srcdir/configure" conftest.file`
   2255      fi
   2256      if test "$*" != "X $srcdir/configure conftest.file" \
   2257 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2258 
   2259 	# If neither matched, then we have a broken ls.  This can happen
   2260 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2261 	# broken ls alias from the environment.  This has actually
   2262 	# happened.  Such a system could not be considered "sane".
   2263 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2264   alias in your environment" "$LINENO" 5
   2265      fi
   2266      if test "$2" = conftest.file || test $am_try -eq 2; then
   2267        break
   2268      fi
   2269      # Just in case.
   2270      sleep 1
   2271      am_has_slept=yes
   2272    done
   2273    test "$2" = conftest.file
   2274    )
   2275 then
   2276    # Ok.
   2277    :
   2278 else
   2279    as_fn_error $? "newly created file is older than distributed files!
   2280 Check your system clock" "$LINENO" 5
   2281 fi
   2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2283 $as_echo "yes" >&6; }
   2284 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2285 # generated files are strictly newer.
   2286 am_sleep_pid=
   2287 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2288   ( sleep 1 ) &
   2289   am_sleep_pid=$!
   2290 fi
   2291 
   2292 rm -f conftest.file
   2293 
   2294 test "$program_prefix" != NONE &&
   2295   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2296 # Use a double $ so make ignores it.
   2297 test "$program_suffix" != NONE &&
   2298   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2299 # Double any \ or $.
   2300 # By default was `s,x,x', remove it if useless.
   2301 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2302 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2303 
   2304 # expand $ac_aux_dir to an absolute path
   2305 am_aux_dir=`cd $ac_aux_dir && pwd`
   2306 
   2307 if test x"${MISSING+set}" != xset; then
   2308   case $am_aux_dir in
   2309   *\ * | *\	*)
   2310     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2311   *)
   2312     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2313   esac
   2314 fi
   2315 # Use eval to expand $SHELL
   2316 if eval "$MISSING --is-lightweight"; then
   2317   am_missing_run="$MISSING "
   2318 else
   2319   am_missing_run=
   2320   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2321 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2322 fi
   2323 
   2324 if test x"${install_sh}" != xset; then
   2325   case $am_aux_dir in
   2326   *\ * | *\	*)
   2327     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2328   *)
   2329     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2330   esac
   2331 fi
   2332 
   2333 # Installed binaries are usually stripped using 'strip' when the user
   2334 # run "make install-strip".  However 'strip' might not be the right
   2335 # tool to use in cross-compilation environments, therefore Automake
   2336 # will honor the 'STRIP' environment variable to overrule this program.
   2337 if test "$cross_compiling" != no; then
   2338   if test -n "$ac_tool_prefix"; then
   2339   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2340 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2342 $as_echo_n "checking for $ac_word... " >&6; }
   2343 if ${ac_cv_prog_STRIP+:} false; then :
   2344   $as_echo_n "(cached) " >&6
   2345 else
   2346   if test -n "$STRIP"; then
   2347   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2348 else
   2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2350 for as_dir in $PATH
   2351 do
   2352   IFS=$as_save_IFS
   2353   test -z "$as_dir" && as_dir=.
   2354     for ac_exec_ext in '' $ac_executable_extensions; do
   2355   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2356     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2358     break 2
   2359   fi
   2360 done
   2361   done
   2362 IFS=$as_save_IFS
   2363 
   2364 fi
   2365 fi
   2366 STRIP=$ac_cv_prog_STRIP
   2367 if test -n "$STRIP"; then
   2368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2369 $as_echo "$STRIP" >&6; }
   2370 else
   2371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2372 $as_echo "no" >&6; }
   2373 fi
   2374 
   2375 
   2376 fi
   2377 if test -z "$ac_cv_prog_STRIP"; then
   2378   ac_ct_STRIP=$STRIP
   2379   # Extract the first word of "strip", so it can be a program name with args.
   2380 set dummy strip; ac_word=$2
   2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2382 $as_echo_n "checking for $ac_word... " >&6; }
   2383 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2384   $as_echo_n "(cached) " >&6
   2385 else
   2386   if test -n "$ac_ct_STRIP"; then
   2387   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2388 else
   2389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2390 for as_dir in $PATH
   2391 do
   2392   IFS=$as_save_IFS
   2393   test -z "$as_dir" && as_dir=.
   2394     for ac_exec_ext in '' $ac_executable_extensions; do
   2395   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2396     ac_cv_prog_ac_ct_STRIP="strip"
   2397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2398     break 2
   2399   fi
   2400 done
   2401   done
   2402 IFS=$as_save_IFS
   2403 
   2404 fi
   2405 fi
   2406 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2407 if test -n "$ac_ct_STRIP"; then
   2408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2409 $as_echo "$ac_ct_STRIP" >&6; }
   2410 else
   2411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2412 $as_echo "no" >&6; }
   2413 fi
   2414 
   2415   if test "x$ac_ct_STRIP" = x; then
   2416     STRIP=":"
   2417   else
   2418     case $cross_compiling:$ac_tool_warned in
   2419 yes:)
   2420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2422 ac_tool_warned=yes ;;
   2423 esac
   2424     STRIP=$ac_ct_STRIP
   2425   fi
   2426 else
   2427   STRIP="$ac_cv_prog_STRIP"
   2428 fi
   2429 
   2430 fi
   2431 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2432 
   2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2434 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2435 if test -z "$MKDIR_P"; then
   2436   if ${ac_cv_path_mkdir+:} false; then :
   2437   $as_echo_n "(cached) " >&6
   2438 else
   2439   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2440 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2441 do
   2442   IFS=$as_save_IFS
   2443   test -z "$as_dir" && as_dir=.
   2444     for ac_prog in mkdir gmkdir; do
   2445 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2446 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2447 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2448 	     'mkdir (GNU coreutils) '* | \
   2449 	     'mkdir (coreutils) '* | \
   2450 	     'mkdir (fileutils) '4.1*)
   2451 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2452 	       break 3;;
   2453 	   esac
   2454 	 done
   2455        done
   2456   done
   2457 IFS=$as_save_IFS
   2458 
   2459 fi
   2460 
   2461   test -d ./--version && rmdir ./--version
   2462   if test "${ac_cv_path_mkdir+set}" = set; then
   2463     MKDIR_P="$ac_cv_path_mkdir -p"
   2464   else
   2465     # As a last resort, use the slow shell script.  Don't cache a
   2466     # value for MKDIR_P within a source directory, because that will
   2467     # break other packages using the cache if that directory is
   2468     # removed, or if the value is a relative name.
   2469     MKDIR_P="$ac_install_sh -d"
   2470   fi
   2471 fi
   2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2473 $as_echo "$MKDIR_P" >&6; }
   2474 
   2475 for ac_prog in gawk mawk nawk awk
   2476 do
   2477   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2478 set dummy $ac_prog; ac_word=$2
   2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2480 $as_echo_n "checking for $ac_word... " >&6; }
   2481 if ${ac_cv_prog_AWK+:} false; then :
   2482   $as_echo_n "(cached) " >&6
   2483 else
   2484   if test -n "$AWK"; then
   2485   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2486 else
   2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2488 for as_dir in $PATH
   2489 do
   2490   IFS=$as_save_IFS
   2491   test -z "$as_dir" && as_dir=.
   2492     for ac_exec_ext in '' $ac_executable_extensions; do
   2493   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2494     ac_cv_prog_AWK="$ac_prog"
   2495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2496     break 2
   2497   fi
   2498 done
   2499   done
   2500 IFS=$as_save_IFS
   2501 
   2502 fi
   2503 fi
   2504 AWK=$ac_cv_prog_AWK
   2505 if test -n "$AWK"; then
   2506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2507 $as_echo "$AWK" >&6; }
   2508 else
   2509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2510 $as_echo "no" >&6; }
   2511 fi
   2512 
   2513 
   2514   test -n "$AWK" && break
   2515 done
   2516 
   2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2518 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2519 set x ${MAKE-make}
   2520 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2521 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2522   $as_echo_n "(cached) " >&6
   2523 else
   2524   cat >conftest.make <<\_ACEOF
   2525 SHELL = /bin/sh
   2526 all:
   2527 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2528 _ACEOF
   2529 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2530 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2531   *@@@%%%=?*=@@@%%%*)
   2532     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2533   *)
   2534     eval ac_cv_prog_make_${ac_make}_set=no;;
   2535 esac
   2536 rm -f conftest.make
   2537 fi
   2538 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2540 $as_echo "yes" >&6; }
   2541   SET_MAKE=
   2542 else
   2543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2544 $as_echo "no" >&6; }
   2545   SET_MAKE="MAKE=${MAKE-make}"
   2546 fi
   2547 
   2548 rm -rf .tst 2>/dev/null
   2549 mkdir .tst 2>/dev/null
   2550 if test -d .tst; then
   2551   am__leading_dot=.
   2552 else
   2553   am__leading_dot=_
   2554 fi
   2555 rmdir .tst 2>/dev/null
   2556 
   2557 # Check whether --enable-silent-rules was given.
   2558 if test "${enable_silent_rules+set}" = set; then :
   2559   enableval=$enable_silent_rules;
   2560 fi
   2561 
   2562 case $enable_silent_rules in # (((
   2563   yes) AM_DEFAULT_VERBOSITY=0;;
   2564    no) AM_DEFAULT_VERBOSITY=1;;
   2565     *) AM_DEFAULT_VERBOSITY=1;;
   2566 esac
   2567 am_make=${MAKE-make}
   2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2569 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2570 if ${am_cv_make_support_nested_variables+:} false; then :
   2571   $as_echo_n "(cached) " >&6
   2572 else
   2573   if $as_echo 'TRUE=$(BAR$(V))
   2574 BAR0=false
   2575 BAR1=true
   2576 V=1
   2577 am__doit:
   2578 	@$(TRUE)
   2579 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2580   am_cv_make_support_nested_variables=yes
   2581 else
   2582   am_cv_make_support_nested_variables=no
   2583 fi
   2584 fi
   2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2586 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2587 if test $am_cv_make_support_nested_variables = yes; then
   2588     AM_V='$(V)'
   2589   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2590 else
   2591   AM_V=$AM_DEFAULT_VERBOSITY
   2592   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2593 fi
   2594 AM_BACKSLASH='\'
   2595 
   2596 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2597   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2598   # is not polluted with repeated "-I."
   2599   am__isrc=' -I$(srcdir)'
   2600   # test to see if srcdir already configured
   2601   if test -f $srcdir/config.status; then
   2602     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2603   fi
   2604 fi
   2605 
   2606 # test whether we have cygpath
   2607 if test -z "$CYGPATH_W"; then
   2608   if (cygpath --version) >/dev/null 2>/dev/null; then
   2609     CYGPATH_W='cygpath -w'
   2610   else
   2611     CYGPATH_W=echo
   2612   fi
   2613 fi
   2614 
   2615 
   2616 # Define the identity of the package.
   2617  PACKAGE='bdftopcf'
   2618  VERSION='1.0.5'
   2619 
   2620 
   2621 cat >>confdefs.h <<_ACEOF
   2622 #define PACKAGE "$PACKAGE"
   2623 _ACEOF
   2624 
   2625 
   2626 cat >>confdefs.h <<_ACEOF
   2627 #define VERSION "$VERSION"
   2628 _ACEOF
   2629 
   2630 # Some tools Automake needs.
   2631 
   2632 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2633 
   2634 
   2635 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2636 
   2637 
   2638 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2639 
   2640 
   2641 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2642 
   2643 
   2644 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2645 
   2646 # For better backward compatibility.  To be removed once Automake 1.9.x
   2647 # dies out for good.  For more background, see:
   2648 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2649 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2650 mkdir_p='$(MKDIR_P)'
   2651 
   2652 # We need awk for the "check" target.  The system "awk" is bad on
   2653 # some platforms.
   2654 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2655 # in the wild :-(  We should find a proper way to deprecate it ...
   2656 AMTAR='$${TAR-tar}'
   2657 
   2658 
   2659 # We'll loop over all known methods to create a tar archive until one works.
   2660 _am_tools='gnutar  pax cpio none'
   2661 
   2662 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2663 
   2664 
   2665 
   2666 
   2667 
   2668 
   2669 # POSIX will say in a future version that running "rm -f" with no argument
   2670 # is OK; and we want to be able to make that assumption in our Makefile
   2671 # recipes.  So use an aggressive probe to check that the usage we want is
   2672 # actually supported "in the wild" to an acceptable degree.
   2673 # See automake bug#10828.
   2674 # To make any issue more visible, cause the running configure to be aborted
   2675 # by default if the 'rm' program in use doesn't match our expectations; the
   2676 # user can still override this though.
   2677 if rm -f && rm -fr && rm -rf; then : OK; else
   2678   cat >&2 <<'END'
   2679 Oops!
   2680 
   2681 Your 'rm' program seems unable to run without file operands specified
   2682 on the command line, even when the '-f' option is present.  This is contrary
   2683 to the behaviour of most rm programs out there, and not conforming with
   2684 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2685 
   2686 Please tell bug-automake@gnu.org about your system, including the value
   2687 of your $PATH and any error possibly output before this message.  This
   2688 can help us improve future automake versions.
   2689 
   2690 END
   2691   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2692     echo 'Configuration will proceed anyway, since you have set the' >&2
   2693     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2694     echo >&2
   2695   else
   2696     cat >&2 <<'END'
   2697 Aborting the configuration process, to ensure you take notice of the issue.
   2698 
   2699 You can download and install GNU coreutils to get an 'rm' implementation
   2700 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2701 
   2702 If you want to complete the configuration process using your problematic
   2703 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2704 to "yes", and re-run configure.
   2705 
   2706 END
   2707     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2708   fi
   2709 fi
   2710 
   2711 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2712 
   2713 
   2714 
   2715 
   2716 
   2717 
   2718 
   2719 
   2720 
   2721 
   2722 
   2723 DEPDIR="${am__leading_dot}deps"
   2724 
   2725 ac_config_commands="$ac_config_commands depfiles"
   2726 
   2727 
   2728 am_make=${MAKE-make}
   2729 cat > confinc << 'END'
   2730 am__doit:
   2731 	@echo this is the am__doit target
   2732 .PHONY: am__doit
   2733 END
   2734 # If we don't find an include directive, just comment out the code.
   2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2736 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2737 am__include="#"
   2738 am__quote=
   2739 _am_result=none
   2740 # First try GNU make style include.
   2741 echo "include confinc" > confmf
   2742 # Ignore all kinds of additional output from 'make'.
   2743 case `$am_make -s -f confmf 2> /dev/null` in #(
   2744 *the\ am__doit\ target*)
   2745   am__include=include
   2746   am__quote=
   2747   _am_result=GNU
   2748   ;;
   2749 esac
   2750 # Now try BSD make style include.
   2751 if test "$am__include" = "#"; then
   2752    echo '.include "confinc"' > confmf
   2753    case `$am_make -s -f confmf 2> /dev/null` in #(
   2754    *the\ am__doit\ target*)
   2755      am__include=.include
   2756      am__quote="\""
   2757      _am_result=BSD
   2758      ;;
   2759    esac
   2760 fi
   2761 
   2762 
   2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2764 $as_echo "$_am_result" >&6; }
   2765 rm -f confinc confmf
   2766 
   2767 # Check whether --enable-dependency-tracking was given.
   2768 if test "${enable_dependency_tracking+set}" = set; then :
   2769   enableval=$enable_dependency_tracking;
   2770 fi
   2771 
   2772 if test "x$enable_dependency_tracking" != xno; then
   2773   am_depcomp="$ac_aux_dir/depcomp"
   2774   AMDEPBACKSLASH='\'
   2775   am__nodep='_no'
   2776 fi
   2777  if test "x$enable_dependency_tracking" != xno; then
   2778   AMDEP_TRUE=
   2779   AMDEP_FALSE='#'
   2780 else
   2781   AMDEP_TRUE='#'
   2782   AMDEP_FALSE=
   2783 fi
   2784 
   2785 
   2786 ac_ext=c
   2787 ac_cpp='$CPP $CPPFLAGS'
   2788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2791 if test -n "$ac_tool_prefix"; then
   2792   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2793 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2795 $as_echo_n "checking for $ac_word... " >&6; }
   2796 if ${ac_cv_prog_CC+:} false; then :
   2797   $as_echo_n "(cached) " >&6
   2798 else
   2799   if test -n "$CC"; then
   2800   ac_cv_prog_CC="$CC" # Let the user override the test.
   2801 else
   2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2803 for as_dir in $PATH
   2804 do
   2805   IFS=$as_save_IFS
   2806   test -z "$as_dir" && as_dir=.
   2807     for ac_exec_ext in '' $ac_executable_extensions; do
   2808   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2809     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2811     break 2
   2812   fi
   2813 done
   2814   done
   2815 IFS=$as_save_IFS
   2816 
   2817 fi
   2818 fi
   2819 CC=$ac_cv_prog_CC
   2820 if test -n "$CC"; then
   2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2822 $as_echo "$CC" >&6; }
   2823 else
   2824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2825 $as_echo "no" >&6; }
   2826 fi
   2827 
   2828 
   2829 fi
   2830 if test -z "$ac_cv_prog_CC"; then
   2831   ac_ct_CC=$CC
   2832   # Extract the first word of "gcc", so it can be a program name with args.
   2833 set dummy gcc; ac_word=$2
   2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2835 $as_echo_n "checking for $ac_word... " >&6; }
   2836 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2837   $as_echo_n "(cached) " >&6
   2838 else
   2839   if test -n "$ac_ct_CC"; then
   2840   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2841 else
   2842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2843 for as_dir in $PATH
   2844 do
   2845   IFS=$as_save_IFS
   2846   test -z "$as_dir" && as_dir=.
   2847     for ac_exec_ext in '' $ac_executable_extensions; do
   2848   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2849     ac_cv_prog_ac_ct_CC="gcc"
   2850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2851     break 2
   2852   fi
   2853 done
   2854   done
   2855 IFS=$as_save_IFS
   2856 
   2857 fi
   2858 fi
   2859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2860 if test -n "$ac_ct_CC"; then
   2861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2862 $as_echo "$ac_ct_CC" >&6; }
   2863 else
   2864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2865 $as_echo "no" >&6; }
   2866 fi
   2867 
   2868   if test "x$ac_ct_CC" = x; then
   2869     CC=""
   2870   else
   2871     case $cross_compiling:$ac_tool_warned in
   2872 yes:)
   2873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2875 ac_tool_warned=yes ;;
   2876 esac
   2877     CC=$ac_ct_CC
   2878   fi
   2879 else
   2880   CC="$ac_cv_prog_CC"
   2881 fi
   2882 
   2883 if test -z "$CC"; then
   2884           if test -n "$ac_tool_prefix"; then
   2885     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2886 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2888 $as_echo_n "checking for $ac_word... " >&6; }
   2889 if ${ac_cv_prog_CC+:} false; then :
   2890   $as_echo_n "(cached) " >&6
   2891 else
   2892   if test -n "$CC"; then
   2893   ac_cv_prog_CC="$CC" # Let the user override the test.
   2894 else
   2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2896 for as_dir in $PATH
   2897 do
   2898   IFS=$as_save_IFS
   2899   test -z "$as_dir" && as_dir=.
   2900     for ac_exec_ext in '' $ac_executable_extensions; do
   2901   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2902     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2904     break 2
   2905   fi
   2906 done
   2907   done
   2908 IFS=$as_save_IFS
   2909 
   2910 fi
   2911 fi
   2912 CC=$ac_cv_prog_CC
   2913 if test -n "$CC"; then
   2914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2915 $as_echo "$CC" >&6; }
   2916 else
   2917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2918 $as_echo "no" >&6; }
   2919 fi
   2920 
   2921 
   2922   fi
   2923 fi
   2924 if test -z "$CC"; then
   2925   # Extract the first word of "cc", so it can be a program name with args.
   2926 set dummy cc; ac_word=$2
   2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2928 $as_echo_n "checking for $ac_word... " >&6; }
   2929 if ${ac_cv_prog_CC+:} false; then :
   2930   $as_echo_n "(cached) " >&6
   2931 else
   2932   if test -n "$CC"; then
   2933   ac_cv_prog_CC="$CC" # Let the user override the test.
   2934 else
   2935   ac_prog_rejected=no
   2936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2937 for as_dir in $PATH
   2938 do
   2939   IFS=$as_save_IFS
   2940   test -z "$as_dir" && as_dir=.
   2941     for ac_exec_ext in '' $ac_executable_extensions; do
   2942   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2943     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2944        ac_prog_rejected=yes
   2945        continue
   2946      fi
   2947     ac_cv_prog_CC="cc"
   2948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2949     break 2
   2950   fi
   2951 done
   2952   done
   2953 IFS=$as_save_IFS
   2954 
   2955 if test $ac_prog_rejected = yes; then
   2956   # We found a bogon in the path, so make sure we never use it.
   2957   set dummy $ac_cv_prog_CC
   2958   shift
   2959   if test $# != 0; then
   2960     # We chose a different compiler from the bogus one.
   2961     # However, it has the same basename, so the bogon will be chosen
   2962     # first if we set CC to just the basename; use the full file name.
   2963     shift
   2964     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2965   fi
   2966 fi
   2967 fi
   2968 fi
   2969 CC=$ac_cv_prog_CC
   2970 if test -n "$CC"; then
   2971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2972 $as_echo "$CC" >&6; }
   2973 else
   2974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2975 $as_echo "no" >&6; }
   2976 fi
   2977 
   2978 
   2979 fi
   2980 if test -z "$CC"; then
   2981   if test -n "$ac_tool_prefix"; then
   2982   for ac_prog in cl.exe
   2983   do
   2984     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2985 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2987 $as_echo_n "checking for $ac_word... " >&6; }
   2988 if ${ac_cv_prog_CC+:} false; then :
   2989   $as_echo_n "(cached) " >&6
   2990 else
   2991   if test -n "$CC"; then
   2992   ac_cv_prog_CC="$CC" # Let the user override the test.
   2993 else
   2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2995 for as_dir in $PATH
   2996 do
   2997   IFS=$as_save_IFS
   2998   test -z "$as_dir" && as_dir=.
   2999     for ac_exec_ext in '' $ac_executable_extensions; do
   3000   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3001     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3003     break 2
   3004   fi
   3005 done
   3006   done
   3007 IFS=$as_save_IFS
   3008 
   3009 fi
   3010 fi
   3011 CC=$ac_cv_prog_CC
   3012 if test -n "$CC"; then
   3013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3014 $as_echo "$CC" >&6; }
   3015 else
   3016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3017 $as_echo "no" >&6; }
   3018 fi
   3019 
   3020 
   3021     test -n "$CC" && break
   3022   done
   3023 fi
   3024 if test -z "$CC"; then
   3025   ac_ct_CC=$CC
   3026   for ac_prog in cl.exe
   3027 do
   3028   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3029 set dummy $ac_prog; ac_word=$2
   3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3031 $as_echo_n "checking for $ac_word... " >&6; }
   3032 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3033   $as_echo_n "(cached) " >&6
   3034 else
   3035   if test -n "$ac_ct_CC"; then
   3036   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3037 else
   3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3039 for as_dir in $PATH
   3040 do
   3041   IFS=$as_save_IFS
   3042   test -z "$as_dir" && as_dir=.
   3043     for ac_exec_ext in '' $ac_executable_extensions; do
   3044   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3045     ac_cv_prog_ac_ct_CC="$ac_prog"
   3046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3047     break 2
   3048   fi
   3049 done
   3050   done
   3051 IFS=$as_save_IFS
   3052 
   3053 fi
   3054 fi
   3055 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3056 if test -n "$ac_ct_CC"; then
   3057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3058 $as_echo "$ac_ct_CC" >&6; }
   3059 else
   3060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3061 $as_echo "no" >&6; }
   3062 fi
   3063 
   3064 
   3065   test -n "$ac_ct_CC" && break
   3066 done
   3067 
   3068   if test "x$ac_ct_CC" = x; then
   3069     CC=""
   3070   else
   3071     case $cross_compiling:$ac_tool_warned in
   3072 yes:)
   3073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3075 ac_tool_warned=yes ;;
   3076 esac
   3077     CC=$ac_ct_CC
   3078   fi
   3079 fi
   3080 
   3081 fi
   3082 
   3083 
   3084 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3086 as_fn_error $? "no acceptable C compiler found in \$PATH
   3087 See \`config.log' for more details" "$LINENO" 5; }
   3088 
   3089 # Provide some information about the compiler.
   3090 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3091 set X $ac_compile
   3092 ac_compiler=$2
   3093 for ac_option in --version -v -V -qversion; do
   3094   { { ac_try="$ac_compiler $ac_option >&5"
   3095 case "(($ac_try" in
   3096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3097   *) ac_try_echo=$ac_try;;
   3098 esac
   3099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3100 $as_echo "$ac_try_echo"; } >&5
   3101   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3102   ac_status=$?
   3103   if test -s conftest.err; then
   3104     sed '10a\
   3105 ... rest of stderr output deleted ...
   3106          10q' conftest.err >conftest.er1
   3107     cat conftest.er1 >&5
   3108   fi
   3109   rm -f conftest.er1 conftest.err
   3110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3111   test $ac_status = 0; }
   3112 done
   3113 
   3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3115 /* end confdefs.h.  */
   3116 
   3117 int
   3118 main ()
   3119 {
   3120 
   3121   ;
   3122   return 0;
   3123 }
   3124 _ACEOF
   3125 ac_clean_files_save=$ac_clean_files
   3126 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3127 # Try to create an executable without -o first, disregard a.out.
   3128 # It will help us diagnose broken compilers, and finding out an intuition
   3129 # of exeext.
   3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3131 $as_echo_n "checking whether the C compiler works... " >&6; }
   3132 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3133 
   3134 # The possible output files:
   3135 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3136 
   3137 ac_rmfiles=
   3138 for ac_file in $ac_files
   3139 do
   3140   case $ac_file in
   3141     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3142     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3143   esac
   3144 done
   3145 rm -f $ac_rmfiles
   3146 
   3147 if { { ac_try="$ac_link_default"
   3148 case "(($ac_try" in
   3149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3150   *) ac_try_echo=$ac_try;;
   3151 esac
   3152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3153 $as_echo "$ac_try_echo"; } >&5
   3154   (eval "$ac_link_default") 2>&5
   3155   ac_status=$?
   3156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3157   test $ac_status = 0; }; then :
   3158   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3159 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3160 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3161 # so that the user can short-circuit this test for compilers unknown to
   3162 # Autoconf.
   3163 for ac_file in $ac_files ''
   3164 do
   3165   test -f "$ac_file" || continue
   3166   case $ac_file in
   3167     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3168 	;;
   3169     [ab].out )
   3170 	# We found the default executable, but exeext='' is most
   3171 	# certainly right.
   3172 	break;;
   3173     *.* )
   3174 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3175 	then :; else
   3176 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3177 	fi
   3178 	# We set ac_cv_exeext here because the later test for it is not
   3179 	# safe: cross compilers may not add the suffix if given an `-o'
   3180 	# argument, so we may need to know it at that point already.
   3181 	# Even if this section looks crufty: it has the advantage of
   3182 	# actually working.
   3183 	break;;
   3184     * )
   3185 	break;;
   3186   esac
   3187 done
   3188 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3189 
   3190 else
   3191   ac_file=''
   3192 fi
   3193 if test -z "$ac_file"; then :
   3194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3195 $as_echo "no" >&6; }
   3196 $as_echo "$as_me: failed program was:" >&5
   3197 sed 's/^/| /' conftest.$ac_ext >&5
   3198 
   3199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3201 as_fn_error 77 "C compiler cannot create executables
   3202 See \`config.log' for more details" "$LINENO" 5; }
   3203 else
   3204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3205 $as_echo "yes" >&6; }
   3206 fi
   3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3208 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3210 $as_echo "$ac_file" >&6; }
   3211 ac_exeext=$ac_cv_exeext
   3212 
   3213 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3214 ac_clean_files=$ac_clean_files_save
   3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3216 $as_echo_n "checking for suffix of executables... " >&6; }
   3217 if { { ac_try="$ac_link"
   3218 case "(($ac_try" in
   3219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3220   *) ac_try_echo=$ac_try;;
   3221 esac
   3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3223 $as_echo "$ac_try_echo"; } >&5
   3224   (eval "$ac_link") 2>&5
   3225   ac_status=$?
   3226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3227   test $ac_status = 0; }; then :
   3228   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3229 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3230 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3231 # `rm'.
   3232 for ac_file in conftest.exe conftest conftest.*; do
   3233   test -f "$ac_file" || continue
   3234   case $ac_file in
   3235     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3236     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3237 	  break;;
   3238     * ) break;;
   3239   esac
   3240 done
   3241 else
   3242   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3244 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3245 See \`config.log' for more details" "$LINENO" 5; }
   3246 fi
   3247 rm -f conftest conftest$ac_cv_exeext
   3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3249 $as_echo "$ac_cv_exeext" >&6; }
   3250 
   3251 rm -f conftest.$ac_ext
   3252 EXEEXT=$ac_cv_exeext
   3253 ac_exeext=$EXEEXT
   3254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3255 /* end confdefs.h.  */
   3256 #include <stdio.h>
   3257 int
   3258 main ()
   3259 {
   3260 FILE *f = fopen ("conftest.out", "w");
   3261  return ferror (f) || fclose (f) != 0;
   3262 
   3263   ;
   3264   return 0;
   3265 }
   3266 _ACEOF
   3267 ac_clean_files="$ac_clean_files conftest.out"
   3268 # Check that the compiler produces executables we can run.  If not, either
   3269 # the compiler is broken, or we cross compile.
   3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3271 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3272 if test "$cross_compiling" != yes; then
   3273   { { ac_try="$ac_link"
   3274 case "(($ac_try" in
   3275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3276   *) ac_try_echo=$ac_try;;
   3277 esac
   3278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3279 $as_echo "$ac_try_echo"; } >&5
   3280   (eval "$ac_link") 2>&5
   3281   ac_status=$?
   3282   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3283   test $ac_status = 0; }
   3284   if { ac_try='./conftest$ac_cv_exeext'
   3285   { { case "(($ac_try" in
   3286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3287   *) ac_try_echo=$ac_try;;
   3288 esac
   3289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3290 $as_echo "$ac_try_echo"; } >&5
   3291   (eval "$ac_try") 2>&5
   3292   ac_status=$?
   3293   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3294   test $ac_status = 0; }; }; then
   3295     cross_compiling=no
   3296   else
   3297     if test "$cross_compiling" = maybe; then
   3298 	cross_compiling=yes
   3299     else
   3300 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3302 as_fn_error $? "cannot run C compiled programs.
   3303 If you meant to cross compile, use \`--host'.
   3304 See \`config.log' for more details" "$LINENO" 5; }
   3305     fi
   3306   fi
   3307 fi
   3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3309 $as_echo "$cross_compiling" >&6; }
   3310 
   3311 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3312 ac_clean_files=$ac_clean_files_save
   3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3314 $as_echo_n "checking for suffix of object files... " >&6; }
   3315 if ${ac_cv_objext+:} false; then :
   3316   $as_echo_n "(cached) " >&6
   3317 else
   3318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3319 /* end confdefs.h.  */
   3320 
   3321 int
   3322 main ()
   3323 {
   3324 
   3325   ;
   3326   return 0;
   3327 }
   3328 _ACEOF
   3329 rm -f conftest.o conftest.obj
   3330 if { { ac_try="$ac_compile"
   3331 case "(($ac_try" in
   3332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3333   *) ac_try_echo=$ac_try;;
   3334 esac
   3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3336 $as_echo "$ac_try_echo"; } >&5
   3337   (eval "$ac_compile") 2>&5
   3338   ac_status=$?
   3339   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3340   test $ac_status = 0; }; then :
   3341   for ac_file in conftest.o conftest.obj conftest.*; do
   3342   test -f "$ac_file" || continue;
   3343   case $ac_file in
   3344     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3345     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3346        break;;
   3347   esac
   3348 done
   3349 else
   3350   $as_echo "$as_me: failed program was:" >&5
   3351 sed 's/^/| /' conftest.$ac_ext >&5
   3352 
   3353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3355 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3356 See \`config.log' for more details" "$LINENO" 5; }
   3357 fi
   3358 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3359 fi
   3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3361 $as_echo "$ac_cv_objext" >&6; }
   3362 OBJEXT=$ac_cv_objext
   3363 ac_objext=$OBJEXT
   3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3365 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3366 if ${ac_cv_c_compiler_gnu+:} false; then :
   3367   $as_echo_n "(cached) " >&6
   3368 else
   3369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3370 /* end confdefs.h.  */
   3371 
   3372 int
   3373 main ()
   3374 {
   3375 #ifndef __GNUC__
   3376        choke me
   3377 #endif
   3378 
   3379   ;
   3380   return 0;
   3381 }
   3382 _ACEOF
   3383 if ac_fn_c_try_compile "$LINENO"; then :
   3384   ac_compiler_gnu=yes
   3385 else
   3386   ac_compiler_gnu=no
   3387 fi
   3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3389 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3390 
   3391 fi
   3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3393 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3394 if test $ac_compiler_gnu = yes; then
   3395   GCC=yes
   3396 else
   3397   GCC=
   3398 fi
   3399 ac_test_CFLAGS=${CFLAGS+set}
   3400 ac_save_CFLAGS=$CFLAGS
   3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3402 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3403 if ${ac_cv_prog_cc_g+:} false; then :
   3404   $as_echo_n "(cached) " >&6
   3405 else
   3406   ac_save_c_werror_flag=$ac_c_werror_flag
   3407    ac_c_werror_flag=yes
   3408    ac_cv_prog_cc_g=no
   3409    CFLAGS="-g"
   3410    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3411 /* end confdefs.h.  */
   3412 
   3413 int
   3414 main ()
   3415 {
   3416 
   3417   ;
   3418   return 0;
   3419 }
   3420 _ACEOF
   3421 if ac_fn_c_try_compile "$LINENO"; then :
   3422   ac_cv_prog_cc_g=yes
   3423 else
   3424   CFLAGS=""
   3425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3426 /* end confdefs.h.  */
   3427 
   3428 int
   3429 main ()
   3430 {
   3431 
   3432   ;
   3433   return 0;
   3434 }
   3435 _ACEOF
   3436 if ac_fn_c_try_compile "$LINENO"; then :
   3437 
   3438 else
   3439   ac_c_werror_flag=$ac_save_c_werror_flag
   3440 	 CFLAGS="-g"
   3441 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3442 /* end confdefs.h.  */
   3443 
   3444 int
   3445 main ()
   3446 {
   3447 
   3448   ;
   3449   return 0;
   3450 }
   3451 _ACEOF
   3452 if ac_fn_c_try_compile "$LINENO"; then :
   3453   ac_cv_prog_cc_g=yes
   3454 fi
   3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3456 fi
   3457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3458 fi
   3459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3460    ac_c_werror_flag=$ac_save_c_werror_flag
   3461 fi
   3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3463 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3464 if test "$ac_test_CFLAGS" = set; then
   3465   CFLAGS=$ac_save_CFLAGS
   3466 elif test $ac_cv_prog_cc_g = yes; then
   3467   if test "$GCC" = yes; then
   3468     CFLAGS="-g -O2"
   3469   else
   3470     CFLAGS="-g"
   3471   fi
   3472 else
   3473   if test "$GCC" = yes; then
   3474     CFLAGS="-O2"
   3475   else
   3476     CFLAGS=
   3477   fi
   3478 fi
   3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3480 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3481 if ${ac_cv_prog_cc_c89+:} false; then :
   3482   $as_echo_n "(cached) " >&6
   3483 else
   3484   ac_cv_prog_cc_c89=no
   3485 ac_save_CC=$CC
   3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3487 /* end confdefs.h.  */
   3488 #include <stdarg.h>
   3489 #include <stdio.h>
   3490 struct stat;
   3491 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3492 struct buf { int x; };
   3493 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3494 static char *e (p, i)
   3495      char **p;
   3496      int i;
   3497 {
   3498   return p[i];
   3499 }
   3500 static char *f (char * (*g) (char **, int), char **p, ...)
   3501 {
   3502   char *s;
   3503   va_list v;
   3504   va_start (v,p);
   3505   s = g (p, va_arg (v,int));
   3506   va_end (v);
   3507   return s;
   3508 }
   3509 
   3510 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3511    function prototypes and stuff, but not '\xHH' hex character constants.
   3512    These don't provoke an error unfortunately, instead are silently treated
   3513    as 'x'.  The following induces an error, until -std is added to get
   3514    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3515    array size at least.  It's necessary to write '\x00'==0 to get something
   3516    that's true only with -std.  */
   3517 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3518 
   3519 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3520    inside strings and character constants.  */
   3521 #define FOO(x) 'x'
   3522 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3523 
   3524 int test (int i, double x);
   3525 struct s1 {int (*f) (int a);};
   3526 struct s2 {int (*f) (double a);};
   3527 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3528 int argc;
   3529 char **argv;
   3530 int
   3531 main ()
   3532 {
   3533 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3534   ;
   3535   return 0;
   3536 }
   3537 _ACEOF
   3538 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3539 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3540 do
   3541   CC="$ac_save_CC $ac_arg"
   3542   if ac_fn_c_try_compile "$LINENO"; then :
   3543   ac_cv_prog_cc_c89=$ac_arg
   3544 fi
   3545 rm -f core conftest.err conftest.$ac_objext
   3546   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3547 done
   3548 rm -f conftest.$ac_ext
   3549 CC=$ac_save_CC
   3550 
   3551 fi
   3552 # AC_CACHE_VAL
   3553 case "x$ac_cv_prog_cc_c89" in
   3554   x)
   3555     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3556 $as_echo "none needed" >&6; } ;;
   3557   xno)
   3558     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3559 $as_echo "unsupported" >&6; } ;;
   3560   *)
   3561     CC="$CC $ac_cv_prog_cc_c89"
   3562     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3563 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3564 esac
   3565 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3566 
   3567 fi
   3568 
   3569 ac_ext=c
   3570 ac_cpp='$CPP $CPPFLAGS'
   3571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3574 
   3575 ac_ext=c
   3576 ac_cpp='$CPP $CPPFLAGS'
   3577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3581 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3582 if ${am_cv_prog_cc_c_o+:} false; then :
   3583   $as_echo_n "(cached) " >&6
   3584 else
   3585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3586 /* end confdefs.h.  */
   3587 
   3588 int
   3589 main ()
   3590 {
   3591 
   3592   ;
   3593   return 0;
   3594 }
   3595 _ACEOF
   3596   # Make sure it works both with $CC and with simple cc.
   3597   # Following AC_PROG_CC_C_O, we do the test twice because some
   3598   # compilers refuse to overwrite an existing .o file with -o,
   3599   # though they will create one.
   3600   am_cv_prog_cc_c_o=yes
   3601   for am_i in 1 2; do
   3602     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3603    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3604    ac_status=$?
   3605    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3606    (exit $ac_status); } \
   3607          && test -f conftest2.$ac_objext; then
   3608       : OK
   3609     else
   3610       am_cv_prog_cc_c_o=no
   3611       break
   3612     fi
   3613   done
   3614   rm -f core conftest*
   3615   unset am_i
   3616 fi
   3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3618 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3619 if test "$am_cv_prog_cc_c_o" != yes; then
   3620    # Losing compiler, so override with the script.
   3621    # FIXME: It is wrong to rewrite CC.
   3622    # But if we don't then we get into trouble of one sort or another.
   3623    # A longer-term fix would be to have automake use am__CC in this case,
   3624    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3625    CC="$am_aux_dir/compile $CC"
   3626 fi
   3627 ac_ext=c
   3628 ac_cpp='$CPP $CPPFLAGS'
   3629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3632 
   3633 
   3634 depcc="$CC"   am_compiler_list=
   3635 
   3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3637 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3638 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3639   $as_echo_n "(cached) " >&6
   3640 else
   3641   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3642   # We make a subdir and do the tests there.  Otherwise we can end up
   3643   # making bogus files that we don't know about and never remove.  For
   3644   # instance it was reported that on HP-UX the gcc test will end up
   3645   # making a dummy file named 'D' -- because '-MD' means "put the output
   3646   # in D".
   3647   rm -rf conftest.dir
   3648   mkdir conftest.dir
   3649   # Copy depcomp to subdir because otherwise we won't find it if we're
   3650   # using a relative directory.
   3651   cp "$am_depcomp" conftest.dir
   3652   cd conftest.dir
   3653   # We will build objects and dependencies in a subdirectory because
   3654   # it helps to detect inapplicable dependency modes.  For instance
   3655   # both Tru64's cc and ICC support -MD to output dependencies as a
   3656   # side effect of compilation, but ICC will put the dependencies in
   3657   # the current directory while Tru64 will put them in the object
   3658   # directory.
   3659   mkdir sub
   3660 
   3661   am_cv_CC_dependencies_compiler_type=none
   3662   if test "$am_compiler_list" = ""; then
   3663      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3664   fi
   3665   am__universal=false
   3666   case " $depcc " in #(
   3667      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3668      esac
   3669 
   3670   for depmode in $am_compiler_list; do
   3671     # Setup a source with many dependencies, because some compilers
   3672     # like to wrap large dependency lists on column 80 (with \), and
   3673     # we should not choose a depcomp mode which is confused by this.
   3674     #
   3675     # We need to recreate these files for each test, as the compiler may
   3676     # overwrite some of them when testing with obscure command lines.
   3677     # This happens at least with the AIX C compiler.
   3678     : > sub/conftest.c
   3679     for i in 1 2 3 4 5 6; do
   3680       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3681       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3682       # Solaris 10 /bin/sh.
   3683       echo '/* dummy */' > sub/conftst$i.h
   3684     done
   3685     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3686 
   3687     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3688     # mode.  It turns out that the SunPro C++ compiler does not properly
   3689     # handle '-M -o', and we need to detect this.  Also, some Intel
   3690     # versions had trouble with output in subdirs.
   3691     am__obj=sub/conftest.${OBJEXT-o}
   3692     am__minus_obj="-o $am__obj"
   3693     case $depmode in
   3694     gcc)
   3695       # This depmode causes a compiler race in universal mode.
   3696       test "$am__universal" = false || continue
   3697       ;;
   3698     nosideeffect)
   3699       # After this tag, mechanisms are not by side-effect, so they'll
   3700       # only be used when explicitly requested.
   3701       if test "x$enable_dependency_tracking" = xyes; then
   3702 	continue
   3703       else
   3704 	break
   3705       fi
   3706       ;;
   3707     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3708       # This compiler won't grok '-c -o', but also, the minuso test has
   3709       # not run yet.  These depmodes are late enough in the game, and
   3710       # so weak that their functioning should not be impacted.
   3711       am__obj=conftest.${OBJEXT-o}
   3712       am__minus_obj=
   3713       ;;
   3714     none) break ;;
   3715     esac
   3716     if depmode=$depmode \
   3717        source=sub/conftest.c object=$am__obj \
   3718        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3719        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3720          >/dev/null 2>conftest.err &&
   3721        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3722        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3723        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3724        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3725       # icc doesn't choke on unknown options, it will just issue warnings
   3726       # or remarks (even with -Werror).  So we grep stderr for any message
   3727       # that says an option was ignored or not supported.
   3728       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3729       #   icc: Command line warning: ignoring option '-M'; no argument required
   3730       # The diagnosis changed in icc 8.0:
   3731       #   icc: Command line remark: option '-MP' not supported
   3732       if (grep 'ignoring option' conftest.err ||
   3733           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3734         am_cv_CC_dependencies_compiler_type=$depmode
   3735         break
   3736       fi
   3737     fi
   3738   done
   3739 
   3740   cd ..
   3741   rm -rf conftest.dir
   3742 else
   3743   am_cv_CC_dependencies_compiler_type=none
   3744 fi
   3745 
   3746 fi
   3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3748 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3749 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3750 
   3751  if
   3752   test "x$enable_dependency_tracking" != xno \
   3753   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3754   am__fastdepCC_TRUE=
   3755   am__fastdepCC_FALSE='#'
   3756 else
   3757   am__fastdepCC_TRUE='#'
   3758   am__fastdepCC_FALSE=
   3759 fi
   3760 
   3761 
   3762    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3763 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3764 if ${ac_cv_prog_cc_c99+:} false; then :
   3765   $as_echo_n "(cached) " >&6
   3766 else
   3767   ac_cv_prog_cc_c99=no
   3768 ac_save_CC=$CC
   3769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3770 /* end confdefs.h.  */
   3771 #include <stdarg.h>
   3772 #include <stdbool.h>
   3773 #include <stdlib.h>
   3774 #include <wchar.h>
   3775 #include <stdio.h>
   3776 
   3777 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3778 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3779 #define showlist(...) puts (#__VA_ARGS__)
   3780 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3781 static void
   3782 test_varargs_macros (void)
   3783 {
   3784   int x = 1234;
   3785   int y = 5678;
   3786   debug ("Flag");
   3787   debug ("X = %d\n", x);
   3788   showlist (The first, second, and third items.);
   3789   report (x>y, "x is %d but y is %d", x, y);
   3790 }
   3791 
   3792 // Check long long types.
   3793 #define BIG64 18446744073709551615ull
   3794 #define BIG32 4294967295ul
   3795 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3796 #if !BIG_OK
   3797   your preprocessor is broken;
   3798 #endif
   3799 #if BIG_OK
   3800 #else
   3801   your preprocessor is broken;
   3802 #endif
   3803 static long long int bignum = -9223372036854775807LL;
   3804 static unsigned long long int ubignum = BIG64;
   3805 
   3806 struct incomplete_array
   3807 {
   3808   int datasize;
   3809   double data[];
   3810 };
   3811 
   3812 struct named_init {
   3813   int number;
   3814   const wchar_t *name;
   3815   double average;
   3816 };
   3817 
   3818 typedef const char *ccp;
   3819 
   3820 static inline int
   3821 test_restrict (ccp restrict text)
   3822 {
   3823   // See if C++-style comments work.
   3824   // Iterate through items via the restricted pointer.
   3825   // Also check for declarations in for loops.
   3826   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3827     continue;
   3828   return 0;
   3829 }
   3830 
   3831 // Check varargs and va_copy.
   3832 static void
   3833 test_varargs (const char *format, ...)
   3834 {
   3835   va_list args;
   3836   va_start (args, format);
   3837   va_list args_copy;
   3838   va_copy (args_copy, args);
   3839 
   3840   const char *str;
   3841   int number;
   3842   float fnumber;
   3843 
   3844   while (*format)
   3845     {
   3846       switch (*format++)
   3847 	{
   3848 	case 's': // string
   3849 	  str = va_arg (args_copy, const char *);
   3850 	  break;
   3851 	case 'd': // int
   3852 	  number = va_arg (args_copy, int);
   3853 	  break;
   3854 	case 'f': // float
   3855 	  fnumber = va_arg (args_copy, double);
   3856 	  break;
   3857 	default:
   3858 	  break;
   3859 	}
   3860     }
   3861   va_end (args_copy);
   3862   va_end (args);
   3863 }
   3864 
   3865 int
   3866 main ()
   3867 {
   3868 
   3869   // Check bool.
   3870   _Bool success = false;
   3871 
   3872   // Check restrict.
   3873   if (test_restrict ("String literal") == 0)
   3874     success = true;
   3875   char *restrict newvar = "Another string";
   3876 
   3877   // Check varargs.
   3878   test_varargs ("s, d' f .", "string", 65, 34.234);
   3879   test_varargs_macros ();
   3880 
   3881   // Check flexible array members.
   3882   struct incomplete_array *ia =
   3883     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3884   ia->datasize = 10;
   3885   for (int i = 0; i < ia->datasize; ++i)
   3886     ia->data[i] = i * 1.234;
   3887 
   3888   // Check named initializers.
   3889   struct named_init ni = {
   3890     .number = 34,
   3891     .name = L"Test wide string",
   3892     .average = 543.34343,
   3893   };
   3894 
   3895   ni.number = 58;
   3896 
   3897   int dynamic_array[ni.number];
   3898   dynamic_array[ni.number - 1] = 543;
   3899 
   3900   // work around unused variable warnings
   3901   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3902 	  || dynamic_array[ni.number - 1] != 543);
   3903 
   3904   ;
   3905   return 0;
   3906 }
   3907 _ACEOF
   3908 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3909 do
   3910   CC="$ac_save_CC $ac_arg"
   3911   if ac_fn_c_try_compile "$LINENO"; then :
   3912   ac_cv_prog_cc_c99=$ac_arg
   3913 fi
   3914 rm -f core conftest.err conftest.$ac_objext
   3915   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3916 done
   3917 rm -f conftest.$ac_ext
   3918 CC=$ac_save_CC
   3919 
   3920 fi
   3921 # AC_CACHE_VAL
   3922 case "x$ac_cv_prog_cc_c99" in
   3923   x)
   3924     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3925 $as_echo "none needed" >&6; } ;;
   3926   xno)
   3927     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3928 $as_echo "unsupported" >&6; } ;;
   3929   *)
   3930     CC="$CC $ac_cv_prog_cc_c99"
   3931     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3932 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3933 esac
   3934 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3935 
   3936 fi
   3937 
   3938 
   3939 
   3940 ac_ext=c
   3941 ac_cpp='$CPP $CPPFLAGS'
   3942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3946 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3947 # On Suns, sometimes $CPP names a directory.
   3948 if test -n "$CPP" && test -d "$CPP"; then
   3949   CPP=
   3950 fi
   3951 if test -z "$CPP"; then
   3952   if ${ac_cv_prog_CPP+:} false; then :
   3953   $as_echo_n "(cached) " >&6
   3954 else
   3955       # Double quotes because CPP needs to be expanded
   3956     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3957     do
   3958       ac_preproc_ok=false
   3959 for ac_c_preproc_warn_flag in '' yes
   3960 do
   3961   # Use a header file that comes with gcc, so configuring glibc
   3962   # with a fresh cross-compiler works.
   3963   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3964   # <limits.h> exists even on freestanding compilers.
   3965   # On the NeXT, cc -E runs the code through the compiler's parser,
   3966   # not just through cpp. "Syntax error" is here to catch this case.
   3967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3968 /* end confdefs.h.  */
   3969 #ifdef __STDC__
   3970 # include <limits.h>
   3971 #else
   3972 # include <assert.h>
   3973 #endif
   3974 		     Syntax error
   3975 _ACEOF
   3976 if ac_fn_c_try_cpp "$LINENO"; then :
   3977 
   3978 else
   3979   # Broken: fails on valid input.
   3980 continue
   3981 fi
   3982 rm -f conftest.err conftest.i conftest.$ac_ext
   3983 
   3984   # OK, works on sane cases.  Now check whether nonexistent headers
   3985   # can be detected and how.
   3986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3987 /* end confdefs.h.  */
   3988 #include <ac_nonexistent.h>
   3989 _ACEOF
   3990 if ac_fn_c_try_cpp "$LINENO"; then :
   3991   # Broken: success on invalid input.
   3992 continue
   3993 else
   3994   # Passes both tests.
   3995 ac_preproc_ok=:
   3996 break
   3997 fi
   3998 rm -f conftest.err conftest.i conftest.$ac_ext
   3999 
   4000 done
   4001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4002 rm -f conftest.i conftest.err conftest.$ac_ext
   4003 if $ac_preproc_ok; then :
   4004   break
   4005 fi
   4006 
   4007     done
   4008     ac_cv_prog_CPP=$CPP
   4009 
   4010 fi
   4011   CPP=$ac_cv_prog_CPP
   4012 else
   4013   ac_cv_prog_CPP=$CPP
   4014 fi
   4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4016 $as_echo "$CPP" >&6; }
   4017 ac_preproc_ok=false
   4018 for ac_c_preproc_warn_flag in '' yes
   4019 do
   4020   # Use a header file that comes with gcc, so configuring glibc
   4021   # with a fresh cross-compiler works.
   4022   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4023   # <limits.h> exists even on freestanding compilers.
   4024   # On the NeXT, cc -E runs the code through the compiler's parser,
   4025   # not just through cpp. "Syntax error" is here to catch this case.
   4026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4027 /* end confdefs.h.  */
   4028 #ifdef __STDC__
   4029 # include <limits.h>
   4030 #else
   4031 # include <assert.h>
   4032 #endif
   4033 		     Syntax error
   4034 _ACEOF
   4035 if ac_fn_c_try_cpp "$LINENO"; then :
   4036 
   4037 else
   4038   # Broken: fails on valid input.
   4039 continue
   4040 fi
   4041 rm -f conftest.err conftest.i conftest.$ac_ext
   4042 
   4043   # OK, works on sane cases.  Now check whether nonexistent headers
   4044   # can be detected and how.
   4045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4046 /* end confdefs.h.  */
   4047 #include <ac_nonexistent.h>
   4048 _ACEOF
   4049 if ac_fn_c_try_cpp "$LINENO"; then :
   4050   # Broken: success on invalid input.
   4051 continue
   4052 else
   4053   # Passes both tests.
   4054 ac_preproc_ok=:
   4055 break
   4056 fi
   4057 rm -f conftest.err conftest.i conftest.$ac_ext
   4058 
   4059 done
   4060 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4061 rm -f conftest.i conftest.err conftest.$ac_ext
   4062 if $ac_preproc_ok; then :
   4063 
   4064 else
   4065   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4067 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4068 See \`config.log' for more details" "$LINENO" 5; }
   4069 fi
   4070 
   4071 ac_ext=c
   4072 ac_cpp='$CPP $CPPFLAGS'
   4073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4076 
   4077 
   4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4079 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4080 if ${ac_cv_path_GREP+:} false; then :
   4081   $as_echo_n "(cached) " >&6
   4082 else
   4083   if test -z "$GREP"; then
   4084   ac_path_GREP_found=false
   4085   # Loop through the user's path and test for each of PROGNAME-LIST
   4086   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4087 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4088 do
   4089   IFS=$as_save_IFS
   4090   test -z "$as_dir" && as_dir=.
   4091     for ac_prog in grep ggrep; do
   4092     for ac_exec_ext in '' $ac_executable_extensions; do
   4093       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4094       as_fn_executable_p "$ac_path_GREP" || continue
   4095 # Check for GNU ac_path_GREP and select it if it is found.
   4096   # Check for GNU $ac_path_GREP
   4097 case `"$ac_path_GREP" --version 2>&1` in
   4098 *GNU*)
   4099   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4100 *)
   4101   ac_count=0
   4102   $as_echo_n 0123456789 >"conftest.in"
   4103   while :
   4104   do
   4105     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4106     mv "conftest.tmp" "conftest.in"
   4107     cp "conftest.in" "conftest.nl"
   4108     $as_echo 'GREP' >> "conftest.nl"
   4109     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4110     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4111     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4112     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4113       # Best one so far, save it but keep looking for a better one
   4114       ac_cv_path_GREP="$ac_path_GREP"
   4115       ac_path_GREP_max=$ac_count
   4116     fi
   4117     # 10*(2^10) chars as input seems more than enough
   4118     test $ac_count -gt 10 && break
   4119   done
   4120   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4121 esac
   4122 
   4123       $ac_path_GREP_found && break 3
   4124     done
   4125   done
   4126   done
   4127 IFS=$as_save_IFS
   4128   if test -z "$ac_cv_path_GREP"; then
   4129     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4130   fi
   4131 else
   4132   ac_cv_path_GREP=$GREP
   4133 fi
   4134 
   4135 fi
   4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4137 $as_echo "$ac_cv_path_GREP" >&6; }
   4138  GREP="$ac_cv_path_GREP"
   4139 
   4140 
   4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4142 $as_echo_n "checking for egrep... " >&6; }
   4143 if ${ac_cv_path_EGREP+:} false; then :
   4144   $as_echo_n "(cached) " >&6
   4145 else
   4146   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4147    then ac_cv_path_EGREP="$GREP -E"
   4148    else
   4149      if test -z "$EGREP"; then
   4150   ac_path_EGREP_found=false
   4151   # Loop through the user's path and test for each of PROGNAME-LIST
   4152   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4153 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4154 do
   4155   IFS=$as_save_IFS
   4156   test -z "$as_dir" && as_dir=.
   4157     for ac_prog in egrep; do
   4158     for ac_exec_ext in '' $ac_executable_extensions; do
   4159       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4160       as_fn_executable_p "$ac_path_EGREP" || continue
   4161 # Check for GNU ac_path_EGREP and select it if it is found.
   4162   # Check for GNU $ac_path_EGREP
   4163 case `"$ac_path_EGREP" --version 2>&1` in
   4164 *GNU*)
   4165   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4166 *)
   4167   ac_count=0
   4168   $as_echo_n 0123456789 >"conftest.in"
   4169   while :
   4170   do
   4171     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4172     mv "conftest.tmp" "conftest.in"
   4173     cp "conftest.in" "conftest.nl"
   4174     $as_echo 'EGREP' >> "conftest.nl"
   4175     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4176     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4177     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4178     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4179       # Best one so far, save it but keep looking for a better one
   4180       ac_cv_path_EGREP="$ac_path_EGREP"
   4181       ac_path_EGREP_max=$ac_count
   4182     fi
   4183     # 10*(2^10) chars as input seems more than enough
   4184     test $ac_count -gt 10 && break
   4185   done
   4186   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4187 esac
   4188 
   4189       $ac_path_EGREP_found && break 3
   4190     done
   4191   done
   4192   done
   4193 IFS=$as_save_IFS
   4194   if test -z "$ac_cv_path_EGREP"; then
   4195     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4196   fi
   4197 else
   4198   ac_cv_path_EGREP=$EGREP
   4199 fi
   4200 
   4201    fi
   4202 fi
   4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4204 $as_echo "$ac_cv_path_EGREP" >&6; }
   4205  EGREP="$ac_cv_path_EGREP"
   4206 
   4207 
   4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4209 $as_echo_n "checking for ANSI C header files... " >&6; }
   4210 if ${ac_cv_header_stdc+:} false; then :
   4211   $as_echo_n "(cached) " >&6
   4212 else
   4213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4214 /* end confdefs.h.  */
   4215 #include <stdlib.h>
   4216 #include <stdarg.h>
   4217 #include <string.h>
   4218 #include <float.h>
   4219 
   4220 int
   4221 main ()
   4222 {
   4223 
   4224   ;
   4225   return 0;
   4226 }
   4227 _ACEOF
   4228 if ac_fn_c_try_compile "$LINENO"; then :
   4229   ac_cv_header_stdc=yes
   4230 else
   4231   ac_cv_header_stdc=no
   4232 fi
   4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4234 
   4235 if test $ac_cv_header_stdc = yes; then
   4236   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4238 /* end confdefs.h.  */
   4239 #include <string.h>
   4240 
   4241 _ACEOF
   4242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4243   $EGREP "memchr" >/dev/null 2>&1; then :
   4244 
   4245 else
   4246   ac_cv_header_stdc=no
   4247 fi
   4248 rm -f conftest*
   4249 
   4250 fi
   4251 
   4252 if test $ac_cv_header_stdc = yes; then
   4253   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4255 /* end confdefs.h.  */
   4256 #include <stdlib.h>
   4257 
   4258 _ACEOF
   4259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4260   $EGREP "free" >/dev/null 2>&1; then :
   4261 
   4262 else
   4263   ac_cv_header_stdc=no
   4264 fi
   4265 rm -f conftest*
   4266 
   4267 fi
   4268 
   4269 if test $ac_cv_header_stdc = yes; then
   4270   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4271   if test "$cross_compiling" = yes; then :
   4272   :
   4273 else
   4274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4275 /* end confdefs.h.  */
   4276 #include <ctype.h>
   4277 #include <stdlib.h>
   4278 #if ((' ' & 0x0FF) == 0x020)
   4279 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4280 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4281 #else
   4282 # define ISLOWER(c) \
   4283 		   (('a' <= (c) && (c) <= 'i') \
   4284 		     || ('j' <= (c) && (c) <= 'r') \
   4285 		     || ('s' <= (c) && (c) <= 'z'))
   4286 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4287 #endif
   4288 
   4289 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4290 int
   4291 main ()
   4292 {
   4293   int i;
   4294   for (i = 0; i < 256; i++)
   4295     if (XOR (islower (i), ISLOWER (i))
   4296 	|| toupper (i) != TOUPPER (i))
   4297       return 2;
   4298   return 0;
   4299 }
   4300 _ACEOF
   4301 if ac_fn_c_try_run "$LINENO"; then :
   4302 
   4303 else
   4304   ac_cv_header_stdc=no
   4305 fi
   4306 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4307   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4308 fi
   4309 
   4310 fi
   4311 fi
   4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4313 $as_echo "$ac_cv_header_stdc" >&6; }
   4314 if test $ac_cv_header_stdc = yes; then
   4315 
   4316 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4317 
   4318 fi
   4319 
   4320 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4321 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4322 		  inttypes.h stdint.h unistd.h
   4323 do :
   4324   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4325 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4326 "
   4327 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4328   cat >>confdefs.h <<_ACEOF
   4329 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4330 _ACEOF
   4331 
   4332 fi
   4333 
   4334 done
   4335 
   4336 
   4337 
   4338 
   4339 
   4340 
   4341 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4342 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4343   CLANGCC="yes"
   4344 else
   4345   CLANGCC="no"
   4346 fi
   4347 
   4348 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4349 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4350   INTELCC="yes"
   4351 else
   4352   INTELCC="no"
   4353 fi
   4354 
   4355 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4356 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4357   SUNCC="yes"
   4358 else
   4359   SUNCC="no"
   4360 fi
   4361 
   4362 
   4363 
   4364 
   4365 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4366 	if test -n "$ac_tool_prefix"; then
   4367   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4368 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4370 $as_echo_n "checking for $ac_word... " >&6; }
   4371 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4372   $as_echo_n "(cached) " >&6
   4373 else
   4374   case $PKG_CONFIG in
   4375   [\\/]* | ?:[\\/]*)
   4376   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4377   ;;
   4378   *)
   4379   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4380 for as_dir in $PATH
   4381 do
   4382   IFS=$as_save_IFS
   4383   test -z "$as_dir" && as_dir=.
   4384     for ac_exec_ext in '' $ac_executable_extensions; do
   4385   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4386     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4388     break 2
   4389   fi
   4390 done
   4391   done
   4392 IFS=$as_save_IFS
   4393 
   4394   ;;
   4395 esac
   4396 fi
   4397 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4398 if test -n "$PKG_CONFIG"; then
   4399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4400 $as_echo "$PKG_CONFIG" >&6; }
   4401 else
   4402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4403 $as_echo "no" >&6; }
   4404 fi
   4405 
   4406 
   4407 fi
   4408 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4409   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4410   # Extract the first word of "pkg-config", so it can be a program name with args.
   4411 set dummy pkg-config; ac_word=$2
   4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4413 $as_echo_n "checking for $ac_word... " >&6; }
   4414 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4415   $as_echo_n "(cached) " >&6
   4416 else
   4417   case $ac_pt_PKG_CONFIG in
   4418   [\\/]* | ?:[\\/]*)
   4419   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4420   ;;
   4421   *)
   4422   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4423 for as_dir in $PATH
   4424 do
   4425   IFS=$as_save_IFS
   4426   test -z "$as_dir" && as_dir=.
   4427     for ac_exec_ext in '' $ac_executable_extensions; do
   4428   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4429     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4431     break 2
   4432   fi
   4433 done
   4434   done
   4435 IFS=$as_save_IFS
   4436 
   4437   ;;
   4438 esac
   4439 fi
   4440 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4441 if test -n "$ac_pt_PKG_CONFIG"; then
   4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4443 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4444 else
   4445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4446 $as_echo "no" >&6; }
   4447 fi
   4448 
   4449   if test "x$ac_pt_PKG_CONFIG" = x; then
   4450     PKG_CONFIG=""
   4451   else
   4452     case $cross_compiling:$ac_tool_warned in
   4453 yes:)
   4454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4456 ac_tool_warned=yes ;;
   4457 esac
   4458     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4459   fi
   4460 else
   4461   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4462 fi
   4463 
   4464 fi
   4465 if test -n "$PKG_CONFIG"; then
   4466 	_pkg_min_version=0.9.0
   4467 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4468 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4469 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4471 $as_echo "yes" >&6; }
   4472 	else
   4473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4474 $as_echo "no" >&6; }
   4475 		PKG_CONFIG=""
   4476 	fi
   4477 
   4478 fi
   4479 # Make sure we can run config.sub.
   4480 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4481   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4482 
   4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4484 $as_echo_n "checking build system type... " >&6; }
   4485 if ${ac_cv_build+:} false; then :
   4486   $as_echo_n "(cached) " >&6
   4487 else
   4488   ac_build_alias=$build_alias
   4489 test "x$ac_build_alias" = x &&
   4490   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4491 test "x$ac_build_alias" = x &&
   4492   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4493 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4494   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4495 
   4496 fi
   4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4498 $as_echo "$ac_cv_build" >&6; }
   4499 case $ac_cv_build in
   4500 *-*-*) ;;
   4501 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4502 esac
   4503 build=$ac_cv_build
   4504 ac_save_IFS=$IFS; IFS='-'
   4505 set x $ac_cv_build
   4506 shift
   4507 build_cpu=$1
   4508 build_vendor=$2
   4509 shift; shift
   4510 # Remember, the first character of IFS is used to create $*,
   4511 # except with old shells:
   4512 build_os=$*
   4513 IFS=$ac_save_IFS
   4514 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4515 
   4516 
   4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4518 $as_echo_n "checking host system type... " >&6; }
   4519 if ${ac_cv_host+:} false; then :
   4520   $as_echo_n "(cached) " >&6
   4521 else
   4522   if test "x$host_alias" = x; then
   4523   ac_cv_host=$ac_cv_build
   4524 else
   4525   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4526     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4527 fi
   4528 
   4529 fi
   4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4531 $as_echo "$ac_cv_host" >&6; }
   4532 case $ac_cv_host in
   4533 *-*-*) ;;
   4534 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4535 esac
   4536 host=$ac_cv_host
   4537 ac_save_IFS=$IFS; IFS='-'
   4538 set x $ac_cv_host
   4539 shift
   4540 host_cpu=$1
   4541 host_vendor=$2
   4542 shift; shift
   4543 # Remember, the first character of IFS is used to create $*,
   4544 # except with old shells:
   4545 host_os=$*
   4546 IFS=$ac_save_IFS
   4547 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4548 
   4549 
   4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4551 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4552 if ${ac_cv_path_SED+:} false; then :
   4553   $as_echo_n "(cached) " >&6
   4554 else
   4555             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4556      for ac_i in 1 2 3 4 5 6 7; do
   4557        ac_script="$ac_script$as_nl$ac_script"
   4558      done
   4559      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4560      { ac_script=; unset ac_script;}
   4561      if test -z "$SED"; then
   4562   ac_path_SED_found=false
   4563   # Loop through the user's path and test for each of PROGNAME-LIST
   4564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4565 for as_dir in $PATH
   4566 do
   4567   IFS=$as_save_IFS
   4568   test -z "$as_dir" && as_dir=.
   4569     for ac_prog in sed gsed; do
   4570     for ac_exec_ext in '' $ac_executable_extensions; do
   4571       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4572       as_fn_executable_p "$ac_path_SED" || continue
   4573 # Check for GNU ac_path_SED and select it if it is found.
   4574   # Check for GNU $ac_path_SED
   4575 case `"$ac_path_SED" --version 2>&1` in
   4576 *GNU*)
   4577   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4578 *)
   4579   ac_count=0
   4580   $as_echo_n 0123456789 >"conftest.in"
   4581   while :
   4582   do
   4583     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4584     mv "conftest.tmp" "conftest.in"
   4585     cp "conftest.in" "conftest.nl"
   4586     $as_echo '' >> "conftest.nl"
   4587     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4588     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4589     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4590     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4591       # Best one so far, save it but keep looking for a better one
   4592       ac_cv_path_SED="$ac_path_SED"
   4593       ac_path_SED_max=$ac_count
   4594     fi
   4595     # 10*(2^10) chars as input seems more than enough
   4596     test $ac_count -gt 10 && break
   4597   done
   4598   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4599 esac
   4600 
   4601       $ac_path_SED_found && break 3
   4602     done
   4603   done
   4604   done
   4605 IFS=$as_save_IFS
   4606   if test -z "$ac_cv_path_SED"; then
   4607     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4608   fi
   4609 else
   4610   ac_cv_path_SED=$SED
   4611 fi
   4612 
   4613 fi
   4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4615 $as_echo "$ac_cv_path_SED" >&6; }
   4616  SED="$ac_cv_path_SED"
   4617   rm -f conftest.sed
   4618 
   4619 
   4620 
   4621 
   4622 
   4623 
   4624 # Check whether --enable-selective-werror was given.
   4625 if test "${enable_selective_werror+set}" = set; then :
   4626   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4627 else
   4628   SELECTIVE_WERROR=yes
   4629 fi
   4630 
   4631 
   4632 
   4633 
   4634 
   4635 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4636 if test "x$SUNCC" = "xyes"; then
   4637     BASE_CFLAGS="-v"
   4638 else
   4639     BASE_CFLAGS=""
   4640 fi
   4641 
   4642 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 
   4650 
   4651 
   4652 
   4653 
   4654 
   4655 
   4656 xorg_testset_save_CFLAGS="$CFLAGS"
   4657 
   4658 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4659 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4660 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4661 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4662 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4663   $as_echo_n "(cached) " >&6
   4664 else
   4665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4666 /* end confdefs.h.  */
   4667 int i;
   4668 _ACEOF
   4669 if ac_fn_c_try_compile "$LINENO"; then :
   4670   xorg_cv_cc_flag_unknown_warning_option=yes
   4671 else
   4672   xorg_cv_cc_flag_unknown_warning_option=no
   4673 fi
   4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4675 fi
   4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4677 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4678 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4679 	CFLAGS="$xorg_testset_save_CFLAGS"
   4680 fi
   4681 
   4682 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4683 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4684 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4685 	fi
   4686 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4688 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4689 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4690   $as_echo_n "(cached) " >&6
   4691 else
   4692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4693 /* end confdefs.h.  */
   4694 int i;
   4695 _ACEOF
   4696 if ac_fn_c_try_compile "$LINENO"; then :
   4697   xorg_cv_cc_flag_unused_command_line_argument=yes
   4698 else
   4699   xorg_cv_cc_flag_unused_command_line_argument=no
   4700 fi
   4701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4702 fi
   4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4704 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4705 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4706 	CFLAGS="$xorg_testset_save_CFLAGS"
   4707 fi
   4708 
   4709 found="no"
   4710 
   4711 	if test $found = "no" ; then
   4712 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4713 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4714 		fi
   4715 
   4716 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4717 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4718 		fi
   4719 
   4720 		CFLAGS="$CFLAGS -Wall"
   4721 
   4722 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4723 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4724 		cacheid=xorg_cv_cc_flag__Wall
   4725 		if eval \${$cacheid+:} false; then :
   4726   $as_echo_n "(cached) " >&6
   4727 else
   4728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4729 /* end confdefs.h.  */
   4730 int i;
   4731 int
   4732 main ()
   4733 {
   4734 
   4735   ;
   4736   return 0;
   4737 }
   4738 _ACEOF
   4739 if ac_fn_c_try_link "$LINENO"; then :
   4740   eval $cacheid=yes
   4741 else
   4742   eval $cacheid=no
   4743 fi
   4744 rm -f core conftest.err conftest.$ac_objext \
   4745     conftest$ac_exeext conftest.$ac_ext
   4746 fi
   4747 
   4748 
   4749 		CFLAGS="$xorg_testset_save_CFLAGS"
   4750 
   4751 		eval supported=\$$cacheid
   4752 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4753 $as_echo "$supported" >&6; }
   4754 		if test "$supported" = "yes" ; then
   4755 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4756 			found="yes"
   4757 		fi
   4758 	fi
   4759 
   4760 
   4761 
   4762 
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 xorg_testset_save_CFLAGS="$CFLAGS"
   4775 
   4776 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4777 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4778 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4779 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4780 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4781   $as_echo_n "(cached) " >&6
   4782 else
   4783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4784 /* end confdefs.h.  */
   4785 int i;
   4786 _ACEOF
   4787 if ac_fn_c_try_compile "$LINENO"; then :
   4788   xorg_cv_cc_flag_unknown_warning_option=yes
   4789 else
   4790   xorg_cv_cc_flag_unknown_warning_option=no
   4791 fi
   4792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4793 fi
   4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4795 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4796 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4797 	CFLAGS="$xorg_testset_save_CFLAGS"
   4798 fi
   4799 
   4800 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4801 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4802 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4803 	fi
   4804 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4806 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4807 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4808   $as_echo_n "(cached) " >&6
   4809 else
   4810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4811 /* end confdefs.h.  */
   4812 int i;
   4813 _ACEOF
   4814 if ac_fn_c_try_compile "$LINENO"; then :
   4815   xorg_cv_cc_flag_unused_command_line_argument=yes
   4816 else
   4817   xorg_cv_cc_flag_unused_command_line_argument=no
   4818 fi
   4819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4820 fi
   4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4822 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4823 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4824 	CFLAGS="$xorg_testset_save_CFLAGS"
   4825 fi
   4826 
   4827 found="no"
   4828 
   4829 	if test $found = "no" ; then
   4830 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4832 		fi
   4833 
   4834 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4836 		fi
   4837 
   4838 		CFLAGS="$CFLAGS -Wpointer-arith"
   4839 
   4840 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4841 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4842 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4843 		if eval \${$cacheid+:} false; then :
   4844   $as_echo_n "(cached) " >&6
   4845 else
   4846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4847 /* end confdefs.h.  */
   4848 int i;
   4849 int
   4850 main ()
   4851 {
   4852 
   4853   ;
   4854   return 0;
   4855 }
   4856 _ACEOF
   4857 if ac_fn_c_try_link "$LINENO"; then :
   4858   eval $cacheid=yes
   4859 else
   4860   eval $cacheid=no
   4861 fi
   4862 rm -f core conftest.err conftest.$ac_objext \
   4863     conftest$ac_exeext conftest.$ac_ext
   4864 fi
   4865 
   4866 
   4867 		CFLAGS="$xorg_testset_save_CFLAGS"
   4868 
   4869 		eval supported=\$$cacheid
   4870 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4871 $as_echo "$supported" >&6; }
   4872 		if test "$supported" = "yes" ; then
   4873 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4874 			found="yes"
   4875 		fi
   4876 	fi
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 xorg_testset_save_CFLAGS="$CFLAGS"
   4893 
   4894 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4895 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4896 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4897 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4898 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4899   $as_echo_n "(cached) " >&6
   4900 else
   4901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4902 /* end confdefs.h.  */
   4903 int i;
   4904 _ACEOF
   4905 if ac_fn_c_try_compile "$LINENO"; then :
   4906   xorg_cv_cc_flag_unknown_warning_option=yes
   4907 else
   4908   xorg_cv_cc_flag_unknown_warning_option=no
   4909 fi
   4910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4911 fi
   4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4913 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4914 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4915 	CFLAGS="$xorg_testset_save_CFLAGS"
   4916 fi
   4917 
   4918 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4919 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4920 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4921 	fi
   4922 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4924 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4925 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4926   $as_echo_n "(cached) " >&6
   4927 else
   4928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4929 /* end confdefs.h.  */
   4930 int i;
   4931 _ACEOF
   4932 if ac_fn_c_try_compile "$LINENO"; then :
   4933   xorg_cv_cc_flag_unused_command_line_argument=yes
   4934 else
   4935   xorg_cv_cc_flag_unused_command_line_argument=no
   4936 fi
   4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4938 fi
   4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4940 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4941 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4942 	CFLAGS="$xorg_testset_save_CFLAGS"
   4943 fi
   4944 
   4945 found="no"
   4946 
   4947 	if test $found = "no" ; then
   4948 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4949 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4950 		fi
   4951 
   4952 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4953 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4954 		fi
   4955 
   4956 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4957 
   4958 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4959 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4960 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4961 		if eval \${$cacheid+:} false; then :
   4962   $as_echo_n "(cached) " >&6
   4963 else
   4964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4965 /* end confdefs.h.  */
   4966 int i;
   4967 int
   4968 main ()
   4969 {
   4970 
   4971   ;
   4972   return 0;
   4973 }
   4974 _ACEOF
   4975 if ac_fn_c_try_link "$LINENO"; then :
   4976   eval $cacheid=yes
   4977 else
   4978   eval $cacheid=no
   4979 fi
   4980 rm -f core conftest.err conftest.$ac_objext \
   4981     conftest$ac_exeext conftest.$ac_ext
   4982 fi
   4983 
   4984 
   4985 		CFLAGS="$xorg_testset_save_CFLAGS"
   4986 
   4987 		eval supported=\$$cacheid
   4988 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4989 $as_echo "$supported" >&6; }
   4990 		if test "$supported" = "yes" ; then
   4991 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4992 			found="yes"
   4993 		fi
   4994 	fi
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 xorg_testset_save_CFLAGS="$CFLAGS"
   5011 
   5012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5014 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5015 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5016 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5017   $as_echo_n "(cached) " >&6
   5018 else
   5019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5020 /* end confdefs.h.  */
   5021 int i;
   5022 _ACEOF
   5023 if ac_fn_c_try_compile "$LINENO"; then :
   5024   xorg_cv_cc_flag_unknown_warning_option=yes
   5025 else
   5026   xorg_cv_cc_flag_unknown_warning_option=no
   5027 fi
   5028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5029 fi
   5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5031 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5032 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5033 	CFLAGS="$xorg_testset_save_CFLAGS"
   5034 fi
   5035 
   5036 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5037 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5038 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5039 	fi
   5040 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5042 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5043 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5044   $as_echo_n "(cached) " >&6
   5045 else
   5046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5047 /* end confdefs.h.  */
   5048 int i;
   5049 _ACEOF
   5050 if ac_fn_c_try_compile "$LINENO"; then :
   5051   xorg_cv_cc_flag_unused_command_line_argument=yes
   5052 else
   5053   xorg_cv_cc_flag_unused_command_line_argument=no
   5054 fi
   5055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5056 fi
   5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5058 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5059 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5060 	CFLAGS="$xorg_testset_save_CFLAGS"
   5061 fi
   5062 
   5063 found="no"
   5064 
   5065 	if test $found = "no" ; then
   5066 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5067 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5068 		fi
   5069 
   5070 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5071 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5072 		fi
   5073 
   5074 		CFLAGS="$CFLAGS -Wformat=2"
   5075 
   5076 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5077 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5078 		cacheid=xorg_cv_cc_flag__Wformat_2
   5079 		if eval \${$cacheid+:} false; then :
   5080   $as_echo_n "(cached) " >&6
   5081 else
   5082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5083 /* end confdefs.h.  */
   5084 int i;
   5085 int
   5086 main ()
   5087 {
   5088 
   5089   ;
   5090   return 0;
   5091 }
   5092 _ACEOF
   5093 if ac_fn_c_try_link "$LINENO"; then :
   5094   eval $cacheid=yes
   5095 else
   5096   eval $cacheid=no
   5097 fi
   5098 rm -f core conftest.err conftest.$ac_objext \
   5099     conftest$ac_exeext conftest.$ac_ext
   5100 fi
   5101 
   5102 
   5103 		CFLAGS="$xorg_testset_save_CFLAGS"
   5104 
   5105 		eval supported=\$$cacheid
   5106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5107 $as_echo "$supported" >&6; }
   5108 		if test "$supported" = "yes" ; then
   5109 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5110 			found="yes"
   5111 		fi
   5112 	fi
   5113 
   5114 	if test $found = "no" ; then
   5115 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5116 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5117 		fi
   5118 
   5119 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5120 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5121 		fi
   5122 
   5123 		CFLAGS="$CFLAGS -Wformat"
   5124 
   5125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5126 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5127 		cacheid=xorg_cv_cc_flag__Wformat
   5128 		if eval \${$cacheid+:} false; then :
   5129   $as_echo_n "(cached) " >&6
   5130 else
   5131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5132 /* end confdefs.h.  */
   5133 int i;
   5134 int
   5135 main ()
   5136 {
   5137 
   5138   ;
   5139   return 0;
   5140 }
   5141 _ACEOF
   5142 if ac_fn_c_try_link "$LINENO"; then :
   5143   eval $cacheid=yes
   5144 else
   5145   eval $cacheid=no
   5146 fi
   5147 rm -f core conftest.err conftest.$ac_objext \
   5148     conftest$ac_exeext conftest.$ac_ext
   5149 fi
   5150 
   5151 
   5152 		CFLAGS="$xorg_testset_save_CFLAGS"
   5153 
   5154 		eval supported=\$$cacheid
   5155 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5156 $as_echo "$supported" >&6; }
   5157 		if test "$supported" = "yes" ; then
   5158 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5159 			found="yes"
   5160 		fi
   5161 	fi
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 xorg_testset_save_CFLAGS="$CFLAGS"
   5180 
   5181 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5182 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5184 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5185 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5186   $as_echo_n "(cached) " >&6
   5187 else
   5188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5189 /* end confdefs.h.  */
   5190 int i;
   5191 _ACEOF
   5192 if ac_fn_c_try_compile "$LINENO"; then :
   5193   xorg_cv_cc_flag_unknown_warning_option=yes
   5194 else
   5195   xorg_cv_cc_flag_unknown_warning_option=no
   5196 fi
   5197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5198 fi
   5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5200 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5201 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5202 	CFLAGS="$xorg_testset_save_CFLAGS"
   5203 fi
   5204 
   5205 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5206 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5207 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5208 	fi
   5209 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5211 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5212 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5213   $as_echo_n "(cached) " >&6
   5214 else
   5215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5216 /* end confdefs.h.  */
   5217 int i;
   5218 _ACEOF
   5219 if ac_fn_c_try_compile "$LINENO"; then :
   5220   xorg_cv_cc_flag_unused_command_line_argument=yes
   5221 else
   5222   xorg_cv_cc_flag_unused_command_line_argument=no
   5223 fi
   5224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5225 fi
   5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5227 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5228 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5229 	CFLAGS="$xorg_testset_save_CFLAGS"
   5230 fi
   5231 
   5232 found="no"
   5233 
   5234 	if test $found = "no" ; then
   5235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5237 		fi
   5238 
   5239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5241 		fi
   5242 
   5243 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5244 
   5245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5246 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5247 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5248 		if eval \${$cacheid+:} false; then :
   5249   $as_echo_n "(cached) " >&6
   5250 else
   5251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5252 /* end confdefs.h.  */
   5253 int i;
   5254 int
   5255 main ()
   5256 {
   5257 
   5258   ;
   5259   return 0;
   5260 }
   5261 _ACEOF
   5262 if ac_fn_c_try_link "$LINENO"; then :
   5263   eval $cacheid=yes
   5264 else
   5265   eval $cacheid=no
   5266 fi
   5267 rm -f core conftest.err conftest.$ac_objext \
   5268     conftest$ac_exeext conftest.$ac_ext
   5269 fi
   5270 
   5271 
   5272 		CFLAGS="$xorg_testset_save_CFLAGS"
   5273 
   5274 		eval supported=\$$cacheid
   5275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5276 $as_echo "$supported" >&6; }
   5277 		if test "$supported" = "yes" ; then
   5278 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5279 			found="yes"
   5280 		fi
   5281 	fi
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 xorg_testset_save_CFLAGS="$CFLAGS"
   5298 
   5299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5302 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5303 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5304   $as_echo_n "(cached) " >&6
   5305 else
   5306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5307 /* end confdefs.h.  */
   5308 int i;
   5309 _ACEOF
   5310 if ac_fn_c_try_compile "$LINENO"; then :
   5311   xorg_cv_cc_flag_unknown_warning_option=yes
   5312 else
   5313   xorg_cv_cc_flag_unknown_warning_option=no
   5314 fi
   5315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5316 fi
   5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5318 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5319 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5320 	CFLAGS="$xorg_testset_save_CFLAGS"
   5321 fi
   5322 
   5323 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5324 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5325 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5326 	fi
   5327 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5329 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5330 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5331   $as_echo_n "(cached) " >&6
   5332 else
   5333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5334 /* end confdefs.h.  */
   5335 int i;
   5336 _ACEOF
   5337 if ac_fn_c_try_compile "$LINENO"; then :
   5338   xorg_cv_cc_flag_unused_command_line_argument=yes
   5339 else
   5340   xorg_cv_cc_flag_unused_command_line_argument=no
   5341 fi
   5342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5343 fi
   5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5345 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5346 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5347 	CFLAGS="$xorg_testset_save_CFLAGS"
   5348 fi
   5349 
   5350 found="no"
   5351 
   5352 	if test $found = "no" ; then
   5353 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5355 		fi
   5356 
   5357 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5359 		fi
   5360 
   5361 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5362 
   5363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5364 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5365 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5366 		if eval \${$cacheid+:} false; then :
   5367   $as_echo_n "(cached) " >&6
   5368 else
   5369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5370 /* end confdefs.h.  */
   5371 int i;
   5372 int
   5373 main ()
   5374 {
   5375 
   5376   ;
   5377   return 0;
   5378 }
   5379 _ACEOF
   5380 if ac_fn_c_try_link "$LINENO"; then :
   5381   eval $cacheid=yes
   5382 else
   5383   eval $cacheid=no
   5384 fi
   5385 rm -f core conftest.err conftest.$ac_objext \
   5386     conftest$ac_exeext conftest.$ac_ext
   5387 fi
   5388 
   5389 
   5390 		CFLAGS="$xorg_testset_save_CFLAGS"
   5391 
   5392 		eval supported=\$$cacheid
   5393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5394 $as_echo "$supported" >&6; }
   5395 		if test "$supported" = "yes" ; then
   5396 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5397 			found="yes"
   5398 		fi
   5399 	fi
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 xorg_testset_save_CFLAGS="$CFLAGS"
   5416 
   5417 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5418 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5420 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5421 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5422   $as_echo_n "(cached) " >&6
   5423 else
   5424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5425 /* end confdefs.h.  */
   5426 int i;
   5427 _ACEOF
   5428 if ac_fn_c_try_compile "$LINENO"; then :
   5429   xorg_cv_cc_flag_unknown_warning_option=yes
   5430 else
   5431   xorg_cv_cc_flag_unknown_warning_option=no
   5432 fi
   5433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5434 fi
   5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5436 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5437 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5438 	CFLAGS="$xorg_testset_save_CFLAGS"
   5439 fi
   5440 
   5441 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5442 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5443 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5444 	fi
   5445 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5447 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5448 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5449   $as_echo_n "(cached) " >&6
   5450 else
   5451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5452 /* end confdefs.h.  */
   5453 int i;
   5454 _ACEOF
   5455 if ac_fn_c_try_compile "$LINENO"; then :
   5456   xorg_cv_cc_flag_unused_command_line_argument=yes
   5457 else
   5458   xorg_cv_cc_flag_unused_command_line_argument=no
   5459 fi
   5460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5461 fi
   5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5463 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5464 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5465 	CFLAGS="$xorg_testset_save_CFLAGS"
   5466 fi
   5467 
   5468 found="no"
   5469 
   5470 	if test $found = "no" ; then
   5471 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5473 		fi
   5474 
   5475 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5477 		fi
   5478 
   5479 		CFLAGS="$CFLAGS -Wnested-externs"
   5480 
   5481 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5482 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5483 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5484 		if eval \${$cacheid+:} false; then :
   5485   $as_echo_n "(cached) " >&6
   5486 else
   5487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5488 /* end confdefs.h.  */
   5489 int i;
   5490 int
   5491 main ()
   5492 {
   5493 
   5494   ;
   5495   return 0;
   5496 }
   5497 _ACEOF
   5498 if ac_fn_c_try_link "$LINENO"; then :
   5499   eval $cacheid=yes
   5500 else
   5501   eval $cacheid=no
   5502 fi
   5503 rm -f core conftest.err conftest.$ac_objext \
   5504     conftest$ac_exeext conftest.$ac_ext
   5505 fi
   5506 
   5507 
   5508 		CFLAGS="$xorg_testset_save_CFLAGS"
   5509 
   5510 		eval supported=\$$cacheid
   5511 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5512 $as_echo "$supported" >&6; }
   5513 		if test "$supported" = "yes" ; then
   5514 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5515 			found="yes"
   5516 		fi
   5517 	fi
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 xorg_testset_save_CFLAGS="$CFLAGS"
   5534 
   5535 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5536 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5538 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5539 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5540   $as_echo_n "(cached) " >&6
   5541 else
   5542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5543 /* end confdefs.h.  */
   5544 int i;
   5545 _ACEOF
   5546 if ac_fn_c_try_compile "$LINENO"; then :
   5547   xorg_cv_cc_flag_unknown_warning_option=yes
   5548 else
   5549   xorg_cv_cc_flag_unknown_warning_option=no
   5550 fi
   5551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5552 fi
   5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5554 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5555 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5556 	CFLAGS="$xorg_testset_save_CFLAGS"
   5557 fi
   5558 
   5559 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5560 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5561 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5562 	fi
   5563 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5565 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5566 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5567   $as_echo_n "(cached) " >&6
   5568 else
   5569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5570 /* end confdefs.h.  */
   5571 int i;
   5572 _ACEOF
   5573 if ac_fn_c_try_compile "$LINENO"; then :
   5574   xorg_cv_cc_flag_unused_command_line_argument=yes
   5575 else
   5576   xorg_cv_cc_flag_unused_command_line_argument=no
   5577 fi
   5578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5579 fi
   5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5581 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5582 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5583 	CFLAGS="$xorg_testset_save_CFLAGS"
   5584 fi
   5585 
   5586 found="no"
   5587 
   5588 	if test $found = "no" ; then
   5589 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5591 		fi
   5592 
   5593 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5595 		fi
   5596 
   5597 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5598 
   5599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5600 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5601 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5602 		if eval \${$cacheid+:} false; then :
   5603   $as_echo_n "(cached) " >&6
   5604 else
   5605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5606 /* end confdefs.h.  */
   5607 int i;
   5608 int
   5609 main ()
   5610 {
   5611 
   5612   ;
   5613   return 0;
   5614 }
   5615 _ACEOF
   5616 if ac_fn_c_try_link "$LINENO"; then :
   5617   eval $cacheid=yes
   5618 else
   5619   eval $cacheid=no
   5620 fi
   5621 rm -f core conftest.err conftest.$ac_objext \
   5622     conftest$ac_exeext conftest.$ac_ext
   5623 fi
   5624 
   5625 
   5626 		CFLAGS="$xorg_testset_save_CFLAGS"
   5627 
   5628 		eval supported=\$$cacheid
   5629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5630 $as_echo "$supported" >&6; }
   5631 		if test "$supported" = "yes" ; then
   5632 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5633 			found="yes"
   5634 		fi
   5635 	fi
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 xorg_testset_save_CFLAGS="$CFLAGS"
   5652 
   5653 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5654 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5655 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5656 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5657 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5658   $as_echo_n "(cached) " >&6
   5659 else
   5660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5661 /* end confdefs.h.  */
   5662 int i;
   5663 _ACEOF
   5664 if ac_fn_c_try_compile "$LINENO"; then :
   5665   xorg_cv_cc_flag_unknown_warning_option=yes
   5666 else
   5667   xorg_cv_cc_flag_unknown_warning_option=no
   5668 fi
   5669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5670 fi
   5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5672 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5673 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5674 	CFLAGS="$xorg_testset_save_CFLAGS"
   5675 fi
   5676 
   5677 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5678 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5679 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5680 	fi
   5681 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5683 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5684 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5685   $as_echo_n "(cached) " >&6
   5686 else
   5687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5688 /* end confdefs.h.  */
   5689 int i;
   5690 _ACEOF
   5691 if ac_fn_c_try_compile "$LINENO"; then :
   5692   xorg_cv_cc_flag_unused_command_line_argument=yes
   5693 else
   5694   xorg_cv_cc_flag_unused_command_line_argument=no
   5695 fi
   5696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5697 fi
   5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5699 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5700 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5701 	CFLAGS="$xorg_testset_save_CFLAGS"
   5702 fi
   5703 
   5704 found="no"
   5705 
   5706 	if test $found = "no" ; then
   5707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5709 		fi
   5710 
   5711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5713 		fi
   5714 
   5715 		CFLAGS="$CFLAGS -Wold-style-definition"
   5716 
   5717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5718 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5719 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5720 		if eval \${$cacheid+:} false; then :
   5721   $as_echo_n "(cached) " >&6
   5722 else
   5723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5724 /* end confdefs.h.  */
   5725 int i;
   5726 int
   5727 main ()
   5728 {
   5729 
   5730   ;
   5731   return 0;
   5732 }
   5733 _ACEOF
   5734 if ac_fn_c_try_link "$LINENO"; then :
   5735   eval $cacheid=yes
   5736 else
   5737   eval $cacheid=no
   5738 fi
   5739 rm -f core conftest.err conftest.$ac_objext \
   5740     conftest$ac_exeext conftest.$ac_ext
   5741 fi
   5742 
   5743 
   5744 		CFLAGS="$xorg_testset_save_CFLAGS"
   5745 
   5746 		eval supported=\$$cacheid
   5747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5748 $as_echo "$supported" >&6; }
   5749 		if test "$supported" = "yes" ; then
   5750 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5751 			found="yes"
   5752 		fi
   5753 	fi
   5754 
   5755 	if test $found = "no" ; then
   5756 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5757 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5758 		fi
   5759 
   5760 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5761 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5762 		fi
   5763 
   5764 		CFLAGS="$CFLAGS -fd"
   5765 
   5766 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5767 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5768 		cacheid=xorg_cv_cc_flag__fd
   5769 		if eval \${$cacheid+:} false; then :
   5770   $as_echo_n "(cached) " >&6
   5771 else
   5772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5773 /* end confdefs.h.  */
   5774 int i;
   5775 int
   5776 main ()
   5777 {
   5778 
   5779   ;
   5780   return 0;
   5781 }
   5782 _ACEOF
   5783 if ac_fn_c_try_link "$LINENO"; then :
   5784   eval $cacheid=yes
   5785 else
   5786   eval $cacheid=no
   5787 fi
   5788 rm -f core conftest.err conftest.$ac_objext \
   5789     conftest$ac_exeext conftest.$ac_ext
   5790 fi
   5791 
   5792 
   5793 		CFLAGS="$xorg_testset_save_CFLAGS"
   5794 
   5795 		eval supported=\$$cacheid
   5796 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5797 $as_echo "$supported" >&6; }
   5798 		if test "$supported" = "yes" ; then
   5799 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5800 			found="yes"
   5801 		fi
   5802 	fi
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 xorg_testset_save_CFLAGS="$CFLAGS"
   5819 
   5820 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5821 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5823 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5824 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5825   $as_echo_n "(cached) " >&6
   5826 else
   5827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5828 /* end confdefs.h.  */
   5829 int i;
   5830 _ACEOF
   5831 if ac_fn_c_try_compile "$LINENO"; then :
   5832   xorg_cv_cc_flag_unknown_warning_option=yes
   5833 else
   5834   xorg_cv_cc_flag_unknown_warning_option=no
   5835 fi
   5836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5837 fi
   5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5839 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5840 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5841 	CFLAGS="$xorg_testset_save_CFLAGS"
   5842 fi
   5843 
   5844 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5845 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5846 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5847 	fi
   5848 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5849 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5850 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5851 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5852   $as_echo_n "(cached) " >&6
   5853 else
   5854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5855 /* end confdefs.h.  */
   5856 int i;
   5857 _ACEOF
   5858 if ac_fn_c_try_compile "$LINENO"; then :
   5859   xorg_cv_cc_flag_unused_command_line_argument=yes
   5860 else
   5861   xorg_cv_cc_flag_unused_command_line_argument=no
   5862 fi
   5863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5864 fi
   5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5866 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5867 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5868 	CFLAGS="$xorg_testset_save_CFLAGS"
   5869 fi
   5870 
   5871 found="no"
   5872 
   5873 	if test $found = "no" ; then
   5874 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5875 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5876 		fi
   5877 
   5878 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5879 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5880 		fi
   5881 
   5882 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5883 
   5884 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5885 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5886 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5887 		if eval \${$cacheid+:} false; then :
   5888   $as_echo_n "(cached) " >&6
   5889 else
   5890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5891 /* end confdefs.h.  */
   5892 int i;
   5893 int
   5894 main ()
   5895 {
   5896 
   5897   ;
   5898   return 0;
   5899 }
   5900 _ACEOF
   5901 if ac_fn_c_try_link "$LINENO"; then :
   5902   eval $cacheid=yes
   5903 else
   5904   eval $cacheid=no
   5905 fi
   5906 rm -f core conftest.err conftest.$ac_objext \
   5907     conftest$ac_exeext conftest.$ac_ext
   5908 fi
   5909 
   5910 
   5911 		CFLAGS="$xorg_testset_save_CFLAGS"
   5912 
   5913 		eval supported=\$$cacheid
   5914 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5915 $as_echo "$supported" >&6; }
   5916 		if test "$supported" = "yes" ; then
   5917 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5918 			found="yes"
   5919 		fi
   5920 	fi
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 # This chunk adds additional warnings that could catch undesired effects.
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 xorg_testset_save_CFLAGS="$CFLAGS"
   5941 
   5942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5943 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5944 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5945 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5946 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5947   $as_echo_n "(cached) " >&6
   5948 else
   5949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5950 /* end confdefs.h.  */
   5951 int i;
   5952 _ACEOF
   5953 if ac_fn_c_try_compile "$LINENO"; then :
   5954   xorg_cv_cc_flag_unknown_warning_option=yes
   5955 else
   5956   xorg_cv_cc_flag_unknown_warning_option=no
   5957 fi
   5958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5959 fi
   5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5961 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5963 	CFLAGS="$xorg_testset_save_CFLAGS"
   5964 fi
   5965 
   5966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5969 	fi
   5970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5971 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5972 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5973 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5974   $as_echo_n "(cached) " >&6
   5975 else
   5976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5977 /* end confdefs.h.  */
   5978 int i;
   5979 _ACEOF
   5980 if ac_fn_c_try_compile "$LINENO"; then :
   5981   xorg_cv_cc_flag_unused_command_line_argument=yes
   5982 else
   5983   xorg_cv_cc_flag_unused_command_line_argument=no
   5984 fi
   5985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5986 fi
   5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5988 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5989 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5990 	CFLAGS="$xorg_testset_save_CFLAGS"
   5991 fi
   5992 
   5993 found="no"
   5994 
   5995 	if test $found = "no" ; then
   5996 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5997 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5998 		fi
   5999 
   6000 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6001 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6002 		fi
   6003 
   6004 		CFLAGS="$CFLAGS -Wunused"
   6005 
   6006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6007 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6008 		cacheid=xorg_cv_cc_flag__Wunused
   6009 		if eval \${$cacheid+:} false; then :
   6010   $as_echo_n "(cached) " >&6
   6011 else
   6012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6013 /* end confdefs.h.  */
   6014 int i;
   6015 int
   6016 main ()
   6017 {
   6018 
   6019   ;
   6020   return 0;
   6021 }
   6022 _ACEOF
   6023 if ac_fn_c_try_link "$LINENO"; then :
   6024   eval $cacheid=yes
   6025 else
   6026   eval $cacheid=no
   6027 fi
   6028 rm -f core conftest.err conftest.$ac_objext \
   6029     conftest$ac_exeext conftest.$ac_ext
   6030 fi
   6031 
   6032 
   6033 		CFLAGS="$xorg_testset_save_CFLAGS"
   6034 
   6035 		eval supported=\$$cacheid
   6036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6037 $as_echo "$supported" >&6; }
   6038 		if test "$supported" = "yes" ; then
   6039 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6040 			found="yes"
   6041 		fi
   6042 	fi
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 xorg_testset_save_CFLAGS="$CFLAGS"
   6059 
   6060 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6063 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6064 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6065   $as_echo_n "(cached) " >&6
   6066 else
   6067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6068 /* end confdefs.h.  */
   6069 int i;
   6070 _ACEOF
   6071 if ac_fn_c_try_compile "$LINENO"; then :
   6072   xorg_cv_cc_flag_unknown_warning_option=yes
   6073 else
   6074   xorg_cv_cc_flag_unknown_warning_option=no
   6075 fi
   6076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6077 fi
   6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6079 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6080 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6081 	CFLAGS="$xorg_testset_save_CFLAGS"
   6082 fi
   6083 
   6084 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6085 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6086 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6087 	fi
   6088 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6090 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6091 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6092   $as_echo_n "(cached) " >&6
   6093 else
   6094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6095 /* end confdefs.h.  */
   6096 int i;
   6097 _ACEOF
   6098 if ac_fn_c_try_compile "$LINENO"; then :
   6099   xorg_cv_cc_flag_unused_command_line_argument=yes
   6100 else
   6101   xorg_cv_cc_flag_unused_command_line_argument=no
   6102 fi
   6103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6104 fi
   6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6106 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6107 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6108 	CFLAGS="$xorg_testset_save_CFLAGS"
   6109 fi
   6110 
   6111 found="no"
   6112 
   6113 	if test $found = "no" ; then
   6114 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6116 		fi
   6117 
   6118 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6120 		fi
   6121 
   6122 		CFLAGS="$CFLAGS -Wuninitialized"
   6123 
   6124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6125 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6126 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6127 		if eval \${$cacheid+:} false; then :
   6128   $as_echo_n "(cached) " >&6
   6129 else
   6130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6131 /* end confdefs.h.  */
   6132 int i;
   6133 int
   6134 main ()
   6135 {
   6136 
   6137   ;
   6138   return 0;
   6139 }
   6140 _ACEOF
   6141 if ac_fn_c_try_link "$LINENO"; then :
   6142   eval $cacheid=yes
   6143 else
   6144   eval $cacheid=no
   6145 fi
   6146 rm -f core conftest.err conftest.$ac_objext \
   6147     conftest$ac_exeext conftest.$ac_ext
   6148 fi
   6149 
   6150 
   6151 		CFLAGS="$xorg_testset_save_CFLAGS"
   6152 
   6153 		eval supported=\$$cacheid
   6154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6155 $as_echo "$supported" >&6; }
   6156 		if test "$supported" = "yes" ; then
   6157 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6158 			found="yes"
   6159 		fi
   6160 	fi
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 xorg_testset_save_CFLAGS="$CFLAGS"
   6177 
   6178 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6179 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6180 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6181 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6182 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6183   $as_echo_n "(cached) " >&6
   6184 else
   6185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6186 /* end confdefs.h.  */
   6187 int i;
   6188 _ACEOF
   6189 if ac_fn_c_try_compile "$LINENO"; then :
   6190   xorg_cv_cc_flag_unknown_warning_option=yes
   6191 else
   6192   xorg_cv_cc_flag_unknown_warning_option=no
   6193 fi
   6194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6195 fi
   6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6197 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6198 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6199 	CFLAGS="$xorg_testset_save_CFLAGS"
   6200 fi
   6201 
   6202 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6203 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6204 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6205 	fi
   6206 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6207 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6208 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6209 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6210   $as_echo_n "(cached) " >&6
   6211 else
   6212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6213 /* end confdefs.h.  */
   6214 int i;
   6215 _ACEOF
   6216 if ac_fn_c_try_compile "$LINENO"; then :
   6217   xorg_cv_cc_flag_unused_command_line_argument=yes
   6218 else
   6219   xorg_cv_cc_flag_unused_command_line_argument=no
   6220 fi
   6221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6222 fi
   6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6224 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6225 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6226 	CFLAGS="$xorg_testset_save_CFLAGS"
   6227 fi
   6228 
   6229 found="no"
   6230 
   6231 	if test $found = "no" ; then
   6232 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6234 		fi
   6235 
   6236 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6238 		fi
   6239 
   6240 		CFLAGS="$CFLAGS -Wshadow"
   6241 
   6242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6243 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6244 		cacheid=xorg_cv_cc_flag__Wshadow
   6245 		if eval \${$cacheid+:} false; then :
   6246   $as_echo_n "(cached) " >&6
   6247 else
   6248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6249 /* end confdefs.h.  */
   6250 int i;
   6251 int
   6252 main ()
   6253 {
   6254 
   6255   ;
   6256   return 0;
   6257 }
   6258 _ACEOF
   6259 if ac_fn_c_try_link "$LINENO"; then :
   6260   eval $cacheid=yes
   6261 else
   6262   eval $cacheid=no
   6263 fi
   6264 rm -f core conftest.err conftest.$ac_objext \
   6265     conftest$ac_exeext conftest.$ac_ext
   6266 fi
   6267 
   6268 
   6269 		CFLAGS="$xorg_testset_save_CFLAGS"
   6270 
   6271 		eval supported=\$$cacheid
   6272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6273 $as_echo "$supported" >&6; }
   6274 		if test "$supported" = "yes" ; then
   6275 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6276 			found="yes"
   6277 		fi
   6278 	fi
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 xorg_testset_save_CFLAGS="$CFLAGS"
   6295 
   6296 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6299 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6300 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6301   $as_echo_n "(cached) " >&6
   6302 else
   6303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6304 /* end confdefs.h.  */
   6305 int i;
   6306 _ACEOF
   6307 if ac_fn_c_try_compile "$LINENO"; then :
   6308   xorg_cv_cc_flag_unknown_warning_option=yes
   6309 else
   6310   xorg_cv_cc_flag_unknown_warning_option=no
   6311 fi
   6312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6313 fi
   6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6315 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6317 	CFLAGS="$xorg_testset_save_CFLAGS"
   6318 fi
   6319 
   6320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6323 	fi
   6324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6326 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6327 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6328   $as_echo_n "(cached) " >&6
   6329 else
   6330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6331 /* end confdefs.h.  */
   6332 int i;
   6333 _ACEOF
   6334 if ac_fn_c_try_compile "$LINENO"; then :
   6335   xorg_cv_cc_flag_unused_command_line_argument=yes
   6336 else
   6337   xorg_cv_cc_flag_unused_command_line_argument=no
   6338 fi
   6339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6340 fi
   6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6342 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6343 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6344 	CFLAGS="$xorg_testset_save_CFLAGS"
   6345 fi
   6346 
   6347 found="no"
   6348 
   6349 	if test $found = "no" ; then
   6350 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6352 		fi
   6353 
   6354 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6356 		fi
   6357 
   6358 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6359 
   6360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6361 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6362 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6363 		if eval \${$cacheid+:} false; then :
   6364   $as_echo_n "(cached) " >&6
   6365 else
   6366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6367 /* end confdefs.h.  */
   6368 int i;
   6369 int
   6370 main ()
   6371 {
   6372 
   6373   ;
   6374   return 0;
   6375 }
   6376 _ACEOF
   6377 if ac_fn_c_try_link "$LINENO"; then :
   6378   eval $cacheid=yes
   6379 else
   6380   eval $cacheid=no
   6381 fi
   6382 rm -f core conftest.err conftest.$ac_objext \
   6383     conftest$ac_exeext conftest.$ac_ext
   6384 fi
   6385 
   6386 
   6387 		CFLAGS="$xorg_testset_save_CFLAGS"
   6388 
   6389 		eval supported=\$$cacheid
   6390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6391 $as_echo "$supported" >&6; }
   6392 		if test "$supported" = "yes" ; then
   6393 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6394 			found="yes"
   6395 		fi
   6396 	fi
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 xorg_testset_save_CFLAGS="$CFLAGS"
   6413 
   6414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6417 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6418 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6419   $as_echo_n "(cached) " >&6
   6420 else
   6421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6422 /* end confdefs.h.  */
   6423 int i;
   6424 _ACEOF
   6425 if ac_fn_c_try_compile "$LINENO"; then :
   6426   xorg_cv_cc_flag_unknown_warning_option=yes
   6427 else
   6428   xorg_cv_cc_flag_unknown_warning_option=no
   6429 fi
   6430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6431 fi
   6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6433 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6435 	CFLAGS="$xorg_testset_save_CFLAGS"
   6436 fi
   6437 
   6438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6441 	fi
   6442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6444 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6445 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6446   $as_echo_n "(cached) " >&6
   6447 else
   6448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6449 /* end confdefs.h.  */
   6450 int i;
   6451 _ACEOF
   6452 if ac_fn_c_try_compile "$LINENO"; then :
   6453   xorg_cv_cc_flag_unused_command_line_argument=yes
   6454 else
   6455   xorg_cv_cc_flag_unused_command_line_argument=no
   6456 fi
   6457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6458 fi
   6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6460 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6462 	CFLAGS="$xorg_testset_save_CFLAGS"
   6463 fi
   6464 
   6465 found="no"
   6466 
   6467 	if test $found = "no" ; then
   6468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6470 		fi
   6471 
   6472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6474 		fi
   6475 
   6476 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6477 
   6478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6479 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6480 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6481 		if eval \${$cacheid+:} false; then :
   6482   $as_echo_n "(cached) " >&6
   6483 else
   6484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6485 /* end confdefs.h.  */
   6486 int i;
   6487 int
   6488 main ()
   6489 {
   6490 
   6491   ;
   6492   return 0;
   6493 }
   6494 _ACEOF
   6495 if ac_fn_c_try_link "$LINENO"; then :
   6496   eval $cacheid=yes
   6497 else
   6498   eval $cacheid=no
   6499 fi
   6500 rm -f core conftest.err conftest.$ac_objext \
   6501     conftest$ac_exeext conftest.$ac_ext
   6502 fi
   6503 
   6504 
   6505 		CFLAGS="$xorg_testset_save_CFLAGS"
   6506 
   6507 		eval supported=\$$cacheid
   6508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6509 $as_echo "$supported" >&6; }
   6510 		if test "$supported" = "yes" ; then
   6511 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6512 			found="yes"
   6513 		fi
   6514 	fi
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 xorg_testset_save_CFLAGS="$CFLAGS"
   6531 
   6532 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6533 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6534 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6535 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6536 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6537   $as_echo_n "(cached) " >&6
   6538 else
   6539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6540 /* end confdefs.h.  */
   6541 int i;
   6542 _ACEOF
   6543 if ac_fn_c_try_compile "$LINENO"; then :
   6544   xorg_cv_cc_flag_unknown_warning_option=yes
   6545 else
   6546   xorg_cv_cc_flag_unknown_warning_option=no
   6547 fi
   6548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6549 fi
   6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6551 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6552 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6553 	CFLAGS="$xorg_testset_save_CFLAGS"
   6554 fi
   6555 
   6556 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6557 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6558 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6559 	fi
   6560 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6562 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6563 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6564   $as_echo_n "(cached) " >&6
   6565 else
   6566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6567 /* end confdefs.h.  */
   6568 int i;
   6569 _ACEOF
   6570 if ac_fn_c_try_compile "$LINENO"; then :
   6571   xorg_cv_cc_flag_unused_command_line_argument=yes
   6572 else
   6573   xorg_cv_cc_flag_unused_command_line_argument=no
   6574 fi
   6575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6576 fi
   6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6578 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6579 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6580 	CFLAGS="$xorg_testset_save_CFLAGS"
   6581 fi
   6582 
   6583 found="no"
   6584 
   6585 	if test $found = "no" ; then
   6586 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6587 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6588 		fi
   6589 
   6590 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6591 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6592 		fi
   6593 
   6594 		CFLAGS="$CFLAGS -Wredundant-decls"
   6595 
   6596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6597 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6598 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6599 		if eval \${$cacheid+:} false; then :
   6600   $as_echo_n "(cached) " >&6
   6601 else
   6602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6603 /* end confdefs.h.  */
   6604 int i;
   6605 int
   6606 main ()
   6607 {
   6608 
   6609   ;
   6610   return 0;
   6611 }
   6612 _ACEOF
   6613 if ac_fn_c_try_link "$LINENO"; then :
   6614   eval $cacheid=yes
   6615 else
   6616   eval $cacheid=no
   6617 fi
   6618 rm -f core conftest.err conftest.$ac_objext \
   6619     conftest$ac_exeext conftest.$ac_ext
   6620 fi
   6621 
   6622 
   6623 		CFLAGS="$xorg_testset_save_CFLAGS"
   6624 
   6625 		eval supported=\$$cacheid
   6626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6627 $as_echo "$supported" >&6; }
   6628 		if test "$supported" = "yes" ; then
   6629 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6630 			found="yes"
   6631 		fi
   6632 	fi
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 xorg_testset_save_CFLAGS="$CFLAGS"
   6649 
   6650 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6653 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6654 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6655   $as_echo_n "(cached) " >&6
   6656 else
   6657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6658 /* end confdefs.h.  */
   6659 int i;
   6660 _ACEOF
   6661 if ac_fn_c_try_compile "$LINENO"; then :
   6662   xorg_cv_cc_flag_unknown_warning_option=yes
   6663 else
   6664   xorg_cv_cc_flag_unknown_warning_option=no
   6665 fi
   6666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6667 fi
   6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6669 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6670 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6671 	CFLAGS="$xorg_testset_save_CFLAGS"
   6672 fi
   6673 
   6674 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6675 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6676 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6677 	fi
   6678 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6680 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6681 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6682   $as_echo_n "(cached) " >&6
   6683 else
   6684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6685 /* end confdefs.h.  */
   6686 int i;
   6687 _ACEOF
   6688 if ac_fn_c_try_compile "$LINENO"; then :
   6689   xorg_cv_cc_flag_unused_command_line_argument=yes
   6690 else
   6691   xorg_cv_cc_flag_unused_command_line_argument=no
   6692 fi
   6693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6694 fi
   6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6696 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6697 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6698 	CFLAGS="$xorg_testset_save_CFLAGS"
   6699 fi
   6700 
   6701 found="no"
   6702 
   6703 	if test $found = "no" ; then
   6704 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6706 		fi
   6707 
   6708 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6710 		fi
   6711 
   6712 		CFLAGS="$CFLAGS -Wlogical-op"
   6713 
   6714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6715 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6716 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6717 		if eval \${$cacheid+:} false; then :
   6718   $as_echo_n "(cached) " >&6
   6719 else
   6720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6721 /* end confdefs.h.  */
   6722 int i;
   6723 int
   6724 main ()
   6725 {
   6726 
   6727   ;
   6728   return 0;
   6729 }
   6730 _ACEOF
   6731 if ac_fn_c_try_link "$LINENO"; then :
   6732   eval $cacheid=yes
   6733 else
   6734   eval $cacheid=no
   6735 fi
   6736 rm -f core conftest.err conftest.$ac_objext \
   6737     conftest$ac_exeext conftest.$ac_ext
   6738 fi
   6739 
   6740 
   6741 		CFLAGS="$xorg_testset_save_CFLAGS"
   6742 
   6743 		eval supported=\$$cacheid
   6744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6745 $as_echo "$supported" >&6; }
   6746 		if test "$supported" = "yes" ; then
   6747 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6748 			found="yes"
   6749 		fi
   6750 	fi
   6751 
   6752 
   6753 
   6754 # These are currently disabled because they are noisy.  They will be enabled
   6755 # in the future once the codebase is sufficiently modernized to silence
   6756 # them.  For now, I don't want them to drown out the other warnings.
   6757 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6758 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6759 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6760 
   6761 # Turn some warnings into errors, so we don't accidently get successful builds
   6762 # when there are problems that should be fixed.
   6763 
   6764 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 xorg_testset_save_CFLAGS="$CFLAGS"
   6779 
   6780 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6781 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6782 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6783 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6784 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6785   $as_echo_n "(cached) " >&6
   6786 else
   6787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6788 /* end confdefs.h.  */
   6789 int i;
   6790 _ACEOF
   6791 if ac_fn_c_try_compile "$LINENO"; then :
   6792   xorg_cv_cc_flag_unknown_warning_option=yes
   6793 else
   6794   xorg_cv_cc_flag_unknown_warning_option=no
   6795 fi
   6796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6797 fi
   6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6799 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6800 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6801 	CFLAGS="$xorg_testset_save_CFLAGS"
   6802 fi
   6803 
   6804 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6805 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6806 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6807 	fi
   6808 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6809 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6810 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6811 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6812   $as_echo_n "(cached) " >&6
   6813 else
   6814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6815 /* end confdefs.h.  */
   6816 int i;
   6817 _ACEOF
   6818 if ac_fn_c_try_compile "$LINENO"; then :
   6819   xorg_cv_cc_flag_unused_command_line_argument=yes
   6820 else
   6821   xorg_cv_cc_flag_unused_command_line_argument=no
   6822 fi
   6823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6824 fi
   6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6826 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6827 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6828 	CFLAGS="$xorg_testset_save_CFLAGS"
   6829 fi
   6830 
   6831 found="no"
   6832 
   6833 	if test $found = "no" ; then
   6834 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6835 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6836 		fi
   6837 
   6838 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6839 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6840 		fi
   6841 
   6842 		CFLAGS="$CFLAGS -Werror=implicit"
   6843 
   6844 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6845 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6846 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6847 		if eval \${$cacheid+:} false; then :
   6848   $as_echo_n "(cached) " >&6
   6849 else
   6850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6851 /* end confdefs.h.  */
   6852 int i;
   6853 int
   6854 main ()
   6855 {
   6856 
   6857   ;
   6858   return 0;
   6859 }
   6860 _ACEOF
   6861 if ac_fn_c_try_link "$LINENO"; then :
   6862   eval $cacheid=yes
   6863 else
   6864   eval $cacheid=no
   6865 fi
   6866 rm -f core conftest.err conftest.$ac_objext \
   6867     conftest$ac_exeext conftest.$ac_ext
   6868 fi
   6869 
   6870 
   6871 		CFLAGS="$xorg_testset_save_CFLAGS"
   6872 
   6873 		eval supported=\$$cacheid
   6874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6875 $as_echo "$supported" >&6; }
   6876 		if test "$supported" = "yes" ; then
   6877 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6878 			found="yes"
   6879 		fi
   6880 	fi
   6881 
   6882 	if test $found = "no" ; then
   6883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6885 		fi
   6886 
   6887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6889 		fi
   6890 
   6891 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6892 
   6893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6894 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6895 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6896 		if eval \${$cacheid+:} false; then :
   6897   $as_echo_n "(cached) " >&6
   6898 else
   6899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6900 /* end confdefs.h.  */
   6901 int i;
   6902 int
   6903 main ()
   6904 {
   6905 
   6906   ;
   6907   return 0;
   6908 }
   6909 _ACEOF
   6910 if ac_fn_c_try_link "$LINENO"; then :
   6911   eval $cacheid=yes
   6912 else
   6913   eval $cacheid=no
   6914 fi
   6915 rm -f core conftest.err conftest.$ac_objext \
   6916     conftest$ac_exeext conftest.$ac_ext
   6917 fi
   6918 
   6919 
   6920 		CFLAGS="$xorg_testset_save_CFLAGS"
   6921 
   6922 		eval supported=\$$cacheid
   6923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6924 $as_echo "$supported" >&6; }
   6925 		if test "$supported" = "yes" ; then
   6926 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6927 			found="yes"
   6928 		fi
   6929 	fi
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 xorg_testset_save_CFLAGS="$CFLAGS"
   6946 
   6947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6950 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6951 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6952   $as_echo_n "(cached) " >&6
   6953 else
   6954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6955 /* end confdefs.h.  */
   6956 int i;
   6957 _ACEOF
   6958 if ac_fn_c_try_compile "$LINENO"; then :
   6959   xorg_cv_cc_flag_unknown_warning_option=yes
   6960 else
   6961   xorg_cv_cc_flag_unknown_warning_option=no
   6962 fi
   6963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6964 fi
   6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6966 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6968 	CFLAGS="$xorg_testset_save_CFLAGS"
   6969 fi
   6970 
   6971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6974 	fi
   6975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6977 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6978 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6979   $as_echo_n "(cached) " >&6
   6980 else
   6981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6982 /* end confdefs.h.  */
   6983 int i;
   6984 _ACEOF
   6985 if ac_fn_c_try_compile "$LINENO"; then :
   6986   xorg_cv_cc_flag_unused_command_line_argument=yes
   6987 else
   6988   xorg_cv_cc_flag_unused_command_line_argument=no
   6989 fi
   6990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6991 fi
   6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6993 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6995 	CFLAGS="$xorg_testset_save_CFLAGS"
   6996 fi
   6997 
   6998 found="no"
   6999 
   7000 	if test $found = "no" ; then
   7001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7003 		fi
   7004 
   7005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7007 		fi
   7008 
   7009 		CFLAGS="$CFLAGS -Werror=nonnull"
   7010 
   7011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7012 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7013 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7014 		if eval \${$cacheid+:} false; then :
   7015   $as_echo_n "(cached) " >&6
   7016 else
   7017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7018 /* end confdefs.h.  */
   7019 int i;
   7020 int
   7021 main ()
   7022 {
   7023 
   7024   ;
   7025   return 0;
   7026 }
   7027 _ACEOF
   7028 if ac_fn_c_try_link "$LINENO"; then :
   7029   eval $cacheid=yes
   7030 else
   7031   eval $cacheid=no
   7032 fi
   7033 rm -f core conftest.err conftest.$ac_objext \
   7034     conftest$ac_exeext conftest.$ac_ext
   7035 fi
   7036 
   7037 
   7038 		CFLAGS="$xorg_testset_save_CFLAGS"
   7039 
   7040 		eval supported=\$$cacheid
   7041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7042 $as_echo "$supported" >&6; }
   7043 		if test "$supported" = "yes" ; then
   7044 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7045 			found="yes"
   7046 		fi
   7047 	fi
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 xorg_testset_save_CFLAGS="$CFLAGS"
   7064 
   7065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7068 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7069 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7070   $as_echo_n "(cached) " >&6
   7071 else
   7072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7073 /* end confdefs.h.  */
   7074 int i;
   7075 _ACEOF
   7076 if ac_fn_c_try_compile "$LINENO"; then :
   7077   xorg_cv_cc_flag_unknown_warning_option=yes
   7078 else
   7079   xorg_cv_cc_flag_unknown_warning_option=no
   7080 fi
   7081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7082 fi
   7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7084 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7086 	CFLAGS="$xorg_testset_save_CFLAGS"
   7087 fi
   7088 
   7089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7092 	fi
   7093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7095 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7096 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7097   $as_echo_n "(cached) " >&6
   7098 else
   7099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7100 /* end confdefs.h.  */
   7101 int i;
   7102 _ACEOF
   7103 if ac_fn_c_try_compile "$LINENO"; then :
   7104   xorg_cv_cc_flag_unused_command_line_argument=yes
   7105 else
   7106   xorg_cv_cc_flag_unused_command_line_argument=no
   7107 fi
   7108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7109 fi
   7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7111 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7113 	CFLAGS="$xorg_testset_save_CFLAGS"
   7114 fi
   7115 
   7116 found="no"
   7117 
   7118 	if test $found = "no" ; then
   7119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7121 		fi
   7122 
   7123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7125 		fi
   7126 
   7127 		CFLAGS="$CFLAGS -Werror=init-self"
   7128 
   7129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7130 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7131 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7132 		if eval \${$cacheid+:} false; then :
   7133   $as_echo_n "(cached) " >&6
   7134 else
   7135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7136 /* end confdefs.h.  */
   7137 int i;
   7138 int
   7139 main ()
   7140 {
   7141 
   7142   ;
   7143   return 0;
   7144 }
   7145 _ACEOF
   7146 if ac_fn_c_try_link "$LINENO"; then :
   7147   eval $cacheid=yes
   7148 else
   7149   eval $cacheid=no
   7150 fi
   7151 rm -f core conftest.err conftest.$ac_objext \
   7152     conftest$ac_exeext conftest.$ac_ext
   7153 fi
   7154 
   7155 
   7156 		CFLAGS="$xorg_testset_save_CFLAGS"
   7157 
   7158 		eval supported=\$$cacheid
   7159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7160 $as_echo "$supported" >&6; }
   7161 		if test "$supported" = "yes" ; then
   7162 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7163 			found="yes"
   7164 		fi
   7165 	fi
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 xorg_testset_save_CFLAGS="$CFLAGS"
   7182 
   7183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7186 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7187 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7188   $as_echo_n "(cached) " >&6
   7189 else
   7190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7191 /* end confdefs.h.  */
   7192 int i;
   7193 _ACEOF
   7194 if ac_fn_c_try_compile "$LINENO"; then :
   7195   xorg_cv_cc_flag_unknown_warning_option=yes
   7196 else
   7197   xorg_cv_cc_flag_unknown_warning_option=no
   7198 fi
   7199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7200 fi
   7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7202 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7204 	CFLAGS="$xorg_testset_save_CFLAGS"
   7205 fi
   7206 
   7207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7210 	fi
   7211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7213 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7214 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7215   $as_echo_n "(cached) " >&6
   7216 else
   7217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7218 /* end confdefs.h.  */
   7219 int i;
   7220 _ACEOF
   7221 if ac_fn_c_try_compile "$LINENO"; then :
   7222   xorg_cv_cc_flag_unused_command_line_argument=yes
   7223 else
   7224   xorg_cv_cc_flag_unused_command_line_argument=no
   7225 fi
   7226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7227 fi
   7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7229 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7231 	CFLAGS="$xorg_testset_save_CFLAGS"
   7232 fi
   7233 
   7234 found="no"
   7235 
   7236 	if test $found = "no" ; then
   7237 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7239 		fi
   7240 
   7241 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7243 		fi
   7244 
   7245 		CFLAGS="$CFLAGS -Werror=main"
   7246 
   7247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7248 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7249 		cacheid=xorg_cv_cc_flag__Werror_main
   7250 		if eval \${$cacheid+:} false; then :
   7251   $as_echo_n "(cached) " >&6
   7252 else
   7253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7254 /* end confdefs.h.  */
   7255 int i;
   7256 int
   7257 main ()
   7258 {
   7259 
   7260   ;
   7261   return 0;
   7262 }
   7263 _ACEOF
   7264 if ac_fn_c_try_link "$LINENO"; then :
   7265   eval $cacheid=yes
   7266 else
   7267   eval $cacheid=no
   7268 fi
   7269 rm -f core conftest.err conftest.$ac_objext \
   7270     conftest$ac_exeext conftest.$ac_ext
   7271 fi
   7272 
   7273 
   7274 		CFLAGS="$xorg_testset_save_CFLAGS"
   7275 
   7276 		eval supported=\$$cacheid
   7277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7278 $as_echo "$supported" >&6; }
   7279 		if test "$supported" = "yes" ; then
   7280 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7281 			found="yes"
   7282 		fi
   7283 	fi
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 xorg_testset_save_CFLAGS="$CFLAGS"
   7300 
   7301 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7302 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7303 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7304 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7305 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7306   $as_echo_n "(cached) " >&6
   7307 else
   7308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7309 /* end confdefs.h.  */
   7310 int i;
   7311 _ACEOF
   7312 if ac_fn_c_try_compile "$LINENO"; then :
   7313   xorg_cv_cc_flag_unknown_warning_option=yes
   7314 else
   7315   xorg_cv_cc_flag_unknown_warning_option=no
   7316 fi
   7317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7318 fi
   7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7320 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7322 	CFLAGS="$xorg_testset_save_CFLAGS"
   7323 fi
   7324 
   7325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7328 	fi
   7329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7330 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7331 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7332 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7333   $as_echo_n "(cached) " >&6
   7334 else
   7335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7336 /* end confdefs.h.  */
   7337 int i;
   7338 _ACEOF
   7339 if ac_fn_c_try_compile "$LINENO"; then :
   7340   xorg_cv_cc_flag_unused_command_line_argument=yes
   7341 else
   7342   xorg_cv_cc_flag_unused_command_line_argument=no
   7343 fi
   7344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7345 fi
   7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7347 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7348 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7349 	CFLAGS="$xorg_testset_save_CFLAGS"
   7350 fi
   7351 
   7352 found="no"
   7353 
   7354 	if test $found = "no" ; then
   7355 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7356 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7357 		fi
   7358 
   7359 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7360 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7361 		fi
   7362 
   7363 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7364 
   7365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7366 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7367 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7368 		if eval \${$cacheid+:} false; then :
   7369   $as_echo_n "(cached) " >&6
   7370 else
   7371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7372 /* end confdefs.h.  */
   7373 int i;
   7374 int
   7375 main ()
   7376 {
   7377 
   7378   ;
   7379   return 0;
   7380 }
   7381 _ACEOF
   7382 if ac_fn_c_try_link "$LINENO"; then :
   7383   eval $cacheid=yes
   7384 else
   7385   eval $cacheid=no
   7386 fi
   7387 rm -f core conftest.err conftest.$ac_objext \
   7388     conftest$ac_exeext conftest.$ac_ext
   7389 fi
   7390 
   7391 
   7392 		CFLAGS="$xorg_testset_save_CFLAGS"
   7393 
   7394 		eval supported=\$$cacheid
   7395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7396 $as_echo "$supported" >&6; }
   7397 		if test "$supported" = "yes" ; then
   7398 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7399 			found="yes"
   7400 		fi
   7401 	fi
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 xorg_testset_save_CFLAGS="$CFLAGS"
   7418 
   7419 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7420 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7421 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7422 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7423 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7424   $as_echo_n "(cached) " >&6
   7425 else
   7426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7427 /* end confdefs.h.  */
   7428 int i;
   7429 _ACEOF
   7430 if ac_fn_c_try_compile "$LINENO"; then :
   7431   xorg_cv_cc_flag_unknown_warning_option=yes
   7432 else
   7433   xorg_cv_cc_flag_unknown_warning_option=no
   7434 fi
   7435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7436 fi
   7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7438 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7439 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7440 	CFLAGS="$xorg_testset_save_CFLAGS"
   7441 fi
   7442 
   7443 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7444 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7445 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7446 	fi
   7447 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7449 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7450 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7451   $as_echo_n "(cached) " >&6
   7452 else
   7453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7454 /* end confdefs.h.  */
   7455 int i;
   7456 _ACEOF
   7457 if ac_fn_c_try_compile "$LINENO"; then :
   7458   xorg_cv_cc_flag_unused_command_line_argument=yes
   7459 else
   7460   xorg_cv_cc_flag_unused_command_line_argument=no
   7461 fi
   7462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7463 fi
   7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7465 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7467 	CFLAGS="$xorg_testset_save_CFLAGS"
   7468 fi
   7469 
   7470 found="no"
   7471 
   7472 	if test $found = "no" ; then
   7473 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7475 		fi
   7476 
   7477 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7479 		fi
   7480 
   7481 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7482 
   7483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7484 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7485 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7486 		if eval \${$cacheid+:} false; then :
   7487   $as_echo_n "(cached) " >&6
   7488 else
   7489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7490 /* end confdefs.h.  */
   7491 int i;
   7492 int
   7493 main ()
   7494 {
   7495 
   7496   ;
   7497   return 0;
   7498 }
   7499 _ACEOF
   7500 if ac_fn_c_try_link "$LINENO"; then :
   7501   eval $cacheid=yes
   7502 else
   7503   eval $cacheid=no
   7504 fi
   7505 rm -f core conftest.err conftest.$ac_objext \
   7506     conftest$ac_exeext conftest.$ac_ext
   7507 fi
   7508 
   7509 
   7510 		CFLAGS="$xorg_testset_save_CFLAGS"
   7511 
   7512 		eval supported=\$$cacheid
   7513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7514 $as_echo "$supported" >&6; }
   7515 		if test "$supported" = "yes" ; then
   7516 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7517 			found="yes"
   7518 		fi
   7519 	fi
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 xorg_testset_save_CFLAGS="$CFLAGS"
   7536 
   7537 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7539 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7540 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7541 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7542   $as_echo_n "(cached) " >&6
   7543 else
   7544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7545 /* end confdefs.h.  */
   7546 int i;
   7547 _ACEOF
   7548 if ac_fn_c_try_compile "$LINENO"; then :
   7549   xorg_cv_cc_flag_unknown_warning_option=yes
   7550 else
   7551   xorg_cv_cc_flag_unknown_warning_option=no
   7552 fi
   7553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7554 fi
   7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7556 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7557 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7558 	CFLAGS="$xorg_testset_save_CFLAGS"
   7559 fi
   7560 
   7561 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7562 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7563 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7564 	fi
   7565 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7567 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7568 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7569   $as_echo_n "(cached) " >&6
   7570 else
   7571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7572 /* end confdefs.h.  */
   7573 int i;
   7574 _ACEOF
   7575 if ac_fn_c_try_compile "$LINENO"; then :
   7576   xorg_cv_cc_flag_unused_command_line_argument=yes
   7577 else
   7578   xorg_cv_cc_flag_unused_command_line_argument=no
   7579 fi
   7580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7581 fi
   7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7583 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7584 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7585 	CFLAGS="$xorg_testset_save_CFLAGS"
   7586 fi
   7587 
   7588 found="no"
   7589 
   7590 	if test $found = "no" ; then
   7591 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7593 		fi
   7594 
   7595 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7597 		fi
   7598 
   7599 		CFLAGS="$CFLAGS -Werror=return-type"
   7600 
   7601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7602 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7603 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7604 		if eval \${$cacheid+:} false; then :
   7605   $as_echo_n "(cached) " >&6
   7606 else
   7607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7608 /* end confdefs.h.  */
   7609 int i;
   7610 int
   7611 main ()
   7612 {
   7613 
   7614   ;
   7615   return 0;
   7616 }
   7617 _ACEOF
   7618 if ac_fn_c_try_link "$LINENO"; then :
   7619   eval $cacheid=yes
   7620 else
   7621   eval $cacheid=no
   7622 fi
   7623 rm -f core conftest.err conftest.$ac_objext \
   7624     conftest$ac_exeext conftest.$ac_ext
   7625 fi
   7626 
   7627 
   7628 		CFLAGS="$xorg_testset_save_CFLAGS"
   7629 
   7630 		eval supported=\$$cacheid
   7631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7632 $as_echo "$supported" >&6; }
   7633 		if test "$supported" = "yes" ; then
   7634 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7635 			found="yes"
   7636 		fi
   7637 	fi
   7638 
   7639 	if test $found = "no" ; then
   7640 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7641 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7642 		fi
   7643 
   7644 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7645 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7646 		fi
   7647 
   7648 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7649 
   7650 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7651 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7652 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7653 		if eval \${$cacheid+:} false; then :
   7654   $as_echo_n "(cached) " >&6
   7655 else
   7656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7657 /* end confdefs.h.  */
   7658 int i;
   7659 int
   7660 main ()
   7661 {
   7662 
   7663   ;
   7664   return 0;
   7665 }
   7666 _ACEOF
   7667 if ac_fn_c_try_link "$LINENO"; then :
   7668   eval $cacheid=yes
   7669 else
   7670   eval $cacheid=no
   7671 fi
   7672 rm -f core conftest.err conftest.$ac_objext \
   7673     conftest$ac_exeext conftest.$ac_ext
   7674 fi
   7675 
   7676 
   7677 		CFLAGS="$xorg_testset_save_CFLAGS"
   7678 
   7679 		eval supported=\$$cacheid
   7680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7681 $as_echo "$supported" >&6; }
   7682 		if test "$supported" = "yes" ; then
   7683 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7684 			found="yes"
   7685 		fi
   7686 	fi
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 xorg_testset_save_CFLAGS="$CFLAGS"
   7703 
   7704 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7705 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7706 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7707 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7708 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7709   $as_echo_n "(cached) " >&6
   7710 else
   7711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7712 /* end confdefs.h.  */
   7713 int i;
   7714 _ACEOF
   7715 if ac_fn_c_try_compile "$LINENO"; then :
   7716   xorg_cv_cc_flag_unknown_warning_option=yes
   7717 else
   7718   xorg_cv_cc_flag_unknown_warning_option=no
   7719 fi
   7720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7721 fi
   7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7723 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7724 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7725 	CFLAGS="$xorg_testset_save_CFLAGS"
   7726 fi
   7727 
   7728 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7729 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7730 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7731 	fi
   7732 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7733 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7734 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7735 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7736   $as_echo_n "(cached) " >&6
   7737 else
   7738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7739 /* end confdefs.h.  */
   7740 int i;
   7741 _ACEOF
   7742 if ac_fn_c_try_compile "$LINENO"; then :
   7743   xorg_cv_cc_flag_unused_command_line_argument=yes
   7744 else
   7745   xorg_cv_cc_flag_unused_command_line_argument=no
   7746 fi
   7747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7748 fi
   7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7750 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7751 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7752 	CFLAGS="$xorg_testset_save_CFLAGS"
   7753 fi
   7754 
   7755 found="no"
   7756 
   7757 	if test $found = "no" ; then
   7758 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7759 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7760 		fi
   7761 
   7762 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7763 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7764 		fi
   7765 
   7766 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7767 
   7768 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7769 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7770 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7771 		if eval \${$cacheid+:} false; then :
   7772   $as_echo_n "(cached) " >&6
   7773 else
   7774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7775 /* end confdefs.h.  */
   7776 int i;
   7777 int
   7778 main ()
   7779 {
   7780 
   7781   ;
   7782   return 0;
   7783 }
   7784 _ACEOF
   7785 if ac_fn_c_try_link "$LINENO"; then :
   7786   eval $cacheid=yes
   7787 else
   7788   eval $cacheid=no
   7789 fi
   7790 rm -f core conftest.err conftest.$ac_objext \
   7791     conftest$ac_exeext conftest.$ac_ext
   7792 fi
   7793 
   7794 
   7795 		CFLAGS="$xorg_testset_save_CFLAGS"
   7796 
   7797 		eval supported=\$$cacheid
   7798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7799 $as_echo "$supported" >&6; }
   7800 		if test "$supported" = "yes" ; then
   7801 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7802 			found="yes"
   7803 		fi
   7804 	fi
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 xorg_testset_save_CFLAGS="$CFLAGS"
   7821 
   7822 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7823 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7825 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7826 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7827   $as_echo_n "(cached) " >&6
   7828 else
   7829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7830 /* end confdefs.h.  */
   7831 int i;
   7832 _ACEOF
   7833 if ac_fn_c_try_compile "$LINENO"; then :
   7834   xorg_cv_cc_flag_unknown_warning_option=yes
   7835 else
   7836   xorg_cv_cc_flag_unknown_warning_option=no
   7837 fi
   7838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7839 fi
   7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7841 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7842 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7843 	CFLAGS="$xorg_testset_save_CFLAGS"
   7844 fi
   7845 
   7846 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7847 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7848 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7849 	fi
   7850 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7851 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7852 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7853 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7854   $as_echo_n "(cached) " >&6
   7855 else
   7856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7857 /* end confdefs.h.  */
   7858 int i;
   7859 _ACEOF
   7860 if ac_fn_c_try_compile "$LINENO"; then :
   7861   xorg_cv_cc_flag_unused_command_line_argument=yes
   7862 else
   7863   xorg_cv_cc_flag_unused_command_line_argument=no
   7864 fi
   7865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7866 fi
   7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7868 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7869 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7870 	CFLAGS="$xorg_testset_save_CFLAGS"
   7871 fi
   7872 
   7873 found="no"
   7874 
   7875 	if test $found = "no" ; then
   7876 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7877 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7878 		fi
   7879 
   7880 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7881 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7882 		fi
   7883 
   7884 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7885 
   7886 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7887 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7888 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7889 		if eval \${$cacheid+:} false; then :
   7890   $as_echo_n "(cached) " >&6
   7891 else
   7892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7893 /* end confdefs.h.  */
   7894 int i;
   7895 int
   7896 main ()
   7897 {
   7898 
   7899   ;
   7900   return 0;
   7901 }
   7902 _ACEOF
   7903 if ac_fn_c_try_link "$LINENO"; then :
   7904   eval $cacheid=yes
   7905 else
   7906   eval $cacheid=no
   7907 fi
   7908 rm -f core conftest.err conftest.$ac_objext \
   7909     conftest$ac_exeext conftest.$ac_ext
   7910 fi
   7911 
   7912 
   7913 		CFLAGS="$xorg_testset_save_CFLAGS"
   7914 
   7915 		eval supported=\$$cacheid
   7916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7917 $as_echo "$supported" >&6; }
   7918 		if test "$supported" = "yes" ; then
   7919 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7920 			found="yes"
   7921 		fi
   7922 	fi
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 xorg_testset_save_CFLAGS="$CFLAGS"
   7939 
   7940 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7941 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7943 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7944 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7945   $as_echo_n "(cached) " >&6
   7946 else
   7947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7948 /* end confdefs.h.  */
   7949 int i;
   7950 _ACEOF
   7951 if ac_fn_c_try_compile "$LINENO"; then :
   7952   xorg_cv_cc_flag_unknown_warning_option=yes
   7953 else
   7954   xorg_cv_cc_flag_unknown_warning_option=no
   7955 fi
   7956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7957 fi
   7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7959 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7960 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7961 	CFLAGS="$xorg_testset_save_CFLAGS"
   7962 fi
   7963 
   7964 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7965 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7966 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7967 	fi
   7968 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7969 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7970 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7971 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7972   $as_echo_n "(cached) " >&6
   7973 else
   7974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7975 /* end confdefs.h.  */
   7976 int i;
   7977 _ACEOF
   7978 if ac_fn_c_try_compile "$LINENO"; then :
   7979   xorg_cv_cc_flag_unused_command_line_argument=yes
   7980 else
   7981   xorg_cv_cc_flag_unused_command_line_argument=no
   7982 fi
   7983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7984 fi
   7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7986 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7987 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7988 	CFLAGS="$xorg_testset_save_CFLAGS"
   7989 fi
   7990 
   7991 found="no"
   7992 
   7993 	if test $found = "no" ; then
   7994 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7996 		fi
   7997 
   7998 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8000 		fi
   8001 
   8002 		CFLAGS="$CFLAGS -Werror=write-strings"
   8003 
   8004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8005 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8006 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8007 		if eval \${$cacheid+:} false; then :
   8008   $as_echo_n "(cached) " >&6
   8009 else
   8010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8011 /* end confdefs.h.  */
   8012 int i;
   8013 int
   8014 main ()
   8015 {
   8016 
   8017   ;
   8018   return 0;
   8019 }
   8020 _ACEOF
   8021 if ac_fn_c_try_link "$LINENO"; then :
   8022   eval $cacheid=yes
   8023 else
   8024   eval $cacheid=no
   8025 fi
   8026 rm -f core conftest.err conftest.$ac_objext \
   8027     conftest$ac_exeext conftest.$ac_ext
   8028 fi
   8029 
   8030 
   8031 		CFLAGS="$xorg_testset_save_CFLAGS"
   8032 
   8033 		eval supported=\$$cacheid
   8034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8035 $as_echo "$supported" >&6; }
   8036 		if test "$supported" = "yes" ; then
   8037 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8038 			found="yes"
   8039 		fi
   8040 	fi
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 xorg_testset_save_CFLAGS="$CFLAGS"
   8057 
   8058 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8059 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8061 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8062 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8063   $as_echo_n "(cached) " >&6
   8064 else
   8065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8066 /* end confdefs.h.  */
   8067 int i;
   8068 _ACEOF
   8069 if ac_fn_c_try_compile "$LINENO"; then :
   8070   xorg_cv_cc_flag_unknown_warning_option=yes
   8071 else
   8072   xorg_cv_cc_flag_unknown_warning_option=no
   8073 fi
   8074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8075 fi
   8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8077 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8078 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8079 	CFLAGS="$xorg_testset_save_CFLAGS"
   8080 fi
   8081 
   8082 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8083 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8084 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8085 	fi
   8086 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8087 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8088 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8089 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8090   $as_echo_n "(cached) " >&6
   8091 else
   8092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8093 /* end confdefs.h.  */
   8094 int i;
   8095 _ACEOF
   8096 if ac_fn_c_try_compile "$LINENO"; then :
   8097   xorg_cv_cc_flag_unused_command_line_argument=yes
   8098 else
   8099   xorg_cv_cc_flag_unused_command_line_argument=no
   8100 fi
   8101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8102 fi
   8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8104 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8105 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8106 	CFLAGS="$xorg_testset_save_CFLAGS"
   8107 fi
   8108 
   8109 found="no"
   8110 
   8111 	if test $found = "no" ; then
   8112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8114 		fi
   8115 
   8116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8118 		fi
   8119 
   8120 		CFLAGS="$CFLAGS -Werror=address"
   8121 
   8122 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8123 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8124 		cacheid=xorg_cv_cc_flag__Werror_address
   8125 		if eval \${$cacheid+:} false; then :
   8126   $as_echo_n "(cached) " >&6
   8127 else
   8128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8129 /* end confdefs.h.  */
   8130 int i;
   8131 int
   8132 main ()
   8133 {
   8134 
   8135   ;
   8136   return 0;
   8137 }
   8138 _ACEOF
   8139 if ac_fn_c_try_link "$LINENO"; then :
   8140   eval $cacheid=yes
   8141 else
   8142   eval $cacheid=no
   8143 fi
   8144 rm -f core conftest.err conftest.$ac_objext \
   8145     conftest$ac_exeext conftest.$ac_ext
   8146 fi
   8147 
   8148 
   8149 		CFLAGS="$xorg_testset_save_CFLAGS"
   8150 
   8151 		eval supported=\$$cacheid
   8152 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8153 $as_echo "$supported" >&6; }
   8154 		if test "$supported" = "yes" ; then
   8155 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8156 			found="yes"
   8157 		fi
   8158 	fi
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 xorg_testset_save_CFLAGS="$CFLAGS"
   8175 
   8176 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8177 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8179 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8180 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8181   $as_echo_n "(cached) " >&6
   8182 else
   8183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8184 /* end confdefs.h.  */
   8185 int i;
   8186 _ACEOF
   8187 if ac_fn_c_try_compile "$LINENO"; then :
   8188   xorg_cv_cc_flag_unknown_warning_option=yes
   8189 else
   8190   xorg_cv_cc_flag_unknown_warning_option=no
   8191 fi
   8192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8193 fi
   8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8195 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8196 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8197 	CFLAGS="$xorg_testset_save_CFLAGS"
   8198 fi
   8199 
   8200 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8201 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8202 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8203 	fi
   8204 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8206 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8207 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8208   $as_echo_n "(cached) " >&6
   8209 else
   8210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8211 /* end confdefs.h.  */
   8212 int i;
   8213 _ACEOF
   8214 if ac_fn_c_try_compile "$LINENO"; then :
   8215   xorg_cv_cc_flag_unused_command_line_argument=yes
   8216 else
   8217   xorg_cv_cc_flag_unused_command_line_argument=no
   8218 fi
   8219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8220 fi
   8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8222 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8223 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8224 	CFLAGS="$xorg_testset_save_CFLAGS"
   8225 fi
   8226 
   8227 found="no"
   8228 
   8229 	if test $found = "no" ; then
   8230 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8231 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8232 		fi
   8233 
   8234 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8235 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8236 		fi
   8237 
   8238 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8239 
   8240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8241 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8242 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8243 		if eval \${$cacheid+:} false; then :
   8244   $as_echo_n "(cached) " >&6
   8245 else
   8246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8247 /* end confdefs.h.  */
   8248 int i;
   8249 int
   8250 main ()
   8251 {
   8252 
   8253   ;
   8254   return 0;
   8255 }
   8256 _ACEOF
   8257 if ac_fn_c_try_link "$LINENO"; then :
   8258   eval $cacheid=yes
   8259 else
   8260   eval $cacheid=no
   8261 fi
   8262 rm -f core conftest.err conftest.$ac_objext \
   8263     conftest$ac_exeext conftest.$ac_ext
   8264 fi
   8265 
   8266 
   8267 		CFLAGS="$xorg_testset_save_CFLAGS"
   8268 
   8269 		eval supported=\$$cacheid
   8270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8271 $as_echo "$supported" >&6; }
   8272 		if test "$supported" = "yes" ; then
   8273 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8274 			found="yes"
   8275 		fi
   8276 	fi
   8277 
   8278 	if test $found = "no" ; then
   8279 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8280 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8281 		fi
   8282 
   8283 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8284 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8285 		fi
   8286 
   8287 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8288 
   8289 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8290 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8291 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8292 		if eval \${$cacheid+:} false; then :
   8293   $as_echo_n "(cached) " >&6
   8294 else
   8295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8296 /* end confdefs.h.  */
   8297 int i;
   8298 int
   8299 main ()
   8300 {
   8301 
   8302   ;
   8303   return 0;
   8304 }
   8305 _ACEOF
   8306 if ac_fn_c_try_link "$LINENO"; then :
   8307   eval $cacheid=yes
   8308 else
   8309   eval $cacheid=no
   8310 fi
   8311 rm -f core conftest.err conftest.$ac_objext \
   8312     conftest$ac_exeext conftest.$ac_ext
   8313 fi
   8314 
   8315 
   8316 		CFLAGS="$xorg_testset_save_CFLAGS"
   8317 
   8318 		eval supported=\$$cacheid
   8319 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8320 $as_echo "$supported" >&6; }
   8321 		if test "$supported" = "yes" ; then
   8322 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8323 			found="yes"
   8324 		fi
   8325 	fi
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 xorg_testset_save_CFLAGS="$CFLAGS"
   8342 
   8343 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8344 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8345 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8346 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8347 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8348   $as_echo_n "(cached) " >&6
   8349 else
   8350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8351 /* end confdefs.h.  */
   8352 int i;
   8353 _ACEOF
   8354 if ac_fn_c_try_compile "$LINENO"; then :
   8355   xorg_cv_cc_flag_unknown_warning_option=yes
   8356 else
   8357   xorg_cv_cc_flag_unknown_warning_option=no
   8358 fi
   8359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8360 fi
   8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8362 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8363 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8364 	CFLAGS="$xorg_testset_save_CFLAGS"
   8365 fi
   8366 
   8367 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8368 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8369 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8370 	fi
   8371 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8372 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8373 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8374 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8375   $as_echo_n "(cached) " >&6
   8376 else
   8377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8378 /* end confdefs.h.  */
   8379 int i;
   8380 _ACEOF
   8381 if ac_fn_c_try_compile "$LINENO"; then :
   8382   xorg_cv_cc_flag_unused_command_line_argument=yes
   8383 else
   8384   xorg_cv_cc_flag_unused_command_line_argument=no
   8385 fi
   8386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8387 fi
   8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8389 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8390 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8391 	CFLAGS="$xorg_testset_save_CFLAGS"
   8392 fi
   8393 
   8394 found="no"
   8395 
   8396 	if test $found = "no" ; then
   8397 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8398 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8399 		fi
   8400 
   8401 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8402 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8403 		fi
   8404 
   8405 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8406 
   8407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8408 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8409 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8410 		if eval \${$cacheid+:} false; then :
   8411   $as_echo_n "(cached) " >&6
   8412 else
   8413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8414 /* end confdefs.h.  */
   8415 int i;
   8416 int
   8417 main ()
   8418 {
   8419 
   8420   ;
   8421   return 0;
   8422 }
   8423 _ACEOF
   8424 if ac_fn_c_try_link "$LINENO"; then :
   8425   eval $cacheid=yes
   8426 else
   8427   eval $cacheid=no
   8428 fi
   8429 rm -f core conftest.err conftest.$ac_objext \
   8430     conftest$ac_exeext conftest.$ac_ext
   8431 fi
   8432 
   8433 
   8434 		CFLAGS="$xorg_testset_save_CFLAGS"
   8435 
   8436 		eval supported=\$$cacheid
   8437 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8438 $as_echo "$supported" >&6; }
   8439 		if test "$supported" = "yes" ; then
   8440 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8441 			found="yes"
   8442 		fi
   8443 	fi
   8444 
   8445  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8446 else
   8447 { $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
   8448 $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;}
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 xorg_testset_save_CFLAGS="$CFLAGS"
   8463 
   8464 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8465 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8466 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8467 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8468 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8469   $as_echo_n "(cached) " >&6
   8470 else
   8471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8472 /* end confdefs.h.  */
   8473 int i;
   8474 _ACEOF
   8475 if ac_fn_c_try_compile "$LINENO"; then :
   8476   xorg_cv_cc_flag_unknown_warning_option=yes
   8477 else
   8478   xorg_cv_cc_flag_unknown_warning_option=no
   8479 fi
   8480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8481 fi
   8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8483 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8484 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8485 	CFLAGS="$xorg_testset_save_CFLAGS"
   8486 fi
   8487 
   8488 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8489 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8490 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8491 	fi
   8492 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8493 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8494 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8495 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8496   $as_echo_n "(cached) " >&6
   8497 else
   8498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8499 /* end confdefs.h.  */
   8500 int i;
   8501 _ACEOF
   8502 if ac_fn_c_try_compile "$LINENO"; then :
   8503   xorg_cv_cc_flag_unused_command_line_argument=yes
   8504 else
   8505   xorg_cv_cc_flag_unused_command_line_argument=no
   8506 fi
   8507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8508 fi
   8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8510 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8511 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8512 	CFLAGS="$xorg_testset_save_CFLAGS"
   8513 fi
   8514 
   8515 found="no"
   8516 
   8517 	if test $found = "no" ; then
   8518 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8519 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8520 		fi
   8521 
   8522 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8523 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8524 		fi
   8525 
   8526 		CFLAGS="$CFLAGS -Wimplicit"
   8527 
   8528 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8529 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8530 		cacheid=xorg_cv_cc_flag__Wimplicit
   8531 		if eval \${$cacheid+:} false; then :
   8532   $as_echo_n "(cached) " >&6
   8533 else
   8534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8535 /* end confdefs.h.  */
   8536 int i;
   8537 int
   8538 main ()
   8539 {
   8540 
   8541   ;
   8542   return 0;
   8543 }
   8544 _ACEOF
   8545 if ac_fn_c_try_link "$LINENO"; then :
   8546   eval $cacheid=yes
   8547 else
   8548   eval $cacheid=no
   8549 fi
   8550 rm -f core conftest.err conftest.$ac_objext \
   8551     conftest$ac_exeext conftest.$ac_ext
   8552 fi
   8553 
   8554 
   8555 		CFLAGS="$xorg_testset_save_CFLAGS"
   8556 
   8557 		eval supported=\$$cacheid
   8558 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8559 $as_echo "$supported" >&6; }
   8560 		if test "$supported" = "yes" ; then
   8561 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8562 			found="yes"
   8563 		fi
   8564 	fi
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 xorg_testset_save_CFLAGS="$CFLAGS"
   8581 
   8582 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8583 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8585 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8586 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8587   $as_echo_n "(cached) " >&6
   8588 else
   8589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8590 /* end confdefs.h.  */
   8591 int i;
   8592 _ACEOF
   8593 if ac_fn_c_try_compile "$LINENO"; then :
   8594   xorg_cv_cc_flag_unknown_warning_option=yes
   8595 else
   8596   xorg_cv_cc_flag_unknown_warning_option=no
   8597 fi
   8598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8599 fi
   8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8601 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8602 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8603 	CFLAGS="$xorg_testset_save_CFLAGS"
   8604 fi
   8605 
   8606 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8607 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8608 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8609 	fi
   8610 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8611 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8612 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8613 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8614   $as_echo_n "(cached) " >&6
   8615 else
   8616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8617 /* end confdefs.h.  */
   8618 int i;
   8619 _ACEOF
   8620 if ac_fn_c_try_compile "$LINENO"; then :
   8621   xorg_cv_cc_flag_unused_command_line_argument=yes
   8622 else
   8623   xorg_cv_cc_flag_unused_command_line_argument=no
   8624 fi
   8625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8626 fi
   8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8628 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8629 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8630 	CFLAGS="$xorg_testset_save_CFLAGS"
   8631 fi
   8632 
   8633 found="no"
   8634 
   8635 	if test $found = "no" ; then
   8636 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8637 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8638 		fi
   8639 
   8640 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8641 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8642 		fi
   8643 
   8644 		CFLAGS="$CFLAGS -Wnonnull"
   8645 
   8646 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8647 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8648 		cacheid=xorg_cv_cc_flag__Wnonnull
   8649 		if eval \${$cacheid+:} false; then :
   8650   $as_echo_n "(cached) " >&6
   8651 else
   8652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8653 /* end confdefs.h.  */
   8654 int i;
   8655 int
   8656 main ()
   8657 {
   8658 
   8659   ;
   8660   return 0;
   8661 }
   8662 _ACEOF
   8663 if ac_fn_c_try_link "$LINENO"; then :
   8664   eval $cacheid=yes
   8665 else
   8666   eval $cacheid=no
   8667 fi
   8668 rm -f core conftest.err conftest.$ac_objext \
   8669     conftest$ac_exeext conftest.$ac_ext
   8670 fi
   8671 
   8672 
   8673 		CFLAGS="$xorg_testset_save_CFLAGS"
   8674 
   8675 		eval supported=\$$cacheid
   8676 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8677 $as_echo "$supported" >&6; }
   8678 		if test "$supported" = "yes" ; then
   8679 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8680 			found="yes"
   8681 		fi
   8682 	fi
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 xorg_testset_save_CFLAGS="$CFLAGS"
   8699 
   8700 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8701 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8703 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8704 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8705   $as_echo_n "(cached) " >&6
   8706 else
   8707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8708 /* end confdefs.h.  */
   8709 int i;
   8710 _ACEOF
   8711 if ac_fn_c_try_compile "$LINENO"; then :
   8712   xorg_cv_cc_flag_unknown_warning_option=yes
   8713 else
   8714   xorg_cv_cc_flag_unknown_warning_option=no
   8715 fi
   8716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8717 fi
   8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8719 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8720 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8721 	CFLAGS="$xorg_testset_save_CFLAGS"
   8722 fi
   8723 
   8724 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8725 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8726 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8727 	fi
   8728 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8730 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8731 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8732   $as_echo_n "(cached) " >&6
   8733 else
   8734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8735 /* end confdefs.h.  */
   8736 int i;
   8737 _ACEOF
   8738 if ac_fn_c_try_compile "$LINENO"; then :
   8739   xorg_cv_cc_flag_unused_command_line_argument=yes
   8740 else
   8741   xorg_cv_cc_flag_unused_command_line_argument=no
   8742 fi
   8743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8744 fi
   8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8746 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8747 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8748 	CFLAGS="$xorg_testset_save_CFLAGS"
   8749 fi
   8750 
   8751 found="no"
   8752 
   8753 	if test $found = "no" ; then
   8754 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8755 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8756 		fi
   8757 
   8758 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8759 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8760 		fi
   8761 
   8762 		CFLAGS="$CFLAGS -Winit-self"
   8763 
   8764 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8765 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8766 		cacheid=xorg_cv_cc_flag__Winit_self
   8767 		if eval \${$cacheid+:} false; then :
   8768   $as_echo_n "(cached) " >&6
   8769 else
   8770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8771 /* end confdefs.h.  */
   8772 int i;
   8773 int
   8774 main ()
   8775 {
   8776 
   8777   ;
   8778   return 0;
   8779 }
   8780 _ACEOF
   8781 if ac_fn_c_try_link "$LINENO"; then :
   8782   eval $cacheid=yes
   8783 else
   8784   eval $cacheid=no
   8785 fi
   8786 rm -f core conftest.err conftest.$ac_objext \
   8787     conftest$ac_exeext conftest.$ac_ext
   8788 fi
   8789 
   8790 
   8791 		CFLAGS="$xorg_testset_save_CFLAGS"
   8792 
   8793 		eval supported=\$$cacheid
   8794 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8795 $as_echo "$supported" >&6; }
   8796 		if test "$supported" = "yes" ; then
   8797 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8798 			found="yes"
   8799 		fi
   8800 	fi
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 xorg_testset_save_CFLAGS="$CFLAGS"
   8817 
   8818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8819 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8821 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8822 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8823   $as_echo_n "(cached) " >&6
   8824 else
   8825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8826 /* end confdefs.h.  */
   8827 int i;
   8828 _ACEOF
   8829 if ac_fn_c_try_compile "$LINENO"; then :
   8830   xorg_cv_cc_flag_unknown_warning_option=yes
   8831 else
   8832   xorg_cv_cc_flag_unknown_warning_option=no
   8833 fi
   8834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8835 fi
   8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8837 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8838 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8839 	CFLAGS="$xorg_testset_save_CFLAGS"
   8840 fi
   8841 
   8842 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8843 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8844 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8845 	fi
   8846 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8848 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8849 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8850   $as_echo_n "(cached) " >&6
   8851 else
   8852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8853 /* end confdefs.h.  */
   8854 int i;
   8855 _ACEOF
   8856 if ac_fn_c_try_compile "$LINENO"; then :
   8857   xorg_cv_cc_flag_unused_command_line_argument=yes
   8858 else
   8859   xorg_cv_cc_flag_unused_command_line_argument=no
   8860 fi
   8861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8862 fi
   8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8864 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8865 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8866 	CFLAGS="$xorg_testset_save_CFLAGS"
   8867 fi
   8868 
   8869 found="no"
   8870 
   8871 	if test $found = "no" ; then
   8872 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8873 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8874 		fi
   8875 
   8876 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8877 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8878 		fi
   8879 
   8880 		CFLAGS="$CFLAGS -Wmain"
   8881 
   8882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8883 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8884 		cacheid=xorg_cv_cc_flag__Wmain
   8885 		if eval \${$cacheid+:} false; then :
   8886   $as_echo_n "(cached) " >&6
   8887 else
   8888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8889 /* end confdefs.h.  */
   8890 int i;
   8891 int
   8892 main ()
   8893 {
   8894 
   8895   ;
   8896   return 0;
   8897 }
   8898 _ACEOF
   8899 if ac_fn_c_try_link "$LINENO"; then :
   8900   eval $cacheid=yes
   8901 else
   8902   eval $cacheid=no
   8903 fi
   8904 rm -f core conftest.err conftest.$ac_objext \
   8905     conftest$ac_exeext conftest.$ac_ext
   8906 fi
   8907 
   8908 
   8909 		CFLAGS="$xorg_testset_save_CFLAGS"
   8910 
   8911 		eval supported=\$$cacheid
   8912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8913 $as_echo "$supported" >&6; }
   8914 		if test "$supported" = "yes" ; then
   8915 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8916 			found="yes"
   8917 		fi
   8918 	fi
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 xorg_testset_save_CFLAGS="$CFLAGS"
   8935 
   8936 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8937 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8938 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8939 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8940 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8941   $as_echo_n "(cached) " >&6
   8942 else
   8943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8944 /* end confdefs.h.  */
   8945 int i;
   8946 _ACEOF
   8947 if ac_fn_c_try_compile "$LINENO"; then :
   8948   xorg_cv_cc_flag_unknown_warning_option=yes
   8949 else
   8950   xorg_cv_cc_flag_unknown_warning_option=no
   8951 fi
   8952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8953 fi
   8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8955 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8956 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8957 	CFLAGS="$xorg_testset_save_CFLAGS"
   8958 fi
   8959 
   8960 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8961 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8962 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8963 	fi
   8964 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8966 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8967 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8968   $as_echo_n "(cached) " >&6
   8969 else
   8970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8971 /* end confdefs.h.  */
   8972 int i;
   8973 _ACEOF
   8974 if ac_fn_c_try_compile "$LINENO"; then :
   8975   xorg_cv_cc_flag_unused_command_line_argument=yes
   8976 else
   8977   xorg_cv_cc_flag_unused_command_line_argument=no
   8978 fi
   8979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8980 fi
   8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8982 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8983 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8984 	CFLAGS="$xorg_testset_save_CFLAGS"
   8985 fi
   8986 
   8987 found="no"
   8988 
   8989 	if test $found = "no" ; then
   8990 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8991 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8992 		fi
   8993 
   8994 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8995 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8996 		fi
   8997 
   8998 		CFLAGS="$CFLAGS -Wmissing-braces"
   8999 
   9000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9001 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9002 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9003 		if eval \${$cacheid+:} false; then :
   9004   $as_echo_n "(cached) " >&6
   9005 else
   9006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9007 /* end confdefs.h.  */
   9008 int i;
   9009 int
   9010 main ()
   9011 {
   9012 
   9013   ;
   9014   return 0;
   9015 }
   9016 _ACEOF
   9017 if ac_fn_c_try_link "$LINENO"; then :
   9018   eval $cacheid=yes
   9019 else
   9020   eval $cacheid=no
   9021 fi
   9022 rm -f core conftest.err conftest.$ac_objext \
   9023     conftest$ac_exeext conftest.$ac_ext
   9024 fi
   9025 
   9026 
   9027 		CFLAGS="$xorg_testset_save_CFLAGS"
   9028 
   9029 		eval supported=\$$cacheid
   9030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9031 $as_echo "$supported" >&6; }
   9032 		if test "$supported" = "yes" ; then
   9033 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9034 			found="yes"
   9035 		fi
   9036 	fi
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 xorg_testset_save_CFLAGS="$CFLAGS"
   9053 
   9054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9057 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9058 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9059   $as_echo_n "(cached) " >&6
   9060 else
   9061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9062 /* end confdefs.h.  */
   9063 int i;
   9064 _ACEOF
   9065 if ac_fn_c_try_compile "$LINENO"; then :
   9066   xorg_cv_cc_flag_unknown_warning_option=yes
   9067 else
   9068   xorg_cv_cc_flag_unknown_warning_option=no
   9069 fi
   9070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9071 fi
   9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9073 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9075 	CFLAGS="$xorg_testset_save_CFLAGS"
   9076 fi
   9077 
   9078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9081 	fi
   9082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9084 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9085 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9086   $as_echo_n "(cached) " >&6
   9087 else
   9088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9089 /* end confdefs.h.  */
   9090 int i;
   9091 _ACEOF
   9092 if ac_fn_c_try_compile "$LINENO"; then :
   9093   xorg_cv_cc_flag_unused_command_line_argument=yes
   9094 else
   9095   xorg_cv_cc_flag_unused_command_line_argument=no
   9096 fi
   9097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9098 fi
   9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9100 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9102 	CFLAGS="$xorg_testset_save_CFLAGS"
   9103 fi
   9104 
   9105 found="no"
   9106 
   9107 	if test $found = "no" ; then
   9108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9110 		fi
   9111 
   9112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9114 		fi
   9115 
   9116 		CFLAGS="$CFLAGS -Wsequence-point"
   9117 
   9118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9119 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9120 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9121 		if eval \${$cacheid+:} false; then :
   9122   $as_echo_n "(cached) " >&6
   9123 else
   9124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9125 /* end confdefs.h.  */
   9126 int i;
   9127 int
   9128 main ()
   9129 {
   9130 
   9131   ;
   9132   return 0;
   9133 }
   9134 _ACEOF
   9135 if ac_fn_c_try_link "$LINENO"; then :
   9136   eval $cacheid=yes
   9137 else
   9138   eval $cacheid=no
   9139 fi
   9140 rm -f core conftest.err conftest.$ac_objext \
   9141     conftest$ac_exeext conftest.$ac_ext
   9142 fi
   9143 
   9144 
   9145 		CFLAGS="$xorg_testset_save_CFLAGS"
   9146 
   9147 		eval supported=\$$cacheid
   9148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9149 $as_echo "$supported" >&6; }
   9150 		if test "$supported" = "yes" ; then
   9151 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9152 			found="yes"
   9153 		fi
   9154 	fi
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 xorg_testset_save_CFLAGS="$CFLAGS"
   9171 
   9172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9175 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9176 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9177   $as_echo_n "(cached) " >&6
   9178 else
   9179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9180 /* end confdefs.h.  */
   9181 int i;
   9182 _ACEOF
   9183 if ac_fn_c_try_compile "$LINENO"; then :
   9184   xorg_cv_cc_flag_unknown_warning_option=yes
   9185 else
   9186   xorg_cv_cc_flag_unknown_warning_option=no
   9187 fi
   9188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9189 fi
   9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9191 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9193 	CFLAGS="$xorg_testset_save_CFLAGS"
   9194 fi
   9195 
   9196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9199 	fi
   9200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9202 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9203 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9204   $as_echo_n "(cached) " >&6
   9205 else
   9206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9207 /* end confdefs.h.  */
   9208 int i;
   9209 _ACEOF
   9210 if ac_fn_c_try_compile "$LINENO"; then :
   9211   xorg_cv_cc_flag_unused_command_line_argument=yes
   9212 else
   9213   xorg_cv_cc_flag_unused_command_line_argument=no
   9214 fi
   9215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9216 fi
   9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9218 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9220 	CFLAGS="$xorg_testset_save_CFLAGS"
   9221 fi
   9222 
   9223 found="no"
   9224 
   9225 	if test $found = "no" ; then
   9226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9228 		fi
   9229 
   9230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9232 		fi
   9233 
   9234 		CFLAGS="$CFLAGS -Wreturn-type"
   9235 
   9236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9237 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9238 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9239 		if eval \${$cacheid+:} false; then :
   9240   $as_echo_n "(cached) " >&6
   9241 else
   9242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9243 /* end confdefs.h.  */
   9244 int i;
   9245 int
   9246 main ()
   9247 {
   9248 
   9249   ;
   9250   return 0;
   9251 }
   9252 _ACEOF
   9253 if ac_fn_c_try_link "$LINENO"; then :
   9254   eval $cacheid=yes
   9255 else
   9256   eval $cacheid=no
   9257 fi
   9258 rm -f core conftest.err conftest.$ac_objext \
   9259     conftest$ac_exeext conftest.$ac_ext
   9260 fi
   9261 
   9262 
   9263 		CFLAGS="$xorg_testset_save_CFLAGS"
   9264 
   9265 		eval supported=\$$cacheid
   9266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9267 $as_echo "$supported" >&6; }
   9268 		if test "$supported" = "yes" ; then
   9269 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9270 			found="yes"
   9271 		fi
   9272 	fi
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 xorg_testset_save_CFLAGS="$CFLAGS"
   9289 
   9290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9293 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9294 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9295   $as_echo_n "(cached) " >&6
   9296 else
   9297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9298 /* end confdefs.h.  */
   9299 int i;
   9300 _ACEOF
   9301 if ac_fn_c_try_compile "$LINENO"; then :
   9302   xorg_cv_cc_flag_unknown_warning_option=yes
   9303 else
   9304   xorg_cv_cc_flag_unknown_warning_option=no
   9305 fi
   9306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9307 fi
   9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9309 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9310 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9311 	CFLAGS="$xorg_testset_save_CFLAGS"
   9312 fi
   9313 
   9314 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9315 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9316 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9317 	fi
   9318 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9320 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9321 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9322   $as_echo_n "(cached) " >&6
   9323 else
   9324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9325 /* end confdefs.h.  */
   9326 int i;
   9327 _ACEOF
   9328 if ac_fn_c_try_compile "$LINENO"; then :
   9329   xorg_cv_cc_flag_unused_command_line_argument=yes
   9330 else
   9331   xorg_cv_cc_flag_unused_command_line_argument=no
   9332 fi
   9333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9334 fi
   9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9336 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9338 	CFLAGS="$xorg_testset_save_CFLAGS"
   9339 fi
   9340 
   9341 found="no"
   9342 
   9343 	if test $found = "no" ; then
   9344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9346 		fi
   9347 
   9348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9350 		fi
   9351 
   9352 		CFLAGS="$CFLAGS -Wtrigraphs"
   9353 
   9354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9355 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9356 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9357 		if eval \${$cacheid+:} false; then :
   9358   $as_echo_n "(cached) " >&6
   9359 else
   9360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9361 /* end confdefs.h.  */
   9362 int i;
   9363 int
   9364 main ()
   9365 {
   9366 
   9367   ;
   9368   return 0;
   9369 }
   9370 _ACEOF
   9371 if ac_fn_c_try_link "$LINENO"; then :
   9372   eval $cacheid=yes
   9373 else
   9374   eval $cacheid=no
   9375 fi
   9376 rm -f core conftest.err conftest.$ac_objext \
   9377     conftest$ac_exeext conftest.$ac_ext
   9378 fi
   9379 
   9380 
   9381 		CFLAGS="$xorg_testset_save_CFLAGS"
   9382 
   9383 		eval supported=\$$cacheid
   9384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9385 $as_echo "$supported" >&6; }
   9386 		if test "$supported" = "yes" ; then
   9387 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9388 			found="yes"
   9389 		fi
   9390 	fi
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 xorg_testset_save_CFLAGS="$CFLAGS"
   9407 
   9408 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9411 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9412 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9413   $as_echo_n "(cached) " >&6
   9414 else
   9415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9416 /* end confdefs.h.  */
   9417 int i;
   9418 _ACEOF
   9419 if ac_fn_c_try_compile "$LINENO"; then :
   9420   xorg_cv_cc_flag_unknown_warning_option=yes
   9421 else
   9422   xorg_cv_cc_flag_unknown_warning_option=no
   9423 fi
   9424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9425 fi
   9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9427 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9428 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9429 	CFLAGS="$xorg_testset_save_CFLAGS"
   9430 fi
   9431 
   9432 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9433 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9434 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9435 	fi
   9436 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9438 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9439 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9440   $as_echo_n "(cached) " >&6
   9441 else
   9442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9443 /* end confdefs.h.  */
   9444 int i;
   9445 _ACEOF
   9446 if ac_fn_c_try_compile "$LINENO"; then :
   9447   xorg_cv_cc_flag_unused_command_line_argument=yes
   9448 else
   9449   xorg_cv_cc_flag_unused_command_line_argument=no
   9450 fi
   9451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9452 fi
   9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9454 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9455 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9456 	CFLAGS="$xorg_testset_save_CFLAGS"
   9457 fi
   9458 
   9459 found="no"
   9460 
   9461 	if test $found = "no" ; then
   9462 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9464 		fi
   9465 
   9466 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9468 		fi
   9469 
   9470 		CFLAGS="$CFLAGS -Warray-bounds"
   9471 
   9472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9473 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9474 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9475 		if eval \${$cacheid+:} false; then :
   9476   $as_echo_n "(cached) " >&6
   9477 else
   9478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9479 /* end confdefs.h.  */
   9480 int i;
   9481 int
   9482 main ()
   9483 {
   9484 
   9485   ;
   9486   return 0;
   9487 }
   9488 _ACEOF
   9489 if ac_fn_c_try_link "$LINENO"; then :
   9490   eval $cacheid=yes
   9491 else
   9492   eval $cacheid=no
   9493 fi
   9494 rm -f core conftest.err conftest.$ac_objext \
   9495     conftest$ac_exeext conftest.$ac_ext
   9496 fi
   9497 
   9498 
   9499 		CFLAGS="$xorg_testset_save_CFLAGS"
   9500 
   9501 		eval supported=\$$cacheid
   9502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9503 $as_echo "$supported" >&6; }
   9504 		if test "$supported" = "yes" ; then
   9505 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9506 			found="yes"
   9507 		fi
   9508 	fi
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 xorg_testset_save_CFLAGS="$CFLAGS"
   9525 
   9526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9529 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9530 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9531   $as_echo_n "(cached) " >&6
   9532 else
   9533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9534 /* end confdefs.h.  */
   9535 int i;
   9536 _ACEOF
   9537 if ac_fn_c_try_compile "$LINENO"; then :
   9538   xorg_cv_cc_flag_unknown_warning_option=yes
   9539 else
   9540   xorg_cv_cc_flag_unknown_warning_option=no
   9541 fi
   9542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9543 fi
   9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9545 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9546 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9547 	CFLAGS="$xorg_testset_save_CFLAGS"
   9548 fi
   9549 
   9550 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9551 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9552 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9553 	fi
   9554 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9556 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9557 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9558   $as_echo_n "(cached) " >&6
   9559 else
   9560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9561 /* end confdefs.h.  */
   9562 int i;
   9563 _ACEOF
   9564 if ac_fn_c_try_compile "$LINENO"; then :
   9565   xorg_cv_cc_flag_unused_command_line_argument=yes
   9566 else
   9567   xorg_cv_cc_flag_unused_command_line_argument=no
   9568 fi
   9569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9570 fi
   9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9572 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9573 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9574 	CFLAGS="$xorg_testset_save_CFLAGS"
   9575 fi
   9576 
   9577 found="no"
   9578 
   9579 	if test $found = "no" ; then
   9580 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9581 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9582 		fi
   9583 
   9584 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9585 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9586 		fi
   9587 
   9588 		CFLAGS="$CFLAGS -Wwrite-strings"
   9589 
   9590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9591 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9592 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9593 		if eval \${$cacheid+:} false; then :
   9594   $as_echo_n "(cached) " >&6
   9595 else
   9596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9597 /* end confdefs.h.  */
   9598 int i;
   9599 int
   9600 main ()
   9601 {
   9602 
   9603   ;
   9604   return 0;
   9605 }
   9606 _ACEOF
   9607 if ac_fn_c_try_link "$LINENO"; then :
   9608   eval $cacheid=yes
   9609 else
   9610   eval $cacheid=no
   9611 fi
   9612 rm -f core conftest.err conftest.$ac_objext \
   9613     conftest$ac_exeext conftest.$ac_ext
   9614 fi
   9615 
   9616 
   9617 		CFLAGS="$xorg_testset_save_CFLAGS"
   9618 
   9619 		eval supported=\$$cacheid
   9620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9621 $as_echo "$supported" >&6; }
   9622 		if test "$supported" = "yes" ; then
   9623 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9624 			found="yes"
   9625 		fi
   9626 	fi
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 xorg_testset_save_CFLAGS="$CFLAGS"
   9643 
   9644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9647 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9648 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9649   $as_echo_n "(cached) " >&6
   9650 else
   9651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9652 /* end confdefs.h.  */
   9653 int i;
   9654 _ACEOF
   9655 if ac_fn_c_try_compile "$LINENO"; then :
   9656   xorg_cv_cc_flag_unknown_warning_option=yes
   9657 else
   9658   xorg_cv_cc_flag_unknown_warning_option=no
   9659 fi
   9660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9661 fi
   9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9663 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9664 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9665 	CFLAGS="$xorg_testset_save_CFLAGS"
   9666 fi
   9667 
   9668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9669 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9671 	fi
   9672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9674 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9675 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9676   $as_echo_n "(cached) " >&6
   9677 else
   9678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9679 /* end confdefs.h.  */
   9680 int i;
   9681 _ACEOF
   9682 if ac_fn_c_try_compile "$LINENO"; then :
   9683   xorg_cv_cc_flag_unused_command_line_argument=yes
   9684 else
   9685   xorg_cv_cc_flag_unused_command_line_argument=no
   9686 fi
   9687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9688 fi
   9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9690 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9692 	CFLAGS="$xorg_testset_save_CFLAGS"
   9693 fi
   9694 
   9695 found="no"
   9696 
   9697 	if test $found = "no" ; then
   9698 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9700 		fi
   9701 
   9702 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9704 		fi
   9705 
   9706 		CFLAGS="$CFLAGS -Waddress"
   9707 
   9708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9709 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9710 		cacheid=xorg_cv_cc_flag__Waddress
   9711 		if eval \${$cacheid+:} false; then :
   9712   $as_echo_n "(cached) " >&6
   9713 else
   9714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9715 /* end confdefs.h.  */
   9716 int i;
   9717 int
   9718 main ()
   9719 {
   9720 
   9721   ;
   9722   return 0;
   9723 }
   9724 _ACEOF
   9725 if ac_fn_c_try_link "$LINENO"; then :
   9726   eval $cacheid=yes
   9727 else
   9728   eval $cacheid=no
   9729 fi
   9730 rm -f core conftest.err conftest.$ac_objext \
   9731     conftest$ac_exeext conftest.$ac_ext
   9732 fi
   9733 
   9734 
   9735 		CFLAGS="$xorg_testset_save_CFLAGS"
   9736 
   9737 		eval supported=\$$cacheid
   9738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9739 $as_echo "$supported" >&6; }
   9740 		if test "$supported" = "yes" ; then
   9741 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9742 			found="yes"
   9743 		fi
   9744 	fi
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 xorg_testset_save_CFLAGS="$CFLAGS"
   9761 
   9762 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9763 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9764 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9765 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9766 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9767   $as_echo_n "(cached) " >&6
   9768 else
   9769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9770 /* end confdefs.h.  */
   9771 int i;
   9772 _ACEOF
   9773 if ac_fn_c_try_compile "$LINENO"; then :
   9774   xorg_cv_cc_flag_unknown_warning_option=yes
   9775 else
   9776   xorg_cv_cc_flag_unknown_warning_option=no
   9777 fi
   9778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9779 fi
   9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9781 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9782 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9783 	CFLAGS="$xorg_testset_save_CFLAGS"
   9784 fi
   9785 
   9786 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9787 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9788 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9789 	fi
   9790 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9791 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9792 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9793 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9794   $as_echo_n "(cached) " >&6
   9795 else
   9796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9797 /* end confdefs.h.  */
   9798 int i;
   9799 _ACEOF
   9800 if ac_fn_c_try_compile "$LINENO"; then :
   9801   xorg_cv_cc_flag_unused_command_line_argument=yes
   9802 else
   9803   xorg_cv_cc_flag_unused_command_line_argument=no
   9804 fi
   9805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9806 fi
   9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9808 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9809 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9810 	CFLAGS="$xorg_testset_save_CFLAGS"
   9811 fi
   9812 
   9813 found="no"
   9814 
   9815 	if test $found = "no" ; then
   9816 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9817 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9818 		fi
   9819 
   9820 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9821 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9822 		fi
   9823 
   9824 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9825 
   9826 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9827 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9828 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9829 		if eval \${$cacheid+:} false; then :
   9830   $as_echo_n "(cached) " >&6
   9831 else
   9832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9833 /* end confdefs.h.  */
   9834 int i;
   9835 int
   9836 main ()
   9837 {
   9838 
   9839   ;
   9840   return 0;
   9841 }
   9842 _ACEOF
   9843 if ac_fn_c_try_link "$LINENO"; then :
   9844   eval $cacheid=yes
   9845 else
   9846   eval $cacheid=no
   9847 fi
   9848 rm -f core conftest.err conftest.$ac_objext \
   9849     conftest$ac_exeext conftest.$ac_ext
   9850 fi
   9851 
   9852 
   9853 		CFLAGS="$xorg_testset_save_CFLAGS"
   9854 
   9855 		eval supported=\$$cacheid
   9856 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9857 $as_echo "$supported" >&6; }
   9858 		if test "$supported" = "yes" ; then
   9859 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9860 			found="yes"
   9861 		fi
   9862 	fi
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 xorg_testset_save_CFLAGS="$CFLAGS"
   9879 
   9880 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9881 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9882 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9883 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9884 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9885   $as_echo_n "(cached) " >&6
   9886 else
   9887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9888 /* end confdefs.h.  */
   9889 int i;
   9890 _ACEOF
   9891 if ac_fn_c_try_compile "$LINENO"; then :
   9892   xorg_cv_cc_flag_unknown_warning_option=yes
   9893 else
   9894   xorg_cv_cc_flag_unknown_warning_option=no
   9895 fi
   9896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9897 fi
   9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9899 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9900 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9901 	CFLAGS="$xorg_testset_save_CFLAGS"
   9902 fi
   9903 
   9904 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9905 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9906 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9907 	fi
   9908 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9910 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9911 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9912   $as_echo_n "(cached) " >&6
   9913 else
   9914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9915 /* end confdefs.h.  */
   9916 int i;
   9917 _ACEOF
   9918 if ac_fn_c_try_compile "$LINENO"; then :
   9919   xorg_cv_cc_flag_unused_command_line_argument=yes
   9920 else
   9921   xorg_cv_cc_flag_unused_command_line_argument=no
   9922 fi
   9923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9924 fi
   9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9926 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9927 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9928 	CFLAGS="$xorg_testset_save_CFLAGS"
   9929 fi
   9930 
   9931 found="no"
   9932 
   9933 	if test $found = "no" ; then
   9934 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9935 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9936 		fi
   9937 
   9938 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9939 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9940 		fi
   9941 
   9942 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9943 
   9944 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9945 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9946 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9947 		if eval \${$cacheid+:} false; then :
   9948   $as_echo_n "(cached) " >&6
   9949 else
   9950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9951 /* end confdefs.h.  */
   9952 int i;
   9953 int
   9954 main ()
   9955 {
   9956 
   9957   ;
   9958   return 0;
   9959 }
   9960 _ACEOF
   9961 if ac_fn_c_try_link "$LINENO"; then :
   9962   eval $cacheid=yes
   9963 else
   9964   eval $cacheid=no
   9965 fi
   9966 rm -f core conftest.err conftest.$ac_objext \
   9967     conftest$ac_exeext conftest.$ac_ext
   9968 fi
   9969 
   9970 
   9971 		CFLAGS="$xorg_testset_save_CFLAGS"
   9972 
   9973 		eval supported=\$$cacheid
   9974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9975 $as_echo "$supported" >&6; }
   9976 		if test "$supported" = "yes" ; then
   9977 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9978 			found="yes"
   9979 		fi
   9980 	fi
   9981 
   9982 
   9983 fi
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 		CWARNFLAGS="$BASE_CFLAGS"
   9992 		if  test "x$GCC" = xyes ; then
   9993 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9994 		fi
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 # Check whether --enable-strict-compilation was given.
   10004 if test "${enable_strict_compilation+set}" = set; then :
   10005   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10006 else
   10007   STRICT_COMPILE=no
   10008 fi
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 STRICT_CFLAGS=""
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 xorg_testset_save_CFLAGS="$CFLAGS"
   10030 
   10031 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10032 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10034 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10035 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10036   $as_echo_n "(cached) " >&6
   10037 else
   10038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10039 /* end confdefs.h.  */
   10040 int i;
   10041 _ACEOF
   10042 if ac_fn_c_try_compile "$LINENO"; then :
   10043   xorg_cv_cc_flag_unknown_warning_option=yes
   10044 else
   10045   xorg_cv_cc_flag_unknown_warning_option=no
   10046 fi
   10047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10048 fi
   10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10050 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10052 	CFLAGS="$xorg_testset_save_CFLAGS"
   10053 fi
   10054 
   10055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10058 	fi
   10059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10061 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10062 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10063   $as_echo_n "(cached) " >&6
   10064 else
   10065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10066 /* end confdefs.h.  */
   10067 int i;
   10068 _ACEOF
   10069 if ac_fn_c_try_compile "$LINENO"; then :
   10070   xorg_cv_cc_flag_unused_command_line_argument=yes
   10071 else
   10072   xorg_cv_cc_flag_unused_command_line_argument=no
   10073 fi
   10074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10075 fi
   10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10077 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10078 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10079 	CFLAGS="$xorg_testset_save_CFLAGS"
   10080 fi
   10081 
   10082 found="no"
   10083 
   10084 	if test $found = "no" ; then
   10085 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10087 		fi
   10088 
   10089 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10091 		fi
   10092 
   10093 		CFLAGS="$CFLAGS -pedantic"
   10094 
   10095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10096 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10097 		cacheid=xorg_cv_cc_flag__pedantic
   10098 		if eval \${$cacheid+:} false; then :
   10099   $as_echo_n "(cached) " >&6
   10100 else
   10101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10102 /* end confdefs.h.  */
   10103 int i;
   10104 int
   10105 main ()
   10106 {
   10107 
   10108   ;
   10109   return 0;
   10110 }
   10111 _ACEOF
   10112 if ac_fn_c_try_link "$LINENO"; then :
   10113   eval $cacheid=yes
   10114 else
   10115   eval $cacheid=no
   10116 fi
   10117 rm -f core conftest.err conftest.$ac_objext \
   10118     conftest$ac_exeext conftest.$ac_ext
   10119 fi
   10120 
   10121 
   10122 		CFLAGS="$xorg_testset_save_CFLAGS"
   10123 
   10124 		eval supported=\$$cacheid
   10125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10126 $as_echo "$supported" >&6; }
   10127 		if test "$supported" = "yes" ; then
   10128 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10129 			found="yes"
   10130 		fi
   10131 	fi
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 xorg_testset_save_CFLAGS="$CFLAGS"
   10148 
   10149 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10152 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10153 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10154   $as_echo_n "(cached) " >&6
   10155 else
   10156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10157 /* end confdefs.h.  */
   10158 int i;
   10159 _ACEOF
   10160 if ac_fn_c_try_compile "$LINENO"; then :
   10161   xorg_cv_cc_flag_unknown_warning_option=yes
   10162 else
   10163   xorg_cv_cc_flag_unknown_warning_option=no
   10164 fi
   10165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10166 fi
   10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10168 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10170 	CFLAGS="$xorg_testset_save_CFLAGS"
   10171 fi
   10172 
   10173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10176 	fi
   10177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10179 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10180 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10181   $as_echo_n "(cached) " >&6
   10182 else
   10183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10184 /* end confdefs.h.  */
   10185 int i;
   10186 _ACEOF
   10187 if ac_fn_c_try_compile "$LINENO"; then :
   10188   xorg_cv_cc_flag_unused_command_line_argument=yes
   10189 else
   10190   xorg_cv_cc_flag_unused_command_line_argument=no
   10191 fi
   10192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10193 fi
   10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10195 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10196 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10197 	CFLAGS="$xorg_testset_save_CFLAGS"
   10198 fi
   10199 
   10200 found="no"
   10201 
   10202 	if test $found = "no" ; then
   10203 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10204 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10205 		fi
   10206 
   10207 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10208 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10209 		fi
   10210 
   10211 		CFLAGS="$CFLAGS -Werror"
   10212 
   10213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10214 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10215 		cacheid=xorg_cv_cc_flag__Werror
   10216 		if eval \${$cacheid+:} false; then :
   10217   $as_echo_n "(cached) " >&6
   10218 else
   10219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10220 /* end confdefs.h.  */
   10221 int i;
   10222 int
   10223 main ()
   10224 {
   10225 
   10226   ;
   10227   return 0;
   10228 }
   10229 _ACEOF
   10230 if ac_fn_c_try_link "$LINENO"; then :
   10231   eval $cacheid=yes
   10232 else
   10233   eval $cacheid=no
   10234 fi
   10235 rm -f core conftest.err conftest.$ac_objext \
   10236     conftest$ac_exeext conftest.$ac_ext
   10237 fi
   10238 
   10239 
   10240 		CFLAGS="$xorg_testset_save_CFLAGS"
   10241 
   10242 		eval supported=\$$cacheid
   10243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10244 $as_echo "$supported" >&6; }
   10245 		if test "$supported" = "yes" ; then
   10246 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10247 			found="yes"
   10248 		fi
   10249 	fi
   10250 
   10251 	if test $found = "no" ; then
   10252 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10253 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10254 		fi
   10255 
   10256 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10257 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10258 		fi
   10259 
   10260 		CFLAGS="$CFLAGS -errwarn"
   10261 
   10262 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10263 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10264 		cacheid=xorg_cv_cc_flag__errwarn
   10265 		if eval \${$cacheid+:} false; then :
   10266   $as_echo_n "(cached) " >&6
   10267 else
   10268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10269 /* end confdefs.h.  */
   10270 int i;
   10271 int
   10272 main ()
   10273 {
   10274 
   10275   ;
   10276   return 0;
   10277 }
   10278 _ACEOF
   10279 if ac_fn_c_try_link "$LINENO"; then :
   10280   eval $cacheid=yes
   10281 else
   10282   eval $cacheid=no
   10283 fi
   10284 rm -f core conftest.err conftest.$ac_objext \
   10285     conftest$ac_exeext conftest.$ac_ext
   10286 fi
   10287 
   10288 
   10289 		CFLAGS="$xorg_testset_save_CFLAGS"
   10290 
   10291 		eval supported=\$$cacheid
   10292 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10293 $as_echo "$supported" >&6; }
   10294 		if test "$supported" = "yes" ; then
   10295 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10296 			found="yes"
   10297 		fi
   10298 	fi
   10299 
   10300 
   10301 
   10302 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10303 # activate it with -Werror, so we add it here explicitly.
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 xorg_testset_save_CFLAGS="$CFLAGS"
   10318 
   10319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10322 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10323 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10324   $as_echo_n "(cached) " >&6
   10325 else
   10326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10327 /* end confdefs.h.  */
   10328 int i;
   10329 _ACEOF
   10330 if ac_fn_c_try_compile "$LINENO"; then :
   10331   xorg_cv_cc_flag_unknown_warning_option=yes
   10332 else
   10333   xorg_cv_cc_flag_unknown_warning_option=no
   10334 fi
   10335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10336 fi
   10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10338 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10340 	CFLAGS="$xorg_testset_save_CFLAGS"
   10341 fi
   10342 
   10343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10346 	fi
   10347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10349 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10350 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10351   $as_echo_n "(cached) " >&6
   10352 else
   10353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10354 /* end confdefs.h.  */
   10355 int i;
   10356 _ACEOF
   10357 if ac_fn_c_try_compile "$LINENO"; then :
   10358   xorg_cv_cc_flag_unused_command_line_argument=yes
   10359 else
   10360   xorg_cv_cc_flag_unused_command_line_argument=no
   10361 fi
   10362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10363 fi
   10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10365 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10367 	CFLAGS="$xorg_testset_save_CFLAGS"
   10368 fi
   10369 
   10370 found="no"
   10371 
   10372 	if test $found = "no" ; then
   10373 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10375 		fi
   10376 
   10377 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10379 		fi
   10380 
   10381 		CFLAGS="$CFLAGS -Werror=attributes"
   10382 
   10383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10384 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10385 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10386 		if eval \${$cacheid+:} false; then :
   10387   $as_echo_n "(cached) " >&6
   10388 else
   10389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10390 /* end confdefs.h.  */
   10391 int i;
   10392 int
   10393 main ()
   10394 {
   10395 
   10396   ;
   10397   return 0;
   10398 }
   10399 _ACEOF
   10400 if ac_fn_c_try_link "$LINENO"; then :
   10401   eval $cacheid=yes
   10402 else
   10403   eval $cacheid=no
   10404 fi
   10405 rm -f core conftest.err conftest.$ac_objext \
   10406     conftest$ac_exeext conftest.$ac_ext
   10407 fi
   10408 
   10409 
   10410 		CFLAGS="$xorg_testset_save_CFLAGS"
   10411 
   10412 		eval supported=\$$cacheid
   10413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10414 $as_echo "$supported" >&6; }
   10415 		if test "$supported" = "yes" ; then
   10416 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10417 			found="yes"
   10418 		fi
   10419 	fi
   10420 
   10421 
   10422 
   10423 if test "x$STRICT_COMPILE" = "xyes"; then
   10424     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10425     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10426 fi
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 cat >>confdefs.h <<_ACEOF
   10434 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10435 _ACEOF
   10436 
   10437 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10438 	if test "x$PVM" = "x"; then
   10439 		PVM="0"
   10440 	fi
   10441 
   10442 cat >>confdefs.h <<_ACEOF
   10443 #define PACKAGE_VERSION_MINOR $PVM
   10444 _ACEOF
   10445 
   10446 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10447 	if test "x$PVP" = "x"; then
   10448 		PVP="0"
   10449 	fi
   10450 
   10451 cat >>confdefs.h <<_ACEOF
   10452 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10453 _ACEOF
   10454 
   10455 
   10456 
   10457 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10458 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10459 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10460 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10461 
   10462 
   10463 
   10464 
   10465 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10466 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10467 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10468 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10469 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 if test x$APP_MAN_SUFFIX = x    ; then
   10477     APP_MAN_SUFFIX=1
   10478 fi
   10479 if test x$APP_MAN_DIR = x    ; then
   10480     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10481 fi
   10482 
   10483 if test x$LIB_MAN_SUFFIX = x    ; then
   10484     LIB_MAN_SUFFIX=3
   10485 fi
   10486 if test x$LIB_MAN_DIR = x    ; then
   10487     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10488 fi
   10489 
   10490 if test x$FILE_MAN_SUFFIX = x    ; then
   10491     case $host_os in
   10492 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10493 	*)		FILE_MAN_SUFFIX=5  ;;
   10494     esac
   10495 fi
   10496 if test x$FILE_MAN_DIR = x    ; then
   10497     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10498 fi
   10499 
   10500 if test x$MISC_MAN_SUFFIX = x    ; then
   10501     case $host_os in
   10502 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10503 	*)		MISC_MAN_SUFFIX=7  ;;
   10504     esac
   10505 fi
   10506 if test x$MISC_MAN_DIR = x    ; then
   10507     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10508 fi
   10509 
   10510 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10511     case $host_os in
   10512 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10513 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10514     esac
   10515 fi
   10516 if test x$DRIVER_MAN_DIR = x    ; then
   10517     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10518 fi
   10519 
   10520 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10521     case $host_os in
   10522 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10523 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10524     esac
   10525 fi
   10526 if test x$ADMIN_MAN_DIR = x    ; then
   10527     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10528 fi
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 XORG_MAN_PAGE="X Version 11"
   10545 
   10546 MAN_SUBSTS="\
   10547 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10548 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10549 	-e 's|__xservername__|Xorg|g' \
   10550 	-e 's|__xconfigfile__|xorg.conf|g' \
   10551 	-e 's|__projectroot__|\$(prefix)|g' \
   10552 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10553 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10554 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10555 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10556 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10557 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10558 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10559 
   10560 
   10561 
   10562 # Check whether --enable-silent-rules was given.
   10563 if test "${enable_silent_rules+set}" = set; then :
   10564   enableval=$enable_silent_rules;
   10565 fi
   10566 
   10567 case $enable_silent_rules in # (((
   10568   yes) AM_DEFAULT_VERBOSITY=0;;
   10569    no) AM_DEFAULT_VERBOSITY=1;;
   10570     *) AM_DEFAULT_VERBOSITY=0;;
   10571 esac
   10572 am_make=${MAKE-make}
   10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10574 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10575 if ${am_cv_make_support_nested_variables+:} false; then :
   10576   $as_echo_n "(cached) " >&6
   10577 else
   10578   if $as_echo 'TRUE=$(BAR$(V))
   10579 BAR0=false
   10580 BAR1=true
   10581 V=1
   10582 am__doit:
   10583 	@$(TRUE)
   10584 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10585   am_cv_make_support_nested_variables=yes
   10586 else
   10587   am_cv_make_support_nested_variables=no
   10588 fi
   10589 fi
   10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10591 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10592 if test $am_cv_make_support_nested_variables = yes; then
   10593     AM_V='$(V)'
   10594   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10595 else
   10596   AM_V=$AM_DEFAULT_VERBOSITY
   10597   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10598 fi
   10599 AM_BACKSLASH='\'
   10600 
   10601 
   10602 
   10603 # Checks for pkg-config packages
   10604 
   10605 pkg_failed=no
   10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BDFTOPCF" >&5
   10607 $as_echo_n "checking for BDFTOPCF... " >&6; }
   10608 
   10609 if test -n "$BDFTOPCF_CFLAGS"; then
   10610     pkg_cv_BDFTOPCF_CFLAGS="$BDFTOPCF_CFLAGS"
   10611  elif test -n "$PKG_CONFIG"; then
   10612     if test -n "$PKG_CONFIG" && \
   10613     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfont\""; } >&5
   10614   ($PKG_CONFIG --exists --print-errors "xfont") 2>&5
   10615   ac_status=$?
   10616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10617   test $ac_status = 0; }; then
   10618   pkg_cv_BDFTOPCF_CFLAGS=`$PKG_CONFIG --cflags "xfont" 2>/dev/null`
   10619 else
   10620   pkg_failed=yes
   10621 fi
   10622  else
   10623     pkg_failed=untried
   10624 fi
   10625 if test -n "$BDFTOPCF_LIBS"; then
   10626     pkg_cv_BDFTOPCF_LIBS="$BDFTOPCF_LIBS"
   10627  elif test -n "$PKG_CONFIG"; then
   10628     if test -n "$PKG_CONFIG" && \
   10629     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfont\""; } >&5
   10630   ($PKG_CONFIG --exists --print-errors "xfont") 2>&5
   10631   ac_status=$?
   10632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10633   test $ac_status = 0; }; then
   10634   pkg_cv_BDFTOPCF_LIBS=`$PKG_CONFIG --libs "xfont" 2>/dev/null`
   10635 else
   10636   pkg_failed=yes
   10637 fi
   10638  else
   10639     pkg_failed=untried
   10640 fi
   10641 
   10642 
   10643 
   10644 if test $pkg_failed = yes; then
   10645 
   10646 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10647         _pkg_short_errors_supported=yes
   10648 else
   10649         _pkg_short_errors_supported=no
   10650 fi
   10651         if test $_pkg_short_errors_supported = yes; then
   10652 	        BDFTOPCF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xfont" 2>&1`
   10653         else
   10654 	        BDFTOPCF_PKG_ERRORS=`$PKG_CONFIG --print-errors "xfont" 2>&1`
   10655         fi
   10656 	# Put the nasty error message in config.log where it belongs
   10657 	echo "$BDFTOPCF_PKG_ERRORS" >&5
   10658 
   10659 	as_fn_error $? "Package requirements (xfont) were not met:
   10660 
   10661 $BDFTOPCF_PKG_ERRORS
   10662 
   10663 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10664 installed software in a non-standard prefix.
   10665 
   10666 Alternatively, you may set the environment variables BDFTOPCF_CFLAGS
   10667 and BDFTOPCF_LIBS to avoid the need to call pkg-config.
   10668 See the pkg-config man page for more details.
   10669 " "$LINENO" 5
   10670 elif test $pkg_failed = untried; then
   10671 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10673 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10674 is in your PATH or set the PKG_CONFIG environment variable to the full
   10675 path to pkg-config.
   10676 
   10677 Alternatively, you may set the environment variables BDFTOPCF_CFLAGS
   10678 and BDFTOPCF_LIBS to avoid the need to call pkg-config.
   10679 See the pkg-config man page for more details.
   10680 
   10681 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10682 See \`config.log' for more details" "$LINENO" 5; }
   10683 else
   10684 	BDFTOPCF_CFLAGS=$pkg_cv_BDFTOPCF_CFLAGS
   10685 	BDFTOPCF_LIBS=$pkg_cv_BDFTOPCF_LIBS
   10686         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10687 $as_echo "yes" >&6; }
   10688 	:
   10689 fi
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 # Check whether --with-lint was given.
   10697 if test "${with_lint+set}" = set; then :
   10698   withval=$with_lint; use_lint=$withval
   10699 else
   10700   use_lint=no
   10701 fi
   10702 
   10703 
   10704 # Obtain platform specific info like program name and options
   10705 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   10706 case $host_os in
   10707   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   10708 	lint_name=splint
   10709 	lint_options="-badflag"
   10710 	;;
   10711   *freebsd* | *netbsd*)
   10712 	lint_name=lint
   10713 	lint_options="-u -b"
   10714 	;;
   10715   *solaris*)
   10716 	lint_name=lint
   10717 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   10718 	;;
   10719 esac
   10720 
   10721 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   10722 if test "x$use_lint" = x"yes" ; then
   10723    # Extract the first word of "$lint_name", so it can be a program name with args.
   10724 set dummy $lint_name; ac_word=$2
   10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10726 $as_echo_n "checking for $ac_word... " >&6; }
   10727 if ${ac_cv_path_LINT+:} false; then :
   10728   $as_echo_n "(cached) " >&6
   10729 else
   10730   case $LINT in
   10731   [\\/]* | ?:[\\/]*)
   10732   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   10733   ;;
   10734   *)
   10735   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10736 for as_dir in $PATH
   10737 do
   10738   IFS=$as_save_IFS
   10739   test -z "$as_dir" && as_dir=.
   10740     for ac_exec_ext in '' $ac_executable_extensions; do
   10741   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10742     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   10743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10744     break 2
   10745   fi
   10746 done
   10747   done
   10748 IFS=$as_save_IFS
   10749 
   10750   ;;
   10751 esac
   10752 fi
   10753 LINT=$ac_cv_path_LINT
   10754 if test -n "$LINT"; then
   10755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   10756 $as_echo "$LINT" >&6; }
   10757 else
   10758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10759 $as_echo "no" >&6; }
   10760 fi
   10761 
   10762 
   10763    if test "x$LINT" = "x"; then
   10764         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   10765    fi
   10766 elif test "x$use_lint" = x"no" ; then
   10767    if test "x$LINT" != "x"; then
   10768       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   10769 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   10770    fi
   10771 else
   10772    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   10773 fi
   10774 
   10775 # User supplied flags override default flags
   10776 if test "x$LINT_FLAGS" != "x"; then
   10777    lint_options=$LINT_FLAGS
   10778 fi
   10779 
   10780 LINT_FLAGS=$lint_options
   10781 
   10782  if test "x$LINT" != x; then
   10783   LINT_TRUE=
   10784   LINT_FALSE='#'
   10785 else
   10786   LINT_TRUE='#'
   10787   LINT_FALSE=
   10788 fi
   10789 
   10790 
   10791 
   10792 
   10793 ac_config_files="$ac_config_files Makefile man/Makefile"
   10794 
   10795 cat >confcache <<\_ACEOF
   10796 # This file is a shell script that caches the results of configure
   10797 # tests run on this system so they can be shared between configure
   10798 # scripts and configure runs, see configure's option --config-cache.
   10799 # It is not useful on other systems.  If it contains results you don't
   10800 # want to keep, you may remove or edit it.
   10801 #
   10802 # config.status only pays attention to the cache file if you give it
   10803 # the --recheck option to rerun configure.
   10804 #
   10805 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10806 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10807 # following values.
   10808 
   10809 _ACEOF
   10810 
   10811 # The following way of writing the cache mishandles newlines in values,
   10812 # but we know of no workaround that is simple, portable, and efficient.
   10813 # So, we kill variables containing newlines.
   10814 # Ultrix sh set writes to stderr and can't be redirected directly,
   10815 # and sets the high bit in the cache file unless we assign to the vars.
   10816 (
   10817   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10818     eval ac_val=\$$ac_var
   10819     case $ac_val in #(
   10820     *${as_nl}*)
   10821       case $ac_var in #(
   10822       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10823 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10824       esac
   10825       case $ac_var in #(
   10826       _ | IFS | as_nl) ;; #(
   10827       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10828       *) { eval $ac_var=; unset $ac_var;} ;;
   10829       esac ;;
   10830     esac
   10831   done
   10832 
   10833   (set) 2>&1 |
   10834     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10835     *${as_nl}ac_space=\ *)
   10836       # `set' does not quote correctly, so add quotes: double-quote
   10837       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10838       sed -n \
   10839 	"s/'/'\\\\''/g;
   10840 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10841       ;; #(
   10842     *)
   10843       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10844       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10845       ;;
   10846     esac |
   10847     sort
   10848 ) |
   10849   sed '
   10850      /^ac_cv_env_/b end
   10851      t clear
   10852      :clear
   10853      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10854      t end
   10855      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10856      :end' >>confcache
   10857 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10858   if test -w "$cache_file"; then
   10859     if test "x$cache_file" != "x/dev/null"; then
   10860       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10861 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10862       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10863 	cat confcache >"$cache_file"
   10864       else
   10865         case $cache_file in #(
   10866         */* | ?:*)
   10867 	  mv -f confcache "$cache_file"$$ &&
   10868 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10869         *)
   10870 	  mv -f confcache "$cache_file" ;;
   10871 	esac
   10872       fi
   10873     fi
   10874   else
   10875     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10876 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10877   fi
   10878 fi
   10879 rm -f confcache
   10880 
   10881 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10882 # Let make expand exec_prefix.
   10883 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10884 
   10885 DEFS=-DHAVE_CONFIG_H
   10886 
   10887 ac_libobjs=
   10888 ac_ltlibobjs=
   10889 U=
   10890 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10891   # 1. Remove the extension, and $U if already installed.
   10892   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10893   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10894   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10895   #    will be set to the directory where LIBOBJS objects are built.
   10896   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10897   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10898 done
   10899 LIBOBJS=$ac_libobjs
   10900 
   10901 LTLIBOBJS=$ac_ltlibobjs
   10902 
   10903 
   10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10905 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10906    if test -n "$am_sleep_pid"; then
   10907      # Hide warnings about reused PIDs.
   10908      wait $am_sleep_pid 2>/dev/null
   10909    fi
   10910    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10911 $as_echo "done" >&6; }
   10912  if test -n "$EXEEXT"; then
   10913   am__EXEEXT_TRUE=
   10914   am__EXEEXT_FALSE='#'
   10915 else
   10916   am__EXEEXT_TRUE='#'
   10917   am__EXEEXT_FALSE=
   10918 fi
   10919 
   10920 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10921   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10923 fi
   10924 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10925   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10927 fi
   10928 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   10929   as_fn_error $? "conditional \"LINT\" was never defined.
   10930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10931 fi
   10932 
   10933 : "${CONFIG_STATUS=./config.status}"
   10934 ac_write_fail=0
   10935 ac_clean_files_save=$ac_clean_files
   10936 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10937 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10938 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10939 as_write_fail=0
   10940 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10941 #! $SHELL
   10942 # Generated by $as_me.
   10943 # Run this file to recreate the current configuration.
   10944 # Compiler output produced by configure, useful for debugging
   10945 # configure, is in config.log if it exists.
   10946 
   10947 debug=false
   10948 ac_cs_recheck=false
   10949 ac_cs_silent=false
   10950 
   10951 SHELL=\${CONFIG_SHELL-$SHELL}
   10952 export SHELL
   10953 _ASEOF
   10954 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10955 ## -------------------- ##
   10956 ## M4sh Initialization. ##
   10957 ## -------------------- ##
   10958 
   10959 # Be more Bourne compatible
   10960 DUALCASE=1; export DUALCASE # for MKS sh
   10961 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10962   emulate sh
   10963   NULLCMD=:
   10964   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10965   # is contrary to our usage.  Disable this feature.
   10966   alias -g '${1+"$@"}'='"$@"'
   10967   setopt NO_GLOB_SUBST
   10968 else
   10969   case `(set -o) 2>/dev/null` in #(
   10970   *posix*) :
   10971     set -o posix ;; #(
   10972   *) :
   10973      ;;
   10974 esac
   10975 fi
   10976 
   10977 
   10978 as_nl='
   10979 '
   10980 export as_nl
   10981 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10982 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10983 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10984 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10985 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10986 # but without wasting forks for bash or zsh.
   10987 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10988     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10989   as_echo='print -r --'
   10990   as_echo_n='print -rn --'
   10991 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10992   as_echo='printf %s\n'
   10993   as_echo_n='printf %s'
   10994 else
   10995   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10996     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10997     as_echo_n='/usr/ucb/echo -n'
   10998   else
   10999     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11000     as_echo_n_body='eval
   11001       arg=$1;
   11002       case $arg in #(
   11003       *"$as_nl"*)
   11004 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11005 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11006       esac;
   11007       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11008     '
   11009     export as_echo_n_body
   11010     as_echo_n='sh -c $as_echo_n_body as_echo'
   11011   fi
   11012   export as_echo_body
   11013   as_echo='sh -c $as_echo_body as_echo'
   11014 fi
   11015 
   11016 # The user is always right.
   11017 if test "${PATH_SEPARATOR+set}" != set; then
   11018   PATH_SEPARATOR=:
   11019   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11020     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11021       PATH_SEPARATOR=';'
   11022   }
   11023 fi
   11024 
   11025 
   11026 # IFS
   11027 # We need space, tab and new line, in precisely that order.  Quoting is
   11028 # there to prevent editors from complaining about space-tab.
   11029 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11030 # splitting by setting IFS to empty value.)
   11031 IFS=" ""	$as_nl"
   11032 
   11033 # Find who we are.  Look in the path if we contain no directory separator.
   11034 as_myself=
   11035 case $0 in #((
   11036   *[\\/]* ) as_myself=$0 ;;
   11037   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11038 for as_dir in $PATH
   11039 do
   11040   IFS=$as_save_IFS
   11041   test -z "$as_dir" && as_dir=.
   11042     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11043   done
   11044 IFS=$as_save_IFS
   11045 
   11046      ;;
   11047 esac
   11048 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11049 # in which case we are not to be found in the path.
   11050 if test "x$as_myself" = x; then
   11051   as_myself=$0
   11052 fi
   11053 if test ! -f "$as_myself"; then
   11054   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11055   exit 1
   11056 fi
   11057 
   11058 # Unset variables that we do not need and which cause bugs (e.g. in
   11059 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11060 # suppresses any "Segmentation fault" message there.  '((' could
   11061 # trigger a bug in pdksh 5.2.14.
   11062 for as_var in BASH_ENV ENV MAIL MAILPATH
   11063 do eval test x\${$as_var+set} = xset \
   11064   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11065 done
   11066 PS1='$ '
   11067 PS2='> '
   11068 PS4='+ '
   11069 
   11070 # NLS nuisances.
   11071 LC_ALL=C
   11072 export LC_ALL
   11073 LANGUAGE=C
   11074 export LANGUAGE
   11075 
   11076 # CDPATH.
   11077 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11078 
   11079 
   11080 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11081 # ----------------------------------------
   11082 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11083 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11084 # script with STATUS, using 1 if that was 0.
   11085 as_fn_error ()
   11086 {
   11087   as_status=$1; test $as_status -eq 0 && as_status=1
   11088   if test "$4"; then
   11089     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11090     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11091   fi
   11092   $as_echo "$as_me: error: $2" >&2
   11093   as_fn_exit $as_status
   11094 } # as_fn_error
   11095 
   11096 
   11097 # as_fn_set_status STATUS
   11098 # -----------------------
   11099 # Set $? to STATUS, without forking.
   11100 as_fn_set_status ()
   11101 {
   11102   return $1
   11103 } # as_fn_set_status
   11104 
   11105 # as_fn_exit STATUS
   11106 # -----------------
   11107 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11108 as_fn_exit ()
   11109 {
   11110   set +e
   11111   as_fn_set_status $1
   11112   exit $1
   11113 } # as_fn_exit
   11114 
   11115 # as_fn_unset VAR
   11116 # ---------------
   11117 # Portably unset VAR.
   11118 as_fn_unset ()
   11119 {
   11120   { eval $1=; unset $1;}
   11121 }
   11122 as_unset=as_fn_unset
   11123 # as_fn_append VAR VALUE
   11124 # ----------------------
   11125 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11126 # advantage of any shell optimizations that allow amortized linear growth over
   11127 # repeated appends, instead of the typical quadratic growth present in naive
   11128 # implementations.
   11129 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11130   eval 'as_fn_append ()
   11131   {
   11132     eval $1+=\$2
   11133   }'
   11134 else
   11135   as_fn_append ()
   11136   {
   11137     eval $1=\$$1\$2
   11138   }
   11139 fi # as_fn_append
   11140 
   11141 # as_fn_arith ARG...
   11142 # ------------------
   11143 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11144 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11145 # must be portable across $(()) and expr.
   11146 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11147   eval 'as_fn_arith ()
   11148   {
   11149     as_val=$(( $* ))
   11150   }'
   11151 else
   11152   as_fn_arith ()
   11153   {
   11154     as_val=`expr "$@" || test $? -eq 1`
   11155   }
   11156 fi # as_fn_arith
   11157 
   11158 
   11159 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11160    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11161   as_expr=expr
   11162 else
   11163   as_expr=false
   11164 fi
   11165 
   11166 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11167   as_basename=basename
   11168 else
   11169   as_basename=false
   11170 fi
   11171 
   11172 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11173   as_dirname=dirname
   11174 else
   11175   as_dirname=false
   11176 fi
   11177 
   11178 as_me=`$as_basename -- "$0" ||
   11179 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11180 	 X"$0" : 'X\(//\)$' \| \
   11181 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11182 $as_echo X/"$0" |
   11183     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11184 	    s//\1/
   11185 	    q
   11186 	  }
   11187 	  /^X\/\(\/\/\)$/{
   11188 	    s//\1/
   11189 	    q
   11190 	  }
   11191 	  /^X\/\(\/\).*/{
   11192 	    s//\1/
   11193 	    q
   11194 	  }
   11195 	  s/.*/./; q'`
   11196 
   11197 # Avoid depending upon Character Ranges.
   11198 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11199 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11200 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11201 as_cr_digits='0123456789'
   11202 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11203 
   11204 ECHO_C= ECHO_N= ECHO_T=
   11205 case `echo -n x` in #(((((
   11206 -n*)
   11207   case `echo 'xy\c'` in
   11208   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11209   xy)  ECHO_C='\c';;
   11210   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11211        ECHO_T='	';;
   11212   esac;;
   11213 *)
   11214   ECHO_N='-n';;
   11215 esac
   11216 
   11217 rm -f conf$$ conf$$.exe conf$$.file
   11218 if test -d conf$$.dir; then
   11219   rm -f conf$$.dir/conf$$.file
   11220 else
   11221   rm -f conf$$.dir
   11222   mkdir conf$$.dir 2>/dev/null
   11223 fi
   11224 if (echo >conf$$.file) 2>/dev/null; then
   11225   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11226     as_ln_s='ln -s'
   11227     # ... but there are two gotchas:
   11228     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11229     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11230     # In both cases, we have to default to `cp -pR'.
   11231     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11232       as_ln_s='cp -pR'
   11233   elif ln conf$$.file conf$$ 2>/dev/null; then
   11234     as_ln_s=ln
   11235   else
   11236     as_ln_s='cp -pR'
   11237   fi
   11238 else
   11239   as_ln_s='cp -pR'
   11240 fi
   11241 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11242 rmdir conf$$.dir 2>/dev/null
   11243 
   11244 
   11245 # as_fn_mkdir_p
   11246 # -------------
   11247 # Create "$as_dir" as a directory, including parents if necessary.
   11248 as_fn_mkdir_p ()
   11249 {
   11250 
   11251   case $as_dir in #(
   11252   -*) as_dir=./$as_dir;;
   11253   esac
   11254   test -d "$as_dir" || eval $as_mkdir_p || {
   11255     as_dirs=
   11256     while :; do
   11257       case $as_dir in #(
   11258       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11259       *) as_qdir=$as_dir;;
   11260       esac
   11261       as_dirs="'$as_qdir' $as_dirs"
   11262       as_dir=`$as_dirname -- "$as_dir" ||
   11263 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11264 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11265 	 X"$as_dir" : 'X\(//\)$' \| \
   11266 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11267 $as_echo X"$as_dir" |
   11268     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11269 	    s//\1/
   11270 	    q
   11271 	  }
   11272 	  /^X\(\/\/\)[^/].*/{
   11273 	    s//\1/
   11274 	    q
   11275 	  }
   11276 	  /^X\(\/\/\)$/{
   11277 	    s//\1/
   11278 	    q
   11279 	  }
   11280 	  /^X\(\/\).*/{
   11281 	    s//\1/
   11282 	    q
   11283 	  }
   11284 	  s/.*/./; q'`
   11285       test -d "$as_dir" && break
   11286     done
   11287     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11288   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11289 
   11290 
   11291 } # as_fn_mkdir_p
   11292 if mkdir -p . 2>/dev/null; then
   11293   as_mkdir_p='mkdir -p "$as_dir"'
   11294 else
   11295   test -d ./-p && rmdir ./-p
   11296   as_mkdir_p=false
   11297 fi
   11298 
   11299 
   11300 # as_fn_executable_p FILE
   11301 # -----------------------
   11302 # Test if FILE is an executable regular file.
   11303 as_fn_executable_p ()
   11304 {
   11305   test -f "$1" && test -x "$1"
   11306 } # as_fn_executable_p
   11307 as_test_x='test -x'
   11308 as_executable_p=as_fn_executable_p
   11309 
   11310 # Sed expression to map a string onto a valid CPP name.
   11311 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11312 
   11313 # Sed expression to map a string onto a valid variable name.
   11314 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11315 
   11316 
   11317 exec 6>&1
   11318 ## ----------------------------------- ##
   11319 ## Main body of $CONFIG_STATUS script. ##
   11320 ## ----------------------------------- ##
   11321 _ASEOF
   11322 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11323 
   11324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11325 # Save the log message, to keep $0 and so on meaningful, and to
   11326 # report actual input values of CONFIG_FILES etc. instead of their
   11327 # values after options handling.
   11328 ac_log="
   11329 This file was extended by bdftopcf $as_me 1.0.5, which was
   11330 generated by GNU Autoconf 2.69.  Invocation command line was
   11331 
   11332   CONFIG_FILES    = $CONFIG_FILES
   11333   CONFIG_HEADERS  = $CONFIG_HEADERS
   11334   CONFIG_LINKS    = $CONFIG_LINKS
   11335   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11336   $ $0 $@
   11337 
   11338 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11339 "
   11340 
   11341 _ACEOF
   11342 
   11343 case $ac_config_files in *"
   11344 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11345 esac
   11346 
   11347 case $ac_config_headers in *"
   11348 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11349 esac
   11350 
   11351 
   11352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11353 # Files that config.status was made for.
   11354 config_files="$ac_config_files"
   11355 config_headers="$ac_config_headers"
   11356 config_commands="$ac_config_commands"
   11357 
   11358 _ACEOF
   11359 
   11360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11361 ac_cs_usage="\
   11362 \`$as_me' instantiates files and other configuration actions
   11363 from templates according to the current configuration.  Unless the files
   11364 and actions are specified as TAGs, all are instantiated by default.
   11365 
   11366 Usage: $0 [OPTION]... [TAG]...
   11367 
   11368   -h, --help       print this help, then exit
   11369   -V, --version    print version number and configuration settings, then exit
   11370       --config     print configuration, then exit
   11371   -q, --quiet, --silent
   11372                    do not print progress messages
   11373   -d, --debug      don't remove temporary files
   11374       --recheck    update $as_me by reconfiguring in the same conditions
   11375       --file=FILE[:TEMPLATE]
   11376                    instantiate the configuration file FILE
   11377       --header=FILE[:TEMPLATE]
   11378                    instantiate the configuration header FILE
   11379 
   11380 Configuration files:
   11381 $config_files
   11382 
   11383 Configuration headers:
   11384 $config_headers
   11385 
   11386 Configuration commands:
   11387 $config_commands
   11388 
   11389 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11390 
   11391 _ACEOF
   11392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11393 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11394 ac_cs_version="\\
   11395 bdftopcf config.status 1.0.5
   11396 configured by $0, generated by GNU Autoconf 2.69,
   11397   with options \\"\$ac_cs_config\\"
   11398 
   11399 Copyright (C) 2012 Free Software Foundation, Inc.
   11400 This config.status script is free software; the Free Software Foundation
   11401 gives unlimited permission to copy, distribute and modify it."
   11402 
   11403 ac_pwd='$ac_pwd'
   11404 srcdir='$srcdir'
   11405 INSTALL='$INSTALL'
   11406 MKDIR_P='$MKDIR_P'
   11407 AWK='$AWK'
   11408 test -n "\$AWK" || AWK=awk
   11409 _ACEOF
   11410 
   11411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11412 # The default lists apply if the user does not specify any file.
   11413 ac_need_defaults=:
   11414 while test $# != 0
   11415 do
   11416   case $1 in
   11417   --*=?*)
   11418     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11419     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11420     ac_shift=:
   11421     ;;
   11422   --*=)
   11423     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11424     ac_optarg=
   11425     ac_shift=:
   11426     ;;
   11427   *)
   11428     ac_option=$1
   11429     ac_optarg=$2
   11430     ac_shift=shift
   11431     ;;
   11432   esac
   11433 
   11434   case $ac_option in
   11435   # Handling of the options.
   11436   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11437     ac_cs_recheck=: ;;
   11438   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11439     $as_echo "$ac_cs_version"; exit ;;
   11440   --config | --confi | --conf | --con | --co | --c )
   11441     $as_echo "$ac_cs_config"; exit ;;
   11442   --debug | --debu | --deb | --de | --d | -d )
   11443     debug=: ;;
   11444   --file | --fil | --fi | --f )
   11445     $ac_shift
   11446     case $ac_optarg in
   11447     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11448     '') as_fn_error $? "missing file argument" ;;
   11449     esac
   11450     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11451     ac_need_defaults=false;;
   11452   --header | --heade | --head | --hea )
   11453     $ac_shift
   11454     case $ac_optarg in
   11455     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11456     esac
   11457     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11458     ac_need_defaults=false;;
   11459   --he | --h)
   11460     # Conflict between --help and --header
   11461     as_fn_error $? "ambiguous option: \`$1'
   11462 Try \`$0 --help' for more information.";;
   11463   --help | --hel | -h )
   11464     $as_echo "$ac_cs_usage"; exit ;;
   11465   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11466   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11467     ac_cs_silent=: ;;
   11468 
   11469   # This is an error.
   11470   -*) as_fn_error $? "unrecognized option: \`$1'
   11471 Try \`$0 --help' for more information." ;;
   11472 
   11473   *) as_fn_append ac_config_targets " $1"
   11474      ac_need_defaults=false ;;
   11475 
   11476   esac
   11477   shift
   11478 done
   11479 
   11480 ac_configure_extra_args=
   11481 
   11482 if $ac_cs_silent; then
   11483   exec 6>/dev/null
   11484   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11485 fi
   11486 
   11487 _ACEOF
   11488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11489 if \$ac_cs_recheck; then
   11490   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11491   shift
   11492   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11493   CONFIG_SHELL='$SHELL'
   11494   export CONFIG_SHELL
   11495   exec "\$@"
   11496 fi
   11497 
   11498 _ACEOF
   11499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11500 exec 5>>config.log
   11501 {
   11502   echo
   11503   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11504 ## Running $as_me. ##
   11505 _ASBOX
   11506   $as_echo "$ac_log"
   11507 } >&5
   11508 
   11509 _ACEOF
   11510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11511 #
   11512 # INIT-COMMANDS
   11513 #
   11514 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11515 
   11516 _ACEOF
   11517 
   11518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11519 
   11520 # Handling of arguments.
   11521 for ac_config_target in $ac_config_targets
   11522 do
   11523   case $ac_config_target in
   11524     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11525     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11526     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11527     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11528 
   11529   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11530   esac
   11531 done
   11532 
   11533 
   11534 # If the user did not use the arguments to specify the items to instantiate,
   11535 # then the envvar interface is used.  Set only those that are not.
   11536 # We use the long form for the default assignment because of an extremely
   11537 # bizarre bug on SunOS 4.1.3.
   11538 if $ac_need_defaults; then
   11539   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11540   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11541   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11542 fi
   11543 
   11544 # Have a temporary directory for convenience.  Make it in the build tree
   11545 # simply because there is no reason against having it here, and in addition,
   11546 # creating and moving files from /tmp can sometimes cause problems.
   11547 # Hook for its removal unless debugging.
   11548 # Note that there is a small window in which the directory will not be cleaned:
   11549 # after its creation but before its name has been assigned to `$tmp'.
   11550 $debug ||
   11551 {
   11552   tmp= ac_tmp=
   11553   trap 'exit_status=$?
   11554   : "${ac_tmp:=$tmp}"
   11555   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11556 ' 0
   11557   trap 'as_fn_exit 1' 1 2 13 15
   11558 }
   11559 # Create a (secure) tmp directory for tmp files.
   11560 
   11561 {
   11562   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11563   test -d "$tmp"
   11564 }  ||
   11565 {
   11566   tmp=./conf$$-$RANDOM
   11567   (umask 077 && mkdir "$tmp")
   11568 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11569 ac_tmp=$tmp
   11570 
   11571 # Set up the scripts for CONFIG_FILES section.
   11572 # No need to generate them if there are no CONFIG_FILES.
   11573 # This happens for instance with `./config.status config.h'.
   11574 if test -n "$CONFIG_FILES"; then
   11575 
   11576 
   11577 ac_cr=`echo X | tr X '\015'`
   11578 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11579 # But we know of no other shell where ac_cr would be empty at this
   11580 # point, so we can use a bashism as a fallback.
   11581 if test "x$ac_cr" = x; then
   11582   eval ac_cr=\$\'\\r\'
   11583 fi
   11584 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11585 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11586   ac_cs_awk_cr='\\r'
   11587 else
   11588   ac_cs_awk_cr=$ac_cr
   11589 fi
   11590 
   11591 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11592 _ACEOF
   11593 
   11594 
   11595 {
   11596   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11597   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11598   echo "_ACEOF"
   11599 } >conf$$subs.sh ||
   11600   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11601 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11602 ac_delim='%!_!# '
   11603 for ac_last_try in false false false false false :; do
   11604   . ./conf$$subs.sh ||
   11605     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11606 
   11607   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11608   if test $ac_delim_n = $ac_delim_num; then
   11609     break
   11610   elif $ac_last_try; then
   11611     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11612   else
   11613     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11614   fi
   11615 done
   11616 rm -f conf$$subs.sh
   11617 
   11618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11619 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11620 _ACEOF
   11621 sed -n '
   11622 h
   11623 s/^/S["/; s/!.*/"]=/
   11624 p
   11625 g
   11626 s/^[^!]*!//
   11627 :repl
   11628 t repl
   11629 s/'"$ac_delim"'$//
   11630 t delim
   11631 :nl
   11632 h
   11633 s/\(.\{148\}\)..*/\1/
   11634 t more1
   11635 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11636 p
   11637 n
   11638 b repl
   11639 :more1
   11640 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11641 p
   11642 g
   11643 s/.\{148\}//
   11644 t nl
   11645 :delim
   11646 h
   11647 s/\(.\{148\}\)..*/\1/
   11648 t more2
   11649 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11650 p
   11651 b
   11652 :more2
   11653 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11654 p
   11655 g
   11656 s/.\{148\}//
   11657 t delim
   11658 ' <conf$$subs.awk | sed '
   11659 /^[^""]/{
   11660   N
   11661   s/\n//
   11662 }
   11663 ' >>$CONFIG_STATUS || ac_write_fail=1
   11664 rm -f conf$$subs.awk
   11665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11666 _ACAWK
   11667 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11668   for (key in S) S_is_set[key] = 1
   11669   FS = ""
   11670 
   11671 }
   11672 {
   11673   line = $ 0
   11674   nfields = split(line, field, "@")
   11675   substed = 0
   11676   len = length(field[1])
   11677   for (i = 2; i < nfields; i++) {
   11678     key = field[i]
   11679     keylen = length(key)
   11680     if (S_is_set[key]) {
   11681       value = S[key]
   11682       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11683       len += length(value) + length(field[++i])
   11684       substed = 1
   11685     } else
   11686       len += 1 + keylen
   11687   }
   11688 
   11689   print line
   11690 }
   11691 
   11692 _ACAWK
   11693 _ACEOF
   11694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11695 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11696   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11697 else
   11698   cat
   11699 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11700   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11701 _ACEOF
   11702 
   11703 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11704 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11705 # trailing colons and then remove the whole line if VPATH becomes empty
   11706 # (actually we leave an empty line to preserve line numbers).
   11707 if test "x$srcdir" = x.; then
   11708   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11709 h
   11710 s///
   11711 s/^/:/
   11712 s/[	 ]*$/:/
   11713 s/:\$(srcdir):/:/g
   11714 s/:\${srcdir}:/:/g
   11715 s/:@srcdir@:/:/g
   11716 s/^:*//
   11717 s/:*$//
   11718 x
   11719 s/\(=[	 ]*\).*/\1/
   11720 G
   11721 s/\n//
   11722 s/^[^=]*=[	 ]*$//
   11723 }'
   11724 fi
   11725 
   11726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11727 fi # test -n "$CONFIG_FILES"
   11728 
   11729 # Set up the scripts for CONFIG_HEADERS section.
   11730 # No need to generate them if there are no CONFIG_HEADERS.
   11731 # This happens for instance with `./config.status Makefile'.
   11732 if test -n "$CONFIG_HEADERS"; then
   11733 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11734 BEGIN {
   11735 _ACEOF
   11736 
   11737 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11738 # here-document in config.status, that substitutes the proper values into
   11739 # config.h.in to produce config.h.
   11740 
   11741 # Create a delimiter string that does not exist in confdefs.h, to ease
   11742 # handling of long lines.
   11743 ac_delim='%!_!# '
   11744 for ac_last_try in false false :; do
   11745   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11746   if test -z "$ac_tt"; then
   11747     break
   11748   elif $ac_last_try; then
   11749     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11750   else
   11751     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11752   fi
   11753 done
   11754 
   11755 # For the awk script, D is an array of macro values keyed by name,
   11756 # likewise P contains macro parameters if any.  Preserve backslash
   11757 # newline sequences.
   11758 
   11759 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11760 sed -n '
   11761 s/.\{148\}/&'"$ac_delim"'/g
   11762 t rset
   11763 :rset
   11764 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11765 t def
   11766 d
   11767 :def
   11768 s/\\$//
   11769 t bsnl
   11770 s/["\\]/\\&/g
   11771 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11772 D["\1"]=" \3"/p
   11773 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11774 d
   11775 :bsnl
   11776 s/["\\]/\\&/g
   11777 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11778 D["\1"]=" \3\\\\\\n"\\/p
   11779 t cont
   11780 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11781 t cont
   11782 d
   11783 :cont
   11784 n
   11785 s/.\{148\}/&'"$ac_delim"'/g
   11786 t clear
   11787 :clear
   11788 s/\\$//
   11789 t bsnlc
   11790 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11791 d
   11792 :bsnlc
   11793 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11794 b cont
   11795 ' <confdefs.h | sed '
   11796 s/'"$ac_delim"'/"\\\
   11797 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11798 
   11799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11800   for (key in D) D_is_set[key] = 1
   11801   FS = ""
   11802 }
   11803 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11804   line = \$ 0
   11805   split(line, arg, " ")
   11806   if (arg[1] == "#") {
   11807     defundef = arg[2]
   11808     mac1 = arg[3]
   11809   } else {
   11810     defundef = substr(arg[1], 2)
   11811     mac1 = arg[2]
   11812   }
   11813   split(mac1, mac2, "(") #)
   11814   macro = mac2[1]
   11815   prefix = substr(line, 1, index(line, defundef) - 1)
   11816   if (D_is_set[macro]) {
   11817     # Preserve the white space surrounding the "#".
   11818     print prefix "define", macro P[macro] D[macro]
   11819     next
   11820   } else {
   11821     # Replace #undef with comments.  This is necessary, for example,
   11822     # in the case of _POSIX_SOURCE, which is predefined and required
   11823     # on some systems where configure will not decide to define it.
   11824     if (defundef == "undef") {
   11825       print "/*", prefix defundef, macro, "*/"
   11826       next
   11827     }
   11828   }
   11829 }
   11830 { print }
   11831 _ACAWK
   11832 _ACEOF
   11833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11834   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11835 fi # test -n "$CONFIG_HEADERS"
   11836 
   11837 
   11838 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11839 shift
   11840 for ac_tag
   11841 do
   11842   case $ac_tag in
   11843   :[FHLC]) ac_mode=$ac_tag; continue;;
   11844   esac
   11845   case $ac_mode$ac_tag in
   11846   :[FHL]*:*);;
   11847   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11848   :[FH]-) ac_tag=-:-;;
   11849   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11850   esac
   11851   ac_save_IFS=$IFS
   11852   IFS=:
   11853   set x $ac_tag
   11854   IFS=$ac_save_IFS
   11855   shift
   11856   ac_file=$1
   11857   shift
   11858 
   11859   case $ac_mode in
   11860   :L) ac_source=$1;;
   11861   :[FH])
   11862     ac_file_inputs=
   11863     for ac_f
   11864     do
   11865       case $ac_f in
   11866       -) ac_f="$ac_tmp/stdin";;
   11867       *) # Look for the file first in the build tree, then in the source tree
   11868 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11869 	 # because $ac_f cannot contain `:'.
   11870 	 test -f "$ac_f" ||
   11871 	   case $ac_f in
   11872 	   [\\/$]*) false;;
   11873 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11874 	   esac ||
   11875 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11876       esac
   11877       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11878       as_fn_append ac_file_inputs " '$ac_f'"
   11879     done
   11880 
   11881     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11882     # use $as_me), people would be surprised to read:
   11883     #    /* config.h.  Generated by config.status.  */
   11884     configure_input='Generated from '`
   11885 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11886 	`' by configure.'
   11887     if test x"$ac_file" != x-; then
   11888       configure_input="$ac_file.  $configure_input"
   11889       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11890 $as_echo "$as_me: creating $ac_file" >&6;}
   11891     fi
   11892     # Neutralize special characters interpreted by sed in replacement strings.
   11893     case $configure_input in #(
   11894     *\&* | *\|* | *\\* )
   11895        ac_sed_conf_input=`$as_echo "$configure_input" |
   11896        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11897     *) ac_sed_conf_input=$configure_input;;
   11898     esac
   11899 
   11900     case $ac_tag in
   11901     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11902       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11903     esac
   11904     ;;
   11905   esac
   11906 
   11907   ac_dir=`$as_dirname -- "$ac_file" ||
   11908 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11909 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11910 	 X"$ac_file" : 'X\(//\)$' \| \
   11911 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11912 $as_echo X"$ac_file" |
   11913     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11914 	    s//\1/
   11915 	    q
   11916 	  }
   11917 	  /^X\(\/\/\)[^/].*/{
   11918 	    s//\1/
   11919 	    q
   11920 	  }
   11921 	  /^X\(\/\/\)$/{
   11922 	    s//\1/
   11923 	    q
   11924 	  }
   11925 	  /^X\(\/\).*/{
   11926 	    s//\1/
   11927 	    q
   11928 	  }
   11929 	  s/.*/./; q'`
   11930   as_dir="$ac_dir"; as_fn_mkdir_p
   11931   ac_builddir=.
   11932 
   11933 case "$ac_dir" in
   11934 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11935 *)
   11936   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11937   # A ".." for each directory in $ac_dir_suffix.
   11938   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11939   case $ac_top_builddir_sub in
   11940   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11941   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11942   esac ;;
   11943 esac
   11944 ac_abs_top_builddir=$ac_pwd
   11945 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11946 # for backward compatibility:
   11947 ac_top_builddir=$ac_top_build_prefix
   11948 
   11949 case $srcdir in
   11950   .)  # We are building in place.
   11951     ac_srcdir=.
   11952     ac_top_srcdir=$ac_top_builddir_sub
   11953     ac_abs_top_srcdir=$ac_pwd ;;
   11954   [\\/]* | ?:[\\/]* )  # Absolute name.
   11955     ac_srcdir=$srcdir$ac_dir_suffix;
   11956     ac_top_srcdir=$srcdir
   11957     ac_abs_top_srcdir=$srcdir ;;
   11958   *) # Relative name.
   11959     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11960     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11961     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11962 esac
   11963 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11964 
   11965 
   11966   case $ac_mode in
   11967   :F)
   11968   #
   11969   # CONFIG_FILE
   11970   #
   11971 
   11972   case $INSTALL in
   11973   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11974   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11975   esac
   11976   ac_MKDIR_P=$MKDIR_P
   11977   case $MKDIR_P in
   11978   [\\/$]* | ?:[\\/]* ) ;;
   11979   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11980   esac
   11981 _ACEOF
   11982 
   11983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11984 # If the template does not know about datarootdir, expand it.
   11985 # FIXME: This hack should be removed a few years after 2.60.
   11986 ac_datarootdir_hack=; ac_datarootdir_seen=
   11987 ac_sed_dataroot='
   11988 /datarootdir/ {
   11989   p
   11990   q
   11991 }
   11992 /@datadir@/p
   11993 /@docdir@/p
   11994 /@infodir@/p
   11995 /@localedir@/p
   11996 /@mandir@/p'
   11997 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11998 *datarootdir*) ac_datarootdir_seen=yes;;
   11999 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12000   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12001 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12002 _ACEOF
   12003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12004   ac_datarootdir_hack='
   12005   s&@datadir@&$datadir&g
   12006   s&@docdir@&$docdir&g
   12007   s&@infodir@&$infodir&g
   12008   s&@localedir@&$localedir&g
   12009   s&@mandir@&$mandir&g
   12010   s&\\\${datarootdir}&$datarootdir&g' ;;
   12011 esac
   12012 _ACEOF
   12013 
   12014 # Neutralize VPATH when `$srcdir' = `.'.
   12015 # Shell code in configure.ac might set extrasub.
   12016 # FIXME: do we really want to maintain this feature?
   12017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12018 ac_sed_extra="$ac_vpsub
   12019 $extrasub
   12020 _ACEOF
   12021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12022 :t
   12023 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12024 s|@configure_input@|$ac_sed_conf_input|;t t
   12025 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12026 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12027 s&@srcdir@&$ac_srcdir&;t t
   12028 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12029 s&@top_srcdir@&$ac_top_srcdir&;t t
   12030 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12031 s&@builddir@&$ac_builddir&;t t
   12032 s&@abs_builddir@&$ac_abs_builddir&;t t
   12033 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12034 s&@INSTALL@&$ac_INSTALL&;t t
   12035 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12036 $ac_datarootdir_hack
   12037 "
   12038 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12039   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12040 
   12041 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12042   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12043   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12044       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12045   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12046 which seems to be undefined.  Please make sure it is defined" >&5
   12047 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12048 which seems to be undefined.  Please make sure it is defined" >&2;}
   12049 
   12050   rm -f "$ac_tmp/stdin"
   12051   case $ac_file in
   12052   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12053   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12054   esac \
   12055   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12056  ;;
   12057   :H)
   12058   #
   12059   # CONFIG_HEADER
   12060   #
   12061   if test x"$ac_file" != x-; then
   12062     {
   12063       $as_echo "/* $configure_input  */" \
   12064       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12065     } >"$ac_tmp/config.h" \
   12066       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12067     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12068       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12069 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12070     else
   12071       rm -f "$ac_file"
   12072       mv "$ac_tmp/config.h" "$ac_file" \
   12073 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12074     fi
   12075   else
   12076     $as_echo "/* $configure_input  */" \
   12077       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12078       || as_fn_error $? "could not create -" "$LINENO" 5
   12079   fi
   12080 # Compute "$ac_file"'s index in $config_headers.
   12081 _am_arg="$ac_file"
   12082 _am_stamp_count=1
   12083 for _am_header in $config_headers :; do
   12084   case $_am_header in
   12085     $_am_arg | $_am_arg:* )
   12086       break ;;
   12087     * )
   12088       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12089   esac
   12090 done
   12091 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12092 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12093 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12094 	 X"$_am_arg" : 'X\(//\)$' \| \
   12095 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12096 $as_echo X"$_am_arg" |
   12097     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12098 	    s//\1/
   12099 	    q
   12100 	  }
   12101 	  /^X\(\/\/\)[^/].*/{
   12102 	    s//\1/
   12103 	    q
   12104 	  }
   12105 	  /^X\(\/\/\)$/{
   12106 	    s//\1/
   12107 	    q
   12108 	  }
   12109 	  /^X\(\/\).*/{
   12110 	    s//\1/
   12111 	    q
   12112 	  }
   12113 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12114  ;;
   12115 
   12116   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12117 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12118  ;;
   12119   esac
   12120 
   12121 
   12122   case $ac_file$ac_mode in
   12123     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12124   # Older Autoconf quotes --file arguments for eval, but not when files
   12125   # are listed without --file.  Let's play safe and only enable the eval
   12126   # if we detect the quoting.
   12127   case $CONFIG_FILES in
   12128   *\'*) eval set x "$CONFIG_FILES" ;;
   12129   *)   set x $CONFIG_FILES ;;
   12130   esac
   12131   shift
   12132   for mf
   12133   do
   12134     # Strip MF so we end up with the name of the file.
   12135     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12136     # Check whether this is an Automake generated Makefile or not.
   12137     # We used to match only the files named 'Makefile.in', but
   12138     # some people rename them; so instead we look at the file content.
   12139     # Grep'ing the first line is not enough: some people post-process
   12140     # each Makefile.in and add a new line on top of each file to say so.
   12141     # Grep'ing the whole file is not good either: AIX grep has a line
   12142     # limit of 2048, but all sed's we know have understand at least 4000.
   12143     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12144       dirpart=`$as_dirname -- "$mf" ||
   12145 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12146 	 X"$mf" : 'X\(//\)[^/]' \| \
   12147 	 X"$mf" : 'X\(//\)$' \| \
   12148 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12149 $as_echo X"$mf" |
   12150     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12151 	    s//\1/
   12152 	    q
   12153 	  }
   12154 	  /^X\(\/\/\)[^/].*/{
   12155 	    s//\1/
   12156 	    q
   12157 	  }
   12158 	  /^X\(\/\/\)$/{
   12159 	    s//\1/
   12160 	    q
   12161 	  }
   12162 	  /^X\(\/\).*/{
   12163 	    s//\1/
   12164 	    q
   12165 	  }
   12166 	  s/.*/./; q'`
   12167     else
   12168       continue
   12169     fi
   12170     # Extract the definition of DEPDIR, am__include, and am__quote
   12171     # from the Makefile without running 'make'.
   12172     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12173     test -z "$DEPDIR" && continue
   12174     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12175     test -z "$am__include" && continue
   12176     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12177     # Find all dependency output files, they are included files with
   12178     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12179     # simplest approach to changing $(DEPDIR) to its actual value in the
   12180     # expansion.
   12181     for file in `sed -n "
   12182       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12183 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12184       # Make sure the directory exists.
   12185       test -f "$dirpart/$file" && continue
   12186       fdir=`$as_dirname -- "$file" ||
   12187 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12188 	 X"$file" : 'X\(//\)[^/]' \| \
   12189 	 X"$file" : 'X\(//\)$' \| \
   12190 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12191 $as_echo X"$file" |
   12192     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12193 	    s//\1/
   12194 	    q
   12195 	  }
   12196 	  /^X\(\/\/\)[^/].*/{
   12197 	    s//\1/
   12198 	    q
   12199 	  }
   12200 	  /^X\(\/\/\)$/{
   12201 	    s//\1/
   12202 	    q
   12203 	  }
   12204 	  /^X\(\/\).*/{
   12205 	    s//\1/
   12206 	    q
   12207 	  }
   12208 	  s/.*/./; q'`
   12209       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12210       # echo "creating $dirpart/$file"
   12211       echo '# dummy' > "$dirpart/$file"
   12212     done
   12213   done
   12214 }
   12215  ;;
   12216 
   12217   esac
   12218 done # for ac_tag
   12219 
   12220 
   12221 as_fn_exit 0
   12222 _ACEOF
   12223 ac_clean_files=$ac_clean_files_save
   12224 
   12225 test $ac_write_fail = 0 ||
   12226   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12227 
   12228 
   12229 # configure is writing to config.log, and then calls config.status.
   12230 # config.status does its own redirection, appending to config.log.
   12231 # Unfortunately, on DOS this fails, as config.log is still kept open
   12232 # by configure, so config.status won't be able to write to it; its
   12233 # output is simply discarded.  So we exec the FD to /dev/null,
   12234 # effectively closing config.log, so it can be properly (re)opened and
   12235 # appended to by config.status.  When coming back to configure, we
   12236 # need to make the FD available again.
   12237 if test "$no_create" != yes; then
   12238   ac_cs_success=:
   12239   ac_config_status_args=
   12240   test "$silent" = yes &&
   12241     ac_config_status_args="$ac_config_status_args --quiet"
   12242   exec 5>/dev/null
   12243   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12244   exec 5>>config.log
   12245   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12246   # would make configure fail if this is the last instruction.
   12247   $ac_cs_success || as_fn_exit 1
   12248 fi
   12249 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12250   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12251 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12252 fi
   12253 
   12254