Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for fonttosfnt 1.2.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/fonttosfnt/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://gitlab.freedesktop.org/xorg/app/fonttosfnt/issues
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='fonttosfnt'
    583 PACKAGE_TARNAME='fonttosfnt'
    584 PACKAGE_VERSION='1.2.0'
    585 PACKAGE_STRING='fonttosfnt 1.2.0'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/fonttosfnt/issues'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 FONTTOSFNT_LIBS
    631 FONTTOSFNT_CFLAGS
    632 NEED_SETENV_FALSE
    633 NEED_SETENV_TRUE
    634 MAN_SUBSTS
    635 XORG_MAN_PAGE
    636 ADMIN_MAN_DIR
    637 DRIVER_MAN_DIR
    638 MISC_MAN_DIR
    639 FILE_MAN_DIR
    640 LIB_MAN_DIR
    641 APP_MAN_DIR
    642 ADMIN_MAN_SUFFIX
    643 DRIVER_MAN_SUFFIX
    644 MISC_MAN_SUFFIX
    645 FILE_MAN_SUFFIX
    646 LIB_MAN_SUFFIX
    647 APP_MAN_SUFFIX
    648 SED
    649 host_os
    650 host_vendor
    651 host_cpu
    652 host
    653 build_os
    654 build_vendor
    655 build_cpu
    656 build
    657 INSTALL_CMD
    658 PKG_CONFIG_LIBDIR
    659 PKG_CONFIG_PATH
    660 PKG_CONFIG
    661 CHANGELOG_CMD
    662 STRICT_CFLAGS
    663 CWARNFLAGS
    664 BASE_CFLAGS
    665 EGREP
    666 GREP
    667 CPP
    668 am__fastdepCC_FALSE
    669 am__fastdepCC_TRUE
    670 CCDEPMODE
    671 am__nodep
    672 AMDEPBACKSLASH
    673 AMDEP_FALSE
    674 AMDEP_TRUE
    675 am__include
    676 DEPDIR
    677 OBJEXT
    678 EXEEXT
    679 ac_ct_CC
    680 CPPFLAGS
    681 LDFLAGS
    682 CFLAGS
    683 CC
    684 AM_BACKSLASH
    685 AM_DEFAULT_VERBOSITY
    686 AM_DEFAULT_V
    687 AM_V
    688 am__untar
    689 am__tar
    690 AMTAR
    691 am__leading_dot
    692 SET_MAKE
    693 AWK
    694 mkdir_p
    695 MKDIR_P
    696 INSTALL_STRIP_PROGRAM
    697 STRIP
    698 install_sh
    699 MAKEINFO
    700 AUTOHEADER
    701 AUTOMAKE
    702 AUTOCONF
    703 ACLOCAL
    704 VERSION
    705 PACKAGE
    706 CYGPATH_W
    707 am__isrc
    708 INSTALL_DATA
    709 INSTALL_SCRIPT
    710 INSTALL_PROGRAM
    711 target_alias
    712 host_alias
    713 build_alias
    714 LIBS
    715 ECHO_T
    716 ECHO_N
    717 ECHO_C
    718 DEFS
    719 mandir
    720 localedir
    721 libdir
    722 psdir
    723 pdfdir
    724 dvidir
    725 htmldir
    726 infodir
    727 docdir
    728 oldincludedir
    729 includedir
    730 localstatedir
    731 sharedstatedir
    732 sysconfdir
    733 datadir
    734 datarootdir
    735 libexecdir
    736 sbindir
    737 bindir
    738 program_transform_name
    739 prefix
    740 exec_prefix
    741 PACKAGE_URL
    742 PACKAGE_BUGREPORT
    743 PACKAGE_STRING
    744 PACKAGE_VERSION
    745 PACKAGE_TARNAME
    746 PACKAGE_NAME
    747 PATH_SEPARATOR
    748 SHELL
    749 am__quote'
    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 '
    758       ac_precious_vars='build_alias
    759 host_alias
    760 target_alias
    761 CC
    762 CFLAGS
    763 LDFLAGS
    764 LIBS
    765 CPPFLAGS
    766 CPP
    767 PKG_CONFIG
    768 PKG_CONFIG_PATH
    769 PKG_CONFIG_LIBDIR
    770 FONTTOSFNT_CFLAGS
    771 FONTTOSFNT_LIBS'
    772 
    773 
    774 # Initialize some variables set by options.
    775 ac_init_help=
    776 ac_init_version=false
    777 ac_unrecognized_opts=
    778 ac_unrecognized_sep=
    779 # The variables have the same names as the options, with
    780 # dashes changed to underlines.
    781 cache_file=/dev/null
    782 exec_prefix=NONE
    783 no_create=
    784 no_recursion=
    785 prefix=NONE
    786 program_prefix=NONE
    787 program_suffix=NONE
    788 program_transform_name=s,x,x,
    789 silent=
    790 site=
    791 srcdir=
    792 verbose=
    793 x_includes=NONE
    794 x_libraries=NONE
    795 
    796 # Installation directory options.
    797 # These are left unexpanded so users can "make install exec_prefix=/foo"
    798 # and all the variables that are supposed to be based on exec_prefix
    799 # by default will actually change.
    800 # Use braces instead of parens because sh, perl, etc. also accept them.
    801 # (The list follows the same order as the GNU Coding Standards.)
    802 bindir='${exec_prefix}/bin'
    803 sbindir='${exec_prefix}/sbin'
    804 libexecdir='${exec_prefix}/libexec'
    805 datarootdir='${prefix}/share'
    806 datadir='${datarootdir}'
    807 sysconfdir='${prefix}/etc'
    808 sharedstatedir='${prefix}/com'
    809 localstatedir='${prefix}/var'
    810 includedir='${prefix}/include'
    811 oldincludedir='/usr/include'
    812 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    813 infodir='${datarootdir}/info'
    814 htmldir='${docdir}'
    815 dvidir='${docdir}'
    816 pdfdir='${docdir}'
    817 psdir='${docdir}'
    818 libdir='${exec_prefix}/lib'
    819 localedir='${datarootdir}/locale'
    820 mandir='${datarootdir}/man'
    821 
    822 ac_prev=
    823 ac_dashdash=
    824 for ac_option
    825 do
    826   # If the previous option needs an argument, assign it.
    827   if test -n "$ac_prev"; then
    828     eval $ac_prev=\$ac_option
    829     ac_prev=
    830     continue
    831   fi
    832 
    833   case $ac_option in
    834   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    835   *=)   ac_optarg= ;;
    836   *)    ac_optarg=yes ;;
    837   esac
    838 
    839   # Accept the important Cygnus configure options, so we can diagnose typos.
    840 
    841   case $ac_dashdash$ac_option in
    842   --)
    843     ac_dashdash=yes ;;
    844 
    845   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    846     ac_prev=bindir ;;
    847   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    848     bindir=$ac_optarg ;;
    849 
    850   -build | --build | --buil | --bui | --bu)
    851     ac_prev=build_alias ;;
    852   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    853     build_alias=$ac_optarg ;;
    854 
    855   -cache-file | --cache-file | --cache-fil | --cache-fi \
    856   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    857     ac_prev=cache_file ;;
    858   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    859   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    860     cache_file=$ac_optarg ;;
    861 
    862   --config-cache | -C)
    863     cache_file=config.cache ;;
    864 
    865   -datadir | --datadir | --datadi | --datad)
    866     ac_prev=datadir ;;
    867   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    868     datadir=$ac_optarg ;;
    869 
    870   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    871   | --dataroo | --dataro | --datar)
    872     ac_prev=datarootdir ;;
    873   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    874   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    875     datarootdir=$ac_optarg ;;
    876 
    877   -disable-* | --disable-*)
    878     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    879     # Reject names that are not valid shell variable names.
    880     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    881       as_fn_error $? "invalid feature name: $ac_useropt"
    882     ac_useropt_orig=$ac_useropt
    883     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    884     case $ac_user_opts in
    885       *"
    886 "enable_$ac_useropt"
    887 "*) ;;
    888       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    889 	 ac_unrecognized_sep=', ';;
    890     esac
    891     eval enable_$ac_useropt=no ;;
    892 
    893   -docdir | --docdir | --docdi | --doc | --do)
    894     ac_prev=docdir ;;
    895   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    896     docdir=$ac_optarg ;;
    897 
    898   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    899     ac_prev=dvidir ;;
    900   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    901     dvidir=$ac_optarg ;;
    902 
    903   -enable-* | --enable-*)
    904     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    905     # Reject names that are not valid shell variable names.
    906     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    907       as_fn_error $? "invalid feature name: $ac_useropt"
    908     ac_useropt_orig=$ac_useropt
    909     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    910     case $ac_user_opts in
    911       *"
    912 "enable_$ac_useropt"
    913 "*) ;;
    914       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    915 	 ac_unrecognized_sep=', ';;
    916     esac
    917     eval enable_$ac_useropt=\$ac_optarg ;;
    918 
    919   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    920   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    921   | --exec | --exe | --ex)
    922     ac_prev=exec_prefix ;;
    923   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    924   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    925   | --exec=* | --exe=* | --ex=*)
    926     exec_prefix=$ac_optarg ;;
    927 
    928   -gas | --gas | --ga | --g)
    929     # Obsolete; use --with-gas.
    930     with_gas=yes ;;
    931 
    932   -help | --help | --hel | --he | -h)
    933     ac_init_help=long ;;
    934   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    935     ac_init_help=recursive ;;
    936   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    937     ac_init_help=short ;;
    938 
    939   -host | --host | --hos | --ho)
    940     ac_prev=host_alias ;;
    941   -host=* | --host=* | --hos=* | --ho=*)
    942     host_alias=$ac_optarg ;;
    943 
    944   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    945     ac_prev=htmldir ;;
    946   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    947   | --ht=*)
    948     htmldir=$ac_optarg ;;
    949 
    950   -includedir | --includedir | --includedi | --included | --include \
    951   | --includ | --inclu | --incl | --inc)
    952     ac_prev=includedir ;;
    953   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    954   | --includ=* | --inclu=* | --incl=* | --inc=*)
    955     includedir=$ac_optarg ;;
    956 
    957   -infodir | --infodir | --infodi | --infod | --info | --inf)
    958     ac_prev=infodir ;;
    959   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    960     infodir=$ac_optarg ;;
    961 
    962   -libdir | --libdir | --libdi | --libd)
    963     ac_prev=libdir ;;
    964   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    965     libdir=$ac_optarg ;;
    966 
    967   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    968   | --libexe | --libex | --libe)
    969     ac_prev=libexecdir ;;
    970   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    971   | --libexe=* | --libex=* | --libe=*)
    972     libexecdir=$ac_optarg ;;
    973 
    974   -localedir | --localedir | --localedi | --localed | --locale)
    975     ac_prev=localedir ;;
    976   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    977     localedir=$ac_optarg ;;
    978 
    979   -localstatedir | --localstatedir | --localstatedi | --localstated \
    980   | --localstate | --localstat | --localsta | --localst | --locals)
    981     ac_prev=localstatedir ;;
    982   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    983   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    984     localstatedir=$ac_optarg ;;
    985 
    986   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    987     ac_prev=mandir ;;
    988   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    989     mandir=$ac_optarg ;;
    990 
    991   -nfp | --nfp | --nf)
    992     # Obsolete; use --without-fp.
    993     with_fp=no ;;
    994 
    995   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    996   | --no-cr | --no-c | -n)
    997     no_create=yes ;;
    998 
    999   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1000   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1001     no_recursion=yes ;;
   1002 
   1003   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1004   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1005   | --oldin | --oldi | --old | --ol | --o)
   1006     ac_prev=oldincludedir ;;
   1007   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1008   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1009   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1010     oldincludedir=$ac_optarg ;;
   1011 
   1012   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1013     ac_prev=prefix ;;
   1014   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1015     prefix=$ac_optarg ;;
   1016 
   1017   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1018   | --program-pre | --program-pr | --program-p)
   1019     ac_prev=program_prefix ;;
   1020   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1021   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1022     program_prefix=$ac_optarg ;;
   1023 
   1024   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1025   | --program-suf | --program-su | --program-s)
   1026     ac_prev=program_suffix ;;
   1027   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1028   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1029     program_suffix=$ac_optarg ;;
   1030 
   1031   -program-transform-name | --program-transform-name \
   1032   | --program-transform-nam | --program-transform-na \
   1033   | --program-transform-n | --program-transform- \
   1034   | --program-transform | --program-transfor \
   1035   | --program-transfo | --program-transf \
   1036   | --program-trans | --program-tran \
   1037   | --progr-tra | --program-tr | --program-t)
   1038     ac_prev=program_transform_name ;;
   1039   -program-transform-name=* | --program-transform-name=* \
   1040   | --program-transform-nam=* | --program-transform-na=* \
   1041   | --program-transform-n=* | --program-transform-=* \
   1042   | --program-transform=* | --program-transfor=* \
   1043   | --program-transfo=* | --program-transf=* \
   1044   | --program-trans=* | --program-tran=* \
   1045   | --progr-tra=* | --program-tr=* | --program-t=*)
   1046     program_transform_name=$ac_optarg ;;
   1047 
   1048   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1049     ac_prev=pdfdir ;;
   1050   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1051     pdfdir=$ac_optarg ;;
   1052 
   1053   -psdir | --psdir | --psdi | --psd | --ps)
   1054     ac_prev=psdir ;;
   1055   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1056     psdir=$ac_optarg ;;
   1057 
   1058   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1059   | -silent | --silent | --silen | --sile | --sil)
   1060     silent=yes ;;
   1061 
   1062   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1063     ac_prev=sbindir ;;
   1064   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1065   | --sbi=* | --sb=*)
   1066     sbindir=$ac_optarg ;;
   1067 
   1068   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1069   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1070   | --sharedst | --shareds | --shared | --share | --shar \
   1071   | --sha | --sh)
   1072     ac_prev=sharedstatedir ;;
   1073   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1074   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1075   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1076   | --sha=* | --sh=*)
   1077     sharedstatedir=$ac_optarg ;;
   1078 
   1079   -site | --site | --sit)
   1080     ac_prev=site ;;
   1081   -site=* | --site=* | --sit=*)
   1082     site=$ac_optarg ;;
   1083 
   1084   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1085     ac_prev=srcdir ;;
   1086   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1087     srcdir=$ac_optarg ;;
   1088 
   1089   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1090   | --syscon | --sysco | --sysc | --sys | --sy)
   1091     ac_prev=sysconfdir ;;
   1092   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1093   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1094     sysconfdir=$ac_optarg ;;
   1095 
   1096   -target | --target | --targe | --targ | --tar | --ta | --t)
   1097     ac_prev=target_alias ;;
   1098   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1099     target_alias=$ac_optarg ;;
   1100 
   1101   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1102     verbose=yes ;;
   1103 
   1104   -version | --version | --versio | --versi | --vers | -V)
   1105     ac_init_version=: ;;
   1106 
   1107   -with-* | --with-*)
   1108     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1109     # Reject names that are not valid shell variable names.
   1110     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1111       as_fn_error $? "invalid package name: $ac_useropt"
   1112     ac_useropt_orig=$ac_useropt
   1113     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1114     case $ac_user_opts in
   1115       *"
   1116 "with_$ac_useropt"
   1117 "*) ;;
   1118       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1119 	 ac_unrecognized_sep=', ';;
   1120     esac
   1121     eval with_$ac_useropt=\$ac_optarg ;;
   1122 
   1123   -without-* | --without-*)
   1124     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1125     # Reject names that are not valid shell variable names.
   1126     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1127       as_fn_error $? "invalid package name: $ac_useropt"
   1128     ac_useropt_orig=$ac_useropt
   1129     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1130     case $ac_user_opts in
   1131       *"
   1132 "with_$ac_useropt"
   1133 "*) ;;
   1134       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1135 	 ac_unrecognized_sep=', ';;
   1136     esac
   1137     eval with_$ac_useropt=no ;;
   1138 
   1139   --x)
   1140     # Obsolete; use --with-x.
   1141     with_x=yes ;;
   1142 
   1143   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1144   | --x-incl | --x-inc | --x-in | --x-i)
   1145     ac_prev=x_includes ;;
   1146   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1147   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1148     x_includes=$ac_optarg ;;
   1149 
   1150   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1151   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1152     ac_prev=x_libraries ;;
   1153   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1154   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1155     x_libraries=$ac_optarg ;;
   1156 
   1157   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1158 Try \`$0 --help' for more information"
   1159     ;;
   1160 
   1161   *=*)
   1162     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1163     # Reject names that are not valid shell variable names.
   1164     case $ac_envvar in #(
   1165       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1166       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1167     esac
   1168     eval $ac_envvar=\$ac_optarg
   1169     export $ac_envvar ;;
   1170 
   1171   *)
   1172     # FIXME: should be removed in autoconf 3.0.
   1173     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1174     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1175       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1176     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1177     ;;
   1178 
   1179   esac
   1180 done
   1181 
   1182 if test -n "$ac_prev"; then
   1183   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1184   as_fn_error $? "missing argument to $ac_option"
   1185 fi
   1186 
   1187 if test -n "$ac_unrecognized_opts"; then
   1188   case $enable_option_checking in
   1189     no) ;;
   1190     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1191     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1192   esac
   1193 fi
   1194 
   1195 # Check all directory arguments for consistency.
   1196 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1197 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1198 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1199 		libdir localedir mandir
   1200 do
   1201   eval ac_val=\$$ac_var
   1202   # Remove trailing slashes.
   1203   case $ac_val in
   1204     */ )
   1205       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1206       eval $ac_var=\$ac_val;;
   1207   esac
   1208   # Be sure to have absolute directory names.
   1209   case $ac_val in
   1210     [\\/$]* | ?:[\\/]* )  continue;;
   1211     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1212   esac
   1213   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1214 done
   1215 
   1216 # There might be people who depend on the old broken behavior: `$host'
   1217 # used to hold the argument of --host etc.
   1218 # FIXME: To remove some day.
   1219 build=$build_alias
   1220 host=$host_alias
   1221 target=$target_alias
   1222 
   1223 # FIXME: To remove some day.
   1224 if test "x$host_alias" != x; then
   1225   if test "x$build_alias" = x; then
   1226     cross_compiling=maybe
   1227   elif test "x$build_alias" != "x$host_alias"; then
   1228     cross_compiling=yes
   1229   fi
   1230 fi
   1231 
   1232 ac_tool_prefix=
   1233 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1234 
   1235 test "$silent" = yes && exec 6>/dev/null
   1236 
   1237 
   1238 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1239 ac_ls_di=`ls -di .` &&
   1240 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1241   as_fn_error $? "working directory cannot be determined"
   1242 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1243   as_fn_error $? "pwd does not report name of working directory"
   1244 
   1245 
   1246 # Find the source files, if location was not specified.
   1247 if test -z "$srcdir"; then
   1248   ac_srcdir_defaulted=yes
   1249   # Try the directory containing this script, then the parent directory.
   1250   ac_confdir=`$as_dirname -- "$as_myself" ||
   1251 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1252 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1253 	 X"$as_myself" : 'X\(//\)$' \| \
   1254 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1255 $as_echo X"$as_myself" |
   1256     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1257 	    s//\1/
   1258 	    q
   1259 	  }
   1260 	  /^X\(\/\/\)[^/].*/{
   1261 	    s//\1/
   1262 	    q
   1263 	  }
   1264 	  /^X\(\/\/\)$/{
   1265 	    s//\1/
   1266 	    q
   1267 	  }
   1268 	  /^X\(\/\).*/{
   1269 	    s//\1/
   1270 	    q
   1271 	  }
   1272 	  s/.*/./; q'`
   1273   srcdir=$ac_confdir
   1274   if test ! -r "$srcdir/$ac_unique_file"; then
   1275     srcdir=..
   1276   fi
   1277 else
   1278   ac_srcdir_defaulted=no
   1279 fi
   1280 if test ! -r "$srcdir/$ac_unique_file"; then
   1281   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1282   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1283 fi
   1284 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1285 ac_abs_confdir=`(
   1286 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1287 	pwd)`
   1288 # When building in place, set srcdir=.
   1289 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1290   srcdir=.
   1291 fi
   1292 # Remove unnecessary trailing slashes from srcdir.
   1293 # Double slashes in file names in object file debugging info
   1294 # mess up M-x gdb in Emacs.
   1295 case $srcdir in
   1296 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1297 esac
   1298 for ac_var in $ac_precious_vars; do
   1299   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1300   eval ac_env_${ac_var}_value=\$${ac_var}
   1301   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1302   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1303 done
   1304 
   1305 #
   1306 # Report the --help message.
   1307 #
   1308 if test "$ac_init_help" = "long"; then
   1309   # Omit some internal or obsolete options to make the list less imposing.
   1310   # This message is too long to be a string in the A/UX 3.1 sh.
   1311   cat <<_ACEOF
   1312 \`configure' configures fonttosfnt 1.2.0 to adapt to many kinds of systems.
   1313 
   1314 Usage: $0 [OPTION]... [VAR=VALUE]...
   1315 
   1316 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1317 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1318 
   1319 Defaults for the options are specified in brackets.
   1320 
   1321 Configuration:
   1322   -h, --help              display this help and exit
   1323       --help=short        display options specific to this package
   1324       --help=recursive    display the short help of all the included packages
   1325   -V, --version           display version information and exit
   1326   -q, --quiet, --silent   do not print \`checking ...' messages
   1327       --cache-file=FILE   cache test results in FILE [disabled]
   1328   -C, --config-cache      alias for \`--cache-file=config.cache'
   1329   -n, --no-create         do not create output files
   1330       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1331 
   1332 Installation directories:
   1333   --prefix=PREFIX         install architecture-independent files in PREFIX
   1334                           [$ac_default_prefix]
   1335   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1336                           [PREFIX]
   1337 
   1338 By default, \`make install' will install all the files in
   1339 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1340 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1341 for instance \`--prefix=\$HOME'.
   1342 
   1343 For better control, use the options below.
   1344 
   1345 Fine tuning of the installation directories:
   1346   --bindir=DIR            user executables [EPREFIX/bin]
   1347   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1348   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1349   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1350   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1351   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1352   --libdir=DIR            object code libraries [EPREFIX/lib]
   1353   --includedir=DIR        C header files [PREFIX/include]
   1354   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1355   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1356   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1357   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1358   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1359   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1360   --docdir=DIR            documentation root [DATAROOTDIR/doc/fonttosfnt]
   1361   --htmldir=DIR           html documentation [DOCDIR]
   1362   --dvidir=DIR            dvi documentation [DOCDIR]
   1363   --pdfdir=DIR            pdf documentation [DOCDIR]
   1364   --psdir=DIR             ps documentation [DOCDIR]
   1365 _ACEOF
   1366 
   1367   cat <<\_ACEOF
   1368 
   1369 Program names:
   1370   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1371   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1372   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1373 
   1374 System types:
   1375   --build=BUILD     configure for building on BUILD [guessed]
   1376   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1377 _ACEOF
   1378 fi
   1379 
   1380 if test -n "$ac_init_help"; then
   1381   case $ac_init_help in
   1382      short | recursive ) echo "Configuration of fonttosfnt 1.2.0:";;
   1383    esac
   1384   cat <<\_ACEOF
   1385 
   1386 Optional Features:
   1387   --disable-option-checking  ignore unrecognized --enable/--with options
   1388   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1389   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1390   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1391   --disable-silent-rules  verbose build output (undo: "make V=0")
   1392   --enable-dependency-tracking
   1393                           do not reject slow dependency extractors
   1394   --disable-dependency-tracking
   1395                           speeds up one-time build
   1396   --disable-selective-werror
   1397                           Turn off selective compiler errors. (default:
   1398                           enabled)
   1399   --enable-strict-compilation
   1400                           Enable all warnings from compiler and make them
   1401                           errors (default: disabled)
   1402 
   1403 Some influential environment variables:
   1404   CC          C compiler command
   1405   CFLAGS      C compiler flags
   1406   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1407               nonstandard directory <lib dir>
   1408   LIBS        libraries to pass to the linker, e.g. -l<library>
   1409   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1410               you have headers in a nonstandard directory <include dir>
   1411   CPP         C preprocessor
   1412   PKG_CONFIG  path to pkg-config utility
   1413   PKG_CONFIG_PATH
   1414               directories to add to pkg-config's search path
   1415   PKG_CONFIG_LIBDIR
   1416               path overriding pkg-config's built-in search path
   1417   FONTTOSFNT_CFLAGS
   1418               C compiler flags for FONTTOSFNT, overriding pkg-config
   1419   FONTTOSFNT_LIBS
   1420               linker flags for FONTTOSFNT, overriding pkg-config
   1421 
   1422 Use these variables to override the choices made by `configure' or to help
   1423 it to find libraries and programs with nonstandard names/locations.
   1424 
   1425 Report bugs to <https://gitlab.freedesktop.org/xorg/app/fonttosfnt/issues>.
   1426 _ACEOF
   1427 ac_status=$?
   1428 fi
   1429 
   1430 if test "$ac_init_help" = "recursive"; then
   1431   # If there are subdirs, report their specific --help.
   1432   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1433     test -d "$ac_dir" ||
   1434       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1435       continue
   1436     ac_builddir=.
   1437 
   1438 case "$ac_dir" in
   1439 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1440 *)
   1441   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1442   # A ".." for each directory in $ac_dir_suffix.
   1443   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1444   case $ac_top_builddir_sub in
   1445   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1446   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1447   esac ;;
   1448 esac
   1449 ac_abs_top_builddir=$ac_pwd
   1450 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1451 # for backward compatibility:
   1452 ac_top_builddir=$ac_top_build_prefix
   1453 
   1454 case $srcdir in
   1455   .)  # We are building in place.
   1456     ac_srcdir=.
   1457     ac_top_srcdir=$ac_top_builddir_sub
   1458     ac_abs_top_srcdir=$ac_pwd ;;
   1459   [\\/]* | ?:[\\/]* )  # Absolute name.
   1460     ac_srcdir=$srcdir$ac_dir_suffix;
   1461     ac_top_srcdir=$srcdir
   1462     ac_abs_top_srcdir=$srcdir ;;
   1463   *) # Relative name.
   1464     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1465     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1466     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1467 esac
   1468 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1469 
   1470     cd "$ac_dir" || { ac_status=$?; continue; }
   1471     # Check for guested configure.
   1472     if test -f "$ac_srcdir/configure.gnu"; then
   1473       echo &&
   1474       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1475     elif test -f "$ac_srcdir/configure"; then
   1476       echo &&
   1477       $SHELL "$ac_srcdir/configure" --help=recursive
   1478     else
   1479       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1480     fi || ac_status=$?
   1481     cd "$ac_pwd" || { ac_status=$?; break; }
   1482   done
   1483 fi
   1484 
   1485 test -n "$ac_init_help" && exit $ac_status
   1486 if $ac_init_version; then
   1487   cat <<\_ACEOF
   1488 fonttosfnt configure 1.2.0
   1489 generated by GNU Autoconf 2.69
   1490 
   1491 Copyright (C) 2012 Free Software Foundation, Inc.
   1492 This configure script is free software; the Free Software Foundation
   1493 gives unlimited permission to copy, distribute and modify it.
   1494 _ACEOF
   1495   exit
   1496 fi
   1497 
   1498 ## ------------------------ ##
   1499 ## Autoconf initialization. ##
   1500 ## ------------------------ ##
   1501 
   1502 # ac_fn_c_try_compile LINENO
   1503 # --------------------------
   1504 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1505 ac_fn_c_try_compile ()
   1506 {
   1507   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1508   rm -f conftest.$ac_objext
   1509   if { { ac_try="$ac_compile"
   1510 case "(($ac_try" in
   1511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1512   *) ac_try_echo=$ac_try;;
   1513 esac
   1514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1515 $as_echo "$ac_try_echo"; } >&5
   1516   (eval "$ac_compile") 2>conftest.err
   1517   ac_status=$?
   1518   if test -s conftest.err; then
   1519     grep -v '^ *+' conftest.err >conftest.er1
   1520     cat conftest.er1 >&5
   1521     mv -f conftest.er1 conftest.err
   1522   fi
   1523   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1524   test $ac_status = 0; } && {
   1525 	 test -z "$ac_c_werror_flag" ||
   1526 	 test ! -s conftest.err
   1527        } && test -s conftest.$ac_objext; then :
   1528   ac_retval=0
   1529 else
   1530   $as_echo "$as_me: failed program was:" >&5
   1531 sed 's/^/| /' conftest.$ac_ext >&5
   1532 
   1533 	ac_retval=1
   1534 fi
   1535   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1536   as_fn_set_status $ac_retval
   1537 
   1538 } # ac_fn_c_try_compile
   1539 
   1540 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1541 # ---------------------------------------------
   1542 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1543 # accordingly.
   1544 ac_fn_c_check_decl ()
   1545 {
   1546   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1547   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1548   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1550 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1551 if eval \${$3+:} false; then :
   1552   $as_echo_n "(cached) " >&6
   1553 else
   1554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1555 /* end confdefs.h.  */
   1556 $4
   1557 int
   1558 main ()
   1559 {
   1560 #ifndef $as_decl_name
   1561 #ifdef __cplusplus
   1562   (void) $as_decl_use;
   1563 #else
   1564   (void) $as_decl_name;
   1565 #endif
   1566 #endif
   1567 
   1568   ;
   1569   return 0;
   1570 }
   1571 _ACEOF
   1572 if ac_fn_c_try_compile "$LINENO"; then :
   1573   eval "$3=yes"
   1574 else
   1575   eval "$3=no"
   1576 fi
   1577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1578 fi
   1579 eval ac_res=\$$3
   1580 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1581 $as_echo "$ac_res" >&6; }
   1582   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1583 
   1584 } # ac_fn_c_check_decl
   1585 
   1586 # ac_fn_c_try_cpp LINENO
   1587 # ----------------------
   1588 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1589 ac_fn_c_try_cpp ()
   1590 {
   1591   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1592   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1593 case "(($ac_try" in
   1594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1595   *) ac_try_echo=$ac_try;;
   1596 esac
   1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1598 $as_echo "$ac_try_echo"; } >&5
   1599   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1600   ac_status=$?
   1601   if test -s conftest.err; then
   1602     grep -v '^ *+' conftest.err >conftest.er1
   1603     cat conftest.er1 >&5
   1604     mv -f conftest.er1 conftest.err
   1605   fi
   1606   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1607   test $ac_status = 0; } > conftest.i && {
   1608 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1609 	 test ! -s conftest.err
   1610        }; then :
   1611   ac_retval=0
   1612 else
   1613   $as_echo "$as_me: failed program was:" >&5
   1614 sed 's/^/| /' conftest.$ac_ext >&5
   1615 
   1616     ac_retval=1
   1617 fi
   1618   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1619   as_fn_set_status $ac_retval
   1620 
   1621 } # ac_fn_c_try_cpp
   1622 
   1623 # ac_fn_c_try_run LINENO
   1624 # ----------------------
   1625 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1626 # that executables *can* be run.
   1627 ac_fn_c_try_run ()
   1628 {
   1629   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1630   if { { ac_try="$ac_link"
   1631 case "(($ac_try" in
   1632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1633   *) ac_try_echo=$ac_try;;
   1634 esac
   1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1636 $as_echo "$ac_try_echo"; } >&5
   1637   (eval "$ac_link") 2>&5
   1638   ac_status=$?
   1639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1640   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1641   { { case "(($ac_try" in
   1642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1643   *) ac_try_echo=$ac_try;;
   1644 esac
   1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1646 $as_echo "$ac_try_echo"; } >&5
   1647   (eval "$ac_try") 2>&5
   1648   ac_status=$?
   1649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1650   test $ac_status = 0; }; }; then :
   1651   ac_retval=0
   1652 else
   1653   $as_echo "$as_me: program exited with status $ac_status" >&5
   1654        $as_echo "$as_me: failed program was:" >&5
   1655 sed 's/^/| /' conftest.$ac_ext >&5
   1656 
   1657        ac_retval=$ac_status
   1658 fi
   1659   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1660   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1661   as_fn_set_status $ac_retval
   1662 
   1663 } # ac_fn_c_try_run
   1664 
   1665 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1666 # -------------------------------------------------------
   1667 # Tests whether HEADER exists and can be compiled using the include files in
   1668 # INCLUDES, setting the cache variable VAR accordingly.
   1669 ac_fn_c_check_header_compile ()
   1670 {
   1671   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1673 $as_echo_n "checking for $2... " >&6; }
   1674 if eval \${$3+:} false; then :
   1675   $as_echo_n "(cached) " >&6
   1676 else
   1677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1678 /* end confdefs.h.  */
   1679 $4
   1680 #include <$2>
   1681 _ACEOF
   1682 if ac_fn_c_try_compile "$LINENO"; then :
   1683   eval "$3=yes"
   1684 else
   1685   eval "$3=no"
   1686 fi
   1687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1688 fi
   1689 eval ac_res=\$$3
   1690 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1691 $as_echo "$ac_res" >&6; }
   1692   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1693 
   1694 } # ac_fn_c_check_header_compile
   1695 
   1696 # ac_fn_c_try_link LINENO
   1697 # -----------------------
   1698 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1699 ac_fn_c_try_link ()
   1700 {
   1701   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1702   rm -f conftest.$ac_objext conftest$ac_exeext
   1703   if { { ac_try="$ac_link"
   1704 case "(($ac_try" in
   1705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1706   *) ac_try_echo=$ac_try;;
   1707 esac
   1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1709 $as_echo "$ac_try_echo"; } >&5
   1710   (eval "$ac_link") 2>conftest.err
   1711   ac_status=$?
   1712   if test -s conftest.err; then
   1713     grep -v '^ *+' conftest.err >conftest.er1
   1714     cat conftest.er1 >&5
   1715     mv -f conftest.er1 conftest.err
   1716   fi
   1717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1718   test $ac_status = 0; } && {
   1719 	 test -z "$ac_c_werror_flag" ||
   1720 	 test ! -s conftest.err
   1721        } && test -s conftest$ac_exeext && {
   1722 	 test "$cross_compiling" = yes ||
   1723 	 test -x conftest$ac_exeext
   1724        }; then :
   1725   ac_retval=0
   1726 else
   1727   $as_echo "$as_me: failed program was:" >&5
   1728 sed 's/^/| /' conftest.$ac_ext >&5
   1729 
   1730 	ac_retval=1
   1731 fi
   1732   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1733   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1734   # interfere with the next link command; also delete a directory that is
   1735   # left behind by Apple's compiler.  We do this before executing the actions.
   1736   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1737   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1738   as_fn_set_status $ac_retval
   1739 
   1740 } # ac_fn_c_try_link
   1741 
   1742 # ac_fn_c_check_func LINENO FUNC VAR
   1743 # ----------------------------------
   1744 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1745 ac_fn_c_check_func ()
   1746 {
   1747   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1749 $as_echo_n "checking for $2... " >&6; }
   1750 if eval \${$3+:} false; then :
   1751   $as_echo_n "(cached) " >&6
   1752 else
   1753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1754 /* end confdefs.h.  */
   1755 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1757 #define $2 innocuous_$2
   1758 
   1759 /* System header to define __stub macros and hopefully few prototypes,
   1760     which can conflict with char $2 (); below.
   1761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1762     <limits.h> exists even on freestanding compilers.  */
   1763 
   1764 #ifdef __STDC__
   1765 # include <limits.h>
   1766 #else
   1767 # include <assert.h>
   1768 #endif
   1769 
   1770 #undef $2
   1771 
   1772 /* Override any GCC internal prototype to avoid an error.
   1773    Use char because int might match the return type of a GCC
   1774    builtin and then its argument prototype would still apply.  */
   1775 #ifdef __cplusplus
   1776 extern "C"
   1777 #endif
   1778 char $2 ();
   1779 /* The GNU C library defines this for functions which it implements
   1780     to always fail with ENOSYS.  Some functions are actually named
   1781     something starting with __ and the normal name is an alias.  */
   1782 #if defined __stub_$2 || defined __stub___$2
   1783 choke me
   1784 #endif
   1785 
   1786 int
   1787 main ()
   1788 {
   1789 return $2 ();
   1790   ;
   1791   return 0;
   1792 }
   1793 _ACEOF
   1794 if ac_fn_c_try_link "$LINENO"; then :
   1795   eval "$3=yes"
   1796 else
   1797   eval "$3=no"
   1798 fi
   1799 rm -f core conftest.err conftest.$ac_objext \
   1800     conftest$ac_exeext conftest.$ac_ext
   1801 fi
   1802 eval ac_res=\$$3
   1803 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1804 $as_echo "$ac_res" >&6; }
   1805   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1806 
   1807 } # ac_fn_c_check_func
   1808 cat >config.log <<_ACEOF
   1809 This file contains any messages produced by compilers while
   1810 running configure, to aid debugging if configure makes a mistake.
   1811 
   1812 It was created by fonttosfnt $as_me 1.2.0, which was
   1813 generated by GNU Autoconf 2.69.  Invocation command line was
   1814 
   1815   $ $0 $@
   1816 
   1817 _ACEOF
   1818 exec 5>>config.log
   1819 {
   1820 cat <<_ASUNAME
   1821 ## --------- ##
   1822 ## Platform. ##
   1823 ## --------- ##
   1824 
   1825 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1826 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1827 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1828 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1829 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1830 
   1831 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1832 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1833 
   1834 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1835 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1836 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1837 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1838 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1839 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1840 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1841 
   1842 _ASUNAME
   1843 
   1844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1845 for as_dir in $PATH
   1846 do
   1847   IFS=$as_save_IFS
   1848   test -z "$as_dir" && as_dir=.
   1849     $as_echo "PATH: $as_dir"
   1850   done
   1851 IFS=$as_save_IFS
   1852 
   1853 } >&5
   1854 
   1855 cat >&5 <<_ACEOF
   1856 
   1857 
   1858 ## ----------- ##
   1859 ## Core tests. ##
   1860 ## ----------- ##
   1861 
   1862 _ACEOF
   1863 
   1864 
   1865 # Keep a trace of the command line.
   1866 # Strip out --no-create and --no-recursion so they do not pile up.
   1867 # Strip out --silent because we don't want to record it for future runs.
   1868 # Also quote any args containing shell meta-characters.
   1869 # Make two passes to allow for proper duplicate-argument suppression.
   1870 ac_configure_args=
   1871 ac_configure_args0=
   1872 ac_configure_args1=
   1873 ac_must_keep_next=false
   1874 for ac_pass in 1 2
   1875 do
   1876   for ac_arg
   1877   do
   1878     case $ac_arg in
   1879     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1880     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1881     | -silent | --silent | --silen | --sile | --sil)
   1882       continue ;;
   1883     *\'*)
   1884       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1885     esac
   1886     case $ac_pass in
   1887     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1888     2)
   1889       as_fn_append ac_configure_args1 " '$ac_arg'"
   1890       if test $ac_must_keep_next = true; then
   1891 	ac_must_keep_next=false # Got value, back to normal.
   1892       else
   1893 	case $ac_arg in
   1894 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1895 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1896 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1897 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1898 	    case "$ac_configure_args0 " in
   1899 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1900 	    esac
   1901 	    ;;
   1902 	  -* ) ac_must_keep_next=true ;;
   1903 	esac
   1904       fi
   1905       as_fn_append ac_configure_args " '$ac_arg'"
   1906       ;;
   1907     esac
   1908   done
   1909 done
   1910 { ac_configure_args0=; unset ac_configure_args0;}
   1911 { ac_configure_args1=; unset ac_configure_args1;}
   1912 
   1913 # When interrupted or exit'd, cleanup temporary files, and complete
   1914 # config.log.  We remove comments because anyway the quotes in there
   1915 # would cause problems or look ugly.
   1916 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1917 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1918 trap 'exit_status=$?
   1919   # Save into config.log some information that might help in debugging.
   1920   {
   1921     echo
   1922 
   1923     $as_echo "## ---------------- ##
   1924 ## Cache variables. ##
   1925 ## ---------------- ##"
   1926     echo
   1927     # The following way of writing the cache mishandles newlines in values,
   1928 (
   1929   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1930     eval ac_val=\$$ac_var
   1931     case $ac_val in #(
   1932     *${as_nl}*)
   1933       case $ac_var in #(
   1934       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1935 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1936       esac
   1937       case $ac_var in #(
   1938       _ | IFS | as_nl) ;; #(
   1939       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1940       *) { eval $ac_var=; unset $ac_var;} ;;
   1941       esac ;;
   1942     esac
   1943   done
   1944   (set) 2>&1 |
   1945     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1946     *${as_nl}ac_space=\ *)
   1947       sed -n \
   1948 	"s/'\''/'\''\\\\'\'''\''/g;
   1949 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1950       ;; #(
   1951     *)
   1952       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1953       ;;
   1954     esac |
   1955     sort
   1956 )
   1957     echo
   1958 
   1959     $as_echo "## ----------------- ##
   1960 ## Output variables. ##
   1961 ## ----------------- ##"
   1962     echo
   1963     for ac_var in $ac_subst_vars
   1964     do
   1965       eval ac_val=\$$ac_var
   1966       case $ac_val in
   1967       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1968       esac
   1969       $as_echo "$ac_var='\''$ac_val'\''"
   1970     done | sort
   1971     echo
   1972 
   1973     if test -n "$ac_subst_files"; then
   1974       $as_echo "## ------------------- ##
   1975 ## File substitutions. ##
   1976 ## ------------------- ##"
   1977       echo
   1978       for ac_var in $ac_subst_files
   1979       do
   1980 	eval ac_val=\$$ac_var
   1981 	case $ac_val in
   1982 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1983 	esac
   1984 	$as_echo "$ac_var='\''$ac_val'\''"
   1985       done | sort
   1986       echo
   1987     fi
   1988 
   1989     if test -s confdefs.h; then
   1990       $as_echo "## ----------- ##
   1991 ## confdefs.h. ##
   1992 ## ----------- ##"
   1993       echo
   1994       cat confdefs.h
   1995       echo
   1996     fi
   1997     test "$ac_signal" != 0 &&
   1998       $as_echo "$as_me: caught signal $ac_signal"
   1999     $as_echo "$as_me: exit $exit_status"
   2000   } >&5
   2001   rm -f core *.core core.conftest.* &&
   2002     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2003     exit $exit_status
   2004 ' 0
   2005 for ac_signal in 1 2 13 15; do
   2006   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2007 done
   2008 ac_signal=0
   2009 
   2010 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2011 rm -f -r conftest* confdefs.h
   2012 
   2013 $as_echo "/* confdefs.h */" > confdefs.h
   2014 
   2015 # Predefined preprocessor variables.
   2016 
   2017 cat >>confdefs.h <<_ACEOF
   2018 #define PACKAGE_NAME "$PACKAGE_NAME"
   2019 _ACEOF
   2020 
   2021 cat >>confdefs.h <<_ACEOF
   2022 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2023 _ACEOF
   2024 
   2025 cat >>confdefs.h <<_ACEOF
   2026 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2027 _ACEOF
   2028 
   2029 cat >>confdefs.h <<_ACEOF
   2030 #define PACKAGE_STRING "$PACKAGE_STRING"
   2031 _ACEOF
   2032 
   2033 cat >>confdefs.h <<_ACEOF
   2034 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2035 _ACEOF
   2036 
   2037 cat >>confdefs.h <<_ACEOF
   2038 #define PACKAGE_URL "$PACKAGE_URL"
   2039 _ACEOF
   2040 
   2041 
   2042 # Let the site file select an alternate cache file if it wants to.
   2043 # Prefer an explicitly selected file to automatically selected ones.
   2044 ac_site_file1=NONE
   2045 ac_site_file2=NONE
   2046 if test -n "$CONFIG_SITE"; then
   2047   # We do not want a PATH search for config.site.
   2048   case $CONFIG_SITE in #((
   2049     -*)  ac_site_file1=./$CONFIG_SITE;;
   2050     */*) ac_site_file1=$CONFIG_SITE;;
   2051     *)   ac_site_file1=./$CONFIG_SITE;;
   2052   esac
   2053 elif test "x$prefix" != xNONE; then
   2054   ac_site_file1=$prefix/share/config.site
   2055   ac_site_file2=$prefix/etc/config.site
   2056 else
   2057   ac_site_file1=$ac_default_prefix/share/config.site
   2058   ac_site_file2=$ac_default_prefix/etc/config.site
   2059 fi
   2060 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2061 do
   2062   test "x$ac_site_file" = xNONE && continue
   2063   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2064     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2065 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2066     sed 's/^/| /' "$ac_site_file" >&5
   2067     . "$ac_site_file" \
   2068       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2070 as_fn_error $? "failed to load site script $ac_site_file
   2071 See \`config.log' for more details" "$LINENO" 5; }
   2072   fi
   2073 done
   2074 
   2075 if test -r "$cache_file"; then
   2076   # Some versions of bash will fail to source /dev/null (special files
   2077   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2078   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2079     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2080 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2081     case $cache_file in
   2082       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2083       *)                      . "./$cache_file";;
   2084     esac
   2085   fi
   2086 else
   2087   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2088 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2089   >$cache_file
   2090 fi
   2091 
   2092 # Check that the precious variables saved in the cache have kept the same
   2093 # value.
   2094 ac_cache_corrupted=false
   2095 for ac_var in $ac_precious_vars; do
   2096   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2097   eval ac_new_set=\$ac_env_${ac_var}_set
   2098   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2099   eval ac_new_val=\$ac_env_${ac_var}_value
   2100   case $ac_old_set,$ac_new_set in
   2101     set,)
   2102       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2103 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2104       ac_cache_corrupted=: ;;
   2105     ,set)
   2106       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2107 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2108       ac_cache_corrupted=: ;;
   2109     ,);;
   2110     *)
   2111       if test "x$ac_old_val" != "x$ac_new_val"; then
   2112 	# differences in whitespace do not lead to failure.
   2113 	ac_old_val_w=`echo x $ac_old_val`
   2114 	ac_new_val_w=`echo x $ac_new_val`
   2115 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2116 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2117 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2118 	  ac_cache_corrupted=:
   2119 	else
   2120 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2121 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2122 	  eval $ac_var=\$ac_old_val
   2123 	fi
   2124 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2125 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2126 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2127 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2128       fi;;
   2129   esac
   2130   # Pass precious variables to config.status.
   2131   if test "$ac_new_set" = set; then
   2132     case $ac_new_val in
   2133     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2134     *) ac_arg=$ac_var=$ac_new_val ;;
   2135     esac
   2136     case " $ac_configure_args " in
   2137       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2138       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2139     esac
   2140   fi
   2141 done
   2142 if $ac_cache_corrupted; then
   2143   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2145   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2146 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2147   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2148 fi
   2149 ## -------------------- ##
   2150 ## Main body of script. ##
   2151 ## -------------------- ##
   2152 
   2153 ac_ext=c
   2154 ac_cpp='$CPP $CPPFLAGS'
   2155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2158 
   2159 
   2160 
   2161 ac_config_headers="$ac_config_headers config.h"
   2162 
   2163 
   2164 # Initialize Automake
   2165 am__api_version='1.16'
   2166 
   2167 ac_aux_dir=
   2168 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2169   if test -f "$ac_dir/install-sh"; then
   2170     ac_aux_dir=$ac_dir
   2171     ac_install_sh="$ac_aux_dir/install-sh -c"
   2172     break
   2173   elif test -f "$ac_dir/install.sh"; then
   2174     ac_aux_dir=$ac_dir
   2175     ac_install_sh="$ac_aux_dir/install.sh -c"
   2176     break
   2177   elif test -f "$ac_dir/shtool"; then
   2178     ac_aux_dir=$ac_dir
   2179     ac_install_sh="$ac_aux_dir/shtool install -c"
   2180     break
   2181   fi
   2182 done
   2183 if test -z "$ac_aux_dir"; then
   2184   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2185 fi
   2186 
   2187 # These three variables are undocumented and unsupported,
   2188 # and are intended to be withdrawn in a future Autoconf release.
   2189 # They can cause serious problems if a builder's source tree is in a directory
   2190 # whose full name contains unusual characters.
   2191 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2192 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2193 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2194 
   2195 
   2196 # Find a good install program.  We prefer a C program (faster),
   2197 # so one script is as good as another.  But avoid the broken or
   2198 # incompatible versions:
   2199 # SysV /etc/install, /usr/sbin/install
   2200 # SunOS /usr/etc/install
   2201 # IRIX /sbin/install
   2202 # AIX /bin/install
   2203 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2204 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2205 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2206 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2207 # OS/2's system install, which has a completely different semantic
   2208 # ./install, which can be erroneously created by make from ./install.sh.
   2209 # Reject install programs that cannot install multiple files.
   2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2211 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2212 if test -z "$INSTALL"; then
   2213 if ${ac_cv_path_install+:} false; then :
   2214   $as_echo_n "(cached) " >&6
   2215 else
   2216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2217 for as_dir in $PATH
   2218 do
   2219   IFS=$as_save_IFS
   2220   test -z "$as_dir" && as_dir=.
   2221     # Account for people who put trailing slashes in PATH elements.
   2222 case $as_dir/ in #((
   2223   ./ | .// | /[cC]/* | \
   2224   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2225   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2226   /usr/ucb/* ) ;;
   2227   *)
   2228     # OSF1 and SCO ODT 3.0 have their own names for install.
   2229     # Don't use installbsd from OSF since it installs stuff as root
   2230     # by default.
   2231     for ac_prog in ginstall scoinst install; do
   2232       for ac_exec_ext in '' $ac_executable_extensions; do
   2233 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2234 	  if test $ac_prog = install &&
   2235 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2236 	    # AIX install.  It has an incompatible calling convention.
   2237 	    :
   2238 	  elif test $ac_prog = install &&
   2239 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2240 	    # program-specific install script used by HP pwplus--don't use.
   2241 	    :
   2242 	  else
   2243 	    rm -rf conftest.one conftest.two conftest.dir
   2244 	    echo one > conftest.one
   2245 	    echo two > conftest.two
   2246 	    mkdir conftest.dir
   2247 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2248 	      test -s conftest.one && test -s conftest.two &&
   2249 	      test -s conftest.dir/conftest.one &&
   2250 	      test -s conftest.dir/conftest.two
   2251 	    then
   2252 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2253 	      break 3
   2254 	    fi
   2255 	  fi
   2256 	fi
   2257       done
   2258     done
   2259     ;;
   2260 esac
   2261 
   2262   done
   2263 IFS=$as_save_IFS
   2264 
   2265 rm -rf conftest.one conftest.two conftest.dir
   2266 
   2267 fi
   2268   if test "${ac_cv_path_install+set}" = set; then
   2269     INSTALL=$ac_cv_path_install
   2270   else
   2271     # As a last resort, use the slow shell script.  Don't cache a
   2272     # value for INSTALL within a source directory, because that will
   2273     # break other packages using the cache if that directory is
   2274     # removed, or if the value is a relative name.
   2275     INSTALL=$ac_install_sh
   2276   fi
   2277 fi
   2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2279 $as_echo "$INSTALL" >&6; }
   2280 
   2281 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2282 # It thinks the first close brace ends the variable substitution.
   2283 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2284 
   2285 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2286 
   2287 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2288 
   2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2290 $as_echo_n "checking whether build environment is sane... " >&6; }
   2291 # Reject unsafe characters in $srcdir or the absolute working directory
   2292 # name.  Accept space and tab only in the latter.
   2293 am_lf='
   2294 '
   2295 case `pwd` in
   2296   *[\\\"\#\$\&\'\`$am_lf]*)
   2297     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2298 esac
   2299 case $srcdir in
   2300   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2301     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2302 esac
   2303 
   2304 # Do 'set' in a subshell so we don't clobber the current shell's
   2305 # arguments.  Must try -L first in case configure is actually a
   2306 # symlink; some systems play weird games with the mod time of symlinks
   2307 # (eg FreeBSD returns the mod time of the symlink's containing
   2308 # directory).
   2309 if (
   2310    am_has_slept=no
   2311    for am_try in 1 2; do
   2312      echo "timestamp, slept: $am_has_slept" > conftest.file
   2313      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2314      if test "$*" = "X"; then
   2315 	# -L didn't work.
   2316 	set X `ls -t "$srcdir/configure" conftest.file`
   2317      fi
   2318      if test "$*" != "X $srcdir/configure conftest.file" \
   2319 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2320 
   2321 	# If neither matched, then we have a broken ls.  This can happen
   2322 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2323 	# broken ls alias from the environment.  This has actually
   2324 	# happened.  Such a system could not be considered "sane".
   2325 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2326   alias in your environment" "$LINENO" 5
   2327      fi
   2328      if test "$2" = conftest.file || test $am_try -eq 2; then
   2329        break
   2330      fi
   2331      # Just in case.
   2332      sleep 1
   2333      am_has_slept=yes
   2334    done
   2335    test "$2" = conftest.file
   2336    )
   2337 then
   2338    # Ok.
   2339    :
   2340 else
   2341    as_fn_error $? "newly created file is older than distributed files!
   2342 Check your system clock" "$LINENO" 5
   2343 fi
   2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2345 $as_echo "yes" >&6; }
   2346 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2347 # generated files are strictly newer.
   2348 am_sleep_pid=
   2349 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2350   ( sleep 1 ) &
   2351   am_sleep_pid=$!
   2352 fi
   2353 
   2354 rm -f conftest.file
   2355 
   2356 test "$program_prefix" != NONE &&
   2357   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2358 # Use a double $ so make ignores it.
   2359 test "$program_suffix" != NONE &&
   2360   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2361 # Double any \ or $.
   2362 # By default was `s,x,x', remove it if useless.
   2363 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2364 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2365 
   2366 # Expand $ac_aux_dir to an absolute path.
   2367 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2368 
   2369 if test x"${MISSING+set}" != xset; then
   2370   case $am_aux_dir in
   2371   *\ * | *\	*)
   2372     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2373   *)
   2374     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2375   esac
   2376 fi
   2377 # Use eval to expand $SHELL
   2378 if eval "$MISSING --is-lightweight"; then
   2379   am_missing_run="$MISSING "
   2380 else
   2381   am_missing_run=
   2382   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2383 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2384 fi
   2385 
   2386 if test x"${install_sh+set}" != xset; then
   2387   case $am_aux_dir in
   2388   *\ * | *\	*)
   2389     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2390   *)
   2391     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2392   esac
   2393 fi
   2394 
   2395 # Installed binaries are usually stripped using 'strip' when the user
   2396 # run "make install-strip".  However 'strip' might not be the right
   2397 # tool to use in cross-compilation environments, therefore Automake
   2398 # will honor the 'STRIP' environment variable to overrule this program.
   2399 if test "$cross_compiling" != no; then
   2400   if test -n "$ac_tool_prefix"; then
   2401   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2402 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2404 $as_echo_n "checking for $ac_word... " >&6; }
   2405 if ${ac_cv_prog_STRIP+:} false; then :
   2406   $as_echo_n "(cached) " >&6
   2407 else
   2408   if test -n "$STRIP"; then
   2409   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2410 else
   2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2412 for as_dir in $PATH
   2413 do
   2414   IFS=$as_save_IFS
   2415   test -z "$as_dir" && as_dir=.
   2416     for ac_exec_ext in '' $ac_executable_extensions; do
   2417   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2418     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2420     break 2
   2421   fi
   2422 done
   2423   done
   2424 IFS=$as_save_IFS
   2425 
   2426 fi
   2427 fi
   2428 STRIP=$ac_cv_prog_STRIP
   2429 if test -n "$STRIP"; then
   2430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2431 $as_echo "$STRIP" >&6; }
   2432 else
   2433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2434 $as_echo "no" >&6; }
   2435 fi
   2436 
   2437 
   2438 fi
   2439 if test -z "$ac_cv_prog_STRIP"; then
   2440   ac_ct_STRIP=$STRIP
   2441   # Extract the first word of "strip", so it can be a program name with args.
   2442 set dummy strip; ac_word=$2
   2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2444 $as_echo_n "checking for $ac_word... " >&6; }
   2445 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2446   $as_echo_n "(cached) " >&6
   2447 else
   2448   if test -n "$ac_ct_STRIP"; then
   2449   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2450 else
   2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2452 for as_dir in $PATH
   2453 do
   2454   IFS=$as_save_IFS
   2455   test -z "$as_dir" && as_dir=.
   2456     for ac_exec_ext in '' $ac_executable_extensions; do
   2457   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2458     ac_cv_prog_ac_ct_STRIP="strip"
   2459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2460     break 2
   2461   fi
   2462 done
   2463   done
   2464 IFS=$as_save_IFS
   2465 
   2466 fi
   2467 fi
   2468 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2469 if test -n "$ac_ct_STRIP"; then
   2470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2471 $as_echo "$ac_ct_STRIP" >&6; }
   2472 else
   2473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2474 $as_echo "no" >&6; }
   2475 fi
   2476 
   2477   if test "x$ac_ct_STRIP" = x; then
   2478     STRIP=":"
   2479   else
   2480     case $cross_compiling:$ac_tool_warned in
   2481 yes:)
   2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2484 ac_tool_warned=yes ;;
   2485 esac
   2486     STRIP=$ac_ct_STRIP
   2487   fi
   2488 else
   2489   STRIP="$ac_cv_prog_STRIP"
   2490 fi
   2491 
   2492 fi
   2493 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2494 
   2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2496 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2497 if test -z "$MKDIR_P"; then
   2498   if ${ac_cv_path_mkdir+:} false; then :
   2499   $as_echo_n "(cached) " >&6
   2500 else
   2501   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2502 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2503 do
   2504   IFS=$as_save_IFS
   2505   test -z "$as_dir" && as_dir=.
   2506     for ac_prog in mkdir gmkdir; do
   2507 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2508 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2509 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2510 	     'mkdir (GNU coreutils) '* | \
   2511 	     'mkdir (coreutils) '* | \
   2512 	     'mkdir (fileutils) '4.1*)
   2513 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2514 	       break 3;;
   2515 	   esac
   2516 	 done
   2517        done
   2518   done
   2519 IFS=$as_save_IFS
   2520 
   2521 fi
   2522 
   2523   test -d ./--version && rmdir ./--version
   2524   if test "${ac_cv_path_mkdir+set}" = set; then
   2525     MKDIR_P="$ac_cv_path_mkdir -p"
   2526   else
   2527     # As a last resort, use the slow shell script.  Don't cache a
   2528     # value for MKDIR_P within a source directory, because that will
   2529     # break other packages using the cache if that directory is
   2530     # removed, or if the value is a relative name.
   2531     MKDIR_P="$ac_install_sh -d"
   2532   fi
   2533 fi
   2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2535 $as_echo "$MKDIR_P" >&6; }
   2536 
   2537 for ac_prog in gawk mawk nawk awk
   2538 do
   2539   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2540 set dummy $ac_prog; ac_word=$2
   2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2542 $as_echo_n "checking for $ac_word... " >&6; }
   2543 if ${ac_cv_prog_AWK+:} false; then :
   2544   $as_echo_n "(cached) " >&6
   2545 else
   2546   if test -n "$AWK"; then
   2547   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2548 else
   2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2550 for as_dir in $PATH
   2551 do
   2552   IFS=$as_save_IFS
   2553   test -z "$as_dir" && as_dir=.
   2554     for ac_exec_ext in '' $ac_executable_extensions; do
   2555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2556     ac_cv_prog_AWK="$ac_prog"
   2557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2558     break 2
   2559   fi
   2560 done
   2561   done
   2562 IFS=$as_save_IFS
   2563 
   2564 fi
   2565 fi
   2566 AWK=$ac_cv_prog_AWK
   2567 if test -n "$AWK"; then
   2568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2569 $as_echo "$AWK" >&6; }
   2570 else
   2571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2572 $as_echo "no" >&6; }
   2573 fi
   2574 
   2575 
   2576   test -n "$AWK" && break
   2577 done
   2578 
   2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2580 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2581 set x ${MAKE-make}
   2582 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2583 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2584   $as_echo_n "(cached) " >&6
   2585 else
   2586   cat >conftest.make <<\_ACEOF
   2587 SHELL = /bin/sh
   2588 all:
   2589 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2590 _ACEOF
   2591 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2592 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2593   *@@@%%%=?*=@@@%%%*)
   2594     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2595   *)
   2596     eval ac_cv_prog_make_${ac_make}_set=no;;
   2597 esac
   2598 rm -f conftest.make
   2599 fi
   2600 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2602 $as_echo "yes" >&6; }
   2603   SET_MAKE=
   2604 else
   2605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2606 $as_echo "no" >&6; }
   2607   SET_MAKE="MAKE=${MAKE-make}"
   2608 fi
   2609 
   2610 rm -rf .tst 2>/dev/null
   2611 mkdir .tst 2>/dev/null
   2612 if test -d .tst; then
   2613   am__leading_dot=.
   2614 else
   2615   am__leading_dot=_
   2616 fi
   2617 rmdir .tst 2>/dev/null
   2618 
   2619 # Check whether --enable-silent-rules was given.
   2620 if test "${enable_silent_rules+set}" = set; then :
   2621   enableval=$enable_silent_rules;
   2622 fi
   2623 
   2624 case $enable_silent_rules in # (((
   2625   yes) AM_DEFAULT_VERBOSITY=0;;
   2626    no) AM_DEFAULT_VERBOSITY=1;;
   2627     *) AM_DEFAULT_VERBOSITY=1;;
   2628 esac
   2629 am_make=${MAKE-make}
   2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2631 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2632 if ${am_cv_make_support_nested_variables+:} false; then :
   2633   $as_echo_n "(cached) " >&6
   2634 else
   2635   if $as_echo 'TRUE=$(BAR$(V))
   2636 BAR0=false
   2637 BAR1=true
   2638 V=1
   2639 am__doit:
   2640 	@$(TRUE)
   2641 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2642   am_cv_make_support_nested_variables=yes
   2643 else
   2644   am_cv_make_support_nested_variables=no
   2645 fi
   2646 fi
   2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2648 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2649 if test $am_cv_make_support_nested_variables = yes; then
   2650     AM_V='$(V)'
   2651   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2652 else
   2653   AM_V=$AM_DEFAULT_VERBOSITY
   2654   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2655 fi
   2656 AM_BACKSLASH='\'
   2657 
   2658 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2659   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2660   # is not polluted with repeated "-I."
   2661   am__isrc=' -I$(srcdir)'
   2662   # test to see if srcdir already configured
   2663   if test -f $srcdir/config.status; then
   2664     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2665   fi
   2666 fi
   2667 
   2668 # test whether we have cygpath
   2669 if test -z "$CYGPATH_W"; then
   2670   if (cygpath --version) >/dev/null 2>/dev/null; then
   2671     CYGPATH_W='cygpath -w'
   2672   else
   2673     CYGPATH_W=echo
   2674   fi
   2675 fi
   2676 
   2677 
   2678 # Define the identity of the package.
   2679  PACKAGE='fonttosfnt'
   2680  VERSION='1.2.0'
   2681 
   2682 
   2683 cat >>confdefs.h <<_ACEOF
   2684 #define PACKAGE "$PACKAGE"
   2685 _ACEOF
   2686 
   2687 
   2688 cat >>confdefs.h <<_ACEOF
   2689 #define VERSION "$VERSION"
   2690 _ACEOF
   2691 
   2692 # Some tools Automake needs.
   2693 
   2694 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2695 
   2696 
   2697 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2698 
   2699 
   2700 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2701 
   2702 
   2703 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2704 
   2705 
   2706 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2707 
   2708 # For better backward compatibility.  To be removed once Automake 1.9.x
   2709 # dies out for good.  For more background, see:
   2710 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2711 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2712 mkdir_p='$(MKDIR_P)'
   2713 
   2714 # We need awk for the "check" target (and possibly the TAP driver).  The
   2715 # system "awk" is bad on some platforms.
   2716 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2717 # in the wild :-(  We should find a proper way to deprecate it ...
   2718 AMTAR='$${TAR-tar}'
   2719 
   2720 
   2721 # We'll loop over all known methods to create a tar archive until one works.
   2722 _am_tools='gnutar  pax cpio none'
   2723 
   2724 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2725 
   2726 
   2727 
   2728 
   2729 
   2730 
   2731 # POSIX will say in a future version that running "rm -f" with no argument
   2732 # is OK; and we want to be able to make that assumption in our Makefile
   2733 # recipes.  So use an aggressive probe to check that the usage we want is
   2734 # actually supported "in the wild" to an acceptable degree.
   2735 # See automake bug#10828.
   2736 # To make any issue more visible, cause the running configure to be aborted
   2737 # by default if the 'rm' program in use doesn't match our expectations; the
   2738 # user can still override this though.
   2739 if rm -f && rm -fr && rm -rf; then : OK; else
   2740   cat >&2 <<'END'
   2741 Oops!
   2742 
   2743 Your 'rm' program seems unable to run without file operands specified
   2744 on the command line, even when the '-f' option is present.  This is contrary
   2745 to the behaviour of most rm programs out there, and not conforming with
   2746 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2747 
   2748 Please tell bug-automake@gnu.org about your system, including the value
   2749 of your $PATH and any error possibly output before this message.  This
   2750 can help us improve future automake versions.
   2751 
   2752 END
   2753   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2754     echo 'Configuration will proceed anyway, since you have set the' >&2
   2755     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2756     echo >&2
   2757   else
   2758     cat >&2 <<'END'
   2759 Aborting the configuration process, to ensure you take notice of the issue.
   2760 
   2761 You can download and install GNU coreutils to get an 'rm' implementation
   2762 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   2763 
   2764 If you want to complete the configuration process using your problematic
   2765 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2766 to "yes", and re-run configure.
   2767 
   2768 END
   2769     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2770   fi
   2771 fi
   2772 
   2773 
   2774 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2775 
   2776 
   2777 
   2778 
   2779 
   2780 
   2781 
   2782 
   2783 
   2784 
   2785 
   2786 DEPDIR="${am__leading_dot}deps"
   2787 
   2788 ac_config_commands="$ac_config_commands depfiles"
   2789 
   2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   2791 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   2792 cat > confinc.mk << 'END'
   2793 am__doit:
   2794 	@echo this is the am__doit target >confinc.out
   2795 .PHONY: am__doit
   2796 END
   2797 am__include="#"
   2798 am__quote=
   2799 # BSD make does it like this.
   2800 echo '.include "confinc.mk" # ignored' > confmf.BSD
   2801 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   2802 echo 'include confinc.mk # ignored' > confmf.GNU
   2803 _am_result=no
   2804 for s in GNU BSD; do
   2805   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   2806    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   2807    ac_status=$?
   2808    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2809    (exit $ac_status); }
   2810   case $?:`cat confinc.out 2>/dev/null` in #(
   2811   '0:this is the am__doit target') :
   2812     case $s in #(
   2813   BSD) :
   2814     am__include='.include' am__quote='"' ;; #(
   2815   *) :
   2816     am__include='include' am__quote='' ;;
   2817 esac ;; #(
   2818   *) :
   2819      ;;
   2820 esac
   2821   if test "$am__include" != "#"; then
   2822     _am_result="yes ($s style)"
   2823     break
   2824   fi
   2825 done
   2826 rm -f confinc.* confmf.*
   2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   2828 $as_echo "${_am_result}" >&6; }
   2829 
   2830 # Check whether --enable-dependency-tracking was given.
   2831 if test "${enable_dependency_tracking+set}" = set; then :
   2832   enableval=$enable_dependency_tracking;
   2833 fi
   2834 
   2835 if test "x$enable_dependency_tracking" != xno; then
   2836   am_depcomp="$ac_aux_dir/depcomp"
   2837   AMDEPBACKSLASH='\'
   2838   am__nodep='_no'
   2839 fi
   2840  if test "x$enable_dependency_tracking" != xno; then
   2841   AMDEP_TRUE=
   2842   AMDEP_FALSE='#'
   2843 else
   2844   AMDEP_TRUE='#'
   2845   AMDEP_FALSE=
   2846 fi
   2847 
   2848 
   2849 ac_ext=c
   2850 ac_cpp='$CPP $CPPFLAGS'
   2851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2854 if test -n "$ac_tool_prefix"; then
   2855   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2856 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2858 $as_echo_n "checking for $ac_word... " >&6; }
   2859 if ${ac_cv_prog_CC+:} false; then :
   2860   $as_echo_n "(cached) " >&6
   2861 else
   2862   if test -n "$CC"; then
   2863   ac_cv_prog_CC="$CC" # Let the user override the test.
   2864 else
   2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2866 for as_dir in $PATH
   2867 do
   2868   IFS=$as_save_IFS
   2869   test -z "$as_dir" && as_dir=.
   2870     for ac_exec_ext in '' $ac_executable_extensions; do
   2871   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2872     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2874     break 2
   2875   fi
   2876 done
   2877   done
   2878 IFS=$as_save_IFS
   2879 
   2880 fi
   2881 fi
   2882 CC=$ac_cv_prog_CC
   2883 if test -n "$CC"; then
   2884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2885 $as_echo "$CC" >&6; }
   2886 else
   2887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2888 $as_echo "no" >&6; }
   2889 fi
   2890 
   2891 
   2892 fi
   2893 if test -z "$ac_cv_prog_CC"; then
   2894   ac_ct_CC=$CC
   2895   # Extract the first word of "gcc", so it can be a program name with args.
   2896 set dummy gcc; ac_word=$2
   2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2898 $as_echo_n "checking for $ac_word... " >&6; }
   2899 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2900   $as_echo_n "(cached) " >&6
   2901 else
   2902   if test -n "$ac_ct_CC"; then
   2903   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2904 else
   2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2906 for as_dir in $PATH
   2907 do
   2908   IFS=$as_save_IFS
   2909   test -z "$as_dir" && as_dir=.
   2910     for ac_exec_ext in '' $ac_executable_extensions; do
   2911   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2912     ac_cv_prog_ac_ct_CC="gcc"
   2913     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2914     break 2
   2915   fi
   2916 done
   2917   done
   2918 IFS=$as_save_IFS
   2919 
   2920 fi
   2921 fi
   2922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2923 if test -n "$ac_ct_CC"; then
   2924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2925 $as_echo "$ac_ct_CC" >&6; }
   2926 else
   2927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2928 $as_echo "no" >&6; }
   2929 fi
   2930 
   2931   if test "x$ac_ct_CC" = x; then
   2932     CC=""
   2933   else
   2934     case $cross_compiling:$ac_tool_warned in
   2935 yes:)
   2936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2938 ac_tool_warned=yes ;;
   2939 esac
   2940     CC=$ac_ct_CC
   2941   fi
   2942 else
   2943   CC="$ac_cv_prog_CC"
   2944 fi
   2945 
   2946 if test -z "$CC"; then
   2947           if test -n "$ac_tool_prefix"; then
   2948     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2949 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2951 $as_echo_n "checking for $ac_word... " >&6; }
   2952 if ${ac_cv_prog_CC+:} false; then :
   2953   $as_echo_n "(cached) " >&6
   2954 else
   2955   if test -n "$CC"; then
   2956   ac_cv_prog_CC="$CC" # Let the user override the test.
   2957 else
   2958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2959 for as_dir in $PATH
   2960 do
   2961   IFS=$as_save_IFS
   2962   test -z "$as_dir" && as_dir=.
   2963     for ac_exec_ext in '' $ac_executable_extensions; do
   2964   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2965     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2967     break 2
   2968   fi
   2969 done
   2970   done
   2971 IFS=$as_save_IFS
   2972 
   2973 fi
   2974 fi
   2975 CC=$ac_cv_prog_CC
   2976 if test -n "$CC"; then
   2977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2978 $as_echo "$CC" >&6; }
   2979 else
   2980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2981 $as_echo "no" >&6; }
   2982 fi
   2983 
   2984 
   2985   fi
   2986 fi
   2987 if test -z "$CC"; then
   2988   # Extract the first word of "cc", so it can be a program name with args.
   2989 set dummy cc; ac_word=$2
   2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2991 $as_echo_n "checking for $ac_word... " >&6; }
   2992 if ${ac_cv_prog_CC+:} false; then :
   2993   $as_echo_n "(cached) " >&6
   2994 else
   2995   if test -n "$CC"; then
   2996   ac_cv_prog_CC="$CC" # Let the user override the test.
   2997 else
   2998   ac_prog_rejected=no
   2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3000 for as_dir in $PATH
   3001 do
   3002   IFS=$as_save_IFS
   3003   test -z "$as_dir" && as_dir=.
   3004     for ac_exec_ext in '' $ac_executable_extensions; do
   3005   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3006     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3007        ac_prog_rejected=yes
   3008        continue
   3009      fi
   3010     ac_cv_prog_CC="cc"
   3011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3012     break 2
   3013   fi
   3014 done
   3015   done
   3016 IFS=$as_save_IFS
   3017 
   3018 if test $ac_prog_rejected = yes; then
   3019   # We found a bogon in the path, so make sure we never use it.
   3020   set dummy $ac_cv_prog_CC
   3021   shift
   3022   if test $# != 0; then
   3023     # We chose a different compiler from the bogus one.
   3024     # However, it has the same basename, so the bogon will be chosen
   3025     # first if we set CC to just the basename; use the full file name.
   3026     shift
   3027     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3028   fi
   3029 fi
   3030 fi
   3031 fi
   3032 CC=$ac_cv_prog_CC
   3033 if test -n "$CC"; then
   3034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3035 $as_echo "$CC" >&6; }
   3036 else
   3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3038 $as_echo "no" >&6; }
   3039 fi
   3040 
   3041 
   3042 fi
   3043 if test -z "$CC"; then
   3044   if test -n "$ac_tool_prefix"; then
   3045   for ac_prog in cl.exe
   3046   do
   3047     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3048 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3050 $as_echo_n "checking for $ac_word... " >&6; }
   3051 if ${ac_cv_prog_CC+:} false; then :
   3052   $as_echo_n "(cached) " >&6
   3053 else
   3054   if test -n "$CC"; then
   3055   ac_cv_prog_CC="$CC" # Let the user override the test.
   3056 else
   3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3058 for as_dir in $PATH
   3059 do
   3060   IFS=$as_save_IFS
   3061   test -z "$as_dir" && as_dir=.
   3062     for ac_exec_ext in '' $ac_executable_extensions; do
   3063   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3064     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3065     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3066     break 2
   3067   fi
   3068 done
   3069   done
   3070 IFS=$as_save_IFS
   3071 
   3072 fi
   3073 fi
   3074 CC=$ac_cv_prog_CC
   3075 if test -n "$CC"; then
   3076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3077 $as_echo "$CC" >&6; }
   3078 else
   3079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3080 $as_echo "no" >&6; }
   3081 fi
   3082 
   3083 
   3084     test -n "$CC" && break
   3085   done
   3086 fi
   3087 if test -z "$CC"; then
   3088   ac_ct_CC=$CC
   3089   for ac_prog in cl.exe
   3090 do
   3091   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3092 set dummy $ac_prog; ac_word=$2
   3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3094 $as_echo_n "checking for $ac_word... " >&6; }
   3095 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3096   $as_echo_n "(cached) " >&6
   3097 else
   3098   if test -n "$ac_ct_CC"; then
   3099   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3100 else
   3101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3102 for as_dir in $PATH
   3103 do
   3104   IFS=$as_save_IFS
   3105   test -z "$as_dir" && as_dir=.
   3106     for ac_exec_ext in '' $ac_executable_extensions; do
   3107   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3108     ac_cv_prog_ac_ct_CC="$ac_prog"
   3109     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3110     break 2
   3111   fi
   3112 done
   3113   done
   3114 IFS=$as_save_IFS
   3115 
   3116 fi
   3117 fi
   3118 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3119 if test -n "$ac_ct_CC"; then
   3120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3121 $as_echo "$ac_ct_CC" >&6; }
   3122 else
   3123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3124 $as_echo "no" >&6; }
   3125 fi
   3126 
   3127 
   3128   test -n "$ac_ct_CC" && break
   3129 done
   3130 
   3131   if test "x$ac_ct_CC" = x; then
   3132     CC=""
   3133   else
   3134     case $cross_compiling:$ac_tool_warned in
   3135 yes:)
   3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3138 ac_tool_warned=yes ;;
   3139 esac
   3140     CC=$ac_ct_CC
   3141   fi
   3142 fi
   3143 
   3144 fi
   3145 
   3146 
   3147 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3149 as_fn_error $? "no acceptable C compiler found in \$PATH
   3150 See \`config.log' for more details" "$LINENO" 5; }
   3151 
   3152 # Provide some information about the compiler.
   3153 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3154 set X $ac_compile
   3155 ac_compiler=$2
   3156 for ac_option in --version -v -V -qversion; do
   3157   { { ac_try="$ac_compiler $ac_option >&5"
   3158 case "(($ac_try" in
   3159   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3160   *) ac_try_echo=$ac_try;;
   3161 esac
   3162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3163 $as_echo "$ac_try_echo"; } >&5
   3164   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3165   ac_status=$?
   3166   if test -s conftest.err; then
   3167     sed '10a\
   3168 ... rest of stderr output deleted ...
   3169          10q' conftest.err >conftest.er1
   3170     cat conftest.er1 >&5
   3171   fi
   3172   rm -f conftest.er1 conftest.err
   3173   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3174   test $ac_status = 0; }
   3175 done
   3176 
   3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3178 /* end confdefs.h.  */
   3179 
   3180 int
   3181 main ()
   3182 {
   3183 
   3184   ;
   3185   return 0;
   3186 }
   3187 _ACEOF
   3188 ac_clean_files_save=$ac_clean_files
   3189 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3190 # Try to create an executable without -o first, disregard a.out.
   3191 # It will help us diagnose broken compilers, and finding out an intuition
   3192 # of exeext.
   3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3194 $as_echo_n "checking whether the C compiler works... " >&6; }
   3195 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3196 
   3197 # The possible output files:
   3198 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3199 
   3200 ac_rmfiles=
   3201 for ac_file in $ac_files
   3202 do
   3203   case $ac_file in
   3204     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3205     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3206   esac
   3207 done
   3208 rm -f $ac_rmfiles
   3209 
   3210 if { { ac_try="$ac_link_default"
   3211 case "(($ac_try" in
   3212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3213   *) ac_try_echo=$ac_try;;
   3214 esac
   3215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3216 $as_echo "$ac_try_echo"; } >&5
   3217   (eval "$ac_link_default") 2>&5
   3218   ac_status=$?
   3219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3220   test $ac_status = 0; }; then :
   3221   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3222 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3223 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3224 # so that the user can short-circuit this test for compilers unknown to
   3225 # Autoconf.
   3226 for ac_file in $ac_files ''
   3227 do
   3228   test -f "$ac_file" || continue
   3229   case $ac_file in
   3230     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3231 	;;
   3232     [ab].out )
   3233 	# We found the default executable, but exeext='' is most
   3234 	# certainly right.
   3235 	break;;
   3236     *.* )
   3237 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3238 	then :; else
   3239 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3240 	fi
   3241 	# We set ac_cv_exeext here because the later test for it is not
   3242 	# safe: cross compilers may not add the suffix if given an `-o'
   3243 	# argument, so we may need to know it at that point already.
   3244 	# Even if this section looks crufty: it has the advantage of
   3245 	# actually working.
   3246 	break;;
   3247     * )
   3248 	break;;
   3249   esac
   3250 done
   3251 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3252 
   3253 else
   3254   ac_file=''
   3255 fi
   3256 if test -z "$ac_file"; then :
   3257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3258 $as_echo "no" >&6; }
   3259 $as_echo "$as_me: failed program was:" >&5
   3260 sed 's/^/| /' conftest.$ac_ext >&5
   3261 
   3262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3264 as_fn_error 77 "C compiler cannot create executables
   3265 See \`config.log' for more details" "$LINENO" 5; }
   3266 else
   3267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3268 $as_echo "yes" >&6; }
   3269 fi
   3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3271 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3273 $as_echo "$ac_file" >&6; }
   3274 ac_exeext=$ac_cv_exeext
   3275 
   3276 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3277 ac_clean_files=$ac_clean_files_save
   3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3279 $as_echo_n "checking for suffix of executables... " >&6; }
   3280 if { { ac_try="$ac_link"
   3281 case "(($ac_try" in
   3282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3283   *) ac_try_echo=$ac_try;;
   3284 esac
   3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3286 $as_echo "$ac_try_echo"; } >&5
   3287   (eval "$ac_link") 2>&5
   3288   ac_status=$?
   3289   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3290   test $ac_status = 0; }; then :
   3291   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3292 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3293 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3294 # `rm'.
   3295 for ac_file in conftest.exe conftest conftest.*; do
   3296   test -f "$ac_file" || continue
   3297   case $ac_file in
   3298     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3299     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3300 	  break;;
   3301     * ) break;;
   3302   esac
   3303 done
   3304 else
   3305   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3307 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3308 See \`config.log' for more details" "$LINENO" 5; }
   3309 fi
   3310 rm -f conftest conftest$ac_cv_exeext
   3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3312 $as_echo "$ac_cv_exeext" >&6; }
   3313 
   3314 rm -f conftest.$ac_ext
   3315 EXEEXT=$ac_cv_exeext
   3316 ac_exeext=$EXEEXT
   3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3318 /* end confdefs.h.  */
   3319 #include <stdio.h>
   3320 int
   3321 main ()
   3322 {
   3323 FILE *f = fopen ("conftest.out", "w");
   3324  return ferror (f) || fclose (f) != 0;
   3325 
   3326   ;
   3327   return 0;
   3328 }
   3329 _ACEOF
   3330 ac_clean_files="$ac_clean_files conftest.out"
   3331 # Check that the compiler produces executables we can run.  If not, either
   3332 # the compiler is broken, or we cross compile.
   3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3334 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3335 if test "$cross_compiling" != yes; then
   3336   { { ac_try="$ac_link"
   3337 case "(($ac_try" in
   3338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3339   *) ac_try_echo=$ac_try;;
   3340 esac
   3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3342 $as_echo "$ac_try_echo"; } >&5
   3343   (eval "$ac_link") 2>&5
   3344   ac_status=$?
   3345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3346   test $ac_status = 0; }
   3347   if { ac_try='./conftest$ac_cv_exeext'
   3348   { { case "(($ac_try" in
   3349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3350   *) ac_try_echo=$ac_try;;
   3351 esac
   3352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3353 $as_echo "$ac_try_echo"; } >&5
   3354   (eval "$ac_try") 2>&5
   3355   ac_status=$?
   3356   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3357   test $ac_status = 0; }; }; then
   3358     cross_compiling=no
   3359   else
   3360     if test "$cross_compiling" = maybe; then
   3361 	cross_compiling=yes
   3362     else
   3363 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3365 as_fn_error $? "cannot run C compiled programs.
   3366 If you meant to cross compile, use \`--host'.
   3367 See \`config.log' for more details" "$LINENO" 5; }
   3368     fi
   3369   fi
   3370 fi
   3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3372 $as_echo "$cross_compiling" >&6; }
   3373 
   3374 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3375 ac_clean_files=$ac_clean_files_save
   3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3377 $as_echo_n "checking for suffix of object files... " >&6; }
   3378 if ${ac_cv_objext+:} false; then :
   3379   $as_echo_n "(cached) " >&6
   3380 else
   3381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3382 /* end confdefs.h.  */
   3383 
   3384 int
   3385 main ()
   3386 {
   3387 
   3388   ;
   3389   return 0;
   3390 }
   3391 _ACEOF
   3392 rm -f conftest.o conftest.obj
   3393 if { { ac_try="$ac_compile"
   3394 case "(($ac_try" in
   3395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3396   *) ac_try_echo=$ac_try;;
   3397 esac
   3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3399 $as_echo "$ac_try_echo"; } >&5
   3400   (eval "$ac_compile") 2>&5
   3401   ac_status=$?
   3402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3403   test $ac_status = 0; }; then :
   3404   for ac_file in conftest.o conftest.obj conftest.*; do
   3405   test -f "$ac_file" || continue;
   3406   case $ac_file in
   3407     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3408     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3409        break;;
   3410   esac
   3411 done
   3412 else
   3413   $as_echo "$as_me: failed program was:" >&5
   3414 sed 's/^/| /' conftest.$ac_ext >&5
   3415 
   3416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3418 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3419 See \`config.log' for more details" "$LINENO" 5; }
   3420 fi
   3421 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3422 fi
   3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3424 $as_echo "$ac_cv_objext" >&6; }
   3425 OBJEXT=$ac_cv_objext
   3426 ac_objext=$OBJEXT
   3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3428 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3429 if ${ac_cv_c_compiler_gnu+:} false; then :
   3430   $as_echo_n "(cached) " >&6
   3431 else
   3432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3433 /* end confdefs.h.  */
   3434 
   3435 int
   3436 main ()
   3437 {
   3438 #ifndef __GNUC__
   3439        choke me
   3440 #endif
   3441 
   3442   ;
   3443   return 0;
   3444 }
   3445 _ACEOF
   3446 if ac_fn_c_try_compile "$LINENO"; then :
   3447   ac_compiler_gnu=yes
   3448 else
   3449   ac_compiler_gnu=no
   3450 fi
   3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3452 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3453 
   3454 fi
   3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3456 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3457 if test $ac_compiler_gnu = yes; then
   3458   GCC=yes
   3459 else
   3460   GCC=
   3461 fi
   3462 ac_test_CFLAGS=${CFLAGS+set}
   3463 ac_save_CFLAGS=$CFLAGS
   3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3465 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3466 if ${ac_cv_prog_cc_g+:} false; then :
   3467   $as_echo_n "(cached) " >&6
   3468 else
   3469   ac_save_c_werror_flag=$ac_c_werror_flag
   3470    ac_c_werror_flag=yes
   3471    ac_cv_prog_cc_g=no
   3472    CFLAGS="-g"
   3473    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3474 /* end confdefs.h.  */
   3475 
   3476 int
   3477 main ()
   3478 {
   3479 
   3480   ;
   3481   return 0;
   3482 }
   3483 _ACEOF
   3484 if ac_fn_c_try_compile "$LINENO"; then :
   3485   ac_cv_prog_cc_g=yes
   3486 else
   3487   CFLAGS=""
   3488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3489 /* end confdefs.h.  */
   3490 
   3491 int
   3492 main ()
   3493 {
   3494 
   3495   ;
   3496   return 0;
   3497 }
   3498 _ACEOF
   3499 if ac_fn_c_try_compile "$LINENO"; then :
   3500 
   3501 else
   3502   ac_c_werror_flag=$ac_save_c_werror_flag
   3503 	 CFLAGS="-g"
   3504 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3505 /* end confdefs.h.  */
   3506 
   3507 int
   3508 main ()
   3509 {
   3510 
   3511   ;
   3512   return 0;
   3513 }
   3514 _ACEOF
   3515 if ac_fn_c_try_compile "$LINENO"; then :
   3516   ac_cv_prog_cc_g=yes
   3517 fi
   3518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3519 fi
   3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3521 fi
   3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3523    ac_c_werror_flag=$ac_save_c_werror_flag
   3524 fi
   3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3526 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3527 if test "$ac_test_CFLAGS" = set; then
   3528   CFLAGS=$ac_save_CFLAGS
   3529 elif test $ac_cv_prog_cc_g = yes; then
   3530   if test "$GCC" = yes; then
   3531     CFLAGS="-g -O2"
   3532   else
   3533     CFLAGS="-g"
   3534   fi
   3535 else
   3536   if test "$GCC" = yes; then
   3537     CFLAGS="-O2"
   3538   else
   3539     CFLAGS=
   3540   fi
   3541 fi
   3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3543 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3544 if ${ac_cv_prog_cc_c89+:} false; then :
   3545   $as_echo_n "(cached) " >&6
   3546 else
   3547   ac_cv_prog_cc_c89=no
   3548 ac_save_CC=$CC
   3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3550 /* end confdefs.h.  */
   3551 #include <stdarg.h>
   3552 #include <stdio.h>
   3553 struct stat;
   3554 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3555 struct buf { int x; };
   3556 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3557 static char *e (p, i)
   3558      char **p;
   3559      int i;
   3560 {
   3561   return p[i];
   3562 }
   3563 static char *f (char * (*g) (char **, int), char **p, ...)
   3564 {
   3565   char *s;
   3566   va_list v;
   3567   va_start (v,p);
   3568   s = g (p, va_arg (v,int));
   3569   va_end (v);
   3570   return s;
   3571 }
   3572 
   3573 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3574    function prototypes and stuff, but not '\xHH' hex character constants.
   3575    These don't provoke an error unfortunately, instead are silently treated
   3576    as 'x'.  The following induces an error, until -std is added to get
   3577    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3578    array size at least.  It's necessary to write '\x00'==0 to get something
   3579    that's true only with -std.  */
   3580 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3581 
   3582 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3583    inside strings and character constants.  */
   3584 #define FOO(x) 'x'
   3585 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3586 
   3587 int test (int i, double x);
   3588 struct s1 {int (*f) (int a);};
   3589 struct s2 {int (*f) (double a);};
   3590 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3591 int argc;
   3592 char **argv;
   3593 int
   3594 main ()
   3595 {
   3596 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3597   ;
   3598   return 0;
   3599 }
   3600 _ACEOF
   3601 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3602 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3603 do
   3604   CC="$ac_save_CC $ac_arg"
   3605   if ac_fn_c_try_compile "$LINENO"; then :
   3606   ac_cv_prog_cc_c89=$ac_arg
   3607 fi
   3608 rm -f core conftest.err conftest.$ac_objext
   3609   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3610 done
   3611 rm -f conftest.$ac_ext
   3612 CC=$ac_save_CC
   3613 
   3614 fi
   3615 # AC_CACHE_VAL
   3616 case "x$ac_cv_prog_cc_c89" in
   3617   x)
   3618     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3619 $as_echo "none needed" >&6; } ;;
   3620   xno)
   3621     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3622 $as_echo "unsupported" >&6; } ;;
   3623   *)
   3624     CC="$CC $ac_cv_prog_cc_c89"
   3625     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3626 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3627 esac
   3628 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3629 
   3630 fi
   3631 
   3632 ac_ext=c
   3633 ac_cpp='$CPP $CPPFLAGS'
   3634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3637 
   3638 ac_ext=c
   3639 ac_cpp='$CPP $CPPFLAGS'
   3640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3644 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3645 if ${am_cv_prog_cc_c_o+:} false; then :
   3646   $as_echo_n "(cached) " >&6
   3647 else
   3648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3649 /* end confdefs.h.  */
   3650 
   3651 int
   3652 main ()
   3653 {
   3654 
   3655   ;
   3656   return 0;
   3657 }
   3658 _ACEOF
   3659   # Make sure it works both with $CC and with simple cc.
   3660   # Following AC_PROG_CC_C_O, we do the test twice because some
   3661   # compilers refuse to overwrite an existing .o file with -o,
   3662   # though they will create one.
   3663   am_cv_prog_cc_c_o=yes
   3664   for am_i in 1 2; do
   3665     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3666    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3667    ac_status=$?
   3668    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3669    (exit $ac_status); } \
   3670          && test -f conftest2.$ac_objext; then
   3671       : OK
   3672     else
   3673       am_cv_prog_cc_c_o=no
   3674       break
   3675     fi
   3676   done
   3677   rm -f core conftest*
   3678   unset am_i
   3679 fi
   3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3681 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3682 if test "$am_cv_prog_cc_c_o" != yes; then
   3683    # Losing compiler, so override with the script.
   3684    # FIXME: It is wrong to rewrite CC.
   3685    # But if we don't then we get into trouble of one sort or another.
   3686    # A longer-term fix would be to have automake use am__CC in this case,
   3687    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3688    CC="$am_aux_dir/compile $CC"
   3689 fi
   3690 ac_ext=c
   3691 ac_cpp='$CPP $CPPFLAGS'
   3692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3695 
   3696 
   3697 depcc="$CC"   am_compiler_list=
   3698 
   3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3700 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3701 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3702   $as_echo_n "(cached) " >&6
   3703 else
   3704   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3705   # We make a subdir and do the tests there.  Otherwise we can end up
   3706   # making bogus files that we don't know about and never remove.  For
   3707   # instance it was reported that on HP-UX the gcc test will end up
   3708   # making a dummy file named 'D' -- because '-MD' means "put the output
   3709   # in D".
   3710   rm -rf conftest.dir
   3711   mkdir conftest.dir
   3712   # Copy depcomp to subdir because otherwise we won't find it if we're
   3713   # using a relative directory.
   3714   cp "$am_depcomp" conftest.dir
   3715   cd conftest.dir
   3716   # We will build objects and dependencies in a subdirectory because
   3717   # it helps to detect inapplicable dependency modes.  For instance
   3718   # both Tru64's cc and ICC support -MD to output dependencies as a
   3719   # side effect of compilation, but ICC will put the dependencies in
   3720   # the current directory while Tru64 will put them in the object
   3721   # directory.
   3722   mkdir sub
   3723 
   3724   am_cv_CC_dependencies_compiler_type=none
   3725   if test "$am_compiler_list" = ""; then
   3726      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3727   fi
   3728   am__universal=false
   3729   case " $depcc " in #(
   3730      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3731      esac
   3732 
   3733   for depmode in $am_compiler_list; do
   3734     # Setup a source with many dependencies, because some compilers
   3735     # like to wrap large dependency lists on column 80 (with \), and
   3736     # we should not choose a depcomp mode which is confused by this.
   3737     #
   3738     # We need to recreate these files for each test, as the compiler may
   3739     # overwrite some of them when testing with obscure command lines.
   3740     # This happens at least with the AIX C compiler.
   3741     : > sub/conftest.c
   3742     for i in 1 2 3 4 5 6; do
   3743       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3744       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3745       # Solaris 10 /bin/sh.
   3746       echo '/* dummy */' > sub/conftst$i.h
   3747     done
   3748     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3749 
   3750     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3751     # mode.  It turns out that the SunPro C++ compiler does not properly
   3752     # handle '-M -o', and we need to detect this.  Also, some Intel
   3753     # versions had trouble with output in subdirs.
   3754     am__obj=sub/conftest.${OBJEXT-o}
   3755     am__minus_obj="-o $am__obj"
   3756     case $depmode in
   3757     gcc)
   3758       # This depmode causes a compiler race in universal mode.
   3759       test "$am__universal" = false || continue
   3760       ;;
   3761     nosideeffect)
   3762       # After this tag, mechanisms are not by side-effect, so they'll
   3763       # only be used when explicitly requested.
   3764       if test "x$enable_dependency_tracking" = xyes; then
   3765 	continue
   3766       else
   3767 	break
   3768       fi
   3769       ;;
   3770     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3771       # This compiler won't grok '-c -o', but also, the minuso test has
   3772       # not run yet.  These depmodes are late enough in the game, and
   3773       # so weak that their functioning should not be impacted.
   3774       am__obj=conftest.${OBJEXT-o}
   3775       am__minus_obj=
   3776       ;;
   3777     none) break ;;
   3778     esac
   3779     if depmode=$depmode \
   3780        source=sub/conftest.c object=$am__obj \
   3781        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3782        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3783          >/dev/null 2>conftest.err &&
   3784        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3785        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3786        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3787        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3788       # icc doesn't choke on unknown options, it will just issue warnings
   3789       # or remarks (even with -Werror).  So we grep stderr for any message
   3790       # that says an option was ignored or not supported.
   3791       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3792       #   icc: Command line warning: ignoring option '-M'; no argument required
   3793       # The diagnosis changed in icc 8.0:
   3794       #   icc: Command line remark: option '-MP' not supported
   3795       if (grep 'ignoring option' conftest.err ||
   3796           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3797         am_cv_CC_dependencies_compiler_type=$depmode
   3798         break
   3799       fi
   3800     fi
   3801   done
   3802 
   3803   cd ..
   3804   rm -rf conftest.dir
   3805 else
   3806   am_cv_CC_dependencies_compiler_type=none
   3807 fi
   3808 
   3809 fi
   3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3811 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3812 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3813 
   3814  if
   3815   test "x$enable_dependency_tracking" != xno \
   3816   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3817   am__fastdepCC_TRUE=
   3818   am__fastdepCC_FALSE='#'
   3819 else
   3820   am__fastdepCC_TRUE='#'
   3821   am__fastdepCC_FALSE=
   3822 fi
   3823 
   3824 
   3825    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3826 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3827 if ${ac_cv_prog_cc_c99+:} false; then :
   3828   $as_echo_n "(cached) " >&6
   3829 else
   3830   ac_cv_prog_cc_c99=no
   3831 ac_save_CC=$CC
   3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3833 /* end confdefs.h.  */
   3834 #include <stdarg.h>
   3835 #include <stdbool.h>
   3836 #include <stdlib.h>
   3837 #include <wchar.h>
   3838 #include <stdio.h>
   3839 
   3840 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3841 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3842 #define showlist(...) puts (#__VA_ARGS__)
   3843 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3844 static void
   3845 test_varargs_macros (void)
   3846 {
   3847   int x = 1234;
   3848   int y = 5678;
   3849   debug ("Flag");
   3850   debug ("X = %d\n", x);
   3851   showlist (The first, second, and third items.);
   3852   report (x>y, "x is %d but y is %d", x, y);
   3853 }
   3854 
   3855 // Check long long types.
   3856 #define BIG64 18446744073709551615ull
   3857 #define BIG32 4294967295ul
   3858 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3859 #if !BIG_OK
   3860   your preprocessor is broken;
   3861 #endif
   3862 #if BIG_OK
   3863 #else
   3864   your preprocessor is broken;
   3865 #endif
   3866 static long long int bignum = -9223372036854775807LL;
   3867 static unsigned long long int ubignum = BIG64;
   3868 
   3869 struct incomplete_array
   3870 {
   3871   int datasize;
   3872   double data[];
   3873 };
   3874 
   3875 struct named_init {
   3876   int number;
   3877   const wchar_t *name;
   3878   double average;
   3879 };
   3880 
   3881 typedef const char *ccp;
   3882 
   3883 static inline int
   3884 test_restrict (ccp restrict text)
   3885 {
   3886   // See if C++-style comments work.
   3887   // Iterate through items via the restricted pointer.
   3888   // Also check for declarations in for loops.
   3889   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3890     continue;
   3891   return 0;
   3892 }
   3893 
   3894 // Check varargs and va_copy.
   3895 static void
   3896 test_varargs (const char *format, ...)
   3897 {
   3898   va_list args;
   3899   va_start (args, format);
   3900   va_list args_copy;
   3901   va_copy (args_copy, args);
   3902 
   3903   const char *str;
   3904   int number;
   3905   float fnumber;
   3906 
   3907   while (*format)
   3908     {
   3909       switch (*format++)
   3910 	{
   3911 	case 's': // string
   3912 	  str = va_arg (args_copy, const char *);
   3913 	  break;
   3914 	case 'd': // int
   3915 	  number = va_arg (args_copy, int);
   3916 	  break;
   3917 	case 'f': // float
   3918 	  fnumber = va_arg (args_copy, double);
   3919 	  break;
   3920 	default:
   3921 	  break;
   3922 	}
   3923     }
   3924   va_end (args_copy);
   3925   va_end (args);
   3926 }
   3927 
   3928 int
   3929 main ()
   3930 {
   3931 
   3932   // Check bool.
   3933   _Bool success = false;
   3934 
   3935   // Check restrict.
   3936   if (test_restrict ("String literal") == 0)
   3937     success = true;
   3938   char *restrict newvar = "Another string";
   3939 
   3940   // Check varargs.
   3941   test_varargs ("s, d' f .", "string", 65, 34.234);
   3942   test_varargs_macros ();
   3943 
   3944   // Check flexible array members.
   3945   struct incomplete_array *ia =
   3946     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3947   ia->datasize = 10;
   3948   for (int i = 0; i < ia->datasize; ++i)
   3949     ia->data[i] = i * 1.234;
   3950 
   3951   // Check named initializers.
   3952   struct named_init ni = {
   3953     .number = 34,
   3954     .name = L"Test wide string",
   3955     .average = 543.34343,
   3956   };
   3957 
   3958   ni.number = 58;
   3959 
   3960   int dynamic_array[ni.number];
   3961   dynamic_array[ni.number - 1] = 543;
   3962 
   3963   // work around unused variable warnings
   3964   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3965 	  || dynamic_array[ni.number - 1] != 543);
   3966 
   3967   ;
   3968   return 0;
   3969 }
   3970 _ACEOF
   3971 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3972 do
   3973   CC="$ac_save_CC $ac_arg"
   3974   if ac_fn_c_try_compile "$LINENO"; then :
   3975   ac_cv_prog_cc_c99=$ac_arg
   3976 fi
   3977 rm -f core conftest.err conftest.$ac_objext
   3978   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3979 done
   3980 rm -f conftest.$ac_ext
   3981 CC=$ac_save_CC
   3982 
   3983 fi
   3984 # AC_CACHE_VAL
   3985 case "x$ac_cv_prog_cc_c99" in
   3986   x)
   3987     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3988 $as_echo "none needed" >&6; } ;;
   3989   xno)
   3990     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3991 $as_echo "unsupported" >&6; } ;;
   3992   *)
   3993     CC="$CC $ac_cv_prog_cc_c99"
   3994     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3995 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3996 esac
   3997 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3998 
   3999 fi
   4000 
   4001 
   4002 
   4003 ac_ext=c
   4004 ac_cpp='$CPP $CPPFLAGS'
   4005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4009 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4010 # On Suns, sometimes $CPP names a directory.
   4011 if test -n "$CPP" && test -d "$CPP"; then
   4012   CPP=
   4013 fi
   4014 if test -z "$CPP"; then
   4015   if ${ac_cv_prog_CPP+:} false; then :
   4016   $as_echo_n "(cached) " >&6
   4017 else
   4018       # Double quotes because CPP needs to be expanded
   4019     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4020     do
   4021       ac_preproc_ok=false
   4022 for ac_c_preproc_warn_flag in '' yes
   4023 do
   4024   # Use a header file that comes with gcc, so configuring glibc
   4025   # with a fresh cross-compiler works.
   4026   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4027   # <limits.h> exists even on freestanding compilers.
   4028   # On the NeXT, cc -E runs the code through the compiler's parser,
   4029   # not just through cpp. "Syntax error" is here to catch this case.
   4030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4031 /* end confdefs.h.  */
   4032 #ifdef __STDC__
   4033 # include <limits.h>
   4034 #else
   4035 # include <assert.h>
   4036 #endif
   4037 		     Syntax error
   4038 _ACEOF
   4039 if ac_fn_c_try_cpp "$LINENO"; then :
   4040 
   4041 else
   4042   # Broken: fails on valid input.
   4043 continue
   4044 fi
   4045 rm -f conftest.err conftest.i conftest.$ac_ext
   4046 
   4047   # OK, works on sane cases.  Now check whether nonexistent headers
   4048   # can be detected and how.
   4049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4050 /* end confdefs.h.  */
   4051 #include <ac_nonexistent.h>
   4052 _ACEOF
   4053 if ac_fn_c_try_cpp "$LINENO"; then :
   4054   # Broken: success on invalid input.
   4055 continue
   4056 else
   4057   # Passes both tests.
   4058 ac_preproc_ok=:
   4059 break
   4060 fi
   4061 rm -f conftest.err conftest.i conftest.$ac_ext
   4062 
   4063 done
   4064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4065 rm -f conftest.i conftest.err conftest.$ac_ext
   4066 if $ac_preproc_ok; then :
   4067   break
   4068 fi
   4069 
   4070     done
   4071     ac_cv_prog_CPP=$CPP
   4072 
   4073 fi
   4074   CPP=$ac_cv_prog_CPP
   4075 else
   4076   ac_cv_prog_CPP=$CPP
   4077 fi
   4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4079 $as_echo "$CPP" >&6; }
   4080 ac_preproc_ok=false
   4081 for ac_c_preproc_warn_flag in '' yes
   4082 do
   4083   # Use a header file that comes with gcc, so configuring glibc
   4084   # with a fresh cross-compiler works.
   4085   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4086   # <limits.h> exists even on freestanding compilers.
   4087   # On the NeXT, cc -E runs the code through the compiler's parser,
   4088   # not just through cpp. "Syntax error" is here to catch this case.
   4089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4090 /* end confdefs.h.  */
   4091 #ifdef __STDC__
   4092 # include <limits.h>
   4093 #else
   4094 # include <assert.h>
   4095 #endif
   4096 		     Syntax error
   4097 _ACEOF
   4098 if ac_fn_c_try_cpp "$LINENO"; then :
   4099 
   4100 else
   4101   # Broken: fails on valid input.
   4102 continue
   4103 fi
   4104 rm -f conftest.err conftest.i conftest.$ac_ext
   4105 
   4106   # OK, works on sane cases.  Now check whether nonexistent headers
   4107   # can be detected and how.
   4108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4109 /* end confdefs.h.  */
   4110 #include <ac_nonexistent.h>
   4111 _ACEOF
   4112 if ac_fn_c_try_cpp "$LINENO"; then :
   4113   # Broken: success on invalid input.
   4114 continue
   4115 else
   4116   # Passes both tests.
   4117 ac_preproc_ok=:
   4118 break
   4119 fi
   4120 rm -f conftest.err conftest.i conftest.$ac_ext
   4121 
   4122 done
   4123 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4124 rm -f conftest.i conftest.err conftest.$ac_ext
   4125 if $ac_preproc_ok; then :
   4126 
   4127 else
   4128   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4130 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4131 See \`config.log' for more details" "$LINENO" 5; }
   4132 fi
   4133 
   4134 ac_ext=c
   4135 ac_cpp='$CPP $CPPFLAGS'
   4136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4139 
   4140 
   4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4142 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4143 if ${ac_cv_path_GREP+:} false; then :
   4144   $as_echo_n "(cached) " >&6
   4145 else
   4146   if test -z "$GREP"; then
   4147   ac_path_GREP_found=false
   4148   # Loop through the user's path and test for each of PROGNAME-LIST
   4149   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4150 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4151 do
   4152   IFS=$as_save_IFS
   4153   test -z "$as_dir" && as_dir=.
   4154     for ac_prog in grep ggrep; do
   4155     for ac_exec_ext in '' $ac_executable_extensions; do
   4156       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4157       as_fn_executable_p "$ac_path_GREP" || continue
   4158 # Check for GNU ac_path_GREP and select it if it is found.
   4159   # Check for GNU $ac_path_GREP
   4160 case `"$ac_path_GREP" --version 2>&1` in
   4161 *GNU*)
   4162   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4163 *)
   4164   ac_count=0
   4165   $as_echo_n 0123456789 >"conftest.in"
   4166   while :
   4167   do
   4168     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4169     mv "conftest.tmp" "conftest.in"
   4170     cp "conftest.in" "conftest.nl"
   4171     $as_echo 'GREP' >> "conftest.nl"
   4172     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4173     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4174     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4175     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4176       # Best one so far, save it but keep looking for a better one
   4177       ac_cv_path_GREP="$ac_path_GREP"
   4178       ac_path_GREP_max=$ac_count
   4179     fi
   4180     # 10*(2^10) chars as input seems more than enough
   4181     test $ac_count -gt 10 && break
   4182   done
   4183   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4184 esac
   4185 
   4186       $ac_path_GREP_found && break 3
   4187     done
   4188   done
   4189   done
   4190 IFS=$as_save_IFS
   4191   if test -z "$ac_cv_path_GREP"; then
   4192     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4193   fi
   4194 else
   4195   ac_cv_path_GREP=$GREP
   4196 fi
   4197 
   4198 fi
   4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4200 $as_echo "$ac_cv_path_GREP" >&6; }
   4201  GREP="$ac_cv_path_GREP"
   4202 
   4203 
   4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4205 $as_echo_n "checking for egrep... " >&6; }
   4206 if ${ac_cv_path_EGREP+:} false; then :
   4207   $as_echo_n "(cached) " >&6
   4208 else
   4209   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4210    then ac_cv_path_EGREP="$GREP -E"
   4211    else
   4212      if test -z "$EGREP"; then
   4213   ac_path_EGREP_found=false
   4214   # Loop through the user's path and test for each of PROGNAME-LIST
   4215   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4216 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4217 do
   4218   IFS=$as_save_IFS
   4219   test -z "$as_dir" && as_dir=.
   4220     for ac_prog in egrep; do
   4221     for ac_exec_ext in '' $ac_executable_extensions; do
   4222       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4223       as_fn_executable_p "$ac_path_EGREP" || continue
   4224 # Check for GNU ac_path_EGREP and select it if it is found.
   4225   # Check for GNU $ac_path_EGREP
   4226 case `"$ac_path_EGREP" --version 2>&1` in
   4227 *GNU*)
   4228   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4229 *)
   4230   ac_count=0
   4231   $as_echo_n 0123456789 >"conftest.in"
   4232   while :
   4233   do
   4234     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4235     mv "conftest.tmp" "conftest.in"
   4236     cp "conftest.in" "conftest.nl"
   4237     $as_echo 'EGREP' >> "conftest.nl"
   4238     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4239     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4240     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4241     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4242       # Best one so far, save it but keep looking for a better one
   4243       ac_cv_path_EGREP="$ac_path_EGREP"
   4244       ac_path_EGREP_max=$ac_count
   4245     fi
   4246     # 10*(2^10) chars as input seems more than enough
   4247     test $ac_count -gt 10 && break
   4248   done
   4249   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4250 esac
   4251 
   4252       $ac_path_EGREP_found && break 3
   4253     done
   4254   done
   4255   done
   4256 IFS=$as_save_IFS
   4257   if test -z "$ac_cv_path_EGREP"; then
   4258     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4259   fi
   4260 else
   4261   ac_cv_path_EGREP=$EGREP
   4262 fi
   4263 
   4264    fi
   4265 fi
   4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4267 $as_echo "$ac_cv_path_EGREP" >&6; }
   4268  EGREP="$ac_cv_path_EGREP"
   4269 
   4270 
   4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4272 $as_echo_n "checking for ANSI C header files... " >&6; }
   4273 if ${ac_cv_header_stdc+:} false; then :
   4274   $as_echo_n "(cached) " >&6
   4275 else
   4276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4277 /* end confdefs.h.  */
   4278 #include <stdlib.h>
   4279 #include <stdarg.h>
   4280 #include <string.h>
   4281 #include <float.h>
   4282 
   4283 int
   4284 main ()
   4285 {
   4286 
   4287   ;
   4288   return 0;
   4289 }
   4290 _ACEOF
   4291 if ac_fn_c_try_compile "$LINENO"; then :
   4292   ac_cv_header_stdc=yes
   4293 else
   4294   ac_cv_header_stdc=no
   4295 fi
   4296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4297 
   4298 if test $ac_cv_header_stdc = yes; then
   4299   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4301 /* end confdefs.h.  */
   4302 #include <string.h>
   4303 
   4304 _ACEOF
   4305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4306   $EGREP "memchr" >/dev/null 2>&1; then :
   4307 
   4308 else
   4309   ac_cv_header_stdc=no
   4310 fi
   4311 rm -f conftest*
   4312 
   4313 fi
   4314 
   4315 if test $ac_cv_header_stdc = yes; then
   4316   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4318 /* end confdefs.h.  */
   4319 #include <stdlib.h>
   4320 
   4321 _ACEOF
   4322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4323   $EGREP "free" >/dev/null 2>&1; then :
   4324 
   4325 else
   4326   ac_cv_header_stdc=no
   4327 fi
   4328 rm -f conftest*
   4329 
   4330 fi
   4331 
   4332 if test $ac_cv_header_stdc = yes; then
   4333   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4334   if test "$cross_compiling" = yes; then :
   4335   :
   4336 else
   4337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4338 /* end confdefs.h.  */
   4339 #include <ctype.h>
   4340 #include <stdlib.h>
   4341 #if ((' ' & 0x0FF) == 0x020)
   4342 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4343 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4344 #else
   4345 # define ISLOWER(c) \
   4346 		   (('a' <= (c) && (c) <= 'i') \
   4347 		     || ('j' <= (c) && (c) <= 'r') \
   4348 		     || ('s' <= (c) && (c) <= 'z'))
   4349 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4350 #endif
   4351 
   4352 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4353 int
   4354 main ()
   4355 {
   4356   int i;
   4357   for (i = 0; i < 256; i++)
   4358     if (XOR (islower (i), ISLOWER (i))
   4359 	|| toupper (i) != TOUPPER (i))
   4360       return 2;
   4361   return 0;
   4362 }
   4363 _ACEOF
   4364 if ac_fn_c_try_run "$LINENO"; then :
   4365 
   4366 else
   4367   ac_cv_header_stdc=no
   4368 fi
   4369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4370   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4371 fi
   4372 
   4373 fi
   4374 fi
   4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4376 $as_echo "$ac_cv_header_stdc" >&6; }
   4377 if test $ac_cv_header_stdc = yes; then
   4378 
   4379 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4380 
   4381 fi
   4382 
   4383 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4384 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4385 		  inttypes.h stdint.h unistd.h
   4386 do :
   4387   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4388 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4389 "
   4390 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4391   cat >>confdefs.h <<_ACEOF
   4392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4393 _ACEOF
   4394 
   4395 fi
   4396 
   4397 done
   4398 
   4399 
   4400 
   4401 
   4402 
   4403 
   4404 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4405 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4406   CLANGCC="yes"
   4407 else
   4408   CLANGCC="no"
   4409 fi
   4410 
   4411 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4412 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4413   INTELCC="yes"
   4414 else
   4415   INTELCC="no"
   4416 fi
   4417 
   4418 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4419 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4420   SUNCC="yes"
   4421 else
   4422   SUNCC="no"
   4423 fi
   4424 
   4425 
   4426 
   4427 
   4428 
   4429 
   4430 
   4431 
   4432 
   4433 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4434 	if test -n "$ac_tool_prefix"; then
   4435   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4436 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4438 $as_echo_n "checking for $ac_word... " >&6; }
   4439 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4440   $as_echo_n "(cached) " >&6
   4441 else
   4442   case $PKG_CONFIG in
   4443   [\\/]* | ?:[\\/]*)
   4444   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4445   ;;
   4446   *)
   4447   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4448 for as_dir in $PATH
   4449 do
   4450   IFS=$as_save_IFS
   4451   test -z "$as_dir" && as_dir=.
   4452     for ac_exec_ext in '' $ac_executable_extensions; do
   4453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4454     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4456     break 2
   4457   fi
   4458 done
   4459   done
   4460 IFS=$as_save_IFS
   4461 
   4462   ;;
   4463 esac
   4464 fi
   4465 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4466 if test -n "$PKG_CONFIG"; then
   4467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4468 $as_echo "$PKG_CONFIG" >&6; }
   4469 else
   4470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4471 $as_echo "no" >&6; }
   4472 fi
   4473 
   4474 
   4475 fi
   4476 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4477   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4478   # Extract the first word of "pkg-config", so it can be a program name with args.
   4479 set dummy pkg-config; ac_word=$2
   4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4481 $as_echo_n "checking for $ac_word... " >&6; }
   4482 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4483   $as_echo_n "(cached) " >&6
   4484 else
   4485   case $ac_pt_PKG_CONFIG in
   4486   [\\/]* | ?:[\\/]*)
   4487   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4488   ;;
   4489   *)
   4490   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4491 for as_dir in $PATH
   4492 do
   4493   IFS=$as_save_IFS
   4494   test -z "$as_dir" && as_dir=.
   4495     for ac_exec_ext in '' $ac_executable_extensions; do
   4496   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4497     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4499     break 2
   4500   fi
   4501 done
   4502   done
   4503 IFS=$as_save_IFS
   4504 
   4505   ;;
   4506 esac
   4507 fi
   4508 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4509 if test -n "$ac_pt_PKG_CONFIG"; then
   4510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4511 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4512 else
   4513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4514 $as_echo "no" >&6; }
   4515 fi
   4516 
   4517   if test "x$ac_pt_PKG_CONFIG" = x; then
   4518     PKG_CONFIG=""
   4519   else
   4520     case $cross_compiling:$ac_tool_warned in
   4521 yes:)
   4522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4524 ac_tool_warned=yes ;;
   4525 esac
   4526     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4527   fi
   4528 else
   4529   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4530 fi
   4531 
   4532 fi
   4533 if test -n "$PKG_CONFIG"; then
   4534 	_pkg_min_version=0.9.0
   4535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4536 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4537 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4538 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4539 $as_echo "yes" >&6; }
   4540 	else
   4541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4542 $as_echo "no" >&6; }
   4543 		PKG_CONFIG=""
   4544 	fi
   4545 fi
   4546 # Make sure we can run config.sub.
   4547 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4548   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4549 
   4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4551 $as_echo_n "checking build system type... " >&6; }
   4552 if ${ac_cv_build+:} false; then :
   4553   $as_echo_n "(cached) " >&6
   4554 else
   4555   ac_build_alias=$build_alias
   4556 test "x$ac_build_alias" = x &&
   4557   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4558 test "x$ac_build_alias" = x &&
   4559   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4560 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4561   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4562 
   4563 fi
   4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4565 $as_echo "$ac_cv_build" >&6; }
   4566 case $ac_cv_build in
   4567 *-*-*) ;;
   4568 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4569 esac
   4570 build=$ac_cv_build
   4571 ac_save_IFS=$IFS; IFS='-'
   4572 set x $ac_cv_build
   4573 shift
   4574 build_cpu=$1
   4575 build_vendor=$2
   4576 shift; shift
   4577 # Remember, the first character of IFS is used to create $*,
   4578 # except with old shells:
   4579 build_os=$*
   4580 IFS=$ac_save_IFS
   4581 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4582 
   4583 
   4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4585 $as_echo_n "checking host system type... " >&6; }
   4586 if ${ac_cv_host+:} false; then :
   4587   $as_echo_n "(cached) " >&6
   4588 else
   4589   if test "x$host_alias" = x; then
   4590   ac_cv_host=$ac_cv_build
   4591 else
   4592   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4593     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4594 fi
   4595 
   4596 fi
   4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4598 $as_echo "$ac_cv_host" >&6; }
   4599 case $ac_cv_host in
   4600 *-*-*) ;;
   4601 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4602 esac
   4603 host=$ac_cv_host
   4604 ac_save_IFS=$IFS; IFS='-'
   4605 set x $ac_cv_host
   4606 shift
   4607 host_cpu=$1
   4608 host_vendor=$2
   4609 shift; shift
   4610 # Remember, the first character of IFS is used to create $*,
   4611 # except with old shells:
   4612 host_os=$*
   4613 IFS=$ac_save_IFS
   4614 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4615 
   4616 
   4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4618 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4619 if ${ac_cv_path_SED+:} false; then :
   4620   $as_echo_n "(cached) " >&6
   4621 else
   4622             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4623      for ac_i in 1 2 3 4 5 6 7; do
   4624        ac_script="$ac_script$as_nl$ac_script"
   4625      done
   4626      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4627      { ac_script=; unset ac_script;}
   4628      if test -z "$SED"; then
   4629   ac_path_SED_found=false
   4630   # Loop through the user's path and test for each of PROGNAME-LIST
   4631   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4632 for as_dir in $PATH
   4633 do
   4634   IFS=$as_save_IFS
   4635   test -z "$as_dir" && as_dir=.
   4636     for ac_prog in sed gsed; do
   4637     for ac_exec_ext in '' $ac_executable_extensions; do
   4638       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4639       as_fn_executable_p "$ac_path_SED" || continue
   4640 # Check for GNU ac_path_SED and select it if it is found.
   4641   # Check for GNU $ac_path_SED
   4642 case `"$ac_path_SED" --version 2>&1` in
   4643 *GNU*)
   4644   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4645 *)
   4646   ac_count=0
   4647   $as_echo_n 0123456789 >"conftest.in"
   4648   while :
   4649   do
   4650     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4651     mv "conftest.tmp" "conftest.in"
   4652     cp "conftest.in" "conftest.nl"
   4653     $as_echo '' >> "conftest.nl"
   4654     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4655     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4656     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4657     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4658       # Best one so far, save it but keep looking for a better one
   4659       ac_cv_path_SED="$ac_path_SED"
   4660       ac_path_SED_max=$ac_count
   4661     fi
   4662     # 10*(2^10) chars as input seems more than enough
   4663     test $ac_count -gt 10 && break
   4664   done
   4665   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4666 esac
   4667 
   4668       $ac_path_SED_found && break 3
   4669     done
   4670   done
   4671   done
   4672 IFS=$as_save_IFS
   4673   if test -z "$ac_cv_path_SED"; then
   4674     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4675   fi
   4676 else
   4677   ac_cv_path_SED=$SED
   4678 fi
   4679 
   4680 fi
   4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4682 $as_echo "$ac_cv_path_SED" >&6; }
   4683  SED="$ac_cv_path_SED"
   4684   rm -f conftest.sed
   4685 
   4686 
   4687 
   4688 
   4689 
   4690 
   4691 # Check whether --enable-selective-werror was given.
   4692 if test "${enable_selective_werror+set}" = set; then :
   4693   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4694 else
   4695   SELECTIVE_WERROR=yes
   4696 fi
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4703 if test "x$SUNCC" = "xyes"; then
   4704     BASE_CFLAGS="-v"
   4705 else
   4706     BASE_CFLAGS=""
   4707 fi
   4708 
   4709 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 
   4721 
   4722 
   4723 xorg_testset_save_CFLAGS="$CFLAGS"
   4724 
   4725 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4726 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4728 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4729 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4730   $as_echo_n "(cached) " >&6
   4731 else
   4732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4733 /* end confdefs.h.  */
   4734 int i;
   4735 _ACEOF
   4736 if ac_fn_c_try_compile "$LINENO"; then :
   4737   xorg_cv_cc_flag_unknown_warning_option=yes
   4738 else
   4739   xorg_cv_cc_flag_unknown_warning_option=no
   4740 fi
   4741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4742 fi
   4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4744 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4746 	CFLAGS="$xorg_testset_save_CFLAGS"
   4747 fi
   4748 
   4749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4752 	fi
   4753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4755 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4756 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4757   $as_echo_n "(cached) " >&6
   4758 else
   4759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4760 /* end confdefs.h.  */
   4761 int i;
   4762 _ACEOF
   4763 if ac_fn_c_try_compile "$LINENO"; then :
   4764   xorg_cv_cc_flag_unused_command_line_argument=yes
   4765 else
   4766   xorg_cv_cc_flag_unused_command_line_argument=no
   4767 fi
   4768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4769 fi
   4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4771 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4772 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4773 	CFLAGS="$xorg_testset_save_CFLAGS"
   4774 fi
   4775 
   4776 found="no"
   4777 
   4778 	if test $found = "no" ; then
   4779 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4781 		fi
   4782 
   4783 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4785 		fi
   4786 
   4787 		CFLAGS="$CFLAGS -Wall"
   4788 
   4789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4790 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4791 		cacheid=xorg_cv_cc_flag__Wall
   4792 		if eval \${$cacheid+:} false; then :
   4793   $as_echo_n "(cached) " >&6
   4794 else
   4795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4796 /* end confdefs.h.  */
   4797 int i;
   4798 int
   4799 main ()
   4800 {
   4801 
   4802   ;
   4803   return 0;
   4804 }
   4805 _ACEOF
   4806 if ac_fn_c_try_link "$LINENO"; then :
   4807   eval $cacheid=yes
   4808 else
   4809   eval $cacheid=no
   4810 fi
   4811 rm -f core conftest.err conftest.$ac_objext \
   4812     conftest$ac_exeext conftest.$ac_ext
   4813 fi
   4814 
   4815 
   4816 		CFLAGS="$xorg_testset_save_CFLAGS"
   4817 
   4818 		eval supported=\$$cacheid
   4819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4820 $as_echo "$supported" >&6; }
   4821 		if test "$supported" = "yes" ; then
   4822 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4823 			found="yes"
   4824 		fi
   4825 	fi
   4826 
   4827 
   4828 
   4829 
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 xorg_testset_save_CFLAGS="$CFLAGS"
   4842 
   4843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4846 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4847 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4848   $as_echo_n "(cached) " >&6
   4849 else
   4850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4851 /* end confdefs.h.  */
   4852 int i;
   4853 _ACEOF
   4854 if ac_fn_c_try_compile "$LINENO"; then :
   4855   xorg_cv_cc_flag_unknown_warning_option=yes
   4856 else
   4857   xorg_cv_cc_flag_unknown_warning_option=no
   4858 fi
   4859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4860 fi
   4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4862 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4864 	CFLAGS="$xorg_testset_save_CFLAGS"
   4865 fi
   4866 
   4867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4870 	fi
   4871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4873 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4874 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4875   $as_echo_n "(cached) " >&6
   4876 else
   4877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4878 /* end confdefs.h.  */
   4879 int i;
   4880 _ACEOF
   4881 if ac_fn_c_try_compile "$LINENO"; then :
   4882   xorg_cv_cc_flag_unused_command_line_argument=yes
   4883 else
   4884   xorg_cv_cc_flag_unused_command_line_argument=no
   4885 fi
   4886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4887 fi
   4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4889 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4890 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4891 	CFLAGS="$xorg_testset_save_CFLAGS"
   4892 fi
   4893 
   4894 found="no"
   4895 
   4896 	if test $found = "no" ; then
   4897 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4899 		fi
   4900 
   4901 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4903 		fi
   4904 
   4905 		CFLAGS="$CFLAGS -Wpointer-arith"
   4906 
   4907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4908 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4909 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4910 		if eval \${$cacheid+:} false; then :
   4911   $as_echo_n "(cached) " >&6
   4912 else
   4913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4914 /* end confdefs.h.  */
   4915 int i;
   4916 int
   4917 main ()
   4918 {
   4919 
   4920   ;
   4921   return 0;
   4922 }
   4923 _ACEOF
   4924 if ac_fn_c_try_link "$LINENO"; then :
   4925   eval $cacheid=yes
   4926 else
   4927   eval $cacheid=no
   4928 fi
   4929 rm -f core conftest.err conftest.$ac_objext \
   4930     conftest$ac_exeext conftest.$ac_ext
   4931 fi
   4932 
   4933 
   4934 		CFLAGS="$xorg_testset_save_CFLAGS"
   4935 
   4936 		eval supported=\$$cacheid
   4937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4938 $as_echo "$supported" >&6; }
   4939 		if test "$supported" = "yes" ; then
   4940 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4941 			found="yes"
   4942 		fi
   4943 	fi
   4944 
   4945 
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 xorg_testset_save_CFLAGS="$CFLAGS"
   4960 
   4961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4964 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4965 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4966   $as_echo_n "(cached) " >&6
   4967 else
   4968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4969 /* end confdefs.h.  */
   4970 int i;
   4971 _ACEOF
   4972 if ac_fn_c_try_compile "$LINENO"; then :
   4973   xorg_cv_cc_flag_unknown_warning_option=yes
   4974 else
   4975   xorg_cv_cc_flag_unknown_warning_option=no
   4976 fi
   4977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4978 fi
   4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4980 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4982 	CFLAGS="$xorg_testset_save_CFLAGS"
   4983 fi
   4984 
   4985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4988 	fi
   4989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4991 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4992 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4993   $as_echo_n "(cached) " >&6
   4994 else
   4995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4996 /* end confdefs.h.  */
   4997 int i;
   4998 _ACEOF
   4999 if ac_fn_c_try_compile "$LINENO"; then :
   5000   xorg_cv_cc_flag_unused_command_line_argument=yes
   5001 else
   5002   xorg_cv_cc_flag_unused_command_line_argument=no
   5003 fi
   5004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5005 fi
   5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5007 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5009 	CFLAGS="$xorg_testset_save_CFLAGS"
   5010 fi
   5011 
   5012 found="no"
   5013 
   5014 	if test $found = "no" ; then
   5015 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5017 		fi
   5018 
   5019 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5021 		fi
   5022 
   5023 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5024 
   5025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5026 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5027 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5028 		if eval \${$cacheid+:} false; then :
   5029   $as_echo_n "(cached) " >&6
   5030 else
   5031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5032 /* end confdefs.h.  */
   5033 int i;
   5034 int
   5035 main ()
   5036 {
   5037 
   5038   ;
   5039   return 0;
   5040 }
   5041 _ACEOF
   5042 if ac_fn_c_try_link "$LINENO"; then :
   5043   eval $cacheid=yes
   5044 else
   5045   eval $cacheid=no
   5046 fi
   5047 rm -f core conftest.err conftest.$ac_objext \
   5048     conftest$ac_exeext conftest.$ac_ext
   5049 fi
   5050 
   5051 
   5052 		CFLAGS="$xorg_testset_save_CFLAGS"
   5053 
   5054 		eval supported=\$$cacheid
   5055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5056 $as_echo "$supported" >&6; }
   5057 		if test "$supported" = "yes" ; then
   5058 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5059 			found="yes"
   5060 		fi
   5061 	fi
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 xorg_testset_save_CFLAGS="$CFLAGS"
   5078 
   5079 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5080 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5082 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5083 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5084   $as_echo_n "(cached) " >&6
   5085 else
   5086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5087 /* end confdefs.h.  */
   5088 int i;
   5089 _ACEOF
   5090 if ac_fn_c_try_compile "$LINENO"; then :
   5091   xorg_cv_cc_flag_unknown_warning_option=yes
   5092 else
   5093   xorg_cv_cc_flag_unknown_warning_option=no
   5094 fi
   5095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5096 fi
   5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5098 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5099 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5100 	CFLAGS="$xorg_testset_save_CFLAGS"
   5101 fi
   5102 
   5103 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5104 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5105 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5106 	fi
   5107 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5108 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5109 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5110 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5111   $as_echo_n "(cached) " >&6
   5112 else
   5113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5114 /* end confdefs.h.  */
   5115 int i;
   5116 _ACEOF
   5117 if ac_fn_c_try_compile "$LINENO"; then :
   5118   xorg_cv_cc_flag_unused_command_line_argument=yes
   5119 else
   5120   xorg_cv_cc_flag_unused_command_line_argument=no
   5121 fi
   5122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5123 fi
   5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5125 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5127 	CFLAGS="$xorg_testset_save_CFLAGS"
   5128 fi
   5129 
   5130 found="no"
   5131 
   5132 	if test $found = "no" ; then
   5133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5135 		fi
   5136 
   5137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5139 		fi
   5140 
   5141 		CFLAGS="$CFLAGS -Wformat=2"
   5142 
   5143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5144 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5145 		cacheid=xorg_cv_cc_flag__Wformat_2
   5146 		if eval \${$cacheid+:} false; then :
   5147   $as_echo_n "(cached) " >&6
   5148 else
   5149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5150 /* end confdefs.h.  */
   5151 int i;
   5152 int
   5153 main ()
   5154 {
   5155 
   5156   ;
   5157   return 0;
   5158 }
   5159 _ACEOF
   5160 if ac_fn_c_try_link "$LINENO"; then :
   5161   eval $cacheid=yes
   5162 else
   5163   eval $cacheid=no
   5164 fi
   5165 rm -f core conftest.err conftest.$ac_objext \
   5166     conftest$ac_exeext conftest.$ac_ext
   5167 fi
   5168 
   5169 
   5170 		CFLAGS="$xorg_testset_save_CFLAGS"
   5171 
   5172 		eval supported=\$$cacheid
   5173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5174 $as_echo "$supported" >&6; }
   5175 		if test "$supported" = "yes" ; then
   5176 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5177 			found="yes"
   5178 		fi
   5179 	fi
   5180 
   5181 	if test $found = "no" ; then
   5182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5184 		fi
   5185 
   5186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5188 		fi
   5189 
   5190 		CFLAGS="$CFLAGS -Wformat"
   5191 
   5192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5193 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5194 		cacheid=xorg_cv_cc_flag__Wformat
   5195 		if eval \${$cacheid+:} false; then :
   5196   $as_echo_n "(cached) " >&6
   5197 else
   5198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5199 /* end confdefs.h.  */
   5200 int i;
   5201 int
   5202 main ()
   5203 {
   5204 
   5205   ;
   5206   return 0;
   5207 }
   5208 _ACEOF
   5209 if ac_fn_c_try_link "$LINENO"; then :
   5210   eval $cacheid=yes
   5211 else
   5212   eval $cacheid=no
   5213 fi
   5214 rm -f core conftest.err conftest.$ac_objext \
   5215     conftest$ac_exeext conftest.$ac_ext
   5216 fi
   5217 
   5218 
   5219 		CFLAGS="$xorg_testset_save_CFLAGS"
   5220 
   5221 		eval supported=\$$cacheid
   5222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5223 $as_echo "$supported" >&6; }
   5224 		if test "$supported" = "yes" ; then
   5225 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5226 			found="yes"
   5227 		fi
   5228 	fi
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 xorg_testset_save_CFLAGS="$CFLAGS"
   5247 
   5248 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5249 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5251 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5252 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5253   $as_echo_n "(cached) " >&6
   5254 else
   5255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5256 /* end confdefs.h.  */
   5257 int i;
   5258 _ACEOF
   5259 if ac_fn_c_try_compile "$LINENO"; then :
   5260   xorg_cv_cc_flag_unknown_warning_option=yes
   5261 else
   5262   xorg_cv_cc_flag_unknown_warning_option=no
   5263 fi
   5264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5265 fi
   5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5267 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5269 	CFLAGS="$xorg_testset_save_CFLAGS"
   5270 fi
   5271 
   5272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5275 	fi
   5276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5278 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5279 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5280   $as_echo_n "(cached) " >&6
   5281 else
   5282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5283 /* end confdefs.h.  */
   5284 int i;
   5285 _ACEOF
   5286 if ac_fn_c_try_compile "$LINENO"; then :
   5287   xorg_cv_cc_flag_unused_command_line_argument=yes
   5288 else
   5289   xorg_cv_cc_flag_unused_command_line_argument=no
   5290 fi
   5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5292 fi
   5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5294 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5295 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5296 	CFLAGS="$xorg_testset_save_CFLAGS"
   5297 fi
   5298 
   5299 found="no"
   5300 
   5301 	if test $found = "no" ; then
   5302 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5304 		fi
   5305 
   5306 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5308 		fi
   5309 
   5310 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5311 
   5312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5313 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5314 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5315 		if eval \${$cacheid+:} false; then :
   5316   $as_echo_n "(cached) " >&6
   5317 else
   5318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5319 /* end confdefs.h.  */
   5320 int i;
   5321 int
   5322 main ()
   5323 {
   5324 
   5325   ;
   5326   return 0;
   5327 }
   5328 _ACEOF
   5329 if ac_fn_c_try_link "$LINENO"; then :
   5330   eval $cacheid=yes
   5331 else
   5332   eval $cacheid=no
   5333 fi
   5334 rm -f core conftest.err conftest.$ac_objext \
   5335     conftest$ac_exeext conftest.$ac_ext
   5336 fi
   5337 
   5338 
   5339 		CFLAGS="$xorg_testset_save_CFLAGS"
   5340 
   5341 		eval supported=\$$cacheid
   5342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5343 $as_echo "$supported" >&6; }
   5344 		if test "$supported" = "yes" ; then
   5345 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5346 			found="yes"
   5347 		fi
   5348 	fi
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 xorg_testset_save_CFLAGS="$CFLAGS"
   5365 
   5366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5369 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5370 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5371   $as_echo_n "(cached) " >&6
   5372 else
   5373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5374 /* end confdefs.h.  */
   5375 int i;
   5376 _ACEOF
   5377 if ac_fn_c_try_compile "$LINENO"; then :
   5378   xorg_cv_cc_flag_unknown_warning_option=yes
   5379 else
   5380   xorg_cv_cc_flag_unknown_warning_option=no
   5381 fi
   5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5383 fi
   5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5385 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5387 	CFLAGS="$xorg_testset_save_CFLAGS"
   5388 fi
   5389 
   5390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5393 	fi
   5394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5396 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5397 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5398   $as_echo_n "(cached) " >&6
   5399 else
   5400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5401 /* end confdefs.h.  */
   5402 int i;
   5403 _ACEOF
   5404 if ac_fn_c_try_compile "$LINENO"; then :
   5405   xorg_cv_cc_flag_unused_command_line_argument=yes
   5406 else
   5407   xorg_cv_cc_flag_unused_command_line_argument=no
   5408 fi
   5409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5410 fi
   5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5412 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5413 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5414 	CFLAGS="$xorg_testset_save_CFLAGS"
   5415 fi
   5416 
   5417 found="no"
   5418 
   5419 	if test $found = "no" ; then
   5420 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5422 		fi
   5423 
   5424 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5426 		fi
   5427 
   5428 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5429 
   5430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5431 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5432 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5433 		if eval \${$cacheid+:} false; then :
   5434   $as_echo_n "(cached) " >&6
   5435 else
   5436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5437 /* end confdefs.h.  */
   5438 int i;
   5439 int
   5440 main ()
   5441 {
   5442 
   5443   ;
   5444   return 0;
   5445 }
   5446 _ACEOF
   5447 if ac_fn_c_try_link "$LINENO"; then :
   5448   eval $cacheid=yes
   5449 else
   5450   eval $cacheid=no
   5451 fi
   5452 rm -f core conftest.err conftest.$ac_objext \
   5453     conftest$ac_exeext conftest.$ac_ext
   5454 fi
   5455 
   5456 
   5457 		CFLAGS="$xorg_testset_save_CFLAGS"
   5458 
   5459 		eval supported=\$$cacheid
   5460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5461 $as_echo "$supported" >&6; }
   5462 		if test "$supported" = "yes" ; then
   5463 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5464 			found="yes"
   5465 		fi
   5466 	fi
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 xorg_testset_save_CFLAGS="$CFLAGS"
   5483 
   5484 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5485 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5486 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5487 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5488 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5489   $as_echo_n "(cached) " >&6
   5490 else
   5491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5492 /* end confdefs.h.  */
   5493 int i;
   5494 _ACEOF
   5495 if ac_fn_c_try_compile "$LINENO"; then :
   5496   xorg_cv_cc_flag_unknown_warning_option=yes
   5497 else
   5498   xorg_cv_cc_flag_unknown_warning_option=no
   5499 fi
   5500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5501 fi
   5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5503 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5505 	CFLAGS="$xorg_testset_save_CFLAGS"
   5506 fi
   5507 
   5508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5511 	fi
   5512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5513 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5514 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5515 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5516   $as_echo_n "(cached) " >&6
   5517 else
   5518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5519 /* end confdefs.h.  */
   5520 int i;
   5521 _ACEOF
   5522 if ac_fn_c_try_compile "$LINENO"; then :
   5523   xorg_cv_cc_flag_unused_command_line_argument=yes
   5524 else
   5525   xorg_cv_cc_flag_unused_command_line_argument=no
   5526 fi
   5527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5528 fi
   5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5530 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5531 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5532 	CFLAGS="$xorg_testset_save_CFLAGS"
   5533 fi
   5534 
   5535 found="no"
   5536 
   5537 	if test $found = "no" ; then
   5538 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5539 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5540 		fi
   5541 
   5542 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5543 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5544 		fi
   5545 
   5546 		CFLAGS="$CFLAGS -Wnested-externs"
   5547 
   5548 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5549 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5550 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5551 		if eval \${$cacheid+:} false; then :
   5552   $as_echo_n "(cached) " >&6
   5553 else
   5554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5555 /* end confdefs.h.  */
   5556 int i;
   5557 int
   5558 main ()
   5559 {
   5560 
   5561   ;
   5562   return 0;
   5563 }
   5564 _ACEOF
   5565 if ac_fn_c_try_link "$LINENO"; then :
   5566   eval $cacheid=yes
   5567 else
   5568   eval $cacheid=no
   5569 fi
   5570 rm -f core conftest.err conftest.$ac_objext \
   5571     conftest$ac_exeext conftest.$ac_ext
   5572 fi
   5573 
   5574 
   5575 		CFLAGS="$xorg_testset_save_CFLAGS"
   5576 
   5577 		eval supported=\$$cacheid
   5578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5579 $as_echo "$supported" >&6; }
   5580 		if test "$supported" = "yes" ; then
   5581 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5582 			found="yes"
   5583 		fi
   5584 	fi
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 xorg_testset_save_CFLAGS="$CFLAGS"
   5601 
   5602 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5603 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5604 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5605 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5606 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5607   $as_echo_n "(cached) " >&6
   5608 else
   5609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5610 /* end confdefs.h.  */
   5611 int i;
   5612 _ACEOF
   5613 if ac_fn_c_try_compile "$LINENO"; then :
   5614   xorg_cv_cc_flag_unknown_warning_option=yes
   5615 else
   5616   xorg_cv_cc_flag_unknown_warning_option=no
   5617 fi
   5618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5619 fi
   5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5621 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5622 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5623 	CFLAGS="$xorg_testset_save_CFLAGS"
   5624 fi
   5625 
   5626 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5627 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5628 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5629 	fi
   5630 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5631 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5632 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5633 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5634   $as_echo_n "(cached) " >&6
   5635 else
   5636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5637 /* end confdefs.h.  */
   5638 int i;
   5639 _ACEOF
   5640 if ac_fn_c_try_compile "$LINENO"; then :
   5641   xorg_cv_cc_flag_unused_command_line_argument=yes
   5642 else
   5643   xorg_cv_cc_flag_unused_command_line_argument=no
   5644 fi
   5645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5646 fi
   5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5648 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5649 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5650 	CFLAGS="$xorg_testset_save_CFLAGS"
   5651 fi
   5652 
   5653 found="no"
   5654 
   5655 	if test $found = "no" ; then
   5656 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5657 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5658 		fi
   5659 
   5660 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5661 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5662 		fi
   5663 
   5664 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5665 
   5666 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5667 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5668 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5669 		if eval \${$cacheid+:} false; then :
   5670   $as_echo_n "(cached) " >&6
   5671 else
   5672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5673 /* end confdefs.h.  */
   5674 int i;
   5675 int
   5676 main ()
   5677 {
   5678 
   5679   ;
   5680   return 0;
   5681 }
   5682 _ACEOF
   5683 if ac_fn_c_try_link "$LINENO"; then :
   5684   eval $cacheid=yes
   5685 else
   5686   eval $cacheid=no
   5687 fi
   5688 rm -f core conftest.err conftest.$ac_objext \
   5689     conftest$ac_exeext conftest.$ac_ext
   5690 fi
   5691 
   5692 
   5693 		CFLAGS="$xorg_testset_save_CFLAGS"
   5694 
   5695 		eval supported=\$$cacheid
   5696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5697 $as_echo "$supported" >&6; }
   5698 		if test "$supported" = "yes" ; then
   5699 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5700 			found="yes"
   5701 		fi
   5702 	fi
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 xorg_testset_save_CFLAGS="$CFLAGS"
   5719 
   5720 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5721 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5722 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5723 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5724 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5725   $as_echo_n "(cached) " >&6
   5726 else
   5727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5728 /* end confdefs.h.  */
   5729 int i;
   5730 _ACEOF
   5731 if ac_fn_c_try_compile "$LINENO"; then :
   5732   xorg_cv_cc_flag_unknown_warning_option=yes
   5733 else
   5734   xorg_cv_cc_flag_unknown_warning_option=no
   5735 fi
   5736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5737 fi
   5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5739 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5740 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5741 	CFLAGS="$xorg_testset_save_CFLAGS"
   5742 fi
   5743 
   5744 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5745 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5746 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5747 	fi
   5748 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5749 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5750 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5751 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5752   $as_echo_n "(cached) " >&6
   5753 else
   5754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5755 /* end confdefs.h.  */
   5756 int i;
   5757 _ACEOF
   5758 if ac_fn_c_try_compile "$LINENO"; then :
   5759   xorg_cv_cc_flag_unused_command_line_argument=yes
   5760 else
   5761   xorg_cv_cc_flag_unused_command_line_argument=no
   5762 fi
   5763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5764 fi
   5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5766 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5767 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5768 	CFLAGS="$xorg_testset_save_CFLAGS"
   5769 fi
   5770 
   5771 found="no"
   5772 
   5773 	if test $found = "no" ; then
   5774 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5775 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5776 		fi
   5777 
   5778 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5779 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5780 		fi
   5781 
   5782 		CFLAGS="$CFLAGS -Wold-style-definition"
   5783 
   5784 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5785 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5786 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5787 		if eval \${$cacheid+:} false; then :
   5788   $as_echo_n "(cached) " >&6
   5789 else
   5790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5791 /* end confdefs.h.  */
   5792 int i;
   5793 int
   5794 main ()
   5795 {
   5796 
   5797   ;
   5798   return 0;
   5799 }
   5800 _ACEOF
   5801 if ac_fn_c_try_link "$LINENO"; then :
   5802   eval $cacheid=yes
   5803 else
   5804   eval $cacheid=no
   5805 fi
   5806 rm -f core conftest.err conftest.$ac_objext \
   5807     conftest$ac_exeext conftest.$ac_ext
   5808 fi
   5809 
   5810 
   5811 		CFLAGS="$xorg_testset_save_CFLAGS"
   5812 
   5813 		eval supported=\$$cacheid
   5814 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5815 $as_echo "$supported" >&6; }
   5816 		if test "$supported" = "yes" ; then
   5817 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5818 			found="yes"
   5819 		fi
   5820 	fi
   5821 
   5822 	if test $found = "no" ; then
   5823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5825 		fi
   5826 
   5827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5829 		fi
   5830 
   5831 		CFLAGS="$CFLAGS -fd"
   5832 
   5833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5834 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5835 		cacheid=xorg_cv_cc_flag__fd
   5836 		if eval \${$cacheid+:} false; then :
   5837   $as_echo_n "(cached) " >&6
   5838 else
   5839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5840 /* end confdefs.h.  */
   5841 int i;
   5842 int
   5843 main ()
   5844 {
   5845 
   5846   ;
   5847   return 0;
   5848 }
   5849 _ACEOF
   5850 if ac_fn_c_try_link "$LINENO"; then :
   5851   eval $cacheid=yes
   5852 else
   5853   eval $cacheid=no
   5854 fi
   5855 rm -f core conftest.err conftest.$ac_objext \
   5856     conftest$ac_exeext conftest.$ac_ext
   5857 fi
   5858 
   5859 
   5860 		CFLAGS="$xorg_testset_save_CFLAGS"
   5861 
   5862 		eval supported=\$$cacheid
   5863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5864 $as_echo "$supported" >&6; }
   5865 		if test "$supported" = "yes" ; then
   5866 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5867 			found="yes"
   5868 		fi
   5869 	fi
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 xorg_testset_save_CFLAGS="$CFLAGS"
   5886 
   5887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5890 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5891 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5892   $as_echo_n "(cached) " >&6
   5893 else
   5894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5895 /* end confdefs.h.  */
   5896 int i;
   5897 _ACEOF
   5898 if ac_fn_c_try_compile "$LINENO"; then :
   5899   xorg_cv_cc_flag_unknown_warning_option=yes
   5900 else
   5901   xorg_cv_cc_flag_unknown_warning_option=no
   5902 fi
   5903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5904 fi
   5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5906 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5908 	CFLAGS="$xorg_testset_save_CFLAGS"
   5909 fi
   5910 
   5911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5914 	fi
   5915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5917 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5918 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5919   $as_echo_n "(cached) " >&6
   5920 else
   5921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5922 /* end confdefs.h.  */
   5923 int i;
   5924 _ACEOF
   5925 if ac_fn_c_try_compile "$LINENO"; then :
   5926   xorg_cv_cc_flag_unused_command_line_argument=yes
   5927 else
   5928   xorg_cv_cc_flag_unused_command_line_argument=no
   5929 fi
   5930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5931 fi
   5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5933 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5935 	CFLAGS="$xorg_testset_save_CFLAGS"
   5936 fi
   5937 
   5938 found="no"
   5939 
   5940 	if test $found = "no" ; then
   5941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5943 		fi
   5944 
   5945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5947 		fi
   5948 
   5949 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5950 
   5951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5952 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5953 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5954 		if eval \${$cacheid+:} false; then :
   5955   $as_echo_n "(cached) " >&6
   5956 else
   5957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5958 /* end confdefs.h.  */
   5959 int i;
   5960 int
   5961 main ()
   5962 {
   5963 
   5964   ;
   5965   return 0;
   5966 }
   5967 _ACEOF
   5968 if ac_fn_c_try_link "$LINENO"; then :
   5969   eval $cacheid=yes
   5970 else
   5971   eval $cacheid=no
   5972 fi
   5973 rm -f core conftest.err conftest.$ac_objext \
   5974     conftest$ac_exeext conftest.$ac_ext
   5975 fi
   5976 
   5977 
   5978 		CFLAGS="$xorg_testset_save_CFLAGS"
   5979 
   5980 		eval supported=\$$cacheid
   5981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5982 $as_echo "$supported" >&6; }
   5983 		if test "$supported" = "yes" ; then
   5984 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5985 			found="yes"
   5986 		fi
   5987 	fi
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 # This chunk adds additional warnings that could catch undesired effects.
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 xorg_testset_save_CFLAGS="$CFLAGS"
   6008 
   6009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6011 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6012 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6013 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6014   $as_echo_n "(cached) " >&6
   6015 else
   6016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6017 /* end confdefs.h.  */
   6018 int i;
   6019 _ACEOF
   6020 if ac_fn_c_try_compile "$LINENO"; then :
   6021   xorg_cv_cc_flag_unknown_warning_option=yes
   6022 else
   6023   xorg_cv_cc_flag_unknown_warning_option=no
   6024 fi
   6025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6026 fi
   6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6028 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6030 	CFLAGS="$xorg_testset_save_CFLAGS"
   6031 fi
   6032 
   6033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6036 	fi
   6037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6039 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6040 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6041   $as_echo_n "(cached) " >&6
   6042 else
   6043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6044 /* end confdefs.h.  */
   6045 int i;
   6046 _ACEOF
   6047 if ac_fn_c_try_compile "$LINENO"; then :
   6048   xorg_cv_cc_flag_unused_command_line_argument=yes
   6049 else
   6050   xorg_cv_cc_flag_unused_command_line_argument=no
   6051 fi
   6052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6053 fi
   6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6055 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6057 	CFLAGS="$xorg_testset_save_CFLAGS"
   6058 fi
   6059 
   6060 found="no"
   6061 
   6062 	if test $found = "no" ; then
   6063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6065 		fi
   6066 
   6067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6069 		fi
   6070 
   6071 		CFLAGS="$CFLAGS -Wunused"
   6072 
   6073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6074 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6075 		cacheid=xorg_cv_cc_flag__Wunused
   6076 		if eval \${$cacheid+:} false; then :
   6077   $as_echo_n "(cached) " >&6
   6078 else
   6079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6080 /* end confdefs.h.  */
   6081 int i;
   6082 int
   6083 main ()
   6084 {
   6085 
   6086   ;
   6087   return 0;
   6088 }
   6089 _ACEOF
   6090 if ac_fn_c_try_link "$LINENO"; then :
   6091   eval $cacheid=yes
   6092 else
   6093   eval $cacheid=no
   6094 fi
   6095 rm -f core conftest.err conftest.$ac_objext \
   6096     conftest$ac_exeext conftest.$ac_ext
   6097 fi
   6098 
   6099 
   6100 		CFLAGS="$xorg_testset_save_CFLAGS"
   6101 
   6102 		eval supported=\$$cacheid
   6103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6104 $as_echo "$supported" >&6; }
   6105 		if test "$supported" = "yes" ; then
   6106 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6107 			found="yes"
   6108 		fi
   6109 	fi
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 xorg_testset_save_CFLAGS="$CFLAGS"
   6126 
   6127 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6128 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6130 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6131 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6132   $as_echo_n "(cached) " >&6
   6133 else
   6134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6135 /* end confdefs.h.  */
   6136 int i;
   6137 _ACEOF
   6138 if ac_fn_c_try_compile "$LINENO"; then :
   6139   xorg_cv_cc_flag_unknown_warning_option=yes
   6140 else
   6141   xorg_cv_cc_flag_unknown_warning_option=no
   6142 fi
   6143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6144 fi
   6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6146 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6147 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6148 	CFLAGS="$xorg_testset_save_CFLAGS"
   6149 fi
   6150 
   6151 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6152 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6153 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6154 	fi
   6155 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6157 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6158 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6159   $as_echo_n "(cached) " >&6
   6160 else
   6161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6162 /* end confdefs.h.  */
   6163 int i;
   6164 _ACEOF
   6165 if ac_fn_c_try_compile "$LINENO"; then :
   6166   xorg_cv_cc_flag_unused_command_line_argument=yes
   6167 else
   6168   xorg_cv_cc_flag_unused_command_line_argument=no
   6169 fi
   6170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6171 fi
   6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6173 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6175 	CFLAGS="$xorg_testset_save_CFLAGS"
   6176 fi
   6177 
   6178 found="no"
   6179 
   6180 	if test $found = "no" ; then
   6181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6183 		fi
   6184 
   6185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6187 		fi
   6188 
   6189 		CFLAGS="$CFLAGS -Wuninitialized"
   6190 
   6191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6192 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6193 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6194 		if eval \${$cacheid+:} false; then :
   6195   $as_echo_n "(cached) " >&6
   6196 else
   6197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6198 /* end confdefs.h.  */
   6199 int i;
   6200 int
   6201 main ()
   6202 {
   6203 
   6204   ;
   6205   return 0;
   6206 }
   6207 _ACEOF
   6208 if ac_fn_c_try_link "$LINENO"; then :
   6209   eval $cacheid=yes
   6210 else
   6211   eval $cacheid=no
   6212 fi
   6213 rm -f core conftest.err conftest.$ac_objext \
   6214     conftest$ac_exeext conftest.$ac_ext
   6215 fi
   6216 
   6217 
   6218 		CFLAGS="$xorg_testset_save_CFLAGS"
   6219 
   6220 		eval supported=\$$cacheid
   6221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6222 $as_echo "$supported" >&6; }
   6223 		if test "$supported" = "yes" ; then
   6224 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6225 			found="yes"
   6226 		fi
   6227 	fi
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 xorg_testset_save_CFLAGS="$CFLAGS"
   6244 
   6245 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6246 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6247 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6248 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6249 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6250   $as_echo_n "(cached) " >&6
   6251 else
   6252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6253 /* end confdefs.h.  */
   6254 int i;
   6255 _ACEOF
   6256 if ac_fn_c_try_compile "$LINENO"; then :
   6257   xorg_cv_cc_flag_unknown_warning_option=yes
   6258 else
   6259   xorg_cv_cc_flag_unknown_warning_option=no
   6260 fi
   6261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6262 fi
   6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6264 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6266 	CFLAGS="$xorg_testset_save_CFLAGS"
   6267 fi
   6268 
   6269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6272 	fi
   6273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6275 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6276 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6277   $as_echo_n "(cached) " >&6
   6278 else
   6279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6280 /* end confdefs.h.  */
   6281 int i;
   6282 _ACEOF
   6283 if ac_fn_c_try_compile "$LINENO"; then :
   6284   xorg_cv_cc_flag_unused_command_line_argument=yes
   6285 else
   6286   xorg_cv_cc_flag_unused_command_line_argument=no
   6287 fi
   6288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6289 fi
   6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6291 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6292 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6293 	CFLAGS="$xorg_testset_save_CFLAGS"
   6294 fi
   6295 
   6296 found="no"
   6297 
   6298 	if test $found = "no" ; then
   6299 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6300 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6301 		fi
   6302 
   6303 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6304 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6305 		fi
   6306 
   6307 		CFLAGS="$CFLAGS -Wshadow"
   6308 
   6309 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6310 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6311 		cacheid=xorg_cv_cc_flag__Wshadow
   6312 		if eval \${$cacheid+:} false; then :
   6313   $as_echo_n "(cached) " >&6
   6314 else
   6315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6316 /* end confdefs.h.  */
   6317 int i;
   6318 int
   6319 main ()
   6320 {
   6321 
   6322   ;
   6323   return 0;
   6324 }
   6325 _ACEOF
   6326 if ac_fn_c_try_link "$LINENO"; then :
   6327   eval $cacheid=yes
   6328 else
   6329   eval $cacheid=no
   6330 fi
   6331 rm -f core conftest.err conftest.$ac_objext \
   6332     conftest$ac_exeext conftest.$ac_ext
   6333 fi
   6334 
   6335 
   6336 		CFLAGS="$xorg_testset_save_CFLAGS"
   6337 
   6338 		eval supported=\$$cacheid
   6339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6340 $as_echo "$supported" >&6; }
   6341 		if test "$supported" = "yes" ; then
   6342 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6343 			found="yes"
   6344 		fi
   6345 	fi
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 xorg_testset_save_CFLAGS="$CFLAGS"
   6362 
   6363 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6364 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6365 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6366 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6367 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6368   $as_echo_n "(cached) " >&6
   6369 else
   6370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6371 /* end confdefs.h.  */
   6372 int i;
   6373 _ACEOF
   6374 if ac_fn_c_try_compile "$LINENO"; then :
   6375   xorg_cv_cc_flag_unknown_warning_option=yes
   6376 else
   6377   xorg_cv_cc_flag_unknown_warning_option=no
   6378 fi
   6379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6380 fi
   6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6382 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6383 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6384 	CFLAGS="$xorg_testset_save_CFLAGS"
   6385 fi
   6386 
   6387 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6388 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6389 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6390 	fi
   6391 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6393 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6394 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6395   $as_echo_n "(cached) " >&6
   6396 else
   6397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6398 /* end confdefs.h.  */
   6399 int i;
   6400 _ACEOF
   6401 if ac_fn_c_try_compile "$LINENO"; then :
   6402   xorg_cv_cc_flag_unused_command_line_argument=yes
   6403 else
   6404   xorg_cv_cc_flag_unused_command_line_argument=no
   6405 fi
   6406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6407 fi
   6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6409 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6410 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6411 	CFLAGS="$xorg_testset_save_CFLAGS"
   6412 fi
   6413 
   6414 found="no"
   6415 
   6416 	if test $found = "no" ; then
   6417 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6418 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6419 		fi
   6420 
   6421 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6422 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6423 		fi
   6424 
   6425 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6426 
   6427 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6428 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6429 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6430 		if eval \${$cacheid+:} false; then :
   6431   $as_echo_n "(cached) " >&6
   6432 else
   6433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6434 /* end confdefs.h.  */
   6435 int i;
   6436 int
   6437 main ()
   6438 {
   6439 
   6440   ;
   6441   return 0;
   6442 }
   6443 _ACEOF
   6444 if ac_fn_c_try_link "$LINENO"; then :
   6445   eval $cacheid=yes
   6446 else
   6447   eval $cacheid=no
   6448 fi
   6449 rm -f core conftest.err conftest.$ac_objext \
   6450     conftest$ac_exeext conftest.$ac_ext
   6451 fi
   6452 
   6453 
   6454 		CFLAGS="$xorg_testset_save_CFLAGS"
   6455 
   6456 		eval supported=\$$cacheid
   6457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6458 $as_echo "$supported" >&6; }
   6459 		if test "$supported" = "yes" ; then
   6460 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6461 			found="yes"
   6462 		fi
   6463 	fi
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 xorg_testset_save_CFLAGS="$CFLAGS"
   6480 
   6481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6483 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6484 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6485 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6486   $as_echo_n "(cached) " >&6
   6487 else
   6488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6489 /* end confdefs.h.  */
   6490 int i;
   6491 _ACEOF
   6492 if ac_fn_c_try_compile "$LINENO"; then :
   6493   xorg_cv_cc_flag_unknown_warning_option=yes
   6494 else
   6495   xorg_cv_cc_flag_unknown_warning_option=no
   6496 fi
   6497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6498 fi
   6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6500 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6501 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6502 	CFLAGS="$xorg_testset_save_CFLAGS"
   6503 fi
   6504 
   6505 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6506 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6508 	fi
   6509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6510 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6511 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6512 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6513   $as_echo_n "(cached) " >&6
   6514 else
   6515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6516 /* end confdefs.h.  */
   6517 int i;
   6518 _ACEOF
   6519 if ac_fn_c_try_compile "$LINENO"; then :
   6520   xorg_cv_cc_flag_unused_command_line_argument=yes
   6521 else
   6522   xorg_cv_cc_flag_unused_command_line_argument=no
   6523 fi
   6524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6525 fi
   6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6527 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6528 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6529 	CFLAGS="$xorg_testset_save_CFLAGS"
   6530 fi
   6531 
   6532 found="no"
   6533 
   6534 	if test $found = "no" ; then
   6535 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6537 		fi
   6538 
   6539 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6541 		fi
   6542 
   6543 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6544 
   6545 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6546 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6547 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6548 		if eval \${$cacheid+:} false; then :
   6549   $as_echo_n "(cached) " >&6
   6550 else
   6551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6552 /* end confdefs.h.  */
   6553 int i;
   6554 int
   6555 main ()
   6556 {
   6557 
   6558   ;
   6559   return 0;
   6560 }
   6561 _ACEOF
   6562 if ac_fn_c_try_link "$LINENO"; then :
   6563   eval $cacheid=yes
   6564 else
   6565   eval $cacheid=no
   6566 fi
   6567 rm -f core conftest.err conftest.$ac_objext \
   6568     conftest$ac_exeext conftest.$ac_ext
   6569 fi
   6570 
   6571 
   6572 		CFLAGS="$xorg_testset_save_CFLAGS"
   6573 
   6574 		eval supported=\$$cacheid
   6575 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6576 $as_echo "$supported" >&6; }
   6577 		if test "$supported" = "yes" ; then
   6578 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6579 			found="yes"
   6580 		fi
   6581 	fi
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 xorg_testset_save_CFLAGS="$CFLAGS"
   6598 
   6599 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6600 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6601 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6602 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6603 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6604   $as_echo_n "(cached) " >&6
   6605 else
   6606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6607 /* end confdefs.h.  */
   6608 int i;
   6609 _ACEOF
   6610 if ac_fn_c_try_compile "$LINENO"; then :
   6611   xorg_cv_cc_flag_unknown_warning_option=yes
   6612 else
   6613   xorg_cv_cc_flag_unknown_warning_option=no
   6614 fi
   6615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6616 fi
   6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6618 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6619 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6620 	CFLAGS="$xorg_testset_save_CFLAGS"
   6621 fi
   6622 
   6623 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6624 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6625 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6626 	fi
   6627 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6629 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6630 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6631   $as_echo_n "(cached) " >&6
   6632 else
   6633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6634 /* end confdefs.h.  */
   6635 int i;
   6636 _ACEOF
   6637 if ac_fn_c_try_compile "$LINENO"; then :
   6638   xorg_cv_cc_flag_unused_command_line_argument=yes
   6639 else
   6640   xorg_cv_cc_flag_unused_command_line_argument=no
   6641 fi
   6642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6643 fi
   6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6645 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6646 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6647 	CFLAGS="$xorg_testset_save_CFLAGS"
   6648 fi
   6649 
   6650 found="no"
   6651 
   6652 	if test $found = "no" ; then
   6653 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6654 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6655 		fi
   6656 
   6657 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6658 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6659 		fi
   6660 
   6661 		CFLAGS="$CFLAGS -Wredundant-decls"
   6662 
   6663 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6664 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6665 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6666 		if eval \${$cacheid+:} false; then :
   6667   $as_echo_n "(cached) " >&6
   6668 else
   6669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6670 /* end confdefs.h.  */
   6671 int i;
   6672 int
   6673 main ()
   6674 {
   6675 
   6676   ;
   6677   return 0;
   6678 }
   6679 _ACEOF
   6680 if ac_fn_c_try_link "$LINENO"; then :
   6681   eval $cacheid=yes
   6682 else
   6683   eval $cacheid=no
   6684 fi
   6685 rm -f core conftest.err conftest.$ac_objext \
   6686     conftest$ac_exeext conftest.$ac_ext
   6687 fi
   6688 
   6689 
   6690 		CFLAGS="$xorg_testset_save_CFLAGS"
   6691 
   6692 		eval supported=\$$cacheid
   6693 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6694 $as_echo "$supported" >&6; }
   6695 		if test "$supported" = "yes" ; then
   6696 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6697 			found="yes"
   6698 		fi
   6699 	fi
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 xorg_testset_save_CFLAGS="$CFLAGS"
   6716 
   6717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6719 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6720 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6721 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6722   $as_echo_n "(cached) " >&6
   6723 else
   6724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6725 /* end confdefs.h.  */
   6726 int i;
   6727 _ACEOF
   6728 if ac_fn_c_try_compile "$LINENO"; then :
   6729   xorg_cv_cc_flag_unknown_warning_option=yes
   6730 else
   6731   xorg_cv_cc_flag_unknown_warning_option=no
   6732 fi
   6733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6734 fi
   6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6736 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6737 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6738 	CFLAGS="$xorg_testset_save_CFLAGS"
   6739 fi
   6740 
   6741 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6742 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6743 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6744 	fi
   6745 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6747 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6748 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6749   $as_echo_n "(cached) " >&6
   6750 else
   6751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6752 /* end confdefs.h.  */
   6753 int i;
   6754 _ACEOF
   6755 if ac_fn_c_try_compile "$LINENO"; then :
   6756   xorg_cv_cc_flag_unused_command_line_argument=yes
   6757 else
   6758   xorg_cv_cc_flag_unused_command_line_argument=no
   6759 fi
   6760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6761 fi
   6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6763 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6764 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6765 	CFLAGS="$xorg_testset_save_CFLAGS"
   6766 fi
   6767 
   6768 found="no"
   6769 
   6770 	if test $found = "no" ; then
   6771 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6772 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6773 		fi
   6774 
   6775 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6776 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6777 		fi
   6778 
   6779 		CFLAGS="$CFLAGS -Wlogical-op"
   6780 
   6781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6782 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6783 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6784 		if eval \${$cacheid+:} 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 int
   6791 main ()
   6792 {
   6793 
   6794   ;
   6795   return 0;
   6796 }
   6797 _ACEOF
   6798 if ac_fn_c_try_link "$LINENO"; then :
   6799   eval $cacheid=yes
   6800 else
   6801   eval $cacheid=no
   6802 fi
   6803 rm -f core conftest.err conftest.$ac_objext \
   6804     conftest$ac_exeext conftest.$ac_ext
   6805 fi
   6806 
   6807 
   6808 		CFLAGS="$xorg_testset_save_CFLAGS"
   6809 
   6810 		eval supported=\$$cacheid
   6811 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6812 $as_echo "$supported" >&6; }
   6813 		if test "$supported" = "yes" ; then
   6814 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6815 			found="yes"
   6816 		fi
   6817 	fi
   6818 
   6819 
   6820 
   6821 # These are currently disabled because they are noisy.  They will be enabled
   6822 # in the future once the codebase is sufficiently modernized to silence
   6823 # them.  For now, I don't want them to drown out the other warnings.
   6824 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6825 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6826 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6827 
   6828 # Turn some warnings into errors, so we don't accidently get successful builds
   6829 # when there are problems that should be fixed.
   6830 
   6831 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 xorg_testset_save_CFLAGS="$CFLAGS"
   6846 
   6847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6849 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6850 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6851 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6852   $as_echo_n "(cached) " >&6
   6853 else
   6854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6855 /* end confdefs.h.  */
   6856 int i;
   6857 _ACEOF
   6858 if ac_fn_c_try_compile "$LINENO"; then :
   6859   xorg_cv_cc_flag_unknown_warning_option=yes
   6860 else
   6861   xorg_cv_cc_flag_unknown_warning_option=no
   6862 fi
   6863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6864 fi
   6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6866 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6867 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6868 	CFLAGS="$xorg_testset_save_CFLAGS"
   6869 fi
   6870 
   6871 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6872 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6873 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6874 	fi
   6875 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6877 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6878 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6879   $as_echo_n "(cached) " >&6
   6880 else
   6881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6882 /* end confdefs.h.  */
   6883 int i;
   6884 _ACEOF
   6885 if ac_fn_c_try_compile "$LINENO"; then :
   6886   xorg_cv_cc_flag_unused_command_line_argument=yes
   6887 else
   6888   xorg_cv_cc_flag_unused_command_line_argument=no
   6889 fi
   6890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6891 fi
   6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6893 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6895 	CFLAGS="$xorg_testset_save_CFLAGS"
   6896 fi
   6897 
   6898 found="no"
   6899 
   6900 	if test $found = "no" ; then
   6901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6903 		fi
   6904 
   6905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6907 		fi
   6908 
   6909 		CFLAGS="$CFLAGS -Werror=implicit"
   6910 
   6911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6912 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6913 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6914 		if eval \${$cacheid+:} false; then :
   6915   $as_echo_n "(cached) " >&6
   6916 else
   6917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6918 /* end confdefs.h.  */
   6919 int i;
   6920 int
   6921 main ()
   6922 {
   6923 
   6924   ;
   6925   return 0;
   6926 }
   6927 _ACEOF
   6928 if ac_fn_c_try_link "$LINENO"; then :
   6929   eval $cacheid=yes
   6930 else
   6931   eval $cacheid=no
   6932 fi
   6933 rm -f core conftest.err conftest.$ac_objext \
   6934     conftest$ac_exeext conftest.$ac_ext
   6935 fi
   6936 
   6937 
   6938 		CFLAGS="$xorg_testset_save_CFLAGS"
   6939 
   6940 		eval supported=\$$cacheid
   6941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6942 $as_echo "$supported" >&6; }
   6943 		if test "$supported" = "yes" ; then
   6944 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6945 			found="yes"
   6946 		fi
   6947 	fi
   6948 
   6949 	if test $found = "no" ; then
   6950 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6952 		fi
   6953 
   6954 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6956 		fi
   6957 
   6958 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6959 
   6960 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6961 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6962 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6963 		if eval \${$cacheid+:} false; then :
   6964   $as_echo_n "(cached) " >&6
   6965 else
   6966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6967 /* end confdefs.h.  */
   6968 int i;
   6969 int
   6970 main ()
   6971 {
   6972 
   6973   ;
   6974   return 0;
   6975 }
   6976 _ACEOF
   6977 if ac_fn_c_try_link "$LINENO"; then :
   6978   eval $cacheid=yes
   6979 else
   6980   eval $cacheid=no
   6981 fi
   6982 rm -f core conftest.err conftest.$ac_objext \
   6983     conftest$ac_exeext conftest.$ac_ext
   6984 fi
   6985 
   6986 
   6987 		CFLAGS="$xorg_testset_save_CFLAGS"
   6988 
   6989 		eval supported=\$$cacheid
   6990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6991 $as_echo "$supported" >&6; }
   6992 		if test "$supported" = "yes" ; then
   6993 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6994 			found="yes"
   6995 		fi
   6996 	fi
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 xorg_testset_save_CFLAGS="$CFLAGS"
   7013 
   7014 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7015 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7017 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7018 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7019   $as_echo_n "(cached) " >&6
   7020 else
   7021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7022 /* end confdefs.h.  */
   7023 int i;
   7024 _ACEOF
   7025 if ac_fn_c_try_compile "$LINENO"; then :
   7026   xorg_cv_cc_flag_unknown_warning_option=yes
   7027 else
   7028   xorg_cv_cc_flag_unknown_warning_option=no
   7029 fi
   7030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7031 fi
   7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7033 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7034 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7035 	CFLAGS="$xorg_testset_save_CFLAGS"
   7036 fi
   7037 
   7038 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7039 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7040 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7041 	fi
   7042 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7044 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7045 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7046   $as_echo_n "(cached) " >&6
   7047 else
   7048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7049 /* end confdefs.h.  */
   7050 int i;
   7051 _ACEOF
   7052 if ac_fn_c_try_compile "$LINENO"; then :
   7053   xorg_cv_cc_flag_unused_command_line_argument=yes
   7054 else
   7055   xorg_cv_cc_flag_unused_command_line_argument=no
   7056 fi
   7057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7058 fi
   7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7060 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7061 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7062 	CFLAGS="$xorg_testset_save_CFLAGS"
   7063 fi
   7064 
   7065 found="no"
   7066 
   7067 	if test $found = "no" ; then
   7068 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7069 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7070 		fi
   7071 
   7072 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7073 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7074 		fi
   7075 
   7076 		CFLAGS="$CFLAGS -Werror=nonnull"
   7077 
   7078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7079 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7080 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7081 		if eval \${$cacheid+:} false; then :
   7082   $as_echo_n "(cached) " >&6
   7083 else
   7084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7085 /* end confdefs.h.  */
   7086 int i;
   7087 int
   7088 main ()
   7089 {
   7090 
   7091   ;
   7092   return 0;
   7093 }
   7094 _ACEOF
   7095 if ac_fn_c_try_link "$LINENO"; then :
   7096   eval $cacheid=yes
   7097 else
   7098   eval $cacheid=no
   7099 fi
   7100 rm -f core conftest.err conftest.$ac_objext \
   7101     conftest$ac_exeext conftest.$ac_ext
   7102 fi
   7103 
   7104 
   7105 		CFLAGS="$xorg_testset_save_CFLAGS"
   7106 
   7107 		eval supported=\$$cacheid
   7108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7109 $as_echo "$supported" >&6; }
   7110 		if test "$supported" = "yes" ; then
   7111 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7112 			found="yes"
   7113 		fi
   7114 	fi
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 xorg_testset_save_CFLAGS="$CFLAGS"
   7131 
   7132 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7133 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7134 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7135 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7136 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7137   $as_echo_n "(cached) " >&6
   7138 else
   7139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7140 /* end confdefs.h.  */
   7141 int i;
   7142 _ACEOF
   7143 if ac_fn_c_try_compile "$LINENO"; then :
   7144   xorg_cv_cc_flag_unknown_warning_option=yes
   7145 else
   7146   xorg_cv_cc_flag_unknown_warning_option=no
   7147 fi
   7148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7149 fi
   7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7151 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7152 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7153 	CFLAGS="$xorg_testset_save_CFLAGS"
   7154 fi
   7155 
   7156 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7157 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7158 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7159 	fi
   7160 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7162 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7163 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7164   $as_echo_n "(cached) " >&6
   7165 else
   7166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7167 /* end confdefs.h.  */
   7168 int i;
   7169 _ACEOF
   7170 if ac_fn_c_try_compile "$LINENO"; then :
   7171   xorg_cv_cc_flag_unused_command_line_argument=yes
   7172 else
   7173   xorg_cv_cc_flag_unused_command_line_argument=no
   7174 fi
   7175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7176 fi
   7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7178 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7179 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7180 	CFLAGS="$xorg_testset_save_CFLAGS"
   7181 fi
   7182 
   7183 found="no"
   7184 
   7185 	if test $found = "no" ; then
   7186 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7188 		fi
   7189 
   7190 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7192 		fi
   7193 
   7194 		CFLAGS="$CFLAGS -Werror=init-self"
   7195 
   7196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7197 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7198 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7199 		if eval \${$cacheid+:} false; then :
   7200   $as_echo_n "(cached) " >&6
   7201 else
   7202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7203 /* end confdefs.h.  */
   7204 int i;
   7205 int
   7206 main ()
   7207 {
   7208 
   7209   ;
   7210   return 0;
   7211 }
   7212 _ACEOF
   7213 if ac_fn_c_try_link "$LINENO"; then :
   7214   eval $cacheid=yes
   7215 else
   7216   eval $cacheid=no
   7217 fi
   7218 rm -f core conftest.err conftest.$ac_objext \
   7219     conftest$ac_exeext conftest.$ac_ext
   7220 fi
   7221 
   7222 
   7223 		CFLAGS="$xorg_testset_save_CFLAGS"
   7224 
   7225 		eval supported=\$$cacheid
   7226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7227 $as_echo "$supported" >&6; }
   7228 		if test "$supported" = "yes" ; then
   7229 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7230 			found="yes"
   7231 		fi
   7232 	fi
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 xorg_testset_save_CFLAGS="$CFLAGS"
   7249 
   7250 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7251 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7252 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7253 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7254 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7255   $as_echo_n "(cached) " >&6
   7256 else
   7257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7258 /* end confdefs.h.  */
   7259 int i;
   7260 _ACEOF
   7261 if ac_fn_c_try_compile "$LINENO"; then :
   7262   xorg_cv_cc_flag_unknown_warning_option=yes
   7263 else
   7264   xorg_cv_cc_flag_unknown_warning_option=no
   7265 fi
   7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7267 fi
   7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7269 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7270 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7271 	CFLAGS="$xorg_testset_save_CFLAGS"
   7272 fi
   7273 
   7274 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7275 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7276 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7277 	fi
   7278 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7280 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7281 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7282   $as_echo_n "(cached) " >&6
   7283 else
   7284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7285 /* end confdefs.h.  */
   7286 int i;
   7287 _ACEOF
   7288 if ac_fn_c_try_compile "$LINENO"; then :
   7289   xorg_cv_cc_flag_unused_command_line_argument=yes
   7290 else
   7291   xorg_cv_cc_flag_unused_command_line_argument=no
   7292 fi
   7293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7294 fi
   7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7296 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7297 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7298 	CFLAGS="$xorg_testset_save_CFLAGS"
   7299 fi
   7300 
   7301 found="no"
   7302 
   7303 	if test $found = "no" ; then
   7304 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7305 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7306 		fi
   7307 
   7308 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7309 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7310 		fi
   7311 
   7312 		CFLAGS="$CFLAGS -Werror=main"
   7313 
   7314 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7315 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7316 		cacheid=xorg_cv_cc_flag__Werror_main
   7317 		if eval \${$cacheid+:} false; then :
   7318   $as_echo_n "(cached) " >&6
   7319 else
   7320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7321 /* end confdefs.h.  */
   7322 int i;
   7323 int
   7324 main ()
   7325 {
   7326 
   7327   ;
   7328   return 0;
   7329 }
   7330 _ACEOF
   7331 if ac_fn_c_try_link "$LINENO"; then :
   7332   eval $cacheid=yes
   7333 else
   7334   eval $cacheid=no
   7335 fi
   7336 rm -f core conftest.err conftest.$ac_objext \
   7337     conftest$ac_exeext conftest.$ac_ext
   7338 fi
   7339 
   7340 
   7341 		CFLAGS="$xorg_testset_save_CFLAGS"
   7342 
   7343 		eval supported=\$$cacheid
   7344 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7345 $as_echo "$supported" >&6; }
   7346 		if test "$supported" = "yes" ; then
   7347 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7348 			found="yes"
   7349 		fi
   7350 	fi
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 xorg_testset_save_CFLAGS="$CFLAGS"
   7367 
   7368 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7369 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7370 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7371 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7372 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7373   $as_echo_n "(cached) " >&6
   7374 else
   7375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7376 /* end confdefs.h.  */
   7377 int i;
   7378 _ACEOF
   7379 if ac_fn_c_try_compile "$LINENO"; then :
   7380   xorg_cv_cc_flag_unknown_warning_option=yes
   7381 else
   7382   xorg_cv_cc_flag_unknown_warning_option=no
   7383 fi
   7384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7385 fi
   7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7387 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7388 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7389 	CFLAGS="$xorg_testset_save_CFLAGS"
   7390 fi
   7391 
   7392 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7393 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7394 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7395 	fi
   7396 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7397 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7398 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7399 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7400   $as_echo_n "(cached) " >&6
   7401 else
   7402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7403 /* end confdefs.h.  */
   7404 int i;
   7405 _ACEOF
   7406 if ac_fn_c_try_compile "$LINENO"; then :
   7407   xorg_cv_cc_flag_unused_command_line_argument=yes
   7408 else
   7409   xorg_cv_cc_flag_unused_command_line_argument=no
   7410 fi
   7411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7412 fi
   7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7414 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7415 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7416 	CFLAGS="$xorg_testset_save_CFLAGS"
   7417 fi
   7418 
   7419 found="no"
   7420 
   7421 	if test $found = "no" ; then
   7422 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7423 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7424 		fi
   7425 
   7426 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7427 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7428 		fi
   7429 
   7430 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7431 
   7432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7433 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7434 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7435 		if eval \${$cacheid+:} false; then :
   7436   $as_echo_n "(cached) " >&6
   7437 else
   7438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7439 /* end confdefs.h.  */
   7440 int i;
   7441 int
   7442 main ()
   7443 {
   7444 
   7445   ;
   7446   return 0;
   7447 }
   7448 _ACEOF
   7449 if ac_fn_c_try_link "$LINENO"; then :
   7450   eval $cacheid=yes
   7451 else
   7452   eval $cacheid=no
   7453 fi
   7454 rm -f core conftest.err conftest.$ac_objext \
   7455     conftest$ac_exeext conftest.$ac_ext
   7456 fi
   7457 
   7458 
   7459 		CFLAGS="$xorg_testset_save_CFLAGS"
   7460 
   7461 		eval supported=\$$cacheid
   7462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7463 $as_echo "$supported" >&6; }
   7464 		if test "$supported" = "yes" ; then
   7465 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7466 			found="yes"
   7467 		fi
   7468 	fi
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 xorg_testset_save_CFLAGS="$CFLAGS"
   7485 
   7486 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7487 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7488 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7489 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7490 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7491   $as_echo_n "(cached) " >&6
   7492 else
   7493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7494 /* end confdefs.h.  */
   7495 int i;
   7496 _ACEOF
   7497 if ac_fn_c_try_compile "$LINENO"; then :
   7498   xorg_cv_cc_flag_unknown_warning_option=yes
   7499 else
   7500   xorg_cv_cc_flag_unknown_warning_option=no
   7501 fi
   7502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7503 fi
   7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7505 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7506 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7507 	CFLAGS="$xorg_testset_save_CFLAGS"
   7508 fi
   7509 
   7510 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7511 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7512 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7513 	fi
   7514 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7516 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7517 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7518   $as_echo_n "(cached) " >&6
   7519 else
   7520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7521 /* end confdefs.h.  */
   7522 int i;
   7523 _ACEOF
   7524 if ac_fn_c_try_compile "$LINENO"; then :
   7525   xorg_cv_cc_flag_unused_command_line_argument=yes
   7526 else
   7527   xorg_cv_cc_flag_unused_command_line_argument=no
   7528 fi
   7529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7530 fi
   7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7532 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7533 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7534 	CFLAGS="$xorg_testset_save_CFLAGS"
   7535 fi
   7536 
   7537 found="no"
   7538 
   7539 	if test $found = "no" ; then
   7540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7542 		fi
   7543 
   7544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7546 		fi
   7547 
   7548 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7549 
   7550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7551 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7552 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7553 		if eval \${$cacheid+:} false; then :
   7554   $as_echo_n "(cached) " >&6
   7555 else
   7556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7557 /* end confdefs.h.  */
   7558 int i;
   7559 int
   7560 main ()
   7561 {
   7562 
   7563   ;
   7564   return 0;
   7565 }
   7566 _ACEOF
   7567 if ac_fn_c_try_link "$LINENO"; then :
   7568   eval $cacheid=yes
   7569 else
   7570   eval $cacheid=no
   7571 fi
   7572 rm -f core conftest.err conftest.$ac_objext \
   7573     conftest$ac_exeext conftest.$ac_ext
   7574 fi
   7575 
   7576 
   7577 		CFLAGS="$xorg_testset_save_CFLAGS"
   7578 
   7579 		eval supported=\$$cacheid
   7580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7581 $as_echo "$supported" >&6; }
   7582 		if test "$supported" = "yes" ; then
   7583 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7584 			found="yes"
   7585 		fi
   7586 	fi
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 xorg_testset_save_CFLAGS="$CFLAGS"
   7603 
   7604 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7605 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7607 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7608 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7609   $as_echo_n "(cached) " >&6
   7610 else
   7611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7612 /* end confdefs.h.  */
   7613 int i;
   7614 _ACEOF
   7615 if ac_fn_c_try_compile "$LINENO"; then :
   7616   xorg_cv_cc_flag_unknown_warning_option=yes
   7617 else
   7618   xorg_cv_cc_flag_unknown_warning_option=no
   7619 fi
   7620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7621 fi
   7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7623 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7624 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7625 	CFLAGS="$xorg_testset_save_CFLAGS"
   7626 fi
   7627 
   7628 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7629 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7630 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7631 	fi
   7632 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7633 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7634 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7635 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7636   $as_echo_n "(cached) " >&6
   7637 else
   7638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7639 /* end confdefs.h.  */
   7640 int i;
   7641 _ACEOF
   7642 if ac_fn_c_try_compile "$LINENO"; then :
   7643   xorg_cv_cc_flag_unused_command_line_argument=yes
   7644 else
   7645   xorg_cv_cc_flag_unused_command_line_argument=no
   7646 fi
   7647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7648 fi
   7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7650 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7651 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7652 	CFLAGS="$xorg_testset_save_CFLAGS"
   7653 fi
   7654 
   7655 found="no"
   7656 
   7657 	if test $found = "no" ; then
   7658 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7659 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7660 		fi
   7661 
   7662 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7663 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7664 		fi
   7665 
   7666 		CFLAGS="$CFLAGS -Werror=return-type"
   7667 
   7668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7669 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7670 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7671 		if eval \${$cacheid+:} false; then :
   7672   $as_echo_n "(cached) " >&6
   7673 else
   7674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7675 /* end confdefs.h.  */
   7676 int i;
   7677 int
   7678 main ()
   7679 {
   7680 
   7681   ;
   7682   return 0;
   7683 }
   7684 _ACEOF
   7685 if ac_fn_c_try_link "$LINENO"; then :
   7686   eval $cacheid=yes
   7687 else
   7688   eval $cacheid=no
   7689 fi
   7690 rm -f core conftest.err conftest.$ac_objext \
   7691     conftest$ac_exeext conftest.$ac_ext
   7692 fi
   7693 
   7694 
   7695 		CFLAGS="$xorg_testset_save_CFLAGS"
   7696 
   7697 		eval supported=\$$cacheid
   7698 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7699 $as_echo "$supported" >&6; }
   7700 		if test "$supported" = "yes" ; then
   7701 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7702 			found="yes"
   7703 		fi
   7704 	fi
   7705 
   7706 	if test $found = "no" ; then
   7707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7709 		fi
   7710 
   7711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7713 		fi
   7714 
   7715 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7716 
   7717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7718 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7719 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7720 		if eval \${$cacheid+:} false; then :
   7721   $as_echo_n "(cached) " >&6
   7722 else
   7723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7724 /* end confdefs.h.  */
   7725 int i;
   7726 int
   7727 main ()
   7728 {
   7729 
   7730   ;
   7731   return 0;
   7732 }
   7733 _ACEOF
   7734 if ac_fn_c_try_link "$LINENO"; then :
   7735   eval $cacheid=yes
   7736 else
   7737   eval $cacheid=no
   7738 fi
   7739 rm -f core conftest.err conftest.$ac_objext \
   7740     conftest$ac_exeext conftest.$ac_ext
   7741 fi
   7742 
   7743 
   7744 		CFLAGS="$xorg_testset_save_CFLAGS"
   7745 
   7746 		eval supported=\$$cacheid
   7747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7748 $as_echo "$supported" >&6; }
   7749 		if test "$supported" = "yes" ; then
   7750 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7751 			found="yes"
   7752 		fi
   7753 	fi
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 xorg_testset_save_CFLAGS="$CFLAGS"
   7770 
   7771 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7772 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7774 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7775 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7776   $as_echo_n "(cached) " >&6
   7777 else
   7778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7779 /* end confdefs.h.  */
   7780 int i;
   7781 _ACEOF
   7782 if ac_fn_c_try_compile "$LINENO"; then :
   7783   xorg_cv_cc_flag_unknown_warning_option=yes
   7784 else
   7785   xorg_cv_cc_flag_unknown_warning_option=no
   7786 fi
   7787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7788 fi
   7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7790 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7792 	CFLAGS="$xorg_testset_save_CFLAGS"
   7793 fi
   7794 
   7795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7798 	fi
   7799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7801 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7802 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7803   $as_echo_n "(cached) " >&6
   7804 else
   7805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7806 /* end confdefs.h.  */
   7807 int i;
   7808 _ACEOF
   7809 if ac_fn_c_try_compile "$LINENO"; then :
   7810   xorg_cv_cc_flag_unused_command_line_argument=yes
   7811 else
   7812   xorg_cv_cc_flag_unused_command_line_argument=no
   7813 fi
   7814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7815 fi
   7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7817 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7818 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7819 	CFLAGS="$xorg_testset_save_CFLAGS"
   7820 fi
   7821 
   7822 found="no"
   7823 
   7824 	if test $found = "no" ; then
   7825 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7826 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7827 		fi
   7828 
   7829 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7830 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7831 		fi
   7832 
   7833 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7834 
   7835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7836 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7837 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7838 		if eval \${$cacheid+:} false; then :
   7839   $as_echo_n "(cached) " >&6
   7840 else
   7841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7842 /* end confdefs.h.  */
   7843 int i;
   7844 int
   7845 main ()
   7846 {
   7847 
   7848   ;
   7849   return 0;
   7850 }
   7851 _ACEOF
   7852 if ac_fn_c_try_link "$LINENO"; then :
   7853   eval $cacheid=yes
   7854 else
   7855   eval $cacheid=no
   7856 fi
   7857 rm -f core conftest.err conftest.$ac_objext \
   7858     conftest$ac_exeext conftest.$ac_ext
   7859 fi
   7860 
   7861 
   7862 		CFLAGS="$xorg_testset_save_CFLAGS"
   7863 
   7864 		eval supported=\$$cacheid
   7865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7866 $as_echo "$supported" >&6; }
   7867 		if test "$supported" = "yes" ; then
   7868 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7869 			found="yes"
   7870 		fi
   7871 	fi
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 xorg_testset_save_CFLAGS="$CFLAGS"
   7888 
   7889 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7890 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7892 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7893 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7894   $as_echo_n "(cached) " >&6
   7895 else
   7896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7897 /* end confdefs.h.  */
   7898 int i;
   7899 _ACEOF
   7900 if ac_fn_c_try_compile "$LINENO"; then :
   7901   xorg_cv_cc_flag_unknown_warning_option=yes
   7902 else
   7903   xorg_cv_cc_flag_unknown_warning_option=no
   7904 fi
   7905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7906 fi
   7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7908 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7909 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7910 	CFLAGS="$xorg_testset_save_CFLAGS"
   7911 fi
   7912 
   7913 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7914 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7915 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7916 	fi
   7917 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7919 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7920 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7921   $as_echo_n "(cached) " >&6
   7922 else
   7923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7924 /* end confdefs.h.  */
   7925 int i;
   7926 _ACEOF
   7927 if ac_fn_c_try_compile "$LINENO"; then :
   7928   xorg_cv_cc_flag_unused_command_line_argument=yes
   7929 else
   7930   xorg_cv_cc_flag_unused_command_line_argument=no
   7931 fi
   7932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7933 fi
   7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7935 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7937 	CFLAGS="$xorg_testset_save_CFLAGS"
   7938 fi
   7939 
   7940 found="no"
   7941 
   7942 	if test $found = "no" ; then
   7943 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7945 		fi
   7946 
   7947 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7949 		fi
   7950 
   7951 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7952 
   7953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7954 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7955 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7956 		if eval \${$cacheid+:} false; then :
   7957   $as_echo_n "(cached) " >&6
   7958 else
   7959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7960 /* end confdefs.h.  */
   7961 int i;
   7962 int
   7963 main ()
   7964 {
   7965 
   7966   ;
   7967   return 0;
   7968 }
   7969 _ACEOF
   7970 if ac_fn_c_try_link "$LINENO"; then :
   7971   eval $cacheid=yes
   7972 else
   7973   eval $cacheid=no
   7974 fi
   7975 rm -f core conftest.err conftest.$ac_objext \
   7976     conftest$ac_exeext conftest.$ac_ext
   7977 fi
   7978 
   7979 
   7980 		CFLAGS="$xorg_testset_save_CFLAGS"
   7981 
   7982 		eval supported=\$$cacheid
   7983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7984 $as_echo "$supported" >&6; }
   7985 		if test "$supported" = "yes" ; then
   7986 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7987 			found="yes"
   7988 		fi
   7989 	fi
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 xorg_testset_save_CFLAGS="$CFLAGS"
   8006 
   8007 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8010 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8011 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8012   $as_echo_n "(cached) " >&6
   8013 else
   8014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8015 /* end confdefs.h.  */
   8016 int i;
   8017 _ACEOF
   8018 if ac_fn_c_try_compile "$LINENO"; then :
   8019   xorg_cv_cc_flag_unknown_warning_option=yes
   8020 else
   8021   xorg_cv_cc_flag_unknown_warning_option=no
   8022 fi
   8023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8024 fi
   8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8026 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8028 	CFLAGS="$xorg_testset_save_CFLAGS"
   8029 fi
   8030 
   8031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8034 	fi
   8035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8037 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8038 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8039   $as_echo_n "(cached) " >&6
   8040 else
   8041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8042 /* end confdefs.h.  */
   8043 int i;
   8044 _ACEOF
   8045 if ac_fn_c_try_compile "$LINENO"; then :
   8046   xorg_cv_cc_flag_unused_command_line_argument=yes
   8047 else
   8048   xorg_cv_cc_flag_unused_command_line_argument=no
   8049 fi
   8050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8051 fi
   8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8053 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8054 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8055 	CFLAGS="$xorg_testset_save_CFLAGS"
   8056 fi
   8057 
   8058 found="no"
   8059 
   8060 	if test $found = "no" ; then
   8061 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8063 		fi
   8064 
   8065 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8067 		fi
   8068 
   8069 		CFLAGS="$CFLAGS -Werror=write-strings"
   8070 
   8071 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8072 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8073 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8074 		if eval \${$cacheid+:} false; then :
   8075   $as_echo_n "(cached) " >&6
   8076 else
   8077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8078 /* end confdefs.h.  */
   8079 int i;
   8080 int
   8081 main ()
   8082 {
   8083 
   8084   ;
   8085   return 0;
   8086 }
   8087 _ACEOF
   8088 if ac_fn_c_try_link "$LINENO"; then :
   8089   eval $cacheid=yes
   8090 else
   8091   eval $cacheid=no
   8092 fi
   8093 rm -f core conftest.err conftest.$ac_objext \
   8094     conftest$ac_exeext conftest.$ac_ext
   8095 fi
   8096 
   8097 
   8098 		CFLAGS="$xorg_testset_save_CFLAGS"
   8099 
   8100 		eval supported=\$$cacheid
   8101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8102 $as_echo "$supported" >&6; }
   8103 		if test "$supported" = "yes" ; then
   8104 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8105 			found="yes"
   8106 		fi
   8107 	fi
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 xorg_testset_save_CFLAGS="$CFLAGS"
   8124 
   8125 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8126 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8128 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8129 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8130   $as_echo_n "(cached) " >&6
   8131 else
   8132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8133 /* end confdefs.h.  */
   8134 int i;
   8135 _ACEOF
   8136 if ac_fn_c_try_compile "$LINENO"; then :
   8137   xorg_cv_cc_flag_unknown_warning_option=yes
   8138 else
   8139   xorg_cv_cc_flag_unknown_warning_option=no
   8140 fi
   8141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8142 fi
   8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8144 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8146 	CFLAGS="$xorg_testset_save_CFLAGS"
   8147 fi
   8148 
   8149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8152 	fi
   8153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8155 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8156 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8157   $as_echo_n "(cached) " >&6
   8158 else
   8159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8160 /* end confdefs.h.  */
   8161 int i;
   8162 _ACEOF
   8163 if ac_fn_c_try_compile "$LINENO"; then :
   8164   xorg_cv_cc_flag_unused_command_line_argument=yes
   8165 else
   8166   xorg_cv_cc_flag_unused_command_line_argument=no
   8167 fi
   8168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8169 fi
   8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8171 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8172 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8173 	CFLAGS="$xorg_testset_save_CFLAGS"
   8174 fi
   8175 
   8176 found="no"
   8177 
   8178 	if test $found = "no" ; then
   8179 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8181 		fi
   8182 
   8183 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8185 		fi
   8186 
   8187 		CFLAGS="$CFLAGS -Werror=address"
   8188 
   8189 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8190 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8191 		cacheid=xorg_cv_cc_flag__Werror_address
   8192 		if eval \${$cacheid+:} false; then :
   8193   $as_echo_n "(cached) " >&6
   8194 else
   8195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8196 /* end confdefs.h.  */
   8197 int i;
   8198 int
   8199 main ()
   8200 {
   8201 
   8202   ;
   8203   return 0;
   8204 }
   8205 _ACEOF
   8206 if ac_fn_c_try_link "$LINENO"; then :
   8207   eval $cacheid=yes
   8208 else
   8209   eval $cacheid=no
   8210 fi
   8211 rm -f core conftest.err conftest.$ac_objext \
   8212     conftest$ac_exeext conftest.$ac_ext
   8213 fi
   8214 
   8215 
   8216 		CFLAGS="$xorg_testset_save_CFLAGS"
   8217 
   8218 		eval supported=\$$cacheid
   8219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8220 $as_echo "$supported" >&6; }
   8221 		if test "$supported" = "yes" ; then
   8222 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8223 			found="yes"
   8224 		fi
   8225 	fi
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 xorg_testset_save_CFLAGS="$CFLAGS"
   8242 
   8243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8244 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8246 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8247 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8248   $as_echo_n "(cached) " >&6
   8249 else
   8250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8251 /* end confdefs.h.  */
   8252 int i;
   8253 _ACEOF
   8254 if ac_fn_c_try_compile "$LINENO"; then :
   8255   xorg_cv_cc_flag_unknown_warning_option=yes
   8256 else
   8257   xorg_cv_cc_flag_unknown_warning_option=no
   8258 fi
   8259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8260 fi
   8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8262 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8263 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8264 	CFLAGS="$xorg_testset_save_CFLAGS"
   8265 fi
   8266 
   8267 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8268 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8269 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8270 	fi
   8271 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8273 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8274 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8275   $as_echo_n "(cached) " >&6
   8276 else
   8277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8278 /* end confdefs.h.  */
   8279 int i;
   8280 _ACEOF
   8281 if ac_fn_c_try_compile "$LINENO"; then :
   8282   xorg_cv_cc_flag_unused_command_line_argument=yes
   8283 else
   8284   xorg_cv_cc_flag_unused_command_line_argument=no
   8285 fi
   8286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8287 fi
   8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8289 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8290 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8291 	CFLAGS="$xorg_testset_save_CFLAGS"
   8292 fi
   8293 
   8294 found="no"
   8295 
   8296 	if test $found = "no" ; then
   8297 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8299 		fi
   8300 
   8301 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8303 		fi
   8304 
   8305 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8306 
   8307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8308 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8309 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8310 		if eval \${$cacheid+:} false; then :
   8311   $as_echo_n "(cached) " >&6
   8312 else
   8313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8314 /* end confdefs.h.  */
   8315 int i;
   8316 int
   8317 main ()
   8318 {
   8319 
   8320   ;
   8321   return 0;
   8322 }
   8323 _ACEOF
   8324 if ac_fn_c_try_link "$LINENO"; then :
   8325   eval $cacheid=yes
   8326 else
   8327   eval $cacheid=no
   8328 fi
   8329 rm -f core conftest.err conftest.$ac_objext \
   8330     conftest$ac_exeext conftest.$ac_ext
   8331 fi
   8332 
   8333 
   8334 		CFLAGS="$xorg_testset_save_CFLAGS"
   8335 
   8336 		eval supported=\$$cacheid
   8337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8338 $as_echo "$supported" >&6; }
   8339 		if test "$supported" = "yes" ; then
   8340 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8341 			found="yes"
   8342 		fi
   8343 	fi
   8344 
   8345 	if test $found = "no" ; then
   8346 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8348 		fi
   8349 
   8350 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8352 		fi
   8353 
   8354 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8355 
   8356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8357 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8358 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8359 		if eval \${$cacheid+:} false; then :
   8360   $as_echo_n "(cached) " >&6
   8361 else
   8362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8363 /* end confdefs.h.  */
   8364 int i;
   8365 int
   8366 main ()
   8367 {
   8368 
   8369   ;
   8370   return 0;
   8371 }
   8372 _ACEOF
   8373 if ac_fn_c_try_link "$LINENO"; then :
   8374   eval $cacheid=yes
   8375 else
   8376   eval $cacheid=no
   8377 fi
   8378 rm -f core conftest.err conftest.$ac_objext \
   8379     conftest$ac_exeext conftest.$ac_ext
   8380 fi
   8381 
   8382 
   8383 		CFLAGS="$xorg_testset_save_CFLAGS"
   8384 
   8385 		eval supported=\$$cacheid
   8386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8387 $as_echo "$supported" >&6; }
   8388 		if test "$supported" = "yes" ; then
   8389 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8390 			found="yes"
   8391 		fi
   8392 	fi
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 xorg_testset_save_CFLAGS="$CFLAGS"
   8409 
   8410 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8411 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8413 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8414 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8415   $as_echo_n "(cached) " >&6
   8416 else
   8417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8418 /* end confdefs.h.  */
   8419 int i;
   8420 _ACEOF
   8421 if ac_fn_c_try_compile "$LINENO"; then :
   8422   xorg_cv_cc_flag_unknown_warning_option=yes
   8423 else
   8424   xorg_cv_cc_flag_unknown_warning_option=no
   8425 fi
   8426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8427 fi
   8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8429 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8431 	CFLAGS="$xorg_testset_save_CFLAGS"
   8432 fi
   8433 
   8434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8437 	fi
   8438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8440 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8441 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8442   $as_echo_n "(cached) " >&6
   8443 else
   8444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8445 /* end confdefs.h.  */
   8446 int i;
   8447 _ACEOF
   8448 if ac_fn_c_try_compile "$LINENO"; then :
   8449   xorg_cv_cc_flag_unused_command_line_argument=yes
   8450 else
   8451   xorg_cv_cc_flag_unused_command_line_argument=no
   8452 fi
   8453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8454 fi
   8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8456 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8458 	CFLAGS="$xorg_testset_save_CFLAGS"
   8459 fi
   8460 
   8461 found="no"
   8462 
   8463 	if test $found = "no" ; then
   8464 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8466 		fi
   8467 
   8468 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8470 		fi
   8471 
   8472 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8473 
   8474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8475 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8476 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8477 		if eval \${$cacheid+:} false; then :
   8478   $as_echo_n "(cached) " >&6
   8479 else
   8480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8481 /* end confdefs.h.  */
   8482 int i;
   8483 int
   8484 main ()
   8485 {
   8486 
   8487   ;
   8488   return 0;
   8489 }
   8490 _ACEOF
   8491 if ac_fn_c_try_link "$LINENO"; then :
   8492   eval $cacheid=yes
   8493 else
   8494   eval $cacheid=no
   8495 fi
   8496 rm -f core conftest.err conftest.$ac_objext \
   8497     conftest$ac_exeext conftest.$ac_ext
   8498 fi
   8499 
   8500 
   8501 		CFLAGS="$xorg_testset_save_CFLAGS"
   8502 
   8503 		eval supported=\$$cacheid
   8504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8505 $as_echo "$supported" >&6; }
   8506 		if test "$supported" = "yes" ; then
   8507 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8508 			found="yes"
   8509 		fi
   8510 	fi
   8511 
   8512  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8513 else
   8514 { $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
   8515 $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;}
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 xorg_testset_save_CFLAGS="$CFLAGS"
   8530 
   8531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8534 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8535 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8536   $as_echo_n "(cached) " >&6
   8537 else
   8538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8539 /* end confdefs.h.  */
   8540 int i;
   8541 _ACEOF
   8542 if ac_fn_c_try_compile "$LINENO"; then :
   8543   xorg_cv_cc_flag_unknown_warning_option=yes
   8544 else
   8545   xorg_cv_cc_flag_unknown_warning_option=no
   8546 fi
   8547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8548 fi
   8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8550 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8552 	CFLAGS="$xorg_testset_save_CFLAGS"
   8553 fi
   8554 
   8555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8558 	fi
   8559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8561 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8562 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8563   $as_echo_n "(cached) " >&6
   8564 else
   8565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8566 /* end confdefs.h.  */
   8567 int i;
   8568 _ACEOF
   8569 if ac_fn_c_try_compile "$LINENO"; then :
   8570   xorg_cv_cc_flag_unused_command_line_argument=yes
   8571 else
   8572   xorg_cv_cc_flag_unused_command_line_argument=no
   8573 fi
   8574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8575 fi
   8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8577 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8579 	CFLAGS="$xorg_testset_save_CFLAGS"
   8580 fi
   8581 
   8582 found="no"
   8583 
   8584 	if test $found = "no" ; then
   8585 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8587 		fi
   8588 
   8589 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8591 		fi
   8592 
   8593 		CFLAGS="$CFLAGS -Wimplicit"
   8594 
   8595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8596 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8597 		cacheid=xorg_cv_cc_flag__Wimplicit
   8598 		if eval \${$cacheid+:} false; then :
   8599   $as_echo_n "(cached) " >&6
   8600 else
   8601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8602 /* end confdefs.h.  */
   8603 int i;
   8604 int
   8605 main ()
   8606 {
   8607 
   8608   ;
   8609   return 0;
   8610 }
   8611 _ACEOF
   8612 if ac_fn_c_try_link "$LINENO"; then :
   8613   eval $cacheid=yes
   8614 else
   8615   eval $cacheid=no
   8616 fi
   8617 rm -f core conftest.err conftest.$ac_objext \
   8618     conftest$ac_exeext conftest.$ac_ext
   8619 fi
   8620 
   8621 
   8622 		CFLAGS="$xorg_testset_save_CFLAGS"
   8623 
   8624 		eval supported=\$$cacheid
   8625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8626 $as_echo "$supported" >&6; }
   8627 		if test "$supported" = "yes" ; then
   8628 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8629 			found="yes"
   8630 		fi
   8631 	fi
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 xorg_testset_save_CFLAGS="$CFLAGS"
   8648 
   8649 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8650 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8652 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8653 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8654   $as_echo_n "(cached) " >&6
   8655 else
   8656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8657 /* end confdefs.h.  */
   8658 int i;
   8659 _ACEOF
   8660 if ac_fn_c_try_compile "$LINENO"; then :
   8661   xorg_cv_cc_flag_unknown_warning_option=yes
   8662 else
   8663   xorg_cv_cc_flag_unknown_warning_option=no
   8664 fi
   8665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8666 fi
   8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8668 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8670 	CFLAGS="$xorg_testset_save_CFLAGS"
   8671 fi
   8672 
   8673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8676 	fi
   8677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8679 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8680 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8681   $as_echo_n "(cached) " >&6
   8682 else
   8683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8684 /* end confdefs.h.  */
   8685 int i;
   8686 _ACEOF
   8687 if ac_fn_c_try_compile "$LINENO"; then :
   8688   xorg_cv_cc_flag_unused_command_line_argument=yes
   8689 else
   8690   xorg_cv_cc_flag_unused_command_line_argument=no
   8691 fi
   8692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8693 fi
   8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8695 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8697 	CFLAGS="$xorg_testset_save_CFLAGS"
   8698 fi
   8699 
   8700 found="no"
   8701 
   8702 	if test $found = "no" ; then
   8703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8705 		fi
   8706 
   8707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8709 		fi
   8710 
   8711 		CFLAGS="$CFLAGS -Wnonnull"
   8712 
   8713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8714 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8715 		cacheid=xorg_cv_cc_flag__Wnonnull
   8716 		if eval \${$cacheid+:} false; then :
   8717   $as_echo_n "(cached) " >&6
   8718 else
   8719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8720 /* end confdefs.h.  */
   8721 int i;
   8722 int
   8723 main ()
   8724 {
   8725 
   8726   ;
   8727   return 0;
   8728 }
   8729 _ACEOF
   8730 if ac_fn_c_try_link "$LINENO"; then :
   8731   eval $cacheid=yes
   8732 else
   8733   eval $cacheid=no
   8734 fi
   8735 rm -f core conftest.err conftest.$ac_objext \
   8736     conftest$ac_exeext conftest.$ac_ext
   8737 fi
   8738 
   8739 
   8740 		CFLAGS="$xorg_testset_save_CFLAGS"
   8741 
   8742 		eval supported=\$$cacheid
   8743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8744 $as_echo "$supported" >&6; }
   8745 		if test "$supported" = "yes" ; then
   8746 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8747 			found="yes"
   8748 		fi
   8749 	fi
   8750 
   8751 
   8752 
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 xorg_testset_save_CFLAGS="$CFLAGS"
   8766 
   8767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8770 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8771 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8772   $as_echo_n "(cached) " >&6
   8773 else
   8774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8775 /* end confdefs.h.  */
   8776 int i;
   8777 _ACEOF
   8778 if ac_fn_c_try_compile "$LINENO"; then :
   8779   xorg_cv_cc_flag_unknown_warning_option=yes
   8780 else
   8781   xorg_cv_cc_flag_unknown_warning_option=no
   8782 fi
   8783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8784 fi
   8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8786 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8787 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8788 	CFLAGS="$xorg_testset_save_CFLAGS"
   8789 fi
   8790 
   8791 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8792 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8793 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8794 	fi
   8795 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8797 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8798 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8799   $as_echo_n "(cached) " >&6
   8800 else
   8801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8802 /* end confdefs.h.  */
   8803 int i;
   8804 _ACEOF
   8805 if ac_fn_c_try_compile "$LINENO"; then :
   8806   xorg_cv_cc_flag_unused_command_line_argument=yes
   8807 else
   8808   xorg_cv_cc_flag_unused_command_line_argument=no
   8809 fi
   8810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8811 fi
   8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8813 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8814 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8815 	CFLAGS="$xorg_testset_save_CFLAGS"
   8816 fi
   8817 
   8818 found="no"
   8819 
   8820 	if test $found = "no" ; then
   8821 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8822 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8823 		fi
   8824 
   8825 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8826 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8827 		fi
   8828 
   8829 		CFLAGS="$CFLAGS -Winit-self"
   8830 
   8831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8832 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8833 		cacheid=xorg_cv_cc_flag__Winit_self
   8834 		if eval \${$cacheid+:} false; then :
   8835   $as_echo_n "(cached) " >&6
   8836 else
   8837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8838 /* end confdefs.h.  */
   8839 int i;
   8840 int
   8841 main ()
   8842 {
   8843 
   8844   ;
   8845   return 0;
   8846 }
   8847 _ACEOF
   8848 if ac_fn_c_try_link "$LINENO"; then :
   8849   eval $cacheid=yes
   8850 else
   8851   eval $cacheid=no
   8852 fi
   8853 rm -f core conftest.err conftest.$ac_objext \
   8854     conftest$ac_exeext conftest.$ac_ext
   8855 fi
   8856 
   8857 
   8858 		CFLAGS="$xorg_testset_save_CFLAGS"
   8859 
   8860 		eval supported=\$$cacheid
   8861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8862 $as_echo "$supported" >&6; }
   8863 		if test "$supported" = "yes" ; then
   8864 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8865 			found="yes"
   8866 		fi
   8867 	fi
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 xorg_testset_save_CFLAGS="$CFLAGS"
   8884 
   8885 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8886 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8888 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8889 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8890   $as_echo_n "(cached) " >&6
   8891 else
   8892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8893 /* end confdefs.h.  */
   8894 int i;
   8895 _ACEOF
   8896 if ac_fn_c_try_compile "$LINENO"; then :
   8897   xorg_cv_cc_flag_unknown_warning_option=yes
   8898 else
   8899   xorg_cv_cc_flag_unknown_warning_option=no
   8900 fi
   8901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8902 fi
   8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8904 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8905 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8906 	CFLAGS="$xorg_testset_save_CFLAGS"
   8907 fi
   8908 
   8909 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8910 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8911 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8912 	fi
   8913 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8915 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8916 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8917   $as_echo_n "(cached) " >&6
   8918 else
   8919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8920 /* end confdefs.h.  */
   8921 int i;
   8922 _ACEOF
   8923 if ac_fn_c_try_compile "$LINENO"; then :
   8924   xorg_cv_cc_flag_unused_command_line_argument=yes
   8925 else
   8926   xorg_cv_cc_flag_unused_command_line_argument=no
   8927 fi
   8928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8929 fi
   8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8931 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8932 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8933 	CFLAGS="$xorg_testset_save_CFLAGS"
   8934 fi
   8935 
   8936 found="no"
   8937 
   8938 	if test $found = "no" ; then
   8939 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8940 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8941 		fi
   8942 
   8943 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8944 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8945 		fi
   8946 
   8947 		CFLAGS="$CFLAGS -Wmain"
   8948 
   8949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8950 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8951 		cacheid=xorg_cv_cc_flag__Wmain
   8952 		if eval \${$cacheid+:} false; then :
   8953   $as_echo_n "(cached) " >&6
   8954 else
   8955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8956 /* end confdefs.h.  */
   8957 int i;
   8958 int
   8959 main ()
   8960 {
   8961 
   8962   ;
   8963   return 0;
   8964 }
   8965 _ACEOF
   8966 if ac_fn_c_try_link "$LINENO"; then :
   8967   eval $cacheid=yes
   8968 else
   8969   eval $cacheid=no
   8970 fi
   8971 rm -f core conftest.err conftest.$ac_objext \
   8972     conftest$ac_exeext conftest.$ac_ext
   8973 fi
   8974 
   8975 
   8976 		CFLAGS="$xorg_testset_save_CFLAGS"
   8977 
   8978 		eval supported=\$$cacheid
   8979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8980 $as_echo "$supported" >&6; }
   8981 		if test "$supported" = "yes" ; then
   8982 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8983 			found="yes"
   8984 		fi
   8985 	fi
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 xorg_testset_save_CFLAGS="$CFLAGS"
   9002 
   9003 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9004 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9005 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9006 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9007 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9008   $as_echo_n "(cached) " >&6
   9009 else
   9010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9011 /* end confdefs.h.  */
   9012 int i;
   9013 _ACEOF
   9014 if ac_fn_c_try_compile "$LINENO"; then :
   9015   xorg_cv_cc_flag_unknown_warning_option=yes
   9016 else
   9017   xorg_cv_cc_flag_unknown_warning_option=no
   9018 fi
   9019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9020 fi
   9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9022 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9023 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9024 	CFLAGS="$xorg_testset_save_CFLAGS"
   9025 fi
   9026 
   9027 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9028 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9029 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9030 	fi
   9031 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9033 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9034 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9035   $as_echo_n "(cached) " >&6
   9036 else
   9037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9038 /* end confdefs.h.  */
   9039 int i;
   9040 _ACEOF
   9041 if ac_fn_c_try_compile "$LINENO"; then :
   9042   xorg_cv_cc_flag_unused_command_line_argument=yes
   9043 else
   9044   xorg_cv_cc_flag_unused_command_line_argument=no
   9045 fi
   9046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9047 fi
   9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9049 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9051 	CFLAGS="$xorg_testset_save_CFLAGS"
   9052 fi
   9053 
   9054 found="no"
   9055 
   9056 	if test $found = "no" ; then
   9057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9059 		fi
   9060 
   9061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9063 		fi
   9064 
   9065 		CFLAGS="$CFLAGS -Wmissing-braces"
   9066 
   9067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9068 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9069 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9070 		if eval \${$cacheid+:} false; then :
   9071   $as_echo_n "(cached) " >&6
   9072 else
   9073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9074 /* end confdefs.h.  */
   9075 int i;
   9076 int
   9077 main ()
   9078 {
   9079 
   9080   ;
   9081   return 0;
   9082 }
   9083 _ACEOF
   9084 if ac_fn_c_try_link "$LINENO"; then :
   9085   eval $cacheid=yes
   9086 else
   9087   eval $cacheid=no
   9088 fi
   9089 rm -f core conftest.err conftest.$ac_objext \
   9090     conftest$ac_exeext conftest.$ac_ext
   9091 fi
   9092 
   9093 
   9094 		CFLAGS="$xorg_testset_save_CFLAGS"
   9095 
   9096 		eval supported=\$$cacheid
   9097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9098 $as_echo "$supported" >&6; }
   9099 		if test "$supported" = "yes" ; then
   9100 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9101 			found="yes"
   9102 		fi
   9103 	fi
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 xorg_testset_save_CFLAGS="$CFLAGS"
   9120 
   9121 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9122 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9124 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9125 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9126   $as_echo_n "(cached) " >&6
   9127 else
   9128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9129 /* end confdefs.h.  */
   9130 int i;
   9131 _ACEOF
   9132 if ac_fn_c_try_compile "$LINENO"; then :
   9133   xorg_cv_cc_flag_unknown_warning_option=yes
   9134 else
   9135   xorg_cv_cc_flag_unknown_warning_option=no
   9136 fi
   9137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9138 fi
   9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9140 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9142 	CFLAGS="$xorg_testset_save_CFLAGS"
   9143 fi
   9144 
   9145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9148 	fi
   9149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9151 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9152 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9153   $as_echo_n "(cached) " >&6
   9154 else
   9155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9156 /* end confdefs.h.  */
   9157 int i;
   9158 _ACEOF
   9159 if ac_fn_c_try_compile "$LINENO"; then :
   9160   xorg_cv_cc_flag_unused_command_line_argument=yes
   9161 else
   9162   xorg_cv_cc_flag_unused_command_line_argument=no
   9163 fi
   9164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9165 fi
   9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9167 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9168 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9169 	CFLAGS="$xorg_testset_save_CFLAGS"
   9170 fi
   9171 
   9172 found="no"
   9173 
   9174 	if test $found = "no" ; then
   9175 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9176 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9177 		fi
   9178 
   9179 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9180 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9181 		fi
   9182 
   9183 		CFLAGS="$CFLAGS -Wsequence-point"
   9184 
   9185 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9186 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9187 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9188 		if eval \${$cacheid+:} false; then :
   9189   $as_echo_n "(cached) " >&6
   9190 else
   9191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9192 /* end confdefs.h.  */
   9193 int i;
   9194 int
   9195 main ()
   9196 {
   9197 
   9198   ;
   9199   return 0;
   9200 }
   9201 _ACEOF
   9202 if ac_fn_c_try_link "$LINENO"; then :
   9203   eval $cacheid=yes
   9204 else
   9205   eval $cacheid=no
   9206 fi
   9207 rm -f core conftest.err conftest.$ac_objext \
   9208     conftest$ac_exeext conftest.$ac_ext
   9209 fi
   9210 
   9211 
   9212 		CFLAGS="$xorg_testset_save_CFLAGS"
   9213 
   9214 		eval supported=\$$cacheid
   9215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9216 $as_echo "$supported" >&6; }
   9217 		if test "$supported" = "yes" ; then
   9218 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9219 			found="yes"
   9220 		fi
   9221 	fi
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 xorg_testset_save_CFLAGS="$CFLAGS"
   9238 
   9239 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9240 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9241 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9242 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9243 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9244   $as_echo_n "(cached) " >&6
   9245 else
   9246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9247 /* end confdefs.h.  */
   9248 int i;
   9249 _ACEOF
   9250 if ac_fn_c_try_compile "$LINENO"; then :
   9251   xorg_cv_cc_flag_unknown_warning_option=yes
   9252 else
   9253   xorg_cv_cc_flag_unknown_warning_option=no
   9254 fi
   9255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9256 fi
   9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9258 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9259 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9260 	CFLAGS="$xorg_testset_save_CFLAGS"
   9261 fi
   9262 
   9263 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9264 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9265 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9266 	fi
   9267 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9269 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9270 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9271   $as_echo_n "(cached) " >&6
   9272 else
   9273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9274 /* end confdefs.h.  */
   9275 int i;
   9276 _ACEOF
   9277 if ac_fn_c_try_compile "$LINENO"; then :
   9278   xorg_cv_cc_flag_unused_command_line_argument=yes
   9279 else
   9280   xorg_cv_cc_flag_unused_command_line_argument=no
   9281 fi
   9282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9283 fi
   9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9285 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9286 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9287 	CFLAGS="$xorg_testset_save_CFLAGS"
   9288 fi
   9289 
   9290 found="no"
   9291 
   9292 	if test $found = "no" ; then
   9293 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9294 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9295 		fi
   9296 
   9297 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9298 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9299 		fi
   9300 
   9301 		CFLAGS="$CFLAGS -Wreturn-type"
   9302 
   9303 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9304 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9305 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9306 		if eval \${$cacheid+:} false; then :
   9307   $as_echo_n "(cached) " >&6
   9308 else
   9309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9310 /* end confdefs.h.  */
   9311 int i;
   9312 int
   9313 main ()
   9314 {
   9315 
   9316   ;
   9317   return 0;
   9318 }
   9319 _ACEOF
   9320 if ac_fn_c_try_link "$LINENO"; then :
   9321   eval $cacheid=yes
   9322 else
   9323   eval $cacheid=no
   9324 fi
   9325 rm -f core conftest.err conftest.$ac_objext \
   9326     conftest$ac_exeext conftest.$ac_ext
   9327 fi
   9328 
   9329 
   9330 		CFLAGS="$xorg_testset_save_CFLAGS"
   9331 
   9332 		eval supported=\$$cacheid
   9333 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9334 $as_echo "$supported" >&6; }
   9335 		if test "$supported" = "yes" ; then
   9336 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9337 			found="yes"
   9338 		fi
   9339 	fi
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 xorg_testset_save_CFLAGS="$CFLAGS"
   9356 
   9357 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9358 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9360 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9361 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9362   $as_echo_n "(cached) " >&6
   9363 else
   9364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9365 /* end confdefs.h.  */
   9366 int i;
   9367 _ACEOF
   9368 if ac_fn_c_try_compile "$LINENO"; then :
   9369   xorg_cv_cc_flag_unknown_warning_option=yes
   9370 else
   9371   xorg_cv_cc_flag_unknown_warning_option=no
   9372 fi
   9373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9374 fi
   9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9376 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9377 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9378 	CFLAGS="$xorg_testset_save_CFLAGS"
   9379 fi
   9380 
   9381 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9382 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9383 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9384 	fi
   9385 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9386 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9387 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9388 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9389   $as_echo_n "(cached) " >&6
   9390 else
   9391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9392 /* end confdefs.h.  */
   9393 int i;
   9394 _ACEOF
   9395 if ac_fn_c_try_compile "$LINENO"; then :
   9396   xorg_cv_cc_flag_unused_command_line_argument=yes
   9397 else
   9398   xorg_cv_cc_flag_unused_command_line_argument=no
   9399 fi
   9400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9401 fi
   9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9403 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9404 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9405 	CFLAGS="$xorg_testset_save_CFLAGS"
   9406 fi
   9407 
   9408 found="no"
   9409 
   9410 	if test $found = "no" ; then
   9411 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9412 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9413 		fi
   9414 
   9415 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9416 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9417 		fi
   9418 
   9419 		CFLAGS="$CFLAGS -Wtrigraphs"
   9420 
   9421 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9422 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9423 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9424 		if eval \${$cacheid+:} false; then :
   9425   $as_echo_n "(cached) " >&6
   9426 else
   9427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9428 /* end confdefs.h.  */
   9429 int i;
   9430 int
   9431 main ()
   9432 {
   9433 
   9434   ;
   9435   return 0;
   9436 }
   9437 _ACEOF
   9438 if ac_fn_c_try_link "$LINENO"; then :
   9439   eval $cacheid=yes
   9440 else
   9441   eval $cacheid=no
   9442 fi
   9443 rm -f core conftest.err conftest.$ac_objext \
   9444     conftest$ac_exeext conftest.$ac_ext
   9445 fi
   9446 
   9447 
   9448 		CFLAGS="$xorg_testset_save_CFLAGS"
   9449 
   9450 		eval supported=\$$cacheid
   9451 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9452 $as_echo "$supported" >&6; }
   9453 		if test "$supported" = "yes" ; then
   9454 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9455 			found="yes"
   9456 		fi
   9457 	fi
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 xorg_testset_save_CFLAGS="$CFLAGS"
   9474 
   9475 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9476 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9478 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9479 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9480   $as_echo_n "(cached) " >&6
   9481 else
   9482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9483 /* end confdefs.h.  */
   9484 int i;
   9485 _ACEOF
   9486 if ac_fn_c_try_compile "$LINENO"; then :
   9487   xorg_cv_cc_flag_unknown_warning_option=yes
   9488 else
   9489   xorg_cv_cc_flag_unknown_warning_option=no
   9490 fi
   9491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9492 fi
   9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9494 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9495 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9496 	CFLAGS="$xorg_testset_save_CFLAGS"
   9497 fi
   9498 
   9499 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9500 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9501 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9502 	fi
   9503 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9505 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9506 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9507   $as_echo_n "(cached) " >&6
   9508 else
   9509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9510 /* end confdefs.h.  */
   9511 int i;
   9512 _ACEOF
   9513 if ac_fn_c_try_compile "$LINENO"; then :
   9514   xorg_cv_cc_flag_unused_command_line_argument=yes
   9515 else
   9516   xorg_cv_cc_flag_unused_command_line_argument=no
   9517 fi
   9518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9519 fi
   9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9521 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9523 	CFLAGS="$xorg_testset_save_CFLAGS"
   9524 fi
   9525 
   9526 found="no"
   9527 
   9528 	if test $found = "no" ; then
   9529 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9531 		fi
   9532 
   9533 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9535 		fi
   9536 
   9537 		CFLAGS="$CFLAGS -Warray-bounds"
   9538 
   9539 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9540 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9541 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9542 		if eval \${$cacheid+:} false; then :
   9543   $as_echo_n "(cached) " >&6
   9544 else
   9545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9546 /* end confdefs.h.  */
   9547 int i;
   9548 int
   9549 main ()
   9550 {
   9551 
   9552   ;
   9553   return 0;
   9554 }
   9555 _ACEOF
   9556 if ac_fn_c_try_link "$LINENO"; then :
   9557   eval $cacheid=yes
   9558 else
   9559   eval $cacheid=no
   9560 fi
   9561 rm -f core conftest.err conftest.$ac_objext \
   9562     conftest$ac_exeext conftest.$ac_ext
   9563 fi
   9564 
   9565 
   9566 		CFLAGS="$xorg_testset_save_CFLAGS"
   9567 
   9568 		eval supported=\$$cacheid
   9569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9570 $as_echo "$supported" >&6; }
   9571 		if test "$supported" = "yes" ; then
   9572 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9573 			found="yes"
   9574 		fi
   9575 	fi
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 xorg_testset_save_CFLAGS="$CFLAGS"
   9592 
   9593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9595 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9596 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9597 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9598   $as_echo_n "(cached) " >&6
   9599 else
   9600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9601 /* end confdefs.h.  */
   9602 int i;
   9603 _ACEOF
   9604 if ac_fn_c_try_compile "$LINENO"; then :
   9605   xorg_cv_cc_flag_unknown_warning_option=yes
   9606 else
   9607   xorg_cv_cc_flag_unknown_warning_option=no
   9608 fi
   9609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9610 fi
   9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9612 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9613 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9614 	CFLAGS="$xorg_testset_save_CFLAGS"
   9615 fi
   9616 
   9617 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9618 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9619 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9620 	fi
   9621 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9623 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9624 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9625   $as_echo_n "(cached) " >&6
   9626 else
   9627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9628 /* end confdefs.h.  */
   9629 int i;
   9630 _ACEOF
   9631 if ac_fn_c_try_compile "$LINENO"; then :
   9632   xorg_cv_cc_flag_unused_command_line_argument=yes
   9633 else
   9634   xorg_cv_cc_flag_unused_command_line_argument=no
   9635 fi
   9636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9637 fi
   9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9639 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9640 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9641 	CFLAGS="$xorg_testset_save_CFLAGS"
   9642 fi
   9643 
   9644 found="no"
   9645 
   9646 	if test $found = "no" ; then
   9647 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9648 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9649 		fi
   9650 
   9651 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9652 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9653 		fi
   9654 
   9655 		CFLAGS="$CFLAGS -Wwrite-strings"
   9656 
   9657 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9658 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9659 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9660 		if eval \${$cacheid+:} false; then :
   9661   $as_echo_n "(cached) " >&6
   9662 else
   9663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9664 /* end confdefs.h.  */
   9665 int i;
   9666 int
   9667 main ()
   9668 {
   9669 
   9670   ;
   9671   return 0;
   9672 }
   9673 _ACEOF
   9674 if ac_fn_c_try_link "$LINENO"; then :
   9675   eval $cacheid=yes
   9676 else
   9677   eval $cacheid=no
   9678 fi
   9679 rm -f core conftest.err conftest.$ac_objext \
   9680     conftest$ac_exeext conftest.$ac_ext
   9681 fi
   9682 
   9683 
   9684 		CFLAGS="$xorg_testset_save_CFLAGS"
   9685 
   9686 		eval supported=\$$cacheid
   9687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9688 $as_echo "$supported" >&6; }
   9689 		if test "$supported" = "yes" ; then
   9690 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9691 			found="yes"
   9692 		fi
   9693 	fi
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 xorg_testset_save_CFLAGS="$CFLAGS"
   9710 
   9711 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9712 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9714 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9715 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9716   $as_echo_n "(cached) " >&6
   9717 else
   9718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9719 /* end confdefs.h.  */
   9720 int i;
   9721 _ACEOF
   9722 if ac_fn_c_try_compile "$LINENO"; then :
   9723   xorg_cv_cc_flag_unknown_warning_option=yes
   9724 else
   9725   xorg_cv_cc_flag_unknown_warning_option=no
   9726 fi
   9727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9728 fi
   9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9730 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9732 	CFLAGS="$xorg_testset_save_CFLAGS"
   9733 fi
   9734 
   9735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9738 	fi
   9739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9741 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9742 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9743   $as_echo_n "(cached) " >&6
   9744 else
   9745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9746 /* end confdefs.h.  */
   9747 int i;
   9748 _ACEOF
   9749 if ac_fn_c_try_compile "$LINENO"; then :
   9750   xorg_cv_cc_flag_unused_command_line_argument=yes
   9751 else
   9752   xorg_cv_cc_flag_unused_command_line_argument=no
   9753 fi
   9754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9755 fi
   9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9757 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9759 	CFLAGS="$xorg_testset_save_CFLAGS"
   9760 fi
   9761 
   9762 found="no"
   9763 
   9764 	if test $found = "no" ; then
   9765 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9767 		fi
   9768 
   9769 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9771 		fi
   9772 
   9773 		CFLAGS="$CFLAGS -Waddress"
   9774 
   9775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9776 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9777 		cacheid=xorg_cv_cc_flag__Waddress
   9778 		if eval \${$cacheid+:} false; then :
   9779   $as_echo_n "(cached) " >&6
   9780 else
   9781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9782 /* end confdefs.h.  */
   9783 int i;
   9784 int
   9785 main ()
   9786 {
   9787 
   9788   ;
   9789   return 0;
   9790 }
   9791 _ACEOF
   9792 if ac_fn_c_try_link "$LINENO"; then :
   9793   eval $cacheid=yes
   9794 else
   9795   eval $cacheid=no
   9796 fi
   9797 rm -f core conftest.err conftest.$ac_objext \
   9798     conftest$ac_exeext conftest.$ac_ext
   9799 fi
   9800 
   9801 
   9802 		CFLAGS="$xorg_testset_save_CFLAGS"
   9803 
   9804 		eval supported=\$$cacheid
   9805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9806 $as_echo "$supported" >&6; }
   9807 		if test "$supported" = "yes" ; then
   9808 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9809 			found="yes"
   9810 		fi
   9811 	fi
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 xorg_testset_save_CFLAGS="$CFLAGS"
   9828 
   9829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9832 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9833 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9834   $as_echo_n "(cached) " >&6
   9835 else
   9836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9837 /* end confdefs.h.  */
   9838 int i;
   9839 _ACEOF
   9840 if ac_fn_c_try_compile "$LINENO"; then :
   9841   xorg_cv_cc_flag_unknown_warning_option=yes
   9842 else
   9843   xorg_cv_cc_flag_unknown_warning_option=no
   9844 fi
   9845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9846 fi
   9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9848 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9849 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9850 	CFLAGS="$xorg_testset_save_CFLAGS"
   9851 fi
   9852 
   9853 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9854 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9856 	fi
   9857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9859 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9860 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9861   $as_echo_n "(cached) " >&6
   9862 else
   9863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9864 /* end confdefs.h.  */
   9865 int i;
   9866 _ACEOF
   9867 if ac_fn_c_try_compile "$LINENO"; then :
   9868   xorg_cv_cc_flag_unused_command_line_argument=yes
   9869 else
   9870   xorg_cv_cc_flag_unused_command_line_argument=no
   9871 fi
   9872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9873 fi
   9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9875 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9877 	CFLAGS="$xorg_testset_save_CFLAGS"
   9878 fi
   9879 
   9880 found="no"
   9881 
   9882 	if test $found = "no" ; then
   9883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9885 		fi
   9886 
   9887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9889 		fi
   9890 
   9891 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9892 
   9893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9894 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9895 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9896 		if eval \${$cacheid+:} false; then :
   9897   $as_echo_n "(cached) " >&6
   9898 else
   9899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9900 /* end confdefs.h.  */
   9901 int i;
   9902 int
   9903 main ()
   9904 {
   9905 
   9906   ;
   9907   return 0;
   9908 }
   9909 _ACEOF
   9910 if ac_fn_c_try_link "$LINENO"; then :
   9911   eval $cacheid=yes
   9912 else
   9913   eval $cacheid=no
   9914 fi
   9915 rm -f core conftest.err conftest.$ac_objext \
   9916     conftest$ac_exeext conftest.$ac_ext
   9917 fi
   9918 
   9919 
   9920 		CFLAGS="$xorg_testset_save_CFLAGS"
   9921 
   9922 		eval supported=\$$cacheid
   9923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9924 $as_echo "$supported" >&6; }
   9925 		if test "$supported" = "yes" ; then
   9926 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9927 			found="yes"
   9928 		fi
   9929 	fi
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 xorg_testset_save_CFLAGS="$CFLAGS"
   9946 
   9947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9950 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9951 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9952   $as_echo_n "(cached) " >&6
   9953 else
   9954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9955 /* end confdefs.h.  */
   9956 int i;
   9957 _ACEOF
   9958 if ac_fn_c_try_compile "$LINENO"; then :
   9959   xorg_cv_cc_flag_unknown_warning_option=yes
   9960 else
   9961   xorg_cv_cc_flag_unknown_warning_option=no
   9962 fi
   9963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9964 fi
   9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9966 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9968 	CFLAGS="$xorg_testset_save_CFLAGS"
   9969 fi
   9970 
   9971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9974 	fi
   9975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9977 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9978 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9979   $as_echo_n "(cached) " >&6
   9980 else
   9981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9982 /* end confdefs.h.  */
   9983 int i;
   9984 _ACEOF
   9985 if ac_fn_c_try_compile "$LINENO"; then :
   9986   xorg_cv_cc_flag_unused_command_line_argument=yes
   9987 else
   9988   xorg_cv_cc_flag_unused_command_line_argument=no
   9989 fi
   9990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9991 fi
   9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9993 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9995 	CFLAGS="$xorg_testset_save_CFLAGS"
   9996 fi
   9997 
   9998 found="no"
   9999 
   10000 	if test $found = "no" ; then
   10001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10003 		fi
   10004 
   10005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10007 		fi
   10008 
   10009 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10010 
   10011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10012 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10013 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10014 		if eval \${$cacheid+:} false; then :
   10015   $as_echo_n "(cached) " >&6
   10016 else
   10017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10018 /* end confdefs.h.  */
   10019 int i;
   10020 int
   10021 main ()
   10022 {
   10023 
   10024   ;
   10025   return 0;
   10026 }
   10027 _ACEOF
   10028 if ac_fn_c_try_link "$LINENO"; then :
   10029   eval $cacheid=yes
   10030 else
   10031   eval $cacheid=no
   10032 fi
   10033 rm -f core conftest.err conftest.$ac_objext \
   10034     conftest$ac_exeext conftest.$ac_ext
   10035 fi
   10036 
   10037 
   10038 		CFLAGS="$xorg_testset_save_CFLAGS"
   10039 
   10040 		eval supported=\$$cacheid
   10041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10042 $as_echo "$supported" >&6; }
   10043 		if test "$supported" = "yes" ; then
   10044 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10045 			found="yes"
   10046 		fi
   10047 	fi
   10048 
   10049 
   10050 fi
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 		CWARNFLAGS="$BASE_CFLAGS"
   10059 		if  test "x$GCC" = xyes ; then
   10060 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10061 		fi
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 # Check whether --enable-strict-compilation was given.
   10071 if test "${enable_strict_compilation+set}" = set; then :
   10072   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10073 else
   10074   STRICT_COMPILE=no
   10075 fi
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 STRICT_CFLAGS=""
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 xorg_testset_save_CFLAGS="$CFLAGS"
   10097 
   10098 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10099 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10101 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10102 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10103   $as_echo_n "(cached) " >&6
   10104 else
   10105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10106 /* end confdefs.h.  */
   10107 int i;
   10108 _ACEOF
   10109 if ac_fn_c_try_compile "$LINENO"; then :
   10110   xorg_cv_cc_flag_unknown_warning_option=yes
   10111 else
   10112   xorg_cv_cc_flag_unknown_warning_option=no
   10113 fi
   10114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10115 fi
   10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10117 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10118 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10119 	CFLAGS="$xorg_testset_save_CFLAGS"
   10120 fi
   10121 
   10122 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10123 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10124 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10125 	fi
   10126 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10128 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10129 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10130   $as_echo_n "(cached) " >&6
   10131 else
   10132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10133 /* end confdefs.h.  */
   10134 int i;
   10135 _ACEOF
   10136 if ac_fn_c_try_compile "$LINENO"; then :
   10137   xorg_cv_cc_flag_unused_command_line_argument=yes
   10138 else
   10139   xorg_cv_cc_flag_unused_command_line_argument=no
   10140 fi
   10141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10142 fi
   10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10144 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10145 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10146 	CFLAGS="$xorg_testset_save_CFLAGS"
   10147 fi
   10148 
   10149 found="no"
   10150 
   10151 	if test $found = "no" ; then
   10152 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10154 		fi
   10155 
   10156 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10158 		fi
   10159 
   10160 		CFLAGS="$CFLAGS -pedantic"
   10161 
   10162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10163 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10164 		cacheid=xorg_cv_cc_flag__pedantic
   10165 		if eval \${$cacheid+:} false; then :
   10166   $as_echo_n "(cached) " >&6
   10167 else
   10168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10169 /* end confdefs.h.  */
   10170 int i;
   10171 int
   10172 main ()
   10173 {
   10174 
   10175   ;
   10176   return 0;
   10177 }
   10178 _ACEOF
   10179 if ac_fn_c_try_link "$LINENO"; then :
   10180   eval $cacheid=yes
   10181 else
   10182   eval $cacheid=no
   10183 fi
   10184 rm -f core conftest.err conftest.$ac_objext \
   10185     conftest$ac_exeext conftest.$ac_ext
   10186 fi
   10187 
   10188 
   10189 		CFLAGS="$xorg_testset_save_CFLAGS"
   10190 
   10191 		eval supported=\$$cacheid
   10192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10193 $as_echo "$supported" >&6; }
   10194 		if test "$supported" = "yes" ; then
   10195 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10196 			found="yes"
   10197 		fi
   10198 	fi
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 xorg_testset_save_CFLAGS="$CFLAGS"
   10215 
   10216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10219 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10220 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10221   $as_echo_n "(cached) " >&6
   10222 else
   10223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10224 /* end confdefs.h.  */
   10225 int i;
   10226 _ACEOF
   10227 if ac_fn_c_try_compile "$LINENO"; then :
   10228   xorg_cv_cc_flag_unknown_warning_option=yes
   10229 else
   10230   xorg_cv_cc_flag_unknown_warning_option=no
   10231 fi
   10232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10233 fi
   10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10235 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10236 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10237 	CFLAGS="$xorg_testset_save_CFLAGS"
   10238 fi
   10239 
   10240 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10241 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10242 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10243 	fi
   10244 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10246 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10247 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10248   $as_echo_n "(cached) " >&6
   10249 else
   10250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10251 /* end confdefs.h.  */
   10252 int i;
   10253 _ACEOF
   10254 if ac_fn_c_try_compile "$LINENO"; then :
   10255   xorg_cv_cc_flag_unused_command_line_argument=yes
   10256 else
   10257   xorg_cv_cc_flag_unused_command_line_argument=no
   10258 fi
   10259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10260 fi
   10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10262 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10263 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10264 	CFLAGS="$xorg_testset_save_CFLAGS"
   10265 fi
   10266 
   10267 found="no"
   10268 
   10269 	if test $found = "no" ; then
   10270 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10272 		fi
   10273 
   10274 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10276 		fi
   10277 
   10278 		CFLAGS="$CFLAGS -Werror"
   10279 
   10280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10281 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10282 		cacheid=xorg_cv_cc_flag__Werror
   10283 		if eval \${$cacheid+:} false; then :
   10284   $as_echo_n "(cached) " >&6
   10285 else
   10286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10287 /* end confdefs.h.  */
   10288 int i;
   10289 int
   10290 main ()
   10291 {
   10292 
   10293   ;
   10294   return 0;
   10295 }
   10296 _ACEOF
   10297 if ac_fn_c_try_link "$LINENO"; then :
   10298   eval $cacheid=yes
   10299 else
   10300   eval $cacheid=no
   10301 fi
   10302 rm -f core conftest.err conftest.$ac_objext \
   10303     conftest$ac_exeext conftest.$ac_ext
   10304 fi
   10305 
   10306 
   10307 		CFLAGS="$xorg_testset_save_CFLAGS"
   10308 
   10309 		eval supported=\$$cacheid
   10310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10311 $as_echo "$supported" >&6; }
   10312 		if test "$supported" = "yes" ; then
   10313 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10314 			found="yes"
   10315 		fi
   10316 	fi
   10317 
   10318 	if test $found = "no" ; then
   10319 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10320 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10321 		fi
   10322 
   10323 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10324 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10325 		fi
   10326 
   10327 		CFLAGS="$CFLAGS -errwarn"
   10328 
   10329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10330 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10331 		cacheid=xorg_cv_cc_flag__errwarn
   10332 		if eval \${$cacheid+:} false; then :
   10333   $as_echo_n "(cached) " >&6
   10334 else
   10335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10336 /* end confdefs.h.  */
   10337 int i;
   10338 int
   10339 main ()
   10340 {
   10341 
   10342   ;
   10343   return 0;
   10344 }
   10345 _ACEOF
   10346 if ac_fn_c_try_link "$LINENO"; then :
   10347   eval $cacheid=yes
   10348 else
   10349   eval $cacheid=no
   10350 fi
   10351 rm -f core conftest.err conftest.$ac_objext \
   10352     conftest$ac_exeext conftest.$ac_ext
   10353 fi
   10354 
   10355 
   10356 		CFLAGS="$xorg_testset_save_CFLAGS"
   10357 
   10358 		eval supported=\$$cacheid
   10359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10360 $as_echo "$supported" >&6; }
   10361 		if test "$supported" = "yes" ; then
   10362 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10363 			found="yes"
   10364 		fi
   10365 	fi
   10366 
   10367 
   10368 
   10369 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10370 # activate it with -Werror, so we add it here explicitly.
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 xorg_testset_save_CFLAGS="$CFLAGS"
   10385 
   10386 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10387 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10388 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10389 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10390 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10391   $as_echo_n "(cached) " >&6
   10392 else
   10393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10394 /* end confdefs.h.  */
   10395 int i;
   10396 _ACEOF
   10397 if ac_fn_c_try_compile "$LINENO"; then :
   10398   xorg_cv_cc_flag_unknown_warning_option=yes
   10399 else
   10400   xorg_cv_cc_flag_unknown_warning_option=no
   10401 fi
   10402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10403 fi
   10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10405 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10406 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10407 	CFLAGS="$xorg_testset_save_CFLAGS"
   10408 fi
   10409 
   10410 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10411 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10413 	fi
   10414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10416 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10417 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10418   $as_echo_n "(cached) " >&6
   10419 else
   10420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10421 /* end confdefs.h.  */
   10422 int i;
   10423 _ACEOF
   10424 if ac_fn_c_try_compile "$LINENO"; then :
   10425   xorg_cv_cc_flag_unused_command_line_argument=yes
   10426 else
   10427   xorg_cv_cc_flag_unused_command_line_argument=no
   10428 fi
   10429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10430 fi
   10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10432 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10433 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10434 	CFLAGS="$xorg_testset_save_CFLAGS"
   10435 fi
   10436 
   10437 found="no"
   10438 
   10439 	if test $found = "no" ; then
   10440 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10442 		fi
   10443 
   10444 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10446 		fi
   10447 
   10448 		CFLAGS="$CFLAGS -Werror=attributes"
   10449 
   10450 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10451 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10452 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10453 		if eval \${$cacheid+:} false; then :
   10454   $as_echo_n "(cached) " >&6
   10455 else
   10456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10457 /* end confdefs.h.  */
   10458 int i;
   10459 int
   10460 main ()
   10461 {
   10462 
   10463   ;
   10464   return 0;
   10465 }
   10466 _ACEOF
   10467 if ac_fn_c_try_link "$LINENO"; then :
   10468   eval $cacheid=yes
   10469 else
   10470   eval $cacheid=no
   10471 fi
   10472 rm -f core conftest.err conftest.$ac_objext \
   10473     conftest$ac_exeext conftest.$ac_ext
   10474 fi
   10475 
   10476 
   10477 		CFLAGS="$xorg_testset_save_CFLAGS"
   10478 
   10479 		eval supported=\$$cacheid
   10480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10481 $as_echo "$supported" >&6; }
   10482 		if test "$supported" = "yes" ; then
   10483 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10484 			found="yes"
   10485 		fi
   10486 	fi
   10487 
   10488 
   10489 
   10490 if test "x$STRICT_COMPILE" = "xyes"; then
   10491     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10492     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10493 fi
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 cat >>confdefs.h <<_ACEOF
   10501 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10502 _ACEOF
   10503 
   10504 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10505 	if test "x$PVM" = "x"; then
   10506 		PVM="0"
   10507 	fi
   10508 
   10509 cat >>confdefs.h <<_ACEOF
   10510 #define PACKAGE_VERSION_MINOR $PVM
   10511 _ACEOF
   10512 
   10513 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10514 	if test "x$PVP" = "x"; then
   10515 		PVP="0"
   10516 	fi
   10517 
   10518 cat >>confdefs.h <<_ACEOF
   10519 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10520 _ACEOF
   10521 
   10522 
   10523 
   10524 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10525 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10526 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10527 touch \$(top_srcdir)/ChangeLog; \
   10528 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10529 
   10530 
   10531 
   10532 
   10533 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10534 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10535 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10536 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10537 touch \$(top_srcdir)/INSTALL; \
   10538 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 case $host_os in
   10546     solaris*)
   10547         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10548         # check for a man page file found in later versions that use
   10549         # traditional section numbers instead
   10550         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10551 $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10552 if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
   10553   $as_echo_n "(cached) " >&6
   10554 else
   10555   test "$cross_compiling" = yes &&
   10556   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10557 if test -r "/usr/share/man/man7/attributes.7"; then
   10558   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10559 else
   10560   ac_cv_file__usr_share_man_man7_attributes_7=no
   10561 fi
   10562 fi
   10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10564 $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10565 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
   10566   SYSV_MAN_SECTIONS=false
   10567 else
   10568   SYSV_MAN_SECTIONS=true
   10569 fi
   10570 
   10571         ;;
   10572     *) SYSV_MAN_SECTIONS=false ;;
   10573 esac
   10574 
   10575 if test x$APP_MAN_SUFFIX = x    ; then
   10576     APP_MAN_SUFFIX=1
   10577 fi
   10578 if test x$APP_MAN_DIR = x    ; then
   10579     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10580 fi
   10581 
   10582 if test x$LIB_MAN_SUFFIX = x    ; then
   10583     LIB_MAN_SUFFIX=3
   10584 fi
   10585 if test x$LIB_MAN_DIR = x    ; then
   10586     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10587 fi
   10588 
   10589 if test x$FILE_MAN_SUFFIX = x    ; then
   10590     case $SYSV_MAN_SECTIONS in
   10591 	true)				FILE_MAN_SUFFIX=4  ;;
   10592 	*)				FILE_MAN_SUFFIX=5  ;;
   10593     esac
   10594 fi
   10595 if test x$FILE_MAN_DIR = x    ; then
   10596     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10597 fi
   10598 
   10599 if test x$MISC_MAN_SUFFIX = x    ; then
   10600     case $SYSV_MAN_SECTIONS in
   10601 	true)				MISC_MAN_SUFFIX=5  ;;
   10602 	*)				MISC_MAN_SUFFIX=7  ;;
   10603     esac
   10604 fi
   10605 if test x$MISC_MAN_DIR = x    ; then
   10606     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10607 fi
   10608 
   10609 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10610     case $SYSV_MAN_SECTIONS in
   10611 	true)				DRIVER_MAN_SUFFIX=7  ;;
   10612 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10613     esac
   10614 fi
   10615 if test x$DRIVER_MAN_DIR = x    ; then
   10616     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10617 fi
   10618 
   10619 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10620     case $SYSV_MAN_SECTIONS in
   10621 	true)				ADMIN_MAN_SUFFIX=1m ;;
   10622 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10623     esac
   10624 fi
   10625 if test x$ADMIN_MAN_DIR = x    ; then
   10626     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10627 fi
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 XORG_MAN_PAGE="X Version 11"
   10644 
   10645 MAN_SUBSTS="\
   10646 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10647 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10648 	-e 's|__xservername__|Xorg|g' \
   10649 	-e 's|__xconfigfile__|xorg.conf|g' \
   10650 	-e 's|__projectroot__|\$(prefix)|g' \
   10651 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10652 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10653 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10654 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10655 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10656 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10657 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10658 
   10659 
   10660 
   10661 # Check whether --enable-silent-rules was given.
   10662 if test "${enable_silent_rules+set}" = set; then :
   10663   enableval=$enable_silent_rules;
   10664 fi
   10665 
   10666 case $enable_silent_rules in # (((
   10667   yes) AM_DEFAULT_VERBOSITY=0;;
   10668    no) AM_DEFAULT_VERBOSITY=1;;
   10669     *) AM_DEFAULT_VERBOSITY=0;;
   10670 esac
   10671 am_make=${MAKE-make}
   10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10673 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10674 if ${am_cv_make_support_nested_variables+:} false; then :
   10675   $as_echo_n "(cached) " >&6
   10676 else
   10677   if $as_echo 'TRUE=$(BAR$(V))
   10678 BAR0=false
   10679 BAR1=true
   10680 V=1
   10681 am__doit:
   10682 	@$(TRUE)
   10683 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10684   am_cv_make_support_nested_variables=yes
   10685 else
   10686   am_cv_make_support_nested_variables=no
   10687 fi
   10688 fi
   10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10690 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10691 if test $am_cv_make_support_nested_variables = yes; then
   10692     AM_V='$(V)'
   10693   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10694 else
   10695   AM_V=$AM_DEFAULT_VERBOSITY
   10696   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10697 fi
   10698 AM_BACKSLASH='\'
   10699 
   10700 
   10701 
   10702 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
   10703 if test "x$ac_cv_func_setenv" = xyes; then :
   10704   have_setenv=yes
   10705 else
   10706   have_setenv=no
   10707 fi
   10708 
   10709 for ac_func in vasprintf
   10710 do :
   10711   ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
   10712 if test "x$ac_cv_func_vasprintf" = xyes; then :
   10713   cat >>confdefs.h <<_ACEOF
   10714 #define HAVE_VASPRINTF 1
   10715 _ACEOF
   10716 
   10717 fi
   10718 done
   10719 
   10720 ac_fn_c_check_decl "$LINENO" "va_copy" "ac_cv_have_decl_va_copy" "
   10721 	$ac_includes_default
   10722 	#include <stdarg.h>
   10723 
   10724 "
   10725 if test "x$ac_cv_have_decl_va_copy" = xyes; then :
   10726   ac_have_decl=1
   10727 else
   10728   ac_have_decl=0
   10729 fi
   10730 
   10731 cat >>confdefs.h <<_ACEOF
   10732 #define HAVE_DECL_VA_COPY $ac_have_decl
   10733 _ACEOF
   10734 
   10735 
   10736  if test x$have_setenv = xno; then
   10737   NEED_SETENV_TRUE=
   10738   NEED_SETENV_FALSE='#'
   10739 else
   10740   NEED_SETENV_TRUE='#'
   10741   NEED_SETENV_FALSE=
   10742 fi
   10743 
   10744 
   10745 # Checks for pkg-config packages
   10746 
   10747 pkg_failed=no
   10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTTOSFNT" >&5
   10749 $as_echo_n "checking for FONTTOSFNT... " >&6; }
   10750 
   10751 if test -n "$FONTTOSFNT_CFLAGS"; then
   10752     pkg_cv_FONTTOSFNT_CFLAGS="$FONTTOSFNT_CFLAGS"
   10753  elif test -n "$PKG_CONFIG"; then
   10754     if test -n "$PKG_CONFIG" && \
   10755     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto freetype2 fontenc\""; } >&5
   10756   ($PKG_CONFIG --exists --print-errors "xproto freetype2 fontenc") 2>&5
   10757   ac_status=$?
   10758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10759   test $ac_status = 0; }; then
   10760   pkg_cv_FONTTOSFNT_CFLAGS=`$PKG_CONFIG --cflags "xproto freetype2 fontenc" 2>/dev/null`
   10761 		      test "x$?" != "x0" && pkg_failed=yes
   10762 else
   10763   pkg_failed=yes
   10764 fi
   10765  else
   10766     pkg_failed=untried
   10767 fi
   10768 if test -n "$FONTTOSFNT_LIBS"; then
   10769     pkg_cv_FONTTOSFNT_LIBS="$FONTTOSFNT_LIBS"
   10770  elif test -n "$PKG_CONFIG"; then
   10771     if test -n "$PKG_CONFIG" && \
   10772     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto freetype2 fontenc\""; } >&5
   10773   ($PKG_CONFIG --exists --print-errors "xproto freetype2 fontenc") 2>&5
   10774   ac_status=$?
   10775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10776   test $ac_status = 0; }; then
   10777   pkg_cv_FONTTOSFNT_LIBS=`$PKG_CONFIG --libs "xproto freetype2 fontenc" 2>/dev/null`
   10778 		      test "x$?" != "x0" && pkg_failed=yes
   10779 else
   10780   pkg_failed=yes
   10781 fi
   10782  else
   10783     pkg_failed=untried
   10784 fi
   10785 
   10786 
   10787 
   10788 if test $pkg_failed = yes; then
   10789    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10790 $as_echo "no" >&6; }
   10791 
   10792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10793         _pkg_short_errors_supported=yes
   10794 else
   10795         _pkg_short_errors_supported=no
   10796 fi
   10797         if test $_pkg_short_errors_supported = yes; then
   10798 	        FONTTOSFNT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto freetype2 fontenc" 2>&1`
   10799         else
   10800 	        FONTTOSFNT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto freetype2 fontenc" 2>&1`
   10801         fi
   10802 	# Put the nasty error message in config.log where it belongs
   10803 	echo "$FONTTOSFNT_PKG_ERRORS" >&5
   10804 
   10805 	as_fn_error $? "Package requirements (xproto freetype2 fontenc) were not met:
   10806 
   10807 $FONTTOSFNT_PKG_ERRORS
   10808 
   10809 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10810 installed software in a non-standard prefix.
   10811 
   10812 Alternatively, you may set the environment variables FONTTOSFNT_CFLAGS
   10813 and FONTTOSFNT_LIBS to avoid the need to call pkg-config.
   10814 See the pkg-config man page for more details." "$LINENO" 5
   10815 elif test $pkg_failed = untried; then
   10816      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10817 $as_echo "no" >&6; }
   10818 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10820 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10821 is in your PATH or set the PKG_CONFIG environment variable to the full
   10822 path to pkg-config.
   10823 
   10824 Alternatively, you may set the environment variables FONTTOSFNT_CFLAGS
   10825 and FONTTOSFNT_LIBS to avoid the need to call pkg-config.
   10826 See the pkg-config man page for more details.
   10827 
   10828 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10829 See \`config.log' for more details" "$LINENO" 5; }
   10830 else
   10831 	FONTTOSFNT_CFLAGS=$pkg_cv_FONTTOSFNT_CFLAGS
   10832 	FONTTOSFNT_LIBS=$pkg_cv_FONTTOSFNT_LIBS
   10833         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10834 $as_echo "yes" >&6; }
   10835 
   10836 fi
   10837 
   10838 
   10839 ac_config_files="$ac_config_files Makefile man/Makefile"
   10840 
   10841 cat >confcache <<\_ACEOF
   10842 # This file is a shell script that caches the results of configure
   10843 # tests run on this system so they can be shared between configure
   10844 # scripts and configure runs, see configure's option --config-cache.
   10845 # It is not useful on other systems.  If it contains results you don't
   10846 # want to keep, you may remove or edit it.
   10847 #
   10848 # config.status only pays attention to the cache file if you give it
   10849 # the --recheck option to rerun configure.
   10850 #
   10851 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10852 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10853 # following values.
   10854 
   10855 _ACEOF
   10856 
   10857 # The following way of writing the cache mishandles newlines in values,
   10858 # but we know of no workaround that is simple, portable, and efficient.
   10859 # So, we kill variables containing newlines.
   10860 # Ultrix sh set writes to stderr and can't be redirected directly,
   10861 # and sets the high bit in the cache file unless we assign to the vars.
   10862 (
   10863   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10864     eval ac_val=\$$ac_var
   10865     case $ac_val in #(
   10866     *${as_nl}*)
   10867       case $ac_var in #(
   10868       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10869 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10870       esac
   10871       case $ac_var in #(
   10872       _ | IFS | as_nl) ;; #(
   10873       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10874       *) { eval $ac_var=; unset $ac_var;} ;;
   10875       esac ;;
   10876     esac
   10877   done
   10878 
   10879   (set) 2>&1 |
   10880     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10881     *${as_nl}ac_space=\ *)
   10882       # `set' does not quote correctly, so add quotes: double-quote
   10883       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10884       sed -n \
   10885 	"s/'/'\\\\''/g;
   10886 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10887       ;; #(
   10888     *)
   10889       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10890       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10891       ;;
   10892     esac |
   10893     sort
   10894 ) |
   10895   sed '
   10896      /^ac_cv_env_/b end
   10897      t clear
   10898      :clear
   10899      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10900      t end
   10901      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10902      :end' >>confcache
   10903 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10904   if test -w "$cache_file"; then
   10905     if test "x$cache_file" != "x/dev/null"; then
   10906       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10907 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10908       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10909 	cat confcache >"$cache_file"
   10910       else
   10911         case $cache_file in #(
   10912         */* | ?:*)
   10913 	  mv -f confcache "$cache_file"$$ &&
   10914 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10915         *)
   10916 	  mv -f confcache "$cache_file" ;;
   10917 	esac
   10918       fi
   10919     fi
   10920   else
   10921     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10922 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10923   fi
   10924 fi
   10925 rm -f confcache
   10926 
   10927 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10928 # Let make expand exec_prefix.
   10929 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10930 
   10931 DEFS=-DHAVE_CONFIG_H
   10932 
   10933 ac_libobjs=
   10934 ac_ltlibobjs=
   10935 U=
   10936 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10937   # 1. Remove the extension, and $U if already installed.
   10938   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10939   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10940   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10941   #    will be set to the directory where LIBOBJS objects are built.
   10942   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10943   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10944 done
   10945 LIBOBJS=$ac_libobjs
   10946 
   10947 LTLIBOBJS=$ac_ltlibobjs
   10948 
   10949 
   10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10951 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10952    if test -n "$am_sleep_pid"; then
   10953      # Hide warnings about reused PIDs.
   10954      wait $am_sleep_pid 2>/dev/null
   10955    fi
   10956    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10957 $as_echo "done" >&6; }
   10958  if test -n "$EXEEXT"; then
   10959   am__EXEEXT_TRUE=
   10960   am__EXEEXT_FALSE='#'
   10961 else
   10962   am__EXEEXT_TRUE='#'
   10963   am__EXEEXT_FALSE=
   10964 fi
   10965 
   10966 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10967   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10969 fi
   10970 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10971   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10973 fi
   10974 if test -z "${NEED_SETENV_TRUE}" && test -z "${NEED_SETENV_FALSE}"; then
   10975   as_fn_error $? "conditional \"NEED_SETENV\" was never defined.
   10976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10977 fi
   10978 
   10979 : "${CONFIG_STATUS=./config.status}"
   10980 ac_write_fail=0
   10981 ac_clean_files_save=$ac_clean_files
   10982 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10984 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10985 as_write_fail=0
   10986 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10987 #! $SHELL
   10988 # Generated by $as_me.
   10989 # Run this file to recreate the current configuration.
   10990 # Compiler output produced by configure, useful for debugging
   10991 # configure, is in config.log if it exists.
   10992 
   10993 debug=false
   10994 ac_cs_recheck=false
   10995 ac_cs_silent=false
   10996 
   10997 SHELL=\${CONFIG_SHELL-$SHELL}
   10998 export SHELL
   10999 _ASEOF
   11000 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11001 ## -------------------- ##
   11002 ## M4sh Initialization. ##
   11003 ## -------------------- ##
   11004 
   11005 # Be more Bourne compatible
   11006 DUALCASE=1; export DUALCASE # for MKS sh
   11007 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11008   emulate sh
   11009   NULLCMD=:
   11010   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11011   # is contrary to our usage.  Disable this feature.
   11012   alias -g '${1+"$@"}'='"$@"'
   11013   setopt NO_GLOB_SUBST
   11014 else
   11015   case `(set -o) 2>/dev/null` in #(
   11016   *posix*) :
   11017     set -o posix ;; #(
   11018   *) :
   11019      ;;
   11020 esac
   11021 fi
   11022 
   11023 
   11024 as_nl='
   11025 '
   11026 export as_nl
   11027 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11028 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11029 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11030 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11031 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11032 # but without wasting forks for bash or zsh.
   11033 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11034     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11035   as_echo='print -r --'
   11036   as_echo_n='print -rn --'
   11037 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11038   as_echo='printf %s\n'
   11039   as_echo_n='printf %s'
   11040 else
   11041   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11042     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11043     as_echo_n='/usr/ucb/echo -n'
   11044   else
   11045     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11046     as_echo_n_body='eval
   11047       arg=$1;
   11048       case $arg in #(
   11049       *"$as_nl"*)
   11050 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11051 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11052       esac;
   11053       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11054     '
   11055     export as_echo_n_body
   11056     as_echo_n='sh -c $as_echo_n_body as_echo'
   11057   fi
   11058   export as_echo_body
   11059   as_echo='sh -c $as_echo_body as_echo'
   11060 fi
   11061 
   11062 # The user is always right.
   11063 if test "${PATH_SEPARATOR+set}" != set; then
   11064   PATH_SEPARATOR=:
   11065   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11066     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11067       PATH_SEPARATOR=';'
   11068   }
   11069 fi
   11070 
   11071 
   11072 # IFS
   11073 # We need space, tab and new line, in precisely that order.  Quoting is
   11074 # there to prevent editors from complaining about space-tab.
   11075 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11076 # splitting by setting IFS to empty value.)
   11077 IFS=" ""	$as_nl"
   11078 
   11079 # Find who we are.  Look in the path if we contain no directory separator.
   11080 as_myself=
   11081 case $0 in #((
   11082   *[\\/]* ) as_myself=$0 ;;
   11083   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11084 for as_dir in $PATH
   11085 do
   11086   IFS=$as_save_IFS
   11087   test -z "$as_dir" && as_dir=.
   11088     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11089   done
   11090 IFS=$as_save_IFS
   11091 
   11092      ;;
   11093 esac
   11094 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11095 # in which case we are not to be found in the path.
   11096 if test "x$as_myself" = x; then
   11097   as_myself=$0
   11098 fi
   11099 if test ! -f "$as_myself"; then
   11100   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11101   exit 1
   11102 fi
   11103 
   11104 # Unset variables that we do not need and which cause bugs (e.g. in
   11105 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11106 # suppresses any "Segmentation fault" message there.  '((' could
   11107 # trigger a bug in pdksh 5.2.14.
   11108 for as_var in BASH_ENV ENV MAIL MAILPATH
   11109 do eval test x\${$as_var+set} = xset \
   11110   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11111 done
   11112 PS1='$ '
   11113 PS2='> '
   11114 PS4='+ '
   11115 
   11116 # NLS nuisances.
   11117 LC_ALL=C
   11118 export LC_ALL
   11119 LANGUAGE=C
   11120 export LANGUAGE
   11121 
   11122 # CDPATH.
   11123 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11124 
   11125 
   11126 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11127 # ----------------------------------------
   11128 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11129 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11130 # script with STATUS, using 1 if that was 0.
   11131 as_fn_error ()
   11132 {
   11133   as_status=$1; test $as_status -eq 0 && as_status=1
   11134   if test "$4"; then
   11135     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11136     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11137   fi
   11138   $as_echo "$as_me: error: $2" >&2
   11139   as_fn_exit $as_status
   11140 } # as_fn_error
   11141 
   11142 
   11143 # as_fn_set_status STATUS
   11144 # -----------------------
   11145 # Set $? to STATUS, without forking.
   11146 as_fn_set_status ()
   11147 {
   11148   return $1
   11149 } # as_fn_set_status
   11150 
   11151 # as_fn_exit STATUS
   11152 # -----------------
   11153 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11154 as_fn_exit ()
   11155 {
   11156   set +e
   11157   as_fn_set_status $1
   11158   exit $1
   11159 } # as_fn_exit
   11160 
   11161 # as_fn_unset VAR
   11162 # ---------------
   11163 # Portably unset VAR.
   11164 as_fn_unset ()
   11165 {
   11166   { eval $1=; unset $1;}
   11167 }
   11168 as_unset=as_fn_unset
   11169 # as_fn_append VAR VALUE
   11170 # ----------------------
   11171 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11172 # advantage of any shell optimizations that allow amortized linear growth over
   11173 # repeated appends, instead of the typical quadratic growth present in naive
   11174 # implementations.
   11175 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11176   eval 'as_fn_append ()
   11177   {
   11178     eval $1+=\$2
   11179   }'
   11180 else
   11181   as_fn_append ()
   11182   {
   11183     eval $1=\$$1\$2
   11184   }
   11185 fi # as_fn_append
   11186 
   11187 # as_fn_arith ARG...
   11188 # ------------------
   11189 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11190 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11191 # must be portable across $(()) and expr.
   11192 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11193   eval 'as_fn_arith ()
   11194   {
   11195     as_val=$(( $* ))
   11196   }'
   11197 else
   11198   as_fn_arith ()
   11199   {
   11200     as_val=`expr "$@" || test $? -eq 1`
   11201   }
   11202 fi # as_fn_arith
   11203 
   11204 
   11205 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11206    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11207   as_expr=expr
   11208 else
   11209   as_expr=false
   11210 fi
   11211 
   11212 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11213   as_basename=basename
   11214 else
   11215   as_basename=false
   11216 fi
   11217 
   11218 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11219   as_dirname=dirname
   11220 else
   11221   as_dirname=false
   11222 fi
   11223 
   11224 as_me=`$as_basename -- "$0" ||
   11225 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11226 	 X"$0" : 'X\(//\)$' \| \
   11227 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11228 $as_echo X/"$0" |
   11229     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11230 	    s//\1/
   11231 	    q
   11232 	  }
   11233 	  /^X\/\(\/\/\)$/{
   11234 	    s//\1/
   11235 	    q
   11236 	  }
   11237 	  /^X\/\(\/\).*/{
   11238 	    s//\1/
   11239 	    q
   11240 	  }
   11241 	  s/.*/./; q'`
   11242 
   11243 # Avoid depending upon Character Ranges.
   11244 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11245 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11246 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11247 as_cr_digits='0123456789'
   11248 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11249 
   11250 ECHO_C= ECHO_N= ECHO_T=
   11251 case `echo -n x` in #(((((
   11252 -n*)
   11253   case `echo 'xy\c'` in
   11254   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11255   xy)  ECHO_C='\c';;
   11256   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11257        ECHO_T='	';;
   11258   esac;;
   11259 *)
   11260   ECHO_N='-n';;
   11261 esac
   11262 
   11263 rm -f conf$$ conf$$.exe conf$$.file
   11264 if test -d conf$$.dir; then
   11265   rm -f conf$$.dir/conf$$.file
   11266 else
   11267   rm -f conf$$.dir
   11268   mkdir conf$$.dir 2>/dev/null
   11269 fi
   11270 if (echo >conf$$.file) 2>/dev/null; then
   11271   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11272     as_ln_s='ln -s'
   11273     # ... but there are two gotchas:
   11274     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11275     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11276     # In both cases, we have to default to `cp -pR'.
   11277     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11278       as_ln_s='cp -pR'
   11279   elif ln conf$$.file conf$$ 2>/dev/null; then
   11280     as_ln_s=ln
   11281   else
   11282     as_ln_s='cp -pR'
   11283   fi
   11284 else
   11285   as_ln_s='cp -pR'
   11286 fi
   11287 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11288 rmdir conf$$.dir 2>/dev/null
   11289 
   11290 
   11291 # as_fn_mkdir_p
   11292 # -------------
   11293 # Create "$as_dir" as a directory, including parents if necessary.
   11294 as_fn_mkdir_p ()
   11295 {
   11296 
   11297   case $as_dir in #(
   11298   -*) as_dir=./$as_dir;;
   11299   esac
   11300   test -d "$as_dir" || eval $as_mkdir_p || {
   11301     as_dirs=
   11302     while :; do
   11303       case $as_dir in #(
   11304       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11305       *) as_qdir=$as_dir;;
   11306       esac
   11307       as_dirs="'$as_qdir' $as_dirs"
   11308       as_dir=`$as_dirname -- "$as_dir" ||
   11309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11310 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11311 	 X"$as_dir" : 'X\(//\)$' \| \
   11312 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11313 $as_echo X"$as_dir" |
   11314     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11315 	    s//\1/
   11316 	    q
   11317 	  }
   11318 	  /^X\(\/\/\)[^/].*/{
   11319 	    s//\1/
   11320 	    q
   11321 	  }
   11322 	  /^X\(\/\/\)$/{
   11323 	    s//\1/
   11324 	    q
   11325 	  }
   11326 	  /^X\(\/\).*/{
   11327 	    s//\1/
   11328 	    q
   11329 	  }
   11330 	  s/.*/./; q'`
   11331       test -d "$as_dir" && break
   11332     done
   11333     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11334   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11335 
   11336 
   11337 } # as_fn_mkdir_p
   11338 if mkdir -p . 2>/dev/null; then
   11339   as_mkdir_p='mkdir -p "$as_dir"'
   11340 else
   11341   test -d ./-p && rmdir ./-p
   11342   as_mkdir_p=false
   11343 fi
   11344 
   11345 
   11346 # as_fn_executable_p FILE
   11347 # -----------------------
   11348 # Test if FILE is an executable regular file.
   11349 as_fn_executable_p ()
   11350 {
   11351   test -f "$1" && test -x "$1"
   11352 } # as_fn_executable_p
   11353 as_test_x='test -x'
   11354 as_executable_p=as_fn_executable_p
   11355 
   11356 # Sed expression to map a string onto a valid CPP name.
   11357 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11358 
   11359 # Sed expression to map a string onto a valid variable name.
   11360 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11361 
   11362 
   11363 exec 6>&1
   11364 ## ----------------------------------- ##
   11365 ## Main body of $CONFIG_STATUS script. ##
   11366 ## ----------------------------------- ##
   11367 _ASEOF
   11368 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11369 
   11370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11371 # Save the log message, to keep $0 and so on meaningful, and to
   11372 # report actual input values of CONFIG_FILES etc. instead of their
   11373 # values after options handling.
   11374 ac_log="
   11375 This file was extended by fonttosfnt $as_me 1.2.0, which was
   11376 generated by GNU Autoconf 2.69.  Invocation command line was
   11377 
   11378   CONFIG_FILES    = $CONFIG_FILES
   11379   CONFIG_HEADERS  = $CONFIG_HEADERS
   11380   CONFIG_LINKS    = $CONFIG_LINKS
   11381   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11382   $ $0 $@
   11383 
   11384 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11385 "
   11386 
   11387 _ACEOF
   11388 
   11389 case $ac_config_files in *"
   11390 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11391 esac
   11392 
   11393 case $ac_config_headers in *"
   11394 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11395 esac
   11396 
   11397 
   11398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11399 # Files that config.status was made for.
   11400 config_files="$ac_config_files"
   11401 config_headers="$ac_config_headers"
   11402 config_commands="$ac_config_commands"
   11403 
   11404 _ACEOF
   11405 
   11406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11407 ac_cs_usage="\
   11408 \`$as_me' instantiates files and other configuration actions
   11409 from templates according to the current configuration.  Unless the files
   11410 and actions are specified as TAGs, all are instantiated by default.
   11411 
   11412 Usage: $0 [OPTION]... [TAG]...
   11413 
   11414   -h, --help       print this help, then exit
   11415   -V, --version    print version number and configuration settings, then exit
   11416       --config     print configuration, then exit
   11417   -q, --quiet, --silent
   11418                    do not print progress messages
   11419   -d, --debug      don't remove temporary files
   11420       --recheck    update $as_me by reconfiguring in the same conditions
   11421       --file=FILE[:TEMPLATE]
   11422                    instantiate the configuration file FILE
   11423       --header=FILE[:TEMPLATE]
   11424                    instantiate the configuration header FILE
   11425 
   11426 Configuration files:
   11427 $config_files
   11428 
   11429 Configuration headers:
   11430 $config_headers
   11431 
   11432 Configuration commands:
   11433 $config_commands
   11434 
   11435 Report bugs to <https://gitlab.freedesktop.org/xorg/app/fonttosfnt/issues>."
   11436 
   11437 _ACEOF
   11438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11439 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11440 ac_cs_version="\\
   11441 fonttosfnt config.status 1.2.0
   11442 configured by $0, generated by GNU Autoconf 2.69,
   11443   with options \\"\$ac_cs_config\\"
   11444 
   11445 Copyright (C) 2012 Free Software Foundation, Inc.
   11446 This config.status script is free software; the Free Software Foundation
   11447 gives unlimited permission to copy, distribute and modify it."
   11448 
   11449 ac_pwd='$ac_pwd'
   11450 srcdir='$srcdir'
   11451 INSTALL='$INSTALL'
   11452 MKDIR_P='$MKDIR_P'
   11453 AWK='$AWK'
   11454 test -n "\$AWK" || AWK=awk
   11455 _ACEOF
   11456 
   11457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11458 # The default lists apply if the user does not specify any file.
   11459 ac_need_defaults=:
   11460 while test $# != 0
   11461 do
   11462   case $1 in
   11463   --*=?*)
   11464     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11465     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11466     ac_shift=:
   11467     ;;
   11468   --*=)
   11469     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11470     ac_optarg=
   11471     ac_shift=:
   11472     ;;
   11473   *)
   11474     ac_option=$1
   11475     ac_optarg=$2
   11476     ac_shift=shift
   11477     ;;
   11478   esac
   11479 
   11480   case $ac_option in
   11481   # Handling of the options.
   11482   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11483     ac_cs_recheck=: ;;
   11484   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11485     $as_echo "$ac_cs_version"; exit ;;
   11486   --config | --confi | --conf | --con | --co | --c )
   11487     $as_echo "$ac_cs_config"; exit ;;
   11488   --debug | --debu | --deb | --de | --d | -d )
   11489     debug=: ;;
   11490   --file | --fil | --fi | --f )
   11491     $ac_shift
   11492     case $ac_optarg in
   11493     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11494     '') as_fn_error $? "missing file argument" ;;
   11495     esac
   11496     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11497     ac_need_defaults=false;;
   11498   --header | --heade | --head | --hea )
   11499     $ac_shift
   11500     case $ac_optarg in
   11501     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11502     esac
   11503     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11504     ac_need_defaults=false;;
   11505   --he | --h)
   11506     # Conflict between --help and --header
   11507     as_fn_error $? "ambiguous option: \`$1'
   11508 Try \`$0 --help' for more information.";;
   11509   --help | --hel | -h )
   11510     $as_echo "$ac_cs_usage"; exit ;;
   11511   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11512   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11513     ac_cs_silent=: ;;
   11514 
   11515   # This is an error.
   11516   -*) as_fn_error $? "unrecognized option: \`$1'
   11517 Try \`$0 --help' for more information." ;;
   11518 
   11519   *) as_fn_append ac_config_targets " $1"
   11520      ac_need_defaults=false ;;
   11521 
   11522   esac
   11523   shift
   11524 done
   11525 
   11526 ac_configure_extra_args=
   11527 
   11528 if $ac_cs_silent; then
   11529   exec 6>/dev/null
   11530   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11531 fi
   11532 
   11533 _ACEOF
   11534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11535 if \$ac_cs_recheck; then
   11536   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11537   shift
   11538   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11539   CONFIG_SHELL='$SHELL'
   11540   export CONFIG_SHELL
   11541   exec "\$@"
   11542 fi
   11543 
   11544 _ACEOF
   11545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11546 exec 5>>config.log
   11547 {
   11548   echo
   11549   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11550 ## Running $as_me. ##
   11551 _ASBOX
   11552   $as_echo "$ac_log"
   11553 } >&5
   11554 
   11555 _ACEOF
   11556 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11557 #
   11558 # INIT-COMMANDS
   11559 #
   11560 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   11561 
   11562 _ACEOF
   11563 
   11564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11565 
   11566 # Handling of arguments.
   11567 for ac_config_target in $ac_config_targets
   11568 do
   11569   case $ac_config_target in
   11570     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11571     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11572     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11573     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11574 
   11575   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11576   esac
   11577 done
   11578 
   11579 
   11580 # If the user did not use the arguments to specify the items to instantiate,
   11581 # then the envvar interface is used.  Set only those that are not.
   11582 # We use the long form for the default assignment because of an extremely
   11583 # bizarre bug on SunOS 4.1.3.
   11584 if $ac_need_defaults; then
   11585   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11586   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11587   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11588 fi
   11589 
   11590 # Have a temporary directory for convenience.  Make it in the build tree
   11591 # simply because there is no reason against having it here, and in addition,
   11592 # creating and moving files from /tmp can sometimes cause problems.
   11593 # Hook for its removal unless debugging.
   11594 # Note that there is a small window in which the directory will not be cleaned:
   11595 # after its creation but before its name has been assigned to `$tmp'.
   11596 $debug ||
   11597 {
   11598   tmp= ac_tmp=
   11599   trap 'exit_status=$?
   11600   : "${ac_tmp:=$tmp}"
   11601   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11602 ' 0
   11603   trap 'as_fn_exit 1' 1 2 13 15
   11604 }
   11605 # Create a (secure) tmp directory for tmp files.
   11606 
   11607 {
   11608   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11609   test -d "$tmp"
   11610 }  ||
   11611 {
   11612   tmp=./conf$$-$RANDOM
   11613   (umask 077 && mkdir "$tmp")
   11614 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11615 ac_tmp=$tmp
   11616 
   11617 # Set up the scripts for CONFIG_FILES section.
   11618 # No need to generate them if there are no CONFIG_FILES.
   11619 # This happens for instance with `./config.status config.h'.
   11620 if test -n "$CONFIG_FILES"; then
   11621 
   11622 
   11623 ac_cr=`echo X | tr X '\015'`
   11624 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11625 # But we know of no other shell where ac_cr would be empty at this
   11626 # point, so we can use a bashism as a fallback.
   11627 if test "x$ac_cr" = x; then
   11628   eval ac_cr=\$\'\\r\'
   11629 fi
   11630 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11631 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11632   ac_cs_awk_cr='\\r'
   11633 else
   11634   ac_cs_awk_cr=$ac_cr
   11635 fi
   11636 
   11637 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11638 _ACEOF
   11639 
   11640 
   11641 {
   11642   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11643   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11644   echo "_ACEOF"
   11645 } >conf$$subs.sh ||
   11646   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11647 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11648 ac_delim='%!_!# '
   11649 for ac_last_try in false false false false false :; do
   11650   . ./conf$$subs.sh ||
   11651     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11652 
   11653   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11654   if test $ac_delim_n = $ac_delim_num; then
   11655     break
   11656   elif $ac_last_try; then
   11657     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11658   else
   11659     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11660   fi
   11661 done
   11662 rm -f conf$$subs.sh
   11663 
   11664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11665 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11666 _ACEOF
   11667 sed -n '
   11668 h
   11669 s/^/S["/; s/!.*/"]=/
   11670 p
   11671 g
   11672 s/^[^!]*!//
   11673 :repl
   11674 t repl
   11675 s/'"$ac_delim"'$//
   11676 t delim
   11677 :nl
   11678 h
   11679 s/\(.\{148\}\)..*/\1/
   11680 t more1
   11681 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11682 p
   11683 n
   11684 b repl
   11685 :more1
   11686 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11687 p
   11688 g
   11689 s/.\{148\}//
   11690 t nl
   11691 :delim
   11692 h
   11693 s/\(.\{148\}\)..*/\1/
   11694 t more2
   11695 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11696 p
   11697 b
   11698 :more2
   11699 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11700 p
   11701 g
   11702 s/.\{148\}//
   11703 t delim
   11704 ' <conf$$subs.awk | sed '
   11705 /^[^""]/{
   11706   N
   11707   s/\n//
   11708 }
   11709 ' >>$CONFIG_STATUS || ac_write_fail=1
   11710 rm -f conf$$subs.awk
   11711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11712 _ACAWK
   11713 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11714   for (key in S) S_is_set[key] = 1
   11715   FS = ""
   11716 
   11717 }
   11718 {
   11719   line = $ 0
   11720   nfields = split(line, field, "@")
   11721   substed = 0
   11722   len = length(field[1])
   11723   for (i = 2; i < nfields; i++) {
   11724     key = field[i]
   11725     keylen = length(key)
   11726     if (S_is_set[key]) {
   11727       value = S[key]
   11728       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11729       len += length(value) + length(field[++i])
   11730       substed = 1
   11731     } else
   11732       len += 1 + keylen
   11733   }
   11734 
   11735   print line
   11736 }
   11737 
   11738 _ACAWK
   11739 _ACEOF
   11740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11741 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11742   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11743 else
   11744   cat
   11745 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11746   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11747 _ACEOF
   11748 
   11749 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11750 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11751 # trailing colons and then remove the whole line if VPATH becomes empty
   11752 # (actually we leave an empty line to preserve line numbers).
   11753 if test "x$srcdir" = x.; then
   11754   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11755 h
   11756 s///
   11757 s/^/:/
   11758 s/[	 ]*$/:/
   11759 s/:\$(srcdir):/:/g
   11760 s/:\${srcdir}:/:/g
   11761 s/:@srcdir@:/:/g
   11762 s/^:*//
   11763 s/:*$//
   11764 x
   11765 s/\(=[	 ]*\).*/\1/
   11766 G
   11767 s/\n//
   11768 s/^[^=]*=[	 ]*$//
   11769 }'
   11770 fi
   11771 
   11772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11773 fi # test -n "$CONFIG_FILES"
   11774 
   11775 # Set up the scripts for CONFIG_HEADERS section.
   11776 # No need to generate them if there are no CONFIG_HEADERS.
   11777 # This happens for instance with `./config.status Makefile'.
   11778 if test -n "$CONFIG_HEADERS"; then
   11779 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11780 BEGIN {
   11781 _ACEOF
   11782 
   11783 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11784 # here-document in config.status, that substitutes the proper values into
   11785 # config.h.in to produce config.h.
   11786 
   11787 # Create a delimiter string that does not exist in confdefs.h, to ease
   11788 # handling of long lines.
   11789 ac_delim='%!_!# '
   11790 for ac_last_try in false false :; do
   11791   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11792   if test -z "$ac_tt"; then
   11793     break
   11794   elif $ac_last_try; then
   11795     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11796   else
   11797     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11798   fi
   11799 done
   11800 
   11801 # For the awk script, D is an array of macro values keyed by name,
   11802 # likewise P contains macro parameters if any.  Preserve backslash
   11803 # newline sequences.
   11804 
   11805 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11806 sed -n '
   11807 s/.\{148\}/&'"$ac_delim"'/g
   11808 t rset
   11809 :rset
   11810 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11811 t def
   11812 d
   11813 :def
   11814 s/\\$//
   11815 t bsnl
   11816 s/["\\]/\\&/g
   11817 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11818 D["\1"]=" \3"/p
   11819 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11820 d
   11821 :bsnl
   11822 s/["\\]/\\&/g
   11823 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11824 D["\1"]=" \3\\\\\\n"\\/p
   11825 t cont
   11826 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11827 t cont
   11828 d
   11829 :cont
   11830 n
   11831 s/.\{148\}/&'"$ac_delim"'/g
   11832 t clear
   11833 :clear
   11834 s/\\$//
   11835 t bsnlc
   11836 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11837 d
   11838 :bsnlc
   11839 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11840 b cont
   11841 ' <confdefs.h | sed '
   11842 s/'"$ac_delim"'/"\\\
   11843 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11844 
   11845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11846   for (key in D) D_is_set[key] = 1
   11847   FS = ""
   11848 }
   11849 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11850   line = \$ 0
   11851   split(line, arg, " ")
   11852   if (arg[1] == "#") {
   11853     defundef = arg[2]
   11854     mac1 = arg[3]
   11855   } else {
   11856     defundef = substr(arg[1], 2)
   11857     mac1 = arg[2]
   11858   }
   11859   split(mac1, mac2, "(") #)
   11860   macro = mac2[1]
   11861   prefix = substr(line, 1, index(line, defundef) - 1)
   11862   if (D_is_set[macro]) {
   11863     # Preserve the white space surrounding the "#".
   11864     print prefix "define", macro P[macro] D[macro]
   11865     next
   11866   } else {
   11867     # Replace #undef with comments.  This is necessary, for example,
   11868     # in the case of _POSIX_SOURCE, which is predefined and required
   11869     # on some systems where configure will not decide to define it.
   11870     if (defundef == "undef") {
   11871       print "/*", prefix defundef, macro, "*/"
   11872       next
   11873     }
   11874   }
   11875 }
   11876 { print }
   11877 _ACAWK
   11878 _ACEOF
   11879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11880   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11881 fi # test -n "$CONFIG_HEADERS"
   11882 
   11883 
   11884 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11885 shift
   11886 for ac_tag
   11887 do
   11888   case $ac_tag in
   11889   :[FHLC]) ac_mode=$ac_tag; continue;;
   11890   esac
   11891   case $ac_mode$ac_tag in
   11892   :[FHL]*:*);;
   11893   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11894   :[FH]-) ac_tag=-:-;;
   11895   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11896   esac
   11897   ac_save_IFS=$IFS
   11898   IFS=:
   11899   set x $ac_tag
   11900   IFS=$ac_save_IFS
   11901   shift
   11902   ac_file=$1
   11903   shift
   11904 
   11905   case $ac_mode in
   11906   :L) ac_source=$1;;
   11907   :[FH])
   11908     ac_file_inputs=
   11909     for ac_f
   11910     do
   11911       case $ac_f in
   11912       -) ac_f="$ac_tmp/stdin";;
   11913       *) # Look for the file first in the build tree, then in the source tree
   11914 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11915 	 # because $ac_f cannot contain `:'.
   11916 	 test -f "$ac_f" ||
   11917 	   case $ac_f in
   11918 	   [\\/$]*) false;;
   11919 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11920 	   esac ||
   11921 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11922       esac
   11923       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11924       as_fn_append ac_file_inputs " '$ac_f'"
   11925     done
   11926 
   11927     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11928     # use $as_me), people would be surprised to read:
   11929     #    /* config.h.  Generated by config.status.  */
   11930     configure_input='Generated from '`
   11931 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11932 	`' by configure.'
   11933     if test x"$ac_file" != x-; then
   11934       configure_input="$ac_file.  $configure_input"
   11935       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11936 $as_echo "$as_me: creating $ac_file" >&6;}
   11937     fi
   11938     # Neutralize special characters interpreted by sed in replacement strings.
   11939     case $configure_input in #(
   11940     *\&* | *\|* | *\\* )
   11941        ac_sed_conf_input=`$as_echo "$configure_input" |
   11942        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11943     *) ac_sed_conf_input=$configure_input;;
   11944     esac
   11945 
   11946     case $ac_tag in
   11947     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11948       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11949     esac
   11950     ;;
   11951   esac
   11952 
   11953   ac_dir=`$as_dirname -- "$ac_file" ||
   11954 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11955 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11956 	 X"$ac_file" : 'X\(//\)$' \| \
   11957 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11958 $as_echo X"$ac_file" |
   11959     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11960 	    s//\1/
   11961 	    q
   11962 	  }
   11963 	  /^X\(\/\/\)[^/].*/{
   11964 	    s//\1/
   11965 	    q
   11966 	  }
   11967 	  /^X\(\/\/\)$/{
   11968 	    s//\1/
   11969 	    q
   11970 	  }
   11971 	  /^X\(\/\).*/{
   11972 	    s//\1/
   11973 	    q
   11974 	  }
   11975 	  s/.*/./; q'`
   11976   as_dir="$ac_dir"; as_fn_mkdir_p
   11977   ac_builddir=.
   11978 
   11979 case "$ac_dir" in
   11980 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11981 *)
   11982   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11983   # A ".." for each directory in $ac_dir_suffix.
   11984   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11985   case $ac_top_builddir_sub in
   11986   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11987   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11988   esac ;;
   11989 esac
   11990 ac_abs_top_builddir=$ac_pwd
   11991 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11992 # for backward compatibility:
   11993 ac_top_builddir=$ac_top_build_prefix
   11994 
   11995 case $srcdir in
   11996   .)  # We are building in place.
   11997     ac_srcdir=.
   11998     ac_top_srcdir=$ac_top_builddir_sub
   11999     ac_abs_top_srcdir=$ac_pwd ;;
   12000   [\\/]* | ?:[\\/]* )  # Absolute name.
   12001     ac_srcdir=$srcdir$ac_dir_suffix;
   12002     ac_top_srcdir=$srcdir
   12003     ac_abs_top_srcdir=$srcdir ;;
   12004   *) # Relative name.
   12005     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12006     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12007     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12008 esac
   12009 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12010 
   12011 
   12012   case $ac_mode in
   12013   :F)
   12014   #
   12015   # CONFIG_FILE
   12016   #
   12017 
   12018   case $INSTALL in
   12019   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12020   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12021   esac
   12022   ac_MKDIR_P=$MKDIR_P
   12023   case $MKDIR_P in
   12024   [\\/$]* | ?:[\\/]* ) ;;
   12025   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12026   esac
   12027 _ACEOF
   12028 
   12029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12030 # If the template does not know about datarootdir, expand it.
   12031 # FIXME: This hack should be removed a few years after 2.60.
   12032 ac_datarootdir_hack=; ac_datarootdir_seen=
   12033 ac_sed_dataroot='
   12034 /datarootdir/ {
   12035   p
   12036   q
   12037 }
   12038 /@datadir@/p
   12039 /@docdir@/p
   12040 /@infodir@/p
   12041 /@localedir@/p
   12042 /@mandir@/p'
   12043 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12044 *datarootdir*) ac_datarootdir_seen=yes;;
   12045 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12046   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12047 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12048 _ACEOF
   12049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12050   ac_datarootdir_hack='
   12051   s&@datadir@&$datadir&g
   12052   s&@docdir@&$docdir&g
   12053   s&@infodir@&$infodir&g
   12054   s&@localedir@&$localedir&g
   12055   s&@mandir@&$mandir&g
   12056   s&\\\${datarootdir}&$datarootdir&g' ;;
   12057 esac
   12058 _ACEOF
   12059 
   12060 # Neutralize VPATH when `$srcdir' = `.'.
   12061 # Shell code in configure.ac might set extrasub.
   12062 # FIXME: do we really want to maintain this feature?
   12063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12064 ac_sed_extra="$ac_vpsub
   12065 $extrasub
   12066 _ACEOF
   12067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12068 :t
   12069 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12070 s|@configure_input@|$ac_sed_conf_input|;t t
   12071 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12072 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12073 s&@srcdir@&$ac_srcdir&;t t
   12074 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12075 s&@top_srcdir@&$ac_top_srcdir&;t t
   12076 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12077 s&@builddir@&$ac_builddir&;t t
   12078 s&@abs_builddir@&$ac_abs_builddir&;t t
   12079 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12080 s&@INSTALL@&$ac_INSTALL&;t t
   12081 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12082 $ac_datarootdir_hack
   12083 "
   12084 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12085   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12086 
   12087 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12088   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12089   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12090       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12091   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12092 which seems to be undefined.  Please make sure it is defined" >&5
   12093 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12094 which seems to be undefined.  Please make sure it is defined" >&2;}
   12095 
   12096   rm -f "$ac_tmp/stdin"
   12097   case $ac_file in
   12098   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12099   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12100   esac \
   12101   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12102  ;;
   12103   :H)
   12104   #
   12105   # CONFIG_HEADER
   12106   #
   12107   if test x"$ac_file" != x-; then
   12108     {
   12109       $as_echo "/* $configure_input  */" \
   12110       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12111     } >"$ac_tmp/config.h" \
   12112       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12113     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12114       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12115 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12116     else
   12117       rm -f "$ac_file"
   12118       mv "$ac_tmp/config.h" "$ac_file" \
   12119 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12120     fi
   12121   else
   12122     $as_echo "/* $configure_input  */" \
   12123       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12124       || as_fn_error $? "could not create -" "$LINENO" 5
   12125   fi
   12126 # Compute "$ac_file"'s index in $config_headers.
   12127 _am_arg="$ac_file"
   12128 _am_stamp_count=1
   12129 for _am_header in $config_headers :; do
   12130   case $_am_header in
   12131     $_am_arg | $_am_arg:* )
   12132       break ;;
   12133     * )
   12134       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12135   esac
   12136 done
   12137 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12138 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12139 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12140 	 X"$_am_arg" : 'X\(//\)$' \| \
   12141 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12142 $as_echo X"$_am_arg" |
   12143     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12144 	    s//\1/
   12145 	    q
   12146 	  }
   12147 	  /^X\(\/\/\)[^/].*/{
   12148 	    s//\1/
   12149 	    q
   12150 	  }
   12151 	  /^X\(\/\/\)$/{
   12152 	    s//\1/
   12153 	    q
   12154 	  }
   12155 	  /^X\(\/\).*/{
   12156 	    s//\1/
   12157 	    q
   12158 	  }
   12159 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12160  ;;
   12161 
   12162   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12163 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12164  ;;
   12165   esac
   12166 
   12167 
   12168   case $ac_file$ac_mode in
   12169     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12170   # Older Autoconf quotes --file arguments for eval, but not when files
   12171   # are listed without --file.  Let's play safe and only enable the eval
   12172   # if we detect the quoting.
   12173   # TODO: see whether this extra hack can be removed once we start
   12174   # requiring Autoconf 2.70 or later.
   12175   case $CONFIG_FILES in #(
   12176   *\'*) :
   12177     eval set x "$CONFIG_FILES" ;; #(
   12178   *) :
   12179     set x $CONFIG_FILES ;; #(
   12180   *) :
   12181      ;;
   12182 esac
   12183   shift
   12184   # Used to flag and report bootstrapping failures.
   12185   am_rc=0
   12186   for am_mf
   12187   do
   12188     # Strip MF so we end up with the name of the file.
   12189     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   12190     # Check whether this is an Automake generated Makefile which includes
   12191     # dependency-tracking related rules and includes.
   12192     # Grep'ing the whole file directly is not great: AIX grep has a line
   12193     # limit of 2048, but all sed's we know have understand at least 4000.
   12194     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12195       || continue
   12196     am_dirpart=`$as_dirname -- "$am_mf" ||
   12197 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12198 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12199 	 X"$am_mf" : 'X\(//\)$' \| \
   12200 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12201 $as_echo X"$am_mf" |
   12202     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12203 	    s//\1/
   12204 	    q
   12205 	  }
   12206 	  /^X\(\/\/\)[^/].*/{
   12207 	    s//\1/
   12208 	    q
   12209 	  }
   12210 	  /^X\(\/\/\)$/{
   12211 	    s//\1/
   12212 	    q
   12213 	  }
   12214 	  /^X\(\/\).*/{
   12215 	    s//\1/
   12216 	    q
   12217 	  }
   12218 	  s/.*/./; q'`
   12219     am_filepart=`$as_basename -- "$am_mf" ||
   12220 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12221 	 X"$am_mf" : 'X\(//\)$' \| \
   12222 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12223 $as_echo X/"$am_mf" |
   12224     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12225 	    s//\1/
   12226 	    q
   12227 	  }
   12228 	  /^X\/\(\/\/\)$/{
   12229 	    s//\1/
   12230 	    q
   12231 	  }
   12232 	  /^X\/\(\/\).*/{
   12233 	    s//\1/
   12234 	    q
   12235 	  }
   12236 	  s/.*/./; q'`
   12237     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12238       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12239         | $MAKE -f - am--depfiles" >&5
   12240    (cd "$am_dirpart" \
   12241       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12242         | $MAKE -f - am--depfiles) >&5 2>&5
   12243    ac_status=$?
   12244    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12245    (exit $ac_status); } || am_rc=$?
   12246   done
   12247   if test $am_rc -ne 0; then
   12248     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12250 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12251     for automatic dependency tracking.  If GNU make was not used, consider
   12252     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12253     necessary).  You can also try re-running configure with the
   12254     '--disable-dependency-tracking' option to at least be able to build
   12255     the package (albeit without support for automatic dependency tracking).
   12256 See \`config.log' for more details" "$LINENO" 5; }
   12257   fi
   12258   { am_dirpart=; unset am_dirpart;}
   12259   { am_filepart=; unset am_filepart;}
   12260   { am_mf=; unset am_mf;}
   12261   { am_rc=; unset am_rc;}
   12262   rm -f conftest-deps.mk
   12263 }
   12264  ;;
   12265 
   12266   esac
   12267 done # for ac_tag
   12268 
   12269 
   12270 as_fn_exit 0
   12271 _ACEOF
   12272 ac_clean_files=$ac_clean_files_save
   12273 
   12274 test $ac_write_fail = 0 ||
   12275   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12276 
   12277 
   12278 # configure is writing to config.log, and then calls config.status.
   12279 # config.status does its own redirection, appending to config.log.
   12280 # Unfortunately, on DOS this fails, as config.log is still kept open
   12281 # by configure, so config.status won't be able to write to it; its
   12282 # output is simply discarded.  So we exec the FD to /dev/null,
   12283 # effectively closing config.log, so it can be properly (re)opened and
   12284 # appended to by config.status.  When coming back to configure, we
   12285 # need to make the FD available again.
   12286 if test "$no_create" != yes; then
   12287   ac_cs_success=:
   12288   ac_config_status_args=
   12289   test "$silent" = yes &&
   12290     ac_config_status_args="$ac_config_status_args --quiet"
   12291   exec 5>/dev/null
   12292   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12293   exec 5>>config.log
   12294   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12295   # would make configure fail if this is the last instruction.
   12296   $ac_cs_success || as_fn_exit 1
   12297 fi
   12298 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12299   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12300 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12301 fi
   12302 
   12303