Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for fslsfonts 1.0.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/fslsfonts/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    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   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 test \$(( 1 + 1 )) = 2 || exit 1"
    187   if (eval "$as_required") 2>/dev/null
    188 then :
    189   as_have_required=yes
    190 else $as_nop
    191   as_have_required=no
    192 fi
    193   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    194 then :
    195 
    196 else $as_nop
    197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    198 as_found=false
    199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    200 do
    201   IFS=$as_save_IFS
    202   case $as_dir in #(((
    203     '') as_dir=./ ;;
    204     */) ;;
    205     *) as_dir=$as_dir/ ;;
    206   esac
    207   as_found=:
    208   case $as_dir in #(
    209 	 /*)
    210 	   for as_base in sh bash ksh sh5; do
    211 	     # Try only shells that exist, to save several forks.
    212 	     as_shell=$as_dir$as_base
    213 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    214 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    215 then :
    216   CONFIG_SHELL=$as_shell as_have_required=yes
    217 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    218 then :
    219   break 2
    220 fi
    221 fi
    222 	   done;;
    223        esac
    224   as_found=false
    225 done
    226 IFS=$as_save_IFS
    227 if $as_found
    228 then :
    229 
    230 else $as_nop
    231   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    232 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    233 then :
    234   CONFIG_SHELL=$SHELL as_have_required=yes
    235 fi
    236 fi
    237 
    238 
    239       if test "x$CONFIG_SHELL" != x
    240 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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno
    263 then :
    264   printf "%s\n" "$0: This script requires a shell more modern than all"
    265   printf "%s\n" "$0: the shells that I found on your system."
    266   if test ${ZSH_VERSION+y} ; then
    267     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    268     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    269   else
    270     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    271 $0: https://gitlab.freedesktop.org/xorg/app/fslsfonts/-/issues
    272 $0: about your system, including any error possibly output
    273 $0: before this message. Then install a modern shell, or
    274 $0: manually run the script under such a shell if you do
    275 $0: have one."
    276   fi
    277   exit 1
    278 fi
    279 fi
    280 fi
    281 SHELL=${CONFIG_SHELL-/bin/sh}
    282 export SHELL
    283 # Unset more variables known to interfere with behavior of common tools.
    284 CLICOLOR_FORCE= GREP_OPTIONS=
    285 unset CLICOLOR_FORCE GREP_OPTIONS
    286 
    287 ## --------------------- ##
    288 ## M4sh Shell Functions. ##
    289 ## --------------------- ##
    290 # as_fn_unset VAR
    291 # ---------------
    292 # Portably unset VAR.
    293 as_fn_unset ()
    294 {
    295   { eval $1=; unset $1;}
    296 }
    297 as_unset=as_fn_unset
    298 
    299 
    300 # as_fn_set_status STATUS
    301 # -----------------------
    302 # Set $? to STATUS, without forking.
    303 as_fn_set_status ()
    304 {
    305   return $1
    306 } # as_fn_set_status
    307 
    308 # as_fn_exit STATUS
    309 # -----------------
    310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    311 as_fn_exit ()
    312 {
    313   set +e
    314   as_fn_set_status $1
    315   exit $1
    316 } # as_fn_exit
    317 # as_fn_nop
    318 # ---------
    319 # Do nothing but, unlike ":", preserve the value of $?.
    320 as_fn_nop ()
    321 {
    322   return $?
    323 }
    324 as_nop=as_fn_nop
    325 
    326 # as_fn_mkdir_p
    327 # -------------
    328 # Create "$as_dir" as a directory, including parents if necessary.
    329 as_fn_mkdir_p ()
    330 {
    331 
    332   case $as_dir in #(
    333   -*) as_dir=./$as_dir;;
    334   esac
    335   test -d "$as_dir" || eval $as_mkdir_p || {
    336     as_dirs=
    337     while :; do
    338       case $as_dir in #(
    339       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    340       *) as_qdir=$as_dir;;
    341       esac
    342       as_dirs="'$as_qdir' $as_dirs"
    343       as_dir=`$as_dirname -- "$as_dir" ||
    344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    345 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    346 	 X"$as_dir" : 'X\(//\)$' \| \
    347 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    348 printf "%s\n" X"$as_dir" |
    349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)[^/].*/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\).*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  s/.*/./; q'`
    366       test -d "$as_dir" && break
    367     done
    368     test -z "$as_dirs" || eval "mkdir $as_dirs"
    369   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    370 
    371 
    372 } # as_fn_mkdir_p
    373 
    374 # as_fn_executable_p FILE
    375 # -----------------------
    376 # Test if FILE is an executable regular file.
    377 as_fn_executable_p ()
    378 {
    379   test -f "$1" && test -x "$1"
    380 } # as_fn_executable_p
    381 # as_fn_append VAR VALUE
    382 # ----------------------
    383 # Append the text in VALUE to the end of the definition contained in VAR. Take
    384 # advantage of any shell optimizations that allow amortized linear growth over
    385 # repeated appends, instead of the typical quadratic growth present in naive
    386 # implementations.
    387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    388 then :
    389   eval 'as_fn_append ()
    390   {
    391     eval $1+=\$2
    392   }'
    393 else $as_nop
    394   as_fn_append ()
    395   {
    396     eval $1=\$$1\$2
    397   }
    398 fi # as_fn_append
    399 
    400 # as_fn_arith ARG...
    401 # ------------------
    402 # Perform arithmetic evaluation on the ARGs, and store the result in the
    403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    404 # must be portable across $(()) and expr.
    405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    406 then :
    407   eval 'as_fn_arith ()
    408   {
    409     as_val=$(( $* ))
    410   }'
    411 else $as_nop
    412   as_fn_arith ()
    413   {
    414     as_val=`expr "$@" || test $? -eq 1`
    415   }
    416 fi # as_fn_arith
    417 
    418 # as_fn_nop
    419 # ---------
    420 # Do nothing but, unlike ":", preserve the value of $?.
    421 as_fn_nop ()
    422 {
    423   return $?
    424 }
    425 as_nop=as_fn_nop
    426 
    427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    428 # ----------------------------------------
    429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    431 # script with STATUS, using 1 if that was 0.
    432 as_fn_error ()
    433 {
    434   as_status=$1; test $as_status -eq 0 && as_status=1
    435   if test "$4"; then
    436     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    438   fi
    439   printf "%s\n" "$as_me: error: $2" >&2
    440   as_fn_exit $as_status
    441 } # as_fn_error
    442 
    443 if expr a : '\(a\)' >/dev/null 2>&1 &&
    444    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    445   as_expr=expr
    446 else
    447   as_expr=false
    448 fi
    449 
    450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    451   as_basename=basename
    452 else
    453   as_basename=false
    454 fi
    455 
    456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    457   as_dirname=dirname
    458 else
    459   as_dirname=false
    460 fi
    461 
    462 as_me=`$as_basename -- "$0" ||
    463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    464 	 X"$0" : 'X\(//\)$' \| \
    465 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    466 printf "%s\n" X/"$0" |
    467     sed '/^.*\/\([^/][^/]*\)\/*$/{
    468 	    s//\1/
    469 	    q
    470 	  }
    471 	  /^X\/\(\/\/\)$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\).*/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  s/.*/./; q'`
    480 
    481 # Avoid depending upon Character Ranges.
    482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    485 as_cr_digits='0123456789'
    486 as_cr_alnum=$as_cr_Letters$as_cr_digits
    487 
    488 
    489   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    490   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    491   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    492   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    493   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    494   sed -n '
    495     p
    496     /[$]LINENO/=
    497   ' <$as_myself |
    498     sed '
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 
    548 rm -f conf$$ conf$$.exe conf$$.file
    549 if test -d conf$$.dir; then
    550   rm -f conf$$.dir/conf$$.file
    551 else
    552   rm -f conf$$.dir
    553   mkdir conf$$.dir 2>/dev/null
    554 fi
    555 if (echo >conf$$.file) 2>/dev/null; then
    556   if ln -s conf$$.file conf$$ 2>/dev/null; then
    557     as_ln_s='ln -s'
    558     # ... but there are two gotchas:
    559     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    560     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    561     # In both cases, we have to default to `cp -pR'.
    562     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    563       as_ln_s='cp -pR'
    564   elif ln conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s=ln
    566   else
    567     as_ln_s='cp -pR'
    568   fi
    569 else
    570   as_ln_s='cp -pR'
    571 fi
    572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    573 rmdir conf$$.dir 2>/dev/null
    574 
    575 if mkdir -p . 2>/dev/null; then
    576   as_mkdir_p='mkdir -p "$as_dir"'
    577 else
    578   test -d ./-p && rmdir ./-p
    579   as_mkdir_p=false
    580 fi
    581 
    582 as_test_x='test -x'
    583 as_executable_p=as_fn_executable_p
    584 
    585 # Sed expression to map a string onto a valid CPP name.
    586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    590 
    591 
    592 test -n "$DJDIR" || exec 7<&0 </dev/null
    593 exec 6>&1
    594 
    595 # Name of the host.
    596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    597 # so uname gets run too.
    598 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    599 
    600 #
    601 # Initializations.
    602 #
    603 ac_default_prefix=/usr/local
    604 ac_clean_files=
    605 ac_config_libobj_dir=.
    606 LIBOBJS=
    607 cross_compiling=no
    608 subdirs=
    609 MFLAGS=
    610 MAKEFLAGS=
    611 
    612 # Identity of this package.
    613 PACKAGE_NAME='fslsfonts'
    614 PACKAGE_TARNAME='fslsfonts'
    615 PACKAGE_VERSION='1.0.6'
    616 PACKAGE_STRING='fslsfonts 1.0.6'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/fslsfonts/-/issues'
    618 PACKAGE_URL=''
    619 
    620 ac_unique_file="Makefile.am"
    621 # Factoring default headers for most tests.
    622 ac_includes_default="\
    623 #include <stddef.h>
    624 #ifdef HAVE_STDIO_H
    625 # include <stdio.h>
    626 #endif
    627 #ifdef HAVE_STDLIB_H
    628 # include <stdlib.h>
    629 #endif
    630 #ifdef HAVE_STRING_H
    631 # include <string.h>
    632 #endif
    633 #ifdef HAVE_INTTYPES_H
    634 # include <inttypes.h>
    635 #endif
    636 #ifdef HAVE_STDINT_H
    637 # include <stdint.h>
    638 #endif
    639 #ifdef HAVE_STRINGS_H
    640 # include <strings.h>
    641 #endif
    642 #ifdef HAVE_SYS_TYPES_H
    643 # include <sys/types.h>
    644 #endif
    645 #ifdef HAVE_SYS_STAT_H
    646 # include <sys/stat.h>
    647 #endif
    648 #ifdef HAVE_UNISTD_H
    649 # include <unistd.h>
    650 #endif"
    651 
    652 ac_header_c_list=
    653 ac_subst_vars='am__EXEEXT_FALSE
    654 am__EXEEXT_TRUE
    655 LTLIBOBJS
    656 LIBOBJS
    657 FSLSFONTS_LIBS
    658 FSLSFONTS_CFLAGS
    659 MAN_SUBSTS
    660 XORG_MAN_PAGE
    661 ADMIN_MAN_DIR
    662 DRIVER_MAN_DIR
    663 MISC_MAN_DIR
    664 FILE_MAN_DIR
    665 LIB_MAN_DIR
    666 APP_MAN_DIR
    667 ADMIN_MAN_SUFFIX
    668 DRIVER_MAN_SUFFIX
    669 MISC_MAN_SUFFIX
    670 FILE_MAN_SUFFIX
    671 LIB_MAN_SUFFIX
    672 APP_MAN_SUFFIX
    673 SED
    674 host_os
    675 host_vendor
    676 host_cpu
    677 host
    678 build_os
    679 build_vendor
    680 build_cpu
    681 build
    682 INSTALL_CMD
    683 PKG_CONFIG_LIBDIR
    684 PKG_CONFIG_PATH
    685 PKG_CONFIG
    686 CHANGELOG_CMD
    687 STRICT_CFLAGS
    688 CWARNFLAGS
    689 BASE_CFLAGS
    690 AM_BACKSLASH
    691 AM_DEFAULT_VERBOSITY
    692 AM_DEFAULT_V
    693 AM_V
    694 CSCOPE
    695 ETAGS
    696 CTAGS
    697 am__fastdepCC_FALSE
    698 am__fastdepCC_TRUE
    699 CCDEPMODE
    700 am__nodep
    701 AMDEPBACKSLASH
    702 AMDEP_FALSE
    703 AMDEP_TRUE
    704 am__include
    705 DEPDIR
    706 am__untar
    707 am__tar
    708 AMTAR
    709 am__leading_dot
    710 SET_MAKE
    711 AWK
    712 mkdir_p
    713 MKDIR_P
    714 INSTALL_STRIP_PROGRAM
    715 STRIP
    716 install_sh
    717 MAKEINFO
    718 AUTOHEADER
    719 AUTOMAKE
    720 AUTOCONF
    721 ACLOCAL
    722 VERSION
    723 PACKAGE
    724 CYGPATH_W
    725 am__isrc
    726 INSTALL_DATA
    727 INSTALL_SCRIPT
    728 INSTALL_PROGRAM
    729 OBJEXT
    730 EXEEXT
    731 ac_ct_CC
    732 CPPFLAGS
    733 LDFLAGS
    734 CFLAGS
    735 CC
    736 target_alias
    737 host_alias
    738 build_alias
    739 LIBS
    740 ECHO_T
    741 ECHO_N
    742 ECHO_C
    743 DEFS
    744 mandir
    745 localedir
    746 libdir
    747 psdir
    748 pdfdir
    749 dvidir
    750 htmldir
    751 infodir
    752 docdir
    753 oldincludedir
    754 includedir
    755 runstatedir
    756 localstatedir
    757 sharedstatedir
    758 sysconfdir
    759 datadir
    760 datarootdir
    761 libexecdir
    762 sbindir
    763 bindir
    764 program_transform_name
    765 prefix
    766 exec_prefix
    767 PACKAGE_URL
    768 PACKAGE_BUGREPORT
    769 PACKAGE_STRING
    770 PACKAGE_VERSION
    771 PACKAGE_TARNAME
    772 PACKAGE_NAME
    773 PATH_SEPARATOR
    774 SHELL
    775 am__quote'
    776 ac_subst_files=''
    777 ac_user_opts='
    778 enable_option_checking
    779 enable_dependency_tracking
    780 enable_silent_rules
    781 enable_selective_werror
    782 enable_strict_compilation
    783 '
    784       ac_precious_vars='build_alias
    785 host_alias
    786 target_alias
    787 CC
    788 CFLAGS
    789 LDFLAGS
    790 LIBS
    791 CPPFLAGS
    792 PKG_CONFIG
    793 PKG_CONFIG_PATH
    794 PKG_CONFIG_LIBDIR
    795 FSLSFONTS_CFLAGS
    796 FSLSFONTS_LIBS'
    797 
    798 
    799 # Initialize some variables set by options.
    800 ac_init_help=
    801 ac_init_version=false
    802 ac_unrecognized_opts=
    803 ac_unrecognized_sep=
    804 # The variables have the same names as the options, with
    805 # dashes changed to underlines.
    806 cache_file=/dev/null
    807 exec_prefix=NONE
    808 no_create=
    809 no_recursion=
    810 prefix=NONE
    811 program_prefix=NONE
    812 program_suffix=NONE
    813 program_transform_name=s,x,x,
    814 silent=
    815 site=
    816 srcdir=
    817 verbose=
    818 x_includes=NONE
    819 x_libraries=NONE
    820 
    821 # Installation directory options.
    822 # These are left unexpanded so users can "make install exec_prefix=/foo"
    823 # and all the variables that are supposed to be based on exec_prefix
    824 # by default will actually change.
    825 # Use braces instead of parens because sh, perl, etc. also accept them.
    826 # (The list follows the same order as the GNU Coding Standards.)
    827 bindir='${exec_prefix}/bin'
    828 sbindir='${exec_prefix}/sbin'
    829 libexecdir='${exec_prefix}/libexec'
    830 datarootdir='${prefix}/share'
    831 datadir='${datarootdir}'
    832 sysconfdir='${prefix}/etc'
    833 sharedstatedir='${prefix}/com'
    834 localstatedir='${prefix}/var'
    835 runstatedir='${localstatedir}/run'
    836 includedir='${prefix}/include'
    837 oldincludedir='/usr/include'
    838 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    839 infodir='${datarootdir}/info'
    840 htmldir='${docdir}'
    841 dvidir='${docdir}'
    842 pdfdir='${docdir}'
    843 psdir='${docdir}'
    844 libdir='${exec_prefix}/lib'
    845 localedir='${datarootdir}/locale'
    846 mandir='${datarootdir}/man'
    847 
    848 ac_prev=
    849 ac_dashdash=
    850 for ac_option
    851 do
    852   # If the previous option needs an argument, assign it.
    853   if test -n "$ac_prev"; then
    854     eval $ac_prev=\$ac_option
    855     ac_prev=
    856     continue
    857   fi
    858 
    859   case $ac_option in
    860   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    861   *=)   ac_optarg= ;;
    862   *)    ac_optarg=yes ;;
    863   esac
    864 
    865   case $ac_dashdash$ac_option in
    866   --)
    867     ac_dashdash=yes ;;
    868 
    869   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    870     ac_prev=bindir ;;
    871   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    872     bindir=$ac_optarg ;;
    873 
    874   -build | --build | --buil | --bui | --bu)
    875     ac_prev=build_alias ;;
    876   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    877     build_alias=$ac_optarg ;;
    878 
    879   -cache-file | --cache-file | --cache-fil | --cache-fi \
    880   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    881     ac_prev=cache_file ;;
    882   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    883   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    884     cache_file=$ac_optarg ;;
    885 
    886   --config-cache | -C)
    887     cache_file=config.cache ;;
    888 
    889   -datadir | --datadir | --datadi | --datad)
    890     ac_prev=datadir ;;
    891   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    892     datadir=$ac_optarg ;;
    893 
    894   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    895   | --dataroo | --dataro | --datar)
    896     ac_prev=datarootdir ;;
    897   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    898   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    899     datarootdir=$ac_optarg ;;
    900 
    901   -disable-* | --disable-*)
    902     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    903     # Reject names that are not valid shell variable names.
    904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    905       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    906     ac_useropt_orig=$ac_useropt
    907     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    908     case $ac_user_opts in
    909       *"
    910 "enable_$ac_useropt"
    911 "*) ;;
    912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    913 	 ac_unrecognized_sep=', ';;
    914     esac
    915     eval enable_$ac_useropt=no ;;
    916 
    917   -docdir | --docdir | --docdi | --doc | --do)
    918     ac_prev=docdir ;;
    919   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    920     docdir=$ac_optarg ;;
    921 
    922   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    923     ac_prev=dvidir ;;
    924   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    925     dvidir=$ac_optarg ;;
    926 
    927   -enable-* | --enable-*)
    928     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    929     # Reject names that are not valid shell variable names.
    930     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    931       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    932     ac_useropt_orig=$ac_useropt
    933     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    934     case $ac_user_opts in
    935       *"
    936 "enable_$ac_useropt"
    937 "*) ;;
    938       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    939 	 ac_unrecognized_sep=', ';;
    940     esac
    941     eval enable_$ac_useropt=\$ac_optarg ;;
    942 
    943   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    944   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    945   | --exec | --exe | --ex)
    946     ac_prev=exec_prefix ;;
    947   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    948   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    949   | --exec=* | --exe=* | --ex=*)
    950     exec_prefix=$ac_optarg ;;
    951 
    952   -gas | --gas | --ga | --g)
    953     # Obsolete; use --with-gas.
    954     with_gas=yes ;;
    955 
    956   -help | --help | --hel | --he | -h)
    957     ac_init_help=long ;;
    958   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    959     ac_init_help=recursive ;;
    960   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    961     ac_init_help=short ;;
    962 
    963   -host | --host | --hos | --ho)
    964     ac_prev=host_alias ;;
    965   -host=* | --host=* | --hos=* | --ho=*)
    966     host_alias=$ac_optarg ;;
    967 
    968   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    969     ac_prev=htmldir ;;
    970   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    971   | --ht=*)
    972     htmldir=$ac_optarg ;;
    973 
    974   -includedir | --includedir | --includedi | --included | --include \
    975   | --includ | --inclu | --incl | --inc)
    976     ac_prev=includedir ;;
    977   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    978   | --includ=* | --inclu=* | --incl=* | --inc=*)
    979     includedir=$ac_optarg ;;
    980 
    981   -infodir | --infodir | --infodi | --infod | --info | --inf)
    982     ac_prev=infodir ;;
    983   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    984     infodir=$ac_optarg ;;
    985 
    986   -libdir | --libdir | --libdi | --libd)
    987     ac_prev=libdir ;;
    988   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    989     libdir=$ac_optarg ;;
    990 
    991   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    992   | --libexe | --libex | --libe)
    993     ac_prev=libexecdir ;;
    994   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    995   | --libexe=* | --libex=* | --libe=*)
    996     libexecdir=$ac_optarg ;;
    997 
    998   -localedir | --localedir | --localedi | --localed | --locale)
    999     ac_prev=localedir ;;
   1000   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1001     localedir=$ac_optarg ;;
   1002 
   1003   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1004   | --localstate | --localstat | --localsta | --localst | --locals)
   1005     ac_prev=localstatedir ;;
   1006   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1007   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1008     localstatedir=$ac_optarg ;;
   1009 
   1010   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1011     ac_prev=mandir ;;
   1012   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1013     mandir=$ac_optarg ;;
   1014 
   1015   -nfp | --nfp | --nf)
   1016     # Obsolete; use --without-fp.
   1017     with_fp=no ;;
   1018 
   1019   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1020   | --no-cr | --no-c | -n)
   1021     no_create=yes ;;
   1022 
   1023   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1024   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1025     no_recursion=yes ;;
   1026 
   1027   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1028   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1029   | --oldin | --oldi | --old | --ol | --o)
   1030     ac_prev=oldincludedir ;;
   1031   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1032   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1033   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1034     oldincludedir=$ac_optarg ;;
   1035 
   1036   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1037     ac_prev=prefix ;;
   1038   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1039     prefix=$ac_optarg ;;
   1040 
   1041   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1042   | --program-pre | --program-pr | --program-p)
   1043     ac_prev=program_prefix ;;
   1044   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1045   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1046     program_prefix=$ac_optarg ;;
   1047 
   1048   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1049   | --program-suf | --program-su | --program-s)
   1050     ac_prev=program_suffix ;;
   1051   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1052   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1053     program_suffix=$ac_optarg ;;
   1054 
   1055   -program-transform-name | --program-transform-name \
   1056   | --program-transform-nam | --program-transform-na \
   1057   | --program-transform-n | --program-transform- \
   1058   | --program-transform | --program-transfor \
   1059   | --program-transfo | --program-transf \
   1060   | --program-trans | --program-tran \
   1061   | --progr-tra | --program-tr | --program-t)
   1062     ac_prev=program_transform_name ;;
   1063   -program-transform-name=* | --program-transform-name=* \
   1064   | --program-transform-nam=* | --program-transform-na=* \
   1065   | --program-transform-n=* | --program-transform-=* \
   1066   | --program-transform=* | --program-transfor=* \
   1067   | --program-transfo=* | --program-transf=* \
   1068   | --program-trans=* | --program-tran=* \
   1069   | --progr-tra=* | --program-tr=* | --program-t=*)
   1070     program_transform_name=$ac_optarg ;;
   1071 
   1072   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1073     ac_prev=pdfdir ;;
   1074   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1075     pdfdir=$ac_optarg ;;
   1076 
   1077   -psdir | --psdir | --psdi | --psd | --ps)
   1078     ac_prev=psdir ;;
   1079   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1080     psdir=$ac_optarg ;;
   1081 
   1082   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1083   | -silent | --silent | --silen | --sile | --sil)
   1084     silent=yes ;;
   1085 
   1086   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1087   | --runstate | --runstat | --runsta | --runst | --runs \
   1088   | --run | --ru | --r)
   1089     ac_prev=runstatedir ;;
   1090   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1091   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1092   | --run=* | --ru=* | --r=*)
   1093     runstatedir=$ac_optarg ;;
   1094 
   1095   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1096     ac_prev=sbindir ;;
   1097   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1098   | --sbi=* | --sb=*)
   1099     sbindir=$ac_optarg ;;
   1100 
   1101   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1102   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1103   | --sharedst | --shareds | --shared | --share | --shar \
   1104   | --sha | --sh)
   1105     ac_prev=sharedstatedir ;;
   1106   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1107   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1108   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1109   | --sha=* | --sh=*)
   1110     sharedstatedir=$ac_optarg ;;
   1111 
   1112   -site | --site | --sit)
   1113     ac_prev=site ;;
   1114   -site=* | --site=* | --sit=*)
   1115     site=$ac_optarg ;;
   1116 
   1117   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1118     ac_prev=srcdir ;;
   1119   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1120     srcdir=$ac_optarg ;;
   1121 
   1122   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1123   | --syscon | --sysco | --sysc | --sys | --sy)
   1124     ac_prev=sysconfdir ;;
   1125   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1126   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1127     sysconfdir=$ac_optarg ;;
   1128 
   1129   -target | --target | --targe | --targ | --tar | --ta | --t)
   1130     ac_prev=target_alias ;;
   1131   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1132     target_alias=$ac_optarg ;;
   1133 
   1134   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1135     verbose=yes ;;
   1136 
   1137   -version | --version | --versio | --versi | --vers | -V)
   1138     ac_init_version=: ;;
   1139 
   1140   -with-* | --with-*)
   1141     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1142     # Reject names that are not valid shell variable names.
   1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1144       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1145     ac_useropt_orig=$ac_useropt
   1146     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1147     case $ac_user_opts in
   1148       *"
   1149 "with_$ac_useropt"
   1150 "*) ;;
   1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1152 	 ac_unrecognized_sep=', ';;
   1153     esac
   1154     eval with_$ac_useropt=\$ac_optarg ;;
   1155 
   1156   -without-* | --without-*)
   1157     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1158     # Reject names that are not valid shell variable names.
   1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1160       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1161     ac_useropt_orig=$ac_useropt
   1162     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1163     case $ac_user_opts in
   1164       *"
   1165 "with_$ac_useropt"
   1166 "*) ;;
   1167       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1168 	 ac_unrecognized_sep=', ';;
   1169     esac
   1170     eval with_$ac_useropt=no ;;
   1171 
   1172   --x)
   1173     # Obsolete; use --with-x.
   1174     with_x=yes ;;
   1175 
   1176   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1177   | --x-incl | --x-inc | --x-in | --x-i)
   1178     ac_prev=x_includes ;;
   1179   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1180   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1181     x_includes=$ac_optarg ;;
   1182 
   1183   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1184   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1185     ac_prev=x_libraries ;;
   1186   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1187   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1188     x_libraries=$ac_optarg ;;
   1189 
   1190   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1191 Try \`$0 --help' for more information"
   1192     ;;
   1193 
   1194   *=*)
   1195     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1196     # Reject names that are not valid shell variable names.
   1197     case $ac_envvar in #(
   1198       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1199       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1200     esac
   1201     eval $ac_envvar=\$ac_optarg
   1202     export $ac_envvar ;;
   1203 
   1204   *)
   1205     # FIXME: should be removed in autoconf 3.0.
   1206     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1207     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1208       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1209     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1210     ;;
   1211 
   1212   esac
   1213 done
   1214 
   1215 if test -n "$ac_prev"; then
   1216   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1217   as_fn_error $? "missing argument to $ac_option"
   1218 fi
   1219 
   1220 if test -n "$ac_unrecognized_opts"; then
   1221   case $enable_option_checking in
   1222     no) ;;
   1223     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1224     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1225   esac
   1226 fi
   1227 
   1228 # Check all directory arguments for consistency.
   1229 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1230 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1231 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1232 		libdir localedir mandir runstatedir
   1233 do
   1234   eval ac_val=\$$ac_var
   1235   # Remove trailing slashes.
   1236   case $ac_val in
   1237     */ )
   1238       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1239       eval $ac_var=\$ac_val;;
   1240   esac
   1241   # Be sure to have absolute directory names.
   1242   case $ac_val in
   1243     [\\/$]* | ?:[\\/]* )  continue;;
   1244     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1245   esac
   1246   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1247 done
   1248 
   1249 # There might be people who depend on the old broken behavior: `$host'
   1250 # used to hold the argument of --host etc.
   1251 # FIXME: To remove some day.
   1252 build=$build_alias
   1253 host=$host_alias
   1254 target=$target_alias
   1255 
   1256 # FIXME: To remove some day.
   1257 if test "x$host_alias" != x; then
   1258   if test "x$build_alias" = x; then
   1259     cross_compiling=maybe
   1260   elif test "x$build_alias" != "x$host_alias"; then
   1261     cross_compiling=yes
   1262   fi
   1263 fi
   1264 
   1265 ac_tool_prefix=
   1266 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1267 
   1268 test "$silent" = yes && exec 6>/dev/null
   1269 
   1270 
   1271 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1272 ac_ls_di=`ls -di .` &&
   1273 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1274   as_fn_error $? "working directory cannot be determined"
   1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1276   as_fn_error $? "pwd does not report name of working directory"
   1277 
   1278 
   1279 # Find the source files, if location was not specified.
   1280 if test -z "$srcdir"; then
   1281   ac_srcdir_defaulted=yes
   1282   # Try the directory containing this script, then the parent directory.
   1283   ac_confdir=`$as_dirname -- "$as_myself" ||
   1284 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1285 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1286 	 X"$as_myself" : 'X\(//\)$' \| \
   1287 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1288 printf "%s\n" X"$as_myself" |
   1289     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1290 	    s//\1/
   1291 	    q
   1292 	  }
   1293 	  /^X\(\/\/\)[^/].*/{
   1294 	    s//\1/
   1295 	    q
   1296 	  }
   1297 	  /^X\(\/\/\)$/{
   1298 	    s//\1/
   1299 	    q
   1300 	  }
   1301 	  /^X\(\/\).*/{
   1302 	    s//\1/
   1303 	    q
   1304 	  }
   1305 	  s/.*/./; q'`
   1306   srcdir=$ac_confdir
   1307   if test ! -r "$srcdir/$ac_unique_file"; then
   1308     srcdir=..
   1309   fi
   1310 else
   1311   ac_srcdir_defaulted=no
   1312 fi
   1313 if test ! -r "$srcdir/$ac_unique_file"; then
   1314   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1315   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1316 fi
   1317 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1318 ac_abs_confdir=`(
   1319 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1320 	pwd)`
   1321 # When building in place, set srcdir=.
   1322 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1323   srcdir=.
   1324 fi
   1325 # Remove unnecessary trailing slashes from srcdir.
   1326 # Double slashes in file names in object file debugging info
   1327 # mess up M-x gdb in Emacs.
   1328 case $srcdir in
   1329 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1330 esac
   1331 for ac_var in $ac_precious_vars; do
   1332   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1333   eval ac_env_${ac_var}_value=\$${ac_var}
   1334   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1335   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1336 done
   1337 
   1338 #
   1339 # Report the --help message.
   1340 #
   1341 if test "$ac_init_help" = "long"; then
   1342   # Omit some internal or obsolete options to make the list less imposing.
   1343   # This message is too long to be a string in the A/UX 3.1 sh.
   1344   cat <<_ACEOF
   1345 \`configure' configures fslsfonts 1.0.6 to adapt to many kinds of systems.
   1346 
   1347 Usage: $0 [OPTION]... [VAR=VALUE]...
   1348 
   1349 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1350 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1351 
   1352 Defaults for the options are specified in brackets.
   1353 
   1354 Configuration:
   1355   -h, --help              display this help and exit
   1356       --help=short        display options specific to this package
   1357       --help=recursive    display the short help of all the included packages
   1358   -V, --version           display version information and exit
   1359   -q, --quiet, --silent   do not print \`checking ...' messages
   1360       --cache-file=FILE   cache test results in FILE [disabled]
   1361   -C, --config-cache      alias for \`--cache-file=config.cache'
   1362   -n, --no-create         do not create output files
   1363       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1364 
   1365 Installation directories:
   1366   --prefix=PREFIX         install architecture-independent files in PREFIX
   1367                           [$ac_default_prefix]
   1368   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1369                           [PREFIX]
   1370 
   1371 By default, \`make install' will install all the files in
   1372 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1373 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1374 for instance \`--prefix=\$HOME'.
   1375 
   1376 For better control, use the options below.
   1377 
   1378 Fine tuning of the installation directories:
   1379   --bindir=DIR            user executables [EPREFIX/bin]
   1380   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1381   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1382   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1383   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1384   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1385   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1386   --libdir=DIR            object code libraries [EPREFIX/lib]
   1387   --includedir=DIR        C header files [PREFIX/include]
   1388   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1389   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1390   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1391   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1392   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1393   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1394   --docdir=DIR            documentation root [DATAROOTDIR/doc/fslsfonts]
   1395   --htmldir=DIR           html documentation [DOCDIR]
   1396   --dvidir=DIR            dvi documentation [DOCDIR]
   1397   --pdfdir=DIR            pdf documentation [DOCDIR]
   1398   --psdir=DIR             ps documentation [DOCDIR]
   1399 _ACEOF
   1400 
   1401   cat <<\_ACEOF
   1402 
   1403 Program names:
   1404   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1405   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1406   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1407 
   1408 System types:
   1409   --build=BUILD     configure for building on BUILD [guessed]
   1410   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1411 _ACEOF
   1412 fi
   1413 
   1414 if test -n "$ac_init_help"; then
   1415   case $ac_init_help in
   1416      short | recursive ) echo "Configuration of fslsfonts 1.0.6:";;
   1417    esac
   1418   cat <<\_ACEOF
   1419 
   1420 Optional Features:
   1421   --disable-option-checking  ignore unrecognized --enable/--with options
   1422   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1423   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1424   --enable-dependency-tracking
   1425                           do not reject slow dependency extractors
   1426   --disable-dependency-tracking
   1427                           speeds up one-time build
   1428   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1429   --disable-silent-rules  verbose build output (undo: "make V=0")
   1430   --disable-selective-werror
   1431                           Turn off selective compiler errors. (default:
   1432                           enabled)
   1433   --enable-strict-compilation
   1434                           Enable all warnings from compiler and make them
   1435                           errors (default: disabled)
   1436 
   1437 Some influential environment variables:
   1438   CC          C compiler command
   1439   CFLAGS      C compiler flags
   1440   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1441               nonstandard directory <lib dir>
   1442   LIBS        libraries to pass to the linker, e.g. -l<library>
   1443   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1444               you have headers in a nonstandard directory <include dir>
   1445   PKG_CONFIG  path to pkg-config utility
   1446   PKG_CONFIG_PATH
   1447               directories to add to pkg-config's search path
   1448   PKG_CONFIG_LIBDIR
   1449               path overriding pkg-config's built-in search path
   1450   FSLSFONTS_CFLAGS
   1451               C compiler flags for FSLSFONTS, overriding pkg-config
   1452   FSLSFONTS_LIBS
   1453               linker flags for FSLSFONTS, overriding pkg-config
   1454 
   1455 Use these variables to override the choices made by `configure' or to help
   1456 it to find libraries and programs with nonstandard names/locations.
   1457 
   1458 Report bugs to <https://gitlab.freedesktop.org/xorg/app/fslsfonts/-/issues>.
   1459 _ACEOF
   1460 ac_status=$?
   1461 fi
   1462 
   1463 if test "$ac_init_help" = "recursive"; then
   1464   # If there are subdirs, report their specific --help.
   1465   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1466     test -d "$ac_dir" ||
   1467       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1468       continue
   1469     ac_builddir=.
   1470 
   1471 case "$ac_dir" in
   1472 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1473 *)
   1474   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1475   # A ".." for each directory in $ac_dir_suffix.
   1476   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1477   case $ac_top_builddir_sub in
   1478   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1479   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1480   esac ;;
   1481 esac
   1482 ac_abs_top_builddir=$ac_pwd
   1483 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1484 # for backward compatibility:
   1485 ac_top_builddir=$ac_top_build_prefix
   1486 
   1487 case $srcdir in
   1488   .)  # We are building in place.
   1489     ac_srcdir=.
   1490     ac_top_srcdir=$ac_top_builddir_sub
   1491     ac_abs_top_srcdir=$ac_pwd ;;
   1492   [\\/]* | ?:[\\/]* )  # Absolute name.
   1493     ac_srcdir=$srcdir$ac_dir_suffix;
   1494     ac_top_srcdir=$srcdir
   1495     ac_abs_top_srcdir=$srcdir ;;
   1496   *) # Relative name.
   1497     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1498     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1499     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1500 esac
   1501 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1502 
   1503     cd "$ac_dir" || { ac_status=$?; continue; }
   1504     # Check for configure.gnu first; this name is used for a wrapper for
   1505     # Metaconfig's "Configure" on case-insensitive file systems.
   1506     if test -f "$ac_srcdir/configure.gnu"; then
   1507       echo &&
   1508       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1509     elif test -f "$ac_srcdir/configure"; then
   1510       echo &&
   1511       $SHELL "$ac_srcdir/configure" --help=recursive
   1512     else
   1513       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1514     fi || ac_status=$?
   1515     cd "$ac_pwd" || { ac_status=$?; break; }
   1516   done
   1517 fi
   1518 
   1519 test -n "$ac_init_help" && exit $ac_status
   1520 if $ac_init_version; then
   1521   cat <<\_ACEOF
   1522 fslsfonts configure 1.0.6
   1523 generated by GNU Autoconf 2.71
   1524 
   1525 Copyright (C) 2021 Free Software Foundation, Inc.
   1526 This configure script is free software; the Free Software Foundation
   1527 gives unlimited permission to copy, distribute and modify it.
   1528 _ACEOF
   1529   exit
   1530 fi
   1531 
   1532 ## ------------------------ ##
   1533 ## Autoconf initialization. ##
   1534 ## ------------------------ ##
   1535 
   1536 # ac_fn_c_try_compile LINENO
   1537 # --------------------------
   1538 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1539 ac_fn_c_try_compile ()
   1540 {
   1541   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1542   rm -f conftest.$ac_objext conftest.beam
   1543   if { { ac_try="$ac_compile"
   1544 case "(($ac_try" in
   1545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1546   *) ac_try_echo=$ac_try;;
   1547 esac
   1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1549 printf "%s\n" "$ac_try_echo"; } >&5
   1550   (eval "$ac_compile") 2>conftest.err
   1551   ac_status=$?
   1552   if test -s conftest.err; then
   1553     grep -v '^ *+' conftest.err >conftest.er1
   1554     cat conftest.er1 >&5
   1555     mv -f conftest.er1 conftest.err
   1556   fi
   1557   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1558   test $ac_status = 0; } && {
   1559 	 test -z "$ac_c_werror_flag" ||
   1560 	 test ! -s conftest.err
   1561        } && test -s conftest.$ac_objext
   1562 then :
   1563   ac_retval=0
   1564 else $as_nop
   1565   printf "%s\n" "$as_me: failed program was:" >&5
   1566 sed 's/^/| /' conftest.$ac_ext >&5
   1567 
   1568 	ac_retval=1
   1569 fi
   1570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1571   as_fn_set_status $ac_retval
   1572 
   1573 } # ac_fn_c_try_compile
   1574 
   1575 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1576 # -------------------------------------------------------
   1577 # Tests whether HEADER exists and can be compiled using the include files in
   1578 # INCLUDES, setting the cache variable VAR accordingly.
   1579 ac_fn_c_check_header_compile ()
   1580 {
   1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1583 printf %s "checking for $2... " >&6; }
   1584 if eval test \${$3+y}
   1585 then :
   1586   printf %s "(cached) " >&6
   1587 else $as_nop
   1588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1589 /* end confdefs.h.  */
   1590 $4
   1591 #include <$2>
   1592 _ACEOF
   1593 if ac_fn_c_try_compile "$LINENO"
   1594 then :
   1595   eval "$3=yes"
   1596 else $as_nop
   1597   eval "$3=no"
   1598 fi
   1599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1600 fi
   1601 eval ac_res=\$$3
   1602 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1603 printf "%s\n" "$ac_res" >&6; }
   1604   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1605 
   1606 } # ac_fn_c_check_header_compile
   1607 
   1608 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1609 # ------------------------------------------------------------------
   1610 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1611 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1612 ac_fn_check_decl ()
   1613 {
   1614   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1615   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1617 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1618 if eval test \${$3+y}
   1619 then :
   1620   printf %s "(cached) " >&6
   1621 else $as_nop
   1622   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1623   eval ac_save_FLAGS=\$$6
   1624   as_fn_append $6 " $5"
   1625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1626 /* end confdefs.h.  */
   1627 $4
   1628 int
   1629 main (void)
   1630 {
   1631 #ifndef $as_decl_name
   1632 #ifdef __cplusplus
   1633   (void) $as_decl_use;
   1634 #else
   1635   (void) $as_decl_name;
   1636 #endif
   1637 #endif
   1638 
   1639   ;
   1640   return 0;
   1641 }
   1642 _ACEOF
   1643 if ac_fn_c_try_compile "$LINENO"
   1644 then :
   1645   eval "$3=yes"
   1646 else $as_nop
   1647   eval "$3=no"
   1648 fi
   1649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1650   eval $6=\$ac_save_FLAGS
   1651 
   1652 fi
   1653 eval ac_res=\$$3
   1654 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1655 printf "%s\n" "$ac_res" >&6; }
   1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1657 
   1658 } # ac_fn_check_decl
   1659 
   1660 # ac_fn_c_try_link LINENO
   1661 # -----------------------
   1662 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1663 ac_fn_c_try_link ()
   1664 {
   1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1666   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1667   if { { ac_try="$ac_link"
   1668 case "(($ac_try" in
   1669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1670   *) ac_try_echo=$ac_try;;
   1671 esac
   1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1673 printf "%s\n" "$ac_try_echo"; } >&5
   1674   (eval "$ac_link") 2>conftest.err
   1675   ac_status=$?
   1676   if test -s conftest.err; then
   1677     grep -v '^ *+' conftest.err >conftest.er1
   1678     cat conftest.er1 >&5
   1679     mv -f conftest.er1 conftest.err
   1680   fi
   1681   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1682   test $ac_status = 0; } && {
   1683 	 test -z "$ac_c_werror_flag" ||
   1684 	 test ! -s conftest.err
   1685        } && test -s conftest$ac_exeext && {
   1686 	 test "$cross_compiling" = yes ||
   1687 	 test -x conftest$ac_exeext
   1688        }
   1689 then :
   1690   ac_retval=0
   1691 else $as_nop
   1692   printf "%s\n" "$as_me: failed program was:" >&5
   1693 sed 's/^/| /' conftest.$ac_ext >&5
   1694 
   1695 	ac_retval=1
   1696 fi
   1697   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1698   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1699   # interfere with the next link command; also delete a directory that is
   1700   # left behind by Apple's compiler.  We do this before executing the actions.
   1701   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1703   as_fn_set_status $ac_retval
   1704 
   1705 } # ac_fn_c_try_link
   1706 
   1707 # ac_fn_c_check_func LINENO FUNC VAR
   1708 # ----------------------------------
   1709 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1710 ac_fn_c_check_func ()
   1711 {
   1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1714 printf %s "checking for $2... " >&6; }
   1715 if eval test \${$3+y}
   1716 then :
   1717   printf %s "(cached) " >&6
   1718 else $as_nop
   1719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1720 /* end confdefs.h.  */
   1721 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1723 #define $2 innocuous_$2
   1724 
   1725 /* System header to define __stub macros and hopefully few prototypes,
   1726    which can conflict with char $2 (); below.  */
   1727 
   1728 #include <limits.h>
   1729 #undef $2
   1730 
   1731 /* Override any GCC internal prototype to avoid an error.
   1732    Use char because int might match the return type of a GCC
   1733    builtin and then its argument prototype would still apply.  */
   1734 #ifdef __cplusplus
   1735 extern "C"
   1736 #endif
   1737 char $2 ();
   1738 /* The GNU C library defines this for functions which it implements
   1739     to always fail with ENOSYS.  Some functions are actually named
   1740     something starting with __ and the normal name is an alias.  */
   1741 #if defined __stub_$2 || defined __stub___$2
   1742 choke me
   1743 #endif
   1744 
   1745 int
   1746 main (void)
   1747 {
   1748 return $2 ();
   1749   ;
   1750   return 0;
   1751 }
   1752 _ACEOF
   1753 if ac_fn_c_try_link "$LINENO"
   1754 then :
   1755   eval "$3=yes"
   1756 else $as_nop
   1757   eval "$3=no"
   1758 fi
   1759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1760     conftest$ac_exeext conftest.$ac_ext
   1761 fi
   1762 eval ac_res=\$$3
   1763 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1764 printf "%s\n" "$ac_res" >&6; }
   1765   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1766 
   1767 } # ac_fn_c_check_func
   1768 ac_configure_args_raw=
   1769 for ac_arg
   1770 do
   1771   case $ac_arg in
   1772   *\'*)
   1773     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1774   esac
   1775   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1776 done
   1777 
   1778 case $ac_configure_args_raw in
   1779   *$as_nl*)
   1780     ac_safe_unquote= ;;
   1781   *)
   1782     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1783     ac_unsafe_a="$ac_unsafe_z#~"
   1784     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1785     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1786 esac
   1787 
   1788 cat >config.log <<_ACEOF
   1789 This file contains any messages produced by compilers while
   1790 running configure, to aid debugging if configure makes a mistake.
   1791 
   1792 It was created by fslsfonts $as_me 1.0.6, which was
   1793 generated by GNU Autoconf 2.71.  Invocation command line was
   1794 
   1795   $ $0$ac_configure_args_raw
   1796 
   1797 _ACEOF
   1798 exec 5>>config.log
   1799 {
   1800 cat <<_ASUNAME
   1801 ## --------- ##
   1802 ## Platform. ##
   1803 ## --------- ##
   1804 
   1805 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1806 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1807 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1808 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1809 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1810 
   1811 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1812 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1813 
   1814 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1815 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1816 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1817 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1818 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1819 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1820 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1821 
   1822 _ASUNAME
   1823 
   1824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1825 for as_dir in $PATH
   1826 do
   1827   IFS=$as_save_IFS
   1828   case $as_dir in #(((
   1829     '') as_dir=./ ;;
   1830     */) ;;
   1831     *) as_dir=$as_dir/ ;;
   1832   esac
   1833     printf "%s\n" "PATH: $as_dir"
   1834   done
   1835 IFS=$as_save_IFS
   1836 
   1837 } >&5
   1838 
   1839 cat >&5 <<_ACEOF
   1840 
   1841 
   1842 ## ----------- ##
   1843 ## Core tests. ##
   1844 ## ----------- ##
   1845 
   1846 _ACEOF
   1847 
   1848 
   1849 # Keep a trace of the command line.
   1850 # Strip out --no-create and --no-recursion so they do not pile up.
   1851 # Strip out --silent because we don't want to record it for future runs.
   1852 # Also quote any args containing shell meta-characters.
   1853 # Make two passes to allow for proper duplicate-argument suppression.
   1854 ac_configure_args=
   1855 ac_configure_args0=
   1856 ac_configure_args1=
   1857 ac_must_keep_next=false
   1858 for ac_pass in 1 2
   1859 do
   1860   for ac_arg
   1861   do
   1862     case $ac_arg in
   1863     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1864     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1865     | -silent | --silent | --silen | --sile | --sil)
   1866       continue ;;
   1867     *\'*)
   1868       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1869     esac
   1870     case $ac_pass in
   1871     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1872     2)
   1873       as_fn_append ac_configure_args1 " '$ac_arg'"
   1874       if test $ac_must_keep_next = true; then
   1875 	ac_must_keep_next=false # Got value, back to normal.
   1876       else
   1877 	case $ac_arg in
   1878 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1879 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1880 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1881 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1882 	    case "$ac_configure_args0 " in
   1883 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1884 	    esac
   1885 	    ;;
   1886 	  -* ) ac_must_keep_next=true ;;
   1887 	esac
   1888       fi
   1889       as_fn_append ac_configure_args " '$ac_arg'"
   1890       ;;
   1891     esac
   1892   done
   1893 done
   1894 { ac_configure_args0=; unset ac_configure_args0;}
   1895 { ac_configure_args1=; unset ac_configure_args1;}
   1896 
   1897 # When interrupted or exit'd, cleanup temporary files, and complete
   1898 # config.log.  We remove comments because anyway the quotes in there
   1899 # would cause problems or look ugly.
   1900 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1901 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1902 trap 'exit_status=$?
   1903   # Sanitize IFS.
   1904   IFS=" ""	$as_nl"
   1905   # Save into config.log some information that might help in debugging.
   1906   {
   1907     echo
   1908 
   1909     printf "%s\n" "## ---------------- ##
   1910 ## Cache variables. ##
   1911 ## ---------------- ##"
   1912     echo
   1913     # The following way of writing the cache mishandles newlines in values,
   1914 (
   1915   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1916     eval ac_val=\$$ac_var
   1917     case $ac_val in #(
   1918     *${as_nl}*)
   1919       case $ac_var in #(
   1920       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1921 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1922       esac
   1923       case $ac_var in #(
   1924       _ | IFS | as_nl) ;; #(
   1925       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1926       *) { eval $ac_var=; unset $ac_var;} ;;
   1927       esac ;;
   1928     esac
   1929   done
   1930   (set) 2>&1 |
   1931     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1932     *${as_nl}ac_space=\ *)
   1933       sed -n \
   1934 	"s/'\''/'\''\\\\'\'''\''/g;
   1935 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1936       ;; #(
   1937     *)
   1938       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1939       ;;
   1940     esac |
   1941     sort
   1942 )
   1943     echo
   1944 
   1945     printf "%s\n" "## ----------------- ##
   1946 ## Output variables. ##
   1947 ## ----------------- ##"
   1948     echo
   1949     for ac_var in $ac_subst_vars
   1950     do
   1951       eval ac_val=\$$ac_var
   1952       case $ac_val in
   1953       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1954       esac
   1955       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1956     done | sort
   1957     echo
   1958 
   1959     if test -n "$ac_subst_files"; then
   1960       printf "%s\n" "## ------------------- ##
   1961 ## File substitutions. ##
   1962 ## ------------------- ##"
   1963       echo
   1964       for ac_var in $ac_subst_files
   1965       do
   1966 	eval ac_val=\$$ac_var
   1967 	case $ac_val in
   1968 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1969 	esac
   1970 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1971       done | sort
   1972       echo
   1973     fi
   1974 
   1975     if test -s confdefs.h; then
   1976       printf "%s\n" "## ----------- ##
   1977 ## confdefs.h. ##
   1978 ## ----------- ##"
   1979       echo
   1980       cat confdefs.h
   1981       echo
   1982     fi
   1983     test "$ac_signal" != 0 &&
   1984       printf "%s\n" "$as_me: caught signal $ac_signal"
   1985     printf "%s\n" "$as_me: exit $exit_status"
   1986   } >&5
   1987   rm -f core *.core core.conftest.* &&
   1988     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1989     exit $exit_status
   1990 ' 0
   1991 for ac_signal in 1 2 13 15; do
   1992   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1993 done
   1994 ac_signal=0
   1995 
   1996 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1997 rm -f -r conftest* confdefs.h
   1998 
   1999 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2000 
   2001 # Predefined preprocessor variables.
   2002 
   2003 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2004 
   2005 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2006 
   2007 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2008 
   2009 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2010 
   2011 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2012 
   2013 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2014 
   2015 
   2016 # Let the site file select an alternate cache file if it wants to.
   2017 # Prefer an explicitly selected file to automatically selected ones.
   2018 if test -n "$CONFIG_SITE"; then
   2019   ac_site_files="$CONFIG_SITE"
   2020 elif test "x$prefix" != xNONE; then
   2021   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2022 else
   2023   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2024 fi
   2025 
   2026 for ac_site_file in $ac_site_files
   2027 do
   2028   case $ac_site_file in #(
   2029   */*) :
   2030      ;; #(
   2031   *) :
   2032     ac_site_file=./$ac_site_file ;;
   2033 esac
   2034   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2035     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2036 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2037     sed 's/^/| /' "$ac_site_file" >&5
   2038     . "$ac_site_file" \
   2039       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2040 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2041 as_fn_error $? "failed to load site script $ac_site_file
   2042 See \`config.log' for more details" "$LINENO" 5; }
   2043   fi
   2044 done
   2045 
   2046 if test -r "$cache_file"; then
   2047   # Some versions of bash will fail to source /dev/null (special files
   2048   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2049   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2050     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2051 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2052     case $cache_file in
   2053       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2054       *)                      . "./$cache_file";;
   2055     esac
   2056   fi
   2057 else
   2058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2059 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2060   >$cache_file
   2061 fi
   2062 
   2063 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2064 # Test code for whether the C compiler supports C89 (global declarations)
   2065 ac_c_conftest_c89_globals='
   2066 /* Does the compiler advertise C89 conformance?
   2067    Do not test the value of __STDC__, because some compilers set it to 0
   2068    while being otherwise adequately conformant. */
   2069 #if !defined __STDC__
   2070 # error "Compiler does not advertise C89 conformance"
   2071 #endif
   2072 
   2073 #include <stddef.h>
   2074 #include <stdarg.h>
   2075 struct stat;
   2076 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2077 struct buf { int x; };
   2078 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2079 static char *e (p, i)
   2080      char **p;
   2081      int i;
   2082 {
   2083   return p[i];
   2084 }
   2085 static char *f (char * (*g) (char **, int), char **p, ...)
   2086 {
   2087   char *s;
   2088   va_list v;
   2089   va_start (v,p);
   2090   s = g (p, va_arg (v,int));
   2091   va_end (v);
   2092   return s;
   2093 }
   2094 
   2095 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2096    function prototypes and stuff, but not \xHH hex character constants.
   2097    These do not provoke an error unfortunately, instead are silently treated
   2098    as an "x".  The following induces an error, until -std is added to get
   2099    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2100    array size at least.  It is necessary to write \x00 == 0 to get something
   2101    that is true only with -std.  */
   2102 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2103 
   2104 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2105    inside strings and character constants.  */
   2106 #define FOO(x) '\''x'\''
   2107 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2108 
   2109 int test (int i, double x);
   2110 struct s1 {int (*f) (int a);};
   2111 struct s2 {int (*f) (double a);};
   2112 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2113                int, int);'
   2114 
   2115 # Test code for whether the C compiler supports C89 (body of main).
   2116 ac_c_conftest_c89_main='
   2117 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2118 '
   2119 
   2120 # Test code for whether the C compiler supports C99 (global declarations)
   2121 ac_c_conftest_c99_globals='
   2122 // Does the compiler advertise C99 conformance?
   2123 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2124 # error "Compiler does not advertise C99 conformance"
   2125 #endif
   2126 
   2127 #include <stdbool.h>
   2128 extern int puts (const char *);
   2129 extern int printf (const char *, ...);
   2130 extern int dprintf (int, const char *, ...);
   2131 extern void *malloc (size_t);
   2132 
   2133 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2134 // dprintf is used instead of fprintf to avoid needing to declare
   2135 // FILE and stderr.
   2136 #define debug(...) dprintf (2, __VA_ARGS__)
   2137 #define showlist(...) puts (#__VA_ARGS__)
   2138 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2139 static void
   2140 test_varargs_macros (void)
   2141 {
   2142   int x = 1234;
   2143   int y = 5678;
   2144   debug ("Flag");
   2145   debug ("X = %d\n", x);
   2146   showlist (The first, second, and third items.);
   2147   report (x>y, "x is %d but y is %d", x, y);
   2148 }
   2149 
   2150 // Check long long types.
   2151 #define BIG64 18446744073709551615ull
   2152 #define BIG32 4294967295ul
   2153 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2154 #if !BIG_OK
   2155   #error "your preprocessor is broken"
   2156 #endif
   2157 #if BIG_OK
   2158 #else
   2159   #error "your preprocessor is broken"
   2160 #endif
   2161 static long long int bignum = -9223372036854775807LL;
   2162 static unsigned long long int ubignum = BIG64;
   2163 
   2164 struct incomplete_array
   2165 {
   2166   int datasize;
   2167   double data[];
   2168 };
   2169 
   2170 struct named_init {
   2171   int number;
   2172   const wchar_t *name;
   2173   double average;
   2174 };
   2175 
   2176 typedef const char *ccp;
   2177 
   2178 static inline int
   2179 test_restrict (ccp restrict text)
   2180 {
   2181   // See if C++-style comments work.
   2182   // Iterate through items via the restricted pointer.
   2183   // Also check for declarations in for loops.
   2184   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2185     continue;
   2186   return 0;
   2187 }
   2188 
   2189 // Check varargs and va_copy.
   2190 static bool
   2191 test_varargs (const char *format, ...)
   2192 {
   2193   va_list args;
   2194   va_start (args, format);
   2195   va_list args_copy;
   2196   va_copy (args_copy, args);
   2197 
   2198   const char *str = "";
   2199   int number = 0;
   2200   float fnumber = 0;
   2201 
   2202   while (*format)
   2203     {
   2204       switch (*format++)
   2205 	{
   2206 	case '\''s'\'': // string
   2207 	  str = va_arg (args_copy, const char *);
   2208 	  break;
   2209 	case '\''d'\'': // int
   2210 	  number = va_arg (args_copy, int);
   2211 	  break;
   2212 	case '\''f'\'': // float
   2213 	  fnumber = va_arg (args_copy, double);
   2214 	  break;
   2215 	default:
   2216 	  break;
   2217 	}
   2218     }
   2219   va_end (args_copy);
   2220   va_end (args);
   2221 
   2222   return *str && number && fnumber;
   2223 }
   2224 '
   2225 
   2226 # Test code for whether the C compiler supports C99 (body of main).
   2227 ac_c_conftest_c99_main='
   2228   // Check bool.
   2229   _Bool success = false;
   2230   success |= (argc != 0);
   2231 
   2232   // Check restrict.
   2233   if (test_restrict ("String literal") == 0)
   2234     success = true;
   2235   char *restrict newvar = "Another string";
   2236 
   2237   // Check varargs.
   2238   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2239   test_varargs_macros ();
   2240 
   2241   // Check flexible array members.
   2242   struct incomplete_array *ia =
   2243     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2244   ia->datasize = 10;
   2245   for (int i = 0; i < ia->datasize; ++i)
   2246     ia->data[i] = i * 1.234;
   2247 
   2248   // Check named initializers.
   2249   struct named_init ni = {
   2250     .number = 34,
   2251     .name = L"Test wide string",
   2252     .average = 543.34343,
   2253   };
   2254 
   2255   ni.number = 58;
   2256 
   2257   int dynamic_array[ni.number];
   2258   dynamic_array[0] = argv[0][0];
   2259   dynamic_array[ni.number - 1] = 543;
   2260 
   2261   // work around unused variable warnings
   2262   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2263 	 || dynamic_array[ni.number - 1] != 543);
   2264 '
   2265 
   2266 # Test code for whether the C compiler supports C11 (global declarations)
   2267 ac_c_conftest_c11_globals='
   2268 // Does the compiler advertise C11 conformance?
   2269 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2270 # error "Compiler does not advertise C11 conformance"
   2271 #endif
   2272 
   2273 // Check _Alignas.
   2274 char _Alignas (double) aligned_as_double;
   2275 char _Alignas (0) no_special_alignment;
   2276 extern char aligned_as_int;
   2277 char _Alignas (0) _Alignas (int) aligned_as_int;
   2278 
   2279 // Check _Alignof.
   2280 enum
   2281 {
   2282   int_alignment = _Alignof (int),
   2283   int_array_alignment = _Alignof (int[100]),
   2284   char_alignment = _Alignof (char)
   2285 };
   2286 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2287 
   2288 // Check _Noreturn.
   2289 int _Noreturn does_not_return (void) { for (;;) continue; }
   2290 
   2291 // Check _Static_assert.
   2292 struct test_static_assert
   2293 {
   2294   int x;
   2295   _Static_assert (sizeof (int) <= sizeof (long int),
   2296                   "_Static_assert does not work in struct");
   2297   long int y;
   2298 };
   2299 
   2300 // Check UTF-8 literals.
   2301 #define u8 syntax error!
   2302 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2303 
   2304 // Check duplicate typedefs.
   2305 typedef long *long_ptr;
   2306 typedef long int *long_ptr;
   2307 typedef long_ptr long_ptr;
   2308 
   2309 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2310 struct anonymous
   2311 {
   2312   union {
   2313     struct { int i; int j; };
   2314     struct { int k; long int l; } w;
   2315   };
   2316   int m;
   2317 } v1;
   2318 '
   2319 
   2320 # Test code for whether the C compiler supports C11 (body of main).
   2321 ac_c_conftest_c11_main='
   2322   _Static_assert ((offsetof (struct anonymous, i)
   2323 		   == offsetof (struct anonymous, w.k)),
   2324 		  "Anonymous union alignment botch");
   2325   v1.i = 2;
   2326   v1.w.k = 5;
   2327   ok |= v1.i != 5;
   2328 '
   2329 
   2330 # Test code for whether the C compiler supports C11 (complete).
   2331 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2332 ${ac_c_conftest_c99_globals}
   2333 ${ac_c_conftest_c11_globals}
   2334 
   2335 int
   2336 main (int argc, char **argv)
   2337 {
   2338   int ok = 0;
   2339   ${ac_c_conftest_c89_main}
   2340   ${ac_c_conftest_c99_main}
   2341   ${ac_c_conftest_c11_main}
   2342   return ok;
   2343 }
   2344 "
   2345 
   2346 # Test code for whether the C compiler supports C99 (complete).
   2347 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2348 ${ac_c_conftest_c99_globals}
   2349 
   2350 int
   2351 main (int argc, char **argv)
   2352 {
   2353   int ok = 0;
   2354   ${ac_c_conftest_c89_main}
   2355   ${ac_c_conftest_c99_main}
   2356   return ok;
   2357 }
   2358 "
   2359 
   2360 # Test code for whether the C compiler supports C89 (complete).
   2361 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2362 
   2363 int
   2364 main (int argc, char **argv)
   2365 {
   2366   int ok = 0;
   2367   ${ac_c_conftest_c89_main}
   2368   return ok;
   2369 }
   2370 "
   2371 
   2372 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2373 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2374 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2375 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2376 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2377 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2378 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2379 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2380 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2381 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2382 
   2383 # Auxiliary files required by this configure script.
   2384 ac_aux_files="config.guess config.sub missing install-sh compile"
   2385 
   2386 # Locations in which to look for auxiliary files.
   2387 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2388 
   2389 # Search for a directory containing all of the required auxiliary files,
   2390 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2391 # If we don't find one directory that contains all the files we need,
   2392 # we report the set of missing files from the *first* directory in
   2393 # $ac_aux_dir_candidates and give up.
   2394 ac_missing_aux_files=""
   2395 ac_first_candidate=:
   2396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2398 as_found=false
   2399 for as_dir in $ac_aux_dir_candidates
   2400 do
   2401   IFS=$as_save_IFS
   2402   case $as_dir in #(((
   2403     '') as_dir=./ ;;
   2404     */) ;;
   2405     *) as_dir=$as_dir/ ;;
   2406   esac
   2407   as_found=:
   2408 
   2409   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2410   ac_aux_dir_found=yes
   2411   ac_install_sh=
   2412   for ac_aux in $ac_aux_files
   2413   do
   2414     # As a special case, if "install-sh" is required, that requirement
   2415     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2416     # and $ac_install_sh is set appropriately for whichever one is found.
   2417     if test x"$ac_aux" = x"install-sh"
   2418     then
   2419       if test -f "${as_dir}install-sh"; then
   2420         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2421         ac_install_sh="${as_dir}install-sh -c"
   2422       elif test -f "${as_dir}install.sh"; then
   2423         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2424         ac_install_sh="${as_dir}install.sh -c"
   2425       elif test -f "${as_dir}shtool"; then
   2426         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2427         ac_install_sh="${as_dir}shtool install -c"
   2428       else
   2429         ac_aux_dir_found=no
   2430         if $ac_first_candidate; then
   2431           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2432         else
   2433           break
   2434         fi
   2435       fi
   2436     else
   2437       if test -f "${as_dir}${ac_aux}"; then
   2438         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2439       else
   2440         ac_aux_dir_found=no
   2441         if $ac_first_candidate; then
   2442           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2443         else
   2444           break
   2445         fi
   2446       fi
   2447     fi
   2448   done
   2449   if test "$ac_aux_dir_found" = yes; then
   2450     ac_aux_dir="$as_dir"
   2451     break
   2452   fi
   2453   ac_first_candidate=false
   2454 
   2455   as_found=false
   2456 done
   2457 IFS=$as_save_IFS
   2458 if $as_found
   2459 then :
   2460 
   2461 else $as_nop
   2462   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2463 fi
   2464 
   2465 
   2466 # These three variables are undocumented and unsupported,
   2467 # and are intended to be withdrawn in a future Autoconf release.
   2468 # They can cause serious problems if a builder's source tree is in a directory
   2469 # whose full name contains unusual characters.
   2470 if test -f "${ac_aux_dir}config.guess"; then
   2471   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2472 fi
   2473 if test -f "${ac_aux_dir}config.sub"; then
   2474   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2475 fi
   2476 if test -f "$ac_aux_dir/configure"; then
   2477   ac_configure="$SHELL ${ac_aux_dir}configure"
   2478 fi
   2479 
   2480 # Check that the precious variables saved in the cache have kept the same
   2481 # value.
   2482 ac_cache_corrupted=false
   2483 for ac_var in $ac_precious_vars; do
   2484   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2485   eval ac_new_set=\$ac_env_${ac_var}_set
   2486   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2487   eval ac_new_val=\$ac_env_${ac_var}_value
   2488   case $ac_old_set,$ac_new_set in
   2489     set,)
   2490       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2491 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2492       ac_cache_corrupted=: ;;
   2493     ,set)
   2494       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2495 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2496       ac_cache_corrupted=: ;;
   2497     ,);;
   2498     *)
   2499       if test "x$ac_old_val" != "x$ac_new_val"; then
   2500 	# differences in whitespace do not lead to failure.
   2501 	ac_old_val_w=`echo x $ac_old_val`
   2502 	ac_new_val_w=`echo x $ac_new_val`
   2503 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2504 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2505 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2506 	  ac_cache_corrupted=:
   2507 	else
   2508 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2509 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2510 	  eval $ac_var=\$ac_old_val
   2511 	fi
   2512 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2513 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2514 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2515 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2516       fi;;
   2517   esac
   2518   # Pass precious variables to config.status.
   2519   if test "$ac_new_set" = set; then
   2520     case $ac_new_val in
   2521     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2522     *) ac_arg=$ac_var=$ac_new_val ;;
   2523     esac
   2524     case " $ac_configure_args " in
   2525       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2526       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2527     esac
   2528   fi
   2529 done
   2530 if $ac_cache_corrupted; then
   2531   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2532 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2533   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2534 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2535   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2536 	    and start over" "$LINENO" 5
   2537 fi
   2538 ## -------------------- ##
   2539 ## Main body of script. ##
   2540 ## -------------------- ##
   2541 
   2542 ac_ext=c
   2543 ac_cpp='$CPP $CPPFLAGS'
   2544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2547 
   2548 
   2549 
   2550 ac_config_headers="$ac_config_headers config.h"
   2551 
   2552 
   2553 
   2554 
   2555 
   2556 
   2557 
   2558 
   2559 
   2560 
   2561 
   2562 
   2563 # Expand $ac_aux_dir to an absolute path.
   2564 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2565 
   2566 ac_ext=c
   2567 ac_cpp='$CPP $CPPFLAGS'
   2568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2571 if test -n "$ac_tool_prefix"; then
   2572   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2573 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2575 printf %s "checking for $ac_word... " >&6; }
   2576 if test ${ac_cv_prog_CC+y}
   2577 then :
   2578   printf %s "(cached) " >&6
   2579 else $as_nop
   2580   if test -n "$CC"; then
   2581   ac_cv_prog_CC="$CC" # Let the user override the test.
   2582 else
   2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2584 for as_dir in $PATH
   2585 do
   2586   IFS=$as_save_IFS
   2587   case $as_dir in #(((
   2588     '') as_dir=./ ;;
   2589     */) ;;
   2590     *) as_dir=$as_dir/ ;;
   2591   esac
   2592     for ac_exec_ext in '' $ac_executable_extensions; do
   2593   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2594     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2595     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2596     break 2
   2597   fi
   2598 done
   2599   done
   2600 IFS=$as_save_IFS
   2601 
   2602 fi
   2603 fi
   2604 CC=$ac_cv_prog_CC
   2605 if test -n "$CC"; then
   2606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2607 printf "%s\n" "$CC" >&6; }
   2608 else
   2609   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2610 printf "%s\n" "no" >&6; }
   2611 fi
   2612 
   2613 
   2614 fi
   2615 if test -z "$ac_cv_prog_CC"; then
   2616   ac_ct_CC=$CC
   2617   # Extract the first word of "gcc", so it can be a program name with args.
   2618 set dummy gcc; ac_word=$2
   2619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2620 printf %s "checking for $ac_word... " >&6; }
   2621 if test ${ac_cv_prog_ac_ct_CC+y}
   2622 then :
   2623   printf %s "(cached) " >&6
   2624 else $as_nop
   2625   if test -n "$ac_ct_CC"; then
   2626   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2627 else
   2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2629 for as_dir in $PATH
   2630 do
   2631   IFS=$as_save_IFS
   2632   case $as_dir in #(((
   2633     '') as_dir=./ ;;
   2634     */) ;;
   2635     *) as_dir=$as_dir/ ;;
   2636   esac
   2637     for ac_exec_ext in '' $ac_executable_extensions; do
   2638   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2639     ac_cv_prog_ac_ct_CC="gcc"
   2640     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2641     break 2
   2642   fi
   2643 done
   2644   done
   2645 IFS=$as_save_IFS
   2646 
   2647 fi
   2648 fi
   2649 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2650 if test -n "$ac_ct_CC"; then
   2651   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2652 printf "%s\n" "$ac_ct_CC" >&6; }
   2653 else
   2654   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2655 printf "%s\n" "no" >&6; }
   2656 fi
   2657 
   2658   if test "x$ac_ct_CC" = x; then
   2659     CC=""
   2660   else
   2661     case $cross_compiling:$ac_tool_warned in
   2662 yes:)
   2663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2664 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2665 ac_tool_warned=yes ;;
   2666 esac
   2667     CC=$ac_ct_CC
   2668   fi
   2669 else
   2670   CC="$ac_cv_prog_CC"
   2671 fi
   2672 
   2673 if test -z "$CC"; then
   2674           if test -n "$ac_tool_prefix"; then
   2675     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2676 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2678 printf %s "checking for $ac_word... " >&6; }
   2679 if test ${ac_cv_prog_CC+y}
   2680 then :
   2681   printf %s "(cached) " >&6
   2682 else $as_nop
   2683   if test -n "$CC"; then
   2684   ac_cv_prog_CC="$CC" # Let the user override the test.
   2685 else
   2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2687 for as_dir in $PATH
   2688 do
   2689   IFS=$as_save_IFS
   2690   case $as_dir in #(((
   2691     '') as_dir=./ ;;
   2692     */) ;;
   2693     *) as_dir=$as_dir/ ;;
   2694   esac
   2695     for ac_exec_ext in '' $ac_executable_extensions; do
   2696   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2697     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2698     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2699     break 2
   2700   fi
   2701 done
   2702   done
   2703 IFS=$as_save_IFS
   2704 
   2705 fi
   2706 fi
   2707 CC=$ac_cv_prog_CC
   2708 if test -n "$CC"; then
   2709   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2710 printf "%s\n" "$CC" >&6; }
   2711 else
   2712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2713 printf "%s\n" "no" >&6; }
   2714 fi
   2715 
   2716 
   2717   fi
   2718 fi
   2719 if test -z "$CC"; then
   2720   # Extract the first word of "cc", so it can be a program name with args.
   2721 set dummy cc; ac_word=$2
   2722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2723 printf %s "checking for $ac_word... " >&6; }
   2724 if test ${ac_cv_prog_CC+y}
   2725 then :
   2726   printf %s "(cached) " >&6
   2727 else $as_nop
   2728   if test -n "$CC"; then
   2729   ac_cv_prog_CC="$CC" # Let the user override the test.
   2730 else
   2731   ac_prog_rejected=no
   2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2733 for as_dir in $PATH
   2734 do
   2735   IFS=$as_save_IFS
   2736   case $as_dir in #(((
   2737     '') as_dir=./ ;;
   2738     */) ;;
   2739     *) as_dir=$as_dir/ ;;
   2740   esac
   2741     for ac_exec_ext in '' $ac_executable_extensions; do
   2742   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2743     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2744        ac_prog_rejected=yes
   2745        continue
   2746      fi
   2747     ac_cv_prog_CC="cc"
   2748     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2749     break 2
   2750   fi
   2751 done
   2752   done
   2753 IFS=$as_save_IFS
   2754 
   2755 if test $ac_prog_rejected = yes; then
   2756   # We found a bogon in the path, so make sure we never use it.
   2757   set dummy $ac_cv_prog_CC
   2758   shift
   2759   if test $# != 0; then
   2760     # We chose a different compiler from the bogus one.
   2761     # However, it has the same basename, so the bogon will be chosen
   2762     # first if we set CC to just the basename; use the full file name.
   2763     shift
   2764     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2765   fi
   2766 fi
   2767 fi
   2768 fi
   2769 CC=$ac_cv_prog_CC
   2770 if test -n "$CC"; then
   2771   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2772 printf "%s\n" "$CC" >&6; }
   2773 else
   2774   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2775 printf "%s\n" "no" >&6; }
   2776 fi
   2777 
   2778 
   2779 fi
   2780 if test -z "$CC"; then
   2781   if test -n "$ac_tool_prefix"; then
   2782   for ac_prog in cl.exe
   2783   do
   2784     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2785 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2787 printf %s "checking for $ac_word... " >&6; }
   2788 if test ${ac_cv_prog_CC+y}
   2789 then :
   2790   printf %s "(cached) " >&6
   2791 else $as_nop
   2792   if test -n "$CC"; then
   2793   ac_cv_prog_CC="$CC" # Let the user override the test.
   2794 else
   2795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2796 for as_dir in $PATH
   2797 do
   2798   IFS=$as_save_IFS
   2799   case $as_dir in #(((
   2800     '') as_dir=./ ;;
   2801     */) ;;
   2802     *) as_dir=$as_dir/ ;;
   2803   esac
   2804     for ac_exec_ext in '' $ac_executable_extensions; do
   2805   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2806     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2807     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2808     break 2
   2809   fi
   2810 done
   2811   done
   2812 IFS=$as_save_IFS
   2813 
   2814 fi
   2815 fi
   2816 CC=$ac_cv_prog_CC
   2817 if test -n "$CC"; then
   2818   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2819 printf "%s\n" "$CC" >&6; }
   2820 else
   2821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2822 printf "%s\n" "no" >&6; }
   2823 fi
   2824 
   2825 
   2826     test -n "$CC" && break
   2827   done
   2828 fi
   2829 if test -z "$CC"; then
   2830   ac_ct_CC=$CC
   2831   for ac_prog in cl.exe
   2832 do
   2833   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2834 set dummy $ac_prog; ac_word=$2
   2835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2836 printf %s "checking for $ac_word... " >&6; }
   2837 if test ${ac_cv_prog_ac_ct_CC+y}
   2838 then :
   2839   printf %s "(cached) " >&6
   2840 else $as_nop
   2841   if test -n "$ac_ct_CC"; then
   2842   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2843 else
   2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2845 for as_dir in $PATH
   2846 do
   2847   IFS=$as_save_IFS
   2848   case $as_dir in #(((
   2849     '') as_dir=./ ;;
   2850     */) ;;
   2851     *) as_dir=$as_dir/ ;;
   2852   esac
   2853     for ac_exec_ext in '' $ac_executable_extensions; do
   2854   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2855     ac_cv_prog_ac_ct_CC="$ac_prog"
   2856     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2857     break 2
   2858   fi
   2859 done
   2860   done
   2861 IFS=$as_save_IFS
   2862 
   2863 fi
   2864 fi
   2865 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2866 if test -n "$ac_ct_CC"; then
   2867   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2868 printf "%s\n" "$ac_ct_CC" >&6; }
   2869 else
   2870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2871 printf "%s\n" "no" >&6; }
   2872 fi
   2873 
   2874 
   2875   test -n "$ac_ct_CC" && break
   2876 done
   2877 
   2878   if test "x$ac_ct_CC" = x; then
   2879     CC=""
   2880   else
   2881     case $cross_compiling:$ac_tool_warned in
   2882 yes:)
   2883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2884 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2885 ac_tool_warned=yes ;;
   2886 esac
   2887     CC=$ac_ct_CC
   2888   fi
   2889 fi
   2890 
   2891 fi
   2892 if test -z "$CC"; then
   2893   if test -n "$ac_tool_prefix"; then
   2894   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   2895 set dummy ${ac_tool_prefix}clang; ac_word=$2
   2896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2897 printf %s "checking for $ac_word... " >&6; }
   2898 if test ${ac_cv_prog_CC+y}
   2899 then :
   2900   printf %s "(cached) " >&6
   2901 else $as_nop
   2902   if test -n "$CC"; then
   2903   ac_cv_prog_CC="$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   case $as_dir in #(((
   2910     '') as_dir=./ ;;
   2911     */) ;;
   2912     *) as_dir=$as_dir/ ;;
   2913   esac
   2914     for ac_exec_ext in '' $ac_executable_extensions; do
   2915   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2916     ac_cv_prog_CC="${ac_tool_prefix}clang"
   2917     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2918     break 2
   2919   fi
   2920 done
   2921   done
   2922 IFS=$as_save_IFS
   2923 
   2924 fi
   2925 fi
   2926 CC=$ac_cv_prog_CC
   2927 if test -n "$CC"; then
   2928   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2929 printf "%s\n" "$CC" >&6; }
   2930 else
   2931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2932 printf "%s\n" "no" >&6; }
   2933 fi
   2934 
   2935 
   2936 fi
   2937 if test -z "$ac_cv_prog_CC"; then
   2938   ac_ct_CC=$CC
   2939   # Extract the first word of "clang", so it can be a program name with args.
   2940 set dummy clang; ac_word=$2
   2941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2942 printf %s "checking for $ac_word... " >&6; }
   2943 if test ${ac_cv_prog_ac_ct_CC+y}
   2944 then :
   2945   printf %s "(cached) " >&6
   2946 else $as_nop
   2947   if test -n "$ac_ct_CC"; then
   2948   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2949 else
   2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2951 for as_dir in $PATH
   2952 do
   2953   IFS=$as_save_IFS
   2954   case $as_dir in #(((
   2955     '') as_dir=./ ;;
   2956     */) ;;
   2957     *) as_dir=$as_dir/ ;;
   2958   esac
   2959     for ac_exec_ext in '' $ac_executable_extensions; do
   2960   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2961     ac_cv_prog_ac_ct_CC="clang"
   2962     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2963     break 2
   2964   fi
   2965 done
   2966   done
   2967 IFS=$as_save_IFS
   2968 
   2969 fi
   2970 fi
   2971 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2972 if test -n "$ac_ct_CC"; then
   2973   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2974 printf "%s\n" "$ac_ct_CC" >&6; }
   2975 else
   2976   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2977 printf "%s\n" "no" >&6; }
   2978 fi
   2979 
   2980   if test "x$ac_ct_CC" = x; then
   2981     CC=""
   2982   else
   2983     case $cross_compiling:$ac_tool_warned in
   2984 yes:)
   2985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2986 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2987 ac_tool_warned=yes ;;
   2988 esac
   2989     CC=$ac_ct_CC
   2990   fi
   2991 else
   2992   CC="$ac_cv_prog_CC"
   2993 fi
   2994 
   2995 fi
   2996 
   2997 
   2998 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2999 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3000 as_fn_error $? "no acceptable C compiler found in \$PATH
   3001 See \`config.log' for more details" "$LINENO" 5; }
   3002 
   3003 # Provide some information about the compiler.
   3004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3005 set X $ac_compile
   3006 ac_compiler=$2
   3007 for ac_option in --version -v -V -qversion -version; do
   3008   { { ac_try="$ac_compiler $ac_option >&5"
   3009 case "(($ac_try" in
   3010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3011   *) ac_try_echo=$ac_try;;
   3012 esac
   3013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3014 printf "%s\n" "$ac_try_echo"; } >&5
   3015   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3016   ac_status=$?
   3017   if test -s conftest.err; then
   3018     sed '10a\
   3019 ... rest of stderr output deleted ...
   3020          10q' conftest.err >conftest.er1
   3021     cat conftest.er1 >&5
   3022   fi
   3023   rm -f conftest.er1 conftest.err
   3024   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3025   test $ac_status = 0; }
   3026 done
   3027 
   3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3029 /* end confdefs.h.  */
   3030 
   3031 int
   3032 main (void)
   3033 {
   3034 
   3035   ;
   3036   return 0;
   3037 }
   3038 _ACEOF
   3039 ac_clean_files_save=$ac_clean_files
   3040 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3041 # Try to create an executable without -o first, disregard a.out.
   3042 # It will help us diagnose broken compilers, and finding out an intuition
   3043 # of exeext.
   3044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3045 printf %s "checking whether the C compiler works... " >&6; }
   3046 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3047 
   3048 # The possible output files:
   3049 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3050 
   3051 ac_rmfiles=
   3052 for ac_file in $ac_files
   3053 do
   3054   case $ac_file in
   3055     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3056     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3057   esac
   3058 done
   3059 rm -f $ac_rmfiles
   3060 
   3061 if { { ac_try="$ac_link_default"
   3062 case "(($ac_try" in
   3063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3064   *) ac_try_echo=$ac_try;;
   3065 esac
   3066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3067 printf "%s\n" "$ac_try_echo"; } >&5
   3068   (eval "$ac_link_default") 2>&5
   3069   ac_status=$?
   3070   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3071   test $ac_status = 0; }
   3072 then :
   3073   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3074 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3075 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3076 # so that the user can short-circuit this test for compilers unknown to
   3077 # Autoconf.
   3078 for ac_file in $ac_files ''
   3079 do
   3080   test -f "$ac_file" || continue
   3081   case $ac_file in
   3082     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3083 	;;
   3084     [ab].out )
   3085 	# We found the default executable, but exeext='' is most
   3086 	# certainly right.
   3087 	break;;
   3088     *.* )
   3089 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3090 	then :; else
   3091 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3092 	fi
   3093 	# We set ac_cv_exeext here because the later test for it is not
   3094 	# safe: cross compilers may not add the suffix if given an `-o'
   3095 	# argument, so we may need to know it at that point already.
   3096 	# Even if this section looks crufty: it has the advantage of
   3097 	# actually working.
   3098 	break;;
   3099     * )
   3100 	break;;
   3101   esac
   3102 done
   3103 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3104 
   3105 else $as_nop
   3106   ac_file=''
   3107 fi
   3108 if test -z "$ac_file"
   3109 then :
   3110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3111 printf "%s\n" "no" >&6; }
   3112 printf "%s\n" "$as_me: failed program was:" >&5
   3113 sed 's/^/| /' conftest.$ac_ext >&5
   3114 
   3115 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3116 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3117 as_fn_error 77 "C compiler cannot create executables
   3118 See \`config.log' for more details" "$LINENO" 5; }
   3119 else $as_nop
   3120   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3121 printf "%s\n" "yes" >&6; }
   3122 fi
   3123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3124 printf %s "checking for C compiler default output file name... " >&6; }
   3125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3126 printf "%s\n" "$ac_file" >&6; }
   3127 ac_exeext=$ac_cv_exeext
   3128 
   3129 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3130 ac_clean_files=$ac_clean_files_save
   3131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3132 printf %s "checking for suffix of executables... " >&6; }
   3133 if { { ac_try="$ac_link"
   3134 case "(($ac_try" in
   3135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3136   *) ac_try_echo=$ac_try;;
   3137 esac
   3138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3139 printf "%s\n" "$ac_try_echo"; } >&5
   3140   (eval "$ac_link") 2>&5
   3141   ac_status=$?
   3142   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3143   test $ac_status = 0; }
   3144 then :
   3145   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3146 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3147 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3148 # `rm'.
   3149 for ac_file in conftest.exe conftest conftest.*; do
   3150   test -f "$ac_file" || continue
   3151   case $ac_file in
   3152     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3153     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3154 	  break;;
   3155     * ) break;;
   3156   esac
   3157 done
   3158 else $as_nop
   3159   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3160 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3161 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3162 See \`config.log' for more details" "$LINENO" 5; }
   3163 fi
   3164 rm -f conftest conftest$ac_cv_exeext
   3165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3166 printf "%s\n" "$ac_cv_exeext" >&6; }
   3167 
   3168 rm -f conftest.$ac_ext
   3169 EXEEXT=$ac_cv_exeext
   3170 ac_exeext=$EXEEXT
   3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3172 /* end confdefs.h.  */
   3173 #include <stdio.h>
   3174 int
   3175 main (void)
   3176 {
   3177 FILE *f = fopen ("conftest.out", "w");
   3178  return ferror (f) || fclose (f) != 0;
   3179 
   3180   ;
   3181   return 0;
   3182 }
   3183 _ACEOF
   3184 ac_clean_files="$ac_clean_files conftest.out"
   3185 # Check that the compiler produces executables we can run.  If not, either
   3186 # the compiler is broken, or we cross compile.
   3187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3188 printf %s "checking whether we are cross compiling... " >&6; }
   3189 if test "$cross_compiling" != yes; then
   3190   { { ac_try="$ac_link"
   3191 case "(($ac_try" in
   3192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3193   *) ac_try_echo=$ac_try;;
   3194 esac
   3195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3196 printf "%s\n" "$ac_try_echo"; } >&5
   3197   (eval "$ac_link") 2>&5
   3198   ac_status=$?
   3199   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3200   test $ac_status = 0; }
   3201   if { ac_try='./conftest$ac_cv_exeext'
   3202   { { case "(($ac_try" in
   3203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3204   *) ac_try_echo=$ac_try;;
   3205 esac
   3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3207 printf "%s\n" "$ac_try_echo"; } >&5
   3208   (eval "$ac_try") 2>&5
   3209   ac_status=$?
   3210   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3211   test $ac_status = 0; }; }; then
   3212     cross_compiling=no
   3213   else
   3214     if test "$cross_compiling" = maybe; then
   3215 	cross_compiling=yes
   3216     else
   3217 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3218 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3219 as_fn_error 77 "cannot run C compiled programs.
   3220 If you meant to cross compile, use \`--host'.
   3221 See \`config.log' for more details" "$LINENO" 5; }
   3222     fi
   3223   fi
   3224 fi
   3225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3226 printf "%s\n" "$cross_compiling" >&6; }
   3227 
   3228 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3229 ac_clean_files=$ac_clean_files_save
   3230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3231 printf %s "checking for suffix of object files... " >&6; }
   3232 if test ${ac_cv_objext+y}
   3233 then :
   3234   printf %s "(cached) " >&6
   3235 else $as_nop
   3236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3237 /* end confdefs.h.  */
   3238 
   3239 int
   3240 main (void)
   3241 {
   3242 
   3243   ;
   3244   return 0;
   3245 }
   3246 _ACEOF
   3247 rm -f conftest.o conftest.obj
   3248 if { { ac_try="$ac_compile"
   3249 case "(($ac_try" in
   3250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3251   *) ac_try_echo=$ac_try;;
   3252 esac
   3253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3254 printf "%s\n" "$ac_try_echo"; } >&5
   3255   (eval "$ac_compile") 2>&5
   3256   ac_status=$?
   3257   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3258   test $ac_status = 0; }
   3259 then :
   3260   for ac_file in conftest.o conftest.obj conftest.*; do
   3261   test -f "$ac_file" || continue;
   3262   case $ac_file in
   3263     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3264     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3265        break;;
   3266   esac
   3267 done
   3268 else $as_nop
   3269   printf "%s\n" "$as_me: failed program was:" >&5
   3270 sed 's/^/| /' conftest.$ac_ext >&5
   3271 
   3272 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3273 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3274 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3275 See \`config.log' for more details" "$LINENO" 5; }
   3276 fi
   3277 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3278 fi
   3279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3280 printf "%s\n" "$ac_cv_objext" >&6; }
   3281 OBJEXT=$ac_cv_objext
   3282 ac_objext=$OBJEXT
   3283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3284 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3285 if test ${ac_cv_c_compiler_gnu+y}
   3286 then :
   3287   printf %s "(cached) " >&6
   3288 else $as_nop
   3289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3290 /* end confdefs.h.  */
   3291 
   3292 int
   3293 main (void)
   3294 {
   3295 #ifndef __GNUC__
   3296        choke me
   3297 #endif
   3298 
   3299   ;
   3300   return 0;
   3301 }
   3302 _ACEOF
   3303 if ac_fn_c_try_compile "$LINENO"
   3304 then :
   3305   ac_compiler_gnu=yes
   3306 else $as_nop
   3307   ac_compiler_gnu=no
   3308 fi
   3309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3310 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3311 
   3312 fi
   3313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3314 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3316 
   3317 if test $ac_compiler_gnu = yes; then
   3318   GCC=yes
   3319 else
   3320   GCC=
   3321 fi
   3322 ac_test_CFLAGS=${CFLAGS+y}
   3323 ac_save_CFLAGS=$CFLAGS
   3324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3325 printf %s "checking whether $CC accepts -g... " >&6; }
   3326 if test ${ac_cv_prog_cc_g+y}
   3327 then :
   3328   printf %s "(cached) " >&6
   3329 else $as_nop
   3330   ac_save_c_werror_flag=$ac_c_werror_flag
   3331    ac_c_werror_flag=yes
   3332    ac_cv_prog_cc_g=no
   3333    CFLAGS="-g"
   3334    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3335 /* end confdefs.h.  */
   3336 
   3337 int
   3338 main (void)
   3339 {
   3340 
   3341   ;
   3342   return 0;
   3343 }
   3344 _ACEOF
   3345 if ac_fn_c_try_compile "$LINENO"
   3346 then :
   3347   ac_cv_prog_cc_g=yes
   3348 else $as_nop
   3349   CFLAGS=""
   3350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3351 /* end confdefs.h.  */
   3352 
   3353 int
   3354 main (void)
   3355 {
   3356 
   3357   ;
   3358   return 0;
   3359 }
   3360 _ACEOF
   3361 if ac_fn_c_try_compile "$LINENO"
   3362 then :
   3363 
   3364 else $as_nop
   3365   ac_c_werror_flag=$ac_save_c_werror_flag
   3366 	 CFLAGS="-g"
   3367 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3368 /* end confdefs.h.  */
   3369 
   3370 int
   3371 main (void)
   3372 {
   3373 
   3374   ;
   3375   return 0;
   3376 }
   3377 _ACEOF
   3378 if ac_fn_c_try_compile "$LINENO"
   3379 then :
   3380   ac_cv_prog_cc_g=yes
   3381 fi
   3382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3383 fi
   3384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3385 fi
   3386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3387    ac_c_werror_flag=$ac_save_c_werror_flag
   3388 fi
   3389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3390 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3391 if test $ac_test_CFLAGS; then
   3392   CFLAGS=$ac_save_CFLAGS
   3393 elif test $ac_cv_prog_cc_g = yes; then
   3394   if test "$GCC" = yes; then
   3395     CFLAGS="-g -O2"
   3396   else
   3397     CFLAGS="-g"
   3398   fi
   3399 else
   3400   if test "$GCC" = yes; then
   3401     CFLAGS="-O2"
   3402   else
   3403     CFLAGS=
   3404   fi
   3405 fi
   3406 ac_prog_cc_stdc=no
   3407 if test x$ac_prog_cc_stdc = xno
   3408 then :
   3409   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3410 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3411 if test ${ac_cv_prog_cc_c11+y}
   3412 then :
   3413   printf %s "(cached) " >&6
   3414 else $as_nop
   3415   ac_cv_prog_cc_c11=no
   3416 ac_save_CC=$CC
   3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3418 /* end confdefs.h.  */
   3419 $ac_c_conftest_c11_program
   3420 _ACEOF
   3421 for ac_arg in '' -std=gnu11
   3422 do
   3423   CC="$ac_save_CC $ac_arg"
   3424   if ac_fn_c_try_compile "$LINENO"
   3425 then :
   3426   ac_cv_prog_cc_c11=$ac_arg
   3427 fi
   3428 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3429   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3430 done
   3431 rm -f conftest.$ac_ext
   3432 CC=$ac_save_CC
   3433 fi
   3434 
   3435 if test "x$ac_cv_prog_cc_c11" = xno
   3436 then :
   3437   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3438 printf "%s\n" "unsupported" >&6; }
   3439 else $as_nop
   3440   if test "x$ac_cv_prog_cc_c11" = x
   3441 then :
   3442   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3443 printf "%s\n" "none needed" >&6; }
   3444 else $as_nop
   3445   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3446 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3447      CC="$CC $ac_cv_prog_cc_c11"
   3448 fi
   3449   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3450   ac_prog_cc_stdc=c11
   3451 fi
   3452 fi
   3453 if test x$ac_prog_cc_stdc = xno
   3454 then :
   3455   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3456 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3457 if test ${ac_cv_prog_cc_c99+y}
   3458 then :
   3459   printf %s "(cached) " >&6
   3460 else $as_nop
   3461   ac_cv_prog_cc_c99=no
   3462 ac_save_CC=$CC
   3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3464 /* end confdefs.h.  */
   3465 $ac_c_conftest_c99_program
   3466 _ACEOF
   3467 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3468 do
   3469   CC="$ac_save_CC $ac_arg"
   3470   if ac_fn_c_try_compile "$LINENO"
   3471 then :
   3472   ac_cv_prog_cc_c99=$ac_arg
   3473 fi
   3474 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3475   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3476 done
   3477 rm -f conftest.$ac_ext
   3478 CC=$ac_save_CC
   3479 fi
   3480 
   3481 if test "x$ac_cv_prog_cc_c99" = xno
   3482 then :
   3483   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3484 printf "%s\n" "unsupported" >&6; }
   3485 else $as_nop
   3486   if test "x$ac_cv_prog_cc_c99" = x
   3487 then :
   3488   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3489 printf "%s\n" "none needed" >&6; }
   3490 else $as_nop
   3491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3492 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3493      CC="$CC $ac_cv_prog_cc_c99"
   3494 fi
   3495   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3496   ac_prog_cc_stdc=c99
   3497 fi
   3498 fi
   3499 if test x$ac_prog_cc_stdc = xno
   3500 then :
   3501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3502 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3503 if test ${ac_cv_prog_cc_c89+y}
   3504 then :
   3505   printf %s "(cached) " >&6
   3506 else $as_nop
   3507   ac_cv_prog_cc_c89=no
   3508 ac_save_CC=$CC
   3509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3510 /* end confdefs.h.  */
   3511 $ac_c_conftest_c89_program
   3512 _ACEOF
   3513 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3514 do
   3515   CC="$ac_save_CC $ac_arg"
   3516   if ac_fn_c_try_compile "$LINENO"
   3517 then :
   3518   ac_cv_prog_cc_c89=$ac_arg
   3519 fi
   3520 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3521   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3522 done
   3523 rm -f conftest.$ac_ext
   3524 CC=$ac_save_CC
   3525 fi
   3526 
   3527 if test "x$ac_cv_prog_cc_c89" = xno
   3528 then :
   3529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3530 printf "%s\n" "unsupported" >&6; }
   3531 else $as_nop
   3532   if test "x$ac_cv_prog_cc_c89" = x
   3533 then :
   3534   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3535 printf "%s\n" "none needed" >&6; }
   3536 else $as_nop
   3537   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3538 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3539      CC="$CC $ac_cv_prog_cc_c89"
   3540 fi
   3541   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3542   ac_prog_cc_stdc=c89
   3543 fi
   3544 fi
   3545 
   3546 ac_ext=c
   3547 ac_cpp='$CPP $CPPFLAGS'
   3548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3551 
   3552 
   3553   ac_ext=c
   3554 ac_cpp='$CPP $CPPFLAGS'
   3555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3559 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3560 if test ${am_cv_prog_cc_c_o+y}
   3561 then :
   3562   printf %s "(cached) " >&6
   3563 else $as_nop
   3564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3565 /* end confdefs.h.  */
   3566 
   3567 int
   3568 main (void)
   3569 {
   3570 
   3571   ;
   3572   return 0;
   3573 }
   3574 _ACEOF
   3575   # Make sure it works both with $CC and with simple cc.
   3576   # Following AC_PROG_CC_C_O, we do the test twice because some
   3577   # compilers refuse to overwrite an existing .o file with -o,
   3578   # though they will create one.
   3579   am_cv_prog_cc_c_o=yes
   3580   for am_i in 1 2; do
   3581     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3582    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3583    ac_status=$?
   3584    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3585    (exit $ac_status); } \
   3586          && test -f conftest2.$ac_objext; then
   3587       : OK
   3588     else
   3589       am_cv_prog_cc_c_o=no
   3590       break
   3591     fi
   3592   done
   3593   rm -f core conftest*
   3594   unset am_i
   3595 fi
   3596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3597 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3598 if test "$am_cv_prog_cc_c_o" != yes; then
   3599    # Losing compiler, so override with the script.
   3600    # FIXME: It is wrong to rewrite CC.
   3601    # But if we don't then we get into trouble of one sort or another.
   3602    # A longer-term fix would be to have automake use am__CC in this case,
   3603    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3604    CC="$am_aux_dir/compile $CC"
   3605 fi
   3606 ac_ext=c
   3607 ac_cpp='$CPP $CPPFLAGS'
   3608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3611 
   3612 
   3613 
   3614 ac_header= ac_cache=
   3615 for ac_item in $ac_header_c_list
   3616 do
   3617   if test $ac_cache; then
   3618     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3619     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3620       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3621     fi
   3622     ac_header= ac_cache=
   3623   elif test $ac_header; then
   3624     ac_cache=$ac_item
   3625   else
   3626     ac_header=$ac_item
   3627   fi
   3628 done
   3629 
   3630 
   3631 
   3632 
   3633 
   3634 
   3635 
   3636 
   3637 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3638 then :
   3639 
   3640 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3641 
   3642 fi
   3643 
   3644 
   3645 
   3646 
   3647 
   3648 
   3649   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3650 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3651 if test ${ac_cv_safe_to_define___extensions__+y}
   3652 then :
   3653   printf %s "(cached) " >&6
   3654 else $as_nop
   3655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3656 /* end confdefs.h.  */
   3657 
   3658 #         define __EXTENSIONS__ 1
   3659           $ac_includes_default
   3660 int
   3661 main (void)
   3662 {
   3663 
   3664   ;
   3665   return 0;
   3666 }
   3667 _ACEOF
   3668 if ac_fn_c_try_compile "$LINENO"
   3669 then :
   3670   ac_cv_safe_to_define___extensions__=yes
   3671 else $as_nop
   3672   ac_cv_safe_to_define___extensions__=no
   3673 fi
   3674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3675 fi
   3676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3677 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3678 
   3679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3680 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3681 if test ${ac_cv_should_define__xopen_source+y}
   3682 then :
   3683   printf %s "(cached) " >&6
   3684 else $as_nop
   3685   ac_cv_should_define__xopen_source=no
   3686     if test $ac_cv_header_wchar_h = yes
   3687 then :
   3688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3689 /* end confdefs.h.  */
   3690 
   3691           #include <wchar.h>
   3692           mbstate_t x;
   3693 int
   3694 main (void)
   3695 {
   3696 
   3697   ;
   3698   return 0;
   3699 }
   3700 _ACEOF
   3701 if ac_fn_c_try_compile "$LINENO"
   3702 then :
   3703 
   3704 else $as_nop
   3705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3706 /* end confdefs.h.  */
   3707 
   3708             #define _XOPEN_SOURCE 500
   3709             #include <wchar.h>
   3710             mbstate_t x;
   3711 int
   3712 main (void)
   3713 {
   3714 
   3715   ;
   3716   return 0;
   3717 }
   3718 _ACEOF
   3719 if ac_fn_c_try_compile "$LINENO"
   3720 then :
   3721   ac_cv_should_define__xopen_source=yes
   3722 fi
   3723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3724 fi
   3725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3726 fi
   3727 fi
   3728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3729 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   3730 
   3731   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   3732 
   3733   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3734 
   3735   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   3736 
   3737   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3738 
   3739   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   3740 
   3741   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   3742 
   3743   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3744 
   3745   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   3746 
   3747   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   3748 
   3749   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   3750 
   3751   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   3752 
   3753   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   3754 
   3755   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   3756 
   3757   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   3758 
   3759   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   3760 
   3761   if test $ac_cv_header_minix_config_h = yes
   3762 then :
   3763   MINIX=yes
   3764     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   3765 
   3766     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   3767 
   3768     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3769 
   3770 else $as_nop
   3771   MINIX=
   3772 fi
   3773   if test $ac_cv_safe_to_define___extensions__ = yes
   3774 then :
   3775   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   3776 
   3777 fi
   3778   if test $ac_cv_should_define__xopen_source = yes
   3779 then :
   3780   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   3781 
   3782 fi
   3783 
   3784 
   3785 # Initialize Automake
   3786 am__api_version='1.16'
   3787 
   3788 
   3789   # Find a good install program.  We prefer a C program (faster),
   3790 # so one script is as good as another.  But avoid the broken or
   3791 # incompatible versions:
   3792 # SysV /etc/install, /usr/sbin/install
   3793 # SunOS /usr/etc/install
   3794 # IRIX /sbin/install
   3795 # AIX /bin/install
   3796 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3797 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3798 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3799 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3800 # OS/2's system install, which has a completely different semantic
   3801 # ./install, which can be erroneously created by make from ./install.sh.
   3802 # Reject install programs that cannot install multiple files.
   3803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3804 printf %s "checking for a BSD-compatible install... " >&6; }
   3805 if test -z "$INSTALL"; then
   3806 if test ${ac_cv_path_install+y}
   3807 then :
   3808   printf %s "(cached) " >&6
   3809 else $as_nop
   3810   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3811 for as_dir in $PATH
   3812 do
   3813   IFS=$as_save_IFS
   3814   case $as_dir in #(((
   3815     '') as_dir=./ ;;
   3816     */) ;;
   3817     *) as_dir=$as_dir/ ;;
   3818   esac
   3819     # Account for fact that we put trailing slashes in our PATH walk.
   3820 case $as_dir in #((
   3821   ./ | /[cC]/* | \
   3822   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3823   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3824   /usr/ucb/* ) ;;
   3825   *)
   3826     # OSF1 and SCO ODT 3.0 have their own names for install.
   3827     # Don't use installbsd from OSF since it installs stuff as root
   3828     # by default.
   3829     for ac_prog in ginstall scoinst install; do
   3830       for ac_exec_ext in '' $ac_executable_extensions; do
   3831 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3832 	  if test $ac_prog = install &&
   3833 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3834 	    # AIX install.  It has an incompatible calling convention.
   3835 	    :
   3836 	  elif test $ac_prog = install &&
   3837 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3838 	    # program-specific install script used by HP pwplus--don't use.
   3839 	    :
   3840 	  else
   3841 	    rm -rf conftest.one conftest.two conftest.dir
   3842 	    echo one > conftest.one
   3843 	    echo two > conftest.two
   3844 	    mkdir conftest.dir
   3845 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3846 	      test -s conftest.one && test -s conftest.two &&
   3847 	      test -s conftest.dir/conftest.one &&
   3848 	      test -s conftest.dir/conftest.two
   3849 	    then
   3850 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3851 	      break 3
   3852 	    fi
   3853 	  fi
   3854 	fi
   3855       done
   3856     done
   3857     ;;
   3858 esac
   3859 
   3860   done
   3861 IFS=$as_save_IFS
   3862 
   3863 rm -rf conftest.one conftest.two conftest.dir
   3864 
   3865 fi
   3866   if test ${ac_cv_path_install+y}; then
   3867     INSTALL=$ac_cv_path_install
   3868   else
   3869     # As a last resort, use the slow shell script.  Don't cache a
   3870     # value for INSTALL within a source directory, because that will
   3871     # break other packages using the cache if that directory is
   3872     # removed, or if the value is a relative name.
   3873     INSTALL=$ac_install_sh
   3874   fi
   3875 fi
   3876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3877 printf "%s\n" "$INSTALL" >&6; }
   3878 
   3879 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3880 # It thinks the first close brace ends the variable substitution.
   3881 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3882 
   3883 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3884 
   3885 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3886 
   3887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3888 printf %s "checking whether build environment is sane... " >&6; }
   3889 # Reject unsafe characters in $srcdir or the absolute working directory
   3890 # name.  Accept space and tab only in the latter.
   3891 am_lf='
   3892 '
   3893 case `pwd` in
   3894   *[\\\"\#\$\&\'\`$am_lf]*)
   3895     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3896 esac
   3897 case $srcdir in
   3898   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3899     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3900 esac
   3901 
   3902 # Do 'set' in a subshell so we don't clobber the current shell's
   3903 # arguments.  Must try -L first in case configure is actually a
   3904 # symlink; some systems play weird games with the mod time of symlinks
   3905 # (eg FreeBSD returns the mod time of the symlink's containing
   3906 # directory).
   3907 if (
   3908    am_has_slept=no
   3909    for am_try in 1 2; do
   3910      echo "timestamp, slept: $am_has_slept" > conftest.file
   3911      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3912      if test "$*" = "X"; then
   3913 	# -L didn't work.
   3914 	set X `ls -t "$srcdir/configure" conftest.file`
   3915      fi
   3916      if test "$*" != "X $srcdir/configure conftest.file" \
   3917 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3918 
   3919 	# If neither matched, then we have a broken ls.  This can happen
   3920 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3921 	# broken ls alias from the environment.  This has actually
   3922 	# happened.  Such a system could not be considered "sane".
   3923 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3924   alias in your environment" "$LINENO" 5
   3925      fi
   3926      if test "$2" = conftest.file || test $am_try -eq 2; then
   3927        break
   3928      fi
   3929      # Just in case.
   3930      sleep 1
   3931      am_has_slept=yes
   3932    done
   3933    test "$2" = conftest.file
   3934    )
   3935 then
   3936    # Ok.
   3937    :
   3938 else
   3939    as_fn_error $? "newly created file is older than distributed files!
   3940 Check your system clock" "$LINENO" 5
   3941 fi
   3942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3943 printf "%s\n" "yes" >&6; }
   3944 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3945 # generated files are strictly newer.
   3946 am_sleep_pid=
   3947 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3948   ( sleep 1 ) &
   3949   am_sleep_pid=$!
   3950 fi
   3951 
   3952 rm -f conftest.file
   3953 
   3954 test "$program_prefix" != NONE &&
   3955   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3956 # Use a double $ so make ignores it.
   3957 test "$program_suffix" != NONE &&
   3958   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3959 # Double any \ or $.
   3960 # By default was `s,x,x', remove it if useless.
   3961 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3962 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3963 
   3964 
   3965   if test x"${MISSING+set}" != xset; then
   3966   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3967 fi
   3968 # Use eval to expand $SHELL
   3969 if eval "$MISSING --is-lightweight"; then
   3970   am_missing_run="$MISSING "
   3971 else
   3972   am_missing_run=
   3973   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3974 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3975 fi
   3976 
   3977 if test x"${install_sh+set}" != xset; then
   3978   case $am_aux_dir in
   3979   *\ * | *\	*)
   3980     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3981   *)
   3982     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3983   esac
   3984 fi
   3985 
   3986 # Installed binaries are usually stripped using 'strip' when the user
   3987 # run "make install-strip".  However 'strip' might not be the right
   3988 # tool to use in cross-compilation environments, therefore Automake
   3989 # will honor the 'STRIP' environment variable to overrule this program.
   3990 if test "$cross_compiling" != no; then
   3991   if test -n "$ac_tool_prefix"; then
   3992   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3993 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3995 printf %s "checking for $ac_word... " >&6; }
   3996 if test ${ac_cv_prog_STRIP+y}
   3997 then :
   3998   printf %s "(cached) " >&6
   3999 else $as_nop
   4000   if test -n "$STRIP"; then
   4001   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4002 else
   4003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4004 for as_dir in $PATH
   4005 do
   4006   IFS=$as_save_IFS
   4007   case $as_dir in #(((
   4008     '') as_dir=./ ;;
   4009     */) ;;
   4010     *) as_dir=$as_dir/ ;;
   4011   esac
   4012     for ac_exec_ext in '' $ac_executable_extensions; do
   4013   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4014     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4015     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4016     break 2
   4017   fi
   4018 done
   4019   done
   4020 IFS=$as_save_IFS
   4021 
   4022 fi
   4023 fi
   4024 STRIP=$ac_cv_prog_STRIP
   4025 if test -n "$STRIP"; then
   4026   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4027 printf "%s\n" "$STRIP" >&6; }
   4028 else
   4029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4030 printf "%s\n" "no" >&6; }
   4031 fi
   4032 
   4033 
   4034 fi
   4035 if test -z "$ac_cv_prog_STRIP"; then
   4036   ac_ct_STRIP=$STRIP
   4037   # Extract the first word of "strip", so it can be a program name with args.
   4038 set dummy strip; ac_word=$2
   4039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4040 printf %s "checking for $ac_word... " >&6; }
   4041 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4042 then :
   4043   printf %s "(cached) " >&6
   4044 else $as_nop
   4045   if test -n "$ac_ct_STRIP"; then
   4046   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4047 else
   4048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4049 for as_dir in $PATH
   4050 do
   4051   IFS=$as_save_IFS
   4052   case $as_dir in #(((
   4053     '') as_dir=./ ;;
   4054     */) ;;
   4055     *) as_dir=$as_dir/ ;;
   4056   esac
   4057     for ac_exec_ext in '' $ac_executable_extensions; do
   4058   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4059     ac_cv_prog_ac_ct_STRIP="strip"
   4060     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4061     break 2
   4062   fi
   4063 done
   4064   done
   4065 IFS=$as_save_IFS
   4066 
   4067 fi
   4068 fi
   4069 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4070 if test -n "$ac_ct_STRIP"; then
   4071   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4072 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4073 else
   4074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4075 printf "%s\n" "no" >&6; }
   4076 fi
   4077 
   4078   if test "x$ac_ct_STRIP" = x; then
   4079     STRIP=":"
   4080   else
   4081     case $cross_compiling:$ac_tool_warned in
   4082 yes:)
   4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4084 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4085 ac_tool_warned=yes ;;
   4086 esac
   4087     STRIP=$ac_ct_STRIP
   4088   fi
   4089 else
   4090   STRIP="$ac_cv_prog_STRIP"
   4091 fi
   4092 
   4093 fi
   4094 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4095 
   4096 
   4097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4098 printf %s "checking for a race-free mkdir -p... " >&6; }
   4099 if test -z "$MKDIR_P"; then
   4100   if test ${ac_cv_path_mkdir+y}
   4101 then :
   4102   printf %s "(cached) " >&6
   4103 else $as_nop
   4104   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4105 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4106 do
   4107   IFS=$as_save_IFS
   4108   case $as_dir in #(((
   4109     '') as_dir=./ ;;
   4110     */) ;;
   4111     *) as_dir=$as_dir/ ;;
   4112   esac
   4113     for ac_prog in mkdir gmkdir; do
   4114 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4115 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4116 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4117 	     'mkdir ('*'coreutils) '* | \
   4118 	     'BusyBox '* | \
   4119 	     'mkdir (fileutils) '4.1*)
   4120 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4121 	       break 3;;
   4122 	   esac
   4123 	 done
   4124        done
   4125   done
   4126 IFS=$as_save_IFS
   4127 
   4128 fi
   4129 
   4130   test -d ./--version && rmdir ./--version
   4131   if test ${ac_cv_path_mkdir+y}; then
   4132     MKDIR_P="$ac_cv_path_mkdir -p"
   4133   else
   4134     # As a last resort, use the slow shell script.  Don't cache a
   4135     # value for MKDIR_P within a source directory, because that will
   4136     # break other packages using the cache if that directory is
   4137     # removed, or if the value is a relative name.
   4138     MKDIR_P="$ac_install_sh -d"
   4139   fi
   4140 fi
   4141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4142 printf "%s\n" "$MKDIR_P" >&6; }
   4143 
   4144 for ac_prog in gawk mawk nawk awk
   4145 do
   4146   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4147 set dummy $ac_prog; ac_word=$2
   4148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4149 printf %s "checking for $ac_word... " >&6; }
   4150 if test ${ac_cv_prog_AWK+y}
   4151 then :
   4152   printf %s "(cached) " >&6
   4153 else $as_nop
   4154   if test -n "$AWK"; then
   4155   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4156 else
   4157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4158 for as_dir in $PATH
   4159 do
   4160   IFS=$as_save_IFS
   4161   case $as_dir in #(((
   4162     '') as_dir=./ ;;
   4163     */) ;;
   4164     *) as_dir=$as_dir/ ;;
   4165   esac
   4166     for ac_exec_ext in '' $ac_executable_extensions; do
   4167   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4168     ac_cv_prog_AWK="$ac_prog"
   4169     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4170     break 2
   4171   fi
   4172 done
   4173   done
   4174 IFS=$as_save_IFS
   4175 
   4176 fi
   4177 fi
   4178 AWK=$ac_cv_prog_AWK
   4179 if test -n "$AWK"; then
   4180   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4181 printf "%s\n" "$AWK" >&6; }
   4182 else
   4183   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4184 printf "%s\n" "no" >&6; }
   4185 fi
   4186 
   4187 
   4188   test -n "$AWK" && break
   4189 done
   4190 
   4191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4192 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4193 set x ${MAKE-make}
   4194 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4195 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4196 then :
   4197   printf %s "(cached) " >&6
   4198 else $as_nop
   4199   cat >conftest.make <<\_ACEOF
   4200 SHELL = /bin/sh
   4201 all:
   4202 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4203 _ACEOF
   4204 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4205 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4206   *@@@%%%=?*=@@@%%%*)
   4207     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4208   *)
   4209     eval ac_cv_prog_make_${ac_make}_set=no;;
   4210 esac
   4211 rm -f conftest.make
   4212 fi
   4213 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4214   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4215 printf "%s\n" "yes" >&6; }
   4216   SET_MAKE=
   4217 else
   4218   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4219 printf "%s\n" "no" >&6; }
   4220   SET_MAKE="MAKE=${MAKE-make}"
   4221 fi
   4222 
   4223 rm -rf .tst 2>/dev/null
   4224 mkdir .tst 2>/dev/null
   4225 if test -d .tst; then
   4226   am__leading_dot=.
   4227 else
   4228   am__leading_dot=_
   4229 fi
   4230 rmdir .tst 2>/dev/null
   4231 
   4232 DEPDIR="${am__leading_dot}deps"
   4233 
   4234 ac_config_commands="$ac_config_commands depfiles"
   4235 
   4236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4237 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4238 cat > confinc.mk << 'END'
   4239 am__doit:
   4240 	@echo this is the am__doit target >confinc.out
   4241 .PHONY: am__doit
   4242 END
   4243 am__include="#"
   4244 am__quote=
   4245 # BSD make does it like this.
   4246 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4247 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4248 echo 'include confinc.mk # ignored' > confmf.GNU
   4249 _am_result=no
   4250 for s in GNU BSD; do
   4251   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4252    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4253    ac_status=$?
   4254    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4255    (exit $ac_status); }
   4256   case $?:`cat confinc.out 2>/dev/null` in #(
   4257   '0:this is the am__doit target') :
   4258     case $s in #(
   4259   BSD) :
   4260     am__include='.include' am__quote='"' ;; #(
   4261   *) :
   4262     am__include='include' am__quote='' ;;
   4263 esac ;; #(
   4264   *) :
   4265      ;;
   4266 esac
   4267   if test "$am__include" != "#"; then
   4268     _am_result="yes ($s style)"
   4269     break
   4270   fi
   4271 done
   4272 rm -f confinc.* confmf.*
   4273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4274 printf "%s\n" "${_am_result}" >&6; }
   4275 
   4276 # Check whether --enable-dependency-tracking was given.
   4277 if test ${enable_dependency_tracking+y}
   4278 then :
   4279   enableval=$enable_dependency_tracking;
   4280 fi
   4281 
   4282 if test "x$enable_dependency_tracking" != xno; then
   4283   am_depcomp="$ac_aux_dir/depcomp"
   4284   AMDEPBACKSLASH='\'
   4285   am__nodep='_no'
   4286 fi
   4287  if test "x$enable_dependency_tracking" != xno; then
   4288   AMDEP_TRUE=
   4289   AMDEP_FALSE='#'
   4290 else
   4291   AMDEP_TRUE='#'
   4292   AMDEP_FALSE=
   4293 fi
   4294 
   4295 
   4296 # Check whether --enable-silent-rules was given.
   4297 if test ${enable_silent_rules+y}
   4298 then :
   4299   enableval=$enable_silent_rules;
   4300 fi
   4301 
   4302 case $enable_silent_rules in # (((
   4303   yes) AM_DEFAULT_VERBOSITY=0;;
   4304    no) AM_DEFAULT_VERBOSITY=1;;
   4305     *) AM_DEFAULT_VERBOSITY=1;;
   4306 esac
   4307 am_make=${MAKE-make}
   4308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4309 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4310 if test ${am_cv_make_support_nested_variables+y}
   4311 then :
   4312   printf %s "(cached) " >&6
   4313 else $as_nop
   4314   if printf "%s\n" 'TRUE=$(BAR$(V))
   4315 BAR0=false
   4316 BAR1=true
   4317 V=1
   4318 am__doit:
   4319 	@$(TRUE)
   4320 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4321   am_cv_make_support_nested_variables=yes
   4322 else
   4323   am_cv_make_support_nested_variables=no
   4324 fi
   4325 fi
   4326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4327 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4328 if test $am_cv_make_support_nested_variables = yes; then
   4329     AM_V='$(V)'
   4330   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4331 else
   4332   AM_V=$AM_DEFAULT_VERBOSITY
   4333   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4334 fi
   4335 AM_BACKSLASH='\'
   4336 
   4337 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4338   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4339   # is not polluted with repeated "-I."
   4340   am__isrc=' -I$(srcdir)'
   4341   # test to see if srcdir already configured
   4342   if test -f $srcdir/config.status; then
   4343     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4344   fi
   4345 fi
   4346 
   4347 # test whether we have cygpath
   4348 if test -z "$CYGPATH_W"; then
   4349   if (cygpath --version) >/dev/null 2>/dev/null; then
   4350     CYGPATH_W='cygpath -w'
   4351   else
   4352     CYGPATH_W=echo
   4353   fi
   4354 fi
   4355 
   4356 
   4357 # Define the identity of the package.
   4358  PACKAGE='fslsfonts'
   4359  VERSION='1.0.6'
   4360 
   4361 
   4362 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4363 
   4364 
   4365 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4366 
   4367 # Some tools Automake needs.
   4368 
   4369 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4370 
   4371 
   4372 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4373 
   4374 
   4375 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4376 
   4377 
   4378 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4379 
   4380 
   4381 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4382 
   4383 # For better backward compatibility.  To be removed once Automake 1.9.x
   4384 # dies out for good.  For more background, see:
   4385 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4386 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4387 mkdir_p='$(MKDIR_P)'
   4388 
   4389 # We need awk for the "check" target (and possibly the TAP driver).  The
   4390 # system "awk" is bad on some platforms.
   4391 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4392 # in the wild :-(  We should find a proper way to deprecate it ...
   4393 AMTAR='$${TAR-tar}'
   4394 
   4395 
   4396 # We'll loop over all known methods to create a tar archive until one works.
   4397 _am_tools='gnutar  pax cpio none'
   4398 
   4399 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4400 
   4401 
   4402 
   4403 
   4404 
   4405 depcc="$CC"   am_compiler_list=
   4406 
   4407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4408 printf %s "checking dependency style of $depcc... " >&6; }
   4409 if test ${am_cv_CC_dependencies_compiler_type+y}
   4410 then :
   4411   printf %s "(cached) " >&6
   4412 else $as_nop
   4413   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4414   # We make a subdir and do the tests there.  Otherwise we can end up
   4415   # making bogus files that we don't know about and never remove.  For
   4416   # instance it was reported that on HP-UX the gcc test will end up
   4417   # making a dummy file named 'D' -- because '-MD' means "put the output
   4418   # in D".
   4419   rm -rf conftest.dir
   4420   mkdir conftest.dir
   4421   # Copy depcomp to subdir because otherwise we won't find it if we're
   4422   # using a relative directory.
   4423   cp "$am_depcomp" conftest.dir
   4424   cd conftest.dir
   4425   # We will build objects and dependencies in a subdirectory because
   4426   # it helps to detect inapplicable dependency modes.  For instance
   4427   # both Tru64's cc and ICC support -MD to output dependencies as a
   4428   # side effect of compilation, but ICC will put the dependencies in
   4429   # the current directory while Tru64 will put them in the object
   4430   # directory.
   4431   mkdir sub
   4432 
   4433   am_cv_CC_dependencies_compiler_type=none
   4434   if test "$am_compiler_list" = ""; then
   4435      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4436   fi
   4437   am__universal=false
   4438   case " $depcc " in #(
   4439      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4440      esac
   4441 
   4442   for depmode in $am_compiler_list; do
   4443     # Setup a source with many dependencies, because some compilers
   4444     # like to wrap large dependency lists on column 80 (with \), and
   4445     # we should not choose a depcomp mode which is confused by this.
   4446     #
   4447     # We need to recreate these files for each test, as the compiler may
   4448     # overwrite some of them when testing with obscure command lines.
   4449     # This happens at least with the AIX C compiler.
   4450     : > sub/conftest.c
   4451     for i in 1 2 3 4 5 6; do
   4452       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4453       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4454       # Solaris 10 /bin/sh.
   4455       echo '/* dummy */' > sub/conftst$i.h
   4456     done
   4457     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4458 
   4459     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4460     # mode.  It turns out that the SunPro C++ compiler does not properly
   4461     # handle '-M -o', and we need to detect this.  Also, some Intel
   4462     # versions had trouble with output in subdirs.
   4463     am__obj=sub/conftest.${OBJEXT-o}
   4464     am__minus_obj="-o $am__obj"
   4465     case $depmode in
   4466     gcc)
   4467       # This depmode causes a compiler race in universal mode.
   4468       test "$am__universal" = false || continue
   4469       ;;
   4470     nosideeffect)
   4471       # After this tag, mechanisms are not by side-effect, so they'll
   4472       # only be used when explicitly requested.
   4473       if test "x$enable_dependency_tracking" = xyes; then
   4474 	continue
   4475       else
   4476 	break
   4477       fi
   4478       ;;
   4479     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4480       # This compiler won't grok '-c -o', but also, the minuso test has
   4481       # not run yet.  These depmodes are late enough in the game, and
   4482       # so weak that their functioning should not be impacted.
   4483       am__obj=conftest.${OBJEXT-o}
   4484       am__minus_obj=
   4485       ;;
   4486     none) break ;;
   4487     esac
   4488     if depmode=$depmode \
   4489        source=sub/conftest.c object=$am__obj \
   4490        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4491        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4492          >/dev/null 2>conftest.err &&
   4493        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4494        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4495        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4496        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4497       # icc doesn't choke on unknown options, it will just issue warnings
   4498       # or remarks (even with -Werror).  So we grep stderr for any message
   4499       # that says an option was ignored or not supported.
   4500       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4501       #   icc: Command line warning: ignoring option '-M'; no argument required
   4502       # The diagnosis changed in icc 8.0:
   4503       #   icc: Command line remark: option '-MP' not supported
   4504       if (grep 'ignoring option' conftest.err ||
   4505           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4506         am_cv_CC_dependencies_compiler_type=$depmode
   4507         break
   4508       fi
   4509     fi
   4510   done
   4511 
   4512   cd ..
   4513   rm -rf conftest.dir
   4514 else
   4515   am_cv_CC_dependencies_compiler_type=none
   4516 fi
   4517 
   4518 fi
   4519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4520 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4521 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4522 
   4523  if
   4524   test "x$enable_dependency_tracking" != xno \
   4525   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4526   am__fastdepCC_TRUE=
   4527   am__fastdepCC_FALSE='#'
   4528 else
   4529   am__fastdepCC_TRUE='#'
   4530   am__fastdepCC_FALSE=
   4531 fi
   4532 
   4533 
   4534 # Variables for tags utilities; see am/tags.am
   4535 if test -z "$CTAGS"; then
   4536   CTAGS=ctags
   4537 fi
   4538 
   4539 if test -z "$ETAGS"; then
   4540   ETAGS=etags
   4541 fi
   4542 
   4543 if test -z "$CSCOPE"; then
   4544   CSCOPE=cscope
   4545 fi
   4546 
   4547 
   4548 
   4549 # POSIX will say in a future version that running "rm -f" with no argument
   4550 # is OK; and we want to be able to make that assumption in our Makefile
   4551 # recipes.  So use an aggressive probe to check that the usage we want is
   4552 # actually supported "in the wild" to an acceptable degree.
   4553 # See automake bug#10828.
   4554 # To make any issue more visible, cause the running configure to be aborted
   4555 # by default if the 'rm' program in use doesn't match our expectations; the
   4556 # user can still override this though.
   4557 if rm -f && rm -fr && rm -rf; then : OK; else
   4558   cat >&2 <<'END'
   4559 Oops!
   4560 
   4561 Your 'rm' program seems unable to run without file operands specified
   4562 on the command line, even when the '-f' option is present.  This is contrary
   4563 to the behaviour of most rm programs out there, and not conforming with
   4564 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4565 
   4566 Please tell bug-automake@gnu.org about your system, including the value
   4567 of your $PATH and any error possibly output before this message.  This
   4568 can help us improve future automake versions.
   4569 
   4570 END
   4571   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4572     echo 'Configuration will proceed anyway, since you have set the' >&2
   4573     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4574     echo >&2
   4575   else
   4576     cat >&2 <<'END'
   4577 Aborting the configuration process, to ensure you take notice of the issue.
   4578 
   4579 You can download and install GNU coreutils to get an 'rm' implementation
   4580 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4581 
   4582 If you want to complete the configuration process using your problematic
   4583 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4584 to "yes", and re-run configure.
   4585 
   4586 END
   4587     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4588   fi
   4589 fi
   4590 
   4591 
   4592 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4593 
   4594 
   4595 
   4596 
   4597 
   4598 
   4599 
   4600 
   4601 
   4602 
   4603 
   4604 
   4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4606 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4607 if test ${ac_cv_c_undeclared_builtin_options+y}
   4608 then :
   4609   printf %s "(cached) " >&6
   4610 else $as_nop
   4611   ac_save_CFLAGS=$CFLAGS
   4612    ac_cv_c_undeclared_builtin_options='cannot detect'
   4613    for ac_arg in '' -fno-builtin; do
   4614      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4615      # This test program should *not* compile successfully.
   4616      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4617 /* end confdefs.h.  */
   4618 
   4619 int
   4620 main (void)
   4621 {
   4622 (void) strchr;
   4623   ;
   4624   return 0;
   4625 }
   4626 _ACEOF
   4627 if ac_fn_c_try_compile "$LINENO"
   4628 then :
   4629 
   4630 else $as_nop
   4631   # This test program should compile successfully.
   4632         # No library function is consistently available on
   4633         # freestanding implementations, so test against a dummy
   4634         # declaration.  Include always-available headers on the
   4635         # off chance that they somehow elicit warnings.
   4636         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4637 /* end confdefs.h.  */
   4638 #include <float.h>
   4639 #include <limits.h>
   4640 #include <stdarg.h>
   4641 #include <stddef.h>
   4642 extern void ac_decl (int, char *);
   4643 
   4644 int
   4645 main (void)
   4646 {
   4647 (void) ac_decl (0, (char *) 0);
   4648   (void) ac_decl;
   4649 
   4650   ;
   4651   return 0;
   4652 }
   4653 _ACEOF
   4654 if ac_fn_c_try_compile "$LINENO"
   4655 then :
   4656   if test x"$ac_arg" = x
   4657 then :
   4658   ac_cv_c_undeclared_builtin_options='none needed'
   4659 else $as_nop
   4660   ac_cv_c_undeclared_builtin_options=$ac_arg
   4661 fi
   4662           break
   4663 fi
   4664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4665 fi
   4666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4667     done
   4668     CFLAGS=$ac_save_CFLAGS
   4669 
   4670 fi
   4671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4672 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4673   case $ac_cv_c_undeclared_builtin_options in #(
   4674   'cannot detect') :
   4675     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4676 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4677 as_fn_error $? "cannot make $CC report undeclared builtins
   4678 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4679   'none needed') :
   4680     ac_c_undeclared_builtin_options='' ;; #(
   4681   *) :
   4682     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4683 esac
   4684 
   4685 
   4686 
   4687 
   4688 
   4689 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4690 if test "x$ac_cv_have_decl___clang__" = xyes
   4691 then :
   4692   CLANGCC="yes"
   4693 else $as_nop
   4694   CLANGCC="no"
   4695 fi
   4696 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4697 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4698 then :
   4699   INTELCC="yes"
   4700 else $as_nop
   4701   INTELCC="no"
   4702 fi
   4703 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4704 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4705 then :
   4706   SUNCC="yes"
   4707 else $as_nop
   4708   SUNCC="no"
   4709 fi
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4719 	if test -n "$ac_tool_prefix"; then
   4720   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4721 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4723 printf %s "checking for $ac_word... " >&6; }
   4724 if test ${ac_cv_path_PKG_CONFIG+y}
   4725 then :
   4726   printf %s "(cached) " >&6
   4727 else $as_nop
   4728   case $PKG_CONFIG in
   4729   [\\/]* | ?:[\\/]*)
   4730   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4731   ;;
   4732   *)
   4733   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4734 for as_dir in $PATH
   4735 do
   4736   IFS=$as_save_IFS
   4737   case $as_dir in #(((
   4738     '') as_dir=./ ;;
   4739     */) ;;
   4740     *) as_dir=$as_dir/ ;;
   4741   esac
   4742     for ac_exec_ext in '' $ac_executable_extensions; do
   4743   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4744     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4745     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4746     break 2
   4747   fi
   4748 done
   4749   done
   4750 IFS=$as_save_IFS
   4751 
   4752   ;;
   4753 esac
   4754 fi
   4755 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4756 if test -n "$PKG_CONFIG"; then
   4757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4758 printf "%s\n" "$PKG_CONFIG" >&6; }
   4759 else
   4760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4761 printf "%s\n" "no" >&6; }
   4762 fi
   4763 
   4764 
   4765 fi
   4766 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4767   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4768   # Extract the first word of "pkg-config", so it can be a program name with args.
   4769 set dummy pkg-config; ac_word=$2
   4770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4771 printf %s "checking for $ac_word... " >&6; }
   4772 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4773 then :
   4774   printf %s "(cached) " >&6
   4775 else $as_nop
   4776   case $ac_pt_PKG_CONFIG in
   4777   [\\/]* | ?:[\\/]*)
   4778   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4779   ;;
   4780   *)
   4781   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4782 for as_dir in $PATH
   4783 do
   4784   IFS=$as_save_IFS
   4785   case $as_dir in #(((
   4786     '') as_dir=./ ;;
   4787     */) ;;
   4788     *) as_dir=$as_dir/ ;;
   4789   esac
   4790     for ac_exec_ext in '' $ac_executable_extensions; do
   4791   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4792     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4793     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4794     break 2
   4795   fi
   4796 done
   4797   done
   4798 IFS=$as_save_IFS
   4799 
   4800   ;;
   4801 esac
   4802 fi
   4803 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4804 if test -n "$ac_pt_PKG_CONFIG"; then
   4805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4806 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4807 else
   4808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4809 printf "%s\n" "no" >&6; }
   4810 fi
   4811 
   4812   if test "x$ac_pt_PKG_CONFIG" = x; then
   4813     PKG_CONFIG=""
   4814   else
   4815     case $cross_compiling:$ac_tool_warned in
   4816 yes:)
   4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4818 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4819 ac_tool_warned=yes ;;
   4820 esac
   4821     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4822   fi
   4823 else
   4824   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4825 fi
   4826 
   4827 fi
   4828 if test -n "$PKG_CONFIG"; then
   4829 	_pkg_min_version=0.9.0
   4830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4831 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4832 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4833 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4834 printf "%s\n" "yes" >&6; }
   4835 	else
   4836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4837 printf "%s\n" "no" >&6; }
   4838 		PKG_CONFIG=""
   4839 	fi
   4840 fi
   4841 
   4842 
   4843   # Make sure we can run config.sub.
   4844 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4845   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4846 
   4847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4848 printf %s "checking build system type... " >&6; }
   4849 if test ${ac_cv_build+y}
   4850 then :
   4851   printf %s "(cached) " >&6
   4852 else $as_nop
   4853   ac_build_alias=$build_alias
   4854 test "x$ac_build_alias" = x &&
   4855   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4856 test "x$ac_build_alias" = x &&
   4857   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4858 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4859   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4860 
   4861 fi
   4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4863 printf "%s\n" "$ac_cv_build" >&6; }
   4864 case $ac_cv_build in
   4865 *-*-*) ;;
   4866 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4867 esac
   4868 build=$ac_cv_build
   4869 ac_save_IFS=$IFS; IFS='-'
   4870 set x $ac_cv_build
   4871 shift
   4872 build_cpu=$1
   4873 build_vendor=$2
   4874 shift; shift
   4875 # Remember, the first character of IFS is used to create $*,
   4876 # except with old shells:
   4877 build_os=$*
   4878 IFS=$ac_save_IFS
   4879 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4880 
   4881 
   4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4883 printf %s "checking host system type... " >&6; }
   4884 if test ${ac_cv_host+y}
   4885 then :
   4886   printf %s "(cached) " >&6
   4887 else $as_nop
   4888   if test "x$host_alias" = x; then
   4889   ac_cv_host=$ac_cv_build
   4890 else
   4891   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4892     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4893 fi
   4894 
   4895 fi
   4896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4897 printf "%s\n" "$ac_cv_host" >&6; }
   4898 case $ac_cv_host in
   4899 *-*-*) ;;
   4900 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4901 esac
   4902 host=$ac_cv_host
   4903 ac_save_IFS=$IFS; IFS='-'
   4904 set x $ac_cv_host
   4905 shift
   4906 host_cpu=$1
   4907 host_vendor=$2
   4908 shift; shift
   4909 # Remember, the first character of IFS is used to create $*,
   4910 # except with old shells:
   4911 host_os=$*
   4912 IFS=$ac_save_IFS
   4913 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4914 
   4915 
   4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4917 printf %s "checking for a sed that does not truncate output... " >&6; }
   4918 if test ${ac_cv_path_SED+y}
   4919 then :
   4920   printf %s "(cached) " >&6
   4921 else $as_nop
   4922             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4923      for ac_i in 1 2 3 4 5 6 7; do
   4924        ac_script="$ac_script$as_nl$ac_script"
   4925      done
   4926      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4927      { ac_script=; unset ac_script;}
   4928      if test -z "$SED"; then
   4929   ac_path_SED_found=false
   4930   # Loop through the user's path and test for each of PROGNAME-LIST
   4931   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4932 for as_dir in $PATH
   4933 do
   4934   IFS=$as_save_IFS
   4935   case $as_dir in #(((
   4936     '') as_dir=./ ;;
   4937     */) ;;
   4938     *) as_dir=$as_dir/ ;;
   4939   esac
   4940     for ac_prog in sed gsed
   4941    do
   4942     for ac_exec_ext in '' $ac_executable_extensions; do
   4943       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4944       as_fn_executable_p "$ac_path_SED" || continue
   4945 # Check for GNU ac_path_SED and select it if it is found.
   4946   # Check for GNU $ac_path_SED
   4947 case `"$ac_path_SED" --version 2>&1` in
   4948 *GNU*)
   4949   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4950 *)
   4951   ac_count=0
   4952   printf %s 0123456789 >"conftest.in"
   4953   while :
   4954   do
   4955     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4956     mv "conftest.tmp" "conftest.in"
   4957     cp "conftest.in" "conftest.nl"
   4958     printf "%s\n" '' >> "conftest.nl"
   4959     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4960     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4961     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4962     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4963       # Best one so far, save it but keep looking for a better one
   4964       ac_cv_path_SED="$ac_path_SED"
   4965       ac_path_SED_max=$ac_count
   4966     fi
   4967     # 10*(2^10) chars as input seems more than enough
   4968     test $ac_count -gt 10 && break
   4969   done
   4970   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4971 esac
   4972 
   4973       $ac_path_SED_found && break 3
   4974     done
   4975   done
   4976   done
   4977 IFS=$as_save_IFS
   4978   if test -z "$ac_cv_path_SED"; then
   4979     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4980   fi
   4981 else
   4982   ac_cv_path_SED=$SED
   4983 fi
   4984 
   4985 fi
   4986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4987 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4988  SED="$ac_cv_path_SED"
   4989   rm -f conftest.sed
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 # Check whether --enable-selective-werror was given.
   4997 if test ${enable_selective_werror+y}
   4998 then :
   4999   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5000 else $as_nop
   5001   SELECTIVE_WERROR=yes
   5002 fi
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5009 if test "x$SUNCC" = "xyes"; then
   5010     BASE_CFLAGS="-v"
   5011 else
   5012     BASE_CFLAGS=""
   5013 fi
   5014 
   5015 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 xorg_testset_save_CFLAGS="$CFLAGS"
   5030 
   5031 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5032 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5033 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5034 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5035 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5036 then :
   5037   printf %s "(cached) " >&6
   5038 else $as_nop
   5039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5040 /* end confdefs.h.  */
   5041 int i;
   5042 _ACEOF
   5043 if ac_fn_c_try_compile "$LINENO"
   5044 then :
   5045   xorg_cv_cc_flag_unknown_warning_option=yes
   5046 else $as_nop
   5047   xorg_cv_cc_flag_unknown_warning_option=no
   5048 fi
   5049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5050 fi
   5051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5052 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5053 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5054 	CFLAGS="$xorg_testset_save_CFLAGS"
   5055 fi
   5056 
   5057 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5058 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5059 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5060 	fi
   5061 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5062 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5063 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5064 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5065 then :
   5066   printf %s "(cached) " >&6
   5067 else $as_nop
   5068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5069 /* end confdefs.h.  */
   5070 int i;
   5071 _ACEOF
   5072 if ac_fn_c_try_compile "$LINENO"
   5073 then :
   5074   xorg_cv_cc_flag_unused_command_line_argument=yes
   5075 else $as_nop
   5076   xorg_cv_cc_flag_unused_command_line_argument=no
   5077 fi
   5078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5079 fi
   5080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5081 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5082 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5083 	CFLAGS="$xorg_testset_save_CFLAGS"
   5084 fi
   5085 
   5086 found="no"
   5087 
   5088 	if test $found = "no" ; then
   5089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5091 		fi
   5092 
   5093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5095 		fi
   5096 
   5097 		CFLAGS="$CFLAGS -Wall"
   5098 
   5099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5100 printf %s "checking if $CC supports -Wall... " >&6; }
   5101 		cacheid=xorg_cv_cc_flag__Wall
   5102 		if eval test \${$cacheid+y}
   5103 then :
   5104   printf %s "(cached) " >&6
   5105 else $as_nop
   5106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5107 /* end confdefs.h.  */
   5108 int i;
   5109 int
   5110 main (void)
   5111 {
   5112 
   5113   ;
   5114   return 0;
   5115 }
   5116 _ACEOF
   5117 if ac_fn_c_try_link "$LINENO"
   5118 then :
   5119   eval $cacheid=yes
   5120 else $as_nop
   5121   eval $cacheid=no
   5122 fi
   5123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5124     conftest$ac_exeext conftest.$ac_ext
   5125 fi
   5126 
   5127 
   5128 		CFLAGS="$xorg_testset_save_CFLAGS"
   5129 
   5130 		eval supported=\$$cacheid
   5131 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5132 printf "%s\n" "$supported" >&6; }
   5133 		if test "$supported" = "yes" ; then
   5134 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5135 			found="yes"
   5136 		fi
   5137 	fi
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 xorg_testset_save_CFLAGS="$CFLAGS"
   5154 
   5155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5157 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5158 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5159 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5160 then :
   5161   printf %s "(cached) " >&6
   5162 else $as_nop
   5163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5164 /* end confdefs.h.  */
   5165 int i;
   5166 _ACEOF
   5167 if ac_fn_c_try_compile "$LINENO"
   5168 then :
   5169   xorg_cv_cc_flag_unknown_warning_option=yes
   5170 else $as_nop
   5171   xorg_cv_cc_flag_unknown_warning_option=no
   5172 fi
   5173 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5174 fi
   5175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5176 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5177 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5178 	CFLAGS="$xorg_testset_save_CFLAGS"
   5179 fi
   5180 
   5181 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5182 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5183 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5184 	fi
   5185 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5186 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5187 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5188 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5189 then :
   5190   printf %s "(cached) " >&6
   5191 else $as_nop
   5192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5193 /* end confdefs.h.  */
   5194 int i;
   5195 _ACEOF
   5196 if ac_fn_c_try_compile "$LINENO"
   5197 then :
   5198   xorg_cv_cc_flag_unused_command_line_argument=yes
   5199 else $as_nop
   5200   xorg_cv_cc_flag_unused_command_line_argument=no
   5201 fi
   5202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5203 fi
   5204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5205 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5207 	CFLAGS="$xorg_testset_save_CFLAGS"
   5208 fi
   5209 
   5210 found="no"
   5211 
   5212 	if test $found = "no" ; then
   5213 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5215 		fi
   5216 
   5217 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5219 		fi
   5220 
   5221 		CFLAGS="$CFLAGS -Wpointer-arith"
   5222 
   5223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5224 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5225 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5226 		if eval test \${$cacheid+y}
   5227 then :
   5228   printf %s "(cached) " >&6
   5229 else $as_nop
   5230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5231 /* end confdefs.h.  */
   5232 int i;
   5233 int
   5234 main (void)
   5235 {
   5236 
   5237   ;
   5238   return 0;
   5239 }
   5240 _ACEOF
   5241 if ac_fn_c_try_link "$LINENO"
   5242 then :
   5243   eval $cacheid=yes
   5244 else $as_nop
   5245   eval $cacheid=no
   5246 fi
   5247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5248     conftest$ac_exeext conftest.$ac_ext
   5249 fi
   5250 
   5251 
   5252 		CFLAGS="$xorg_testset_save_CFLAGS"
   5253 
   5254 		eval supported=\$$cacheid
   5255 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5256 printf "%s\n" "$supported" >&6; }
   5257 		if test "$supported" = "yes" ; then
   5258 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5259 			found="yes"
   5260 		fi
   5261 	fi
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 xorg_testset_save_CFLAGS="$CFLAGS"
   5278 
   5279 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5281 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5282 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5283 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5284 then :
   5285   printf %s "(cached) " >&6
   5286 else $as_nop
   5287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5288 /* end confdefs.h.  */
   5289 int i;
   5290 _ACEOF
   5291 if ac_fn_c_try_compile "$LINENO"
   5292 then :
   5293   xorg_cv_cc_flag_unknown_warning_option=yes
   5294 else $as_nop
   5295   xorg_cv_cc_flag_unknown_warning_option=no
   5296 fi
   5297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5298 fi
   5299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5300 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5301 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5302 	CFLAGS="$xorg_testset_save_CFLAGS"
   5303 fi
   5304 
   5305 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5306 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5307 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5308 	fi
   5309 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5310 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5311 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5312 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5313 then :
   5314   printf %s "(cached) " >&6
   5315 else $as_nop
   5316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5317 /* end confdefs.h.  */
   5318 int i;
   5319 _ACEOF
   5320 if ac_fn_c_try_compile "$LINENO"
   5321 then :
   5322   xorg_cv_cc_flag_unused_command_line_argument=yes
   5323 else $as_nop
   5324   xorg_cv_cc_flag_unused_command_line_argument=no
   5325 fi
   5326 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5327 fi
   5328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5329 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5330 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5331 	CFLAGS="$xorg_testset_save_CFLAGS"
   5332 fi
   5333 
   5334 found="no"
   5335 
   5336 	if test $found = "no" ; then
   5337 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5338 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5339 		fi
   5340 
   5341 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5342 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5343 		fi
   5344 
   5345 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5346 
   5347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5348 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5349 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5350 		if eval test \${$cacheid+y}
   5351 then :
   5352   printf %s "(cached) " >&6
   5353 else $as_nop
   5354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5355 /* end confdefs.h.  */
   5356 int i;
   5357 int
   5358 main (void)
   5359 {
   5360 
   5361   ;
   5362   return 0;
   5363 }
   5364 _ACEOF
   5365 if ac_fn_c_try_link "$LINENO"
   5366 then :
   5367   eval $cacheid=yes
   5368 else $as_nop
   5369   eval $cacheid=no
   5370 fi
   5371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5372     conftest$ac_exeext conftest.$ac_ext
   5373 fi
   5374 
   5375 
   5376 		CFLAGS="$xorg_testset_save_CFLAGS"
   5377 
   5378 		eval supported=\$$cacheid
   5379 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5380 printf "%s\n" "$supported" >&6; }
   5381 		if test "$supported" = "yes" ; then
   5382 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5383 			found="yes"
   5384 		fi
   5385 	fi
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 xorg_testset_save_CFLAGS="$CFLAGS"
   5402 
   5403 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5404 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5405 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5406 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5407 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5408 then :
   5409   printf %s "(cached) " >&6
   5410 else $as_nop
   5411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5412 /* end confdefs.h.  */
   5413 int i;
   5414 _ACEOF
   5415 if ac_fn_c_try_compile "$LINENO"
   5416 then :
   5417   xorg_cv_cc_flag_unknown_warning_option=yes
   5418 else $as_nop
   5419   xorg_cv_cc_flag_unknown_warning_option=no
   5420 fi
   5421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5422 fi
   5423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5424 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5425 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5426 	CFLAGS="$xorg_testset_save_CFLAGS"
   5427 fi
   5428 
   5429 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5430 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5431 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5432 	fi
   5433 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5434 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5435 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5436 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5437 then :
   5438   printf %s "(cached) " >&6
   5439 else $as_nop
   5440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5441 /* end confdefs.h.  */
   5442 int i;
   5443 _ACEOF
   5444 if ac_fn_c_try_compile "$LINENO"
   5445 then :
   5446   xorg_cv_cc_flag_unused_command_line_argument=yes
   5447 else $as_nop
   5448   xorg_cv_cc_flag_unused_command_line_argument=no
   5449 fi
   5450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5451 fi
   5452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5453 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5454 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5455 	CFLAGS="$xorg_testset_save_CFLAGS"
   5456 fi
   5457 
   5458 found="no"
   5459 
   5460 	if test $found = "no" ; then
   5461 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5462 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5463 		fi
   5464 
   5465 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5466 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5467 		fi
   5468 
   5469 		CFLAGS="$CFLAGS -Wformat=2"
   5470 
   5471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5472 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5473 		cacheid=xorg_cv_cc_flag__Wformat_2
   5474 		if eval test \${$cacheid+y}
   5475 then :
   5476   printf %s "(cached) " >&6
   5477 else $as_nop
   5478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5479 /* end confdefs.h.  */
   5480 int i;
   5481 int
   5482 main (void)
   5483 {
   5484 
   5485   ;
   5486   return 0;
   5487 }
   5488 _ACEOF
   5489 if ac_fn_c_try_link "$LINENO"
   5490 then :
   5491   eval $cacheid=yes
   5492 else $as_nop
   5493   eval $cacheid=no
   5494 fi
   5495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5496     conftest$ac_exeext conftest.$ac_ext
   5497 fi
   5498 
   5499 
   5500 		CFLAGS="$xorg_testset_save_CFLAGS"
   5501 
   5502 		eval supported=\$$cacheid
   5503 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5504 printf "%s\n" "$supported" >&6; }
   5505 		if test "$supported" = "yes" ; then
   5506 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5507 			found="yes"
   5508 		fi
   5509 	fi
   5510 
   5511 	if test $found = "no" ; then
   5512 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5513 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5514 		fi
   5515 
   5516 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5517 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5518 		fi
   5519 
   5520 		CFLAGS="$CFLAGS -Wformat"
   5521 
   5522 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5523 printf %s "checking if $CC supports -Wformat... " >&6; }
   5524 		cacheid=xorg_cv_cc_flag__Wformat
   5525 		if eval test \${$cacheid+y}
   5526 then :
   5527   printf %s "(cached) " >&6
   5528 else $as_nop
   5529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5530 /* end confdefs.h.  */
   5531 int i;
   5532 int
   5533 main (void)
   5534 {
   5535 
   5536   ;
   5537   return 0;
   5538 }
   5539 _ACEOF
   5540 if ac_fn_c_try_link "$LINENO"
   5541 then :
   5542   eval $cacheid=yes
   5543 else $as_nop
   5544   eval $cacheid=no
   5545 fi
   5546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5547     conftest$ac_exeext conftest.$ac_ext
   5548 fi
   5549 
   5550 
   5551 		CFLAGS="$xorg_testset_save_CFLAGS"
   5552 
   5553 		eval supported=\$$cacheid
   5554 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5555 printf "%s\n" "$supported" >&6; }
   5556 		if test "$supported" = "yes" ; then
   5557 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5558 			found="yes"
   5559 		fi
   5560 	fi
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 xorg_testset_save_CFLAGS="$CFLAGS"
   5579 
   5580 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5581 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5582 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5583 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5584 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5585 then :
   5586   printf %s "(cached) " >&6
   5587 else $as_nop
   5588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5589 /* end confdefs.h.  */
   5590 int i;
   5591 _ACEOF
   5592 if ac_fn_c_try_compile "$LINENO"
   5593 then :
   5594   xorg_cv_cc_flag_unknown_warning_option=yes
   5595 else $as_nop
   5596   xorg_cv_cc_flag_unknown_warning_option=no
   5597 fi
   5598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5599 fi
   5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5601 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5602 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5603 	CFLAGS="$xorg_testset_save_CFLAGS"
   5604 fi
   5605 
   5606 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5607 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5608 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5609 	fi
   5610 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5611 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5612 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5613 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5614 then :
   5615   printf %s "(cached) " >&6
   5616 else $as_nop
   5617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5618 /* end confdefs.h.  */
   5619 int i;
   5620 _ACEOF
   5621 if ac_fn_c_try_compile "$LINENO"
   5622 then :
   5623   xorg_cv_cc_flag_unused_command_line_argument=yes
   5624 else $as_nop
   5625   xorg_cv_cc_flag_unused_command_line_argument=no
   5626 fi
   5627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5628 fi
   5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5630 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5631 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5632 	CFLAGS="$xorg_testset_save_CFLAGS"
   5633 fi
   5634 
   5635 found="no"
   5636 
   5637 	if test $found = "no" ; then
   5638 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5639 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5640 		fi
   5641 
   5642 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5643 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5644 		fi
   5645 
   5646 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5647 
   5648 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5649 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5650 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5651 		if eval test \${$cacheid+y}
   5652 then :
   5653   printf %s "(cached) " >&6
   5654 else $as_nop
   5655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5656 /* end confdefs.h.  */
   5657 int i;
   5658 int
   5659 main (void)
   5660 {
   5661 
   5662   ;
   5663   return 0;
   5664 }
   5665 _ACEOF
   5666 if ac_fn_c_try_link "$LINENO"
   5667 then :
   5668   eval $cacheid=yes
   5669 else $as_nop
   5670   eval $cacheid=no
   5671 fi
   5672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5673     conftest$ac_exeext conftest.$ac_ext
   5674 fi
   5675 
   5676 
   5677 		CFLAGS="$xorg_testset_save_CFLAGS"
   5678 
   5679 		eval supported=\$$cacheid
   5680 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5681 printf "%s\n" "$supported" >&6; }
   5682 		if test "$supported" = "yes" ; then
   5683 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5684 			found="yes"
   5685 		fi
   5686 	fi
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 xorg_testset_save_CFLAGS="$CFLAGS"
   5703 
   5704 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5705 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5706 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5707 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5708 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5709 then :
   5710   printf %s "(cached) " >&6
   5711 else $as_nop
   5712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5713 /* end confdefs.h.  */
   5714 int i;
   5715 _ACEOF
   5716 if ac_fn_c_try_compile "$LINENO"
   5717 then :
   5718   xorg_cv_cc_flag_unknown_warning_option=yes
   5719 else $as_nop
   5720   xorg_cv_cc_flag_unknown_warning_option=no
   5721 fi
   5722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5723 fi
   5724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5725 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5726 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5727 	CFLAGS="$xorg_testset_save_CFLAGS"
   5728 fi
   5729 
   5730 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5731 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5732 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5733 	fi
   5734 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5735 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5736 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5737 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5738 then :
   5739   printf %s "(cached) " >&6
   5740 else $as_nop
   5741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5742 /* end confdefs.h.  */
   5743 int i;
   5744 _ACEOF
   5745 if ac_fn_c_try_compile "$LINENO"
   5746 then :
   5747   xorg_cv_cc_flag_unused_command_line_argument=yes
   5748 else $as_nop
   5749   xorg_cv_cc_flag_unused_command_line_argument=no
   5750 fi
   5751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5752 fi
   5753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5754 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5755 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5756 	CFLAGS="$xorg_testset_save_CFLAGS"
   5757 fi
   5758 
   5759 found="no"
   5760 
   5761 	if test $found = "no" ; then
   5762 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5763 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5764 		fi
   5765 
   5766 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5767 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5768 		fi
   5769 
   5770 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5771 
   5772 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5773 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5774 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5775 		if eval test \${$cacheid+y}
   5776 then :
   5777   printf %s "(cached) " >&6
   5778 else $as_nop
   5779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5780 /* end confdefs.h.  */
   5781 int i;
   5782 int
   5783 main (void)
   5784 {
   5785 
   5786   ;
   5787   return 0;
   5788 }
   5789 _ACEOF
   5790 if ac_fn_c_try_link "$LINENO"
   5791 then :
   5792   eval $cacheid=yes
   5793 else $as_nop
   5794   eval $cacheid=no
   5795 fi
   5796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5797     conftest$ac_exeext conftest.$ac_ext
   5798 fi
   5799 
   5800 
   5801 		CFLAGS="$xorg_testset_save_CFLAGS"
   5802 
   5803 		eval supported=\$$cacheid
   5804 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5805 printf "%s\n" "$supported" >&6; }
   5806 		if test "$supported" = "yes" ; then
   5807 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5808 			found="yes"
   5809 		fi
   5810 	fi
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 xorg_testset_save_CFLAGS="$CFLAGS"
   5827 
   5828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5831 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5832 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5833 then :
   5834   printf %s "(cached) " >&6
   5835 else $as_nop
   5836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5837 /* end confdefs.h.  */
   5838 int i;
   5839 _ACEOF
   5840 if ac_fn_c_try_compile "$LINENO"
   5841 then :
   5842   xorg_cv_cc_flag_unknown_warning_option=yes
   5843 else $as_nop
   5844   xorg_cv_cc_flag_unknown_warning_option=no
   5845 fi
   5846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5847 fi
   5848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5849 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5850 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5851 	CFLAGS="$xorg_testset_save_CFLAGS"
   5852 fi
   5853 
   5854 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5855 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5856 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5857 	fi
   5858 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5859 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5860 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5861 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5862 then :
   5863   printf %s "(cached) " >&6
   5864 else $as_nop
   5865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5866 /* end confdefs.h.  */
   5867 int i;
   5868 _ACEOF
   5869 if ac_fn_c_try_compile "$LINENO"
   5870 then :
   5871   xorg_cv_cc_flag_unused_command_line_argument=yes
   5872 else $as_nop
   5873   xorg_cv_cc_flag_unused_command_line_argument=no
   5874 fi
   5875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5876 fi
   5877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5878 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5880 	CFLAGS="$xorg_testset_save_CFLAGS"
   5881 fi
   5882 
   5883 found="no"
   5884 
   5885 	if test $found = "no" ; then
   5886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5888 		fi
   5889 
   5890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5892 		fi
   5893 
   5894 		CFLAGS="$CFLAGS -Wnested-externs"
   5895 
   5896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5897 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5898 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5899 		if eval test \${$cacheid+y}
   5900 then :
   5901   printf %s "(cached) " >&6
   5902 else $as_nop
   5903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5904 /* end confdefs.h.  */
   5905 int i;
   5906 int
   5907 main (void)
   5908 {
   5909 
   5910   ;
   5911   return 0;
   5912 }
   5913 _ACEOF
   5914 if ac_fn_c_try_link "$LINENO"
   5915 then :
   5916   eval $cacheid=yes
   5917 else $as_nop
   5918   eval $cacheid=no
   5919 fi
   5920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5921     conftest$ac_exeext conftest.$ac_ext
   5922 fi
   5923 
   5924 
   5925 		CFLAGS="$xorg_testset_save_CFLAGS"
   5926 
   5927 		eval supported=\$$cacheid
   5928 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5929 printf "%s\n" "$supported" >&6; }
   5930 		if test "$supported" = "yes" ; then
   5931 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5932 			found="yes"
   5933 		fi
   5934 	fi
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 xorg_testset_save_CFLAGS="$CFLAGS"
   5951 
   5952 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5953 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5954 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5955 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5956 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5957 then :
   5958   printf %s "(cached) " >&6
   5959 else $as_nop
   5960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5961 /* end confdefs.h.  */
   5962 int i;
   5963 _ACEOF
   5964 if ac_fn_c_try_compile "$LINENO"
   5965 then :
   5966   xorg_cv_cc_flag_unknown_warning_option=yes
   5967 else $as_nop
   5968   xorg_cv_cc_flag_unknown_warning_option=no
   5969 fi
   5970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5971 fi
   5972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5973 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5974 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5975 	CFLAGS="$xorg_testset_save_CFLAGS"
   5976 fi
   5977 
   5978 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5979 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5981 	fi
   5982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5983 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5984 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5985 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5986 then :
   5987   printf %s "(cached) " >&6
   5988 else $as_nop
   5989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5990 /* end confdefs.h.  */
   5991 int i;
   5992 _ACEOF
   5993 if ac_fn_c_try_compile "$LINENO"
   5994 then :
   5995   xorg_cv_cc_flag_unused_command_line_argument=yes
   5996 else $as_nop
   5997   xorg_cv_cc_flag_unused_command_line_argument=no
   5998 fi
   5999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6000 fi
   6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6002 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6003 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6004 	CFLAGS="$xorg_testset_save_CFLAGS"
   6005 fi
   6006 
   6007 found="no"
   6008 
   6009 	if test $found = "no" ; then
   6010 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6011 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6012 		fi
   6013 
   6014 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6015 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6016 		fi
   6017 
   6018 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6019 
   6020 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6021 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6022 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6023 		if eval test \${$cacheid+y}
   6024 then :
   6025   printf %s "(cached) " >&6
   6026 else $as_nop
   6027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6028 /* end confdefs.h.  */
   6029 int i;
   6030 int
   6031 main (void)
   6032 {
   6033 
   6034   ;
   6035   return 0;
   6036 }
   6037 _ACEOF
   6038 if ac_fn_c_try_link "$LINENO"
   6039 then :
   6040   eval $cacheid=yes
   6041 else $as_nop
   6042   eval $cacheid=no
   6043 fi
   6044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6045     conftest$ac_exeext conftest.$ac_ext
   6046 fi
   6047 
   6048 
   6049 		CFLAGS="$xorg_testset_save_CFLAGS"
   6050 
   6051 		eval supported=\$$cacheid
   6052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6053 printf "%s\n" "$supported" >&6; }
   6054 		if test "$supported" = "yes" ; then
   6055 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6056 			found="yes"
   6057 		fi
   6058 	fi
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 xorg_testset_save_CFLAGS="$CFLAGS"
   6075 
   6076 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6077 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6079 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6080 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6081 then :
   6082   printf %s "(cached) " >&6
   6083 else $as_nop
   6084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6085 /* end confdefs.h.  */
   6086 int i;
   6087 _ACEOF
   6088 if ac_fn_c_try_compile "$LINENO"
   6089 then :
   6090   xorg_cv_cc_flag_unknown_warning_option=yes
   6091 else $as_nop
   6092   xorg_cv_cc_flag_unknown_warning_option=no
   6093 fi
   6094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6095 fi
   6096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6097 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6098 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6099 	CFLAGS="$xorg_testset_save_CFLAGS"
   6100 fi
   6101 
   6102 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6103 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6104 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6105 	fi
   6106 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6107 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6108 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6109 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6110 then :
   6111   printf %s "(cached) " >&6
   6112 else $as_nop
   6113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6114 /* end confdefs.h.  */
   6115 int i;
   6116 _ACEOF
   6117 if ac_fn_c_try_compile "$LINENO"
   6118 then :
   6119   xorg_cv_cc_flag_unused_command_line_argument=yes
   6120 else $as_nop
   6121   xorg_cv_cc_flag_unused_command_line_argument=no
   6122 fi
   6123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6124 fi
   6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6126 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6127 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6128 	CFLAGS="$xorg_testset_save_CFLAGS"
   6129 fi
   6130 
   6131 found="no"
   6132 
   6133 	if test $found = "no" ; then
   6134 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6135 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6136 		fi
   6137 
   6138 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6139 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6140 		fi
   6141 
   6142 		CFLAGS="$CFLAGS -Wold-style-definition"
   6143 
   6144 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6145 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6146 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6147 		if eval test \${$cacheid+y}
   6148 then :
   6149   printf %s "(cached) " >&6
   6150 else $as_nop
   6151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6152 /* end confdefs.h.  */
   6153 int i;
   6154 int
   6155 main (void)
   6156 {
   6157 
   6158   ;
   6159   return 0;
   6160 }
   6161 _ACEOF
   6162 if ac_fn_c_try_link "$LINENO"
   6163 then :
   6164   eval $cacheid=yes
   6165 else $as_nop
   6166   eval $cacheid=no
   6167 fi
   6168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6169     conftest$ac_exeext conftest.$ac_ext
   6170 fi
   6171 
   6172 
   6173 		CFLAGS="$xorg_testset_save_CFLAGS"
   6174 
   6175 		eval supported=\$$cacheid
   6176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6177 printf "%s\n" "$supported" >&6; }
   6178 		if test "$supported" = "yes" ; then
   6179 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6180 			found="yes"
   6181 		fi
   6182 	fi
   6183 
   6184 	if test $found = "no" ; then
   6185 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6187 		fi
   6188 
   6189 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6191 		fi
   6192 
   6193 		CFLAGS="$CFLAGS -fd"
   6194 
   6195 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6196 printf %s "checking if $CC supports -fd... " >&6; }
   6197 		cacheid=xorg_cv_cc_flag__fd
   6198 		if eval test \${$cacheid+y}
   6199 then :
   6200   printf %s "(cached) " >&6
   6201 else $as_nop
   6202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6203 /* end confdefs.h.  */
   6204 int i;
   6205 int
   6206 main (void)
   6207 {
   6208 
   6209   ;
   6210   return 0;
   6211 }
   6212 _ACEOF
   6213 if ac_fn_c_try_link "$LINENO"
   6214 then :
   6215   eval $cacheid=yes
   6216 else $as_nop
   6217   eval $cacheid=no
   6218 fi
   6219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6220     conftest$ac_exeext conftest.$ac_ext
   6221 fi
   6222 
   6223 
   6224 		CFLAGS="$xorg_testset_save_CFLAGS"
   6225 
   6226 		eval supported=\$$cacheid
   6227 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6228 printf "%s\n" "$supported" >&6; }
   6229 		if test "$supported" = "yes" ; then
   6230 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6231 			found="yes"
   6232 		fi
   6233 	fi
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 xorg_testset_save_CFLAGS="$CFLAGS"
   6250 
   6251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6253 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6254 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6255 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6256 then :
   6257   printf %s "(cached) " >&6
   6258 else $as_nop
   6259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6260 /* end confdefs.h.  */
   6261 int i;
   6262 _ACEOF
   6263 if ac_fn_c_try_compile "$LINENO"
   6264 then :
   6265   xorg_cv_cc_flag_unknown_warning_option=yes
   6266 else $as_nop
   6267   xorg_cv_cc_flag_unknown_warning_option=no
   6268 fi
   6269 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6270 fi
   6271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6272 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6273 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6274 	CFLAGS="$xorg_testset_save_CFLAGS"
   6275 fi
   6276 
   6277 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6278 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6279 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6280 	fi
   6281 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6282 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6283 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6284 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6285 then :
   6286   printf %s "(cached) " >&6
   6287 else $as_nop
   6288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6289 /* end confdefs.h.  */
   6290 int i;
   6291 _ACEOF
   6292 if ac_fn_c_try_compile "$LINENO"
   6293 then :
   6294   xorg_cv_cc_flag_unused_command_line_argument=yes
   6295 else $as_nop
   6296   xorg_cv_cc_flag_unused_command_line_argument=no
   6297 fi
   6298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6299 fi
   6300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6301 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6302 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6303 	CFLAGS="$xorg_testset_save_CFLAGS"
   6304 fi
   6305 
   6306 found="no"
   6307 
   6308 	if test $found = "no" ; then
   6309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6311 		fi
   6312 
   6313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6315 		fi
   6316 
   6317 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6318 
   6319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6320 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6321 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6322 		if eval test \${$cacheid+y}
   6323 then :
   6324   printf %s "(cached) " >&6
   6325 else $as_nop
   6326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6327 /* end confdefs.h.  */
   6328 int i;
   6329 int
   6330 main (void)
   6331 {
   6332 
   6333   ;
   6334   return 0;
   6335 }
   6336 _ACEOF
   6337 if ac_fn_c_try_link "$LINENO"
   6338 then :
   6339   eval $cacheid=yes
   6340 else $as_nop
   6341   eval $cacheid=no
   6342 fi
   6343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6344     conftest$ac_exeext conftest.$ac_ext
   6345 fi
   6346 
   6347 
   6348 		CFLAGS="$xorg_testset_save_CFLAGS"
   6349 
   6350 		eval supported=\$$cacheid
   6351 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6352 printf "%s\n" "$supported" >&6; }
   6353 		if test "$supported" = "yes" ; then
   6354 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6355 			found="yes"
   6356 		fi
   6357 	fi
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 # This chunk adds additional warnings that could catch undesired effects.
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 xorg_testset_save_CFLAGS="$CFLAGS"
   6378 
   6379 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6380 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6381 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6382 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6383 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6384 then :
   6385   printf %s "(cached) " >&6
   6386 else $as_nop
   6387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6388 /* end confdefs.h.  */
   6389 int i;
   6390 _ACEOF
   6391 if ac_fn_c_try_compile "$LINENO"
   6392 then :
   6393   xorg_cv_cc_flag_unknown_warning_option=yes
   6394 else $as_nop
   6395   xorg_cv_cc_flag_unknown_warning_option=no
   6396 fi
   6397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6398 fi
   6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6400 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6401 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6402 	CFLAGS="$xorg_testset_save_CFLAGS"
   6403 fi
   6404 
   6405 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6406 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6407 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6408 	fi
   6409 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6410 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6411 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6412 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6413 then :
   6414   printf %s "(cached) " >&6
   6415 else $as_nop
   6416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6417 /* end confdefs.h.  */
   6418 int i;
   6419 _ACEOF
   6420 if ac_fn_c_try_compile "$LINENO"
   6421 then :
   6422   xorg_cv_cc_flag_unused_command_line_argument=yes
   6423 else $as_nop
   6424   xorg_cv_cc_flag_unused_command_line_argument=no
   6425 fi
   6426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6427 fi
   6428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6429 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6430 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6431 	CFLAGS="$xorg_testset_save_CFLAGS"
   6432 fi
   6433 
   6434 found="no"
   6435 
   6436 	if test $found = "no" ; then
   6437 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6438 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6439 		fi
   6440 
   6441 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6442 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6443 		fi
   6444 
   6445 		CFLAGS="$CFLAGS -Wunused"
   6446 
   6447 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6448 printf %s "checking if $CC supports -Wunused... " >&6; }
   6449 		cacheid=xorg_cv_cc_flag__Wunused
   6450 		if eval test \${$cacheid+y}
   6451 then :
   6452   printf %s "(cached) " >&6
   6453 else $as_nop
   6454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6455 /* end confdefs.h.  */
   6456 int i;
   6457 int
   6458 main (void)
   6459 {
   6460 
   6461   ;
   6462   return 0;
   6463 }
   6464 _ACEOF
   6465 if ac_fn_c_try_link "$LINENO"
   6466 then :
   6467   eval $cacheid=yes
   6468 else $as_nop
   6469   eval $cacheid=no
   6470 fi
   6471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6472     conftest$ac_exeext conftest.$ac_ext
   6473 fi
   6474 
   6475 
   6476 		CFLAGS="$xorg_testset_save_CFLAGS"
   6477 
   6478 		eval supported=\$$cacheid
   6479 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6480 printf "%s\n" "$supported" >&6; }
   6481 		if test "$supported" = "yes" ; then
   6482 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6483 			found="yes"
   6484 		fi
   6485 	fi
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 xorg_testset_save_CFLAGS="$CFLAGS"
   6502 
   6503 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6505 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6506 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6507 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6508 then :
   6509   printf %s "(cached) " >&6
   6510 else $as_nop
   6511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6512 /* end confdefs.h.  */
   6513 int i;
   6514 _ACEOF
   6515 if ac_fn_c_try_compile "$LINENO"
   6516 then :
   6517   xorg_cv_cc_flag_unknown_warning_option=yes
   6518 else $as_nop
   6519   xorg_cv_cc_flag_unknown_warning_option=no
   6520 fi
   6521 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6522 fi
   6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6524 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6525 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6526 	CFLAGS="$xorg_testset_save_CFLAGS"
   6527 fi
   6528 
   6529 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6530 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6531 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6532 	fi
   6533 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6534 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6535 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6536 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6537 then :
   6538   printf %s "(cached) " >&6
   6539 else $as_nop
   6540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6541 /* end confdefs.h.  */
   6542 int i;
   6543 _ACEOF
   6544 if ac_fn_c_try_compile "$LINENO"
   6545 then :
   6546   xorg_cv_cc_flag_unused_command_line_argument=yes
   6547 else $as_nop
   6548   xorg_cv_cc_flag_unused_command_line_argument=no
   6549 fi
   6550 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6551 fi
   6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6553 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6554 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6555 	CFLAGS="$xorg_testset_save_CFLAGS"
   6556 fi
   6557 
   6558 found="no"
   6559 
   6560 	if test $found = "no" ; then
   6561 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6562 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6563 		fi
   6564 
   6565 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6566 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6567 		fi
   6568 
   6569 		CFLAGS="$CFLAGS -Wuninitialized"
   6570 
   6571 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6572 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6573 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6574 		if eval test \${$cacheid+y}
   6575 then :
   6576   printf %s "(cached) " >&6
   6577 else $as_nop
   6578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6579 /* end confdefs.h.  */
   6580 int i;
   6581 int
   6582 main (void)
   6583 {
   6584 
   6585   ;
   6586   return 0;
   6587 }
   6588 _ACEOF
   6589 if ac_fn_c_try_link "$LINENO"
   6590 then :
   6591   eval $cacheid=yes
   6592 else $as_nop
   6593   eval $cacheid=no
   6594 fi
   6595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6596     conftest$ac_exeext conftest.$ac_ext
   6597 fi
   6598 
   6599 
   6600 		CFLAGS="$xorg_testset_save_CFLAGS"
   6601 
   6602 		eval supported=\$$cacheid
   6603 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6604 printf "%s\n" "$supported" >&6; }
   6605 		if test "$supported" = "yes" ; then
   6606 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6607 			found="yes"
   6608 		fi
   6609 	fi
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 xorg_testset_save_CFLAGS="$CFLAGS"
   6626 
   6627 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6629 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6630 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6631 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6632 then :
   6633   printf %s "(cached) " >&6
   6634 else $as_nop
   6635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6636 /* end confdefs.h.  */
   6637 int i;
   6638 _ACEOF
   6639 if ac_fn_c_try_compile "$LINENO"
   6640 then :
   6641   xorg_cv_cc_flag_unknown_warning_option=yes
   6642 else $as_nop
   6643   xorg_cv_cc_flag_unknown_warning_option=no
   6644 fi
   6645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6646 fi
   6647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6648 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6650 	CFLAGS="$xorg_testset_save_CFLAGS"
   6651 fi
   6652 
   6653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6656 	fi
   6657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6658 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6659 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6660 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6661 then :
   6662   printf %s "(cached) " >&6
   6663 else $as_nop
   6664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6665 /* end confdefs.h.  */
   6666 int i;
   6667 _ACEOF
   6668 if ac_fn_c_try_compile "$LINENO"
   6669 then :
   6670   xorg_cv_cc_flag_unused_command_line_argument=yes
   6671 else $as_nop
   6672   xorg_cv_cc_flag_unused_command_line_argument=no
   6673 fi
   6674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6675 fi
   6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6677 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6678 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6679 	CFLAGS="$xorg_testset_save_CFLAGS"
   6680 fi
   6681 
   6682 found="no"
   6683 
   6684 	if test $found = "no" ; then
   6685 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6686 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6687 		fi
   6688 
   6689 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6690 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6691 		fi
   6692 
   6693 		CFLAGS="$CFLAGS -Wshadow"
   6694 
   6695 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6696 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6697 		cacheid=xorg_cv_cc_flag__Wshadow
   6698 		if eval test \${$cacheid+y}
   6699 then :
   6700   printf %s "(cached) " >&6
   6701 else $as_nop
   6702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6703 /* end confdefs.h.  */
   6704 int i;
   6705 int
   6706 main (void)
   6707 {
   6708 
   6709   ;
   6710   return 0;
   6711 }
   6712 _ACEOF
   6713 if ac_fn_c_try_link "$LINENO"
   6714 then :
   6715   eval $cacheid=yes
   6716 else $as_nop
   6717   eval $cacheid=no
   6718 fi
   6719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6720     conftest$ac_exeext conftest.$ac_ext
   6721 fi
   6722 
   6723 
   6724 		CFLAGS="$xorg_testset_save_CFLAGS"
   6725 
   6726 		eval supported=\$$cacheid
   6727 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6728 printf "%s\n" "$supported" >&6; }
   6729 		if test "$supported" = "yes" ; then
   6730 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6731 			found="yes"
   6732 		fi
   6733 	fi
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 xorg_testset_save_CFLAGS="$CFLAGS"
   6750 
   6751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6753 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6754 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6755 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6756 then :
   6757   printf %s "(cached) " >&6
   6758 else $as_nop
   6759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6760 /* end confdefs.h.  */
   6761 int i;
   6762 _ACEOF
   6763 if ac_fn_c_try_compile "$LINENO"
   6764 then :
   6765   xorg_cv_cc_flag_unknown_warning_option=yes
   6766 else $as_nop
   6767   xorg_cv_cc_flag_unknown_warning_option=no
   6768 fi
   6769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6770 fi
   6771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6772 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6774 	CFLAGS="$xorg_testset_save_CFLAGS"
   6775 fi
   6776 
   6777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6780 	fi
   6781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6782 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6783 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6784 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6785 then :
   6786   printf %s "(cached) " >&6
   6787 else $as_nop
   6788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6789 /* end confdefs.h.  */
   6790 int i;
   6791 _ACEOF
   6792 if ac_fn_c_try_compile "$LINENO"
   6793 then :
   6794   xorg_cv_cc_flag_unused_command_line_argument=yes
   6795 else $as_nop
   6796   xorg_cv_cc_flag_unused_command_line_argument=no
   6797 fi
   6798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6799 fi
   6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6801 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6802 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6803 	CFLAGS="$xorg_testset_save_CFLAGS"
   6804 fi
   6805 
   6806 found="no"
   6807 
   6808 	if test $found = "no" ; then
   6809 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6810 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6811 		fi
   6812 
   6813 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6814 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6815 		fi
   6816 
   6817 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6818 
   6819 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6820 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6821 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6822 		if eval test \${$cacheid+y}
   6823 then :
   6824   printf %s "(cached) " >&6
   6825 else $as_nop
   6826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6827 /* end confdefs.h.  */
   6828 int i;
   6829 int
   6830 main (void)
   6831 {
   6832 
   6833   ;
   6834   return 0;
   6835 }
   6836 _ACEOF
   6837 if ac_fn_c_try_link "$LINENO"
   6838 then :
   6839   eval $cacheid=yes
   6840 else $as_nop
   6841   eval $cacheid=no
   6842 fi
   6843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6844     conftest$ac_exeext conftest.$ac_ext
   6845 fi
   6846 
   6847 
   6848 		CFLAGS="$xorg_testset_save_CFLAGS"
   6849 
   6850 		eval supported=\$$cacheid
   6851 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6852 printf "%s\n" "$supported" >&6; }
   6853 		if test "$supported" = "yes" ; then
   6854 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6855 			found="yes"
   6856 		fi
   6857 	fi
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 xorg_testset_save_CFLAGS="$CFLAGS"
   6874 
   6875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6877 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6878 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6879 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6880 then :
   6881   printf %s "(cached) " >&6
   6882 else $as_nop
   6883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6884 /* end confdefs.h.  */
   6885 int i;
   6886 _ACEOF
   6887 if ac_fn_c_try_compile "$LINENO"
   6888 then :
   6889   xorg_cv_cc_flag_unknown_warning_option=yes
   6890 else $as_nop
   6891   xorg_cv_cc_flag_unknown_warning_option=no
   6892 fi
   6893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6894 fi
   6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6896 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6897 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6898 	CFLAGS="$xorg_testset_save_CFLAGS"
   6899 fi
   6900 
   6901 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6902 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6903 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6904 	fi
   6905 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6907 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6908 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6909 then :
   6910   printf %s "(cached) " >&6
   6911 else $as_nop
   6912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6913 /* end confdefs.h.  */
   6914 int i;
   6915 _ACEOF
   6916 if ac_fn_c_try_compile "$LINENO"
   6917 then :
   6918   xorg_cv_cc_flag_unused_command_line_argument=yes
   6919 else $as_nop
   6920   xorg_cv_cc_flag_unused_command_line_argument=no
   6921 fi
   6922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6923 fi
   6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6925 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6927 	CFLAGS="$xorg_testset_save_CFLAGS"
   6928 fi
   6929 
   6930 found="no"
   6931 
   6932 	if test $found = "no" ; then
   6933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6935 		fi
   6936 
   6937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6939 		fi
   6940 
   6941 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6942 
   6943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6944 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6945 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6946 		if eval test \${$cacheid+y}
   6947 then :
   6948   printf %s "(cached) " >&6
   6949 else $as_nop
   6950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6951 /* end confdefs.h.  */
   6952 int i;
   6953 int
   6954 main (void)
   6955 {
   6956 
   6957   ;
   6958   return 0;
   6959 }
   6960 _ACEOF
   6961 if ac_fn_c_try_link "$LINENO"
   6962 then :
   6963   eval $cacheid=yes
   6964 else $as_nop
   6965   eval $cacheid=no
   6966 fi
   6967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6968     conftest$ac_exeext conftest.$ac_ext
   6969 fi
   6970 
   6971 
   6972 		CFLAGS="$xorg_testset_save_CFLAGS"
   6973 
   6974 		eval supported=\$$cacheid
   6975 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6976 printf "%s\n" "$supported" >&6; }
   6977 		if test "$supported" = "yes" ; then
   6978 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6979 			found="yes"
   6980 		fi
   6981 	fi
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 xorg_testset_save_CFLAGS="$CFLAGS"
   6998 
   6999 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7001 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7002 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7003 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7004 then :
   7005   printf %s "(cached) " >&6
   7006 else $as_nop
   7007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7008 /* end confdefs.h.  */
   7009 int i;
   7010 _ACEOF
   7011 if ac_fn_c_try_compile "$LINENO"
   7012 then :
   7013   xorg_cv_cc_flag_unknown_warning_option=yes
   7014 else $as_nop
   7015   xorg_cv_cc_flag_unknown_warning_option=no
   7016 fi
   7017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7018 fi
   7019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7020 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7022 	CFLAGS="$xorg_testset_save_CFLAGS"
   7023 fi
   7024 
   7025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7028 	fi
   7029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7031 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7032 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7033 then :
   7034   printf %s "(cached) " >&6
   7035 else $as_nop
   7036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7037 /* end confdefs.h.  */
   7038 int i;
   7039 _ACEOF
   7040 if ac_fn_c_try_compile "$LINENO"
   7041 then :
   7042   xorg_cv_cc_flag_unused_command_line_argument=yes
   7043 else $as_nop
   7044   xorg_cv_cc_flag_unused_command_line_argument=no
   7045 fi
   7046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7047 fi
   7048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7049 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7051 	CFLAGS="$xorg_testset_save_CFLAGS"
   7052 fi
   7053 
   7054 found="no"
   7055 
   7056 	if test $found = "no" ; then
   7057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7059 		fi
   7060 
   7061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7063 		fi
   7064 
   7065 		CFLAGS="$CFLAGS -Wredundant-decls"
   7066 
   7067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7068 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7069 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7070 		if eval test \${$cacheid+y}
   7071 then :
   7072   printf %s "(cached) " >&6
   7073 else $as_nop
   7074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7075 /* end confdefs.h.  */
   7076 int i;
   7077 int
   7078 main (void)
   7079 {
   7080 
   7081   ;
   7082   return 0;
   7083 }
   7084 _ACEOF
   7085 if ac_fn_c_try_link "$LINENO"
   7086 then :
   7087   eval $cacheid=yes
   7088 else $as_nop
   7089   eval $cacheid=no
   7090 fi
   7091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7092     conftest$ac_exeext conftest.$ac_ext
   7093 fi
   7094 
   7095 
   7096 		CFLAGS="$xorg_testset_save_CFLAGS"
   7097 
   7098 		eval supported=\$$cacheid
   7099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7100 printf "%s\n" "$supported" >&6; }
   7101 		if test "$supported" = "yes" ; then
   7102 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7103 			found="yes"
   7104 		fi
   7105 	fi
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 xorg_testset_save_CFLAGS="$CFLAGS"
   7122 
   7123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7126 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7127 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7128 then :
   7129   printf %s "(cached) " >&6
   7130 else $as_nop
   7131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7132 /* end confdefs.h.  */
   7133 int i;
   7134 _ACEOF
   7135 if ac_fn_c_try_compile "$LINENO"
   7136 then :
   7137   xorg_cv_cc_flag_unknown_warning_option=yes
   7138 else $as_nop
   7139   xorg_cv_cc_flag_unknown_warning_option=no
   7140 fi
   7141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7142 fi
   7143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7144 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7146 	CFLAGS="$xorg_testset_save_CFLAGS"
   7147 fi
   7148 
   7149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7152 	fi
   7153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7154 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7155 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7156 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7157 then :
   7158   printf %s "(cached) " >&6
   7159 else $as_nop
   7160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7161 /* end confdefs.h.  */
   7162 int i;
   7163 _ACEOF
   7164 if ac_fn_c_try_compile "$LINENO"
   7165 then :
   7166   xorg_cv_cc_flag_unused_command_line_argument=yes
   7167 else $as_nop
   7168   xorg_cv_cc_flag_unused_command_line_argument=no
   7169 fi
   7170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7171 fi
   7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7173 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7175 	CFLAGS="$xorg_testset_save_CFLAGS"
   7176 fi
   7177 
   7178 found="no"
   7179 
   7180 	if test $found = "no" ; then
   7181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7183 		fi
   7184 
   7185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7187 		fi
   7188 
   7189 		CFLAGS="$CFLAGS -Wlogical-op"
   7190 
   7191 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7192 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7193 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7194 		if eval test \${$cacheid+y}
   7195 then :
   7196   printf %s "(cached) " >&6
   7197 else $as_nop
   7198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7199 /* end confdefs.h.  */
   7200 int i;
   7201 int
   7202 main (void)
   7203 {
   7204 
   7205   ;
   7206   return 0;
   7207 }
   7208 _ACEOF
   7209 if ac_fn_c_try_link "$LINENO"
   7210 then :
   7211   eval $cacheid=yes
   7212 else $as_nop
   7213   eval $cacheid=no
   7214 fi
   7215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7216     conftest$ac_exeext conftest.$ac_ext
   7217 fi
   7218 
   7219 
   7220 		CFLAGS="$xorg_testset_save_CFLAGS"
   7221 
   7222 		eval supported=\$$cacheid
   7223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7224 printf "%s\n" "$supported" >&6; }
   7225 		if test "$supported" = "yes" ; then
   7226 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7227 			found="yes"
   7228 		fi
   7229 	fi
   7230 
   7231 
   7232 
   7233 # These are currently disabled because they are noisy.  They will be enabled
   7234 # in the future once the codebase is sufficiently modernized to silence
   7235 # them.  For now, I don't want them to drown out the other warnings.
   7236 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7237 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7238 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7239 
   7240 # Turn some warnings into errors, so we don't accidently get successful builds
   7241 # when there are problems that should be fixed.
   7242 
   7243 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 xorg_testset_save_CFLAGS="$CFLAGS"
   7258 
   7259 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7260 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7261 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7262 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7263 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7264 then :
   7265   printf %s "(cached) " >&6
   7266 else $as_nop
   7267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7268 /* end confdefs.h.  */
   7269 int i;
   7270 _ACEOF
   7271 if ac_fn_c_try_compile "$LINENO"
   7272 then :
   7273   xorg_cv_cc_flag_unknown_warning_option=yes
   7274 else $as_nop
   7275   xorg_cv_cc_flag_unknown_warning_option=no
   7276 fi
   7277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7278 fi
   7279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7280 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7281 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7282 	CFLAGS="$xorg_testset_save_CFLAGS"
   7283 fi
   7284 
   7285 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7286 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7287 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7288 	fi
   7289 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7290 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7291 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7292 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7293 then :
   7294   printf %s "(cached) " >&6
   7295 else $as_nop
   7296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7297 /* end confdefs.h.  */
   7298 int i;
   7299 _ACEOF
   7300 if ac_fn_c_try_compile "$LINENO"
   7301 then :
   7302   xorg_cv_cc_flag_unused_command_line_argument=yes
   7303 else $as_nop
   7304   xorg_cv_cc_flag_unused_command_line_argument=no
   7305 fi
   7306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7307 fi
   7308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7309 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7310 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7311 	CFLAGS="$xorg_testset_save_CFLAGS"
   7312 fi
   7313 
   7314 found="no"
   7315 
   7316 	if test $found = "no" ; then
   7317 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7319 		fi
   7320 
   7321 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7323 		fi
   7324 
   7325 		CFLAGS="$CFLAGS -Werror=implicit"
   7326 
   7327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7328 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7329 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7330 		if eval test \${$cacheid+y}
   7331 then :
   7332   printf %s "(cached) " >&6
   7333 else $as_nop
   7334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7335 /* end confdefs.h.  */
   7336 int i;
   7337 int
   7338 main (void)
   7339 {
   7340 
   7341   ;
   7342   return 0;
   7343 }
   7344 _ACEOF
   7345 if ac_fn_c_try_link "$LINENO"
   7346 then :
   7347   eval $cacheid=yes
   7348 else $as_nop
   7349   eval $cacheid=no
   7350 fi
   7351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7352     conftest$ac_exeext conftest.$ac_ext
   7353 fi
   7354 
   7355 
   7356 		CFLAGS="$xorg_testset_save_CFLAGS"
   7357 
   7358 		eval supported=\$$cacheid
   7359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7360 printf "%s\n" "$supported" >&6; }
   7361 		if test "$supported" = "yes" ; then
   7362 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7363 			found="yes"
   7364 		fi
   7365 	fi
   7366 
   7367 	if test $found = "no" ; then
   7368 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7369 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7370 		fi
   7371 
   7372 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7373 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7374 		fi
   7375 
   7376 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7377 
   7378 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7379 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7380 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7381 		if eval test \${$cacheid+y}
   7382 then :
   7383   printf %s "(cached) " >&6
   7384 else $as_nop
   7385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7386 /* end confdefs.h.  */
   7387 int i;
   7388 int
   7389 main (void)
   7390 {
   7391 
   7392   ;
   7393   return 0;
   7394 }
   7395 _ACEOF
   7396 if ac_fn_c_try_link "$LINENO"
   7397 then :
   7398   eval $cacheid=yes
   7399 else $as_nop
   7400   eval $cacheid=no
   7401 fi
   7402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7403     conftest$ac_exeext conftest.$ac_ext
   7404 fi
   7405 
   7406 
   7407 		CFLAGS="$xorg_testset_save_CFLAGS"
   7408 
   7409 		eval supported=\$$cacheid
   7410 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7411 printf "%s\n" "$supported" >&6; }
   7412 		if test "$supported" = "yes" ; then
   7413 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7414 			found="yes"
   7415 		fi
   7416 	fi
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 xorg_testset_save_CFLAGS="$CFLAGS"
   7433 
   7434 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7435 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7436 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7437 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7438 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7439 then :
   7440   printf %s "(cached) " >&6
   7441 else $as_nop
   7442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7443 /* end confdefs.h.  */
   7444 int i;
   7445 _ACEOF
   7446 if ac_fn_c_try_compile "$LINENO"
   7447 then :
   7448   xorg_cv_cc_flag_unknown_warning_option=yes
   7449 else $as_nop
   7450   xorg_cv_cc_flag_unknown_warning_option=no
   7451 fi
   7452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7453 fi
   7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7455 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7456 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7457 	CFLAGS="$xorg_testset_save_CFLAGS"
   7458 fi
   7459 
   7460 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7461 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7462 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7463 	fi
   7464 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7465 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7466 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7467 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7468 then :
   7469   printf %s "(cached) " >&6
   7470 else $as_nop
   7471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7472 /* end confdefs.h.  */
   7473 int i;
   7474 _ACEOF
   7475 if ac_fn_c_try_compile "$LINENO"
   7476 then :
   7477   xorg_cv_cc_flag_unused_command_line_argument=yes
   7478 else $as_nop
   7479   xorg_cv_cc_flag_unused_command_line_argument=no
   7480 fi
   7481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7482 fi
   7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7484 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7485 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7486 	CFLAGS="$xorg_testset_save_CFLAGS"
   7487 fi
   7488 
   7489 found="no"
   7490 
   7491 	if test $found = "no" ; then
   7492 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7493 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7494 		fi
   7495 
   7496 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7497 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7498 		fi
   7499 
   7500 		CFLAGS="$CFLAGS -Werror=nonnull"
   7501 
   7502 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7503 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7504 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7505 		if eval test \${$cacheid+y}
   7506 then :
   7507   printf %s "(cached) " >&6
   7508 else $as_nop
   7509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7510 /* end confdefs.h.  */
   7511 int i;
   7512 int
   7513 main (void)
   7514 {
   7515 
   7516   ;
   7517   return 0;
   7518 }
   7519 _ACEOF
   7520 if ac_fn_c_try_link "$LINENO"
   7521 then :
   7522   eval $cacheid=yes
   7523 else $as_nop
   7524   eval $cacheid=no
   7525 fi
   7526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7527     conftest$ac_exeext conftest.$ac_ext
   7528 fi
   7529 
   7530 
   7531 		CFLAGS="$xorg_testset_save_CFLAGS"
   7532 
   7533 		eval supported=\$$cacheid
   7534 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7535 printf "%s\n" "$supported" >&6; }
   7536 		if test "$supported" = "yes" ; then
   7537 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7538 			found="yes"
   7539 		fi
   7540 	fi
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 xorg_testset_save_CFLAGS="$CFLAGS"
   7557 
   7558 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7560 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7561 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7562 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7563 then :
   7564   printf %s "(cached) " >&6
   7565 else $as_nop
   7566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7567 /* end confdefs.h.  */
   7568 int i;
   7569 _ACEOF
   7570 if ac_fn_c_try_compile "$LINENO"
   7571 then :
   7572   xorg_cv_cc_flag_unknown_warning_option=yes
   7573 else $as_nop
   7574   xorg_cv_cc_flag_unknown_warning_option=no
   7575 fi
   7576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7577 fi
   7578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7579 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7581 	CFLAGS="$xorg_testset_save_CFLAGS"
   7582 fi
   7583 
   7584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7587 	fi
   7588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7589 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7590 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7591 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7592 then :
   7593   printf %s "(cached) " >&6
   7594 else $as_nop
   7595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7596 /* end confdefs.h.  */
   7597 int i;
   7598 _ACEOF
   7599 if ac_fn_c_try_compile "$LINENO"
   7600 then :
   7601   xorg_cv_cc_flag_unused_command_line_argument=yes
   7602 else $as_nop
   7603   xorg_cv_cc_flag_unused_command_line_argument=no
   7604 fi
   7605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7606 fi
   7607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7608 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7610 	CFLAGS="$xorg_testset_save_CFLAGS"
   7611 fi
   7612 
   7613 found="no"
   7614 
   7615 	if test $found = "no" ; then
   7616 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7618 		fi
   7619 
   7620 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7622 		fi
   7623 
   7624 		CFLAGS="$CFLAGS -Werror=init-self"
   7625 
   7626 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7627 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7628 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7629 		if eval test \${$cacheid+y}
   7630 then :
   7631   printf %s "(cached) " >&6
   7632 else $as_nop
   7633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7634 /* end confdefs.h.  */
   7635 int i;
   7636 int
   7637 main (void)
   7638 {
   7639 
   7640   ;
   7641   return 0;
   7642 }
   7643 _ACEOF
   7644 if ac_fn_c_try_link "$LINENO"
   7645 then :
   7646   eval $cacheid=yes
   7647 else $as_nop
   7648   eval $cacheid=no
   7649 fi
   7650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7651     conftest$ac_exeext conftest.$ac_ext
   7652 fi
   7653 
   7654 
   7655 		CFLAGS="$xorg_testset_save_CFLAGS"
   7656 
   7657 		eval supported=\$$cacheid
   7658 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7659 printf "%s\n" "$supported" >&6; }
   7660 		if test "$supported" = "yes" ; then
   7661 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7662 			found="yes"
   7663 		fi
   7664 	fi
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 xorg_testset_save_CFLAGS="$CFLAGS"
   7681 
   7682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7684 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7685 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7686 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7687 then :
   7688   printf %s "(cached) " >&6
   7689 else $as_nop
   7690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7691 /* end confdefs.h.  */
   7692 int i;
   7693 _ACEOF
   7694 if ac_fn_c_try_compile "$LINENO"
   7695 then :
   7696   xorg_cv_cc_flag_unknown_warning_option=yes
   7697 else $as_nop
   7698   xorg_cv_cc_flag_unknown_warning_option=no
   7699 fi
   7700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7701 fi
   7702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7703 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7704 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7705 	CFLAGS="$xorg_testset_save_CFLAGS"
   7706 fi
   7707 
   7708 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7709 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7710 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7711 	fi
   7712 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7713 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7714 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7715 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7716 then :
   7717   printf %s "(cached) " >&6
   7718 else $as_nop
   7719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7720 /* end confdefs.h.  */
   7721 int i;
   7722 _ACEOF
   7723 if ac_fn_c_try_compile "$LINENO"
   7724 then :
   7725   xorg_cv_cc_flag_unused_command_line_argument=yes
   7726 else $as_nop
   7727   xorg_cv_cc_flag_unused_command_line_argument=no
   7728 fi
   7729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7730 fi
   7731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7732 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7733 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7734 	CFLAGS="$xorg_testset_save_CFLAGS"
   7735 fi
   7736 
   7737 found="no"
   7738 
   7739 	if test $found = "no" ; then
   7740 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7742 		fi
   7743 
   7744 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7746 		fi
   7747 
   7748 		CFLAGS="$CFLAGS -Werror=main"
   7749 
   7750 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7751 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7752 		cacheid=xorg_cv_cc_flag__Werror_main
   7753 		if eval test \${$cacheid+y}
   7754 then :
   7755   printf %s "(cached) " >&6
   7756 else $as_nop
   7757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7758 /* end confdefs.h.  */
   7759 int i;
   7760 int
   7761 main (void)
   7762 {
   7763 
   7764   ;
   7765   return 0;
   7766 }
   7767 _ACEOF
   7768 if ac_fn_c_try_link "$LINENO"
   7769 then :
   7770   eval $cacheid=yes
   7771 else $as_nop
   7772   eval $cacheid=no
   7773 fi
   7774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7775     conftest$ac_exeext conftest.$ac_ext
   7776 fi
   7777 
   7778 
   7779 		CFLAGS="$xorg_testset_save_CFLAGS"
   7780 
   7781 		eval supported=\$$cacheid
   7782 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7783 printf "%s\n" "$supported" >&6; }
   7784 		if test "$supported" = "yes" ; then
   7785 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7786 			found="yes"
   7787 		fi
   7788 	fi
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 xorg_testset_save_CFLAGS="$CFLAGS"
   7805 
   7806 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7807 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7808 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7809 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7810 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7811 then :
   7812   printf %s "(cached) " >&6
   7813 else $as_nop
   7814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7815 /* end confdefs.h.  */
   7816 int i;
   7817 _ACEOF
   7818 if ac_fn_c_try_compile "$LINENO"
   7819 then :
   7820   xorg_cv_cc_flag_unknown_warning_option=yes
   7821 else $as_nop
   7822   xorg_cv_cc_flag_unknown_warning_option=no
   7823 fi
   7824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7825 fi
   7826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7827 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7828 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7829 	CFLAGS="$xorg_testset_save_CFLAGS"
   7830 fi
   7831 
   7832 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7833 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7834 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7835 	fi
   7836 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7837 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7838 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7839 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7840 then :
   7841   printf %s "(cached) " >&6
   7842 else $as_nop
   7843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7844 /* end confdefs.h.  */
   7845 int i;
   7846 _ACEOF
   7847 if ac_fn_c_try_compile "$LINENO"
   7848 then :
   7849   xorg_cv_cc_flag_unused_command_line_argument=yes
   7850 else $as_nop
   7851   xorg_cv_cc_flag_unused_command_line_argument=no
   7852 fi
   7853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7854 fi
   7855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7856 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7858 	CFLAGS="$xorg_testset_save_CFLAGS"
   7859 fi
   7860 
   7861 found="no"
   7862 
   7863 	if test $found = "no" ; then
   7864 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7866 		fi
   7867 
   7868 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7870 		fi
   7871 
   7872 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7873 
   7874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7875 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7876 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7877 		if eval test \${$cacheid+y}
   7878 then :
   7879   printf %s "(cached) " >&6
   7880 else $as_nop
   7881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7882 /* end confdefs.h.  */
   7883 int i;
   7884 int
   7885 main (void)
   7886 {
   7887 
   7888   ;
   7889   return 0;
   7890 }
   7891 _ACEOF
   7892 if ac_fn_c_try_link "$LINENO"
   7893 then :
   7894   eval $cacheid=yes
   7895 else $as_nop
   7896   eval $cacheid=no
   7897 fi
   7898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7899     conftest$ac_exeext conftest.$ac_ext
   7900 fi
   7901 
   7902 
   7903 		CFLAGS="$xorg_testset_save_CFLAGS"
   7904 
   7905 		eval supported=\$$cacheid
   7906 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7907 printf "%s\n" "$supported" >&6; }
   7908 		if test "$supported" = "yes" ; then
   7909 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7910 			found="yes"
   7911 		fi
   7912 	fi
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 xorg_testset_save_CFLAGS="$CFLAGS"
   7929 
   7930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7932 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7933 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7934 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7935 then :
   7936   printf %s "(cached) " >&6
   7937 else $as_nop
   7938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7939 /* end confdefs.h.  */
   7940 int i;
   7941 _ACEOF
   7942 if ac_fn_c_try_compile "$LINENO"
   7943 then :
   7944   xorg_cv_cc_flag_unknown_warning_option=yes
   7945 else $as_nop
   7946   xorg_cv_cc_flag_unknown_warning_option=no
   7947 fi
   7948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7949 fi
   7950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7951 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7952 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7953 	CFLAGS="$xorg_testset_save_CFLAGS"
   7954 fi
   7955 
   7956 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7957 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7958 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7959 	fi
   7960 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7961 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7962 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7963 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7964 then :
   7965   printf %s "(cached) " >&6
   7966 else $as_nop
   7967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7968 /* end confdefs.h.  */
   7969 int i;
   7970 _ACEOF
   7971 if ac_fn_c_try_compile "$LINENO"
   7972 then :
   7973   xorg_cv_cc_flag_unused_command_line_argument=yes
   7974 else $as_nop
   7975   xorg_cv_cc_flag_unused_command_line_argument=no
   7976 fi
   7977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7978 fi
   7979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7980 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7981 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7982 	CFLAGS="$xorg_testset_save_CFLAGS"
   7983 fi
   7984 
   7985 found="no"
   7986 
   7987 	if test $found = "no" ; then
   7988 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7990 		fi
   7991 
   7992 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7994 		fi
   7995 
   7996 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7997 
   7998 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7999 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8000 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8001 		if eval test \${$cacheid+y}
   8002 then :
   8003   printf %s "(cached) " >&6
   8004 else $as_nop
   8005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8006 /* end confdefs.h.  */
   8007 int i;
   8008 int
   8009 main (void)
   8010 {
   8011 
   8012   ;
   8013   return 0;
   8014 }
   8015 _ACEOF
   8016 if ac_fn_c_try_link "$LINENO"
   8017 then :
   8018   eval $cacheid=yes
   8019 else $as_nop
   8020   eval $cacheid=no
   8021 fi
   8022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8023     conftest$ac_exeext conftest.$ac_ext
   8024 fi
   8025 
   8026 
   8027 		CFLAGS="$xorg_testset_save_CFLAGS"
   8028 
   8029 		eval supported=\$$cacheid
   8030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8031 printf "%s\n" "$supported" >&6; }
   8032 		if test "$supported" = "yes" ; then
   8033 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8034 			found="yes"
   8035 		fi
   8036 	fi
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 xorg_testset_save_CFLAGS="$CFLAGS"
   8053 
   8054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8056 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8057 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8058 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8059 then :
   8060   printf %s "(cached) " >&6
   8061 else $as_nop
   8062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8063 /* end confdefs.h.  */
   8064 int i;
   8065 _ACEOF
   8066 if ac_fn_c_try_compile "$LINENO"
   8067 then :
   8068   xorg_cv_cc_flag_unknown_warning_option=yes
   8069 else $as_nop
   8070   xorg_cv_cc_flag_unknown_warning_option=no
   8071 fi
   8072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8073 fi
   8074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8075 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8076 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8077 	CFLAGS="$xorg_testset_save_CFLAGS"
   8078 fi
   8079 
   8080 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8081 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8083 	fi
   8084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8085 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8086 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8087 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8088 then :
   8089   printf %s "(cached) " >&6
   8090 else $as_nop
   8091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8092 /* end confdefs.h.  */
   8093 int i;
   8094 _ACEOF
   8095 if ac_fn_c_try_compile "$LINENO"
   8096 then :
   8097   xorg_cv_cc_flag_unused_command_line_argument=yes
   8098 else $as_nop
   8099   xorg_cv_cc_flag_unused_command_line_argument=no
   8100 fi
   8101 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8102 fi
   8103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8104 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8105 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8106 	CFLAGS="$xorg_testset_save_CFLAGS"
   8107 fi
   8108 
   8109 found="no"
   8110 
   8111 	if test $found = "no" ; then
   8112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8114 		fi
   8115 
   8116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8118 		fi
   8119 
   8120 		CFLAGS="$CFLAGS -Werror=return-type"
   8121 
   8122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8123 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8124 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8125 		if eval test \${$cacheid+y}
   8126 then :
   8127   printf %s "(cached) " >&6
   8128 else $as_nop
   8129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8130 /* end confdefs.h.  */
   8131 int i;
   8132 int
   8133 main (void)
   8134 {
   8135 
   8136   ;
   8137   return 0;
   8138 }
   8139 _ACEOF
   8140 if ac_fn_c_try_link "$LINENO"
   8141 then :
   8142   eval $cacheid=yes
   8143 else $as_nop
   8144   eval $cacheid=no
   8145 fi
   8146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8147     conftest$ac_exeext conftest.$ac_ext
   8148 fi
   8149 
   8150 
   8151 		CFLAGS="$xorg_testset_save_CFLAGS"
   8152 
   8153 		eval supported=\$$cacheid
   8154 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8155 printf "%s\n" "$supported" >&6; }
   8156 		if test "$supported" = "yes" ; then
   8157 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8158 			found="yes"
   8159 		fi
   8160 	fi
   8161 
   8162 	if test $found = "no" ; then
   8163 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8164 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8165 		fi
   8166 
   8167 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8168 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8169 		fi
   8170 
   8171 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8172 
   8173 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8174 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8175 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8176 		if eval test \${$cacheid+y}
   8177 then :
   8178   printf %s "(cached) " >&6
   8179 else $as_nop
   8180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8181 /* end confdefs.h.  */
   8182 int i;
   8183 int
   8184 main (void)
   8185 {
   8186 
   8187   ;
   8188   return 0;
   8189 }
   8190 _ACEOF
   8191 if ac_fn_c_try_link "$LINENO"
   8192 then :
   8193   eval $cacheid=yes
   8194 else $as_nop
   8195   eval $cacheid=no
   8196 fi
   8197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8198     conftest$ac_exeext conftest.$ac_ext
   8199 fi
   8200 
   8201 
   8202 		CFLAGS="$xorg_testset_save_CFLAGS"
   8203 
   8204 		eval supported=\$$cacheid
   8205 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8206 printf "%s\n" "$supported" >&6; }
   8207 		if test "$supported" = "yes" ; then
   8208 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8209 			found="yes"
   8210 		fi
   8211 	fi
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 xorg_testset_save_CFLAGS="$CFLAGS"
   8228 
   8229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8231 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8232 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8233 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8234 then :
   8235   printf %s "(cached) " >&6
   8236 else $as_nop
   8237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8238 /* end confdefs.h.  */
   8239 int i;
   8240 _ACEOF
   8241 if ac_fn_c_try_compile "$LINENO"
   8242 then :
   8243   xorg_cv_cc_flag_unknown_warning_option=yes
   8244 else $as_nop
   8245   xorg_cv_cc_flag_unknown_warning_option=no
   8246 fi
   8247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8248 fi
   8249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8250 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8251 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8252 	CFLAGS="$xorg_testset_save_CFLAGS"
   8253 fi
   8254 
   8255 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8256 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8257 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8258 	fi
   8259 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8260 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8261 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8262 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8263 then :
   8264   printf %s "(cached) " >&6
   8265 else $as_nop
   8266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8267 /* end confdefs.h.  */
   8268 int i;
   8269 _ACEOF
   8270 if ac_fn_c_try_compile "$LINENO"
   8271 then :
   8272   xorg_cv_cc_flag_unused_command_line_argument=yes
   8273 else $as_nop
   8274   xorg_cv_cc_flag_unused_command_line_argument=no
   8275 fi
   8276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8277 fi
   8278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8279 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8280 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8281 	CFLAGS="$xorg_testset_save_CFLAGS"
   8282 fi
   8283 
   8284 found="no"
   8285 
   8286 	if test $found = "no" ; then
   8287 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8288 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8289 		fi
   8290 
   8291 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8292 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8293 		fi
   8294 
   8295 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8296 
   8297 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8298 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8299 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8300 		if eval test \${$cacheid+y}
   8301 then :
   8302   printf %s "(cached) " >&6
   8303 else $as_nop
   8304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8305 /* end confdefs.h.  */
   8306 int i;
   8307 int
   8308 main (void)
   8309 {
   8310 
   8311   ;
   8312   return 0;
   8313 }
   8314 _ACEOF
   8315 if ac_fn_c_try_link "$LINENO"
   8316 then :
   8317   eval $cacheid=yes
   8318 else $as_nop
   8319   eval $cacheid=no
   8320 fi
   8321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8322     conftest$ac_exeext conftest.$ac_ext
   8323 fi
   8324 
   8325 
   8326 		CFLAGS="$xorg_testset_save_CFLAGS"
   8327 
   8328 		eval supported=\$$cacheid
   8329 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8330 printf "%s\n" "$supported" >&6; }
   8331 		if test "$supported" = "yes" ; then
   8332 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8333 			found="yes"
   8334 		fi
   8335 	fi
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 xorg_testset_save_CFLAGS="$CFLAGS"
   8352 
   8353 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8355 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8356 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8357 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8358 then :
   8359   printf %s "(cached) " >&6
   8360 else $as_nop
   8361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8362 /* end confdefs.h.  */
   8363 int i;
   8364 _ACEOF
   8365 if ac_fn_c_try_compile "$LINENO"
   8366 then :
   8367   xorg_cv_cc_flag_unknown_warning_option=yes
   8368 else $as_nop
   8369   xorg_cv_cc_flag_unknown_warning_option=no
   8370 fi
   8371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8372 fi
   8373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8374 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8376 	CFLAGS="$xorg_testset_save_CFLAGS"
   8377 fi
   8378 
   8379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8382 	fi
   8383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8384 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8385 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8386 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8387 then :
   8388   printf %s "(cached) " >&6
   8389 else $as_nop
   8390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8391 /* end confdefs.h.  */
   8392 int i;
   8393 _ACEOF
   8394 if ac_fn_c_try_compile "$LINENO"
   8395 then :
   8396   xorg_cv_cc_flag_unused_command_line_argument=yes
   8397 else $as_nop
   8398   xorg_cv_cc_flag_unused_command_line_argument=no
   8399 fi
   8400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8401 fi
   8402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8403 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8404 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8405 	CFLAGS="$xorg_testset_save_CFLAGS"
   8406 fi
   8407 
   8408 found="no"
   8409 
   8410 	if test $found = "no" ; then
   8411 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8412 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8413 		fi
   8414 
   8415 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8416 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8417 		fi
   8418 
   8419 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8420 
   8421 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8422 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8423 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8424 		if eval test \${$cacheid+y}
   8425 then :
   8426   printf %s "(cached) " >&6
   8427 else $as_nop
   8428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8429 /* end confdefs.h.  */
   8430 int i;
   8431 int
   8432 main (void)
   8433 {
   8434 
   8435   ;
   8436   return 0;
   8437 }
   8438 _ACEOF
   8439 if ac_fn_c_try_link "$LINENO"
   8440 then :
   8441   eval $cacheid=yes
   8442 else $as_nop
   8443   eval $cacheid=no
   8444 fi
   8445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8446     conftest$ac_exeext conftest.$ac_ext
   8447 fi
   8448 
   8449 
   8450 		CFLAGS="$xorg_testset_save_CFLAGS"
   8451 
   8452 		eval supported=\$$cacheid
   8453 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8454 printf "%s\n" "$supported" >&6; }
   8455 		if test "$supported" = "yes" ; then
   8456 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8457 			found="yes"
   8458 		fi
   8459 	fi
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 xorg_testset_save_CFLAGS="$CFLAGS"
   8476 
   8477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8479 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8480 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8481 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8482 then :
   8483   printf %s "(cached) " >&6
   8484 else $as_nop
   8485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8486 /* end confdefs.h.  */
   8487 int i;
   8488 _ACEOF
   8489 if ac_fn_c_try_compile "$LINENO"
   8490 then :
   8491   xorg_cv_cc_flag_unknown_warning_option=yes
   8492 else $as_nop
   8493   xorg_cv_cc_flag_unknown_warning_option=no
   8494 fi
   8495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8496 fi
   8497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8498 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8499 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8500 	CFLAGS="$xorg_testset_save_CFLAGS"
   8501 fi
   8502 
   8503 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8504 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8505 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8506 	fi
   8507 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8508 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8509 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8510 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8511 then :
   8512   printf %s "(cached) " >&6
   8513 else $as_nop
   8514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8515 /* end confdefs.h.  */
   8516 int i;
   8517 _ACEOF
   8518 if ac_fn_c_try_compile "$LINENO"
   8519 then :
   8520   xorg_cv_cc_flag_unused_command_line_argument=yes
   8521 else $as_nop
   8522   xorg_cv_cc_flag_unused_command_line_argument=no
   8523 fi
   8524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8525 fi
   8526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8527 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8528 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8529 	CFLAGS="$xorg_testset_save_CFLAGS"
   8530 fi
   8531 
   8532 found="no"
   8533 
   8534 	if test $found = "no" ; then
   8535 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8537 		fi
   8538 
   8539 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8541 		fi
   8542 
   8543 		CFLAGS="$CFLAGS -Werror=write-strings"
   8544 
   8545 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8546 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8547 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8548 		if eval test \${$cacheid+y}
   8549 then :
   8550   printf %s "(cached) " >&6
   8551 else $as_nop
   8552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8553 /* end confdefs.h.  */
   8554 int i;
   8555 int
   8556 main (void)
   8557 {
   8558 
   8559   ;
   8560   return 0;
   8561 }
   8562 _ACEOF
   8563 if ac_fn_c_try_link "$LINENO"
   8564 then :
   8565   eval $cacheid=yes
   8566 else $as_nop
   8567   eval $cacheid=no
   8568 fi
   8569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8570     conftest$ac_exeext conftest.$ac_ext
   8571 fi
   8572 
   8573 
   8574 		CFLAGS="$xorg_testset_save_CFLAGS"
   8575 
   8576 		eval supported=\$$cacheid
   8577 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8578 printf "%s\n" "$supported" >&6; }
   8579 		if test "$supported" = "yes" ; then
   8580 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8581 			found="yes"
   8582 		fi
   8583 	fi
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 xorg_testset_save_CFLAGS="$CFLAGS"
   8600 
   8601 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8602 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8603 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8604 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8605 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8606 then :
   8607   printf %s "(cached) " >&6
   8608 else $as_nop
   8609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8610 /* end confdefs.h.  */
   8611 int i;
   8612 _ACEOF
   8613 if ac_fn_c_try_compile "$LINENO"
   8614 then :
   8615   xorg_cv_cc_flag_unknown_warning_option=yes
   8616 else $as_nop
   8617   xorg_cv_cc_flag_unknown_warning_option=no
   8618 fi
   8619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8620 fi
   8621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8622 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8623 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8624 	CFLAGS="$xorg_testset_save_CFLAGS"
   8625 fi
   8626 
   8627 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8628 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8629 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8630 	fi
   8631 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8632 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8633 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8634 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8635 then :
   8636   printf %s "(cached) " >&6
   8637 else $as_nop
   8638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8639 /* end confdefs.h.  */
   8640 int i;
   8641 _ACEOF
   8642 if ac_fn_c_try_compile "$LINENO"
   8643 then :
   8644   xorg_cv_cc_flag_unused_command_line_argument=yes
   8645 else $as_nop
   8646   xorg_cv_cc_flag_unused_command_line_argument=no
   8647 fi
   8648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8649 fi
   8650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8651 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8653 	CFLAGS="$xorg_testset_save_CFLAGS"
   8654 fi
   8655 
   8656 found="no"
   8657 
   8658 	if test $found = "no" ; then
   8659 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8661 		fi
   8662 
   8663 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8665 		fi
   8666 
   8667 		CFLAGS="$CFLAGS -Werror=address"
   8668 
   8669 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8670 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8671 		cacheid=xorg_cv_cc_flag__Werror_address
   8672 		if eval test \${$cacheid+y}
   8673 then :
   8674   printf %s "(cached) " >&6
   8675 else $as_nop
   8676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8677 /* end confdefs.h.  */
   8678 int i;
   8679 int
   8680 main (void)
   8681 {
   8682 
   8683   ;
   8684   return 0;
   8685 }
   8686 _ACEOF
   8687 if ac_fn_c_try_link "$LINENO"
   8688 then :
   8689   eval $cacheid=yes
   8690 else $as_nop
   8691   eval $cacheid=no
   8692 fi
   8693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8694     conftest$ac_exeext conftest.$ac_ext
   8695 fi
   8696 
   8697 
   8698 		CFLAGS="$xorg_testset_save_CFLAGS"
   8699 
   8700 		eval supported=\$$cacheid
   8701 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8702 printf "%s\n" "$supported" >&6; }
   8703 		if test "$supported" = "yes" ; then
   8704 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8705 			found="yes"
   8706 		fi
   8707 	fi
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 xorg_testset_save_CFLAGS="$CFLAGS"
   8724 
   8725 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8726 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8727 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8728 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8729 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8730 then :
   8731   printf %s "(cached) " >&6
   8732 else $as_nop
   8733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8734 /* end confdefs.h.  */
   8735 int i;
   8736 _ACEOF
   8737 if ac_fn_c_try_compile "$LINENO"
   8738 then :
   8739   xorg_cv_cc_flag_unknown_warning_option=yes
   8740 else $as_nop
   8741   xorg_cv_cc_flag_unknown_warning_option=no
   8742 fi
   8743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8744 fi
   8745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8746 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8747 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8748 	CFLAGS="$xorg_testset_save_CFLAGS"
   8749 fi
   8750 
   8751 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8752 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8753 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8754 	fi
   8755 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8756 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8757 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8758 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8759 then :
   8760   printf %s "(cached) " >&6
   8761 else $as_nop
   8762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8763 /* end confdefs.h.  */
   8764 int i;
   8765 _ACEOF
   8766 if ac_fn_c_try_compile "$LINENO"
   8767 then :
   8768   xorg_cv_cc_flag_unused_command_line_argument=yes
   8769 else $as_nop
   8770   xorg_cv_cc_flag_unused_command_line_argument=no
   8771 fi
   8772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8773 fi
   8774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8775 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8776 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8777 	CFLAGS="$xorg_testset_save_CFLAGS"
   8778 fi
   8779 
   8780 found="no"
   8781 
   8782 	if test $found = "no" ; then
   8783 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8785 		fi
   8786 
   8787 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8789 		fi
   8790 
   8791 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8792 
   8793 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8794 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8795 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8796 		if eval test \${$cacheid+y}
   8797 then :
   8798   printf %s "(cached) " >&6
   8799 else $as_nop
   8800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8801 /* end confdefs.h.  */
   8802 int i;
   8803 int
   8804 main (void)
   8805 {
   8806 
   8807   ;
   8808   return 0;
   8809 }
   8810 _ACEOF
   8811 if ac_fn_c_try_link "$LINENO"
   8812 then :
   8813   eval $cacheid=yes
   8814 else $as_nop
   8815   eval $cacheid=no
   8816 fi
   8817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8818     conftest$ac_exeext conftest.$ac_ext
   8819 fi
   8820 
   8821 
   8822 		CFLAGS="$xorg_testset_save_CFLAGS"
   8823 
   8824 		eval supported=\$$cacheid
   8825 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8826 printf "%s\n" "$supported" >&6; }
   8827 		if test "$supported" = "yes" ; then
   8828 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8829 			found="yes"
   8830 		fi
   8831 	fi
   8832 
   8833 	if test $found = "no" ; then
   8834 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8835 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8836 		fi
   8837 
   8838 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8839 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8840 		fi
   8841 
   8842 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8843 
   8844 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8845 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8846 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8847 		if eval test \${$cacheid+y}
   8848 then :
   8849   printf %s "(cached) " >&6
   8850 else $as_nop
   8851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8852 /* end confdefs.h.  */
   8853 int i;
   8854 int
   8855 main (void)
   8856 {
   8857 
   8858   ;
   8859   return 0;
   8860 }
   8861 _ACEOF
   8862 if ac_fn_c_try_link "$LINENO"
   8863 then :
   8864   eval $cacheid=yes
   8865 else $as_nop
   8866   eval $cacheid=no
   8867 fi
   8868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8869     conftest$ac_exeext conftest.$ac_ext
   8870 fi
   8871 
   8872 
   8873 		CFLAGS="$xorg_testset_save_CFLAGS"
   8874 
   8875 		eval supported=\$$cacheid
   8876 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8877 printf "%s\n" "$supported" >&6; }
   8878 		if test "$supported" = "yes" ; then
   8879 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8880 			found="yes"
   8881 		fi
   8882 	fi
   8883 
   8884 
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 xorg_testset_save_CFLAGS="$CFLAGS"
   8899 
   8900 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8901 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8903 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8904 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8905 then :
   8906   printf %s "(cached) " >&6
   8907 else $as_nop
   8908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8909 /* end confdefs.h.  */
   8910 int i;
   8911 _ACEOF
   8912 if ac_fn_c_try_compile "$LINENO"
   8913 then :
   8914   xorg_cv_cc_flag_unknown_warning_option=yes
   8915 else $as_nop
   8916   xorg_cv_cc_flag_unknown_warning_option=no
   8917 fi
   8918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8919 fi
   8920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8921 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8922 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8923 	CFLAGS="$xorg_testset_save_CFLAGS"
   8924 fi
   8925 
   8926 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8927 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8928 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8929 	fi
   8930 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8932 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8933 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8934 then :
   8935   printf %s "(cached) " >&6
   8936 else $as_nop
   8937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8938 /* end confdefs.h.  */
   8939 int i;
   8940 _ACEOF
   8941 if ac_fn_c_try_compile "$LINENO"
   8942 then :
   8943   xorg_cv_cc_flag_unused_command_line_argument=yes
   8944 else $as_nop
   8945   xorg_cv_cc_flag_unused_command_line_argument=no
   8946 fi
   8947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8948 fi
   8949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8950 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8951 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8952 	CFLAGS="$xorg_testset_save_CFLAGS"
   8953 fi
   8954 
   8955 found="no"
   8956 
   8957 	if test $found = "no" ; then
   8958 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8959 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8960 		fi
   8961 
   8962 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8963 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8964 		fi
   8965 
   8966 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8967 
   8968 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8969 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8970 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8971 		if eval test \${$cacheid+y}
   8972 then :
   8973   printf %s "(cached) " >&6
   8974 else $as_nop
   8975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8976 /* end confdefs.h.  */
   8977 int i;
   8978 int
   8979 main (void)
   8980 {
   8981 
   8982   ;
   8983   return 0;
   8984 }
   8985 _ACEOF
   8986 if ac_fn_c_try_link "$LINENO"
   8987 then :
   8988   eval $cacheid=yes
   8989 else $as_nop
   8990   eval $cacheid=no
   8991 fi
   8992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8993     conftest$ac_exeext conftest.$ac_ext
   8994 fi
   8995 
   8996 
   8997 		CFLAGS="$xorg_testset_save_CFLAGS"
   8998 
   8999 		eval supported=\$$cacheid
   9000 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9001 printf "%s\n" "$supported" >&6; }
   9002 		if test "$supported" = "yes" ; then
   9003 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9004 			found="yes"
   9005 		fi
   9006 	fi
   9007 
   9008  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9009 else
   9010 { printf "%s\n" "$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
   9011 printf "%s\n" "$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;}
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 xorg_testset_save_CFLAGS="$CFLAGS"
   9026 
   9027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9029 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9030 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9031 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9032 then :
   9033   printf %s "(cached) " >&6
   9034 else $as_nop
   9035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9036 /* end confdefs.h.  */
   9037 int i;
   9038 _ACEOF
   9039 if ac_fn_c_try_compile "$LINENO"
   9040 then :
   9041   xorg_cv_cc_flag_unknown_warning_option=yes
   9042 else $as_nop
   9043   xorg_cv_cc_flag_unknown_warning_option=no
   9044 fi
   9045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9046 fi
   9047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9048 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9049 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9050 	CFLAGS="$xorg_testset_save_CFLAGS"
   9051 fi
   9052 
   9053 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9054 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9055 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9056 	fi
   9057 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9058 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9059 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9060 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9061 then :
   9062   printf %s "(cached) " >&6
   9063 else $as_nop
   9064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9065 /* end confdefs.h.  */
   9066 int i;
   9067 _ACEOF
   9068 if ac_fn_c_try_compile "$LINENO"
   9069 then :
   9070   xorg_cv_cc_flag_unused_command_line_argument=yes
   9071 else $as_nop
   9072   xorg_cv_cc_flag_unused_command_line_argument=no
   9073 fi
   9074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9075 fi
   9076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9077 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9078 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9079 	CFLAGS="$xorg_testset_save_CFLAGS"
   9080 fi
   9081 
   9082 found="no"
   9083 
   9084 	if test $found = "no" ; then
   9085 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9087 		fi
   9088 
   9089 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9091 		fi
   9092 
   9093 		CFLAGS="$CFLAGS -Wimplicit"
   9094 
   9095 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9096 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9097 		cacheid=xorg_cv_cc_flag__Wimplicit
   9098 		if eval test \${$cacheid+y}
   9099 then :
   9100   printf %s "(cached) " >&6
   9101 else $as_nop
   9102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9103 /* end confdefs.h.  */
   9104 int i;
   9105 int
   9106 main (void)
   9107 {
   9108 
   9109   ;
   9110   return 0;
   9111 }
   9112 _ACEOF
   9113 if ac_fn_c_try_link "$LINENO"
   9114 then :
   9115   eval $cacheid=yes
   9116 else $as_nop
   9117   eval $cacheid=no
   9118 fi
   9119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9120     conftest$ac_exeext conftest.$ac_ext
   9121 fi
   9122 
   9123 
   9124 		CFLAGS="$xorg_testset_save_CFLAGS"
   9125 
   9126 		eval supported=\$$cacheid
   9127 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9128 printf "%s\n" "$supported" >&6; }
   9129 		if test "$supported" = "yes" ; then
   9130 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9131 			found="yes"
   9132 		fi
   9133 	fi
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 xorg_testset_save_CFLAGS="$CFLAGS"
   9150 
   9151 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9152 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9153 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9154 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9155 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9156 then :
   9157   printf %s "(cached) " >&6
   9158 else $as_nop
   9159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9160 /* end confdefs.h.  */
   9161 int i;
   9162 _ACEOF
   9163 if ac_fn_c_try_compile "$LINENO"
   9164 then :
   9165   xorg_cv_cc_flag_unknown_warning_option=yes
   9166 else $as_nop
   9167   xorg_cv_cc_flag_unknown_warning_option=no
   9168 fi
   9169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9170 fi
   9171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9172 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9173 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9174 	CFLAGS="$xorg_testset_save_CFLAGS"
   9175 fi
   9176 
   9177 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9178 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9179 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9180 	fi
   9181 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9182 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9183 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9184 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9185 then :
   9186   printf %s "(cached) " >&6
   9187 else $as_nop
   9188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9189 /* end confdefs.h.  */
   9190 int i;
   9191 _ACEOF
   9192 if ac_fn_c_try_compile "$LINENO"
   9193 then :
   9194   xorg_cv_cc_flag_unused_command_line_argument=yes
   9195 else $as_nop
   9196   xorg_cv_cc_flag_unused_command_line_argument=no
   9197 fi
   9198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9199 fi
   9200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9201 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9203 	CFLAGS="$xorg_testset_save_CFLAGS"
   9204 fi
   9205 
   9206 found="no"
   9207 
   9208 	if test $found = "no" ; then
   9209 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9211 		fi
   9212 
   9213 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9215 		fi
   9216 
   9217 		CFLAGS="$CFLAGS -Wnonnull"
   9218 
   9219 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9220 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9221 		cacheid=xorg_cv_cc_flag__Wnonnull
   9222 		if eval test \${$cacheid+y}
   9223 then :
   9224   printf %s "(cached) " >&6
   9225 else $as_nop
   9226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9227 /* end confdefs.h.  */
   9228 int i;
   9229 int
   9230 main (void)
   9231 {
   9232 
   9233   ;
   9234   return 0;
   9235 }
   9236 _ACEOF
   9237 if ac_fn_c_try_link "$LINENO"
   9238 then :
   9239   eval $cacheid=yes
   9240 else $as_nop
   9241   eval $cacheid=no
   9242 fi
   9243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9244     conftest$ac_exeext conftest.$ac_ext
   9245 fi
   9246 
   9247 
   9248 		CFLAGS="$xorg_testset_save_CFLAGS"
   9249 
   9250 		eval supported=\$$cacheid
   9251 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9252 printf "%s\n" "$supported" >&6; }
   9253 		if test "$supported" = "yes" ; then
   9254 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9255 			found="yes"
   9256 		fi
   9257 	fi
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 xorg_testset_save_CFLAGS="$CFLAGS"
   9274 
   9275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9277 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9278 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9279 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9280 then :
   9281   printf %s "(cached) " >&6
   9282 else $as_nop
   9283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9284 /* end confdefs.h.  */
   9285 int i;
   9286 _ACEOF
   9287 if ac_fn_c_try_compile "$LINENO"
   9288 then :
   9289   xorg_cv_cc_flag_unknown_warning_option=yes
   9290 else $as_nop
   9291   xorg_cv_cc_flag_unknown_warning_option=no
   9292 fi
   9293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9294 fi
   9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9296 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9298 	CFLAGS="$xorg_testset_save_CFLAGS"
   9299 fi
   9300 
   9301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9304 	fi
   9305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9306 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9307 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9308 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9309 then :
   9310   printf %s "(cached) " >&6
   9311 else $as_nop
   9312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9313 /* end confdefs.h.  */
   9314 int i;
   9315 _ACEOF
   9316 if ac_fn_c_try_compile "$LINENO"
   9317 then :
   9318   xorg_cv_cc_flag_unused_command_line_argument=yes
   9319 else $as_nop
   9320   xorg_cv_cc_flag_unused_command_line_argument=no
   9321 fi
   9322 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9323 fi
   9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9325 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9327 	CFLAGS="$xorg_testset_save_CFLAGS"
   9328 fi
   9329 
   9330 found="no"
   9331 
   9332 	if test $found = "no" ; then
   9333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9335 		fi
   9336 
   9337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9339 		fi
   9340 
   9341 		CFLAGS="$CFLAGS -Winit-self"
   9342 
   9343 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9344 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9345 		cacheid=xorg_cv_cc_flag__Winit_self
   9346 		if eval test \${$cacheid+y}
   9347 then :
   9348   printf %s "(cached) " >&6
   9349 else $as_nop
   9350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9351 /* end confdefs.h.  */
   9352 int i;
   9353 int
   9354 main (void)
   9355 {
   9356 
   9357   ;
   9358   return 0;
   9359 }
   9360 _ACEOF
   9361 if ac_fn_c_try_link "$LINENO"
   9362 then :
   9363   eval $cacheid=yes
   9364 else $as_nop
   9365   eval $cacheid=no
   9366 fi
   9367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9368     conftest$ac_exeext conftest.$ac_ext
   9369 fi
   9370 
   9371 
   9372 		CFLAGS="$xorg_testset_save_CFLAGS"
   9373 
   9374 		eval supported=\$$cacheid
   9375 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9376 printf "%s\n" "$supported" >&6; }
   9377 		if test "$supported" = "yes" ; then
   9378 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9379 			found="yes"
   9380 		fi
   9381 	fi
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 xorg_testset_save_CFLAGS="$CFLAGS"
   9398 
   9399 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9400 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9401 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9402 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9403 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9404 then :
   9405   printf %s "(cached) " >&6
   9406 else $as_nop
   9407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9408 /* end confdefs.h.  */
   9409 int i;
   9410 _ACEOF
   9411 if ac_fn_c_try_compile "$LINENO"
   9412 then :
   9413   xorg_cv_cc_flag_unknown_warning_option=yes
   9414 else $as_nop
   9415   xorg_cv_cc_flag_unknown_warning_option=no
   9416 fi
   9417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9418 fi
   9419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9420 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9421 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9422 	CFLAGS="$xorg_testset_save_CFLAGS"
   9423 fi
   9424 
   9425 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9426 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9427 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9428 	fi
   9429 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9430 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9431 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9432 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9433 then :
   9434   printf %s "(cached) " >&6
   9435 else $as_nop
   9436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9437 /* end confdefs.h.  */
   9438 int i;
   9439 _ACEOF
   9440 if ac_fn_c_try_compile "$LINENO"
   9441 then :
   9442   xorg_cv_cc_flag_unused_command_line_argument=yes
   9443 else $as_nop
   9444   xorg_cv_cc_flag_unused_command_line_argument=no
   9445 fi
   9446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9447 fi
   9448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9449 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9451 	CFLAGS="$xorg_testset_save_CFLAGS"
   9452 fi
   9453 
   9454 found="no"
   9455 
   9456 	if test $found = "no" ; then
   9457 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9459 		fi
   9460 
   9461 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9463 		fi
   9464 
   9465 		CFLAGS="$CFLAGS -Wmain"
   9466 
   9467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9468 printf %s "checking if $CC supports -Wmain... " >&6; }
   9469 		cacheid=xorg_cv_cc_flag__Wmain
   9470 		if eval test \${$cacheid+y}
   9471 then :
   9472   printf %s "(cached) " >&6
   9473 else $as_nop
   9474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9475 /* end confdefs.h.  */
   9476 int i;
   9477 int
   9478 main (void)
   9479 {
   9480 
   9481   ;
   9482   return 0;
   9483 }
   9484 _ACEOF
   9485 if ac_fn_c_try_link "$LINENO"
   9486 then :
   9487   eval $cacheid=yes
   9488 else $as_nop
   9489   eval $cacheid=no
   9490 fi
   9491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9492     conftest$ac_exeext conftest.$ac_ext
   9493 fi
   9494 
   9495 
   9496 		CFLAGS="$xorg_testset_save_CFLAGS"
   9497 
   9498 		eval supported=\$$cacheid
   9499 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9500 printf "%s\n" "$supported" >&6; }
   9501 		if test "$supported" = "yes" ; then
   9502 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9503 			found="yes"
   9504 		fi
   9505 	fi
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 xorg_testset_save_CFLAGS="$CFLAGS"
   9522 
   9523 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9524 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9525 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9526 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9527 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9528 then :
   9529   printf %s "(cached) " >&6
   9530 else $as_nop
   9531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9532 /* end confdefs.h.  */
   9533 int i;
   9534 _ACEOF
   9535 if ac_fn_c_try_compile "$LINENO"
   9536 then :
   9537   xorg_cv_cc_flag_unknown_warning_option=yes
   9538 else $as_nop
   9539   xorg_cv_cc_flag_unknown_warning_option=no
   9540 fi
   9541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9542 fi
   9543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9544 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9545 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9546 	CFLAGS="$xorg_testset_save_CFLAGS"
   9547 fi
   9548 
   9549 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9550 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9551 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9552 	fi
   9553 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9554 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9555 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9556 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9557 then :
   9558   printf %s "(cached) " >&6
   9559 else $as_nop
   9560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9561 /* end confdefs.h.  */
   9562 int i;
   9563 _ACEOF
   9564 if ac_fn_c_try_compile "$LINENO"
   9565 then :
   9566   xorg_cv_cc_flag_unused_command_line_argument=yes
   9567 else $as_nop
   9568   xorg_cv_cc_flag_unused_command_line_argument=no
   9569 fi
   9570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9571 fi
   9572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9573 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9574 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9575 	CFLAGS="$xorg_testset_save_CFLAGS"
   9576 fi
   9577 
   9578 found="no"
   9579 
   9580 	if test $found = "no" ; then
   9581 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9582 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9583 		fi
   9584 
   9585 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9586 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9587 		fi
   9588 
   9589 		CFLAGS="$CFLAGS -Wmissing-braces"
   9590 
   9591 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9592 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9593 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9594 		if eval test \${$cacheid+y}
   9595 then :
   9596   printf %s "(cached) " >&6
   9597 else $as_nop
   9598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9599 /* end confdefs.h.  */
   9600 int i;
   9601 int
   9602 main (void)
   9603 {
   9604 
   9605   ;
   9606   return 0;
   9607 }
   9608 _ACEOF
   9609 if ac_fn_c_try_link "$LINENO"
   9610 then :
   9611   eval $cacheid=yes
   9612 else $as_nop
   9613   eval $cacheid=no
   9614 fi
   9615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9616     conftest$ac_exeext conftest.$ac_ext
   9617 fi
   9618 
   9619 
   9620 		CFLAGS="$xorg_testset_save_CFLAGS"
   9621 
   9622 		eval supported=\$$cacheid
   9623 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9624 printf "%s\n" "$supported" >&6; }
   9625 		if test "$supported" = "yes" ; then
   9626 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9627 			found="yes"
   9628 		fi
   9629 	fi
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 xorg_testset_save_CFLAGS="$CFLAGS"
   9646 
   9647 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9649 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9650 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9651 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9652 then :
   9653   printf %s "(cached) " >&6
   9654 else $as_nop
   9655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9656 /* end confdefs.h.  */
   9657 int i;
   9658 _ACEOF
   9659 if ac_fn_c_try_compile "$LINENO"
   9660 then :
   9661   xorg_cv_cc_flag_unknown_warning_option=yes
   9662 else $as_nop
   9663   xorg_cv_cc_flag_unknown_warning_option=no
   9664 fi
   9665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9666 fi
   9667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9668 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9670 	CFLAGS="$xorg_testset_save_CFLAGS"
   9671 fi
   9672 
   9673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9676 	fi
   9677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9678 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9679 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9680 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9681 then :
   9682   printf %s "(cached) " >&6
   9683 else $as_nop
   9684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9685 /* end confdefs.h.  */
   9686 int i;
   9687 _ACEOF
   9688 if ac_fn_c_try_compile "$LINENO"
   9689 then :
   9690   xorg_cv_cc_flag_unused_command_line_argument=yes
   9691 else $as_nop
   9692   xorg_cv_cc_flag_unused_command_line_argument=no
   9693 fi
   9694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9695 fi
   9696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9697 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9698 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9699 	CFLAGS="$xorg_testset_save_CFLAGS"
   9700 fi
   9701 
   9702 found="no"
   9703 
   9704 	if test $found = "no" ; then
   9705 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9707 		fi
   9708 
   9709 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9711 		fi
   9712 
   9713 		CFLAGS="$CFLAGS -Wsequence-point"
   9714 
   9715 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9716 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9717 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9718 		if eval test \${$cacheid+y}
   9719 then :
   9720   printf %s "(cached) " >&6
   9721 else $as_nop
   9722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9723 /* end confdefs.h.  */
   9724 int i;
   9725 int
   9726 main (void)
   9727 {
   9728 
   9729   ;
   9730   return 0;
   9731 }
   9732 _ACEOF
   9733 if ac_fn_c_try_link "$LINENO"
   9734 then :
   9735   eval $cacheid=yes
   9736 else $as_nop
   9737   eval $cacheid=no
   9738 fi
   9739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9740     conftest$ac_exeext conftest.$ac_ext
   9741 fi
   9742 
   9743 
   9744 		CFLAGS="$xorg_testset_save_CFLAGS"
   9745 
   9746 		eval supported=\$$cacheid
   9747 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9748 printf "%s\n" "$supported" >&6; }
   9749 		if test "$supported" = "yes" ; then
   9750 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9751 			found="yes"
   9752 		fi
   9753 	fi
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 xorg_testset_save_CFLAGS="$CFLAGS"
   9770 
   9771 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9772 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9773 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9774 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9775 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9776 then :
   9777   printf %s "(cached) " >&6
   9778 else $as_nop
   9779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9780 /* end confdefs.h.  */
   9781 int i;
   9782 _ACEOF
   9783 if ac_fn_c_try_compile "$LINENO"
   9784 then :
   9785   xorg_cv_cc_flag_unknown_warning_option=yes
   9786 else $as_nop
   9787   xorg_cv_cc_flag_unknown_warning_option=no
   9788 fi
   9789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9790 fi
   9791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9792 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9793 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9794 	CFLAGS="$xorg_testset_save_CFLAGS"
   9795 fi
   9796 
   9797 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9798 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9799 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9800 	fi
   9801 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9802 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9803 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9804 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9805 then :
   9806   printf %s "(cached) " >&6
   9807 else $as_nop
   9808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9809 /* end confdefs.h.  */
   9810 int i;
   9811 _ACEOF
   9812 if ac_fn_c_try_compile "$LINENO"
   9813 then :
   9814   xorg_cv_cc_flag_unused_command_line_argument=yes
   9815 else $as_nop
   9816   xorg_cv_cc_flag_unused_command_line_argument=no
   9817 fi
   9818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9819 fi
   9820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9821 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9823 	CFLAGS="$xorg_testset_save_CFLAGS"
   9824 fi
   9825 
   9826 found="no"
   9827 
   9828 	if test $found = "no" ; then
   9829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9831 		fi
   9832 
   9833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9835 		fi
   9836 
   9837 		CFLAGS="$CFLAGS -Wreturn-type"
   9838 
   9839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9840 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9841 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9842 		if eval test \${$cacheid+y}
   9843 then :
   9844   printf %s "(cached) " >&6
   9845 else $as_nop
   9846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9847 /* end confdefs.h.  */
   9848 int i;
   9849 int
   9850 main (void)
   9851 {
   9852 
   9853   ;
   9854   return 0;
   9855 }
   9856 _ACEOF
   9857 if ac_fn_c_try_link "$LINENO"
   9858 then :
   9859   eval $cacheid=yes
   9860 else $as_nop
   9861   eval $cacheid=no
   9862 fi
   9863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9864     conftest$ac_exeext conftest.$ac_ext
   9865 fi
   9866 
   9867 
   9868 		CFLAGS="$xorg_testset_save_CFLAGS"
   9869 
   9870 		eval supported=\$$cacheid
   9871 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9872 printf "%s\n" "$supported" >&6; }
   9873 		if test "$supported" = "yes" ; then
   9874 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9875 			found="yes"
   9876 		fi
   9877 	fi
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 xorg_testset_save_CFLAGS="$CFLAGS"
   9894 
   9895 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9896 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9897 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9898 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9899 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9900 then :
   9901   printf %s "(cached) " >&6
   9902 else $as_nop
   9903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9904 /* end confdefs.h.  */
   9905 int i;
   9906 _ACEOF
   9907 if ac_fn_c_try_compile "$LINENO"
   9908 then :
   9909   xorg_cv_cc_flag_unknown_warning_option=yes
   9910 else $as_nop
   9911   xorg_cv_cc_flag_unknown_warning_option=no
   9912 fi
   9913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9914 fi
   9915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9916 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9917 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9918 	CFLAGS="$xorg_testset_save_CFLAGS"
   9919 fi
   9920 
   9921 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9922 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9923 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9924 	fi
   9925 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9926 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9927 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9928 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9929 then :
   9930   printf %s "(cached) " >&6
   9931 else $as_nop
   9932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9933 /* end confdefs.h.  */
   9934 int i;
   9935 _ACEOF
   9936 if ac_fn_c_try_compile "$LINENO"
   9937 then :
   9938   xorg_cv_cc_flag_unused_command_line_argument=yes
   9939 else $as_nop
   9940   xorg_cv_cc_flag_unused_command_line_argument=no
   9941 fi
   9942 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9943 fi
   9944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9945 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9946 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9947 	CFLAGS="$xorg_testset_save_CFLAGS"
   9948 fi
   9949 
   9950 found="no"
   9951 
   9952 	if test $found = "no" ; then
   9953 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9955 		fi
   9956 
   9957 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9959 		fi
   9960 
   9961 		CFLAGS="$CFLAGS -Wtrigraphs"
   9962 
   9963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9964 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9965 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9966 		if eval test \${$cacheid+y}
   9967 then :
   9968   printf %s "(cached) " >&6
   9969 else $as_nop
   9970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9971 /* end confdefs.h.  */
   9972 int i;
   9973 int
   9974 main (void)
   9975 {
   9976 
   9977   ;
   9978   return 0;
   9979 }
   9980 _ACEOF
   9981 if ac_fn_c_try_link "$LINENO"
   9982 then :
   9983   eval $cacheid=yes
   9984 else $as_nop
   9985   eval $cacheid=no
   9986 fi
   9987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9988     conftest$ac_exeext conftest.$ac_ext
   9989 fi
   9990 
   9991 
   9992 		CFLAGS="$xorg_testset_save_CFLAGS"
   9993 
   9994 		eval supported=\$$cacheid
   9995 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9996 printf "%s\n" "$supported" >&6; }
   9997 		if test "$supported" = "yes" ; then
   9998 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9999 			found="yes"
   10000 		fi
   10001 	fi
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 xorg_testset_save_CFLAGS="$CFLAGS"
   10018 
   10019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10021 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10022 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10023 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10024 then :
   10025   printf %s "(cached) " >&6
   10026 else $as_nop
   10027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10028 /* end confdefs.h.  */
   10029 int i;
   10030 _ACEOF
   10031 if ac_fn_c_try_compile "$LINENO"
   10032 then :
   10033   xorg_cv_cc_flag_unknown_warning_option=yes
   10034 else $as_nop
   10035   xorg_cv_cc_flag_unknown_warning_option=no
   10036 fi
   10037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10038 fi
   10039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10040 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10042 	CFLAGS="$xorg_testset_save_CFLAGS"
   10043 fi
   10044 
   10045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10048 	fi
   10049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10050 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10051 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10052 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10053 then :
   10054   printf %s "(cached) " >&6
   10055 else $as_nop
   10056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10057 /* end confdefs.h.  */
   10058 int i;
   10059 _ACEOF
   10060 if ac_fn_c_try_compile "$LINENO"
   10061 then :
   10062   xorg_cv_cc_flag_unused_command_line_argument=yes
   10063 else $as_nop
   10064   xorg_cv_cc_flag_unused_command_line_argument=no
   10065 fi
   10066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10067 fi
   10068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10069 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10071 	CFLAGS="$xorg_testset_save_CFLAGS"
   10072 fi
   10073 
   10074 found="no"
   10075 
   10076 	if test $found = "no" ; then
   10077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10079 		fi
   10080 
   10081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10083 		fi
   10084 
   10085 		CFLAGS="$CFLAGS -Warray-bounds"
   10086 
   10087 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10088 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10089 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10090 		if eval test \${$cacheid+y}
   10091 then :
   10092   printf %s "(cached) " >&6
   10093 else $as_nop
   10094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10095 /* end confdefs.h.  */
   10096 int i;
   10097 int
   10098 main (void)
   10099 {
   10100 
   10101   ;
   10102   return 0;
   10103 }
   10104 _ACEOF
   10105 if ac_fn_c_try_link "$LINENO"
   10106 then :
   10107   eval $cacheid=yes
   10108 else $as_nop
   10109   eval $cacheid=no
   10110 fi
   10111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10112     conftest$ac_exeext conftest.$ac_ext
   10113 fi
   10114 
   10115 
   10116 		CFLAGS="$xorg_testset_save_CFLAGS"
   10117 
   10118 		eval supported=\$$cacheid
   10119 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10120 printf "%s\n" "$supported" >&6; }
   10121 		if test "$supported" = "yes" ; then
   10122 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10123 			found="yes"
   10124 		fi
   10125 	fi
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 xorg_testset_save_CFLAGS="$CFLAGS"
   10142 
   10143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10145 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10146 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10147 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10148 then :
   10149   printf %s "(cached) " >&6
   10150 else $as_nop
   10151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10152 /* end confdefs.h.  */
   10153 int i;
   10154 _ACEOF
   10155 if ac_fn_c_try_compile "$LINENO"
   10156 then :
   10157   xorg_cv_cc_flag_unknown_warning_option=yes
   10158 else $as_nop
   10159   xorg_cv_cc_flag_unknown_warning_option=no
   10160 fi
   10161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10162 fi
   10163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10164 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10165 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10166 	CFLAGS="$xorg_testset_save_CFLAGS"
   10167 fi
   10168 
   10169 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10170 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10171 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10172 	fi
   10173 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10174 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10175 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10176 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10177 then :
   10178   printf %s "(cached) " >&6
   10179 else $as_nop
   10180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10181 /* end confdefs.h.  */
   10182 int i;
   10183 _ACEOF
   10184 if ac_fn_c_try_compile "$LINENO"
   10185 then :
   10186   xorg_cv_cc_flag_unused_command_line_argument=yes
   10187 else $as_nop
   10188   xorg_cv_cc_flag_unused_command_line_argument=no
   10189 fi
   10190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10191 fi
   10192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10193 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10194 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10195 	CFLAGS="$xorg_testset_save_CFLAGS"
   10196 fi
   10197 
   10198 found="no"
   10199 
   10200 	if test $found = "no" ; then
   10201 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10202 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10203 		fi
   10204 
   10205 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10206 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10207 		fi
   10208 
   10209 		CFLAGS="$CFLAGS -Wwrite-strings"
   10210 
   10211 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10212 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10213 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10214 		if eval test \${$cacheid+y}
   10215 then :
   10216   printf %s "(cached) " >&6
   10217 else $as_nop
   10218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10219 /* end confdefs.h.  */
   10220 int i;
   10221 int
   10222 main (void)
   10223 {
   10224 
   10225   ;
   10226   return 0;
   10227 }
   10228 _ACEOF
   10229 if ac_fn_c_try_link "$LINENO"
   10230 then :
   10231   eval $cacheid=yes
   10232 else $as_nop
   10233   eval $cacheid=no
   10234 fi
   10235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10236     conftest$ac_exeext conftest.$ac_ext
   10237 fi
   10238 
   10239 
   10240 		CFLAGS="$xorg_testset_save_CFLAGS"
   10241 
   10242 		eval supported=\$$cacheid
   10243 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10244 printf "%s\n" "$supported" >&6; }
   10245 		if test "$supported" = "yes" ; then
   10246 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10247 			found="yes"
   10248 		fi
   10249 	fi
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 xorg_testset_save_CFLAGS="$CFLAGS"
   10266 
   10267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10268 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10269 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10270 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10271 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10272 then :
   10273   printf %s "(cached) " >&6
   10274 else $as_nop
   10275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10276 /* end confdefs.h.  */
   10277 int i;
   10278 _ACEOF
   10279 if ac_fn_c_try_compile "$LINENO"
   10280 then :
   10281   xorg_cv_cc_flag_unknown_warning_option=yes
   10282 else $as_nop
   10283   xorg_cv_cc_flag_unknown_warning_option=no
   10284 fi
   10285 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10286 fi
   10287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10288 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10289 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10290 	CFLAGS="$xorg_testset_save_CFLAGS"
   10291 fi
   10292 
   10293 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10294 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10295 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10296 	fi
   10297 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10298 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10299 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10300 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10301 then :
   10302   printf %s "(cached) " >&6
   10303 else $as_nop
   10304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10305 /* end confdefs.h.  */
   10306 int i;
   10307 _ACEOF
   10308 if ac_fn_c_try_compile "$LINENO"
   10309 then :
   10310   xorg_cv_cc_flag_unused_command_line_argument=yes
   10311 else $as_nop
   10312   xorg_cv_cc_flag_unused_command_line_argument=no
   10313 fi
   10314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10315 fi
   10316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10317 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10318 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10319 	CFLAGS="$xorg_testset_save_CFLAGS"
   10320 fi
   10321 
   10322 found="no"
   10323 
   10324 	if test $found = "no" ; then
   10325 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10326 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10327 		fi
   10328 
   10329 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10330 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10331 		fi
   10332 
   10333 		CFLAGS="$CFLAGS -Waddress"
   10334 
   10335 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10336 printf %s "checking if $CC supports -Waddress... " >&6; }
   10337 		cacheid=xorg_cv_cc_flag__Waddress
   10338 		if eval test \${$cacheid+y}
   10339 then :
   10340   printf %s "(cached) " >&6
   10341 else $as_nop
   10342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10343 /* end confdefs.h.  */
   10344 int i;
   10345 int
   10346 main (void)
   10347 {
   10348 
   10349   ;
   10350   return 0;
   10351 }
   10352 _ACEOF
   10353 if ac_fn_c_try_link "$LINENO"
   10354 then :
   10355   eval $cacheid=yes
   10356 else $as_nop
   10357   eval $cacheid=no
   10358 fi
   10359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10360     conftest$ac_exeext conftest.$ac_ext
   10361 fi
   10362 
   10363 
   10364 		CFLAGS="$xorg_testset_save_CFLAGS"
   10365 
   10366 		eval supported=\$$cacheid
   10367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10368 printf "%s\n" "$supported" >&6; }
   10369 		if test "$supported" = "yes" ; then
   10370 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10371 			found="yes"
   10372 		fi
   10373 	fi
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 xorg_testset_save_CFLAGS="$CFLAGS"
   10390 
   10391 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10392 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10393 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10394 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10395 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10396 then :
   10397   printf %s "(cached) " >&6
   10398 else $as_nop
   10399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10400 /* end confdefs.h.  */
   10401 int i;
   10402 _ACEOF
   10403 if ac_fn_c_try_compile "$LINENO"
   10404 then :
   10405   xorg_cv_cc_flag_unknown_warning_option=yes
   10406 else $as_nop
   10407   xorg_cv_cc_flag_unknown_warning_option=no
   10408 fi
   10409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10410 fi
   10411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10412 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10414 	CFLAGS="$xorg_testset_save_CFLAGS"
   10415 fi
   10416 
   10417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10420 	fi
   10421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10422 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10423 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10424 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10425 then :
   10426   printf %s "(cached) " >&6
   10427 else $as_nop
   10428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10429 /* end confdefs.h.  */
   10430 int i;
   10431 _ACEOF
   10432 if ac_fn_c_try_compile "$LINENO"
   10433 then :
   10434   xorg_cv_cc_flag_unused_command_line_argument=yes
   10435 else $as_nop
   10436   xorg_cv_cc_flag_unused_command_line_argument=no
   10437 fi
   10438 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10439 fi
   10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10441 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10442 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10443 	CFLAGS="$xorg_testset_save_CFLAGS"
   10444 fi
   10445 
   10446 found="no"
   10447 
   10448 	if test $found = "no" ; then
   10449 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10451 		fi
   10452 
   10453 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10455 		fi
   10456 
   10457 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10458 
   10459 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10460 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10461 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10462 		if eval test \${$cacheid+y}
   10463 then :
   10464   printf %s "(cached) " >&6
   10465 else $as_nop
   10466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10467 /* end confdefs.h.  */
   10468 int i;
   10469 int
   10470 main (void)
   10471 {
   10472 
   10473   ;
   10474   return 0;
   10475 }
   10476 _ACEOF
   10477 if ac_fn_c_try_link "$LINENO"
   10478 then :
   10479   eval $cacheid=yes
   10480 else $as_nop
   10481   eval $cacheid=no
   10482 fi
   10483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10484     conftest$ac_exeext conftest.$ac_ext
   10485 fi
   10486 
   10487 
   10488 		CFLAGS="$xorg_testset_save_CFLAGS"
   10489 
   10490 		eval supported=\$$cacheid
   10491 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10492 printf "%s\n" "$supported" >&6; }
   10493 		if test "$supported" = "yes" ; then
   10494 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10495 			found="yes"
   10496 		fi
   10497 	fi
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 xorg_testset_save_CFLAGS="$CFLAGS"
   10514 
   10515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10517 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10518 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10519 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10520 then :
   10521   printf %s "(cached) " >&6
   10522 else $as_nop
   10523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10524 /* end confdefs.h.  */
   10525 int i;
   10526 _ACEOF
   10527 if ac_fn_c_try_compile "$LINENO"
   10528 then :
   10529   xorg_cv_cc_flag_unknown_warning_option=yes
   10530 else $as_nop
   10531   xorg_cv_cc_flag_unknown_warning_option=no
   10532 fi
   10533 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10534 fi
   10535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10536 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10537 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10538 	CFLAGS="$xorg_testset_save_CFLAGS"
   10539 fi
   10540 
   10541 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10542 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10543 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10544 	fi
   10545 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10546 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10547 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10548 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10549 then :
   10550   printf %s "(cached) " >&6
   10551 else $as_nop
   10552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10553 /* end confdefs.h.  */
   10554 int i;
   10555 _ACEOF
   10556 if ac_fn_c_try_compile "$LINENO"
   10557 then :
   10558   xorg_cv_cc_flag_unused_command_line_argument=yes
   10559 else $as_nop
   10560   xorg_cv_cc_flag_unused_command_line_argument=no
   10561 fi
   10562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10563 fi
   10564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10565 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10566 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10567 	CFLAGS="$xorg_testset_save_CFLAGS"
   10568 fi
   10569 
   10570 found="no"
   10571 
   10572 	if test $found = "no" ; then
   10573 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10574 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10575 		fi
   10576 
   10577 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10578 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10579 		fi
   10580 
   10581 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10582 
   10583 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10584 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10585 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10586 		if eval test \${$cacheid+y}
   10587 then :
   10588   printf %s "(cached) " >&6
   10589 else $as_nop
   10590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10591 /* end confdefs.h.  */
   10592 int i;
   10593 int
   10594 main (void)
   10595 {
   10596 
   10597   ;
   10598   return 0;
   10599 }
   10600 _ACEOF
   10601 if ac_fn_c_try_link "$LINENO"
   10602 then :
   10603   eval $cacheid=yes
   10604 else $as_nop
   10605   eval $cacheid=no
   10606 fi
   10607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10608     conftest$ac_exeext conftest.$ac_ext
   10609 fi
   10610 
   10611 
   10612 		CFLAGS="$xorg_testset_save_CFLAGS"
   10613 
   10614 		eval supported=\$$cacheid
   10615 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10616 printf "%s\n" "$supported" >&6; }
   10617 		if test "$supported" = "yes" ; then
   10618 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10619 			found="yes"
   10620 		fi
   10621 	fi
   10622 
   10623 
   10624 fi
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 		CWARNFLAGS="$BASE_CFLAGS"
   10633 		if  test "x$GCC" = xyes ; then
   10634 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10635 		fi
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 # Check whether --enable-strict-compilation was given.
   10645 if test ${enable_strict_compilation+y}
   10646 then :
   10647   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10648 else $as_nop
   10649   STRICT_COMPILE=no
   10650 fi
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 STRICT_CFLAGS=""
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 xorg_testset_save_CFLAGS="$CFLAGS"
   10672 
   10673 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10674 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10675 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10676 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10677 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10678 then :
   10679   printf %s "(cached) " >&6
   10680 else $as_nop
   10681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10682 /* end confdefs.h.  */
   10683 int i;
   10684 _ACEOF
   10685 if ac_fn_c_try_compile "$LINENO"
   10686 then :
   10687   xorg_cv_cc_flag_unknown_warning_option=yes
   10688 else $as_nop
   10689   xorg_cv_cc_flag_unknown_warning_option=no
   10690 fi
   10691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10692 fi
   10693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10694 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10696 	CFLAGS="$xorg_testset_save_CFLAGS"
   10697 fi
   10698 
   10699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10702 	fi
   10703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10704 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10705 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10706 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10707 then :
   10708   printf %s "(cached) " >&6
   10709 else $as_nop
   10710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10711 /* end confdefs.h.  */
   10712 int i;
   10713 _ACEOF
   10714 if ac_fn_c_try_compile "$LINENO"
   10715 then :
   10716   xorg_cv_cc_flag_unused_command_line_argument=yes
   10717 else $as_nop
   10718   xorg_cv_cc_flag_unused_command_line_argument=no
   10719 fi
   10720 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10721 fi
   10722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10723 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10724 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10725 	CFLAGS="$xorg_testset_save_CFLAGS"
   10726 fi
   10727 
   10728 found="no"
   10729 
   10730 	if test $found = "no" ; then
   10731 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10732 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10733 		fi
   10734 
   10735 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10736 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10737 		fi
   10738 
   10739 		CFLAGS="$CFLAGS -pedantic"
   10740 
   10741 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10742 printf %s "checking if $CC supports -pedantic... " >&6; }
   10743 		cacheid=xorg_cv_cc_flag__pedantic
   10744 		if eval test \${$cacheid+y}
   10745 then :
   10746   printf %s "(cached) " >&6
   10747 else $as_nop
   10748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10749 /* end confdefs.h.  */
   10750 int i;
   10751 int
   10752 main (void)
   10753 {
   10754 
   10755   ;
   10756   return 0;
   10757 }
   10758 _ACEOF
   10759 if ac_fn_c_try_link "$LINENO"
   10760 then :
   10761   eval $cacheid=yes
   10762 else $as_nop
   10763   eval $cacheid=no
   10764 fi
   10765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10766     conftest$ac_exeext conftest.$ac_ext
   10767 fi
   10768 
   10769 
   10770 		CFLAGS="$xorg_testset_save_CFLAGS"
   10771 
   10772 		eval supported=\$$cacheid
   10773 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10774 printf "%s\n" "$supported" >&6; }
   10775 		if test "$supported" = "yes" ; then
   10776 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10777 			found="yes"
   10778 		fi
   10779 	fi
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 xorg_testset_save_CFLAGS="$CFLAGS"
   10796 
   10797 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10798 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10799 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10800 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10801 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10802 then :
   10803   printf %s "(cached) " >&6
   10804 else $as_nop
   10805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10806 /* end confdefs.h.  */
   10807 int i;
   10808 _ACEOF
   10809 if ac_fn_c_try_compile "$LINENO"
   10810 then :
   10811   xorg_cv_cc_flag_unknown_warning_option=yes
   10812 else $as_nop
   10813   xorg_cv_cc_flag_unknown_warning_option=no
   10814 fi
   10815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10816 fi
   10817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10818 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10819 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10820 	CFLAGS="$xorg_testset_save_CFLAGS"
   10821 fi
   10822 
   10823 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10824 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10825 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10826 	fi
   10827 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10828 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10829 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10830 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10831 then :
   10832   printf %s "(cached) " >&6
   10833 else $as_nop
   10834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10835 /* end confdefs.h.  */
   10836 int i;
   10837 _ACEOF
   10838 if ac_fn_c_try_compile "$LINENO"
   10839 then :
   10840   xorg_cv_cc_flag_unused_command_line_argument=yes
   10841 else $as_nop
   10842   xorg_cv_cc_flag_unused_command_line_argument=no
   10843 fi
   10844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10845 fi
   10846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10847 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10848 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10849 	CFLAGS="$xorg_testset_save_CFLAGS"
   10850 fi
   10851 
   10852 found="no"
   10853 
   10854 	if test $found = "no" ; then
   10855 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10857 		fi
   10858 
   10859 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10861 		fi
   10862 
   10863 		CFLAGS="$CFLAGS -Werror"
   10864 
   10865 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10866 printf %s "checking if $CC supports -Werror... " >&6; }
   10867 		cacheid=xorg_cv_cc_flag__Werror
   10868 		if eval test \${$cacheid+y}
   10869 then :
   10870   printf %s "(cached) " >&6
   10871 else $as_nop
   10872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10873 /* end confdefs.h.  */
   10874 int i;
   10875 int
   10876 main (void)
   10877 {
   10878 
   10879   ;
   10880   return 0;
   10881 }
   10882 _ACEOF
   10883 if ac_fn_c_try_link "$LINENO"
   10884 then :
   10885   eval $cacheid=yes
   10886 else $as_nop
   10887   eval $cacheid=no
   10888 fi
   10889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10890     conftest$ac_exeext conftest.$ac_ext
   10891 fi
   10892 
   10893 
   10894 		CFLAGS="$xorg_testset_save_CFLAGS"
   10895 
   10896 		eval supported=\$$cacheid
   10897 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10898 printf "%s\n" "$supported" >&6; }
   10899 		if test "$supported" = "yes" ; then
   10900 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10901 			found="yes"
   10902 		fi
   10903 	fi
   10904 
   10905 	if test $found = "no" ; then
   10906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10908 		fi
   10909 
   10910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10912 		fi
   10913 
   10914 		CFLAGS="$CFLAGS -errwarn"
   10915 
   10916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10917 printf %s "checking if $CC supports -errwarn... " >&6; }
   10918 		cacheid=xorg_cv_cc_flag__errwarn
   10919 		if eval test \${$cacheid+y}
   10920 then :
   10921   printf %s "(cached) " >&6
   10922 else $as_nop
   10923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10924 /* end confdefs.h.  */
   10925 int i;
   10926 int
   10927 main (void)
   10928 {
   10929 
   10930   ;
   10931   return 0;
   10932 }
   10933 _ACEOF
   10934 if ac_fn_c_try_link "$LINENO"
   10935 then :
   10936   eval $cacheid=yes
   10937 else $as_nop
   10938   eval $cacheid=no
   10939 fi
   10940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10941     conftest$ac_exeext conftest.$ac_ext
   10942 fi
   10943 
   10944 
   10945 		CFLAGS="$xorg_testset_save_CFLAGS"
   10946 
   10947 		eval supported=\$$cacheid
   10948 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10949 printf "%s\n" "$supported" >&6; }
   10950 		if test "$supported" = "yes" ; then
   10951 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10952 			found="yes"
   10953 		fi
   10954 	fi
   10955 
   10956 
   10957 
   10958 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10959 # activate it with -Werror, so we add it here explicitly.
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 xorg_testset_save_CFLAGS="$CFLAGS"
   10974 
   10975 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10976 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10977 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10978 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10979 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10980 then :
   10981   printf %s "(cached) " >&6
   10982 else $as_nop
   10983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10984 /* end confdefs.h.  */
   10985 int i;
   10986 _ACEOF
   10987 if ac_fn_c_try_compile "$LINENO"
   10988 then :
   10989   xorg_cv_cc_flag_unknown_warning_option=yes
   10990 else $as_nop
   10991   xorg_cv_cc_flag_unknown_warning_option=no
   10992 fi
   10993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10994 fi
   10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10996 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10997 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10998 	CFLAGS="$xorg_testset_save_CFLAGS"
   10999 fi
   11000 
   11001 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11002 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11003 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11004 	fi
   11005 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11006 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11007 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11008 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11009 then :
   11010   printf %s "(cached) " >&6
   11011 else $as_nop
   11012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11013 /* end confdefs.h.  */
   11014 int i;
   11015 _ACEOF
   11016 if ac_fn_c_try_compile "$LINENO"
   11017 then :
   11018   xorg_cv_cc_flag_unused_command_line_argument=yes
   11019 else $as_nop
   11020   xorg_cv_cc_flag_unused_command_line_argument=no
   11021 fi
   11022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11023 fi
   11024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11025 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11026 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11027 	CFLAGS="$xorg_testset_save_CFLAGS"
   11028 fi
   11029 
   11030 found="no"
   11031 
   11032 	if test $found = "no" ; then
   11033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11035 		fi
   11036 
   11037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11039 		fi
   11040 
   11041 		CFLAGS="$CFLAGS -Werror=attributes"
   11042 
   11043 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11044 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11045 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11046 		if eval test \${$cacheid+y}
   11047 then :
   11048   printf %s "(cached) " >&6
   11049 else $as_nop
   11050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11051 /* end confdefs.h.  */
   11052 int i;
   11053 int
   11054 main (void)
   11055 {
   11056 
   11057   ;
   11058   return 0;
   11059 }
   11060 _ACEOF
   11061 if ac_fn_c_try_link "$LINENO"
   11062 then :
   11063   eval $cacheid=yes
   11064 else $as_nop
   11065   eval $cacheid=no
   11066 fi
   11067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11068     conftest$ac_exeext conftest.$ac_ext
   11069 fi
   11070 
   11071 
   11072 		CFLAGS="$xorg_testset_save_CFLAGS"
   11073 
   11074 		eval supported=\$$cacheid
   11075 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11076 printf "%s\n" "$supported" >&6; }
   11077 		if test "$supported" = "yes" ; then
   11078 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11079 			found="yes"
   11080 		fi
   11081 	fi
   11082 
   11083 
   11084 
   11085 if test "x$STRICT_COMPILE" = "xyes"; then
   11086     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11087     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11088 fi
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 cat >>confdefs.h <<_ACEOF
   11096 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11097 _ACEOF
   11098 
   11099 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11100 	if test "x$PVM" = "x"; then
   11101 		PVM="0"
   11102 	fi
   11103 
   11104 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11105 
   11106 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11107 	if test "x$PVP" = "x"; then
   11108 		PVP="0"
   11109 	fi
   11110 
   11111 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11112 
   11113 
   11114 
   11115 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11116 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11117 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11118 touch \$(top_srcdir)/ChangeLog; \
   11119 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11120 
   11121 
   11122 
   11123 
   11124 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11125 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11126 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11127 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11128 touch \$(top_srcdir)/INSTALL; \
   11129 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 case $host_os in
   11137     solaris*)
   11138         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11139         # check for a man page file found in later versions that use
   11140         # traditional section numbers instead
   11141         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11142 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11143 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11144 then :
   11145   printf %s "(cached) " >&6
   11146 else $as_nop
   11147   test "$cross_compiling" = yes &&
   11148   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11149 if test -r "/usr/share/man/man7/attributes.7"; then
   11150   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11151 else
   11152   ac_cv_file__usr_share_man_man7_attributes_7=no
   11153 fi
   11154 fi
   11155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11156 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11157 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11158 then :
   11159   SYSV_MAN_SECTIONS=false
   11160 else $as_nop
   11161   SYSV_MAN_SECTIONS=true
   11162 fi
   11163 
   11164         ;;
   11165     *) SYSV_MAN_SECTIONS=false ;;
   11166 esac
   11167 
   11168 if test x$APP_MAN_SUFFIX = x    ; then
   11169     APP_MAN_SUFFIX=1
   11170 fi
   11171 if test x$APP_MAN_DIR = x    ; then
   11172     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11173 fi
   11174 
   11175 if test x$LIB_MAN_SUFFIX = x    ; then
   11176     LIB_MAN_SUFFIX=3
   11177 fi
   11178 if test x$LIB_MAN_DIR = x    ; then
   11179     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11180 fi
   11181 
   11182 if test x$FILE_MAN_SUFFIX = x    ; then
   11183     case $SYSV_MAN_SECTIONS in
   11184 	true)				FILE_MAN_SUFFIX=4  ;;
   11185 	*)				FILE_MAN_SUFFIX=5  ;;
   11186     esac
   11187 fi
   11188 if test x$FILE_MAN_DIR = x    ; then
   11189     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11190 fi
   11191 
   11192 if test x$MISC_MAN_SUFFIX = x    ; then
   11193     case $SYSV_MAN_SECTIONS in
   11194 	true)				MISC_MAN_SUFFIX=5  ;;
   11195 	*)				MISC_MAN_SUFFIX=7  ;;
   11196     esac
   11197 fi
   11198 if test x$MISC_MAN_DIR = x    ; then
   11199     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11200 fi
   11201 
   11202 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11203     case $SYSV_MAN_SECTIONS in
   11204 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11205 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11206     esac
   11207 fi
   11208 if test x$DRIVER_MAN_DIR = x    ; then
   11209     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11210 fi
   11211 
   11212 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11213     case $SYSV_MAN_SECTIONS in
   11214 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11215 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11216     esac
   11217 fi
   11218 if test x$ADMIN_MAN_DIR = x    ; then
   11219     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11220 fi
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 XORG_MAN_PAGE="X Version 11"
   11237 
   11238 MAN_SUBSTS="\
   11239 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11240 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11241 	-e 's|__xservername__|Xorg|g' \
   11242 	-e 's|__xconfigfile__|xorg.conf|g' \
   11243 	-e 's|__projectroot__|\$(prefix)|g' \
   11244 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11245 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11246 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11247 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11248 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11249 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11250 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11251 
   11252 
   11253 
   11254 # Check whether --enable-silent-rules was given.
   11255 if test ${enable_silent_rules+y}
   11256 then :
   11257   enableval=$enable_silent_rules;
   11258 fi
   11259 
   11260 case $enable_silent_rules in # (((
   11261   yes) AM_DEFAULT_VERBOSITY=0;;
   11262    no) AM_DEFAULT_VERBOSITY=1;;
   11263     *) AM_DEFAULT_VERBOSITY=0;;
   11264 esac
   11265 am_make=${MAKE-make}
   11266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11267 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11268 if test ${am_cv_make_support_nested_variables+y}
   11269 then :
   11270   printf %s "(cached) " >&6
   11271 else $as_nop
   11272   if printf "%s\n" 'TRUE=$(BAR$(V))
   11273 BAR0=false
   11274 BAR1=true
   11275 V=1
   11276 am__doit:
   11277 	@$(TRUE)
   11278 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11279   am_cv_make_support_nested_variables=yes
   11280 else
   11281   am_cv_make_support_nested_variables=no
   11282 fi
   11283 fi
   11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11285 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11286 if test $am_cv_make_support_nested_variables = yes; then
   11287     AM_V='$(V)'
   11288   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11289 else
   11290   AM_V=$AM_DEFAULT_VERBOSITY
   11291   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11292 fi
   11293 AM_BACKSLASH='\'
   11294 
   11295 
   11296 
   11297 # Checks for pkg-config packages
   11298 
   11299 pkg_failed=no
   11300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FSLSFONTS" >&5
   11301 printf %s "checking for FSLSFONTS... " >&6; }
   11302 
   11303 if test -n "$FSLSFONTS_CFLAGS"; then
   11304     pkg_cv_FSLSFONTS_CFLAGS="$FSLSFONTS_CFLAGS"
   11305  elif test -n "$PKG_CONFIG"; then
   11306     if test -n "$PKG_CONFIG" && \
   11307     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25 libfs\""; } >&5
   11308   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25 libfs") 2>&5
   11309   ac_status=$?
   11310   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11311   test $ac_status = 0; }; then
   11312   pkg_cv_FSLSFONTS_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.25 libfs" 2>/dev/null`
   11313 		      test "x$?" != "x0" && pkg_failed=yes
   11314 else
   11315   pkg_failed=yes
   11316 fi
   11317  else
   11318     pkg_failed=untried
   11319 fi
   11320 if test -n "$FSLSFONTS_LIBS"; then
   11321     pkg_cv_FSLSFONTS_LIBS="$FSLSFONTS_LIBS"
   11322  elif test -n "$PKG_CONFIG"; then
   11323     if test -n "$PKG_CONFIG" && \
   11324     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25 libfs\""; } >&5
   11325   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25 libfs") 2>&5
   11326   ac_status=$?
   11327   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11328   test $ac_status = 0; }; then
   11329   pkg_cv_FSLSFONTS_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.25 libfs" 2>/dev/null`
   11330 		      test "x$?" != "x0" && pkg_failed=yes
   11331 else
   11332   pkg_failed=yes
   11333 fi
   11334  else
   11335     pkg_failed=untried
   11336 fi
   11337 
   11338 
   11339 
   11340 if test $pkg_failed = yes; then
   11341    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11342 printf "%s\n" "no" >&6; }
   11343 
   11344 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11345         _pkg_short_errors_supported=yes
   11346 else
   11347         _pkg_short_errors_supported=no
   11348 fi
   11349         if test $_pkg_short_errors_supported = yes; then
   11350 	        FSLSFONTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.25 libfs" 2>&1`
   11351         else
   11352 	        FSLSFONTS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.25 libfs" 2>&1`
   11353         fi
   11354 	# Put the nasty error message in config.log where it belongs
   11355 	echo "$FSLSFONTS_PKG_ERRORS" >&5
   11356 
   11357 	as_fn_error $? "Package requirements (xproto >= 7.0.25 libfs) were not met:
   11358 
   11359 $FSLSFONTS_PKG_ERRORS
   11360 
   11361 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11362 installed software in a non-standard prefix.
   11363 
   11364 Alternatively, you may set the environment variables FSLSFONTS_CFLAGS
   11365 and FSLSFONTS_LIBS to avoid the need to call pkg-config.
   11366 See the pkg-config man page for more details." "$LINENO" 5
   11367 elif test $pkg_failed = untried; then
   11368      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11369 printf "%s\n" "no" >&6; }
   11370 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11371 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11372 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11373 is in your PATH or set the PKG_CONFIG environment variable to the full
   11374 path to pkg-config.
   11375 
   11376 Alternatively, you may set the environment variables FSLSFONTS_CFLAGS
   11377 and FSLSFONTS_LIBS to avoid the need to call pkg-config.
   11378 See the pkg-config man page for more details.
   11379 
   11380 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11381 See \`config.log' for more details" "$LINENO" 5; }
   11382 else
   11383 	FSLSFONTS_CFLAGS=$pkg_cv_FSLSFONTS_CFLAGS
   11384 	FSLSFONTS_LIBS=$pkg_cv_FSLSFONTS_LIBS
   11385         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11386 printf "%s\n" "yes" >&6; }
   11387 
   11388 fi
   11389 
   11390 # Checks for library functions
   11391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing reallocarray" >&5
   11392 printf %s "checking for library containing reallocarray... " >&6; }
   11393 if test ${ac_cv_search_reallocarray+y}
   11394 then :
   11395   printf %s "(cached) " >&6
   11396 else $as_nop
   11397   ac_func_search_save_LIBS=$LIBS
   11398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11399 /* end confdefs.h.  */
   11400 
   11401 /* Override any GCC internal prototype to avoid an error.
   11402    Use char because int might match the return type of a GCC
   11403    builtin and then its argument prototype would still apply.  */
   11404 char reallocarray ();
   11405 int
   11406 main (void)
   11407 {
   11408 return reallocarray ();
   11409   ;
   11410   return 0;
   11411 }
   11412 _ACEOF
   11413 for ac_lib in '' bsd
   11414 do
   11415   if test -z "$ac_lib"; then
   11416     ac_res="none required"
   11417   else
   11418     ac_res=-l$ac_lib
   11419     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11420   fi
   11421   if ac_fn_c_try_link "$LINENO"
   11422 then :
   11423   ac_cv_search_reallocarray=$ac_res
   11424 fi
   11425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11426     conftest$ac_exeext
   11427   if test ${ac_cv_search_reallocarray+y}
   11428 then :
   11429   break
   11430 fi
   11431 done
   11432 if test ${ac_cv_search_reallocarray+y}
   11433 then :
   11434 
   11435 else $as_nop
   11436   ac_cv_search_reallocarray=no
   11437 fi
   11438 rm conftest.$ac_ext
   11439 LIBS=$ac_func_search_save_LIBS
   11440 fi
   11441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_reallocarray" >&5
   11442 printf "%s\n" "$ac_cv_search_reallocarray" >&6; }
   11443 ac_res=$ac_cv_search_reallocarray
   11444 if test "$ac_res" != no
   11445 then :
   11446   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11447 
   11448 fi
   11449 
   11450 if test "x$ac_cv_search_reallocarray" = "x-lbsd"
   11451 then :
   11452   ac_fn_c_check_header_compile "$LINENO" "bsd/stdlib.h" "ac_cv_header_bsd_stdlib_h" "$ac_includes_default"
   11453 if test "x$ac_cv_header_bsd_stdlib_h" = xyes
   11454 then :
   11455   printf "%s\n" "#define HAVE_BSD_STDLIB_H 1" >>confdefs.h
   11456 
   11457 fi
   11458 
   11459 fi
   11460 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   11461 if test "x$ac_cv_func_reallocarray" = xyes
   11462 then :
   11463   printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   11464 
   11465 fi
   11466 
   11467 
   11468 ac_config_files="$ac_config_files Makefile man/Makefile"
   11469 
   11470 cat >confcache <<\_ACEOF
   11471 # This file is a shell script that caches the results of configure
   11472 # tests run on this system so they can be shared between configure
   11473 # scripts and configure runs, see configure's option --config-cache.
   11474 # It is not useful on other systems.  If it contains results you don't
   11475 # want to keep, you may remove or edit it.
   11476 #
   11477 # config.status only pays attention to the cache file if you give it
   11478 # the --recheck option to rerun configure.
   11479 #
   11480 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11481 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11482 # following values.
   11483 
   11484 _ACEOF
   11485 
   11486 # The following way of writing the cache mishandles newlines in values,
   11487 # but we know of no workaround that is simple, portable, and efficient.
   11488 # So, we kill variables containing newlines.
   11489 # Ultrix sh set writes to stderr and can't be redirected directly,
   11490 # and sets the high bit in the cache file unless we assign to the vars.
   11491 (
   11492   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11493     eval ac_val=\$$ac_var
   11494     case $ac_val in #(
   11495     *${as_nl}*)
   11496       case $ac_var in #(
   11497       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11498 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11499       esac
   11500       case $ac_var in #(
   11501       _ | IFS | as_nl) ;; #(
   11502       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11503       *) { eval $ac_var=; unset $ac_var;} ;;
   11504       esac ;;
   11505     esac
   11506   done
   11507 
   11508   (set) 2>&1 |
   11509     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11510     *${as_nl}ac_space=\ *)
   11511       # `set' does not quote correctly, so add quotes: double-quote
   11512       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11513       sed -n \
   11514 	"s/'/'\\\\''/g;
   11515 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11516       ;; #(
   11517     *)
   11518       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11519       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11520       ;;
   11521     esac |
   11522     sort
   11523 ) |
   11524   sed '
   11525      /^ac_cv_env_/b end
   11526      t clear
   11527      :clear
   11528      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11529      t end
   11530      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11531      :end' >>confcache
   11532 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11533   if test -w "$cache_file"; then
   11534     if test "x$cache_file" != "x/dev/null"; then
   11535       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11536 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11537       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11538 	cat confcache >"$cache_file"
   11539       else
   11540         case $cache_file in #(
   11541         */* | ?:*)
   11542 	  mv -f confcache "$cache_file"$$ &&
   11543 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11544         *)
   11545 	  mv -f confcache "$cache_file" ;;
   11546 	esac
   11547       fi
   11548     fi
   11549   else
   11550     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11551 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11552   fi
   11553 fi
   11554 rm -f confcache
   11555 
   11556 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11557 # Let make expand exec_prefix.
   11558 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11559 
   11560 DEFS=-DHAVE_CONFIG_H
   11561 
   11562 ac_libobjs=
   11563 ac_ltlibobjs=
   11564 U=
   11565 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11566   # 1. Remove the extension, and $U if already installed.
   11567   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11568   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11569   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11570   #    will be set to the directory where LIBOBJS objects are built.
   11571   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11572   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11573 done
   11574 LIBOBJS=$ac_libobjs
   11575 
   11576 LTLIBOBJS=$ac_ltlibobjs
   11577 
   11578 
   11579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11580 printf %s "checking that generated files are newer than configure... " >&6; }
   11581    if test -n "$am_sleep_pid"; then
   11582      # Hide warnings about reused PIDs.
   11583      wait $am_sleep_pid 2>/dev/null
   11584    fi
   11585    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11586 printf "%s\n" "done" >&6; }
   11587 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11588   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11590 fi
   11591 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11592   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11594 fi
   11595  if test -n "$EXEEXT"; then
   11596   am__EXEEXT_TRUE=
   11597   am__EXEEXT_FALSE='#'
   11598 else
   11599   am__EXEEXT_TRUE='#'
   11600   am__EXEEXT_FALSE=
   11601 fi
   11602 
   11603 
   11604 : "${CONFIG_STATUS=./config.status}"
   11605 ac_write_fail=0
   11606 ac_clean_files_save=$ac_clean_files
   11607 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11609 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11610 as_write_fail=0
   11611 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11612 #! $SHELL
   11613 # Generated by $as_me.
   11614 # Run this file to recreate the current configuration.
   11615 # Compiler output produced by configure, useful for debugging
   11616 # configure, is in config.log if it exists.
   11617 
   11618 debug=false
   11619 ac_cs_recheck=false
   11620 ac_cs_silent=false
   11621 
   11622 SHELL=\${CONFIG_SHELL-$SHELL}
   11623 export SHELL
   11624 _ASEOF
   11625 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11626 ## -------------------- ##
   11627 ## M4sh Initialization. ##
   11628 ## -------------------- ##
   11629 
   11630 # Be more Bourne compatible
   11631 DUALCASE=1; export DUALCASE # for MKS sh
   11632 as_nop=:
   11633 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11634 then :
   11635   emulate sh
   11636   NULLCMD=:
   11637   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11638   # is contrary to our usage.  Disable this feature.
   11639   alias -g '${1+"$@"}'='"$@"'
   11640   setopt NO_GLOB_SUBST
   11641 else $as_nop
   11642   case `(set -o) 2>/dev/null` in #(
   11643   *posix*) :
   11644     set -o posix ;; #(
   11645   *) :
   11646      ;;
   11647 esac
   11648 fi
   11649 
   11650 
   11651 
   11652 # Reset variables that may have inherited troublesome values from
   11653 # the environment.
   11654 
   11655 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11656 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11657 # side effect of setting IFS to empty, thus disabling word splitting.)
   11658 # Quoting is to prevent editors from complaining about space-tab.
   11659 as_nl='
   11660 '
   11661 export as_nl
   11662 IFS=" ""	$as_nl"
   11663 
   11664 PS1='$ '
   11665 PS2='> '
   11666 PS4='+ '
   11667 
   11668 # Ensure predictable behavior from utilities with locale-dependent output.
   11669 LC_ALL=C
   11670 export LC_ALL
   11671 LANGUAGE=C
   11672 export LANGUAGE
   11673 
   11674 # We cannot yet rely on "unset" to work, but we need these variables
   11675 # to be unset--not just set to an empty or harmless value--now, to
   11676 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11677 # also avoids known problems related to "unset" and subshell syntax
   11678 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11679 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11680 do eval test \${$as_var+y} \
   11681   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11682 done
   11683 
   11684 # Ensure that fds 0, 1, and 2 are open.
   11685 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11686 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11687 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11688 
   11689 # The user is always right.
   11690 if ${PATH_SEPARATOR+false} :; then
   11691   PATH_SEPARATOR=:
   11692   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11693     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11694       PATH_SEPARATOR=';'
   11695   }
   11696 fi
   11697 
   11698 
   11699 # Find who we are.  Look in the path if we contain no directory separator.
   11700 as_myself=
   11701 case $0 in #((
   11702   *[\\/]* ) as_myself=$0 ;;
   11703   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11704 for as_dir in $PATH
   11705 do
   11706   IFS=$as_save_IFS
   11707   case $as_dir in #(((
   11708     '') as_dir=./ ;;
   11709     */) ;;
   11710     *) as_dir=$as_dir/ ;;
   11711   esac
   11712     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11713   done
   11714 IFS=$as_save_IFS
   11715 
   11716      ;;
   11717 esac
   11718 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11719 # in which case we are not to be found in the path.
   11720 if test "x$as_myself" = x; then
   11721   as_myself=$0
   11722 fi
   11723 if test ! -f "$as_myself"; then
   11724   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11725   exit 1
   11726 fi
   11727 
   11728 
   11729 
   11730 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11731 # ----------------------------------------
   11732 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11733 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11734 # script with STATUS, using 1 if that was 0.
   11735 as_fn_error ()
   11736 {
   11737   as_status=$1; test $as_status -eq 0 && as_status=1
   11738   if test "$4"; then
   11739     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11740     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11741   fi
   11742   printf "%s\n" "$as_me: error: $2" >&2
   11743   as_fn_exit $as_status
   11744 } # as_fn_error
   11745 
   11746 
   11747 
   11748 # as_fn_set_status STATUS
   11749 # -----------------------
   11750 # Set $? to STATUS, without forking.
   11751 as_fn_set_status ()
   11752 {
   11753   return $1
   11754 } # as_fn_set_status
   11755 
   11756 # as_fn_exit STATUS
   11757 # -----------------
   11758 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11759 as_fn_exit ()
   11760 {
   11761   set +e
   11762   as_fn_set_status $1
   11763   exit $1
   11764 } # as_fn_exit
   11765 
   11766 # as_fn_unset VAR
   11767 # ---------------
   11768 # Portably unset VAR.
   11769 as_fn_unset ()
   11770 {
   11771   { eval $1=; unset $1;}
   11772 }
   11773 as_unset=as_fn_unset
   11774 
   11775 # as_fn_append VAR VALUE
   11776 # ----------------------
   11777 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11778 # advantage of any shell optimizations that allow amortized linear growth over
   11779 # repeated appends, instead of the typical quadratic growth present in naive
   11780 # implementations.
   11781 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11782 then :
   11783   eval 'as_fn_append ()
   11784   {
   11785     eval $1+=\$2
   11786   }'
   11787 else $as_nop
   11788   as_fn_append ()
   11789   {
   11790     eval $1=\$$1\$2
   11791   }
   11792 fi # as_fn_append
   11793 
   11794 # as_fn_arith ARG...
   11795 # ------------------
   11796 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11797 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11798 # must be portable across $(()) and expr.
   11799 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11800 then :
   11801   eval 'as_fn_arith ()
   11802   {
   11803     as_val=$(( $* ))
   11804   }'
   11805 else $as_nop
   11806   as_fn_arith ()
   11807   {
   11808     as_val=`expr "$@" || test $? -eq 1`
   11809   }
   11810 fi # as_fn_arith
   11811 
   11812 
   11813 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11814    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11815   as_expr=expr
   11816 else
   11817   as_expr=false
   11818 fi
   11819 
   11820 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11821   as_basename=basename
   11822 else
   11823   as_basename=false
   11824 fi
   11825 
   11826 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11827   as_dirname=dirname
   11828 else
   11829   as_dirname=false
   11830 fi
   11831 
   11832 as_me=`$as_basename -- "$0" ||
   11833 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11834 	 X"$0" : 'X\(//\)$' \| \
   11835 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11836 printf "%s\n" X/"$0" |
   11837     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11838 	    s//\1/
   11839 	    q
   11840 	  }
   11841 	  /^X\/\(\/\/\)$/{
   11842 	    s//\1/
   11843 	    q
   11844 	  }
   11845 	  /^X\/\(\/\).*/{
   11846 	    s//\1/
   11847 	    q
   11848 	  }
   11849 	  s/.*/./; q'`
   11850 
   11851 # Avoid depending upon Character Ranges.
   11852 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11853 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11854 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11855 as_cr_digits='0123456789'
   11856 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11857 
   11858 
   11859 # Determine whether it's possible to make 'echo' print without a newline.
   11860 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11861 # for compatibility with existing Makefiles.
   11862 ECHO_C= ECHO_N= ECHO_T=
   11863 case `echo -n x` in #(((((
   11864 -n*)
   11865   case `echo 'xy\c'` in
   11866   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11867   xy)  ECHO_C='\c';;
   11868   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11869        ECHO_T='	';;
   11870   esac;;
   11871 *)
   11872   ECHO_N='-n';;
   11873 esac
   11874 
   11875 # For backward compatibility with old third-party macros, we provide
   11876 # the shell variables $as_echo and $as_echo_n.  New code should use
   11877 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11878 as_echo='printf %s\n'
   11879 as_echo_n='printf %s'
   11880 
   11881 rm -f conf$$ conf$$.exe conf$$.file
   11882 if test -d conf$$.dir; then
   11883   rm -f conf$$.dir/conf$$.file
   11884 else
   11885   rm -f conf$$.dir
   11886   mkdir conf$$.dir 2>/dev/null
   11887 fi
   11888 if (echo >conf$$.file) 2>/dev/null; then
   11889   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11890     as_ln_s='ln -s'
   11891     # ... but there are two gotchas:
   11892     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11893     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11894     # In both cases, we have to default to `cp -pR'.
   11895     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11896       as_ln_s='cp -pR'
   11897   elif ln conf$$.file conf$$ 2>/dev/null; then
   11898     as_ln_s=ln
   11899   else
   11900     as_ln_s='cp -pR'
   11901   fi
   11902 else
   11903   as_ln_s='cp -pR'
   11904 fi
   11905 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11906 rmdir conf$$.dir 2>/dev/null
   11907 
   11908 
   11909 # as_fn_mkdir_p
   11910 # -------------
   11911 # Create "$as_dir" as a directory, including parents if necessary.
   11912 as_fn_mkdir_p ()
   11913 {
   11914 
   11915   case $as_dir in #(
   11916   -*) as_dir=./$as_dir;;
   11917   esac
   11918   test -d "$as_dir" || eval $as_mkdir_p || {
   11919     as_dirs=
   11920     while :; do
   11921       case $as_dir in #(
   11922       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11923       *) as_qdir=$as_dir;;
   11924       esac
   11925       as_dirs="'$as_qdir' $as_dirs"
   11926       as_dir=`$as_dirname -- "$as_dir" ||
   11927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11928 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11929 	 X"$as_dir" : 'X\(//\)$' \| \
   11930 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11931 printf "%s\n" X"$as_dir" |
   11932     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11933 	    s//\1/
   11934 	    q
   11935 	  }
   11936 	  /^X\(\/\/\)[^/].*/{
   11937 	    s//\1/
   11938 	    q
   11939 	  }
   11940 	  /^X\(\/\/\)$/{
   11941 	    s//\1/
   11942 	    q
   11943 	  }
   11944 	  /^X\(\/\).*/{
   11945 	    s//\1/
   11946 	    q
   11947 	  }
   11948 	  s/.*/./; q'`
   11949       test -d "$as_dir" && break
   11950     done
   11951     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11952   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11953 
   11954 
   11955 } # as_fn_mkdir_p
   11956 if mkdir -p . 2>/dev/null; then
   11957   as_mkdir_p='mkdir -p "$as_dir"'
   11958 else
   11959   test -d ./-p && rmdir ./-p
   11960   as_mkdir_p=false
   11961 fi
   11962 
   11963 
   11964 # as_fn_executable_p FILE
   11965 # -----------------------
   11966 # Test if FILE is an executable regular file.
   11967 as_fn_executable_p ()
   11968 {
   11969   test -f "$1" && test -x "$1"
   11970 } # as_fn_executable_p
   11971 as_test_x='test -x'
   11972 as_executable_p=as_fn_executable_p
   11973 
   11974 # Sed expression to map a string onto a valid CPP name.
   11975 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11976 
   11977 # Sed expression to map a string onto a valid variable name.
   11978 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11979 
   11980 
   11981 exec 6>&1
   11982 ## ----------------------------------- ##
   11983 ## Main body of $CONFIG_STATUS script. ##
   11984 ## ----------------------------------- ##
   11985 _ASEOF
   11986 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11987 
   11988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11989 # Save the log message, to keep $0 and so on meaningful, and to
   11990 # report actual input values of CONFIG_FILES etc. instead of their
   11991 # values after options handling.
   11992 ac_log="
   11993 This file was extended by fslsfonts $as_me 1.0.6, which was
   11994 generated by GNU Autoconf 2.71.  Invocation command line was
   11995 
   11996   CONFIG_FILES    = $CONFIG_FILES
   11997   CONFIG_HEADERS  = $CONFIG_HEADERS
   11998   CONFIG_LINKS    = $CONFIG_LINKS
   11999   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12000   $ $0 $@
   12001 
   12002 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12003 "
   12004 
   12005 _ACEOF
   12006 
   12007 case $ac_config_files in *"
   12008 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12009 esac
   12010 
   12011 case $ac_config_headers in *"
   12012 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12013 esac
   12014 
   12015 
   12016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12017 # Files that config.status was made for.
   12018 config_files="$ac_config_files"
   12019 config_headers="$ac_config_headers"
   12020 config_commands="$ac_config_commands"
   12021 
   12022 _ACEOF
   12023 
   12024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12025 ac_cs_usage="\
   12026 \`$as_me' instantiates files and other configuration actions
   12027 from templates according to the current configuration.  Unless the files
   12028 and actions are specified as TAGs, all are instantiated by default.
   12029 
   12030 Usage: $0 [OPTION]... [TAG]...
   12031 
   12032   -h, --help       print this help, then exit
   12033   -V, --version    print version number and configuration settings, then exit
   12034       --config     print configuration, then exit
   12035   -q, --quiet, --silent
   12036                    do not print progress messages
   12037   -d, --debug      don't remove temporary files
   12038       --recheck    update $as_me by reconfiguring in the same conditions
   12039       --file=FILE[:TEMPLATE]
   12040                    instantiate the configuration file FILE
   12041       --header=FILE[:TEMPLATE]
   12042                    instantiate the configuration header FILE
   12043 
   12044 Configuration files:
   12045 $config_files
   12046 
   12047 Configuration headers:
   12048 $config_headers
   12049 
   12050 Configuration commands:
   12051 $config_commands
   12052 
   12053 Report bugs to <https://gitlab.freedesktop.org/xorg/app/fslsfonts/-/issues>."
   12054 
   12055 _ACEOF
   12056 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12057 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12059 ac_cs_config='$ac_cs_config_escaped'
   12060 ac_cs_version="\\
   12061 fslsfonts config.status 1.0.6
   12062 configured by $0, generated by GNU Autoconf 2.71,
   12063   with options \\"\$ac_cs_config\\"
   12064 
   12065 Copyright (C) 2021 Free Software Foundation, Inc.
   12066 This config.status script is free software; the Free Software Foundation
   12067 gives unlimited permission to copy, distribute and modify it."
   12068 
   12069 ac_pwd='$ac_pwd'
   12070 srcdir='$srcdir'
   12071 INSTALL='$INSTALL'
   12072 MKDIR_P='$MKDIR_P'
   12073 AWK='$AWK'
   12074 test -n "\$AWK" || AWK=awk
   12075 _ACEOF
   12076 
   12077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12078 # The default lists apply if the user does not specify any file.
   12079 ac_need_defaults=:
   12080 while test $# != 0
   12081 do
   12082   case $1 in
   12083   --*=?*)
   12084     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12085     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12086     ac_shift=:
   12087     ;;
   12088   --*=)
   12089     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12090     ac_optarg=
   12091     ac_shift=:
   12092     ;;
   12093   *)
   12094     ac_option=$1
   12095     ac_optarg=$2
   12096     ac_shift=shift
   12097     ;;
   12098   esac
   12099 
   12100   case $ac_option in
   12101   # Handling of the options.
   12102   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12103     ac_cs_recheck=: ;;
   12104   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12105     printf "%s\n" "$ac_cs_version"; exit ;;
   12106   --config | --confi | --conf | --con | --co | --c )
   12107     printf "%s\n" "$ac_cs_config"; exit ;;
   12108   --debug | --debu | --deb | --de | --d | -d )
   12109     debug=: ;;
   12110   --file | --fil | --fi | --f )
   12111     $ac_shift
   12112     case $ac_optarg in
   12113     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12114     '') as_fn_error $? "missing file argument" ;;
   12115     esac
   12116     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12117     ac_need_defaults=false;;
   12118   --header | --heade | --head | --hea )
   12119     $ac_shift
   12120     case $ac_optarg in
   12121     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12122     esac
   12123     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12124     ac_need_defaults=false;;
   12125   --he | --h)
   12126     # Conflict between --help and --header
   12127     as_fn_error $? "ambiguous option: \`$1'
   12128 Try \`$0 --help' for more information.";;
   12129   --help | --hel | -h )
   12130     printf "%s\n" "$ac_cs_usage"; exit ;;
   12131   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12132   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12133     ac_cs_silent=: ;;
   12134 
   12135   # This is an error.
   12136   -*) as_fn_error $? "unrecognized option: \`$1'
   12137 Try \`$0 --help' for more information." ;;
   12138 
   12139   *) as_fn_append ac_config_targets " $1"
   12140      ac_need_defaults=false ;;
   12141 
   12142   esac
   12143   shift
   12144 done
   12145 
   12146 ac_configure_extra_args=
   12147 
   12148 if $ac_cs_silent; then
   12149   exec 6>/dev/null
   12150   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12151 fi
   12152 
   12153 _ACEOF
   12154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12155 if \$ac_cs_recheck; then
   12156   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12157   shift
   12158   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12159   CONFIG_SHELL='$SHELL'
   12160   export CONFIG_SHELL
   12161   exec "\$@"
   12162 fi
   12163 
   12164 _ACEOF
   12165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12166 exec 5>>config.log
   12167 {
   12168   echo
   12169   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12170 ## Running $as_me. ##
   12171 _ASBOX
   12172   printf "%s\n" "$ac_log"
   12173 } >&5
   12174 
   12175 _ACEOF
   12176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12177 #
   12178 # INIT-COMMANDS
   12179 #
   12180 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12181 
   12182 _ACEOF
   12183 
   12184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12185 
   12186 # Handling of arguments.
   12187 for ac_config_target in $ac_config_targets
   12188 do
   12189   case $ac_config_target in
   12190     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12191     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12192     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12193     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12194 
   12195   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12196   esac
   12197 done
   12198 
   12199 
   12200 # If the user did not use the arguments to specify the items to instantiate,
   12201 # then the envvar interface is used.  Set only those that are not.
   12202 # We use the long form for the default assignment because of an extremely
   12203 # bizarre bug on SunOS 4.1.3.
   12204 if $ac_need_defaults; then
   12205   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12206   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12207   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12208 fi
   12209 
   12210 # Have a temporary directory for convenience.  Make it in the build tree
   12211 # simply because there is no reason against having it here, and in addition,
   12212 # creating and moving files from /tmp can sometimes cause problems.
   12213 # Hook for its removal unless debugging.
   12214 # Note that there is a small window in which the directory will not be cleaned:
   12215 # after its creation but before its name has been assigned to `$tmp'.
   12216 $debug ||
   12217 {
   12218   tmp= ac_tmp=
   12219   trap 'exit_status=$?
   12220   : "${ac_tmp:=$tmp}"
   12221   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12222 ' 0
   12223   trap 'as_fn_exit 1' 1 2 13 15
   12224 }
   12225 # Create a (secure) tmp directory for tmp files.
   12226 
   12227 {
   12228   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12229   test -d "$tmp"
   12230 }  ||
   12231 {
   12232   tmp=./conf$$-$RANDOM
   12233   (umask 077 && mkdir "$tmp")
   12234 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12235 ac_tmp=$tmp
   12236 
   12237 # Set up the scripts for CONFIG_FILES section.
   12238 # No need to generate them if there are no CONFIG_FILES.
   12239 # This happens for instance with `./config.status config.h'.
   12240 if test -n "$CONFIG_FILES"; then
   12241 
   12242 
   12243 ac_cr=`echo X | tr X '\015'`
   12244 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12245 # But we know of no other shell where ac_cr would be empty at this
   12246 # point, so we can use a bashism as a fallback.
   12247 if test "x$ac_cr" = x; then
   12248   eval ac_cr=\$\'\\r\'
   12249 fi
   12250 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12251 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12252   ac_cs_awk_cr='\\r'
   12253 else
   12254   ac_cs_awk_cr=$ac_cr
   12255 fi
   12256 
   12257 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12258 _ACEOF
   12259 
   12260 
   12261 {
   12262   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12263   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12264   echo "_ACEOF"
   12265 } >conf$$subs.sh ||
   12266   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12267 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12268 ac_delim='%!_!# '
   12269 for ac_last_try in false false false false false :; do
   12270   . ./conf$$subs.sh ||
   12271     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12272 
   12273   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12274   if test $ac_delim_n = $ac_delim_num; then
   12275     break
   12276   elif $ac_last_try; then
   12277     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12278   else
   12279     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12280   fi
   12281 done
   12282 rm -f conf$$subs.sh
   12283 
   12284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12285 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12286 _ACEOF
   12287 sed -n '
   12288 h
   12289 s/^/S["/; s/!.*/"]=/
   12290 p
   12291 g
   12292 s/^[^!]*!//
   12293 :repl
   12294 t repl
   12295 s/'"$ac_delim"'$//
   12296 t delim
   12297 :nl
   12298 h
   12299 s/\(.\{148\}\)..*/\1/
   12300 t more1
   12301 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12302 p
   12303 n
   12304 b repl
   12305 :more1
   12306 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12307 p
   12308 g
   12309 s/.\{148\}//
   12310 t nl
   12311 :delim
   12312 h
   12313 s/\(.\{148\}\)..*/\1/
   12314 t more2
   12315 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12316 p
   12317 b
   12318 :more2
   12319 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12320 p
   12321 g
   12322 s/.\{148\}//
   12323 t delim
   12324 ' <conf$$subs.awk | sed '
   12325 /^[^""]/{
   12326   N
   12327   s/\n//
   12328 }
   12329 ' >>$CONFIG_STATUS || ac_write_fail=1
   12330 rm -f conf$$subs.awk
   12331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12332 _ACAWK
   12333 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12334   for (key in S) S_is_set[key] = 1
   12335   FS = ""
   12336 
   12337 }
   12338 {
   12339   line = $ 0
   12340   nfields = split(line, field, "@")
   12341   substed = 0
   12342   len = length(field[1])
   12343   for (i = 2; i < nfields; i++) {
   12344     key = field[i]
   12345     keylen = length(key)
   12346     if (S_is_set[key]) {
   12347       value = S[key]
   12348       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12349       len += length(value) + length(field[++i])
   12350       substed = 1
   12351     } else
   12352       len += 1 + keylen
   12353   }
   12354 
   12355   print line
   12356 }
   12357 
   12358 _ACAWK
   12359 _ACEOF
   12360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12361 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12362   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12363 else
   12364   cat
   12365 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12366   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12367 _ACEOF
   12368 
   12369 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12370 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12371 # trailing colons and then remove the whole line if VPATH becomes empty
   12372 # (actually we leave an empty line to preserve line numbers).
   12373 if test "x$srcdir" = x.; then
   12374   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12375 h
   12376 s///
   12377 s/^/:/
   12378 s/[	 ]*$/:/
   12379 s/:\$(srcdir):/:/g
   12380 s/:\${srcdir}:/:/g
   12381 s/:@srcdir@:/:/g
   12382 s/^:*//
   12383 s/:*$//
   12384 x
   12385 s/\(=[	 ]*\).*/\1/
   12386 G
   12387 s/\n//
   12388 s/^[^=]*=[	 ]*$//
   12389 }'
   12390 fi
   12391 
   12392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12393 fi # test -n "$CONFIG_FILES"
   12394 
   12395 # Set up the scripts for CONFIG_HEADERS section.
   12396 # No need to generate them if there are no CONFIG_HEADERS.
   12397 # This happens for instance with `./config.status Makefile'.
   12398 if test -n "$CONFIG_HEADERS"; then
   12399 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12400 BEGIN {
   12401 _ACEOF
   12402 
   12403 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12404 # here-document in config.status, that substitutes the proper values into
   12405 # config.h.in to produce config.h.
   12406 
   12407 # Create a delimiter string that does not exist in confdefs.h, to ease
   12408 # handling of long lines.
   12409 ac_delim='%!_!# '
   12410 for ac_last_try in false false :; do
   12411   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12412   if test -z "$ac_tt"; then
   12413     break
   12414   elif $ac_last_try; then
   12415     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12416   else
   12417     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12418   fi
   12419 done
   12420 
   12421 # For the awk script, D is an array of macro values keyed by name,
   12422 # likewise P contains macro parameters if any.  Preserve backslash
   12423 # newline sequences.
   12424 
   12425 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12426 sed -n '
   12427 s/.\{148\}/&'"$ac_delim"'/g
   12428 t rset
   12429 :rset
   12430 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12431 t def
   12432 d
   12433 :def
   12434 s/\\$//
   12435 t bsnl
   12436 s/["\\]/\\&/g
   12437 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12438 D["\1"]=" \3"/p
   12439 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12440 d
   12441 :bsnl
   12442 s/["\\]/\\&/g
   12443 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12444 D["\1"]=" \3\\\\\\n"\\/p
   12445 t cont
   12446 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12447 t cont
   12448 d
   12449 :cont
   12450 n
   12451 s/.\{148\}/&'"$ac_delim"'/g
   12452 t clear
   12453 :clear
   12454 s/\\$//
   12455 t bsnlc
   12456 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12457 d
   12458 :bsnlc
   12459 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12460 b cont
   12461 ' <confdefs.h | sed '
   12462 s/'"$ac_delim"'/"\\\
   12463 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12464 
   12465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12466   for (key in D) D_is_set[key] = 1
   12467   FS = ""
   12468 }
   12469 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12470   line = \$ 0
   12471   split(line, arg, " ")
   12472   if (arg[1] == "#") {
   12473     defundef = arg[2]
   12474     mac1 = arg[3]
   12475   } else {
   12476     defundef = substr(arg[1], 2)
   12477     mac1 = arg[2]
   12478   }
   12479   split(mac1, mac2, "(") #)
   12480   macro = mac2[1]
   12481   prefix = substr(line, 1, index(line, defundef) - 1)
   12482   if (D_is_set[macro]) {
   12483     # Preserve the white space surrounding the "#".
   12484     print prefix "define", macro P[macro] D[macro]
   12485     next
   12486   } else {
   12487     # Replace #undef with comments.  This is necessary, for example,
   12488     # in the case of _POSIX_SOURCE, which is predefined and required
   12489     # on some systems where configure will not decide to define it.
   12490     if (defundef == "undef") {
   12491       print "/*", prefix defundef, macro, "*/"
   12492       next
   12493     }
   12494   }
   12495 }
   12496 { print }
   12497 _ACAWK
   12498 _ACEOF
   12499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12500   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12501 fi # test -n "$CONFIG_HEADERS"
   12502 
   12503 
   12504 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12505 shift
   12506 for ac_tag
   12507 do
   12508   case $ac_tag in
   12509   :[FHLC]) ac_mode=$ac_tag; continue;;
   12510   esac
   12511   case $ac_mode$ac_tag in
   12512   :[FHL]*:*);;
   12513   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12514   :[FH]-) ac_tag=-:-;;
   12515   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12516   esac
   12517   ac_save_IFS=$IFS
   12518   IFS=:
   12519   set x $ac_tag
   12520   IFS=$ac_save_IFS
   12521   shift
   12522   ac_file=$1
   12523   shift
   12524 
   12525   case $ac_mode in
   12526   :L) ac_source=$1;;
   12527   :[FH])
   12528     ac_file_inputs=
   12529     for ac_f
   12530     do
   12531       case $ac_f in
   12532       -) ac_f="$ac_tmp/stdin";;
   12533       *) # Look for the file first in the build tree, then in the source tree
   12534 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12535 	 # because $ac_f cannot contain `:'.
   12536 	 test -f "$ac_f" ||
   12537 	   case $ac_f in
   12538 	   [\\/$]*) false;;
   12539 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12540 	   esac ||
   12541 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12542       esac
   12543       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12544       as_fn_append ac_file_inputs " '$ac_f'"
   12545     done
   12546 
   12547     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12548     # use $as_me), people would be surprised to read:
   12549     #    /* config.h.  Generated by config.status.  */
   12550     configure_input='Generated from '`
   12551 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12552 	`' by configure.'
   12553     if test x"$ac_file" != x-; then
   12554       configure_input="$ac_file.  $configure_input"
   12555       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12556 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12557     fi
   12558     # Neutralize special characters interpreted by sed in replacement strings.
   12559     case $configure_input in #(
   12560     *\&* | *\|* | *\\* )
   12561        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12562        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12563     *) ac_sed_conf_input=$configure_input;;
   12564     esac
   12565 
   12566     case $ac_tag in
   12567     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12568       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12569     esac
   12570     ;;
   12571   esac
   12572 
   12573   ac_dir=`$as_dirname -- "$ac_file" ||
   12574 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12575 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12576 	 X"$ac_file" : 'X\(//\)$' \| \
   12577 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12578 printf "%s\n" X"$ac_file" |
   12579     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12580 	    s//\1/
   12581 	    q
   12582 	  }
   12583 	  /^X\(\/\/\)[^/].*/{
   12584 	    s//\1/
   12585 	    q
   12586 	  }
   12587 	  /^X\(\/\/\)$/{
   12588 	    s//\1/
   12589 	    q
   12590 	  }
   12591 	  /^X\(\/\).*/{
   12592 	    s//\1/
   12593 	    q
   12594 	  }
   12595 	  s/.*/./; q'`
   12596   as_dir="$ac_dir"; as_fn_mkdir_p
   12597   ac_builddir=.
   12598 
   12599 case "$ac_dir" in
   12600 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12601 *)
   12602   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12603   # A ".." for each directory in $ac_dir_suffix.
   12604   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12605   case $ac_top_builddir_sub in
   12606   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12607   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12608   esac ;;
   12609 esac
   12610 ac_abs_top_builddir=$ac_pwd
   12611 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12612 # for backward compatibility:
   12613 ac_top_builddir=$ac_top_build_prefix
   12614 
   12615 case $srcdir in
   12616   .)  # We are building in place.
   12617     ac_srcdir=.
   12618     ac_top_srcdir=$ac_top_builddir_sub
   12619     ac_abs_top_srcdir=$ac_pwd ;;
   12620   [\\/]* | ?:[\\/]* )  # Absolute name.
   12621     ac_srcdir=$srcdir$ac_dir_suffix;
   12622     ac_top_srcdir=$srcdir
   12623     ac_abs_top_srcdir=$srcdir ;;
   12624   *) # Relative name.
   12625     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12626     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12627     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12628 esac
   12629 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12630 
   12631 
   12632   case $ac_mode in
   12633   :F)
   12634   #
   12635   # CONFIG_FILE
   12636   #
   12637 
   12638   case $INSTALL in
   12639   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12640   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12641   esac
   12642   ac_MKDIR_P=$MKDIR_P
   12643   case $MKDIR_P in
   12644   [\\/$]* | ?:[\\/]* ) ;;
   12645   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12646   esac
   12647 _ACEOF
   12648 
   12649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12650 # If the template does not know about datarootdir, expand it.
   12651 # FIXME: This hack should be removed a few years after 2.60.
   12652 ac_datarootdir_hack=; ac_datarootdir_seen=
   12653 ac_sed_dataroot='
   12654 /datarootdir/ {
   12655   p
   12656   q
   12657 }
   12658 /@datadir@/p
   12659 /@docdir@/p
   12660 /@infodir@/p
   12661 /@localedir@/p
   12662 /@mandir@/p'
   12663 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12664 *datarootdir*) ac_datarootdir_seen=yes;;
   12665 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12667 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12668 _ACEOF
   12669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12670   ac_datarootdir_hack='
   12671   s&@datadir@&$datadir&g
   12672   s&@docdir@&$docdir&g
   12673   s&@infodir@&$infodir&g
   12674   s&@localedir@&$localedir&g
   12675   s&@mandir@&$mandir&g
   12676   s&\\\${datarootdir}&$datarootdir&g' ;;
   12677 esac
   12678 _ACEOF
   12679 
   12680 # Neutralize VPATH when `$srcdir' = `.'.
   12681 # Shell code in configure.ac might set extrasub.
   12682 # FIXME: do we really want to maintain this feature?
   12683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12684 ac_sed_extra="$ac_vpsub
   12685 $extrasub
   12686 _ACEOF
   12687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12688 :t
   12689 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12690 s|@configure_input@|$ac_sed_conf_input|;t t
   12691 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12692 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12693 s&@srcdir@&$ac_srcdir&;t t
   12694 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12695 s&@top_srcdir@&$ac_top_srcdir&;t t
   12696 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12697 s&@builddir@&$ac_builddir&;t t
   12698 s&@abs_builddir@&$ac_abs_builddir&;t t
   12699 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12700 s&@INSTALL@&$ac_INSTALL&;t t
   12701 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12702 $ac_datarootdir_hack
   12703 "
   12704 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12705   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12706 
   12707 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12708   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12709   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12710       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12712 which seems to be undefined.  Please make sure it is defined" >&5
   12713 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12714 which seems to be undefined.  Please make sure it is defined" >&2;}
   12715 
   12716   rm -f "$ac_tmp/stdin"
   12717   case $ac_file in
   12718   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12719   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12720   esac \
   12721   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12722  ;;
   12723   :H)
   12724   #
   12725   # CONFIG_HEADER
   12726   #
   12727   if test x"$ac_file" != x-; then
   12728     {
   12729       printf "%s\n" "/* $configure_input  */" >&1 \
   12730       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12731     } >"$ac_tmp/config.h" \
   12732       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12733     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12734       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12735 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12736     else
   12737       rm -f "$ac_file"
   12738       mv "$ac_tmp/config.h" "$ac_file" \
   12739 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12740     fi
   12741   else
   12742     printf "%s\n" "/* $configure_input  */" >&1 \
   12743       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12744       || as_fn_error $? "could not create -" "$LINENO" 5
   12745   fi
   12746 # Compute "$ac_file"'s index in $config_headers.
   12747 _am_arg="$ac_file"
   12748 _am_stamp_count=1
   12749 for _am_header in $config_headers :; do
   12750   case $_am_header in
   12751     $_am_arg | $_am_arg:* )
   12752       break ;;
   12753     * )
   12754       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12755   esac
   12756 done
   12757 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12758 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12759 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12760 	 X"$_am_arg" : 'X\(//\)$' \| \
   12761 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12762 printf "%s\n" X"$_am_arg" |
   12763     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12764 	    s//\1/
   12765 	    q
   12766 	  }
   12767 	  /^X\(\/\/\)[^/].*/{
   12768 	    s//\1/
   12769 	    q
   12770 	  }
   12771 	  /^X\(\/\/\)$/{
   12772 	    s//\1/
   12773 	    q
   12774 	  }
   12775 	  /^X\(\/\).*/{
   12776 	    s//\1/
   12777 	    q
   12778 	  }
   12779 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12780  ;;
   12781 
   12782   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12783 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12784  ;;
   12785   esac
   12786 
   12787 
   12788   case $ac_file$ac_mode in
   12789     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12790   # Older Autoconf quotes --file arguments for eval, but not when files
   12791   # are listed without --file.  Let's play safe and only enable the eval
   12792   # if we detect the quoting.
   12793   # TODO: see whether this extra hack can be removed once we start
   12794   # requiring Autoconf 2.70 or later.
   12795   case $CONFIG_FILES in #(
   12796   *\'*) :
   12797     eval set x "$CONFIG_FILES" ;; #(
   12798   *) :
   12799     set x $CONFIG_FILES ;; #(
   12800   *) :
   12801      ;;
   12802 esac
   12803   shift
   12804   # Used to flag and report bootstrapping failures.
   12805   am_rc=0
   12806   for am_mf
   12807   do
   12808     # Strip MF so we end up with the name of the file.
   12809     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12810     # Check whether this is an Automake generated Makefile which includes
   12811     # dependency-tracking related rules and includes.
   12812     # Grep'ing the whole file directly is not great: AIX grep has a line
   12813     # limit of 2048, but all sed's we know have understand at least 4000.
   12814     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12815       || continue
   12816     am_dirpart=`$as_dirname -- "$am_mf" ||
   12817 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12818 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12819 	 X"$am_mf" : 'X\(//\)$' \| \
   12820 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12821 printf "%s\n" X"$am_mf" |
   12822     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12823 	    s//\1/
   12824 	    q
   12825 	  }
   12826 	  /^X\(\/\/\)[^/].*/{
   12827 	    s//\1/
   12828 	    q
   12829 	  }
   12830 	  /^X\(\/\/\)$/{
   12831 	    s//\1/
   12832 	    q
   12833 	  }
   12834 	  /^X\(\/\).*/{
   12835 	    s//\1/
   12836 	    q
   12837 	  }
   12838 	  s/.*/./; q'`
   12839     am_filepart=`$as_basename -- "$am_mf" ||
   12840 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12841 	 X"$am_mf" : 'X\(//\)$' \| \
   12842 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12843 printf "%s\n" X/"$am_mf" |
   12844     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12845 	    s//\1/
   12846 	    q
   12847 	  }
   12848 	  /^X\/\(\/\/\)$/{
   12849 	    s//\1/
   12850 	    q
   12851 	  }
   12852 	  /^X\/\(\/\).*/{
   12853 	    s//\1/
   12854 	    q
   12855 	  }
   12856 	  s/.*/./; q'`
   12857     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12858       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12859         | $MAKE -f - am--depfiles" >&5
   12860    (cd "$am_dirpart" \
   12861       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12862         | $MAKE -f - am--depfiles) >&5 2>&5
   12863    ac_status=$?
   12864    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12865    (exit $ac_status); } || am_rc=$?
   12866   done
   12867   if test $am_rc -ne 0; then
   12868     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12869 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12870 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12871     for automatic dependency tracking.  If GNU make was not used, consider
   12872     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12873     necessary).  You can also try re-running configure with the
   12874     '--disable-dependency-tracking' option to at least be able to build
   12875     the package (albeit without support for automatic dependency tracking).
   12876 See \`config.log' for more details" "$LINENO" 5; }
   12877   fi
   12878   { am_dirpart=; unset am_dirpart;}
   12879   { am_filepart=; unset am_filepart;}
   12880   { am_mf=; unset am_mf;}
   12881   { am_rc=; unset am_rc;}
   12882   rm -f conftest-deps.mk
   12883 }
   12884  ;;
   12885 
   12886   esac
   12887 done # for ac_tag
   12888 
   12889 
   12890 as_fn_exit 0
   12891 _ACEOF
   12892 ac_clean_files=$ac_clean_files_save
   12893 
   12894 test $ac_write_fail = 0 ||
   12895   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12896 
   12897 
   12898 # configure is writing to config.log, and then calls config.status.
   12899 # config.status does its own redirection, appending to config.log.
   12900 # Unfortunately, on DOS this fails, as config.log is still kept open
   12901 # by configure, so config.status won't be able to write to it; its
   12902 # output is simply discarded.  So we exec the FD to /dev/null,
   12903 # effectively closing config.log, so it can be properly (re)opened and
   12904 # appended to by config.status.  When coming back to configure, we
   12905 # need to make the FD available again.
   12906 if test "$no_create" != yes; then
   12907   ac_cs_success=:
   12908   ac_config_status_args=
   12909   test "$silent" = yes &&
   12910     ac_config_status_args="$ac_config_status_args --quiet"
   12911   exec 5>/dev/null
   12912   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12913   exec 5>>config.log
   12914   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12915   # would make configure fail if this is the last instruction.
   12916   $ac_cs_success || as_fn_exit 1
   12917 fi
   12918 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12919   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12920 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12921 fi
   12922 
   12923 
   12924