Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.9
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for font-util 1.4.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/font/util/-/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/font/util/-/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='font-util'
    614 PACKAGE_TARNAME='font-util'
    615 PACKAGE_VERSION='1.4.0'
    616 PACKAGE_STRING='font-util 1.4.0'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/util/-/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 MAPDIR
    658 fontrootdir
    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__fastdepCC_FALSE
    691 am__fastdepCC_TRUE
    692 CCDEPMODE
    693 am__nodep
    694 AMDEPBACKSLASH
    695 AMDEP_FALSE
    696 AMDEP_TRUE
    697 am__include
    698 DEPDIR
    699 OBJEXT
    700 EXEEXT
    701 ac_ct_CC
    702 CPPFLAGS
    703 LDFLAGS
    704 CFLAGS
    705 CC
    706 AM_BACKSLASH
    707 AM_DEFAULT_VERBOSITY
    708 AM_DEFAULT_V
    709 AM_V
    710 CSCOPE
    711 ETAGS
    712 CTAGS
    713 am__untar
    714 am__tar
    715 AMTAR
    716 am__leading_dot
    717 SET_MAKE
    718 AWK
    719 mkdir_p
    720 MKDIR_P
    721 INSTALL_STRIP_PROGRAM
    722 STRIP
    723 install_sh
    724 MAKEINFO
    725 AUTOHEADER
    726 AUTOMAKE
    727 AUTOCONF
    728 ACLOCAL
    729 VERSION
    730 PACKAGE
    731 CYGPATH_W
    732 am__isrc
    733 INSTALL_DATA
    734 INSTALL_SCRIPT
    735 INSTALL_PROGRAM
    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_silent_rules
    780 enable_dependency_tracking
    781 enable_selective_werror
    782 enable_strict_compilation
    783 with_fontrootdir
    784 with_mapdir
    785 '
    786       ac_precious_vars='build_alias
    787 host_alias
    788 target_alias
    789 CC
    790 CFLAGS
    791 LDFLAGS
    792 LIBS
    793 CPPFLAGS
    794 PKG_CONFIG
    795 PKG_CONFIG_PATH
    796 PKG_CONFIG_LIBDIR'
    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 font-util 1.4.0 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/font-util]
   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 font-util 1.4.0:";;
   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-silent-rules   less verbose build output (undo: "make V=1")
   1425   --disable-silent-rules  verbose build output (undo: "make V=0")
   1426   --enable-dependency-tracking
   1427                           do not reject slow dependency extractors
   1428   --disable-dependency-tracking
   1429                           speeds up one-time build
   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 Optional Packages:
   1438   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1439   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1440   --with-fontrootdir=DIR  Path to parent of font subdirectories
   1441                           [DATADIR/fonts/X11]
   1442   --with-mapdir=DIR       Path to install font maps [FONTROOTDIR/util]
   1443 
   1444 Some influential environment variables:
   1445   CC          C compiler command
   1446   CFLAGS      C compiler flags
   1447   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1448               nonstandard directory <lib dir>
   1449   LIBS        libraries to pass to the linker, e.g. -l<library>
   1450   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1451               you have headers in a nonstandard directory <include dir>
   1452   PKG_CONFIG  path to pkg-config utility
   1453   PKG_CONFIG_PATH
   1454               directories to add to pkg-config's search path
   1455   PKG_CONFIG_LIBDIR
   1456               path overriding pkg-config's built-in search path
   1457 
   1458 Use these variables to override the choices made by `configure' or to help
   1459 it to find libraries and programs with nonstandard names/locations.
   1460 
   1461 Report bugs to <https://gitlab.freedesktop.org/xorg/font/util/-/issues>.
   1462 _ACEOF
   1463 ac_status=$?
   1464 fi
   1465 
   1466 if test "$ac_init_help" = "recursive"; then
   1467   # If there are subdirs, report their specific --help.
   1468   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1469     test -d "$ac_dir" ||
   1470       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1471       continue
   1472     ac_builddir=.
   1473 
   1474 case "$ac_dir" in
   1475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1476 *)
   1477   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1478   # A ".." for each directory in $ac_dir_suffix.
   1479   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1480   case $ac_top_builddir_sub in
   1481   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1482   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1483   esac ;;
   1484 esac
   1485 ac_abs_top_builddir=$ac_pwd
   1486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1487 # for backward compatibility:
   1488 ac_top_builddir=$ac_top_build_prefix
   1489 
   1490 case $srcdir in
   1491   .)  # We are building in place.
   1492     ac_srcdir=.
   1493     ac_top_srcdir=$ac_top_builddir_sub
   1494     ac_abs_top_srcdir=$ac_pwd ;;
   1495   [\\/]* | ?:[\\/]* )  # Absolute name.
   1496     ac_srcdir=$srcdir$ac_dir_suffix;
   1497     ac_top_srcdir=$srcdir
   1498     ac_abs_top_srcdir=$srcdir ;;
   1499   *) # Relative name.
   1500     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1501     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1502     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1503 esac
   1504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1505 
   1506     cd "$ac_dir" || { ac_status=$?; continue; }
   1507     # Check for configure.gnu first; this name is used for a wrapper for
   1508     # Metaconfig's "Configure" on case-insensitive file systems.
   1509     if test -f "$ac_srcdir/configure.gnu"; then
   1510       echo &&
   1511       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1512     elif test -f "$ac_srcdir/configure"; then
   1513       echo &&
   1514       $SHELL "$ac_srcdir/configure" --help=recursive
   1515     else
   1516       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1517     fi || ac_status=$?
   1518     cd "$ac_pwd" || { ac_status=$?; break; }
   1519   done
   1520 fi
   1521 
   1522 test -n "$ac_init_help" && exit $ac_status
   1523 if $ac_init_version; then
   1524   cat <<\_ACEOF
   1525 font-util configure 1.4.0
   1526 generated by GNU Autoconf 2.71
   1527 
   1528 Copyright (C) 2021 Free Software Foundation, Inc.
   1529 This configure script is free software; the Free Software Foundation
   1530 gives unlimited permission to copy, distribute and modify it.
   1531 _ACEOF
   1532   exit
   1533 fi
   1534 
   1535 ## ------------------------ ##
   1536 ## Autoconf initialization. ##
   1537 ## ------------------------ ##
   1538 
   1539 # ac_fn_c_try_compile LINENO
   1540 # --------------------------
   1541 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1542 ac_fn_c_try_compile ()
   1543 {
   1544   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1545   rm -f conftest.$ac_objext conftest.beam
   1546   if { { ac_try="$ac_compile"
   1547 case "(($ac_try" in
   1548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1549   *) ac_try_echo=$ac_try;;
   1550 esac
   1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1552 printf "%s\n" "$ac_try_echo"; } >&5
   1553   (eval "$ac_compile") 2>conftest.err
   1554   ac_status=$?
   1555   if test -s conftest.err; then
   1556     grep -v '^ *+' conftest.err >conftest.er1
   1557     cat conftest.er1 >&5
   1558     mv -f conftest.er1 conftest.err
   1559   fi
   1560   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1561   test $ac_status = 0; } && {
   1562 	 test -z "$ac_c_werror_flag" ||
   1563 	 test ! -s conftest.err
   1564        } && test -s conftest.$ac_objext
   1565 then :
   1566   ac_retval=0
   1567 else $as_nop
   1568   printf "%s\n" "$as_me: failed program was:" >&5
   1569 sed 's/^/| /' conftest.$ac_ext >&5
   1570 
   1571 	ac_retval=1
   1572 fi
   1573   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1574   as_fn_set_status $ac_retval
   1575 
   1576 } # ac_fn_c_try_compile
   1577 
   1578 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1579 # ------------------------------------------------------------------
   1580 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1581 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1582 ac_fn_check_decl ()
   1583 {
   1584   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1585   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1586   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1587 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1588 if eval test \${$3+y}
   1589 then :
   1590   printf %s "(cached) " >&6
   1591 else $as_nop
   1592   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1593   eval ac_save_FLAGS=\$$6
   1594   as_fn_append $6 " $5"
   1595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1596 /* end confdefs.h.  */
   1597 $4
   1598 int
   1599 main (void)
   1600 {
   1601 #ifndef $as_decl_name
   1602 #ifdef __cplusplus
   1603   (void) $as_decl_use;
   1604 #else
   1605   (void) $as_decl_name;
   1606 #endif
   1607 #endif
   1608 
   1609   ;
   1610   return 0;
   1611 }
   1612 _ACEOF
   1613 if ac_fn_c_try_compile "$LINENO"
   1614 then :
   1615   eval "$3=yes"
   1616 else $as_nop
   1617   eval "$3=no"
   1618 fi
   1619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1620   eval $6=\$ac_save_FLAGS
   1621 
   1622 fi
   1623 eval ac_res=\$$3
   1624 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1625 printf "%s\n" "$ac_res" >&6; }
   1626   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1627 
   1628 } # ac_fn_check_decl
   1629 
   1630 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1631 # -------------------------------------------------------
   1632 # Tests whether HEADER exists and can be compiled using the include files in
   1633 # INCLUDES, setting the cache variable VAR accordingly.
   1634 ac_fn_c_check_header_compile ()
   1635 {
   1636   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1638 printf %s "checking for $2... " >&6; }
   1639 if eval test \${$3+y}
   1640 then :
   1641   printf %s "(cached) " >&6
   1642 else $as_nop
   1643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1644 /* end confdefs.h.  */
   1645 $4
   1646 #include <$2>
   1647 _ACEOF
   1648 if ac_fn_c_try_compile "$LINENO"
   1649 then :
   1650   eval "$3=yes"
   1651 else $as_nop
   1652   eval "$3=no"
   1653 fi
   1654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1655 fi
   1656 eval ac_res=\$$3
   1657 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1658 printf "%s\n" "$ac_res" >&6; }
   1659   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1660 
   1661 } # ac_fn_c_check_header_compile
   1662 
   1663 # ac_fn_c_try_link LINENO
   1664 # -----------------------
   1665 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1666 ac_fn_c_try_link ()
   1667 {
   1668   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1669   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1670   if { { ac_try="$ac_link"
   1671 case "(($ac_try" in
   1672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1673   *) ac_try_echo=$ac_try;;
   1674 esac
   1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1676 printf "%s\n" "$ac_try_echo"; } >&5
   1677   (eval "$ac_link") 2>conftest.err
   1678   ac_status=$?
   1679   if test -s conftest.err; then
   1680     grep -v '^ *+' conftest.err >conftest.er1
   1681     cat conftest.er1 >&5
   1682     mv -f conftest.er1 conftest.err
   1683   fi
   1684   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1685   test $ac_status = 0; } && {
   1686 	 test -z "$ac_c_werror_flag" ||
   1687 	 test ! -s conftest.err
   1688        } && test -s conftest$ac_exeext && {
   1689 	 test "$cross_compiling" = yes ||
   1690 	 test -x conftest$ac_exeext
   1691        }
   1692 then :
   1693   ac_retval=0
   1694 else $as_nop
   1695   printf "%s\n" "$as_me: failed program was:" >&5
   1696 sed 's/^/| /' conftest.$ac_ext >&5
   1697 
   1698 	ac_retval=1
   1699 fi
   1700   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1701   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1702   # interfere with the next link command; also delete a directory that is
   1703   # left behind by Apple's compiler.  We do this before executing the actions.
   1704   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1705   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1706   as_fn_set_status $ac_retval
   1707 
   1708 } # ac_fn_c_try_link
   1709 ac_configure_args_raw=
   1710 for ac_arg
   1711 do
   1712   case $ac_arg in
   1713   *\'*)
   1714     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1715   esac
   1716   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1717 done
   1718 
   1719 case $ac_configure_args_raw in
   1720   *$as_nl*)
   1721     ac_safe_unquote= ;;
   1722   *)
   1723     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1724     ac_unsafe_a="$ac_unsafe_z#~"
   1725     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1726     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1727 esac
   1728 
   1729 cat >config.log <<_ACEOF
   1730 This file contains any messages produced by compilers while
   1731 running configure, to aid debugging if configure makes a mistake.
   1732 
   1733 It was created by font-util $as_me 1.4.0, which was
   1734 generated by GNU Autoconf 2.71.  Invocation command line was
   1735 
   1736   $ $0$ac_configure_args_raw
   1737 
   1738 _ACEOF
   1739 exec 5>>config.log
   1740 {
   1741 cat <<_ASUNAME
   1742 ## --------- ##
   1743 ## Platform. ##
   1744 ## --------- ##
   1745 
   1746 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1747 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1748 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1749 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1750 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1751 
   1752 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1753 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1754 
   1755 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1756 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1757 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1758 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1759 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1760 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1761 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1762 
   1763 _ASUNAME
   1764 
   1765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1766 for as_dir in $PATH
   1767 do
   1768   IFS=$as_save_IFS
   1769   case $as_dir in #(((
   1770     '') as_dir=./ ;;
   1771     */) ;;
   1772     *) as_dir=$as_dir/ ;;
   1773   esac
   1774     printf "%s\n" "PATH: $as_dir"
   1775   done
   1776 IFS=$as_save_IFS
   1777 
   1778 } >&5
   1779 
   1780 cat >&5 <<_ACEOF
   1781 
   1782 
   1783 ## ----------- ##
   1784 ## Core tests. ##
   1785 ## ----------- ##
   1786 
   1787 _ACEOF
   1788 
   1789 
   1790 # Keep a trace of the command line.
   1791 # Strip out --no-create and --no-recursion so they do not pile up.
   1792 # Strip out --silent because we don't want to record it for future runs.
   1793 # Also quote any args containing shell meta-characters.
   1794 # Make two passes to allow for proper duplicate-argument suppression.
   1795 ac_configure_args=
   1796 ac_configure_args0=
   1797 ac_configure_args1=
   1798 ac_must_keep_next=false
   1799 for ac_pass in 1 2
   1800 do
   1801   for ac_arg
   1802   do
   1803     case $ac_arg in
   1804     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1805     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1806     | -silent | --silent | --silen | --sile | --sil)
   1807       continue ;;
   1808     *\'*)
   1809       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1810     esac
   1811     case $ac_pass in
   1812     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1813     2)
   1814       as_fn_append ac_configure_args1 " '$ac_arg'"
   1815       if test $ac_must_keep_next = true; then
   1816 	ac_must_keep_next=false # Got value, back to normal.
   1817       else
   1818 	case $ac_arg in
   1819 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1820 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1821 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1822 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1823 	    case "$ac_configure_args0 " in
   1824 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1825 	    esac
   1826 	    ;;
   1827 	  -* ) ac_must_keep_next=true ;;
   1828 	esac
   1829       fi
   1830       as_fn_append ac_configure_args " '$ac_arg'"
   1831       ;;
   1832     esac
   1833   done
   1834 done
   1835 { ac_configure_args0=; unset ac_configure_args0;}
   1836 { ac_configure_args1=; unset ac_configure_args1;}
   1837 
   1838 # When interrupted or exit'd, cleanup temporary files, and complete
   1839 # config.log.  We remove comments because anyway the quotes in there
   1840 # would cause problems or look ugly.
   1841 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1842 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1843 trap 'exit_status=$?
   1844   # Sanitize IFS.
   1845   IFS=" ""	$as_nl"
   1846   # Save into config.log some information that might help in debugging.
   1847   {
   1848     echo
   1849 
   1850     printf "%s\n" "## ---------------- ##
   1851 ## Cache variables. ##
   1852 ## ---------------- ##"
   1853     echo
   1854     # The following way of writing the cache mishandles newlines in values,
   1855 (
   1856   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1857     eval ac_val=\$$ac_var
   1858     case $ac_val in #(
   1859     *${as_nl}*)
   1860       case $ac_var in #(
   1861       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1862 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1863       esac
   1864       case $ac_var in #(
   1865       _ | IFS | as_nl) ;; #(
   1866       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1867       *) { eval $ac_var=; unset $ac_var;} ;;
   1868       esac ;;
   1869     esac
   1870   done
   1871   (set) 2>&1 |
   1872     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1873     *${as_nl}ac_space=\ *)
   1874       sed -n \
   1875 	"s/'\''/'\''\\\\'\'''\''/g;
   1876 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1877       ;; #(
   1878     *)
   1879       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1880       ;;
   1881     esac |
   1882     sort
   1883 )
   1884     echo
   1885 
   1886     printf "%s\n" "## ----------------- ##
   1887 ## Output variables. ##
   1888 ## ----------------- ##"
   1889     echo
   1890     for ac_var in $ac_subst_vars
   1891     do
   1892       eval ac_val=\$$ac_var
   1893       case $ac_val in
   1894       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1895       esac
   1896       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1897     done | sort
   1898     echo
   1899 
   1900     if test -n "$ac_subst_files"; then
   1901       printf "%s\n" "## ------------------- ##
   1902 ## File substitutions. ##
   1903 ## ------------------- ##"
   1904       echo
   1905       for ac_var in $ac_subst_files
   1906       do
   1907 	eval ac_val=\$$ac_var
   1908 	case $ac_val in
   1909 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1910 	esac
   1911 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1912       done | sort
   1913       echo
   1914     fi
   1915 
   1916     if test -s confdefs.h; then
   1917       printf "%s\n" "## ----------- ##
   1918 ## confdefs.h. ##
   1919 ## ----------- ##"
   1920       echo
   1921       cat confdefs.h
   1922       echo
   1923     fi
   1924     test "$ac_signal" != 0 &&
   1925       printf "%s\n" "$as_me: caught signal $ac_signal"
   1926     printf "%s\n" "$as_me: exit $exit_status"
   1927   } >&5
   1928   rm -f core *.core core.conftest.* &&
   1929     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1930     exit $exit_status
   1931 ' 0
   1932 for ac_signal in 1 2 13 15; do
   1933   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1934 done
   1935 ac_signal=0
   1936 
   1937 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1938 rm -f -r conftest* confdefs.h
   1939 
   1940 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1941 
   1942 # Predefined preprocessor variables.
   1943 
   1944 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1945 
   1946 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1947 
   1948 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1949 
   1950 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1951 
   1952 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1953 
   1954 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1955 
   1956 
   1957 # Let the site file select an alternate cache file if it wants to.
   1958 # Prefer an explicitly selected file to automatically selected ones.
   1959 if test -n "$CONFIG_SITE"; then
   1960   ac_site_files="$CONFIG_SITE"
   1961 elif test "x$prefix" != xNONE; then
   1962   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1963 else
   1964   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1965 fi
   1966 
   1967 for ac_site_file in $ac_site_files
   1968 do
   1969   case $ac_site_file in #(
   1970   */*) :
   1971      ;; #(
   1972   *) :
   1973     ac_site_file=./$ac_site_file ;;
   1974 esac
   1975   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1976     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1977 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1978     sed 's/^/| /' "$ac_site_file" >&5
   1979     . "$ac_site_file" \
   1980       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1981 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   1982 as_fn_error $? "failed to load site script $ac_site_file
   1983 See \`config.log' for more details" "$LINENO" 5; }
   1984   fi
   1985 done
   1986 
   1987 if test -r "$cache_file"; then
   1988   # Some versions of bash will fail to source /dev/null (special files
   1989   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1990   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1991     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1992 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   1993     case $cache_file in
   1994       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1995       *)                      . "./$cache_file";;
   1996     esac
   1997   fi
   1998 else
   1999   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2000 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2001   >$cache_file
   2002 fi
   2003 
   2004 # Test code for whether the C compiler supports C89 (global declarations)
   2005 ac_c_conftest_c89_globals='
   2006 /* Does the compiler advertise C89 conformance?
   2007    Do not test the value of __STDC__, because some compilers set it to 0
   2008    while being otherwise adequately conformant. */
   2009 #if !defined __STDC__
   2010 # error "Compiler does not advertise C89 conformance"
   2011 #endif
   2012 
   2013 #include <stddef.h>
   2014 #include <stdarg.h>
   2015 struct stat;
   2016 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2017 struct buf { int x; };
   2018 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2019 static char *e (p, i)
   2020      char **p;
   2021      int i;
   2022 {
   2023   return p[i];
   2024 }
   2025 static char *f (char * (*g) (char **, int), char **p, ...)
   2026 {
   2027   char *s;
   2028   va_list v;
   2029   va_start (v,p);
   2030   s = g (p, va_arg (v,int));
   2031   va_end (v);
   2032   return s;
   2033 }
   2034 
   2035 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2036    function prototypes and stuff, but not \xHH hex character constants.
   2037    These do not provoke an error unfortunately, instead are silently treated
   2038    as an "x".  The following induces an error, until -std is added to get
   2039    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2040    array size at least.  It is necessary to write \x00 == 0 to get something
   2041    that is true only with -std.  */
   2042 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2043 
   2044 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2045    inside strings and character constants.  */
   2046 #define FOO(x) '\''x'\''
   2047 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2048 
   2049 int test (int i, double x);
   2050 struct s1 {int (*f) (int a);};
   2051 struct s2 {int (*f) (double a);};
   2052 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2053                int, int);'
   2054 
   2055 # Test code for whether the C compiler supports C89 (body of main).
   2056 ac_c_conftest_c89_main='
   2057 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2058 '
   2059 
   2060 # Test code for whether the C compiler supports C99 (global declarations)
   2061 ac_c_conftest_c99_globals='
   2062 // Does the compiler advertise C99 conformance?
   2063 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2064 # error "Compiler does not advertise C99 conformance"
   2065 #endif
   2066 
   2067 #include <stdbool.h>
   2068 extern int puts (const char *);
   2069 extern int printf (const char *, ...);
   2070 extern int dprintf (int, const char *, ...);
   2071 extern void *malloc (size_t);
   2072 
   2073 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2074 // dprintf is used instead of fprintf to avoid needing to declare
   2075 // FILE and stderr.
   2076 #define debug(...) dprintf (2, __VA_ARGS__)
   2077 #define showlist(...) puts (#__VA_ARGS__)
   2078 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2079 static void
   2080 test_varargs_macros (void)
   2081 {
   2082   int x = 1234;
   2083   int y = 5678;
   2084   debug ("Flag");
   2085   debug ("X = %d\n", x);
   2086   showlist (The first, second, and third items.);
   2087   report (x>y, "x is %d but y is %d", x, y);
   2088 }
   2089 
   2090 // Check long long types.
   2091 #define BIG64 18446744073709551615ull
   2092 #define BIG32 4294967295ul
   2093 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2094 #if !BIG_OK
   2095   #error "your preprocessor is broken"
   2096 #endif
   2097 #if BIG_OK
   2098 #else
   2099   #error "your preprocessor is broken"
   2100 #endif
   2101 static long long int bignum = -9223372036854775807LL;
   2102 static unsigned long long int ubignum = BIG64;
   2103 
   2104 struct incomplete_array
   2105 {
   2106   int datasize;
   2107   double data[];
   2108 };
   2109 
   2110 struct named_init {
   2111   int number;
   2112   const wchar_t *name;
   2113   double average;
   2114 };
   2115 
   2116 typedef const char *ccp;
   2117 
   2118 static inline int
   2119 test_restrict (ccp restrict text)
   2120 {
   2121   // See if C++-style comments work.
   2122   // Iterate through items via the restricted pointer.
   2123   // Also check for declarations in for loops.
   2124   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2125     continue;
   2126   return 0;
   2127 }
   2128 
   2129 // Check varargs and va_copy.
   2130 static bool
   2131 test_varargs (const char *format, ...)
   2132 {
   2133   va_list args;
   2134   va_start (args, format);
   2135   va_list args_copy;
   2136   va_copy (args_copy, args);
   2137 
   2138   const char *str = "";
   2139   int number = 0;
   2140   float fnumber = 0;
   2141 
   2142   while (*format)
   2143     {
   2144       switch (*format++)
   2145 	{
   2146 	case '\''s'\'': // string
   2147 	  str = va_arg (args_copy, const char *);
   2148 	  break;
   2149 	case '\''d'\'': // int
   2150 	  number = va_arg (args_copy, int);
   2151 	  break;
   2152 	case '\''f'\'': // float
   2153 	  fnumber = va_arg (args_copy, double);
   2154 	  break;
   2155 	default:
   2156 	  break;
   2157 	}
   2158     }
   2159   va_end (args_copy);
   2160   va_end (args);
   2161 
   2162   return *str && number && fnumber;
   2163 }
   2164 '
   2165 
   2166 # Test code for whether the C compiler supports C99 (body of main).
   2167 ac_c_conftest_c99_main='
   2168   // Check bool.
   2169   _Bool success = false;
   2170   success |= (argc != 0);
   2171 
   2172   // Check restrict.
   2173   if (test_restrict ("String literal") == 0)
   2174     success = true;
   2175   char *restrict newvar = "Another string";
   2176 
   2177   // Check varargs.
   2178   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2179   test_varargs_macros ();
   2180 
   2181   // Check flexible array members.
   2182   struct incomplete_array *ia =
   2183     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2184   ia->datasize = 10;
   2185   for (int i = 0; i < ia->datasize; ++i)
   2186     ia->data[i] = i * 1.234;
   2187 
   2188   // Check named initializers.
   2189   struct named_init ni = {
   2190     .number = 34,
   2191     .name = L"Test wide string",
   2192     .average = 543.34343,
   2193   };
   2194 
   2195   ni.number = 58;
   2196 
   2197   int dynamic_array[ni.number];
   2198   dynamic_array[0] = argv[0][0];
   2199   dynamic_array[ni.number - 1] = 543;
   2200 
   2201   // work around unused variable warnings
   2202   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2203 	 || dynamic_array[ni.number - 1] != 543);
   2204 '
   2205 
   2206 # Test code for whether the C compiler supports C11 (global declarations)
   2207 ac_c_conftest_c11_globals='
   2208 // Does the compiler advertise C11 conformance?
   2209 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2210 # error "Compiler does not advertise C11 conformance"
   2211 #endif
   2212 
   2213 // Check _Alignas.
   2214 char _Alignas (double) aligned_as_double;
   2215 char _Alignas (0) no_special_alignment;
   2216 extern char aligned_as_int;
   2217 char _Alignas (0) _Alignas (int) aligned_as_int;
   2218 
   2219 // Check _Alignof.
   2220 enum
   2221 {
   2222   int_alignment = _Alignof (int),
   2223   int_array_alignment = _Alignof (int[100]),
   2224   char_alignment = _Alignof (char)
   2225 };
   2226 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2227 
   2228 // Check _Noreturn.
   2229 int _Noreturn does_not_return (void) { for (;;) continue; }
   2230 
   2231 // Check _Static_assert.
   2232 struct test_static_assert
   2233 {
   2234   int x;
   2235   _Static_assert (sizeof (int) <= sizeof (long int),
   2236                   "_Static_assert does not work in struct");
   2237   long int y;
   2238 };
   2239 
   2240 // Check UTF-8 literals.
   2241 #define u8 syntax error!
   2242 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2243 
   2244 // Check duplicate typedefs.
   2245 typedef long *long_ptr;
   2246 typedef long int *long_ptr;
   2247 typedef long_ptr long_ptr;
   2248 
   2249 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2250 struct anonymous
   2251 {
   2252   union {
   2253     struct { int i; int j; };
   2254     struct { int k; long int l; } w;
   2255   };
   2256   int m;
   2257 } v1;
   2258 '
   2259 
   2260 # Test code for whether the C compiler supports C11 (body of main).
   2261 ac_c_conftest_c11_main='
   2262   _Static_assert ((offsetof (struct anonymous, i)
   2263 		   == offsetof (struct anonymous, w.k)),
   2264 		  "Anonymous union alignment botch");
   2265   v1.i = 2;
   2266   v1.w.k = 5;
   2267   ok |= v1.i != 5;
   2268 '
   2269 
   2270 # Test code for whether the C compiler supports C11 (complete).
   2271 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2272 ${ac_c_conftest_c99_globals}
   2273 ${ac_c_conftest_c11_globals}
   2274 
   2275 int
   2276 main (int argc, char **argv)
   2277 {
   2278   int ok = 0;
   2279   ${ac_c_conftest_c89_main}
   2280   ${ac_c_conftest_c99_main}
   2281   ${ac_c_conftest_c11_main}
   2282   return ok;
   2283 }
   2284 "
   2285 
   2286 # Test code for whether the C compiler supports C99 (complete).
   2287 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2288 ${ac_c_conftest_c99_globals}
   2289 
   2290 int
   2291 main (int argc, char **argv)
   2292 {
   2293   int ok = 0;
   2294   ${ac_c_conftest_c89_main}
   2295   ${ac_c_conftest_c99_main}
   2296   return ok;
   2297 }
   2298 "
   2299 
   2300 # Test code for whether the C compiler supports C89 (complete).
   2301 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2302 
   2303 int
   2304 main (int argc, char **argv)
   2305 {
   2306   int ok = 0;
   2307   ${ac_c_conftest_c89_main}
   2308   return ok;
   2309 }
   2310 "
   2311 
   2312 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2313 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2314 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2315 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2316 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2317 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2318 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2319 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2320 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2321 
   2322 # Auxiliary files required by this configure script.
   2323 ac_aux_files="config.guess config.sub compile missing install-sh"
   2324 
   2325 # Locations in which to look for auxiliary files.
   2326 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2327 
   2328 # Search for a directory containing all of the required auxiliary files,
   2329 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2330 # If we don't find one directory that contains all the files we need,
   2331 # we report the set of missing files from the *first* directory in
   2332 # $ac_aux_dir_candidates and give up.
   2333 ac_missing_aux_files=""
   2334 ac_first_candidate=:
   2335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2337 as_found=false
   2338 for as_dir in $ac_aux_dir_candidates
   2339 do
   2340   IFS=$as_save_IFS
   2341   case $as_dir in #(((
   2342     '') as_dir=./ ;;
   2343     */) ;;
   2344     *) as_dir=$as_dir/ ;;
   2345   esac
   2346   as_found=:
   2347 
   2348   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2349   ac_aux_dir_found=yes
   2350   ac_install_sh=
   2351   for ac_aux in $ac_aux_files
   2352   do
   2353     # As a special case, if "install-sh" is required, that requirement
   2354     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2355     # and $ac_install_sh is set appropriately for whichever one is found.
   2356     if test x"$ac_aux" = x"install-sh"
   2357     then
   2358       if test -f "${as_dir}install-sh"; then
   2359         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2360         ac_install_sh="${as_dir}install-sh -c"
   2361       elif test -f "${as_dir}install.sh"; then
   2362         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2363         ac_install_sh="${as_dir}install.sh -c"
   2364       elif test -f "${as_dir}shtool"; then
   2365         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2366         ac_install_sh="${as_dir}shtool install -c"
   2367       else
   2368         ac_aux_dir_found=no
   2369         if $ac_first_candidate; then
   2370           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2371         else
   2372           break
   2373         fi
   2374       fi
   2375     else
   2376       if test -f "${as_dir}${ac_aux}"; then
   2377         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2378       else
   2379         ac_aux_dir_found=no
   2380         if $ac_first_candidate; then
   2381           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2382         else
   2383           break
   2384         fi
   2385       fi
   2386     fi
   2387   done
   2388   if test "$ac_aux_dir_found" = yes; then
   2389     ac_aux_dir="$as_dir"
   2390     break
   2391   fi
   2392   ac_first_candidate=false
   2393 
   2394   as_found=false
   2395 done
   2396 IFS=$as_save_IFS
   2397 if $as_found
   2398 then :
   2399 
   2400 else $as_nop
   2401   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2402 fi
   2403 
   2404 
   2405 # These three variables are undocumented and unsupported,
   2406 # and are intended to be withdrawn in a future Autoconf release.
   2407 # They can cause serious problems if a builder's source tree is in a directory
   2408 # whose full name contains unusual characters.
   2409 if test -f "${ac_aux_dir}config.guess"; then
   2410   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2411 fi
   2412 if test -f "${ac_aux_dir}config.sub"; then
   2413   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2414 fi
   2415 if test -f "$ac_aux_dir/configure"; then
   2416   ac_configure="$SHELL ${ac_aux_dir}configure"
   2417 fi
   2418 
   2419 # Check that the precious variables saved in the cache have kept the same
   2420 # value.
   2421 ac_cache_corrupted=false
   2422 for ac_var in $ac_precious_vars; do
   2423   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2424   eval ac_new_set=\$ac_env_${ac_var}_set
   2425   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2426   eval ac_new_val=\$ac_env_${ac_var}_value
   2427   case $ac_old_set,$ac_new_set in
   2428     set,)
   2429       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2430 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2431       ac_cache_corrupted=: ;;
   2432     ,set)
   2433       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2434 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2435       ac_cache_corrupted=: ;;
   2436     ,);;
   2437     *)
   2438       if test "x$ac_old_val" != "x$ac_new_val"; then
   2439 	# differences in whitespace do not lead to failure.
   2440 	ac_old_val_w=`echo x $ac_old_val`
   2441 	ac_new_val_w=`echo x $ac_new_val`
   2442 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2443 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2444 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2445 	  ac_cache_corrupted=:
   2446 	else
   2447 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2448 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2449 	  eval $ac_var=\$ac_old_val
   2450 	fi
   2451 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2452 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2453 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2454 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2455       fi;;
   2456   esac
   2457   # Pass precious variables to config.status.
   2458   if test "$ac_new_set" = set; then
   2459     case $ac_new_val in
   2460     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2461     *) ac_arg=$ac_var=$ac_new_val ;;
   2462     esac
   2463     case " $ac_configure_args " in
   2464       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2465       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2466     esac
   2467   fi
   2468 done
   2469 if $ac_cache_corrupted; then
   2470   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2471 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2472   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2473 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2474   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2475 	    and start over" "$LINENO" 5
   2476 fi
   2477 ## -------------------- ##
   2478 ## Main body of script. ##
   2479 ## -------------------- ##
   2480 
   2481 ac_ext=c
   2482 ac_cpp='$CPP $CPPFLAGS'
   2483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2486 
   2487 
   2488 
   2489 ac_config_headers="$ac_config_headers config.h"
   2490 
   2491 
   2492 # Initialize Automake
   2493 am__api_version='1.16'
   2494 
   2495 
   2496 
   2497   # Find a good install program.  We prefer a C program (faster),
   2498 # so one script is as good as another.  But avoid the broken or
   2499 # incompatible versions:
   2500 # SysV /etc/install, /usr/sbin/install
   2501 # SunOS /usr/etc/install
   2502 # IRIX /sbin/install
   2503 # AIX /bin/install
   2504 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2505 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2506 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2507 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2508 # OS/2's system install, which has a completely different semantic
   2509 # ./install, which can be erroneously created by make from ./install.sh.
   2510 # Reject install programs that cannot install multiple files.
   2511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2512 printf %s "checking for a BSD-compatible install... " >&6; }
   2513 if test -z "$INSTALL"; then
   2514 if test ${ac_cv_path_install+y}
   2515 then :
   2516   printf %s "(cached) " >&6
   2517 else $as_nop
   2518   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2519 for as_dir in $PATH
   2520 do
   2521   IFS=$as_save_IFS
   2522   case $as_dir in #(((
   2523     '') as_dir=./ ;;
   2524     */) ;;
   2525     *) as_dir=$as_dir/ ;;
   2526   esac
   2527     # Account for fact that we put trailing slashes in our PATH walk.
   2528 case $as_dir in #((
   2529   ./ | /[cC]/* | \
   2530   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2531   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2532   /usr/ucb/* ) ;;
   2533   *)
   2534     # OSF1 and SCO ODT 3.0 have their own names for install.
   2535     # Don't use installbsd from OSF since it installs stuff as root
   2536     # by default.
   2537     for ac_prog in ginstall scoinst install; do
   2538       for ac_exec_ext in '' $ac_executable_extensions; do
   2539 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2540 	  if test $ac_prog = install &&
   2541 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2542 	    # AIX install.  It has an incompatible calling convention.
   2543 	    :
   2544 	  elif test $ac_prog = install &&
   2545 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2546 	    # program-specific install script used by HP pwplus--don't use.
   2547 	    :
   2548 	  else
   2549 	    rm -rf conftest.one conftest.two conftest.dir
   2550 	    echo one > conftest.one
   2551 	    echo two > conftest.two
   2552 	    mkdir conftest.dir
   2553 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2554 	      test -s conftest.one && test -s conftest.two &&
   2555 	      test -s conftest.dir/conftest.one &&
   2556 	      test -s conftest.dir/conftest.two
   2557 	    then
   2558 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2559 	      break 3
   2560 	    fi
   2561 	  fi
   2562 	fi
   2563       done
   2564     done
   2565     ;;
   2566 esac
   2567 
   2568   done
   2569 IFS=$as_save_IFS
   2570 
   2571 rm -rf conftest.one conftest.two conftest.dir
   2572 
   2573 fi
   2574   if test ${ac_cv_path_install+y}; then
   2575     INSTALL=$ac_cv_path_install
   2576   else
   2577     # As a last resort, use the slow shell script.  Don't cache a
   2578     # value for INSTALL within a source directory, because that will
   2579     # break other packages using the cache if that directory is
   2580     # removed, or if the value is a relative name.
   2581     INSTALL=$ac_install_sh
   2582   fi
   2583 fi
   2584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2585 printf "%s\n" "$INSTALL" >&6; }
   2586 
   2587 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2588 # It thinks the first close brace ends the variable substitution.
   2589 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2590 
   2591 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2592 
   2593 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2594 
   2595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2596 printf %s "checking whether build environment is sane... " >&6; }
   2597 # Reject unsafe characters in $srcdir or the absolute working directory
   2598 # name.  Accept space and tab only in the latter.
   2599 am_lf='
   2600 '
   2601 case `pwd` in
   2602   *[\\\"\#\$\&\'\`$am_lf]*)
   2603     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2604 esac
   2605 case $srcdir in
   2606   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2607     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2608 esac
   2609 
   2610 # Do 'set' in a subshell so we don't clobber the current shell's
   2611 # arguments.  Must try -L first in case configure is actually a
   2612 # symlink; some systems play weird games with the mod time of symlinks
   2613 # (eg FreeBSD returns the mod time of the symlink's containing
   2614 # directory).
   2615 if (
   2616    am_has_slept=no
   2617    for am_try in 1 2; do
   2618      echo "timestamp, slept: $am_has_slept" > conftest.file
   2619      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2620      if test "$*" = "X"; then
   2621 	# -L didn't work.
   2622 	set X `ls -t "$srcdir/configure" conftest.file`
   2623      fi
   2624      if test "$*" != "X $srcdir/configure conftest.file" \
   2625 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2626 
   2627 	# If neither matched, then we have a broken ls.  This can happen
   2628 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2629 	# broken ls alias from the environment.  This has actually
   2630 	# happened.  Such a system could not be considered "sane".
   2631 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2632   alias in your environment" "$LINENO" 5
   2633      fi
   2634      if test "$2" = conftest.file || test $am_try -eq 2; then
   2635        break
   2636      fi
   2637      # Just in case.
   2638      sleep 1
   2639      am_has_slept=yes
   2640    done
   2641    test "$2" = conftest.file
   2642    )
   2643 then
   2644    # Ok.
   2645    :
   2646 else
   2647    as_fn_error $? "newly created file is older than distributed files!
   2648 Check your system clock" "$LINENO" 5
   2649 fi
   2650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2651 printf "%s\n" "yes" >&6; }
   2652 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2653 # generated files are strictly newer.
   2654 am_sleep_pid=
   2655 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2656   ( sleep 1 ) &
   2657   am_sleep_pid=$!
   2658 fi
   2659 
   2660 rm -f conftest.file
   2661 
   2662 test "$program_prefix" != NONE &&
   2663   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2664 # Use a double $ so make ignores it.
   2665 test "$program_suffix" != NONE &&
   2666   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2667 # Double any \ or $.
   2668 # By default was `s,x,x', remove it if useless.
   2669 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2670 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2671 
   2672 
   2673 # Expand $ac_aux_dir to an absolute path.
   2674 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2675 
   2676 
   2677   if test x"${MISSING+set}" != xset; then
   2678   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2679 fi
   2680 # Use eval to expand $SHELL
   2681 if eval "$MISSING --is-lightweight"; then
   2682   am_missing_run="$MISSING "
   2683 else
   2684   am_missing_run=
   2685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2686 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2687 fi
   2688 
   2689 if test x"${install_sh+set}" != xset; then
   2690   case $am_aux_dir in
   2691   *\ * | *\	*)
   2692     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2693   *)
   2694     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2695   esac
   2696 fi
   2697 
   2698 # Installed binaries are usually stripped using 'strip' when the user
   2699 # run "make install-strip".  However 'strip' might not be the right
   2700 # tool to use in cross-compilation environments, therefore Automake
   2701 # will honor the 'STRIP' environment variable to overrule this program.
   2702 if test "$cross_compiling" != no; then
   2703   if test -n "$ac_tool_prefix"; then
   2704   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2705 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2707 printf %s "checking for $ac_word... " >&6; }
   2708 if test ${ac_cv_prog_STRIP+y}
   2709 then :
   2710   printf %s "(cached) " >&6
   2711 else $as_nop
   2712   if test -n "$STRIP"; then
   2713   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2714 else
   2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2716 for as_dir in $PATH
   2717 do
   2718   IFS=$as_save_IFS
   2719   case $as_dir in #(((
   2720     '') as_dir=./ ;;
   2721     */) ;;
   2722     *) as_dir=$as_dir/ ;;
   2723   esac
   2724     for ac_exec_ext in '' $ac_executable_extensions; do
   2725   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2726     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2727     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2728     break 2
   2729   fi
   2730 done
   2731   done
   2732 IFS=$as_save_IFS
   2733 
   2734 fi
   2735 fi
   2736 STRIP=$ac_cv_prog_STRIP
   2737 if test -n "$STRIP"; then
   2738   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2739 printf "%s\n" "$STRIP" >&6; }
   2740 else
   2741   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2742 printf "%s\n" "no" >&6; }
   2743 fi
   2744 
   2745 
   2746 fi
   2747 if test -z "$ac_cv_prog_STRIP"; then
   2748   ac_ct_STRIP=$STRIP
   2749   # Extract the first word of "strip", so it can be a program name with args.
   2750 set dummy strip; ac_word=$2
   2751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2752 printf %s "checking for $ac_word... " >&6; }
   2753 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2754 then :
   2755   printf %s "(cached) " >&6
   2756 else $as_nop
   2757   if test -n "$ac_ct_STRIP"; then
   2758   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2759 else
   2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2761 for as_dir in $PATH
   2762 do
   2763   IFS=$as_save_IFS
   2764   case $as_dir in #(((
   2765     '') as_dir=./ ;;
   2766     */) ;;
   2767     *) as_dir=$as_dir/ ;;
   2768   esac
   2769     for ac_exec_ext in '' $ac_executable_extensions; do
   2770   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2771     ac_cv_prog_ac_ct_STRIP="strip"
   2772     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2773     break 2
   2774   fi
   2775 done
   2776   done
   2777 IFS=$as_save_IFS
   2778 
   2779 fi
   2780 fi
   2781 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2782 if test -n "$ac_ct_STRIP"; then
   2783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2784 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2785 else
   2786   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2787 printf "%s\n" "no" >&6; }
   2788 fi
   2789 
   2790   if test "x$ac_ct_STRIP" = x; then
   2791     STRIP=":"
   2792   else
   2793     case $cross_compiling:$ac_tool_warned in
   2794 yes:)
   2795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2796 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2797 ac_tool_warned=yes ;;
   2798 esac
   2799     STRIP=$ac_ct_STRIP
   2800   fi
   2801 else
   2802   STRIP="$ac_cv_prog_STRIP"
   2803 fi
   2804 
   2805 fi
   2806 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2807 
   2808 
   2809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2810 printf %s "checking for a race-free mkdir -p... " >&6; }
   2811 if test -z "$MKDIR_P"; then
   2812   if test ${ac_cv_path_mkdir+y}
   2813 then :
   2814   printf %s "(cached) " >&6
   2815 else $as_nop
   2816   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2817 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2818 do
   2819   IFS=$as_save_IFS
   2820   case $as_dir in #(((
   2821     '') as_dir=./ ;;
   2822     */) ;;
   2823     *) as_dir=$as_dir/ ;;
   2824   esac
   2825     for ac_prog in mkdir gmkdir; do
   2826 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2827 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2828 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2829 	     'mkdir ('*'coreutils) '* | \
   2830 	     'BusyBox '* | \
   2831 	     'mkdir (fileutils) '4.1*)
   2832 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2833 	       break 3;;
   2834 	   esac
   2835 	 done
   2836        done
   2837   done
   2838 IFS=$as_save_IFS
   2839 
   2840 fi
   2841 
   2842   test -d ./--version && rmdir ./--version
   2843   if test ${ac_cv_path_mkdir+y}; then
   2844     MKDIR_P="$ac_cv_path_mkdir -p"
   2845   else
   2846     # As a last resort, use the slow shell script.  Don't cache a
   2847     # value for MKDIR_P within a source directory, because that will
   2848     # break other packages using the cache if that directory is
   2849     # removed, or if the value is a relative name.
   2850     MKDIR_P="$ac_install_sh -d"
   2851   fi
   2852 fi
   2853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2854 printf "%s\n" "$MKDIR_P" >&6; }
   2855 
   2856 for ac_prog in gawk mawk nawk awk
   2857 do
   2858   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2859 set dummy $ac_prog; ac_word=$2
   2860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2861 printf %s "checking for $ac_word... " >&6; }
   2862 if test ${ac_cv_prog_AWK+y}
   2863 then :
   2864   printf %s "(cached) " >&6
   2865 else $as_nop
   2866   if test -n "$AWK"; then
   2867   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2868 else
   2869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2870 for as_dir in $PATH
   2871 do
   2872   IFS=$as_save_IFS
   2873   case $as_dir in #(((
   2874     '') as_dir=./ ;;
   2875     */) ;;
   2876     *) as_dir=$as_dir/ ;;
   2877   esac
   2878     for ac_exec_ext in '' $ac_executable_extensions; do
   2879   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2880     ac_cv_prog_AWK="$ac_prog"
   2881     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2882     break 2
   2883   fi
   2884 done
   2885   done
   2886 IFS=$as_save_IFS
   2887 
   2888 fi
   2889 fi
   2890 AWK=$ac_cv_prog_AWK
   2891 if test -n "$AWK"; then
   2892   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2893 printf "%s\n" "$AWK" >&6; }
   2894 else
   2895   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2896 printf "%s\n" "no" >&6; }
   2897 fi
   2898 
   2899 
   2900   test -n "$AWK" && break
   2901 done
   2902 
   2903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2904 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2905 set x ${MAKE-make}
   2906 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2907 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2908 then :
   2909   printf %s "(cached) " >&6
   2910 else $as_nop
   2911   cat >conftest.make <<\_ACEOF
   2912 SHELL = /bin/sh
   2913 all:
   2914 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2915 _ACEOF
   2916 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2917 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2918   *@@@%%%=?*=@@@%%%*)
   2919     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2920   *)
   2921     eval ac_cv_prog_make_${ac_make}_set=no;;
   2922 esac
   2923 rm -f conftest.make
   2924 fi
   2925 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2927 printf "%s\n" "yes" >&6; }
   2928   SET_MAKE=
   2929 else
   2930   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2931 printf "%s\n" "no" >&6; }
   2932   SET_MAKE="MAKE=${MAKE-make}"
   2933 fi
   2934 
   2935 rm -rf .tst 2>/dev/null
   2936 mkdir .tst 2>/dev/null
   2937 if test -d .tst; then
   2938   am__leading_dot=.
   2939 else
   2940   am__leading_dot=_
   2941 fi
   2942 rmdir .tst 2>/dev/null
   2943 
   2944 # Check whether --enable-silent-rules was given.
   2945 if test ${enable_silent_rules+y}
   2946 then :
   2947   enableval=$enable_silent_rules;
   2948 fi
   2949 
   2950 case $enable_silent_rules in # (((
   2951   yes) AM_DEFAULT_VERBOSITY=0;;
   2952    no) AM_DEFAULT_VERBOSITY=1;;
   2953     *) AM_DEFAULT_VERBOSITY=1;;
   2954 esac
   2955 am_make=${MAKE-make}
   2956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2957 printf %s "checking whether $am_make supports nested variables... " >&6; }
   2958 if test ${am_cv_make_support_nested_variables+y}
   2959 then :
   2960   printf %s "(cached) " >&6
   2961 else $as_nop
   2962   if printf "%s\n" 'TRUE=$(BAR$(V))
   2963 BAR0=false
   2964 BAR1=true
   2965 V=1
   2966 am__doit:
   2967 	@$(TRUE)
   2968 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2969   am_cv_make_support_nested_variables=yes
   2970 else
   2971   am_cv_make_support_nested_variables=no
   2972 fi
   2973 fi
   2974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2975 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   2976 if test $am_cv_make_support_nested_variables = yes; then
   2977     AM_V='$(V)'
   2978   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2979 else
   2980   AM_V=$AM_DEFAULT_VERBOSITY
   2981   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2982 fi
   2983 AM_BACKSLASH='\'
   2984 
   2985 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2986   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2987   # is not polluted with repeated "-I."
   2988   am__isrc=' -I$(srcdir)'
   2989   # test to see if srcdir already configured
   2990   if test -f $srcdir/config.status; then
   2991     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2992   fi
   2993 fi
   2994 
   2995 # test whether we have cygpath
   2996 if test -z "$CYGPATH_W"; then
   2997   if (cygpath --version) >/dev/null 2>/dev/null; then
   2998     CYGPATH_W='cygpath -w'
   2999   else
   3000     CYGPATH_W=echo
   3001   fi
   3002 fi
   3003 
   3004 
   3005 # Define the identity of the package.
   3006  PACKAGE='font-util'
   3007  VERSION='1.4.0'
   3008 
   3009 
   3010 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3011 
   3012 
   3013 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3014 
   3015 # Some tools Automake needs.
   3016 
   3017 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3018 
   3019 
   3020 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3021 
   3022 
   3023 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3024 
   3025 
   3026 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3027 
   3028 
   3029 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3030 
   3031 # For better backward compatibility.  To be removed once Automake 1.9.x
   3032 # dies out for good.  For more background, see:
   3033 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3034 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3035 mkdir_p='$(MKDIR_P)'
   3036 
   3037 # We need awk for the "check" target (and possibly the TAP driver).  The
   3038 # system "awk" is bad on some platforms.
   3039 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3040 # in the wild :-(  We should find a proper way to deprecate it ...
   3041 AMTAR='$${TAR-tar}'
   3042 
   3043 
   3044 # We'll loop over all known methods to create a tar archive until one works.
   3045 _am_tools='gnutar  pax cpio none'
   3046 
   3047 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3048 
   3049 
   3050 
   3051 
   3052 
   3053 # Variables for tags utilities; see am/tags.am
   3054 if test -z "$CTAGS"; then
   3055   CTAGS=ctags
   3056 fi
   3057 
   3058 if test -z "$ETAGS"; then
   3059   ETAGS=etags
   3060 fi
   3061 
   3062 if test -z "$CSCOPE"; then
   3063   CSCOPE=cscope
   3064 fi
   3065 
   3066 
   3067 
   3068 # POSIX will say in a future version that running "rm -f" with no argument
   3069 # is OK; and we want to be able to make that assumption in our Makefile
   3070 # recipes.  So use an aggressive probe to check that the usage we want is
   3071 # actually supported "in the wild" to an acceptable degree.
   3072 # See automake bug#10828.
   3073 # To make any issue more visible, cause the running configure to be aborted
   3074 # by default if the 'rm' program in use doesn't match our expectations; the
   3075 # user can still override this though.
   3076 if rm -f && rm -fr && rm -rf; then : OK; else
   3077   cat >&2 <<'END'
   3078 Oops!
   3079 
   3080 Your 'rm' program seems unable to run without file operands specified
   3081 on the command line, even when the '-f' option is present.  This is contrary
   3082 to the behaviour of most rm programs out there, and not conforming with
   3083 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3084 
   3085 Please tell bug-automake@gnu.org about your system, including the value
   3086 of your $PATH and any error possibly output before this message.  This
   3087 can help us improve future automake versions.
   3088 
   3089 END
   3090   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3091     echo 'Configuration will proceed anyway, since you have set the' >&2
   3092     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3093     echo >&2
   3094   else
   3095     cat >&2 <<'END'
   3096 Aborting the configuration process, to ensure you take notice of the issue.
   3097 
   3098 You can download and install GNU coreutils to get an 'rm' implementation
   3099 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3100 
   3101 If you want to complete the configuration process using your problematic
   3102 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3103 to "yes", and re-run configure.
   3104 
   3105 END
   3106     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3107   fi
   3108 fi
   3109 
   3110 
   3111 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3112 
   3113 
   3114 
   3115 
   3116 
   3117 
   3118 
   3119 
   3120 
   3121 
   3122 
   3123 
   3124 
   3125 
   3126 
   3127 
   3128 
   3129 
   3130 
   3131 
   3132 DEPDIR="${am__leading_dot}deps"
   3133 
   3134 ac_config_commands="$ac_config_commands depfiles"
   3135 
   3136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3137 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3138 cat > confinc.mk << 'END'
   3139 am__doit:
   3140 	@echo this is the am__doit target >confinc.out
   3141 .PHONY: am__doit
   3142 END
   3143 am__include="#"
   3144 am__quote=
   3145 # BSD make does it like this.
   3146 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3147 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3148 echo 'include confinc.mk # ignored' > confmf.GNU
   3149 _am_result=no
   3150 for s in GNU BSD; do
   3151   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3152    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3153    ac_status=$?
   3154    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3155    (exit $ac_status); }
   3156   case $?:`cat confinc.out 2>/dev/null` in #(
   3157   '0:this is the am__doit target') :
   3158     case $s in #(
   3159   BSD) :
   3160     am__include='.include' am__quote='"' ;; #(
   3161   *) :
   3162     am__include='include' am__quote='' ;;
   3163 esac ;; #(
   3164   *) :
   3165      ;;
   3166 esac
   3167   if test "$am__include" != "#"; then
   3168     _am_result="yes ($s style)"
   3169     break
   3170   fi
   3171 done
   3172 rm -f confinc.* confmf.*
   3173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3174 printf "%s\n" "${_am_result}" >&6; }
   3175 
   3176 # Check whether --enable-dependency-tracking was given.
   3177 if test ${enable_dependency_tracking+y}
   3178 then :
   3179   enableval=$enable_dependency_tracking;
   3180 fi
   3181 
   3182 if test "x$enable_dependency_tracking" != xno; then
   3183   am_depcomp="$ac_aux_dir/depcomp"
   3184   AMDEPBACKSLASH='\'
   3185   am__nodep='_no'
   3186 fi
   3187  if test "x$enable_dependency_tracking" != xno; then
   3188   AMDEP_TRUE=
   3189   AMDEP_FALSE='#'
   3190 else
   3191   AMDEP_TRUE='#'
   3192   AMDEP_FALSE=
   3193 fi
   3194 
   3195 
   3196 ac_ext=c
   3197 ac_cpp='$CPP $CPPFLAGS'
   3198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3201 if test -n "$ac_tool_prefix"; then
   3202   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3203 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3205 printf %s "checking for $ac_word... " >&6; }
   3206 if test ${ac_cv_prog_CC+y}
   3207 then :
   3208   printf %s "(cached) " >&6
   3209 else $as_nop
   3210   if test -n "$CC"; then
   3211   ac_cv_prog_CC="$CC" # Let the user override the test.
   3212 else
   3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3214 for as_dir in $PATH
   3215 do
   3216   IFS=$as_save_IFS
   3217   case $as_dir in #(((
   3218     '') as_dir=./ ;;
   3219     */) ;;
   3220     *) as_dir=$as_dir/ ;;
   3221   esac
   3222     for ac_exec_ext in '' $ac_executable_extensions; do
   3223   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3224     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3225     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3226     break 2
   3227   fi
   3228 done
   3229   done
   3230 IFS=$as_save_IFS
   3231 
   3232 fi
   3233 fi
   3234 CC=$ac_cv_prog_CC
   3235 if test -n "$CC"; then
   3236   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3237 printf "%s\n" "$CC" >&6; }
   3238 else
   3239   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3240 printf "%s\n" "no" >&6; }
   3241 fi
   3242 
   3243 
   3244 fi
   3245 if test -z "$ac_cv_prog_CC"; then
   3246   ac_ct_CC=$CC
   3247   # Extract the first word of "gcc", so it can be a program name with args.
   3248 set dummy gcc; ac_word=$2
   3249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3250 printf %s "checking for $ac_word... " >&6; }
   3251 if test ${ac_cv_prog_ac_ct_CC+y}
   3252 then :
   3253   printf %s "(cached) " >&6
   3254 else $as_nop
   3255   if test -n "$ac_ct_CC"; then
   3256   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3257 else
   3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3259 for as_dir in $PATH
   3260 do
   3261   IFS=$as_save_IFS
   3262   case $as_dir in #(((
   3263     '') as_dir=./ ;;
   3264     */) ;;
   3265     *) as_dir=$as_dir/ ;;
   3266   esac
   3267     for ac_exec_ext in '' $ac_executable_extensions; do
   3268   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3269     ac_cv_prog_ac_ct_CC="gcc"
   3270     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3271     break 2
   3272   fi
   3273 done
   3274   done
   3275 IFS=$as_save_IFS
   3276 
   3277 fi
   3278 fi
   3279 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3280 if test -n "$ac_ct_CC"; then
   3281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3282 printf "%s\n" "$ac_ct_CC" >&6; }
   3283 else
   3284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3285 printf "%s\n" "no" >&6; }
   3286 fi
   3287 
   3288   if test "x$ac_ct_CC" = x; then
   3289     CC=""
   3290   else
   3291     case $cross_compiling:$ac_tool_warned in
   3292 yes:)
   3293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3294 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3295 ac_tool_warned=yes ;;
   3296 esac
   3297     CC=$ac_ct_CC
   3298   fi
   3299 else
   3300   CC="$ac_cv_prog_CC"
   3301 fi
   3302 
   3303 if test -z "$CC"; then
   3304           if test -n "$ac_tool_prefix"; then
   3305     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3306 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3308 printf %s "checking for $ac_word... " >&6; }
   3309 if test ${ac_cv_prog_CC+y}
   3310 then :
   3311   printf %s "(cached) " >&6
   3312 else $as_nop
   3313   if test -n "$CC"; then
   3314   ac_cv_prog_CC="$CC" # Let the user override the test.
   3315 else
   3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3317 for as_dir in $PATH
   3318 do
   3319   IFS=$as_save_IFS
   3320   case $as_dir in #(((
   3321     '') as_dir=./ ;;
   3322     */) ;;
   3323     *) as_dir=$as_dir/ ;;
   3324   esac
   3325     for ac_exec_ext in '' $ac_executable_extensions; do
   3326   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3327     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3328     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3329     break 2
   3330   fi
   3331 done
   3332   done
   3333 IFS=$as_save_IFS
   3334 
   3335 fi
   3336 fi
   3337 CC=$ac_cv_prog_CC
   3338 if test -n "$CC"; then
   3339   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3340 printf "%s\n" "$CC" >&6; }
   3341 else
   3342   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3343 printf "%s\n" "no" >&6; }
   3344 fi
   3345 
   3346 
   3347   fi
   3348 fi
   3349 if test -z "$CC"; then
   3350   # Extract the first word of "cc", so it can be a program name with args.
   3351 set dummy cc; ac_word=$2
   3352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3353 printf %s "checking for $ac_word... " >&6; }
   3354 if test ${ac_cv_prog_CC+y}
   3355 then :
   3356   printf %s "(cached) " >&6
   3357 else $as_nop
   3358   if test -n "$CC"; then
   3359   ac_cv_prog_CC="$CC" # Let the user override the test.
   3360 else
   3361   ac_prog_rejected=no
   3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3363 for as_dir in $PATH
   3364 do
   3365   IFS=$as_save_IFS
   3366   case $as_dir in #(((
   3367     '') as_dir=./ ;;
   3368     */) ;;
   3369     *) as_dir=$as_dir/ ;;
   3370   esac
   3371     for ac_exec_ext in '' $ac_executable_extensions; do
   3372   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3373     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3374        ac_prog_rejected=yes
   3375        continue
   3376      fi
   3377     ac_cv_prog_CC="cc"
   3378     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3379     break 2
   3380   fi
   3381 done
   3382   done
   3383 IFS=$as_save_IFS
   3384 
   3385 if test $ac_prog_rejected = yes; then
   3386   # We found a bogon in the path, so make sure we never use it.
   3387   set dummy $ac_cv_prog_CC
   3388   shift
   3389   if test $# != 0; then
   3390     # We chose a different compiler from the bogus one.
   3391     # However, it has the same basename, so the bogon will be chosen
   3392     # first if we set CC to just the basename; use the full file name.
   3393     shift
   3394     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3395   fi
   3396 fi
   3397 fi
   3398 fi
   3399 CC=$ac_cv_prog_CC
   3400 if test -n "$CC"; then
   3401   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3402 printf "%s\n" "$CC" >&6; }
   3403 else
   3404   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3405 printf "%s\n" "no" >&6; }
   3406 fi
   3407 
   3408 
   3409 fi
   3410 if test -z "$CC"; then
   3411   if test -n "$ac_tool_prefix"; then
   3412   for ac_prog in cl.exe
   3413   do
   3414     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3415 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3417 printf %s "checking for $ac_word... " >&6; }
   3418 if test ${ac_cv_prog_CC+y}
   3419 then :
   3420   printf %s "(cached) " >&6
   3421 else $as_nop
   3422   if test -n "$CC"; then
   3423   ac_cv_prog_CC="$CC" # Let the user override the test.
   3424 else
   3425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3426 for as_dir in $PATH
   3427 do
   3428   IFS=$as_save_IFS
   3429   case $as_dir in #(((
   3430     '') as_dir=./ ;;
   3431     */) ;;
   3432     *) as_dir=$as_dir/ ;;
   3433   esac
   3434     for ac_exec_ext in '' $ac_executable_extensions; do
   3435   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3436     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3438     break 2
   3439   fi
   3440 done
   3441   done
   3442 IFS=$as_save_IFS
   3443 
   3444 fi
   3445 fi
   3446 CC=$ac_cv_prog_CC
   3447 if test -n "$CC"; then
   3448   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3449 printf "%s\n" "$CC" >&6; }
   3450 else
   3451   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3452 printf "%s\n" "no" >&6; }
   3453 fi
   3454 
   3455 
   3456     test -n "$CC" && break
   3457   done
   3458 fi
   3459 if test -z "$CC"; then
   3460   ac_ct_CC=$CC
   3461   for ac_prog in cl.exe
   3462 do
   3463   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3464 set dummy $ac_prog; ac_word=$2
   3465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3466 printf %s "checking for $ac_word... " >&6; }
   3467 if test ${ac_cv_prog_ac_ct_CC+y}
   3468 then :
   3469   printf %s "(cached) " >&6
   3470 else $as_nop
   3471   if test -n "$ac_ct_CC"; then
   3472   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3473 else
   3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3475 for as_dir in $PATH
   3476 do
   3477   IFS=$as_save_IFS
   3478   case $as_dir in #(((
   3479     '') as_dir=./ ;;
   3480     */) ;;
   3481     *) as_dir=$as_dir/ ;;
   3482   esac
   3483     for ac_exec_ext in '' $ac_executable_extensions; do
   3484   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3485     ac_cv_prog_ac_ct_CC="$ac_prog"
   3486     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3487     break 2
   3488   fi
   3489 done
   3490   done
   3491 IFS=$as_save_IFS
   3492 
   3493 fi
   3494 fi
   3495 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3496 if test -n "$ac_ct_CC"; then
   3497   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3498 printf "%s\n" "$ac_ct_CC" >&6; }
   3499 else
   3500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3501 printf "%s\n" "no" >&6; }
   3502 fi
   3503 
   3504 
   3505   test -n "$ac_ct_CC" && break
   3506 done
   3507 
   3508   if test "x$ac_ct_CC" = x; then
   3509     CC=""
   3510   else
   3511     case $cross_compiling:$ac_tool_warned in
   3512 yes:)
   3513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3514 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3515 ac_tool_warned=yes ;;
   3516 esac
   3517     CC=$ac_ct_CC
   3518   fi
   3519 fi
   3520 
   3521 fi
   3522 if test -z "$CC"; then
   3523   if test -n "$ac_tool_prefix"; then
   3524   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3525 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3527 printf %s "checking for $ac_word... " >&6; }
   3528 if test ${ac_cv_prog_CC+y}
   3529 then :
   3530   printf %s "(cached) " >&6
   3531 else $as_nop
   3532   if test -n "$CC"; then
   3533   ac_cv_prog_CC="$CC" # Let the user override the test.
   3534 else
   3535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3536 for as_dir in $PATH
   3537 do
   3538   IFS=$as_save_IFS
   3539   case $as_dir in #(((
   3540     '') as_dir=./ ;;
   3541     */) ;;
   3542     *) as_dir=$as_dir/ ;;
   3543   esac
   3544     for ac_exec_ext in '' $ac_executable_extensions; do
   3545   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3546     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3547     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3548     break 2
   3549   fi
   3550 done
   3551   done
   3552 IFS=$as_save_IFS
   3553 
   3554 fi
   3555 fi
   3556 CC=$ac_cv_prog_CC
   3557 if test -n "$CC"; then
   3558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3559 printf "%s\n" "$CC" >&6; }
   3560 else
   3561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3562 printf "%s\n" "no" >&6; }
   3563 fi
   3564 
   3565 
   3566 fi
   3567 if test -z "$ac_cv_prog_CC"; then
   3568   ac_ct_CC=$CC
   3569   # Extract the first word of "clang", so it can be a program name with args.
   3570 set dummy clang; ac_word=$2
   3571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3572 printf %s "checking for $ac_word... " >&6; }
   3573 if test ${ac_cv_prog_ac_ct_CC+y}
   3574 then :
   3575   printf %s "(cached) " >&6
   3576 else $as_nop
   3577   if test -n "$ac_ct_CC"; then
   3578   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3579 else
   3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3581 for as_dir in $PATH
   3582 do
   3583   IFS=$as_save_IFS
   3584   case $as_dir in #(((
   3585     '') as_dir=./ ;;
   3586     */) ;;
   3587     *) as_dir=$as_dir/ ;;
   3588   esac
   3589     for ac_exec_ext in '' $ac_executable_extensions; do
   3590   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3591     ac_cv_prog_ac_ct_CC="clang"
   3592     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3593     break 2
   3594   fi
   3595 done
   3596   done
   3597 IFS=$as_save_IFS
   3598 
   3599 fi
   3600 fi
   3601 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3602 if test -n "$ac_ct_CC"; then
   3603   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3604 printf "%s\n" "$ac_ct_CC" >&6; }
   3605 else
   3606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3607 printf "%s\n" "no" >&6; }
   3608 fi
   3609 
   3610   if test "x$ac_ct_CC" = x; then
   3611     CC=""
   3612   else
   3613     case $cross_compiling:$ac_tool_warned in
   3614 yes:)
   3615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3616 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3617 ac_tool_warned=yes ;;
   3618 esac
   3619     CC=$ac_ct_CC
   3620   fi
   3621 else
   3622   CC="$ac_cv_prog_CC"
   3623 fi
   3624 
   3625 fi
   3626 
   3627 
   3628 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3629 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3630 as_fn_error $? "no acceptable C compiler found in \$PATH
   3631 See \`config.log' for more details" "$LINENO" 5; }
   3632 
   3633 # Provide some information about the compiler.
   3634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3635 set X $ac_compile
   3636 ac_compiler=$2
   3637 for ac_option in --version -v -V -qversion -version; do
   3638   { { ac_try="$ac_compiler $ac_option >&5"
   3639 case "(($ac_try" in
   3640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3641   *) ac_try_echo=$ac_try;;
   3642 esac
   3643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3644 printf "%s\n" "$ac_try_echo"; } >&5
   3645   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3646   ac_status=$?
   3647   if test -s conftest.err; then
   3648     sed '10a\
   3649 ... rest of stderr output deleted ...
   3650          10q' conftest.err >conftest.er1
   3651     cat conftest.er1 >&5
   3652   fi
   3653   rm -f conftest.er1 conftest.err
   3654   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3655   test $ac_status = 0; }
   3656 done
   3657 
   3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3659 /* end confdefs.h.  */
   3660 
   3661 int
   3662 main (void)
   3663 {
   3664 
   3665   ;
   3666   return 0;
   3667 }
   3668 _ACEOF
   3669 ac_clean_files_save=$ac_clean_files
   3670 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3671 # Try to create an executable without -o first, disregard a.out.
   3672 # It will help us diagnose broken compilers, and finding out an intuition
   3673 # of exeext.
   3674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3675 printf %s "checking whether the C compiler works... " >&6; }
   3676 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3677 
   3678 # The possible output files:
   3679 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3680 
   3681 ac_rmfiles=
   3682 for ac_file in $ac_files
   3683 do
   3684   case $ac_file in
   3685     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3686     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3687   esac
   3688 done
   3689 rm -f $ac_rmfiles
   3690 
   3691 if { { ac_try="$ac_link_default"
   3692 case "(($ac_try" in
   3693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3694   *) ac_try_echo=$ac_try;;
   3695 esac
   3696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3697 printf "%s\n" "$ac_try_echo"; } >&5
   3698   (eval "$ac_link_default") 2>&5
   3699   ac_status=$?
   3700   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3701   test $ac_status = 0; }
   3702 then :
   3703   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3704 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3705 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3706 # so that the user can short-circuit this test for compilers unknown to
   3707 # Autoconf.
   3708 for ac_file in $ac_files ''
   3709 do
   3710   test -f "$ac_file" || continue
   3711   case $ac_file in
   3712     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3713 	;;
   3714     [ab].out )
   3715 	# We found the default executable, but exeext='' is most
   3716 	# certainly right.
   3717 	break;;
   3718     *.* )
   3719 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3720 	then :; else
   3721 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3722 	fi
   3723 	# We set ac_cv_exeext here because the later test for it is not
   3724 	# safe: cross compilers may not add the suffix if given an `-o'
   3725 	# argument, so we may need to know it at that point already.
   3726 	# Even if this section looks crufty: it has the advantage of
   3727 	# actually working.
   3728 	break;;
   3729     * )
   3730 	break;;
   3731   esac
   3732 done
   3733 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3734 
   3735 else $as_nop
   3736   ac_file=''
   3737 fi
   3738 if test -z "$ac_file"
   3739 then :
   3740   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3741 printf "%s\n" "no" >&6; }
   3742 printf "%s\n" "$as_me: failed program was:" >&5
   3743 sed 's/^/| /' conftest.$ac_ext >&5
   3744 
   3745 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3746 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3747 as_fn_error 77 "C compiler cannot create executables
   3748 See \`config.log' for more details" "$LINENO" 5; }
   3749 else $as_nop
   3750   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3751 printf "%s\n" "yes" >&6; }
   3752 fi
   3753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3754 printf %s "checking for C compiler default output file name... " >&6; }
   3755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3756 printf "%s\n" "$ac_file" >&6; }
   3757 ac_exeext=$ac_cv_exeext
   3758 
   3759 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3760 ac_clean_files=$ac_clean_files_save
   3761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3762 printf %s "checking for suffix of executables... " >&6; }
   3763 if { { ac_try="$ac_link"
   3764 case "(($ac_try" in
   3765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3766   *) ac_try_echo=$ac_try;;
   3767 esac
   3768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3769 printf "%s\n" "$ac_try_echo"; } >&5
   3770   (eval "$ac_link") 2>&5
   3771   ac_status=$?
   3772   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3773   test $ac_status = 0; }
   3774 then :
   3775   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3776 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3777 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3778 # `rm'.
   3779 for ac_file in conftest.exe conftest conftest.*; do
   3780   test -f "$ac_file" || continue
   3781   case $ac_file in
   3782     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3783     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3784 	  break;;
   3785     * ) break;;
   3786   esac
   3787 done
   3788 else $as_nop
   3789   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3790 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3791 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3792 See \`config.log' for more details" "$LINENO" 5; }
   3793 fi
   3794 rm -f conftest conftest$ac_cv_exeext
   3795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3796 printf "%s\n" "$ac_cv_exeext" >&6; }
   3797 
   3798 rm -f conftest.$ac_ext
   3799 EXEEXT=$ac_cv_exeext
   3800 ac_exeext=$EXEEXT
   3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3802 /* end confdefs.h.  */
   3803 #include <stdio.h>
   3804 int
   3805 main (void)
   3806 {
   3807 FILE *f = fopen ("conftest.out", "w");
   3808  return ferror (f) || fclose (f) != 0;
   3809 
   3810   ;
   3811   return 0;
   3812 }
   3813 _ACEOF
   3814 ac_clean_files="$ac_clean_files conftest.out"
   3815 # Check that the compiler produces executables we can run.  If not, either
   3816 # the compiler is broken, or we cross compile.
   3817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3818 printf %s "checking whether we are cross compiling... " >&6; }
   3819 if test "$cross_compiling" != yes; then
   3820   { { ac_try="$ac_link"
   3821 case "(($ac_try" in
   3822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3823   *) ac_try_echo=$ac_try;;
   3824 esac
   3825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3826 printf "%s\n" "$ac_try_echo"; } >&5
   3827   (eval "$ac_link") 2>&5
   3828   ac_status=$?
   3829   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3830   test $ac_status = 0; }
   3831   if { ac_try='./conftest$ac_cv_exeext'
   3832   { { case "(($ac_try" in
   3833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3834   *) ac_try_echo=$ac_try;;
   3835 esac
   3836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3837 printf "%s\n" "$ac_try_echo"; } >&5
   3838   (eval "$ac_try") 2>&5
   3839   ac_status=$?
   3840   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3841   test $ac_status = 0; }; }; then
   3842     cross_compiling=no
   3843   else
   3844     if test "$cross_compiling" = maybe; then
   3845 	cross_compiling=yes
   3846     else
   3847 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3848 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3849 as_fn_error 77 "cannot run C compiled programs.
   3850 If you meant to cross compile, use \`--host'.
   3851 See \`config.log' for more details" "$LINENO" 5; }
   3852     fi
   3853   fi
   3854 fi
   3855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3856 printf "%s\n" "$cross_compiling" >&6; }
   3857 
   3858 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3859 ac_clean_files=$ac_clean_files_save
   3860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3861 printf %s "checking for suffix of object files... " >&6; }
   3862 if test ${ac_cv_objext+y}
   3863 then :
   3864   printf %s "(cached) " >&6
   3865 else $as_nop
   3866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3867 /* end confdefs.h.  */
   3868 
   3869 int
   3870 main (void)
   3871 {
   3872 
   3873   ;
   3874   return 0;
   3875 }
   3876 _ACEOF
   3877 rm -f conftest.o conftest.obj
   3878 if { { ac_try="$ac_compile"
   3879 case "(($ac_try" in
   3880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3881   *) ac_try_echo=$ac_try;;
   3882 esac
   3883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3884 printf "%s\n" "$ac_try_echo"; } >&5
   3885   (eval "$ac_compile") 2>&5
   3886   ac_status=$?
   3887   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3888   test $ac_status = 0; }
   3889 then :
   3890   for ac_file in conftest.o conftest.obj conftest.*; do
   3891   test -f "$ac_file" || continue;
   3892   case $ac_file in
   3893     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3894     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3895        break;;
   3896   esac
   3897 done
   3898 else $as_nop
   3899   printf "%s\n" "$as_me: failed program was:" >&5
   3900 sed 's/^/| /' conftest.$ac_ext >&5
   3901 
   3902 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3903 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3904 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3905 See \`config.log' for more details" "$LINENO" 5; }
   3906 fi
   3907 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3908 fi
   3909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3910 printf "%s\n" "$ac_cv_objext" >&6; }
   3911 OBJEXT=$ac_cv_objext
   3912 ac_objext=$OBJEXT
   3913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3914 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3915 if test ${ac_cv_c_compiler_gnu+y}
   3916 then :
   3917   printf %s "(cached) " >&6
   3918 else $as_nop
   3919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3920 /* end confdefs.h.  */
   3921 
   3922 int
   3923 main (void)
   3924 {
   3925 #ifndef __GNUC__
   3926        choke me
   3927 #endif
   3928 
   3929   ;
   3930   return 0;
   3931 }
   3932 _ACEOF
   3933 if ac_fn_c_try_compile "$LINENO"
   3934 then :
   3935   ac_compiler_gnu=yes
   3936 else $as_nop
   3937   ac_compiler_gnu=no
   3938 fi
   3939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3940 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3941 
   3942 fi
   3943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3944 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3946 
   3947 if test $ac_compiler_gnu = yes; then
   3948   GCC=yes
   3949 else
   3950   GCC=
   3951 fi
   3952 ac_test_CFLAGS=${CFLAGS+y}
   3953 ac_save_CFLAGS=$CFLAGS
   3954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3955 printf %s "checking whether $CC accepts -g... " >&6; }
   3956 if test ${ac_cv_prog_cc_g+y}
   3957 then :
   3958   printf %s "(cached) " >&6
   3959 else $as_nop
   3960   ac_save_c_werror_flag=$ac_c_werror_flag
   3961    ac_c_werror_flag=yes
   3962    ac_cv_prog_cc_g=no
   3963    CFLAGS="-g"
   3964    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3965 /* end confdefs.h.  */
   3966 
   3967 int
   3968 main (void)
   3969 {
   3970 
   3971   ;
   3972   return 0;
   3973 }
   3974 _ACEOF
   3975 if ac_fn_c_try_compile "$LINENO"
   3976 then :
   3977   ac_cv_prog_cc_g=yes
   3978 else $as_nop
   3979   CFLAGS=""
   3980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3981 /* end confdefs.h.  */
   3982 
   3983 int
   3984 main (void)
   3985 {
   3986 
   3987   ;
   3988   return 0;
   3989 }
   3990 _ACEOF
   3991 if ac_fn_c_try_compile "$LINENO"
   3992 then :
   3993 
   3994 else $as_nop
   3995   ac_c_werror_flag=$ac_save_c_werror_flag
   3996 	 CFLAGS="-g"
   3997 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3998 /* end confdefs.h.  */
   3999 
   4000 int
   4001 main (void)
   4002 {
   4003 
   4004   ;
   4005   return 0;
   4006 }
   4007 _ACEOF
   4008 if ac_fn_c_try_compile "$LINENO"
   4009 then :
   4010   ac_cv_prog_cc_g=yes
   4011 fi
   4012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4013 fi
   4014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4015 fi
   4016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4017    ac_c_werror_flag=$ac_save_c_werror_flag
   4018 fi
   4019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4020 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4021 if test $ac_test_CFLAGS; then
   4022   CFLAGS=$ac_save_CFLAGS
   4023 elif test $ac_cv_prog_cc_g = yes; then
   4024   if test "$GCC" = yes; then
   4025     CFLAGS="-g -O2"
   4026   else
   4027     CFLAGS="-g"
   4028   fi
   4029 else
   4030   if test "$GCC" = yes; then
   4031     CFLAGS="-O2"
   4032   else
   4033     CFLAGS=
   4034   fi
   4035 fi
   4036 ac_prog_cc_stdc=no
   4037 if test x$ac_prog_cc_stdc = xno
   4038 then :
   4039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4040 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4041 if test ${ac_cv_prog_cc_c11+y}
   4042 then :
   4043   printf %s "(cached) " >&6
   4044 else $as_nop
   4045   ac_cv_prog_cc_c11=no
   4046 ac_save_CC=$CC
   4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4048 /* end confdefs.h.  */
   4049 $ac_c_conftest_c11_program
   4050 _ACEOF
   4051 for ac_arg in '' -std=gnu11
   4052 do
   4053   CC="$ac_save_CC $ac_arg"
   4054   if ac_fn_c_try_compile "$LINENO"
   4055 then :
   4056   ac_cv_prog_cc_c11=$ac_arg
   4057 fi
   4058 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4059   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4060 done
   4061 rm -f conftest.$ac_ext
   4062 CC=$ac_save_CC
   4063 fi
   4064 
   4065 if test "x$ac_cv_prog_cc_c11" = xno
   4066 then :
   4067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4068 printf "%s\n" "unsupported" >&6; }
   4069 else $as_nop
   4070   if test "x$ac_cv_prog_cc_c11" = x
   4071 then :
   4072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4073 printf "%s\n" "none needed" >&6; }
   4074 else $as_nop
   4075   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4076 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4077      CC="$CC $ac_cv_prog_cc_c11"
   4078 fi
   4079   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4080   ac_prog_cc_stdc=c11
   4081 fi
   4082 fi
   4083 if test x$ac_prog_cc_stdc = xno
   4084 then :
   4085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4086 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4087 if test ${ac_cv_prog_cc_c99+y}
   4088 then :
   4089   printf %s "(cached) " >&6
   4090 else $as_nop
   4091   ac_cv_prog_cc_c99=no
   4092 ac_save_CC=$CC
   4093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4094 /* end confdefs.h.  */
   4095 $ac_c_conftest_c99_program
   4096 _ACEOF
   4097 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4098 do
   4099   CC="$ac_save_CC $ac_arg"
   4100   if ac_fn_c_try_compile "$LINENO"
   4101 then :
   4102   ac_cv_prog_cc_c99=$ac_arg
   4103 fi
   4104 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4105   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4106 done
   4107 rm -f conftest.$ac_ext
   4108 CC=$ac_save_CC
   4109 fi
   4110 
   4111 if test "x$ac_cv_prog_cc_c99" = xno
   4112 then :
   4113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4114 printf "%s\n" "unsupported" >&6; }
   4115 else $as_nop
   4116   if test "x$ac_cv_prog_cc_c99" = x
   4117 then :
   4118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4119 printf "%s\n" "none needed" >&6; }
   4120 else $as_nop
   4121   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4122 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4123      CC="$CC $ac_cv_prog_cc_c99"
   4124 fi
   4125   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4126   ac_prog_cc_stdc=c99
   4127 fi
   4128 fi
   4129 if test x$ac_prog_cc_stdc = xno
   4130 then :
   4131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4132 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4133 if test ${ac_cv_prog_cc_c89+y}
   4134 then :
   4135   printf %s "(cached) " >&6
   4136 else $as_nop
   4137   ac_cv_prog_cc_c89=no
   4138 ac_save_CC=$CC
   4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4140 /* end confdefs.h.  */
   4141 $ac_c_conftest_c89_program
   4142 _ACEOF
   4143 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4144 do
   4145   CC="$ac_save_CC $ac_arg"
   4146   if ac_fn_c_try_compile "$LINENO"
   4147 then :
   4148   ac_cv_prog_cc_c89=$ac_arg
   4149 fi
   4150 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4151   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4152 done
   4153 rm -f conftest.$ac_ext
   4154 CC=$ac_save_CC
   4155 fi
   4156 
   4157 if test "x$ac_cv_prog_cc_c89" = xno
   4158 then :
   4159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4160 printf "%s\n" "unsupported" >&6; }
   4161 else $as_nop
   4162   if test "x$ac_cv_prog_cc_c89" = x
   4163 then :
   4164   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4165 printf "%s\n" "none needed" >&6; }
   4166 else $as_nop
   4167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4168 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4169      CC="$CC $ac_cv_prog_cc_c89"
   4170 fi
   4171   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4172   ac_prog_cc_stdc=c89
   4173 fi
   4174 fi
   4175 
   4176 ac_ext=c
   4177 ac_cpp='$CPP $CPPFLAGS'
   4178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4181 
   4182 
   4183   ac_ext=c
   4184 ac_cpp='$CPP $CPPFLAGS'
   4185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4189 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4190 if test ${am_cv_prog_cc_c_o+y}
   4191 then :
   4192   printf %s "(cached) " >&6
   4193 else $as_nop
   4194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4195 /* end confdefs.h.  */
   4196 
   4197 int
   4198 main (void)
   4199 {
   4200 
   4201   ;
   4202   return 0;
   4203 }
   4204 _ACEOF
   4205   # Make sure it works both with $CC and with simple cc.
   4206   # Following AC_PROG_CC_C_O, we do the test twice because some
   4207   # compilers refuse to overwrite an existing .o file with -o,
   4208   # though they will create one.
   4209   am_cv_prog_cc_c_o=yes
   4210   for am_i in 1 2; do
   4211     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4212    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4213    ac_status=$?
   4214    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4215    (exit $ac_status); } \
   4216          && test -f conftest2.$ac_objext; then
   4217       : OK
   4218     else
   4219       am_cv_prog_cc_c_o=no
   4220       break
   4221     fi
   4222   done
   4223   rm -f core conftest*
   4224   unset am_i
   4225 fi
   4226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4227 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4228 if test "$am_cv_prog_cc_c_o" != yes; then
   4229    # Losing compiler, so override with the script.
   4230    # FIXME: It is wrong to rewrite CC.
   4231    # But if we don't then we get into trouble of one sort or another.
   4232    # A longer-term fix would be to have automake use am__CC in this case,
   4233    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4234    CC="$am_aux_dir/compile $CC"
   4235 fi
   4236 ac_ext=c
   4237 ac_cpp='$CPP $CPPFLAGS'
   4238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4241 
   4242 
   4243 depcc="$CC"   am_compiler_list=
   4244 
   4245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4246 printf %s "checking dependency style of $depcc... " >&6; }
   4247 if test ${am_cv_CC_dependencies_compiler_type+y}
   4248 then :
   4249   printf %s "(cached) " >&6
   4250 else $as_nop
   4251   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4252   # We make a subdir and do the tests there.  Otherwise we can end up
   4253   # making bogus files that we don't know about and never remove.  For
   4254   # instance it was reported that on HP-UX the gcc test will end up
   4255   # making a dummy file named 'D' -- because '-MD' means "put the output
   4256   # in D".
   4257   rm -rf conftest.dir
   4258   mkdir conftest.dir
   4259   # Copy depcomp to subdir because otherwise we won't find it if we're
   4260   # using a relative directory.
   4261   cp "$am_depcomp" conftest.dir
   4262   cd conftest.dir
   4263   # We will build objects and dependencies in a subdirectory because
   4264   # it helps to detect inapplicable dependency modes.  For instance
   4265   # both Tru64's cc and ICC support -MD to output dependencies as a
   4266   # side effect of compilation, but ICC will put the dependencies in
   4267   # the current directory while Tru64 will put them in the object
   4268   # directory.
   4269   mkdir sub
   4270 
   4271   am_cv_CC_dependencies_compiler_type=none
   4272   if test "$am_compiler_list" = ""; then
   4273      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4274   fi
   4275   am__universal=false
   4276   case " $depcc " in #(
   4277      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4278      esac
   4279 
   4280   for depmode in $am_compiler_list; do
   4281     # Setup a source with many dependencies, because some compilers
   4282     # like to wrap large dependency lists on column 80 (with \), and
   4283     # we should not choose a depcomp mode which is confused by this.
   4284     #
   4285     # We need to recreate these files for each test, as the compiler may
   4286     # overwrite some of them when testing with obscure command lines.
   4287     # This happens at least with the AIX C compiler.
   4288     : > sub/conftest.c
   4289     for i in 1 2 3 4 5 6; do
   4290       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4291       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4292       # Solaris 10 /bin/sh.
   4293       echo '/* dummy */' > sub/conftst$i.h
   4294     done
   4295     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4296 
   4297     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4298     # mode.  It turns out that the SunPro C++ compiler does not properly
   4299     # handle '-M -o', and we need to detect this.  Also, some Intel
   4300     # versions had trouble with output in subdirs.
   4301     am__obj=sub/conftest.${OBJEXT-o}
   4302     am__minus_obj="-o $am__obj"
   4303     case $depmode in
   4304     gcc)
   4305       # This depmode causes a compiler race in universal mode.
   4306       test "$am__universal" = false || continue
   4307       ;;
   4308     nosideeffect)
   4309       # After this tag, mechanisms are not by side-effect, so they'll
   4310       # only be used when explicitly requested.
   4311       if test "x$enable_dependency_tracking" = xyes; then
   4312 	continue
   4313       else
   4314 	break
   4315       fi
   4316       ;;
   4317     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4318       # This compiler won't grok '-c -o', but also, the minuso test has
   4319       # not run yet.  These depmodes are late enough in the game, and
   4320       # so weak that their functioning should not be impacted.
   4321       am__obj=conftest.${OBJEXT-o}
   4322       am__minus_obj=
   4323       ;;
   4324     none) break ;;
   4325     esac
   4326     if depmode=$depmode \
   4327        source=sub/conftest.c object=$am__obj \
   4328        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4329        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4330          >/dev/null 2>conftest.err &&
   4331        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4332        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4333        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4334        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4335       # icc doesn't choke on unknown options, it will just issue warnings
   4336       # or remarks (even with -Werror).  So we grep stderr for any message
   4337       # that says an option was ignored or not supported.
   4338       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4339       #   icc: Command line warning: ignoring option '-M'; no argument required
   4340       # The diagnosis changed in icc 8.0:
   4341       #   icc: Command line remark: option '-MP' not supported
   4342       if (grep 'ignoring option' conftest.err ||
   4343           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4344         am_cv_CC_dependencies_compiler_type=$depmode
   4345         break
   4346       fi
   4347     fi
   4348   done
   4349 
   4350   cd ..
   4351   rm -rf conftest.dir
   4352 else
   4353   am_cv_CC_dependencies_compiler_type=none
   4354 fi
   4355 
   4356 fi
   4357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4358 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4359 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4360 
   4361  if
   4362   test "x$enable_dependency_tracking" != xno \
   4363   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4364   am__fastdepCC_TRUE=
   4365   am__fastdepCC_FALSE='#'
   4366 else
   4367   am__fastdepCC_TRUE='#'
   4368   am__fastdepCC_FALSE=
   4369 fi
   4370 
   4371 
   4372 
   4373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4374 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4375 if test ${ac_cv_c_undeclared_builtin_options+y}
   4376 then :
   4377   printf %s "(cached) " >&6
   4378 else $as_nop
   4379   ac_save_CFLAGS=$CFLAGS
   4380    ac_cv_c_undeclared_builtin_options='cannot detect'
   4381    for ac_arg in '' -fno-builtin; do
   4382      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4383      # This test program should *not* compile successfully.
   4384      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4385 /* end confdefs.h.  */
   4386 
   4387 int
   4388 main (void)
   4389 {
   4390 (void) strchr;
   4391   ;
   4392   return 0;
   4393 }
   4394 _ACEOF
   4395 if ac_fn_c_try_compile "$LINENO"
   4396 then :
   4397 
   4398 else $as_nop
   4399   # This test program should compile successfully.
   4400         # No library function is consistently available on
   4401         # freestanding implementations, so test against a dummy
   4402         # declaration.  Include always-available headers on the
   4403         # off chance that they somehow elicit warnings.
   4404         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4405 /* end confdefs.h.  */
   4406 #include <float.h>
   4407 #include <limits.h>
   4408 #include <stdarg.h>
   4409 #include <stddef.h>
   4410 extern void ac_decl (int, char *);
   4411 
   4412 int
   4413 main (void)
   4414 {
   4415 (void) ac_decl (0, (char *) 0);
   4416   (void) ac_decl;
   4417 
   4418   ;
   4419   return 0;
   4420 }
   4421 _ACEOF
   4422 if ac_fn_c_try_compile "$LINENO"
   4423 then :
   4424   if test x"$ac_arg" = x
   4425 then :
   4426   ac_cv_c_undeclared_builtin_options='none needed'
   4427 else $as_nop
   4428   ac_cv_c_undeclared_builtin_options=$ac_arg
   4429 fi
   4430           break
   4431 fi
   4432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4433 fi
   4434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4435     done
   4436     CFLAGS=$ac_save_CFLAGS
   4437 
   4438 fi
   4439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4440 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4441   case $ac_cv_c_undeclared_builtin_options in #(
   4442   'cannot detect') :
   4443     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4444 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4445 as_fn_error $? "cannot make $CC report undeclared builtins
   4446 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4447   'none needed') :
   4448     ac_c_undeclared_builtin_options='' ;; #(
   4449   *) :
   4450     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4451 esac
   4452 
   4453 ac_header= ac_cache=
   4454 for ac_item in $ac_header_c_list
   4455 do
   4456   if test $ac_cache; then
   4457     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4458     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4459       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4460     fi
   4461     ac_header= ac_cache=
   4462   elif test $ac_header; then
   4463     ac_cache=$ac_item
   4464   else
   4465     ac_header=$ac_item
   4466   fi
   4467 done
   4468 
   4469 
   4470 
   4471 
   4472 
   4473 
   4474 
   4475 
   4476 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4477 then :
   4478 
   4479 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4480 
   4481 fi
   4482 
   4483 
   4484 
   4485 
   4486 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4487 if test "x$ac_cv_have_decl___clang__" = xyes
   4488 then :
   4489   CLANGCC="yes"
   4490 else $as_nop
   4491   CLANGCC="no"
   4492 fi
   4493 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4494 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4495 then :
   4496   INTELCC="yes"
   4497 else $as_nop
   4498   INTELCC="no"
   4499 fi
   4500 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4501 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4502 then :
   4503   SUNCC="yes"
   4504 else $as_nop
   4505   SUNCC="no"
   4506 fi
   4507 
   4508 
   4509 
   4510 
   4511 
   4512 
   4513 
   4514 
   4515 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4516 	if test -n "$ac_tool_prefix"; then
   4517   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4518 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4520 printf %s "checking for $ac_word... " >&6; }
   4521 if test ${ac_cv_path_PKG_CONFIG+y}
   4522 then :
   4523   printf %s "(cached) " >&6
   4524 else $as_nop
   4525   case $PKG_CONFIG in
   4526   [\\/]* | ?:[\\/]*)
   4527   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4528   ;;
   4529   *)
   4530   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4531 for as_dir in $PATH
   4532 do
   4533   IFS=$as_save_IFS
   4534   case $as_dir in #(((
   4535     '') as_dir=./ ;;
   4536     */) ;;
   4537     *) as_dir=$as_dir/ ;;
   4538   esac
   4539     for ac_exec_ext in '' $ac_executable_extensions; do
   4540   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4541     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4542     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4543     break 2
   4544   fi
   4545 done
   4546   done
   4547 IFS=$as_save_IFS
   4548 
   4549   ;;
   4550 esac
   4551 fi
   4552 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4553 if test -n "$PKG_CONFIG"; then
   4554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4555 printf "%s\n" "$PKG_CONFIG" >&6; }
   4556 else
   4557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4558 printf "%s\n" "no" >&6; }
   4559 fi
   4560 
   4561 
   4562 fi
   4563 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4564   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4565   # Extract the first word of "pkg-config", so it can be a program name with args.
   4566 set dummy pkg-config; ac_word=$2
   4567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4568 printf %s "checking for $ac_word... " >&6; }
   4569 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4570 then :
   4571   printf %s "(cached) " >&6
   4572 else $as_nop
   4573   case $ac_pt_PKG_CONFIG in
   4574   [\\/]* | ?:[\\/]*)
   4575   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4576   ;;
   4577   *)
   4578   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4579 for as_dir in $PATH
   4580 do
   4581   IFS=$as_save_IFS
   4582   case $as_dir in #(((
   4583     '') as_dir=./ ;;
   4584     */) ;;
   4585     *) as_dir=$as_dir/ ;;
   4586   esac
   4587     for ac_exec_ext in '' $ac_executable_extensions; do
   4588   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4589     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4590     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4591     break 2
   4592   fi
   4593 done
   4594   done
   4595 IFS=$as_save_IFS
   4596 
   4597   ;;
   4598 esac
   4599 fi
   4600 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4601 if test -n "$ac_pt_PKG_CONFIG"; then
   4602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4603 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4604 else
   4605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4606 printf "%s\n" "no" >&6; }
   4607 fi
   4608 
   4609   if test "x$ac_pt_PKG_CONFIG" = x; then
   4610     PKG_CONFIG=""
   4611   else
   4612     case $cross_compiling:$ac_tool_warned in
   4613 yes:)
   4614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4615 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4616 ac_tool_warned=yes ;;
   4617 esac
   4618     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4619   fi
   4620 else
   4621   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4622 fi
   4623 
   4624 fi
   4625 if test -n "$PKG_CONFIG"; then
   4626 	_pkg_min_version=0.9.0
   4627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4628 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4629 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4630 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4631 printf "%s\n" "yes" >&6; }
   4632 	else
   4633 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4634 printf "%s\n" "no" >&6; }
   4635 		PKG_CONFIG=""
   4636 	fi
   4637 fi
   4638 
   4639 
   4640   # Make sure we can run config.sub.
   4641 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4642   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4643 
   4644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4645 printf %s "checking build system type... " >&6; }
   4646 if test ${ac_cv_build+y}
   4647 then :
   4648   printf %s "(cached) " >&6
   4649 else $as_nop
   4650   ac_build_alias=$build_alias
   4651 test "x$ac_build_alias" = x &&
   4652   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4653 test "x$ac_build_alias" = x &&
   4654   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4655 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4656   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4657 
   4658 fi
   4659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4660 printf "%s\n" "$ac_cv_build" >&6; }
   4661 case $ac_cv_build in
   4662 *-*-*) ;;
   4663 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4664 esac
   4665 build=$ac_cv_build
   4666 ac_save_IFS=$IFS; IFS='-'
   4667 set x $ac_cv_build
   4668 shift
   4669 build_cpu=$1
   4670 build_vendor=$2
   4671 shift; shift
   4672 # Remember, the first character of IFS is used to create $*,
   4673 # except with old shells:
   4674 build_os=$*
   4675 IFS=$ac_save_IFS
   4676 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4677 
   4678 
   4679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4680 printf %s "checking host system type... " >&6; }
   4681 if test ${ac_cv_host+y}
   4682 then :
   4683   printf %s "(cached) " >&6
   4684 else $as_nop
   4685   if test "x$host_alias" = x; then
   4686   ac_cv_host=$ac_cv_build
   4687 else
   4688   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4689     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4690 fi
   4691 
   4692 fi
   4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4694 printf "%s\n" "$ac_cv_host" >&6; }
   4695 case $ac_cv_host in
   4696 *-*-*) ;;
   4697 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4698 esac
   4699 host=$ac_cv_host
   4700 ac_save_IFS=$IFS; IFS='-'
   4701 set x $ac_cv_host
   4702 shift
   4703 host_cpu=$1
   4704 host_vendor=$2
   4705 shift; shift
   4706 # Remember, the first character of IFS is used to create $*,
   4707 # except with old shells:
   4708 host_os=$*
   4709 IFS=$ac_save_IFS
   4710 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4711 
   4712 
   4713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4714 printf %s "checking for a sed that does not truncate output... " >&6; }
   4715 if test ${ac_cv_path_SED+y}
   4716 then :
   4717   printf %s "(cached) " >&6
   4718 else $as_nop
   4719             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4720      for ac_i in 1 2 3 4 5 6 7; do
   4721        ac_script="$ac_script$as_nl$ac_script"
   4722      done
   4723      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4724      { ac_script=; unset ac_script;}
   4725      if test -z "$SED"; then
   4726   ac_path_SED_found=false
   4727   # Loop through the user's path and test for each of PROGNAME-LIST
   4728   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4729 for as_dir in $PATH
   4730 do
   4731   IFS=$as_save_IFS
   4732   case $as_dir in #(((
   4733     '') as_dir=./ ;;
   4734     */) ;;
   4735     *) as_dir=$as_dir/ ;;
   4736   esac
   4737     for ac_prog in sed gsed
   4738    do
   4739     for ac_exec_ext in '' $ac_executable_extensions; do
   4740       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4741       as_fn_executable_p "$ac_path_SED" || continue
   4742 # Check for GNU ac_path_SED and select it if it is found.
   4743   # Check for GNU $ac_path_SED
   4744 case `"$ac_path_SED" --version 2>&1` in
   4745 *GNU*)
   4746   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4747 *)
   4748   ac_count=0
   4749   printf %s 0123456789 >"conftest.in"
   4750   while :
   4751   do
   4752     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4753     mv "conftest.tmp" "conftest.in"
   4754     cp "conftest.in" "conftest.nl"
   4755     printf "%s\n" '' >> "conftest.nl"
   4756     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4757     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4758     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4759     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4760       # Best one so far, save it but keep looking for a better one
   4761       ac_cv_path_SED="$ac_path_SED"
   4762       ac_path_SED_max=$ac_count
   4763     fi
   4764     # 10*(2^10) chars as input seems more than enough
   4765     test $ac_count -gt 10 && break
   4766   done
   4767   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4768 esac
   4769 
   4770       $ac_path_SED_found && break 3
   4771     done
   4772   done
   4773   done
   4774 IFS=$as_save_IFS
   4775   if test -z "$ac_cv_path_SED"; then
   4776     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4777   fi
   4778 else
   4779   ac_cv_path_SED=$SED
   4780 fi
   4781 
   4782 fi
   4783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4784 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4785  SED="$ac_cv_path_SED"
   4786   rm -f conftest.sed
   4787 
   4788 
   4789 
   4790 
   4791 
   4792 
   4793 # Check whether --enable-selective-werror was given.
   4794 if test ${enable_selective_werror+y}
   4795 then :
   4796   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4797 else $as_nop
   4798   SELECTIVE_WERROR=yes
   4799 fi
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4806 if test "x$SUNCC" = "xyes"; then
   4807     BASE_CFLAGS="-v"
   4808 else
   4809     BASE_CFLAGS=""
   4810 fi
   4811 
   4812 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 
   4823 
   4824 
   4825 
   4826 xorg_testset_save_CFLAGS="$CFLAGS"
   4827 
   4828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4831 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4832 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4833 then :
   4834   printf %s "(cached) " >&6
   4835 else $as_nop
   4836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4837 /* end confdefs.h.  */
   4838 int i;
   4839 _ACEOF
   4840 if ac_fn_c_try_compile "$LINENO"
   4841 then :
   4842   xorg_cv_cc_flag_unknown_warning_option=yes
   4843 else $as_nop
   4844   xorg_cv_cc_flag_unknown_warning_option=no
   4845 fi
   4846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4847 fi
   4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4849 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4850 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4851 	CFLAGS="$xorg_testset_save_CFLAGS"
   4852 fi
   4853 
   4854 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4855 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4856 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4857 	fi
   4858 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4859 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4860 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4861 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4862 then :
   4863   printf %s "(cached) " >&6
   4864 else $as_nop
   4865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4866 /* end confdefs.h.  */
   4867 int i;
   4868 _ACEOF
   4869 if ac_fn_c_try_compile "$LINENO"
   4870 then :
   4871   xorg_cv_cc_flag_unused_command_line_argument=yes
   4872 else $as_nop
   4873   xorg_cv_cc_flag_unused_command_line_argument=no
   4874 fi
   4875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4876 fi
   4877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4878 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4880 	CFLAGS="$xorg_testset_save_CFLAGS"
   4881 fi
   4882 
   4883 found="no"
   4884 
   4885 	if test $found = "no" ; then
   4886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4888 		fi
   4889 
   4890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4892 		fi
   4893 
   4894 		CFLAGS="$CFLAGS -Wall"
   4895 
   4896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4897 printf %s "checking if $CC supports -Wall... " >&6; }
   4898 		cacheid=xorg_cv_cc_flag__Wall
   4899 		if eval test \${$cacheid+y}
   4900 then :
   4901   printf %s "(cached) " >&6
   4902 else $as_nop
   4903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4904 /* end confdefs.h.  */
   4905 int i;
   4906 int
   4907 main (void)
   4908 {
   4909 
   4910   ;
   4911   return 0;
   4912 }
   4913 _ACEOF
   4914 if ac_fn_c_try_link "$LINENO"
   4915 then :
   4916   eval $cacheid=yes
   4917 else $as_nop
   4918   eval $cacheid=no
   4919 fi
   4920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4921     conftest$ac_exeext conftest.$ac_ext
   4922 fi
   4923 
   4924 
   4925 		CFLAGS="$xorg_testset_save_CFLAGS"
   4926 
   4927 		eval supported=\$$cacheid
   4928 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4929 printf "%s\n" "$supported" >&6; }
   4930 		if test "$supported" = "yes" ; then
   4931 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4932 			found="yes"
   4933 		fi
   4934 	fi
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 
   4947 
   4948 
   4949 
   4950 xorg_testset_save_CFLAGS="$CFLAGS"
   4951 
   4952 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4953 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4954 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4955 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4956 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4957 then :
   4958   printf %s "(cached) " >&6
   4959 else $as_nop
   4960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4961 /* end confdefs.h.  */
   4962 int i;
   4963 _ACEOF
   4964 if ac_fn_c_try_compile "$LINENO"
   4965 then :
   4966   xorg_cv_cc_flag_unknown_warning_option=yes
   4967 else $as_nop
   4968   xorg_cv_cc_flag_unknown_warning_option=no
   4969 fi
   4970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4971 fi
   4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4973 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4974 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4975 	CFLAGS="$xorg_testset_save_CFLAGS"
   4976 fi
   4977 
   4978 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4979 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4981 	fi
   4982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4983 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4984 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4985 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4986 then :
   4987   printf %s "(cached) " >&6
   4988 else $as_nop
   4989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4990 /* end confdefs.h.  */
   4991 int i;
   4992 _ACEOF
   4993 if ac_fn_c_try_compile "$LINENO"
   4994 then :
   4995   xorg_cv_cc_flag_unused_command_line_argument=yes
   4996 else $as_nop
   4997   xorg_cv_cc_flag_unused_command_line_argument=no
   4998 fi
   4999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5000 fi
   5001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5002 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5003 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5004 	CFLAGS="$xorg_testset_save_CFLAGS"
   5005 fi
   5006 
   5007 found="no"
   5008 
   5009 	if test $found = "no" ; then
   5010 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5011 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5012 		fi
   5013 
   5014 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5015 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5016 		fi
   5017 
   5018 		CFLAGS="$CFLAGS -Wpointer-arith"
   5019 
   5020 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5021 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5022 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5023 		if eval test \${$cacheid+y}
   5024 then :
   5025   printf %s "(cached) " >&6
   5026 else $as_nop
   5027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5028 /* end confdefs.h.  */
   5029 int i;
   5030 int
   5031 main (void)
   5032 {
   5033 
   5034   ;
   5035   return 0;
   5036 }
   5037 _ACEOF
   5038 if ac_fn_c_try_link "$LINENO"
   5039 then :
   5040   eval $cacheid=yes
   5041 else $as_nop
   5042   eval $cacheid=no
   5043 fi
   5044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5045     conftest$ac_exeext conftest.$ac_ext
   5046 fi
   5047 
   5048 
   5049 		CFLAGS="$xorg_testset_save_CFLAGS"
   5050 
   5051 		eval supported=\$$cacheid
   5052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5053 printf "%s\n" "$supported" >&6; }
   5054 		if test "$supported" = "yes" ; then
   5055 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5056 			found="yes"
   5057 		fi
   5058 	fi
   5059 
   5060 
   5061 
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 xorg_testset_save_CFLAGS="$CFLAGS"
   5075 
   5076 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5077 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5079 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5080 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5081 then :
   5082   printf %s "(cached) " >&6
   5083 else $as_nop
   5084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5085 /* end confdefs.h.  */
   5086 int i;
   5087 _ACEOF
   5088 if ac_fn_c_try_compile "$LINENO"
   5089 then :
   5090   xorg_cv_cc_flag_unknown_warning_option=yes
   5091 else $as_nop
   5092   xorg_cv_cc_flag_unknown_warning_option=no
   5093 fi
   5094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5095 fi
   5096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5097 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5098 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5099 	CFLAGS="$xorg_testset_save_CFLAGS"
   5100 fi
   5101 
   5102 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5103 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5104 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5105 	fi
   5106 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5107 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5108 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5109 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5110 then :
   5111   printf %s "(cached) " >&6
   5112 else $as_nop
   5113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5114 /* end confdefs.h.  */
   5115 int i;
   5116 _ACEOF
   5117 if ac_fn_c_try_compile "$LINENO"
   5118 then :
   5119   xorg_cv_cc_flag_unused_command_line_argument=yes
   5120 else $as_nop
   5121   xorg_cv_cc_flag_unused_command_line_argument=no
   5122 fi
   5123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5124 fi
   5125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5126 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5127 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5128 	CFLAGS="$xorg_testset_save_CFLAGS"
   5129 fi
   5130 
   5131 found="no"
   5132 
   5133 	if test $found = "no" ; then
   5134 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5135 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5136 		fi
   5137 
   5138 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5139 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5140 		fi
   5141 
   5142 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5143 
   5144 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5145 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5146 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5147 		if eval test \${$cacheid+y}
   5148 then :
   5149   printf %s "(cached) " >&6
   5150 else $as_nop
   5151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5152 /* end confdefs.h.  */
   5153 int i;
   5154 int
   5155 main (void)
   5156 {
   5157 
   5158   ;
   5159   return 0;
   5160 }
   5161 _ACEOF
   5162 if ac_fn_c_try_link "$LINENO"
   5163 then :
   5164   eval $cacheid=yes
   5165 else $as_nop
   5166   eval $cacheid=no
   5167 fi
   5168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5169     conftest$ac_exeext conftest.$ac_ext
   5170 fi
   5171 
   5172 
   5173 		CFLAGS="$xorg_testset_save_CFLAGS"
   5174 
   5175 		eval supported=\$$cacheid
   5176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5177 printf "%s\n" "$supported" >&6; }
   5178 		if test "$supported" = "yes" ; then
   5179 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5180 			found="yes"
   5181 		fi
   5182 	fi
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 xorg_testset_save_CFLAGS="$CFLAGS"
   5199 
   5200 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5201 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5202 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5203 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5204 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5205 then :
   5206   printf %s "(cached) " >&6
   5207 else $as_nop
   5208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5209 /* end confdefs.h.  */
   5210 int i;
   5211 _ACEOF
   5212 if ac_fn_c_try_compile "$LINENO"
   5213 then :
   5214   xorg_cv_cc_flag_unknown_warning_option=yes
   5215 else $as_nop
   5216   xorg_cv_cc_flag_unknown_warning_option=no
   5217 fi
   5218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5219 fi
   5220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5221 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5222 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5223 	CFLAGS="$xorg_testset_save_CFLAGS"
   5224 fi
   5225 
   5226 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5227 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5228 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5229 	fi
   5230 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5231 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5232 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5233 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5234 then :
   5235   printf %s "(cached) " >&6
   5236 else $as_nop
   5237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5238 /* end confdefs.h.  */
   5239 int i;
   5240 _ACEOF
   5241 if ac_fn_c_try_compile "$LINENO"
   5242 then :
   5243   xorg_cv_cc_flag_unused_command_line_argument=yes
   5244 else $as_nop
   5245   xorg_cv_cc_flag_unused_command_line_argument=no
   5246 fi
   5247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5248 fi
   5249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5250 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5251 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5252 	CFLAGS="$xorg_testset_save_CFLAGS"
   5253 fi
   5254 
   5255 found="no"
   5256 
   5257 	if test $found = "no" ; then
   5258 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5260 		fi
   5261 
   5262 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5264 		fi
   5265 
   5266 		CFLAGS="$CFLAGS -Wformat=2"
   5267 
   5268 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5269 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5270 		cacheid=xorg_cv_cc_flag__Wformat_2
   5271 		if eval test \${$cacheid+y}
   5272 then :
   5273   printf %s "(cached) " >&6
   5274 else $as_nop
   5275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5276 /* end confdefs.h.  */
   5277 int i;
   5278 int
   5279 main (void)
   5280 {
   5281 
   5282   ;
   5283   return 0;
   5284 }
   5285 _ACEOF
   5286 if ac_fn_c_try_link "$LINENO"
   5287 then :
   5288   eval $cacheid=yes
   5289 else $as_nop
   5290   eval $cacheid=no
   5291 fi
   5292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5293     conftest$ac_exeext conftest.$ac_ext
   5294 fi
   5295 
   5296 
   5297 		CFLAGS="$xorg_testset_save_CFLAGS"
   5298 
   5299 		eval supported=\$$cacheid
   5300 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5301 printf "%s\n" "$supported" >&6; }
   5302 		if test "$supported" = "yes" ; then
   5303 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5304 			found="yes"
   5305 		fi
   5306 	fi
   5307 
   5308 	if test $found = "no" ; then
   5309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5311 		fi
   5312 
   5313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5315 		fi
   5316 
   5317 		CFLAGS="$CFLAGS -Wformat"
   5318 
   5319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5320 printf %s "checking if $CC supports -Wformat... " >&6; }
   5321 		cacheid=xorg_cv_cc_flag__Wformat
   5322 		if eval test \${$cacheid+y}
   5323 then :
   5324   printf %s "(cached) " >&6
   5325 else $as_nop
   5326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5327 /* end confdefs.h.  */
   5328 int i;
   5329 int
   5330 main (void)
   5331 {
   5332 
   5333   ;
   5334   return 0;
   5335 }
   5336 _ACEOF
   5337 if ac_fn_c_try_link "$LINENO"
   5338 then :
   5339   eval $cacheid=yes
   5340 else $as_nop
   5341   eval $cacheid=no
   5342 fi
   5343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5344     conftest$ac_exeext conftest.$ac_ext
   5345 fi
   5346 
   5347 
   5348 		CFLAGS="$xorg_testset_save_CFLAGS"
   5349 
   5350 		eval supported=\$$cacheid
   5351 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5352 printf "%s\n" "$supported" >&6; }
   5353 		if test "$supported" = "yes" ; then
   5354 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5355 			found="yes"
   5356 		fi
   5357 	fi
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 xorg_testset_save_CFLAGS="$CFLAGS"
   5376 
   5377 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5378 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5379 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5380 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5381 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5382 then :
   5383   printf %s "(cached) " >&6
   5384 else $as_nop
   5385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5386 /* end confdefs.h.  */
   5387 int i;
   5388 _ACEOF
   5389 if ac_fn_c_try_compile "$LINENO"
   5390 then :
   5391   xorg_cv_cc_flag_unknown_warning_option=yes
   5392 else $as_nop
   5393   xorg_cv_cc_flag_unknown_warning_option=no
   5394 fi
   5395 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5396 fi
   5397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5398 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5399 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5400 	CFLAGS="$xorg_testset_save_CFLAGS"
   5401 fi
   5402 
   5403 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5404 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5405 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5406 	fi
   5407 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5408 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5409 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5410 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5411 then :
   5412   printf %s "(cached) " >&6
   5413 else $as_nop
   5414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5415 /* end confdefs.h.  */
   5416 int i;
   5417 _ACEOF
   5418 if ac_fn_c_try_compile "$LINENO"
   5419 then :
   5420   xorg_cv_cc_flag_unused_command_line_argument=yes
   5421 else $as_nop
   5422   xorg_cv_cc_flag_unused_command_line_argument=no
   5423 fi
   5424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5425 fi
   5426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5427 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5428 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5429 	CFLAGS="$xorg_testset_save_CFLAGS"
   5430 fi
   5431 
   5432 found="no"
   5433 
   5434 	if test $found = "no" ; then
   5435 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5436 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5437 		fi
   5438 
   5439 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5440 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5441 		fi
   5442 
   5443 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5444 
   5445 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5446 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5447 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5448 		if eval test \${$cacheid+y}
   5449 then :
   5450   printf %s "(cached) " >&6
   5451 else $as_nop
   5452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5453 /* end confdefs.h.  */
   5454 int i;
   5455 int
   5456 main (void)
   5457 {
   5458 
   5459   ;
   5460   return 0;
   5461 }
   5462 _ACEOF
   5463 if ac_fn_c_try_link "$LINENO"
   5464 then :
   5465   eval $cacheid=yes
   5466 else $as_nop
   5467   eval $cacheid=no
   5468 fi
   5469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5470     conftest$ac_exeext conftest.$ac_ext
   5471 fi
   5472 
   5473 
   5474 		CFLAGS="$xorg_testset_save_CFLAGS"
   5475 
   5476 		eval supported=\$$cacheid
   5477 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5478 printf "%s\n" "$supported" >&6; }
   5479 		if test "$supported" = "yes" ; then
   5480 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5481 			found="yes"
   5482 		fi
   5483 	fi
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 xorg_testset_save_CFLAGS="$CFLAGS"
   5500 
   5501 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5502 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5503 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5504 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5505 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5506 then :
   5507   printf %s "(cached) " >&6
   5508 else $as_nop
   5509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5510 /* end confdefs.h.  */
   5511 int i;
   5512 _ACEOF
   5513 if ac_fn_c_try_compile "$LINENO"
   5514 then :
   5515   xorg_cv_cc_flag_unknown_warning_option=yes
   5516 else $as_nop
   5517   xorg_cv_cc_flag_unknown_warning_option=no
   5518 fi
   5519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5520 fi
   5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5522 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5523 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5524 	CFLAGS="$xorg_testset_save_CFLAGS"
   5525 fi
   5526 
   5527 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5528 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5529 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5530 	fi
   5531 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5532 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5533 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5534 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5535 then :
   5536   printf %s "(cached) " >&6
   5537 else $as_nop
   5538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5539 /* end confdefs.h.  */
   5540 int i;
   5541 _ACEOF
   5542 if ac_fn_c_try_compile "$LINENO"
   5543 then :
   5544   xorg_cv_cc_flag_unused_command_line_argument=yes
   5545 else $as_nop
   5546   xorg_cv_cc_flag_unused_command_line_argument=no
   5547 fi
   5548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5549 fi
   5550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5551 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5552 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5553 	CFLAGS="$xorg_testset_save_CFLAGS"
   5554 fi
   5555 
   5556 found="no"
   5557 
   5558 	if test $found = "no" ; then
   5559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5561 		fi
   5562 
   5563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5565 		fi
   5566 
   5567 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5568 
   5569 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5570 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5571 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5572 		if eval test \${$cacheid+y}
   5573 then :
   5574   printf %s "(cached) " >&6
   5575 else $as_nop
   5576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5577 /* end confdefs.h.  */
   5578 int i;
   5579 int
   5580 main (void)
   5581 {
   5582 
   5583   ;
   5584   return 0;
   5585 }
   5586 _ACEOF
   5587 if ac_fn_c_try_link "$LINENO"
   5588 then :
   5589   eval $cacheid=yes
   5590 else $as_nop
   5591   eval $cacheid=no
   5592 fi
   5593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5594     conftest$ac_exeext conftest.$ac_ext
   5595 fi
   5596 
   5597 
   5598 		CFLAGS="$xorg_testset_save_CFLAGS"
   5599 
   5600 		eval supported=\$$cacheid
   5601 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5602 printf "%s\n" "$supported" >&6; }
   5603 		if test "$supported" = "yes" ; then
   5604 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5605 			found="yes"
   5606 		fi
   5607 	fi
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 xorg_testset_save_CFLAGS="$CFLAGS"
   5624 
   5625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5628 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5629 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5630 then :
   5631   printf %s "(cached) " >&6
   5632 else $as_nop
   5633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5634 /* end confdefs.h.  */
   5635 int i;
   5636 _ACEOF
   5637 if ac_fn_c_try_compile "$LINENO"
   5638 then :
   5639   xorg_cv_cc_flag_unknown_warning_option=yes
   5640 else $as_nop
   5641   xorg_cv_cc_flag_unknown_warning_option=no
   5642 fi
   5643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5644 fi
   5645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5646 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5647 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5648 	CFLAGS="$xorg_testset_save_CFLAGS"
   5649 fi
   5650 
   5651 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5652 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5653 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5654 	fi
   5655 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5656 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5657 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5658 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5659 then :
   5660   printf %s "(cached) " >&6
   5661 else $as_nop
   5662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5663 /* end confdefs.h.  */
   5664 int i;
   5665 _ACEOF
   5666 if ac_fn_c_try_compile "$LINENO"
   5667 then :
   5668   xorg_cv_cc_flag_unused_command_line_argument=yes
   5669 else $as_nop
   5670   xorg_cv_cc_flag_unused_command_line_argument=no
   5671 fi
   5672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5673 fi
   5674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5675 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5676 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5677 	CFLAGS="$xorg_testset_save_CFLAGS"
   5678 fi
   5679 
   5680 found="no"
   5681 
   5682 	if test $found = "no" ; then
   5683 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5684 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5685 		fi
   5686 
   5687 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5688 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5689 		fi
   5690 
   5691 		CFLAGS="$CFLAGS -Wnested-externs"
   5692 
   5693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5694 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5695 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5696 		if eval test \${$cacheid+y}
   5697 then :
   5698   printf %s "(cached) " >&6
   5699 else $as_nop
   5700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5701 /* end confdefs.h.  */
   5702 int i;
   5703 int
   5704 main (void)
   5705 {
   5706 
   5707   ;
   5708   return 0;
   5709 }
   5710 _ACEOF
   5711 if ac_fn_c_try_link "$LINENO"
   5712 then :
   5713   eval $cacheid=yes
   5714 else $as_nop
   5715   eval $cacheid=no
   5716 fi
   5717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5718     conftest$ac_exeext conftest.$ac_ext
   5719 fi
   5720 
   5721 
   5722 		CFLAGS="$xorg_testset_save_CFLAGS"
   5723 
   5724 		eval supported=\$$cacheid
   5725 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5726 printf "%s\n" "$supported" >&6; }
   5727 		if test "$supported" = "yes" ; then
   5728 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5729 			found="yes"
   5730 		fi
   5731 	fi
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 xorg_testset_save_CFLAGS="$CFLAGS"
   5748 
   5749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5751 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5752 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5753 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5754 then :
   5755   printf %s "(cached) " >&6
   5756 else $as_nop
   5757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5758 /* end confdefs.h.  */
   5759 int i;
   5760 _ACEOF
   5761 if ac_fn_c_try_compile "$LINENO"
   5762 then :
   5763   xorg_cv_cc_flag_unknown_warning_option=yes
   5764 else $as_nop
   5765   xorg_cv_cc_flag_unknown_warning_option=no
   5766 fi
   5767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5768 fi
   5769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5770 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5771 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5772 	CFLAGS="$xorg_testset_save_CFLAGS"
   5773 fi
   5774 
   5775 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5776 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5777 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5778 	fi
   5779 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5780 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5781 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5782 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5783 then :
   5784   printf %s "(cached) " >&6
   5785 else $as_nop
   5786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5787 /* end confdefs.h.  */
   5788 int i;
   5789 _ACEOF
   5790 if ac_fn_c_try_compile "$LINENO"
   5791 then :
   5792   xorg_cv_cc_flag_unused_command_line_argument=yes
   5793 else $as_nop
   5794   xorg_cv_cc_flag_unused_command_line_argument=no
   5795 fi
   5796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5797 fi
   5798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5799 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5801 	CFLAGS="$xorg_testset_save_CFLAGS"
   5802 fi
   5803 
   5804 found="no"
   5805 
   5806 	if test $found = "no" ; then
   5807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5809 		fi
   5810 
   5811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5813 		fi
   5814 
   5815 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5816 
   5817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5818 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5819 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5820 		if eval test \${$cacheid+y}
   5821 then :
   5822   printf %s "(cached) " >&6
   5823 else $as_nop
   5824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5825 /* end confdefs.h.  */
   5826 int i;
   5827 int
   5828 main (void)
   5829 {
   5830 
   5831   ;
   5832   return 0;
   5833 }
   5834 _ACEOF
   5835 if ac_fn_c_try_link "$LINENO"
   5836 then :
   5837   eval $cacheid=yes
   5838 else $as_nop
   5839   eval $cacheid=no
   5840 fi
   5841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5842     conftest$ac_exeext conftest.$ac_ext
   5843 fi
   5844 
   5845 
   5846 		CFLAGS="$xorg_testset_save_CFLAGS"
   5847 
   5848 		eval supported=\$$cacheid
   5849 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5850 printf "%s\n" "$supported" >&6; }
   5851 		if test "$supported" = "yes" ; then
   5852 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5853 			found="yes"
   5854 		fi
   5855 	fi
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 xorg_testset_save_CFLAGS="$CFLAGS"
   5872 
   5873 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5875 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5876 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5877 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5878 then :
   5879   printf %s "(cached) " >&6
   5880 else $as_nop
   5881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5882 /* end confdefs.h.  */
   5883 int i;
   5884 _ACEOF
   5885 if ac_fn_c_try_compile "$LINENO"
   5886 then :
   5887   xorg_cv_cc_flag_unknown_warning_option=yes
   5888 else $as_nop
   5889   xorg_cv_cc_flag_unknown_warning_option=no
   5890 fi
   5891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5892 fi
   5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5894 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5896 	CFLAGS="$xorg_testset_save_CFLAGS"
   5897 fi
   5898 
   5899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5902 	fi
   5903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5904 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5905 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5906 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5907 then :
   5908   printf %s "(cached) " >&6
   5909 else $as_nop
   5910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5911 /* end confdefs.h.  */
   5912 int i;
   5913 _ACEOF
   5914 if ac_fn_c_try_compile "$LINENO"
   5915 then :
   5916   xorg_cv_cc_flag_unused_command_line_argument=yes
   5917 else $as_nop
   5918   xorg_cv_cc_flag_unused_command_line_argument=no
   5919 fi
   5920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5921 fi
   5922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5923 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5924 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5925 	CFLAGS="$xorg_testset_save_CFLAGS"
   5926 fi
   5927 
   5928 found="no"
   5929 
   5930 	if test $found = "no" ; then
   5931 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5932 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5933 		fi
   5934 
   5935 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5936 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5937 		fi
   5938 
   5939 		CFLAGS="$CFLAGS -Wold-style-definition"
   5940 
   5941 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5942 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   5943 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5944 		if eval test \${$cacheid+y}
   5945 then :
   5946   printf %s "(cached) " >&6
   5947 else $as_nop
   5948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5949 /* end confdefs.h.  */
   5950 int i;
   5951 int
   5952 main (void)
   5953 {
   5954 
   5955   ;
   5956   return 0;
   5957 }
   5958 _ACEOF
   5959 if ac_fn_c_try_link "$LINENO"
   5960 then :
   5961   eval $cacheid=yes
   5962 else $as_nop
   5963   eval $cacheid=no
   5964 fi
   5965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5966     conftest$ac_exeext conftest.$ac_ext
   5967 fi
   5968 
   5969 
   5970 		CFLAGS="$xorg_testset_save_CFLAGS"
   5971 
   5972 		eval supported=\$$cacheid
   5973 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5974 printf "%s\n" "$supported" >&6; }
   5975 		if test "$supported" = "yes" ; then
   5976 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5977 			found="yes"
   5978 		fi
   5979 	fi
   5980 
   5981 	if test $found = "no" ; then
   5982 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5983 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5984 		fi
   5985 
   5986 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5987 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5988 		fi
   5989 
   5990 		CFLAGS="$CFLAGS -fd"
   5991 
   5992 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5993 printf %s "checking if $CC supports -fd... " >&6; }
   5994 		cacheid=xorg_cv_cc_flag__fd
   5995 		if eval test \${$cacheid+y}
   5996 then :
   5997   printf %s "(cached) " >&6
   5998 else $as_nop
   5999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6000 /* end confdefs.h.  */
   6001 int i;
   6002 int
   6003 main (void)
   6004 {
   6005 
   6006   ;
   6007   return 0;
   6008 }
   6009 _ACEOF
   6010 if ac_fn_c_try_link "$LINENO"
   6011 then :
   6012   eval $cacheid=yes
   6013 else $as_nop
   6014   eval $cacheid=no
   6015 fi
   6016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6017     conftest$ac_exeext conftest.$ac_ext
   6018 fi
   6019 
   6020 
   6021 		CFLAGS="$xorg_testset_save_CFLAGS"
   6022 
   6023 		eval supported=\$$cacheid
   6024 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6025 printf "%s\n" "$supported" >&6; }
   6026 		if test "$supported" = "yes" ; then
   6027 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6028 			found="yes"
   6029 		fi
   6030 	fi
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 xorg_testset_save_CFLAGS="$CFLAGS"
   6047 
   6048 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6049 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6050 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6051 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6052 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6053 then :
   6054   printf %s "(cached) " >&6
   6055 else $as_nop
   6056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6057 /* end confdefs.h.  */
   6058 int i;
   6059 _ACEOF
   6060 if ac_fn_c_try_compile "$LINENO"
   6061 then :
   6062   xorg_cv_cc_flag_unknown_warning_option=yes
   6063 else $as_nop
   6064   xorg_cv_cc_flag_unknown_warning_option=no
   6065 fi
   6066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6067 fi
   6068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6069 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6071 	CFLAGS="$xorg_testset_save_CFLAGS"
   6072 fi
   6073 
   6074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6077 	fi
   6078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6079 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6080 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6081 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6082 then :
   6083   printf %s "(cached) " >&6
   6084 else $as_nop
   6085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6086 /* end confdefs.h.  */
   6087 int i;
   6088 _ACEOF
   6089 if ac_fn_c_try_compile "$LINENO"
   6090 then :
   6091   xorg_cv_cc_flag_unused_command_line_argument=yes
   6092 else $as_nop
   6093   xorg_cv_cc_flag_unused_command_line_argument=no
   6094 fi
   6095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6096 fi
   6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6098 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6099 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6100 	CFLAGS="$xorg_testset_save_CFLAGS"
   6101 fi
   6102 
   6103 found="no"
   6104 
   6105 	if test $found = "no" ; then
   6106 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6108 		fi
   6109 
   6110 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6112 		fi
   6113 
   6114 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6115 
   6116 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6117 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6118 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6119 		if eval test \${$cacheid+y}
   6120 then :
   6121   printf %s "(cached) " >&6
   6122 else $as_nop
   6123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6124 /* end confdefs.h.  */
   6125 int i;
   6126 int
   6127 main (void)
   6128 {
   6129 
   6130   ;
   6131   return 0;
   6132 }
   6133 _ACEOF
   6134 if ac_fn_c_try_link "$LINENO"
   6135 then :
   6136   eval $cacheid=yes
   6137 else $as_nop
   6138   eval $cacheid=no
   6139 fi
   6140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6141     conftest$ac_exeext conftest.$ac_ext
   6142 fi
   6143 
   6144 
   6145 		CFLAGS="$xorg_testset_save_CFLAGS"
   6146 
   6147 		eval supported=\$$cacheid
   6148 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6149 printf "%s\n" "$supported" >&6; }
   6150 		if test "$supported" = "yes" ; then
   6151 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6152 			found="yes"
   6153 		fi
   6154 	fi
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 # This chunk adds additional warnings that could catch undesired effects.
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 xorg_testset_save_CFLAGS="$CFLAGS"
   6175 
   6176 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6177 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6179 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6180 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6181 then :
   6182   printf %s "(cached) " >&6
   6183 else $as_nop
   6184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6185 /* end confdefs.h.  */
   6186 int i;
   6187 _ACEOF
   6188 if ac_fn_c_try_compile "$LINENO"
   6189 then :
   6190   xorg_cv_cc_flag_unknown_warning_option=yes
   6191 else $as_nop
   6192   xorg_cv_cc_flag_unknown_warning_option=no
   6193 fi
   6194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6195 fi
   6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6197 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6198 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6199 	CFLAGS="$xorg_testset_save_CFLAGS"
   6200 fi
   6201 
   6202 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6203 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6204 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6205 	fi
   6206 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6207 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6208 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6209 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6210 then :
   6211   printf %s "(cached) " >&6
   6212 else $as_nop
   6213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6214 /* end confdefs.h.  */
   6215 int i;
   6216 _ACEOF
   6217 if ac_fn_c_try_compile "$LINENO"
   6218 then :
   6219   xorg_cv_cc_flag_unused_command_line_argument=yes
   6220 else $as_nop
   6221   xorg_cv_cc_flag_unused_command_line_argument=no
   6222 fi
   6223 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6224 fi
   6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6226 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6227 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6228 	CFLAGS="$xorg_testset_save_CFLAGS"
   6229 fi
   6230 
   6231 found="no"
   6232 
   6233 	if test $found = "no" ; then
   6234 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6235 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6236 		fi
   6237 
   6238 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6239 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6240 		fi
   6241 
   6242 		CFLAGS="$CFLAGS -Wunused"
   6243 
   6244 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6245 printf %s "checking if $CC supports -Wunused... " >&6; }
   6246 		cacheid=xorg_cv_cc_flag__Wunused
   6247 		if eval test \${$cacheid+y}
   6248 then :
   6249   printf %s "(cached) " >&6
   6250 else $as_nop
   6251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6252 /* end confdefs.h.  */
   6253 int i;
   6254 int
   6255 main (void)
   6256 {
   6257 
   6258   ;
   6259   return 0;
   6260 }
   6261 _ACEOF
   6262 if ac_fn_c_try_link "$LINENO"
   6263 then :
   6264   eval $cacheid=yes
   6265 else $as_nop
   6266   eval $cacheid=no
   6267 fi
   6268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6269     conftest$ac_exeext conftest.$ac_ext
   6270 fi
   6271 
   6272 
   6273 		CFLAGS="$xorg_testset_save_CFLAGS"
   6274 
   6275 		eval supported=\$$cacheid
   6276 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6277 printf "%s\n" "$supported" >&6; }
   6278 		if test "$supported" = "yes" ; then
   6279 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6280 			found="yes"
   6281 		fi
   6282 	fi
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 xorg_testset_save_CFLAGS="$CFLAGS"
   6299 
   6300 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6301 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6302 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6303 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6304 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6305 then :
   6306   printf %s "(cached) " >&6
   6307 else $as_nop
   6308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6309 /* end confdefs.h.  */
   6310 int i;
   6311 _ACEOF
   6312 if ac_fn_c_try_compile "$LINENO"
   6313 then :
   6314   xorg_cv_cc_flag_unknown_warning_option=yes
   6315 else $as_nop
   6316   xorg_cv_cc_flag_unknown_warning_option=no
   6317 fi
   6318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6319 fi
   6320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6321 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6322 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6323 	CFLAGS="$xorg_testset_save_CFLAGS"
   6324 fi
   6325 
   6326 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6327 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6328 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6329 	fi
   6330 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6331 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6332 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6333 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6334 then :
   6335   printf %s "(cached) " >&6
   6336 else $as_nop
   6337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6338 /* end confdefs.h.  */
   6339 int i;
   6340 _ACEOF
   6341 if ac_fn_c_try_compile "$LINENO"
   6342 then :
   6343   xorg_cv_cc_flag_unused_command_line_argument=yes
   6344 else $as_nop
   6345   xorg_cv_cc_flag_unused_command_line_argument=no
   6346 fi
   6347 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6348 fi
   6349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6350 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6351 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6352 	CFLAGS="$xorg_testset_save_CFLAGS"
   6353 fi
   6354 
   6355 found="no"
   6356 
   6357 	if test $found = "no" ; then
   6358 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6360 		fi
   6361 
   6362 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6364 		fi
   6365 
   6366 		CFLAGS="$CFLAGS -Wuninitialized"
   6367 
   6368 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6369 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6370 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6371 		if eval test \${$cacheid+y}
   6372 then :
   6373   printf %s "(cached) " >&6
   6374 else $as_nop
   6375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6376 /* end confdefs.h.  */
   6377 int i;
   6378 int
   6379 main (void)
   6380 {
   6381 
   6382   ;
   6383   return 0;
   6384 }
   6385 _ACEOF
   6386 if ac_fn_c_try_link "$LINENO"
   6387 then :
   6388   eval $cacheid=yes
   6389 else $as_nop
   6390   eval $cacheid=no
   6391 fi
   6392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6393     conftest$ac_exeext conftest.$ac_ext
   6394 fi
   6395 
   6396 
   6397 		CFLAGS="$xorg_testset_save_CFLAGS"
   6398 
   6399 		eval supported=\$$cacheid
   6400 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6401 printf "%s\n" "$supported" >&6; }
   6402 		if test "$supported" = "yes" ; then
   6403 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6404 			found="yes"
   6405 		fi
   6406 	fi
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 xorg_testset_save_CFLAGS="$CFLAGS"
   6423 
   6424 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6425 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6426 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6427 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6428 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6429 then :
   6430   printf %s "(cached) " >&6
   6431 else $as_nop
   6432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6433 /* end confdefs.h.  */
   6434 int i;
   6435 _ACEOF
   6436 if ac_fn_c_try_compile "$LINENO"
   6437 then :
   6438   xorg_cv_cc_flag_unknown_warning_option=yes
   6439 else $as_nop
   6440   xorg_cv_cc_flag_unknown_warning_option=no
   6441 fi
   6442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6443 fi
   6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6445 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6446 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6447 	CFLAGS="$xorg_testset_save_CFLAGS"
   6448 fi
   6449 
   6450 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6451 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6452 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6453 	fi
   6454 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6455 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6456 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6457 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6458 then :
   6459   printf %s "(cached) " >&6
   6460 else $as_nop
   6461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6462 /* end confdefs.h.  */
   6463 int i;
   6464 _ACEOF
   6465 if ac_fn_c_try_compile "$LINENO"
   6466 then :
   6467   xorg_cv_cc_flag_unused_command_line_argument=yes
   6468 else $as_nop
   6469   xorg_cv_cc_flag_unused_command_line_argument=no
   6470 fi
   6471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6472 fi
   6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6474 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6475 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6476 	CFLAGS="$xorg_testset_save_CFLAGS"
   6477 fi
   6478 
   6479 found="no"
   6480 
   6481 	if test $found = "no" ; then
   6482 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6483 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6484 		fi
   6485 
   6486 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6487 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6488 		fi
   6489 
   6490 		CFLAGS="$CFLAGS -Wshadow"
   6491 
   6492 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6493 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6494 		cacheid=xorg_cv_cc_flag__Wshadow
   6495 		if eval test \${$cacheid+y}
   6496 then :
   6497   printf %s "(cached) " >&6
   6498 else $as_nop
   6499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6500 /* end confdefs.h.  */
   6501 int i;
   6502 int
   6503 main (void)
   6504 {
   6505 
   6506   ;
   6507   return 0;
   6508 }
   6509 _ACEOF
   6510 if ac_fn_c_try_link "$LINENO"
   6511 then :
   6512   eval $cacheid=yes
   6513 else $as_nop
   6514   eval $cacheid=no
   6515 fi
   6516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6517     conftest$ac_exeext conftest.$ac_ext
   6518 fi
   6519 
   6520 
   6521 		CFLAGS="$xorg_testset_save_CFLAGS"
   6522 
   6523 		eval supported=\$$cacheid
   6524 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6525 printf "%s\n" "$supported" >&6; }
   6526 		if test "$supported" = "yes" ; then
   6527 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6528 			found="yes"
   6529 		fi
   6530 	fi
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 xorg_testset_save_CFLAGS="$CFLAGS"
   6547 
   6548 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6549 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6550 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6551 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6552 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6553 then :
   6554   printf %s "(cached) " >&6
   6555 else $as_nop
   6556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6557 /* end confdefs.h.  */
   6558 int i;
   6559 _ACEOF
   6560 if ac_fn_c_try_compile "$LINENO"
   6561 then :
   6562   xorg_cv_cc_flag_unknown_warning_option=yes
   6563 else $as_nop
   6564   xorg_cv_cc_flag_unknown_warning_option=no
   6565 fi
   6566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6567 fi
   6568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6569 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6570 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6571 	CFLAGS="$xorg_testset_save_CFLAGS"
   6572 fi
   6573 
   6574 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6575 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6576 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6577 	fi
   6578 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6579 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6580 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6581 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6582 then :
   6583   printf %s "(cached) " >&6
   6584 else $as_nop
   6585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6586 /* end confdefs.h.  */
   6587 int i;
   6588 _ACEOF
   6589 if ac_fn_c_try_compile "$LINENO"
   6590 then :
   6591   xorg_cv_cc_flag_unused_command_line_argument=yes
   6592 else $as_nop
   6593   xorg_cv_cc_flag_unused_command_line_argument=no
   6594 fi
   6595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6596 fi
   6597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6598 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6599 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6600 	CFLAGS="$xorg_testset_save_CFLAGS"
   6601 fi
   6602 
   6603 found="no"
   6604 
   6605 	if test $found = "no" ; then
   6606 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6607 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6608 		fi
   6609 
   6610 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6611 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6612 		fi
   6613 
   6614 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6615 
   6616 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6617 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6618 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6619 		if eval test \${$cacheid+y}
   6620 then :
   6621   printf %s "(cached) " >&6
   6622 else $as_nop
   6623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6624 /* end confdefs.h.  */
   6625 int i;
   6626 int
   6627 main (void)
   6628 {
   6629 
   6630   ;
   6631   return 0;
   6632 }
   6633 _ACEOF
   6634 if ac_fn_c_try_link "$LINENO"
   6635 then :
   6636   eval $cacheid=yes
   6637 else $as_nop
   6638   eval $cacheid=no
   6639 fi
   6640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6641     conftest$ac_exeext conftest.$ac_ext
   6642 fi
   6643 
   6644 
   6645 		CFLAGS="$xorg_testset_save_CFLAGS"
   6646 
   6647 		eval supported=\$$cacheid
   6648 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6649 printf "%s\n" "$supported" >&6; }
   6650 		if test "$supported" = "yes" ; then
   6651 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6652 			found="yes"
   6653 		fi
   6654 	fi
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 xorg_testset_save_CFLAGS="$CFLAGS"
   6671 
   6672 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6673 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6674 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6675 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6676 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6677 then :
   6678   printf %s "(cached) " >&6
   6679 else $as_nop
   6680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6681 /* end confdefs.h.  */
   6682 int i;
   6683 _ACEOF
   6684 if ac_fn_c_try_compile "$LINENO"
   6685 then :
   6686   xorg_cv_cc_flag_unknown_warning_option=yes
   6687 else $as_nop
   6688   xorg_cv_cc_flag_unknown_warning_option=no
   6689 fi
   6690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6691 fi
   6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6693 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6694 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6695 	CFLAGS="$xorg_testset_save_CFLAGS"
   6696 fi
   6697 
   6698 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6699 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6700 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6701 	fi
   6702 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6703 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6704 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6705 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6706 then :
   6707   printf %s "(cached) " >&6
   6708 else $as_nop
   6709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6710 /* end confdefs.h.  */
   6711 int i;
   6712 _ACEOF
   6713 if ac_fn_c_try_compile "$LINENO"
   6714 then :
   6715   xorg_cv_cc_flag_unused_command_line_argument=yes
   6716 else $as_nop
   6717   xorg_cv_cc_flag_unused_command_line_argument=no
   6718 fi
   6719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6720 fi
   6721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6722 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6723 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6724 	CFLAGS="$xorg_testset_save_CFLAGS"
   6725 fi
   6726 
   6727 found="no"
   6728 
   6729 	if test $found = "no" ; then
   6730 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6731 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6732 		fi
   6733 
   6734 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6735 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6736 		fi
   6737 
   6738 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6739 
   6740 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6741 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6742 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6743 		if eval test \${$cacheid+y}
   6744 then :
   6745   printf %s "(cached) " >&6
   6746 else $as_nop
   6747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6748 /* end confdefs.h.  */
   6749 int i;
   6750 int
   6751 main (void)
   6752 {
   6753 
   6754   ;
   6755   return 0;
   6756 }
   6757 _ACEOF
   6758 if ac_fn_c_try_link "$LINENO"
   6759 then :
   6760   eval $cacheid=yes
   6761 else $as_nop
   6762   eval $cacheid=no
   6763 fi
   6764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6765     conftest$ac_exeext conftest.$ac_ext
   6766 fi
   6767 
   6768 
   6769 		CFLAGS="$xorg_testset_save_CFLAGS"
   6770 
   6771 		eval supported=\$$cacheid
   6772 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6773 printf "%s\n" "$supported" >&6; }
   6774 		if test "$supported" = "yes" ; then
   6775 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6776 			found="yes"
   6777 		fi
   6778 	fi
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 xorg_testset_save_CFLAGS="$CFLAGS"
   6795 
   6796 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6797 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6798 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6799 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6800 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6801 then :
   6802   printf %s "(cached) " >&6
   6803 else $as_nop
   6804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6805 /* end confdefs.h.  */
   6806 int i;
   6807 _ACEOF
   6808 if ac_fn_c_try_compile "$LINENO"
   6809 then :
   6810   xorg_cv_cc_flag_unknown_warning_option=yes
   6811 else $as_nop
   6812   xorg_cv_cc_flag_unknown_warning_option=no
   6813 fi
   6814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6815 fi
   6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6817 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6819 	CFLAGS="$xorg_testset_save_CFLAGS"
   6820 fi
   6821 
   6822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6825 	fi
   6826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6827 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6828 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6829 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6830 then :
   6831   printf %s "(cached) " >&6
   6832 else $as_nop
   6833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6834 /* end confdefs.h.  */
   6835 int i;
   6836 _ACEOF
   6837 if ac_fn_c_try_compile "$LINENO"
   6838 then :
   6839   xorg_cv_cc_flag_unused_command_line_argument=yes
   6840 else $as_nop
   6841   xorg_cv_cc_flag_unused_command_line_argument=no
   6842 fi
   6843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6844 fi
   6845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6846 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6848 	CFLAGS="$xorg_testset_save_CFLAGS"
   6849 fi
   6850 
   6851 found="no"
   6852 
   6853 	if test $found = "no" ; then
   6854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6856 		fi
   6857 
   6858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6860 		fi
   6861 
   6862 		CFLAGS="$CFLAGS -Wredundant-decls"
   6863 
   6864 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6865 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6866 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6867 		if eval test \${$cacheid+y}
   6868 then :
   6869   printf %s "(cached) " >&6
   6870 else $as_nop
   6871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6872 /* end confdefs.h.  */
   6873 int i;
   6874 int
   6875 main (void)
   6876 {
   6877 
   6878   ;
   6879   return 0;
   6880 }
   6881 _ACEOF
   6882 if ac_fn_c_try_link "$LINENO"
   6883 then :
   6884   eval $cacheid=yes
   6885 else $as_nop
   6886   eval $cacheid=no
   6887 fi
   6888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6889     conftest$ac_exeext conftest.$ac_ext
   6890 fi
   6891 
   6892 
   6893 		CFLAGS="$xorg_testset_save_CFLAGS"
   6894 
   6895 		eval supported=\$$cacheid
   6896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6897 printf "%s\n" "$supported" >&6; }
   6898 		if test "$supported" = "yes" ; then
   6899 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6900 			found="yes"
   6901 		fi
   6902 	fi
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 xorg_testset_save_CFLAGS="$CFLAGS"
   6919 
   6920 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6921 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6922 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6923 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6924 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6925 then :
   6926   printf %s "(cached) " >&6
   6927 else $as_nop
   6928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6929 /* end confdefs.h.  */
   6930 int i;
   6931 _ACEOF
   6932 if ac_fn_c_try_compile "$LINENO"
   6933 then :
   6934   xorg_cv_cc_flag_unknown_warning_option=yes
   6935 else $as_nop
   6936   xorg_cv_cc_flag_unknown_warning_option=no
   6937 fi
   6938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6939 fi
   6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6941 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6942 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6943 	CFLAGS="$xorg_testset_save_CFLAGS"
   6944 fi
   6945 
   6946 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6947 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6948 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6949 	fi
   6950 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6951 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6952 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6953 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6954 then :
   6955   printf %s "(cached) " >&6
   6956 else $as_nop
   6957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6958 /* end confdefs.h.  */
   6959 int i;
   6960 _ACEOF
   6961 if ac_fn_c_try_compile "$LINENO"
   6962 then :
   6963   xorg_cv_cc_flag_unused_command_line_argument=yes
   6964 else $as_nop
   6965   xorg_cv_cc_flag_unused_command_line_argument=no
   6966 fi
   6967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6968 fi
   6969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6970 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6971 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6972 	CFLAGS="$xorg_testset_save_CFLAGS"
   6973 fi
   6974 
   6975 found="no"
   6976 
   6977 	if test $found = "no" ; then
   6978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6980 		fi
   6981 
   6982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6984 		fi
   6985 
   6986 		CFLAGS="$CFLAGS -Wlogical-op"
   6987 
   6988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6989 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   6990 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6991 		if eval test \${$cacheid+y}
   6992 then :
   6993   printf %s "(cached) " >&6
   6994 else $as_nop
   6995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6996 /* end confdefs.h.  */
   6997 int i;
   6998 int
   6999 main (void)
   7000 {
   7001 
   7002   ;
   7003   return 0;
   7004 }
   7005 _ACEOF
   7006 if ac_fn_c_try_link "$LINENO"
   7007 then :
   7008   eval $cacheid=yes
   7009 else $as_nop
   7010   eval $cacheid=no
   7011 fi
   7012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7013     conftest$ac_exeext conftest.$ac_ext
   7014 fi
   7015 
   7016 
   7017 		CFLAGS="$xorg_testset_save_CFLAGS"
   7018 
   7019 		eval supported=\$$cacheid
   7020 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7021 printf "%s\n" "$supported" >&6; }
   7022 		if test "$supported" = "yes" ; then
   7023 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7024 			found="yes"
   7025 		fi
   7026 	fi
   7027 
   7028 
   7029 
   7030 # These are currently disabled because they are noisy.  They will be enabled
   7031 # in the future once the codebase is sufficiently modernized to silence
   7032 # them.  For now, I don't want them to drown out the other warnings.
   7033 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7034 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7035 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7036 
   7037 # Turn some warnings into errors, so we don't accidentally get successful builds
   7038 # when there are problems that should be fixed.
   7039 
   7040 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 xorg_testset_save_CFLAGS="$CFLAGS"
   7055 
   7056 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7057 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7058 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7059 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7060 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7061 then :
   7062   printf %s "(cached) " >&6
   7063 else $as_nop
   7064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7065 /* end confdefs.h.  */
   7066 int i;
   7067 _ACEOF
   7068 if ac_fn_c_try_compile "$LINENO"
   7069 then :
   7070   xorg_cv_cc_flag_unknown_warning_option=yes
   7071 else $as_nop
   7072   xorg_cv_cc_flag_unknown_warning_option=no
   7073 fi
   7074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7075 fi
   7076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7077 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7078 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7079 	CFLAGS="$xorg_testset_save_CFLAGS"
   7080 fi
   7081 
   7082 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7083 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7084 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7085 	fi
   7086 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7087 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7088 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7089 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7090 then :
   7091   printf %s "(cached) " >&6
   7092 else $as_nop
   7093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7094 /* end confdefs.h.  */
   7095 int i;
   7096 _ACEOF
   7097 if ac_fn_c_try_compile "$LINENO"
   7098 then :
   7099   xorg_cv_cc_flag_unused_command_line_argument=yes
   7100 else $as_nop
   7101   xorg_cv_cc_flag_unused_command_line_argument=no
   7102 fi
   7103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7104 fi
   7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7106 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7107 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7108 	CFLAGS="$xorg_testset_save_CFLAGS"
   7109 fi
   7110 
   7111 found="no"
   7112 
   7113 	if test $found = "no" ; then
   7114 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7116 		fi
   7117 
   7118 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7120 		fi
   7121 
   7122 		CFLAGS="$CFLAGS -Werror=implicit"
   7123 
   7124 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7125 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7126 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7127 		if eval test \${$cacheid+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 int
   7135 main (void)
   7136 {
   7137 
   7138   ;
   7139   return 0;
   7140 }
   7141 _ACEOF
   7142 if ac_fn_c_try_link "$LINENO"
   7143 then :
   7144   eval $cacheid=yes
   7145 else $as_nop
   7146   eval $cacheid=no
   7147 fi
   7148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7149     conftest$ac_exeext conftest.$ac_ext
   7150 fi
   7151 
   7152 
   7153 		CFLAGS="$xorg_testset_save_CFLAGS"
   7154 
   7155 		eval supported=\$$cacheid
   7156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7157 printf "%s\n" "$supported" >&6; }
   7158 		if test "$supported" = "yes" ; then
   7159 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7160 			found="yes"
   7161 		fi
   7162 	fi
   7163 
   7164 	if test $found = "no" ; then
   7165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7167 		fi
   7168 
   7169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7171 		fi
   7172 
   7173 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7174 
   7175 		{ 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
   7176 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7177 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7178 		if eval test \${$cacheid+y}
   7179 then :
   7180   printf %s "(cached) " >&6
   7181 else $as_nop
   7182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7183 /* end confdefs.h.  */
   7184 int i;
   7185 int
   7186 main (void)
   7187 {
   7188 
   7189   ;
   7190   return 0;
   7191 }
   7192 _ACEOF
   7193 if ac_fn_c_try_link "$LINENO"
   7194 then :
   7195   eval $cacheid=yes
   7196 else $as_nop
   7197   eval $cacheid=no
   7198 fi
   7199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7200     conftest$ac_exeext conftest.$ac_ext
   7201 fi
   7202 
   7203 
   7204 		CFLAGS="$xorg_testset_save_CFLAGS"
   7205 
   7206 		eval supported=\$$cacheid
   7207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7208 printf "%s\n" "$supported" >&6; }
   7209 		if test "$supported" = "yes" ; then
   7210 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7211 			found="yes"
   7212 		fi
   7213 	fi
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 xorg_testset_save_CFLAGS="$CFLAGS"
   7230 
   7231 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7232 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7234 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7235 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7236 then :
   7237   printf %s "(cached) " >&6
   7238 else $as_nop
   7239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7240 /* end confdefs.h.  */
   7241 int i;
   7242 _ACEOF
   7243 if ac_fn_c_try_compile "$LINENO"
   7244 then :
   7245   xorg_cv_cc_flag_unknown_warning_option=yes
   7246 else $as_nop
   7247   xorg_cv_cc_flag_unknown_warning_option=no
   7248 fi
   7249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7250 fi
   7251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7252 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7254 	CFLAGS="$xorg_testset_save_CFLAGS"
   7255 fi
   7256 
   7257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7260 	fi
   7261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7262 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7263 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7264 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7265 then :
   7266   printf %s "(cached) " >&6
   7267 else $as_nop
   7268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7269 /* end confdefs.h.  */
   7270 int i;
   7271 _ACEOF
   7272 if ac_fn_c_try_compile "$LINENO"
   7273 then :
   7274   xorg_cv_cc_flag_unused_command_line_argument=yes
   7275 else $as_nop
   7276   xorg_cv_cc_flag_unused_command_line_argument=no
   7277 fi
   7278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7279 fi
   7280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7281 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7283 	CFLAGS="$xorg_testset_save_CFLAGS"
   7284 fi
   7285 
   7286 found="no"
   7287 
   7288 	if test $found = "no" ; then
   7289 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7291 		fi
   7292 
   7293 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7295 		fi
   7296 
   7297 		CFLAGS="$CFLAGS -Werror=nonnull"
   7298 
   7299 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7300 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7301 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7302 		if eval test \${$cacheid+y}
   7303 then :
   7304   printf %s "(cached) " >&6
   7305 else $as_nop
   7306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7307 /* end confdefs.h.  */
   7308 int i;
   7309 int
   7310 main (void)
   7311 {
   7312 
   7313   ;
   7314   return 0;
   7315 }
   7316 _ACEOF
   7317 if ac_fn_c_try_link "$LINENO"
   7318 then :
   7319   eval $cacheid=yes
   7320 else $as_nop
   7321   eval $cacheid=no
   7322 fi
   7323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7324     conftest$ac_exeext conftest.$ac_ext
   7325 fi
   7326 
   7327 
   7328 		CFLAGS="$xorg_testset_save_CFLAGS"
   7329 
   7330 		eval supported=\$$cacheid
   7331 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7332 printf "%s\n" "$supported" >&6; }
   7333 		if test "$supported" = "yes" ; then
   7334 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7335 			found="yes"
   7336 		fi
   7337 	fi
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 xorg_testset_save_CFLAGS="$CFLAGS"
   7354 
   7355 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7356 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7357 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7358 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7359 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7360 then :
   7361   printf %s "(cached) " >&6
   7362 else $as_nop
   7363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7364 /* end confdefs.h.  */
   7365 int i;
   7366 _ACEOF
   7367 if ac_fn_c_try_compile "$LINENO"
   7368 then :
   7369   xorg_cv_cc_flag_unknown_warning_option=yes
   7370 else $as_nop
   7371   xorg_cv_cc_flag_unknown_warning_option=no
   7372 fi
   7373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7374 fi
   7375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7376 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7377 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7378 	CFLAGS="$xorg_testset_save_CFLAGS"
   7379 fi
   7380 
   7381 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7382 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7383 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7384 	fi
   7385 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7386 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7387 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7388 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7389 then :
   7390   printf %s "(cached) " >&6
   7391 else $as_nop
   7392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7393 /* end confdefs.h.  */
   7394 int i;
   7395 _ACEOF
   7396 if ac_fn_c_try_compile "$LINENO"
   7397 then :
   7398   xorg_cv_cc_flag_unused_command_line_argument=yes
   7399 else $as_nop
   7400   xorg_cv_cc_flag_unused_command_line_argument=no
   7401 fi
   7402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7403 fi
   7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7405 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7406 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7407 	CFLAGS="$xorg_testset_save_CFLAGS"
   7408 fi
   7409 
   7410 found="no"
   7411 
   7412 	if test $found = "no" ; then
   7413 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7414 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7415 		fi
   7416 
   7417 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7418 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7419 		fi
   7420 
   7421 		CFLAGS="$CFLAGS -Werror=init-self"
   7422 
   7423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7424 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7425 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7426 		if eval test \${$cacheid+y}
   7427 then :
   7428   printf %s "(cached) " >&6
   7429 else $as_nop
   7430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7431 /* end confdefs.h.  */
   7432 int i;
   7433 int
   7434 main (void)
   7435 {
   7436 
   7437   ;
   7438   return 0;
   7439 }
   7440 _ACEOF
   7441 if ac_fn_c_try_link "$LINENO"
   7442 then :
   7443   eval $cacheid=yes
   7444 else $as_nop
   7445   eval $cacheid=no
   7446 fi
   7447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7448     conftest$ac_exeext conftest.$ac_ext
   7449 fi
   7450 
   7451 
   7452 		CFLAGS="$xorg_testset_save_CFLAGS"
   7453 
   7454 		eval supported=\$$cacheid
   7455 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7456 printf "%s\n" "$supported" >&6; }
   7457 		if test "$supported" = "yes" ; then
   7458 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7459 			found="yes"
   7460 		fi
   7461 	fi
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 xorg_testset_save_CFLAGS="$CFLAGS"
   7478 
   7479 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7480 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7481 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7482 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7483 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7484 then :
   7485   printf %s "(cached) " >&6
   7486 else $as_nop
   7487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7488 /* end confdefs.h.  */
   7489 int i;
   7490 _ACEOF
   7491 if ac_fn_c_try_compile "$LINENO"
   7492 then :
   7493   xorg_cv_cc_flag_unknown_warning_option=yes
   7494 else $as_nop
   7495   xorg_cv_cc_flag_unknown_warning_option=no
   7496 fi
   7497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7498 fi
   7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7500 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7501 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7502 	CFLAGS="$xorg_testset_save_CFLAGS"
   7503 fi
   7504 
   7505 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7506 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7508 	fi
   7509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7510 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7511 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7512 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7513 then :
   7514   printf %s "(cached) " >&6
   7515 else $as_nop
   7516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7517 /* end confdefs.h.  */
   7518 int i;
   7519 _ACEOF
   7520 if ac_fn_c_try_compile "$LINENO"
   7521 then :
   7522   xorg_cv_cc_flag_unused_command_line_argument=yes
   7523 else $as_nop
   7524   xorg_cv_cc_flag_unused_command_line_argument=no
   7525 fi
   7526 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7527 fi
   7528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7529 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7530 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7531 	CFLAGS="$xorg_testset_save_CFLAGS"
   7532 fi
   7533 
   7534 found="no"
   7535 
   7536 	if test $found = "no" ; then
   7537 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7538 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7539 		fi
   7540 
   7541 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7542 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7543 		fi
   7544 
   7545 		CFLAGS="$CFLAGS -Werror=main"
   7546 
   7547 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7548 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7549 		cacheid=xorg_cv_cc_flag__Werror_main
   7550 		if eval test \${$cacheid+y}
   7551 then :
   7552   printf %s "(cached) " >&6
   7553 else $as_nop
   7554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7555 /* end confdefs.h.  */
   7556 int i;
   7557 int
   7558 main (void)
   7559 {
   7560 
   7561   ;
   7562   return 0;
   7563 }
   7564 _ACEOF
   7565 if ac_fn_c_try_link "$LINENO"
   7566 then :
   7567   eval $cacheid=yes
   7568 else $as_nop
   7569   eval $cacheid=no
   7570 fi
   7571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7572     conftest$ac_exeext conftest.$ac_ext
   7573 fi
   7574 
   7575 
   7576 		CFLAGS="$xorg_testset_save_CFLAGS"
   7577 
   7578 		eval supported=\$$cacheid
   7579 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7580 printf "%s\n" "$supported" >&6; }
   7581 		if test "$supported" = "yes" ; then
   7582 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7583 			found="yes"
   7584 		fi
   7585 	fi
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 xorg_testset_save_CFLAGS="$CFLAGS"
   7602 
   7603 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7604 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7605 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7606 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7607 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7608 then :
   7609   printf %s "(cached) " >&6
   7610 else $as_nop
   7611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7612 /* end confdefs.h.  */
   7613 int i;
   7614 _ACEOF
   7615 if ac_fn_c_try_compile "$LINENO"
   7616 then :
   7617   xorg_cv_cc_flag_unknown_warning_option=yes
   7618 else $as_nop
   7619   xorg_cv_cc_flag_unknown_warning_option=no
   7620 fi
   7621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7622 fi
   7623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7624 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7625 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7626 	CFLAGS="$xorg_testset_save_CFLAGS"
   7627 fi
   7628 
   7629 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7630 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7632 	fi
   7633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7634 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7635 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7636 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7637 then :
   7638   printf %s "(cached) " >&6
   7639 else $as_nop
   7640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7641 /* end confdefs.h.  */
   7642 int i;
   7643 _ACEOF
   7644 if ac_fn_c_try_compile "$LINENO"
   7645 then :
   7646   xorg_cv_cc_flag_unused_command_line_argument=yes
   7647 else $as_nop
   7648   xorg_cv_cc_flag_unused_command_line_argument=no
   7649 fi
   7650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7651 fi
   7652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7653 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7654 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7655 	CFLAGS="$xorg_testset_save_CFLAGS"
   7656 fi
   7657 
   7658 found="no"
   7659 
   7660 	if test $found = "no" ; then
   7661 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7662 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7663 		fi
   7664 
   7665 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7666 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7667 		fi
   7668 
   7669 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7670 
   7671 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7672 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7673 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7674 		if eval test \${$cacheid+y}
   7675 then :
   7676   printf %s "(cached) " >&6
   7677 else $as_nop
   7678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7679 /* end confdefs.h.  */
   7680 int i;
   7681 int
   7682 main (void)
   7683 {
   7684 
   7685   ;
   7686   return 0;
   7687 }
   7688 _ACEOF
   7689 if ac_fn_c_try_link "$LINENO"
   7690 then :
   7691   eval $cacheid=yes
   7692 else $as_nop
   7693   eval $cacheid=no
   7694 fi
   7695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7696     conftest$ac_exeext conftest.$ac_ext
   7697 fi
   7698 
   7699 
   7700 		CFLAGS="$xorg_testset_save_CFLAGS"
   7701 
   7702 		eval supported=\$$cacheid
   7703 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7704 printf "%s\n" "$supported" >&6; }
   7705 		if test "$supported" = "yes" ; then
   7706 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7707 			found="yes"
   7708 		fi
   7709 	fi
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 xorg_testset_save_CFLAGS="$CFLAGS"
   7726 
   7727 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7728 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7729 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7730 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7731 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7732 then :
   7733   printf %s "(cached) " >&6
   7734 else $as_nop
   7735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7736 /* end confdefs.h.  */
   7737 int i;
   7738 _ACEOF
   7739 if ac_fn_c_try_compile "$LINENO"
   7740 then :
   7741   xorg_cv_cc_flag_unknown_warning_option=yes
   7742 else $as_nop
   7743   xorg_cv_cc_flag_unknown_warning_option=no
   7744 fi
   7745 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7746 fi
   7747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7748 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7749 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7750 	CFLAGS="$xorg_testset_save_CFLAGS"
   7751 fi
   7752 
   7753 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7754 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7755 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7756 	fi
   7757 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7758 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7759 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7760 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7761 then :
   7762   printf %s "(cached) " >&6
   7763 else $as_nop
   7764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7765 /* end confdefs.h.  */
   7766 int i;
   7767 _ACEOF
   7768 if ac_fn_c_try_compile "$LINENO"
   7769 then :
   7770   xorg_cv_cc_flag_unused_command_line_argument=yes
   7771 else $as_nop
   7772   xorg_cv_cc_flag_unused_command_line_argument=no
   7773 fi
   7774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7775 fi
   7776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7777 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7778 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7779 	CFLAGS="$xorg_testset_save_CFLAGS"
   7780 fi
   7781 
   7782 found="no"
   7783 
   7784 	if test $found = "no" ; then
   7785 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7786 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7787 		fi
   7788 
   7789 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7790 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7791 		fi
   7792 
   7793 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7794 
   7795 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7796 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7797 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7798 		if eval test \${$cacheid+y}
   7799 then :
   7800   printf %s "(cached) " >&6
   7801 else $as_nop
   7802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7803 /* end confdefs.h.  */
   7804 int i;
   7805 int
   7806 main (void)
   7807 {
   7808 
   7809   ;
   7810   return 0;
   7811 }
   7812 _ACEOF
   7813 if ac_fn_c_try_link "$LINENO"
   7814 then :
   7815   eval $cacheid=yes
   7816 else $as_nop
   7817   eval $cacheid=no
   7818 fi
   7819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7820     conftest$ac_exeext conftest.$ac_ext
   7821 fi
   7822 
   7823 
   7824 		CFLAGS="$xorg_testset_save_CFLAGS"
   7825 
   7826 		eval supported=\$$cacheid
   7827 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7828 printf "%s\n" "$supported" >&6; }
   7829 		if test "$supported" = "yes" ; then
   7830 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7831 			found="yes"
   7832 		fi
   7833 	fi
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 xorg_testset_save_CFLAGS="$CFLAGS"
   7850 
   7851 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7852 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7853 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7854 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7855 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7856 then :
   7857   printf %s "(cached) " >&6
   7858 else $as_nop
   7859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7860 /* end confdefs.h.  */
   7861 int i;
   7862 _ACEOF
   7863 if ac_fn_c_try_compile "$LINENO"
   7864 then :
   7865   xorg_cv_cc_flag_unknown_warning_option=yes
   7866 else $as_nop
   7867   xorg_cv_cc_flag_unknown_warning_option=no
   7868 fi
   7869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7870 fi
   7871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7872 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7873 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7874 	CFLAGS="$xorg_testset_save_CFLAGS"
   7875 fi
   7876 
   7877 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7878 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7879 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7880 	fi
   7881 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7882 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7883 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7884 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7885 then :
   7886   printf %s "(cached) " >&6
   7887 else $as_nop
   7888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7889 /* end confdefs.h.  */
   7890 int i;
   7891 _ACEOF
   7892 if ac_fn_c_try_compile "$LINENO"
   7893 then :
   7894   xorg_cv_cc_flag_unused_command_line_argument=yes
   7895 else $as_nop
   7896   xorg_cv_cc_flag_unused_command_line_argument=no
   7897 fi
   7898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7899 fi
   7900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7901 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7902 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7903 	CFLAGS="$xorg_testset_save_CFLAGS"
   7904 fi
   7905 
   7906 found="no"
   7907 
   7908 	if test $found = "no" ; then
   7909 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7910 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7911 		fi
   7912 
   7913 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7914 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7915 		fi
   7916 
   7917 		CFLAGS="$CFLAGS -Werror=return-type"
   7918 
   7919 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7920 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7921 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7922 		if eval test \${$cacheid+y}
   7923 then :
   7924   printf %s "(cached) " >&6
   7925 else $as_nop
   7926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7927 /* end confdefs.h.  */
   7928 int i;
   7929 int
   7930 main (void)
   7931 {
   7932 
   7933   ;
   7934   return 0;
   7935 }
   7936 _ACEOF
   7937 if ac_fn_c_try_link "$LINENO"
   7938 then :
   7939   eval $cacheid=yes
   7940 else $as_nop
   7941   eval $cacheid=no
   7942 fi
   7943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7944     conftest$ac_exeext conftest.$ac_ext
   7945 fi
   7946 
   7947 
   7948 		CFLAGS="$xorg_testset_save_CFLAGS"
   7949 
   7950 		eval supported=\$$cacheid
   7951 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7952 printf "%s\n" "$supported" >&6; }
   7953 		if test "$supported" = "yes" ; then
   7954 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7955 			found="yes"
   7956 		fi
   7957 	fi
   7958 
   7959 	if test $found = "no" ; then
   7960 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7961 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7962 		fi
   7963 
   7964 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7965 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7966 		fi
   7967 
   7968 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7969 
   7970 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7971 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7972 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7973 		if eval test \${$cacheid+y}
   7974 then :
   7975   printf %s "(cached) " >&6
   7976 else $as_nop
   7977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7978 /* end confdefs.h.  */
   7979 int i;
   7980 int
   7981 main (void)
   7982 {
   7983 
   7984   ;
   7985   return 0;
   7986 }
   7987 _ACEOF
   7988 if ac_fn_c_try_link "$LINENO"
   7989 then :
   7990   eval $cacheid=yes
   7991 else $as_nop
   7992   eval $cacheid=no
   7993 fi
   7994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7995     conftest$ac_exeext conftest.$ac_ext
   7996 fi
   7997 
   7998 
   7999 		CFLAGS="$xorg_testset_save_CFLAGS"
   8000 
   8001 		eval supported=\$$cacheid
   8002 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8003 printf "%s\n" "$supported" >&6; }
   8004 		if test "$supported" = "yes" ; then
   8005 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8006 			found="yes"
   8007 		fi
   8008 	fi
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 xorg_testset_save_CFLAGS="$CFLAGS"
   8025 
   8026 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8027 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8028 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8029 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8030 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8031 then :
   8032   printf %s "(cached) " >&6
   8033 else $as_nop
   8034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8035 /* end confdefs.h.  */
   8036 int i;
   8037 _ACEOF
   8038 if ac_fn_c_try_compile "$LINENO"
   8039 then :
   8040   xorg_cv_cc_flag_unknown_warning_option=yes
   8041 else $as_nop
   8042   xorg_cv_cc_flag_unknown_warning_option=no
   8043 fi
   8044 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8045 fi
   8046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8047 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8048 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8049 	CFLAGS="$xorg_testset_save_CFLAGS"
   8050 fi
   8051 
   8052 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8053 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8054 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8055 	fi
   8056 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8057 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8058 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8059 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8060 then :
   8061   printf %s "(cached) " >&6
   8062 else $as_nop
   8063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8064 /* end confdefs.h.  */
   8065 int i;
   8066 _ACEOF
   8067 if ac_fn_c_try_compile "$LINENO"
   8068 then :
   8069   xorg_cv_cc_flag_unused_command_line_argument=yes
   8070 else $as_nop
   8071   xorg_cv_cc_flag_unused_command_line_argument=no
   8072 fi
   8073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8074 fi
   8075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8076 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8077 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8078 	CFLAGS="$xorg_testset_save_CFLAGS"
   8079 fi
   8080 
   8081 found="no"
   8082 
   8083 	if test $found = "no" ; then
   8084 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8085 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8086 		fi
   8087 
   8088 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8089 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8090 		fi
   8091 
   8092 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8093 
   8094 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8095 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8096 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8097 		if eval test \${$cacheid+y}
   8098 then :
   8099   printf %s "(cached) " >&6
   8100 else $as_nop
   8101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8102 /* end confdefs.h.  */
   8103 int i;
   8104 int
   8105 main (void)
   8106 {
   8107 
   8108   ;
   8109   return 0;
   8110 }
   8111 _ACEOF
   8112 if ac_fn_c_try_link "$LINENO"
   8113 then :
   8114   eval $cacheid=yes
   8115 else $as_nop
   8116   eval $cacheid=no
   8117 fi
   8118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8119     conftest$ac_exeext conftest.$ac_ext
   8120 fi
   8121 
   8122 
   8123 		CFLAGS="$xorg_testset_save_CFLAGS"
   8124 
   8125 		eval supported=\$$cacheid
   8126 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8127 printf "%s\n" "$supported" >&6; }
   8128 		if test "$supported" = "yes" ; then
   8129 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8130 			found="yes"
   8131 		fi
   8132 	fi
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 xorg_testset_save_CFLAGS="$CFLAGS"
   8149 
   8150 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8151 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8152 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8153 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8154 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8155 then :
   8156   printf %s "(cached) " >&6
   8157 else $as_nop
   8158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8159 /* end confdefs.h.  */
   8160 int i;
   8161 _ACEOF
   8162 if ac_fn_c_try_compile "$LINENO"
   8163 then :
   8164   xorg_cv_cc_flag_unknown_warning_option=yes
   8165 else $as_nop
   8166   xorg_cv_cc_flag_unknown_warning_option=no
   8167 fi
   8168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8169 fi
   8170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8171 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8172 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8173 	CFLAGS="$xorg_testset_save_CFLAGS"
   8174 fi
   8175 
   8176 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8177 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8178 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8179 	fi
   8180 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8181 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8182 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8183 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8184 then :
   8185   printf %s "(cached) " >&6
   8186 else $as_nop
   8187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8188 /* end confdefs.h.  */
   8189 int i;
   8190 _ACEOF
   8191 if ac_fn_c_try_compile "$LINENO"
   8192 then :
   8193   xorg_cv_cc_flag_unused_command_line_argument=yes
   8194 else $as_nop
   8195   xorg_cv_cc_flag_unused_command_line_argument=no
   8196 fi
   8197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8198 fi
   8199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8200 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8201 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8202 	CFLAGS="$xorg_testset_save_CFLAGS"
   8203 fi
   8204 
   8205 found="no"
   8206 
   8207 	if test $found = "no" ; then
   8208 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8209 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8210 		fi
   8211 
   8212 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8213 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8214 		fi
   8215 
   8216 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8217 
   8218 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8219 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8220 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8221 		if eval test \${$cacheid+y}
   8222 then :
   8223   printf %s "(cached) " >&6
   8224 else $as_nop
   8225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8226 /* end confdefs.h.  */
   8227 int i;
   8228 int
   8229 main (void)
   8230 {
   8231 
   8232   ;
   8233   return 0;
   8234 }
   8235 _ACEOF
   8236 if ac_fn_c_try_link "$LINENO"
   8237 then :
   8238   eval $cacheid=yes
   8239 else $as_nop
   8240   eval $cacheid=no
   8241 fi
   8242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8243     conftest$ac_exeext conftest.$ac_ext
   8244 fi
   8245 
   8246 
   8247 		CFLAGS="$xorg_testset_save_CFLAGS"
   8248 
   8249 		eval supported=\$$cacheid
   8250 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8251 printf "%s\n" "$supported" >&6; }
   8252 		if test "$supported" = "yes" ; then
   8253 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8254 			found="yes"
   8255 		fi
   8256 	fi
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 xorg_testset_save_CFLAGS="$CFLAGS"
   8273 
   8274 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8275 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8276 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8277 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8278 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8279 then :
   8280   printf %s "(cached) " >&6
   8281 else $as_nop
   8282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8283 /* end confdefs.h.  */
   8284 int i;
   8285 _ACEOF
   8286 if ac_fn_c_try_compile "$LINENO"
   8287 then :
   8288   xorg_cv_cc_flag_unknown_warning_option=yes
   8289 else $as_nop
   8290   xorg_cv_cc_flag_unknown_warning_option=no
   8291 fi
   8292 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8293 fi
   8294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8295 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8296 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8297 	CFLAGS="$xorg_testset_save_CFLAGS"
   8298 fi
   8299 
   8300 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8301 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8302 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8303 	fi
   8304 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8305 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8306 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8307 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8308 then :
   8309   printf %s "(cached) " >&6
   8310 else $as_nop
   8311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8312 /* end confdefs.h.  */
   8313 int i;
   8314 _ACEOF
   8315 if ac_fn_c_try_compile "$LINENO"
   8316 then :
   8317   xorg_cv_cc_flag_unused_command_line_argument=yes
   8318 else $as_nop
   8319   xorg_cv_cc_flag_unused_command_line_argument=no
   8320 fi
   8321 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8322 fi
   8323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8324 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8325 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8326 	CFLAGS="$xorg_testset_save_CFLAGS"
   8327 fi
   8328 
   8329 found="no"
   8330 
   8331 	if test $found = "no" ; then
   8332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8334 		fi
   8335 
   8336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8338 		fi
   8339 
   8340 		CFLAGS="$CFLAGS -Werror=write-strings"
   8341 
   8342 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8343 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8344 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8345 		if eval test \${$cacheid+y}
   8346 then :
   8347   printf %s "(cached) " >&6
   8348 else $as_nop
   8349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8350 /* end confdefs.h.  */
   8351 int i;
   8352 int
   8353 main (void)
   8354 {
   8355 
   8356   ;
   8357   return 0;
   8358 }
   8359 _ACEOF
   8360 if ac_fn_c_try_link "$LINENO"
   8361 then :
   8362   eval $cacheid=yes
   8363 else $as_nop
   8364   eval $cacheid=no
   8365 fi
   8366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8367     conftest$ac_exeext conftest.$ac_ext
   8368 fi
   8369 
   8370 
   8371 		CFLAGS="$xorg_testset_save_CFLAGS"
   8372 
   8373 		eval supported=\$$cacheid
   8374 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8375 printf "%s\n" "$supported" >&6; }
   8376 		if test "$supported" = "yes" ; then
   8377 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8378 			found="yes"
   8379 		fi
   8380 	fi
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 xorg_testset_save_CFLAGS="$CFLAGS"
   8397 
   8398 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8399 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8400 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8401 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8402 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8403 then :
   8404   printf %s "(cached) " >&6
   8405 else $as_nop
   8406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8407 /* end confdefs.h.  */
   8408 int i;
   8409 _ACEOF
   8410 if ac_fn_c_try_compile "$LINENO"
   8411 then :
   8412   xorg_cv_cc_flag_unknown_warning_option=yes
   8413 else $as_nop
   8414   xorg_cv_cc_flag_unknown_warning_option=no
   8415 fi
   8416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8417 fi
   8418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8419 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8421 	CFLAGS="$xorg_testset_save_CFLAGS"
   8422 fi
   8423 
   8424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8427 	fi
   8428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8429 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8430 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8431 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8432 then :
   8433   printf %s "(cached) " >&6
   8434 else $as_nop
   8435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8436 /* end confdefs.h.  */
   8437 int i;
   8438 _ACEOF
   8439 if ac_fn_c_try_compile "$LINENO"
   8440 then :
   8441   xorg_cv_cc_flag_unused_command_line_argument=yes
   8442 else $as_nop
   8443   xorg_cv_cc_flag_unused_command_line_argument=no
   8444 fi
   8445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8446 fi
   8447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8448 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8450 	CFLAGS="$xorg_testset_save_CFLAGS"
   8451 fi
   8452 
   8453 found="no"
   8454 
   8455 	if test $found = "no" ; then
   8456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8458 		fi
   8459 
   8460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8462 		fi
   8463 
   8464 		CFLAGS="$CFLAGS -Werror=address"
   8465 
   8466 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8467 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8468 		cacheid=xorg_cv_cc_flag__Werror_address
   8469 		if eval test \${$cacheid+y}
   8470 then :
   8471   printf %s "(cached) " >&6
   8472 else $as_nop
   8473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8474 /* end confdefs.h.  */
   8475 int i;
   8476 int
   8477 main (void)
   8478 {
   8479 
   8480   ;
   8481   return 0;
   8482 }
   8483 _ACEOF
   8484 if ac_fn_c_try_link "$LINENO"
   8485 then :
   8486   eval $cacheid=yes
   8487 else $as_nop
   8488   eval $cacheid=no
   8489 fi
   8490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8491     conftest$ac_exeext conftest.$ac_ext
   8492 fi
   8493 
   8494 
   8495 		CFLAGS="$xorg_testset_save_CFLAGS"
   8496 
   8497 		eval supported=\$$cacheid
   8498 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8499 printf "%s\n" "$supported" >&6; }
   8500 		if test "$supported" = "yes" ; then
   8501 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8502 			found="yes"
   8503 		fi
   8504 	fi
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 xorg_testset_save_CFLAGS="$CFLAGS"
   8521 
   8522 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8523 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8524 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8525 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8526 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8527 then :
   8528   printf %s "(cached) " >&6
   8529 else $as_nop
   8530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8531 /* end confdefs.h.  */
   8532 int i;
   8533 _ACEOF
   8534 if ac_fn_c_try_compile "$LINENO"
   8535 then :
   8536   xorg_cv_cc_flag_unknown_warning_option=yes
   8537 else $as_nop
   8538   xorg_cv_cc_flag_unknown_warning_option=no
   8539 fi
   8540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8541 fi
   8542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8543 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8545 	CFLAGS="$xorg_testset_save_CFLAGS"
   8546 fi
   8547 
   8548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8551 	fi
   8552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8553 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8554 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8555 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8556 then :
   8557   printf %s "(cached) " >&6
   8558 else $as_nop
   8559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8560 /* end confdefs.h.  */
   8561 int i;
   8562 _ACEOF
   8563 if ac_fn_c_try_compile "$LINENO"
   8564 then :
   8565   xorg_cv_cc_flag_unused_command_line_argument=yes
   8566 else $as_nop
   8567   xorg_cv_cc_flag_unused_command_line_argument=no
   8568 fi
   8569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8570 fi
   8571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8572 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8573 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8574 	CFLAGS="$xorg_testset_save_CFLAGS"
   8575 fi
   8576 
   8577 found="no"
   8578 
   8579 	if test $found = "no" ; then
   8580 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8581 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8582 		fi
   8583 
   8584 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8585 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8586 		fi
   8587 
   8588 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8589 
   8590 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8591 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8592 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8593 		if eval test \${$cacheid+y}
   8594 then :
   8595   printf %s "(cached) " >&6
   8596 else $as_nop
   8597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8598 /* end confdefs.h.  */
   8599 int i;
   8600 int
   8601 main (void)
   8602 {
   8603 
   8604   ;
   8605   return 0;
   8606 }
   8607 _ACEOF
   8608 if ac_fn_c_try_link "$LINENO"
   8609 then :
   8610   eval $cacheid=yes
   8611 else $as_nop
   8612   eval $cacheid=no
   8613 fi
   8614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8615     conftest$ac_exeext conftest.$ac_ext
   8616 fi
   8617 
   8618 
   8619 		CFLAGS="$xorg_testset_save_CFLAGS"
   8620 
   8621 		eval supported=\$$cacheid
   8622 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8623 printf "%s\n" "$supported" >&6; }
   8624 		if test "$supported" = "yes" ; then
   8625 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8626 			found="yes"
   8627 		fi
   8628 	fi
   8629 
   8630 	if test $found = "no" ; then
   8631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8633 		fi
   8634 
   8635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8637 		fi
   8638 
   8639 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8640 
   8641 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8642 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8643 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8644 		if eval test \${$cacheid+y}
   8645 then :
   8646   printf %s "(cached) " >&6
   8647 else $as_nop
   8648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8649 /* end confdefs.h.  */
   8650 int i;
   8651 int
   8652 main (void)
   8653 {
   8654 
   8655   ;
   8656   return 0;
   8657 }
   8658 _ACEOF
   8659 if ac_fn_c_try_link "$LINENO"
   8660 then :
   8661   eval $cacheid=yes
   8662 else $as_nop
   8663   eval $cacheid=no
   8664 fi
   8665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8666     conftest$ac_exeext conftest.$ac_ext
   8667 fi
   8668 
   8669 
   8670 		CFLAGS="$xorg_testset_save_CFLAGS"
   8671 
   8672 		eval supported=\$$cacheid
   8673 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8674 printf "%s\n" "$supported" >&6; }
   8675 		if test "$supported" = "yes" ; then
   8676 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8677 			found="yes"
   8678 		fi
   8679 	fi
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 xorg_testset_save_CFLAGS="$CFLAGS"
   8696 
   8697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8699 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8700 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8701 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8702 then :
   8703   printf %s "(cached) " >&6
   8704 else $as_nop
   8705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8706 /* end confdefs.h.  */
   8707 int i;
   8708 _ACEOF
   8709 if ac_fn_c_try_compile "$LINENO"
   8710 then :
   8711   xorg_cv_cc_flag_unknown_warning_option=yes
   8712 else $as_nop
   8713   xorg_cv_cc_flag_unknown_warning_option=no
   8714 fi
   8715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8716 fi
   8717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8718 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8719 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8720 	CFLAGS="$xorg_testset_save_CFLAGS"
   8721 fi
   8722 
   8723 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8724 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8725 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8726 	fi
   8727 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8728 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8729 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8730 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8731 then :
   8732   printf %s "(cached) " >&6
   8733 else $as_nop
   8734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8735 /* end confdefs.h.  */
   8736 int i;
   8737 _ACEOF
   8738 if ac_fn_c_try_compile "$LINENO"
   8739 then :
   8740   xorg_cv_cc_flag_unused_command_line_argument=yes
   8741 else $as_nop
   8742   xorg_cv_cc_flag_unused_command_line_argument=no
   8743 fi
   8744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8745 fi
   8746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8747 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8749 	CFLAGS="$xorg_testset_save_CFLAGS"
   8750 fi
   8751 
   8752 found="no"
   8753 
   8754 	if test $found = "no" ; then
   8755 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8757 		fi
   8758 
   8759 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8761 		fi
   8762 
   8763 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8764 
   8765 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8766 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8767 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8768 		if eval test \${$cacheid+y}
   8769 then :
   8770   printf %s "(cached) " >&6
   8771 else $as_nop
   8772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8773 /* end confdefs.h.  */
   8774 int i;
   8775 int
   8776 main (void)
   8777 {
   8778 
   8779   ;
   8780   return 0;
   8781 }
   8782 _ACEOF
   8783 if ac_fn_c_try_link "$LINENO"
   8784 then :
   8785   eval $cacheid=yes
   8786 else $as_nop
   8787   eval $cacheid=no
   8788 fi
   8789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8790     conftest$ac_exeext conftest.$ac_ext
   8791 fi
   8792 
   8793 
   8794 		CFLAGS="$xorg_testset_save_CFLAGS"
   8795 
   8796 		eval supported=\$$cacheid
   8797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8798 printf "%s\n" "$supported" >&6; }
   8799 		if test "$supported" = "yes" ; then
   8800 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8801 			found="yes"
   8802 		fi
   8803 	fi
   8804 
   8805  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8806 else
   8807 { 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
   8808 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;}
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 xorg_testset_save_CFLAGS="$CFLAGS"
   8823 
   8824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8826 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8827 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8828 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8829 then :
   8830   printf %s "(cached) " >&6
   8831 else $as_nop
   8832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8833 /* end confdefs.h.  */
   8834 int i;
   8835 _ACEOF
   8836 if ac_fn_c_try_compile "$LINENO"
   8837 then :
   8838   xorg_cv_cc_flag_unknown_warning_option=yes
   8839 else $as_nop
   8840   xorg_cv_cc_flag_unknown_warning_option=no
   8841 fi
   8842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8843 fi
   8844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8845 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8846 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8847 	CFLAGS="$xorg_testset_save_CFLAGS"
   8848 fi
   8849 
   8850 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8851 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8852 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8853 	fi
   8854 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8856 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8857 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8858 then :
   8859   printf %s "(cached) " >&6
   8860 else $as_nop
   8861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8862 /* end confdefs.h.  */
   8863 int i;
   8864 _ACEOF
   8865 if ac_fn_c_try_compile "$LINENO"
   8866 then :
   8867   xorg_cv_cc_flag_unused_command_line_argument=yes
   8868 else $as_nop
   8869   xorg_cv_cc_flag_unused_command_line_argument=no
   8870 fi
   8871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8872 fi
   8873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8874 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8875 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8876 	CFLAGS="$xorg_testset_save_CFLAGS"
   8877 fi
   8878 
   8879 found="no"
   8880 
   8881 	if test $found = "no" ; then
   8882 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8884 		fi
   8885 
   8886 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8888 		fi
   8889 
   8890 		CFLAGS="$CFLAGS -Wimplicit"
   8891 
   8892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8893 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8894 		cacheid=xorg_cv_cc_flag__Wimplicit
   8895 		if eval test \${$cacheid+y}
   8896 then :
   8897   printf %s "(cached) " >&6
   8898 else $as_nop
   8899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8900 /* end confdefs.h.  */
   8901 int i;
   8902 int
   8903 main (void)
   8904 {
   8905 
   8906   ;
   8907   return 0;
   8908 }
   8909 _ACEOF
   8910 if ac_fn_c_try_link "$LINENO"
   8911 then :
   8912   eval $cacheid=yes
   8913 else $as_nop
   8914   eval $cacheid=no
   8915 fi
   8916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8917     conftest$ac_exeext conftest.$ac_ext
   8918 fi
   8919 
   8920 
   8921 		CFLAGS="$xorg_testset_save_CFLAGS"
   8922 
   8923 		eval supported=\$$cacheid
   8924 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8925 printf "%s\n" "$supported" >&6; }
   8926 		if test "$supported" = "yes" ; then
   8927 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8928 			found="yes"
   8929 		fi
   8930 	fi
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 xorg_testset_save_CFLAGS="$CFLAGS"
   8947 
   8948 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8949 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8950 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8951 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8952 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8953 then :
   8954   printf %s "(cached) " >&6
   8955 else $as_nop
   8956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8957 /* end confdefs.h.  */
   8958 int i;
   8959 _ACEOF
   8960 if ac_fn_c_try_compile "$LINENO"
   8961 then :
   8962   xorg_cv_cc_flag_unknown_warning_option=yes
   8963 else $as_nop
   8964   xorg_cv_cc_flag_unknown_warning_option=no
   8965 fi
   8966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8967 fi
   8968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8969 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8971 	CFLAGS="$xorg_testset_save_CFLAGS"
   8972 fi
   8973 
   8974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8977 	fi
   8978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8980 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8981 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8982 then :
   8983   printf %s "(cached) " >&6
   8984 else $as_nop
   8985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8986 /* end confdefs.h.  */
   8987 int i;
   8988 _ACEOF
   8989 if ac_fn_c_try_compile "$LINENO"
   8990 then :
   8991   xorg_cv_cc_flag_unused_command_line_argument=yes
   8992 else $as_nop
   8993   xorg_cv_cc_flag_unused_command_line_argument=no
   8994 fi
   8995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8996 fi
   8997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8998 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8999 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9000 	CFLAGS="$xorg_testset_save_CFLAGS"
   9001 fi
   9002 
   9003 found="no"
   9004 
   9005 	if test $found = "no" ; then
   9006 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9007 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9008 		fi
   9009 
   9010 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9011 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9012 		fi
   9013 
   9014 		CFLAGS="$CFLAGS -Wnonnull"
   9015 
   9016 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9017 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9018 		cacheid=xorg_cv_cc_flag__Wnonnull
   9019 		if eval test \${$cacheid+y}
   9020 then :
   9021   printf %s "(cached) " >&6
   9022 else $as_nop
   9023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9024 /* end confdefs.h.  */
   9025 int i;
   9026 int
   9027 main (void)
   9028 {
   9029 
   9030   ;
   9031   return 0;
   9032 }
   9033 _ACEOF
   9034 if ac_fn_c_try_link "$LINENO"
   9035 then :
   9036   eval $cacheid=yes
   9037 else $as_nop
   9038   eval $cacheid=no
   9039 fi
   9040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9041     conftest$ac_exeext conftest.$ac_ext
   9042 fi
   9043 
   9044 
   9045 		CFLAGS="$xorg_testset_save_CFLAGS"
   9046 
   9047 		eval supported=\$$cacheid
   9048 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9049 printf "%s\n" "$supported" >&6; }
   9050 		if test "$supported" = "yes" ; then
   9051 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9052 			found="yes"
   9053 		fi
   9054 	fi
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 xorg_testset_save_CFLAGS="$CFLAGS"
   9071 
   9072 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9073 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9074 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9075 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9076 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9077 then :
   9078   printf %s "(cached) " >&6
   9079 else $as_nop
   9080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9081 /* end confdefs.h.  */
   9082 int i;
   9083 _ACEOF
   9084 if ac_fn_c_try_compile "$LINENO"
   9085 then :
   9086   xorg_cv_cc_flag_unknown_warning_option=yes
   9087 else $as_nop
   9088   xorg_cv_cc_flag_unknown_warning_option=no
   9089 fi
   9090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9091 fi
   9092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9093 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9094 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9095 	CFLAGS="$xorg_testset_save_CFLAGS"
   9096 fi
   9097 
   9098 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9099 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9100 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9101 	fi
   9102 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9103 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9104 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9105 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9106 then :
   9107   printf %s "(cached) " >&6
   9108 else $as_nop
   9109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9110 /* end confdefs.h.  */
   9111 int i;
   9112 _ACEOF
   9113 if ac_fn_c_try_compile "$LINENO"
   9114 then :
   9115   xorg_cv_cc_flag_unused_command_line_argument=yes
   9116 else $as_nop
   9117   xorg_cv_cc_flag_unused_command_line_argument=no
   9118 fi
   9119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9120 fi
   9121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9122 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9123 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9124 	CFLAGS="$xorg_testset_save_CFLAGS"
   9125 fi
   9126 
   9127 found="no"
   9128 
   9129 	if test $found = "no" ; then
   9130 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9132 		fi
   9133 
   9134 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9136 		fi
   9137 
   9138 		CFLAGS="$CFLAGS -Winit-self"
   9139 
   9140 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9141 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9142 		cacheid=xorg_cv_cc_flag__Winit_self
   9143 		if eval test \${$cacheid+y}
   9144 then :
   9145   printf %s "(cached) " >&6
   9146 else $as_nop
   9147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9148 /* end confdefs.h.  */
   9149 int i;
   9150 int
   9151 main (void)
   9152 {
   9153 
   9154   ;
   9155   return 0;
   9156 }
   9157 _ACEOF
   9158 if ac_fn_c_try_link "$LINENO"
   9159 then :
   9160   eval $cacheid=yes
   9161 else $as_nop
   9162   eval $cacheid=no
   9163 fi
   9164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9165     conftest$ac_exeext conftest.$ac_ext
   9166 fi
   9167 
   9168 
   9169 		CFLAGS="$xorg_testset_save_CFLAGS"
   9170 
   9171 		eval supported=\$$cacheid
   9172 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9173 printf "%s\n" "$supported" >&6; }
   9174 		if test "$supported" = "yes" ; then
   9175 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9176 			found="yes"
   9177 		fi
   9178 	fi
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 xorg_testset_save_CFLAGS="$CFLAGS"
   9195 
   9196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9199 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9200 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9201 then :
   9202   printf %s "(cached) " >&6
   9203 else $as_nop
   9204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 int i;
   9207 _ACEOF
   9208 if ac_fn_c_try_compile "$LINENO"
   9209 then :
   9210   xorg_cv_cc_flag_unknown_warning_option=yes
   9211 else $as_nop
   9212   xorg_cv_cc_flag_unknown_warning_option=no
   9213 fi
   9214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9215 fi
   9216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9217 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9218 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9219 	CFLAGS="$xorg_testset_save_CFLAGS"
   9220 fi
   9221 
   9222 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9223 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9224 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9225 	fi
   9226 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9227 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9228 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9229 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9230 then :
   9231   printf %s "(cached) " >&6
   9232 else $as_nop
   9233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9234 /* end confdefs.h.  */
   9235 int i;
   9236 _ACEOF
   9237 if ac_fn_c_try_compile "$LINENO"
   9238 then :
   9239   xorg_cv_cc_flag_unused_command_line_argument=yes
   9240 else $as_nop
   9241   xorg_cv_cc_flag_unused_command_line_argument=no
   9242 fi
   9243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9244 fi
   9245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9246 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9247 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9248 	CFLAGS="$xorg_testset_save_CFLAGS"
   9249 fi
   9250 
   9251 found="no"
   9252 
   9253 	if test $found = "no" ; then
   9254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9256 		fi
   9257 
   9258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9260 		fi
   9261 
   9262 		CFLAGS="$CFLAGS -Wmain"
   9263 
   9264 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9265 printf %s "checking if $CC supports -Wmain... " >&6; }
   9266 		cacheid=xorg_cv_cc_flag__Wmain
   9267 		if eval test \${$cacheid+y}
   9268 then :
   9269   printf %s "(cached) " >&6
   9270 else $as_nop
   9271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9272 /* end confdefs.h.  */
   9273 int i;
   9274 int
   9275 main (void)
   9276 {
   9277 
   9278   ;
   9279   return 0;
   9280 }
   9281 _ACEOF
   9282 if ac_fn_c_try_link "$LINENO"
   9283 then :
   9284   eval $cacheid=yes
   9285 else $as_nop
   9286   eval $cacheid=no
   9287 fi
   9288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9289     conftest$ac_exeext conftest.$ac_ext
   9290 fi
   9291 
   9292 
   9293 		CFLAGS="$xorg_testset_save_CFLAGS"
   9294 
   9295 		eval supported=\$$cacheid
   9296 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9297 printf "%s\n" "$supported" >&6; }
   9298 		if test "$supported" = "yes" ; then
   9299 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9300 			found="yes"
   9301 		fi
   9302 	fi
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 xorg_testset_save_CFLAGS="$CFLAGS"
   9319 
   9320 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9321 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9322 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9323 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9324 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9325 then :
   9326   printf %s "(cached) " >&6
   9327 else $as_nop
   9328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9329 /* end confdefs.h.  */
   9330 int i;
   9331 _ACEOF
   9332 if ac_fn_c_try_compile "$LINENO"
   9333 then :
   9334   xorg_cv_cc_flag_unknown_warning_option=yes
   9335 else $as_nop
   9336   xorg_cv_cc_flag_unknown_warning_option=no
   9337 fi
   9338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9339 fi
   9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9341 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9342 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9343 	CFLAGS="$xorg_testset_save_CFLAGS"
   9344 fi
   9345 
   9346 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9347 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9348 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9349 	fi
   9350 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9351 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9352 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9353 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9354 then :
   9355   printf %s "(cached) " >&6
   9356 else $as_nop
   9357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9358 /* end confdefs.h.  */
   9359 int i;
   9360 _ACEOF
   9361 if ac_fn_c_try_compile "$LINENO"
   9362 then :
   9363   xorg_cv_cc_flag_unused_command_line_argument=yes
   9364 else $as_nop
   9365   xorg_cv_cc_flag_unused_command_line_argument=no
   9366 fi
   9367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9368 fi
   9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9370 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9372 	CFLAGS="$xorg_testset_save_CFLAGS"
   9373 fi
   9374 
   9375 found="no"
   9376 
   9377 	if test $found = "no" ; then
   9378 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9380 		fi
   9381 
   9382 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9384 		fi
   9385 
   9386 		CFLAGS="$CFLAGS -Wmissing-braces"
   9387 
   9388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9389 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9390 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9391 		if eval test \${$cacheid+y}
   9392 then :
   9393   printf %s "(cached) " >&6
   9394 else $as_nop
   9395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9396 /* end confdefs.h.  */
   9397 int i;
   9398 int
   9399 main (void)
   9400 {
   9401 
   9402   ;
   9403   return 0;
   9404 }
   9405 _ACEOF
   9406 if ac_fn_c_try_link "$LINENO"
   9407 then :
   9408   eval $cacheid=yes
   9409 else $as_nop
   9410   eval $cacheid=no
   9411 fi
   9412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9413     conftest$ac_exeext conftest.$ac_ext
   9414 fi
   9415 
   9416 
   9417 		CFLAGS="$xorg_testset_save_CFLAGS"
   9418 
   9419 		eval supported=\$$cacheid
   9420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9421 printf "%s\n" "$supported" >&6; }
   9422 		if test "$supported" = "yes" ; then
   9423 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9424 			found="yes"
   9425 		fi
   9426 	fi
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 xorg_testset_save_CFLAGS="$CFLAGS"
   9443 
   9444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9446 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9447 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9448 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9449 then :
   9450   printf %s "(cached) " >&6
   9451 else $as_nop
   9452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9453 /* end confdefs.h.  */
   9454 int i;
   9455 _ACEOF
   9456 if ac_fn_c_try_compile "$LINENO"
   9457 then :
   9458   xorg_cv_cc_flag_unknown_warning_option=yes
   9459 else $as_nop
   9460   xorg_cv_cc_flag_unknown_warning_option=no
   9461 fi
   9462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9463 fi
   9464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9465 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9467 	CFLAGS="$xorg_testset_save_CFLAGS"
   9468 fi
   9469 
   9470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9473 	fi
   9474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9476 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9477 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9478 then :
   9479   printf %s "(cached) " >&6
   9480 else $as_nop
   9481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9482 /* end confdefs.h.  */
   9483 int i;
   9484 _ACEOF
   9485 if ac_fn_c_try_compile "$LINENO"
   9486 then :
   9487   xorg_cv_cc_flag_unused_command_line_argument=yes
   9488 else $as_nop
   9489   xorg_cv_cc_flag_unused_command_line_argument=no
   9490 fi
   9491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9492 fi
   9493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9494 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9495 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9496 	CFLAGS="$xorg_testset_save_CFLAGS"
   9497 fi
   9498 
   9499 found="no"
   9500 
   9501 	if test $found = "no" ; then
   9502 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9504 		fi
   9505 
   9506 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9508 		fi
   9509 
   9510 		CFLAGS="$CFLAGS -Wsequence-point"
   9511 
   9512 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9513 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9514 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9515 		if eval test \${$cacheid+y}
   9516 then :
   9517   printf %s "(cached) " >&6
   9518 else $as_nop
   9519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9520 /* end confdefs.h.  */
   9521 int i;
   9522 int
   9523 main (void)
   9524 {
   9525 
   9526   ;
   9527   return 0;
   9528 }
   9529 _ACEOF
   9530 if ac_fn_c_try_link "$LINENO"
   9531 then :
   9532   eval $cacheid=yes
   9533 else $as_nop
   9534   eval $cacheid=no
   9535 fi
   9536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9537     conftest$ac_exeext conftest.$ac_ext
   9538 fi
   9539 
   9540 
   9541 		CFLAGS="$xorg_testset_save_CFLAGS"
   9542 
   9543 		eval supported=\$$cacheid
   9544 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9545 printf "%s\n" "$supported" >&6; }
   9546 		if test "$supported" = "yes" ; then
   9547 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9548 			found="yes"
   9549 		fi
   9550 	fi
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 xorg_testset_save_CFLAGS="$CFLAGS"
   9567 
   9568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9569 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9570 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9571 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9572 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9573 then :
   9574   printf %s "(cached) " >&6
   9575 else $as_nop
   9576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9577 /* end confdefs.h.  */
   9578 int i;
   9579 _ACEOF
   9580 if ac_fn_c_try_compile "$LINENO"
   9581 then :
   9582   xorg_cv_cc_flag_unknown_warning_option=yes
   9583 else $as_nop
   9584   xorg_cv_cc_flag_unknown_warning_option=no
   9585 fi
   9586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9587 fi
   9588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9589 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9591 	CFLAGS="$xorg_testset_save_CFLAGS"
   9592 fi
   9593 
   9594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9597 	fi
   9598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9600 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9601 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9602 then :
   9603   printf %s "(cached) " >&6
   9604 else $as_nop
   9605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9606 /* end confdefs.h.  */
   9607 int i;
   9608 _ACEOF
   9609 if ac_fn_c_try_compile "$LINENO"
   9610 then :
   9611   xorg_cv_cc_flag_unused_command_line_argument=yes
   9612 else $as_nop
   9613   xorg_cv_cc_flag_unused_command_line_argument=no
   9614 fi
   9615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9616 fi
   9617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9618 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9620 	CFLAGS="$xorg_testset_save_CFLAGS"
   9621 fi
   9622 
   9623 found="no"
   9624 
   9625 	if test $found = "no" ; then
   9626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9628 		fi
   9629 
   9630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9632 		fi
   9633 
   9634 		CFLAGS="$CFLAGS -Wreturn-type"
   9635 
   9636 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9637 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9638 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9639 		if eval test \${$cacheid+y}
   9640 then :
   9641   printf %s "(cached) " >&6
   9642 else $as_nop
   9643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9644 /* end confdefs.h.  */
   9645 int i;
   9646 int
   9647 main (void)
   9648 {
   9649 
   9650   ;
   9651   return 0;
   9652 }
   9653 _ACEOF
   9654 if ac_fn_c_try_link "$LINENO"
   9655 then :
   9656   eval $cacheid=yes
   9657 else $as_nop
   9658   eval $cacheid=no
   9659 fi
   9660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9661     conftest$ac_exeext conftest.$ac_ext
   9662 fi
   9663 
   9664 
   9665 		CFLAGS="$xorg_testset_save_CFLAGS"
   9666 
   9667 		eval supported=\$$cacheid
   9668 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9669 printf "%s\n" "$supported" >&6; }
   9670 		if test "$supported" = "yes" ; then
   9671 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9672 			found="yes"
   9673 		fi
   9674 	fi
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 xorg_testset_save_CFLAGS="$CFLAGS"
   9691 
   9692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9694 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9695 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9696 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9697 then :
   9698   printf %s "(cached) " >&6
   9699 else $as_nop
   9700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9701 /* end confdefs.h.  */
   9702 int i;
   9703 _ACEOF
   9704 if ac_fn_c_try_compile "$LINENO"
   9705 then :
   9706   xorg_cv_cc_flag_unknown_warning_option=yes
   9707 else $as_nop
   9708   xorg_cv_cc_flag_unknown_warning_option=no
   9709 fi
   9710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9711 fi
   9712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9713 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9715 	CFLAGS="$xorg_testset_save_CFLAGS"
   9716 fi
   9717 
   9718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9721 	fi
   9722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9723 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9724 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9725 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9726 then :
   9727   printf %s "(cached) " >&6
   9728 else $as_nop
   9729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9730 /* end confdefs.h.  */
   9731 int i;
   9732 _ACEOF
   9733 if ac_fn_c_try_compile "$LINENO"
   9734 then :
   9735   xorg_cv_cc_flag_unused_command_line_argument=yes
   9736 else $as_nop
   9737   xorg_cv_cc_flag_unused_command_line_argument=no
   9738 fi
   9739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9740 fi
   9741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9742 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9744 	CFLAGS="$xorg_testset_save_CFLAGS"
   9745 fi
   9746 
   9747 found="no"
   9748 
   9749 	if test $found = "no" ; then
   9750 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9752 		fi
   9753 
   9754 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9756 		fi
   9757 
   9758 		CFLAGS="$CFLAGS -Wtrigraphs"
   9759 
   9760 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9761 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9762 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9763 		if eval test \${$cacheid+y}
   9764 then :
   9765   printf %s "(cached) " >&6
   9766 else $as_nop
   9767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9768 /* end confdefs.h.  */
   9769 int i;
   9770 int
   9771 main (void)
   9772 {
   9773 
   9774   ;
   9775   return 0;
   9776 }
   9777 _ACEOF
   9778 if ac_fn_c_try_link "$LINENO"
   9779 then :
   9780   eval $cacheid=yes
   9781 else $as_nop
   9782   eval $cacheid=no
   9783 fi
   9784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9785     conftest$ac_exeext conftest.$ac_ext
   9786 fi
   9787 
   9788 
   9789 		CFLAGS="$xorg_testset_save_CFLAGS"
   9790 
   9791 		eval supported=\$$cacheid
   9792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9793 printf "%s\n" "$supported" >&6; }
   9794 		if test "$supported" = "yes" ; then
   9795 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9796 			found="yes"
   9797 		fi
   9798 	fi
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 xorg_testset_save_CFLAGS="$CFLAGS"
   9815 
   9816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9819 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9820 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9821 then :
   9822   printf %s "(cached) " >&6
   9823 else $as_nop
   9824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9825 /* end confdefs.h.  */
   9826 int i;
   9827 _ACEOF
   9828 if ac_fn_c_try_compile "$LINENO"
   9829 then :
   9830   xorg_cv_cc_flag_unknown_warning_option=yes
   9831 else $as_nop
   9832   xorg_cv_cc_flag_unknown_warning_option=no
   9833 fi
   9834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9835 fi
   9836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9837 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9838 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9839 	CFLAGS="$xorg_testset_save_CFLAGS"
   9840 fi
   9841 
   9842 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9843 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9844 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9845 	fi
   9846 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9847 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9848 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9849 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9850 then :
   9851   printf %s "(cached) " >&6
   9852 else $as_nop
   9853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9854 /* end confdefs.h.  */
   9855 int i;
   9856 _ACEOF
   9857 if ac_fn_c_try_compile "$LINENO"
   9858 then :
   9859   xorg_cv_cc_flag_unused_command_line_argument=yes
   9860 else $as_nop
   9861   xorg_cv_cc_flag_unused_command_line_argument=no
   9862 fi
   9863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9864 fi
   9865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9866 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9867 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9868 	CFLAGS="$xorg_testset_save_CFLAGS"
   9869 fi
   9870 
   9871 found="no"
   9872 
   9873 	if test $found = "no" ; then
   9874 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9875 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9876 		fi
   9877 
   9878 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9879 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9880 		fi
   9881 
   9882 		CFLAGS="$CFLAGS -Warray-bounds"
   9883 
   9884 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9885 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9886 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9887 		if eval test \${$cacheid+y}
   9888 then :
   9889   printf %s "(cached) " >&6
   9890 else $as_nop
   9891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9892 /* end confdefs.h.  */
   9893 int i;
   9894 int
   9895 main (void)
   9896 {
   9897 
   9898   ;
   9899   return 0;
   9900 }
   9901 _ACEOF
   9902 if ac_fn_c_try_link "$LINENO"
   9903 then :
   9904   eval $cacheid=yes
   9905 else $as_nop
   9906   eval $cacheid=no
   9907 fi
   9908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9909     conftest$ac_exeext conftest.$ac_ext
   9910 fi
   9911 
   9912 
   9913 		CFLAGS="$xorg_testset_save_CFLAGS"
   9914 
   9915 		eval supported=\$$cacheid
   9916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9917 printf "%s\n" "$supported" >&6; }
   9918 		if test "$supported" = "yes" ; then
   9919 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9920 			found="yes"
   9921 		fi
   9922 	fi
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 xorg_testset_save_CFLAGS="$CFLAGS"
   9939 
   9940 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9941 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9942 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9943 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9944 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9945 then :
   9946   printf %s "(cached) " >&6
   9947 else $as_nop
   9948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9949 /* end confdefs.h.  */
   9950 int i;
   9951 _ACEOF
   9952 if ac_fn_c_try_compile "$LINENO"
   9953 then :
   9954   xorg_cv_cc_flag_unknown_warning_option=yes
   9955 else $as_nop
   9956   xorg_cv_cc_flag_unknown_warning_option=no
   9957 fi
   9958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9959 fi
   9960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9961 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9963 	CFLAGS="$xorg_testset_save_CFLAGS"
   9964 fi
   9965 
   9966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9969 	fi
   9970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9972 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9973 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9974 then :
   9975   printf %s "(cached) " >&6
   9976 else $as_nop
   9977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9978 /* end confdefs.h.  */
   9979 int i;
   9980 _ACEOF
   9981 if ac_fn_c_try_compile "$LINENO"
   9982 then :
   9983   xorg_cv_cc_flag_unused_command_line_argument=yes
   9984 else $as_nop
   9985   xorg_cv_cc_flag_unused_command_line_argument=no
   9986 fi
   9987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9988 fi
   9989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9990 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9992 	CFLAGS="$xorg_testset_save_CFLAGS"
   9993 fi
   9994 
   9995 found="no"
   9996 
   9997 	if test $found = "no" ; then
   9998 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10000 		fi
   10001 
   10002 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10004 		fi
   10005 
   10006 		CFLAGS="$CFLAGS -Wwrite-strings"
   10007 
   10008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10009 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10010 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10011 		if eval test \${$cacheid+y}
   10012 then :
   10013   printf %s "(cached) " >&6
   10014 else $as_nop
   10015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10016 /* end confdefs.h.  */
   10017 int i;
   10018 int
   10019 main (void)
   10020 {
   10021 
   10022   ;
   10023   return 0;
   10024 }
   10025 _ACEOF
   10026 if ac_fn_c_try_link "$LINENO"
   10027 then :
   10028   eval $cacheid=yes
   10029 else $as_nop
   10030   eval $cacheid=no
   10031 fi
   10032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10033     conftest$ac_exeext conftest.$ac_ext
   10034 fi
   10035 
   10036 
   10037 		CFLAGS="$xorg_testset_save_CFLAGS"
   10038 
   10039 		eval supported=\$$cacheid
   10040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10041 printf "%s\n" "$supported" >&6; }
   10042 		if test "$supported" = "yes" ; then
   10043 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10044 			found="yes"
   10045 		fi
   10046 	fi
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 xorg_testset_save_CFLAGS="$CFLAGS"
   10063 
   10064 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10065 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10066 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10067 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10068 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10069 then :
   10070   printf %s "(cached) " >&6
   10071 else $as_nop
   10072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10073 /* end confdefs.h.  */
   10074 int i;
   10075 _ACEOF
   10076 if ac_fn_c_try_compile "$LINENO"
   10077 then :
   10078   xorg_cv_cc_flag_unknown_warning_option=yes
   10079 else $as_nop
   10080   xorg_cv_cc_flag_unknown_warning_option=no
   10081 fi
   10082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10083 fi
   10084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10085 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10086 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10087 	CFLAGS="$xorg_testset_save_CFLAGS"
   10088 fi
   10089 
   10090 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10091 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10092 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10093 	fi
   10094 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10095 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10096 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10097 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10098 then :
   10099   printf %s "(cached) " >&6
   10100 else $as_nop
   10101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10102 /* end confdefs.h.  */
   10103 int i;
   10104 _ACEOF
   10105 if ac_fn_c_try_compile "$LINENO"
   10106 then :
   10107   xorg_cv_cc_flag_unused_command_line_argument=yes
   10108 else $as_nop
   10109   xorg_cv_cc_flag_unused_command_line_argument=no
   10110 fi
   10111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10112 fi
   10113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10114 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10115 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10116 	CFLAGS="$xorg_testset_save_CFLAGS"
   10117 fi
   10118 
   10119 found="no"
   10120 
   10121 	if test $found = "no" ; then
   10122 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10124 		fi
   10125 
   10126 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10128 		fi
   10129 
   10130 		CFLAGS="$CFLAGS -Waddress"
   10131 
   10132 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10133 printf %s "checking if $CC supports -Waddress... " >&6; }
   10134 		cacheid=xorg_cv_cc_flag__Waddress
   10135 		if eval test \${$cacheid+y}
   10136 then :
   10137   printf %s "(cached) " >&6
   10138 else $as_nop
   10139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10140 /* end confdefs.h.  */
   10141 int i;
   10142 int
   10143 main (void)
   10144 {
   10145 
   10146   ;
   10147   return 0;
   10148 }
   10149 _ACEOF
   10150 if ac_fn_c_try_link "$LINENO"
   10151 then :
   10152   eval $cacheid=yes
   10153 else $as_nop
   10154   eval $cacheid=no
   10155 fi
   10156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10157     conftest$ac_exeext conftest.$ac_ext
   10158 fi
   10159 
   10160 
   10161 		CFLAGS="$xorg_testset_save_CFLAGS"
   10162 
   10163 		eval supported=\$$cacheid
   10164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10165 printf "%s\n" "$supported" >&6; }
   10166 		if test "$supported" = "yes" ; then
   10167 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10168 			found="yes"
   10169 		fi
   10170 	fi
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 xorg_testset_save_CFLAGS="$CFLAGS"
   10187 
   10188 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10189 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10190 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10191 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10192 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10193 then :
   10194   printf %s "(cached) " >&6
   10195 else $as_nop
   10196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10197 /* end confdefs.h.  */
   10198 int i;
   10199 _ACEOF
   10200 if ac_fn_c_try_compile "$LINENO"
   10201 then :
   10202   xorg_cv_cc_flag_unknown_warning_option=yes
   10203 else $as_nop
   10204   xorg_cv_cc_flag_unknown_warning_option=no
   10205 fi
   10206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10207 fi
   10208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10209 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10210 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10211 	CFLAGS="$xorg_testset_save_CFLAGS"
   10212 fi
   10213 
   10214 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10215 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10216 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10217 	fi
   10218 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10219 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10220 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10221 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10222 then :
   10223   printf %s "(cached) " >&6
   10224 else $as_nop
   10225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10226 /* end confdefs.h.  */
   10227 int i;
   10228 _ACEOF
   10229 if ac_fn_c_try_compile "$LINENO"
   10230 then :
   10231   xorg_cv_cc_flag_unused_command_line_argument=yes
   10232 else $as_nop
   10233   xorg_cv_cc_flag_unused_command_line_argument=no
   10234 fi
   10235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10236 fi
   10237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10238 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10239 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10240 	CFLAGS="$xorg_testset_save_CFLAGS"
   10241 fi
   10242 
   10243 found="no"
   10244 
   10245 	if test $found = "no" ; then
   10246 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10248 		fi
   10249 
   10250 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10252 		fi
   10253 
   10254 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10255 
   10256 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10257 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10258 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10259 		if eval test \${$cacheid+y}
   10260 then :
   10261   printf %s "(cached) " >&6
   10262 else $as_nop
   10263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10264 /* end confdefs.h.  */
   10265 int i;
   10266 int
   10267 main (void)
   10268 {
   10269 
   10270   ;
   10271   return 0;
   10272 }
   10273 _ACEOF
   10274 if ac_fn_c_try_link "$LINENO"
   10275 then :
   10276   eval $cacheid=yes
   10277 else $as_nop
   10278   eval $cacheid=no
   10279 fi
   10280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10281     conftest$ac_exeext conftest.$ac_ext
   10282 fi
   10283 
   10284 
   10285 		CFLAGS="$xorg_testset_save_CFLAGS"
   10286 
   10287 		eval supported=\$$cacheid
   10288 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10289 printf "%s\n" "$supported" >&6; }
   10290 		if test "$supported" = "yes" ; then
   10291 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10292 			found="yes"
   10293 		fi
   10294 	fi
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 xorg_testset_save_CFLAGS="$CFLAGS"
   10311 
   10312 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10313 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10314 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10315 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10316 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10317 then :
   10318   printf %s "(cached) " >&6
   10319 else $as_nop
   10320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10321 /* end confdefs.h.  */
   10322 int i;
   10323 _ACEOF
   10324 if ac_fn_c_try_compile "$LINENO"
   10325 then :
   10326   xorg_cv_cc_flag_unknown_warning_option=yes
   10327 else $as_nop
   10328   xorg_cv_cc_flag_unknown_warning_option=no
   10329 fi
   10330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10331 fi
   10332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10333 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10334 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10335 	CFLAGS="$xorg_testset_save_CFLAGS"
   10336 fi
   10337 
   10338 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10339 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10340 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10341 	fi
   10342 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10343 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10344 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10345 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10346 then :
   10347   printf %s "(cached) " >&6
   10348 else $as_nop
   10349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10350 /* end confdefs.h.  */
   10351 int i;
   10352 _ACEOF
   10353 if ac_fn_c_try_compile "$LINENO"
   10354 then :
   10355   xorg_cv_cc_flag_unused_command_line_argument=yes
   10356 else $as_nop
   10357   xorg_cv_cc_flag_unused_command_line_argument=no
   10358 fi
   10359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10360 fi
   10361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10362 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10363 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10364 	CFLAGS="$xorg_testset_save_CFLAGS"
   10365 fi
   10366 
   10367 found="no"
   10368 
   10369 	if test $found = "no" ; then
   10370 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10371 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10372 		fi
   10373 
   10374 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10375 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10376 		fi
   10377 
   10378 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10379 
   10380 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10381 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10382 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10383 		if eval test \${$cacheid+y}
   10384 then :
   10385   printf %s "(cached) " >&6
   10386 else $as_nop
   10387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10388 /* end confdefs.h.  */
   10389 int i;
   10390 int
   10391 main (void)
   10392 {
   10393 
   10394   ;
   10395   return 0;
   10396 }
   10397 _ACEOF
   10398 if ac_fn_c_try_link "$LINENO"
   10399 then :
   10400   eval $cacheid=yes
   10401 else $as_nop
   10402   eval $cacheid=no
   10403 fi
   10404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10405     conftest$ac_exeext conftest.$ac_ext
   10406 fi
   10407 
   10408 
   10409 		CFLAGS="$xorg_testset_save_CFLAGS"
   10410 
   10411 		eval supported=\$$cacheid
   10412 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10413 printf "%s\n" "$supported" >&6; }
   10414 		if test "$supported" = "yes" ; then
   10415 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10416 			found="yes"
   10417 		fi
   10418 	fi
   10419 
   10420 
   10421 fi
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 		CWARNFLAGS="$BASE_CFLAGS"
   10430 		if  test "x$GCC" = xyes ; then
   10431 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10432 		fi
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 # Check whether --enable-strict-compilation was given.
   10442 if test ${enable_strict_compilation+y}
   10443 then :
   10444   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10445 else $as_nop
   10446   STRICT_COMPILE=no
   10447 fi
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 STRICT_CFLAGS=""
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 xorg_testset_save_CFLAGS="$CFLAGS"
   10469 
   10470 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10471 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10472 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10473 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10474 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10475 then :
   10476   printf %s "(cached) " >&6
   10477 else $as_nop
   10478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10479 /* end confdefs.h.  */
   10480 int i;
   10481 _ACEOF
   10482 if ac_fn_c_try_compile "$LINENO"
   10483 then :
   10484   xorg_cv_cc_flag_unknown_warning_option=yes
   10485 else $as_nop
   10486   xorg_cv_cc_flag_unknown_warning_option=no
   10487 fi
   10488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10489 fi
   10490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10491 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10492 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10493 	CFLAGS="$xorg_testset_save_CFLAGS"
   10494 fi
   10495 
   10496 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10497 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10498 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10499 	fi
   10500 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10501 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10502 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10503 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10504 then :
   10505   printf %s "(cached) " >&6
   10506 else $as_nop
   10507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10508 /* end confdefs.h.  */
   10509 int i;
   10510 _ACEOF
   10511 if ac_fn_c_try_compile "$LINENO"
   10512 then :
   10513   xorg_cv_cc_flag_unused_command_line_argument=yes
   10514 else $as_nop
   10515   xorg_cv_cc_flag_unused_command_line_argument=no
   10516 fi
   10517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10518 fi
   10519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10520 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10521 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10522 	CFLAGS="$xorg_testset_save_CFLAGS"
   10523 fi
   10524 
   10525 found="no"
   10526 
   10527 	if test $found = "no" ; then
   10528 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10529 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10530 		fi
   10531 
   10532 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10533 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10534 		fi
   10535 
   10536 		CFLAGS="$CFLAGS -pedantic"
   10537 
   10538 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10539 printf %s "checking if $CC supports -pedantic... " >&6; }
   10540 		cacheid=xorg_cv_cc_flag__pedantic
   10541 		if eval test \${$cacheid+y}
   10542 then :
   10543   printf %s "(cached) " >&6
   10544 else $as_nop
   10545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10546 /* end confdefs.h.  */
   10547 int i;
   10548 int
   10549 main (void)
   10550 {
   10551 
   10552   ;
   10553   return 0;
   10554 }
   10555 _ACEOF
   10556 if ac_fn_c_try_link "$LINENO"
   10557 then :
   10558   eval $cacheid=yes
   10559 else $as_nop
   10560   eval $cacheid=no
   10561 fi
   10562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10563     conftest$ac_exeext conftest.$ac_ext
   10564 fi
   10565 
   10566 
   10567 		CFLAGS="$xorg_testset_save_CFLAGS"
   10568 
   10569 		eval supported=\$$cacheid
   10570 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10571 printf "%s\n" "$supported" >&6; }
   10572 		if test "$supported" = "yes" ; then
   10573 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10574 			found="yes"
   10575 		fi
   10576 	fi
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 xorg_testset_save_CFLAGS="$CFLAGS"
   10593 
   10594 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10595 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10596 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10597 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10598 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10599 then :
   10600   printf %s "(cached) " >&6
   10601 else $as_nop
   10602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10603 /* end confdefs.h.  */
   10604 int i;
   10605 _ACEOF
   10606 if ac_fn_c_try_compile "$LINENO"
   10607 then :
   10608   xorg_cv_cc_flag_unknown_warning_option=yes
   10609 else $as_nop
   10610   xorg_cv_cc_flag_unknown_warning_option=no
   10611 fi
   10612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10613 fi
   10614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10615 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10616 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10617 	CFLAGS="$xorg_testset_save_CFLAGS"
   10618 fi
   10619 
   10620 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10621 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10622 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10623 	fi
   10624 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10626 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10627 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10628 then :
   10629   printf %s "(cached) " >&6
   10630 else $as_nop
   10631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10632 /* end confdefs.h.  */
   10633 int i;
   10634 _ACEOF
   10635 if ac_fn_c_try_compile "$LINENO"
   10636 then :
   10637   xorg_cv_cc_flag_unused_command_line_argument=yes
   10638 else $as_nop
   10639   xorg_cv_cc_flag_unused_command_line_argument=no
   10640 fi
   10641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10642 fi
   10643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10644 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10645 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10646 	CFLAGS="$xorg_testset_save_CFLAGS"
   10647 fi
   10648 
   10649 found="no"
   10650 
   10651 	if test $found = "no" ; then
   10652 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10654 		fi
   10655 
   10656 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10658 		fi
   10659 
   10660 		CFLAGS="$CFLAGS -Werror"
   10661 
   10662 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10663 printf %s "checking if $CC supports -Werror... " >&6; }
   10664 		cacheid=xorg_cv_cc_flag__Werror
   10665 		if eval test \${$cacheid+y}
   10666 then :
   10667   printf %s "(cached) " >&6
   10668 else $as_nop
   10669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10670 /* end confdefs.h.  */
   10671 int i;
   10672 int
   10673 main (void)
   10674 {
   10675 
   10676   ;
   10677   return 0;
   10678 }
   10679 _ACEOF
   10680 if ac_fn_c_try_link "$LINENO"
   10681 then :
   10682   eval $cacheid=yes
   10683 else $as_nop
   10684   eval $cacheid=no
   10685 fi
   10686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10687     conftest$ac_exeext conftest.$ac_ext
   10688 fi
   10689 
   10690 
   10691 		CFLAGS="$xorg_testset_save_CFLAGS"
   10692 
   10693 		eval supported=\$$cacheid
   10694 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10695 printf "%s\n" "$supported" >&6; }
   10696 		if test "$supported" = "yes" ; then
   10697 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10698 			found="yes"
   10699 		fi
   10700 	fi
   10701 
   10702 	if test $found = "no" ; then
   10703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10705 		fi
   10706 
   10707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10709 		fi
   10710 
   10711 		CFLAGS="$CFLAGS -errwarn"
   10712 
   10713 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10714 printf %s "checking if $CC supports -errwarn... " >&6; }
   10715 		cacheid=xorg_cv_cc_flag__errwarn
   10716 		if eval test \${$cacheid+y}
   10717 then :
   10718   printf %s "(cached) " >&6
   10719 else $as_nop
   10720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10721 /* end confdefs.h.  */
   10722 int i;
   10723 int
   10724 main (void)
   10725 {
   10726 
   10727   ;
   10728   return 0;
   10729 }
   10730 _ACEOF
   10731 if ac_fn_c_try_link "$LINENO"
   10732 then :
   10733   eval $cacheid=yes
   10734 else $as_nop
   10735   eval $cacheid=no
   10736 fi
   10737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10738     conftest$ac_exeext conftest.$ac_ext
   10739 fi
   10740 
   10741 
   10742 		CFLAGS="$xorg_testset_save_CFLAGS"
   10743 
   10744 		eval supported=\$$cacheid
   10745 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10746 printf "%s\n" "$supported" >&6; }
   10747 		if test "$supported" = "yes" ; then
   10748 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10749 			found="yes"
   10750 		fi
   10751 	fi
   10752 
   10753 
   10754 
   10755 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10756 # activate it with -Werror, so we add it here explicitly.
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 xorg_testset_save_CFLAGS="$CFLAGS"
   10771 
   10772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10774 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10775 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10776 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10777 then :
   10778   printf %s "(cached) " >&6
   10779 else $as_nop
   10780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10781 /* end confdefs.h.  */
   10782 int i;
   10783 _ACEOF
   10784 if ac_fn_c_try_compile "$LINENO"
   10785 then :
   10786   xorg_cv_cc_flag_unknown_warning_option=yes
   10787 else $as_nop
   10788   xorg_cv_cc_flag_unknown_warning_option=no
   10789 fi
   10790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10791 fi
   10792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10793 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10795 	CFLAGS="$xorg_testset_save_CFLAGS"
   10796 fi
   10797 
   10798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10801 	fi
   10802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10803 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10804 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10805 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10806 then :
   10807   printf %s "(cached) " >&6
   10808 else $as_nop
   10809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10810 /* end confdefs.h.  */
   10811 int i;
   10812 _ACEOF
   10813 if ac_fn_c_try_compile "$LINENO"
   10814 then :
   10815   xorg_cv_cc_flag_unused_command_line_argument=yes
   10816 else $as_nop
   10817   xorg_cv_cc_flag_unused_command_line_argument=no
   10818 fi
   10819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10820 fi
   10821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10822 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10823 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10824 	CFLAGS="$xorg_testset_save_CFLAGS"
   10825 fi
   10826 
   10827 found="no"
   10828 
   10829 	if test $found = "no" ; then
   10830 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10832 		fi
   10833 
   10834 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10836 		fi
   10837 
   10838 		CFLAGS="$CFLAGS -Werror=attributes"
   10839 
   10840 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10841 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10842 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10843 		if eval test \${$cacheid+y}
   10844 then :
   10845   printf %s "(cached) " >&6
   10846 else $as_nop
   10847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10848 /* end confdefs.h.  */
   10849 int i;
   10850 int
   10851 main (void)
   10852 {
   10853 
   10854   ;
   10855   return 0;
   10856 }
   10857 _ACEOF
   10858 if ac_fn_c_try_link "$LINENO"
   10859 then :
   10860   eval $cacheid=yes
   10861 else $as_nop
   10862   eval $cacheid=no
   10863 fi
   10864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10865     conftest$ac_exeext conftest.$ac_ext
   10866 fi
   10867 
   10868 
   10869 		CFLAGS="$xorg_testset_save_CFLAGS"
   10870 
   10871 		eval supported=\$$cacheid
   10872 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10873 printf "%s\n" "$supported" >&6; }
   10874 		if test "$supported" = "yes" ; then
   10875 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10876 			found="yes"
   10877 		fi
   10878 	fi
   10879 
   10880 
   10881 
   10882 if test "x$STRICT_COMPILE" = "xyes"; then
   10883     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10884     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10885 fi
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 cat >>confdefs.h <<_ACEOF
   10895 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10896 _ACEOF
   10897 
   10898 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10899 	if test "x$PVM" = "x"; then
   10900 		PVM="0"
   10901 	fi
   10902 
   10903 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10904 
   10905 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10906 	if test "x$PVP" = "x"; then
   10907 		PVP="0"
   10908 	fi
   10909 
   10910 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10911 
   10912 
   10913 
   10914 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10915 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10916 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10917 touch \$(top_srcdir)/ChangeLog; \
   10918 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10919 
   10920 
   10921 
   10922 
   10923 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10924 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10925 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10926 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10927 touch \$(top_srcdir)/INSTALL; \
   10928 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 case $host_os in
   10936     solaris*)
   10937         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10938         # check for a man page file found in later versions that use
   10939         # traditional section numbers instead
   10940         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10941 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10942 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   10943 then :
   10944   printf %s "(cached) " >&6
   10945 else $as_nop
   10946   test "$cross_compiling" = yes &&
   10947   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10948 if test -r "/usr/share/man/man7/attributes.7"; then
   10949   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10950 else
   10951   ac_cv_file__usr_share_man_man7_attributes_7=no
   10952 fi
   10953 fi
   10954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10955 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10956 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   10957 then :
   10958   SYSV_MAN_SECTIONS=false
   10959 else $as_nop
   10960   SYSV_MAN_SECTIONS=true
   10961 fi
   10962 
   10963         ;;
   10964     *) SYSV_MAN_SECTIONS=false ;;
   10965 esac
   10966 
   10967 if test x$APP_MAN_SUFFIX = x    ; then
   10968     APP_MAN_SUFFIX=1
   10969 fi
   10970 if test x$APP_MAN_DIR = x    ; then
   10971     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10972 fi
   10973 
   10974 if test x$LIB_MAN_SUFFIX = x    ; then
   10975     LIB_MAN_SUFFIX=3
   10976 fi
   10977 if test x$LIB_MAN_DIR = x    ; then
   10978     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10979 fi
   10980 
   10981 if test x$FILE_MAN_SUFFIX = x    ; then
   10982     case $SYSV_MAN_SECTIONS in
   10983 	true)				FILE_MAN_SUFFIX=4  ;;
   10984 	*)				FILE_MAN_SUFFIX=5  ;;
   10985     esac
   10986 fi
   10987 if test x$FILE_MAN_DIR = x    ; then
   10988     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10989 fi
   10990 
   10991 if test x$MISC_MAN_SUFFIX = x    ; then
   10992     case $SYSV_MAN_SECTIONS in
   10993 	true)				MISC_MAN_SUFFIX=5  ;;
   10994 	*)				MISC_MAN_SUFFIX=7  ;;
   10995     esac
   10996 fi
   10997 if test x$MISC_MAN_DIR = x    ; then
   10998     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10999 fi
   11000 
   11001 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11002     case $SYSV_MAN_SECTIONS in
   11003 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11004 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11005     esac
   11006 fi
   11007 if test x$DRIVER_MAN_DIR = x    ; then
   11008     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11009 fi
   11010 
   11011 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11012     case $SYSV_MAN_SECTIONS in
   11013 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11014 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11015     esac
   11016 fi
   11017 if test x$ADMIN_MAN_DIR = x    ; then
   11018     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11019 fi
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 XORG_MAN_PAGE="X Version 11"
   11036 
   11037 MAN_SUBSTS="\
   11038 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11039 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11040 	-e 's|__xservername__|Xorg|g' \
   11041 	-e 's|__xconfigfile__|xorg.conf|g' \
   11042 	-e 's|__projectroot__|\$(prefix)|g' \
   11043 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11044 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11045 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11046 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11047 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11048 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11049 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11050 
   11051 
   11052 
   11053 # Check whether --enable-silent-rules was given.
   11054 if test ${enable_silent_rules+y}
   11055 then :
   11056   enableval=$enable_silent_rules;
   11057 fi
   11058 
   11059 case $enable_silent_rules in # (((
   11060   yes) AM_DEFAULT_VERBOSITY=0;;
   11061    no) AM_DEFAULT_VERBOSITY=1;;
   11062     *) AM_DEFAULT_VERBOSITY=0;;
   11063 esac
   11064 am_make=${MAKE-make}
   11065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11066 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11067 if test ${am_cv_make_support_nested_variables+y}
   11068 then :
   11069   printf %s "(cached) " >&6
   11070 else $as_nop
   11071   if printf "%s\n" 'TRUE=$(BAR$(V))
   11072 BAR0=false
   11073 BAR1=true
   11074 V=1
   11075 am__doit:
   11076 	@$(TRUE)
   11077 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11078   am_cv_make_support_nested_variables=yes
   11079 else
   11080   am_cv_make_support_nested_variables=no
   11081 fi
   11082 fi
   11083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11084 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11085 if test $am_cv_make_support_nested_variables = yes; then
   11086     AM_V='$(V)'
   11087   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11088 else
   11089   AM_V=$AM_DEFAULT_VERBOSITY
   11090   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11091 fi
   11092 AM_BACKSLASH='\'
   11093 
   11094 
   11095 
   11096 
   11097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
   11098 printf %s "checking for root directory for font files... " >&6; }
   11099 fontrootdir='${datadir}/fonts/X11'
   11100 
   11101 # Check whether --with-fontrootdir was given.
   11102 if test ${with_fontrootdir+y}
   11103 then :
   11104   withval=$with_fontrootdir; fontrootdir="${withval}"
   11105 fi
   11106 
   11107 
   11108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${fontrootdir}" >&5
   11109 printf "%s\n" "${fontrootdir}" >&6; }
   11110 
   11111 mapdir='${fontrootdir}/util'
   11112 
   11113 # Check whether --with-mapdir was given.
   11114 if test ${with_mapdir+y}
   11115 then :
   11116   withval=$with_mapdir; mapdir="${withval}"
   11117 fi
   11118 
   11119 MAPDIR="$mapdir"
   11120 
   11121 
   11122 ac_config_files="$ac_config_files Makefile man/Makefile fontutil.m4 fontutil.pc"
   11123 
   11124 
   11125 cat >confcache <<\_ACEOF
   11126 # This file is a shell script that caches the results of configure
   11127 # tests run on this system so they can be shared between configure
   11128 # scripts and configure runs, see configure's option --config-cache.
   11129 # It is not useful on other systems.  If it contains results you don't
   11130 # want to keep, you may remove or edit it.
   11131 #
   11132 # config.status only pays attention to the cache file if you give it
   11133 # the --recheck option to rerun configure.
   11134 #
   11135 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11136 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11137 # following values.
   11138 
   11139 _ACEOF
   11140 
   11141 # The following way of writing the cache mishandles newlines in values,
   11142 # but we know of no workaround that is simple, portable, and efficient.
   11143 # So, we kill variables containing newlines.
   11144 # Ultrix sh set writes to stderr and can't be redirected directly,
   11145 # and sets the high bit in the cache file unless we assign to the vars.
   11146 (
   11147   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11148     eval ac_val=\$$ac_var
   11149     case $ac_val in #(
   11150     *${as_nl}*)
   11151       case $ac_var in #(
   11152       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11153 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11154       esac
   11155       case $ac_var in #(
   11156       _ | IFS | as_nl) ;; #(
   11157       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11158       *) { eval $ac_var=; unset $ac_var;} ;;
   11159       esac ;;
   11160     esac
   11161   done
   11162 
   11163   (set) 2>&1 |
   11164     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11165     *${as_nl}ac_space=\ *)
   11166       # `set' does not quote correctly, so add quotes: double-quote
   11167       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11168       sed -n \
   11169 	"s/'/'\\\\''/g;
   11170 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11171       ;; #(
   11172     *)
   11173       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11174       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11175       ;;
   11176     esac |
   11177     sort
   11178 ) |
   11179   sed '
   11180      /^ac_cv_env_/b end
   11181      t clear
   11182      :clear
   11183      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11184      t end
   11185      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11186      :end' >>confcache
   11187 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11188   if test -w "$cache_file"; then
   11189     if test "x$cache_file" != "x/dev/null"; then
   11190       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11191 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11192       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11193 	cat confcache >"$cache_file"
   11194       else
   11195         case $cache_file in #(
   11196         */* | ?:*)
   11197 	  mv -f confcache "$cache_file"$$ &&
   11198 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11199         *)
   11200 	  mv -f confcache "$cache_file" ;;
   11201 	esac
   11202       fi
   11203     fi
   11204   else
   11205     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11206 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11207   fi
   11208 fi
   11209 rm -f confcache
   11210 
   11211 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11212 # Let make expand exec_prefix.
   11213 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11214 
   11215 DEFS=-DHAVE_CONFIG_H
   11216 
   11217 ac_libobjs=
   11218 ac_ltlibobjs=
   11219 U=
   11220 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11221   # 1. Remove the extension, and $U if already installed.
   11222   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11223   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11224   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11225   #    will be set to the directory where LIBOBJS objects are built.
   11226   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11227   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11228 done
   11229 LIBOBJS=$ac_libobjs
   11230 
   11231 LTLIBOBJS=$ac_ltlibobjs
   11232 
   11233 
   11234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11235 printf %s "checking that generated files are newer than configure... " >&6; }
   11236    if test -n "$am_sleep_pid"; then
   11237      # Hide warnings about reused PIDs.
   11238      wait $am_sleep_pid 2>/dev/null
   11239    fi
   11240    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11241 printf "%s\n" "done" >&6; }
   11242  if test -n "$EXEEXT"; then
   11243   am__EXEEXT_TRUE=
   11244   am__EXEEXT_FALSE='#'
   11245 else
   11246   am__EXEEXT_TRUE='#'
   11247   am__EXEEXT_FALSE=
   11248 fi
   11249 
   11250 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11251   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11253 fi
   11254 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11255   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11257 fi
   11258 
   11259 : "${CONFIG_STATUS=./config.status}"
   11260 ac_write_fail=0
   11261 ac_clean_files_save=$ac_clean_files
   11262 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11264 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11265 as_write_fail=0
   11266 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11267 #! $SHELL
   11268 # Generated by $as_me.
   11269 # Run this file to recreate the current configuration.
   11270 # Compiler output produced by configure, useful for debugging
   11271 # configure, is in config.log if it exists.
   11272 
   11273 debug=false
   11274 ac_cs_recheck=false
   11275 ac_cs_silent=false
   11276 
   11277 SHELL=\${CONFIG_SHELL-$SHELL}
   11278 export SHELL
   11279 _ASEOF
   11280 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11281 ## -------------------- ##
   11282 ## M4sh Initialization. ##
   11283 ## -------------------- ##
   11284 
   11285 # Be more Bourne compatible
   11286 DUALCASE=1; export DUALCASE # for MKS sh
   11287 as_nop=:
   11288 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11289 then :
   11290   emulate sh
   11291   NULLCMD=:
   11292   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11293   # is contrary to our usage.  Disable this feature.
   11294   alias -g '${1+"$@"}'='"$@"'
   11295   setopt NO_GLOB_SUBST
   11296 else $as_nop
   11297   case `(set -o) 2>/dev/null` in #(
   11298   *posix*) :
   11299     set -o posix ;; #(
   11300   *) :
   11301      ;;
   11302 esac
   11303 fi
   11304 
   11305 
   11306 
   11307 # Reset variables that may have inherited troublesome values from
   11308 # the environment.
   11309 
   11310 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11311 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11312 # side effect of setting IFS to empty, thus disabling word splitting.)
   11313 # Quoting is to prevent editors from complaining about space-tab.
   11314 as_nl='
   11315 '
   11316 export as_nl
   11317 IFS=" ""	$as_nl"
   11318 
   11319 PS1='$ '
   11320 PS2='> '
   11321 PS4='+ '
   11322 
   11323 # Ensure predictable behavior from utilities with locale-dependent output.
   11324 LC_ALL=C
   11325 export LC_ALL
   11326 LANGUAGE=C
   11327 export LANGUAGE
   11328 
   11329 # We cannot yet rely on "unset" to work, but we need these variables
   11330 # to be unset--not just set to an empty or harmless value--now, to
   11331 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11332 # also avoids known problems related to "unset" and subshell syntax
   11333 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11334 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11335 do eval test \${$as_var+y} \
   11336   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11337 done
   11338 
   11339 # Ensure that fds 0, 1, and 2 are open.
   11340 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11341 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11342 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11343 
   11344 # The user is always right.
   11345 if ${PATH_SEPARATOR+false} :; then
   11346   PATH_SEPARATOR=:
   11347   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11348     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11349       PATH_SEPARATOR=';'
   11350   }
   11351 fi
   11352 
   11353 
   11354 # Find who we are.  Look in the path if we contain no directory separator.
   11355 as_myself=
   11356 case $0 in #((
   11357   *[\\/]* ) as_myself=$0 ;;
   11358   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11359 for as_dir in $PATH
   11360 do
   11361   IFS=$as_save_IFS
   11362   case $as_dir in #(((
   11363     '') as_dir=./ ;;
   11364     */) ;;
   11365     *) as_dir=$as_dir/ ;;
   11366   esac
   11367     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11368   done
   11369 IFS=$as_save_IFS
   11370 
   11371      ;;
   11372 esac
   11373 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11374 # in which case we are not to be found in the path.
   11375 if test "x$as_myself" = x; then
   11376   as_myself=$0
   11377 fi
   11378 if test ! -f "$as_myself"; then
   11379   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11380   exit 1
   11381 fi
   11382 
   11383 
   11384 
   11385 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11386 # ----------------------------------------
   11387 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11388 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11389 # script with STATUS, using 1 if that was 0.
   11390 as_fn_error ()
   11391 {
   11392   as_status=$1; test $as_status -eq 0 && as_status=1
   11393   if test "$4"; then
   11394     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11395     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11396   fi
   11397   printf "%s\n" "$as_me: error: $2" >&2
   11398   as_fn_exit $as_status
   11399 } # as_fn_error
   11400 
   11401 
   11402 
   11403 # as_fn_set_status STATUS
   11404 # -----------------------
   11405 # Set $? to STATUS, without forking.
   11406 as_fn_set_status ()
   11407 {
   11408   return $1
   11409 } # as_fn_set_status
   11410 
   11411 # as_fn_exit STATUS
   11412 # -----------------
   11413 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11414 as_fn_exit ()
   11415 {
   11416   set +e
   11417   as_fn_set_status $1
   11418   exit $1
   11419 } # as_fn_exit
   11420 
   11421 # as_fn_unset VAR
   11422 # ---------------
   11423 # Portably unset VAR.
   11424 as_fn_unset ()
   11425 {
   11426   { eval $1=; unset $1;}
   11427 }
   11428 as_unset=as_fn_unset
   11429 
   11430 # as_fn_append VAR VALUE
   11431 # ----------------------
   11432 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11433 # advantage of any shell optimizations that allow amortized linear growth over
   11434 # repeated appends, instead of the typical quadratic growth present in naive
   11435 # implementations.
   11436 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11437 then :
   11438   eval 'as_fn_append ()
   11439   {
   11440     eval $1+=\$2
   11441   }'
   11442 else $as_nop
   11443   as_fn_append ()
   11444   {
   11445     eval $1=\$$1\$2
   11446   }
   11447 fi # as_fn_append
   11448 
   11449 # as_fn_arith ARG...
   11450 # ------------------
   11451 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11452 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11453 # must be portable across $(()) and expr.
   11454 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11455 then :
   11456   eval 'as_fn_arith ()
   11457   {
   11458     as_val=$(( $* ))
   11459   }'
   11460 else $as_nop
   11461   as_fn_arith ()
   11462   {
   11463     as_val=`expr "$@" || test $? -eq 1`
   11464   }
   11465 fi # as_fn_arith
   11466 
   11467 
   11468 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11469    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11470   as_expr=expr
   11471 else
   11472   as_expr=false
   11473 fi
   11474 
   11475 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11476   as_basename=basename
   11477 else
   11478   as_basename=false
   11479 fi
   11480 
   11481 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11482   as_dirname=dirname
   11483 else
   11484   as_dirname=false
   11485 fi
   11486 
   11487 as_me=`$as_basename -- "$0" ||
   11488 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11489 	 X"$0" : 'X\(//\)$' \| \
   11490 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11491 printf "%s\n" X/"$0" |
   11492     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11493 	    s//\1/
   11494 	    q
   11495 	  }
   11496 	  /^X\/\(\/\/\)$/{
   11497 	    s//\1/
   11498 	    q
   11499 	  }
   11500 	  /^X\/\(\/\).*/{
   11501 	    s//\1/
   11502 	    q
   11503 	  }
   11504 	  s/.*/./; q'`
   11505 
   11506 # Avoid depending upon Character Ranges.
   11507 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11508 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11509 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11510 as_cr_digits='0123456789'
   11511 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11512 
   11513 
   11514 # Determine whether it's possible to make 'echo' print without a newline.
   11515 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11516 # for compatibility with existing Makefiles.
   11517 ECHO_C= ECHO_N= ECHO_T=
   11518 case `echo -n x` in #(((((
   11519 -n*)
   11520   case `echo 'xy\c'` in
   11521   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11522   xy)  ECHO_C='\c';;
   11523   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11524        ECHO_T='	';;
   11525   esac;;
   11526 *)
   11527   ECHO_N='-n';;
   11528 esac
   11529 
   11530 # For backward compatibility with old third-party macros, we provide
   11531 # the shell variables $as_echo and $as_echo_n.  New code should use
   11532 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11533 as_echo='printf %s\n'
   11534 as_echo_n='printf %s'
   11535 
   11536 rm -f conf$$ conf$$.exe conf$$.file
   11537 if test -d conf$$.dir; then
   11538   rm -f conf$$.dir/conf$$.file
   11539 else
   11540   rm -f conf$$.dir
   11541   mkdir conf$$.dir 2>/dev/null
   11542 fi
   11543 if (echo >conf$$.file) 2>/dev/null; then
   11544   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11545     as_ln_s='ln -s'
   11546     # ... but there are two gotchas:
   11547     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11548     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11549     # In both cases, we have to default to `cp -pR'.
   11550     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11551       as_ln_s='cp -pR'
   11552   elif ln conf$$.file conf$$ 2>/dev/null; then
   11553     as_ln_s=ln
   11554   else
   11555     as_ln_s='cp -pR'
   11556   fi
   11557 else
   11558   as_ln_s='cp -pR'
   11559 fi
   11560 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11561 rmdir conf$$.dir 2>/dev/null
   11562 
   11563 
   11564 # as_fn_mkdir_p
   11565 # -------------
   11566 # Create "$as_dir" as a directory, including parents if necessary.
   11567 as_fn_mkdir_p ()
   11568 {
   11569 
   11570   case $as_dir in #(
   11571   -*) as_dir=./$as_dir;;
   11572   esac
   11573   test -d "$as_dir" || eval $as_mkdir_p || {
   11574     as_dirs=
   11575     while :; do
   11576       case $as_dir in #(
   11577       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11578       *) as_qdir=$as_dir;;
   11579       esac
   11580       as_dirs="'$as_qdir' $as_dirs"
   11581       as_dir=`$as_dirname -- "$as_dir" ||
   11582 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11583 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11584 	 X"$as_dir" : 'X\(//\)$' \| \
   11585 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11586 printf "%s\n" X"$as_dir" |
   11587     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11588 	    s//\1/
   11589 	    q
   11590 	  }
   11591 	  /^X\(\/\/\)[^/].*/{
   11592 	    s//\1/
   11593 	    q
   11594 	  }
   11595 	  /^X\(\/\/\)$/{
   11596 	    s//\1/
   11597 	    q
   11598 	  }
   11599 	  /^X\(\/\).*/{
   11600 	    s//\1/
   11601 	    q
   11602 	  }
   11603 	  s/.*/./; q'`
   11604       test -d "$as_dir" && break
   11605     done
   11606     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11607   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11608 
   11609 
   11610 } # as_fn_mkdir_p
   11611 if mkdir -p . 2>/dev/null; then
   11612   as_mkdir_p='mkdir -p "$as_dir"'
   11613 else
   11614   test -d ./-p && rmdir ./-p
   11615   as_mkdir_p=false
   11616 fi
   11617 
   11618 
   11619 # as_fn_executable_p FILE
   11620 # -----------------------
   11621 # Test if FILE is an executable regular file.
   11622 as_fn_executable_p ()
   11623 {
   11624   test -f "$1" && test -x "$1"
   11625 } # as_fn_executable_p
   11626 as_test_x='test -x'
   11627 as_executable_p=as_fn_executable_p
   11628 
   11629 # Sed expression to map a string onto a valid CPP name.
   11630 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11631 
   11632 # Sed expression to map a string onto a valid variable name.
   11633 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11634 
   11635 
   11636 exec 6>&1
   11637 ## ----------------------------------- ##
   11638 ## Main body of $CONFIG_STATUS script. ##
   11639 ## ----------------------------------- ##
   11640 _ASEOF
   11641 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11642 
   11643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11644 # Save the log message, to keep $0 and so on meaningful, and to
   11645 # report actual input values of CONFIG_FILES etc. instead of their
   11646 # values after options handling.
   11647 ac_log="
   11648 This file was extended by font-util $as_me 1.4.0, which was
   11649 generated by GNU Autoconf 2.71.  Invocation command line was
   11650 
   11651   CONFIG_FILES    = $CONFIG_FILES
   11652   CONFIG_HEADERS  = $CONFIG_HEADERS
   11653   CONFIG_LINKS    = $CONFIG_LINKS
   11654   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11655   $ $0 $@
   11656 
   11657 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11658 "
   11659 
   11660 _ACEOF
   11661 
   11662 case $ac_config_files in *"
   11663 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11664 esac
   11665 
   11666 case $ac_config_headers in *"
   11667 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11668 esac
   11669 
   11670 
   11671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11672 # Files that config.status was made for.
   11673 config_files="$ac_config_files"
   11674 config_headers="$ac_config_headers"
   11675 config_commands="$ac_config_commands"
   11676 
   11677 _ACEOF
   11678 
   11679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11680 ac_cs_usage="\
   11681 \`$as_me' instantiates files and other configuration actions
   11682 from templates according to the current configuration.  Unless the files
   11683 and actions are specified as TAGs, all are instantiated by default.
   11684 
   11685 Usage: $0 [OPTION]... [TAG]...
   11686 
   11687   -h, --help       print this help, then exit
   11688   -V, --version    print version number and configuration settings, then exit
   11689       --config     print configuration, then exit
   11690   -q, --quiet, --silent
   11691                    do not print progress messages
   11692   -d, --debug      don't remove temporary files
   11693       --recheck    update $as_me by reconfiguring in the same conditions
   11694       --file=FILE[:TEMPLATE]
   11695                    instantiate the configuration file FILE
   11696       --header=FILE[:TEMPLATE]
   11697                    instantiate the configuration header FILE
   11698 
   11699 Configuration files:
   11700 $config_files
   11701 
   11702 Configuration headers:
   11703 $config_headers
   11704 
   11705 Configuration commands:
   11706 $config_commands
   11707 
   11708 Report bugs to <https://gitlab.freedesktop.org/xorg/font/util/-/issues>."
   11709 
   11710 _ACEOF
   11711 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   11712 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   11713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11714 ac_cs_config='$ac_cs_config_escaped'
   11715 ac_cs_version="\\
   11716 font-util config.status 1.4.0
   11717 configured by $0, generated by GNU Autoconf 2.71,
   11718   with options \\"\$ac_cs_config\\"
   11719 
   11720 Copyright (C) 2021 Free Software Foundation, Inc.
   11721 This config.status script is free software; the Free Software Foundation
   11722 gives unlimited permission to copy, distribute and modify it."
   11723 
   11724 ac_pwd='$ac_pwd'
   11725 srcdir='$srcdir'
   11726 INSTALL='$INSTALL'
   11727 MKDIR_P='$MKDIR_P'
   11728 AWK='$AWK'
   11729 test -n "\$AWK" || AWK=awk
   11730 _ACEOF
   11731 
   11732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11733 # The default lists apply if the user does not specify any file.
   11734 ac_need_defaults=:
   11735 while test $# != 0
   11736 do
   11737   case $1 in
   11738   --*=?*)
   11739     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11740     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11741     ac_shift=:
   11742     ;;
   11743   --*=)
   11744     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11745     ac_optarg=
   11746     ac_shift=:
   11747     ;;
   11748   *)
   11749     ac_option=$1
   11750     ac_optarg=$2
   11751     ac_shift=shift
   11752     ;;
   11753   esac
   11754 
   11755   case $ac_option in
   11756   # Handling of the options.
   11757   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11758     ac_cs_recheck=: ;;
   11759   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11760     printf "%s\n" "$ac_cs_version"; exit ;;
   11761   --config | --confi | --conf | --con | --co | --c )
   11762     printf "%s\n" "$ac_cs_config"; exit ;;
   11763   --debug | --debu | --deb | --de | --d | -d )
   11764     debug=: ;;
   11765   --file | --fil | --fi | --f )
   11766     $ac_shift
   11767     case $ac_optarg in
   11768     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11769     '') as_fn_error $? "missing file argument" ;;
   11770     esac
   11771     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11772     ac_need_defaults=false;;
   11773   --header | --heade | --head | --hea )
   11774     $ac_shift
   11775     case $ac_optarg in
   11776     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11777     esac
   11778     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11779     ac_need_defaults=false;;
   11780   --he | --h)
   11781     # Conflict between --help and --header
   11782     as_fn_error $? "ambiguous option: \`$1'
   11783 Try \`$0 --help' for more information.";;
   11784   --help | --hel | -h )
   11785     printf "%s\n" "$ac_cs_usage"; exit ;;
   11786   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11787   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11788     ac_cs_silent=: ;;
   11789 
   11790   # This is an error.
   11791   -*) as_fn_error $? "unrecognized option: \`$1'
   11792 Try \`$0 --help' for more information." ;;
   11793 
   11794   *) as_fn_append ac_config_targets " $1"
   11795      ac_need_defaults=false ;;
   11796 
   11797   esac
   11798   shift
   11799 done
   11800 
   11801 ac_configure_extra_args=
   11802 
   11803 if $ac_cs_silent; then
   11804   exec 6>/dev/null
   11805   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11806 fi
   11807 
   11808 _ACEOF
   11809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11810 if \$ac_cs_recheck; then
   11811   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11812   shift
   11813   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   11814   CONFIG_SHELL='$SHELL'
   11815   export CONFIG_SHELL
   11816   exec "\$@"
   11817 fi
   11818 
   11819 _ACEOF
   11820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11821 exec 5>>config.log
   11822 {
   11823   echo
   11824   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11825 ## Running $as_me. ##
   11826 _ASBOX
   11827   printf "%s\n" "$ac_log"
   11828 } >&5
   11829 
   11830 _ACEOF
   11831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11832 #
   11833 # INIT-COMMANDS
   11834 #
   11835 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   11836 
   11837 _ACEOF
   11838 
   11839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11840 
   11841 # Handling of arguments.
   11842 for ac_config_target in $ac_config_targets
   11843 do
   11844   case $ac_config_target in
   11845     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11846     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11847     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11848     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11849     "fontutil.m4") CONFIG_FILES="$CONFIG_FILES fontutil.m4" ;;
   11850     "fontutil.pc") CONFIG_FILES="$CONFIG_FILES fontutil.pc" ;;
   11851 
   11852   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11853   esac
   11854 done
   11855 
   11856 
   11857 # If the user did not use the arguments to specify the items to instantiate,
   11858 # then the envvar interface is used.  Set only those that are not.
   11859 # We use the long form for the default assignment because of an extremely
   11860 # bizarre bug on SunOS 4.1.3.
   11861 if $ac_need_defaults; then
   11862   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   11863   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   11864   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   11865 fi
   11866 
   11867 # Have a temporary directory for convenience.  Make it in the build tree
   11868 # simply because there is no reason against having it here, and in addition,
   11869 # creating and moving files from /tmp can sometimes cause problems.
   11870 # Hook for its removal unless debugging.
   11871 # Note that there is a small window in which the directory will not be cleaned:
   11872 # after its creation but before its name has been assigned to `$tmp'.
   11873 $debug ||
   11874 {
   11875   tmp= ac_tmp=
   11876   trap 'exit_status=$?
   11877   : "${ac_tmp:=$tmp}"
   11878   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11879 ' 0
   11880   trap 'as_fn_exit 1' 1 2 13 15
   11881 }
   11882 # Create a (secure) tmp directory for tmp files.
   11883 
   11884 {
   11885   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11886   test -d "$tmp"
   11887 }  ||
   11888 {
   11889   tmp=./conf$$-$RANDOM
   11890   (umask 077 && mkdir "$tmp")
   11891 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11892 ac_tmp=$tmp
   11893 
   11894 # Set up the scripts for CONFIG_FILES section.
   11895 # No need to generate them if there are no CONFIG_FILES.
   11896 # This happens for instance with `./config.status config.h'.
   11897 if test -n "$CONFIG_FILES"; then
   11898 
   11899 
   11900 ac_cr=`echo X | tr X '\015'`
   11901 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11902 # But we know of no other shell where ac_cr would be empty at this
   11903 # point, so we can use a bashism as a fallback.
   11904 if test "x$ac_cr" = x; then
   11905   eval ac_cr=\$\'\\r\'
   11906 fi
   11907 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11908 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11909   ac_cs_awk_cr='\\r'
   11910 else
   11911   ac_cs_awk_cr=$ac_cr
   11912 fi
   11913 
   11914 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11915 _ACEOF
   11916 
   11917 
   11918 {
   11919   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11920   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11921   echo "_ACEOF"
   11922 } >conf$$subs.sh ||
   11923   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11924 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11925 ac_delim='%!_!# '
   11926 for ac_last_try in false false false false false :; do
   11927   . ./conf$$subs.sh ||
   11928     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11929 
   11930   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11931   if test $ac_delim_n = $ac_delim_num; then
   11932     break
   11933   elif $ac_last_try; then
   11934     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11935   else
   11936     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11937   fi
   11938 done
   11939 rm -f conf$$subs.sh
   11940 
   11941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11942 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11943 _ACEOF
   11944 sed -n '
   11945 h
   11946 s/^/S["/; s/!.*/"]=/
   11947 p
   11948 g
   11949 s/^[^!]*!//
   11950 :repl
   11951 t repl
   11952 s/'"$ac_delim"'$//
   11953 t delim
   11954 :nl
   11955 h
   11956 s/\(.\{148\}\)..*/\1/
   11957 t more1
   11958 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11959 p
   11960 n
   11961 b repl
   11962 :more1
   11963 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11964 p
   11965 g
   11966 s/.\{148\}//
   11967 t nl
   11968 :delim
   11969 h
   11970 s/\(.\{148\}\)..*/\1/
   11971 t more2
   11972 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11973 p
   11974 b
   11975 :more2
   11976 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11977 p
   11978 g
   11979 s/.\{148\}//
   11980 t delim
   11981 ' <conf$$subs.awk | sed '
   11982 /^[^""]/{
   11983   N
   11984   s/\n//
   11985 }
   11986 ' >>$CONFIG_STATUS || ac_write_fail=1
   11987 rm -f conf$$subs.awk
   11988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11989 _ACAWK
   11990 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11991   for (key in S) S_is_set[key] = 1
   11992   FS = ""
   11993 
   11994 }
   11995 {
   11996   line = $ 0
   11997   nfields = split(line, field, "@")
   11998   substed = 0
   11999   len = length(field[1])
   12000   for (i = 2; i < nfields; i++) {
   12001     key = field[i]
   12002     keylen = length(key)
   12003     if (S_is_set[key]) {
   12004       value = S[key]
   12005       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12006       len += length(value) + length(field[++i])
   12007       substed = 1
   12008     } else
   12009       len += 1 + keylen
   12010   }
   12011 
   12012   print line
   12013 }
   12014 
   12015 _ACAWK
   12016 _ACEOF
   12017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12018 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12019   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12020 else
   12021   cat
   12022 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12023   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12024 _ACEOF
   12025 
   12026 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12027 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12028 # trailing colons and then remove the whole line if VPATH becomes empty
   12029 # (actually we leave an empty line to preserve line numbers).
   12030 if test "x$srcdir" = x.; then
   12031   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12032 h
   12033 s///
   12034 s/^/:/
   12035 s/[	 ]*$/:/
   12036 s/:\$(srcdir):/:/g
   12037 s/:\${srcdir}:/:/g
   12038 s/:@srcdir@:/:/g
   12039 s/^:*//
   12040 s/:*$//
   12041 x
   12042 s/\(=[	 ]*\).*/\1/
   12043 G
   12044 s/\n//
   12045 s/^[^=]*=[	 ]*$//
   12046 }'
   12047 fi
   12048 
   12049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12050 fi # test -n "$CONFIG_FILES"
   12051 
   12052 # Set up the scripts for CONFIG_HEADERS section.
   12053 # No need to generate them if there are no CONFIG_HEADERS.
   12054 # This happens for instance with `./config.status Makefile'.
   12055 if test -n "$CONFIG_HEADERS"; then
   12056 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12057 BEGIN {
   12058 _ACEOF
   12059 
   12060 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12061 # here-document in config.status, that substitutes the proper values into
   12062 # config.h.in to produce config.h.
   12063 
   12064 # Create a delimiter string that does not exist in confdefs.h, to ease
   12065 # handling of long lines.
   12066 ac_delim='%!_!# '
   12067 for ac_last_try in false false :; do
   12068   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12069   if test -z "$ac_tt"; then
   12070     break
   12071   elif $ac_last_try; then
   12072     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12073   else
   12074     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12075   fi
   12076 done
   12077 
   12078 # For the awk script, D is an array of macro values keyed by name,
   12079 # likewise P contains macro parameters if any.  Preserve backslash
   12080 # newline sequences.
   12081 
   12082 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12083 sed -n '
   12084 s/.\{148\}/&'"$ac_delim"'/g
   12085 t rset
   12086 :rset
   12087 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12088 t def
   12089 d
   12090 :def
   12091 s/\\$//
   12092 t bsnl
   12093 s/["\\]/\\&/g
   12094 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12095 D["\1"]=" \3"/p
   12096 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12097 d
   12098 :bsnl
   12099 s/["\\]/\\&/g
   12100 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12101 D["\1"]=" \3\\\\\\n"\\/p
   12102 t cont
   12103 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12104 t cont
   12105 d
   12106 :cont
   12107 n
   12108 s/.\{148\}/&'"$ac_delim"'/g
   12109 t clear
   12110 :clear
   12111 s/\\$//
   12112 t bsnlc
   12113 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12114 d
   12115 :bsnlc
   12116 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12117 b cont
   12118 ' <confdefs.h | sed '
   12119 s/'"$ac_delim"'/"\\\
   12120 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12121 
   12122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12123   for (key in D) D_is_set[key] = 1
   12124   FS = ""
   12125 }
   12126 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12127   line = \$ 0
   12128   split(line, arg, " ")
   12129   if (arg[1] == "#") {
   12130     defundef = arg[2]
   12131     mac1 = arg[3]
   12132   } else {
   12133     defundef = substr(arg[1], 2)
   12134     mac1 = arg[2]
   12135   }
   12136   split(mac1, mac2, "(") #)
   12137   macro = mac2[1]
   12138   prefix = substr(line, 1, index(line, defundef) - 1)
   12139   if (D_is_set[macro]) {
   12140     # Preserve the white space surrounding the "#".
   12141     print prefix "define", macro P[macro] D[macro]
   12142     next
   12143   } else {
   12144     # Replace #undef with comments.  This is necessary, for example,
   12145     # in the case of _POSIX_SOURCE, which is predefined and required
   12146     # on some systems where configure will not decide to define it.
   12147     if (defundef == "undef") {
   12148       print "/*", prefix defundef, macro, "*/"
   12149       next
   12150     }
   12151   }
   12152 }
   12153 { print }
   12154 _ACAWK
   12155 _ACEOF
   12156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12157   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12158 fi # test -n "$CONFIG_HEADERS"
   12159 
   12160 
   12161 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12162 shift
   12163 for ac_tag
   12164 do
   12165   case $ac_tag in
   12166   :[FHLC]) ac_mode=$ac_tag; continue;;
   12167   esac
   12168   case $ac_mode$ac_tag in
   12169   :[FHL]*:*);;
   12170   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12171   :[FH]-) ac_tag=-:-;;
   12172   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12173   esac
   12174   ac_save_IFS=$IFS
   12175   IFS=:
   12176   set x $ac_tag
   12177   IFS=$ac_save_IFS
   12178   shift
   12179   ac_file=$1
   12180   shift
   12181 
   12182   case $ac_mode in
   12183   :L) ac_source=$1;;
   12184   :[FH])
   12185     ac_file_inputs=
   12186     for ac_f
   12187     do
   12188       case $ac_f in
   12189       -) ac_f="$ac_tmp/stdin";;
   12190       *) # Look for the file first in the build tree, then in the source tree
   12191 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12192 	 # because $ac_f cannot contain `:'.
   12193 	 test -f "$ac_f" ||
   12194 	   case $ac_f in
   12195 	   [\\/$]*) false;;
   12196 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12197 	   esac ||
   12198 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12199       esac
   12200       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12201       as_fn_append ac_file_inputs " '$ac_f'"
   12202     done
   12203 
   12204     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12205     # use $as_me), people would be surprised to read:
   12206     #    /* config.h.  Generated by config.status.  */
   12207     configure_input='Generated from '`
   12208 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12209 	`' by configure.'
   12210     if test x"$ac_file" != x-; then
   12211       configure_input="$ac_file.  $configure_input"
   12212       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12213 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12214     fi
   12215     # Neutralize special characters interpreted by sed in replacement strings.
   12216     case $configure_input in #(
   12217     *\&* | *\|* | *\\* )
   12218        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12219        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12220     *) ac_sed_conf_input=$configure_input;;
   12221     esac
   12222 
   12223     case $ac_tag in
   12224     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12225       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12226     esac
   12227     ;;
   12228   esac
   12229 
   12230   ac_dir=`$as_dirname -- "$ac_file" ||
   12231 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12232 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12233 	 X"$ac_file" : 'X\(//\)$' \| \
   12234 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12235 printf "%s\n" X"$ac_file" |
   12236     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12237 	    s//\1/
   12238 	    q
   12239 	  }
   12240 	  /^X\(\/\/\)[^/].*/{
   12241 	    s//\1/
   12242 	    q
   12243 	  }
   12244 	  /^X\(\/\/\)$/{
   12245 	    s//\1/
   12246 	    q
   12247 	  }
   12248 	  /^X\(\/\).*/{
   12249 	    s//\1/
   12250 	    q
   12251 	  }
   12252 	  s/.*/./; q'`
   12253   as_dir="$ac_dir"; as_fn_mkdir_p
   12254   ac_builddir=.
   12255 
   12256 case "$ac_dir" in
   12257 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12258 *)
   12259   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12260   # A ".." for each directory in $ac_dir_suffix.
   12261   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12262   case $ac_top_builddir_sub in
   12263   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12264   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12265   esac ;;
   12266 esac
   12267 ac_abs_top_builddir=$ac_pwd
   12268 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12269 # for backward compatibility:
   12270 ac_top_builddir=$ac_top_build_prefix
   12271 
   12272 case $srcdir in
   12273   .)  # We are building in place.
   12274     ac_srcdir=.
   12275     ac_top_srcdir=$ac_top_builddir_sub
   12276     ac_abs_top_srcdir=$ac_pwd ;;
   12277   [\\/]* | ?:[\\/]* )  # Absolute name.
   12278     ac_srcdir=$srcdir$ac_dir_suffix;
   12279     ac_top_srcdir=$srcdir
   12280     ac_abs_top_srcdir=$srcdir ;;
   12281   *) # Relative name.
   12282     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12283     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12284     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12285 esac
   12286 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12287 
   12288 
   12289   case $ac_mode in
   12290   :F)
   12291   #
   12292   # CONFIG_FILE
   12293   #
   12294 
   12295   case $INSTALL in
   12296   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12297   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12298   esac
   12299   ac_MKDIR_P=$MKDIR_P
   12300   case $MKDIR_P in
   12301   [\\/$]* | ?:[\\/]* ) ;;
   12302   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12303   esac
   12304 _ACEOF
   12305 
   12306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12307 # If the template does not know about datarootdir, expand it.
   12308 # FIXME: This hack should be removed a few years after 2.60.
   12309 ac_datarootdir_hack=; ac_datarootdir_seen=
   12310 ac_sed_dataroot='
   12311 /datarootdir/ {
   12312   p
   12313   q
   12314 }
   12315 /@datadir@/p
   12316 /@docdir@/p
   12317 /@infodir@/p
   12318 /@localedir@/p
   12319 /@mandir@/p'
   12320 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12321 *datarootdir*) ac_datarootdir_seen=yes;;
   12322 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12323   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12324 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12325 _ACEOF
   12326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12327   ac_datarootdir_hack='
   12328   s&@datadir@&$datadir&g
   12329   s&@docdir@&$docdir&g
   12330   s&@infodir@&$infodir&g
   12331   s&@localedir@&$localedir&g
   12332   s&@mandir@&$mandir&g
   12333   s&\\\${datarootdir}&$datarootdir&g' ;;
   12334 esac
   12335 _ACEOF
   12336 
   12337 # Neutralize VPATH when `$srcdir' = `.'.
   12338 # Shell code in configure.ac might set extrasub.
   12339 # FIXME: do we really want to maintain this feature?
   12340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12341 ac_sed_extra="$ac_vpsub
   12342 $extrasub
   12343 _ACEOF
   12344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12345 :t
   12346 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12347 s|@configure_input@|$ac_sed_conf_input|;t t
   12348 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12349 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12350 s&@srcdir@&$ac_srcdir&;t t
   12351 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12352 s&@top_srcdir@&$ac_top_srcdir&;t t
   12353 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12354 s&@builddir@&$ac_builddir&;t t
   12355 s&@abs_builddir@&$ac_abs_builddir&;t t
   12356 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12357 s&@INSTALL@&$ac_INSTALL&;t t
   12358 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12359 $ac_datarootdir_hack
   12360 "
   12361 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12362   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12363 
   12364 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12365   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12366   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12367       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12369 which seems to be undefined.  Please make sure it is defined" >&5
   12370 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12371 which seems to be undefined.  Please make sure it is defined" >&2;}
   12372 
   12373   rm -f "$ac_tmp/stdin"
   12374   case $ac_file in
   12375   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12376   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12377   esac \
   12378   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12379  ;;
   12380   :H)
   12381   #
   12382   # CONFIG_HEADER
   12383   #
   12384   if test x"$ac_file" != x-; then
   12385     {
   12386       printf "%s\n" "/* $configure_input  */" >&1 \
   12387       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12388     } >"$ac_tmp/config.h" \
   12389       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12390     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12391       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12392 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12393     else
   12394       rm -f "$ac_file"
   12395       mv "$ac_tmp/config.h" "$ac_file" \
   12396 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12397     fi
   12398   else
   12399     printf "%s\n" "/* $configure_input  */" >&1 \
   12400       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12401       || as_fn_error $? "could not create -" "$LINENO" 5
   12402   fi
   12403 # Compute "$ac_file"'s index in $config_headers.
   12404 _am_arg="$ac_file"
   12405 _am_stamp_count=1
   12406 for _am_header in $config_headers :; do
   12407   case $_am_header in
   12408     $_am_arg | $_am_arg:* )
   12409       break ;;
   12410     * )
   12411       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12412   esac
   12413 done
   12414 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12415 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12416 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12417 	 X"$_am_arg" : 'X\(//\)$' \| \
   12418 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12419 printf "%s\n" X"$_am_arg" |
   12420     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12421 	    s//\1/
   12422 	    q
   12423 	  }
   12424 	  /^X\(\/\/\)[^/].*/{
   12425 	    s//\1/
   12426 	    q
   12427 	  }
   12428 	  /^X\(\/\/\)$/{
   12429 	    s//\1/
   12430 	    q
   12431 	  }
   12432 	  /^X\(\/\).*/{
   12433 	    s//\1/
   12434 	    q
   12435 	  }
   12436 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12437  ;;
   12438 
   12439   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12440 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12441  ;;
   12442   esac
   12443 
   12444 
   12445   case $ac_file$ac_mode in
   12446     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12447   # Older Autoconf quotes --file arguments for eval, but not when files
   12448   # are listed without --file.  Let's play safe and only enable the eval
   12449   # if we detect the quoting.
   12450   # TODO: see whether this extra hack can be removed once we start
   12451   # requiring Autoconf 2.70 or later.
   12452   case $CONFIG_FILES in #(
   12453   *\'*) :
   12454     eval set x "$CONFIG_FILES" ;; #(
   12455   *) :
   12456     set x $CONFIG_FILES ;; #(
   12457   *) :
   12458      ;;
   12459 esac
   12460   shift
   12461   # Used to flag and report bootstrapping failures.
   12462   am_rc=0
   12463   for am_mf
   12464   do
   12465     # Strip MF so we end up with the name of the file.
   12466     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12467     # Check whether this is an Automake generated Makefile which includes
   12468     # dependency-tracking related rules and includes.
   12469     # Grep'ing the whole file directly is not great: AIX grep has a line
   12470     # limit of 2048, but all sed's we know have understand at least 4000.
   12471     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12472       || continue
   12473     am_dirpart=`$as_dirname -- "$am_mf" ||
   12474 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12475 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12476 	 X"$am_mf" : 'X\(//\)$' \| \
   12477 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12478 printf "%s\n" X"$am_mf" |
   12479     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12480 	    s//\1/
   12481 	    q
   12482 	  }
   12483 	  /^X\(\/\/\)[^/].*/{
   12484 	    s//\1/
   12485 	    q
   12486 	  }
   12487 	  /^X\(\/\/\)$/{
   12488 	    s//\1/
   12489 	    q
   12490 	  }
   12491 	  /^X\(\/\).*/{
   12492 	    s//\1/
   12493 	    q
   12494 	  }
   12495 	  s/.*/./; q'`
   12496     am_filepart=`$as_basename -- "$am_mf" ||
   12497 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12498 	 X"$am_mf" : 'X\(//\)$' \| \
   12499 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12500 printf "%s\n" X/"$am_mf" |
   12501     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12502 	    s//\1/
   12503 	    q
   12504 	  }
   12505 	  /^X\/\(\/\/\)$/{
   12506 	    s//\1/
   12507 	    q
   12508 	  }
   12509 	  /^X\/\(\/\).*/{
   12510 	    s//\1/
   12511 	    q
   12512 	  }
   12513 	  s/.*/./; q'`
   12514     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12515       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12516         | $MAKE -f - am--depfiles" >&5
   12517    (cd "$am_dirpart" \
   12518       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12519         | $MAKE -f - am--depfiles) >&5 2>&5
   12520    ac_status=$?
   12521    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12522    (exit $ac_status); } || am_rc=$?
   12523   done
   12524   if test $am_rc -ne 0; then
   12525     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12526 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12527 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12528     for automatic dependency tracking.  If GNU make was not used, consider
   12529     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12530     necessary).  You can also try re-running configure with the
   12531     '--disable-dependency-tracking' option to at least be able to build
   12532     the package (albeit without support for automatic dependency tracking).
   12533 See \`config.log' for more details" "$LINENO" 5; }
   12534   fi
   12535   { am_dirpart=; unset am_dirpart;}
   12536   { am_filepart=; unset am_filepart;}
   12537   { am_mf=; unset am_mf;}
   12538   { am_rc=; unset am_rc;}
   12539   rm -f conftest-deps.mk
   12540 }
   12541  ;;
   12542 
   12543   esac
   12544 done # for ac_tag
   12545 
   12546 
   12547 as_fn_exit 0
   12548 _ACEOF
   12549 ac_clean_files=$ac_clean_files_save
   12550 
   12551 test $ac_write_fail = 0 ||
   12552   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12553 
   12554 
   12555 # configure is writing to config.log, and then calls config.status.
   12556 # config.status does its own redirection, appending to config.log.
   12557 # Unfortunately, on DOS this fails, as config.log is still kept open
   12558 # by configure, so config.status won't be able to write to it; its
   12559 # output is simply discarded.  So we exec the FD to /dev/null,
   12560 # effectively closing config.log, so it can be properly (re)opened and
   12561 # appended to by config.status.  When coming back to configure, we
   12562 # need to make the FD available again.
   12563 if test "$no_create" != yes; then
   12564   ac_cs_success=:
   12565   ac_config_status_args=
   12566   test "$silent" = yes &&
   12567     ac_config_status_args="$ac_config_status_args --quiet"
   12568   exec 5>/dev/null
   12569   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12570   exec 5>>config.log
   12571   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12572   # would make configure fail if this is the last instruction.
   12573   $ac_cs_success || as_fn_exit 1
   12574 fi
   12575 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12577 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12578 fi
   12579 
   12580 
   12581