Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for fonttosfnt 1.2.5.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/fonttosfnt/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 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 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     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="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    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 case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 test \$(( 1 + 1 )) = 2 || exit 1"
    188   if (eval "$as_required") 2>/dev/null
    189 then :
    190   as_have_required=yes
    191 else case e in #(
    192   e) as_have_required=no ;;
    193 esac
    194 fi
    195   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    196 then :
    197 
    198 else case e in #(
    199   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    200 as_found=false
    201 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    202 do
    203   IFS=$as_save_IFS
    204   case $as_dir in #(((
    205     '') as_dir=./ ;;
    206     */) ;;
    207     *) as_dir=$as_dir/ ;;
    208   esac
    209   as_found=:
    210   case $as_dir in #(
    211 	 /*)
    212 	   for as_base in sh bash ksh sh5; do
    213 	     # Try only shells that exist, to save several forks.
    214 	     as_shell=$as_dir$as_base
    215 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    216 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    217 then :
    218   CONFIG_SHELL=$as_shell as_have_required=yes
    219 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    220 then :
    221   break 2
    222 fi
    223 fi
    224 	   done;;
    225        esac
    226   as_found=false
    227 done
    228 IFS=$as_save_IFS
    229 if $as_found
    230 then :
    231 
    232 else case e in #(
    233   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    235 then :
    236   CONFIG_SHELL=$SHELL as_have_required=yes
    237 fi ;;
    238 esac
    239 fi
    240 
    241 
    242       if test "x$CONFIG_SHELL" != x
    243 then :
    244   export CONFIG_SHELL
    245              # We cannot yet assume a decent shell, so we have to provide a
    246 # neutralization value for shells without unset; and this also
    247 # works around shells that cannot unset nonexistent variables.
    248 # Preserve -v and -x to the replacement shell.
    249 BASH_ENV=/dev/null
    250 ENV=/dev/null
    251 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    252 case $- in # ((((
    253   *v*x* | *x*v* ) as_opts=-vx ;;
    254   *v* ) as_opts=-v ;;
    255   *x* ) as_opts=-x ;;
    256   * ) as_opts= ;;
    257 esac
    258 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    259 # Admittedly, this is quite paranoid, since all the known shells bail
    260 # out after a failed 'exec'.
    261 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    262 exit 255
    263 fi
    264 
    265     if test x$as_have_required = xno
    266 then :
    267   printf "%s\n" "$0: This script requires a shell more modern than all"
    268   printf "%s\n" "$0: the shells that I found on your system."
    269   if test ${ZSH_VERSION+y} ; then
    270     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    271     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    272   else
    273     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    274 $0: https://gitlab.freedesktop.org/xorg/app/fonttosfnt/-/issues
    275 $0: about your system, including any error possibly output
    276 $0: before this message. Then install a modern shell, or
    277 $0: manually run the script under such a shell if you do
    278 $0: have one."
    279   fi
    280   exit 1
    281 fi ;;
    282 esac
    283 fi
    284 fi
    285 SHELL=${CONFIG_SHELL-/bin/sh}
    286 export SHELL
    287 # Unset more variables known to interfere with behavior of common tools.
    288 CLICOLOR_FORCE= GREP_OPTIONS=
    289 unset CLICOLOR_FORCE GREP_OPTIONS
    290 
    291 ## --------------------- ##
    292 ## M4sh Shell Functions. ##
    293 ## --------------------- ##
    294 # as_fn_unset VAR
    295 # ---------------
    296 # Portably unset VAR.
    297 as_fn_unset ()
    298 {
    299   { eval $1=; unset $1;}
    300 }
    301 as_unset=as_fn_unset
    302 
    303 
    304 # as_fn_set_status STATUS
    305 # -----------------------
    306 # Set $? to STATUS, without forking.
    307 as_fn_set_status ()
    308 {
    309   return $1
    310 } # as_fn_set_status
    311 
    312 # as_fn_exit STATUS
    313 # -----------------
    314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    315 as_fn_exit ()
    316 {
    317   set +e
    318   as_fn_set_status $1
    319   exit $1
    320 } # as_fn_exit
    321 
    322 # as_fn_mkdir_p
    323 # -------------
    324 # Create "$as_dir" as a directory, including parents if necessary.
    325 as_fn_mkdir_p ()
    326 {
    327 
    328   case $as_dir in #(
    329   -*) as_dir=./$as_dir;;
    330   esac
    331   test -d "$as_dir" || eval $as_mkdir_p || {
    332     as_dirs=
    333     while :; do
    334       case $as_dir in #(
    335       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    336       *) as_qdir=$as_dir;;
    337       esac
    338       as_dirs="'$as_qdir' $as_dirs"
    339       as_dir=`$as_dirname -- "$as_dir" ||
    340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    341 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    342 	 X"$as_dir" : 'X\(//\)$' \| \
    343 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    344 printf "%s\n" X"$as_dir" |
    345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    346 	    s//\1/
    347 	    q
    348 	  }
    349 	  /^X\(\/\/\)[^/].*/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\).*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  s/.*/./; q'`
    362       test -d "$as_dir" && break
    363     done
    364     test -z "$as_dirs" || eval "mkdir $as_dirs"
    365   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    366 
    367 
    368 } # as_fn_mkdir_p
    369 
    370 # as_fn_executable_p FILE
    371 # -----------------------
    372 # Test if FILE is an executable regular file.
    373 as_fn_executable_p ()
    374 {
    375   test -f "$1" && test -x "$1"
    376 } # as_fn_executable_p
    377 # as_fn_append VAR VALUE
    378 # ----------------------
    379 # Append the text in VALUE to the end of the definition contained in VAR. Take
    380 # advantage of any shell optimizations that allow amortized linear growth over
    381 # repeated appends, instead of the typical quadratic growth present in naive
    382 # implementations.
    383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    384 then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else case e in #(
    390   e) as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   } ;;
    394 esac
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    403 then :
    404   eval 'as_fn_arith ()
    405   {
    406     as_val=$(( $* ))
    407   }'
    408 else case e in #(
    409   e) as_fn_arith ()
    410   {
    411     as_val=`expr "$@" || test $? -eq 1`
    412   } ;;
    413 esac
    414 fi # as_fn_arith
    415 
    416 
    417 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    418 # ----------------------------------------
    419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    421 # script with STATUS, using 1 if that was 0.
    422 as_fn_error ()
    423 {
    424   as_status=$1; test $as_status -eq 0 && as_status=1
    425   if test "$4"; then
    426     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    428   fi
    429   printf "%s\n" "$as_me: error: $2" >&2
    430   as_fn_exit $as_status
    431 } # as_fn_error
    432 
    433 if expr a : '\(a\)' >/dev/null 2>&1 &&
    434    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    435   as_expr=expr
    436 else
    437   as_expr=false
    438 fi
    439 
    440 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    441   as_basename=basename
    442 else
    443   as_basename=false
    444 fi
    445 
    446 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    447   as_dirname=dirname
    448 else
    449   as_dirname=false
    450 fi
    451 
    452 as_me=`$as_basename -- "$0" ||
    453 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    454 	 X"$0" : 'X\(//\)$' \| \
    455 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    456 printf "%s\n" X/"$0" |
    457     sed '/^.*\/\([^/][^/]*\)\/*$/{
    458 	    s//\1/
    459 	    q
    460 	  }
    461 	  /^X\/\(\/\/\)$/{
    462 	    s//\1/
    463 	    q
    464 	  }
    465 	  /^X\/\(\/\).*/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  s/.*/./; q'`
    470 
    471 # Avoid depending upon Character Ranges.
    472 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    473 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    474 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    475 as_cr_digits='0123456789'
    476 as_cr_alnum=$as_cr_Letters$as_cr_digits
    477 
    478 
    479   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    480   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    481   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    482   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    483   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    484   sed -n '
    485     p
    486     /[$]LINENO/=
    487   ' <$as_myself |
    488     sed '
    489       t clear
    490       :clear
    491       s/[$]LINENO.*/&-/
    492       t lineno
    493       b
    494       :lineno
    495       N
    496       :loop
    497       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    498       t loop
    499       s/-\n.*//
    500     ' >$as_me.lineno &&
    501   chmod +x "$as_me.lineno" ||
    502     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    503 
    504   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    505   # already done that, so ensure we don't try to do so again and fall
    506   # in an infinite loop.  This has already happened in practice.
    507   _as_can_reexec=no; export _as_can_reexec
    508   # Don't try to exec as it changes $[0], causing all sort of problems
    509   # (the dirname of $[0] is not the place where we might find the
    510   # original and so on.  Autoconf is especially sensitive to this).
    511   . "./$as_me.lineno"
    512   # Exit status is that of the last command.
    513   exit
    514 }
    515 
    516 
    517 # Determine whether it's possible to make 'echo' print without a newline.
    518 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    519 # for compatibility with existing Makefiles.
    520 ECHO_C= ECHO_N= ECHO_T=
    521 case `echo -n x` in #(((((
    522 -n*)
    523   case `echo 'xy\c'` in
    524   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    525   xy)  ECHO_C='\c';;
    526   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    527        ECHO_T='	';;
    528   esac;;
    529 *)
    530   ECHO_N='-n';;
    531 esac
    532 
    533 # For backward compatibility with old third-party macros, we provide
    534 # the shell variables $as_echo and $as_echo_n.  New code should use
    535 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    536 as_echo='printf %s\n'
    537 as_echo_n='printf %s'
    538 
    539 rm -f conf$$ conf$$.exe conf$$.file
    540 if test -d conf$$.dir; then
    541   rm -f conf$$.dir/conf$$.file
    542 else
    543   rm -f conf$$.dir
    544   mkdir conf$$.dir 2>/dev/null
    545 fi
    546 if (echo >conf$$.file) 2>/dev/null; then
    547   if ln -s conf$$.file conf$$ 2>/dev/null; then
    548     as_ln_s='ln -s'
    549     # ... but there are two gotchas:
    550     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    551     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    552     # In both cases, we have to default to 'cp -pR'.
    553     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    554       as_ln_s='cp -pR'
    555   elif ln conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s=ln
    557   else
    558     as_ln_s='cp -pR'
    559   fi
    560 else
    561   as_ln_s='cp -pR'
    562 fi
    563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    564 rmdir conf$$.dir 2>/dev/null
    565 
    566 if mkdir -p . 2>/dev/null; then
    567   as_mkdir_p='mkdir -p "$as_dir"'
    568 else
    569   test -d ./-p && rmdir ./-p
    570   as_mkdir_p=false
    571 fi
    572 
    573 as_test_x='test -x'
    574 as_executable_p=as_fn_executable_p
    575 
    576 # Sed expression to map a string onto a valid CPP name.
    577 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    578 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    579 
    580 # Sed expression to map a string onto a valid variable name.
    581 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    582 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    583 
    584 
    585 test -n "$DJDIR" || exec 7<&0 </dev/null
    586 exec 6>&1
    587 
    588 # Name of the host.
    589 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    590 # so uname gets run too.
    591 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    592 
    593 #
    594 # Initializations.
    595 #
    596 ac_default_prefix=/usr/local
    597 ac_clean_files=
    598 ac_config_libobj_dir=.
    599 LIBOBJS=
    600 cross_compiling=no
    601 subdirs=
    602 MFLAGS=
    603 MAKEFLAGS=
    604 
    605 # Identity of this package.
    606 PACKAGE_NAME='fonttosfnt'
    607 PACKAGE_TARNAME='fonttosfnt'
    608 PACKAGE_VERSION='1.2.5'
    609 PACKAGE_STRING='fonttosfnt 1.2.5'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/fonttosfnt/-/issues'
    611 PACKAGE_URL=''
    612 
    613 ac_unique_file="Makefile.am"
    614 # Factoring default headers for most tests.
    615 ac_includes_default="\
    616 #include <stddef.h>
    617 #ifdef HAVE_STDIO_H
    618 # include <stdio.h>
    619 #endif
    620 #ifdef HAVE_STDLIB_H
    621 # include <stdlib.h>
    622 #endif
    623 #ifdef HAVE_STRING_H
    624 # include <string.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_STRINGS_H
    633 # include <strings.h>
    634 #endif
    635 #ifdef HAVE_SYS_TYPES_H
    636 # include <sys/types.h>
    637 #endif
    638 #ifdef HAVE_SYS_STAT_H
    639 # include <sys/stat.h>
    640 #endif
    641 #ifdef HAVE_UNISTD_H
    642 # include <unistd.h>
    643 #endif"
    644 
    645 ac_header_c_list=
    646 ac_subst_vars='am__EXEEXT_FALSE
    647 am__EXEEXT_TRUE
    648 LTLIBOBJS
    649 LIBOBJS
    650 FONTTOSFNT_LIBS
    651 FONTTOSFNT_CFLAGS
    652 NEED_SETENV_FALSE
    653 NEED_SETENV_TRUE
    654 MAN_SUBSTS
    655 XORG_MAN_PAGE
    656 ADMIN_MAN_DIR
    657 DRIVER_MAN_DIR
    658 MISC_MAN_DIR
    659 FILE_MAN_DIR
    660 LIB_MAN_DIR
    661 APP_MAN_DIR
    662 ADMIN_MAN_SUFFIX
    663 DRIVER_MAN_SUFFIX
    664 MISC_MAN_SUFFIX
    665 FILE_MAN_SUFFIX
    666 LIB_MAN_SUFFIX
    667 APP_MAN_SUFFIX
    668 SED
    669 host_os
    670 host_vendor
    671 host_cpu
    672 host
    673 build_os
    674 build_vendor
    675 build_cpu
    676 build
    677 INSTALL_CMD
    678 PKG_CONFIG_LIBDIR
    679 PKG_CONFIG_PATH
    680 PKG_CONFIG
    681 CHANGELOG_CMD
    682 STRICT_CFLAGS
    683 CWARNFLAGS
    684 BASE_CFLAGS
    685 am__fastdepCC_FALSE
    686 am__fastdepCC_TRUE
    687 CCDEPMODE
    688 am__nodep
    689 AMDEPBACKSLASH
    690 AMDEP_FALSE
    691 AMDEP_TRUE
    692 am__include
    693 DEPDIR
    694 OBJEXT
    695 EXEEXT
    696 ac_ct_CC
    697 CPPFLAGS
    698 LDFLAGS
    699 CFLAGS
    700 CC
    701 am__xargs_n
    702 am__rm_f_notfound
    703 AM_BACKSLASH
    704 AM_DEFAULT_VERBOSITY
    705 AM_DEFAULT_V
    706 AM_V
    707 CSCOPE
    708 ETAGS
    709 CTAGS
    710 am__untar
    711 am__tar
    712 AMTAR
    713 am__leading_dot
    714 SET_MAKE
    715 AWK
    716 mkdir_p
    717 MKDIR_P
    718 INSTALL_STRIP_PROGRAM
    719 STRIP
    720 install_sh
    721 MAKEINFO
    722 AUTOHEADER
    723 AUTOMAKE
    724 AUTOCONF
    725 ACLOCAL
    726 VERSION
    727 PACKAGE
    728 CYGPATH_W
    729 am__isrc
    730 INSTALL_DATA
    731 INSTALL_SCRIPT
    732 INSTALL_PROGRAM
    733 target_alias
    734 host_alias
    735 build_alias
    736 LIBS
    737 ECHO_T
    738 ECHO_N
    739 ECHO_C
    740 DEFS
    741 mandir
    742 localedir
    743 libdir
    744 psdir
    745 pdfdir
    746 dvidir
    747 htmldir
    748 infodir
    749 docdir
    750 oldincludedir
    751 includedir
    752 runstatedir
    753 localstatedir
    754 sharedstatedir
    755 sysconfdir
    756 datadir
    757 datarootdir
    758 libexecdir
    759 sbindir
    760 bindir
    761 program_transform_name
    762 prefix
    763 exec_prefix
    764 PACKAGE_URL
    765 PACKAGE_BUGREPORT
    766 PACKAGE_STRING
    767 PACKAGE_VERSION
    768 PACKAGE_TARNAME
    769 PACKAGE_NAME
    770 PATH_SEPARATOR
    771 SHELL
    772 am__quote'
    773 ac_subst_files=''
    774 ac_user_opts='
    775 enable_option_checking
    776 enable_silent_rules
    777 enable_dependency_tracking
    778 enable_selective_werror
    779 enable_strict_compilation
    780 '
    781       ac_precious_vars='build_alias
    782 host_alias
    783 target_alias
    784 CC
    785 CFLAGS
    786 LDFLAGS
    787 LIBS
    788 CPPFLAGS
    789 PKG_CONFIG
    790 PKG_CONFIG_PATH
    791 PKG_CONFIG_LIBDIR
    792 FONTTOSFNT_CFLAGS
    793 FONTTOSFNT_LIBS'
    794 
    795 
    796 # Initialize some variables set by options.
    797 ac_init_help=
    798 ac_init_version=false
    799 ac_unrecognized_opts=
    800 ac_unrecognized_sep=
    801 # The variables have the same names as the options, with
    802 # dashes changed to underlines.
    803 cache_file=/dev/null
    804 exec_prefix=NONE
    805 no_create=
    806 no_recursion=
    807 prefix=NONE
    808 program_prefix=NONE
    809 program_suffix=NONE
    810 program_transform_name=s,x,x,
    811 silent=
    812 site=
    813 srcdir=
    814 verbose=
    815 x_includes=NONE
    816 x_libraries=NONE
    817 
    818 # Installation directory options.
    819 # These are left unexpanded so users can "make install exec_prefix=/foo"
    820 # and all the variables that are supposed to be based on exec_prefix
    821 # by default will actually change.
    822 # Use braces instead of parens because sh, perl, etc. also accept them.
    823 # (The list follows the same order as the GNU Coding Standards.)
    824 bindir='${exec_prefix}/bin'
    825 sbindir='${exec_prefix}/sbin'
    826 libexecdir='${exec_prefix}/libexec'
    827 datarootdir='${prefix}/share'
    828 datadir='${datarootdir}'
    829 sysconfdir='${prefix}/etc'
    830 sharedstatedir='${prefix}/com'
    831 localstatedir='${prefix}/var'
    832 runstatedir='${localstatedir}/run'
    833 includedir='${prefix}/include'
    834 oldincludedir='/usr/include'
    835 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    836 infodir='${datarootdir}/info'
    837 htmldir='${docdir}'
    838 dvidir='${docdir}'
    839 pdfdir='${docdir}'
    840 psdir='${docdir}'
    841 libdir='${exec_prefix}/lib'
    842 localedir='${datarootdir}/locale'
    843 mandir='${datarootdir}/man'
    844 
    845 ac_prev=
    846 ac_dashdash=
    847 for ac_option
    848 do
    849   # If the previous option needs an argument, assign it.
    850   if test -n "$ac_prev"; then
    851     eval $ac_prev=\$ac_option
    852     ac_prev=
    853     continue
    854   fi
    855 
    856   case $ac_option in
    857   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    858   *=)   ac_optarg= ;;
    859   *)    ac_optarg=yes ;;
    860   esac
    861 
    862   case $ac_dashdash$ac_option in
    863   --)
    864     ac_dashdash=yes ;;
    865 
    866   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    867     ac_prev=bindir ;;
    868   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    869     bindir=$ac_optarg ;;
    870 
    871   -build | --build | --buil | --bui | --bu)
    872     ac_prev=build_alias ;;
    873   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    874     build_alias=$ac_optarg ;;
    875 
    876   -cache-file | --cache-file | --cache-fil | --cache-fi \
    877   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    878     ac_prev=cache_file ;;
    879   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    880   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    881     cache_file=$ac_optarg ;;
    882 
    883   --config-cache | -C)
    884     cache_file=config.cache ;;
    885 
    886   -datadir | --datadir | --datadi | --datad)
    887     ac_prev=datadir ;;
    888   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    889     datadir=$ac_optarg ;;
    890 
    891   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    892   | --dataroo | --dataro | --datar)
    893     ac_prev=datarootdir ;;
    894   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    895   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    896     datarootdir=$ac_optarg ;;
    897 
    898   -disable-* | --disable-*)
    899     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    900     # Reject names that are not valid shell variable names.
    901     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    902       as_fn_error $? "invalid feature name: '$ac_useropt'"
    903     ac_useropt_orig=$ac_useropt
    904     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    905     case $ac_user_opts in
    906       *"
    907 "enable_$ac_useropt"
    908 "*) ;;
    909       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    910 	 ac_unrecognized_sep=', ';;
    911     esac
    912     eval enable_$ac_useropt=no ;;
    913 
    914   -docdir | --docdir | --docdi | --doc | --do)
    915     ac_prev=docdir ;;
    916   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    917     docdir=$ac_optarg ;;
    918 
    919   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    920     ac_prev=dvidir ;;
    921   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    922     dvidir=$ac_optarg ;;
    923 
    924   -enable-* | --enable-*)
    925     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    926     # Reject names that are not valid shell variable names.
    927     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    928       as_fn_error $? "invalid feature name: '$ac_useropt'"
    929     ac_useropt_orig=$ac_useropt
    930     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    931     case $ac_user_opts in
    932       *"
    933 "enable_$ac_useropt"
    934 "*) ;;
    935       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    936 	 ac_unrecognized_sep=', ';;
    937     esac
    938     eval enable_$ac_useropt=\$ac_optarg ;;
    939 
    940   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    941   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    942   | --exec | --exe | --ex)
    943     ac_prev=exec_prefix ;;
    944   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    945   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    946   | --exec=* | --exe=* | --ex=*)
    947     exec_prefix=$ac_optarg ;;
    948 
    949   -gas | --gas | --ga | --g)
    950     # Obsolete; use --with-gas.
    951     with_gas=yes ;;
    952 
    953   -help | --help | --hel | --he | -h)
    954     ac_init_help=long ;;
    955   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    956     ac_init_help=recursive ;;
    957   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    958     ac_init_help=short ;;
    959 
    960   -host | --host | --hos | --ho)
    961     ac_prev=host_alias ;;
    962   -host=* | --host=* | --hos=* | --ho=*)
    963     host_alias=$ac_optarg ;;
    964 
    965   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    966     ac_prev=htmldir ;;
    967   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    968   | --ht=*)
    969     htmldir=$ac_optarg ;;
    970 
    971   -includedir | --includedir | --includedi | --included | --include \
    972   | --includ | --inclu | --incl | --inc)
    973     ac_prev=includedir ;;
    974   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    975   | --includ=* | --inclu=* | --incl=* | --inc=*)
    976     includedir=$ac_optarg ;;
    977 
    978   -infodir | --infodir | --infodi | --infod | --info | --inf)
    979     ac_prev=infodir ;;
    980   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    981     infodir=$ac_optarg ;;
    982 
    983   -libdir | --libdir | --libdi | --libd)
    984     ac_prev=libdir ;;
    985   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    986     libdir=$ac_optarg ;;
    987 
    988   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    989   | --libexe | --libex | --libe)
    990     ac_prev=libexecdir ;;
    991   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    992   | --libexe=* | --libex=* | --libe=*)
    993     libexecdir=$ac_optarg ;;
    994 
    995   -localedir | --localedir | --localedi | --localed | --locale)
    996     ac_prev=localedir ;;
    997   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    998     localedir=$ac_optarg ;;
    999 
   1000   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1001   | --localstate | --localstat | --localsta | --localst | --locals)
   1002     ac_prev=localstatedir ;;
   1003   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1004   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1005     localstatedir=$ac_optarg ;;
   1006 
   1007   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1008     ac_prev=mandir ;;
   1009   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1010     mandir=$ac_optarg ;;
   1011 
   1012   -nfp | --nfp | --nf)
   1013     # Obsolete; use --without-fp.
   1014     with_fp=no ;;
   1015 
   1016   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1017   | --no-cr | --no-c | -n)
   1018     no_create=yes ;;
   1019 
   1020   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1021   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1022     no_recursion=yes ;;
   1023 
   1024   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1025   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1026   | --oldin | --oldi | --old | --ol | --o)
   1027     ac_prev=oldincludedir ;;
   1028   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1029   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1030   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1031     oldincludedir=$ac_optarg ;;
   1032 
   1033   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1034     ac_prev=prefix ;;
   1035   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1036     prefix=$ac_optarg ;;
   1037 
   1038   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1039   | --program-pre | --program-pr | --program-p)
   1040     ac_prev=program_prefix ;;
   1041   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1042   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1043     program_prefix=$ac_optarg ;;
   1044 
   1045   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1046   | --program-suf | --program-su | --program-s)
   1047     ac_prev=program_suffix ;;
   1048   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1049   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1050     program_suffix=$ac_optarg ;;
   1051 
   1052   -program-transform-name | --program-transform-name \
   1053   | --program-transform-nam | --program-transform-na \
   1054   | --program-transform-n | --program-transform- \
   1055   | --program-transform | --program-transfor \
   1056   | --program-transfo | --program-transf \
   1057   | --program-trans | --program-tran \
   1058   | --progr-tra | --program-tr | --program-t)
   1059     ac_prev=program_transform_name ;;
   1060   -program-transform-name=* | --program-transform-name=* \
   1061   | --program-transform-nam=* | --program-transform-na=* \
   1062   | --program-transform-n=* | --program-transform-=* \
   1063   | --program-transform=* | --program-transfor=* \
   1064   | --program-transfo=* | --program-transf=* \
   1065   | --program-trans=* | --program-tran=* \
   1066   | --progr-tra=* | --program-tr=* | --program-t=*)
   1067     program_transform_name=$ac_optarg ;;
   1068 
   1069   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1070     ac_prev=pdfdir ;;
   1071   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1072     pdfdir=$ac_optarg ;;
   1073 
   1074   -psdir | --psdir | --psdi | --psd | --ps)
   1075     ac_prev=psdir ;;
   1076   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1077     psdir=$ac_optarg ;;
   1078 
   1079   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1080   | -silent | --silent | --silen | --sile | --sil)
   1081     silent=yes ;;
   1082 
   1083   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1084   | --runstate | --runstat | --runsta | --runst | --runs \
   1085   | --run | --ru | --r)
   1086     ac_prev=runstatedir ;;
   1087   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1088   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1089   | --run=* | --ru=* | --r=*)
   1090     runstatedir=$ac_optarg ;;
   1091 
   1092   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1093     ac_prev=sbindir ;;
   1094   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1095   | --sbi=* | --sb=*)
   1096     sbindir=$ac_optarg ;;
   1097 
   1098   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1099   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1100   | --sharedst | --shareds | --shared | --share | --shar \
   1101   | --sha | --sh)
   1102     ac_prev=sharedstatedir ;;
   1103   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1104   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1105   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1106   | --sha=* | --sh=*)
   1107     sharedstatedir=$ac_optarg ;;
   1108 
   1109   -site | --site | --sit)
   1110     ac_prev=site ;;
   1111   -site=* | --site=* | --sit=*)
   1112     site=$ac_optarg ;;
   1113 
   1114   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1115     ac_prev=srcdir ;;
   1116   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1117     srcdir=$ac_optarg ;;
   1118 
   1119   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1120   | --syscon | --sysco | --sysc | --sys | --sy)
   1121     ac_prev=sysconfdir ;;
   1122   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1123   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1124     sysconfdir=$ac_optarg ;;
   1125 
   1126   -target | --target | --targe | --targ | --tar | --ta | --t)
   1127     ac_prev=target_alias ;;
   1128   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1129     target_alias=$ac_optarg ;;
   1130 
   1131   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1132     verbose=yes ;;
   1133 
   1134   -version | --version | --versio | --versi | --vers | -V)
   1135     ac_init_version=: ;;
   1136 
   1137   -with-* | --with-*)
   1138     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1139     # Reject names that are not valid shell variable names.
   1140     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1141       as_fn_error $? "invalid package name: '$ac_useropt'"
   1142     ac_useropt_orig=$ac_useropt
   1143     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1144     case $ac_user_opts in
   1145       *"
   1146 "with_$ac_useropt"
   1147 "*) ;;
   1148       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1149 	 ac_unrecognized_sep=', ';;
   1150     esac
   1151     eval with_$ac_useropt=\$ac_optarg ;;
   1152 
   1153   -without-* | --without-*)
   1154     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1155     # Reject names that are not valid shell variable names.
   1156     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1157       as_fn_error $? "invalid package name: '$ac_useropt'"
   1158     ac_useropt_orig=$ac_useropt
   1159     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1160     case $ac_user_opts in
   1161       *"
   1162 "with_$ac_useropt"
   1163 "*) ;;
   1164       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1165 	 ac_unrecognized_sep=', ';;
   1166     esac
   1167     eval with_$ac_useropt=no ;;
   1168 
   1169   --x)
   1170     # Obsolete; use --with-x.
   1171     with_x=yes ;;
   1172 
   1173   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1174   | --x-incl | --x-inc | --x-in | --x-i)
   1175     ac_prev=x_includes ;;
   1176   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1177   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1178     x_includes=$ac_optarg ;;
   1179 
   1180   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1181   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1182     ac_prev=x_libraries ;;
   1183   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1184   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1185     x_libraries=$ac_optarg ;;
   1186 
   1187   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1188 Try '$0 --help' for more information"
   1189     ;;
   1190 
   1191   *=*)
   1192     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1193     # Reject names that are not valid shell variable names.
   1194     case $ac_envvar in #(
   1195       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1196       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1197     esac
   1198     eval $ac_envvar=\$ac_optarg
   1199     export $ac_envvar ;;
   1200 
   1201   *)
   1202     # FIXME: should be removed in autoconf 3.0.
   1203     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1204     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1205       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1206     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1207     ;;
   1208 
   1209   esac
   1210 done
   1211 
   1212 if test -n "$ac_prev"; then
   1213   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1214   as_fn_error $? "missing argument to $ac_option"
   1215 fi
   1216 
   1217 if test -n "$ac_unrecognized_opts"; then
   1218   case $enable_option_checking in
   1219     no) ;;
   1220     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1221     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1222   esac
   1223 fi
   1224 
   1225 # Check all directory arguments for consistency.
   1226 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1227 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1228 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1229 		libdir localedir mandir runstatedir
   1230 do
   1231   eval ac_val=\$$ac_var
   1232   # Remove trailing slashes.
   1233   case $ac_val in
   1234     */ )
   1235       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1236       eval $ac_var=\$ac_val;;
   1237   esac
   1238   # Be sure to have absolute directory names.
   1239   case $ac_val in
   1240     [\\/$]* | ?:[\\/]* )  continue;;
   1241     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1242   esac
   1243   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1244 done
   1245 
   1246 # There might be people who depend on the old broken behavior: '$host'
   1247 # used to hold the argument of --host etc.
   1248 # FIXME: To remove some day.
   1249 build=$build_alias
   1250 host=$host_alias
   1251 target=$target_alias
   1252 
   1253 # FIXME: To remove some day.
   1254 if test "x$host_alias" != x; then
   1255   if test "x$build_alias" = x; then
   1256     cross_compiling=maybe
   1257   elif test "x$build_alias" != "x$host_alias"; then
   1258     cross_compiling=yes
   1259   fi
   1260 fi
   1261 
   1262 ac_tool_prefix=
   1263 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1264 
   1265 test "$silent" = yes && exec 6>/dev/null
   1266 
   1267 
   1268 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1269 ac_ls_di=`ls -di .` &&
   1270 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1271   as_fn_error $? "working directory cannot be determined"
   1272 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1273   as_fn_error $? "pwd does not report name of working directory"
   1274 
   1275 
   1276 # Find the source files, if location was not specified.
   1277 if test -z "$srcdir"; then
   1278   ac_srcdir_defaulted=yes
   1279   # Try the directory containing this script, then the parent directory.
   1280   ac_confdir=`$as_dirname -- "$as_myself" ||
   1281 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1282 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1283 	 X"$as_myself" : 'X\(//\)$' \| \
   1284 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1285 printf "%s\n" X"$as_myself" |
   1286     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1287 	    s//\1/
   1288 	    q
   1289 	  }
   1290 	  /^X\(\/\/\)[^/].*/{
   1291 	    s//\1/
   1292 	    q
   1293 	  }
   1294 	  /^X\(\/\/\)$/{
   1295 	    s//\1/
   1296 	    q
   1297 	  }
   1298 	  /^X\(\/\).*/{
   1299 	    s//\1/
   1300 	    q
   1301 	  }
   1302 	  s/.*/./; q'`
   1303   srcdir=$ac_confdir
   1304   if test ! -r "$srcdir/$ac_unique_file"; then
   1305     srcdir=..
   1306   fi
   1307 else
   1308   ac_srcdir_defaulted=no
   1309 fi
   1310 if test ! -r "$srcdir/$ac_unique_file"; then
   1311   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1312   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1313 fi
   1314 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1315 ac_abs_confdir=`(
   1316 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1317 	pwd)`
   1318 # When building in place, set srcdir=.
   1319 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1320   srcdir=.
   1321 fi
   1322 # Remove unnecessary trailing slashes from srcdir.
   1323 # Double slashes in file names in object file debugging info
   1324 # mess up M-x gdb in Emacs.
   1325 case $srcdir in
   1326 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1327 esac
   1328 for ac_var in $ac_precious_vars; do
   1329   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1330   eval ac_env_${ac_var}_value=\$${ac_var}
   1331   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1332   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1333 done
   1334 
   1335 #
   1336 # Report the --help message.
   1337 #
   1338 if test "$ac_init_help" = "long"; then
   1339   # Omit some internal or obsolete options to make the list less imposing.
   1340   # This message is too long to be a string in the A/UX 3.1 sh.
   1341   cat <<_ACEOF
   1342 'configure' configures fonttosfnt 1.2.5 to adapt to many kinds of systems.
   1343 
   1344 Usage: $0 [OPTION]... [VAR=VALUE]...
   1345 
   1346 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1347 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1348 
   1349 Defaults for the options are specified in brackets.
   1350 
   1351 Configuration:
   1352   -h, --help              display this help and exit
   1353       --help=short        display options specific to this package
   1354       --help=recursive    display the short help of all the included packages
   1355   -V, --version           display version information and exit
   1356   -q, --quiet, --silent   do not print 'checking ...' messages
   1357       --cache-file=FILE   cache test results in FILE [disabled]
   1358   -C, --config-cache      alias for '--cache-file=config.cache'
   1359   -n, --no-create         do not create output files
   1360       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1361 
   1362 Installation directories:
   1363   --prefix=PREFIX         install architecture-independent files in PREFIX
   1364                           [$ac_default_prefix]
   1365   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1366                           [PREFIX]
   1367 
   1368 By default, 'make install' will install all the files in
   1369 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1370 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1371 for instance '--prefix=\$HOME'.
   1372 
   1373 For better control, use the options below.
   1374 
   1375 Fine tuning of the installation directories:
   1376   --bindir=DIR            user executables [EPREFIX/bin]
   1377   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1378   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1379   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1380   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1381   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1382   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1383   --libdir=DIR            object code libraries [EPREFIX/lib]
   1384   --includedir=DIR        C header files [PREFIX/include]
   1385   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1386   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1387   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1388   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1389   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1390   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1391   --docdir=DIR            documentation root [DATAROOTDIR/doc/fonttosfnt]
   1392   --htmldir=DIR           html documentation [DOCDIR]
   1393   --dvidir=DIR            dvi documentation [DOCDIR]
   1394   --pdfdir=DIR            pdf documentation [DOCDIR]
   1395   --psdir=DIR             ps documentation [DOCDIR]
   1396 _ACEOF
   1397 
   1398   cat <<\_ACEOF
   1399 
   1400 Program names:
   1401   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1402   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1403   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1404 
   1405 System types:
   1406   --build=BUILD     configure for building on BUILD [guessed]
   1407   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1408 _ACEOF
   1409 fi
   1410 
   1411 if test -n "$ac_init_help"; then
   1412   case $ac_init_help in
   1413      short | recursive ) echo "Configuration of fonttosfnt 1.2.5:";;
   1414    esac
   1415   cat <<\_ACEOF
   1416 
   1417 Optional Features:
   1418   --disable-option-checking  ignore unrecognized --enable/--with options
   1419   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1420   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1421   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1422   --disable-silent-rules  verbose build output (undo: "make V=0")
   1423   --enable-dependency-tracking
   1424                           do not reject slow dependency extractors
   1425   --disable-dependency-tracking
   1426                           speeds up one-time build
   1427   --disable-selective-werror
   1428                           Turn off selective compiler errors. (default:
   1429                           enabled)
   1430   --enable-strict-compilation
   1431                           Enable all warnings from compiler and make them
   1432                           errors (default: disabled)
   1433 
   1434 Some influential environment variables:
   1435   CC          C compiler command
   1436   CFLAGS      C compiler flags
   1437   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1438               nonstandard directory <lib dir>
   1439   LIBS        libraries to pass to the linker, e.g. -l<library>
   1440   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1441               you have headers in a nonstandard directory <include dir>
   1442   PKG_CONFIG  path to pkg-config utility
   1443   PKG_CONFIG_PATH
   1444               directories to add to pkg-config's search path
   1445   PKG_CONFIG_LIBDIR
   1446               path overriding pkg-config's built-in search path
   1447   FONTTOSFNT_CFLAGS
   1448               C compiler flags for FONTTOSFNT, overriding pkg-config
   1449   FONTTOSFNT_LIBS
   1450               linker flags for FONTTOSFNT, overriding pkg-config
   1451 
   1452 Use these variables to override the choices made by 'configure' or to help
   1453 it to find libraries and programs with nonstandard names/locations.
   1454 
   1455 Report bugs to <https://gitlab.freedesktop.org/xorg/app/fonttosfnt/-/issues>.
   1456 _ACEOF
   1457 ac_status=$?
   1458 fi
   1459 
   1460 if test "$ac_init_help" = "recursive"; then
   1461   # If there are subdirs, report their specific --help.
   1462   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1463     test -d "$ac_dir" ||
   1464       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1465       continue
   1466     ac_builddir=.
   1467 
   1468 case "$ac_dir" in
   1469 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1470 *)
   1471   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1472   # A ".." for each directory in $ac_dir_suffix.
   1473   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1474   case $ac_top_builddir_sub in
   1475   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1476   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1477   esac ;;
   1478 esac
   1479 ac_abs_top_builddir=$ac_pwd
   1480 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1481 # for backward compatibility:
   1482 ac_top_builddir=$ac_top_build_prefix
   1483 
   1484 case $srcdir in
   1485   .)  # We are building in place.
   1486     ac_srcdir=.
   1487     ac_top_srcdir=$ac_top_builddir_sub
   1488     ac_abs_top_srcdir=$ac_pwd ;;
   1489   [\\/]* | ?:[\\/]* )  # Absolute name.
   1490     ac_srcdir=$srcdir$ac_dir_suffix;
   1491     ac_top_srcdir=$srcdir
   1492     ac_abs_top_srcdir=$srcdir ;;
   1493   *) # Relative name.
   1494     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1495     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1496     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1497 esac
   1498 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1499 
   1500     cd "$ac_dir" || { ac_status=$?; continue; }
   1501     # Check for configure.gnu first; this name is used for a wrapper for
   1502     # Metaconfig's "Configure" on case-insensitive file systems.
   1503     if test -f "$ac_srcdir/configure.gnu"; then
   1504       echo &&
   1505       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1506     elif test -f "$ac_srcdir/configure"; then
   1507       echo &&
   1508       $SHELL "$ac_srcdir/configure" --help=recursive
   1509     else
   1510       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1511     fi || ac_status=$?
   1512     cd "$ac_pwd" || { ac_status=$?; break; }
   1513   done
   1514 fi
   1515 
   1516 test -n "$ac_init_help" && exit $ac_status
   1517 if $ac_init_version; then
   1518   cat <<\_ACEOF
   1519 fonttosfnt configure 1.2.5
   1520 generated by GNU Autoconf 2.72
   1521 
   1522 Copyright (C) 2023 Free Software Foundation, Inc.
   1523 This configure script is free software; the Free Software Foundation
   1524 gives unlimited permission to copy, distribute and modify it.
   1525 _ACEOF
   1526   exit
   1527 fi
   1528 
   1529 ## ------------------------ ##
   1530 ## Autoconf initialization. ##
   1531 ## ------------------------ ##
   1532 
   1533 # ac_fn_c_try_compile LINENO
   1534 # --------------------------
   1535 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1536 ac_fn_c_try_compile ()
   1537 {
   1538   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1539   rm -f conftest.$ac_objext conftest.beam
   1540   if { { ac_try="$ac_compile"
   1541 case "(($ac_try" in
   1542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1543   *) ac_try_echo=$ac_try;;
   1544 esac
   1545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1546 printf "%s\n" "$ac_try_echo"; } >&5
   1547   (eval "$ac_compile") 2>conftest.err
   1548   ac_status=$?
   1549   if test -s conftest.err; then
   1550     grep -v '^ *+' conftest.err >conftest.er1
   1551     cat conftest.er1 >&5
   1552     mv -f conftest.er1 conftest.err
   1553   fi
   1554   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1555   test $ac_status = 0; } && {
   1556 	 test -z "$ac_c_werror_flag" ||
   1557 	 test ! -s conftest.err
   1558        } && test -s conftest.$ac_objext
   1559 then :
   1560   ac_retval=0
   1561 else case e in #(
   1562   e) printf "%s\n" "$as_me: failed program was:" >&5
   1563 sed 's/^/| /' conftest.$ac_ext >&5
   1564 
   1565 	ac_retval=1 ;;
   1566 esac
   1567 fi
   1568   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1569   as_fn_set_status $ac_retval
   1570 
   1571 } # ac_fn_c_try_compile
   1572 
   1573 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1574 # ------------------------------------------------------------------
   1575 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1576 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1577 ac_fn_check_decl ()
   1578 {
   1579   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1580   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1581   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1582 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1583 if eval test \${$3+y}
   1584 then :
   1585   printf %s "(cached) " >&6
   1586 else case e in #(
   1587   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1588   eval ac_save_FLAGS=\$$6
   1589   as_fn_append $6 " $5"
   1590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1591 /* end confdefs.h.  */
   1592 $4
   1593 int
   1594 main (void)
   1595 {
   1596 #ifndef $as_decl_name
   1597 #ifdef __cplusplus
   1598   (void) $as_decl_use;
   1599 #else
   1600   (void) $as_decl_name;
   1601 #endif
   1602 #endif
   1603 
   1604   ;
   1605   return 0;
   1606 }
   1607 _ACEOF
   1608 if ac_fn_c_try_compile "$LINENO"
   1609 then :
   1610   eval "$3=yes"
   1611 else case e in #(
   1612   e) eval "$3=no" ;;
   1613 esac
   1614 fi
   1615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1616   eval $6=\$ac_save_FLAGS
   1617  ;;
   1618 esac
   1619 fi
   1620 eval ac_res=\$$3
   1621 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1622 printf "%s\n" "$ac_res" >&6; }
   1623   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1624 
   1625 } # ac_fn_check_decl
   1626 
   1627 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1628 # -------------------------------------------------------
   1629 # Tests whether HEADER exists and can be compiled using the include files in
   1630 # INCLUDES, setting the cache variable VAR accordingly.
   1631 ac_fn_c_check_header_compile ()
   1632 {
   1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1635 printf %s "checking for $2... " >&6; }
   1636 if eval test \${$3+y}
   1637 then :
   1638   printf %s "(cached) " >&6
   1639 else case e in #(
   1640   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1641 /* end confdefs.h.  */
   1642 $4
   1643 #include <$2>
   1644 _ACEOF
   1645 if ac_fn_c_try_compile "$LINENO"
   1646 then :
   1647   eval "$3=yes"
   1648 else case e in #(
   1649   e) eval "$3=no" ;;
   1650 esac
   1651 fi
   1652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1653 esac
   1654 fi
   1655 eval ac_res=\$$3
   1656 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1657 printf "%s\n" "$ac_res" >&6; }
   1658   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1659 
   1660 } # ac_fn_c_check_header_compile
   1661 
   1662 # ac_fn_c_try_link LINENO
   1663 # -----------------------
   1664 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1665 ac_fn_c_try_link ()
   1666 {
   1667   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1668   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1669   if { { ac_try="$ac_link"
   1670 case "(($ac_try" in
   1671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1672   *) ac_try_echo=$ac_try;;
   1673 esac
   1674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1675 printf "%s\n" "$ac_try_echo"; } >&5
   1676   (eval "$ac_link") 2>conftest.err
   1677   ac_status=$?
   1678   if test -s conftest.err; then
   1679     grep -v '^ *+' conftest.err >conftest.er1
   1680     cat conftest.er1 >&5
   1681     mv -f conftest.er1 conftest.err
   1682   fi
   1683   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1684   test $ac_status = 0; } && {
   1685 	 test -z "$ac_c_werror_flag" ||
   1686 	 test ! -s conftest.err
   1687        } && test -s conftest$ac_exeext && {
   1688 	 test "$cross_compiling" = yes ||
   1689 	 test -x conftest$ac_exeext
   1690        }
   1691 then :
   1692   ac_retval=0
   1693 else case e in #(
   1694   e) printf "%s\n" "$as_me: failed program was:" >&5
   1695 sed 's/^/| /' conftest.$ac_ext >&5
   1696 
   1697 	ac_retval=1 ;;
   1698 esac
   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 
   1710 # ac_fn_c_check_func LINENO FUNC VAR
   1711 # ----------------------------------
   1712 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1713 ac_fn_c_check_func ()
   1714 {
   1715   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1716   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1717 printf %s "checking for $2... " >&6; }
   1718 if eval test \${$3+y}
   1719 then :
   1720   printf %s "(cached) " >&6
   1721 else case e in #(
   1722   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1723 /* end confdefs.h.  */
   1724 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1725    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1726 #define $2 innocuous_$2
   1727 
   1728 /* System header to define __stub macros and hopefully few prototypes,
   1729    which can conflict with char $2 (void); below.  */
   1730 
   1731 #include <limits.h>
   1732 #undef $2
   1733 
   1734 /* Override any GCC internal prototype to avoid an error.
   1735    Use char because int might match the return type of a GCC
   1736    builtin and then its argument prototype would still apply.  */
   1737 #ifdef __cplusplus
   1738 extern "C"
   1739 #endif
   1740 char $2 (void);
   1741 /* The GNU C library defines this for functions which it implements
   1742     to always fail with ENOSYS.  Some functions are actually named
   1743     something starting with __ and the normal name is an alias.  */
   1744 #if defined __stub_$2 || defined __stub___$2
   1745 choke me
   1746 #endif
   1747 
   1748 int
   1749 main (void)
   1750 {
   1751 return $2 ();
   1752   ;
   1753   return 0;
   1754 }
   1755 _ACEOF
   1756 if ac_fn_c_try_link "$LINENO"
   1757 then :
   1758   eval "$3=yes"
   1759 else case e in #(
   1760   e) eval "$3=no" ;;
   1761 esac
   1762 fi
   1763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1764     conftest$ac_exeext conftest.$ac_ext ;;
   1765 esac
   1766 fi
   1767 eval ac_res=\$$3
   1768 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1769 printf "%s\n" "$ac_res" >&6; }
   1770   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1771 
   1772 } # ac_fn_c_check_func
   1773 ac_configure_args_raw=
   1774 for ac_arg
   1775 do
   1776   case $ac_arg in
   1777   *\'*)
   1778     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1779   esac
   1780   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1781 done
   1782 
   1783 case $ac_configure_args_raw in
   1784   *$as_nl*)
   1785     ac_safe_unquote= ;;
   1786   *)
   1787     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1788     ac_unsafe_a="$ac_unsafe_z#~"
   1789     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1790     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1791 esac
   1792 
   1793 cat >config.log <<_ACEOF
   1794 This file contains any messages produced by compilers while
   1795 running configure, to aid debugging if configure makes a mistake.
   1796 
   1797 It was created by fonttosfnt $as_me 1.2.5, which was
   1798 generated by GNU Autoconf 2.72.  Invocation command line was
   1799 
   1800   $ $0$ac_configure_args_raw
   1801 
   1802 _ACEOF
   1803 exec 5>>config.log
   1804 {
   1805 cat <<_ASUNAME
   1806 ## --------- ##
   1807 ## Platform. ##
   1808 ## --------- ##
   1809 
   1810 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1811 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1812 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1813 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1814 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1815 
   1816 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1817 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1818 
   1819 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1820 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1821 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1822 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1823 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1824 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1825 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1826 
   1827 _ASUNAME
   1828 
   1829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1830 for as_dir in $PATH
   1831 do
   1832   IFS=$as_save_IFS
   1833   case $as_dir in #(((
   1834     '') as_dir=./ ;;
   1835     */) ;;
   1836     *) as_dir=$as_dir/ ;;
   1837   esac
   1838     printf "%s\n" "PATH: $as_dir"
   1839   done
   1840 IFS=$as_save_IFS
   1841 
   1842 } >&5
   1843 
   1844 cat >&5 <<_ACEOF
   1845 
   1846 
   1847 ## ----------- ##
   1848 ## Core tests. ##
   1849 ## ----------- ##
   1850 
   1851 _ACEOF
   1852 
   1853 
   1854 # Keep a trace of the command line.
   1855 # Strip out --no-create and --no-recursion so they do not pile up.
   1856 # Strip out --silent because we don't want to record it for future runs.
   1857 # Also quote any args containing shell meta-characters.
   1858 # Make two passes to allow for proper duplicate-argument suppression.
   1859 ac_configure_args=
   1860 ac_configure_args0=
   1861 ac_configure_args1=
   1862 ac_must_keep_next=false
   1863 for ac_pass in 1 2
   1864 do
   1865   for ac_arg
   1866   do
   1867     case $ac_arg in
   1868     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1869     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1870     | -silent | --silent | --silen | --sile | --sil)
   1871       continue ;;
   1872     *\'*)
   1873       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1874     esac
   1875     case $ac_pass in
   1876     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1877     2)
   1878       as_fn_append ac_configure_args1 " '$ac_arg'"
   1879       if test $ac_must_keep_next = true; then
   1880 	ac_must_keep_next=false # Got value, back to normal.
   1881       else
   1882 	case $ac_arg in
   1883 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1884 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1885 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1886 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1887 	    case "$ac_configure_args0 " in
   1888 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1889 	    esac
   1890 	    ;;
   1891 	  -* ) ac_must_keep_next=true ;;
   1892 	esac
   1893       fi
   1894       as_fn_append ac_configure_args " '$ac_arg'"
   1895       ;;
   1896     esac
   1897   done
   1898 done
   1899 { ac_configure_args0=; unset ac_configure_args0;}
   1900 { ac_configure_args1=; unset ac_configure_args1;}
   1901 
   1902 # When interrupted or exit'd, cleanup temporary files, and complete
   1903 # config.log.  We remove comments because anyway the quotes in there
   1904 # would cause problems or look ugly.
   1905 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1906 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1907 trap 'exit_status=$?
   1908   # Sanitize IFS.
   1909   IFS=" ""	$as_nl"
   1910   # Save into config.log some information that might help in debugging.
   1911   {
   1912     echo
   1913 
   1914     printf "%s\n" "## ---------------- ##
   1915 ## Cache variables. ##
   1916 ## ---------------- ##"
   1917     echo
   1918     # The following way of writing the cache mishandles newlines in values,
   1919 (
   1920   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1921     eval ac_val=\$$ac_var
   1922     case $ac_val in #(
   1923     *${as_nl}*)
   1924       case $ac_var in #(
   1925       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1926 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1927       esac
   1928       case $ac_var in #(
   1929       _ | IFS | as_nl) ;; #(
   1930       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1931       *) { eval $ac_var=; unset $ac_var;} ;;
   1932       esac ;;
   1933     esac
   1934   done
   1935   (set) 2>&1 |
   1936     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1937     *${as_nl}ac_space=\ *)
   1938       sed -n \
   1939 	"s/'\''/'\''\\\\'\'''\''/g;
   1940 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1941       ;; #(
   1942     *)
   1943       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1944       ;;
   1945     esac |
   1946     sort
   1947 )
   1948     echo
   1949 
   1950     printf "%s\n" "## ----------------- ##
   1951 ## Output variables. ##
   1952 ## ----------------- ##"
   1953     echo
   1954     for ac_var in $ac_subst_vars
   1955     do
   1956       eval ac_val=\$$ac_var
   1957       case $ac_val in
   1958       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1959       esac
   1960       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1961     done | sort
   1962     echo
   1963 
   1964     if test -n "$ac_subst_files"; then
   1965       printf "%s\n" "## ------------------- ##
   1966 ## File substitutions. ##
   1967 ## ------------------- ##"
   1968       echo
   1969       for ac_var in $ac_subst_files
   1970       do
   1971 	eval ac_val=\$$ac_var
   1972 	case $ac_val in
   1973 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1974 	esac
   1975 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1976       done | sort
   1977       echo
   1978     fi
   1979 
   1980     if test -s confdefs.h; then
   1981       printf "%s\n" "## ----------- ##
   1982 ## confdefs.h. ##
   1983 ## ----------- ##"
   1984       echo
   1985       cat confdefs.h
   1986       echo
   1987     fi
   1988     test "$ac_signal" != 0 &&
   1989       printf "%s\n" "$as_me: caught signal $ac_signal"
   1990     printf "%s\n" "$as_me: exit $exit_status"
   1991   } >&5
   1992   rm -f core *.core core.conftest.* &&
   1993     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1994     exit $exit_status
   1995 ' 0
   1996 for ac_signal in 1 2 13 15; do
   1997   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1998 done
   1999 ac_signal=0
   2000 
   2001 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2002 rm -f -r conftest* confdefs.h
   2003 
   2004 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2005 
   2006 # Predefined preprocessor variables.
   2007 
   2008 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2009 
   2010 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2011 
   2012 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2013 
   2014 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2015 
   2016 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2017 
   2018 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2019 
   2020 
   2021 # Let the site file select an alternate cache file if it wants to.
   2022 # Prefer an explicitly selected file to automatically selected ones.
   2023 if test -n "$CONFIG_SITE"; then
   2024   ac_site_files="$CONFIG_SITE"
   2025 elif test "x$prefix" != xNONE; then
   2026   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2027 else
   2028   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2029 fi
   2030 
   2031 for ac_site_file in $ac_site_files
   2032 do
   2033   case $ac_site_file in #(
   2034   */*) :
   2035      ;; #(
   2036   *) :
   2037     ac_site_file=./$ac_site_file ;;
   2038 esac
   2039   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2040     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2041 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2042     sed 's/^/| /' "$ac_site_file" >&5
   2043     . "$ac_site_file" \
   2044       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2045 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2046 as_fn_error $? "failed to load site script $ac_site_file
   2047 See 'config.log' for more details" "$LINENO" 5; }
   2048   fi
   2049 done
   2050 
   2051 if test -r "$cache_file"; then
   2052   # Some versions of bash will fail to source /dev/null (special files
   2053   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2054   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2055     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2056 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2057     case $cache_file in
   2058       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2059       *)                      . "./$cache_file";;
   2060     esac
   2061   fi
   2062 else
   2063   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2064 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2065   >$cache_file
   2066 fi
   2067 
   2068 # Test code for whether the C compiler supports C89 (global declarations)
   2069 ac_c_conftest_c89_globals='
   2070 /* Does the compiler advertise C89 conformance?
   2071    Do not test the value of __STDC__, because some compilers set it to 0
   2072    while being otherwise adequately conformant. */
   2073 #if !defined __STDC__
   2074 # error "Compiler does not advertise C89 conformance"
   2075 #endif
   2076 
   2077 #include <stddef.h>
   2078 #include <stdarg.h>
   2079 struct stat;
   2080 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2081 struct buf { int x; };
   2082 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2083 static char *e (char **p, int i)
   2084 {
   2085   return p[i];
   2086 }
   2087 static char *f (char * (*g) (char **, int), char **p, ...)
   2088 {
   2089   char *s;
   2090   va_list v;
   2091   va_start (v,p);
   2092   s = g (p, va_arg (v,int));
   2093   va_end (v);
   2094   return s;
   2095 }
   2096 
   2097 /* C89 style stringification. */
   2098 #define noexpand_stringify(a) #a
   2099 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2100 
   2101 /* C89 style token pasting.  Exercises some of the corner cases that
   2102    e.g. old MSVC gets wrong, but not very hard. */
   2103 #define noexpand_concat(a,b) a##b
   2104 #define expand_concat(a,b) noexpand_concat(a,b)
   2105 extern int vA;
   2106 extern int vbee;
   2107 #define aye A
   2108 #define bee B
   2109 int *pvA = &expand_concat(v,aye);
   2110 int *pvbee = &noexpand_concat(v,bee);
   2111 
   2112 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2113    function prototypes and stuff, but not \xHH hex character constants.
   2114    These do not provoke an error unfortunately, instead are silently treated
   2115    as an "x".  The following induces an error, until -std is added to get
   2116    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2117    array size at least.  It is necessary to write \x00 == 0 to get something
   2118    that is true only with -std.  */
   2119 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2120 
   2121 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2122    inside strings and character constants.  */
   2123 #define FOO(x) '\''x'\''
   2124 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2125 
   2126 int test (int i, double x);
   2127 struct s1 {int (*f) (int a);};
   2128 struct s2 {int (*f) (double a);};
   2129 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2130                int, int);'
   2131 
   2132 # Test code for whether the C compiler supports C89 (body of main).
   2133 ac_c_conftest_c89_main='
   2134 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2135 '
   2136 
   2137 # Test code for whether the C compiler supports C99 (global declarations)
   2138 ac_c_conftest_c99_globals='
   2139 /* Does the compiler advertise C99 conformance? */
   2140 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2141 # error "Compiler does not advertise C99 conformance"
   2142 #endif
   2143 
   2144 // See if C++-style comments work.
   2145 
   2146 #include <stdbool.h>
   2147 extern int puts (const char *);
   2148 extern int printf (const char *, ...);
   2149 extern int dprintf (int, const char *, ...);
   2150 extern void *malloc (size_t);
   2151 extern void free (void *);
   2152 
   2153 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2154 // dprintf is used instead of fprintf to avoid needing to declare
   2155 // FILE and stderr.
   2156 #define debug(...) dprintf (2, __VA_ARGS__)
   2157 #define showlist(...) puts (#__VA_ARGS__)
   2158 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2159 static void
   2160 test_varargs_macros (void)
   2161 {
   2162   int x = 1234;
   2163   int y = 5678;
   2164   debug ("Flag");
   2165   debug ("X = %d\n", x);
   2166   showlist (The first, second, and third items.);
   2167   report (x>y, "x is %d but y is %d", x, y);
   2168 }
   2169 
   2170 // Check long long types.
   2171 #define BIG64 18446744073709551615ull
   2172 #define BIG32 4294967295ul
   2173 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2174 #if !BIG_OK
   2175   #error "your preprocessor is broken"
   2176 #endif
   2177 #if BIG_OK
   2178 #else
   2179   #error "your preprocessor is broken"
   2180 #endif
   2181 static long long int bignum = -9223372036854775807LL;
   2182 static unsigned long long int ubignum = BIG64;
   2183 
   2184 struct incomplete_array
   2185 {
   2186   int datasize;
   2187   double data[];
   2188 };
   2189 
   2190 struct named_init {
   2191   int number;
   2192   const wchar_t *name;
   2193   double average;
   2194 };
   2195 
   2196 typedef const char *ccp;
   2197 
   2198 static inline int
   2199 test_restrict (ccp restrict text)
   2200 {
   2201   // Iterate through items via the restricted pointer.
   2202   // Also check for declarations in for loops.
   2203   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2204     continue;
   2205   return 0;
   2206 }
   2207 
   2208 // Check varargs and va_copy.
   2209 static bool
   2210 test_varargs (const char *format, ...)
   2211 {
   2212   va_list args;
   2213   va_start (args, format);
   2214   va_list args_copy;
   2215   va_copy (args_copy, args);
   2216 
   2217   const char *str = "";
   2218   int number = 0;
   2219   float fnumber = 0;
   2220 
   2221   while (*format)
   2222     {
   2223       switch (*format++)
   2224 	{
   2225 	case '\''s'\'': // string
   2226 	  str = va_arg (args_copy, const char *);
   2227 	  break;
   2228 	case '\''d'\'': // int
   2229 	  number = va_arg (args_copy, int);
   2230 	  break;
   2231 	case '\''f'\'': // float
   2232 	  fnumber = va_arg (args_copy, double);
   2233 	  break;
   2234 	default:
   2235 	  break;
   2236 	}
   2237     }
   2238   va_end (args_copy);
   2239   va_end (args);
   2240 
   2241   return *str && number && fnumber;
   2242 }
   2243 '
   2244 
   2245 # Test code for whether the C compiler supports C99 (body of main).
   2246 ac_c_conftest_c99_main='
   2247   // Check bool.
   2248   _Bool success = false;
   2249   success |= (argc != 0);
   2250 
   2251   // Check restrict.
   2252   if (test_restrict ("String literal") == 0)
   2253     success = true;
   2254   char *restrict newvar = "Another string";
   2255 
   2256   // Check varargs.
   2257   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2258   test_varargs_macros ();
   2259 
   2260   // Check flexible array members.
   2261   struct incomplete_array *ia =
   2262     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2263   ia->datasize = 10;
   2264   for (int i = 0; i < ia->datasize; ++i)
   2265     ia->data[i] = i * 1.234;
   2266   // Work around memory leak warnings.
   2267   free (ia);
   2268 
   2269   // Check named initializers.
   2270   struct named_init ni = {
   2271     .number = 34,
   2272     .name = L"Test wide string",
   2273     .average = 543.34343,
   2274   };
   2275 
   2276   ni.number = 58;
   2277 
   2278   int dynamic_array[ni.number];
   2279   dynamic_array[0] = argv[0][0];
   2280   dynamic_array[ni.number - 1] = 543;
   2281 
   2282   // work around unused variable warnings
   2283   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2284 	 || dynamic_array[ni.number - 1] != 543);
   2285 '
   2286 
   2287 # Test code for whether the C compiler supports C11 (global declarations)
   2288 ac_c_conftest_c11_globals='
   2289 /* Does the compiler advertise C11 conformance? */
   2290 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2291 # error "Compiler does not advertise C11 conformance"
   2292 #endif
   2293 
   2294 // Check _Alignas.
   2295 char _Alignas (double) aligned_as_double;
   2296 char _Alignas (0) no_special_alignment;
   2297 extern char aligned_as_int;
   2298 char _Alignas (0) _Alignas (int) aligned_as_int;
   2299 
   2300 // Check _Alignof.
   2301 enum
   2302 {
   2303   int_alignment = _Alignof (int),
   2304   int_array_alignment = _Alignof (int[100]),
   2305   char_alignment = _Alignof (char)
   2306 };
   2307 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2308 
   2309 // Check _Noreturn.
   2310 int _Noreturn does_not_return (void) { for (;;) continue; }
   2311 
   2312 // Check _Static_assert.
   2313 struct test_static_assert
   2314 {
   2315   int x;
   2316   _Static_assert (sizeof (int) <= sizeof (long int),
   2317                   "_Static_assert does not work in struct");
   2318   long int y;
   2319 };
   2320 
   2321 // Check UTF-8 literals.
   2322 #define u8 syntax error!
   2323 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2324 
   2325 // Check duplicate typedefs.
   2326 typedef long *long_ptr;
   2327 typedef long int *long_ptr;
   2328 typedef long_ptr long_ptr;
   2329 
   2330 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2331 struct anonymous
   2332 {
   2333   union {
   2334     struct { int i; int j; };
   2335     struct { int k; long int l; } w;
   2336   };
   2337   int m;
   2338 } v1;
   2339 '
   2340 
   2341 # Test code for whether the C compiler supports C11 (body of main).
   2342 ac_c_conftest_c11_main='
   2343   _Static_assert ((offsetof (struct anonymous, i)
   2344 		   == offsetof (struct anonymous, w.k)),
   2345 		  "Anonymous union alignment botch");
   2346   v1.i = 2;
   2347   v1.w.k = 5;
   2348   ok |= v1.i != 5;
   2349 '
   2350 
   2351 # Test code for whether the C compiler supports C11 (complete).
   2352 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2353 ${ac_c_conftest_c99_globals}
   2354 ${ac_c_conftest_c11_globals}
   2355 
   2356 int
   2357 main (int argc, char **argv)
   2358 {
   2359   int ok = 0;
   2360   ${ac_c_conftest_c89_main}
   2361   ${ac_c_conftest_c99_main}
   2362   ${ac_c_conftest_c11_main}
   2363   return ok;
   2364 }
   2365 "
   2366 
   2367 # Test code for whether the C compiler supports C99 (complete).
   2368 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2369 ${ac_c_conftest_c99_globals}
   2370 
   2371 int
   2372 main (int argc, char **argv)
   2373 {
   2374   int ok = 0;
   2375   ${ac_c_conftest_c89_main}
   2376   ${ac_c_conftest_c99_main}
   2377   return ok;
   2378 }
   2379 "
   2380 
   2381 # Test code for whether the C compiler supports C89 (complete).
   2382 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2383 
   2384 int
   2385 main (int argc, char **argv)
   2386 {
   2387   int ok = 0;
   2388   ${ac_c_conftest_c89_main}
   2389   return ok;
   2390 }
   2391 "
   2392 
   2393 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2394 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2395 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2396 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2397 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2398 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2399 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2400 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2401 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2402 
   2403 # Auxiliary files required by this configure script.
   2404 ac_aux_files="config.guess config.sub compile missing install-sh"
   2405 
   2406 # Locations in which to look for auxiliary files.
   2407 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2408 
   2409 # Search for a directory containing all of the required auxiliary files,
   2410 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2411 # If we don't find one directory that contains all the files we need,
   2412 # we report the set of missing files from the *first* directory in
   2413 # $ac_aux_dir_candidates and give up.
   2414 ac_missing_aux_files=""
   2415 ac_first_candidate=:
   2416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2418 as_found=false
   2419 for as_dir in $ac_aux_dir_candidates
   2420 do
   2421   IFS=$as_save_IFS
   2422   case $as_dir in #(((
   2423     '') as_dir=./ ;;
   2424     */) ;;
   2425     *) as_dir=$as_dir/ ;;
   2426   esac
   2427   as_found=:
   2428 
   2429   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2430   ac_aux_dir_found=yes
   2431   ac_install_sh=
   2432   for ac_aux in $ac_aux_files
   2433   do
   2434     # As a special case, if "install-sh" is required, that requirement
   2435     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2436     # and $ac_install_sh is set appropriately for whichever one is found.
   2437     if test x"$ac_aux" = x"install-sh"
   2438     then
   2439       if test -f "${as_dir}install-sh"; then
   2440         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2441         ac_install_sh="${as_dir}install-sh -c"
   2442       elif test -f "${as_dir}install.sh"; then
   2443         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2444         ac_install_sh="${as_dir}install.sh -c"
   2445       elif test -f "${as_dir}shtool"; then
   2446         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2447         ac_install_sh="${as_dir}shtool install -c"
   2448       else
   2449         ac_aux_dir_found=no
   2450         if $ac_first_candidate; then
   2451           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2452         else
   2453           break
   2454         fi
   2455       fi
   2456     else
   2457       if test -f "${as_dir}${ac_aux}"; then
   2458         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2459       else
   2460         ac_aux_dir_found=no
   2461         if $ac_first_candidate; then
   2462           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2463         else
   2464           break
   2465         fi
   2466       fi
   2467     fi
   2468   done
   2469   if test "$ac_aux_dir_found" = yes; then
   2470     ac_aux_dir="$as_dir"
   2471     break
   2472   fi
   2473   ac_first_candidate=false
   2474 
   2475   as_found=false
   2476 done
   2477 IFS=$as_save_IFS
   2478 if $as_found
   2479 then :
   2480 
   2481 else case e in #(
   2482   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2483 esac
   2484 fi
   2485 
   2486 
   2487 # These three variables are undocumented and unsupported,
   2488 # and are intended to be withdrawn in a future Autoconf release.
   2489 # They can cause serious problems if a builder's source tree is in a directory
   2490 # whose full name contains unusual characters.
   2491 if test -f "${ac_aux_dir}config.guess"; then
   2492   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2493 fi
   2494 if test -f "${ac_aux_dir}config.sub"; then
   2495   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2496 fi
   2497 if test -f "$ac_aux_dir/configure"; then
   2498   ac_configure="$SHELL ${ac_aux_dir}configure"
   2499 fi
   2500 
   2501 # Check that the precious variables saved in the cache have kept the same
   2502 # value.
   2503 ac_cache_corrupted=false
   2504 for ac_var in $ac_precious_vars; do
   2505   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2506   eval ac_new_set=\$ac_env_${ac_var}_set
   2507   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2508   eval ac_new_val=\$ac_env_${ac_var}_value
   2509   case $ac_old_set,$ac_new_set in
   2510     set,)
   2511       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2512 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2513       ac_cache_corrupted=: ;;
   2514     ,set)
   2515       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2516 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2517       ac_cache_corrupted=: ;;
   2518     ,);;
   2519     *)
   2520       if test "x$ac_old_val" != "x$ac_new_val"; then
   2521 	# differences in whitespace do not lead to failure.
   2522 	ac_old_val_w=`echo x $ac_old_val`
   2523 	ac_new_val_w=`echo x $ac_new_val`
   2524 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2525 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2526 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2527 	  ac_cache_corrupted=:
   2528 	else
   2529 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2530 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2531 	  eval $ac_var=\$ac_old_val
   2532 	fi
   2533 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2534 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2535 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2536 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2537       fi;;
   2538   esac
   2539   # Pass precious variables to config.status.
   2540   if test "$ac_new_set" = set; then
   2541     case $ac_new_val in
   2542     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2543     *) ac_arg=$ac_var=$ac_new_val ;;
   2544     esac
   2545     case " $ac_configure_args " in
   2546       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2547       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2548     esac
   2549   fi
   2550 done
   2551 if $ac_cache_corrupted; then
   2552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2553 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2555 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2556   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2557 	    and start over" "$LINENO" 5
   2558 fi
   2559 ## -------------------- ##
   2560 ## Main body of script. ##
   2561 ## -------------------- ##
   2562 
   2563 ac_ext=c
   2564 ac_cpp='$CPP $CPPFLAGS'
   2565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2568 
   2569 
   2570 
   2571 ac_config_headers="$ac_config_headers config.h"
   2572 
   2573 
   2574 # Initialize Automake
   2575 am__api_version='1.18'
   2576 
   2577 
   2578 
   2579   # Find a good install program.  We prefer a C program (faster),
   2580 # so one script is as good as another.  But avoid the broken or
   2581 # incompatible versions:
   2582 # SysV /etc/install, /usr/sbin/install
   2583 # SunOS /usr/etc/install
   2584 # IRIX /sbin/install
   2585 # AIX /bin/install
   2586 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2587 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2588 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2589 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2590 # OS/2's system install, which has a completely different semantic
   2591 # ./install, which can be erroneously created by make from ./install.sh.
   2592 # Reject install programs that cannot install multiple files.
   2593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2594 printf %s "checking for a BSD-compatible install... " >&6; }
   2595 if test -z "$INSTALL"; then
   2596 if test ${ac_cv_path_install+y}
   2597 then :
   2598   printf %s "(cached) " >&6
   2599 else case e in #(
   2600   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2601 for as_dir in $PATH
   2602 do
   2603   IFS=$as_save_IFS
   2604   case $as_dir in #(((
   2605     '') as_dir=./ ;;
   2606     */) ;;
   2607     *) as_dir=$as_dir/ ;;
   2608   esac
   2609     # Account for fact that we put trailing slashes in our PATH walk.
   2610 case $as_dir in #((
   2611   ./ | /[cC]/* | \
   2612   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2613   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2614   /usr/ucb/* ) ;;
   2615   *)
   2616     # OSF1 and SCO ODT 3.0 have their own names for install.
   2617     # Don't use installbsd from OSF since it installs stuff as root
   2618     # by default.
   2619     for ac_prog in ginstall scoinst install; do
   2620       for ac_exec_ext in '' $ac_executable_extensions; do
   2621 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2622 	  if test $ac_prog = install &&
   2623 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2624 	    # AIX install.  It has an incompatible calling convention.
   2625 	    :
   2626 	  elif test $ac_prog = install &&
   2627 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2628 	    # program-specific install script used by HP pwplus--don't use.
   2629 	    :
   2630 	  else
   2631 	    rm -rf conftest.one conftest.two conftest.dir
   2632 	    echo one > conftest.one
   2633 	    echo two > conftest.two
   2634 	    mkdir conftest.dir
   2635 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2636 	      test -s conftest.one && test -s conftest.two &&
   2637 	      test -s conftest.dir/conftest.one &&
   2638 	      test -s conftest.dir/conftest.two
   2639 	    then
   2640 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2641 	      break 3
   2642 	    fi
   2643 	  fi
   2644 	fi
   2645       done
   2646     done
   2647     ;;
   2648 esac
   2649 
   2650   done
   2651 IFS=$as_save_IFS
   2652 
   2653 rm -rf conftest.one conftest.two conftest.dir
   2654  ;;
   2655 esac
   2656 fi
   2657   if test ${ac_cv_path_install+y}; then
   2658     INSTALL=$ac_cv_path_install
   2659   else
   2660     # As a last resort, use the slow shell script.  Don't cache a
   2661     # value for INSTALL within a source directory, because that will
   2662     # break other packages using the cache if that directory is
   2663     # removed, or if the value is a relative name.
   2664     INSTALL=$ac_install_sh
   2665   fi
   2666 fi
   2667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2668 printf "%s\n" "$INSTALL" >&6; }
   2669 
   2670 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2671 # It thinks the first close brace ends the variable substitution.
   2672 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2673 
   2674 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2675 
   2676 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2677 
   2678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2679 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2680 if test ${am_cv_sleep_fractional_seconds+y}
   2681 then :
   2682   printf %s "(cached) " >&6
   2683 else case e in #(
   2684   e) if sleep 0.001 2>/dev/null
   2685 then :
   2686   am_cv_sleep_fractional_seconds=yes
   2687 else case e in #(
   2688   e) am_cv_sleep_fractional_seconds=no ;;
   2689 esac
   2690 fi
   2691  ;;
   2692 esac
   2693 fi
   2694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2695 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2696 
   2697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2698 printf %s "checking filesystem timestamp resolution... " >&6; }
   2699 if test ${am_cv_filesystem_timestamp_resolution+y}
   2700 then :
   2701   printf %s "(cached) " >&6
   2702 else case e in #(
   2703   e) # Default to the worst case.
   2704 am_cv_filesystem_timestamp_resolution=2
   2705 
   2706 # Only try to go finer than 1 sec if sleep can do it.
   2707 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2708 # - 1 sec is not much of a win compared to 2 sec, and
   2709 # - it takes 2 seconds to perform the test whether 1 sec works.
   2710 #
   2711 # Instead, just use the default 2s on platforms that have 1s resolution,
   2712 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2713 # exchange for not incurring the 2s delay for running the test for all
   2714 # packages.
   2715 #
   2716 am_try_resolutions=
   2717 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2718   # Even a millisecond often causes a bunch of false positives,
   2719   # so just try a hundredth of a second. The time saved between .001 and
   2720   # .01 is not terribly consequential.
   2721   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2722 fi
   2723 
   2724 # In order to catch current-generation FAT out, we must *modify* files
   2725 # that already exist; the *creation* timestamp is finer.  Use names
   2726 # that make ls -t sort them differently when they have equal
   2727 # timestamps than when they have distinct timestamps, keeping
   2728 # in mind that ls -t prints the *newest* file first.
   2729 rm -f conftest.ts?
   2730 : > conftest.ts1
   2731 : > conftest.ts2
   2732 : > conftest.ts3
   2733 
   2734 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2735 # clobber the current shell's arguments. (Outer-level square brackets
   2736 # are removed by m4; they're present so that m4 does not expand
   2737 # <dollar><star>; be careful, easy to get confused.)
   2738 if (
   2739      set X `ls -t conftest.ts[12]` &&
   2740      {
   2741        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2742        test "$*" != "X conftest.ts2 conftest.ts1";
   2743      }
   2744 ); then :; else
   2745   # If neither matched, then we have a broken ls.  This can happen
   2746   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2747   # broken ls alias from the environment.  This has actually
   2748   # happened.  Such a system could not be considered "sane".
   2749   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2750   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2751 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2752 as_fn_error $? "ls -t produces unexpected output.
   2753 Make sure there is not a broken ls alias in your environment.
   2754 See 'config.log' for more details" "$LINENO" 5; }
   2755 fi
   2756 
   2757 for am_try_res in $am_try_resolutions; do
   2758   # Any one fine-grained sleep might happen to cross the boundary
   2759   # between two values of a coarser actual resolution, but if we do
   2760   # two fine-grained sleeps in a row, at least one of them will fall
   2761   # entirely within a coarse interval.
   2762   echo alpha > conftest.ts1
   2763   sleep $am_try_res
   2764   echo beta > conftest.ts2
   2765   sleep $am_try_res
   2766   echo gamma > conftest.ts3
   2767 
   2768   # We assume that 'ls -t' will make use of high-resolution
   2769   # timestamps if the operating system supports them at all.
   2770   if (set X `ls -t conftest.ts?` &&
   2771       test "$2" = conftest.ts3 &&
   2772       test "$3" = conftest.ts2 &&
   2773       test "$4" = conftest.ts1); then
   2774     #
   2775     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2776     # because we don't need to test make.
   2777     make_ok=true
   2778     if test $am_try_res != 1; then
   2779       # But if we've succeeded so far with a subsecond resolution, we
   2780       # have one more thing to check: make. It can happen that
   2781       # everything else supports the subsecond mtimes, but make doesn't;
   2782       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2783       # released under GPLv2). https://bugs.gnu.org/68808
   2784       #
   2785       # We test $MAKE if it is defined in the environment, else "make".
   2786       # It might get overridden later, but our hope is that in practice
   2787       # it does not matter: it is the system "make" which is (by far)
   2788       # the most likely to be broken, whereas if the user overrides it,
   2789       # probably they did so with a better, or at least not worse, make.
   2790       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2791       #
   2792       # Create a Makefile (real tab character here):
   2793       rm -f conftest.mk
   2794       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2795       echo '	touch conftest.ts2' >>conftest.mk
   2796       #
   2797       # Now, running
   2798       #   touch conftest.ts1; touch conftest.ts2; make
   2799       # should touch ts1 because ts2 is newer. This could happen by luck,
   2800       # but most often, it will fail if make's support is insufficient. So
   2801       # test for several consecutive successes.
   2802       #
   2803       # (We reuse conftest.ts[12] because we still want to modify existing
   2804       # files, not create new ones, per above.)
   2805       n=0
   2806       make=${MAKE-make}
   2807       until test $n -eq 3; do
   2808         echo one > conftest.ts1
   2809         sleep $am_try_res
   2810         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2811         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2812           make_ok=false
   2813           break # out of $n loop
   2814         fi
   2815         n=`expr $n + 1`
   2816       done
   2817     fi
   2818     #
   2819     if $make_ok; then
   2820       # Everything we know to check worked out, so call this resolution good.
   2821       am_cv_filesystem_timestamp_resolution=$am_try_res
   2822       break # out of $am_try_res loop
   2823     fi
   2824     # Otherwise, we'll go on to check the next resolution.
   2825   fi
   2826 done
   2827 rm -f conftest.ts?
   2828 # (end _am_filesystem_timestamp_resolution)
   2829  ;;
   2830 esac
   2831 fi
   2832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2833 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2834 
   2835 # This check should not be cached, as it may vary across builds of
   2836 # different projects.
   2837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2838 printf %s "checking whether build environment is sane... " >&6; }
   2839 # Reject unsafe characters in $srcdir or the absolute working directory
   2840 # name.  Accept space and tab only in the latter.
   2841 am_lf='
   2842 '
   2843 case `pwd` in
   2844   *[\\\"\#\$\&\'\`$am_lf]*)
   2845     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2846 printf "%s\n" "no" >&6; }
   2847     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2848 esac
   2849 case $srcdir in
   2850   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2851     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2852 printf "%s\n" "no" >&6; }
   2853     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2854 esac
   2855 
   2856 # Do 'set' in a subshell so we don't clobber the current shell's
   2857 # arguments.  Must try -L first in case configure is actually a
   2858 # symlink; some systems play weird games with the mod time of symlinks
   2859 # (eg FreeBSD returns the mod time of the symlink's containing
   2860 # directory).
   2861 am_build_env_is_sane=no
   2862 am_has_slept=no
   2863 rm -f conftest.file
   2864 for am_try in 1 2; do
   2865   echo "timestamp, slept: $am_has_slept" > conftest.file
   2866   if (
   2867     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2868     if test "$*" = "X"; then
   2869       # -L didn't work.
   2870       set X `ls -t "$srcdir/configure" conftest.file`
   2871     fi
   2872     test "$2" = conftest.file
   2873   ); then
   2874     am_build_env_is_sane=yes
   2875     break
   2876   fi
   2877   # Just in case.
   2878   sleep "$am_cv_filesystem_timestamp_resolution"
   2879   am_has_slept=yes
   2880 done
   2881 
   2882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2883 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2884 if test "$am_build_env_is_sane" = no; then
   2885   as_fn_error $? "newly created file is older than distributed files!
   2886 Check your system clock" "$LINENO" 5
   2887 fi
   2888 
   2889 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2890 # generated files are strictly newer.
   2891 am_sleep_pid=
   2892 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2893 then :
   2894 
   2895 else case e in #(
   2896   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2897   am_sleep_pid=$!
   2898  ;;
   2899 esac
   2900 fi
   2901 
   2902 rm -f conftest.file
   2903 
   2904 test "$program_prefix" != NONE &&
   2905   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2906 # Use a double $ so make ignores it.
   2907 test "$program_suffix" != NONE &&
   2908   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2909 # Double any \ or $.
   2910 # By default was 's,x,x', remove it if useless.
   2911 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2912 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2913 
   2914 
   2915 # Expand $ac_aux_dir to an absolute path.
   2916 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2917 
   2918 
   2919   if test x"${MISSING+set}" != xset; then
   2920   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2921 fi
   2922 # Use eval to expand $SHELL
   2923 if eval "$MISSING --is-lightweight"; then
   2924   am_missing_run="$MISSING "
   2925 else
   2926   am_missing_run=
   2927   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2928 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2929 fi
   2930 
   2931 if test x"${install_sh+set}" != xset; then
   2932   case $am_aux_dir in
   2933   *\ * | *\	*)
   2934     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2935   *)
   2936     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2937   esac
   2938 fi
   2939 
   2940 # Installed binaries are usually stripped using 'strip' when the user
   2941 # run "make install-strip".  However 'strip' might not be the right
   2942 # tool to use in cross-compilation environments, therefore Automake
   2943 # will honor the 'STRIP' environment variable to overrule this program.
   2944 if test "$cross_compiling" != no; then
   2945   if test -n "$ac_tool_prefix"; then
   2946   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2947 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2949 printf %s "checking for $ac_word... " >&6; }
   2950 if test ${ac_cv_prog_STRIP+y}
   2951 then :
   2952   printf %s "(cached) " >&6
   2953 else case e in #(
   2954   e) if test -n "$STRIP"; then
   2955   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2956 else
   2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2958 for as_dir in $PATH
   2959 do
   2960   IFS=$as_save_IFS
   2961   case $as_dir in #(((
   2962     '') as_dir=./ ;;
   2963     */) ;;
   2964     *) as_dir=$as_dir/ ;;
   2965   esac
   2966     for ac_exec_ext in '' $ac_executable_extensions; do
   2967   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2968     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2969     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2970     break 2
   2971   fi
   2972 done
   2973   done
   2974 IFS=$as_save_IFS
   2975 
   2976 fi ;;
   2977 esac
   2978 fi
   2979 STRIP=$ac_cv_prog_STRIP
   2980 if test -n "$STRIP"; then
   2981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2982 printf "%s\n" "$STRIP" >&6; }
   2983 else
   2984   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2985 printf "%s\n" "no" >&6; }
   2986 fi
   2987 
   2988 
   2989 fi
   2990 if test -z "$ac_cv_prog_STRIP"; then
   2991   ac_ct_STRIP=$STRIP
   2992   # Extract the first word of "strip", so it can be a program name with args.
   2993 set dummy strip; ac_word=$2
   2994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2995 printf %s "checking for $ac_word... " >&6; }
   2996 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2997 then :
   2998   printf %s "(cached) " >&6
   2999 else case e in #(
   3000   e) if test -n "$ac_ct_STRIP"; then
   3001   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3002 else
   3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3004 for as_dir in $PATH
   3005 do
   3006   IFS=$as_save_IFS
   3007   case $as_dir in #(((
   3008     '') as_dir=./ ;;
   3009     */) ;;
   3010     *) as_dir=$as_dir/ ;;
   3011   esac
   3012     for ac_exec_ext in '' $ac_executable_extensions; do
   3013   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3014     ac_cv_prog_ac_ct_STRIP="strip"
   3015     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3016     break 2
   3017   fi
   3018 done
   3019   done
   3020 IFS=$as_save_IFS
   3021 
   3022 fi ;;
   3023 esac
   3024 fi
   3025 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3026 if test -n "$ac_ct_STRIP"; then
   3027   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3028 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3029 else
   3030   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3031 printf "%s\n" "no" >&6; }
   3032 fi
   3033 
   3034   if test "x$ac_ct_STRIP" = x; then
   3035     STRIP=":"
   3036   else
   3037     case $cross_compiling:$ac_tool_warned in
   3038 yes:)
   3039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3040 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3041 ac_tool_warned=yes ;;
   3042 esac
   3043     STRIP=$ac_ct_STRIP
   3044   fi
   3045 else
   3046   STRIP="$ac_cv_prog_STRIP"
   3047 fi
   3048 
   3049 fi
   3050 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3051 
   3052 
   3053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3054 printf %s "checking for a race-free mkdir -p... " >&6; }
   3055 if test -z "$MKDIR_P"; then
   3056   if test ${ac_cv_path_mkdir+y}
   3057 then :
   3058   printf %s "(cached) " >&6
   3059 else case e in #(
   3060   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3061 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3062 do
   3063   IFS=$as_save_IFS
   3064   case $as_dir in #(((
   3065     '') as_dir=./ ;;
   3066     */) ;;
   3067     *) as_dir=$as_dir/ ;;
   3068   esac
   3069     for ac_prog in mkdir gmkdir; do
   3070 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3071 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3072 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3073 	     'mkdir ('*'coreutils) '* | \
   3074 	     *'BusyBox '* | \
   3075 	     'mkdir (fileutils) '4.1*)
   3076 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3077 	       break 3;;
   3078 	   esac
   3079 	 done
   3080        done
   3081   done
   3082 IFS=$as_save_IFS
   3083  ;;
   3084 esac
   3085 fi
   3086 
   3087   test -d ./--version && rmdir ./--version
   3088   if test ${ac_cv_path_mkdir+y}; then
   3089     MKDIR_P="$ac_cv_path_mkdir -p"
   3090   else
   3091     # As a last resort, use plain mkdir -p,
   3092     # in the hope it doesn't have the bugs of ancient mkdir.
   3093     MKDIR_P='mkdir -p'
   3094   fi
   3095 fi
   3096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3097 printf "%s\n" "$MKDIR_P" >&6; }
   3098 
   3099 for ac_prog in gawk mawk nawk awk
   3100 do
   3101   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3102 set dummy $ac_prog; ac_word=$2
   3103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3104 printf %s "checking for $ac_word... " >&6; }
   3105 if test ${ac_cv_prog_AWK+y}
   3106 then :
   3107   printf %s "(cached) " >&6
   3108 else case e in #(
   3109   e) if test -n "$AWK"; then
   3110   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3111 else
   3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3113 for as_dir in $PATH
   3114 do
   3115   IFS=$as_save_IFS
   3116   case $as_dir in #(((
   3117     '') as_dir=./ ;;
   3118     */) ;;
   3119     *) as_dir=$as_dir/ ;;
   3120   esac
   3121     for ac_exec_ext in '' $ac_executable_extensions; do
   3122   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3123     ac_cv_prog_AWK="$ac_prog"
   3124     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3125     break 2
   3126   fi
   3127 done
   3128   done
   3129 IFS=$as_save_IFS
   3130 
   3131 fi ;;
   3132 esac
   3133 fi
   3134 AWK=$ac_cv_prog_AWK
   3135 if test -n "$AWK"; then
   3136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3137 printf "%s\n" "$AWK" >&6; }
   3138 else
   3139   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3140 printf "%s\n" "no" >&6; }
   3141 fi
   3142 
   3143 
   3144   test -n "$AWK" && break
   3145 done
   3146 
   3147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3148 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3149 set x ${MAKE-make}
   3150 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3151 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3152 then :
   3153   printf %s "(cached) " >&6
   3154 else case e in #(
   3155   e) cat >conftest.make <<\_ACEOF
   3156 SHELL = /bin/sh
   3157 all:
   3158 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3159 _ACEOF
   3160 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3161 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3162   *@@@%%%=?*=@@@%%%*)
   3163     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3164   *)
   3165     eval ac_cv_prog_make_${ac_make}_set=no;;
   3166 esac
   3167 rm -f conftest.make ;;
   3168 esac
   3169 fi
   3170 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3171   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3172 printf "%s\n" "yes" >&6; }
   3173   SET_MAKE=
   3174 else
   3175   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3176 printf "%s\n" "no" >&6; }
   3177   SET_MAKE="MAKE=${MAKE-make}"
   3178 fi
   3179 
   3180 rm -rf .tst 2>/dev/null
   3181 mkdir .tst 2>/dev/null
   3182 if test -d .tst; then
   3183   am__leading_dot=.
   3184 else
   3185   am__leading_dot=_
   3186 fi
   3187 rmdir .tst 2>/dev/null
   3188 
   3189 AM_DEFAULT_VERBOSITY=1
   3190 # Check whether --enable-silent-rules was given.
   3191 if test ${enable_silent_rules+y}
   3192 then :
   3193   enableval=$enable_silent_rules;
   3194 fi
   3195 
   3196 am_make=${MAKE-make}
   3197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3198 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3199 if test ${am_cv_make_support_nested_variables+y}
   3200 then :
   3201   printf %s "(cached) " >&6
   3202 else case e in #(
   3203   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3204 BAR0=false
   3205 BAR1=true
   3206 V=1
   3207 am__doit:
   3208 	@$(TRUE)
   3209 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3210   am_cv_make_support_nested_variables=yes
   3211 else
   3212   am_cv_make_support_nested_variables=no
   3213 fi ;;
   3214 esac
   3215 fi
   3216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3217 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3218 AM_BACKSLASH='\'
   3219 
   3220 am__rm_f_notfound=
   3221 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3222 then :
   3223 
   3224 else case e in #(
   3225   e) am__rm_f_notfound='""' ;;
   3226 esac
   3227 fi
   3228 
   3229 
   3230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3231 printf %s "checking xargs -n works... " >&6; }
   3232 if test ${am_cv_xargs_n_works+y}
   3233 then :
   3234   printf %s "(cached) " >&6
   3235 else case e in #(
   3236   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3237 3"
   3238 then :
   3239   am_cv_xargs_n_works=yes
   3240 else case e in #(
   3241   e) am_cv_xargs_n_works=no ;;
   3242 esac
   3243 fi ;;
   3244 esac
   3245 fi
   3246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3247 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3248 if test "$am_cv_xargs_n_works" = yes
   3249 then :
   3250   am__xargs_n='xargs -n'
   3251 else case e in #(
   3252   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3253  ;;
   3254 esac
   3255 fi
   3256 
   3257 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3258   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3259   # is not polluted with repeated "-I."
   3260   am__isrc=' -I$(srcdir)'
   3261   # test to see if srcdir already configured
   3262   if test -f $srcdir/config.status; then
   3263     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3264   fi
   3265 fi
   3266 
   3267 # test whether we have cygpath
   3268 if test -z "$CYGPATH_W"; then
   3269   if (cygpath --version) >/dev/null 2>/dev/null; then
   3270     CYGPATH_W='cygpath -w'
   3271   else
   3272     CYGPATH_W=echo
   3273   fi
   3274 fi
   3275 
   3276 
   3277 # Define the identity of the package.
   3278  PACKAGE='fonttosfnt'
   3279  VERSION='1.2.5'
   3280 
   3281 
   3282 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3283 
   3284 
   3285 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3286 
   3287 # Some tools Automake needs.
   3288 
   3289 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3290 
   3291 
   3292 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3293 
   3294 
   3295 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3296 
   3297 
   3298 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3299 
   3300 
   3301 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3302 
   3303 # For better backward compatibility.  To be removed once Automake 1.9.x
   3304 # dies out for good.  For more background, see:
   3305 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3306 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3307 mkdir_p='$(MKDIR_P)'
   3308 
   3309 # We need awk for the "check" target (and possibly the TAP driver).  The
   3310 # system "awk" is bad on some platforms.
   3311 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3312 # in the wild :-(  We should find a proper way to deprecate it ...
   3313 AMTAR='$${TAR-tar}'
   3314 
   3315 
   3316 # We'll loop over all known methods to create a tar archive until one works.
   3317 _am_tools='gnutar plaintar pax cpio none'
   3318 
   3319 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3320       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3321       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3322       # and bug#13588).
   3323       am_max_uid=2097151 # 2^21 - 1
   3324       am_max_gid=$am_max_uid
   3325       # The $UID and $GID variables are not portable, so we need to resort
   3326       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3327       # below are definitely unexpected, so allow the users to see them
   3328       # (that is, avoid stderr redirection).
   3329       am_uid=`id -u || echo unknown`
   3330       am_gid=`id -g || echo unknown`
   3331       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3332 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3333       if test x$am_uid = xunknown; then
   3334         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3335 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3336       elif test $am_uid -le $am_max_uid; then
   3337         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3338 printf "%s\n" "yes" >&6; }
   3339       else
   3340         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3341 printf "%s\n" "no" >&6; }
   3342         _am_tools=none
   3343       fi
   3344       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3345 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3346       if test x$gm_gid = xunknown; then
   3347         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3348 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3349       elif test $am_gid -le $am_max_gid; then
   3350         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3351 printf "%s\n" "yes" >&6; }
   3352       else
   3353         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3354 printf "%s\n" "no" >&6; }
   3355         _am_tools=none
   3356       fi
   3357 
   3358   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3359 printf %s "checking how to create a ustar tar archive... " >&6; }
   3360 
   3361   # Go ahead even if we have the value already cached.  We do so because we
   3362   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3363   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3364 
   3365   for _am_tool in $_am_tools; do
   3366     case $_am_tool in
   3367     gnutar)
   3368       for _am_tar in tar gnutar gtar; do
   3369         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3370    ($_am_tar --version) >&5 2>&5
   3371    ac_status=$?
   3372    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3373    (exit $ac_status); } && break
   3374       done
   3375       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3376       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3377       am__untar="$_am_tar -xf -"
   3378       ;;
   3379     plaintar)
   3380       # Must skip GNU tar: if it does not support --format= it doesn't create
   3381       # ustar tarball either.
   3382       (tar --version) >/dev/null 2>&1 && continue
   3383       am__tar='tar chf - "$$tardir"'
   3384       am__tar_='tar chf - "$tardir"'
   3385       am__untar='tar xf -'
   3386       ;;
   3387     pax)
   3388       am__tar='pax -L -x ustar -w "$$tardir"'
   3389       am__tar_='pax -L -x ustar -w "$tardir"'
   3390       am__untar='pax -r'
   3391       ;;
   3392     cpio)
   3393       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3394       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3395       am__untar='cpio -i -H ustar -d'
   3396       ;;
   3397     none)
   3398       am__tar=false
   3399       am__tar_=false
   3400       am__untar=false
   3401       ;;
   3402     esac
   3403 
   3404     # If the value was cached, stop now.  We just wanted to have am__tar
   3405     # and am__untar set.
   3406     test -n "${am_cv_prog_tar_ustar}" && break
   3407 
   3408     # tar/untar a dummy directory, and stop if the command works.
   3409     rm -rf conftest.dir
   3410     mkdir conftest.dir
   3411     echo GrepMe > conftest.dir/file
   3412     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3413    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3414    ac_status=$?
   3415    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3416    (exit $ac_status); }
   3417     rm -rf conftest.dir
   3418     if test -s conftest.tar; then
   3419       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3420    ($am__untar <conftest.tar) >&5 2>&5
   3421    ac_status=$?
   3422    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3423    (exit $ac_status); }
   3424       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3425    (cat conftest.dir/file) >&5 2>&5
   3426    ac_status=$?
   3427    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3428    (exit $ac_status); }
   3429       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3430     fi
   3431   done
   3432   rm -rf conftest.dir
   3433 
   3434   if test ${am_cv_prog_tar_ustar+y}
   3435 then :
   3436   printf %s "(cached) " >&6
   3437 else case e in #(
   3438   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3439 esac
   3440 fi
   3441 
   3442   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3443 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   3444 
   3445 
   3446 
   3447 
   3448 
   3449 # Variables for tags utilities; see am/tags.am
   3450 if test -z "$CTAGS"; then
   3451   CTAGS=ctags
   3452 fi
   3453 
   3454 if test -z "$ETAGS"; then
   3455   ETAGS=etags
   3456 fi
   3457 
   3458 if test -z "$CSCOPE"; then
   3459   CSCOPE=cscope
   3460 fi
   3461 
   3462 
   3463 
   3464 
   3465 
   3466 
   3467 
   3468 
   3469 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3470 
   3471 
   3472 
   3473 
   3474 
   3475 
   3476 
   3477 
   3478 
   3479 
   3480 
   3481 
   3482 
   3483 
   3484 
   3485 
   3486 
   3487 
   3488 
   3489 
   3490 DEPDIR="${am__leading_dot}deps"
   3491 
   3492 ac_config_commands="$ac_config_commands depfiles"
   3493 
   3494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3495 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3496 cat > confinc.mk << 'END'
   3497 am__doit:
   3498 	@echo this is the am__doit target >confinc.out
   3499 .PHONY: am__doit
   3500 END
   3501 am__include="#"
   3502 am__quote=
   3503 # BSD make does it like this.
   3504 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3505 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3506 echo 'include confinc.mk # ignored' > confmf.GNU
   3507 _am_result=no
   3508 for s in GNU BSD; do
   3509   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3510    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3511    ac_status=$?
   3512    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3513    (exit $ac_status); }
   3514   case $?:`cat confinc.out 2>/dev/null` in #(
   3515   '0:this is the am__doit target') :
   3516     case $s in #(
   3517   BSD) :
   3518     am__include='.include' am__quote='"' ;; #(
   3519   *) :
   3520     am__include='include' am__quote='' ;;
   3521 esac ;; #(
   3522   *) :
   3523      ;;
   3524 esac
   3525   if test "$am__include" != "#"; then
   3526     _am_result="yes ($s style)"
   3527     break
   3528   fi
   3529 done
   3530 rm -f confinc.* confmf.*
   3531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3532 printf "%s\n" "${_am_result}" >&6; }
   3533 
   3534 # Check whether --enable-dependency-tracking was given.
   3535 if test ${enable_dependency_tracking+y}
   3536 then :
   3537   enableval=$enable_dependency_tracking;
   3538 fi
   3539 
   3540 if test "x$enable_dependency_tracking" != xno; then
   3541   am_depcomp="$ac_aux_dir/depcomp"
   3542   AMDEPBACKSLASH='\'
   3543   am__nodep='_no'
   3544 fi
   3545  if test "x$enable_dependency_tracking" != xno; then
   3546   AMDEP_TRUE=
   3547   AMDEP_FALSE='#'
   3548 else
   3549   AMDEP_TRUE='#'
   3550   AMDEP_FALSE=
   3551 fi
   3552 
   3553 
   3554 ac_ext=c
   3555 ac_cpp='$CPP $CPPFLAGS'
   3556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3559 if test -n "$ac_tool_prefix"; then
   3560   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3561 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3563 printf %s "checking for $ac_word... " >&6; }
   3564 if test ${ac_cv_prog_CC+y}
   3565 then :
   3566   printf %s "(cached) " >&6
   3567 else case e in #(
   3568   e) if test -n "$CC"; then
   3569   ac_cv_prog_CC="$CC" # Let the user override the test.
   3570 else
   3571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3572 for as_dir in $PATH
   3573 do
   3574   IFS=$as_save_IFS
   3575   case $as_dir in #(((
   3576     '') as_dir=./ ;;
   3577     */) ;;
   3578     *) as_dir=$as_dir/ ;;
   3579   esac
   3580     for ac_exec_ext in '' $ac_executable_extensions; do
   3581   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3582     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3583     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3584     break 2
   3585   fi
   3586 done
   3587   done
   3588 IFS=$as_save_IFS
   3589 
   3590 fi ;;
   3591 esac
   3592 fi
   3593 CC=$ac_cv_prog_CC
   3594 if test -n "$CC"; then
   3595   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3596 printf "%s\n" "$CC" >&6; }
   3597 else
   3598   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3599 printf "%s\n" "no" >&6; }
   3600 fi
   3601 
   3602 
   3603 fi
   3604 if test -z "$ac_cv_prog_CC"; then
   3605   ac_ct_CC=$CC
   3606   # Extract the first word of "gcc", so it can be a program name with args.
   3607 set dummy gcc; ac_word=$2
   3608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3609 printf %s "checking for $ac_word... " >&6; }
   3610 if test ${ac_cv_prog_ac_ct_CC+y}
   3611 then :
   3612   printf %s "(cached) " >&6
   3613 else case e in #(
   3614   e) if test -n "$ac_ct_CC"; then
   3615   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3616 else
   3617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3618 for as_dir in $PATH
   3619 do
   3620   IFS=$as_save_IFS
   3621   case $as_dir in #(((
   3622     '') as_dir=./ ;;
   3623     */) ;;
   3624     *) as_dir=$as_dir/ ;;
   3625   esac
   3626     for ac_exec_ext in '' $ac_executable_extensions; do
   3627   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3628     ac_cv_prog_ac_ct_CC="gcc"
   3629     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3630     break 2
   3631   fi
   3632 done
   3633   done
   3634 IFS=$as_save_IFS
   3635 
   3636 fi ;;
   3637 esac
   3638 fi
   3639 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3640 if test -n "$ac_ct_CC"; then
   3641   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3642 printf "%s\n" "$ac_ct_CC" >&6; }
   3643 else
   3644   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3645 printf "%s\n" "no" >&6; }
   3646 fi
   3647 
   3648   if test "x$ac_ct_CC" = x; then
   3649     CC=""
   3650   else
   3651     case $cross_compiling:$ac_tool_warned in
   3652 yes:)
   3653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3654 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3655 ac_tool_warned=yes ;;
   3656 esac
   3657     CC=$ac_ct_CC
   3658   fi
   3659 else
   3660   CC="$ac_cv_prog_CC"
   3661 fi
   3662 
   3663 if test -z "$CC"; then
   3664           if test -n "$ac_tool_prefix"; then
   3665     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3666 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3668 printf %s "checking for $ac_word... " >&6; }
   3669 if test ${ac_cv_prog_CC+y}
   3670 then :
   3671   printf %s "(cached) " >&6
   3672 else case e in #(
   3673   e) if test -n "$CC"; then
   3674   ac_cv_prog_CC="$CC" # Let the user override the test.
   3675 else
   3676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3677 for as_dir in $PATH
   3678 do
   3679   IFS=$as_save_IFS
   3680   case $as_dir in #(((
   3681     '') as_dir=./ ;;
   3682     */) ;;
   3683     *) as_dir=$as_dir/ ;;
   3684   esac
   3685     for ac_exec_ext in '' $ac_executable_extensions; do
   3686   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3687     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3688     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3689     break 2
   3690   fi
   3691 done
   3692   done
   3693 IFS=$as_save_IFS
   3694 
   3695 fi ;;
   3696 esac
   3697 fi
   3698 CC=$ac_cv_prog_CC
   3699 if test -n "$CC"; then
   3700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3701 printf "%s\n" "$CC" >&6; }
   3702 else
   3703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3704 printf "%s\n" "no" >&6; }
   3705 fi
   3706 
   3707 
   3708   fi
   3709 fi
   3710 if test -z "$CC"; then
   3711   # Extract the first word of "cc", so it can be a program name with args.
   3712 set dummy cc; ac_word=$2
   3713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3714 printf %s "checking for $ac_word... " >&6; }
   3715 if test ${ac_cv_prog_CC+y}
   3716 then :
   3717   printf %s "(cached) " >&6
   3718 else case e in #(
   3719   e) if test -n "$CC"; then
   3720   ac_cv_prog_CC="$CC" # Let the user override the test.
   3721 else
   3722   ac_prog_rejected=no
   3723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3724 for as_dir in $PATH
   3725 do
   3726   IFS=$as_save_IFS
   3727   case $as_dir in #(((
   3728     '') as_dir=./ ;;
   3729     */) ;;
   3730     *) as_dir=$as_dir/ ;;
   3731   esac
   3732     for ac_exec_ext in '' $ac_executable_extensions; do
   3733   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3734     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3735        ac_prog_rejected=yes
   3736        continue
   3737      fi
   3738     ac_cv_prog_CC="cc"
   3739     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3740     break 2
   3741   fi
   3742 done
   3743   done
   3744 IFS=$as_save_IFS
   3745 
   3746 if test $ac_prog_rejected = yes; then
   3747   # We found a bogon in the path, so make sure we never use it.
   3748   set dummy $ac_cv_prog_CC
   3749   shift
   3750   if test $# != 0; then
   3751     # We chose a different compiler from the bogus one.
   3752     # However, it has the same basename, so the bogon will be chosen
   3753     # first if we set CC to just the basename; use the full file name.
   3754     shift
   3755     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3756   fi
   3757 fi
   3758 fi ;;
   3759 esac
   3760 fi
   3761 CC=$ac_cv_prog_CC
   3762 if test -n "$CC"; then
   3763   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3764 printf "%s\n" "$CC" >&6; }
   3765 else
   3766   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3767 printf "%s\n" "no" >&6; }
   3768 fi
   3769 
   3770 
   3771 fi
   3772 if test -z "$CC"; then
   3773   if test -n "$ac_tool_prefix"; then
   3774   for ac_prog in cl.exe
   3775   do
   3776     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3777 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3779 printf %s "checking for $ac_word... " >&6; }
   3780 if test ${ac_cv_prog_CC+y}
   3781 then :
   3782   printf %s "(cached) " >&6
   3783 else case e in #(
   3784   e) if test -n "$CC"; then
   3785   ac_cv_prog_CC="$CC" # Let the user override the test.
   3786 else
   3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3788 for as_dir in $PATH
   3789 do
   3790   IFS=$as_save_IFS
   3791   case $as_dir in #(((
   3792     '') as_dir=./ ;;
   3793     */) ;;
   3794     *) as_dir=$as_dir/ ;;
   3795   esac
   3796     for ac_exec_ext in '' $ac_executable_extensions; do
   3797   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3798     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3799     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3800     break 2
   3801   fi
   3802 done
   3803   done
   3804 IFS=$as_save_IFS
   3805 
   3806 fi ;;
   3807 esac
   3808 fi
   3809 CC=$ac_cv_prog_CC
   3810 if test -n "$CC"; then
   3811   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3812 printf "%s\n" "$CC" >&6; }
   3813 else
   3814   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3815 printf "%s\n" "no" >&6; }
   3816 fi
   3817 
   3818 
   3819     test -n "$CC" && break
   3820   done
   3821 fi
   3822 if test -z "$CC"; then
   3823   ac_ct_CC=$CC
   3824   for ac_prog in cl.exe
   3825 do
   3826   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3827 set dummy $ac_prog; ac_word=$2
   3828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3829 printf %s "checking for $ac_word... " >&6; }
   3830 if test ${ac_cv_prog_ac_ct_CC+y}
   3831 then :
   3832   printf %s "(cached) " >&6
   3833 else case e in #(
   3834   e) if test -n "$ac_ct_CC"; then
   3835   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3836 else
   3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3838 for as_dir in $PATH
   3839 do
   3840   IFS=$as_save_IFS
   3841   case $as_dir in #(((
   3842     '') as_dir=./ ;;
   3843     */) ;;
   3844     *) as_dir=$as_dir/ ;;
   3845   esac
   3846     for ac_exec_ext in '' $ac_executable_extensions; do
   3847   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3848     ac_cv_prog_ac_ct_CC="$ac_prog"
   3849     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3850     break 2
   3851   fi
   3852 done
   3853   done
   3854 IFS=$as_save_IFS
   3855 
   3856 fi ;;
   3857 esac
   3858 fi
   3859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3860 if test -n "$ac_ct_CC"; then
   3861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3862 printf "%s\n" "$ac_ct_CC" >&6; }
   3863 else
   3864   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3865 printf "%s\n" "no" >&6; }
   3866 fi
   3867 
   3868 
   3869   test -n "$ac_ct_CC" && break
   3870 done
   3871 
   3872   if test "x$ac_ct_CC" = x; then
   3873     CC=""
   3874   else
   3875     case $cross_compiling:$ac_tool_warned in
   3876 yes:)
   3877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3878 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3879 ac_tool_warned=yes ;;
   3880 esac
   3881     CC=$ac_ct_CC
   3882   fi
   3883 fi
   3884 
   3885 fi
   3886 if test -z "$CC"; then
   3887   if test -n "$ac_tool_prefix"; then
   3888   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3889 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3891 printf %s "checking for $ac_word... " >&6; }
   3892 if test ${ac_cv_prog_CC+y}
   3893 then :
   3894   printf %s "(cached) " >&6
   3895 else case e in #(
   3896   e) if test -n "$CC"; then
   3897   ac_cv_prog_CC="$CC" # Let the user override the test.
   3898 else
   3899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3900 for as_dir in $PATH
   3901 do
   3902   IFS=$as_save_IFS
   3903   case $as_dir in #(((
   3904     '') as_dir=./ ;;
   3905     */) ;;
   3906     *) as_dir=$as_dir/ ;;
   3907   esac
   3908     for ac_exec_ext in '' $ac_executable_extensions; do
   3909   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3910     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3911     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3912     break 2
   3913   fi
   3914 done
   3915   done
   3916 IFS=$as_save_IFS
   3917 
   3918 fi ;;
   3919 esac
   3920 fi
   3921 CC=$ac_cv_prog_CC
   3922 if test -n "$CC"; then
   3923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3924 printf "%s\n" "$CC" >&6; }
   3925 else
   3926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3927 printf "%s\n" "no" >&6; }
   3928 fi
   3929 
   3930 
   3931 fi
   3932 if test -z "$ac_cv_prog_CC"; then
   3933   ac_ct_CC=$CC
   3934   # Extract the first word of "clang", so it can be a program name with args.
   3935 set dummy clang; ac_word=$2
   3936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3937 printf %s "checking for $ac_word... " >&6; }
   3938 if test ${ac_cv_prog_ac_ct_CC+y}
   3939 then :
   3940   printf %s "(cached) " >&6
   3941 else case e in #(
   3942   e) if test -n "$ac_ct_CC"; then
   3943   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3944 else
   3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3946 for as_dir in $PATH
   3947 do
   3948   IFS=$as_save_IFS
   3949   case $as_dir in #(((
   3950     '') as_dir=./ ;;
   3951     */) ;;
   3952     *) as_dir=$as_dir/ ;;
   3953   esac
   3954     for ac_exec_ext in '' $ac_executable_extensions; do
   3955   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3956     ac_cv_prog_ac_ct_CC="clang"
   3957     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3958     break 2
   3959   fi
   3960 done
   3961   done
   3962 IFS=$as_save_IFS
   3963 
   3964 fi ;;
   3965 esac
   3966 fi
   3967 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3968 if test -n "$ac_ct_CC"; then
   3969   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3970 printf "%s\n" "$ac_ct_CC" >&6; }
   3971 else
   3972   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3973 printf "%s\n" "no" >&6; }
   3974 fi
   3975 
   3976   if test "x$ac_ct_CC" = x; then
   3977     CC=""
   3978   else
   3979     case $cross_compiling:$ac_tool_warned in
   3980 yes:)
   3981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3982 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3983 ac_tool_warned=yes ;;
   3984 esac
   3985     CC=$ac_ct_CC
   3986   fi
   3987 else
   3988   CC="$ac_cv_prog_CC"
   3989 fi
   3990 
   3991 fi
   3992 
   3993 
   3994 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3995 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3996 as_fn_error $? "no acceptable C compiler found in \$PATH
   3997 See 'config.log' for more details" "$LINENO" 5; }
   3998 
   3999 # Provide some information about the compiler.
   4000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4001 set X $ac_compile
   4002 ac_compiler=$2
   4003 for ac_option in --version -v -V -qversion -version; do
   4004   { { ac_try="$ac_compiler $ac_option >&5"
   4005 case "(($ac_try" in
   4006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4007   *) ac_try_echo=$ac_try;;
   4008 esac
   4009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4010 printf "%s\n" "$ac_try_echo"; } >&5
   4011   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4012   ac_status=$?
   4013   if test -s conftest.err; then
   4014     sed '10a\
   4015 ... rest of stderr output deleted ...
   4016          10q' conftest.err >conftest.er1
   4017     cat conftest.er1 >&5
   4018   fi
   4019   rm -f conftest.er1 conftest.err
   4020   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4021   test $ac_status = 0; }
   4022 done
   4023 
   4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4025 /* end confdefs.h.  */
   4026 
   4027 int
   4028 main (void)
   4029 {
   4030 
   4031   ;
   4032   return 0;
   4033 }
   4034 _ACEOF
   4035 ac_clean_files_save=$ac_clean_files
   4036 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4037 # Try to create an executable without -o first, disregard a.out.
   4038 # It will help us diagnose broken compilers, and finding out an intuition
   4039 # of exeext.
   4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4041 printf %s "checking whether the C compiler works... " >&6; }
   4042 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4043 
   4044 # The possible output files:
   4045 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4046 
   4047 ac_rmfiles=
   4048 for ac_file in $ac_files
   4049 do
   4050   case $ac_file in
   4051     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4052     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4053   esac
   4054 done
   4055 rm -f $ac_rmfiles
   4056 
   4057 if { { ac_try="$ac_link_default"
   4058 case "(($ac_try" in
   4059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4060   *) ac_try_echo=$ac_try;;
   4061 esac
   4062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4063 printf "%s\n" "$ac_try_echo"; } >&5
   4064   (eval "$ac_link_default") 2>&5
   4065   ac_status=$?
   4066   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4067   test $ac_status = 0; }
   4068 then :
   4069   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4070 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4071 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4072 # so that the user can short-circuit this test for compilers unknown to
   4073 # Autoconf.
   4074 for ac_file in $ac_files ''
   4075 do
   4076   test -f "$ac_file" || continue
   4077   case $ac_file in
   4078     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4079 	;;
   4080     [ab].out )
   4081 	# We found the default executable, but exeext='' is most
   4082 	# certainly right.
   4083 	break;;
   4084     *.* )
   4085 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4086 	then :; else
   4087 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4088 	fi
   4089 	# We set ac_cv_exeext here because the later test for it is not
   4090 	# safe: cross compilers may not add the suffix if given an '-o'
   4091 	# argument, so we may need to know it at that point already.
   4092 	# Even if this section looks crufty: it has the advantage of
   4093 	# actually working.
   4094 	break;;
   4095     * )
   4096 	break;;
   4097   esac
   4098 done
   4099 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4100 
   4101 else case e in #(
   4102   e) ac_file='' ;;
   4103 esac
   4104 fi
   4105 if test -z "$ac_file"
   4106 then :
   4107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4108 printf "%s\n" "no" >&6; }
   4109 printf "%s\n" "$as_me: failed program was:" >&5
   4110 sed 's/^/| /' conftest.$ac_ext >&5
   4111 
   4112 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4113 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4114 as_fn_error 77 "C compiler cannot create executables
   4115 See 'config.log' for more details" "$LINENO" 5; }
   4116 else case e in #(
   4117   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4118 printf "%s\n" "yes" >&6; } ;;
   4119 esac
   4120 fi
   4121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4122 printf %s "checking for C compiler default output file name... " >&6; }
   4123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4124 printf "%s\n" "$ac_file" >&6; }
   4125 ac_exeext=$ac_cv_exeext
   4126 
   4127 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4128 ac_clean_files=$ac_clean_files_save
   4129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4130 printf %s "checking for suffix of executables... " >&6; }
   4131 if { { ac_try="$ac_link"
   4132 case "(($ac_try" in
   4133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4134   *) ac_try_echo=$ac_try;;
   4135 esac
   4136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4137 printf "%s\n" "$ac_try_echo"; } >&5
   4138   (eval "$ac_link") 2>&5
   4139   ac_status=$?
   4140   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4141   test $ac_status = 0; }
   4142 then :
   4143   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4144 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4145 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4146 # 'rm'.
   4147 for ac_file in conftest.exe conftest conftest.*; do
   4148   test -f "$ac_file" || continue
   4149   case $ac_file in
   4150     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4151     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4152 	  break;;
   4153     * ) break;;
   4154   esac
   4155 done
   4156 else case e in #(
   4157   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4158 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4159 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4160 See 'config.log' for more details" "$LINENO" 5; } ;;
   4161 esac
   4162 fi
   4163 rm -f conftest conftest$ac_cv_exeext
   4164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4165 printf "%s\n" "$ac_cv_exeext" >&6; }
   4166 
   4167 rm -f conftest.$ac_ext
   4168 EXEEXT=$ac_cv_exeext
   4169 ac_exeext=$EXEEXT
   4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4171 /* end confdefs.h.  */
   4172 #include <stdio.h>
   4173 int
   4174 main (void)
   4175 {
   4176 FILE *f = fopen ("conftest.out", "w");
   4177  if (!f)
   4178   return 1;
   4179  return ferror (f) || fclose (f) != 0;
   4180 
   4181   ;
   4182   return 0;
   4183 }
   4184 _ACEOF
   4185 ac_clean_files="$ac_clean_files conftest.out"
   4186 # Check that the compiler produces executables we can run.  If not, either
   4187 # the compiler is broken, or we cross compile.
   4188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4189 printf %s "checking whether we are cross compiling... " >&6; }
   4190 if test "$cross_compiling" != yes; then
   4191   { { ac_try="$ac_link"
   4192 case "(($ac_try" in
   4193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4194   *) ac_try_echo=$ac_try;;
   4195 esac
   4196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4197 printf "%s\n" "$ac_try_echo"; } >&5
   4198   (eval "$ac_link") 2>&5
   4199   ac_status=$?
   4200   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4201   test $ac_status = 0; }
   4202   if { ac_try='./conftest$ac_cv_exeext'
   4203   { { case "(($ac_try" in
   4204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4205   *) ac_try_echo=$ac_try;;
   4206 esac
   4207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4208 printf "%s\n" "$ac_try_echo"; } >&5
   4209   (eval "$ac_try") 2>&5
   4210   ac_status=$?
   4211   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4212   test $ac_status = 0; }; }; then
   4213     cross_compiling=no
   4214   else
   4215     if test "$cross_compiling" = maybe; then
   4216 	cross_compiling=yes
   4217     else
   4218 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4219 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4220 as_fn_error 77 "cannot run C compiled programs.
   4221 If you meant to cross compile, use '--host'.
   4222 See 'config.log' for more details" "$LINENO" 5; }
   4223     fi
   4224   fi
   4225 fi
   4226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4227 printf "%s\n" "$cross_compiling" >&6; }
   4228 
   4229 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4230   conftest.o conftest.obj conftest.out
   4231 ac_clean_files=$ac_clean_files_save
   4232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4233 printf %s "checking for suffix of object files... " >&6; }
   4234 if test ${ac_cv_objext+y}
   4235 then :
   4236   printf %s "(cached) " >&6
   4237 else case e in #(
   4238   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4239 /* end confdefs.h.  */
   4240 
   4241 int
   4242 main (void)
   4243 {
   4244 
   4245   ;
   4246   return 0;
   4247 }
   4248 _ACEOF
   4249 rm -f conftest.o conftest.obj
   4250 if { { ac_try="$ac_compile"
   4251 case "(($ac_try" in
   4252   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4253   *) ac_try_echo=$ac_try;;
   4254 esac
   4255 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4256 printf "%s\n" "$ac_try_echo"; } >&5
   4257   (eval "$ac_compile") 2>&5
   4258   ac_status=$?
   4259   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4260   test $ac_status = 0; }
   4261 then :
   4262   for ac_file in conftest.o conftest.obj conftest.*; do
   4263   test -f "$ac_file" || continue;
   4264   case $ac_file in
   4265     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4266     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4267        break;;
   4268   esac
   4269 done
   4270 else case e in #(
   4271   e) printf "%s\n" "$as_me: failed program was:" >&5
   4272 sed 's/^/| /' conftest.$ac_ext >&5
   4273 
   4274 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4275 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4276 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4277 See 'config.log' for more details" "$LINENO" 5; } ;;
   4278 esac
   4279 fi
   4280 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4281 esac
   4282 fi
   4283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4284 printf "%s\n" "$ac_cv_objext" >&6; }
   4285 OBJEXT=$ac_cv_objext
   4286 ac_objext=$OBJEXT
   4287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4288 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4289 if test ${ac_cv_c_compiler_gnu+y}
   4290 then :
   4291   printf %s "(cached) " >&6
   4292 else case e in #(
   4293   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4294 /* end confdefs.h.  */
   4295 
   4296 int
   4297 main (void)
   4298 {
   4299 #ifndef __GNUC__
   4300        choke me
   4301 #endif
   4302 
   4303   ;
   4304   return 0;
   4305 }
   4306 _ACEOF
   4307 if ac_fn_c_try_compile "$LINENO"
   4308 then :
   4309   ac_compiler_gnu=yes
   4310 else case e in #(
   4311   e) ac_compiler_gnu=no ;;
   4312 esac
   4313 fi
   4314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4315 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4316  ;;
   4317 esac
   4318 fi
   4319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4320 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4322 
   4323 if test $ac_compiler_gnu = yes; then
   4324   GCC=yes
   4325 else
   4326   GCC=
   4327 fi
   4328 ac_test_CFLAGS=${CFLAGS+y}
   4329 ac_save_CFLAGS=$CFLAGS
   4330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4331 printf %s "checking whether $CC accepts -g... " >&6; }
   4332 if test ${ac_cv_prog_cc_g+y}
   4333 then :
   4334   printf %s "(cached) " >&6
   4335 else case e in #(
   4336   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4337    ac_c_werror_flag=yes
   4338    ac_cv_prog_cc_g=no
   4339    CFLAGS="-g"
   4340    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4341 /* end confdefs.h.  */
   4342 
   4343 int
   4344 main (void)
   4345 {
   4346 
   4347   ;
   4348   return 0;
   4349 }
   4350 _ACEOF
   4351 if ac_fn_c_try_compile "$LINENO"
   4352 then :
   4353   ac_cv_prog_cc_g=yes
   4354 else case e in #(
   4355   e) CFLAGS=""
   4356       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4357 /* end confdefs.h.  */
   4358 
   4359 int
   4360 main (void)
   4361 {
   4362 
   4363   ;
   4364   return 0;
   4365 }
   4366 _ACEOF
   4367 if ac_fn_c_try_compile "$LINENO"
   4368 then :
   4369 
   4370 else case e in #(
   4371   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4372 	 CFLAGS="-g"
   4373 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4374 /* end confdefs.h.  */
   4375 
   4376 int
   4377 main (void)
   4378 {
   4379 
   4380   ;
   4381   return 0;
   4382 }
   4383 _ACEOF
   4384 if ac_fn_c_try_compile "$LINENO"
   4385 then :
   4386   ac_cv_prog_cc_g=yes
   4387 fi
   4388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4389 esac
   4390 fi
   4391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4392 esac
   4393 fi
   4394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4395    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4396 esac
   4397 fi
   4398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4399 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4400 if test $ac_test_CFLAGS; then
   4401   CFLAGS=$ac_save_CFLAGS
   4402 elif test $ac_cv_prog_cc_g = yes; then
   4403   if test "$GCC" = yes; then
   4404     CFLAGS="-g -O2"
   4405   else
   4406     CFLAGS="-g"
   4407   fi
   4408 else
   4409   if test "$GCC" = yes; then
   4410     CFLAGS="-O2"
   4411   else
   4412     CFLAGS=
   4413   fi
   4414 fi
   4415 ac_prog_cc_stdc=no
   4416 if test x$ac_prog_cc_stdc = xno
   4417 then :
   4418   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4419 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4420 if test ${ac_cv_prog_cc_c11+y}
   4421 then :
   4422   printf %s "(cached) " >&6
   4423 else case e in #(
   4424   e) ac_cv_prog_cc_c11=no
   4425 ac_save_CC=$CC
   4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4427 /* end confdefs.h.  */
   4428 $ac_c_conftest_c11_program
   4429 _ACEOF
   4430 for ac_arg in '' -std=gnu11
   4431 do
   4432   CC="$ac_save_CC $ac_arg"
   4433   if ac_fn_c_try_compile "$LINENO"
   4434 then :
   4435   ac_cv_prog_cc_c11=$ac_arg
   4436 fi
   4437 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4438   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4439 done
   4440 rm -f conftest.$ac_ext
   4441 CC=$ac_save_CC ;;
   4442 esac
   4443 fi
   4444 
   4445 if test "x$ac_cv_prog_cc_c11" = xno
   4446 then :
   4447   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4448 printf "%s\n" "unsupported" >&6; }
   4449 else case e in #(
   4450   e) if test "x$ac_cv_prog_cc_c11" = x
   4451 then :
   4452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4453 printf "%s\n" "none needed" >&6; }
   4454 else case e in #(
   4455   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4456 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4457      CC="$CC $ac_cv_prog_cc_c11" ;;
   4458 esac
   4459 fi
   4460   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4461   ac_prog_cc_stdc=c11 ;;
   4462 esac
   4463 fi
   4464 fi
   4465 if test x$ac_prog_cc_stdc = xno
   4466 then :
   4467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4468 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4469 if test ${ac_cv_prog_cc_c99+y}
   4470 then :
   4471   printf %s "(cached) " >&6
   4472 else case e in #(
   4473   e) ac_cv_prog_cc_c99=no
   4474 ac_save_CC=$CC
   4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4476 /* end confdefs.h.  */
   4477 $ac_c_conftest_c99_program
   4478 _ACEOF
   4479 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4480 do
   4481   CC="$ac_save_CC $ac_arg"
   4482   if ac_fn_c_try_compile "$LINENO"
   4483 then :
   4484   ac_cv_prog_cc_c99=$ac_arg
   4485 fi
   4486 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4487   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4488 done
   4489 rm -f conftest.$ac_ext
   4490 CC=$ac_save_CC ;;
   4491 esac
   4492 fi
   4493 
   4494 if test "x$ac_cv_prog_cc_c99" = xno
   4495 then :
   4496   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4497 printf "%s\n" "unsupported" >&6; }
   4498 else case e in #(
   4499   e) if test "x$ac_cv_prog_cc_c99" = x
   4500 then :
   4501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4502 printf "%s\n" "none needed" >&6; }
   4503 else case e in #(
   4504   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4505 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4506      CC="$CC $ac_cv_prog_cc_c99" ;;
   4507 esac
   4508 fi
   4509   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4510   ac_prog_cc_stdc=c99 ;;
   4511 esac
   4512 fi
   4513 fi
   4514 if test x$ac_prog_cc_stdc = xno
   4515 then :
   4516   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4517 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4518 if test ${ac_cv_prog_cc_c89+y}
   4519 then :
   4520   printf %s "(cached) " >&6
   4521 else case e in #(
   4522   e) ac_cv_prog_cc_c89=no
   4523 ac_save_CC=$CC
   4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4525 /* end confdefs.h.  */
   4526 $ac_c_conftest_c89_program
   4527 _ACEOF
   4528 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4529 do
   4530   CC="$ac_save_CC $ac_arg"
   4531   if ac_fn_c_try_compile "$LINENO"
   4532 then :
   4533   ac_cv_prog_cc_c89=$ac_arg
   4534 fi
   4535 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4536   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4537 done
   4538 rm -f conftest.$ac_ext
   4539 CC=$ac_save_CC ;;
   4540 esac
   4541 fi
   4542 
   4543 if test "x$ac_cv_prog_cc_c89" = xno
   4544 then :
   4545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4546 printf "%s\n" "unsupported" >&6; }
   4547 else case e in #(
   4548   e) if test "x$ac_cv_prog_cc_c89" = x
   4549 then :
   4550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4551 printf "%s\n" "none needed" >&6; }
   4552 else case e in #(
   4553   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4554 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4555      CC="$CC $ac_cv_prog_cc_c89" ;;
   4556 esac
   4557 fi
   4558   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4559   ac_prog_cc_stdc=c89 ;;
   4560 esac
   4561 fi
   4562 fi
   4563 
   4564 ac_ext=c
   4565 ac_cpp='$CPP $CPPFLAGS'
   4566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4569 
   4570 
   4571   ac_ext=c
   4572 ac_cpp='$CPP $CPPFLAGS'
   4573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4577 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4578 if test ${am_cv_prog_cc_c_o+y}
   4579 then :
   4580   printf %s "(cached) " >&6
   4581 else case e in #(
   4582   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4583 /* end confdefs.h.  */
   4584 
   4585 int
   4586 main (void)
   4587 {
   4588 
   4589   ;
   4590   return 0;
   4591 }
   4592 _ACEOF
   4593   # Make sure it works both with $CC and with simple cc.
   4594   # Following AC_PROG_CC_C_O, we do the test twice because some
   4595   # compilers refuse to overwrite an existing .o file with -o,
   4596   # though they will create one.
   4597   am_cv_prog_cc_c_o=yes
   4598   for am_i in 1 2; do
   4599     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4600    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4601    ac_status=$?
   4602    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4603    (exit $ac_status); } \
   4604          && test -f conftest2.$ac_objext; then
   4605       : OK
   4606     else
   4607       am_cv_prog_cc_c_o=no
   4608       break
   4609     fi
   4610   done
   4611   # aligned with autoconf, so not including core; see bug#72225.
   4612   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4613     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4614     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4615   unset am_i ;;
   4616 esac
   4617 fi
   4618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4619 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4620 if test "$am_cv_prog_cc_c_o" != yes; then
   4621    # Losing compiler, so override with the script.
   4622    # FIXME: It is wrong to rewrite CC.
   4623    # But if we don't then we get into trouble of one sort or another.
   4624    # A longer-term fix would be to have automake use am__CC in this case,
   4625    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4626    CC="$am_aux_dir/compile $CC"
   4627 fi
   4628 ac_ext=c
   4629 ac_cpp='$CPP $CPPFLAGS'
   4630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4633 
   4634 
   4635 depcc="$CC"   am_compiler_list=
   4636 
   4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4638 printf %s "checking dependency style of $depcc... " >&6; }
   4639 if test ${am_cv_CC_dependencies_compiler_type+y}
   4640 then :
   4641   printf %s "(cached) " >&6
   4642 else case e in #(
   4643   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4644   # We make a subdir and do the tests there.  Otherwise we can end up
   4645   # making bogus files that we don't know about and never remove.  For
   4646   # instance it was reported that on HP-UX the gcc test will end up
   4647   # making a dummy file named 'D' -- because '-MD' means "put the output
   4648   # in D".
   4649   rm -rf conftest.dir
   4650   mkdir conftest.dir
   4651   # Copy depcomp to subdir because otherwise we won't find it if we're
   4652   # using a relative directory.
   4653   cp "$am_depcomp" conftest.dir
   4654   cd conftest.dir
   4655   # We will build objects and dependencies in a subdirectory because
   4656   # it helps to detect inapplicable dependency modes.  For instance
   4657   # both Tru64's cc and ICC support -MD to output dependencies as a
   4658   # side effect of compilation, but ICC will put the dependencies in
   4659   # the current directory while Tru64 will put them in the object
   4660   # directory.
   4661   mkdir sub
   4662 
   4663   am_cv_CC_dependencies_compiler_type=none
   4664   if test "$am_compiler_list" = ""; then
   4665      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4666   fi
   4667   am__universal=false
   4668   case " $depcc " in #(
   4669      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4670      esac
   4671 
   4672   for depmode in $am_compiler_list; do
   4673     # Setup a source with many dependencies, because some compilers
   4674     # like to wrap large dependency lists on column 80 (with \), and
   4675     # we should not choose a depcomp mode which is confused by this.
   4676     #
   4677     # We need to recreate these files for each test, as the compiler may
   4678     # overwrite some of them when testing with obscure command lines.
   4679     # This happens at least with the AIX C compiler.
   4680     : > sub/conftest.c
   4681     for i in 1 2 3 4 5 6; do
   4682       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4683       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4684       # Solaris 10 /bin/sh.
   4685       echo '/* dummy */' > sub/conftst$i.h
   4686     done
   4687     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4688 
   4689     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4690     # mode.  It turns out that the SunPro C++ compiler does not properly
   4691     # handle '-M -o', and we need to detect this.  Also, some Intel
   4692     # versions had trouble with output in subdirs.
   4693     am__obj=sub/conftest.${OBJEXT-o}
   4694     am__minus_obj="-o $am__obj"
   4695     case $depmode in
   4696     gcc)
   4697       # This depmode causes a compiler race in universal mode.
   4698       test "$am__universal" = false || continue
   4699       ;;
   4700     nosideeffect)
   4701       # After this tag, mechanisms are not by side-effect, so they'll
   4702       # only be used when explicitly requested.
   4703       if test "x$enable_dependency_tracking" = xyes; then
   4704 	continue
   4705       else
   4706 	break
   4707       fi
   4708       ;;
   4709     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4710       # This compiler won't grok '-c -o', but also, the minuso test has
   4711       # not run yet.  These depmodes are late enough in the game, and
   4712       # so weak that their functioning should not be impacted.
   4713       am__obj=conftest.${OBJEXT-o}
   4714       am__minus_obj=
   4715       ;;
   4716     none) break ;;
   4717     esac
   4718     if depmode=$depmode \
   4719        source=sub/conftest.c object=$am__obj \
   4720        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4721        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4722          >/dev/null 2>conftest.err &&
   4723        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4724        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4725        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4726        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4727       # icc doesn't choke on unknown options, it will just issue warnings
   4728       # or remarks (even with -Werror).  So we grep stderr for any message
   4729       # that says an option was ignored or not supported.
   4730       # When given -MP, icc 7.0 and 7.1 complain thus:
   4731       #   icc: Command line warning: ignoring option '-M'; no argument required
   4732       # The diagnosis changed in icc 8.0:
   4733       #   icc: Command line remark: option '-MP' not supported
   4734       if (grep 'ignoring option' conftest.err ||
   4735           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4736         am_cv_CC_dependencies_compiler_type=$depmode
   4737         break
   4738       fi
   4739     fi
   4740   done
   4741 
   4742   cd ..
   4743   rm -rf conftest.dir
   4744 else
   4745   am_cv_CC_dependencies_compiler_type=none
   4746 fi
   4747  ;;
   4748 esac
   4749 fi
   4750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4751 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4752 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4753 
   4754  if
   4755   test "x$enable_dependency_tracking" != xno \
   4756   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4757   am__fastdepCC_TRUE=
   4758   am__fastdepCC_FALSE='#'
   4759 else
   4760   am__fastdepCC_TRUE='#'
   4761   am__fastdepCC_FALSE=
   4762 fi
   4763 
   4764 
   4765 
   4766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4767 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4768 if test ${ac_cv_c_undeclared_builtin_options+y}
   4769 then :
   4770   printf %s "(cached) " >&6
   4771 else case e in #(
   4772   e) ac_save_CFLAGS=$CFLAGS
   4773    ac_cv_c_undeclared_builtin_options='cannot detect'
   4774    for ac_arg in '' -fno-builtin; do
   4775      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4776      # This test program should *not* compile successfully.
   4777      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4778 /* end confdefs.h.  */
   4779 
   4780 int
   4781 main (void)
   4782 {
   4783 (void) strchr;
   4784   ;
   4785   return 0;
   4786 }
   4787 _ACEOF
   4788 if ac_fn_c_try_compile "$LINENO"
   4789 then :
   4790 
   4791 else case e in #(
   4792   e) # This test program should compile successfully.
   4793         # No library function is consistently available on
   4794         # freestanding implementations, so test against a dummy
   4795         # declaration.  Include always-available headers on the
   4796         # off chance that they somehow elicit warnings.
   4797         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4798 /* end confdefs.h.  */
   4799 #include <float.h>
   4800 #include <limits.h>
   4801 #include <stdarg.h>
   4802 #include <stddef.h>
   4803 extern void ac_decl (int, char *);
   4804 
   4805 int
   4806 main (void)
   4807 {
   4808 (void) ac_decl (0, (char *) 0);
   4809   (void) ac_decl;
   4810 
   4811   ;
   4812   return 0;
   4813 }
   4814 _ACEOF
   4815 if ac_fn_c_try_compile "$LINENO"
   4816 then :
   4817   if test x"$ac_arg" = x
   4818 then :
   4819   ac_cv_c_undeclared_builtin_options='none needed'
   4820 else case e in #(
   4821   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4822 esac
   4823 fi
   4824           break
   4825 fi
   4826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4827 esac
   4828 fi
   4829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4830     done
   4831     CFLAGS=$ac_save_CFLAGS
   4832    ;;
   4833 esac
   4834 fi
   4835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4836 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4837   case $ac_cv_c_undeclared_builtin_options in #(
   4838   'cannot detect') :
   4839     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4840 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4841 as_fn_error $? "cannot make $CC report undeclared builtins
   4842 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4843   'none needed') :
   4844     ac_c_undeclared_builtin_options='' ;; #(
   4845   *) :
   4846     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4847 esac
   4848 
   4849 ac_header= ac_cache=
   4850 for ac_item in $ac_header_c_list
   4851 do
   4852   if test $ac_cache; then
   4853     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4854     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4855       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4856     fi
   4857     ac_header= ac_cache=
   4858   elif test $ac_header; then
   4859     ac_cache=$ac_item
   4860   else
   4861     ac_header=$ac_item
   4862   fi
   4863 done
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4873 then :
   4874 
   4875 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4876 
   4877 fi
   4878 
   4879 
   4880 
   4881 
   4882 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4883 if test "x$ac_cv_have_decl___clang__" = xyes
   4884 then :
   4885   CLANGCC="yes"
   4886 else case e in #(
   4887   e) CLANGCC="no" ;;
   4888 esac
   4889 fi
   4890 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4891 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4892 then :
   4893   INTELCC="yes"
   4894 else case e in #(
   4895   e) INTELCC="no" ;;
   4896 esac
   4897 fi
   4898 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4899 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4900 then :
   4901   SUNCC="yes"
   4902 else case e in #(
   4903   e) SUNCC="no" ;;
   4904 esac
   4905 fi
   4906 
   4907 
   4908 
   4909 
   4910 
   4911 
   4912 
   4913 
   4914 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4915 	if test -n "$ac_tool_prefix"; then
   4916   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4917 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4919 printf %s "checking for $ac_word... " >&6; }
   4920 if test ${ac_cv_path_PKG_CONFIG+y}
   4921 then :
   4922   printf %s "(cached) " >&6
   4923 else case e in #(
   4924   e) case $PKG_CONFIG in
   4925   [\\/]* | ?:[\\/]*)
   4926   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4927   ;;
   4928   *)
   4929   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4930 for as_dir in $PATH
   4931 do
   4932   IFS=$as_save_IFS
   4933   case $as_dir in #(((
   4934     '') as_dir=./ ;;
   4935     */) ;;
   4936     *) as_dir=$as_dir/ ;;
   4937   esac
   4938     for ac_exec_ext in '' $ac_executable_extensions; do
   4939   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4940     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4941     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4942     break 2
   4943   fi
   4944 done
   4945   done
   4946 IFS=$as_save_IFS
   4947 
   4948   ;;
   4949 esac ;;
   4950 esac
   4951 fi
   4952 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4953 if test -n "$PKG_CONFIG"; then
   4954   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4955 printf "%s\n" "$PKG_CONFIG" >&6; }
   4956 else
   4957   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4958 printf "%s\n" "no" >&6; }
   4959 fi
   4960 
   4961 
   4962 fi
   4963 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4964   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4965   # Extract the first word of "pkg-config", so it can be a program name with args.
   4966 set dummy pkg-config; ac_word=$2
   4967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4968 printf %s "checking for $ac_word... " >&6; }
   4969 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4970 then :
   4971   printf %s "(cached) " >&6
   4972 else case e in #(
   4973   e) case $ac_pt_PKG_CONFIG in
   4974   [\\/]* | ?:[\\/]*)
   4975   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4976   ;;
   4977   *)
   4978   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4979 for as_dir in $PATH
   4980 do
   4981   IFS=$as_save_IFS
   4982   case $as_dir in #(((
   4983     '') as_dir=./ ;;
   4984     */) ;;
   4985     *) as_dir=$as_dir/ ;;
   4986   esac
   4987     for ac_exec_ext in '' $ac_executable_extensions; do
   4988   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4989     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4990     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4991     break 2
   4992   fi
   4993 done
   4994   done
   4995 IFS=$as_save_IFS
   4996 
   4997   ;;
   4998 esac ;;
   4999 esac
   5000 fi
   5001 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5002 if test -n "$ac_pt_PKG_CONFIG"; then
   5003   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5004 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   5005 else
   5006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5007 printf "%s\n" "no" >&6; }
   5008 fi
   5009 
   5010   if test "x$ac_pt_PKG_CONFIG" = x; then
   5011     PKG_CONFIG=""
   5012   else
   5013     case $cross_compiling:$ac_tool_warned in
   5014 yes:)
   5015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5016 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5017 ac_tool_warned=yes ;;
   5018 esac
   5019     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5020   fi
   5021 else
   5022   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5023 fi
   5024 
   5025 fi
   5026 if test -n "$PKG_CONFIG"; then
   5027 	_pkg_min_version=0.9.0
   5028 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5029 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5030 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5031 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5032 printf "%s\n" "yes" >&6; }
   5033 	else
   5034 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5035 printf "%s\n" "no" >&6; }
   5036 		PKG_CONFIG=""
   5037 	fi
   5038 fi
   5039 
   5040 
   5041   # Make sure we can run config.sub.
   5042 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5043   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5044 
   5045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5046 printf %s "checking build system type... " >&6; }
   5047 if test ${ac_cv_build+y}
   5048 then :
   5049   printf %s "(cached) " >&6
   5050 else case e in #(
   5051   e) ac_build_alias=$build_alias
   5052 test "x$ac_build_alias" = x &&
   5053   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5054 test "x$ac_build_alias" = x &&
   5055   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5056 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5057   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5058  ;;
   5059 esac
   5060 fi
   5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5062 printf "%s\n" "$ac_cv_build" >&6; }
   5063 case $ac_cv_build in
   5064 *-*-*) ;;
   5065 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5066 esac
   5067 build=$ac_cv_build
   5068 ac_save_IFS=$IFS; IFS='-'
   5069 set x $ac_cv_build
   5070 shift
   5071 build_cpu=$1
   5072 build_vendor=$2
   5073 shift; shift
   5074 # Remember, the first character of IFS is used to create $*,
   5075 # except with old shells:
   5076 build_os=$*
   5077 IFS=$ac_save_IFS
   5078 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5079 
   5080 
   5081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5082 printf %s "checking host system type... " >&6; }
   5083 if test ${ac_cv_host+y}
   5084 then :
   5085   printf %s "(cached) " >&6
   5086 else case e in #(
   5087   e) if test "x$host_alias" = x; then
   5088   ac_cv_host=$ac_cv_build
   5089 else
   5090   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5091     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5092 fi
   5093  ;;
   5094 esac
   5095 fi
   5096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5097 printf "%s\n" "$ac_cv_host" >&6; }
   5098 case $ac_cv_host in
   5099 *-*-*) ;;
   5100 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5101 esac
   5102 host=$ac_cv_host
   5103 ac_save_IFS=$IFS; IFS='-'
   5104 set x $ac_cv_host
   5105 shift
   5106 host_cpu=$1
   5107 host_vendor=$2
   5108 shift; shift
   5109 # Remember, the first character of IFS is used to create $*,
   5110 # except with old shells:
   5111 host_os=$*
   5112 IFS=$ac_save_IFS
   5113 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5114 
   5115 
   5116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5117 printf %s "checking for a sed that does not truncate output... " >&6; }
   5118 if test ${ac_cv_path_SED+y}
   5119 then :
   5120   printf %s "(cached) " >&6
   5121 else case e in #(
   5122   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5123      for ac_i in 1 2 3 4 5 6 7; do
   5124        ac_script="$ac_script$as_nl$ac_script"
   5125      done
   5126      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5127      { ac_script=; unset ac_script;}
   5128      if test -z "$SED"; then
   5129   ac_path_SED_found=false
   5130   # Loop through the user's path and test for each of PROGNAME-LIST
   5131   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5132 for as_dir in $PATH
   5133 do
   5134   IFS=$as_save_IFS
   5135   case $as_dir in #(((
   5136     '') as_dir=./ ;;
   5137     */) ;;
   5138     *) as_dir=$as_dir/ ;;
   5139   esac
   5140     for ac_prog in sed gsed
   5141    do
   5142     for ac_exec_ext in '' $ac_executable_extensions; do
   5143       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5144       as_fn_executable_p "$ac_path_SED" || continue
   5145 # Check for GNU ac_path_SED and select it if it is found.
   5146   # Check for GNU $ac_path_SED
   5147 case `"$ac_path_SED" --version 2>&1` in #(
   5148 *GNU*)
   5149   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5150 #(
   5151 *)
   5152   ac_count=0
   5153   printf %s 0123456789 >"conftest.in"
   5154   while :
   5155   do
   5156     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5157     mv "conftest.tmp" "conftest.in"
   5158     cp "conftest.in" "conftest.nl"
   5159     printf "%s\n" '' >> "conftest.nl"
   5160     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5161     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5162     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5163     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5164       # Best one so far, save it but keep looking for a better one
   5165       ac_cv_path_SED="$ac_path_SED"
   5166       ac_path_SED_max=$ac_count
   5167     fi
   5168     # 10*(2^10) chars as input seems more than enough
   5169     test $ac_count -gt 10 && break
   5170   done
   5171   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5172 esac
   5173 
   5174       $ac_path_SED_found && break 3
   5175     done
   5176   done
   5177   done
   5178 IFS=$as_save_IFS
   5179   if test -z "$ac_cv_path_SED"; then
   5180     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5181   fi
   5182 else
   5183   ac_cv_path_SED=$SED
   5184 fi
   5185  ;;
   5186 esac
   5187 fi
   5188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5189 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5190  SED="$ac_cv_path_SED"
   5191   rm -f conftest.sed
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 # Check whether --enable-selective-werror was given.
   5199 if test ${enable_selective_werror+y}
   5200 then :
   5201   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5202 else case e in #(
   5203   e) SELECTIVE_WERROR=yes ;;
   5204 esac
   5205 fi
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5212 if test "x$SUNCC" = "xyes"; then
   5213     BASE_CFLAGS="-v"
   5214 else
   5215     BASE_CFLAGS=""
   5216 fi
   5217 
   5218 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 xorg_testset_save_CFLAGS="$CFLAGS"
   5233 
   5234 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5236 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5237 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5238 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5239 then :
   5240   printf %s "(cached) " >&6
   5241 else case e in #(
   5242   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5243 /* end confdefs.h.  */
   5244 int i;
   5245 _ACEOF
   5246 if ac_fn_c_try_compile "$LINENO"
   5247 then :
   5248   xorg_cv_cc_flag_unknown_warning_option=yes
   5249 else case e in #(
   5250   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5251 esac
   5252 fi
   5253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5254 esac
   5255 fi
   5256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5257 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5258 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5259 	CFLAGS="$xorg_testset_save_CFLAGS"
   5260 fi
   5261 
   5262 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5263 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5264 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5265 	fi
   5266 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5267 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5268 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5269 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5270 then :
   5271   printf %s "(cached) " >&6
   5272 else case e in #(
   5273   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5274 /* end confdefs.h.  */
   5275 int i;
   5276 _ACEOF
   5277 if ac_fn_c_try_compile "$LINENO"
   5278 then :
   5279   xorg_cv_cc_flag_unused_command_line_argument=yes
   5280 else case e in #(
   5281   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5282 esac
   5283 fi
   5284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5285 esac
   5286 fi
   5287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5288 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5289 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5290 	CFLAGS="$xorg_testset_save_CFLAGS"
   5291 fi
   5292 
   5293 found="no"
   5294 
   5295 	if test $found = "no" ; then
   5296 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5297 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5298 		fi
   5299 
   5300 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5301 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5302 		fi
   5303 
   5304 		CFLAGS="$CFLAGS -Wall"
   5305 
   5306 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5307 printf %s "checking if $CC supports -Wall... " >&6; }
   5308 		cacheid=xorg_cv_cc_flag__Wall
   5309 		if eval test \${$cacheid+y}
   5310 then :
   5311   printf %s "(cached) " >&6
   5312 else case e in #(
   5313   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5314 /* end confdefs.h.  */
   5315 int i;
   5316 int
   5317 main (void)
   5318 {
   5319 
   5320   ;
   5321   return 0;
   5322 }
   5323 _ACEOF
   5324 if ac_fn_c_try_link "$LINENO"
   5325 then :
   5326   eval $cacheid=yes
   5327 else case e in #(
   5328   e) eval $cacheid=no ;;
   5329 esac
   5330 fi
   5331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5332     conftest$ac_exeext conftest.$ac_ext ;;
   5333 esac
   5334 fi
   5335 
   5336 
   5337 		CFLAGS="$xorg_testset_save_CFLAGS"
   5338 
   5339 		eval supported=\$$cacheid
   5340 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5341 printf "%s\n" "$supported" >&6; }
   5342 		if test "$supported" = "yes" ; then
   5343 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5344 			found="yes"
   5345 		fi
   5346 	fi
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 xorg_testset_save_CFLAGS="$CFLAGS"
   5363 
   5364 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5365 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5366 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5367 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5368 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5369 then :
   5370   printf %s "(cached) " >&6
   5371 else case e in #(
   5372   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5373 /* end confdefs.h.  */
   5374 int i;
   5375 _ACEOF
   5376 if ac_fn_c_try_compile "$LINENO"
   5377 then :
   5378   xorg_cv_cc_flag_unknown_warning_option=yes
   5379 else case e in #(
   5380   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5381 esac
   5382 fi
   5383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5384 esac
   5385 fi
   5386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5387 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5388 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5389 	CFLAGS="$xorg_testset_save_CFLAGS"
   5390 fi
   5391 
   5392 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5393 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5394 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5395 	fi
   5396 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5398 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5399 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5400 then :
   5401   printf %s "(cached) " >&6
   5402 else case e in #(
   5403   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5404 /* end confdefs.h.  */
   5405 int i;
   5406 _ACEOF
   5407 if ac_fn_c_try_compile "$LINENO"
   5408 then :
   5409   xorg_cv_cc_flag_unused_command_line_argument=yes
   5410 else case e in #(
   5411   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5412 esac
   5413 fi
   5414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5415 esac
   5416 fi
   5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5418 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5419 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5420 	CFLAGS="$xorg_testset_save_CFLAGS"
   5421 fi
   5422 
   5423 found="no"
   5424 
   5425 	if test $found = "no" ; then
   5426 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5427 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5428 		fi
   5429 
   5430 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5431 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5432 		fi
   5433 
   5434 		CFLAGS="$CFLAGS -Wpointer-arith"
   5435 
   5436 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5437 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5438 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5439 		if eval test \${$cacheid+y}
   5440 then :
   5441   printf %s "(cached) " >&6
   5442 else case e in #(
   5443   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5444 /* end confdefs.h.  */
   5445 int i;
   5446 int
   5447 main (void)
   5448 {
   5449 
   5450   ;
   5451   return 0;
   5452 }
   5453 _ACEOF
   5454 if ac_fn_c_try_link "$LINENO"
   5455 then :
   5456   eval $cacheid=yes
   5457 else case e in #(
   5458   e) eval $cacheid=no ;;
   5459 esac
   5460 fi
   5461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5462     conftest$ac_exeext conftest.$ac_ext ;;
   5463 esac
   5464 fi
   5465 
   5466 
   5467 		CFLAGS="$xorg_testset_save_CFLAGS"
   5468 
   5469 		eval supported=\$$cacheid
   5470 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5471 printf "%s\n" "$supported" >&6; }
   5472 		if test "$supported" = "yes" ; then
   5473 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5474 			found="yes"
   5475 		fi
   5476 	fi
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 xorg_testset_save_CFLAGS="$CFLAGS"
   5493 
   5494 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5495 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5496 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5497 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5498 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5499 then :
   5500   printf %s "(cached) " >&6
   5501 else case e in #(
   5502   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5503 /* end confdefs.h.  */
   5504 int i;
   5505 _ACEOF
   5506 if ac_fn_c_try_compile "$LINENO"
   5507 then :
   5508   xorg_cv_cc_flag_unknown_warning_option=yes
   5509 else case e in #(
   5510   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5511 esac
   5512 fi
   5513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5514 esac
   5515 fi
   5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5517 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5518 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5519 	CFLAGS="$xorg_testset_save_CFLAGS"
   5520 fi
   5521 
   5522 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5523 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5524 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5525 	fi
   5526 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5527 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5528 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5529 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5530 then :
   5531   printf %s "(cached) " >&6
   5532 else case e in #(
   5533   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5534 /* end confdefs.h.  */
   5535 int i;
   5536 _ACEOF
   5537 if ac_fn_c_try_compile "$LINENO"
   5538 then :
   5539   xorg_cv_cc_flag_unused_command_line_argument=yes
   5540 else case e in #(
   5541   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5542 esac
   5543 fi
   5544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5545 esac
   5546 fi
   5547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5548 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5549 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5550 	CFLAGS="$xorg_testset_save_CFLAGS"
   5551 fi
   5552 
   5553 found="no"
   5554 
   5555 	if test $found = "no" ; then
   5556 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5558 		fi
   5559 
   5560 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5562 		fi
   5563 
   5564 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5565 
   5566 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5567 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5568 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5569 		if eval test \${$cacheid+y}
   5570 then :
   5571   printf %s "(cached) " >&6
   5572 else case e in #(
   5573   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5574 /* end confdefs.h.  */
   5575 int i;
   5576 int
   5577 main (void)
   5578 {
   5579 
   5580   ;
   5581   return 0;
   5582 }
   5583 _ACEOF
   5584 if ac_fn_c_try_link "$LINENO"
   5585 then :
   5586   eval $cacheid=yes
   5587 else case e in #(
   5588   e) eval $cacheid=no ;;
   5589 esac
   5590 fi
   5591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5592     conftest$ac_exeext conftest.$ac_ext ;;
   5593 esac
   5594 fi
   5595 
   5596 
   5597 		CFLAGS="$xorg_testset_save_CFLAGS"
   5598 
   5599 		eval supported=\$$cacheid
   5600 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5601 printf "%s\n" "$supported" >&6; }
   5602 		if test "$supported" = "yes" ; then
   5603 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5604 			found="yes"
   5605 		fi
   5606 	fi
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 xorg_testset_save_CFLAGS="$CFLAGS"
   5623 
   5624 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5625 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5626 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5627 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5628 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5629 then :
   5630   printf %s "(cached) " >&6
   5631 else case e in #(
   5632   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5633 /* end confdefs.h.  */
   5634 int i;
   5635 _ACEOF
   5636 if ac_fn_c_try_compile "$LINENO"
   5637 then :
   5638   xorg_cv_cc_flag_unknown_warning_option=yes
   5639 else case e in #(
   5640   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5641 esac
   5642 fi
   5643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5644 esac
   5645 fi
   5646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5647 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5648 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5649 	CFLAGS="$xorg_testset_save_CFLAGS"
   5650 fi
   5651 
   5652 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5653 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5654 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5655 	fi
   5656 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5657 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5658 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5659 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5660 then :
   5661   printf %s "(cached) " >&6
   5662 else case e in #(
   5663   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5664 /* end confdefs.h.  */
   5665 int i;
   5666 _ACEOF
   5667 if ac_fn_c_try_compile "$LINENO"
   5668 then :
   5669   xorg_cv_cc_flag_unused_command_line_argument=yes
   5670 else case e in #(
   5671   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5672 esac
   5673 fi
   5674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5675 esac
   5676 fi
   5677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5678 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5679 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5680 	CFLAGS="$xorg_testset_save_CFLAGS"
   5681 fi
   5682 
   5683 found="no"
   5684 
   5685 	if test $found = "no" ; then
   5686 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5687 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5688 		fi
   5689 
   5690 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5691 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5692 		fi
   5693 
   5694 		CFLAGS="$CFLAGS -Wformat=2"
   5695 
   5696 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5697 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5698 		cacheid=xorg_cv_cc_flag__Wformat_2
   5699 		if eval test \${$cacheid+y}
   5700 then :
   5701   printf %s "(cached) " >&6
   5702 else case e in #(
   5703   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5704 /* end confdefs.h.  */
   5705 int i;
   5706 int
   5707 main (void)
   5708 {
   5709 
   5710   ;
   5711   return 0;
   5712 }
   5713 _ACEOF
   5714 if ac_fn_c_try_link "$LINENO"
   5715 then :
   5716   eval $cacheid=yes
   5717 else case e in #(
   5718   e) eval $cacheid=no ;;
   5719 esac
   5720 fi
   5721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5722     conftest$ac_exeext conftest.$ac_ext ;;
   5723 esac
   5724 fi
   5725 
   5726 
   5727 		CFLAGS="$xorg_testset_save_CFLAGS"
   5728 
   5729 		eval supported=\$$cacheid
   5730 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5731 printf "%s\n" "$supported" >&6; }
   5732 		if test "$supported" = "yes" ; then
   5733 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5734 			found="yes"
   5735 		fi
   5736 	fi
   5737 
   5738 	if test $found = "no" ; then
   5739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5741 		fi
   5742 
   5743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5745 		fi
   5746 
   5747 		CFLAGS="$CFLAGS -Wformat"
   5748 
   5749 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5750 printf %s "checking if $CC supports -Wformat... " >&6; }
   5751 		cacheid=xorg_cv_cc_flag__Wformat
   5752 		if eval test \${$cacheid+y}
   5753 then :
   5754   printf %s "(cached) " >&6
   5755 else case e in #(
   5756   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5757 /* end confdefs.h.  */
   5758 int i;
   5759 int
   5760 main (void)
   5761 {
   5762 
   5763   ;
   5764   return 0;
   5765 }
   5766 _ACEOF
   5767 if ac_fn_c_try_link "$LINENO"
   5768 then :
   5769   eval $cacheid=yes
   5770 else case e in #(
   5771   e) eval $cacheid=no ;;
   5772 esac
   5773 fi
   5774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5775     conftest$ac_exeext conftest.$ac_ext ;;
   5776 esac
   5777 fi
   5778 
   5779 
   5780 		CFLAGS="$xorg_testset_save_CFLAGS"
   5781 
   5782 		eval supported=\$$cacheid
   5783 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5784 printf "%s\n" "$supported" >&6; }
   5785 		if test "$supported" = "yes" ; then
   5786 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5787 			found="yes"
   5788 		fi
   5789 	fi
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 xorg_testset_save_CFLAGS="$CFLAGS"
   5808 
   5809 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5810 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5811 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5812 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5813 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5814 then :
   5815   printf %s "(cached) " >&6
   5816 else case e in #(
   5817   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5818 /* end confdefs.h.  */
   5819 int i;
   5820 _ACEOF
   5821 if ac_fn_c_try_compile "$LINENO"
   5822 then :
   5823   xorg_cv_cc_flag_unknown_warning_option=yes
   5824 else case e in #(
   5825   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5826 esac
   5827 fi
   5828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5829 esac
   5830 fi
   5831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5832 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5833 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5834 	CFLAGS="$xorg_testset_save_CFLAGS"
   5835 fi
   5836 
   5837 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5838 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5839 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5840 	fi
   5841 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5842 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5843 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5844 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5845 then :
   5846   printf %s "(cached) " >&6
   5847 else case e in #(
   5848   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5849 /* end confdefs.h.  */
   5850 int i;
   5851 _ACEOF
   5852 if ac_fn_c_try_compile "$LINENO"
   5853 then :
   5854   xorg_cv_cc_flag_unused_command_line_argument=yes
   5855 else case e in #(
   5856   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5857 esac
   5858 fi
   5859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5860 esac
   5861 fi
   5862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5863 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5864 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5865 	CFLAGS="$xorg_testset_save_CFLAGS"
   5866 fi
   5867 
   5868 found="no"
   5869 
   5870 	if test $found = "no" ; then
   5871 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5872 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5873 		fi
   5874 
   5875 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5876 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5877 		fi
   5878 
   5879 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5880 
   5881 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5882 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5883 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5884 		if eval test \${$cacheid+y}
   5885 then :
   5886   printf %s "(cached) " >&6
   5887 else case e in #(
   5888   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5889 /* end confdefs.h.  */
   5890 int i;
   5891 int
   5892 main (void)
   5893 {
   5894 
   5895   ;
   5896   return 0;
   5897 }
   5898 _ACEOF
   5899 if ac_fn_c_try_link "$LINENO"
   5900 then :
   5901   eval $cacheid=yes
   5902 else case e in #(
   5903   e) eval $cacheid=no ;;
   5904 esac
   5905 fi
   5906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5907     conftest$ac_exeext conftest.$ac_ext ;;
   5908 esac
   5909 fi
   5910 
   5911 
   5912 		CFLAGS="$xorg_testset_save_CFLAGS"
   5913 
   5914 		eval supported=\$$cacheid
   5915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5916 printf "%s\n" "$supported" >&6; }
   5917 		if test "$supported" = "yes" ; then
   5918 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5919 			found="yes"
   5920 		fi
   5921 	fi
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 xorg_testset_save_CFLAGS="$CFLAGS"
   5938 
   5939 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5940 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5941 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5942 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5943 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5944 then :
   5945   printf %s "(cached) " >&6
   5946 else case e in #(
   5947   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5948 /* end confdefs.h.  */
   5949 int i;
   5950 _ACEOF
   5951 if ac_fn_c_try_compile "$LINENO"
   5952 then :
   5953   xorg_cv_cc_flag_unknown_warning_option=yes
   5954 else case e in #(
   5955   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5956 esac
   5957 fi
   5958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5959 esac
   5960 fi
   5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5962 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5963 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5964 	CFLAGS="$xorg_testset_save_CFLAGS"
   5965 fi
   5966 
   5967 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5968 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5969 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5970 	fi
   5971 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5972 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5973 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5974 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5975 then :
   5976   printf %s "(cached) " >&6
   5977 else case e in #(
   5978   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5979 /* end confdefs.h.  */
   5980 int i;
   5981 _ACEOF
   5982 if ac_fn_c_try_compile "$LINENO"
   5983 then :
   5984   xorg_cv_cc_flag_unused_command_line_argument=yes
   5985 else case e in #(
   5986   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5987 esac
   5988 fi
   5989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5990 esac
   5991 fi
   5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5993 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5995 	CFLAGS="$xorg_testset_save_CFLAGS"
   5996 fi
   5997 
   5998 found="no"
   5999 
   6000 	if test $found = "no" ; then
   6001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6003 		fi
   6004 
   6005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6007 		fi
   6008 
   6009 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6010 
   6011 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6012 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6013 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6014 		if eval test \${$cacheid+y}
   6015 then :
   6016   printf %s "(cached) " >&6
   6017 else case e in #(
   6018   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6019 /* end confdefs.h.  */
   6020 int i;
   6021 int
   6022 main (void)
   6023 {
   6024 
   6025   ;
   6026   return 0;
   6027 }
   6028 _ACEOF
   6029 if ac_fn_c_try_link "$LINENO"
   6030 then :
   6031   eval $cacheid=yes
   6032 else case e in #(
   6033   e) eval $cacheid=no ;;
   6034 esac
   6035 fi
   6036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6037     conftest$ac_exeext conftest.$ac_ext ;;
   6038 esac
   6039 fi
   6040 
   6041 
   6042 		CFLAGS="$xorg_testset_save_CFLAGS"
   6043 
   6044 		eval supported=\$$cacheid
   6045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6046 printf "%s\n" "$supported" >&6; }
   6047 		if test "$supported" = "yes" ; then
   6048 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6049 			found="yes"
   6050 		fi
   6051 	fi
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 xorg_testset_save_CFLAGS="$CFLAGS"
   6068 
   6069 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6070 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6071 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6072 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6073 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6074 then :
   6075   printf %s "(cached) " >&6
   6076 else case e in #(
   6077   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6078 /* end confdefs.h.  */
   6079 int i;
   6080 _ACEOF
   6081 if ac_fn_c_try_compile "$LINENO"
   6082 then :
   6083   xorg_cv_cc_flag_unknown_warning_option=yes
   6084 else case e in #(
   6085   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6086 esac
   6087 fi
   6088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6089 esac
   6090 fi
   6091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6092 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6094 	CFLAGS="$xorg_testset_save_CFLAGS"
   6095 fi
   6096 
   6097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6100 	fi
   6101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6102 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6103 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6104 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6105 then :
   6106   printf %s "(cached) " >&6
   6107 else case e in #(
   6108   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6109 /* end confdefs.h.  */
   6110 int i;
   6111 _ACEOF
   6112 if ac_fn_c_try_compile "$LINENO"
   6113 then :
   6114   xorg_cv_cc_flag_unused_command_line_argument=yes
   6115 else case e in #(
   6116   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6117 esac
   6118 fi
   6119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6120 esac
   6121 fi
   6122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6123 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6124 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6125 	CFLAGS="$xorg_testset_save_CFLAGS"
   6126 fi
   6127 
   6128 found="no"
   6129 
   6130 	if test $found = "no" ; then
   6131 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6132 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6133 		fi
   6134 
   6135 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6136 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6137 		fi
   6138 
   6139 		CFLAGS="$CFLAGS -Wnested-externs"
   6140 
   6141 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6142 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6143 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6144 		if eval test \${$cacheid+y}
   6145 then :
   6146   printf %s "(cached) " >&6
   6147 else case e in #(
   6148   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6149 /* end confdefs.h.  */
   6150 int i;
   6151 int
   6152 main (void)
   6153 {
   6154 
   6155   ;
   6156   return 0;
   6157 }
   6158 _ACEOF
   6159 if ac_fn_c_try_link "$LINENO"
   6160 then :
   6161   eval $cacheid=yes
   6162 else case e in #(
   6163   e) eval $cacheid=no ;;
   6164 esac
   6165 fi
   6166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6167     conftest$ac_exeext conftest.$ac_ext ;;
   6168 esac
   6169 fi
   6170 
   6171 
   6172 		CFLAGS="$xorg_testset_save_CFLAGS"
   6173 
   6174 		eval supported=\$$cacheid
   6175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6176 printf "%s\n" "$supported" >&6; }
   6177 		if test "$supported" = "yes" ; then
   6178 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6179 			found="yes"
   6180 		fi
   6181 	fi
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 
   6197 xorg_testset_save_CFLAGS="$CFLAGS"
   6198 
   6199 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6200 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6201 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6202 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6203 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6204 then :
   6205   printf %s "(cached) " >&6
   6206 else case e in #(
   6207   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6208 /* end confdefs.h.  */
   6209 int i;
   6210 _ACEOF
   6211 if ac_fn_c_try_compile "$LINENO"
   6212 then :
   6213   xorg_cv_cc_flag_unknown_warning_option=yes
   6214 else case e in #(
   6215   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6216 esac
   6217 fi
   6218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6219 esac
   6220 fi
   6221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6222 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6223 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6224 	CFLAGS="$xorg_testset_save_CFLAGS"
   6225 fi
   6226 
   6227 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6228 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6229 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6230 	fi
   6231 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6232 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6233 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6234 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6235 then :
   6236   printf %s "(cached) " >&6
   6237 else case e in #(
   6238   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6239 /* end confdefs.h.  */
   6240 int i;
   6241 _ACEOF
   6242 if ac_fn_c_try_compile "$LINENO"
   6243 then :
   6244   xorg_cv_cc_flag_unused_command_line_argument=yes
   6245 else case e in #(
   6246   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6247 esac
   6248 fi
   6249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6250 esac
   6251 fi
   6252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6253 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6254 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6255 	CFLAGS="$xorg_testset_save_CFLAGS"
   6256 fi
   6257 
   6258 found="no"
   6259 
   6260 	if test $found = "no" ; then
   6261 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6262 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6263 		fi
   6264 
   6265 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6266 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6267 		fi
   6268 
   6269 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6270 
   6271 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6272 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6273 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6274 		if eval test \${$cacheid+y}
   6275 then :
   6276   printf %s "(cached) " >&6
   6277 else case e in #(
   6278   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6279 /* end confdefs.h.  */
   6280 int i;
   6281 int
   6282 main (void)
   6283 {
   6284 
   6285   ;
   6286   return 0;
   6287 }
   6288 _ACEOF
   6289 if ac_fn_c_try_link "$LINENO"
   6290 then :
   6291   eval $cacheid=yes
   6292 else case e in #(
   6293   e) eval $cacheid=no ;;
   6294 esac
   6295 fi
   6296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6297     conftest$ac_exeext conftest.$ac_ext ;;
   6298 esac
   6299 fi
   6300 
   6301 
   6302 		CFLAGS="$xorg_testset_save_CFLAGS"
   6303 
   6304 		eval supported=\$$cacheid
   6305 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6306 printf "%s\n" "$supported" >&6; }
   6307 		if test "$supported" = "yes" ; then
   6308 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6309 			found="yes"
   6310 		fi
   6311 	fi
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 xorg_testset_save_CFLAGS="$CFLAGS"
   6328 
   6329 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6330 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6331 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6332 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6333 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6334 then :
   6335   printf %s "(cached) " >&6
   6336 else case e in #(
   6337   e) 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_unknown_warning_option=yes
   6344 else case e in #(
   6345   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6346 esac
   6347 fi
   6348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6349 esac
   6350 fi
   6351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6352 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6353 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6354 	CFLAGS="$xorg_testset_save_CFLAGS"
   6355 fi
   6356 
   6357 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6358 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6359 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6360 	fi
   6361 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6362 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6363 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6364 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6365 then :
   6366   printf %s "(cached) " >&6
   6367 else case e in #(
   6368   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6369 /* end confdefs.h.  */
   6370 int i;
   6371 _ACEOF
   6372 if ac_fn_c_try_compile "$LINENO"
   6373 then :
   6374   xorg_cv_cc_flag_unused_command_line_argument=yes
   6375 else case e in #(
   6376   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6377 esac
   6378 fi
   6379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6380 esac
   6381 fi
   6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6383 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6384 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6385 	CFLAGS="$xorg_testset_save_CFLAGS"
   6386 fi
   6387 
   6388 found="no"
   6389 
   6390 	if test $found = "no" ; then
   6391 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6392 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6393 		fi
   6394 
   6395 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6396 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6397 		fi
   6398 
   6399 		CFLAGS="$CFLAGS -Wold-style-definition"
   6400 
   6401 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6402 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6403 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6404 		if eval test \${$cacheid+y}
   6405 then :
   6406   printf %s "(cached) " >&6
   6407 else case e in #(
   6408   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6409 /* end confdefs.h.  */
   6410 int i;
   6411 int
   6412 main (void)
   6413 {
   6414 
   6415   ;
   6416   return 0;
   6417 }
   6418 _ACEOF
   6419 if ac_fn_c_try_link "$LINENO"
   6420 then :
   6421   eval $cacheid=yes
   6422 else case e in #(
   6423   e) eval $cacheid=no ;;
   6424 esac
   6425 fi
   6426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6427     conftest$ac_exeext conftest.$ac_ext ;;
   6428 esac
   6429 fi
   6430 
   6431 
   6432 		CFLAGS="$xorg_testset_save_CFLAGS"
   6433 
   6434 		eval supported=\$$cacheid
   6435 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6436 printf "%s\n" "$supported" >&6; }
   6437 		if test "$supported" = "yes" ; then
   6438 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6439 			found="yes"
   6440 		fi
   6441 	fi
   6442 
   6443 	if test $found = "no" ; then
   6444 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6446 		fi
   6447 
   6448 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6450 		fi
   6451 
   6452 		CFLAGS="$CFLAGS -fd"
   6453 
   6454 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6455 printf %s "checking if $CC supports -fd... " >&6; }
   6456 		cacheid=xorg_cv_cc_flag__fd
   6457 		if eval test \${$cacheid+y}
   6458 then :
   6459   printf %s "(cached) " >&6
   6460 else case e in #(
   6461   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6462 /* end confdefs.h.  */
   6463 int i;
   6464 int
   6465 main (void)
   6466 {
   6467 
   6468   ;
   6469   return 0;
   6470 }
   6471 _ACEOF
   6472 if ac_fn_c_try_link "$LINENO"
   6473 then :
   6474   eval $cacheid=yes
   6475 else case e in #(
   6476   e) eval $cacheid=no ;;
   6477 esac
   6478 fi
   6479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6480     conftest$ac_exeext conftest.$ac_ext ;;
   6481 esac
   6482 fi
   6483 
   6484 
   6485 		CFLAGS="$xorg_testset_save_CFLAGS"
   6486 
   6487 		eval supported=\$$cacheid
   6488 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6489 printf "%s\n" "$supported" >&6; }
   6490 		if test "$supported" = "yes" ; then
   6491 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6492 			found="yes"
   6493 		fi
   6494 	fi
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 # This chunk adds additional warnings that could catch undesired effects.
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 xorg_testset_save_CFLAGS="$CFLAGS"
   6515 
   6516 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6517 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6518 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6519 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6520 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6521 then :
   6522   printf %s "(cached) " >&6
   6523 else case e in #(
   6524   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6525 /* end confdefs.h.  */
   6526 int i;
   6527 _ACEOF
   6528 if ac_fn_c_try_compile "$LINENO"
   6529 then :
   6530   xorg_cv_cc_flag_unknown_warning_option=yes
   6531 else case e in #(
   6532   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6533 esac
   6534 fi
   6535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6536 esac
   6537 fi
   6538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6539 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6541 	CFLAGS="$xorg_testset_save_CFLAGS"
   6542 fi
   6543 
   6544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6547 	fi
   6548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6550 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6551 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6552 then :
   6553   printf %s "(cached) " >&6
   6554 else case e in #(
   6555   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6556 /* end confdefs.h.  */
   6557 int i;
   6558 _ACEOF
   6559 if ac_fn_c_try_compile "$LINENO"
   6560 then :
   6561   xorg_cv_cc_flag_unused_command_line_argument=yes
   6562 else case e in #(
   6563   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6564 esac
   6565 fi
   6566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6567 esac
   6568 fi
   6569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6570 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6572 	CFLAGS="$xorg_testset_save_CFLAGS"
   6573 fi
   6574 
   6575 found="no"
   6576 
   6577 	if test $found = "no" ; then
   6578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6580 		fi
   6581 
   6582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6584 		fi
   6585 
   6586 		CFLAGS="$CFLAGS -Wunused"
   6587 
   6588 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6589 printf %s "checking if $CC supports -Wunused... " >&6; }
   6590 		cacheid=xorg_cv_cc_flag__Wunused
   6591 		if eval test \${$cacheid+y}
   6592 then :
   6593   printf %s "(cached) " >&6
   6594 else case e in #(
   6595   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6596 /* end confdefs.h.  */
   6597 int i;
   6598 int
   6599 main (void)
   6600 {
   6601 
   6602   ;
   6603   return 0;
   6604 }
   6605 _ACEOF
   6606 if ac_fn_c_try_link "$LINENO"
   6607 then :
   6608   eval $cacheid=yes
   6609 else case e in #(
   6610   e) eval $cacheid=no ;;
   6611 esac
   6612 fi
   6613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6614     conftest$ac_exeext conftest.$ac_ext ;;
   6615 esac
   6616 fi
   6617 
   6618 
   6619 		CFLAGS="$xorg_testset_save_CFLAGS"
   6620 
   6621 		eval supported=\$$cacheid
   6622 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6623 printf "%s\n" "$supported" >&6; }
   6624 		if test "$supported" = "yes" ; then
   6625 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6626 			found="yes"
   6627 		fi
   6628 	fi
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 xorg_testset_save_CFLAGS="$CFLAGS"
   6645 
   6646 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6647 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6648 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6649 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6650 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6651 then :
   6652   printf %s "(cached) " >&6
   6653 else case e in #(
   6654   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6655 /* end confdefs.h.  */
   6656 int i;
   6657 _ACEOF
   6658 if ac_fn_c_try_compile "$LINENO"
   6659 then :
   6660   xorg_cv_cc_flag_unknown_warning_option=yes
   6661 else case e in #(
   6662   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6663 esac
   6664 fi
   6665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6666 esac
   6667 fi
   6668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6669 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6670 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6671 	CFLAGS="$xorg_testset_save_CFLAGS"
   6672 fi
   6673 
   6674 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6675 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6676 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6677 	fi
   6678 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6679 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6680 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6681 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6682 then :
   6683   printf %s "(cached) " >&6
   6684 else case e in #(
   6685   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6686 /* end confdefs.h.  */
   6687 int i;
   6688 _ACEOF
   6689 if ac_fn_c_try_compile "$LINENO"
   6690 then :
   6691   xorg_cv_cc_flag_unused_command_line_argument=yes
   6692 else case e in #(
   6693   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6694 esac
   6695 fi
   6696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6697 esac
   6698 fi
   6699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6700 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6701 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6702 	CFLAGS="$xorg_testset_save_CFLAGS"
   6703 fi
   6704 
   6705 found="no"
   6706 
   6707 	if test $found = "no" ; then
   6708 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6710 		fi
   6711 
   6712 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6714 		fi
   6715 
   6716 		CFLAGS="$CFLAGS -Wuninitialized"
   6717 
   6718 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6719 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6720 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6721 		if eval test \${$cacheid+y}
   6722 then :
   6723   printf %s "(cached) " >&6
   6724 else case e in #(
   6725   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6726 /* end confdefs.h.  */
   6727 int i;
   6728 int
   6729 main (void)
   6730 {
   6731 
   6732   ;
   6733   return 0;
   6734 }
   6735 _ACEOF
   6736 if ac_fn_c_try_link "$LINENO"
   6737 then :
   6738   eval $cacheid=yes
   6739 else case e in #(
   6740   e) eval $cacheid=no ;;
   6741 esac
   6742 fi
   6743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6744     conftest$ac_exeext conftest.$ac_ext ;;
   6745 esac
   6746 fi
   6747 
   6748 
   6749 		CFLAGS="$xorg_testset_save_CFLAGS"
   6750 
   6751 		eval supported=\$$cacheid
   6752 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6753 printf "%s\n" "$supported" >&6; }
   6754 		if test "$supported" = "yes" ; then
   6755 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6756 			found="yes"
   6757 		fi
   6758 	fi
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 xorg_testset_save_CFLAGS="$CFLAGS"
   6775 
   6776 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6777 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6778 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6779 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6780 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6781 then :
   6782   printf %s "(cached) " >&6
   6783 else case e in #(
   6784   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6785 /* end confdefs.h.  */
   6786 int i;
   6787 _ACEOF
   6788 if ac_fn_c_try_compile "$LINENO"
   6789 then :
   6790   xorg_cv_cc_flag_unknown_warning_option=yes
   6791 else case e in #(
   6792   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6793 esac
   6794 fi
   6795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6796 esac
   6797 fi
   6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6799 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6800 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6801 	CFLAGS="$xorg_testset_save_CFLAGS"
   6802 fi
   6803 
   6804 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6805 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6806 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6807 	fi
   6808 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6809 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6810 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6811 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6812 then :
   6813   printf %s "(cached) " >&6
   6814 else case e in #(
   6815   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6816 /* end confdefs.h.  */
   6817 int i;
   6818 _ACEOF
   6819 if ac_fn_c_try_compile "$LINENO"
   6820 then :
   6821   xorg_cv_cc_flag_unused_command_line_argument=yes
   6822 else case e in #(
   6823   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6824 esac
   6825 fi
   6826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6827 esac
   6828 fi
   6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6830 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6831 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6832 	CFLAGS="$xorg_testset_save_CFLAGS"
   6833 fi
   6834 
   6835 found="no"
   6836 
   6837 	if test $found = "no" ; then
   6838 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6839 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6840 		fi
   6841 
   6842 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6843 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6844 		fi
   6845 
   6846 		CFLAGS="$CFLAGS -Wshadow"
   6847 
   6848 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6849 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6850 		cacheid=xorg_cv_cc_flag__Wshadow
   6851 		if eval test \${$cacheid+y}
   6852 then :
   6853   printf %s "(cached) " >&6
   6854 else case e in #(
   6855   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6856 /* end confdefs.h.  */
   6857 int i;
   6858 int
   6859 main (void)
   6860 {
   6861 
   6862   ;
   6863   return 0;
   6864 }
   6865 _ACEOF
   6866 if ac_fn_c_try_link "$LINENO"
   6867 then :
   6868   eval $cacheid=yes
   6869 else case e in #(
   6870   e) eval $cacheid=no ;;
   6871 esac
   6872 fi
   6873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6874     conftest$ac_exeext conftest.$ac_ext ;;
   6875 esac
   6876 fi
   6877 
   6878 
   6879 		CFLAGS="$xorg_testset_save_CFLAGS"
   6880 
   6881 		eval supported=\$$cacheid
   6882 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6883 printf "%s\n" "$supported" >&6; }
   6884 		if test "$supported" = "yes" ; then
   6885 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6886 			found="yes"
   6887 		fi
   6888 	fi
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 xorg_testset_save_CFLAGS="$CFLAGS"
   6905 
   6906 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6907 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6908 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6909 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6910 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6911 then :
   6912   printf %s "(cached) " >&6
   6913 else case e in #(
   6914   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6915 /* end confdefs.h.  */
   6916 int i;
   6917 _ACEOF
   6918 if ac_fn_c_try_compile "$LINENO"
   6919 then :
   6920   xorg_cv_cc_flag_unknown_warning_option=yes
   6921 else case e in #(
   6922   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6923 esac
   6924 fi
   6925 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6926 esac
   6927 fi
   6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6929 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6930 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6931 	CFLAGS="$xorg_testset_save_CFLAGS"
   6932 fi
   6933 
   6934 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6935 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6936 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6937 	fi
   6938 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6939 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6940 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6941 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6942 then :
   6943   printf %s "(cached) " >&6
   6944 else case e in #(
   6945   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6946 /* end confdefs.h.  */
   6947 int i;
   6948 _ACEOF
   6949 if ac_fn_c_try_compile "$LINENO"
   6950 then :
   6951   xorg_cv_cc_flag_unused_command_line_argument=yes
   6952 else case e in #(
   6953   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6954 esac
   6955 fi
   6956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6957 esac
   6958 fi
   6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6960 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6961 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6962 	CFLAGS="$xorg_testset_save_CFLAGS"
   6963 fi
   6964 
   6965 found="no"
   6966 
   6967 	if test $found = "no" ; then
   6968 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6970 		fi
   6971 
   6972 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6974 		fi
   6975 
   6976 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6977 
   6978 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6979 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6980 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6981 		if eval test \${$cacheid+y}
   6982 then :
   6983   printf %s "(cached) " >&6
   6984 else case e in #(
   6985   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6986 /* end confdefs.h.  */
   6987 int i;
   6988 int
   6989 main (void)
   6990 {
   6991 
   6992   ;
   6993   return 0;
   6994 }
   6995 _ACEOF
   6996 if ac_fn_c_try_link "$LINENO"
   6997 then :
   6998   eval $cacheid=yes
   6999 else case e in #(
   7000   e) eval $cacheid=no ;;
   7001 esac
   7002 fi
   7003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7004     conftest$ac_exeext conftest.$ac_ext ;;
   7005 esac
   7006 fi
   7007 
   7008 
   7009 		CFLAGS="$xorg_testset_save_CFLAGS"
   7010 
   7011 		eval supported=\$$cacheid
   7012 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7013 printf "%s\n" "$supported" >&6; }
   7014 		if test "$supported" = "yes" ; then
   7015 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7016 			found="yes"
   7017 		fi
   7018 	fi
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 xorg_testset_save_CFLAGS="$CFLAGS"
   7035 
   7036 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7037 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7038 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7039 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7040 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7041 then :
   7042   printf %s "(cached) " >&6
   7043 else case e in #(
   7044   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7045 /* end confdefs.h.  */
   7046 int i;
   7047 _ACEOF
   7048 if ac_fn_c_try_compile "$LINENO"
   7049 then :
   7050   xorg_cv_cc_flag_unknown_warning_option=yes
   7051 else case e in #(
   7052   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7053 esac
   7054 fi
   7055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7056 esac
   7057 fi
   7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7059 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7060 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7061 	CFLAGS="$xorg_testset_save_CFLAGS"
   7062 fi
   7063 
   7064 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7065 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7066 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7067 	fi
   7068 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7069 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7070 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7071 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7072 then :
   7073   printf %s "(cached) " >&6
   7074 else case e in #(
   7075   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7076 /* end confdefs.h.  */
   7077 int i;
   7078 _ACEOF
   7079 if ac_fn_c_try_compile "$LINENO"
   7080 then :
   7081   xorg_cv_cc_flag_unused_command_line_argument=yes
   7082 else case e in #(
   7083   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7084 esac
   7085 fi
   7086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7087 esac
   7088 fi
   7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7090 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7091 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7092 	CFLAGS="$xorg_testset_save_CFLAGS"
   7093 fi
   7094 
   7095 found="no"
   7096 
   7097 	if test $found = "no" ; then
   7098 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7099 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7100 		fi
   7101 
   7102 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7103 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7104 		fi
   7105 
   7106 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7107 
   7108 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7109 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7110 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7111 		if eval test \${$cacheid+y}
   7112 then :
   7113   printf %s "(cached) " >&6
   7114 else case e in #(
   7115   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7116 /* end confdefs.h.  */
   7117 int i;
   7118 int
   7119 main (void)
   7120 {
   7121 
   7122   ;
   7123   return 0;
   7124 }
   7125 _ACEOF
   7126 if ac_fn_c_try_link "$LINENO"
   7127 then :
   7128   eval $cacheid=yes
   7129 else case e in #(
   7130   e) eval $cacheid=no ;;
   7131 esac
   7132 fi
   7133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7134     conftest$ac_exeext conftest.$ac_ext ;;
   7135 esac
   7136 fi
   7137 
   7138 
   7139 		CFLAGS="$xorg_testset_save_CFLAGS"
   7140 
   7141 		eval supported=\$$cacheid
   7142 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7143 printf "%s\n" "$supported" >&6; }
   7144 		if test "$supported" = "yes" ; then
   7145 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7146 			found="yes"
   7147 		fi
   7148 	fi
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 xorg_testset_save_CFLAGS="$CFLAGS"
   7165 
   7166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7168 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7169 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7170 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7171 then :
   7172   printf %s "(cached) " >&6
   7173 else case e in #(
   7174   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7175 /* end confdefs.h.  */
   7176 int i;
   7177 _ACEOF
   7178 if ac_fn_c_try_compile "$LINENO"
   7179 then :
   7180   xorg_cv_cc_flag_unknown_warning_option=yes
   7181 else case e in #(
   7182   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7183 esac
   7184 fi
   7185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7186 esac
   7187 fi
   7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7189 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7191 	CFLAGS="$xorg_testset_save_CFLAGS"
   7192 fi
   7193 
   7194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7197 	fi
   7198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7199 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7200 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7201 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7202 then :
   7203   printf %s "(cached) " >&6
   7204 else case e in #(
   7205   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7206 /* end confdefs.h.  */
   7207 int i;
   7208 _ACEOF
   7209 if ac_fn_c_try_compile "$LINENO"
   7210 then :
   7211   xorg_cv_cc_flag_unused_command_line_argument=yes
   7212 else case e in #(
   7213   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7214 esac
   7215 fi
   7216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7217 esac
   7218 fi
   7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7220 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7222 	CFLAGS="$xorg_testset_save_CFLAGS"
   7223 fi
   7224 
   7225 found="no"
   7226 
   7227 	if test $found = "no" ; then
   7228 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7230 		fi
   7231 
   7232 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7234 		fi
   7235 
   7236 		CFLAGS="$CFLAGS -Wredundant-decls"
   7237 
   7238 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7239 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7240 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7241 		if eval test \${$cacheid+y}
   7242 then :
   7243   printf %s "(cached) " >&6
   7244 else case e in #(
   7245   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7246 /* end confdefs.h.  */
   7247 int i;
   7248 int
   7249 main (void)
   7250 {
   7251 
   7252   ;
   7253   return 0;
   7254 }
   7255 _ACEOF
   7256 if ac_fn_c_try_link "$LINENO"
   7257 then :
   7258   eval $cacheid=yes
   7259 else case e in #(
   7260   e) eval $cacheid=no ;;
   7261 esac
   7262 fi
   7263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7264     conftest$ac_exeext conftest.$ac_ext ;;
   7265 esac
   7266 fi
   7267 
   7268 
   7269 		CFLAGS="$xorg_testset_save_CFLAGS"
   7270 
   7271 		eval supported=\$$cacheid
   7272 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7273 printf "%s\n" "$supported" >&6; }
   7274 		if test "$supported" = "yes" ; then
   7275 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7276 			found="yes"
   7277 		fi
   7278 	fi
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 xorg_testset_save_CFLAGS="$CFLAGS"
   7295 
   7296 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7298 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7299 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7300 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7301 then :
   7302   printf %s "(cached) " >&6
   7303 else case e in #(
   7304   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7305 /* end confdefs.h.  */
   7306 int i;
   7307 _ACEOF
   7308 if ac_fn_c_try_compile "$LINENO"
   7309 then :
   7310   xorg_cv_cc_flag_unknown_warning_option=yes
   7311 else case e in #(
   7312   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7313 esac
   7314 fi
   7315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7316 esac
   7317 fi
   7318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7319 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7320 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7321 	CFLAGS="$xorg_testset_save_CFLAGS"
   7322 fi
   7323 
   7324 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7325 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7326 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7327 	fi
   7328 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7329 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7330 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7331 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7332 then :
   7333   printf %s "(cached) " >&6
   7334 else case e in #(
   7335   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7336 /* end confdefs.h.  */
   7337 int i;
   7338 _ACEOF
   7339 if ac_fn_c_try_compile "$LINENO"
   7340 then :
   7341   xorg_cv_cc_flag_unused_command_line_argument=yes
   7342 else case e in #(
   7343   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7344 esac
   7345 fi
   7346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7347 esac
   7348 fi
   7349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7350 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7351 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7352 	CFLAGS="$xorg_testset_save_CFLAGS"
   7353 fi
   7354 
   7355 found="no"
   7356 
   7357 	if test $found = "no" ; then
   7358 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7360 		fi
   7361 
   7362 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7364 		fi
   7365 
   7366 		CFLAGS="$CFLAGS -Wlogical-op"
   7367 
   7368 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7369 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7370 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7371 		if eval test \${$cacheid+y}
   7372 then :
   7373   printf %s "(cached) " >&6
   7374 else case e in #(
   7375   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7376 /* end confdefs.h.  */
   7377 int i;
   7378 int
   7379 main (void)
   7380 {
   7381 
   7382   ;
   7383   return 0;
   7384 }
   7385 _ACEOF
   7386 if ac_fn_c_try_link "$LINENO"
   7387 then :
   7388   eval $cacheid=yes
   7389 else case e in #(
   7390   e) eval $cacheid=no ;;
   7391 esac
   7392 fi
   7393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7394     conftest$ac_exeext conftest.$ac_ext ;;
   7395 esac
   7396 fi
   7397 
   7398 
   7399 		CFLAGS="$xorg_testset_save_CFLAGS"
   7400 
   7401 		eval supported=\$$cacheid
   7402 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7403 printf "%s\n" "$supported" >&6; }
   7404 		if test "$supported" = "yes" ; then
   7405 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7406 			found="yes"
   7407 		fi
   7408 	fi
   7409 
   7410 
   7411 
   7412 # These are currently disabled because they are noisy.  They will be enabled
   7413 # in the future once the codebase is sufficiently modernized to silence
   7414 # them.  For now, I don't want them to drown out the other warnings.
   7415 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7416 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7417 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7418 
   7419 # Turn some warnings into errors, so we don't accidentally get successful builds
   7420 # when there are problems that should be fixed.
   7421 
   7422 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 xorg_testset_save_CFLAGS="$CFLAGS"
   7437 
   7438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7439 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7440 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7441 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7442 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7443 then :
   7444   printf %s "(cached) " >&6
   7445 else case e in #(
   7446   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7447 /* end confdefs.h.  */
   7448 int i;
   7449 _ACEOF
   7450 if ac_fn_c_try_compile "$LINENO"
   7451 then :
   7452   xorg_cv_cc_flag_unknown_warning_option=yes
   7453 else case e in #(
   7454   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7455 esac
   7456 fi
   7457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7458 esac
   7459 fi
   7460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7461 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7463 	CFLAGS="$xorg_testset_save_CFLAGS"
   7464 fi
   7465 
   7466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7469 	fi
   7470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7472 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7473 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7474 then :
   7475   printf %s "(cached) " >&6
   7476 else case e in #(
   7477   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7478 /* end confdefs.h.  */
   7479 int i;
   7480 _ACEOF
   7481 if ac_fn_c_try_compile "$LINENO"
   7482 then :
   7483   xorg_cv_cc_flag_unused_command_line_argument=yes
   7484 else case e in #(
   7485   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7486 esac
   7487 fi
   7488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7489 esac
   7490 fi
   7491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7492 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7494 	CFLAGS="$xorg_testset_save_CFLAGS"
   7495 fi
   7496 
   7497 found="no"
   7498 
   7499 	if test $found = "no" ; then
   7500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7502 		fi
   7503 
   7504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7506 		fi
   7507 
   7508 		CFLAGS="$CFLAGS -Werror=implicit"
   7509 
   7510 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7511 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7512 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7513 		if eval test \${$cacheid+y}
   7514 then :
   7515   printf %s "(cached) " >&6
   7516 else case e in #(
   7517   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7518 /* end confdefs.h.  */
   7519 int i;
   7520 int
   7521 main (void)
   7522 {
   7523 
   7524   ;
   7525   return 0;
   7526 }
   7527 _ACEOF
   7528 if ac_fn_c_try_link "$LINENO"
   7529 then :
   7530   eval $cacheid=yes
   7531 else case e in #(
   7532   e) eval $cacheid=no ;;
   7533 esac
   7534 fi
   7535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7536     conftest$ac_exeext conftest.$ac_ext ;;
   7537 esac
   7538 fi
   7539 
   7540 
   7541 		CFLAGS="$xorg_testset_save_CFLAGS"
   7542 
   7543 		eval supported=\$$cacheid
   7544 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7545 printf "%s\n" "$supported" >&6; }
   7546 		if test "$supported" = "yes" ; then
   7547 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7548 			found="yes"
   7549 		fi
   7550 	fi
   7551 
   7552 	if test $found = "no" ; then
   7553 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7555 		fi
   7556 
   7557 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7559 		fi
   7560 
   7561 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7562 
   7563 		{ 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
   7564 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7565 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7566 		if eval test \${$cacheid+y}
   7567 then :
   7568   printf %s "(cached) " >&6
   7569 else case e in #(
   7570   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7571 /* end confdefs.h.  */
   7572 int i;
   7573 int
   7574 main (void)
   7575 {
   7576 
   7577   ;
   7578   return 0;
   7579 }
   7580 _ACEOF
   7581 if ac_fn_c_try_link "$LINENO"
   7582 then :
   7583   eval $cacheid=yes
   7584 else case e in #(
   7585   e) eval $cacheid=no ;;
   7586 esac
   7587 fi
   7588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7589     conftest$ac_exeext conftest.$ac_ext ;;
   7590 esac
   7591 fi
   7592 
   7593 
   7594 		CFLAGS="$xorg_testset_save_CFLAGS"
   7595 
   7596 		eval supported=\$$cacheid
   7597 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7598 printf "%s\n" "$supported" >&6; }
   7599 		if test "$supported" = "yes" ; then
   7600 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7601 			found="yes"
   7602 		fi
   7603 	fi
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 xorg_testset_save_CFLAGS="$CFLAGS"
   7620 
   7621 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7622 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7624 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7625 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7626 then :
   7627   printf %s "(cached) " >&6
   7628 else case e in #(
   7629   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7630 /* end confdefs.h.  */
   7631 int i;
   7632 _ACEOF
   7633 if ac_fn_c_try_compile "$LINENO"
   7634 then :
   7635   xorg_cv_cc_flag_unknown_warning_option=yes
   7636 else case e in #(
   7637   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7638 esac
   7639 fi
   7640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7641 esac
   7642 fi
   7643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7644 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7646 	CFLAGS="$xorg_testset_save_CFLAGS"
   7647 fi
   7648 
   7649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7652 	fi
   7653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7654 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7655 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7656 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7657 then :
   7658   printf %s "(cached) " >&6
   7659 else case e in #(
   7660   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7661 /* end confdefs.h.  */
   7662 int i;
   7663 _ACEOF
   7664 if ac_fn_c_try_compile "$LINENO"
   7665 then :
   7666   xorg_cv_cc_flag_unused_command_line_argument=yes
   7667 else case e in #(
   7668   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7669 esac
   7670 fi
   7671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7672 esac
   7673 fi
   7674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7675 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7676 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7677 	CFLAGS="$xorg_testset_save_CFLAGS"
   7678 fi
   7679 
   7680 found="no"
   7681 
   7682 	if test $found = "no" ; then
   7683 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7684 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7685 		fi
   7686 
   7687 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7688 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7689 		fi
   7690 
   7691 		CFLAGS="$CFLAGS -Werror=nonnull"
   7692 
   7693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7694 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7695 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7696 		if eval test \${$cacheid+y}
   7697 then :
   7698   printf %s "(cached) " >&6
   7699 else case e in #(
   7700   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7701 /* end confdefs.h.  */
   7702 int i;
   7703 int
   7704 main (void)
   7705 {
   7706 
   7707   ;
   7708   return 0;
   7709 }
   7710 _ACEOF
   7711 if ac_fn_c_try_link "$LINENO"
   7712 then :
   7713   eval $cacheid=yes
   7714 else case e in #(
   7715   e) eval $cacheid=no ;;
   7716 esac
   7717 fi
   7718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7719     conftest$ac_exeext conftest.$ac_ext ;;
   7720 esac
   7721 fi
   7722 
   7723 
   7724 		CFLAGS="$xorg_testset_save_CFLAGS"
   7725 
   7726 		eval supported=\$$cacheid
   7727 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7728 printf "%s\n" "$supported" >&6; }
   7729 		if test "$supported" = "yes" ; then
   7730 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7731 			found="yes"
   7732 		fi
   7733 	fi
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 xorg_testset_save_CFLAGS="$CFLAGS"
   7750 
   7751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7753 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7754 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7755 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7756 then :
   7757   printf %s "(cached) " >&6
   7758 else case e in #(
   7759   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7760 /* end confdefs.h.  */
   7761 int i;
   7762 _ACEOF
   7763 if ac_fn_c_try_compile "$LINENO"
   7764 then :
   7765   xorg_cv_cc_flag_unknown_warning_option=yes
   7766 else case e in #(
   7767   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7768 esac
   7769 fi
   7770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7771 esac
   7772 fi
   7773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7774 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7775 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7776 	CFLAGS="$xorg_testset_save_CFLAGS"
   7777 fi
   7778 
   7779 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7780 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7781 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7782 	fi
   7783 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7784 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7785 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7786 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7787 then :
   7788   printf %s "(cached) " >&6
   7789 else case e in #(
   7790   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7791 /* end confdefs.h.  */
   7792 int i;
   7793 _ACEOF
   7794 if ac_fn_c_try_compile "$LINENO"
   7795 then :
   7796   xorg_cv_cc_flag_unused_command_line_argument=yes
   7797 else case e in #(
   7798   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7799 esac
   7800 fi
   7801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7802 esac
   7803 fi
   7804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7805 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7806 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7807 	CFLAGS="$xorg_testset_save_CFLAGS"
   7808 fi
   7809 
   7810 found="no"
   7811 
   7812 	if test $found = "no" ; then
   7813 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7814 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7815 		fi
   7816 
   7817 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7818 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7819 		fi
   7820 
   7821 		CFLAGS="$CFLAGS -Werror=init-self"
   7822 
   7823 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7824 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7825 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7826 		if eval test \${$cacheid+y}
   7827 then :
   7828   printf %s "(cached) " >&6
   7829 else case e in #(
   7830   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7831 /* end confdefs.h.  */
   7832 int i;
   7833 int
   7834 main (void)
   7835 {
   7836 
   7837   ;
   7838   return 0;
   7839 }
   7840 _ACEOF
   7841 if ac_fn_c_try_link "$LINENO"
   7842 then :
   7843   eval $cacheid=yes
   7844 else case e in #(
   7845   e) eval $cacheid=no ;;
   7846 esac
   7847 fi
   7848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7849     conftest$ac_exeext conftest.$ac_ext ;;
   7850 esac
   7851 fi
   7852 
   7853 
   7854 		CFLAGS="$xorg_testset_save_CFLAGS"
   7855 
   7856 		eval supported=\$$cacheid
   7857 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7858 printf "%s\n" "$supported" >&6; }
   7859 		if test "$supported" = "yes" ; then
   7860 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7861 			found="yes"
   7862 		fi
   7863 	fi
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 xorg_testset_save_CFLAGS="$CFLAGS"
   7880 
   7881 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7882 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7883 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7884 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7885 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7886 then :
   7887   printf %s "(cached) " >&6
   7888 else case e in #(
   7889   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7890 /* end confdefs.h.  */
   7891 int i;
   7892 _ACEOF
   7893 if ac_fn_c_try_compile "$LINENO"
   7894 then :
   7895   xorg_cv_cc_flag_unknown_warning_option=yes
   7896 else case e in #(
   7897   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7898 esac
   7899 fi
   7900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7901 esac
   7902 fi
   7903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7904 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7905 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7906 	CFLAGS="$xorg_testset_save_CFLAGS"
   7907 fi
   7908 
   7909 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7910 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7911 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7912 	fi
   7913 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7914 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7915 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7916 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7917 then :
   7918   printf %s "(cached) " >&6
   7919 else case e in #(
   7920   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7921 /* end confdefs.h.  */
   7922 int i;
   7923 _ACEOF
   7924 if ac_fn_c_try_compile "$LINENO"
   7925 then :
   7926   xorg_cv_cc_flag_unused_command_line_argument=yes
   7927 else case e in #(
   7928   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7929 esac
   7930 fi
   7931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7932 esac
   7933 fi
   7934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7935 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7937 	CFLAGS="$xorg_testset_save_CFLAGS"
   7938 fi
   7939 
   7940 found="no"
   7941 
   7942 	if test $found = "no" ; then
   7943 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7945 		fi
   7946 
   7947 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7949 		fi
   7950 
   7951 		CFLAGS="$CFLAGS -Werror=main"
   7952 
   7953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7954 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7955 		cacheid=xorg_cv_cc_flag__Werror_main
   7956 		if eval test \${$cacheid+y}
   7957 then :
   7958   printf %s "(cached) " >&6
   7959 else case e in #(
   7960   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7961 /* end confdefs.h.  */
   7962 int i;
   7963 int
   7964 main (void)
   7965 {
   7966 
   7967   ;
   7968   return 0;
   7969 }
   7970 _ACEOF
   7971 if ac_fn_c_try_link "$LINENO"
   7972 then :
   7973   eval $cacheid=yes
   7974 else case e in #(
   7975   e) eval $cacheid=no ;;
   7976 esac
   7977 fi
   7978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7979     conftest$ac_exeext conftest.$ac_ext ;;
   7980 esac
   7981 fi
   7982 
   7983 
   7984 		CFLAGS="$xorg_testset_save_CFLAGS"
   7985 
   7986 		eval supported=\$$cacheid
   7987 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7988 printf "%s\n" "$supported" >&6; }
   7989 		if test "$supported" = "yes" ; then
   7990 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7991 			found="yes"
   7992 		fi
   7993 	fi
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 xorg_testset_save_CFLAGS="$CFLAGS"
   8010 
   8011 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8012 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8013 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8014 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8015 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8016 then :
   8017   printf %s "(cached) " >&6
   8018 else case e in #(
   8019   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8020 /* end confdefs.h.  */
   8021 int i;
   8022 _ACEOF
   8023 if ac_fn_c_try_compile "$LINENO"
   8024 then :
   8025   xorg_cv_cc_flag_unknown_warning_option=yes
   8026 else case e in #(
   8027   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8028 esac
   8029 fi
   8030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8031 esac
   8032 fi
   8033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8034 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8035 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8036 	CFLAGS="$xorg_testset_save_CFLAGS"
   8037 fi
   8038 
   8039 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8040 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8041 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8042 	fi
   8043 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8044 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8045 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8046 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8047 then :
   8048   printf %s "(cached) " >&6
   8049 else case e in #(
   8050   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8051 /* end confdefs.h.  */
   8052 int i;
   8053 _ACEOF
   8054 if ac_fn_c_try_compile "$LINENO"
   8055 then :
   8056   xorg_cv_cc_flag_unused_command_line_argument=yes
   8057 else case e in #(
   8058   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8059 esac
   8060 fi
   8061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8062 esac
   8063 fi
   8064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8065 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8066 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8067 	CFLAGS="$xorg_testset_save_CFLAGS"
   8068 fi
   8069 
   8070 found="no"
   8071 
   8072 	if test $found = "no" ; then
   8073 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8074 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8075 		fi
   8076 
   8077 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8078 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8079 		fi
   8080 
   8081 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8082 
   8083 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8084 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8085 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8086 		if eval test \${$cacheid+y}
   8087 then :
   8088   printf %s "(cached) " >&6
   8089 else case e in #(
   8090   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8091 /* end confdefs.h.  */
   8092 int i;
   8093 int
   8094 main (void)
   8095 {
   8096 
   8097   ;
   8098   return 0;
   8099 }
   8100 _ACEOF
   8101 if ac_fn_c_try_link "$LINENO"
   8102 then :
   8103   eval $cacheid=yes
   8104 else case e in #(
   8105   e) eval $cacheid=no ;;
   8106 esac
   8107 fi
   8108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8109     conftest$ac_exeext conftest.$ac_ext ;;
   8110 esac
   8111 fi
   8112 
   8113 
   8114 		CFLAGS="$xorg_testset_save_CFLAGS"
   8115 
   8116 		eval supported=\$$cacheid
   8117 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8118 printf "%s\n" "$supported" >&6; }
   8119 		if test "$supported" = "yes" ; then
   8120 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8121 			found="yes"
   8122 		fi
   8123 	fi
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 xorg_testset_save_CFLAGS="$CFLAGS"
   8140 
   8141 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8142 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8143 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8144 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8145 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8146 then :
   8147   printf %s "(cached) " >&6
   8148 else case e in #(
   8149   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8150 /* end confdefs.h.  */
   8151 int i;
   8152 _ACEOF
   8153 if ac_fn_c_try_compile "$LINENO"
   8154 then :
   8155   xorg_cv_cc_flag_unknown_warning_option=yes
   8156 else case e in #(
   8157   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8158 esac
   8159 fi
   8160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8161 esac
   8162 fi
   8163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8164 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8165 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8166 	CFLAGS="$xorg_testset_save_CFLAGS"
   8167 fi
   8168 
   8169 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8170 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8171 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8172 	fi
   8173 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8174 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8175 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8176 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8177 then :
   8178   printf %s "(cached) " >&6
   8179 else case e in #(
   8180   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8181 /* end confdefs.h.  */
   8182 int i;
   8183 _ACEOF
   8184 if ac_fn_c_try_compile "$LINENO"
   8185 then :
   8186   xorg_cv_cc_flag_unused_command_line_argument=yes
   8187 else case e in #(
   8188   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8189 esac
   8190 fi
   8191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8192 esac
   8193 fi
   8194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8195 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8196 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8197 	CFLAGS="$xorg_testset_save_CFLAGS"
   8198 fi
   8199 
   8200 found="no"
   8201 
   8202 	if test $found = "no" ; then
   8203 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8204 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8205 		fi
   8206 
   8207 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8208 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8209 		fi
   8210 
   8211 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8212 
   8213 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8214 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8215 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8216 		if eval test \${$cacheid+y}
   8217 then :
   8218   printf %s "(cached) " >&6
   8219 else case e in #(
   8220   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8221 /* end confdefs.h.  */
   8222 int i;
   8223 int
   8224 main (void)
   8225 {
   8226 
   8227   ;
   8228   return 0;
   8229 }
   8230 _ACEOF
   8231 if ac_fn_c_try_link "$LINENO"
   8232 then :
   8233   eval $cacheid=yes
   8234 else case e in #(
   8235   e) eval $cacheid=no ;;
   8236 esac
   8237 fi
   8238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8239     conftest$ac_exeext conftest.$ac_ext ;;
   8240 esac
   8241 fi
   8242 
   8243 
   8244 		CFLAGS="$xorg_testset_save_CFLAGS"
   8245 
   8246 		eval supported=\$$cacheid
   8247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8248 printf "%s\n" "$supported" >&6; }
   8249 		if test "$supported" = "yes" ; then
   8250 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8251 			found="yes"
   8252 		fi
   8253 	fi
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 xorg_testset_save_CFLAGS="$CFLAGS"
   8270 
   8271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8273 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8274 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8275 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8276 then :
   8277   printf %s "(cached) " >&6
   8278 else case e in #(
   8279   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8280 /* end confdefs.h.  */
   8281 int i;
   8282 _ACEOF
   8283 if ac_fn_c_try_compile "$LINENO"
   8284 then :
   8285   xorg_cv_cc_flag_unknown_warning_option=yes
   8286 else case e in #(
   8287   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8288 esac
   8289 fi
   8290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8291 esac
   8292 fi
   8293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8294 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8295 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8296 	CFLAGS="$xorg_testset_save_CFLAGS"
   8297 fi
   8298 
   8299 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8300 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8301 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8302 	fi
   8303 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8304 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8305 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8306 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8307 then :
   8308   printf %s "(cached) " >&6
   8309 else case e in #(
   8310   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8311 /* end confdefs.h.  */
   8312 int i;
   8313 _ACEOF
   8314 if ac_fn_c_try_compile "$LINENO"
   8315 then :
   8316   xorg_cv_cc_flag_unused_command_line_argument=yes
   8317 else case e in #(
   8318   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8319 esac
   8320 fi
   8321 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8322 esac
   8323 fi
   8324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8325 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8327 	CFLAGS="$xorg_testset_save_CFLAGS"
   8328 fi
   8329 
   8330 found="no"
   8331 
   8332 	if test $found = "no" ; then
   8333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8335 		fi
   8336 
   8337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8339 		fi
   8340 
   8341 		CFLAGS="$CFLAGS -Werror=return-type"
   8342 
   8343 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8344 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8345 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8346 		if eval test \${$cacheid+y}
   8347 then :
   8348   printf %s "(cached) " >&6
   8349 else case e in #(
   8350   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8351 /* end confdefs.h.  */
   8352 int i;
   8353 int
   8354 main (void)
   8355 {
   8356 
   8357   ;
   8358   return 0;
   8359 }
   8360 _ACEOF
   8361 if ac_fn_c_try_link "$LINENO"
   8362 then :
   8363   eval $cacheid=yes
   8364 else case e in #(
   8365   e) eval $cacheid=no ;;
   8366 esac
   8367 fi
   8368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8369     conftest$ac_exeext conftest.$ac_ext ;;
   8370 esac
   8371 fi
   8372 
   8373 
   8374 		CFLAGS="$xorg_testset_save_CFLAGS"
   8375 
   8376 		eval supported=\$$cacheid
   8377 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8378 printf "%s\n" "$supported" >&6; }
   8379 		if test "$supported" = "yes" ; then
   8380 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8381 			found="yes"
   8382 		fi
   8383 	fi
   8384 
   8385 	if test $found = "no" ; then
   8386 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8388 		fi
   8389 
   8390 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8392 		fi
   8393 
   8394 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8395 
   8396 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8397 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8398 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8399 		if eval test \${$cacheid+y}
   8400 then :
   8401   printf %s "(cached) " >&6
   8402 else case e in #(
   8403   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8404 /* end confdefs.h.  */
   8405 int i;
   8406 int
   8407 main (void)
   8408 {
   8409 
   8410   ;
   8411   return 0;
   8412 }
   8413 _ACEOF
   8414 if ac_fn_c_try_link "$LINENO"
   8415 then :
   8416   eval $cacheid=yes
   8417 else case e in #(
   8418   e) eval $cacheid=no ;;
   8419 esac
   8420 fi
   8421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8422     conftest$ac_exeext conftest.$ac_ext ;;
   8423 esac
   8424 fi
   8425 
   8426 
   8427 		CFLAGS="$xorg_testset_save_CFLAGS"
   8428 
   8429 		eval supported=\$$cacheid
   8430 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8431 printf "%s\n" "$supported" >&6; }
   8432 		if test "$supported" = "yes" ; then
   8433 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8434 			found="yes"
   8435 		fi
   8436 	fi
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 xorg_testset_save_CFLAGS="$CFLAGS"
   8453 
   8454 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8455 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8456 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8457 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8458 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8459 then :
   8460   printf %s "(cached) " >&6
   8461 else case e in #(
   8462   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8463 /* end confdefs.h.  */
   8464 int i;
   8465 _ACEOF
   8466 if ac_fn_c_try_compile "$LINENO"
   8467 then :
   8468   xorg_cv_cc_flag_unknown_warning_option=yes
   8469 else case e in #(
   8470   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8471 esac
   8472 fi
   8473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8474 esac
   8475 fi
   8476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8477 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8478 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8479 	CFLAGS="$xorg_testset_save_CFLAGS"
   8480 fi
   8481 
   8482 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8483 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8484 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8485 	fi
   8486 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8487 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8488 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8489 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8490 then :
   8491   printf %s "(cached) " >&6
   8492 else case e in #(
   8493   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8494 /* end confdefs.h.  */
   8495 int i;
   8496 _ACEOF
   8497 if ac_fn_c_try_compile "$LINENO"
   8498 then :
   8499   xorg_cv_cc_flag_unused_command_line_argument=yes
   8500 else case e in #(
   8501   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8502 esac
   8503 fi
   8504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8505 esac
   8506 fi
   8507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8508 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8509 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8510 	CFLAGS="$xorg_testset_save_CFLAGS"
   8511 fi
   8512 
   8513 found="no"
   8514 
   8515 	if test $found = "no" ; then
   8516 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8517 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8518 		fi
   8519 
   8520 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8521 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8522 		fi
   8523 
   8524 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8525 
   8526 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8527 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8528 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8529 		if eval test \${$cacheid+y}
   8530 then :
   8531   printf %s "(cached) " >&6
   8532 else case e in #(
   8533   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8534 /* end confdefs.h.  */
   8535 int i;
   8536 int
   8537 main (void)
   8538 {
   8539 
   8540   ;
   8541   return 0;
   8542 }
   8543 _ACEOF
   8544 if ac_fn_c_try_link "$LINENO"
   8545 then :
   8546   eval $cacheid=yes
   8547 else case e in #(
   8548   e) eval $cacheid=no ;;
   8549 esac
   8550 fi
   8551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8552     conftest$ac_exeext conftest.$ac_ext ;;
   8553 esac
   8554 fi
   8555 
   8556 
   8557 		CFLAGS="$xorg_testset_save_CFLAGS"
   8558 
   8559 		eval supported=\$$cacheid
   8560 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8561 printf "%s\n" "$supported" >&6; }
   8562 		if test "$supported" = "yes" ; then
   8563 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8564 			found="yes"
   8565 		fi
   8566 	fi
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 xorg_testset_save_CFLAGS="$CFLAGS"
   8583 
   8584 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8585 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8586 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8587 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8588 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8589 then :
   8590   printf %s "(cached) " >&6
   8591 else case e in #(
   8592   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8593 /* end confdefs.h.  */
   8594 int i;
   8595 _ACEOF
   8596 if ac_fn_c_try_compile "$LINENO"
   8597 then :
   8598   xorg_cv_cc_flag_unknown_warning_option=yes
   8599 else case e in #(
   8600   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8601 esac
   8602 fi
   8603 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8604 esac
   8605 fi
   8606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8607 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8608 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8609 	CFLAGS="$xorg_testset_save_CFLAGS"
   8610 fi
   8611 
   8612 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8613 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8614 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8615 	fi
   8616 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8617 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8618 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8619 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8620 then :
   8621   printf %s "(cached) " >&6
   8622 else case e in #(
   8623   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8624 /* end confdefs.h.  */
   8625 int i;
   8626 _ACEOF
   8627 if ac_fn_c_try_compile "$LINENO"
   8628 then :
   8629   xorg_cv_cc_flag_unused_command_line_argument=yes
   8630 else case e in #(
   8631   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8632 esac
   8633 fi
   8634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8635 esac
   8636 fi
   8637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8638 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8639 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8640 	CFLAGS="$xorg_testset_save_CFLAGS"
   8641 fi
   8642 
   8643 found="no"
   8644 
   8645 	if test $found = "no" ; then
   8646 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8647 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8648 		fi
   8649 
   8650 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8651 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8652 		fi
   8653 
   8654 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8655 
   8656 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8657 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8658 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8659 		if eval test \${$cacheid+y}
   8660 then :
   8661   printf %s "(cached) " >&6
   8662 else case e in #(
   8663   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8664 /* end confdefs.h.  */
   8665 int i;
   8666 int
   8667 main (void)
   8668 {
   8669 
   8670   ;
   8671   return 0;
   8672 }
   8673 _ACEOF
   8674 if ac_fn_c_try_link "$LINENO"
   8675 then :
   8676   eval $cacheid=yes
   8677 else case e in #(
   8678   e) eval $cacheid=no ;;
   8679 esac
   8680 fi
   8681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8682     conftest$ac_exeext conftest.$ac_ext ;;
   8683 esac
   8684 fi
   8685 
   8686 
   8687 		CFLAGS="$xorg_testset_save_CFLAGS"
   8688 
   8689 		eval supported=\$$cacheid
   8690 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8691 printf "%s\n" "$supported" >&6; }
   8692 		if test "$supported" = "yes" ; then
   8693 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8694 			found="yes"
   8695 		fi
   8696 	fi
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 xorg_testset_save_CFLAGS="$CFLAGS"
   8713 
   8714 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8715 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8716 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8717 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8718 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8719 then :
   8720   printf %s "(cached) " >&6
   8721 else case e in #(
   8722   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8723 /* end confdefs.h.  */
   8724 int i;
   8725 _ACEOF
   8726 if ac_fn_c_try_compile "$LINENO"
   8727 then :
   8728   xorg_cv_cc_flag_unknown_warning_option=yes
   8729 else case e in #(
   8730   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8731 esac
   8732 fi
   8733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8734 esac
   8735 fi
   8736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8737 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8738 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8739 	CFLAGS="$xorg_testset_save_CFLAGS"
   8740 fi
   8741 
   8742 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8743 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8745 	fi
   8746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8747 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8748 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8749 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8750 then :
   8751   printf %s "(cached) " >&6
   8752 else case e in #(
   8753   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8754 /* end confdefs.h.  */
   8755 int i;
   8756 _ACEOF
   8757 if ac_fn_c_try_compile "$LINENO"
   8758 then :
   8759   xorg_cv_cc_flag_unused_command_line_argument=yes
   8760 else case e in #(
   8761   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8762 esac
   8763 fi
   8764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8765 esac
   8766 fi
   8767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8768 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8769 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8770 	CFLAGS="$xorg_testset_save_CFLAGS"
   8771 fi
   8772 
   8773 found="no"
   8774 
   8775 	if test $found = "no" ; then
   8776 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8777 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8778 		fi
   8779 
   8780 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8781 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8782 		fi
   8783 
   8784 		CFLAGS="$CFLAGS -Werror=write-strings"
   8785 
   8786 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8787 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8788 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8789 		if eval test \${$cacheid+y}
   8790 then :
   8791   printf %s "(cached) " >&6
   8792 else case e in #(
   8793   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8794 /* end confdefs.h.  */
   8795 int i;
   8796 int
   8797 main (void)
   8798 {
   8799 
   8800   ;
   8801   return 0;
   8802 }
   8803 _ACEOF
   8804 if ac_fn_c_try_link "$LINENO"
   8805 then :
   8806   eval $cacheid=yes
   8807 else case e in #(
   8808   e) eval $cacheid=no ;;
   8809 esac
   8810 fi
   8811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8812     conftest$ac_exeext conftest.$ac_ext ;;
   8813 esac
   8814 fi
   8815 
   8816 
   8817 		CFLAGS="$xorg_testset_save_CFLAGS"
   8818 
   8819 		eval supported=\$$cacheid
   8820 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8821 printf "%s\n" "$supported" >&6; }
   8822 		if test "$supported" = "yes" ; then
   8823 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8824 			found="yes"
   8825 		fi
   8826 	fi
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 xorg_testset_save_CFLAGS="$CFLAGS"
   8843 
   8844 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8845 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8847 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8848 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8849 then :
   8850   printf %s "(cached) " >&6
   8851 else case e in #(
   8852   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8853 /* end confdefs.h.  */
   8854 int i;
   8855 _ACEOF
   8856 if ac_fn_c_try_compile "$LINENO"
   8857 then :
   8858   xorg_cv_cc_flag_unknown_warning_option=yes
   8859 else case e in #(
   8860   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8861 esac
   8862 fi
   8863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8864 esac
   8865 fi
   8866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8867 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8868 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8869 	CFLAGS="$xorg_testset_save_CFLAGS"
   8870 fi
   8871 
   8872 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8873 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8874 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8875 	fi
   8876 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8877 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8878 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8879 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8880 then :
   8881   printf %s "(cached) " >&6
   8882 else case e in #(
   8883   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8884 /* end confdefs.h.  */
   8885 int i;
   8886 _ACEOF
   8887 if ac_fn_c_try_compile "$LINENO"
   8888 then :
   8889   xorg_cv_cc_flag_unused_command_line_argument=yes
   8890 else case e in #(
   8891   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8892 esac
   8893 fi
   8894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8895 esac
   8896 fi
   8897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8898 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8899 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8900 	CFLAGS="$xorg_testset_save_CFLAGS"
   8901 fi
   8902 
   8903 found="no"
   8904 
   8905 	if test $found = "no" ; then
   8906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8908 		fi
   8909 
   8910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8912 		fi
   8913 
   8914 		CFLAGS="$CFLAGS -Werror=address"
   8915 
   8916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8917 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8918 		cacheid=xorg_cv_cc_flag__Werror_address
   8919 		if eval test \${$cacheid+y}
   8920 then :
   8921   printf %s "(cached) " >&6
   8922 else case e in #(
   8923   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8924 /* end confdefs.h.  */
   8925 int i;
   8926 int
   8927 main (void)
   8928 {
   8929 
   8930   ;
   8931   return 0;
   8932 }
   8933 _ACEOF
   8934 if ac_fn_c_try_link "$LINENO"
   8935 then :
   8936   eval $cacheid=yes
   8937 else case e in #(
   8938   e) eval $cacheid=no ;;
   8939 esac
   8940 fi
   8941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8942     conftest$ac_exeext conftest.$ac_ext ;;
   8943 esac
   8944 fi
   8945 
   8946 
   8947 		CFLAGS="$xorg_testset_save_CFLAGS"
   8948 
   8949 		eval supported=\$$cacheid
   8950 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8951 printf "%s\n" "$supported" >&6; }
   8952 		if test "$supported" = "yes" ; then
   8953 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8954 			found="yes"
   8955 		fi
   8956 	fi
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 xorg_testset_save_CFLAGS="$CFLAGS"
   8973 
   8974 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8975 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8976 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8977 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8978 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8979 then :
   8980   printf %s "(cached) " >&6
   8981 else case e in #(
   8982   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8983 /* end confdefs.h.  */
   8984 int i;
   8985 _ACEOF
   8986 if ac_fn_c_try_compile "$LINENO"
   8987 then :
   8988   xorg_cv_cc_flag_unknown_warning_option=yes
   8989 else case e in #(
   8990   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8991 esac
   8992 fi
   8993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8994 esac
   8995 fi
   8996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8997 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8998 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8999 	CFLAGS="$xorg_testset_save_CFLAGS"
   9000 fi
   9001 
   9002 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9003 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9004 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9005 	fi
   9006 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9007 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9008 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9009 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9010 then :
   9011   printf %s "(cached) " >&6
   9012 else case e in #(
   9013   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9014 /* end confdefs.h.  */
   9015 int i;
   9016 _ACEOF
   9017 if ac_fn_c_try_compile "$LINENO"
   9018 then :
   9019   xorg_cv_cc_flag_unused_command_line_argument=yes
   9020 else case e in #(
   9021   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9022 esac
   9023 fi
   9024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9025 esac
   9026 fi
   9027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9028 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9029 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9030 	CFLAGS="$xorg_testset_save_CFLAGS"
   9031 fi
   9032 
   9033 found="no"
   9034 
   9035 	if test $found = "no" ; then
   9036 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9037 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9038 		fi
   9039 
   9040 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9041 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9042 		fi
   9043 
   9044 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9045 
   9046 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9047 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9048 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9049 		if eval test \${$cacheid+y}
   9050 then :
   9051   printf %s "(cached) " >&6
   9052 else case e in #(
   9053   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9054 /* end confdefs.h.  */
   9055 int i;
   9056 int
   9057 main (void)
   9058 {
   9059 
   9060   ;
   9061   return 0;
   9062 }
   9063 _ACEOF
   9064 if ac_fn_c_try_link "$LINENO"
   9065 then :
   9066   eval $cacheid=yes
   9067 else case e in #(
   9068   e) eval $cacheid=no ;;
   9069 esac
   9070 fi
   9071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9072     conftest$ac_exeext conftest.$ac_ext ;;
   9073 esac
   9074 fi
   9075 
   9076 
   9077 		CFLAGS="$xorg_testset_save_CFLAGS"
   9078 
   9079 		eval supported=\$$cacheid
   9080 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9081 printf "%s\n" "$supported" >&6; }
   9082 		if test "$supported" = "yes" ; then
   9083 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9084 			found="yes"
   9085 		fi
   9086 	fi
   9087 
   9088 	if test $found = "no" ; then
   9089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9091 		fi
   9092 
   9093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9095 		fi
   9096 
   9097 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9098 
   9099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9100 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9101 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9102 		if eval test \${$cacheid+y}
   9103 then :
   9104   printf %s "(cached) " >&6
   9105 else case e in #(
   9106   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9107 /* end confdefs.h.  */
   9108 int i;
   9109 int
   9110 main (void)
   9111 {
   9112 
   9113   ;
   9114   return 0;
   9115 }
   9116 _ACEOF
   9117 if ac_fn_c_try_link "$LINENO"
   9118 then :
   9119   eval $cacheid=yes
   9120 else case e in #(
   9121   e) eval $cacheid=no ;;
   9122 esac
   9123 fi
   9124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9125     conftest$ac_exeext conftest.$ac_ext ;;
   9126 esac
   9127 fi
   9128 
   9129 
   9130 		CFLAGS="$xorg_testset_save_CFLAGS"
   9131 
   9132 		eval supported=\$$cacheid
   9133 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9134 printf "%s\n" "$supported" >&6; }
   9135 		if test "$supported" = "yes" ; then
   9136 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9137 			found="yes"
   9138 		fi
   9139 	fi
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 xorg_testset_save_CFLAGS="$CFLAGS"
   9156 
   9157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9159 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9160 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9161 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9162 then :
   9163   printf %s "(cached) " >&6
   9164 else case e in #(
   9165   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9166 /* end confdefs.h.  */
   9167 int i;
   9168 _ACEOF
   9169 if ac_fn_c_try_compile "$LINENO"
   9170 then :
   9171   xorg_cv_cc_flag_unknown_warning_option=yes
   9172 else case e in #(
   9173   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9174 esac
   9175 fi
   9176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9177 esac
   9178 fi
   9179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9180 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9182 	CFLAGS="$xorg_testset_save_CFLAGS"
   9183 fi
   9184 
   9185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9188 	fi
   9189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9190 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9191 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9192 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9193 then :
   9194   printf %s "(cached) " >&6
   9195 else case e in #(
   9196   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9197 /* end confdefs.h.  */
   9198 int i;
   9199 _ACEOF
   9200 if ac_fn_c_try_compile "$LINENO"
   9201 then :
   9202   xorg_cv_cc_flag_unused_command_line_argument=yes
   9203 else case e in #(
   9204   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9205 esac
   9206 fi
   9207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9208 esac
   9209 fi
   9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9211 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9212 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9213 	CFLAGS="$xorg_testset_save_CFLAGS"
   9214 fi
   9215 
   9216 found="no"
   9217 
   9218 	if test $found = "no" ; then
   9219 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9221 		fi
   9222 
   9223 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9225 		fi
   9226 
   9227 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9228 
   9229 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9230 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9231 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9232 		if eval test \${$cacheid+y}
   9233 then :
   9234   printf %s "(cached) " >&6
   9235 else case e in #(
   9236   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9237 /* end confdefs.h.  */
   9238 int i;
   9239 int
   9240 main (void)
   9241 {
   9242 
   9243   ;
   9244   return 0;
   9245 }
   9246 _ACEOF
   9247 if ac_fn_c_try_link "$LINENO"
   9248 then :
   9249   eval $cacheid=yes
   9250 else case e in #(
   9251   e) eval $cacheid=no ;;
   9252 esac
   9253 fi
   9254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9255     conftest$ac_exeext conftest.$ac_ext ;;
   9256 esac
   9257 fi
   9258 
   9259 
   9260 		CFLAGS="$xorg_testset_save_CFLAGS"
   9261 
   9262 		eval supported=\$$cacheid
   9263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9264 printf "%s\n" "$supported" >&6; }
   9265 		if test "$supported" = "yes" ; then
   9266 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9267 			found="yes"
   9268 		fi
   9269 	fi
   9270 
   9271  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9272 else
   9273 { 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
   9274 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;}
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 xorg_testset_save_CFLAGS="$CFLAGS"
   9289 
   9290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9292 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9293 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9294 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9295 then :
   9296   printf %s "(cached) " >&6
   9297 else case e in #(
   9298   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9299 /* end confdefs.h.  */
   9300 int i;
   9301 _ACEOF
   9302 if ac_fn_c_try_compile "$LINENO"
   9303 then :
   9304   xorg_cv_cc_flag_unknown_warning_option=yes
   9305 else case e in #(
   9306   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9307 esac
   9308 fi
   9309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9310 esac
   9311 fi
   9312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9313 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9314 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9315 	CFLAGS="$xorg_testset_save_CFLAGS"
   9316 fi
   9317 
   9318 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9319 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9320 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9321 	fi
   9322 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9323 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9324 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9325 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9326 then :
   9327   printf %s "(cached) " >&6
   9328 else case e in #(
   9329   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9330 /* end confdefs.h.  */
   9331 int i;
   9332 _ACEOF
   9333 if ac_fn_c_try_compile "$LINENO"
   9334 then :
   9335   xorg_cv_cc_flag_unused_command_line_argument=yes
   9336 else case e in #(
   9337   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9338 esac
   9339 fi
   9340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9341 esac
   9342 fi
   9343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9344 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9346 	CFLAGS="$xorg_testset_save_CFLAGS"
   9347 fi
   9348 
   9349 found="no"
   9350 
   9351 	if test $found = "no" ; then
   9352 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9354 		fi
   9355 
   9356 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9358 		fi
   9359 
   9360 		CFLAGS="$CFLAGS -Wimplicit"
   9361 
   9362 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9363 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9364 		cacheid=xorg_cv_cc_flag__Wimplicit
   9365 		if eval test \${$cacheid+y}
   9366 then :
   9367   printf %s "(cached) " >&6
   9368 else case e in #(
   9369   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9370 /* end confdefs.h.  */
   9371 int i;
   9372 int
   9373 main (void)
   9374 {
   9375 
   9376   ;
   9377   return 0;
   9378 }
   9379 _ACEOF
   9380 if ac_fn_c_try_link "$LINENO"
   9381 then :
   9382   eval $cacheid=yes
   9383 else case e in #(
   9384   e) eval $cacheid=no ;;
   9385 esac
   9386 fi
   9387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9388     conftest$ac_exeext conftest.$ac_ext ;;
   9389 esac
   9390 fi
   9391 
   9392 
   9393 		CFLAGS="$xorg_testset_save_CFLAGS"
   9394 
   9395 		eval supported=\$$cacheid
   9396 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9397 printf "%s\n" "$supported" >&6; }
   9398 		if test "$supported" = "yes" ; then
   9399 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9400 			found="yes"
   9401 		fi
   9402 	fi
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 xorg_testset_save_CFLAGS="$CFLAGS"
   9419 
   9420 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9421 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9422 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9423 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9424 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9425 then :
   9426   printf %s "(cached) " >&6
   9427 else case e in #(
   9428   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9429 /* end confdefs.h.  */
   9430 int i;
   9431 _ACEOF
   9432 if ac_fn_c_try_compile "$LINENO"
   9433 then :
   9434   xorg_cv_cc_flag_unknown_warning_option=yes
   9435 else case e in #(
   9436   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9437 esac
   9438 fi
   9439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9440 esac
   9441 fi
   9442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9443 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9444 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9445 	CFLAGS="$xorg_testset_save_CFLAGS"
   9446 fi
   9447 
   9448 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9449 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9450 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9451 	fi
   9452 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9453 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9454 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9455 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9456 then :
   9457   printf %s "(cached) " >&6
   9458 else case e in #(
   9459   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9460 /* end confdefs.h.  */
   9461 int i;
   9462 _ACEOF
   9463 if ac_fn_c_try_compile "$LINENO"
   9464 then :
   9465   xorg_cv_cc_flag_unused_command_line_argument=yes
   9466 else case e in #(
   9467   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9468 esac
   9469 fi
   9470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9471 esac
   9472 fi
   9473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9474 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9475 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9476 	CFLAGS="$xorg_testset_save_CFLAGS"
   9477 fi
   9478 
   9479 found="no"
   9480 
   9481 	if test $found = "no" ; then
   9482 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9483 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9484 		fi
   9485 
   9486 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9487 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9488 		fi
   9489 
   9490 		CFLAGS="$CFLAGS -Wnonnull"
   9491 
   9492 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9493 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9494 		cacheid=xorg_cv_cc_flag__Wnonnull
   9495 		if eval test \${$cacheid+y}
   9496 then :
   9497   printf %s "(cached) " >&6
   9498 else case e in #(
   9499   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9500 /* end confdefs.h.  */
   9501 int i;
   9502 int
   9503 main (void)
   9504 {
   9505 
   9506   ;
   9507   return 0;
   9508 }
   9509 _ACEOF
   9510 if ac_fn_c_try_link "$LINENO"
   9511 then :
   9512   eval $cacheid=yes
   9513 else case e in #(
   9514   e) eval $cacheid=no ;;
   9515 esac
   9516 fi
   9517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9518     conftest$ac_exeext conftest.$ac_ext ;;
   9519 esac
   9520 fi
   9521 
   9522 
   9523 		CFLAGS="$xorg_testset_save_CFLAGS"
   9524 
   9525 		eval supported=\$$cacheid
   9526 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9527 printf "%s\n" "$supported" >&6; }
   9528 		if test "$supported" = "yes" ; then
   9529 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9530 			found="yes"
   9531 		fi
   9532 	fi
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 xorg_testset_save_CFLAGS="$CFLAGS"
   9549 
   9550 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9551 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9553 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9554 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9555 then :
   9556   printf %s "(cached) " >&6
   9557 else case e in #(
   9558   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9559 /* end confdefs.h.  */
   9560 int i;
   9561 _ACEOF
   9562 if ac_fn_c_try_compile "$LINENO"
   9563 then :
   9564   xorg_cv_cc_flag_unknown_warning_option=yes
   9565 else case e in #(
   9566   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9567 esac
   9568 fi
   9569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9570 esac
   9571 fi
   9572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9573 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9574 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9575 	CFLAGS="$xorg_testset_save_CFLAGS"
   9576 fi
   9577 
   9578 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9579 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9580 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9581 	fi
   9582 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9583 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9584 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9585 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9586 then :
   9587   printf %s "(cached) " >&6
   9588 else case e in #(
   9589   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9590 /* end confdefs.h.  */
   9591 int i;
   9592 _ACEOF
   9593 if ac_fn_c_try_compile "$LINENO"
   9594 then :
   9595   xorg_cv_cc_flag_unused_command_line_argument=yes
   9596 else case e in #(
   9597   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9598 esac
   9599 fi
   9600 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9601 esac
   9602 fi
   9603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9604 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9605 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9606 	CFLAGS="$xorg_testset_save_CFLAGS"
   9607 fi
   9608 
   9609 found="no"
   9610 
   9611 	if test $found = "no" ; then
   9612 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9614 		fi
   9615 
   9616 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9618 		fi
   9619 
   9620 		CFLAGS="$CFLAGS -Winit-self"
   9621 
   9622 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9623 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9624 		cacheid=xorg_cv_cc_flag__Winit_self
   9625 		if eval test \${$cacheid+y}
   9626 then :
   9627   printf %s "(cached) " >&6
   9628 else case e in #(
   9629   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9630 /* end confdefs.h.  */
   9631 int i;
   9632 int
   9633 main (void)
   9634 {
   9635 
   9636   ;
   9637   return 0;
   9638 }
   9639 _ACEOF
   9640 if ac_fn_c_try_link "$LINENO"
   9641 then :
   9642   eval $cacheid=yes
   9643 else case e in #(
   9644   e) eval $cacheid=no ;;
   9645 esac
   9646 fi
   9647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9648     conftest$ac_exeext conftest.$ac_ext ;;
   9649 esac
   9650 fi
   9651 
   9652 
   9653 		CFLAGS="$xorg_testset_save_CFLAGS"
   9654 
   9655 		eval supported=\$$cacheid
   9656 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9657 printf "%s\n" "$supported" >&6; }
   9658 		if test "$supported" = "yes" ; then
   9659 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9660 			found="yes"
   9661 		fi
   9662 	fi
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 xorg_testset_save_CFLAGS="$CFLAGS"
   9679 
   9680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9682 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9683 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9684 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9685 then :
   9686   printf %s "(cached) " >&6
   9687 else case e in #(
   9688   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9689 /* end confdefs.h.  */
   9690 int i;
   9691 _ACEOF
   9692 if ac_fn_c_try_compile "$LINENO"
   9693 then :
   9694   xorg_cv_cc_flag_unknown_warning_option=yes
   9695 else case e in #(
   9696   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9697 esac
   9698 fi
   9699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9700 esac
   9701 fi
   9702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9703 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9704 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9705 	CFLAGS="$xorg_testset_save_CFLAGS"
   9706 fi
   9707 
   9708 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9709 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9710 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9711 	fi
   9712 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9713 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9714 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9715 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9716 then :
   9717   printf %s "(cached) " >&6
   9718 else case e in #(
   9719   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9720 /* end confdefs.h.  */
   9721 int i;
   9722 _ACEOF
   9723 if ac_fn_c_try_compile "$LINENO"
   9724 then :
   9725   xorg_cv_cc_flag_unused_command_line_argument=yes
   9726 else case e in #(
   9727   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9728 esac
   9729 fi
   9730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9731 esac
   9732 fi
   9733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9734 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9735 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9736 	CFLAGS="$xorg_testset_save_CFLAGS"
   9737 fi
   9738 
   9739 found="no"
   9740 
   9741 	if test $found = "no" ; then
   9742 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9743 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9744 		fi
   9745 
   9746 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9747 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9748 		fi
   9749 
   9750 		CFLAGS="$CFLAGS -Wmain"
   9751 
   9752 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9753 printf %s "checking if $CC supports -Wmain... " >&6; }
   9754 		cacheid=xorg_cv_cc_flag__Wmain
   9755 		if eval test \${$cacheid+y}
   9756 then :
   9757   printf %s "(cached) " >&6
   9758 else case e in #(
   9759   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9760 /* end confdefs.h.  */
   9761 int i;
   9762 int
   9763 main (void)
   9764 {
   9765 
   9766   ;
   9767   return 0;
   9768 }
   9769 _ACEOF
   9770 if ac_fn_c_try_link "$LINENO"
   9771 then :
   9772   eval $cacheid=yes
   9773 else case e in #(
   9774   e) eval $cacheid=no ;;
   9775 esac
   9776 fi
   9777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9778     conftest$ac_exeext conftest.$ac_ext ;;
   9779 esac
   9780 fi
   9781 
   9782 
   9783 		CFLAGS="$xorg_testset_save_CFLAGS"
   9784 
   9785 		eval supported=\$$cacheid
   9786 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9787 printf "%s\n" "$supported" >&6; }
   9788 		if test "$supported" = "yes" ; then
   9789 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9790 			found="yes"
   9791 		fi
   9792 	fi
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 xorg_testset_save_CFLAGS="$CFLAGS"
   9809 
   9810 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9812 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9813 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9814 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9815 then :
   9816   printf %s "(cached) " >&6
   9817 else case e in #(
   9818   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9819 /* end confdefs.h.  */
   9820 int i;
   9821 _ACEOF
   9822 if ac_fn_c_try_compile "$LINENO"
   9823 then :
   9824   xorg_cv_cc_flag_unknown_warning_option=yes
   9825 else case e in #(
   9826   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9827 esac
   9828 fi
   9829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9830 esac
   9831 fi
   9832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9833 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9834 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9835 	CFLAGS="$xorg_testset_save_CFLAGS"
   9836 fi
   9837 
   9838 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9839 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9840 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9841 	fi
   9842 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9843 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9844 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9845 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9846 then :
   9847   printf %s "(cached) " >&6
   9848 else case e in #(
   9849   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9850 /* end confdefs.h.  */
   9851 int i;
   9852 _ACEOF
   9853 if ac_fn_c_try_compile "$LINENO"
   9854 then :
   9855   xorg_cv_cc_flag_unused_command_line_argument=yes
   9856 else case e in #(
   9857   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9858 esac
   9859 fi
   9860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9861 esac
   9862 fi
   9863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9864 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9865 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9866 	CFLAGS="$xorg_testset_save_CFLAGS"
   9867 fi
   9868 
   9869 found="no"
   9870 
   9871 	if test $found = "no" ; then
   9872 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9873 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9874 		fi
   9875 
   9876 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9877 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9878 		fi
   9879 
   9880 		CFLAGS="$CFLAGS -Wmissing-braces"
   9881 
   9882 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9883 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9884 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9885 		if eval test \${$cacheid+y}
   9886 then :
   9887   printf %s "(cached) " >&6
   9888 else case e in #(
   9889   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9890 /* end confdefs.h.  */
   9891 int i;
   9892 int
   9893 main (void)
   9894 {
   9895 
   9896   ;
   9897   return 0;
   9898 }
   9899 _ACEOF
   9900 if ac_fn_c_try_link "$LINENO"
   9901 then :
   9902   eval $cacheid=yes
   9903 else case e in #(
   9904   e) eval $cacheid=no ;;
   9905 esac
   9906 fi
   9907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9908     conftest$ac_exeext conftest.$ac_ext ;;
   9909 esac
   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 -Wmissing-braces"
   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 case e in #(
   9948   e) 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 case e in #(
   9956   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9957 esac
   9958 fi
   9959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9960 esac
   9961 fi
   9962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9963 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9964 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9965 	CFLAGS="$xorg_testset_save_CFLAGS"
   9966 fi
   9967 
   9968 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9969 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9970 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9971 	fi
   9972 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9973 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9974 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9975 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9976 then :
   9977   printf %s "(cached) " >&6
   9978 else case e in #(
   9979   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9980 /* end confdefs.h.  */
   9981 int i;
   9982 _ACEOF
   9983 if ac_fn_c_try_compile "$LINENO"
   9984 then :
   9985   xorg_cv_cc_flag_unused_command_line_argument=yes
   9986 else case e in #(
   9987   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9988 esac
   9989 fi
   9990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9991 esac
   9992 fi
   9993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9994 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9995 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9996 	CFLAGS="$xorg_testset_save_CFLAGS"
   9997 fi
   9998 
   9999 found="no"
   10000 
   10001 	if test $found = "no" ; then
   10002 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10003 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10004 		fi
   10005 
   10006 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10007 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10008 		fi
   10009 
   10010 		CFLAGS="$CFLAGS -Wsequence-point"
   10011 
   10012 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10013 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10014 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10015 		if eval test \${$cacheid+y}
   10016 then :
   10017   printf %s "(cached) " >&6
   10018 else case e in #(
   10019   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10020 /* end confdefs.h.  */
   10021 int i;
   10022 int
   10023 main (void)
   10024 {
   10025 
   10026   ;
   10027   return 0;
   10028 }
   10029 _ACEOF
   10030 if ac_fn_c_try_link "$LINENO"
   10031 then :
   10032   eval $cacheid=yes
   10033 else case e in #(
   10034   e) eval $cacheid=no ;;
   10035 esac
   10036 fi
   10037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10038     conftest$ac_exeext conftest.$ac_ext ;;
   10039 esac
   10040 fi
   10041 
   10042 
   10043 		CFLAGS="$xorg_testset_save_CFLAGS"
   10044 
   10045 		eval supported=\$$cacheid
   10046 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10047 printf "%s\n" "$supported" >&6; }
   10048 		if test "$supported" = "yes" ; then
   10049 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10050 			found="yes"
   10051 		fi
   10052 	fi
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 xorg_testset_save_CFLAGS="$CFLAGS"
   10069 
   10070 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10071 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10072 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10073 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10074 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10075 then :
   10076   printf %s "(cached) " >&6
   10077 else case e in #(
   10078   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10079 /* end confdefs.h.  */
   10080 int i;
   10081 _ACEOF
   10082 if ac_fn_c_try_compile "$LINENO"
   10083 then :
   10084   xorg_cv_cc_flag_unknown_warning_option=yes
   10085 else case e in #(
   10086   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10087 esac
   10088 fi
   10089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10090 esac
   10091 fi
   10092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10093 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10094 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10095 	CFLAGS="$xorg_testset_save_CFLAGS"
   10096 fi
   10097 
   10098 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10099 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10100 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10101 	fi
   10102 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10103 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10104 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10105 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10106 then :
   10107   printf %s "(cached) " >&6
   10108 else case e in #(
   10109   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10110 /* end confdefs.h.  */
   10111 int i;
   10112 _ACEOF
   10113 if ac_fn_c_try_compile "$LINENO"
   10114 then :
   10115   xorg_cv_cc_flag_unused_command_line_argument=yes
   10116 else case e in #(
   10117   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10118 esac
   10119 fi
   10120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10121 esac
   10122 fi
   10123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10124 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10125 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10126 	CFLAGS="$xorg_testset_save_CFLAGS"
   10127 fi
   10128 
   10129 found="no"
   10130 
   10131 	if test $found = "no" ; then
   10132 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10133 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10134 		fi
   10135 
   10136 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10137 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10138 		fi
   10139 
   10140 		CFLAGS="$CFLAGS -Wreturn-type"
   10141 
   10142 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10143 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10144 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10145 		if eval test \${$cacheid+y}
   10146 then :
   10147   printf %s "(cached) " >&6
   10148 else case e in #(
   10149   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10150 /* end confdefs.h.  */
   10151 int i;
   10152 int
   10153 main (void)
   10154 {
   10155 
   10156   ;
   10157   return 0;
   10158 }
   10159 _ACEOF
   10160 if ac_fn_c_try_link "$LINENO"
   10161 then :
   10162   eval $cacheid=yes
   10163 else case e in #(
   10164   e) eval $cacheid=no ;;
   10165 esac
   10166 fi
   10167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10168     conftest$ac_exeext conftest.$ac_ext ;;
   10169 esac
   10170 fi
   10171 
   10172 
   10173 		CFLAGS="$xorg_testset_save_CFLAGS"
   10174 
   10175 		eval supported=\$$cacheid
   10176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10177 printf "%s\n" "$supported" >&6; }
   10178 		if test "$supported" = "yes" ; then
   10179 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10180 			found="yes"
   10181 		fi
   10182 	fi
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 xorg_testset_save_CFLAGS="$CFLAGS"
   10199 
   10200 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10201 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10202 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10203 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10204 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10205 then :
   10206   printf %s "(cached) " >&6
   10207 else case e in #(
   10208   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10209 /* end confdefs.h.  */
   10210 int i;
   10211 _ACEOF
   10212 if ac_fn_c_try_compile "$LINENO"
   10213 then :
   10214   xorg_cv_cc_flag_unknown_warning_option=yes
   10215 else case e in #(
   10216   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10217 esac
   10218 fi
   10219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10220 esac
   10221 fi
   10222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10223 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10224 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10225 	CFLAGS="$xorg_testset_save_CFLAGS"
   10226 fi
   10227 
   10228 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10229 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10230 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10231 	fi
   10232 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10234 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10235 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10236 then :
   10237   printf %s "(cached) " >&6
   10238 else case e in #(
   10239   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10240 /* end confdefs.h.  */
   10241 int i;
   10242 _ACEOF
   10243 if ac_fn_c_try_compile "$LINENO"
   10244 then :
   10245   xorg_cv_cc_flag_unused_command_line_argument=yes
   10246 else case e in #(
   10247   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10248 esac
   10249 fi
   10250 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10251 esac
   10252 fi
   10253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10254 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10256 	CFLAGS="$xorg_testset_save_CFLAGS"
   10257 fi
   10258 
   10259 found="no"
   10260 
   10261 	if test $found = "no" ; then
   10262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10264 		fi
   10265 
   10266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10268 		fi
   10269 
   10270 		CFLAGS="$CFLAGS -Wtrigraphs"
   10271 
   10272 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10273 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10274 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10275 		if eval test \${$cacheid+y}
   10276 then :
   10277   printf %s "(cached) " >&6
   10278 else case e in #(
   10279   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10280 /* end confdefs.h.  */
   10281 int i;
   10282 int
   10283 main (void)
   10284 {
   10285 
   10286   ;
   10287   return 0;
   10288 }
   10289 _ACEOF
   10290 if ac_fn_c_try_link "$LINENO"
   10291 then :
   10292   eval $cacheid=yes
   10293 else case e in #(
   10294   e) eval $cacheid=no ;;
   10295 esac
   10296 fi
   10297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10298     conftest$ac_exeext conftest.$ac_ext ;;
   10299 esac
   10300 fi
   10301 
   10302 
   10303 		CFLAGS="$xorg_testset_save_CFLAGS"
   10304 
   10305 		eval supported=\$$cacheid
   10306 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10307 printf "%s\n" "$supported" >&6; }
   10308 		if test "$supported" = "yes" ; then
   10309 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10310 			found="yes"
   10311 		fi
   10312 	fi
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 xorg_testset_save_CFLAGS="$CFLAGS"
   10329 
   10330 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10331 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10332 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10333 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10334 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10335 then :
   10336   printf %s "(cached) " >&6
   10337 else case e in #(
   10338   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10339 /* end confdefs.h.  */
   10340 int i;
   10341 _ACEOF
   10342 if ac_fn_c_try_compile "$LINENO"
   10343 then :
   10344   xorg_cv_cc_flag_unknown_warning_option=yes
   10345 else case e in #(
   10346   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10347 esac
   10348 fi
   10349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10350 esac
   10351 fi
   10352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10353 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10355 	CFLAGS="$xorg_testset_save_CFLAGS"
   10356 fi
   10357 
   10358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10361 	fi
   10362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10364 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10365 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10366 then :
   10367   printf %s "(cached) " >&6
   10368 else case e in #(
   10369   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10370 /* end confdefs.h.  */
   10371 int i;
   10372 _ACEOF
   10373 if ac_fn_c_try_compile "$LINENO"
   10374 then :
   10375   xorg_cv_cc_flag_unused_command_line_argument=yes
   10376 else case e in #(
   10377   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10378 esac
   10379 fi
   10380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10381 esac
   10382 fi
   10383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10384 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10385 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10386 	CFLAGS="$xorg_testset_save_CFLAGS"
   10387 fi
   10388 
   10389 found="no"
   10390 
   10391 	if test $found = "no" ; then
   10392 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10393 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10394 		fi
   10395 
   10396 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10397 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10398 		fi
   10399 
   10400 		CFLAGS="$CFLAGS -Warray-bounds"
   10401 
   10402 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10403 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10404 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10405 		if eval test \${$cacheid+y}
   10406 then :
   10407   printf %s "(cached) " >&6
   10408 else case e in #(
   10409   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10410 /* end confdefs.h.  */
   10411 int i;
   10412 int
   10413 main (void)
   10414 {
   10415 
   10416   ;
   10417   return 0;
   10418 }
   10419 _ACEOF
   10420 if ac_fn_c_try_link "$LINENO"
   10421 then :
   10422   eval $cacheid=yes
   10423 else case e in #(
   10424   e) eval $cacheid=no ;;
   10425 esac
   10426 fi
   10427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10428     conftest$ac_exeext conftest.$ac_ext ;;
   10429 esac
   10430 fi
   10431 
   10432 
   10433 		CFLAGS="$xorg_testset_save_CFLAGS"
   10434 
   10435 		eval supported=\$$cacheid
   10436 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10437 printf "%s\n" "$supported" >&6; }
   10438 		if test "$supported" = "yes" ; then
   10439 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10440 			found="yes"
   10441 		fi
   10442 	fi
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 xorg_testset_save_CFLAGS="$CFLAGS"
   10459 
   10460 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10461 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10462 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10463 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10464 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10465 then :
   10466   printf %s "(cached) " >&6
   10467 else case e in #(
   10468   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10469 /* end confdefs.h.  */
   10470 int i;
   10471 _ACEOF
   10472 if ac_fn_c_try_compile "$LINENO"
   10473 then :
   10474   xorg_cv_cc_flag_unknown_warning_option=yes
   10475 else case e in #(
   10476   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10477 esac
   10478 fi
   10479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10480 esac
   10481 fi
   10482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10483 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10484 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10485 	CFLAGS="$xorg_testset_save_CFLAGS"
   10486 fi
   10487 
   10488 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10489 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10490 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10491 	fi
   10492 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10493 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10494 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10495 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10496 then :
   10497   printf %s "(cached) " >&6
   10498 else case e in #(
   10499   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10500 /* end confdefs.h.  */
   10501 int i;
   10502 _ACEOF
   10503 if ac_fn_c_try_compile "$LINENO"
   10504 then :
   10505   xorg_cv_cc_flag_unused_command_line_argument=yes
   10506 else case e in #(
   10507   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10508 esac
   10509 fi
   10510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10511 esac
   10512 fi
   10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10514 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10515 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10516 	CFLAGS="$xorg_testset_save_CFLAGS"
   10517 fi
   10518 
   10519 found="no"
   10520 
   10521 	if test $found = "no" ; then
   10522 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10523 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10524 		fi
   10525 
   10526 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10527 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10528 		fi
   10529 
   10530 		CFLAGS="$CFLAGS -Wwrite-strings"
   10531 
   10532 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10533 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10534 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10535 		if eval test \${$cacheid+y}
   10536 then :
   10537   printf %s "(cached) " >&6
   10538 else case e in #(
   10539   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10540 /* end confdefs.h.  */
   10541 int i;
   10542 int
   10543 main (void)
   10544 {
   10545 
   10546   ;
   10547   return 0;
   10548 }
   10549 _ACEOF
   10550 if ac_fn_c_try_link "$LINENO"
   10551 then :
   10552   eval $cacheid=yes
   10553 else case e in #(
   10554   e) eval $cacheid=no ;;
   10555 esac
   10556 fi
   10557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10558     conftest$ac_exeext conftest.$ac_ext ;;
   10559 esac
   10560 fi
   10561 
   10562 
   10563 		CFLAGS="$xorg_testset_save_CFLAGS"
   10564 
   10565 		eval supported=\$$cacheid
   10566 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10567 printf "%s\n" "$supported" >&6; }
   10568 		if test "$supported" = "yes" ; then
   10569 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10570 			found="yes"
   10571 		fi
   10572 	fi
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 xorg_testset_save_CFLAGS="$CFLAGS"
   10589 
   10590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10591 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10592 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10593 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10594 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10595 then :
   10596   printf %s "(cached) " >&6
   10597 else case e in #(
   10598   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10599 /* end confdefs.h.  */
   10600 int i;
   10601 _ACEOF
   10602 if ac_fn_c_try_compile "$LINENO"
   10603 then :
   10604   xorg_cv_cc_flag_unknown_warning_option=yes
   10605 else case e in #(
   10606   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10607 esac
   10608 fi
   10609 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10610 esac
   10611 fi
   10612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10613 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10614 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10615 	CFLAGS="$xorg_testset_save_CFLAGS"
   10616 fi
   10617 
   10618 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10619 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10620 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10621 	fi
   10622 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10624 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10625 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10626 then :
   10627   printf %s "(cached) " >&6
   10628 else case e in #(
   10629   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10630 /* end confdefs.h.  */
   10631 int i;
   10632 _ACEOF
   10633 if ac_fn_c_try_compile "$LINENO"
   10634 then :
   10635   xorg_cv_cc_flag_unused_command_line_argument=yes
   10636 else case e in #(
   10637   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10638 esac
   10639 fi
   10640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10641 esac
   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 -Waddress"
   10661 
   10662 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10663 printf %s "checking if $CC supports -Waddress... " >&6; }
   10664 		cacheid=xorg_cv_cc_flag__Waddress
   10665 		if eval test \${$cacheid+y}
   10666 then :
   10667   printf %s "(cached) " >&6
   10668 else case e in #(
   10669   e) 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 case e in #(
   10684   e) eval $cacheid=no ;;
   10685 esac
   10686 fi
   10687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10688     conftest$ac_exeext conftest.$ac_ext ;;
   10689 esac
   10690 fi
   10691 
   10692 
   10693 		CFLAGS="$xorg_testset_save_CFLAGS"
   10694 
   10695 		eval supported=\$$cacheid
   10696 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10697 printf "%s\n" "$supported" >&6; }
   10698 		if test "$supported" = "yes" ; then
   10699 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10700 			found="yes"
   10701 		fi
   10702 	fi
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 xorg_testset_save_CFLAGS="$CFLAGS"
   10719 
   10720 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10721 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10722 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10723 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10724 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10725 then :
   10726   printf %s "(cached) " >&6
   10727 else case e in #(
   10728   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10729 /* end confdefs.h.  */
   10730 int i;
   10731 _ACEOF
   10732 if ac_fn_c_try_compile "$LINENO"
   10733 then :
   10734   xorg_cv_cc_flag_unknown_warning_option=yes
   10735 else case e in #(
   10736   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10737 esac
   10738 fi
   10739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10740 esac
   10741 fi
   10742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10743 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10744 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10745 	CFLAGS="$xorg_testset_save_CFLAGS"
   10746 fi
   10747 
   10748 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10749 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10750 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10751 	fi
   10752 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10753 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10754 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10755 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10756 then :
   10757   printf %s "(cached) " >&6
   10758 else case e in #(
   10759   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10760 /* end confdefs.h.  */
   10761 int i;
   10762 _ACEOF
   10763 if ac_fn_c_try_compile "$LINENO"
   10764 then :
   10765   xorg_cv_cc_flag_unused_command_line_argument=yes
   10766 else case e in #(
   10767   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10768 esac
   10769 fi
   10770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10771 esac
   10772 fi
   10773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10774 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10775 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10776 	CFLAGS="$xorg_testset_save_CFLAGS"
   10777 fi
   10778 
   10779 found="no"
   10780 
   10781 	if test $found = "no" ; then
   10782 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10784 		fi
   10785 
   10786 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10788 		fi
   10789 
   10790 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10791 
   10792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10793 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10794 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10795 		if eval test \${$cacheid+y}
   10796 then :
   10797   printf %s "(cached) " >&6
   10798 else case e in #(
   10799   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10800 /* end confdefs.h.  */
   10801 int i;
   10802 int
   10803 main (void)
   10804 {
   10805 
   10806   ;
   10807   return 0;
   10808 }
   10809 _ACEOF
   10810 if ac_fn_c_try_link "$LINENO"
   10811 then :
   10812   eval $cacheid=yes
   10813 else case e in #(
   10814   e) eval $cacheid=no ;;
   10815 esac
   10816 fi
   10817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10818     conftest$ac_exeext conftest.$ac_ext ;;
   10819 esac
   10820 fi
   10821 
   10822 
   10823 		CFLAGS="$xorg_testset_save_CFLAGS"
   10824 
   10825 		eval supported=\$$cacheid
   10826 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10827 printf "%s\n" "$supported" >&6; }
   10828 		if test "$supported" = "yes" ; then
   10829 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10830 			found="yes"
   10831 		fi
   10832 	fi
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 xorg_testset_save_CFLAGS="$CFLAGS"
   10849 
   10850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10852 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10853 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10854 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10855 then :
   10856   printf %s "(cached) " >&6
   10857 else case e in #(
   10858   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10859 /* end confdefs.h.  */
   10860 int i;
   10861 _ACEOF
   10862 if ac_fn_c_try_compile "$LINENO"
   10863 then :
   10864   xorg_cv_cc_flag_unknown_warning_option=yes
   10865 else case e in #(
   10866   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10867 esac
   10868 fi
   10869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10870 esac
   10871 fi
   10872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10873 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10874 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10875 	CFLAGS="$xorg_testset_save_CFLAGS"
   10876 fi
   10877 
   10878 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10879 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10880 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10881 	fi
   10882 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10883 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10884 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10885 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10886 then :
   10887   printf %s "(cached) " >&6
   10888 else case e in #(
   10889   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10890 /* end confdefs.h.  */
   10891 int i;
   10892 _ACEOF
   10893 if ac_fn_c_try_compile "$LINENO"
   10894 then :
   10895   xorg_cv_cc_flag_unused_command_line_argument=yes
   10896 else case e in #(
   10897   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10898 esac
   10899 fi
   10900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10901 esac
   10902 fi
   10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10904 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10905 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10906 	CFLAGS="$xorg_testset_save_CFLAGS"
   10907 fi
   10908 
   10909 found="no"
   10910 
   10911 	if test $found = "no" ; then
   10912 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10913 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10914 		fi
   10915 
   10916 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10917 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10918 		fi
   10919 
   10920 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10921 
   10922 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10923 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10924 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10925 		if eval test \${$cacheid+y}
   10926 then :
   10927   printf %s "(cached) " >&6
   10928 else case e in #(
   10929   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10930 /* end confdefs.h.  */
   10931 int i;
   10932 int
   10933 main (void)
   10934 {
   10935 
   10936   ;
   10937   return 0;
   10938 }
   10939 _ACEOF
   10940 if ac_fn_c_try_link "$LINENO"
   10941 then :
   10942   eval $cacheid=yes
   10943 else case e in #(
   10944   e) eval $cacheid=no ;;
   10945 esac
   10946 fi
   10947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10948     conftest$ac_exeext conftest.$ac_ext ;;
   10949 esac
   10950 fi
   10951 
   10952 
   10953 		CFLAGS="$xorg_testset_save_CFLAGS"
   10954 
   10955 		eval supported=\$$cacheid
   10956 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10957 printf "%s\n" "$supported" >&6; }
   10958 		if test "$supported" = "yes" ; then
   10959 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10960 			found="yes"
   10961 		fi
   10962 	fi
   10963 
   10964 
   10965 fi
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 		CWARNFLAGS="$BASE_CFLAGS"
   10974 		if  test "x$GCC" = xyes ; then
   10975 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10976 		fi
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 # Check whether --enable-strict-compilation was given.
   10986 if test ${enable_strict_compilation+y}
   10987 then :
   10988   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10989 else case e in #(
   10990   e) STRICT_COMPILE=no ;;
   10991 esac
   10992 fi
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 STRICT_CFLAGS=""
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 xorg_testset_save_CFLAGS="$CFLAGS"
   11014 
   11015 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11016 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11018 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11019 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11020 then :
   11021   printf %s "(cached) " >&6
   11022 else case e in #(
   11023   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11024 /* end confdefs.h.  */
   11025 int i;
   11026 _ACEOF
   11027 if ac_fn_c_try_compile "$LINENO"
   11028 then :
   11029   xorg_cv_cc_flag_unknown_warning_option=yes
   11030 else case e in #(
   11031   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11032 esac
   11033 fi
   11034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11035 esac
   11036 fi
   11037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11038 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11039 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11040 	CFLAGS="$xorg_testset_save_CFLAGS"
   11041 fi
   11042 
   11043 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11044 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11045 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11046 	fi
   11047 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11049 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11050 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11051 then :
   11052   printf %s "(cached) " >&6
   11053 else case e in #(
   11054   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11055 /* end confdefs.h.  */
   11056 int i;
   11057 _ACEOF
   11058 if ac_fn_c_try_compile "$LINENO"
   11059 then :
   11060   xorg_cv_cc_flag_unused_command_line_argument=yes
   11061 else case e in #(
   11062   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11063 esac
   11064 fi
   11065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11066 esac
   11067 fi
   11068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11069 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11071 	CFLAGS="$xorg_testset_save_CFLAGS"
   11072 fi
   11073 
   11074 found="no"
   11075 
   11076 	if test $found = "no" ; then
   11077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11079 		fi
   11080 
   11081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11083 		fi
   11084 
   11085 		CFLAGS="$CFLAGS -pedantic"
   11086 
   11087 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11088 printf %s "checking if $CC supports -pedantic... " >&6; }
   11089 		cacheid=xorg_cv_cc_flag__pedantic
   11090 		if eval test \${$cacheid+y}
   11091 then :
   11092   printf %s "(cached) " >&6
   11093 else case e in #(
   11094   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11095 /* end confdefs.h.  */
   11096 int i;
   11097 int
   11098 main (void)
   11099 {
   11100 
   11101   ;
   11102   return 0;
   11103 }
   11104 _ACEOF
   11105 if ac_fn_c_try_link "$LINENO"
   11106 then :
   11107   eval $cacheid=yes
   11108 else case e in #(
   11109   e) eval $cacheid=no ;;
   11110 esac
   11111 fi
   11112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11113     conftest$ac_exeext conftest.$ac_ext ;;
   11114 esac
   11115 fi
   11116 
   11117 
   11118 		CFLAGS="$xorg_testset_save_CFLAGS"
   11119 
   11120 		eval supported=\$$cacheid
   11121 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11122 printf "%s\n" "$supported" >&6; }
   11123 		if test "$supported" = "yes" ; then
   11124 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11125 			found="yes"
   11126 		fi
   11127 	fi
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 xorg_testset_save_CFLAGS="$CFLAGS"
   11144 
   11145 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11146 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11147 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11148 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11149 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11150 then :
   11151   printf %s "(cached) " >&6
   11152 else case e in #(
   11153   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11154 /* end confdefs.h.  */
   11155 int i;
   11156 _ACEOF
   11157 if ac_fn_c_try_compile "$LINENO"
   11158 then :
   11159   xorg_cv_cc_flag_unknown_warning_option=yes
   11160 else case e in #(
   11161   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11162 esac
   11163 fi
   11164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11165 esac
   11166 fi
   11167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11168 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11170 	CFLAGS="$xorg_testset_save_CFLAGS"
   11171 fi
   11172 
   11173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11176 	fi
   11177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11179 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11180 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11181 then :
   11182   printf %s "(cached) " >&6
   11183 else case e in #(
   11184   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11185 /* end confdefs.h.  */
   11186 int i;
   11187 _ACEOF
   11188 if ac_fn_c_try_compile "$LINENO"
   11189 then :
   11190   xorg_cv_cc_flag_unused_command_line_argument=yes
   11191 else case e in #(
   11192   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11193 esac
   11194 fi
   11195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11196 esac
   11197 fi
   11198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11199 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11200 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11201 	CFLAGS="$xorg_testset_save_CFLAGS"
   11202 fi
   11203 
   11204 found="no"
   11205 
   11206 	if test $found = "no" ; then
   11207 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11208 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11209 		fi
   11210 
   11211 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11212 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11213 		fi
   11214 
   11215 		CFLAGS="$CFLAGS -Werror"
   11216 
   11217 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11218 printf %s "checking if $CC supports -Werror... " >&6; }
   11219 		cacheid=xorg_cv_cc_flag__Werror
   11220 		if eval test \${$cacheid+y}
   11221 then :
   11222   printf %s "(cached) " >&6
   11223 else case e in #(
   11224   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11225 /* end confdefs.h.  */
   11226 int i;
   11227 int
   11228 main (void)
   11229 {
   11230 
   11231   ;
   11232   return 0;
   11233 }
   11234 _ACEOF
   11235 if ac_fn_c_try_link "$LINENO"
   11236 then :
   11237   eval $cacheid=yes
   11238 else case e in #(
   11239   e) eval $cacheid=no ;;
   11240 esac
   11241 fi
   11242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11243     conftest$ac_exeext conftest.$ac_ext ;;
   11244 esac
   11245 fi
   11246 
   11247 
   11248 		CFLAGS="$xorg_testset_save_CFLAGS"
   11249 
   11250 		eval supported=\$$cacheid
   11251 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11252 printf "%s\n" "$supported" >&6; }
   11253 		if test "$supported" = "yes" ; then
   11254 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11255 			found="yes"
   11256 		fi
   11257 	fi
   11258 
   11259 	if test $found = "no" ; then
   11260 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11262 		fi
   11263 
   11264 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11266 		fi
   11267 
   11268 		CFLAGS="$CFLAGS -errwarn"
   11269 
   11270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11271 printf %s "checking if $CC supports -errwarn... " >&6; }
   11272 		cacheid=xorg_cv_cc_flag__errwarn
   11273 		if eval test \${$cacheid+y}
   11274 then :
   11275   printf %s "(cached) " >&6
   11276 else case e in #(
   11277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11278 /* end confdefs.h.  */
   11279 int i;
   11280 int
   11281 main (void)
   11282 {
   11283 
   11284   ;
   11285   return 0;
   11286 }
   11287 _ACEOF
   11288 if ac_fn_c_try_link "$LINENO"
   11289 then :
   11290   eval $cacheid=yes
   11291 else case e in #(
   11292   e) eval $cacheid=no ;;
   11293 esac
   11294 fi
   11295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11296     conftest$ac_exeext conftest.$ac_ext ;;
   11297 esac
   11298 fi
   11299 
   11300 
   11301 		CFLAGS="$xorg_testset_save_CFLAGS"
   11302 
   11303 		eval supported=\$$cacheid
   11304 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11305 printf "%s\n" "$supported" >&6; }
   11306 		if test "$supported" = "yes" ; then
   11307 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11308 			found="yes"
   11309 		fi
   11310 	fi
   11311 
   11312 
   11313 
   11314 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11315 # activate it with -Werror, so we add it here explicitly.
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 xorg_testset_save_CFLAGS="$CFLAGS"
   11330 
   11331 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11332 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11333 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11334 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11335 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11336 then :
   11337   printf %s "(cached) " >&6
   11338 else case e in #(
   11339   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11340 /* end confdefs.h.  */
   11341 int i;
   11342 _ACEOF
   11343 if ac_fn_c_try_compile "$LINENO"
   11344 then :
   11345   xorg_cv_cc_flag_unknown_warning_option=yes
   11346 else case e in #(
   11347   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11348 esac
   11349 fi
   11350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11351 esac
   11352 fi
   11353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11354 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11355 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11356 	CFLAGS="$xorg_testset_save_CFLAGS"
   11357 fi
   11358 
   11359 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11360 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11361 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11362 	fi
   11363 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11364 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11365 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11366 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11367 then :
   11368   printf %s "(cached) " >&6
   11369 else case e in #(
   11370   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11371 /* end confdefs.h.  */
   11372 int i;
   11373 _ACEOF
   11374 if ac_fn_c_try_compile "$LINENO"
   11375 then :
   11376   xorg_cv_cc_flag_unused_command_line_argument=yes
   11377 else case e in #(
   11378   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11379 esac
   11380 fi
   11381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11382 esac
   11383 fi
   11384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11385 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11386 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11387 	CFLAGS="$xorg_testset_save_CFLAGS"
   11388 fi
   11389 
   11390 found="no"
   11391 
   11392 	if test $found = "no" ; then
   11393 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11394 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11395 		fi
   11396 
   11397 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11398 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11399 		fi
   11400 
   11401 		CFLAGS="$CFLAGS -Werror=attributes"
   11402 
   11403 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11404 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11405 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11406 		if eval test \${$cacheid+y}
   11407 then :
   11408   printf %s "(cached) " >&6
   11409 else case e in #(
   11410   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11411 /* end confdefs.h.  */
   11412 int i;
   11413 int
   11414 main (void)
   11415 {
   11416 
   11417   ;
   11418   return 0;
   11419 }
   11420 _ACEOF
   11421 if ac_fn_c_try_link "$LINENO"
   11422 then :
   11423   eval $cacheid=yes
   11424 else case e in #(
   11425   e) eval $cacheid=no ;;
   11426 esac
   11427 fi
   11428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11429     conftest$ac_exeext conftest.$ac_ext ;;
   11430 esac
   11431 fi
   11432 
   11433 
   11434 		CFLAGS="$xorg_testset_save_CFLAGS"
   11435 
   11436 		eval supported=\$$cacheid
   11437 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11438 printf "%s\n" "$supported" >&6; }
   11439 		if test "$supported" = "yes" ; then
   11440 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11441 			found="yes"
   11442 		fi
   11443 	fi
   11444 
   11445 
   11446 
   11447 if test "x$STRICT_COMPILE" = "xyes"; then
   11448     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11449     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11450 fi
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 cat >>confdefs.h <<_ACEOF
   11460 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11461 _ACEOF
   11462 
   11463 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11464 	if test "x$PVM" = "x"; then
   11465 		PVM="0"
   11466 	fi
   11467 
   11468 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11469 
   11470 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11471 	if test "x$PVP" = "x"; then
   11472 		PVP="0"
   11473 	fi
   11474 
   11475 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11476 
   11477 
   11478 
   11479 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11480 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11481 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11482 touch \$(top_srcdir)/ChangeLog; \
   11483 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11484 
   11485 
   11486 
   11487 
   11488 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11489 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11490 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11491 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11492 touch \$(top_srcdir)/INSTALL; \
   11493 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11494 
   11495 
   11496 
   11497 
   11498 
   11499 
   11500 case $host_os in
   11501     solaris*)
   11502         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11503         # check for a man page file found in later versions that use
   11504         # traditional section numbers instead
   11505         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11506 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11507 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11508 then :
   11509   printf %s "(cached) " >&6
   11510 else case e in #(
   11511   e) test "$cross_compiling" = yes &&
   11512   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11513 if test -r "/usr/share/man/man7/attributes.7"; then
   11514   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11515 else
   11516   ac_cv_file__usr_share_man_man7_attributes_7=no
   11517 fi ;;
   11518 esac
   11519 fi
   11520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11521 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11522 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11523 then :
   11524   SYSV_MAN_SECTIONS=false
   11525 else case e in #(
   11526   e) SYSV_MAN_SECTIONS=true ;;
   11527 esac
   11528 fi
   11529 
   11530         ;;
   11531     *) SYSV_MAN_SECTIONS=false ;;
   11532 esac
   11533 
   11534 if test x$APP_MAN_SUFFIX = x    ; then
   11535     APP_MAN_SUFFIX=1
   11536 fi
   11537 if test x$APP_MAN_DIR = x    ; then
   11538     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11539 fi
   11540 
   11541 if test x$LIB_MAN_SUFFIX = x    ; then
   11542     LIB_MAN_SUFFIX=3
   11543 fi
   11544 if test x$LIB_MAN_DIR = x    ; then
   11545     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11546 fi
   11547 
   11548 if test x$FILE_MAN_SUFFIX = x    ; then
   11549     case $SYSV_MAN_SECTIONS in
   11550 	true)				FILE_MAN_SUFFIX=4  ;;
   11551 	*)				FILE_MAN_SUFFIX=5  ;;
   11552     esac
   11553 fi
   11554 if test x$FILE_MAN_DIR = x    ; then
   11555     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11556 fi
   11557 
   11558 if test x$MISC_MAN_SUFFIX = x    ; then
   11559     case $SYSV_MAN_SECTIONS in
   11560 	true)				MISC_MAN_SUFFIX=5  ;;
   11561 	*)				MISC_MAN_SUFFIX=7  ;;
   11562     esac
   11563 fi
   11564 if test x$MISC_MAN_DIR = x    ; then
   11565     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11566 fi
   11567 
   11568 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11569     case $SYSV_MAN_SECTIONS in
   11570 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11571 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11572     esac
   11573 fi
   11574 if test x$DRIVER_MAN_DIR = x    ; then
   11575     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11576 fi
   11577 
   11578 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11579     case $SYSV_MAN_SECTIONS in
   11580 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11581 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11582     esac
   11583 fi
   11584 if test x$ADMIN_MAN_DIR = x    ; then
   11585     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11586 fi
   11587 
   11588 
   11589 
   11590 
   11591 
   11592 
   11593 
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 XORG_MAN_PAGE="X Version 11"
   11603 
   11604 MAN_SUBSTS="\
   11605 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11606 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11607 	-e 's|__xservername__|Xorg|g' \
   11608 	-e 's|__xconfigfile__|xorg.conf|g' \
   11609 	-e 's|__projectroot__|\$(prefix)|g' \
   11610 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11611 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11612 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11613 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11614 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11615 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11616 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11617 
   11618 
   11619 
   11620 
   11621 AM_DEFAULT_VERBOSITY=0
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
   11628 if test "x$ac_cv_func_setenv" = xyes
   11629 then :
   11630   have_setenv=yes
   11631 else case e in #(
   11632   e) have_setenv=no ;;
   11633 esac
   11634 fi
   11635 
   11636 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
   11637 if test "x$ac_cv_func_vasprintf" = xyes
   11638 then :
   11639   printf "%s\n" "#define HAVE_VASPRINTF 1" >>confdefs.h
   11640 
   11641 fi
   11642 
   11643 ac_fn_check_decl "$LINENO" "va_copy" "ac_cv_have_decl_va_copy" "
   11644 	$ac_includes_default
   11645 	#include <stdarg.h>
   11646 
   11647 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   11648 if test "x$ac_cv_have_decl_va_copy" = xyes
   11649 then :
   11650   ac_have_decl=1
   11651 else case e in #(
   11652   e) ac_have_decl=0 ;;
   11653 esac
   11654 fi
   11655 printf "%s\n" "#define HAVE_DECL_VA_COPY $ac_have_decl" >>confdefs.h
   11656 
   11657 
   11658  if test x$have_setenv = xno; then
   11659   NEED_SETENV_TRUE=
   11660   NEED_SETENV_FALSE='#'
   11661 else
   11662   NEED_SETENV_TRUE='#'
   11663   NEED_SETENV_FALSE=
   11664 fi
   11665 
   11666 
   11667 # Checks for pkg-config packages
   11668 
   11669 pkg_failed=no
   11670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FONTTOSFNT" >&5
   11671 printf %s "checking for FONTTOSFNT... " >&6; }
   11672 
   11673 if test -n "$FONTTOSFNT_CFLAGS"; then
   11674     pkg_cv_FONTTOSFNT_CFLAGS="$FONTTOSFNT_CFLAGS"
   11675  elif test -n "$PKG_CONFIG"; then
   11676     if test -n "$PKG_CONFIG" && \
   11677     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.33 freetype2 fontenc\""; } >&5
   11678   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.33 freetype2 fontenc") 2>&5
   11679   ac_status=$?
   11680   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11681   test $ac_status = 0; }; then
   11682   pkg_cv_FONTTOSFNT_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.33 freetype2 fontenc" 2>/dev/null`
   11683 		      test "x$?" != "x0" && pkg_failed=yes
   11684 else
   11685   pkg_failed=yes
   11686 fi
   11687  else
   11688     pkg_failed=untried
   11689 fi
   11690 if test -n "$FONTTOSFNT_LIBS"; then
   11691     pkg_cv_FONTTOSFNT_LIBS="$FONTTOSFNT_LIBS"
   11692  elif test -n "$PKG_CONFIG"; then
   11693     if test -n "$PKG_CONFIG" && \
   11694     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.33 freetype2 fontenc\""; } >&5
   11695   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.33 freetype2 fontenc") 2>&5
   11696   ac_status=$?
   11697   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11698   test $ac_status = 0; }; then
   11699   pkg_cv_FONTTOSFNT_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.33 freetype2 fontenc" 2>/dev/null`
   11700 		      test "x$?" != "x0" && pkg_failed=yes
   11701 else
   11702   pkg_failed=yes
   11703 fi
   11704  else
   11705     pkg_failed=untried
   11706 fi
   11707 
   11708 
   11709 
   11710 if test $pkg_failed = yes; then
   11711    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11712 printf "%s\n" "no" >&6; }
   11713 
   11714 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11715         _pkg_short_errors_supported=yes
   11716 else
   11717         _pkg_short_errors_supported=no
   11718 fi
   11719         if test $_pkg_short_errors_supported = yes; then
   11720 	        FONTTOSFNT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.33 freetype2 fontenc" 2>&1`
   11721         else
   11722 	        FONTTOSFNT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.33 freetype2 fontenc" 2>&1`
   11723         fi
   11724 	# Put the nasty error message in config.log where it belongs
   11725 	echo "$FONTTOSFNT_PKG_ERRORS" >&5
   11726 
   11727 	as_fn_error $? "Package requirements (xproto >= 7.0.33 freetype2 fontenc) were not met:
   11728 
   11729 $FONTTOSFNT_PKG_ERRORS
   11730 
   11731 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11732 installed software in a non-standard prefix.
   11733 
   11734 Alternatively, you may set the environment variables FONTTOSFNT_CFLAGS
   11735 and FONTTOSFNT_LIBS to avoid the need to call pkg-config.
   11736 See the pkg-config man page for more details." "$LINENO" 5
   11737 elif test $pkg_failed = untried; then
   11738      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11739 printf "%s\n" "no" >&6; }
   11740 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11741 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11742 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11743 is in your PATH or set the PKG_CONFIG environment variable to the full
   11744 path to pkg-config.
   11745 
   11746 Alternatively, you may set the environment variables FONTTOSFNT_CFLAGS
   11747 and FONTTOSFNT_LIBS to avoid the need to call pkg-config.
   11748 See the pkg-config man page for more details.
   11749 
   11750 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11751 See 'config.log' for more details" "$LINENO" 5; }
   11752 else
   11753 	FONTTOSFNT_CFLAGS=$pkg_cv_FONTTOSFNT_CFLAGS
   11754 	FONTTOSFNT_LIBS=$pkg_cv_FONTTOSFNT_LIBS
   11755         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11756 printf "%s\n" "yes" >&6; }
   11757 
   11758 fi
   11759 
   11760 
   11761 ac_config_files="$ac_config_files Makefile man/Makefile"
   11762 
   11763 cat >confcache <<\_ACEOF
   11764 # This file is a shell script that caches the results of configure
   11765 # tests run on this system so they can be shared between configure
   11766 # scripts and configure runs, see configure's option --config-cache.
   11767 # It is not useful on other systems.  If it contains results you don't
   11768 # want to keep, you may remove or edit it.
   11769 #
   11770 # config.status only pays attention to the cache file if you give it
   11771 # the --recheck option to rerun configure.
   11772 #
   11773 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11774 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11775 # following values.
   11776 
   11777 _ACEOF
   11778 
   11779 # The following way of writing the cache mishandles newlines in values,
   11780 # but we know of no workaround that is simple, portable, and efficient.
   11781 # So, we kill variables containing newlines.
   11782 # Ultrix sh set writes to stderr and can't be redirected directly,
   11783 # and sets the high bit in the cache file unless we assign to the vars.
   11784 (
   11785   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11786     eval ac_val=\$$ac_var
   11787     case $ac_val in #(
   11788     *${as_nl}*)
   11789       case $ac_var in #(
   11790       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11791 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11792       esac
   11793       case $ac_var in #(
   11794       _ | IFS | as_nl) ;; #(
   11795       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11796       *) { eval $ac_var=; unset $ac_var;} ;;
   11797       esac ;;
   11798     esac
   11799   done
   11800 
   11801   (set) 2>&1 |
   11802     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11803     *${as_nl}ac_space=\ *)
   11804       # 'set' does not quote correctly, so add quotes: double-quote
   11805       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11806       sed -n \
   11807 	"s/'/'\\\\''/g;
   11808 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11809       ;; #(
   11810     *)
   11811       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   11812       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11813       ;;
   11814     esac |
   11815     sort
   11816 ) |
   11817   sed '
   11818      /^ac_cv_env_/b end
   11819      t clear
   11820      :clear
   11821      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11822      t end
   11823      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11824      :end' >>confcache
   11825 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11826   if test -w "$cache_file"; then
   11827     if test "x$cache_file" != "x/dev/null"; then
   11828       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11829 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11830       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11831 	cat confcache >"$cache_file"
   11832       else
   11833         case $cache_file in #(
   11834         */* | ?:*)
   11835 	  mv -f confcache "$cache_file"$$ &&
   11836 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11837         *)
   11838 	  mv -f confcache "$cache_file" ;;
   11839 	esac
   11840       fi
   11841     fi
   11842   else
   11843     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11844 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11845   fi
   11846 fi
   11847 rm -f confcache
   11848 
   11849 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11850 # Let make expand exec_prefix.
   11851 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11852 
   11853 DEFS=-DHAVE_CONFIG_H
   11854 
   11855 ac_libobjs=
   11856 ac_ltlibobjs=
   11857 U=
   11858 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11859   # 1. Remove the extension, and $U if already installed.
   11860   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11861   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11862   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11863   #    will be set to the directory where LIBOBJS objects are built.
   11864   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11865   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11866 done
   11867 LIBOBJS=$ac_libobjs
   11868 
   11869 LTLIBOBJS=$ac_ltlibobjs
   11870 
   11871 
   11872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11873 printf %s "checking that generated files are newer than configure... " >&6; }
   11874    if test -n "$am_sleep_pid"; then
   11875      # Hide warnings about reused PIDs.
   11876      wait $am_sleep_pid 2>/dev/null
   11877    fi
   11878    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11879 printf "%s\n" "done" >&6; }
   11880 case $enable_silent_rules in # (((
   11881   yes) AM_DEFAULT_VERBOSITY=0;;
   11882    no) AM_DEFAULT_VERBOSITY=1;;
   11883 esac
   11884 if test $am_cv_make_support_nested_variables = yes; then
   11885     AM_V='$(V)'
   11886   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11887 else
   11888   AM_V=$AM_DEFAULT_VERBOSITY
   11889   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11890 fi
   11891 
   11892  if test -n "$EXEEXT"; then
   11893   am__EXEEXT_TRUE=
   11894   am__EXEEXT_FALSE='#'
   11895 else
   11896   am__EXEEXT_TRUE='#'
   11897   am__EXEEXT_FALSE=
   11898 fi
   11899 
   11900 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11901   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11903 fi
   11904 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11905   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11907 fi
   11908 if test -z "${NEED_SETENV_TRUE}" && test -z "${NEED_SETENV_FALSE}"; then
   11909   as_fn_error $? "conditional \"NEED_SETENV\" was never defined.
   11910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11911 fi
   11912 
   11913 : "${CONFIG_STATUS=./config.status}"
   11914 ac_write_fail=0
   11915 ac_clean_files_save=$ac_clean_files
   11916 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11918 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11919 as_write_fail=0
   11920 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11921 #! $SHELL
   11922 # Generated by $as_me.
   11923 # Run this file to recreate the current configuration.
   11924 # Compiler output produced by configure, useful for debugging
   11925 # configure, is in config.log if it exists.
   11926 
   11927 debug=false
   11928 ac_cs_recheck=false
   11929 ac_cs_silent=false
   11930 
   11931 SHELL=\${CONFIG_SHELL-$SHELL}
   11932 export SHELL
   11933 _ASEOF
   11934 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11935 ## -------------------- ##
   11936 ## M4sh Initialization. ##
   11937 ## -------------------- ##
   11938 
   11939 # Be more Bourne compatible
   11940 DUALCASE=1; export DUALCASE # for MKS sh
   11941 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11942 then :
   11943   emulate sh
   11944   NULLCMD=:
   11945   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11946   # is contrary to our usage.  Disable this feature.
   11947   alias -g '${1+"$@"}'='"$@"'
   11948   setopt NO_GLOB_SUBST
   11949 else case e in #(
   11950   e) case `(set -o) 2>/dev/null` in #(
   11951   *posix*) :
   11952     set -o posix ;; #(
   11953   *) :
   11954      ;;
   11955 esac ;;
   11956 esac
   11957 fi
   11958 
   11959 
   11960 
   11961 # Reset variables that may have inherited troublesome values from
   11962 # the environment.
   11963 
   11964 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11965 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11966 # side effect of setting IFS to empty, thus disabling word splitting.)
   11967 # Quoting is to prevent editors from complaining about space-tab.
   11968 as_nl='
   11969 '
   11970 export as_nl
   11971 IFS=" ""	$as_nl"
   11972 
   11973 PS1='$ '
   11974 PS2='> '
   11975 PS4='+ '
   11976 
   11977 # Ensure predictable behavior from utilities with locale-dependent output.
   11978 LC_ALL=C
   11979 export LC_ALL
   11980 LANGUAGE=C
   11981 export LANGUAGE
   11982 
   11983 # We cannot yet rely on "unset" to work, but we need these variables
   11984 # to be unset--not just set to an empty or harmless value--now, to
   11985 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11986 # also avoids known problems related to "unset" and subshell syntax
   11987 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11988 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11989 do eval test \${$as_var+y} \
   11990   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11991 done
   11992 
   11993 # Ensure that fds 0, 1, and 2 are open.
   11994 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11995 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11996 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11997 
   11998 # The user is always right.
   11999 if ${PATH_SEPARATOR+false} :; then
   12000   PATH_SEPARATOR=:
   12001   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12002     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12003       PATH_SEPARATOR=';'
   12004   }
   12005 fi
   12006 
   12007 
   12008 # Find who we are.  Look in the path if we contain no directory separator.
   12009 as_myself=
   12010 case $0 in #((
   12011   *[\\/]* ) as_myself=$0 ;;
   12012   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12013 for as_dir in $PATH
   12014 do
   12015   IFS=$as_save_IFS
   12016   case $as_dir in #(((
   12017     '') as_dir=./ ;;
   12018     */) ;;
   12019     *) as_dir=$as_dir/ ;;
   12020   esac
   12021     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12022   done
   12023 IFS=$as_save_IFS
   12024 
   12025      ;;
   12026 esac
   12027 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12028 # in which case we are not to be found in the path.
   12029 if test "x$as_myself" = x; then
   12030   as_myself=$0
   12031 fi
   12032 if test ! -f "$as_myself"; then
   12033   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12034   exit 1
   12035 fi
   12036 
   12037 
   12038 
   12039 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12040 # ----------------------------------------
   12041 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12042 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12043 # script with STATUS, using 1 if that was 0.
   12044 as_fn_error ()
   12045 {
   12046   as_status=$1; test $as_status -eq 0 && as_status=1
   12047   if test "$4"; then
   12048     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12049     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12050   fi
   12051   printf "%s\n" "$as_me: error: $2" >&2
   12052   as_fn_exit $as_status
   12053 } # as_fn_error
   12054 
   12055 
   12056 # as_fn_set_status STATUS
   12057 # -----------------------
   12058 # Set $? to STATUS, without forking.
   12059 as_fn_set_status ()
   12060 {
   12061   return $1
   12062 } # as_fn_set_status
   12063 
   12064 # as_fn_exit STATUS
   12065 # -----------------
   12066 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12067 as_fn_exit ()
   12068 {
   12069   set +e
   12070   as_fn_set_status $1
   12071   exit $1
   12072 } # as_fn_exit
   12073 
   12074 # as_fn_unset VAR
   12075 # ---------------
   12076 # Portably unset VAR.
   12077 as_fn_unset ()
   12078 {
   12079   { eval $1=; unset $1;}
   12080 }
   12081 as_unset=as_fn_unset
   12082 
   12083 # as_fn_append VAR VALUE
   12084 # ----------------------
   12085 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12086 # advantage of any shell optimizations that allow amortized linear growth over
   12087 # repeated appends, instead of the typical quadratic growth present in naive
   12088 # implementations.
   12089 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12090 then :
   12091   eval 'as_fn_append ()
   12092   {
   12093     eval $1+=\$2
   12094   }'
   12095 else case e in #(
   12096   e) as_fn_append ()
   12097   {
   12098     eval $1=\$$1\$2
   12099   } ;;
   12100 esac
   12101 fi # as_fn_append
   12102 
   12103 # as_fn_arith ARG...
   12104 # ------------------
   12105 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12106 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12107 # must be portable across $(()) and expr.
   12108 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12109 then :
   12110   eval 'as_fn_arith ()
   12111   {
   12112     as_val=$(( $* ))
   12113   }'
   12114 else case e in #(
   12115   e) as_fn_arith ()
   12116   {
   12117     as_val=`expr "$@" || test $? -eq 1`
   12118   } ;;
   12119 esac
   12120 fi # as_fn_arith
   12121 
   12122 
   12123 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12124    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12125   as_expr=expr
   12126 else
   12127   as_expr=false
   12128 fi
   12129 
   12130 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12131   as_basename=basename
   12132 else
   12133   as_basename=false
   12134 fi
   12135 
   12136 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12137   as_dirname=dirname
   12138 else
   12139   as_dirname=false
   12140 fi
   12141 
   12142 as_me=`$as_basename -- "$0" ||
   12143 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12144 	 X"$0" : 'X\(//\)$' \| \
   12145 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12146 printf "%s\n" X/"$0" |
   12147     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12148 	    s//\1/
   12149 	    q
   12150 	  }
   12151 	  /^X\/\(\/\/\)$/{
   12152 	    s//\1/
   12153 	    q
   12154 	  }
   12155 	  /^X\/\(\/\).*/{
   12156 	    s//\1/
   12157 	    q
   12158 	  }
   12159 	  s/.*/./; q'`
   12160 
   12161 # Avoid depending upon Character Ranges.
   12162 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12163 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12164 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12165 as_cr_digits='0123456789'
   12166 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12167 
   12168 
   12169 # Determine whether it's possible to make 'echo' print without a newline.
   12170 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12171 # for compatibility with existing Makefiles.
   12172 ECHO_C= ECHO_N= ECHO_T=
   12173 case `echo -n x` in #(((((
   12174 -n*)
   12175   case `echo 'xy\c'` in
   12176   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12177   xy)  ECHO_C='\c';;
   12178   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12179        ECHO_T='	';;
   12180   esac;;
   12181 *)
   12182   ECHO_N='-n';;
   12183 esac
   12184 
   12185 # For backward compatibility with old third-party macros, we provide
   12186 # the shell variables $as_echo and $as_echo_n.  New code should use
   12187 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12188 as_echo='printf %s\n'
   12189 as_echo_n='printf %s'
   12190 
   12191 rm -f conf$$ conf$$.exe conf$$.file
   12192 if test -d conf$$.dir; then
   12193   rm -f conf$$.dir/conf$$.file
   12194 else
   12195   rm -f conf$$.dir
   12196   mkdir conf$$.dir 2>/dev/null
   12197 fi
   12198 if (echo >conf$$.file) 2>/dev/null; then
   12199   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12200     as_ln_s='ln -s'
   12201     # ... but there are two gotchas:
   12202     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12203     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12204     # In both cases, we have to default to 'cp -pR'.
   12205     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12206       as_ln_s='cp -pR'
   12207   elif ln conf$$.file conf$$ 2>/dev/null; then
   12208     as_ln_s=ln
   12209   else
   12210     as_ln_s='cp -pR'
   12211   fi
   12212 else
   12213   as_ln_s='cp -pR'
   12214 fi
   12215 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12216 rmdir conf$$.dir 2>/dev/null
   12217 
   12218 
   12219 # as_fn_mkdir_p
   12220 # -------------
   12221 # Create "$as_dir" as a directory, including parents if necessary.
   12222 as_fn_mkdir_p ()
   12223 {
   12224 
   12225   case $as_dir in #(
   12226   -*) as_dir=./$as_dir;;
   12227   esac
   12228   test -d "$as_dir" || eval $as_mkdir_p || {
   12229     as_dirs=
   12230     while :; do
   12231       case $as_dir in #(
   12232       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12233       *) as_qdir=$as_dir;;
   12234       esac
   12235       as_dirs="'$as_qdir' $as_dirs"
   12236       as_dir=`$as_dirname -- "$as_dir" ||
   12237 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12238 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12239 	 X"$as_dir" : 'X\(//\)$' \| \
   12240 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12241 printf "%s\n" X"$as_dir" |
   12242     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12243 	    s//\1/
   12244 	    q
   12245 	  }
   12246 	  /^X\(\/\/\)[^/].*/{
   12247 	    s//\1/
   12248 	    q
   12249 	  }
   12250 	  /^X\(\/\/\)$/{
   12251 	    s//\1/
   12252 	    q
   12253 	  }
   12254 	  /^X\(\/\).*/{
   12255 	    s//\1/
   12256 	    q
   12257 	  }
   12258 	  s/.*/./; q'`
   12259       test -d "$as_dir" && break
   12260     done
   12261     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12262   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12263 
   12264 
   12265 } # as_fn_mkdir_p
   12266 if mkdir -p . 2>/dev/null; then
   12267   as_mkdir_p='mkdir -p "$as_dir"'
   12268 else
   12269   test -d ./-p && rmdir ./-p
   12270   as_mkdir_p=false
   12271 fi
   12272 
   12273 
   12274 # as_fn_executable_p FILE
   12275 # -----------------------
   12276 # Test if FILE is an executable regular file.
   12277 as_fn_executable_p ()
   12278 {
   12279   test -f "$1" && test -x "$1"
   12280 } # as_fn_executable_p
   12281 as_test_x='test -x'
   12282 as_executable_p=as_fn_executable_p
   12283 
   12284 # Sed expression to map a string onto a valid CPP name.
   12285 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12286 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12287 
   12288 # Sed expression to map a string onto a valid variable name.
   12289 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12290 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12291 
   12292 
   12293 exec 6>&1
   12294 ## ----------------------------------- ##
   12295 ## Main body of $CONFIG_STATUS script. ##
   12296 ## ----------------------------------- ##
   12297 _ASEOF
   12298 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12299 
   12300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12301 # Save the log message, to keep $0 and so on meaningful, and to
   12302 # report actual input values of CONFIG_FILES etc. instead of their
   12303 # values after options handling.
   12304 ac_log="
   12305 This file was extended by fonttosfnt $as_me 1.2.5, which was
   12306 generated by GNU Autoconf 2.72.  Invocation command line was
   12307 
   12308   CONFIG_FILES    = $CONFIG_FILES
   12309   CONFIG_HEADERS  = $CONFIG_HEADERS
   12310   CONFIG_LINKS    = $CONFIG_LINKS
   12311   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12312   $ $0 $@
   12313 
   12314 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12315 "
   12316 
   12317 _ACEOF
   12318 
   12319 case $ac_config_files in *"
   12320 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12321 esac
   12322 
   12323 case $ac_config_headers in *"
   12324 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12325 esac
   12326 
   12327 
   12328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12329 # Files that config.status was made for.
   12330 config_files="$ac_config_files"
   12331 config_headers="$ac_config_headers"
   12332 config_commands="$ac_config_commands"
   12333 
   12334 _ACEOF
   12335 
   12336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12337 ac_cs_usage="\
   12338 '$as_me' instantiates files and other configuration actions
   12339 from templates according to the current configuration.  Unless the files
   12340 and actions are specified as TAGs, all are instantiated by default.
   12341 
   12342 Usage: $0 [OPTION]... [TAG]...
   12343 
   12344   -h, --help       print this help, then exit
   12345   -V, --version    print version number and configuration settings, then exit
   12346       --config     print configuration, then exit
   12347   -q, --quiet, --silent
   12348                    do not print progress messages
   12349   -d, --debug      don't remove temporary files
   12350       --recheck    update $as_me by reconfiguring in the same conditions
   12351       --file=FILE[:TEMPLATE]
   12352                    instantiate the configuration file FILE
   12353       --header=FILE[:TEMPLATE]
   12354                    instantiate the configuration header FILE
   12355 
   12356 Configuration files:
   12357 $config_files
   12358 
   12359 Configuration headers:
   12360 $config_headers
   12361 
   12362 Configuration commands:
   12363 $config_commands
   12364 
   12365 Report bugs to <https://gitlab.freedesktop.org/xorg/app/fonttosfnt/-/issues>."
   12366 
   12367 _ACEOF
   12368 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12369 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12371 ac_cs_config='$ac_cs_config_escaped'
   12372 ac_cs_version="\\
   12373 fonttosfnt config.status 1.2.5
   12374 configured by $0, generated by GNU Autoconf 2.72,
   12375   with options \\"\$ac_cs_config\\"
   12376 
   12377 Copyright (C) 2023 Free Software Foundation, Inc.
   12378 This config.status script is free software; the Free Software Foundation
   12379 gives unlimited permission to copy, distribute and modify it."
   12380 
   12381 ac_pwd='$ac_pwd'
   12382 srcdir='$srcdir'
   12383 INSTALL='$INSTALL'
   12384 MKDIR_P='$MKDIR_P'
   12385 AWK='$AWK'
   12386 test -n "\$AWK" || AWK=awk
   12387 _ACEOF
   12388 
   12389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12390 # The default lists apply if the user does not specify any file.
   12391 ac_need_defaults=:
   12392 while test $# != 0
   12393 do
   12394   case $1 in
   12395   --*=?*)
   12396     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12397     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12398     ac_shift=:
   12399     ;;
   12400   --*=)
   12401     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12402     ac_optarg=
   12403     ac_shift=:
   12404     ;;
   12405   *)
   12406     ac_option=$1
   12407     ac_optarg=$2
   12408     ac_shift=shift
   12409     ;;
   12410   esac
   12411 
   12412   case $ac_option in
   12413   # Handling of the options.
   12414   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12415     ac_cs_recheck=: ;;
   12416   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12417     printf "%s\n" "$ac_cs_version"; exit ;;
   12418   --config | --confi | --conf | --con | --co | --c )
   12419     printf "%s\n" "$ac_cs_config"; exit ;;
   12420   --debug | --debu | --deb | --de | --d | -d )
   12421     debug=: ;;
   12422   --file | --fil | --fi | --f )
   12423     $ac_shift
   12424     case $ac_optarg in
   12425     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12426     '') as_fn_error $? "missing file argument" ;;
   12427     esac
   12428     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12429     ac_need_defaults=false;;
   12430   --header | --heade | --head | --hea )
   12431     $ac_shift
   12432     case $ac_optarg in
   12433     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12434     esac
   12435     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12436     ac_need_defaults=false;;
   12437   --he | --h)
   12438     # Conflict between --help and --header
   12439     as_fn_error $? "ambiguous option: '$1'
   12440 Try '$0 --help' for more information.";;
   12441   --help | --hel | -h )
   12442     printf "%s\n" "$ac_cs_usage"; exit ;;
   12443   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12444   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12445     ac_cs_silent=: ;;
   12446 
   12447   # This is an error.
   12448   -*) as_fn_error $? "unrecognized option: '$1'
   12449 Try '$0 --help' for more information." ;;
   12450 
   12451   *) as_fn_append ac_config_targets " $1"
   12452      ac_need_defaults=false ;;
   12453 
   12454   esac
   12455   shift
   12456 done
   12457 
   12458 ac_configure_extra_args=
   12459 
   12460 if $ac_cs_silent; then
   12461   exec 6>/dev/null
   12462   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12463 fi
   12464 
   12465 _ACEOF
   12466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12467 if \$ac_cs_recheck; then
   12468   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12469   shift
   12470   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12471   CONFIG_SHELL='$SHELL'
   12472   export CONFIG_SHELL
   12473   exec "\$@"
   12474 fi
   12475 
   12476 _ACEOF
   12477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12478 exec 5>>config.log
   12479 {
   12480   echo
   12481   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12482 ## Running $as_me. ##
   12483 _ASBOX
   12484   printf "%s\n" "$ac_log"
   12485 } >&5
   12486 
   12487 _ACEOF
   12488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12489 #
   12490 # INIT-COMMANDS
   12491 #
   12492 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12493 
   12494 _ACEOF
   12495 
   12496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12497 
   12498 # Handling of arguments.
   12499 for ac_config_target in $ac_config_targets
   12500 do
   12501   case $ac_config_target in
   12502     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12503     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12504     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12505     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12506 
   12507   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12508   esac
   12509 done
   12510 
   12511 
   12512 # If the user did not use the arguments to specify the items to instantiate,
   12513 # then the envvar interface is used.  Set only those that are not.
   12514 # We use the long form for the default assignment because of an extremely
   12515 # bizarre bug on SunOS 4.1.3.
   12516 if $ac_need_defaults; then
   12517   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12518   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12519   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12520 fi
   12521 
   12522 # Have a temporary directory for convenience.  Make it in the build tree
   12523 # simply because there is no reason against having it here, and in addition,
   12524 # creating and moving files from /tmp can sometimes cause problems.
   12525 # Hook for its removal unless debugging.
   12526 # Note that there is a small window in which the directory will not be cleaned:
   12527 # after its creation but before its name has been assigned to '$tmp'.
   12528 $debug ||
   12529 {
   12530   tmp= ac_tmp=
   12531   trap 'exit_status=$?
   12532   : "${ac_tmp:=$tmp}"
   12533   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12534 ' 0
   12535   trap 'as_fn_exit 1' 1 2 13 15
   12536 }
   12537 # Create a (secure) tmp directory for tmp files.
   12538 
   12539 {
   12540   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12541   test -d "$tmp"
   12542 }  ||
   12543 {
   12544   tmp=./conf$$-$RANDOM
   12545   (umask 077 && mkdir "$tmp")
   12546 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12547 ac_tmp=$tmp
   12548 
   12549 # Set up the scripts for CONFIG_FILES section.
   12550 # No need to generate them if there are no CONFIG_FILES.
   12551 # This happens for instance with './config.status config.h'.
   12552 if test -n "$CONFIG_FILES"; then
   12553 
   12554 
   12555 ac_cr=`echo X | tr X '\015'`
   12556 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12557 # But we know of no other shell where ac_cr would be empty at this
   12558 # point, so we can use a bashism as a fallback.
   12559 if test "x$ac_cr" = x; then
   12560   eval ac_cr=\$\'\\r\'
   12561 fi
   12562 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12563 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12564   ac_cs_awk_cr='\\r'
   12565 else
   12566   ac_cs_awk_cr=$ac_cr
   12567 fi
   12568 
   12569 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12570 _ACEOF
   12571 
   12572 
   12573 {
   12574   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12575   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12576   echo "_ACEOF"
   12577 } >conf$$subs.sh ||
   12578   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12579 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12580 ac_delim='%!_!# '
   12581 for ac_last_try in false false false false false :; do
   12582   . ./conf$$subs.sh ||
   12583     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12584 
   12585   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12586   if test $ac_delim_n = $ac_delim_num; then
   12587     break
   12588   elif $ac_last_try; then
   12589     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12590   else
   12591     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12592   fi
   12593 done
   12594 rm -f conf$$subs.sh
   12595 
   12596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12597 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12598 _ACEOF
   12599 sed -n '
   12600 h
   12601 s/^/S["/; s/!.*/"]=/
   12602 p
   12603 g
   12604 s/^[^!]*!//
   12605 :repl
   12606 t repl
   12607 s/'"$ac_delim"'$//
   12608 t delim
   12609 :nl
   12610 h
   12611 s/\(.\{148\}\)..*/\1/
   12612 t more1
   12613 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12614 p
   12615 n
   12616 b repl
   12617 :more1
   12618 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12619 p
   12620 g
   12621 s/.\{148\}//
   12622 t nl
   12623 :delim
   12624 h
   12625 s/\(.\{148\}\)..*/\1/
   12626 t more2
   12627 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12628 p
   12629 b
   12630 :more2
   12631 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12632 p
   12633 g
   12634 s/.\{148\}//
   12635 t delim
   12636 ' <conf$$subs.awk | sed '
   12637 /^[^""]/{
   12638   N
   12639   s/\n//
   12640 }
   12641 ' >>$CONFIG_STATUS || ac_write_fail=1
   12642 rm -f conf$$subs.awk
   12643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12644 _ACAWK
   12645 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12646   for (key in S) S_is_set[key] = 1
   12647   FS = ""
   12648 
   12649 }
   12650 {
   12651   line = $ 0
   12652   nfields = split(line, field, "@")
   12653   substed = 0
   12654   len = length(field[1])
   12655   for (i = 2; i < nfields; i++) {
   12656     key = field[i]
   12657     keylen = length(key)
   12658     if (S_is_set[key]) {
   12659       value = S[key]
   12660       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12661       len += length(value) + length(field[++i])
   12662       substed = 1
   12663     } else
   12664       len += 1 + keylen
   12665   }
   12666 
   12667   print line
   12668 }
   12669 
   12670 _ACAWK
   12671 _ACEOF
   12672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12673 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12674   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12675 else
   12676   cat
   12677 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12678   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12679 _ACEOF
   12680 
   12681 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12682 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12683 # trailing colons and then remove the whole line if VPATH becomes empty
   12684 # (actually we leave an empty line to preserve line numbers).
   12685 if test "x$srcdir" = x.; then
   12686   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12687 h
   12688 s///
   12689 s/^/:/
   12690 s/[	 ]*$/:/
   12691 s/:\$(srcdir):/:/g
   12692 s/:\${srcdir}:/:/g
   12693 s/:@srcdir@:/:/g
   12694 s/^:*//
   12695 s/:*$//
   12696 x
   12697 s/\(=[	 ]*\).*/\1/
   12698 G
   12699 s/\n//
   12700 s/^[^=]*=[	 ]*$//
   12701 }'
   12702 fi
   12703 
   12704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12705 fi # test -n "$CONFIG_FILES"
   12706 
   12707 # Set up the scripts for CONFIG_HEADERS section.
   12708 # No need to generate them if there are no CONFIG_HEADERS.
   12709 # This happens for instance with './config.status Makefile'.
   12710 if test -n "$CONFIG_HEADERS"; then
   12711 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12712 BEGIN {
   12713 _ACEOF
   12714 
   12715 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12716 # here-document in config.status, that substitutes the proper values into
   12717 # config.h.in to produce config.h.
   12718 
   12719 # Create a delimiter string that does not exist in confdefs.h, to ease
   12720 # handling of long lines.
   12721 ac_delim='%!_!# '
   12722 for ac_last_try in false false :; do
   12723   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12724   if test -z "$ac_tt"; then
   12725     break
   12726   elif $ac_last_try; then
   12727     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12728   else
   12729     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12730   fi
   12731 done
   12732 
   12733 # For the awk script, D is an array of macro values keyed by name,
   12734 # likewise P contains macro parameters if any.  Preserve backslash
   12735 # newline sequences.
   12736 
   12737 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12738 sed -n '
   12739 s/.\{148\}/&'"$ac_delim"'/g
   12740 t rset
   12741 :rset
   12742 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12743 t def
   12744 d
   12745 :def
   12746 s/\\$//
   12747 t bsnl
   12748 s/["\\]/\\&/g
   12749 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12750 D["\1"]=" \3"/p
   12751 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12752 d
   12753 :bsnl
   12754 s/["\\]/\\&/g
   12755 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12756 D["\1"]=" \3\\\\\\n"\\/p
   12757 t cont
   12758 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12759 t cont
   12760 d
   12761 :cont
   12762 n
   12763 s/.\{148\}/&'"$ac_delim"'/g
   12764 t clear
   12765 :clear
   12766 s/\\$//
   12767 t bsnlc
   12768 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12769 d
   12770 :bsnlc
   12771 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12772 b cont
   12773 ' <confdefs.h | sed '
   12774 s/'"$ac_delim"'/"\\\
   12775 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12776 
   12777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12778   for (key in D) D_is_set[key] = 1
   12779   FS = ""
   12780 }
   12781 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12782   line = \$ 0
   12783   split(line, arg, " ")
   12784   if (arg[1] == "#") {
   12785     defundef = arg[2]
   12786     mac1 = arg[3]
   12787   } else {
   12788     defundef = substr(arg[1], 2)
   12789     mac1 = arg[2]
   12790   }
   12791   split(mac1, mac2, "(") #)
   12792   macro = mac2[1]
   12793   prefix = substr(line, 1, index(line, defundef) - 1)
   12794   if (D_is_set[macro]) {
   12795     # Preserve the white space surrounding the "#".
   12796     print prefix "define", macro P[macro] D[macro]
   12797     next
   12798   } else {
   12799     # Replace #undef with comments.  This is necessary, for example,
   12800     # in the case of _POSIX_SOURCE, which is predefined and required
   12801     # on some systems where configure will not decide to define it.
   12802     if (defundef == "undef") {
   12803       print "/*", prefix defundef, macro, "*/"
   12804       next
   12805     }
   12806   }
   12807 }
   12808 { print }
   12809 _ACAWK
   12810 _ACEOF
   12811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12812   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12813 fi # test -n "$CONFIG_HEADERS"
   12814 
   12815 
   12816 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12817 shift
   12818 for ac_tag
   12819 do
   12820   case $ac_tag in
   12821   :[FHLC]) ac_mode=$ac_tag; continue;;
   12822   esac
   12823   case $ac_mode$ac_tag in
   12824   :[FHL]*:*);;
   12825   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12826   :[FH]-) ac_tag=-:-;;
   12827   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12828   esac
   12829   ac_save_IFS=$IFS
   12830   IFS=:
   12831   set x $ac_tag
   12832   IFS=$ac_save_IFS
   12833   shift
   12834   ac_file=$1
   12835   shift
   12836 
   12837   case $ac_mode in
   12838   :L) ac_source=$1;;
   12839   :[FH])
   12840     ac_file_inputs=
   12841     for ac_f
   12842     do
   12843       case $ac_f in
   12844       -) ac_f="$ac_tmp/stdin";;
   12845       *) # Look for the file first in the build tree, then in the source tree
   12846 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12847 	 # because $ac_f cannot contain ':'.
   12848 	 test -f "$ac_f" ||
   12849 	   case $ac_f in
   12850 	   [\\/$]*) false;;
   12851 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12852 	   esac ||
   12853 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   12854       esac
   12855       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12856       as_fn_append ac_file_inputs " '$ac_f'"
   12857     done
   12858 
   12859     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   12860     # use $as_me), people would be surprised to read:
   12861     #    /* config.h.  Generated by config.status.  */
   12862     configure_input='Generated from '`
   12863 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12864 	`' by configure.'
   12865     if test x"$ac_file" != x-; then
   12866       configure_input="$ac_file.  $configure_input"
   12867       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12868 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12869     fi
   12870     # Neutralize special characters interpreted by sed in replacement strings.
   12871     case $configure_input in #(
   12872     *\&* | *\|* | *\\* )
   12873        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12874        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12875     *) ac_sed_conf_input=$configure_input;;
   12876     esac
   12877 
   12878     case $ac_tag in
   12879     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12880       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12881     esac
   12882     ;;
   12883   esac
   12884 
   12885   ac_dir=`$as_dirname -- "$ac_file" ||
   12886 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12887 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12888 	 X"$ac_file" : 'X\(//\)$' \| \
   12889 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12890 printf "%s\n" X"$ac_file" |
   12891     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12892 	    s//\1/
   12893 	    q
   12894 	  }
   12895 	  /^X\(\/\/\)[^/].*/{
   12896 	    s//\1/
   12897 	    q
   12898 	  }
   12899 	  /^X\(\/\/\)$/{
   12900 	    s//\1/
   12901 	    q
   12902 	  }
   12903 	  /^X\(\/\).*/{
   12904 	    s//\1/
   12905 	    q
   12906 	  }
   12907 	  s/.*/./; q'`
   12908   as_dir="$ac_dir"; as_fn_mkdir_p
   12909   ac_builddir=.
   12910 
   12911 case "$ac_dir" in
   12912 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12913 *)
   12914   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12915   # A ".." for each directory in $ac_dir_suffix.
   12916   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12917   case $ac_top_builddir_sub in
   12918   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12919   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12920   esac ;;
   12921 esac
   12922 ac_abs_top_builddir=$ac_pwd
   12923 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12924 # for backward compatibility:
   12925 ac_top_builddir=$ac_top_build_prefix
   12926 
   12927 case $srcdir in
   12928   .)  # We are building in place.
   12929     ac_srcdir=.
   12930     ac_top_srcdir=$ac_top_builddir_sub
   12931     ac_abs_top_srcdir=$ac_pwd ;;
   12932   [\\/]* | ?:[\\/]* )  # Absolute name.
   12933     ac_srcdir=$srcdir$ac_dir_suffix;
   12934     ac_top_srcdir=$srcdir
   12935     ac_abs_top_srcdir=$srcdir ;;
   12936   *) # Relative name.
   12937     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12938     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12939     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12940 esac
   12941 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12942 
   12943 
   12944   case $ac_mode in
   12945   :F)
   12946   #
   12947   # CONFIG_FILE
   12948   #
   12949 
   12950   case $INSTALL in
   12951   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12952   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12953   esac
   12954   ac_MKDIR_P=$MKDIR_P
   12955   case $MKDIR_P in
   12956   [\\/$]* | ?:[\\/]* ) ;;
   12957   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12958   esac
   12959 _ACEOF
   12960 
   12961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12962 # If the template does not know about datarootdir, expand it.
   12963 # FIXME: This hack should be removed a few years after 2.60.
   12964 ac_datarootdir_hack=; ac_datarootdir_seen=
   12965 ac_sed_dataroot='
   12966 /datarootdir/ {
   12967   p
   12968   q
   12969 }
   12970 /@datadir@/p
   12971 /@docdir@/p
   12972 /@infodir@/p
   12973 /@localedir@/p
   12974 /@mandir@/p'
   12975 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12976 *datarootdir*) ac_datarootdir_seen=yes;;
   12977 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12978   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12979 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12980 _ACEOF
   12981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12982   ac_datarootdir_hack='
   12983   s&@datadir@&$datadir&g
   12984   s&@docdir@&$docdir&g
   12985   s&@infodir@&$infodir&g
   12986   s&@localedir@&$localedir&g
   12987   s&@mandir@&$mandir&g
   12988   s&\\\${datarootdir}&$datarootdir&g' ;;
   12989 esac
   12990 _ACEOF
   12991 
   12992 # Neutralize VPATH when '$srcdir' = '.'.
   12993 # Shell code in configure.ac might set extrasub.
   12994 # FIXME: do we really want to maintain this feature?
   12995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12996 ac_sed_extra="$ac_vpsub
   12997 $extrasub
   12998 _ACEOF
   12999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13000 :t
   13001 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13002 s|@configure_input@|$ac_sed_conf_input|;t t
   13003 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13004 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13005 s&@srcdir@&$ac_srcdir&;t t
   13006 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13007 s&@top_srcdir@&$ac_top_srcdir&;t t
   13008 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13009 s&@builddir@&$ac_builddir&;t t
   13010 s&@abs_builddir@&$ac_abs_builddir&;t t
   13011 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13012 s&@INSTALL@&$ac_INSTALL&;t t
   13013 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13014 $ac_datarootdir_hack
   13015 "
   13016 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13017   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13018 
   13019 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13020   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13021   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13022       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13023   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13024 which seems to be undefined.  Please make sure it is defined" >&5
   13025 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13026 which seems to be undefined.  Please make sure it is defined" >&2;}
   13027 
   13028   rm -f "$ac_tmp/stdin"
   13029   case $ac_file in
   13030   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13031   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13032   esac \
   13033   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13034  ;;
   13035   :H)
   13036   #
   13037   # CONFIG_HEADER
   13038   #
   13039   if test x"$ac_file" != x-; then
   13040     {
   13041       printf "%s\n" "/* $configure_input  */" >&1 \
   13042       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13043     } >"$ac_tmp/config.h" \
   13044       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13045     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13046       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13047 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13048     else
   13049       rm -f "$ac_file"
   13050       mv "$ac_tmp/config.h" "$ac_file" \
   13051 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13052     fi
   13053   else
   13054     printf "%s\n" "/* $configure_input  */" >&1 \
   13055       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13056       || as_fn_error $? "could not create -" "$LINENO" 5
   13057   fi
   13058 # Compute "$ac_file"'s index in $config_headers.
   13059 _am_arg="$ac_file"
   13060 _am_stamp_count=1
   13061 for _am_header in $config_headers :; do
   13062   case $_am_header in
   13063     $_am_arg | $_am_arg:* )
   13064       break ;;
   13065     * )
   13066       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13067   esac
   13068 done
   13069 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13070 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13071 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13072 	 X"$_am_arg" : 'X\(//\)$' \| \
   13073 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13074 printf "%s\n" X"$_am_arg" |
   13075     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13076 	    s//\1/
   13077 	    q
   13078 	  }
   13079 	  /^X\(\/\/\)[^/].*/{
   13080 	    s//\1/
   13081 	    q
   13082 	  }
   13083 	  /^X\(\/\/\)$/{
   13084 	    s//\1/
   13085 	    q
   13086 	  }
   13087 	  /^X\(\/\).*/{
   13088 	    s//\1/
   13089 	    q
   13090 	  }
   13091 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13092  ;;
   13093 
   13094   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13095 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13096  ;;
   13097   esac
   13098 
   13099 
   13100   case $ac_file$ac_mode in
   13101     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13102   # Older Autoconf quotes --file arguments for eval, but not when files
   13103   # are listed without --file.  Let's play safe and only enable the eval
   13104   # if we detect the quoting.
   13105   # TODO: see whether this extra hack can be removed once we start
   13106   # requiring Autoconf 2.70 or later.
   13107   case $CONFIG_FILES in #(
   13108   *\'*) :
   13109     eval set x "$CONFIG_FILES" ;; #(
   13110   *) :
   13111     set x $CONFIG_FILES ;; #(
   13112   *) :
   13113      ;;
   13114 esac
   13115   shift
   13116   # Used to flag and report bootstrapping failures.
   13117   am_rc=0
   13118   for am_mf
   13119   do
   13120     # Strip MF so we end up with the name of the file.
   13121     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13122     # Check whether this is an Automake generated Makefile which includes
   13123     # dependency-tracking related rules and includes.
   13124     # Grep'ing the whole file directly is not great: AIX grep has a line
   13125     # limit of 2048, but all sed's we know have understand at least 4000.
   13126     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13127       || continue
   13128     am_dirpart=`$as_dirname -- "$am_mf" ||
   13129 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13130 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13131 	 X"$am_mf" : 'X\(//\)$' \| \
   13132 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13133 printf "%s\n" X"$am_mf" |
   13134     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13135 	    s//\1/
   13136 	    q
   13137 	  }
   13138 	  /^X\(\/\/\)[^/].*/{
   13139 	    s//\1/
   13140 	    q
   13141 	  }
   13142 	  /^X\(\/\/\)$/{
   13143 	    s//\1/
   13144 	    q
   13145 	  }
   13146 	  /^X\(\/\).*/{
   13147 	    s//\1/
   13148 	    q
   13149 	  }
   13150 	  s/.*/./; q'`
   13151     am_filepart=`$as_basename -- "$am_mf" ||
   13152 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13153 	 X"$am_mf" : 'X\(//\)$' \| \
   13154 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13155 printf "%s\n" X/"$am_mf" |
   13156     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13157 	    s//\1/
   13158 	    q
   13159 	  }
   13160 	  /^X\/\(\/\/\)$/{
   13161 	    s//\1/
   13162 	    q
   13163 	  }
   13164 	  /^X\/\(\/\).*/{
   13165 	    s//\1/
   13166 	    q
   13167 	  }
   13168 	  s/.*/./; q'`
   13169     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13170       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13171         | $MAKE -f - am--depfiles" >&5
   13172    (cd "$am_dirpart" \
   13173       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13174         | $MAKE -f - am--depfiles) >&5 2>&5
   13175    ac_status=$?
   13176    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13177    (exit $ac_status); } || am_rc=$?
   13178   done
   13179   if test $am_rc -ne 0; then
   13180     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13181 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13182 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13183     for automatic dependency tracking.  If GNU make was not used, consider
   13184     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13185     necessary).  You can also try re-running configure with the
   13186     '--disable-dependency-tracking' option to at least be able to build
   13187     the package (albeit without support for automatic dependency tracking).
   13188 See 'config.log' for more details" "$LINENO" 5; }
   13189   fi
   13190   { am_dirpart=; unset am_dirpart;}
   13191   { am_filepart=; unset am_filepart;}
   13192   { am_mf=; unset am_mf;}
   13193   { am_rc=; unset am_rc;}
   13194   rm -f conftest-deps.mk
   13195 }
   13196  ;;
   13197 
   13198   esac
   13199 done # for ac_tag
   13200 
   13201 
   13202 as_fn_exit 0
   13203 _ACEOF
   13204 ac_clean_files=$ac_clean_files_save
   13205 
   13206 test $ac_write_fail = 0 ||
   13207   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13208 
   13209 
   13210 # configure is writing to config.log, and then calls config.status.
   13211 # config.status does its own redirection, appending to config.log.
   13212 # Unfortunately, on DOS this fails, as config.log is still kept open
   13213 # by configure, so config.status won't be able to write to it; its
   13214 # output is simply discarded.  So we exec the FD to /dev/null,
   13215 # effectively closing config.log, so it can be properly (re)opened and
   13216 # appended to by config.status.  When coming back to configure, we
   13217 # need to make the FD available again.
   13218 if test "$no_create" != yes; then
   13219   ac_cs_success=:
   13220   ac_config_status_args=
   13221   test "$silent" = yes &&
   13222     ac_config_status_args="$ac_config_status_args --quiet"
   13223   exec 5>/dev/null
   13224   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13225   exec 5>>config.log
   13226   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13227   # would make configure fail if this is the last instruction.
   13228   $ac_cs_success || as_fn_exit 1
   13229 fi
   13230 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13232 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13233 fi
   13234 
   13235 
   13236