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 xtrans 1.6.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/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/lib/libxtrans/-/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 as_awk_strverscmp='
    585   # Use only awk features that work with 7th edition Unix awk (1978).
    586   # My, what an old awk you have, Mr. Solaris!
    587   END {
    588     while (length(v1) && length(v2)) {
    589       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    590       # Normally this is a single character, but if v1 and v2 contain digits,
    591       # compare them as integers and fractions as strverscmp does.
    592       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    593 	# Split v1 and v2 into their leading digit string components d1 and d2,
    594 	# and advance v1 and v2 past the leading digit strings.
    595 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    596 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    597 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    598 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    599 	if (d1 ~ /^0/) {
    600 	  if (d2 ~ /^0/) {
    601 	    # Compare two fractions.
    602 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    603 	      d1 = substr(d1, 2); len1--
    604 	      d2 = substr(d2, 2); len2--
    605 	    }
    606 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    607 	      # The two components differ in length, and the common prefix
    608 	      # contains only leading zeros.  Consider the longer to be less.
    609 	      d1 = -len1
    610 	      d2 = -len2
    611 	    } else {
    612 	      # Otherwise, compare as strings.
    613 	      d1 = "x" d1
    614 	      d2 = "x" d2
    615 	    }
    616 	  } else {
    617 	    # A fraction is less than an integer.
    618 	    exit 1
    619 	  }
    620 	} else {
    621 	  if (d2 ~ /^0/) {
    622 	    # An integer is greater than a fraction.
    623 	    exit 2
    624 	  } else {
    625 	    # Compare two integers.
    626 	    d1 += 0
    627 	    d2 += 0
    628 	  }
    629 	}
    630       } else {
    631 	# The normal case, without worrying about digits.
    632 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    633 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    634       }
    635       if (d1 < d2) exit 1
    636       if (d1 > d2) exit 2
    637     }
    638     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    639     # which mishandles some comparisons of empty strings to integers.
    640     if (length(v2)) exit 1
    641     if (length(v1)) exit 2
    642   }
    643 '
    644 
    645 test -n "$DJDIR" || exec 7<&0 </dev/null
    646 exec 6>&1
    647 
    648 # Name of the host.
    649 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    650 # so uname gets run too.
    651 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    652 
    653 #
    654 # Initializations.
    655 #
    656 ac_default_prefix=/usr/local
    657 ac_clean_files=
    658 ac_config_libobj_dir=.
    659 LIBOBJS=
    660 cross_compiling=no
    661 subdirs=
    662 MFLAGS=
    663 MAKEFLAGS=
    664 
    665 # Identity of this package.
    666 PACKAGE_NAME='xtrans'
    667 PACKAGE_TARNAME='xtrans'
    668 PACKAGE_VERSION='1.6.0'
    669 PACKAGE_STRING='xtrans 1.6.0'
    670 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/issues'
    671 PACKAGE_URL=''
    672 
    673 ac_unique_file="Makefile.am"
    674 # Factoring default headers for most tests.
    675 ac_includes_default="\
    676 #include <stddef.h>
    677 #ifdef HAVE_STDIO_H
    678 # include <stdio.h>
    679 #endif
    680 #ifdef HAVE_STDLIB_H
    681 # include <stdlib.h>
    682 #endif
    683 #ifdef HAVE_STRING_H
    684 # include <string.h>
    685 #endif
    686 #ifdef HAVE_INTTYPES_H
    687 # include <inttypes.h>
    688 #endif
    689 #ifdef HAVE_STDINT_H
    690 # include <stdint.h>
    691 #endif
    692 #ifdef HAVE_STRINGS_H
    693 # include <strings.h>
    694 #endif
    695 #ifdef HAVE_SYS_TYPES_H
    696 # include <sys/types.h>
    697 #endif
    698 #ifdef HAVE_SYS_STAT_H
    699 # include <sys/stat.h>
    700 #endif
    701 #ifdef HAVE_UNISTD_H
    702 # include <unistd.h>
    703 #endif"
    704 
    705 ac_header_c_list=
    706 ac_subst_vars='am__EXEEXT_FALSE
    707 am__EXEEXT_TRUE
    708 LTLIBOBJS
    709 LIBOBJS
    710 sticky_bit_define
    711 fchown_define
    712 HAVE_STYLESHEETS_FALSE
    713 HAVE_STYLESHEETS_TRUE
    714 XSL_STYLESHEET
    715 STYLESHEET_SRCDIR
    716 XORG_SGML_PATH
    717 HAVE_XSLTPROC_FALSE
    718 HAVE_XSLTPROC_TRUE
    719 XSLTPROC
    720 HAVE_FOP_FALSE
    721 HAVE_FOP_TRUE
    722 FOP
    723 HAVE_XMLTO_FALSE
    724 HAVE_XMLTO_TRUE
    725 HAVE_XMLTO_TEXT_FALSE
    726 HAVE_XMLTO_TEXT_TRUE
    727 XMLTO
    728 ENABLE_DOCS_FALSE
    729 ENABLE_DOCS_TRUE
    730 MAN_SUBSTS
    731 XORG_MAN_PAGE
    732 ADMIN_MAN_DIR
    733 DRIVER_MAN_DIR
    734 MISC_MAN_DIR
    735 FILE_MAN_DIR
    736 LIB_MAN_DIR
    737 APP_MAN_DIR
    738 ADMIN_MAN_SUFFIX
    739 DRIVER_MAN_SUFFIX
    740 MISC_MAN_SUFFIX
    741 FILE_MAN_SUFFIX
    742 LIB_MAN_SUFFIX
    743 APP_MAN_SUFFIX
    744 SED
    745 host_os
    746 host_vendor
    747 host_cpu
    748 host
    749 build_os
    750 build_vendor
    751 build_cpu
    752 build
    753 INSTALL_CMD
    754 PKG_CONFIG_LIBDIR
    755 PKG_CONFIG_PATH
    756 PKG_CONFIG
    757 CHANGELOG_CMD
    758 STRICT_CFLAGS
    759 CWARNFLAGS
    760 BASE_CFLAGS
    761 am__fastdepCC_FALSE
    762 am__fastdepCC_TRUE
    763 CCDEPMODE
    764 am__nodep
    765 AMDEPBACKSLASH
    766 AMDEP_FALSE
    767 AMDEP_TRUE
    768 am__include
    769 DEPDIR
    770 OBJEXT
    771 EXEEXT
    772 ac_ct_CC
    773 CPPFLAGS
    774 LDFLAGS
    775 CFLAGS
    776 CC
    777 am__xargs_n
    778 am__rm_f_notfound
    779 AM_BACKSLASH
    780 AM_DEFAULT_VERBOSITY
    781 AM_DEFAULT_V
    782 AM_V
    783 CSCOPE
    784 ETAGS
    785 CTAGS
    786 am__untar
    787 am__tar
    788 AMTAR
    789 am__leading_dot
    790 SET_MAKE
    791 AWK
    792 mkdir_p
    793 MKDIR_P
    794 INSTALL_STRIP_PROGRAM
    795 STRIP
    796 install_sh
    797 MAKEINFO
    798 AUTOHEADER
    799 AUTOMAKE
    800 AUTOCONF
    801 ACLOCAL
    802 VERSION
    803 PACKAGE
    804 CYGPATH_W
    805 am__isrc
    806 INSTALL_DATA
    807 INSTALL_SCRIPT
    808 INSTALL_PROGRAM
    809 target_alias
    810 host_alias
    811 build_alias
    812 LIBS
    813 ECHO_T
    814 ECHO_N
    815 ECHO_C
    816 DEFS
    817 mandir
    818 localedir
    819 libdir
    820 psdir
    821 pdfdir
    822 dvidir
    823 htmldir
    824 infodir
    825 docdir
    826 oldincludedir
    827 includedir
    828 runstatedir
    829 localstatedir
    830 sharedstatedir
    831 sysconfdir
    832 datadir
    833 datarootdir
    834 libexecdir
    835 sbindir
    836 bindir
    837 program_transform_name
    838 prefix
    839 exec_prefix
    840 PACKAGE_URL
    841 PACKAGE_BUGREPORT
    842 PACKAGE_STRING
    843 PACKAGE_VERSION
    844 PACKAGE_TARNAME
    845 PACKAGE_NAME
    846 PATH_SEPARATOR
    847 SHELL
    848 am__quote'
    849 ac_subst_files=''
    850 ac_user_opts='
    851 enable_option_checking
    852 enable_silent_rules
    853 enable_dependency_tracking
    854 enable_selective_werror
    855 enable_strict_compilation
    856 enable_docs
    857 with_xmlto
    858 with_fop
    859 with_xsltproc
    860 '
    861       ac_precious_vars='build_alias
    862 host_alias
    863 target_alias
    864 CC
    865 CFLAGS
    866 LDFLAGS
    867 LIBS
    868 CPPFLAGS
    869 PKG_CONFIG
    870 PKG_CONFIG_PATH
    871 PKG_CONFIG_LIBDIR
    872 XMLTO
    873 FOP
    874 XSLTPROC'
    875 
    876 
    877 # Initialize some variables set by options.
    878 ac_init_help=
    879 ac_init_version=false
    880 ac_unrecognized_opts=
    881 ac_unrecognized_sep=
    882 # The variables have the same names as the options, with
    883 # dashes changed to underlines.
    884 cache_file=/dev/null
    885 exec_prefix=NONE
    886 no_create=
    887 no_recursion=
    888 prefix=NONE
    889 program_prefix=NONE
    890 program_suffix=NONE
    891 program_transform_name=s,x,x,
    892 silent=
    893 site=
    894 srcdir=
    895 verbose=
    896 x_includes=NONE
    897 x_libraries=NONE
    898 
    899 # Installation directory options.
    900 # These are left unexpanded so users can "make install exec_prefix=/foo"
    901 # and all the variables that are supposed to be based on exec_prefix
    902 # by default will actually change.
    903 # Use braces instead of parens because sh, perl, etc. also accept them.
    904 # (The list follows the same order as the GNU Coding Standards.)
    905 bindir='${exec_prefix}/bin'
    906 sbindir='${exec_prefix}/sbin'
    907 libexecdir='${exec_prefix}/libexec'
    908 datarootdir='${prefix}/share'
    909 datadir='${datarootdir}'
    910 sysconfdir='${prefix}/etc'
    911 sharedstatedir='${prefix}/com'
    912 localstatedir='${prefix}/var'
    913 runstatedir='${localstatedir}/run'
    914 includedir='${prefix}/include'
    915 oldincludedir='/usr/include'
    916 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    917 infodir='${datarootdir}/info'
    918 htmldir='${docdir}'
    919 dvidir='${docdir}'
    920 pdfdir='${docdir}'
    921 psdir='${docdir}'
    922 libdir='${exec_prefix}/lib'
    923 localedir='${datarootdir}/locale'
    924 mandir='${datarootdir}/man'
    925 
    926 ac_prev=
    927 ac_dashdash=
    928 for ac_option
    929 do
    930   # If the previous option needs an argument, assign it.
    931   if test -n "$ac_prev"; then
    932     eval $ac_prev=\$ac_option
    933     ac_prev=
    934     continue
    935   fi
    936 
    937   case $ac_option in
    938   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    939   *=)   ac_optarg= ;;
    940   *)    ac_optarg=yes ;;
    941   esac
    942 
    943   case $ac_dashdash$ac_option in
    944   --)
    945     ac_dashdash=yes ;;
    946 
    947   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    948     ac_prev=bindir ;;
    949   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    950     bindir=$ac_optarg ;;
    951 
    952   -build | --build | --buil | --bui | --bu)
    953     ac_prev=build_alias ;;
    954   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    955     build_alias=$ac_optarg ;;
    956 
    957   -cache-file | --cache-file | --cache-fil | --cache-fi \
    958   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    959     ac_prev=cache_file ;;
    960   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    961   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    962     cache_file=$ac_optarg ;;
    963 
    964   --config-cache | -C)
    965     cache_file=config.cache ;;
    966 
    967   -datadir | --datadir | --datadi | --datad)
    968     ac_prev=datadir ;;
    969   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    970     datadir=$ac_optarg ;;
    971 
    972   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    973   | --dataroo | --dataro | --datar)
    974     ac_prev=datarootdir ;;
    975   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    976   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    977     datarootdir=$ac_optarg ;;
    978 
    979   -disable-* | --disable-*)
    980     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    981     # Reject names that are not valid shell variable names.
    982     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    983       as_fn_error $? "invalid feature name: '$ac_useropt'"
    984     ac_useropt_orig=$ac_useropt
    985     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    986     case $ac_user_opts in
    987       *"
    988 "enable_$ac_useropt"
    989 "*) ;;
    990       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    991 	 ac_unrecognized_sep=', ';;
    992     esac
    993     eval enable_$ac_useropt=no ;;
    994 
    995   -docdir | --docdir | --docdi | --doc | --do)
    996     ac_prev=docdir ;;
    997   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    998     docdir=$ac_optarg ;;
    999 
   1000   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1001     ac_prev=dvidir ;;
   1002   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1003     dvidir=$ac_optarg ;;
   1004 
   1005   -enable-* | --enable-*)
   1006     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1007     # Reject names that are not valid shell variable names.
   1008     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1009       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1010     ac_useropt_orig=$ac_useropt
   1011     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1012     case $ac_user_opts in
   1013       *"
   1014 "enable_$ac_useropt"
   1015 "*) ;;
   1016       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1017 	 ac_unrecognized_sep=', ';;
   1018     esac
   1019     eval enable_$ac_useropt=\$ac_optarg ;;
   1020 
   1021   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1022   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1023   | --exec | --exe | --ex)
   1024     ac_prev=exec_prefix ;;
   1025   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1026   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1027   | --exec=* | --exe=* | --ex=*)
   1028     exec_prefix=$ac_optarg ;;
   1029 
   1030   -gas | --gas | --ga | --g)
   1031     # Obsolete; use --with-gas.
   1032     with_gas=yes ;;
   1033 
   1034   -help | --help | --hel | --he | -h)
   1035     ac_init_help=long ;;
   1036   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1037     ac_init_help=recursive ;;
   1038   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1039     ac_init_help=short ;;
   1040 
   1041   -host | --host | --hos | --ho)
   1042     ac_prev=host_alias ;;
   1043   -host=* | --host=* | --hos=* | --ho=*)
   1044     host_alias=$ac_optarg ;;
   1045 
   1046   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1047     ac_prev=htmldir ;;
   1048   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1049   | --ht=*)
   1050     htmldir=$ac_optarg ;;
   1051 
   1052   -includedir | --includedir | --includedi | --included | --include \
   1053   | --includ | --inclu | --incl | --inc)
   1054     ac_prev=includedir ;;
   1055   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1056   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1057     includedir=$ac_optarg ;;
   1058 
   1059   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1060     ac_prev=infodir ;;
   1061   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1062     infodir=$ac_optarg ;;
   1063 
   1064   -libdir | --libdir | --libdi | --libd)
   1065     ac_prev=libdir ;;
   1066   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1067     libdir=$ac_optarg ;;
   1068 
   1069   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1070   | --libexe | --libex | --libe)
   1071     ac_prev=libexecdir ;;
   1072   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1073   | --libexe=* | --libex=* | --libe=*)
   1074     libexecdir=$ac_optarg ;;
   1075 
   1076   -localedir | --localedir | --localedi | --localed | --locale)
   1077     ac_prev=localedir ;;
   1078   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1079     localedir=$ac_optarg ;;
   1080 
   1081   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1082   | --localstate | --localstat | --localsta | --localst | --locals)
   1083     ac_prev=localstatedir ;;
   1084   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1085   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1086     localstatedir=$ac_optarg ;;
   1087 
   1088   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1089     ac_prev=mandir ;;
   1090   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1091     mandir=$ac_optarg ;;
   1092 
   1093   -nfp | --nfp | --nf)
   1094     # Obsolete; use --without-fp.
   1095     with_fp=no ;;
   1096 
   1097   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1098   | --no-cr | --no-c | -n)
   1099     no_create=yes ;;
   1100 
   1101   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1102   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1103     no_recursion=yes ;;
   1104 
   1105   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1106   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1107   | --oldin | --oldi | --old | --ol | --o)
   1108     ac_prev=oldincludedir ;;
   1109   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1110   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1111   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1112     oldincludedir=$ac_optarg ;;
   1113 
   1114   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1115     ac_prev=prefix ;;
   1116   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1117     prefix=$ac_optarg ;;
   1118 
   1119   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1120   | --program-pre | --program-pr | --program-p)
   1121     ac_prev=program_prefix ;;
   1122   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1123   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1124     program_prefix=$ac_optarg ;;
   1125 
   1126   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1127   | --program-suf | --program-su | --program-s)
   1128     ac_prev=program_suffix ;;
   1129   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1130   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1131     program_suffix=$ac_optarg ;;
   1132 
   1133   -program-transform-name | --program-transform-name \
   1134   | --program-transform-nam | --program-transform-na \
   1135   | --program-transform-n | --program-transform- \
   1136   | --program-transform | --program-transfor \
   1137   | --program-transfo | --program-transf \
   1138   | --program-trans | --program-tran \
   1139   | --progr-tra | --program-tr | --program-t)
   1140     ac_prev=program_transform_name ;;
   1141   -program-transform-name=* | --program-transform-name=* \
   1142   | --program-transform-nam=* | --program-transform-na=* \
   1143   | --program-transform-n=* | --program-transform-=* \
   1144   | --program-transform=* | --program-transfor=* \
   1145   | --program-transfo=* | --program-transf=* \
   1146   | --program-trans=* | --program-tran=* \
   1147   | --progr-tra=* | --program-tr=* | --program-t=*)
   1148     program_transform_name=$ac_optarg ;;
   1149 
   1150   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1151     ac_prev=pdfdir ;;
   1152   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1153     pdfdir=$ac_optarg ;;
   1154 
   1155   -psdir | --psdir | --psdi | --psd | --ps)
   1156     ac_prev=psdir ;;
   1157   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1158     psdir=$ac_optarg ;;
   1159 
   1160   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1161   | -silent | --silent | --silen | --sile | --sil)
   1162     silent=yes ;;
   1163 
   1164   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1165   | --runstate | --runstat | --runsta | --runst | --runs \
   1166   | --run | --ru | --r)
   1167     ac_prev=runstatedir ;;
   1168   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1169   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1170   | --run=* | --ru=* | --r=*)
   1171     runstatedir=$ac_optarg ;;
   1172 
   1173   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1174     ac_prev=sbindir ;;
   1175   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1176   | --sbi=* | --sb=*)
   1177     sbindir=$ac_optarg ;;
   1178 
   1179   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1180   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1181   | --sharedst | --shareds | --shared | --share | --shar \
   1182   | --sha | --sh)
   1183     ac_prev=sharedstatedir ;;
   1184   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1185   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1186   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1187   | --sha=* | --sh=*)
   1188     sharedstatedir=$ac_optarg ;;
   1189 
   1190   -site | --site | --sit)
   1191     ac_prev=site ;;
   1192   -site=* | --site=* | --sit=*)
   1193     site=$ac_optarg ;;
   1194 
   1195   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1196     ac_prev=srcdir ;;
   1197   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1198     srcdir=$ac_optarg ;;
   1199 
   1200   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1201   | --syscon | --sysco | --sysc | --sys | --sy)
   1202     ac_prev=sysconfdir ;;
   1203   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1204   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1205     sysconfdir=$ac_optarg ;;
   1206 
   1207   -target | --target | --targe | --targ | --tar | --ta | --t)
   1208     ac_prev=target_alias ;;
   1209   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1210     target_alias=$ac_optarg ;;
   1211 
   1212   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1213     verbose=yes ;;
   1214 
   1215   -version | --version | --versio | --versi | --vers | -V)
   1216     ac_init_version=: ;;
   1217 
   1218   -with-* | --with-*)
   1219     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1220     # Reject names that are not valid shell variable names.
   1221     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1222       as_fn_error $? "invalid package name: '$ac_useropt'"
   1223     ac_useropt_orig=$ac_useropt
   1224     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1225     case $ac_user_opts in
   1226       *"
   1227 "with_$ac_useropt"
   1228 "*) ;;
   1229       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1230 	 ac_unrecognized_sep=', ';;
   1231     esac
   1232     eval with_$ac_useropt=\$ac_optarg ;;
   1233 
   1234   -without-* | --without-*)
   1235     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1236     # Reject names that are not valid shell variable names.
   1237     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1238       as_fn_error $? "invalid package name: '$ac_useropt'"
   1239     ac_useropt_orig=$ac_useropt
   1240     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1241     case $ac_user_opts in
   1242       *"
   1243 "with_$ac_useropt"
   1244 "*) ;;
   1245       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1246 	 ac_unrecognized_sep=', ';;
   1247     esac
   1248     eval with_$ac_useropt=no ;;
   1249 
   1250   --x)
   1251     # Obsolete; use --with-x.
   1252     with_x=yes ;;
   1253 
   1254   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1255   | --x-incl | --x-inc | --x-in | --x-i)
   1256     ac_prev=x_includes ;;
   1257   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1258   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1259     x_includes=$ac_optarg ;;
   1260 
   1261   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1262   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1263     ac_prev=x_libraries ;;
   1264   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1265   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1266     x_libraries=$ac_optarg ;;
   1267 
   1268   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1269 Try '$0 --help' for more information"
   1270     ;;
   1271 
   1272   *=*)
   1273     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1274     # Reject names that are not valid shell variable names.
   1275     case $ac_envvar in #(
   1276       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1277       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1278     esac
   1279     eval $ac_envvar=\$ac_optarg
   1280     export $ac_envvar ;;
   1281 
   1282   *)
   1283     # FIXME: should be removed in autoconf 3.0.
   1284     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1285     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1286       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1287     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1288     ;;
   1289 
   1290   esac
   1291 done
   1292 
   1293 if test -n "$ac_prev"; then
   1294   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1295   as_fn_error $? "missing argument to $ac_option"
   1296 fi
   1297 
   1298 if test -n "$ac_unrecognized_opts"; then
   1299   case $enable_option_checking in
   1300     no) ;;
   1301     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1302     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1303   esac
   1304 fi
   1305 
   1306 # Check all directory arguments for consistency.
   1307 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1308 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1309 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1310 		libdir localedir mandir runstatedir
   1311 do
   1312   eval ac_val=\$$ac_var
   1313   # Remove trailing slashes.
   1314   case $ac_val in
   1315     */ )
   1316       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1317       eval $ac_var=\$ac_val;;
   1318   esac
   1319   # Be sure to have absolute directory names.
   1320   case $ac_val in
   1321     [\\/$]* | ?:[\\/]* )  continue;;
   1322     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1323   esac
   1324   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1325 done
   1326 
   1327 # There might be people who depend on the old broken behavior: '$host'
   1328 # used to hold the argument of --host etc.
   1329 # FIXME: To remove some day.
   1330 build=$build_alias
   1331 host=$host_alias
   1332 target=$target_alias
   1333 
   1334 # FIXME: To remove some day.
   1335 if test "x$host_alias" != x; then
   1336   if test "x$build_alias" = x; then
   1337     cross_compiling=maybe
   1338   elif test "x$build_alias" != "x$host_alias"; then
   1339     cross_compiling=yes
   1340   fi
   1341 fi
   1342 
   1343 ac_tool_prefix=
   1344 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1345 
   1346 test "$silent" = yes && exec 6>/dev/null
   1347 
   1348 
   1349 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1350 ac_ls_di=`ls -di .` &&
   1351 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1352   as_fn_error $? "working directory cannot be determined"
   1353 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1354   as_fn_error $? "pwd does not report name of working directory"
   1355 
   1356 
   1357 # Find the source files, if location was not specified.
   1358 if test -z "$srcdir"; then
   1359   ac_srcdir_defaulted=yes
   1360   # Try the directory containing this script, then the parent directory.
   1361   ac_confdir=`$as_dirname -- "$as_myself" ||
   1362 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1363 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1364 	 X"$as_myself" : 'X\(//\)$' \| \
   1365 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1366 printf "%s\n" X"$as_myself" |
   1367     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1368 	    s//\1/
   1369 	    q
   1370 	  }
   1371 	  /^X\(\/\/\)[^/].*/{
   1372 	    s//\1/
   1373 	    q
   1374 	  }
   1375 	  /^X\(\/\/\)$/{
   1376 	    s//\1/
   1377 	    q
   1378 	  }
   1379 	  /^X\(\/\).*/{
   1380 	    s//\1/
   1381 	    q
   1382 	  }
   1383 	  s/.*/./; q'`
   1384   srcdir=$ac_confdir
   1385   if test ! -r "$srcdir/$ac_unique_file"; then
   1386     srcdir=..
   1387   fi
   1388 else
   1389   ac_srcdir_defaulted=no
   1390 fi
   1391 if test ! -r "$srcdir/$ac_unique_file"; then
   1392   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1393   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1394 fi
   1395 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1396 ac_abs_confdir=`(
   1397 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1398 	pwd)`
   1399 # When building in place, set srcdir=.
   1400 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1401   srcdir=.
   1402 fi
   1403 # Remove unnecessary trailing slashes from srcdir.
   1404 # Double slashes in file names in object file debugging info
   1405 # mess up M-x gdb in Emacs.
   1406 case $srcdir in
   1407 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1408 esac
   1409 for ac_var in $ac_precious_vars; do
   1410   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1411   eval ac_env_${ac_var}_value=\$${ac_var}
   1412   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1413   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1414 done
   1415 
   1416 #
   1417 # Report the --help message.
   1418 #
   1419 if test "$ac_init_help" = "long"; then
   1420   # Omit some internal or obsolete options to make the list less imposing.
   1421   # This message is too long to be a string in the A/UX 3.1 sh.
   1422   cat <<_ACEOF
   1423 'configure' configures xtrans 1.6.0 to adapt to many kinds of systems.
   1424 
   1425 Usage: $0 [OPTION]... [VAR=VALUE]...
   1426 
   1427 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1428 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1429 
   1430 Defaults for the options are specified in brackets.
   1431 
   1432 Configuration:
   1433   -h, --help              display this help and exit
   1434       --help=short        display options specific to this package
   1435       --help=recursive    display the short help of all the included packages
   1436   -V, --version           display version information and exit
   1437   -q, --quiet, --silent   do not print 'checking ...' messages
   1438       --cache-file=FILE   cache test results in FILE [disabled]
   1439   -C, --config-cache      alias for '--cache-file=config.cache'
   1440   -n, --no-create         do not create output files
   1441       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1442 
   1443 Installation directories:
   1444   --prefix=PREFIX         install architecture-independent files in PREFIX
   1445                           [$ac_default_prefix]
   1446   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1447                           [PREFIX]
   1448 
   1449 By default, 'make install' will install all the files in
   1450 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1451 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1452 for instance '--prefix=\$HOME'.
   1453 
   1454 For better control, use the options below.
   1455 
   1456 Fine tuning of the installation directories:
   1457   --bindir=DIR            user executables [EPREFIX/bin]
   1458   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1459   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1460   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1461   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1462   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1463   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1464   --libdir=DIR            object code libraries [EPREFIX/lib]
   1465   --includedir=DIR        C header files [PREFIX/include]
   1466   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1467   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1468   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1469   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1470   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1471   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1472   --docdir=DIR            documentation root [DATAROOTDIR/doc/xtrans]
   1473   --htmldir=DIR           html documentation [DOCDIR]
   1474   --dvidir=DIR            dvi documentation [DOCDIR]
   1475   --pdfdir=DIR            pdf documentation [DOCDIR]
   1476   --psdir=DIR             ps documentation [DOCDIR]
   1477 _ACEOF
   1478 
   1479   cat <<\_ACEOF
   1480 
   1481 Program names:
   1482   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1483   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1484   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1485 
   1486 System types:
   1487   --build=BUILD     configure for building on BUILD [guessed]
   1488   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1489 _ACEOF
   1490 fi
   1491 
   1492 if test -n "$ac_init_help"; then
   1493   case $ac_init_help in
   1494      short | recursive ) echo "Configuration of xtrans 1.6.0:";;
   1495    esac
   1496   cat <<\_ACEOF
   1497 
   1498 Optional Features:
   1499   --disable-option-checking  ignore unrecognized --enable/--with options
   1500   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1501   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1502   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1503   --disable-silent-rules  verbose build output (undo: "make V=0")
   1504   --enable-dependency-tracking
   1505                           do not reject slow dependency extractors
   1506   --disable-dependency-tracking
   1507                           speeds up one-time build
   1508   --disable-selective-werror
   1509                           Turn off selective compiler errors. (default:
   1510                           enabled)
   1511   --enable-strict-compilation
   1512                           Enable all warnings from compiler and make them
   1513                           errors (default: disabled)
   1514   --enable-docs           Enable building the documentation (default: yes)
   1515 
   1516 Optional Packages:
   1517   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1518   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1519   --with-xmlto            Use xmlto to regenerate documentation (default:
   1520                           auto)
   1521   --with-fop              Use fop to regenerate documentation (default: auto)
   1522   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1523                           (default: auto)
   1524 
   1525 Some influential environment variables:
   1526   CC          C compiler command
   1527   CFLAGS      C compiler flags
   1528   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1529               nonstandard directory <lib dir>
   1530   LIBS        libraries to pass to the linker, e.g. -l<library>
   1531   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1532               you have headers in a nonstandard directory <include dir>
   1533   PKG_CONFIG  path to pkg-config utility
   1534   PKG_CONFIG_PATH
   1535               directories to add to pkg-config's search path
   1536   PKG_CONFIG_LIBDIR
   1537               path overriding pkg-config's built-in search path
   1538   XMLTO       Path to xmlto command
   1539   FOP         Path to fop command
   1540   XSLTPROC    Path to xsltproc command
   1541 
   1542 Use these variables to override the choices made by 'configure' or to help
   1543 it to find libraries and programs with nonstandard names/locations.
   1544 
   1545 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/issues>.
   1546 _ACEOF
   1547 ac_status=$?
   1548 fi
   1549 
   1550 if test "$ac_init_help" = "recursive"; then
   1551   # If there are subdirs, report their specific --help.
   1552   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1553     test -d "$ac_dir" ||
   1554       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1555       continue
   1556     ac_builddir=.
   1557 
   1558 case "$ac_dir" in
   1559 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1560 *)
   1561   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1562   # A ".." for each directory in $ac_dir_suffix.
   1563   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1564   case $ac_top_builddir_sub in
   1565   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1566   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1567   esac ;;
   1568 esac
   1569 ac_abs_top_builddir=$ac_pwd
   1570 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1571 # for backward compatibility:
   1572 ac_top_builddir=$ac_top_build_prefix
   1573 
   1574 case $srcdir in
   1575   .)  # We are building in place.
   1576     ac_srcdir=.
   1577     ac_top_srcdir=$ac_top_builddir_sub
   1578     ac_abs_top_srcdir=$ac_pwd ;;
   1579   [\\/]* | ?:[\\/]* )  # Absolute name.
   1580     ac_srcdir=$srcdir$ac_dir_suffix;
   1581     ac_top_srcdir=$srcdir
   1582     ac_abs_top_srcdir=$srcdir ;;
   1583   *) # Relative name.
   1584     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1585     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1586     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1587 esac
   1588 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1589 
   1590     cd "$ac_dir" || { ac_status=$?; continue; }
   1591     # Check for configure.gnu first; this name is used for a wrapper for
   1592     # Metaconfig's "Configure" on case-insensitive file systems.
   1593     if test -f "$ac_srcdir/configure.gnu"; then
   1594       echo &&
   1595       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1596     elif test -f "$ac_srcdir/configure"; then
   1597       echo &&
   1598       $SHELL "$ac_srcdir/configure" --help=recursive
   1599     else
   1600       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1601     fi || ac_status=$?
   1602     cd "$ac_pwd" || { ac_status=$?; break; }
   1603   done
   1604 fi
   1605 
   1606 test -n "$ac_init_help" && exit $ac_status
   1607 if $ac_init_version; then
   1608   cat <<\_ACEOF
   1609 xtrans configure 1.6.0
   1610 generated by GNU Autoconf 2.72
   1611 
   1612 Copyright (C) 2023 Free Software Foundation, Inc.
   1613 This configure script is free software; the Free Software Foundation
   1614 gives unlimited permission to copy, distribute and modify it.
   1615 _ACEOF
   1616   exit
   1617 fi
   1618 
   1619 ## ------------------------ ##
   1620 ## Autoconf initialization. ##
   1621 ## ------------------------ ##
   1622 
   1623 # ac_fn_c_try_compile LINENO
   1624 # --------------------------
   1625 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1626 ac_fn_c_try_compile ()
   1627 {
   1628   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1629   rm -f conftest.$ac_objext conftest.beam
   1630   if { { ac_try="$ac_compile"
   1631 case "(($ac_try" in
   1632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1633   *) ac_try_echo=$ac_try;;
   1634 esac
   1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1636 printf "%s\n" "$ac_try_echo"; } >&5
   1637   (eval "$ac_compile") 2>conftest.err
   1638   ac_status=$?
   1639   if test -s conftest.err; then
   1640     grep -v '^ *+' conftest.err >conftest.er1
   1641     cat conftest.er1 >&5
   1642     mv -f conftest.er1 conftest.err
   1643   fi
   1644   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1645   test $ac_status = 0; } && {
   1646 	 test -z "$ac_c_werror_flag" ||
   1647 	 test ! -s conftest.err
   1648        } && test -s conftest.$ac_objext
   1649 then :
   1650   ac_retval=0
   1651 else case e in #(
   1652   e) printf "%s\n" "$as_me: failed program was:" >&5
   1653 sed 's/^/| /' conftest.$ac_ext >&5
   1654 
   1655 	ac_retval=1 ;;
   1656 esac
   1657 fi
   1658   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1659   as_fn_set_status $ac_retval
   1660 
   1661 } # ac_fn_c_try_compile
   1662 
   1663 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1664 # ------------------------------------------------------------------
   1665 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1666 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1667 ac_fn_check_decl ()
   1668 {
   1669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1670   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1671   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1672 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1673 if eval test \${$3+y}
   1674 then :
   1675   printf %s "(cached) " >&6
   1676 else case e in #(
   1677   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1678   eval ac_save_FLAGS=\$$6
   1679   as_fn_append $6 " $5"
   1680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1681 /* end confdefs.h.  */
   1682 $4
   1683 int
   1684 main (void)
   1685 {
   1686 #ifndef $as_decl_name
   1687 #ifdef __cplusplus
   1688   (void) $as_decl_use;
   1689 #else
   1690   (void) $as_decl_name;
   1691 #endif
   1692 #endif
   1693 
   1694   ;
   1695   return 0;
   1696 }
   1697 _ACEOF
   1698 if ac_fn_c_try_compile "$LINENO"
   1699 then :
   1700   eval "$3=yes"
   1701 else case e in #(
   1702   e) eval "$3=no" ;;
   1703 esac
   1704 fi
   1705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1706   eval $6=\$ac_save_FLAGS
   1707  ;;
   1708 esac
   1709 fi
   1710 eval ac_res=\$$3
   1711 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1712 printf "%s\n" "$ac_res" >&6; }
   1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1714 
   1715 } # ac_fn_check_decl
   1716 
   1717 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1718 # -------------------------------------------------------
   1719 # Tests whether HEADER exists and can be compiled using the include files in
   1720 # INCLUDES, setting the cache variable VAR accordingly.
   1721 ac_fn_c_check_header_compile ()
   1722 {
   1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1725 printf %s "checking for $2... " >&6; }
   1726 if eval test \${$3+y}
   1727 then :
   1728   printf %s "(cached) " >&6
   1729 else case e in #(
   1730   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1731 /* end confdefs.h.  */
   1732 $4
   1733 #include <$2>
   1734 _ACEOF
   1735 if ac_fn_c_try_compile "$LINENO"
   1736 then :
   1737   eval "$3=yes"
   1738 else case e in #(
   1739   e) eval "$3=no" ;;
   1740 esac
   1741 fi
   1742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1743 esac
   1744 fi
   1745 eval ac_res=\$$3
   1746 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1747 printf "%s\n" "$ac_res" >&6; }
   1748   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1749 
   1750 } # ac_fn_c_check_header_compile
   1751 
   1752 # ac_fn_c_try_link LINENO
   1753 # -----------------------
   1754 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1755 ac_fn_c_try_link ()
   1756 {
   1757   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1758   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1759   if { { ac_try="$ac_link"
   1760 case "(($ac_try" in
   1761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1762   *) ac_try_echo=$ac_try;;
   1763 esac
   1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1765 printf "%s\n" "$ac_try_echo"; } >&5
   1766   (eval "$ac_link") 2>conftest.err
   1767   ac_status=$?
   1768   if test -s conftest.err; then
   1769     grep -v '^ *+' conftest.err >conftest.er1
   1770     cat conftest.er1 >&5
   1771     mv -f conftest.er1 conftest.err
   1772   fi
   1773   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1774   test $ac_status = 0; } && {
   1775 	 test -z "$ac_c_werror_flag" ||
   1776 	 test ! -s conftest.err
   1777        } && test -s conftest$ac_exeext && {
   1778 	 test "$cross_compiling" = yes ||
   1779 	 test -x conftest$ac_exeext
   1780        }
   1781 then :
   1782   ac_retval=0
   1783 else case e in #(
   1784   e) printf "%s\n" "$as_me: failed program was:" >&5
   1785 sed 's/^/| /' conftest.$ac_ext >&5
   1786 
   1787 	ac_retval=1 ;;
   1788 esac
   1789 fi
   1790   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1791   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1792   # interfere with the next link command; also delete a directory that is
   1793   # left behind by Apple's compiler.  We do this before executing the actions.
   1794   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1796   as_fn_set_status $ac_retval
   1797 
   1798 } # ac_fn_c_try_link
   1799 
   1800 # ac_fn_c_check_func LINENO FUNC VAR
   1801 # ----------------------------------
   1802 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1803 ac_fn_c_check_func ()
   1804 {
   1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1807 printf %s "checking for $2... " >&6; }
   1808 if eval test \${$3+y}
   1809 then :
   1810   printf %s "(cached) " >&6
   1811 else case e in #(
   1812   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1813 /* end confdefs.h.  */
   1814 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1815    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1816 #define $2 innocuous_$2
   1817 
   1818 /* System header to define __stub macros and hopefully few prototypes,
   1819    which can conflict with char $2 (void); below.  */
   1820 
   1821 #include <limits.h>
   1822 #undef $2
   1823 
   1824 /* Override any GCC internal prototype to avoid an error.
   1825    Use char because int might match the return type of a GCC
   1826    builtin and then its argument prototype would still apply.  */
   1827 #ifdef __cplusplus
   1828 extern "C"
   1829 #endif
   1830 char $2 (void);
   1831 /* The GNU C library defines this for functions which it implements
   1832     to always fail with ENOSYS.  Some functions are actually named
   1833     something starting with __ and the normal name is an alias.  */
   1834 #if defined __stub_$2 || defined __stub___$2
   1835 choke me
   1836 #endif
   1837 
   1838 int
   1839 main (void)
   1840 {
   1841 return $2 ();
   1842   ;
   1843   return 0;
   1844 }
   1845 _ACEOF
   1846 if ac_fn_c_try_link "$LINENO"
   1847 then :
   1848   eval "$3=yes"
   1849 else case e in #(
   1850   e) eval "$3=no" ;;
   1851 esac
   1852 fi
   1853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1854     conftest$ac_exeext conftest.$ac_ext ;;
   1855 esac
   1856 fi
   1857 eval ac_res=\$$3
   1858 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1859 printf "%s\n" "$ac_res" >&6; }
   1860   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1861 
   1862 } # ac_fn_c_check_func
   1863 ac_configure_args_raw=
   1864 for ac_arg
   1865 do
   1866   case $ac_arg in
   1867   *\'*)
   1868     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1869   esac
   1870   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1871 done
   1872 
   1873 case $ac_configure_args_raw in
   1874   *$as_nl*)
   1875     ac_safe_unquote= ;;
   1876   *)
   1877     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1878     ac_unsafe_a="$ac_unsafe_z#~"
   1879     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1880     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1881 esac
   1882 
   1883 cat >config.log <<_ACEOF
   1884 This file contains any messages produced by compilers while
   1885 running configure, to aid debugging if configure makes a mistake.
   1886 
   1887 It was created by xtrans $as_me 1.6.0, which was
   1888 generated by GNU Autoconf 2.72.  Invocation command line was
   1889 
   1890   $ $0$ac_configure_args_raw
   1891 
   1892 _ACEOF
   1893 exec 5>>config.log
   1894 {
   1895 cat <<_ASUNAME
   1896 ## --------- ##
   1897 ## Platform. ##
   1898 ## --------- ##
   1899 
   1900 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1901 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1902 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1903 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1904 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1905 
   1906 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1907 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1908 
   1909 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1910 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1911 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1912 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1913 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1914 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1915 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1916 
   1917 _ASUNAME
   1918 
   1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1920 for as_dir in $PATH
   1921 do
   1922   IFS=$as_save_IFS
   1923   case $as_dir in #(((
   1924     '') as_dir=./ ;;
   1925     */) ;;
   1926     *) as_dir=$as_dir/ ;;
   1927   esac
   1928     printf "%s\n" "PATH: $as_dir"
   1929   done
   1930 IFS=$as_save_IFS
   1931 
   1932 } >&5
   1933 
   1934 cat >&5 <<_ACEOF
   1935 
   1936 
   1937 ## ----------- ##
   1938 ## Core tests. ##
   1939 ## ----------- ##
   1940 
   1941 _ACEOF
   1942 
   1943 
   1944 # Keep a trace of the command line.
   1945 # Strip out --no-create and --no-recursion so they do not pile up.
   1946 # Strip out --silent because we don't want to record it for future runs.
   1947 # Also quote any args containing shell meta-characters.
   1948 # Make two passes to allow for proper duplicate-argument suppression.
   1949 ac_configure_args=
   1950 ac_configure_args0=
   1951 ac_configure_args1=
   1952 ac_must_keep_next=false
   1953 for ac_pass in 1 2
   1954 do
   1955   for ac_arg
   1956   do
   1957     case $ac_arg in
   1958     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1959     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1960     | -silent | --silent | --silen | --sile | --sil)
   1961       continue ;;
   1962     *\'*)
   1963       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1964     esac
   1965     case $ac_pass in
   1966     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1967     2)
   1968       as_fn_append ac_configure_args1 " '$ac_arg'"
   1969       if test $ac_must_keep_next = true; then
   1970 	ac_must_keep_next=false # Got value, back to normal.
   1971       else
   1972 	case $ac_arg in
   1973 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1974 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1975 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1976 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1977 	    case "$ac_configure_args0 " in
   1978 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1979 	    esac
   1980 	    ;;
   1981 	  -* ) ac_must_keep_next=true ;;
   1982 	esac
   1983       fi
   1984       as_fn_append ac_configure_args " '$ac_arg'"
   1985       ;;
   1986     esac
   1987   done
   1988 done
   1989 { ac_configure_args0=; unset ac_configure_args0;}
   1990 { ac_configure_args1=; unset ac_configure_args1;}
   1991 
   1992 # When interrupted or exit'd, cleanup temporary files, and complete
   1993 # config.log.  We remove comments because anyway the quotes in there
   1994 # would cause problems or look ugly.
   1995 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1996 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1997 trap 'exit_status=$?
   1998   # Sanitize IFS.
   1999   IFS=" ""	$as_nl"
   2000   # Save into config.log some information that might help in debugging.
   2001   {
   2002     echo
   2003 
   2004     printf "%s\n" "## ---------------- ##
   2005 ## Cache variables. ##
   2006 ## ---------------- ##"
   2007     echo
   2008     # The following way of writing the cache mishandles newlines in values,
   2009 (
   2010   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2011     eval ac_val=\$$ac_var
   2012     case $ac_val in #(
   2013     *${as_nl}*)
   2014       case $ac_var in #(
   2015       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2016 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2017       esac
   2018       case $ac_var in #(
   2019       _ | IFS | as_nl) ;; #(
   2020       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2021       *) { eval $ac_var=; unset $ac_var;} ;;
   2022       esac ;;
   2023     esac
   2024   done
   2025   (set) 2>&1 |
   2026     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2027     *${as_nl}ac_space=\ *)
   2028       sed -n \
   2029 	"s/'\''/'\''\\\\'\'''\''/g;
   2030 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2031       ;; #(
   2032     *)
   2033       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2034       ;;
   2035     esac |
   2036     sort
   2037 )
   2038     echo
   2039 
   2040     printf "%s\n" "## ----------------- ##
   2041 ## Output variables. ##
   2042 ## ----------------- ##"
   2043     echo
   2044     for ac_var in $ac_subst_vars
   2045     do
   2046       eval ac_val=\$$ac_var
   2047       case $ac_val in
   2048       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2049       esac
   2050       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2051     done | sort
   2052     echo
   2053 
   2054     if test -n "$ac_subst_files"; then
   2055       printf "%s\n" "## ------------------- ##
   2056 ## File substitutions. ##
   2057 ## ------------------- ##"
   2058       echo
   2059       for ac_var in $ac_subst_files
   2060       do
   2061 	eval ac_val=\$$ac_var
   2062 	case $ac_val in
   2063 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2064 	esac
   2065 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2066       done | sort
   2067       echo
   2068     fi
   2069 
   2070     if test -s confdefs.h; then
   2071       printf "%s\n" "## ----------- ##
   2072 ## confdefs.h. ##
   2073 ## ----------- ##"
   2074       echo
   2075       cat confdefs.h
   2076       echo
   2077     fi
   2078     test "$ac_signal" != 0 &&
   2079       printf "%s\n" "$as_me: caught signal $ac_signal"
   2080     printf "%s\n" "$as_me: exit $exit_status"
   2081   } >&5
   2082   rm -f core *.core core.conftest.* &&
   2083     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2084     exit $exit_status
   2085 ' 0
   2086 for ac_signal in 1 2 13 15; do
   2087   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2088 done
   2089 ac_signal=0
   2090 
   2091 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2092 rm -f -r conftest* confdefs.h
   2093 
   2094 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2095 
   2096 # Predefined preprocessor variables.
   2097 
   2098 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2099 
   2100 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2101 
   2102 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2103 
   2104 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2105 
   2106 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2107 
   2108 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2109 
   2110 
   2111 # Let the site file select an alternate cache file if it wants to.
   2112 # Prefer an explicitly selected file to automatically selected ones.
   2113 if test -n "$CONFIG_SITE"; then
   2114   ac_site_files="$CONFIG_SITE"
   2115 elif test "x$prefix" != xNONE; then
   2116   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2117 else
   2118   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2119 fi
   2120 
   2121 for ac_site_file in $ac_site_files
   2122 do
   2123   case $ac_site_file in #(
   2124   */*) :
   2125      ;; #(
   2126   *) :
   2127     ac_site_file=./$ac_site_file ;;
   2128 esac
   2129   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2130     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2131 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2132     sed 's/^/| /' "$ac_site_file" >&5
   2133     . "$ac_site_file" \
   2134       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2135 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2136 as_fn_error $? "failed to load site script $ac_site_file
   2137 See 'config.log' for more details" "$LINENO" 5; }
   2138   fi
   2139 done
   2140 
   2141 if test -r "$cache_file"; then
   2142   # Some versions of bash will fail to source /dev/null (special files
   2143   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2144   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2145     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2146 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2147     case $cache_file in
   2148       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2149       *)                      . "./$cache_file";;
   2150     esac
   2151   fi
   2152 else
   2153   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2154 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2155   >$cache_file
   2156 fi
   2157 
   2158 # Test code for whether the C compiler supports C89 (global declarations)
   2159 ac_c_conftest_c89_globals='
   2160 /* Does the compiler advertise C89 conformance?
   2161    Do not test the value of __STDC__, because some compilers set it to 0
   2162    while being otherwise adequately conformant. */
   2163 #if !defined __STDC__
   2164 # error "Compiler does not advertise C89 conformance"
   2165 #endif
   2166 
   2167 #include <stddef.h>
   2168 #include <stdarg.h>
   2169 struct stat;
   2170 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2171 struct buf { int x; };
   2172 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2173 static char *e (char **p, int i)
   2174 {
   2175   return p[i];
   2176 }
   2177 static char *f (char * (*g) (char **, int), char **p, ...)
   2178 {
   2179   char *s;
   2180   va_list v;
   2181   va_start (v,p);
   2182   s = g (p, va_arg (v,int));
   2183   va_end (v);
   2184   return s;
   2185 }
   2186 
   2187 /* C89 style stringification. */
   2188 #define noexpand_stringify(a) #a
   2189 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2190 
   2191 /* C89 style token pasting.  Exercises some of the corner cases that
   2192    e.g. old MSVC gets wrong, but not very hard. */
   2193 #define noexpand_concat(a,b) a##b
   2194 #define expand_concat(a,b) noexpand_concat(a,b)
   2195 extern int vA;
   2196 extern int vbee;
   2197 #define aye A
   2198 #define bee B
   2199 int *pvA = &expand_concat(v,aye);
   2200 int *pvbee = &noexpand_concat(v,bee);
   2201 
   2202 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2203    function prototypes and stuff, but not \xHH hex character constants.
   2204    These do not provoke an error unfortunately, instead are silently treated
   2205    as an "x".  The following induces an error, until -std is added to get
   2206    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2207    array size at least.  It is necessary to write \x00 == 0 to get something
   2208    that is true only with -std.  */
   2209 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2210 
   2211 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2212    inside strings and character constants.  */
   2213 #define FOO(x) '\''x'\''
   2214 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2215 
   2216 int test (int i, double x);
   2217 struct s1 {int (*f) (int a);};
   2218 struct s2 {int (*f) (double a);};
   2219 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2220                int, int);'
   2221 
   2222 # Test code for whether the C compiler supports C89 (body of main).
   2223 ac_c_conftest_c89_main='
   2224 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2225 '
   2226 
   2227 # Test code for whether the C compiler supports C99 (global declarations)
   2228 ac_c_conftest_c99_globals='
   2229 /* Does the compiler advertise C99 conformance? */
   2230 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2231 # error "Compiler does not advertise C99 conformance"
   2232 #endif
   2233 
   2234 // See if C++-style comments work.
   2235 
   2236 #include <stdbool.h>
   2237 extern int puts (const char *);
   2238 extern int printf (const char *, ...);
   2239 extern int dprintf (int, const char *, ...);
   2240 extern void *malloc (size_t);
   2241 extern void free (void *);
   2242 
   2243 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2244 // dprintf is used instead of fprintf to avoid needing to declare
   2245 // FILE and stderr.
   2246 #define debug(...) dprintf (2, __VA_ARGS__)
   2247 #define showlist(...) puts (#__VA_ARGS__)
   2248 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2249 static void
   2250 test_varargs_macros (void)
   2251 {
   2252   int x = 1234;
   2253   int y = 5678;
   2254   debug ("Flag");
   2255   debug ("X = %d\n", x);
   2256   showlist (The first, second, and third items.);
   2257   report (x>y, "x is %d but y is %d", x, y);
   2258 }
   2259 
   2260 // Check long long types.
   2261 #define BIG64 18446744073709551615ull
   2262 #define BIG32 4294967295ul
   2263 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2264 #if !BIG_OK
   2265   #error "your preprocessor is broken"
   2266 #endif
   2267 #if BIG_OK
   2268 #else
   2269   #error "your preprocessor is broken"
   2270 #endif
   2271 static long long int bignum = -9223372036854775807LL;
   2272 static unsigned long long int ubignum = BIG64;
   2273 
   2274 struct incomplete_array
   2275 {
   2276   int datasize;
   2277   double data[];
   2278 };
   2279 
   2280 struct named_init {
   2281   int number;
   2282   const wchar_t *name;
   2283   double average;
   2284 };
   2285 
   2286 typedef const char *ccp;
   2287 
   2288 static inline int
   2289 test_restrict (ccp restrict text)
   2290 {
   2291   // Iterate through items via the restricted pointer.
   2292   // Also check for declarations in for loops.
   2293   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2294     continue;
   2295   return 0;
   2296 }
   2297 
   2298 // Check varargs and va_copy.
   2299 static bool
   2300 test_varargs (const char *format, ...)
   2301 {
   2302   va_list args;
   2303   va_start (args, format);
   2304   va_list args_copy;
   2305   va_copy (args_copy, args);
   2306 
   2307   const char *str = "";
   2308   int number = 0;
   2309   float fnumber = 0;
   2310 
   2311   while (*format)
   2312     {
   2313       switch (*format++)
   2314 	{
   2315 	case '\''s'\'': // string
   2316 	  str = va_arg (args_copy, const char *);
   2317 	  break;
   2318 	case '\''d'\'': // int
   2319 	  number = va_arg (args_copy, int);
   2320 	  break;
   2321 	case '\''f'\'': // float
   2322 	  fnumber = va_arg (args_copy, double);
   2323 	  break;
   2324 	default:
   2325 	  break;
   2326 	}
   2327     }
   2328   va_end (args_copy);
   2329   va_end (args);
   2330 
   2331   return *str && number && fnumber;
   2332 }
   2333 '
   2334 
   2335 # Test code for whether the C compiler supports C99 (body of main).
   2336 ac_c_conftest_c99_main='
   2337   // Check bool.
   2338   _Bool success = false;
   2339   success |= (argc != 0);
   2340 
   2341   // Check restrict.
   2342   if (test_restrict ("String literal") == 0)
   2343     success = true;
   2344   char *restrict newvar = "Another string";
   2345 
   2346   // Check varargs.
   2347   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2348   test_varargs_macros ();
   2349 
   2350   // Check flexible array members.
   2351   struct incomplete_array *ia =
   2352     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2353   ia->datasize = 10;
   2354   for (int i = 0; i < ia->datasize; ++i)
   2355     ia->data[i] = i * 1.234;
   2356   // Work around memory leak warnings.
   2357   free (ia);
   2358 
   2359   // Check named initializers.
   2360   struct named_init ni = {
   2361     .number = 34,
   2362     .name = L"Test wide string",
   2363     .average = 543.34343,
   2364   };
   2365 
   2366   ni.number = 58;
   2367 
   2368   int dynamic_array[ni.number];
   2369   dynamic_array[0] = argv[0][0];
   2370   dynamic_array[ni.number - 1] = 543;
   2371 
   2372   // work around unused variable warnings
   2373   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2374 	 || dynamic_array[ni.number - 1] != 543);
   2375 '
   2376 
   2377 # Test code for whether the C compiler supports C11 (global declarations)
   2378 ac_c_conftest_c11_globals='
   2379 /* Does the compiler advertise C11 conformance? */
   2380 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2381 # error "Compiler does not advertise C11 conformance"
   2382 #endif
   2383 
   2384 // Check _Alignas.
   2385 char _Alignas (double) aligned_as_double;
   2386 char _Alignas (0) no_special_alignment;
   2387 extern char aligned_as_int;
   2388 char _Alignas (0) _Alignas (int) aligned_as_int;
   2389 
   2390 // Check _Alignof.
   2391 enum
   2392 {
   2393   int_alignment = _Alignof (int),
   2394   int_array_alignment = _Alignof (int[100]),
   2395   char_alignment = _Alignof (char)
   2396 };
   2397 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2398 
   2399 // Check _Noreturn.
   2400 int _Noreturn does_not_return (void) { for (;;) continue; }
   2401 
   2402 // Check _Static_assert.
   2403 struct test_static_assert
   2404 {
   2405   int x;
   2406   _Static_assert (sizeof (int) <= sizeof (long int),
   2407                   "_Static_assert does not work in struct");
   2408   long int y;
   2409 };
   2410 
   2411 // Check UTF-8 literals.
   2412 #define u8 syntax error!
   2413 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2414 
   2415 // Check duplicate typedefs.
   2416 typedef long *long_ptr;
   2417 typedef long int *long_ptr;
   2418 typedef long_ptr long_ptr;
   2419 
   2420 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2421 struct anonymous
   2422 {
   2423   union {
   2424     struct { int i; int j; };
   2425     struct { int k; long int l; } w;
   2426   };
   2427   int m;
   2428 } v1;
   2429 '
   2430 
   2431 # Test code for whether the C compiler supports C11 (body of main).
   2432 ac_c_conftest_c11_main='
   2433   _Static_assert ((offsetof (struct anonymous, i)
   2434 		   == offsetof (struct anonymous, w.k)),
   2435 		  "Anonymous union alignment botch");
   2436   v1.i = 2;
   2437   v1.w.k = 5;
   2438   ok |= v1.i != 5;
   2439 '
   2440 
   2441 # Test code for whether the C compiler supports C11 (complete).
   2442 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2443 ${ac_c_conftest_c99_globals}
   2444 ${ac_c_conftest_c11_globals}
   2445 
   2446 int
   2447 main (int argc, char **argv)
   2448 {
   2449   int ok = 0;
   2450   ${ac_c_conftest_c89_main}
   2451   ${ac_c_conftest_c99_main}
   2452   ${ac_c_conftest_c11_main}
   2453   return ok;
   2454 }
   2455 "
   2456 
   2457 # Test code for whether the C compiler supports C99 (complete).
   2458 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2459 ${ac_c_conftest_c99_globals}
   2460 
   2461 int
   2462 main (int argc, char **argv)
   2463 {
   2464   int ok = 0;
   2465   ${ac_c_conftest_c89_main}
   2466   ${ac_c_conftest_c99_main}
   2467   return ok;
   2468 }
   2469 "
   2470 
   2471 # Test code for whether the C compiler supports C89 (complete).
   2472 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2473 
   2474 int
   2475 main (int argc, char **argv)
   2476 {
   2477   int ok = 0;
   2478   ${ac_c_conftest_c89_main}
   2479   return ok;
   2480 }
   2481 "
   2482 
   2483 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2484 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2485 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2486 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2487 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2488 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2489 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2490 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2491 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2492 
   2493 # Auxiliary files required by this configure script.
   2494 ac_aux_files="config.guess config.sub compile missing install-sh"
   2495 
   2496 # Locations in which to look for auxiliary files.
   2497 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2498 
   2499 # Search for a directory containing all of the required auxiliary files,
   2500 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2501 # If we don't find one directory that contains all the files we need,
   2502 # we report the set of missing files from the *first* directory in
   2503 # $ac_aux_dir_candidates and give up.
   2504 ac_missing_aux_files=""
   2505 ac_first_candidate=:
   2506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2508 as_found=false
   2509 for as_dir in $ac_aux_dir_candidates
   2510 do
   2511   IFS=$as_save_IFS
   2512   case $as_dir in #(((
   2513     '') as_dir=./ ;;
   2514     */) ;;
   2515     *) as_dir=$as_dir/ ;;
   2516   esac
   2517   as_found=:
   2518 
   2519   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2520   ac_aux_dir_found=yes
   2521   ac_install_sh=
   2522   for ac_aux in $ac_aux_files
   2523   do
   2524     # As a special case, if "install-sh" is required, that requirement
   2525     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2526     # and $ac_install_sh is set appropriately for whichever one is found.
   2527     if test x"$ac_aux" = x"install-sh"
   2528     then
   2529       if test -f "${as_dir}install-sh"; then
   2530         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2531         ac_install_sh="${as_dir}install-sh -c"
   2532       elif test -f "${as_dir}install.sh"; then
   2533         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2534         ac_install_sh="${as_dir}install.sh -c"
   2535       elif test -f "${as_dir}shtool"; then
   2536         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2537         ac_install_sh="${as_dir}shtool install -c"
   2538       else
   2539         ac_aux_dir_found=no
   2540         if $ac_first_candidate; then
   2541           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2542         else
   2543           break
   2544         fi
   2545       fi
   2546     else
   2547       if test -f "${as_dir}${ac_aux}"; then
   2548         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2549       else
   2550         ac_aux_dir_found=no
   2551         if $ac_first_candidate; then
   2552           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2553         else
   2554           break
   2555         fi
   2556       fi
   2557     fi
   2558   done
   2559   if test "$ac_aux_dir_found" = yes; then
   2560     ac_aux_dir="$as_dir"
   2561     break
   2562   fi
   2563   ac_first_candidate=false
   2564 
   2565   as_found=false
   2566 done
   2567 IFS=$as_save_IFS
   2568 if $as_found
   2569 then :
   2570 
   2571 else case e in #(
   2572   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2573 esac
   2574 fi
   2575 
   2576 
   2577 # These three variables are undocumented and unsupported,
   2578 # and are intended to be withdrawn in a future Autoconf release.
   2579 # They can cause serious problems if a builder's source tree is in a directory
   2580 # whose full name contains unusual characters.
   2581 if test -f "${ac_aux_dir}config.guess"; then
   2582   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2583 fi
   2584 if test -f "${ac_aux_dir}config.sub"; then
   2585   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2586 fi
   2587 if test -f "$ac_aux_dir/configure"; then
   2588   ac_configure="$SHELL ${ac_aux_dir}configure"
   2589 fi
   2590 
   2591 # Check that the precious variables saved in the cache have kept the same
   2592 # value.
   2593 ac_cache_corrupted=false
   2594 for ac_var in $ac_precious_vars; do
   2595   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2596   eval ac_new_set=\$ac_env_${ac_var}_set
   2597   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2598   eval ac_new_val=\$ac_env_${ac_var}_value
   2599   case $ac_old_set,$ac_new_set in
   2600     set,)
   2601       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2602 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2603       ac_cache_corrupted=: ;;
   2604     ,set)
   2605       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2606 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2607       ac_cache_corrupted=: ;;
   2608     ,);;
   2609     *)
   2610       if test "x$ac_old_val" != "x$ac_new_val"; then
   2611 	# differences in whitespace do not lead to failure.
   2612 	ac_old_val_w=`echo x $ac_old_val`
   2613 	ac_new_val_w=`echo x $ac_new_val`
   2614 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2615 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2616 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2617 	  ac_cache_corrupted=:
   2618 	else
   2619 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2620 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2621 	  eval $ac_var=\$ac_old_val
   2622 	fi
   2623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2624 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2626 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2627       fi;;
   2628   esac
   2629   # Pass precious variables to config.status.
   2630   if test "$ac_new_set" = set; then
   2631     case $ac_new_val in
   2632     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2633     *) ac_arg=$ac_var=$ac_new_val ;;
   2634     esac
   2635     case " $ac_configure_args " in
   2636       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2637       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2638     esac
   2639   fi
   2640 done
   2641 if $ac_cache_corrupted; then
   2642   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2643 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2644   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2645 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2646   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2647 	    and start over" "$LINENO" 5
   2648 fi
   2649 ## -------------------- ##
   2650 ## Main body of script. ##
   2651 ## -------------------- ##
   2652 
   2653 ac_ext=c
   2654 ac_cpp='$CPP $CPPFLAGS'
   2655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2658 
   2659 
   2660 
   2661 
   2662 # Initialize Automake
   2663 am__api_version='1.17'
   2664 
   2665 
   2666 
   2667   # Find a good install program.  We prefer a C program (faster),
   2668 # so one script is as good as another.  But avoid the broken or
   2669 # incompatible versions:
   2670 # SysV /etc/install, /usr/sbin/install
   2671 # SunOS /usr/etc/install
   2672 # IRIX /sbin/install
   2673 # AIX /bin/install
   2674 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2675 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2676 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2677 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2678 # OS/2's system install, which has a completely different semantic
   2679 # ./install, which can be erroneously created by make from ./install.sh.
   2680 # Reject install programs that cannot install multiple files.
   2681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2682 printf %s "checking for a BSD-compatible install... " >&6; }
   2683 if test -z "$INSTALL"; then
   2684 if test ${ac_cv_path_install+y}
   2685 then :
   2686   printf %s "(cached) " >&6
   2687 else case e in #(
   2688   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2689 for as_dir in $PATH
   2690 do
   2691   IFS=$as_save_IFS
   2692   case $as_dir in #(((
   2693     '') as_dir=./ ;;
   2694     */) ;;
   2695     *) as_dir=$as_dir/ ;;
   2696   esac
   2697     # Account for fact that we put trailing slashes in our PATH walk.
   2698 case $as_dir in #((
   2699   ./ | /[cC]/* | \
   2700   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2701   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2702   /usr/ucb/* ) ;;
   2703   *)
   2704     # OSF1 and SCO ODT 3.0 have their own names for install.
   2705     # Don't use installbsd from OSF since it installs stuff as root
   2706     # by default.
   2707     for ac_prog in ginstall scoinst install; do
   2708       for ac_exec_ext in '' $ac_executable_extensions; do
   2709 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2710 	  if test $ac_prog = install &&
   2711 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2712 	    # AIX install.  It has an incompatible calling convention.
   2713 	    :
   2714 	  elif test $ac_prog = install &&
   2715 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2716 	    # program-specific install script used by HP pwplus--don't use.
   2717 	    :
   2718 	  else
   2719 	    rm -rf conftest.one conftest.two conftest.dir
   2720 	    echo one > conftest.one
   2721 	    echo two > conftest.two
   2722 	    mkdir conftest.dir
   2723 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2724 	      test -s conftest.one && test -s conftest.two &&
   2725 	      test -s conftest.dir/conftest.one &&
   2726 	      test -s conftest.dir/conftest.two
   2727 	    then
   2728 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2729 	      break 3
   2730 	    fi
   2731 	  fi
   2732 	fi
   2733       done
   2734     done
   2735     ;;
   2736 esac
   2737 
   2738   done
   2739 IFS=$as_save_IFS
   2740 
   2741 rm -rf conftest.one conftest.two conftest.dir
   2742  ;;
   2743 esac
   2744 fi
   2745   if test ${ac_cv_path_install+y}; then
   2746     INSTALL=$ac_cv_path_install
   2747   else
   2748     # As a last resort, use the slow shell script.  Don't cache a
   2749     # value for INSTALL within a source directory, because that will
   2750     # break other packages using the cache if that directory is
   2751     # removed, or if the value is a relative name.
   2752     INSTALL=$ac_install_sh
   2753   fi
   2754 fi
   2755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2756 printf "%s\n" "$INSTALL" >&6; }
   2757 
   2758 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2759 # It thinks the first close brace ends the variable substitution.
   2760 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2761 
   2762 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2763 
   2764 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2765 
   2766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2767 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2768 if test ${am_cv_sleep_fractional_seconds+y}
   2769 then :
   2770   printf %s "(cached) " >&6
   2771 else case e in #(
   2772   e) if sleep 0.001 2>/dev/null
   2773 then :
   2774   am_cv_sleep_fractional_seconds=yes
   2775 else case e in #(
   2776   e) am_cv_sleep_fractional_seconds=no ;;
   2777 esac
   2778 fi
   2779  ;;
   2780 esac
   2781 fi
   2782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2783 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2784 
   2785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2786 printf %s "checking filesystem timestamp resolution... " >&6; }
   2787 if test ${am_cv_filesystem_timestamp_resolution+y}
   2788 then :
   2789   printf %s "(cached) " >&6
   2790 else case e in #(
   2791   e) # Default to the worst case.
   2792 am_cv_filesystem_timestamp_resolution=2
   2793 
   2794 # Only try to go finer than 1 sec if sleep can do it.
   2795 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2796 # - 1 sec is not much of a win compared to 2 sec, and
   2797 # - it takes 2 seconds to perform the test whether 1 sec works.
   2798 #
   2799 # Instead, just use the default 2s on platforms that have 1s resolution,
   2800 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2801 # exchange for not incurring the 2s delay for running the test for all
   2802 # packages.
   2803 #
   2804 am_try_resolutions=
   2805 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2806   # Even a millisecond often causes a bunch of false positives,
   2807   # so just try a hundredth of a second. The time saved between .001 and
   2808   # .01 is not terribly consequential.
   2809   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2810 fi
   2811 
   2812 # In order to catch current-generation FAT out, we must *modify* files
   2813 # that already exist; the *creation* timestamp is finer.  Use names
   2814 # that make ls -t sort them differently when they have equal
   2815 # timestamps than when they have distinct timestamps, keeping
   2816 # in mind that ls -t prints the *newest* file first.
   2817 rm -f conftest.ts?
   2818 : > conftest.ts1
   2819 : > conftest.ts2
   2820 : > conftest.ts3
   2821 
   2822 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2823 # clobber the current shell's arguments. (Outer-level square brackets
   2824 # are removed by m4; they're present so that m4 does not expand
   2825 # <dollar><star>; be careful, easy to get confused.)
   2826 if (
   2827      set X `ls -t conftest.ts[12]` &&
   2828      {
   2829        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2830        test "$*" != "X conftest.ts2 conftest.ts1";
   2831      }
   2832 ); then :; else
   2833   # If neither matched, then we have a broken ls.  This can happen
   2834   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2835   # broken ls alias from the environment.  This has actually
   2836   # happened.  Such a system could not be considered "sane".
   2837   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2838   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2839 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2840 as_fn_error $? "ls -t produces unexpected output.
   2841 Make sure there is not a broken ls alias in your environment.
   2842 See 'config.log' for more details" "$LINENO" 5; }
   2843 fi
   2844 
   2845 for am_try_res in $am_try_resolutions; do
   2846   # Any one fine-grained sleep might happen to cross the boundary
   2847   # between two values of a coarser actual resolution, but if we do
   2848   # two fine-grained sleeps in a row, at least one of them will fall
   2849   # entirely within a coarse interval.
   2850   echo alpha > conftest.ts1
   2851   sleep $am_try_res
   2852   echo beta > conftest.ts2
   2853   sleep $am_try_res
   2854   echo gamma > conftest.ts3
   2855 
   2856   # We assume that 'ls -t' will make use of high-resolution
   2857   # timestamps if the operating system supports them at all.
   2858   if (set X `ls -t conftest.ts?` &&
   2859       test "$2" = conftest.ts3 &&
   2860       test "$3" = conftest.ts2 &&
   2861       test "$4" = conftest.ts1); then
   2862     #
   2863     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2864     # because we don't need to test make.
   2865     make_ok=true
   2866     if test $am_try_res != 1; then
   2867       # But if we've succeeded so far with a subsecond resolution, we
   2868       # have one more thing to check: make. It can happen that
   2869       # everything else supports the subsecond mtimes, but make doesn't;
   2870       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2871       # released under GPLv2). https://bugs.gnu.org/68808
   2872       #
   2873       # We test $MAKE if it is defined in the environment, else "make".
   2874       # It might get overridden later, but our hope is that in practice
   2875       # it does not matter: it is the system "make" which is (by far)
   2876       # the most likely to be broken, whereas if the user overrides it,
   2877       # probably they did so with a better, or at least not worse, make.
   2878       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2879       #
   2880       # Create a Makefile (real tab character here):
   2881       rm -f conftest.mk
   2882       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2883       echo '	touch conftest.ts2' >>conftest.mk
   2884       #
   2885       # Now, running
   2886       #   touch conftest.ts1; touch conftest.ts2; make
   2887       # should touch ts1 because ts2 is newer. This could happen by luck,
   2888       # but most often, it will fail if make's support is insufficient. So
   2889       # test for several consecutive successes.
   2890       #
   2891       # (We reuse conftest.ts[12] because we still want to modify existing
   2892       # files, not create new ones, per above.)
   2893       n=0
   2894       make=${MAKE-make}
   2895       until test $n -eq 3; do
   2896         echo one > conftest.ts1
   2897         sleep $am_try_res
   2898         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2899         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2900           make_ok=false
   2901           break # out of $n loop
   2902         fi
   2903         n=`expr $n + 1`
   2904       done
   2905     fi
   2906     #
   2907     if $make_ok; then
   2908       # Everything we know to check worked out, so call this resolution good.
   2909       am_cv_filesystem_timestamp_resolution=$am_try_res
   2910       break # out of $am_try_res loop
   2911     fi
   2912     # Otherwise, we'll go on to check the next resolution.
   2913   fi
   2914 done
   2915 rm -f conftest.ts?
   2916 # (end _am_filesystem_timestamp_resolution)
   2917  ;;
   2918 esac
   2919 fi
   2920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2921 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2922 
   2923 # This check should not be cached, as it may vary across builds of
   2924 # different projects.
   2925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2926 printf %s "checking whether build environment is sane... " >&6; }
   2927 # Reject unsafe characters in $srcdir or the absolute working directory
   2928 # name.  Accept space and tab only in the latter.
   2929 am_lf='
   2930 '
   2931 case `pwd` in
   2932   *[\\\"\#\$\&\'\`$am_lf]*)
   2933     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2934 esac
   2935 case $srcdir in
   2936   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2937     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2938 esac
   2939 
   2940 # Do 'set' in a subshell so we don't clobber the current shell's
   2941 # arguments.  Must try -L first in case configure is actually a
   2942 # symlink; some systems play weird games with the mod time of symlinks
   2943 # (eg FreeBSD returns the mod time of the symlink's containing
   2944 # directory).
   2945 am_build_env_is_sane=no
   2946 am_has_slept=no
   2947 rm -f conftest.file
   2948 for am_try in 1 2; do
   2949   echo "timestamp, slept: $am_has_slept" > conftest.file
   2950   if (
   2951     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2952     if test "$*" = "X"; then
   2953       # -L didn't work.
   2954       set X `ls -t "$srcdir/configure" conftest.file`
   2955     fi
   2956     test "$2" = conftest.file
   2957   ); then
   2958     am_build_env_is_sane=yes
   2959     break
   2960   fi
   2961   # Just in case.
   2962   sleep "$am_cv_filesystem_timestamp_resolution"
   2963   am_has_slept=yes
   2964 done
   2965 
   2966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2967 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2968 if test "$am_build_env_is_sane" = no; then
   2969   as_fn_error $? "newly created file is older than distributed files!
   2970 Check your system clock" "$LINENO" 5
   2971 fi
   2972 
   2973 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2974 # generated files are strictly newer.
   2975 am_sleep_pid=
   2976 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2977 then :
   2978 
   2979 else case e in #(
   2980   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2981   am_sleep_pid=$!
   2982  ;;
   2983 esac
   2984 fi
   2985 
   2986 rm -f conftest.file
   2987 
   2988 test "$program_prefix" != NONE &&
   2989   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2990 # Use a double $ so make ignores it.
   2991 test "$program_suffix" != NONE &&
   2992   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2993 # Double any \ or $.
   2994 # By default was 's,x,x', remove it if useless.
   2995 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2996 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2997 
   2998 
   2999 # Expand $ac_aux_dir to an absolute path.
   3000 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3001 
   3002 
   3003   if test x"${MISSING+set}" != xset; then
   3004   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3005 fi
   3006 # Use eval to expand $SHELL
   3007 if eval "$MISSING --is-lightweight"; then
   3008   am_missing_run="$MISSING "
   3009 else
   3010   am_missing_run=
   3011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3012 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3013 fi
   3014 
   3015 if test x"${install_sh+set}" != xset; then
   3016   case $am_aux_dir in
   3017   *\ * | *\	*)
   3018     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3019   *)
   3020     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3021   esac
   3022 fi
   3023 
   3024 # Installed binaries are usually stripped using 'strip' when the user
   3025 # run "make install-strip".  However 'strip' might not be the right
   3026 # tool to use in cross-compilation environments, therefore Automake
   3027 # will honor the 'STRIP' environment variable to overrule this program.
   3028 if test "$cross_compiling" != no; then
   3029   if test -n "$ac_tool_prefix"; then
   3030   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3031 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3033 printf %s "checking for $ac_word... " >&6; }
   3034 if test ${ac_cv_prog_STRIP+y}
   3035 then :
   3036   printf %s "(cached) " >&6
   3037 else case e in #(
   3038   e) if test -n "$STRIP"; then
   3039   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3040 else
   3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3042 for as_dir in $PATH
   3043 do
   3044   IFS=$as_save_IFS
   3045   case $as_dir in #(((
   3046     '') as_dir=./ ;;
   3047     */) ;;
   3048     *) as_dir=$as_dir/ ;;
   3049   esac
   3050     for ac_exec_ext in '' $ac_executable_extensions; do
   3051   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3052     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3053     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3054     break 2
   3055   fi
   3056 done
   3057   done
   3058 IFS=$as_save_IFS
   3059 
   3060 fi ;;
   3061 esac
   3062 fi
   3063 STRIP=$ac_cv_prog_STRIP
   3064 if test -n "$STRIP"; then
   3065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3066 printf "%s\n" "$STRIP" >&6; }
   3067 else
   3068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3069 printf "%s\n" "no" >&6; }
   3070 fi
   3071 
   3072 
   3073 fi
   3074 if test -z "$ac_cv_prog_STRIP"; then
   3075   ac_ct_STRIP=$STRIP
   3076   # Extract the first word of "strip", so it can be a program name with args.
   3077 set dummy strip; ac_word=$2
   3078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3079 printf %s "checking for $ac_word... " >&6; }
   3080 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3081 then :
   3082   printf %s "(cached) " >&6
   3083 else case e in #(
   3084   e) if test -n "$ac_ct_STRIP"; then
   3085   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3086 else
   3087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3088 for as_dir in $PATH
   3089 do
   3090   IFS=$as_save_IFS
   3091   case $as_dir in #(((
   3092     '') as_dir=./ ;;
   3093     */) ;;
   3094     *) as_dir=$as_dir/ ;;
   3095   esac
   3096     for ac_exec_ext in '' $ac_executable_extensions; do
   3097   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3098     ac_cv_prog_ac_ct_STRIP="strip"
   3099     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3100     break 2
   3101   fi
   3102 done
   3103   done
   3104 IFS=$as_save_IFS
   3105 
   3106 fi ;;
   3107 esac
   3108 fi
   3109 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3110 if test -n "$ac_ct_STRIP"; then
   3111   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3112 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3113 else
   3114   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3115 printf "%s\n" "no" >&6; }
   3116 fi
   3117 
   3118   if test "x$ac_ct_STRIP" = x; then
   3119     STRIP=":"
   3120   else
   3121     case $cross_compiling:$ac_tool_warned in
   3122 yes:)
   3123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3124 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3125 ac_tool_warned=yes ;;
   3126 esac
   3127     STRIP=$ac_ct_STRIP
   3128   fi
   3129 else
   3130   STRIP="$ac_cv_prog_STRIP"
   3131 fi
   3132 
   3133 fi
   3134 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3135 
   3136 
   3137   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3138 printf %s "checking for a race-free mkdir -p... " >&6; }
   3139 if test -z "$MKDIR_P"; then
   3140   if test ${ac_cv_path_mkdir+y}
   3141 then :
   3142   printf %s "(cached) " >&6
   3143 else case e in #(
   3144   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3145 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3146 do
   3147   IFS=$as_save_IFS
   3148   case $as_dir in #(((
   3149     '') as_dir=./ ;;
   3150     */) ;;
   3151     *) as_dir=$as_dir/ ;;
   3152   esac
   3153     for ac_prog in mkdir gmkdir; do
   3154 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3155 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3156 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3157 	     'mkdir ('*'coreutils) '* | \
   3158 	     *'BusyBox '* | \
   3159 	     'mkdir (fileutils) '4.1*)
   3160 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3161 	       break 3;;
   3162 	   esac
   3163 	 done
   3164        done
   3165   done
   3166 IFS=$as_save_IFS
   3167  ;;
   3168 esac
   3169 fi
   3170 
   3171   test -d ./--version && rmdir ./--version
   3172   if test ${ac_cv_path_mkdir+y}; then
   3173     MKDIR_P="$ac_cv_path_mkdir -p"
   3174   else
   3175     # As a last resort, use plain mkdir -p,
   3176     # in the hope it doesn't have the bugs of ancient mkdir.
   3177     MKDIR_P='mkdir -p'
   3178   fi
   3179 fi
   3180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3181 printf "%s\n" "$MKDIR_P" >&6; }
   3182 
   3183 for ac_prog in gawk mawk nawk awk
   3184 do
   3185   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3186 set dummy $ac_prog; ac_word=$2
   3187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3188 printf %s "checking for $ac_word... " >&6; }
   3189 if test ${ac_cv_prog_AWK+y}
   3190 then :
   3191   printf %s "(cached) " >&6
   3192 else case e in #(
   3193   e) if test -n "$AWK"; then
   3194   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3195 else
   3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3197 for as_dir in $PATH
   3198 do
   3199   IFS=$as_save_IFS
   3200   case $as_dir in #(((
   3201     '') as_dir=./ ;;
   3202     */) ;;
   3203     *) as_dir=$as_dir/ ;;
   3204   esac
   3205     for ac_exec_ext in '' $ac_executable_extensions; do
   3206   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3207     ac_cv_prog_AWK="$ac_prog"
   3208     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3209     break 2
   3210   fi
   3211 done
   3212   done
   3213 IFS=$as_save_IFS
   3214 
   3215 fi ;;
   3216 esac
   3217 fi
   3218 AWK=$ac_cv_prog_AWK
   3219 if test -n "$AWK"; then
   3220   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3221 printf "%s\n" "$AWK" >&6; }
   3222 else
   3223   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3224 printf "%s\n" "no" >&6; }
   3225 fi
   3226 
   3227 
   3228   test -n "$AWK" && break
   3229 done
   3230 
   3231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3232 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3233 set x ${MAKE-make}
   3234 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3235 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3236 then :
   3237   printf %s "(cached) " >&6
   3238 else case e in #(
   3239   e) cat >conftest.make <<\_ACEOF
   3240 SHELL = /bin/sh
   3241 all:
   3242 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3243 _ACEOF
   3244 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3245 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3246   *@@@%%%=?*=@@@%%%*)
   3247     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3248   *)
   3249     eval ac_cv_prog_make_${ac_make}_set=no;;
   3250 esac
   3251 rm -f conftest.make ;;
   3252 esac
   3253 fi
   3254 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3256 printf "%s\n" "yes" >&6; }
   3257   SET_MAKE=
   3258 else
   3259   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3260 printf "%s\n" "no" >&6; }
   3261   SET_MAKE="MAKE=${MAKE-make}"
   3262 fi
   3263 
   3264 rm -rf .tst 2>/dev/null
   3265 mkdir .tst 2>/dev/null
   3266 if test -d .tst; then
   3267   am__leading_dot=.
   3268 else
   3269   am__leading_dot=_
   3270 fi
   3271 rmdir .tst 2>/dev/null
   3272 
   3273 AM_DEFAULT_VERBOSITY=1
   3274 # Check whether --enable-silent-rules was given.
   3275 if test ${enable_silent_rules+y}
   3276 then :
   3277   enableval=$enable_silent_rules;
   3278 fi
   3279 
   3280 am_make=${MAKE-make}
   3281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3282 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3283 if test ${am_cv_make_support_nested_variables+y}
   3284 then :
   3285   printf %s "(cached) " >&6
   3286 else case e in #(
   3287   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3288 BAR0=false
   3289 BAR1=true
   3290 V=1
   3291 am__doit:
   3292 	@$(TRUE)
   3293 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3294   am_cv_make_support_nested_variables=yes
   3295 else
   3296   am_cv_make_support_nested_variables=no
   3297 fi ;;
   3298 esac
   3299 fi
   3300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3301 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3302 AM_BACKSLASH='\'
   3303 
   3304 am__rm_f_notfound=
   3305 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3306 then :
   3307 
   3308 else case e in #(
   3309   e) am__rm_f_notfound='""' ;;
   3310 esac
   3311 fi
   3312 
   3313 
   3314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3315 printf %s "checking xargs -n works... " >&6; }
   3316 if test ${am_cv_xargs_n_works+y}
   3317 then :
   3318   printf %s "(cached) " >&6
   3319 else case e in #(
   3320   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3321 3"
   3322 then :
   3323   am_cv_xargs_n_works=yes
   3324 else case e in #(
   3325   e) am_cv_xargs_n_works=no ;;
   3326 esac
   3327 fi ;;
   3328 esac
   3329 fi
   3330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3331 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3332 if test "$am_cv_xargs_n_works" = yes
   3333 then :
   3334   am__xargs_n='xargs -n'
   3335 else case e in #(
   3336   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3337  ;;
   3338 esac
   3339 fi
   3340 
   3341 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3342   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3343   # is not polluted with repeated "-I."
   3344   am__isrc=' -I$(srcdir)'
   3345   # test to see if srcdir already configured
   3346   if test -f $srcdir/config.status; then
   3347     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3348   fi
   3349 fi
   3350 
   3351 # test whether we have cygpath
   3352 if test -z "$CYGPATH_W"; then
   3353   if (cygpath --version) >/dev/null 2>/dev/null; then
   3354     CYGPATH_W='cygpath -w'
   3355   else
   3356     CYGPATH_W=echo
   3357   fi
   3358 fi
   3359 
   3360 
   3361 # Define the identity of the package.
   3362  PACKAGE='xtrans'
   3363  VERSION='1.6.0'
   3364 
   3365 
   3366 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3367 
   3368 
   3369 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3370 
   3371 # Some tools Automake needs.
   3372 
   3373 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3374 
   3375 
   3376 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3377 
   3378 
   3379 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3380 
   3381 
   3382 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3383 
   3384 
   3385 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3386 
   3387 # For better backward compatibility.  To be removed once Automake 1.9.x
   3388 # dies out for good.  For more background, see:
   3389 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3390 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3391 mkdir_p='$(MKDIR_P)'
   3392 
   3393 # We need awk for the "check" target (and possibly the TAP driver).  The
   3394 # system "awk" is bad on some platforms.
   3395 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3396 # in the wild :-(  We should find a proper way to deprecate it ...
   3397 AMTAR='$${TAR-tar}'
   3398 
   3399 
   3400 # We'll loop over all known methods to create a tar archive until one works.
   3401 _am_tools='gnutar  pax cpio none'
   3402 
   3403 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3404 
   3405 
   3406 
   3407 
   3408 
   3409 # Variables for tags utilities; see am/tags.am
   3410 if test -z "$CTAGS"; then
   3411   CTAGS=ctags
   3412 fi
   3413 
   3414 if test -z "$ETAGS"; then
   3415   ETAGS=etags
   3416 fi
   3417 
   3418 if test -z "$CSCOPE"; then
   3419   CSCOPE=cscope
   3420 fi
   3421 
   3422 
   3423 
   3424 
   3425 
   3426 
   3427 
   3428 
   3429 # Require xorg-macros minimum of 1.12 for DocBook external references
   3430 
   3431 
   3432 
   3433 
   3434 
   3435 
   3436 
   3437 
   3438 
   3439 
   3440 
   3441 
   3442 
   3443 
   3444 
   3445 
   3446 
   3447 
   3448 
   3449 
   3450 DEPDIR="${am__leading_dot}deps"
   3451 
   3452 ac_config_commands="$ac_config_commands depfiles"
   3453 
   3454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3455 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3456 cat > confinc.mk << 'END'
   3457 am__doit:
   3458 	@echo this is the am__doit target >confinc.out
   3459 .PHONY: am__doit
   3460 END
   3461 am__include="#"
   3462 am__quote=
   3463 # BSD make does it like this.
   3464 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3465 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3466 echo 'include confinc.mk # ignored' > confmf.GNU
   3467 _am_result=no
   3468 for s in GNU BSD; do
   3469   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3470    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3471    ac_status=$?
   3472    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3473    (exit $ac_status); }
   3474   case $?:`cat confinc.out 2>/dev/null` in #(
   3475   '0:this is the am__doit target') :
   3476     case $s in #(
   3477   BSD) :
   3478     am__include='.include' am__quote='"' ;; #(
   3479   *) :
   3480     am__include='include' am__quote='' ;;
   3481 esac ;; #(
   3482   *) :
   3483      ;;
   3484 esac
   3485   if test "$am__include" != "#"; then
   3486     _am_result="yes ($s style)"
   3487     break
   3488   fi
   3489 done
   3490 rm -f confinc.* confmf.*
   3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3492 printf "%s\n" "${_am_result}" >&6; }
   3493 
   3494 # Check whether --enable-dependency-tracking was given.
   3495 if test ${enable_dependency_tracking+y}
   3496 then :
   3497   enableval=$enable_dependency_tracking;
   3498 fi
   3499 
   3500 if test "x$enable_dependency_tracking" != xno; then
   3501   am_depcomp="$ac_aux_dir/depcomp"
   3502   AMDEPBACKSLASH='\'
   3503   am__nodep='_no'
   3504 fi
   3505  if test "x$enable_dependency_tracking" != xno; then
   3506   AMDEP_TRUE=
   3507   AMDEP_FALSE='#'
   3508 else
   3509   AMDEP_TRUE='#'
   3510   AMDEP_FALSE=
   3511 fi
   3512 
   3513 
   3514 ac_ext=c
   3515 ac_cpp='$CPP $CPPFLAGS'
   3516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3519 if test -n "$ac_tool_prefix"; then
   3520   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3521 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3523 printf %s "checking for $ac_word... " >&6; }
   3524 if test ${ac_cv_prog_CC+y}
   3525 then :
   3526   printf %s "(cached) " >&6
   3527 else case e in #(
   3528   e) if test -n "$CC"; then
   3529   ac_cv_prog_CC="$CC" # Let the user override the test.
   3530 else
   3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3532 for as_dir in $PATH
   3533 do
   3534   IFS=$as_save_IFS
   3535   case $as_dir in #(((
   3536     '') as_dir=./ ;;
   3537     */) ;;
   3538     *) as_dir=$as_dir/ ;;
   3539   esac
   3540     for ac_exec_ext in '' $ac_executable_extensions; do
   3541   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3542     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3543     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3544     break 2
   3545   fi
   3546 done
   3547   done
   3548 IFS=$as_save_IFS
   3549 
   3550 fi ;;
   3551 esac
   3552 fi
   3553 CC=$ac_cv_prog_CC
   3554 if test -n "$CC"; then
   3555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3556 printf "%s\n" "$CC" >&6; }
   3557 else
   3558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3559 printf "%s\n" "no" >&6; }
   3560 fi
   3561 
   3562 
   3563 fi
   3564 if test -z "$ac_cv_prog_CC"; then
   3565   ac_ct_CC=$CC
   3566   # Extract the first word of "gcc", so it can be a program name with args.
   3567 set dummy gcc; ac_word=$2
   3568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3569 printf %s "checking for $ac_word... " >&6; }
   3570 if test ${ac_cv_prog_ac_ct_CC+y}
   3571 then :
   3572   printf %s "(cached) " >&6
   3573 else case e in #(
   3574   e) if test -n "$ac_ct_CC"; then
   3575   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3576 else
   3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3578 for as_dir in $PATH
   3579 do
   3580   IFS=$as_save_IFS
   3581   case $as_dir in #(((
   3582     '') as_dir=./ ;;
   3583     */) ;;
   3584     *) as_dir=$as_dir/ ;;
   3585   esac
   3586     for ac_exec_ext in '' $ac_executable_extensions; do
   3587   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3588     ac_cv_prog_ac_ct_CC="gcc"
   3589     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3590     break 2
   3591   fi
   3592 done
   3593   done
   3594 IFS=$as_save_IFS
   3595 
   3596 fi ;;
   3597 esac
   3598 fi
   3599 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3600 if test -n "$ac_ct_CC"; then
   3601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3602 printf "%s\n" "$ac_ct_CC" >&6; }
   3603 else
   3604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3605 printf "%s\n" "no" >&6; }
   3606 fi
   3607 
   3608   if test "x$ac_ct_CC" = x; then
   3609     CC=""
   3610   else
   3611     case $cross_compiling:$ac_tool_warned in
   3612 yes:)
   3613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3614 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3615 ac_tool_warned=yes ;;
   3616 esac
   3617     CC=$ac_ct_CC
   3618   fi
   3619 else
   3620   CC="$ac_cv_prog_CC"
   3621 fi
   3622 
   3623 if test -z "$CC"; then
   3624           if test -n "$ac_tool_prefix"; then
   3625     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3626 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3628 printf %s "checking for $ac_word... " >&6; }
   3629 if test ${ac_cv_prog_CC+y}
   3630 then :
   3631   printf %s "(cached) " >&6
   3632 else case e in #(
   3633   e) if test -n "$CC"; then
   3634   ac_cv_prog_CC="$CC" # Let the user override the test.
   3635 else
   3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3637 for as_dir in $PATH
   3638 do
   3639   IFS=$as_save_IFS
   3640   case $as_dir in #(((
   3641     '') as_dir=./ ;;
   3642     */) ;;
   3643     *) as_dir=$as_dir/ ;;
   3644   esac
   3645     for ac_exec_ext in '' $ac_executable_extensions; do
   3646   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3647     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3648     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3649     break 2
   3650   fi
   3651 done
   3652   done
   3653 IFS=$as_save_IFS
   3654 
   3655 fi ;;
   3656 esac
   3657 fi
   3658 CC=$ac_cv_prog_CC
   3659 if test -n "$CC"; then
   3660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3661 printf "%s\n" "$CC" >&6; }
   3662 else
   3663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3664 printf "%s\n" "no" >&6; }
   3665 fi
   3666 
   3667 
   3668   fi
   3669 fi
   3670 if test -z "$CC"; then
   3671   # Extract the first word of "cc", so it can be a program name with args.
   3672 set dummy cc; ac_word=$2
   3673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3674 printf %s "checking for $ac_word... " >&6; }
   3675 if test ${ac_cv_prog_CC+y}
   3676 then :
   3677   printf %s "(cached) " >&6
   3678 else case e in #(
   3679   e) if test -n "$CC"; then
   3680   ac_cv_prog_CC="$CC" # Let the user override the test.
   3681 else
   3682   ac_prog_rejected=no
   3683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3684 for as_dir in $PATH
   3685 do
   3686   IFS=$as_save_IFS
   3687   case $as_dir in #(((
   3688     '') as_dir=./ ;;
   3689     */) ;;
   3690     *) as_dir=$as_dir/ ;;
   3691   esac
   3692     for ac_exec_ext in '' $ac_executable_extensions; do
   3693   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3694     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3695        ac_prog_rejected=yes
   3696        continue
   3697      fi
   3698     ac_cv_prog_CC="cc"
   3699     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3700     break 2
   3701   fi
   3702 done
   3703   done
   3704 IFS=$as_save_IFS
   3705 
   3706 if test $ac_prog_rejected = yes; then
   3707   # We found a bogon in the path, so make sure we never use it.
   3708   set dummy $ac_cv_prog_CC
   3709   shift
   3710   if test $# != 0; then
   3711     # We chose a different compiler from the bogus one.
   3712     # However, it has the same basename, so the bogon will be chosen
   3713     # first if we set CC to just the basename; use the full file name.
   3714     shift
   3715     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3716   fi
   3717 fi
   3718 fi ;;
   3719 esac
   3720 fi
   3721 CC=$ac_cv_prog_CC
   3722 if test -n "$CC"; then
   3723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3724 printf "%s\n" "$CC" >&6; }
   3725 else
   3726   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3727 printf "%s\n" "no" >&6; }
   3728 fi
   3729 
   3730 
   3731 fi
   3732 if test -z "$CC"; then
   3733   if test -n "$ac_tool_prefix"; then
   3734   for ac_prog in cl.exe
   3735   do
   3736     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3739 printf %s "checking for $ac_word... " >&6; }
   3740 if test ${ac_cv_prog_CC+y}
   3741 then :
   3742   printf %s "(cached) " >&6
   3743 else case e in #(
   3744   e) if test -n "$CC"; then
   3745   ac_cv_prog_CC="$CC" # Let the user override the test.
   3746 else
   3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3748 for as_dir in $PATH
   3749 do
   3750   IFS=$as_save_IFS
   3751   case $as_dir in #(((
   3752     '') as_dir=./ ;;
   3753     */) ;;
   3754     *) as_dir=$as_dir/ ;;
   3755   esac
   3756     for ac_exec_ext in '' $ac_executable_extensions; do
   3757   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3758     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3759     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3760     break 2
   3761   fi
   3762 done
   3763   done
   3764 IFS=$as_save_IFS
   3765 
   3766 fi ;;
   3767 esac
   3768 fi
   3769 CC=$ac_cv_prog_CC
   3770 if test -n "$CC"; then
   3771   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3772 printf "%s\n" "$CC" >&6; }
   3773 else
   3774   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3775 printf "%s\n" "no" >&6; }
   3776 fi
   3777 
   3778 
   3779     test -n "$CC" && break
   3780   done
   3781 fi
   3782 if test -z "$CC"; then
   3783   ac_ct_CC=$CC
   3784   for ac_prog in cl.exe
   3785 do
   3786   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3787 set dummy $ac_prog; ac_word=$2
   3788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3789 printf %s "checking for $ac_word... " >&6; }
   3790 if test ${ac_cv_prog_ac_ct_CC+y}
   3791 then :
   3792   printf %s "(cached) " >&6
   3793 else case e in #(
   3794   e) if test -n "$ac_ct_CC"; then
   3795   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3796 else
   3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3798 for as_dir in $PATH
   3799 do
   3800   IFS=$as_save_IFS
   3801   case $as_dir in #(((
   3802     '') as_dir=./ ;;
   3803     */) ;;
   3804     *) as_dir=$as_dir/ ;;
   3805   esac
   3806     for ac_exec_ext in '' $ac_executable_extensions; do
   3807   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3808     ac_cv_prog_ac_ct_CC="$ac_prog"
   3809     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3810     break 2
   3811   fi
   3812 done
   3813   done
   3814 IFS=$as_save_IFS
   3815 
   3816 fi ;;
   3817 esac
   3818 fi
   3819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3820 if test -n "$ac_ct_CC"; then
   3821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3822 printf "%s\n" "$ac_ct_CC" >&6; }
   3823 else
   3824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3825 printf "%s\n" "no" >&6; }
   3826 fi
   3827 
   3828 
   3829   test -n "$ac_ct_CC" && break
   3830 done
   3831 
   3832   if test "x$ac_ct_CC" = x; then
   3833     CC=""
   3834   else
   3835     case $cross_compiling:$ac_tool_warned in
   3836 yes:)
   3837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3838 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3839 ac_tool_warned=yes ;;
   3840 esac
   3841     CC=$ac_ct_CC
   3842   fi
   3843 fi
   3844 
   3845 fi
   3846 if test -z "$CC"; then
   3847   if test -n "$ac_tool_prefix"; then
   3848   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3849 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3851 printf %s "checking for $ac_word... " >&6; }
   3852 if test ${ac_cv_prog_CC+y}
   3853 then :
   3854   printf %s "(cached) " >&6
   3855 else case e in #(
   3856   e) if test -n "$CC"; then
   3857   ac_cv_prog_CC="$CC" # Let the user override the test.
   3858 else
   3859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3860 for as_dir in $PATH
   3861 do
   3862   IFS=$as_save_IFS
   3863   case $as_dir in #(((
   3864     '') as_dir=./ ;;
   3865     */) ;;
   3866     *) as_dir=$as_dir/ ;;
   3867   esac
   3868     for ac_exec_ext in '' $ac_executable_extensions; do
   3869   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3870     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3871     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3872     break 2
   3873   fi
   3874 done
   3875   done
   3876 IFS=$as_save_IFS
   3877 
   3878 fi ;;
   3879 esac
   3880 fi
   3881 CC=$ac_cv_prog_CC
   3882 if test -n "$CC"; then
   3883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3884 printf "%s\n" "$CC" >&6; }
   3885 else
   3886   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3887 printf "%s\n" "no" >&6; }
   3888 fi
   3889 
   3890 
   3891 fi
   3892 if test -z "$ac_cv_prog_CC"; then
   3893   ac_ct_CC=$CC
   3894   # Extract the first word of "clang", so it can be a program name with args.
   3895 set dummy clang; ac_word=$2
   3896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3897 printf %s "checking for $ac_word... " >&6; }
   3898 if test ${ac_cv_prog_ac_ct_CC+y}
   3899 then :
   3900   printf %s "(cached) " >&6
   3901 else case e in #(
   3902   e) if test -n "$ac_ct_CC"; then
   3903   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3904 else
   3905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3906 for as_dir in $PATH
   3907 do
   3908   IFS=$as_save_IFS
   3909   case $as_dir in #(((
   3910     '') as_dir=./ ;;
   3911     */) ;;
   3912     *) as_dir=$as_dir/ ;;
   3913   esac
   3914     for ac_exec_ext in '' $ac_executable_extensions; do
   3915   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3916     ac_cv_prog_ac_ct_CC="clang"
   3917     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3918     break 2
   3919   fi
   3920 done
   3921   done
   3922 IFS=$as_save_IFS
   3923 
   3924 fi ;;
   3925 esac
   3926 fi
   3927 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3928 if test -n "$ac_ct_CC"; then
   3929   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3930 printf "%s\n" "$ac_ct_CC" >&6; }
   3931 else
   3932   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3933 printf "%s\n" "no" >&6; }
   3934 fi
   3935 
   3936   if test "x$ac_ct_CC" = x; then
   3937     CC=""
   3938   else
   3939     case $cross_compiling:$ac_tool_warned in
   3940 yes:)
   3941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3942 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3943 ac_tool_warned=yes ;;
   3944 esac
   3945     CC=$ac_ct_CC
   3946   fi
   3947 else
   3948   CC="$ac_cv_prog_CC"
   3949 fi
   3950 
   3951 fi
   3952 
   3953 
   3954 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3955 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3956 as_fn_error $? "no acceptable C compiler found in \$PATH
   3957 See 'config.log' for more details" "$LINENO" 5; }
   3958 
   3959 # Provide some information about the compiler.
   3960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3961 set X $ac_compile
   3962 ac_compiler=$2
   3963 for ac_option in --version -v -V -qversion -version; do
   3964   { { ac_try="$ac_compiler $ac_option >&5"
   3965 case "(($ac_try" in
   3966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3967   *) ac_try_echo=$ac_try;;
   3968 esac
   3969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3970 printf "%s\n" "$ac_try_echo"; } >&5
   3971   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3972   ac_status=$?
   3973   if test -s conftest.err; then
   3974     sed '10a\
   3975 ... rest of stderr output deleted ...
   3976          10q' conftest.err >conftest.er1
   3977     cat conftest.er1 >&5
   3978   fi
   3979   rm -f conftest.er1 conftest.err
   3980   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3981   test $ac_status = 0; }
   3982 done
   3983 
   3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3985 /* end confdefs.h.  */
   3986 
   3987 int
   3988 main (void)
   3989 {
   3990 
   3991   ;
   3992   return 0;
   3993 }
   3994 _ACEOF
   3995 ac_clean_files_save=$ac_clean_files
   3996 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3997 # Try to create an executable without -o first, disregard a.out.
   3998 # It will help us diagnose broken compilers, and finding out an intuition
   3999 # of exeext.
   4000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4001 printf %s "checking whether the C compiler works... " >&6; }
   4002 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4003 
   4004 # The possible output files:
   4005 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4006 
   4007 ac_rmfiles=
   4008 for ac_file in $ac_files
   4009 do
   4010   case $ac_file in
   4011     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4012     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4013   esac
   4014 done
   4015 rm -f $ac_rmfiles
   4016 
   4017 if { { ac_try="$ac_link_default"
   4018 case "(($ac_try" in
   4019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4020   *) ac_try_echo=$ac_try;;
   4021 esac
   4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4023 printf "%s\n" "$ac_try_echo"; } >&5
   4024   (eval "$ac_link_default") 2>&5
   4025   ac_status=$?
   4026   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4027   test $ac_status = 0; }
   4028 then :
   4029   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4030 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4031 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4032 # so that the user can short-circuit this test for compilers unknown to
   4033 # Autoconf.
   4034 for ac_file in $ac_files ''
   4035 do
   4036   test -f "$ac_file" || continue
   4037   case $ac_file in
   4038     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4039 	;;
   4040     [ab].out )
   4041 	# We found the default executable, but exeext='' is most
   4042 	# certainly right.
   4043 	break;;
   4044     *.* )
   4045 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4046 	then :; else
   4047 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4048 	fi
   4049 	# We set ac_cv_exeext here because the later test for it is not
   4050 	# safe: cross compilers may not add the suffix if given an '-o'
   4051 	# argument, so we may need to know it at that point already.
   4052 	# Even if this section looks crufty: it has the advantage of
   4053 	# actually working.
   4054 	break;;
   4055     * )
   4056 	break;;
   4057   esac
   4058 done
   4059 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4060 
   4061 else case e in #(
   4062   e) ac_file='' ;;
   4063 esac
   4064 fi
   4065 if test -z "$ac_file"
   4066 then :
   4067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4068 printf "%s\n" "no" >&6; }
   4069 printf "%s\n" "$as_me: failed program was:" >&5
   4070 sed 's/^/| /' conftest.$ac_ext >&5
   4071 
   4072 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4073 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4074 as_fn_error 77 "C compiler cannot create executables
   4075 See 'config.log' for more details" "$LINENO" 5; }
   4076 else case e in #(
   4077   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4078 printf "%s\n" "yes" >&6; } ;;
   4079 esac
   4080 fi
   4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4082 printf %s "checking for C compiler default output file name... " >&6; }
   4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4084 printf "%s\n" "$ac_file" >&6; }
   4085 ac_exeext=$ac_cv_exeext
   4086 
   4087 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4088 ac_clean_files=$ac_clean_files_save
   4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4090 printf %s "checking for suffix of executables... " >&6; }
   4091 if { { ac_try="$ac_link"
   4092 case "(($ac_try" in
   4093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4094   *) ac_try_echo=$ac_try;;
   4095 esac
   4096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4097 printf "%s\n" "$ac_try_echo"; } >&5
   4098   (eval "$ac_link") 2>&5
   4099   ac_status=$?
   4100   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4101   test $ac_status = 0; }
   4102 then :
   4103   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4104 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4105 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4106 # 'rm'.
   4107 for ac_file in conftest.exe conftest conftest.*; do
   4108   test -f "$ac_file" || continue
   4109   case $ac_file in
   4110     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4111     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4112 	  break;;
   4113     * ) break;;
   4114   esac
   4115 done
   4116 else case e in #(
   4117   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4118 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4119 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4120 See 'config.log' for more details" "$LINENO" 5; } ;;
   4121 esac
   4122 fi
   4123 rm -f conftest conftest$ac_cv_exeext
   4124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4125 printf "%s\n" "$ac_cv_exeext" >&6; }
   4126 
   4127 rm -f conftest.$ac_ext
   4128 EXEEXT=$ac_cv_exeext
   4129 ac_exeext=$EXEEXT
   4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4131 /* end confdefs.h.  */
   4132 #include <stdio.h>
   4133 int
   4134 main (void)
   4135 {
   4136 FILE *f = fopen ("conftest.out", "w");
   4137  if (!f)
   4138   return 1;
   4139  return ferror (f) || fclose (f) != 0;
   4140 
   4141   ;
   4142   return 0;
   4143 }
   4144 _ACEOF
   4145 ac_clean_files="$ac_clean_files conftest.out"
   4146 # Check that the compiler produces executables we can run.  If not, either
   4147 # the compiler is broken, or we cross compile.
   4148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4149 printf %s "checking whether we are cross compiling... " >&6; }
   4150 if test "$cross_compiling" != yes; then
   4151   { { ac_try="$ac_link"
   4152 case "(($ac_try" in
   4153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4154   *) ac_try_echo=$ac_try;;
   4155 esac
   4156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4157 printf "%s\n" "$ac_try_echo"; } >&5
   4158   (eval "$ac_link") 2>&5
   4159   ac_status=$?
   4160   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4161   test $ac_status = 0; }
   4162   if { ac_try='./conftest$ac_cv_exeext'
   4163   { { case "(($ac_try" in
   4164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4165   *) ac_try_echo=$ac_try;;
   4166 esac
   4167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4168 printf "%s\n" "$ac_try_echo"; } >&5
   4169   (eval "$ac_try") 2>&5
   4170   ac_status=$?
   4171   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4172   test $ac_status = 0; }; }; then
   4173     cross_compiling=no
   4174   else
   4175     if test "$cross_compiling" = maybe; then
   4176 	cross_compiling=yes
   4177     else
   4178 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4179 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4180 as_fn_error 77 "cannot run C compiled programs.
   4181 If you meant to cross compile, use '--host'.
   4182 See 'config.log' for more details" "$LINENO" 5; }
   4183     fi
   4184   fi
   4185 fi
   4186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4187 printf "%s\n" "$cross_compiling" >&6; }
   4188 
   4189 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4190   conftest.o conftest.obj conftest.out
   4191 ac_clean_files=$ac_clean_files_save
   4192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4193 printf %s "checking for suffix of object files... " >&6; }
   4194 if test ${ac_cv_objext+y}
   4195 then :
   4196   printf %s "(cached) " >&6
   4197 else case e in #(
   4198   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4199 /* end confdefs.h.  */
   4200 
   4201 int
   4202 main (void)
   4203 {
   4204 
   4205   ;
   4206   return 0;
   4207 }
   4208 _ACEOF
   4209 rm -f conftest.o conftest.obj
   4210 if { { ac_try="$ac_compile"
   4211 case "(($ac_try" in
   4212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4213   *) ac_try_echo=$ac_try;;
   4214 esac
   4215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4216 printf "%s\n" "$ac_try_echo"; } >&5
   4217   (eval "$ac_compile") 2>&5
   4218   ac_status=$?
   4219   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4220   test $ac_status = 0; }
   4221 then :
   4222   for ac_file in conftest.o conftest.obj conftest.*; do
   4223   test -f "$ac_file" || continue;
   4224   case $ac_file in
   4225     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4226     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4227        break;;
   4228   esac
   4229 done
   4230 else case e in #(
   4231   e) printf "%s\n" "$as_me: failed program was:" >&5
   4232 sed 's/^/| /' conftest.$ac_ext >&5
   4233 
   4234 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4235 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4236 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4237 See 'config.log' for more details" "$LINENO" 5; } ;;
   4238 esac
   4239 fi
   4240 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4241 esac
   4242 fi
   4243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4244 printf "%s\n" "$ac_cv_objext" >&6; }
   4245 OBJEXT=$ac_cv_objext
   4246 ac_objext=$OBJEXT
   4247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4248 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4249 if test ${ac_cv_c_compiler_gnu+y}
   4250 then :
   4251   printf %s "(cached) " >&6
   4252 else case e in #(
   4253   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4254 /* end confdefs.h.  */
   4255 
   4256 int
   4257 main (void)
   4258 {
   4259 #ifndef __GNUC__
   4260        choke me
   4261 #endif
   4262 
   4263   ;
   4264   return 0;
   4265 }
   4266 _ACEOF
   4267 if ac_fn_c_try_compile "$LINENO"
   4268 then :
   4269   ac_compiler_gnu=yes
   4270 else case e in #(
   4271   e) ac_compiler_gnu=no ;;
   4272 esac
   4273 fi
   4274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4275 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4276  ;;
   4277 esac
   4278 fi
   4279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4280 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4282 
   4283 if test $ac_compiler_gnu = yes; then
   4284   GCC=yes
   4285 else
   4286   GCC=
   4287 fi
   4288 ac_test_CFLAGS=${CFLAGS+y}
   4289 ac_save_CFLAGS=$CFLAGS
   4290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4291 printf %s "checking whether $CC accepts -g... " >&6; }
   4292 if test ${ac_cv_prog_cc_g+y}
   4293 then :
   4294   printf %s "(cached) " >&6
   4295 else case e in #(
   4296   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4297    ac_c_werror_flag=yes
   4298    ac_cv_prog_cc_g=no
   4299    CFLAGS="-g"
   4300    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4301 /* end confdefs.h.  */
   4302 
   4303 int
   4304 main (void)
   4305 {
   4306 
   4307   ;
   4308   return 0;
   4309 }
   4310 _ACEOF
   4311 if ac_fn_c_try_compile "$LINENO"
   4312 then :
   4313   ac_cv_prog_cc_g=yes
   4314 else case e in #(
   4315   e) CFLAGS=""
   4316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4317 /* end confdefs.h.  */
   4318 
   4319 int
   4320 main (void)
   4321 {
   4322 
   4323   ;
   4324   return 0;
   4325 }
   4326 _ACEOF
   4327 if ac_fn_c_try_compile "$LINENO"
   4328 then :
   4329 
   4330 else case e in #(
   4331   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4332 	 CFLAGS="-g"
   4333 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4334 /* end confdefs.h.  */
   4335 
   4336 int
   4337 main (void)
   4338 {
   4339 
   4340   ;
   4341   return 0;
   4342 }
   4343 _ACEOF
   4344 if ac_fn_c_try_compile "$LINENO"
   4345 then :
   4346   ac_cv_prog_cc_g=yes
   4347 fi
   4348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4349 esac
   4350 fi
   4351 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4352 esac
   4353 fi
   4354 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4355    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4356 esac
   4357 fi
   4358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4359 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4360 if test $ac_test_CFLAGS; then
   4361   CFLAGS=$ac_save_CFLAGS
   4362 elif test $ac_cv_prog_cc_g = yes; then
   4363   if test "$GCC" = yes; then
   4364     CFLAGS="-g -O2"
   4365   else
   4366     CFLAGS="-g"
   4367   fi
   4368 else
   4369   if test "$GCC" = yes; then
   4370     CFLAGS="-O2"
   4371   else
   4372     CFLAGS=
   4373   fi
   4374 fi
   4375 ac_prog_cc_stdc=no
   4376 if test x$ac_prog_cc_stdc = xno
   4377 then :
   4378   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4379 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4380 if test ${ac_cv_prog_cc_c11+y}
   4381 then :
   4382   printf %s "(cached) " >&6
   4383 else case e in #(
   4384   e) ac_cv_prog_cc_c11=no
   4385 ac_save_CC=$CC
   4386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4387 /* end confdefs.h.  */
   4388 $ac_c_conftest_c11_program
   4389 _ACEOF
   4390 for ac_arg in '' -std=gnu11
   4391 do
   4392   CC="$ac_save_CC $ac_arg"
   4393   if ac_fn_c_try_compile "$LINENO"
   4394 then :
   4395   ac_cv_prog_cc_c11=$ac_arg
   4396 fi
   4397 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4398   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4399 done
   4400 rm -f conftest.$ac_ext
   4401 CC=$ac_save_CC ;;
   4402 esac
   4403 fi
   4404 
   4405 if test "x$ac_cv_prog_cc_c11" = xno
   4406 then :
   4407   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4408 printf "%s\n" "unsupported" >&6; }
   4409 else case e in #(
   4410   e) if test "x$ac_cv_prog_cc_c11" = x
   4411 then :
   4412   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4413 printf "%s\n" "none needed" >&6; }
   4414 else case e in #(
   4415   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4416 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4417      CC="$CC $ac_cv_prog_cc_c11" ;;
   4418 esac
   4419 fi
   4420   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4421   ac_prog_cc_stdc=c11 ;;
   4422 esac
   4423 fi
   4424 fi
   4425 if test x$ac_prog_cc_stdc = xno
   4426 then :
   4427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4428 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4429 if test ${ac_cv_prog_cc_c99+y}
   4430 then :
   4431   printf %s "(cached) " >&6
   4432 else case e in #(
   4433   e) ac_cv_prog_cc_c99=no
   4434 ac_save_CC=$CC
   4435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4436 /* end confdefs.h.  */
   4437 $ac_c_conftest_c99_program
   4438 _ACEOF
   4439 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4440 do
   4441   CC="$ac_save_CC $ac_arg"
   4442   if ac_fn_c_try_compile "$LINENO"
   4443 then :
   4444   ac_cv_prog_cc_c99=$ac_arg
   4445 fi
   4446 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4447   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4448 done
   4449 rm -f conftest.$ac_ext
   4450 CC=$ac_save_CC ;;
   4451 esac
   4452 fi
   4453 
   4454 if test "x$ac_cv_prog_cc_c99" = xno
   4455 then :
   4456   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4457 printf "%s\n" "unsupported" >&6; }
   4458 else case e in #(
   4459   e) if test "x$ac_cv_prog_cc_c99" = x
   4460 then :
   4461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4462 printf "%s\n" "none needed" >&6; }
   4463 else case e in #(
   4464   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4465 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4466      CC="$CC $ac_cv_prog_cc_c99" ;;
   4467 esac
   4468 fi
   4469   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4470   ac_prog_cc_stdc=c99 ;;
   4471 esac
   4472 fi
   4473 fi
   4474 if test x$ac_prog_cc_stdc = xno
   4475 then :
   4476   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4477 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4478 if test ${ac_cv_prog_cc_c89+y}
   4479 then :
   4480   printf %s "(cached) " >&6
   4481 else case e in #(
   4482   e) ac_cv_prog_cc_c89=no
   4483 ac_save_CC=$CC
   4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4485 /* end confdefs.h.  */
   4486 $ac_c_conftest_c89_program
   4487 _ACEOF
   4488 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4489 do
   4490   CC="$ac_save_CC $ac_arg"
   4491   if ac_fn_c_try_compile "$LINENO"
   4492 then :
   4493   ac_cv_prog_cc_c89=$ac_arg
   4494 fi
   4495 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4496   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4497 done
   4498 rm -f conftest.$ac_ext
   4499 CC=$ac_save_CC ;;
   4500 esac
   4501 fi
   4502 
   4503 if test "x$ac_cv_prog_cc_c89" = xno
   4504 then :
   4505   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4506 printf "%s\n" "unsupported" >&6; }
   4507 else case e in #(
   4508   e) if test "x$ac_cv_prog_cc_c89" = x
   4509 then :
   4510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4511 printf "%s\n" "none needed" >&6; }
   4512 else case e in #(
   4513   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4514 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4515      CC="$CC $ac_cv_prog_cc_c89" ;;
   4516 esac
   4517 fi
   4518   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4519   ac_prog_cc_stdc=c89 ;;
   4520 esac
   4521 fi
   4522 fi
   4523 
   4524 ac_ext=c
   4525 ac_cpp='$CPP $CPPFLAGS'
   4526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4529 
   4530 
   4531   ac_ext=c
   4532 ac_cpp='$CPP $CPPFLAGS'
   4533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4537 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4538 if test ${am_cv_prog_cc_c_o+y}
   4539 then :
   4540   printf %s "(cached) " >&6
   4541 else case e in #(
   4542   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4543 /* end confdefs.h.  */
   4544 
   4545 int
   4546 main (void)
   4547 {
   4548 
   4549   ;
   4550   return 0;
   4551 }
   4552 _ACEOF
   4553   # Make sure it works both with $CC and with simple cc.
   4554   # Following AC_PROG_CC_C_O, we do the test twice because some
   4555   # compilers refuse to overwrite an existing .o file with -o,
   4556   # though they will create one.
   4557   am_cv_prog_cc_c_o=yes
   4558   for am_i in 1 2; do
   4559     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4560    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4561    ac_status=$?
   4562    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4563    (exit $ac_status); } \
   4564          && test -f conftest2.$ac_objext; then
   4565       : OK
   4566     else
   4567       am_cv_prog_cc_c_o=no
   4568       break
   4569     fi
   4570   done
   4571   rm -f core conftest*
   4572   unset am_i ;;
   4573 esac
   4574 fi
   4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4576 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4577 if test "$am_cv_prog_cc_c_o" != yes; then
   4578    # Losing compiler, so override with the script.
   4579    # FIXME: It is wrong to rewrite CC.
   4580    # But if we don't then we get into trouble of one sort or another.
   4581    # A longer-term fix would be to have automake use am__CC in this case,
   4582    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4583    CC="$am_aux_dir/compile $CC"
   4584 fi
   4585 ac_ext=c
   4586 ac_cpp='$CPP $CPPFLAGS'
   4587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4590 
   4591 
   4592 depcc="$CC"   am_compiler_list=
   4593 
   4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4595 printf %s "checking dependency style of $depcc... " >&6; }
   4596 if test ${am_cv_CC_dependencies_compiler_type+y}
   4597 then :
   4598   printf %s "(cached) " >&6
   4599 else case e in #(
   4600   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4601   # We make a subdir and do the tests there.  Otherwise we can end up
   4602   # making bogus files that we don't know about and never remove.  For
   4603   # instance it was reported that on HP-UX the gcc test will end up
   4604   # making a dummy file named 'D' -- because '-MD' means "put the output
   4605   # in D".
   4606   rm -rf conftest.dir
   4607   mkdir conftest.dir
   4608   # Copy depcomp to subdir because otherwise we won't find it if we're
   4609   # using a relative directory.
   4610   cp "$am_depcomp" conftest.dir
   4611   cd conftest.dir
   4612   # We will build objects and dependencies in a subdirectory because
   4613   # it helps to detect inapplicable dependency modes.  For instance
   4614   # both Tru64's cc and ICC support -MD to output dependencies as a
   4615   # side effect of compilation, but ICC will put the dependencies in
   4616   # the current directory while Tru64 will put them in the object
   4617   # directory.
   4618   mkdir sub
   4619 
   4620   am_cv_CC_dependencies_compiler_type=none
   4621   if test "$am_compiler_list" = ""; then
   4622      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4623   fi
   4624   am__universal=false
   4625   case " $depcc " in #(
   4626      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4627      esac
   4628 
   4629   for depmode in $am_compiler_list; do
   4630     # Setup a source with many dependencies, because some compilers
   4631     # like to wrap large dependency lists on column 80 (with \), and
   4632     # we should not choose a depcomp mode which is confused by this.
   4633     #
   4634     # We need to recreate these files for each test, as the compiler may
   4635     # overwrite some of them when testing with obscure command lines.
   4636     # This happens at least with the AIX C compiler.
   4637     : > sub/conftest.c
   4638     for i in 1 2 3 4 5 6; do
   4639       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4640       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4641       # Solaris 10 /bin/sh.
   4642       echo '/* dummy */' > sub/conftst$i.h
   4643     done
   4644     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4645 
   4646     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4647     # mode.  It turns out that the SunPro C++ compiler does not properly
   4648     # handle '-M -o', and we need to detect this.  Also, some Intel
   4649     # versions had trouble with output in subdirs.
   4650     am__obj=sub/conftest.${OBJEXT-o}
   4651     am__minus_obj="-o $am__obj"
   4652     case $depmode in
   4653     gcc)
   4654       # This depmode causes a compiler race in universal mode.
   4655       test "$am__universal" = false || continue
   4656       ;;
   4657     nosideeffect)
   4658       # After this tag, mechanisms are not by side-effect, so they'll
   4659       # only be used when explicitly requested.
   4660       if test "x$enable_dependency_tracking" = xyes; then
   4661 	continue
   4662       else
   4663 	break
   4664       fi
   4665       ;;
   4666     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4667       # This compiler won't grok '-c -o', but also, the minuso test has
   4668       # not run yet.  These depmodes are late enough in the game, and
   4669       # so weak that their functioning should not be impacted.
   4670       am__obj=conftest.${OBJEXT-o}
   4671       am__minus_obj=
   4672       ;;
   4673     none) break ;;
   4674     esac
   4675     if depmode=$depmode \
   4676        source=sub/conftest.c object=$am__obj \
   4677        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4678        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4679          >/dev/null 2>conftest.err &&
   4680        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4681        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4682        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4683        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4684       # icc doesn't choke on unknown options, it will just issue warnings
   4685       # or remarks (even with -Werror).  So we grep stderr for any message
   4686       # that says an option was ignored or not supported.
   4687       # When given -MP, icc 7.0 and 7.1 complain thus:
   4688       #   icc: Command line warning: ignoring option '-M'; no argument required
   4689       # The diagnosis changed in icc 8.0:
   4690       #   icc: Command line remark: option '-MP' not supported
   4691       if (grep 'ignoring option' conftest.err ||
   4692           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4693         am_cv_CC_dependencies_compiler_type=$depmode
   4694         break
   4695       fi
   4696     fi
   4697   done
   4698 
   4699   cd ..
   4700   rm -rf conftest.dir
   4701 else
   4702   am_cv_CC_dependencies_compiler_type=none
   4703 fi
   4704  ;;
   4705 esac
   4706 fi
   4707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4708 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4709 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4710 
   4711  if
   4712   test "x$enable_dependency_tracking" != xno \
   4713   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4714   am__fastdepCC_TRUE=
   4715   am__fastdepCC_FALSE='#'
   4716 else
   4717   am__fastdepCC_TRUE='#'
   4718   am__fastdepCC_FALSE=
   4719 fi
   4720 
   4721 
   4722 
   4723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4724 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4725 if test ${ac_cv_c_undeclared_builtin_options+y}
   4726 then :
   4727   printf %s "(cached) " >&6
   4728 else case e in #(
   4729   e) ac_save_CFLAGS=$CFLAGS
   4730    ac_cv_c_undeclared_builtin_options='cannot detect'
   4731    for ac_arg in '' -fno-builtin; do
   4732      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4733      # This test program should *not* compile successfully.
   4734      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4735 /* end confdefs.h.  */
   4736 
   4737 int
   4738 main (void)
   4739 {
   4740 (void) strchr;
   4741   ;
   4742   return 0;
   4743 }
   4744 _ACEOF
   4745 if ac_fn_c_try_compile "$LINENO"
   4746 then :
   4747 
   4748 else case e in #(
   4749   e) # This test program should compile successfully.
   4750         # No library function is consistently available on
   4751         # freestanding implementations, so test against a dummy
   4752         # declaration.  Include always-available headers on the
   4753         # off chance that they somehow elicit warnings.
   4754         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4755 /* end confdefs.h.  */
   4756 #include <float.h>
   4757 #include <limits.h>
   4758 #include <stdarg.h>
   4759 #include <stddef.h>
   4760 extern void ac_decl (int, char *);
   4761 
   4762 int
   4763 main (void)
   4764 {
   4765 (void) ac_decl (0, (char *) 0);
   4766   (void) ac_decl;
   4767 
   4768   ;
   4769   return 0;
   4770 }
   4771 _ACEOF
   4772 if ac_fn_c_try_compile "$LINENO"
   4773 then :
   4774   if test x"$ac_arg" = x
   4775 then :
   4776   ac_cv_c_undeclared_builtin_options='none needed'
   4777 else case e in #(
   4778   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4779 esac
   4780 fi
   4781           break
   4782 fi
   4783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4784 esac
   4785 fi
   4786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4787     done
   4788     CFLAGS=$ac_save_CFLAGS
   4789    ;;
   4790 esac
   4791 fi
   4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4793 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4794   case $ac_cv_c_undeclared_builtin_options in #(
   4795   'cannot detect') :
   4796     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4797 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4798 as_fn_error $? "cannot make $CC report undeclared builtins
   4799 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4800   'none needed') :
   4801     ac_c_undeclared_builtin_options='' ;; #(
   4802   *) :
   4803     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4804 esac
   4805 
   4806 ac_header= ac_cache=
   4807 for ac_item in $ac_header_c_list
   4808 do
   4809   if test $ac_cache; then
   4810     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4811     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4812       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4813     fi
   4814     ac_header= ac_cache=
   4815   elif test $ac_header; then
   4816     ac_cache=$ac_item
   4817   else
   4818     ac_header=$ac_item
   4819   fi
   4820 done
   4821 
   4822 
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4830 then :
   4831 
   4832 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4833 
   4834 fi
   4835 
   4836 
   4837 
   4838 
   4839 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4840 if test "x$ac_cv_have_decl___clang__" = xyes
   4841 then :
   4842   CLANGCC="yes"
   4843 else case e in #(
   4844   e) CLANGCC="no" ;;
   4845 esac
   4846 fi
   4847 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4848 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4849 then :
   4850   INTELCC="yes"
   4851 else case e in #(
   4852   e) INTELCC="no" ;;
   4853 esac
   4854 fi
   4855 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4856 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4857 then :
   4858   SUNCC="yes"
   4859 else case e in #(
   4860   e) SUNCC="no" ;;
   4861 esac
   4862 fi
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4872 	if test -n "$ac_tool_prefix"; then
   4873   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4876 printf %s "checking for $ac_word... " >&6; }
   4877 if test ${ac_cv_path_PKG_CONFIG+y}
   4878 then :
   4879   printf %s "(cached) " >&6
   4880 else case e in #(
   4881   e) case $PKG_CONFIG in
   4882   [\\/]* | ?:[\\/]*)
   4883   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4884   ;;
   4885   *)
   4886   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4887 for as_dir in $PATH
   4888 do
   4889   IFS=$as_save_IFS
   4890   case $as_dir in #(((
   4891     '') as_dir=./ ;;
   4892     */) ;;
   4893     *) as_dir=$as_dir/ ;;
   4894   esac
   4895     for ac_exec_ext in '' $ac_executable_extensions; do
   4896   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4897     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4898     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4899     break 2
   4900   fi
   4901 done
   4902   done
   4903 IFS=$as_save_IFS
   4904 
   4905   ;;
   4906 esac ;;
   4907 esac
   4908 fi
   4909 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4910 if test -n "$PKG_CONFIG"; then
   4911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4912 printf "%s\n" "$PKG_CONFIG" >&6; }
   4913 else
   4914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4915 printf "%s\n" "no" >&6; }
   4916 fi
   4917 
   4918 
   4919 fi
   4920 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4921   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4922   # Extract the first word of "pkg-config", so it can be a program name with args.
   4923 set dummy pkg-config; ac_word=$2
   4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4925 printf %s "checking for $ac_word... " >&6; }
   4926 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4927 then :
   4928   printf %s "(cached) " >&6
   4929 else case e in #(
   4930   e) case $ac_pt_PKG_CONFIG in
   4931   [\\/]* | ?:[\\/]*)
   4932   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4933   ;;
   4934   *)
   4935   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4936 for as_dir in $PATH
   4937 do
   4938   IFS=$as_save_IFS
   4939   case $as_dir in #(((
   4940     '') as_dir=./ ;;
   4941     */) ;;
   4942     *) as_dir=$as_dir/ ;;
   4943   esac
   4944     for ac_exec_ext in '' $ac_executable_extensions; do
   4945   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4946     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4947     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4948     break 2
   4949   fi
   4950 done
   4951   done
   4952 IFS=$as_save_IFS
   4953 
   4954   ;;
   4955 esac ;;
   4956 esac
   4957 fi
   4958 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4959 if test -n "$ac_pt_PKG_CONFIG"; then
   4960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4961 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4962 else
   4963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4964 printf "%s\n" "no" >&6; }
   4965 fi
   4966 
   4967   if test "x$ac_pt_PKG_CONFIG" = x; then
   4968     PKG_CONFIG=""
   4969   else
   4970     case $cross_compiling:$ac_tool_warned in
   4971 yes:)
   4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4973 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4974 ac_tool_warned=yes ;;
   4975 esac
   4976     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4977   fi
   4978 else
   4979   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4980 fi
   4981 
   4982 fi
   4983 if test -n "$PKG_CONFIG"; then
   4984 	_pkg_min_version=0.9.0
   4985 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4986 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4987 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4989 printf "%s\n" "yes" >&6; }
   4990 	else
   4991 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4992 printf "%s\n" "no" >&6; }
   4993 		PKG_CONFIG=""
   4994 	fi
   4995 fi
   4996 
   4997 
   4998   # Make sure we can run config.sub.
   4999 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5000   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5001 
   5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5003 printf %s "checking build system type... " >&6; }
   5004 if test ${ac_cv_build+y}
   5005 then :
   5006   printf %s "(cached) " >&6
   5007 else case e in #(
   5008   e) ac_build_alias=$build_alias
   5009 test "x$ac_build_alias" = x &&
   5010   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5011 test "x$ac_build_alias" = x &&
   5012   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5013 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5014   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5015  ;;
   5016 esac
   5017 fi
   5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5019 printf "%s\n" "$ac_cv_build" >&6; }
   5020 case $ac_cv_build in
   5021 *-*-*) ;;
   5022 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5023 esac
   5024 build=$ac_cv_build
   5025 ac_save_IFS=$IFS; IFS='-'
   5026 set x $ac_cv_build
   5027 shift
   5028 build_cpu=$1
   5029 build_vendor=$2
   5030 shift; shift
   5031 # Remember, the first character of IFS is used to create $*,
   5032 # except with old shells:
   5033 build_os=$*
   5034 IFS=$ac_save_IFS
   5035 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5036 
   5037 
   5038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5039 printf %s "checking host system type... " >&6; }
   5040 if test ${ac_cv_host+y}
   5041 then :
   5042   printf %s "(cached) " >&6
   5043 else case e in #(
   5044   e) if test "x$host_alias" = x; then
   5045   ac_cv_host=$ac_cv_build
   5046 else
   5047   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5048     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5049 fi
   5050  ;;
   5051 esac
   5052 fi
   5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5054 printf "%s\n" "$ac_cv_host" >&6; }
   5055 case $ac_cv_host in
   5056 *-*-*) ;;
   5057 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5058 esac
   5059 host=$ac_cv_host
   5060 ac_save_IFS=$IFS; IFS='-'
   5061 set x $ac_cv_host
   5062 shift
   5063 host_cpu=$1
   5064 host_vendor=$2
   5065 shift; shift
   5066 # Remember, the first character of IFS is used to create $*,
   5067 # except with old shells:
   5068 host_os=$*
   5069 IFS=$ac_save_IFS
   5070 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5071 
   5072 
   5073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5074 printf %s "checking for a sed that does not truncate output... " >&6; }
   5075 if test ${ac_cv_path_SED+y}
   5076 then :
   5077   printf %s "(cached) " >&6
   5078 else case e in #(
   5079   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5080      for ac_i in 1 2 3 4 5 6 7; do
   5081        ac_script="$ac_script$as_nl$ac_script"
   5082      done
   5083      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5084      { ac_script=; unset ac_script;}
   5085      if test -z "$SED"; then
   5086   ac_path_SED_found=false
   5087   # Loop through the user's path and test for each of PROGNAME-LIST
   5088   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5089 for as_dir in $PATH
   5090 do
   5091   IFS=$as_save_IFS
   5092   case $as_dir in #(((
   5093     '') as_dir=./ ;;
   5094     */) ;;
   5095     *) as_dir=$as_dir/ ;;
   5096   esac
   5097     for ac_prog in sed gsed
   5098    do
   5099     for ac_exec_ext in '' $ac_executable_extensions; do
   5100       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5101       as_fn_executable_p "$ac_path_SED" || continue
   5102 # Check for GNU ac_path_SED and select it if it is found.
   5103   # Check for GNU $ac_path_SED
   5104 case `"$ac_path_SED" --version 2>&1` in #(
   5105 *GNU*)
   5106   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5107 #(
   5108 *)
   5109   ac_count=0
   5110   printf %s 0123456789 >"conftest.in"
   5111   while :
   5112   do
   5113     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5114     mv "conftest.tmp" "conftest.in"
   5115     cp "conftest.in" "conftest.nl"
   5116     printf "%s\n" '' >> "conftest.nl"
   5117     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5118     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5119     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5120     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5121       # Best one so far, save it but keep looking for a better one
   5122       ac_cv_path_SED="$ac_path_SED"
   5123       ac_path_SED_max=$ac_count
   5124     fi
   5125     # 10*(2^10) chars as input seems more than enough
   5126     test $ac_count -gt 10 && break
   5127   done
   5128   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5129 esac
   5130 
   5131       $ac_path_SED_found && break 3
   5132     done
   5133   done
   5134   done
   5135 IFS=$as_save_IFS
   5136   if test -z "$ac_cv_path_SED"; then
   5137     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5138   fi
   5139 else
   5140   ac_cv_path_SED=$SED
   5141 fi
   5142  ;;
   5143 esac
   5144 fi
   5145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5146 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5147  SED="$ac_cv_path_SED"
   5148   rm -f conftest.sed
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 # Check whether --enable-selective-werror was given.
   5156 if test ${enable_selective_werror+y}
   5157 then :
   5158   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5159 else case e in #(
   5160   e) SELECTIVE_WERROR=yes ;;
   5161 esac
   5162 fi
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5169 if test "x$SUNCC" = "xyes"; then
   5170     BASE_CFLAGS="-v"
   5171 else
   5172     BASE_CFLAGS=""
   5173 fi
   5174 
   5175 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 xorg_testset_save_CFLAGS="$CFLAGS"
   5190 
   5191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5193 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5194 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5195 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5196 then :
   5197   printf %s "(cached) " >&6
   5198 else case e in #(
   5199   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5200 /* end confdefs.h.  */
   5201 int i;
   5202 _ACEOF
   5203 if ac_fn_c_try_compile "$LINENO"
   5204 then :
   5205   xorg_cv_cc_flag_unknown_warning_option=yes
   5206 else case e in #(
   5207   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5208 esac
   5209 fi
   5210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5211 esac
   5212 fi
   5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5214 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5215 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5216 	CFLAGS="$xorg_testset_save_CFLAGS"
   5217 fi
   5218 
   5219 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5220 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5221 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5222 	fi
   5223 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5224 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5225 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5226 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5227 then :
   5228   printf %s "(cached) " >&6
   5229 else case e in #(
   5230   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5231 /* end confdefs.h.  */
   5232 int i;
   5233 _ACEOF
   5234 if ac_fn_c_try_compile "$LINENO"
   5235 then :
   5236   xorg_cv_cc_flag_unused_command_line_argument=yes
   5237 else case e in #(
   5238   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5239 esac
   5240 fi
   5241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5242 esac
   5243 fi
   5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5245 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5246 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5247 	CFLAGS="$xorg_testset_save_CFLAGS"
   5248 fi
   5249 
   5250 found="no"
   5251 
   5252 	if test $found = "no" ; then
   5253 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5255 		fi
   5256 
   5257 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5259 		fi
   5260 
   5261 		CFLAGS="$CFLAGS -Wall"
   5262 
   5263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5264 printf %s "checking if $CC supports -Wall... " >&6; }
   5265 		cacheid=xorg_cv_cc_flag__Wall
   5266 		if eval test \${$cacheid+y}
   5267 then :
   5268   printf %s "(cached) " >&6
   5269 else case e in #(
   5270   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5271 /* end confdefs.h.  */
   5272 int i;
   5273 int
   5274 main (void)
   5275 {
   5276 
   5277   ;
   5278   return 0;
   5279 }
   5280 _ACEOF
   5281 if ac_fn_c_try_link "$LINENO"
   5282 then :
   5283   eval $cacheid=yes
   5284 else case e in #(
   5285   e) eval $cacheid=no ;;
   5286 esac
   5287 fi
   5288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5289     conftest$ac_exeext conftest.$ac_ext ;;
   5290 esac
   5291 fi
   5292 
   5293 
   5294 		CFLAGS="$xorg_testset_save_CFLAGS"
   5295 
   5296 		eval supported=\$$cacheid
   5297 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5298 printf "%s\n" "$supported" >&6; }
   5299 		if test "$supported" = "yes" ; then
   5300 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5301 			found="yes"
   5302 		fi
   5303 	fi
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 xorg_testset_save_CFLAGS="$CFLAGS"
   5320 
   5321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5323 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5324 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5325 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5326 then :
   5327   printf %s "(cached) " >&6
   5328 else case e in #(
   5329   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5330 /* end confdefs.h.  */
   5331 int i;
   5332 _ACEOF
   5333 if ac_fn_c_try_compile "$LINENO"
   5334 then :
   5335   xorg_cv_cc_flag_unknown_warning_option=yes
   5336 else case e in #(
   5337   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5338 esac
   5339 fi
   5340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5341 esac
   5342 fi
   5343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5344 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5345 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5346 	CFLAGS="$xorg_testset_save_CFLAGS"
   5347 fi
   5348 
   5349 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5350 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5351 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5352 	fi
   5353 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5354 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5355 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5356 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5357 then :
   5358   printf %s "(cached) " >&6
   5359 else case e in #(
   5360   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5361 /* end confdefs.h.  */
   5362 int i;
   5363 _ACEOF
   5364 if ac_fn_c_try_compile "$LINENO"
   5365 then :
   5366   xorg_cv_cc_flag_unused_command_line_argument=yes
   5367 else case e in #(
   5368   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5369 esac
   5370 fi
   5371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5372 esac
   5373 fi
   5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5375 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5376 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5377 	CFLAGS="$xorg_testset_save_CFLAGS"
   5378 fi
   5379 
   5380 found="no"
   5381 
   5382 	if test $found = "no" ; then
   5383 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5384 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5385 		fi
   5386 
   5387 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5388 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5389 		fi
   5390 
   5391 		CFLAGS="$CFLAGS -Wpointer-arith"
   5392 
   5393 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5394 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5395 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5396 		if eval test \${$cacheid+y}
   5397 then :
   5398   printf %s "(cached) " >&6
   5399 else case e in #(
   5400   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5401 /* end confdefs.h.  */
   5402 int i;
   5403 int
   5404 main (void)
   5405 {
   5406 
   5407   ;
   5408   return 0;
   5409 }
   5410 _ACEOF
   5411 if ac_fn_c_try_link "$LINENO"
   5412 then :
   5413   eval $cacheid=yes
   5414 else case e in #(
   5415   e) eval $cacheid=no ;;
   5416 esac
   5417 fi
   5418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5419     conftest$ac_exeext conftest.$ac_ext ;;
   5420 esac
   5421 fi
   5422 
   5423 
   5424 		CFLAGS="$xorg_testset_save_CFLAGS"
   5425 
   5426 		eval supported=\$$cacheid
   5427 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5428 printf "%s\n" "$supported" >&6; }
   5429 		if test "$supported" = "yes" ; then
   5430 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5431 			found="yes"
   5432 		fi
   5433 	fi
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 xorg_testset_save_CFLAGS="$CFLAGS"
   5450 
   5451 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5452 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5453 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5454 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5455 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5456 then :
   5457   printf %s "(cached) " >&6
   5458 else case e in #(
   5459   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5460 /* end confdefs.h.  */
   5461 int i;
   5462 _ACEOF
   5463 if ac_fn_c_try_compile "$LINENO"
   5464 then :
   5465   xorg_cv_cc_flag_unknown_warning_option=yes
   5466 else case e in #(
   5467   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5468 esac
   5469 fi
   5470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5471 esac
   5472 fi
   5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5474 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5475 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5476 	CFLAGS="$xorg_testset_save_CFLAGS"
   5477 fi
   5478 
   5479 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5480 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5481 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5482 	fi
   5483 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5484 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5485 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5486 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5487 then :
   5488   printf %s "(cached) " >&6
   5489 else case e in #(
   5490   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5491 /* end confdefs.h.  */
   5492 int i;
   5493 _ACEOF
   5494 if ac_fn_c_try_compile "$LINENO"
   5495 then :
   5496   xorg_cv_cc_flag_unused_command_line_argument=yes
   5497 else case e in #(
   5498   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5499 esac
   5500 fi
   5501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5502 esac
   5503 fi
   5504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5505 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5506 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5507 	CFLAGS="$xorg_testset_save_CFLAGS"
   5508 fi
   5509 
   5510 found="no"
   5511 
   5512 	if test $found = "no" ; then
   5513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5515 		fi
   5516 
   5517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5519 		fi
   5520 
   5521 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5522 
   5523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5524 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5525 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5526 		if eval test \${$cacheid+y}
   5527 then :
   5528   printf %s "(cached) " >&6
   5529 else case e in #(
   5530   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5531 /* end confdefs.h.  */
   5532 int i;
   5533 int
   5534 main (void)
   5535 {
   5536 
   5537   ;
   5538   return 0;
   5539 }
   5540 _ACEOF
   5541 if ac_fn_c_try_link "$LINENO"
   5542 then :
   5543   eval $cacheid=yes
   5544 else case e in #(
   5545   e) eval $cacheid=no ;;
   5546 esac
   5547 fi
   5548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5549     conftest$ac_exeext conftest.$ac_ext ;;
   5550 esac
   5551 fi
   5552 
   5553 
   5554 		CFLAGS="$xorg_testset_save_CFLAGS"
   5555 
   5556 		eval supported=\$$cacheid
   5557 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5558 printf "%s\n" "$supported" >&6; }
   5559 		if test "$supported" = "yes" ; then
   5560 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5561 			found="yes"
   5562 		fi
   5563 	fi
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 xorg_testset_save_CFLAGS="$CFLAGS"
   5580 
   5581 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5582 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5583 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5584 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5585 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5586 then :
   5587   printf %s "(cached) " >&6
   5588 else case e in #(
   5589   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5590 /* end confdefs.h.  */
   5591 int i;
   5592 _ACEOF
   5593 if ac_fn_c_try_compile "$LINENO"
   5594 then :
   5595   xorg_cv_cc_flag_unknown_warning_option=yes
   5596 else case e in #(
   5597   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5598 esac
   5599 fi
   5600 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5601 esac
   5602 fi
   5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5604 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5605 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5606 	CFLAGS="$xorg_testset_save_CFLAGS"
   5607 fi
   5608 
   5609 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5610 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5611 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5612 	fi
   5613 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5614 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5615 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5616 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5617 then :
   5618   printf %s "(cached) " >&6
   5619 else case e in #(
   5620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5621 /* end confdefs.h.  */
   5622 int i;
   5623 _ACEOF
   5624 if ac_fn_c_try_compile "$LINENO"
   5625 then :
   5626   xorg_cv_cc_flag_unused_command_line_argument=yes
   5627 else case e in #(
   5628   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5629 esac
   5630 fi
   5631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5632 esac
   5633 fi
   5634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5635 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5637 	CFLAGS="$xorg_testset_save_CFLAGS"
   5638 fi
   5639 
   5640 found="no"
   5641 
   5642 	if test $found = "no" ; then
   5643 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5645 		fi
   5646 
   5647 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5649 		fi
   5650 
   5651 		CFLAGS="$CFLAGS -Wformat=2"
   5652 
   5653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5654 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5655 		cacheid=xorg_cv_cc_flag__Wformat_2
   5656 		if eval test \${$cacheid+y}
   5657 then :
   5658   printf %s "(cached) " >&6
   5659 else case e in #(
   5660   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5661 /* end confdefs.h.  */
   5662 int i;
   5663 int
   5664 main (void)
   5665 {
   5666 
   5667   ;
   5668   return 0;
   5669 }
   5670 _ACEOF
   5671 if ac_fn_c_try_link "$LINENO"
   5672 then :
   5673   eval $cacheid=yes
   5674 else case e in #(
   5675   e) eval $cacheid=no ;;
   5676 esac
   5677 fi
   5678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5679     conftest$ac_exeext conftest.$ac_ext ;;
   5680 esac
   5681 fi
   5682 
   5683 
   5684 		CFLAGS="$xorg_testset_save_CFLAGS"
   5685 
   5686 		eval supported=\$$cacheid
   5687 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5688 printf "%s\n" "$supported" >&6; }
   5689 		if test "$supported" = "yes" ; then
   5690 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5691 			found="yes"
   5692 		fi
   5693 	fi
   5694 
   5695 	if test $found = "no" ; then
   5696 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5698 		fi
   5699 
   5700 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5702 		fi
   5703 
   5704 		CFLAGS="$CFLAGS -Wformat"
   5705 
   5706 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5707 printf %s "checking if $CC supports -Wformat... " >&6; }
   5708 		cacheid=xorg_cv_cc_flag__Wformat
   5709 		if eval test \${$cacheid+y}
   5710 then :
   5711   printf %s "(cached) " >&6
   5712 else case e in #(
   5713   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5714 /* end confdefs.h.  */
   5715 int i;
   5716 int
   5717 main (void)
   5718 {
   5719 
   5720   ;
   5721   return 0;
   5722 }
   5723 _ACEOF
   5724 if ac_fn_c_try_link "$LINENO"
   5725 then :
   5726   eval $cacheid=yes
   5727 else case e in #(
   5728   e) eval $cacheid=no ;;
   5729 esac
   5730 fi
   5731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5732     conftest$ac_exeext conftest.$ac_ext ;;
   5733 esac
   5734 fi
   5735 
   5736 
   5737 		CFLAGS="$xorg_testset_save_CFLAGS"
   5738 
   5739 		eval supported=\$$cacheid
   5740 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5741 printf "%s\n" "$supported" >&6; }
   5742 		if test "$supported" = "yes" ; then
   5743 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5744 			found="yes"
   5745 		fi
   5746 	fi
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 xorg_testset_save_CFLAGS="$CFLAGS"
   5765 
   5766 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5767 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5768 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5769 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5770 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5771 then :
   5772   printf %s "(cached) " >&6
   5773 else case e in #(
   5774   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5775 /* end confdefs.h.  */
   5776 int i;
   5777 _ACEOF
   5778 if ac_fn_c_try_compile "$LINENO"
   5779 then :
   5780   xorg_cv_cc_flag_unknown_warning_option=yes
   5781 else case e in #(
   5782   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5783 esac
   5784 fi
   5785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5786 esac
   5787 fi
   5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5789 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5791 	CFLAGS="$xorg_testset_save_CFLAGS"
   5792 fi
   5793 
   5794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5797 	fi
   5798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5799 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5800 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5801 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5802 then :
   5803   printf %s "(cached) " >&6
   5804 else case e in #(
   5805   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5806 /* end confdefs.h.  */
   5807 int i;
   5808 _ACEOF
   5809 if ac_fn_c_try_compile "$LINENO"
   5810 then :
   5811   xorg_cv_cc_flag_unused_command_line_argument=yes
   5812 else case e in #(
   5813   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5814 esac
   5815 fi
   5816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5817 esac
   5818 fi
   5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5820 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5822 	CFLAGS="$xorg_testset_save_CFLAGS"
   5823 fi
   5824 
   5825 found="no"
   5826 
   5827 	if test $found = "no" ; then
   5828 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5830 		fi
   5831 
   5832 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5834 		fi
   5835 
   5836 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5837 
   5838 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5839 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5840 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5841 		if eval test \${$cacheid+y}
   5842 then :
   5843   printf %s "(cached) " >&6
   5844 else case e in #(
   5845   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5846 /* end confdefs.h.  */
   5847 int i;
   5848 int
   5849 main (void)
   5850 {
   5851 
   5852   ;
   5853   return 0;
   5854 }
   5855 _ACEOF
   5856 if ac_fn_c_try_link "$LINENO"
   5857 then :
   5858   eval $cacheid=yes
   5859 else case e in #(
   5860   e) eval $cacheid=no ;;
   5861 esac
   5862 fi
   5863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5864     conftest$ac_exeext conftest.$ac_ext ;;
   5865 esac
   5866 fi
   5867 
   5868 
   5869 		CFLAGS="$xorg_testset_save_CFLAGS"
   5870 
   5871 		eval supported=\$$cacheid
   5872 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5873 printf "%s\n" "$supported" >&6; }
   5874 		if test "$supported" = "yes" ; then
   5875 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5876 			found="yes"
   5877 		fi
   5878 	fi
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 xorg_testset_save_CFLAGS="$CFLAGS"
   5895 
   5896 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5897 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5898 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5899 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5900 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5901 then :
   5902   printf %s "(cached) " >&6
   5903 else case e in #(
   5904   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5905 /* end confdefs.h.  */
   5906 int i;
   5907 _ACEOF
   5908 if ac_fn_c_try_compile "$LINENO"
   5909 then :
   5910   xorg_cv_cc_flag_unknown_warning_option=yes
   5911 else case e in #(
   5912   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5913 esac
   5914 fi
   5915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5916 esac
   5917 fi
   5918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5919 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5920 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5921 	CFLAGS="$xorg_testset_save_CFLAGS"
   5922 fi
   5923 
   5924 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5925 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5926 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5927 	fi
   5928 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5929 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5930 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5931 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5932 then :
   5933   printf %s "(cached) " >&6
   5934 else case e in #(
   5935   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5936 /* end confdefs.h.  */
   5937 int i;
   5938 _ACEOF
   5939 if ac_fn_c_try_compile "$LINENO"
   5940 then :
   5941   xorg_cv_cc_flag_unused_command_line_argument=yes
   5942 else case e in #(
   5943   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5944 esac
   5945 fi
   5946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5947 esac
   5948 fi
   5949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5950 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5951 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5952 	CFLAGS="$xorg_testset_save_CFLAGS"
   5953 fi
   5954 
   5955 found="no"
   5956 
   5957 	if test $found = "no" ; then
   5958 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5959 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5960 		fi
   5961 
   5962 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5963 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5964 		fi
   5965 
   5966 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5967 
   5968 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5969 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5970 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5971 		if eval test \${$cacheid+y}
   5972 then :
   5973   printf %s "(cached) " >&6
   5974 else case e in #(
   5975   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5976 /* end confdefs.h.  */
   5977 int i;
   5978 int
   5979 main (void)
   5980 {
   5981 
   5982   ;
   5983   return 0;
   5984 }
   5985 _ACEOF
   5986 if ac_fn_c_try_link "$LINENO"
   5987 then :
   5988   eval $cacheid=yes
   5989 else case e in #(
   5990   e) eval $cacheid=no ;;
   5991 esac
   5992 fi
   5993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5994     conftest$ac_exeext conftest.$ac_ext ;;
   5995 esac
   5996 fi
   5997 
   5998 
   5999 		CFLAGS="$xorg_testset_save_CFLAGS"
   6000 
   6001 		eval supported=\$$cacheid
   6002 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6003 printf "%s\n" "$supported" >&6; }
   6004 		if test "$supported" = "yes" ; then
   6005 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6006 			found="yes"
   6007 		fi
   6008 	fi
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 xorg_testset_save_CFLAGS="$CFLAGS"
   6025 
   6026 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6027 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6028 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6029 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6030 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6031 then :
   6032   printf %s "(cached) " >&6
   6033 else case e in #(
   6034   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6035 /* end confdefs.h.  */
   6036 int i;
   6037 _ACEOF
   6038 if ac_fn_c_try_compile "$LINENO"
   6039 then :
   6040   xorg_cv_cc_flag_unknown_warning_option=yes
   6041 else case e in #(
   6042   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6043 esac
   6044 fi
   6045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6046 esac
   6047 fi
   6048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6049 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6051 	CFLAGS="$xorg_testset_save_CFLAGS"
   6052 fi
   6053 
   6054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6057 	fi
   6058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6059 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6060 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6061 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6062 then :
   6063   printf %s "(cached) " >&6
   6064 else case e in #(
   6065   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6066 /* end confdefs.h.  */
   6067 int i;
   6068 _ACEOF
   6069 if ac_fn_c_try_compile "$LINENO"
   6070 then :
   6071   xorg_cv_cc_flag_unused_command_line_argument=yes
   6072 else case e in #(
   6073   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6074 esac
   6075 fi
   6076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6077 esac
   6078 fi
   6079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6080 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6081 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6082 	CFLAGS="$xorg_testset_save_CFLAGS"
   6083 fi
   6084 
   6085 found="no"
   6086 
   6087 	if test $found = "no" ; then
   6088 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6089 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6090 		fi
   6091 
   6092 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6093 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6094 		fi
   6095 
   6096 		CFLAGS="$CFLAGS -Wnested-externs"
   6097 
   6098 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6099 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6100 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6101 		if eval test \${$cacheid+y}
   6102 then :
   6103   printf %s "(cached) " >&6
   6104 else case e in #(
   6105   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6106 /* end confdefs.h.  */
   6107 int i;
   6108 int
   6109 main (void)
   6110 {
   6111 
   6112   ;
   6113   return 0;
   6114 }
   6115 _ACEOF
   6116 if ac_fn_c_try_link "$LINENO"
   6117 then :
   6118   eval $cacheid=yes
   6119 else case e in #(
   6120   e) eval $cacheid=no ;;
   6121 esac
   6122 fi
   6123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6124     conftest$ac_exeext conftest.$ac_ext ;;
   6125 esac
   6126 fi
   6127 
   6128 
   6129 		CFLAGS="$xorg_testset_save_CFLAGS"
   6130 
   6131 		eval supported=\$$cacheid
   6132 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6133 printf "%s\n" "$supported" >&6; }
   6134 		if test "$supported" = "yes" ; then
   6135 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6136 			found="yes"
   6137 		fi
   6138 	fi
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 xorg_testset_save_CFLAGS="$CFLAGS"
   6155 
   6156 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6157 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6158 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6159 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6160 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6161 then :
   6162   printf %s "(cached) " >&6
   6163 else case e in #(
   6164   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6165 /* end confdefs.h.  */
   6166 int i;
   6167 _ACEOF
   6168 if ac_fn_c_try_compile "$LINENO"
   6169 then :
   6170   xorg_cv_cc_flag_unknown_warning_option=yes
   6171 else case e in #(
   6172   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6173 esac
   6174 fi
   6175 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6176 esac
   6177 fi
   6178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6179 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6180 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6181 	CFLAGS="$xorg_testset_save_CFLAGS"
   6182 fi
   6183 
   6184 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6185 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6186 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6187 	fi
   6188 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6189 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6190 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6191 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6192 then :
   6193   printf %s "(cached) " >&6
   6194 else case e in #(
   6195   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6196 /* end confdefs.h.  */
   6197 int i;
   6198 _ACEOF
   6199 if ac_fn_c_try_compile "$LINENO"
   6200 then :
   6201   xorg_cv_cc_flag_unused_command_line_argument=yes
   6202 else case e in #(
   6203   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6204 esac
   6205 fi
   6206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6207 esac
   6208 fi
   6209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6210 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6212 	CFLAGS="$xorg_testset_save_CFLAGS"
   6213 fi
   6214 
   6215 found="no"
   6216 
   6217 	if test $found = "no" ; then
   6218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6220 		fi
   6221 
   6222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6224 		fi
   6225 
   6226 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6227 
   6228 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6229 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6230 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6231 		if eval test \${$cacheid+y}
   6232 then :
   6233   printf %s "(cached) " >&6
   6234 else case e in #(
   6235   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6236 /* end confdefs.h.  */
   6237 int i;
   6238 int
   6239 main (void)
   6240 {
   6241 
   6242   ;
   6243   return 0;
   6244 }
   6245 _ACEOF
   6246 if ac_fn_c_try_link "$LINENO"
   6247 then :
   6248   eval $cacheid=yes
   6249 else case e in #(
   6250   e) eval $cacheid=no ;;
   6251 esac
   6252 fi
   6253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6254     conftest$ac_exeext conftest.$ac_ext ;;
   6255 esac
   6256 fi
   6257 
   6258 
   6259 		CFLAGS="$xorg_testset_save_CFLAGS"
   6260 
   6261 		eval supported=\$$cacheid
   6262 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6263 printf "%s\n" "$supported" >&6; }
   6264 		if test "$supported" = "yes" ; then
   6265 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6266 			found="yes"
   6267 		fi
   6268 	fi
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 xorg_testset_save_CFLAGS="$CFLAGS"
   6285 
   6286 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6287 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6288 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6289 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6290 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6291 then :
   6292   printf %s "(cached) " >&6
   6293 else case e in #(
   6294   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6295 /* end confdefs.h.  */
   6296 int i;
   6297 _ACEOF
   6298 if ac_fn_c_try_compile "$LINENO"
   6299 then :
   6300   xorg_cv_cc_flag_unknown_warning_option=yes
   6301 else case e in #(
   6302   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6303 esac
   6304 fi
   6305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6306 esac
   6307 fi
   6308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6309 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6310 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6311 	CFLAGS="$xorg_testset_save_CFLAGS"
   6312 fi
   6313 
   6314 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6315 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6316 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6317 	fi
   6318 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6319 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6320 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6321 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6322 then :
   6323   printf %s "(cached) " >&6
   6324 else case e in #(
   6325   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6326 /* end confdefs.h.  */
   6327 int i;
   6328 _ACEOF
   6329 if ac_fn_c_try_compile "$LINENO"
   6330 then :
   6331   xorg_cv_cc_flag_unused_command_line_argument=yes
   6332 else case e in #(
   6333   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6334 esac
   6335 fi
   6336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6337 esac
   6338 fi
   6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6340 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6341 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6342 	CFLAGS="$xorg_testset_save_CFLAGS"
   6343 fi
   6344 
   6345 found="no"
   6346 
   6347 	if test $found = "no" ; then
   6348 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6349 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6350 		fi
   6351 
   6352 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6353 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6354 		fi
   6355 
   6356 		CFLAGS="$CFLAGS -Wold-style-definition"
   6357 
   6358 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6359 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6360 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6361 		if eval test \${$cacheid+y}
   6362 then :
   6363   printf %s "(cached) " >&6
   6364 else case e in #(
   6365   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6366 /* end confdefs.h.  */
   6367 int i;
   6368 int
   6369 main (void)
   6370 {
   6371 
   6372   ;
   6373   return 0;
   6374 }
   6375 _ACEOF
   6376 if ac_fn_c_try_link "$LINENO"
   6377 then :
   6378   eval $cacheid=yes
   6379 else case e in #(
   6380   e) eval $cacheid=no ;;
   6381 esac
   6382 fi
   6383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6384     conftest$ac_exeext conftest.$ac_ext ;;
   6385 esac
   6386 fi
   6387 
   6388 
   6389 		CFLAGS="$xorg_testset_save_CFLAGS"
   6390 
   6391 		eval supported=\$$cacheid
   6392 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6393 printf "%s\n" "$supported" >&6; }
   6394 		if test "$supported" = "yes" ; then
   6395 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6396 			found="yes"
   6397 		fi
   6398 	fi
   6399 
   6400 	if test $found = "no" ; then
   6401 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6403 		fi
   6404 
   6405 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6407 		fi
   6408 
   6409 		CFLAGS="$CFLAGS -fd"
   6410 
   6411 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6412 printf %s "checking if $CC supports -fd... " >&6; }
   6413 		cacheid=xorg_cv_cc_flag__fd
   6414 		if eval test \${$cacheid+y}
   6415 then :
   6416   printf %s "(cached) " >&6
   6417 else case e in #(
   6418   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6419 /* end confdefs.h.  */
   6420 int i;
   6421 int
   6422 main (void)
   6423 {
   6424 
   6425   ;
   6426   return 0;
   6427 }
   6428 _ACEOF
   6429 if ac_fn_c_try_link "$LINENO"
   6430 then :
   6431   eval $cacheid=yes
   6432 else case e in #(
   6433   e) eval $cacheid=no ;;
   6434 esac
   6435 fi
   6436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6437     conftest$ac_exeext conftest.$ac_ext ;;
   6438 esac
   6439 fi
   6440 
   6441 
   6442 		CFLAGS="$xorg_testset_save_CFLAGS"
   6443 
   6444 		eval supported=\$$cacheid
   6445 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6446 printf "%s\n" "$supported" >&6; }
   6447 		if test "$supported" = "yes" ; then
   6448 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6449 			found="yes"
   6450 		fi
   6451 	fi
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 # This chunk adds additional warnings that could catch undesired effects.
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 xorg_testset_save_CFLAGS="$CFLAGS"
   6472 
   6473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6474 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6476 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6477 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6478 then :
   6479   printf %s "(cached) " >&6
   6480 else case e in #(
   6481   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6482 /* end confdefs.h.  */
   6483 int i;
   6484 _ACEOF
   6485 if ac_fn_c_try_compile "$LINENO"
   6486 then :
   6487   xorg_cv_cc_flag_unknown_warning_option=yes
   6488 else case e in #(
   6489   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6490 esac
   6491 fi
   6492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6493 esac
   6494 fi
   6495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6496 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6497 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6498 	CFLAGS="$xorg_testset_save_CFLAGS"
   6499 fi
   6500 
   6501 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6502 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6503 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6504 	fi
   6505 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6506 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6507 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6508 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6509 then :
   6510   printf %s "(cached) " >&6
   6511 else case e in #(
   6512   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6513 /* end confdefs.h.  */
   6514 int i;
   6515 _ACEOF
   6516 if ac_fn_c_try_compile "$LINENO"
   6517 then :
   6518   xorg_cv_cc_flag_unused_command_line_argument=yes
   6519 else case e in #(
   6520   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6521 esac
   6522 fi
   6523 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6524 esac
   6525 fi
   6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6527 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6528 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6529 	CFLAGS="$xorg_testset_save_CFLAGS"
   6530 fi
   6531 
   6532 found="no"
   6533 
   6534 	if test $found = "no" ; then
   6535 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6537 		fi
   6538 
   6539 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6541 		fi
   6542 
   6543 		CFLAGS="$CFLAGS -Wunused"
   6544 
   6545 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6546 printf %s "checking if $CC supports -Wunused... " >&6; }
   6547 		cacheid=xorg_cv_cc_flag__Wunused
   6548 		if eval test \${$cacheid+y}
   6549 then :
   6550   printf %s "(cached) " >&6
   6551 else case e in #(
   6552   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6553 /* end confdefs.h.  */
   6554 int i;
   6555 int
   6556 main (void)
   6557 {
   6558 
   6559   ;
   6560   return 0;
   6561 }
   6562 _ACEOF
   6563 if ac_fn_c_try_link "$LINENO"
   6564 then :
   6565   eval $cacheid=yes
   6566 else case e in #(
   6567   e) eval $cacheid=no ;;
   6568 esac
   6569 fi
   6570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6571     conftest$ac_exeext conftest.$ac_ext ;;
   6572 esac
   6573 fi
   6574 
   6575 
   6576 		CFLAGS="$xorg_testset_save_CFLAGS"
   6577 
   6578 		eval supported=\$$cacheid
   6579 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6580 printf "%s\n" "$supported" >&6; }
   6581 		if test "$supported" = "yes" ; then
   6582 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6583 			found="yes"
   6584 		fi
   6585 	fi
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 xorg_testset_save_CFLAGS="$CFLAGS"
   6602 
   6603 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6604 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6605 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6606 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6607 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6608 then :
   6609   printf %s "(cached) " >&6
   6610 else case e in #(
   6611   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6612 /* end confdefs.h.  */
   6613 int i;
   6614 _ACEOF
   6615 if ac_fn_c_try_compile "$LINENO"
   6616 then :
   6617   xorg_cv_cc_flag_unknown_warning_option=yes
   6618 else case e in #(
   6619   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6620 esac
   6621 fi
   6622 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6623 esac
   6624 fi
   6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6626 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6628 	CFLAGS="$xorg_testset_save_CFLAGS"
   6629 fi
   6630 
   6631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6634 	fi
   6635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6636 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6637 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6638 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6639 then :
   6640   printf %s "(cached) " >&6
   6641 else case e in #(
   6642   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6643 /* end confdefs.h.  */
   6644 int i;
   6645 _ACEOF
   6646 if ac_fn_c_try_compile "$LINENO"
   6647 then :
   6648   xorg_cv_cc_flag_unused_command_line_argument=yes
   6649 else case e in #(
   6650   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6651 esac
   6652 fi
   6653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6654 esac
   6655 fi
   6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6657 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6658 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6659 	CFLAGS="$xorg_testset_save_CFLAGS"
   6660 fi
   6661 
   6662 found="no"
   6663 
   6664 	if test $found = "no" ; then
   6665 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6666 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6667 		fi
   6668 
   6669 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6670 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6671 		fi
   6672 
   6673 		CFLAGS="$CFLAGS -Wuninitialized"
   6674 
   6675 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6676 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6677 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6678 		if eval test \${$cacheid+y}
   6679 then :
   6680   printf %s "(cached) " >&6
   6681 else case e in #(
   6682   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6683 /* end confdefs.h.  */
   6684 int i;
   6685 int
   6686 main (void)
   6687 {
   6688 
   6689   ;
   6690   return 0;
   6691 }
   6692 _ACEOF
   6693 if ac_fn_c_try_link "$LINENO"
   6694 then :
   6695   eval $cacheid=yes
   6696 else case e in #(
   6697   e) eval $cacheid=no ;;
   6698 esac
   6699 fi
   6700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6701     conftest$ac_exeext conftest.$ac_ext ;;
   6702 esac
   6703 fi
   6704 
   6705 
   6706 		CFLAGS="$xorg_testset_save_CFLAGS"
   6707 
   6708 		eval supported=\$$cacheid
   6709 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6710 printf "%s\n" "$supported" >&6; }
   6711 		if test "$supported" = "yes" ; then
   6712 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6713 			found="yes"
   6714 		fi
   6715 	fi
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 xorg_testset_save_CFLAGS="$CFLAGS"
   6732 
   6733 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6734 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6735 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6736 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6737 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6738 then :
   6739   printf %s "(cached) " >&6
   6740 else case e in #(
   6741   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6742 /* end confdefs.h.  */
   6743 int i;
   6744 _ACEOF
   6745 if ac_fn_c_try_compile "$LINENO"
   6746 then :
   6747   xorg_cv_cc_flag_unknown_warning_option=yes
   6748 else case e in #(
   6749   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6750 esac
   6751 fi
   6752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6753 esac
   6754 fi
   6755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6756 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6757 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6758 	CFLAGS="$xorg_testset_save_CFLAGS"
   6759 fi
   6760 
   6761 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6762 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6764 	fi
   6765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6766 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6767 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6768 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6769 then :
   6770   printf %s "(cached) " >&6
   6771 else case e in #(
   6772   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6773 /* end confdefs.h.  */
   6774 int i;
   6775 _ACEOF
   6776 if ac_fn_c_try_compile "$LINENO"
   6777 then :
   6778   xorg_cv_cc_flag_unused_command_line_argument=yes
   6779 else case e in #(
   6780   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6781 esac
   6782 fi
   6783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6784 esac
   6785 fi
   6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6787 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6788 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6789 	CFLAGS="$xorg_testset_save_CFLAGS"
   6790 fi
   6791 
   6792 found="no"
   6793 
   6794 	if test $found = "no" ; then
   6795 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6796 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6797 		fi
   6798 
   6799 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6800 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6801 		fi
   6802 
   6803 		CFLAGS="$CFLAGS -Wshadow"
   6804 
   6805 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6806 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6807 		cacheid=xorg_cv_cc_flag__Wshadow
   6808 		if eval test \${$cacheid+y}
   6809 then :
   6810   printf %s "(cached) " >&6
   6811 else case e in #(
   6812   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6813 /* end confdefs.h.  */
   6814 int i;
   6815 int
   6816 main (void)
   6817 {
   6818 
   6819   ;
   6820   return 0;
   6821 }
   6822 _ACEOF
   6823 if ac_fn_c_try_link "$LINENO"
   6824 then :
   6825   eval $cacheid=yes
   6826 else case e in #(
   6827   e) eval $cacheid=no ;;
   6828 esac
   6829 fi
   6830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6831     conftest$ac_exeext conftest.$ac_ext ;;
   6832 esac
   6833 fi
   6834 
   6835 
   6836 		CFLAGS="$xorg_testset_save_CFLAGS"
   6837 
   6838 		eval supported=\$$cacheid
   6839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6840 printf "%s\n" "$supported" >&6; }
   6841 		if test "$supported" = "yes" ; then
   6842 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6843 			found="yes"
   6844 		fi
   6845 	fi
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 xorg_testset_save_CFLAGS="$CFLAGS"
   6862 
   6863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6865 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6866 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6867 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6868 then :
   6869   printf %s "(cached) " >&6
   6870 else case e in #(
   6871   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6872 /* end confdefs.h.  */
   6873 int i;
   6874 _ACEOF
   6875 if ac_fn_c_try_compile "$LINENO"
   6876 then :
   6877   xorg_cv_cc_flag_unknown_warning_option=yes
   6878 else case e in #(
   6879   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6880 esac
   6881 fi
   6882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6883 esac
   6884 fi
   6885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6886 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6887 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6888 	CFLAGS="$xorg_testset_save_CFLAGS"
   6889 fi
   6890 
   6891 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6892 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6893 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6894 	fi
   6895 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6896 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6897 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6898 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6899 then :
   6900   printf %s "(cached) " >&6
   6901 else case e in #(
   6902   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6903 /* end confdefs.h.  */
   6904 int i;
   6905 _ACEOF
   6906 if ac_fn_c_try_compile "$LINENO"
   6907 then :
   6908   xorg_cv_cc_flag_unused_command_line_argument=yes
   6909 else case e in #(
   6910   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6911 esac
   6912 fi
   6913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6914 esac
   6915 fi
   6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6917 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6918 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6919 	CFLAGS="$xorg_testset_save_CFLAGS"
   6920 fi
   6921 
   6922 found="no"
   6923 
   6924 	if test $found = "no" ; then
   6925 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6926 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6927 		fi
   6928 
   6929 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6930 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6931 		fi
   6932 
   6933 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6934 
   6935 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6936 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6937 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6938 		if eval test \${$cacheid+y}
   6939 then :
   6940   printf %s "(cached) " >&6
   6941 else case e in #(
   6942   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6943 /* end confdefs.h.  */
   6944 int i;
   6945 int
   6946 main (void)
   6947 {
   6948 
   6949   ;
   6950   return 0;
   6951 }
   6952 _ACEOF
   6953 if ac_fn_c_try_link "$LINENO"
   6954 then :
   6955   eval $cacheid=yes
   6956 else case e in #(
   6957   e) eval $cacheid=no ;;
   6958 esac
   6959 fi
   6960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6961     conftest$ac_exeext conftest.$ac_ext ;;
   6962 esac
   6963 fi
   6964 
   6965 
   6966 		CFLAGS="$xorg_testset_save_CFLAGS"
   6967 
   6968 		eval supported=\$$cacheid
   6969 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6970 printf "%s\n" "$supported" >&6; }
   6971 		if test "$supported" = "yes" ; then
   6972 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6973 			found="yes"
   6974 		fi
   6975 	fi
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 xorg_testset_save_CFLAGS="$CFLAGS"
   6992 
   6993 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6994 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6995 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6996 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6997 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6998 then :
   6999   printf %s "(cached) " >&6
   7000 else case e in #(
   7001   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7002 /* end confdefs.h.  */
   7003 int i;
   7004 _ACEOF
   7005 if ac_fn_c_try_compile "$LINENO"
   7006 then :
   7007   xorg_cv_cc_flag_unknown_warning_option=yes
   7008 else case e in #(
   7009   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7010 esac
   7011 fi
   7012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7013 esac
   7014 fi
   7015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7016 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7018 	CFLAGS="$xorg_testset_save_CFLAGS"
   7019 fi
   7020 
   7021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7024 	fi
   7025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7026 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7027 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7028 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7029 then :
   7030   printf %s "(cached) " >&6
   7031 else case e in #(
   7032   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7033 /* end confdefs.h.  */
   7034 int i;
   7035 _ACEOF
   7036 if ac_fn_c_try_compile "$LINENO"
   7037 then :
   7038   xorg_cv_cc_flag_unused_command_line_argument=yes
   7039 else case e in #(
   7040   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7041 esac
   7042 fi
   7043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7044 esac
   7045 fi
   7046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7047 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7048 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7049 	CFLAGS="$xorg_testset_save_CFLAGS"
   7050 fi
   7051 
   7052 found="no"
   7053 
   7054 	if test $found = "no" ; then
   7055 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7056 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7057 		fi
   7058 
   7059 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7060 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7061 		fi
   7062 
   7063 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7064 
   7065 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7066 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7067 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7068 		if eval test \${$cacheid+y}
   7069 then :
   7070   printf %s "(cached) " >&6
   7071 else case e in #(
   7072   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7073 /* end confdefs.h.  */
   7074 int i;
   7075 int
   7076 main (void)
   7077 {
   7078 
   7079   ;
   7080   return 0;
   7081 }
   7082 _ACEOF
   7083 if ac_fn_c_try_link "$LINENO"
   7084 then :
   7085   eval $cacheid=yes
   7086 else case e in #(
   7087   e) eval $cacheid=no ;;
   7088 esac
   7089 fi
   7090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7091     conftest$ac_exeext conftest.$ac_ext ;;
   7092 esac
   7093 fi
   7094 
   7095 
   7096 		CFLAGS="$xorg_testset_save_CFLAGS"
   7097 
   7098 		eval supported=\$$cacheid
   7099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7100 printf "%s\n" "$supported" >&6; }
   7101 		if test "$supported" = "yes" ; then
   7102 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7103 			found="yes"
   7104 		fi
   7105 	fi
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 xorg_testset_save_CFLAGS="$CFLAGS"
   7122 
   7123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7126 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7127 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7128 then :
   7129   printf %s "(cached) " >&6
   7130 else case e in #(
   7131   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7132 /* end confdefs.h.  */
   7133 int i;
   7134 _ACEOF
   7135 if ac_fn_c_try_compile "$LINENO"
   7136 then :
   7137   xorg_cv_cc_flag_unknown_warning_option=yes
   7138 else case e in #(
   7139   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7140 esac
   7141 fi
   7142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7143 esac
   7144 fi
   7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7146 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7147 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7148 	CFLAGS="$xorg_testset_save_CFLAGS"
   7149 fi
   7150 
   7151 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7152 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7153 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7154 	fi
   7155 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7156 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7157 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7158 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7159 then :
   7160   printf %s "(cached) " >&6
   7161 else case e in #(
   7162   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7163 /* end confdefs.h.  */
   7164 int i;
   7165 _ACEOF
   7166 if ac_fn_c_try_compile "$LINENO"
   7167 then :
   7168   xorg_cv_cc_flag_unused_command_line_argument=yes
   7169 else case e in #(
   7170   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7171 esac
   7172 fi
   7173 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7174 esac
   7175 fi
   7176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7177 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7178 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7179 	CFLAGS="$xorg_testset_save_CFLAGS"
   7180 fi
   7181 
   7182 found="no"
   7183 
   7184 	if test $found = "no" ; then
   7185 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7187 		fi
   7188 
   7189 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7191 		fi
   7192 
   7193 		CFLAGS="$CFLAGS -Wredundant-decls"
   7194 
   7195 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7196 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7197 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7198 		if eval test \${$cacheid+y}
   7199 then :
   7200   printf %s "(cached) " >&6
   7201 else case e in #(
   7202   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7203 /* end confdefs.h.  */
   7204 int i;
   7205 int
   7206 main (void)
   7207 {
   7208 
   7209   ;
   7210   return 0;
   7211 }
   7212 _ACEOF
   7213 if ac_fn_c_try_link "$LINENO"
   7214 then :
   7215   eval $cacheid=yes
   7216 else case e in #(
   7217   e) eval $cacheid=no ;;
   7218 esac
   7219 fi
   7220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7221     conftest$ac_exeext conftest.$ac_ext ;;
   7222 esac
   7223 fi
   7224 
   7225 
   7226 		CFLAGS="$xorg_testset_save_CFLAGS"
   7227 
   7228 		eval supported=\$$cacheid
   7229 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7230 printf "%s\n" "$supported" >&6; }
   7231 		if test "$supported" = "yes" ; then
   7232 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7233 			found="yes"
   7234 		fi
   7235 	fi
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 xorg_testset_save_CFLAGS="$CFLAGS"
   7252 
   7253 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7254 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7255 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7256 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7257 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7258 then :
   7259   printf %s "(cached) " >&6
   7260 else case e in #(
   7261   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7262 /* end confdefs.h.  */
   7263 int i;
   7264 _ACEOF
   7265 if ac_fn_c_try_compile "$LINENO"
   7266 then :
   7267   xorg_cv_cc_flag_unknown_warning_option=yes
   7268 else case e in #(
   7269   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7270 esac
   7271 fi
   7272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7273 esac
   7274 fi
   7275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7276 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7277 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7278 	CFLAGS="$xorg_testset_save_CFLAGS"
   7279 fi
   7280 
   7281 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7282 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7283 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7284 	fi
   7285 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7286 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7287 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7288 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7289 then :
   7290   printf %s "(cached) " >&6
   7291 else case e in #(
   7292   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7293 /* end confdefs.h.  */
   7294 int i;
   7295 _ACEOF
   7296 if ac_fn_c_try_compile "$LINENO"
   7297 then :
   7298   xorg_cv_cc_flag_unused_command_line_argument=yes
   7299 else case e in #(
   7300   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7301 esac
   7302 fi
   7303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7304 esac
   7305 fi
   7306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7307 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7308 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7309 	CFLAGS="$xorg_testset_save_CFLAGS"
   7310 fi
   7311 
   7312 found="no"
   7313 
   7314 	if test $found = "no" ; then
   7315 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7316 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7317 		fi
   7318 
   7319 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7320 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7321 		fi
   7322 
   7323 		CFLAGS="$CFLAGS -Wlogical-op"
   7324 
   7325 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7326 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7327 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7328 		if eval test \${$cacheid+y}
   7329 then :
   7330   printf %s "(cached) " >&6
   7331 else case e in #(
   7332   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7333 /* end confdefs.h.  */
   7334 int i;
   7335 int
   7336 main (void)
   7337 {
   7338 
   7339   ;
   7340   return 0;
   7341 }
   7342 _ACEOF
   7343 if ac_fn_c_try_link "$LINENO"
   7344 then :
   7345   eval $cacheid=yes
   7346 else case e in #(
   7347   e) eval $cacheid=no ;;
   7348 esac
   7349 fi
   7350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7351     conftest$ac_exeext conftest.$ac_ext ;;
   7352 esac
   7353 fi
   7354 
   7355 
   7356 		CFLAGS="$xorg_testset_save_CFLAGS"
   7357 
   7358 		eval supported=\$$cacheid
   7359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7360 printf "%s\n" "$supported" >&6; }
   7361 		if test "$supported" = "yes" ; then
   7362 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7363 			found="yes"
   7364 		fi
   7365 	fi
   7366 
   7367 
   7368 
   7369 # These are currently disabled because they are noisy.  They will be enabled
   7370 # in the future once the codebase is sufficiently modernized to silence
   7371 # them.  For now, I don't want them to drown out the other warnings.
   7372 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7373 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7374 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7375 
   7376 # Turn some warnings into errors, so we don't accidentally get successful builds
   7377 # when there are problems that should be fixed.
   7378 
   7379 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 xorg_testset_save_CFLAGS="$CFLAGS"
   7394 
   7395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7398 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7399 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7400 then :
   7401   printf %s "(cached) " >&6
   7402 else case e in #(
   7403   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7404 /* end confdefs.h.  */
   7405 int i;
   7406 _ACEOF
   7407 if ac_fn_c_try_compile "$LINENO"
   7408 then :
   7409   xorg_cv_cc_flag_unknown_warning_option=yes
   7410 else case e in #(
   7411   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7412 esac
   7413 fi
   7414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7415 esac
   7416 fi
   7417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7418 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7420 	CFLAGS="$xorg_testset_save_CFLAGS"
   7421 fi
   7422 
   7423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7426 	fi
   7427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7429 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7430 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7431 then :
   7432   printf %s "(cached) " >&6
   7433 else case e in #(
   7434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7435 /* end confdefs.h.  */
   7436 int i;
   7437 _ACEOF
   7438 if ac_fn_c_try_compile "$LINENO"
   7439 then :
   7440   xorg_cv_cc_flag_unused_command_line_argument=yes
   7441 else case e in #(
   7442   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7443 esac
   7444 fi
   7445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7446 esac
   7447 fi
   7448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7449 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7451 	CFLAGS="$xorg_testset_save_CFLAGS"
   7452 fi
   7453 
   7454 found="no"
   7455 
   7456 	if test $found = "no" ; then
   7457 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7459 		fi
   7460 
   7461 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7463 		fi
   7464 
   7465 		CFLAGS="$CFLAGS -Werror=implicit"
   7466 
   7467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7468 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7469 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7470 		if eval test \${$cacheid+y}
   7471 then :
   7472   printf %s "(cached) " >&6
   7473 else case e in #(
   7474   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7475 /* end confdefs.h.  */
   7476 int i;
   7477 int
   7478 main (void)
   7479 {
   7480 
   7481   ;
   7482   return 0;
   7483 }
   7484 _ACEOF
   7485 if ac_fn_c_try_link "$LINENO"
   7486 then :
   7487   eval $cacheid=yes
   7488 else case e in #(
   7489   e) eval $cacheid=no ;;
   7490 esac
   7491 fi
   7492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7493     conftest$ac_exeext conftest.$ac_ext ;;
   7494 esac
   7495 fi
   7496 
   7497 
   7498 		CFLAGS="$xorg_testset_save_CFLAGS"
   7499 
   7500 		eval supported=\$$cacheid
   7501 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7502 printf "%s\n" "$supported" >&6; }
   7503 		if test "$supported" = "yes" ; then
   7504 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7505 			found="yes"
   7506 		fi
   7507 	fi
   7508 
   7509 	if test $found = "no" ; then
   7510 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7512 		fi
   7513 
   7514 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7516 		fi
   7517 
   7518 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7519 
   7520 		{ 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
   7521 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7522 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7523 		if eval test \${$cacheid+y}
   7524 then :
   7525   printf %s "(cached) " >&6
   7526 else case e in #(
   7527   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7528 /* end confdefs.h.  */
   7529 int i;
   7530 int
   7531 main (void)
   7532 {
   7533 
   7534   ;
   7535   return 0;
   7536 }
   7537 _ACEOF
   7538 if ac_fn_c_try_link "$LINENO"
   7539 then :
   7540   eval $cacheid=yes
   7541 else case e in #(
   7542   e) eval $cacheid=no ;;
   7543 esac
   7544 fi
   7545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7546     conftest$ac_exeext conftest.$ac_ext ;;
   7547 esac
   7548 fi
   7549 
   7550 
   7551 		CFLAGS="$xorg_testset_save_CFLAGS"
   7552 
   7553 		eval supported=\$$cacheid
   7554 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7555 printf "%s\n" "$supported" >&6; }
   7556 		if test "$supported" = "yes" ; then
   7557 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7558 			found="yes"
   7559 		fi
   7560 	fi
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 xorg_testset_save_CFLAGS="$CFLAGS"
   7577 
   7578 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7579 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7580 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7581 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7582 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7583 then :
   7584   printf %s "(cached) " >&6
   7585 else case e in #(
   7586   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7587 /* end confdefs.h.  */
   7588 int i;
   7589 _ACEOF
   7590 if ac_fn_c_try_compile "$LINENO"
   7591 then :
   7592   xorg_cv_cc_flag_unknown_warning_option=yes
   7593 else case e in #(
   7594   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7595 esac
   7596 fi
   7597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7598 esac
   7599 fi
   7600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7601 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7602 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7603 	CFLAGS="$xorg_testset_save_CFLAGS"
   7604 fi
   7605 
   7606 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7607 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7608 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7609 	fi
   7610 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7611 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7612 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7613 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7614 then :
   7615   printf %s "(cached) " >&6
   7616 else case e in #(
   7617   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7618 /* end confdefs.h.  */
   7619 int i;
   7620 _ACEOF
   7621 if ac_fn_c_try_compile "$LINENO"
   7622 then :
   7623   xorg_cv_cc_flag_unused_command_line_argument=yes
   7624 else case e in #(
   7625   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7626 esac
   7627 fi
   7628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7629 esac
   7630 fi
   7631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7632 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7633 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7634 	CFLAGS="$xorg_testset_save_CFLAGS"
   7635 fi
   7636 
   7637 found="no"
   7638 
   7639 	if test $found = "no" ; then
   7640 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7641 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7642 		fi
   7643 
   7644 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7645 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7646 		fi
   7647 
   7648 		CFLAGS="$CFLAGS -Werror=nonnull"
   7649 
   7650 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7651 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7652 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7653 		if eval test \${$cacheid+y}
   7654 then :
   7655   printf %s "(cached) " >&6
   7656 else case e in #(
   7657   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7658 /* end confdefs.h.  */
   7659 int i;
   7660 int
   7661 main (void)
   7662 {
   7663 
   7664   ;
   7665   return 0;
   7666 }
   7667 _ACEOF
   7668 if ac_fn_c_try_link "$LINENO"
   7669 then :
   7670   eval $cacheid=yes
   7671 else case e in #(
   7672   e) eval $cacheid=no ;;
   7673 esac
   7674 fi
   7675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7676     conftest$ac_exeext conftest.$ac_ext ;;
   7677 esac
   7678 fi
   7679 
   7680 
   7681 		CFLAGS="$xorg_testset_save_CFLAGS"
   7682 
   7683 		eval supported=\$$cacheid
   7684 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7685 printf "%s\n" "$supported" >&6; }
   7686 		if test "$supported" = "yes" ; then
   7687 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7688 			found="yes"
   7689 		fi
   7690 	fi
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 xorg_testset_save_CFLAGS="$CFLAGS"
   7707 
   7708 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7709 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7710 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7711 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7712 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7713 then :
   7714   printf %s "(cached) " >&6
   7715 else case e in #(
   7716   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7717 /* end confdefs.h.  */
   7718 int i;
   7719 _ACEOF
   7720 if ac_fn_c_try_compile "$LINENO"
   7721 then :
   7722   xorg_cv_cc_flag_unknown_warning_option=yes
   7723 else case e in #(
   7724   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7725 esac
   7726 fi
   7727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7728 esac
   7729 fi
   7730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7731 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7732 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7733 	CFLAGS="$xorg_testset_save_CFLAGS"
   7734 fi
   7735 
   7736 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7737 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7738 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7739 	fi
   7740 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7741 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7742 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7743 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7744 then :
   7745   printf %s "(cached) " >&6
   7746 else case e in #(
   7747   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7748 /* end confdefs.h.  */
   7749 int i;
   7750 _ACEOF
   7751 if ac_fn_c_try_compile "$LINENO"
   7752 then :
   7753   xorg_cv_cc_flag_unused_command_line_argument=yes
   7754 else case e in #(
   7755   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7756 esac
   7757 fi
   7758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7759 esac
   7760 fi
   7761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7762 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7763 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7764 	CFLAGS="$xorg_testset_save_CFLAGS"
   7765 fi
   7766 
   7767 found="no"
   7768 
   7769 	if test $found = "no" ; then
   7770 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7771 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7772 		fi
   7773 
   7774 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7775 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7776 		fi
   7777 
   7778 		CFLAGS="$CFLAGS -Werror=init-self"
   7779 
   7780 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7781 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7782 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7783 		if eval test \${$cacheid+y}
   7784 then :
   7785   printf %s "(cached) " >&6
   7786 else case e in #(
   7787   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7788 /* end confdefs.h.  */
   7789 int i;
   7790 int
   7791 main (void)
   7792 {
   7793 
   7794   ;
   7795   return 0;
   7796 }
   7797 _ACEOF
   7798 if ac_fn_c_try_link "$LINENO"
   7799 then :
   7800   eval $cacheid=yes
   7801 else case e in #(
   7802   e) eval $cacheid=no ;;
   7803 esac
   7804 fi
   7805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7806     conftest$ac_exeext conftest.$ac_ext ;;
   7807 esac
   7808 fi
   7809 
   7810 
   7811 		CFLAGS="$xorg_testset_save_CFLAGS"
   7812 
   7813 		eval supported=\$$cacheid
   7814 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7815 printf "%s\n" "$supported" >&6; }
   7816 		if test "$supported" = "yes" ; then
   7817 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7818 			found="yes"
   7819 		fi
   7820 	fi
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 xorg_testset_save_CFLAGS="$CFLAGS"
   7837 
   7838 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7839 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7840 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7841 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7842 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7843 then :
   7844   printf %s "(cached) " >&6
   7845 else case e in #(
   7846   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7847 /* end confdefs.h.  */
   7848 int i;
   7849 _ACEOF
   7850 if ac_fn_c_try_compile "$LINENO"
   7851 then :
   7852   xorg_cv_cc_flag_unknown_warning_option=yes
   7853 else case e in #(
   7854   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7855 esac
   7856 fi
   7857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7858 esac
   7859 fi
   7860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7861 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7862 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7863 	CFLAGS="$xorg_testset_save_CFLAGS"
   7864 fi
   7865 
   7866 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7867 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7868 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7869 	fi
   7870 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7871 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7872 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7873 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7874 then :
   7875   printf %s "(cached) " >&6
   7876 else case e in #(
   7877   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7878 /* end confdefs.h.  */
   7879 int i;
   7880 _ACEOF
   7881 if ac_fn_c_try_compile "$LINENO"
   7882 then :
   7883   xorg_cv_cc_flag_unused_command_line_argument=yes
   7884 else case e in #(
   7885   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7886 esac
   7887 fi
   7888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7889 esac
   7890 fi
   7891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7892 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7893 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7894 	CFLAGS="$xorg_testset_save_CFLAGS"
   7895 fi
   7896 
   7897 found="no"
   7898 
   7899 	if test $found = "no" ; then
   7900 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7901 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7902 		fi
   7903 
   7904 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7905 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7906 		fi
   7907 
   7908 		CFLAGS="$CFLAGS -Werror=main"
   7909 
   7910 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7911 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7912 		cacheid=xorg_cv_cc_flag__Werror_main
   7913 		if eval test \${$cacheid+y}
   7914 then :
   7915   printf %s "(cached) " >&6
   7916 else case e in #(
   7917   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7918 /* end confdefs.h.  */
   7919 int i;
   7920 int
   7921 main (void)
   7922 {
   7923 
   7924   ;
   7925   return 0;
   7926 }
   7927 _ACEOF
   7928 if ac_fn_c_try_link "$LINENO"
   7929 then :
   7930   eval $cacheid=yes
   7931 else case e in #(
   7932   e) eval $cacheid=no ;;
   7933 esac
   7934 fi
   7935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7936     conftest$ac_exeext conftest.$ac_ext ;;
   7937 esac
   7938 fi
   7939 
   7940 
   7941 		CFLAGS="$xorg_testset_save_CFLAGS"
   7942 
   7943 		eval supported=\$$cacheid
   7944 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7945 printf "%s\n" "$supported" >&6; }
   7946 		if test "$supported" = "yes" ; then
   7947 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7948 			found="yes"
   7949 		fi
   7950 	fi
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 xorg_testset_save_CFLAGS="$CFLAGS"
   7967 
   7968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7970 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7971 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7972 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7973 then :
   7974   printf %s "(cached) " >&6
   7975 else case e in #(
   7976   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7977 /* end confdefs.h.  */
   7978 int i;
   7979 _ACEOF
   7980 if ac_fn_c_try_compile "$LINENO"
   7981 then :
   7982   xorg_cv_cc_flag_unknown_warning_option=yes
   7983 else case e in #(
   7984   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7985 esac
   7986 fi
   7987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7988 esac
   7989 fi
   7990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7991 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7992 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7993 	CFLAGS="$xorg_testset_save_CFLAGS"
   7994 fi
   7995 
   7996 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7997 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7998 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7999 	fi
   8000 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8001 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8002 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8003 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8004 then :
   8005   printf %s "(cached) " >&6
   8006 else case e in #(
   8007   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8008 /* end confdefs.h.  */
   8009 int i;
   8010 _ACEOF
   8011 if ac_fn_c_try_compile "$LINENO"
   8012 then :
   8013   xorg_cv_cc_flag_unused_command_line_argument=yes
   8014 else case e in #(
   8015   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8016 esac
   8017 fi
   8018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8019 esac
   8020 fi
   8021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8022 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8023 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8024 	CFLAGS="$xorg_testset_save_CFLAGS"
   8025 fi
   8026 
   8027 found="no"
   8028 
   8029 	if test $found = "no" ; then
   8030 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8032 		fi
   8033 
   8034 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8036 		fi
   8037 
   8038 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8039 
   8040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8041 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8042 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8043 		if eval test \${$cacheid+y}
   8044 then :
   8045   printf %s "(cached) " >&6
   8046 else case e in #(
   8047   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8048 /* end confdefs.h.  */
   8049 int i;
   8050 int
   8051 main (void)
   8052 {
   8053 
   8054   ;
   8055   return 0;
   8056 }
   8057 _ACEOF
   8058 if ac_fn_c_try_link "$LINENO"
   8059 then :
   8060   eval $cacheid=yes
   8061 else case e in #(
   8062   e) eval $cacheid=no ;;
   8063 esac
   8064 fi
   8065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8066     conftest$ac_exeext conftest.$ac_ext ;;
   8067 esac
   8068 fi
   8069 
   8070 
   8071 		CFLAGS="$xorg_testset_save_CFLAGS"
   8072 
   8073 		eval supported=\$$cacheid
   8074 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8075 printf "%s\n" "$supported" >&6; }
   8076 		if test "$supported" = "yes" ; then
   8077 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8078 			found="yes"
   8079 		fi
   8080 	fi
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 xorg_testset_save_CFLAGS="$CFLAGS"
   8097 
   8098 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8099 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8100 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8101 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8102 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8103 then :
   8104   printf %s "(cached) " >&6
   8105 else case e in #(
   8106   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8107 /* end confdefs.h.  */
   8108 int i;
   8109 _ACEOF
   8110 if ac_fn_c_try_compile "$LINENO"
   8111 then :
   8112   xorg_cv_cc_flag_unknown_warning_option=yes
   8113 else case e in #(
   8114   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8115 esac
   8116 fi
   8117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8118 esac
   8119 fi
   8120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8121 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8122 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8123 	CFLAGS="$xorg_testset_save_CFLAGS"
   8124 fi
   8125 
   8126 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8127 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8128 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8129 	fi
   8130 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8131 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8132 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8133 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8134 then :
   8135   printf %s "(cached) " >&6
   8136 else case e in #(
   8137   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8138 /* end confdefs.h.  */
   8139 int i;
   8140 _ACEOF
   8141 if ac_fn_c_try_compile "$LINENO"
   8142 then :
   8143   xorg_cv_cc_flag_unused_command_line_argument=yes
   8144 else case e in #(
   8145   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8146 esac
   8147 fi
   8148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8149 esac
   8150 fi
   8151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8152 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8153 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8154 	CFLAGS="$xorg_testset_save_CFLAGS"
   8155 fi
   8156 
   8157 found="no"
   8158 
   8159 	if test $found = "no" ; then
   8160 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8161 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8162 		fi
   8163 
   8164 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8165 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8166 		fi
   8167 
   8168 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8169 
   8170 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8171 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8172 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8173 		if eval test \${$cacheid+y}
   8174 then :
   8175   printf %s "(cached) " >&6
   8176 else case e in #(
   8177   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8178 /* end confdefs.h.  */
   8179 int i;
   8180 int
   8181 main (void)
   8182 {
   8183 
   8184   ;
   8185   return 0;
   8186 }
   8187 _ACEOF
   8188 if ac_fn_c_try_link "$LINENO"
   8189 then :
   8190   eval $cacheid=yes
   8191 else case e in #(
   8192   e) eval $cacheid=no ;;
   8193 esac
   8194 fi
   8195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8196     conftest$ac_exeext conftest.$ac_ext ;;
   8197 esac
   8198 fi
   8199 
   8200 
   8201 		CFLAGS="$xorg_testset_save_CFLAGS"
   8202 
   8203 		eval supported=\$$cacheid
   8204 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8205 printf "%s\n" "$supported" >&6; }
   8206 		if test "$supported" = "yes" ; then
   8207 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8208 			found="yes"
   8209 		fi
   8210 	fi
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 xorg_testset_save_CFLAGS="$CFLAGS"
   8227 
   8228 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8229 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8230 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8231 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8232 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8233 then :
   8234   printf %s "(cached) " >&6
   8235 else case e in #(
   8236   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8237 /* end confdefs.h.  */
   8238 int i;
   8239 _ACEOF
   8240 if ac_fn_c_try_compile "$LINENO"
   8241 then :
   8242   xorg_cv_cc_flag_unknown_warning_option=yes
   8243 else case e in #(
   8244   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8245 esac
   8246 fi
   8247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8248 esac
   8249 fi
   8250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8251 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8252 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8253 	CFLAGS="$xorg_testset_save_CFLAGS"
   8254 fi
   8255 
   8256 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8257 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8258 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8259 	fi
   8260 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8261 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8262 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8263 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8264 then :
   8265   printf %s "(cached) " >&6
   8266 else case e in #(
   8267   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8268 /* end confdefs.h.  */
   8269 int i;
   8270 _ACEOF
   8271 if ac_fn_c_try_compile "$LINENO"
   8272 then :
   8273   xorg_cv_cc_flag_unused_command_line_argument=yes
   8274 else case e in #(
   8275   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8276 esac
   8277 fi
   8278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8279 esac
   8280 fi
   8281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8282 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8283 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8284 	CFLAGS="$xorg_testset_save_CFLAGS"
   8285 fi
   8286 
   8287 found="no"
   8288 
   8289 	if test $found = "no" ; then
   8290 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8292 		fi
   8293 
   8294 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8296 		fi
   8297 
   8298 		CFLAGS="$CFLAGS -Werror=return-type"
   8299 
   8300 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8301 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8302 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8303 		if eval test \${$cacheid+y}
   8304 then :
   8305   printf %s "(cached) " >&6
   8306 else case e in #(
   8307   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8308 /* end confdefs.h.  */
   8309 int i;
   8310 int
   8311 main (void)
   8312 {
   8313 
   8314   ;
   8315   return 0;
   8316 }
   8317 _ACEOF
   8318 if ac_fn_c_try_link "$LINENO"
   8319 then :
   8320   eval $cacheid=yes
   8321 else case e in #(
   8322   e) eval $cacheid=no ;;
   8323 esac
   8324 fi
   8325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8326     conftest$ac_exeext conftest.$ac_ext ;;
   8327 esac
   8328 fi
   8329 
   8330 
   8331 		CFLAGS="$xorg_testset_save_CFLAGS"
   8332 
   8333 		eval supported=\$$cacheid
   8334 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8335 printf "%s\n" "$supported" >&6; }
   8336 		if test "$supported" = "yes" ; then
   8337 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8338 			found="yes"
   8339 		fi
   8340 	fi
   8341 
   8342 	if test $found = "no" ; then
   8343 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8344 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8345 		fi
   8346 
   8347 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8348 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8349 		fi
   8350 
   8351 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8352 
   8353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8354 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8355 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8356 		if eval test \${$cacheid+y}
   8357 then :
   8358   printf %s "(cached) " >&6
   8359 else case e in #(
   8360   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8361 /* end confdefs.h.  */
   8362 int i;
   8363 int
   8364 main (void)
   8365 {
   8366 
   8367   ;
   8368   return 0;
   8369 }
   8370 _ACEOF
   8371 if ac_fn_c_try_link "$LINENO"
   8372 then :
   8373   eval $cacheid=yes
   8374 else case e in #(
   8375   e) eval $cacheid=no ;;
   8376 esac
   8377 fi
   8378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8379     conftest$ac_exeext conftest.$ac_ext ;;
   8380 esac
   8381 fi
   8382 
   8383 
   8384 		CFLAGS="$xorg_testset_save_CFLAGS"
   8385 
   8386 		eval supported=\$$cacheid
   8387 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8388 printf "%s\n" "$supported" >&6; }
   8389 		if test "$supported" = "yes" ; then
   8390 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8391 			found="yes"
   8392 		fi
   8393 	fi
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 xorg_testset_save_CFLAGS="$CFLAGS"
   8410 
   8411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8413 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8414 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8415 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8416 then :
   8417   printf %s "(cached) " >&6
   8418 else case e in #(
   8419   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8420 /* end confdefs.h.  */
   8421 int i;
   8422 _ACEOF
   8423 if ac_fn_c_try_compile "$LINENO"
   8424 then :
   8425   xorg_cv_cc_flag_unknown_warning_option=yes
   8426 else case e in #(
   8427   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8428 esac
   8429 fi
   8430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8431 esac
   8432 fi
   8433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8434 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8436 	CFLAGS="$xorg_testset_save_CFLAGS"
   8437 fi
   8438 
   8439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8442 	fi
   8443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8444 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8445 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8446 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8447 then :
   8448   printf %s "(cached) " >&6
   8449 else case e in #(
   8450   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8451 /* end confdefs.h.  */
   8452 int i;
   8453 _ACEOF
   8454 if ac_fn_c_try_compile "$LINENO"
   8455 then :
   8456   xorg_cv_cc_flag_unused_command_line_argument=yes
   8457 else case e in #(
   8458   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8459 esac
   8460 fi
   8461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8462 esac
   8463 fi
   8464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8465 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8467 	CFLAGS="$xorg_testset_save_CFLAGS"
   8468 fi
   8469 
   8470 found="no"
   8471 
   8472 	if test $found = "no" ; then
   8473 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8475 		fi
   8476 
   8477 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8479 		fi
   8480 
   8481 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8482 
   8483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8484 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8485 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8486 		if eval test \${$cacheid+y}
   8487 then :
   8488   printf %s "(cached) " >&6
   8489 else case e in #(
   8490   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8491 /* end confdefs.h.  */
   8492 int i;
   8493 int
   8494 main (void)
   8495 {
   8496 
   8497   ;
   8498   return 0;
   8499 }
   8500 _ACEOF
   8501 if ac_fn_c_try_link "$LINENO"
   8502 then :
   8503   eval $cacheid=yes
   8504 else case e in #(
   8505   e) eval $cacheid=no ;;
   8506 esac
   8507 fi
   8508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8509     conftest$ac_exeext conftest.$ac_ext ;;
   8510 esac
   8511 fi
   8512 
   8513 
   8514 		CFLAGS="$xorg_testset_save_CFLAGS"
   8515 
   8516 		eval supported=\$$cacheid
   8517 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8518 printf "%s\n" "$supported" >&6; }
   8519 		if test "$supported" = "yes" ; then
   8520 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8521 			found="yes"
   8522 		fi
   8523 	fi
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 xorg_testset_save_CFLAGS="$CFLAGS"
   8540 
   8541 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8542 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8543 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8544 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8545 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8546 then :
   8547   printf %s "(cached) " >&6
   8548 else case e in #(
   8549   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8550 /* end confdefs.h.  */
   8551 int i;
   8552 _ACEOF
   8553 if ac_fn_c_try_compile "$LINENO"
   8554 then :
   8555   xorg_cv_cc_flag_unknown_warning_option=yes
   8556 else case e in #(
   8557   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8558 esac
   8559 fi
   8560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8561 esac
   8562 fi
   8563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8564 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8566 	CFLAGS="$xorg_testset_save_CFLAGS"
   8567 fi
   8568 
   8569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8572 	fi
   8573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8574 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8575 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8576 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8577 then :
   8578   printf %s "(cached) " >&6
   8579 else case e in #(
   8580   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8581 /* end confdefs.h.  */
   8582 int i;
   8583 _ACEOF
   8584 if ac_fn_c_try_compile "$LINENO"
   8585 then :
   8586   xorg_cv_cc_flag_unused_command_line_argument=yes
   8587 else case e in #(
   8588   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8589 esac
   8590 fi
   8591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8592 esac
   8593 fi
   8594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8595 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8597 	CFLAGS="$xorg_testset_save_CFLAGS"
   8598 fi
   8599 
   8600 found="no"
   8601 
   8602 	if test $found = "no" ; then
   8603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8605 		fi
   8606 
   8607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8609 		fi
   8610 
   8611 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8612 
   8613 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8614 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8615 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8616 		if eval test \${$cacheid+y}
   8617 then :
   8618   printf %s "(cached) " >&6
   8619 else case e in #(
   8620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8621 /* end confdefs.h.  */
   8622 int i;
   8623 int
   8624 main (void)
   8625 {
   8626 
   8627   ;
   8628   return 0;
   8629 }
   8630 _ACEOF
   8631 if ac_fn_c_try_link "$LINENO"
   8632 then :
   8633   eval $cacheid=yes
   8634 else case e in #(
   8635   e) eval $cacheid=no ;;
   8636 esac
   8637 fi
   8638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8639     conftest$ac_exeext conftest.$ac_ext ;;
   8640 esac
   8641 fi
   8642 
   8643 
   8644 		CFLAGS="$xorg_testset_save_CFLAGS"
   8645 
   8646 		eval supported=\$$cacheid
   8647 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8648 printf "%s\n" "$supported" >&6; }
   8649 		if test "$supported" = "yes" ; then
   8650 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8651 			found="yes"
   8652 		fi
   8653 	fi
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 xorg_testset_save_CFLAGS="$CFLAGS"
   8670 
   8671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8674 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8675 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8676 then :
   8677   printf %s "(cached) " >&6
   8678 else case e in #(
   8679   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8680 /* end confdefs.h.  */
   8681 int i;
   8682 _ACEOF
   8683 if ac_fn_c_try_compile "$LINENO"
   8684 then :
   8685   xorg_cv_cc_flag_unknown_warning_option=yes
   8686 else case e in #(
   8687   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8688 esac
   8689 fi
   8690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8691 esac
   8692 fi
   8693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8694 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8696 	CFLAGS="$xorg_testset_save_CFLAGS"
   8697 fi
   8698 
   8699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8702 	fi
   8703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8704 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8705 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8706 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8707 then :
   8708   printf %s "(cached) " >&6
   8709 else case e in #(
   8710   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8711 /* end confdefs.h.  */
   8712 int i;
   8713 _ACEOF
   8714 if ac_fn_c_try_compile "$LINENO"
   8715 then :
   8716   xorg_cv_cc_flag_unused_command_line_argument=yes
   8717 else case e in #(
   8718   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8719 esac
   8720 fi
   8721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8722 esac
   8723 fi
   8724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8725 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8726 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8727 	CFLAGS="$xorg_testset_save_CFLAGS"
   8728 fi
   8729 
   8730 found="no"
   8731 
   8732 	if test $found = "no" ; then
   8733 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8734 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8735 		fi
   8736 
   8737 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8738 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8739 		fi
   8740 
   8741 		CFLAGS="$CFLAGS -Werror=write-strings"
   8742 
   8743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8744 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8745 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8746 		if eval test \${$cacheid+y}
   8747 then :
   8748   printf %s "(cached) " >&6
   8749 else case e in #(
   8750   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8751 /* end confdefs.h.  */
   8752 int i;
   8753 int
   8754 main (void)
   8755 {
   8756 
   8757   ;
   8758   return 0;
   8759 }
   8760 _ACEOF
   8761 if ac_fn_c_try_link "$LINENO"
   8762 then :
   8763   eval $cacheid=yes
   8764 else case e in #(
   8765   e) eval $cacheid=no ;;
   8766 esac
   8767 fi
   8768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8769     conftest$ac_exeext conftest.$ac_ext ;;
   8770 esac
   8771 fi
   8772 
   8773 
   8774 		CFLAGS="$xorg_testset_save_CFLAGS"
   8775 
   8776 		eval supported=\$$cacheid
   8777 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8778 printf "%s\n" "$supported" >&6; }
   8779 		if test "$supported" = "yes" ; then
   8780 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8781 			found="yes"
   8782 		fi
   8783 	fi
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 xorg_testset_save_CFLAGS="$CFLAGS"
   8800 
   8801 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8803 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8804 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8805 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8806 then :
   8807   printf %s "(cached) " >&6
   8808 else case e in #(
   8809   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8810 /* end confdefs.h.  */
   8811 int i;
   8812 _ACEOF
   8813 if ac_fn_c_try_compile "$LINENO"
   8814 then :
   8815   xorg_cv_cc_flag_unknown_warning_option=yes
   8816 else case e in #(
   8817   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8818 esac
   8819 fi
   8820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8821 esac
   8822 fi
   8823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8824 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8825 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8826 	CFLAGS="$xorg_testset_save_CFLAGS"
   8827 fi
   8828 
   8829 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8830 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8831 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8832 	fi
   8833 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8835 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8836 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8837 then :
   8838   printf %s "(cached) " >&6
   8839 else case e in #(
   8840   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8841 /* end confdefs.h.  */
   8842 int i;
   8843 _ACEOF
   8844 if ac_fn_c_try_compile "$LINENO"
   8845 then :
   8846   xorg_cv_cc_flag_unused_command_line_argument=yes
   8847 else case e in #(
   8848   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8849 esac
   8850 fi
   8851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8852 esac
   8853 fi
   8854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8855 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8856 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8857 	CFLAGS="$xorg_testset_save_CFLAGS"
   8858 fi
   8859 
   8860 found="no"
   8861 
   8862 	if test $found = "no" ; then
   8863 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8865 		fi
   8866 
   8867 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8869 		fi
   8870 
   8871 		CFLAGS="$CFLAGS -Werror=address"
   8872 
   8873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8874 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8875 		cacheid=xorg_cv_cc_flag__Werror_address
   8876 		if eval test \${$cacheid+y}
   8877 then :
   8878   printf %s "(cached) " >&6
   8879 else case e in #(
   8880   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8881 /* end confdefs.h.  */
   8882 int i;
   8883 int
   8884 main (void)
   8885 {
   8886 
   8887   ;
   8888   return 0;
   8889 }
   8890 _ACEOF
   8891 if ac_fn_c_try_link "$LINENO"
   8892 then :
   8893   eval $cacheid=yes
   8894 else case e in #(
   8895   e) eval $cacheid=no ;;
   8896 esac
   8897 fi
   8898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8899     conftest$ac_exeext conftest.$ac_ext ;;
   8900 esac
   8901 fi
   8902 
   8903 
   8904 		CFLAGS="$xorg_testset_save_CFLAGS"
   8905 
   8906 		eval supported=\$$cacheid
   8907 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8908 printf "%s\n" "$supported" >&6; }
   8909 		if test "$supported" = "yes" ; then
   8910 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8911 			found="yes"
   8912 		fi
   8913 	fi
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 xorg_testset_save_CFLAGS="$CFLAGS"
   8930 
   8931 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8932 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8933 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8934 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8935 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8936 then :
   8937   printf %s "(cached) " >&6
   8938 else case e in #(
   8939   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8940 /* end confdefs.h.  */
   8941 int i;
   8942 _ACEOF
   8943 if ac_fn_c_try_compile "$LINENO"
   8944 then :
   8945   xorg_cv_cc_flag_unknown_warning_option=yes
   8946 else case e in #(
   8947   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8948 esac
   8949 fi
   8950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8951 esac
   8952 fi
   8953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8954 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8955 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8956 	CFLAGS="$xorg_testset_save_CFLAGS"
   8957 fi
   8958 
   8959 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8960 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8961 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8962 	fi
   8963 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8964 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8965 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8966 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8967 then :
   8968   printf %s "(cached) " >&6
   8969 else case e in #(
   8970   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8971 /* end confdefs.h.  */
   8972 int i;
   8973 _ACEOF
   8974 if ac_fn_c_try_compile "$LINENO"
   8975 then :
   8976   xorg_cv_cc_flag_unused_command_line_argument=yes
   8977 else case e in #(
   8978   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8979 esac
   8980 fi
   8981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8982 esac
   8983 fi
   8984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8985 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8986 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8987 	CFLAGS="$xorg_testset_save_CFLAGS"
   8988 fi
   8989 
   8990 found="no"
   8991 
   8992 	if test $found = "no" ; then
   8993 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8994 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8995 		fi
   8996 
   8997 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8998 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8999 		fi
   9000 
   9001 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9002 
   9003 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9004 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9005 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9006 		if eval test \${$cacheid+y}
   9007 then :
   9008   printf %s "(cached) " >&6
   9009 else case e in #(
   9010   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9011 /* end confdefs.h.  */
   9012 int i;
   9013 int
   9014 main (void)
   9015 {
   9016 
   9017   ;
   9018   return 0;
   9019 }
   9020 _ACEOF
   9021 if ac_fn_c_try_link "$LINENO"
   9022 then :
   9023   eval $cacheid=yes
   9024 else case e in #(
   9025   e) eval $cacheid=no ;;
   9026 esac
   9027 fi
   9028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9029     conftest$ac_exeext conftest.$ac_ext ;;
   9030 esac
   9031 fi
   9032 
   9033 
   9034 		CFLAGS="$xorg_testset_save_CFLAGS"
   9035 
   9036 		eval supported=\$$cacheid
   9037 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9038 printf "%s\n" "$supported" >&6; }
   9039 		if test "$supported" = "yes" ; then
   9040 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9041 			found="yes"
   9042 		fi
   9043 	fi
   9044 
   9045 	if test $found = "no" ; then
   9046 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9047 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9048 		fi
   9049 
   9050 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9051 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9052 		fi
   9053 
   9054 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9055 
   9056 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9057 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9058 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9059 		if eval test \${$cacheid+y}
   9060 then :
   9061   printf %s "(cached) " >&6
   9062 else case e in #(
   9063   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9064 /* end confdefs.h.  */
   9065 int i;
   9066 int
   9067 main (void)
   9068 {
   9069 
   9070   ;
   9071   return 0;
   9072 }
   9073 _ACEOF
   9074 if ac_fn_c_try_link "$LINENO"
   9075 then :
   9076   eval $cacheid=yes
   9077 else case e in #(
   9078   e) eval $cacheid=no ;;
   9079 esac
   9080 fi
   9081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9082     conftest$ac_exeext conftest.$ac_ext ;;
   9083 esac
   9084 fi
   9085 
   9086 
   9087 		CFLAGS="$xorg_testset_save_CFLAGS"
   9088 
   9089 		eval supported=\$$cacheid
   9090 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9091 printf "%s\n" "$supported" >&6; }
   9092 		if test "$supported" = "yes" ; then
   9093 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9094 			found="yes"
   9095 		fi
   9096 	fi
   9097 
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 xorg_testset_save_CFLAGS="$CFLAGS"
   9113 
   9114 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9115 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9116 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9117 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9118 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9119 then :
   9120   printf %s "(cached) " >&6
   9121 else case e in #(
   9122   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9123 /* end confdefs.h.  */
   9124 int i;
   9125 _ACEOF
   9126 if ac_fn_c_try_compile "$LINENO"
   9127 then :
   9128   xorg_cv_cc_flag_unknown_warning_option=yes
   9129 else case e in #(
   9130   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9131 esac
   9132 fi
   9133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9134 esac
   9135 fi
   9136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9137 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9138 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9139 	CFLAGS="$xorg_testset_save_CFLAGS"
   9140 fi
   9141 
   9142 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9143 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9144 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9145 	fi
   9146 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9147 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9148 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9149 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9150 then :
   9151   printf %s "(cached) " >&6
   9152 else case e in #(
   9153   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9154 /* end confdefs.h.  */
   9155 int i;
   9156 _ACEOF
   9157 if ac_fn_c_try_compile "$LINENO"
   9158 then :
   9159   xorg_cv_cc_flag_unused_command_line_argument=yes
   9160 else case e in #(
   9161   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9162 esac
   9163 fi
   9164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9165 esac
   9166 fi
   9167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9168 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9170 	CFLAGS="$xorg_testset_save_CFLAGS"
   9171 fi
   9172 
   9173 found="no"
   9174 
   9175 	if test $found = "no" ; then
   9176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9178 		fi
   9179 
   9180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9182 		fi
   9183 
   9184 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9185 
   9186 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9187 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9188 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9189 		if eval test \${$cacheid+y}
   9190 then :
   9191   printf %s "(cached) " >&6
   9192 else case e in #(
   9193   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9194 /* end confdefs.h.  */
   9195 int i;
   9196 int
   9197 main (void)
   9198 {
   9199 
   9200   ;
   9201   return 0;
   9202 }
   9203 _ACEOF
   9204 if ac_fn_c_try_link "$LINENO"
   9205 then :
   9206   eval $cacheid=yes
   9207 else case e in #(
   9208   e) eval $cacheid=no ;;
   9209 esac
   9210 fi
   9211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9212     conftest$ac_exeext conftest.$ac_ext ;;
   9213 esac
   9214 fi
   9215 
   9216 
   9217 		CFLAGS="$xorg_testset_save_CFLAGS"
   9218 
   9219 		eval supported=\$$cacheid
   9220 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9221 printf "%s\n" "$supported" >&6; }
   9222 		if test "$supported" = "yes" ; then
   9223 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9224 			found="yes"
   9225 		fi
   9226 	fi
   9227 
   9228  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9229 else
   9230 { 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
   9231 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;}
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 xorg_testset_save_CFLAGS="$CFLAGS"
   9246 
   9247 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9248 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9249 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9250 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9251 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9252 then :
   9253   printf %s "(cached) " >&6
   9254 else case e in #(
   9255   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9256 /* end confdefs.h.  */
   9257 int i;
   9258 _ACEOF
   9259 if ac_fn_c_try_compile "$LINENO"
   9260 then :
   9261   xorg_cv_cc_flag_unknown_warning_option=yes
   9262 else case e in #(
   9263   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9264 esac
   9265 fi
   9266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9267 esac
   9268 fi
   9269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9270 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9271 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9272 	CFLAGS="$xorg_testset_save_CFLAGS"
   9273 fi
   9274 
   9275 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9276 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9278 	fi
   9279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9280 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9281 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9282 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9283 then :
   9284   printf %s "(cached) " >&6
   9285 else case e in #(
   9286   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9287 /* end confdefs.h.  */
   9288 int i;
   9289 _ACEOF
   9290 if ac_fn_c_try_compile "$LINENO"
   9291 then :
   9292   xorg_cv_cc_flag_unused_command_line_argument=yes
   9293 else case e in #(
   9294   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9295 esac
   9296 fi
   9297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9298 esac
   9299 fi
   9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9301 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9302 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9303 	CFLAGS="$xorg_testset_save_CFLAGS"
   9304 fi
   9305 
   9306 found="no"
   9307 
   9308 	if test $found = "no" ; then
   9309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9311 		fi
   9312 
   9313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9315 		fi
   9316 
   9317 		CFLAGS="$CFLAGS -Wimplicit"
   9318 
   9319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9320 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9321 		cacheid=xorg_cv_cc_flag__Wimplicit
   9322 		if eval test \${$cacheid+y}
   9323 then :
   9324   printf %s "(cached) " >&6
   9325 else case e in #(
   9326   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9327 /* end confdefs.h.  */
   9328 int i;
   9329 int
   9330 main (void)
   9331 {
   9332 
   9333   ;
   9334   return 0;
   9335 }
   9336 _ACEOF
   9337 if ac_fn_c_try_link "$LINENO"
   9338 then :
   9339   eval $cacheid=yes
   9340 else case e in #(
   9341   e) eval $cacheid=no ;;
   9342 esac
   9343 fi
   9344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9345     conftest$ac_exeext conftest.$ac_ext ;;
   9346 esac
   9347 fi
   9348 
   9349 
   9350 		CFLAGS="$xorg_testset_save_CFLAGS"
   9351 
   9352 		eval supported=\$$cacheid
   9353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9354 printf "%s\n" "$supported" >&6; }
   9355 		if test "$supported" = "yes" ; then
   9356 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9357 			found="yes"
   9358 		fi
   9359 	fi
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 xorg_testset_save_CFLAGS="$CFLAGS"
   9376 
   9377 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9378 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9379 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9380 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9381 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9382 then :
   9383   printf %s "(cached) " >&6
   9384 else case e in #(
   9385   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9386 /* end confdefs.h.  */
   9387 int i;
   9388 _ACEOF
   9389 if ac_fn_c_try_compile "$LINENO"
   9390 then :
   9391   xorg_cv_cc_flag_unknown_warning_option=yes
   9392 else case e in #(
   9393   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9394 esac
   9395 fi
   9396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9397 esac
   9398 fi
   9399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9400 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9401 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9402 	CFLAGS="$xorg_testset_save_CFLAGS"
   9403 fi
   9404 
   9405 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9406 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9407 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9408 	fi
   9409 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9410 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9411 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9412 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9413 then :
   9414   printf %s "(cached) " >&6
   9415 else case e in #(
   9416   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9417 /* end confdefs.h.  */
   9418 int i;
   9419 _ACEOF
   9420 if ac_fn_c_try_compile "$LINENO"
   9421 then :
   9422   xorg_cv_cc_flag_unused_command_line_argument=yes
   9423 else case e in #(
   9424   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9425 esac
   9426 fi
   9427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9428 esac
   9429 fi
   9430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9431 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9432 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9433 	CFLAGS="$xorg_testset_save_CFLAGS"
   9434 fi
   9435 
   9436 found="no"
   9437 
   9438 	if test $found = "no" ; then
   9439 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9440 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9441 		fi
   9442 
   9443 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9444 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9445 		fi
   9446 
   9447 		CFLAGS="$CFLAGS -Wnonnull"
   9448 
   9449 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9450 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9451 		cacheid=xorg_cv_cc_flag__Wnonnull
   9452 		if eval test \${$cacheid+y}
   9453 then :
   9454   printf %s "(cached) " >&6
   9455 else case e in #(
   9456   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9457 /* end confdefs.h.  */
   9458 int i;
   9459 int
   9460 main (void)
   9461 {
   9462 
   9463   ;
   9464   return 0;
   9465 }
   9466 _ACEOF
   9467 if ac_fn_c_try_link "$LINENO"
   9468 then :
   9469   eval $cacheid=yes
   9470 else case e in #(
   9471   e) eval $cacheid=no ;;
   9472 esac
   9473 fi
   9474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9475     conftest$ac_exeext conftest.$ac_ext ;;
   9476 esac
   9477 fi
   9478 
   9479 
   9480 		CFLAGS="$xorg_testset_save_CFLAGS"
   9481 
   9482 		eval supported=\$$cacheid
   9483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9484 printf "%s\n" "$supported" >&6; }
   9485 		if test "$supported" = "yes" ; then
   9486 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9487 			found="yes"
   9488 		fi
   9489 	fi
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 xorg_testset_save_CFLAGS="$CFLAGS"
   9506 
   9507 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9508 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9509 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9510 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9511 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9512 then :
   9513   printf %s "(cached) " >&6
   9514 else case e in #(
   9515   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9516 /* end confdefs.h.  */
   9517 int i;
   9518 _ACEOF
   9519 if ac_fn_c_try_compile "$LINENO"
   9520 then :
   9521   xorg_cv_cc_flag_unknown_warning_option=yes
   9522 else case e in #(
   9523   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9524 esac
   9525 fi
   9526 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9527 esac
   9528 fi
   9529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9530 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9531 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9532 	CFLAGS="$xorg_testset_save_CFLAGS"
   9533 fi
   9534 
   9535 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9536 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9537 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9538 	fi
   9539 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9540 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9541 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9542 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9543 then :
   9544   printf %s "(cached) " >&6
   9545 else case e in #(
   9546   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9547 /* end confdefs.h.  */
   9548 int i;
   9549 _ACEOF
   9550 if ac_fn_c_try_compile "$LINENO"
   9551 then :
   9552   xorg_cv_cc_flag_unused_command_line_argument=yes
   9553 else case e in #(
   9554   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9555 esac
   9556 fi
   9557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9558 esac
   9559 fi
   9560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9561 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9562 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9563 	CFLAGS="$xorg_testset_save_CFLAGS"
   9564 fi
   9565 
   9566 found="no"
   9567 
   9568 	if test $found = "no" ; then
   9569 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9570 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9571 		fi
   9572 
   9573 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9574 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9575 		fi
   9576 
   9577 		CFLAGS="$CFLAGS -Winit-self"
   9578 
   9579 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9580 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9581 		cacheid=xorg_cv_cc_flag__Winit_self
   9582 		if eval test \${$cacheid+y}
   9583 then :
   9584   printf %s "(cached) " >&6
   9585 else case e in #(
   9586   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9587 /* end confdefs.h.  */
   9588 int i;
   9589 int
   9590 main (void)
   9591 {
   9592 
   9593   ;
   9594   return 0;
   9595 }
   9596 _ACEOF
   9597 if ac_fn_c_try_link "$LINENO"
   9598 then :
   9599   eval $cacheid=yes
   9600 else case e in #(
   9601   e) eval $cacheid=no ;;
   9602 esac
   9603 fi
   9604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9605     conftest$ac_exeext conftest.$ac_ext ;;
   9606 esac
   9607 fi
   9608 
   9609 
   9610 		CFLAGS="$xorg_testset_save_CFLAGS"
   9611 
   9612 		eval supported=\$$cacheid
   9613 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9614 printf "%s\n" "$supported" >&6; }
   9615 		if test "$supported" = "yes" ; then
   9616 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9617 			found="yes"
   9618 		fi
   9619 	fi
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 xorg_testset_save_CFLAGS="$CFLAGS"
   9636 
   9637 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9638 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9639 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9640 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9641 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9642 then :
   9643   printf %s "(cached) " >&6
   9644 else case e in #(
   9645   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9646 /* end confdefs.h.  */
   9647 int i;
   9648 _ACEOF
   9649 if ac_fn_c_try_compile "$LINENO"
   9650 then :
   9651   xorg_cv_cc_flag_unknown_warning_option=yes
   9652 else case e in #(
   9653   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9654 esac
   9655 fi
   9656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9657 esac
   9658 fi
   9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9660 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9661 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9662 	CFLAGS="$xorg_testset_save_CFLAGS"
   9663 fi
   9664 
   9665 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9666 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9667 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9668 	fi
   9669 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9670 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9671 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9672 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9673 then :
   9674   printf %s "(cached) " >&6
   9675 else case e in #(
   9676   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9677 /* end confdefs.h.  */
   9678 int i;
   9679 _ACEOF
   9680 if ac_fn_c_try_compile "$LINENO"
   9681 then :
   9682   xorg_cv_cc_flag_unused_command_line_argument=yes
   9683 else case e in #(
   9684   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9685 esac
   9686 fi
   9687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9688 esac
   9689 fi
   9690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9691 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9692 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9693 	CFLAGS="$xorg_testset_save_CFLAGS"
   9694 fi
   9695 
   9696 found="no"
   9697 
   9698 	if test $found = "no" ; then
   9699 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9701 		fi
   9702 
   9703 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9705 		fi
   9706 
   9707 		CFLAGS="$CFLAGS -Wmain"
   9708 
   9709 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9710 printf %s "checking if $CC supports -Wmain... " >&6; }
   9711 		cacheid=xorg_cv_cc_flag__Wmain
   9712 		if eval test \${$cacheid+y}
   9713 then :
   9714   printf %s "(cached) " >&6
   9715 else case e in #(
   9716   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9717 /* end confdefs.h.  */
   9718 int i;
   9719 int
   9720 main (void)
   9721 {
   9722 
   9723   ;
   9724   return 0;
   9725 }
   9726 _ACEOF
   9727 if ac_fn_c_try_link "$LINENO"
   9728 then :
   9729   eval $cacheid=yes
   9730 else case e in #(
   9731   e) eval $cacheid=no ;;
   9732 esac
   9733 fi
   9734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9735     conftest$ac_exeext conftest.$ac_ext ;;
   9736 esac
   9737 fi
   9738 
   9739 
   9740 		CFLAGS="$xorg_testset_save_CFLAGS"
   9741 
   9742 		eval supported=\$$cacheid
   9743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9744 printf "%s\n" "$supported" >&6; }
   9745 		if test "$supported" = "yes" ; then
   9746 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9747 			found="yes"
   9748 		fi
   9749 	fi
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 xorg_testset_save_CFLAGS="$CFLAGS"
   9766 
   9767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9769 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9770 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9771 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9772 then :
   9773   printf %s "(cached) " >&6
   9774 else case e in #(
   9775   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9776 /* end confdefs.h.  */
   9777 int i;
   9778 _ACEOF
   9779 if ac_fn_c_try_compile "$LINENO"
   9780 then :
   9781   xorg_cv_cc_flag_unknown_warning_option=yes
   9782 else case e in #(
   9783   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9784 esac
   9785 fi
   9786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9787 esac
   9788 fi
   9789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9790 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9792 	CFLAGS="$xorg_testset_save_CFLAGS"
   9793 fi
   9794 
   9795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9798 	fi
   9799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9800 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9801 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9802 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9803 then :
   9804   printf %s "(cached) " >&6
   9805 else case e in #(
   9806   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9807 /* end confdefs.h.  */
   9808 int i;
   9809 _ACEOF
   9810 if ac_fn_c_try_compile "$LINENO"
   9811 then :
   9812   xorg_cv_cc_flag_unused_command_line_argument=yes
   9813 else case e in #(
   9814   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9815 esac
   9816 fi
   9817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9818 esac
   9819 fi
   9820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9821 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9823 	CFLAGS="$xorg_testset_save_CFLAGS"
   9824 fi
   9825 
   9826 found="no"
   9827 
   9828 	if test $found = "no" ; then
   9829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9831 		fi
   9832 
   9833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9835 		fi
   9836 
   9837 		CFLAGS="$CFLAGS -Wmissing-braces"
   9838 
   9839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9840 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9841 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9842 		if eval test \${$cacheid+y}
   9843 then :
   9844   printf %s "(cached) " >&6
   9845 else case e in #(
   9846   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9847 /* end confdefs.h.  */
   9848 int i;
   9849 int
   9850 main (void)
   9851 {
   9852 
   9853   ;
   9854   return 0;
   9855 }
   9856 _ACEOF
   9857 if ac_fn_c_try_link "$LINENO"
   9858 then :
   9859   eval $cacheid=yes
   9860 else case e in #(
   9861   e) eval $cacheid=no ;;
   9862 esac
   9863 fi
   9864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9865     conftest$ac_exeext conftest.$ac_ext ;;
   9866 esac
   9867 fi
   9868 
   9869 
   9870 		CFLAGS="$xorg_testset_save_CFLAGS"
   9871 
   9872 		eval supported=\$$cacheid
   9873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9874 printf "%s\n" "$supported" >&6; }
   9875 		if test "$supported" = "yes" ; then
   9876 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9877 			found="yes"
   9878 		fi
   9879 	fi
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 xorg_testset_save_CFLAGS="$CFLAGS"
   9896 
   9897 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9898 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9899 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9900 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9901 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9902 then :
   9903   printf %s "(cached) " >&6
   9904 else case e in #(
   9905   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9906 /* end confdefs.h.  */
   9907 int i;
   9908 _ACEOF
   9909 if ac_fn_c_try_compile "$LINENO"
   9910 then :
   9911   xorg_cv_cc_flag_unknown_warning_option=yes
   9912 else case e in #(
   9913   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9914 esac
   9915 fi
   9916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9917 esac
   9918 fi
   9919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9920 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9922 	CFLAGS="$xorg_testset_save_CFLAGS"
   9923 fi
   9924 
   9925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9928 	fi
   9929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9930 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9931 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9932 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9933 then :
   9934   printf %s "(cached) " >&6
   9935 else case e in #(
   9936   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9937 /* end confdefs.h.  */
   9938 int i;
   9939 _ACEOF
   9940 if ac_fn_c_try_compile "$LINENO"
   9941 then :
   9942   xorg_cv_cc_flag_unused_command_line_argument=yes
   9943 else case e in #(
   9944   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9945 esac
   9946 fi
   9947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9948 esac
   9949 fi
   9950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9951 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9953 	CFLAGS="$xorg_testset_save_CFLAGS"
   9954 fi
   9955 
   9956 found="no"
   9957 
   9958 	if test $found = "no" ; then
   9959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9961 		fi
   9962 
   9963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9965 		fi
   9966 
   9967 		CFLAGS="$CFLAGS -Wsequence-point"
   9968 
   9969 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9970 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9971 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9972 		if eval test \${$cacheid+y}
   9973 then :
   9974   printf %s "(cached) " >&6
   9975 else case e in #(
   9976   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9977 /* end confdefs.h.  */
   9978 int i;
   9979 int
   9980 main (void)
   9981 {
   9982 
   9983   ;
   9984   return 0;
   9985 }
   9986 _ACEOF
   9987 if ac_fn_c_try_link "$LINENO"
   9988 then :
   9989   eval $cacheid=yes
   9990 else case e in #(
   9991   e) eval $cacheid=no ;;
   9992 esac
   9993 fi
   9994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9995     conftest$ac_exeext conftest.$ac_ext ;;
   9996 esac
   9997 fi
   9998 
   9999 
   10000 		CFLAGS="$xorg_testset_save_CFLAGS"
   10001 
   10002 		eval supported=\$$cacheid
   10003 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10004 printf "%s\n" "$supported" >&6; }
   10005 		if test "$supported" = "yes" ; then
   10006 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10007 			found="yes"
   10008 		fi
   10009 	fi
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 xorg_testset_save_CFLAGS="$CFLAGS"
   10026 
   10027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10029 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10030 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10031 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10032 then :
   10033   printf %s "(cached) " >&6
   10034 else case e in #(
   10035   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10036 /* end confdefs.h.  */
   10037 int i;
   10038 _ACEOF
   10039 if ac_fn_c_try_compile "$LINENO"
   10040 then :
   10041   xorg_cv_cc_flag_unknown_warning_option=yes
   10042 else case e in #(
   10043   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10044 esac
   10045 fi
   10046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10047 esac
   10048 fi
   10049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10050 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10052 	CFLAGS="$xorg_testset_save_CFLAGS"
   10053 fi
   10054 
   10055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10058 	fi
   10059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10060 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10061 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10062 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10063 then :
   10064   printf %s "(cached) " >&6
   10065 else case e in #(
   10066   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10067 /* end confdefs.h.  */
   10068 int i;
   10069 _ACEOF
   10070 if ac_fn_c_try_compile "$LINENO"
   10071 then :
   10072   xorg_cv_cc_flag_unused_command_line_argument=yes
   10073 else case e in #(
   10074   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10075 esac
   10076 fi
   10077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10078 esac
   10079 fi
   10080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10081 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10082 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10083 	CFLAGS="$xorg_testset_save_CFLAGS"
   10084 fi
   10085 
   10086 found="no"
   10087 
   10088 	if test $found = "no" ; then
   10089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10091 		fi
   10092 
   10093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10095 		fi
   10096 
   10097 		CFLAGS="$CFLAGS -Wreturn-type"
   10098 
   10099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10100 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10101 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10102 		if eval test \${$cacheid+y}
   10103 then :
   10104   printf %s "(cached) " >&6
   10105 else case e in #(
   10106   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10107 /* end confdefs.h.  */
   10108 int i;
   10109 int
   10110 main (void)
   10111 {
   10112 
   10113   ;
   10114   return 0;
   10115 }
   10116 _ACEOF
   10117 if ac_fn_c_try_link "$LINENO"
   10118 then :
   10119   eval $cacheid=yes
   10120 else case e in #(
   10121   e) eval $cacheid=no ;;
   10122 esac
   10123 fi
   10124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10125     conftest$ac_exeext conftest.$ac_ext ;;
   10126 esac
   10127 fi
   10128 
   10129 
   10130 		CFLAGS="$xorg_testset_save_CFLAGS"
   10131 
   10132 		eval supported=\$$cacheid
   10133 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10134 printf "%s\n" "$supported" >&6; }
   10135 		if test "$supported" = "yes" ; then
   10136 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10137 			found="yes"
   10138 		fi
   10139 	fi
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 xorg_testset_save_CFLAGS="$CFLAGS"
   10156 
   10157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10159 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10160 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10161 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10162 then :
   10163   printf %s "(cached) " >&6
   10164 else case e in #(
   10165   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10166 /* end confdefs.h.  */
   10167 int i;
   10168 _ACEOF
   10169 if ac_fn_c_try_compile "$LINENO"
   10170 then :
   10171   xorg_cv_cc_flag_unknown_warning_option=yes
   10172 else case e in #(
   10173   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10174 esac
   10175 fi
   10176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10177 esac
   10178 fi
   10179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10180 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10182 	CFLAGS="$xorg_testset_save_CFLAGS"
   10183 fi
   10184 
   10185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10188 	fi
   10189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10190 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10191 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10192 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10193 then :
   10194   printf %s "(cached) " >&6
   10195 else case e in #(
   10196   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10197 /* end confdefs.h.  */
   10198 int i;
   10199 _ACEOF
   10200 if ac_fn_c_try_compile "$LINENO"
   10201 then :
   10202   xorg_cv_cc_flag_unused_command_line_argument=yes
   10203 else case e in #(
   10204   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10205 esac
   10206 fi
   10207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10208 esac
   10209 fi
   10210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10211 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10212 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10213 	CFLAGS="$xorg_testset_save_CFLAGS"
   10214 fi
   10215 
   10216 found="no"
   10217 
   10218 	if test $found = "no" ; then
   10219 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10221 		fi
   10222 
   10223 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10225 		fi
   10226 
   10227 		CFLAGS="$CFLAGS -Wtrigraphs"
   10228 
   10229 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10230 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10231 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10232 		if eval test \${$cacheid+y}
   10233 then :
   10234   printf %s "(cached) " >&6
   10235 else case e in #(
   10236   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10237 /* end confdefs.h.  */
   10238 int i;
   10239 int
   10240 main (void)
   10241 {
   10242 
   10243   ;
   10244   return 0;
   10245 }
   10246 _ACEOF
   10247 if ac_fn_c_try_link "$LINENO"
   10248 then :
   10249   eval $cacheid=yes
   10250 else case e in #(
   10251   e) eval $cacheid=no ;;
   10252 esac
   10253 fi
   10254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10255     conftest$ac_exeext conftest.$ac_ext ;;
   10256 esac
   10257 fi
   10258 
   10259 
   10260 		CFLAGS="$xorg_testset_save_CFLAGS"
   10261 
   10262 		eval supported=\$$cacheid
   10263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10264 printf "%s\n" "$supported" >&6; }
   10265 		if test "$supported" = "yes" ; then
   10266 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10267 			found="yes"
   10268 		fi
   10269 	fi
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 xorg_testset_save_CFLAGS="$CFLAGS"
   10286 
   10287 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10288 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10289 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10290 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10291 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10292 then :
   10293   printf %s "(cached) " >&6
   10294 else case e in #(
   10295   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10296 /* end confdefs.h.  */
   10297 int i;
   10298 _ACEOF
   10299 if ac_fn_c_try_compile "$LINENO"
   10300 then :
   10301   xorg_cv_cc_flag_unknown_warning_option=yes
   10302 else case e in #(
   10303   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10304 esac
   10305 fi
   10306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10307 esac
   10308 fi
   10309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10310 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10311 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10312 	CFLAGS="$xorg_testset_save_CFLAGS"
   10313 fi
   10314 
   10315 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10316 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10318 	fi
   10319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10320 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10321 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10322 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10323 then :
   10324   printf %s "(cached) " >&6
   10325 else case e in #(
   10326   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10327 /* end confdefs.h.  */
   10328 int i;
   10329 _ACEOF
   10330 if ac_fn_c_try_compile "$LINENO"
   10331 then :
   10332   xorg_cv_cc_flag_unused_command_line_argument=yes
   10333 else case e in #(
   10334   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10335 esac
   10336 fi
   10337 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10338 esac
   10339 fi
   10340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10341 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10343 	CFLAGS="$xorg_testset_save_CFLAGS"
   10344 fi
   10345 
   10346 found="no"
   10347 
   10348 	if test $found = "no" ; then
   10349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10351 		fi
   10352 
   10353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10355 		fi
   10356 
   10357 		CFLAGS="$CFLAGS -Warray-bounds"
   10358 
   10359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10360 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10361 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10362 		if eval test \${$cacheid+y}
   10363 then :
   10364   printf %s "(cached) " >&6
   10365 else case e in #(
   10366   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10367 /* end confdefs.h.  */
   10368 int i;
   10369 int
   10370 main (void)
   10371 {
   10372 
   10373   ;
   10374   return 0;
   10375 }
   10376 _ACEOF
   10377 if ac_fn_c_try_link "$LINENO"
   10378 then :
   10379   eval $cacheid=yes
   10380 else case e in #(
   10381   e) eval $cacheid=no ;;
   10382 esac
   10383 fi
   10384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10385     conftest$ac_exeext conftest.$ac_ext ;;
   10386 esac
   10387 fi
   10388 
   10389 
   10390 		CFLAGS="$xorg_testset_save_CFLAGS"
   10391 
   10392 		eval supported=\$$cacheid
   10393 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10394 printf "%s\n" "$supported" >&6; }
   10395 		if test "$supported" = "yes" ; then
   10396 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10397 			found="yes"
   10398 		fi
   10399 	fi
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 xorg_testset_save_CFLAGS="$CFLAGS"
   10416 
   10417 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10418 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10419 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10420 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10421 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10422 then :
   10423   printf %s "(cached) " >&6
   10424 else case e in #(
   10425   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10426 /* end confdefs.h.  */
   10427 int i;
   10428 _ACEOF
   10429 if ac_fn_c_try_compile "$LINENO"
   10430 then :
   10431   xorg_cv_cc_flag_unknown_warning_option=yes
   10432 else case e in #(
   10433   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10434 esac
   10435 fi
   10436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10437 esac
   10438 fi
   10439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10440 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10441 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10442 	CFLAGS="$xorg_testset_save_CFLAGS"
   10443 fi
   10444 
   10445 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10446 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10447 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10448 	fi
   10449 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10450 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10451 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10452 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10453 then :
   10454   printf %s "(cached) " >&6
   10455 else case e in #(
   10456   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10457 /* end confdefs.h.  */
   10458 int i;
   10459 _ACEOF
   10460 if ac_fn_c_try_compile "$LINENO"
   10461 then :
   10462   xorg_cv_cc_flag_unused_command_line_argument=yes
   10463 else case e in #(
   10464   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10465 esac
   10466 fi
   10467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10468 esac
   10469 fi
   10470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10471 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10472 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10473 	CFLAGS="$xorg_testset_save_CFLAGS"
   10474 fi
   10475 
   10476 found="no"
   10477 
   10478 	if test $found = "no" ; then
   10479 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10481 		fi
   10482 
   10483 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10485 		fi
   10486 
   10487 		CFLAGS="$CFLAGS -Wwrite-strings"
   10488 
   10489 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10490 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10491 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10492 		if eval test \${$cacheid+y}
   10493 then :
   10494   printf %s "(cached) " >&6
   10495 else case e in #(
   10496   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10497 /* end confdefs.h.  */
   10498 int i;
   10499 int
   10500 main (void)
   10501 {
   10502 
   10503   ;
   10504   return 0;
   10505 }
   10506 _ACEOF
   10507 if ac_fn_c_try_link "$LINENO"
   10508 then :
   10509   eval $cacheid=yes
   10510 else case e in #(
   10511   e) eval $cacheid=no ;;
   10512 esac
   10513 fi
   10514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10515     conftest$ac_exeext conftest.$ac_ext ;;
   10516 esac
   10517 fi
   10518 
   10519 
   10520 		CFLAGS="$xorg_testset_save_CFLAGS"
   10521 
   10522 		eval supported=\$$cacheid
   10523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10524 printf "%s\n" "$supported" >&6; }
   10525 		if test "$supported" = "yes" ; then
   10526 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10527 			found="yes"
   10528 		fi
   10529 	fi
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 xorg_testset_save_CFLAGS="$CFLAGS"
   10546 
   10547 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10548 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10550 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10551 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10552 then :
   10553   printf %s "(cached) " >&6
   10554 else case e in #(
   10555   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10556 /* end confdefs.h.  */
   10557 int i;
   10558 _ACEOF
   10559 if ac_fn_c_try_compile "$LINENO"
   10560 then :
   10561   xorg_cv_cc_flag_unknown_warning_option=yes
   10562 else case e in #(
   10563   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10564 esac
   10565 fi
   10566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10567 esac
   10568 fi
   10569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10570 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10572 	CFLAGS="$xorg_testset_save_CFLAGS"
   10573 fi
   10574 
   10575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10578 	fi
   10579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10580 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10581 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10582 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10583 then :
   10584   printf %s "(cached) " >&6
   10585 else case e in #(
   10586   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10587 /* end confdefs.h.  */
   10588 int i;
   10589 _ACEOF
   10590 if ac_fn_c_try_compile "$LINENO"
   10591 then :
   10592   xorg_cv_cc_flag_unused_command_line_argument=yes
   10593 else case e in #(
   10594   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10595 esac
   10596 fi
   10597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10598 esac
   10599 fi
   10600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10601 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10602 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10603 	CFLAGS="$xorg_testset_save_CFLAGS"
   10604 fi
   10605 
   10606 found="no"
   10607 
   10608 	if test $found = "no" ; then
   10609 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10611 		fi
   10612 
   10613 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10615 		fi
   10616 
   10617 		CFLAGS="$CFLAGS -Waddress"
   10618 
   10619 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10620 printf %s "checking if $CC supports -Waddress... " >&6; }
   10621 		cacheid=xorg_cv_cc_flag__Waddress
   10622 		if eval test \${$cacheid+y}
   10623 then :
   10624   printf %s "(cached) " >&6
   10625 else case e in #(
   10626   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10627 /* end confdefs.h.  */
   10628 int i;
   10629 int
   10630 main (void)
   10631 {
   10632 
   10633   ;
   10634   return 0;
   10635 }
   10636 _ACEOF
   10637 if ac_fn_c_try_link "$LINENO"
   10638 then :
   10639   eval $cacheid=yes
   10640 else case e in #(
   10641   e) eval $cacheid=no ;;
   10642 esac
   10643 fi
   10644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10645     conftest$ac_exeext conftest.$ac_ext ;;
   10646 esac
   10647 fi
   10648 
   10649 
   10650 		CFLAGS="$xorg_testset_save_CFLAGS"
   10651 
   10652 		eval supported=\$$cacheid
   10653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10654 printf "%s\n" "$supported" >&6; }
   10655 		if test "$supported" = "yes" ; then
   10656 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10657 			found="yes"
   10658 		fi
   10659 	fi
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 xorg_testset_save_CFLAGS="$CFLAGS"
   10676 
   10677 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10678 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10679 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10680 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10681 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10682 then :
   10683   printf %s "(cached) " >&6
   10684 else case e in #(
   10685   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10686 /* end confdefs.h.  */
   10687 int i;
   10688 _ACEOF
   10689 if ac_fn_c_try_compile "$LINENO"
   10690 then :
   10691   xorg_cv_cc_flag_unknown_warning_option=yes
   10692 else case e in #(
   10693   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10694 esac
   10695 fi
   10696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10697 esac
   10698 fi
   10699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10700 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10701 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10702 	CFLAGS="$xorg_testset_save_CFLAGS"
   10703 fi
   10704 
   10705 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10706 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10707 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10708 	fi
   10709 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10710 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10711 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10712 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10713 then :
   10714   printf %s "(cached) " >&6
   10715 else case e in #(
   10716   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10717 /* end confdefs.h.  */
   10718 int i;
   10719 _ACEOF
   10720 if ac_fn_c_try_compile "$LINENO"
   10721 then :
   10722   xorg_cv_cc_flag_unused_command_line_argument=yes
   10723 else case e in #(
   10724   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10725 esac
   10726 fi
   10727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10728 esac
   10729 fi
   10730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10731 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10733 	CFLAGS="$xorg_testset_save_CFLAGS"
   10734 fi
   10735 
   10736 found="no"
   10737 
   10738 	if test $found = "no" ; then
   10739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10741 		fi
   10742 
   10743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10745 		fi
   10746 
   10747 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10748 
   10749 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10750 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10751 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10752 		if eval test \${$cacheid+y}
   10753 then :
   10754   printf %s "(cached) " >&6
   10755 else case e in #(
   10756   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10757 /* end confdefs.h.  */
   10758 int i;
   10759 int
   10760 main (void)
   10761 {
   10762 
   10763   ;
   10764   return 0;
   10765 }
   10766 _ACEOF
   10767 if ac_fn_c_try_link "$LINENO"
   10768 then :
   10769   eval $cacheid=yes
   10770 else case e in #(
   10771   e) eval $cacheid=no ;;
   10772 esac
   10773 fi
   10774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10775     conftest$ac_exeext conftest.$ac_ext ;;
   10776 esac
   10777 fi
   10778 
   10779 
   10780 		CFLAGS="$xorg_testset_save_CFLAGS"
   10781 
   10782 		eval supported=\$$cacheid
   10783 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10784 printf "%s\n" "$supported" >&6; }
   10785 		if test "$supported" = "yes" ; then
   10786 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10787 			found="yes"
   10788 		fi
   10789 	fi
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 xorg_testset_save_CFLAGS="$CFLAGS"
   10806 
   10807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10808 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10809 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10810 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10811 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10812 then :
   10813   printf %s "(cached) " >&6
   10814 else case e in #(
   10815   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10816 /* end confdefs.h.  */
   10817 int i;
   10818 _ACEOF
   10819 if ac_fn_c_try_compile "$LINENO"
   10820 then :
   10821   xorg_cv_cc_flag_unknown_warning_option=yes
   10822 else case e in #(
   10823   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10824 esac
   10825 fi
   10826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10827 esac
   10828 fi
   10829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10830 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10831 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10832 	CFLAGS="$xorg_testset_save_CFLAGS"
   10833 fi
   10834 
   10835 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10836 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10837 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10838 	fi
   10839 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10840 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10841 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10842 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10843 then :
   10844   printf %s "(cached) " >&6
   10845 else case e in #(
   10846   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10847 /* end confdefs.h.  */
   10848 int i;
   10849 _ACEOF
   10850 if ac_fn_c_try_compile "$LINENO"
   10851 then :
   10852   xorg_cv_cc_flag_unused_command_line_argument=yes
   10853 else case e in #(
   10854   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10855 esac
   10856 fi
   10857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10858 esac
   10859 fi
   10860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10861 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10862 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10863 	CFLAGS="$xorg_testset_save_CFLAGS"
   10864 fi
   10865 
   10866 found="no"
   10867 
   10868 	if test $found = "no" ; then
   10869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10871 		fi
   10872 
   10873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10875 		fi
   10876 
   10877 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10878 
   10879 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10880 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10881 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10882 		if eval test \${$cacheid+y}
   10883 then :
   10884   printf %s "(cached) " >&6
   10885 else case e in #(
   10886   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10887 /* end confdefs.h.  */
   10888 int i;
   10889 int
   10890 main (void)
   10891 {
   10892 
   10893   ;
   10894   return 0;
   10895 }
   10896 _ACEOF
   10897 if ac_fn_c_try_link "$LINENO"
   10898 then :
   10899   eval $cacheid=yes
   10900 else case e in #(
   10901   e) eval $cacheid=no ;;
   10902 esac
   10903 fi
   10904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10905     conftest$ac_exeext conftest.$ac_ext ;;
   10906 esac
   10907 fi
   10908 
   10909 
   10910 		CFLAGS="$xorg_testset_save_CFLAGS"
   10911 
   10912 		eval supported=\$$cacheid
   10913 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10914 printf "%s\n" "$supported" >&6; }
   10915 		if test "$supported" = "yes" ; then
   10916 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10917 			found="yes"
   10918 		fi
   10919 	fi
   10920 
   10921 
   10922 fi
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 		CWARNFLAGS="$BASE_CFLAGS"
   10931 		if  test "x$GCC" = xyes ; then
   10932 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10933 		fi
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 # Check whether --enable-strict-compilation was given.
   10943 if test ${enable_strict_compilation+y}
   10944 then :
   10945   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10946 else case e in #(
   10947   e) STRICT_COMPILE=no ;;
   10948 esac
   10949 fi
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 STRICT_CFLAGS=""
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 xorg_testset_save_CFLAGS="$CFLAGS"
   10971 
   10972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10974 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10975 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10976 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10977 then :
   10978   printf %s "(cached) " >&6
   10979 else case e in #(
   10980   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10981 /* end confdefs.h.  */
   10982 int i;
   10983 _ACEOF
   10984 if ac_fn_c_try_compile "$LINENO"
   10985 then :
   10986   xorg_cv_cc_flag_unknown_warning_option=yes
   10987 else case e in #(
   10988   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10989 esac
   10990 fi
   10991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10992 esac
   10993 fi
   10994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10995 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10996 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10997 	CFLAGS="$xorg_testset_save_CFLAGS"
   10998 fi
   10999 
   11000 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11001 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11002 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11003 	fi
   11004 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11005 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11006 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11007 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11008 then :
   11009   printf %s "(cached) " >&6
   11010 else case e in #(
   11011   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11012 /* end confdefs.h.  */
   11013 int i;
   11014 _ACEOF
   11015 if ac_fn_c_try_compile "$LINENO"
   11016 then :
   11017   xorg_cv_cc_flag_unused_command_line_argument=yes
   11018 else case e in #(
   11019   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11020 esac
   11021 fi
   11022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11023 esac
   11024 fi
   11025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11026 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11028 	CFLAGS="$xorg_testset_save_CFLAGS"
   11029 fi
   11030 
   11031 found="no"
   11032 
   11033 	if test $found = "no" ; then
   11034 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11036 		fi
   11037 
   11038 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11040 		fi
   11041 
   11042 		CFLAGS="$CFLAGS -pedantic"
   11043 
   11044 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11045 printf %s "checking if $CC supports -pedantic... " >&6; }
   11046 		cacheid=xorg_cv_cc_flag__pedantic
   11047 		if eval test \${$cacheid+y}
   11048 then :
   11049   printf %s "(cached) " >&6
   11050 else case e in #(
   11051   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11052 /* end confdefs.h.  */
   11053 int i;
   11054 int
   11055 main (void)
   11056 {
   11057 
   11058   ;
   11059   return 0;
   11060 }
   11061 _ACEOF
   11062 if ac_fn_c_try_link "$LINENO"
   11063 then :
   11064   eval $cacheid=yes
   11065 else case e in #(
   11066   e) eval $cacheid=no ;;
   11067 esac
   11068 fi
   11069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11070     conftest$ac_exeext conftest.$ac_ext ;;
   11071 esac
   11072 fi
   11073 
   11074 
   11075 		CFLAGS="$xorg_testset_save_CFLAGS"
   11076 
   11077 		eval supported=\$$cacheid
   11078 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11079 printf "%s\n" "$supported" >&6; }
   11080 		if test "$supported" = "yes" ; then
   11081 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11082 			found="yes"
   11083 		fi
   11084 	fi
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 xorg_testset_save_CFLAGS="$CFLAGS"
   11101 
   11102 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11103 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11104 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11105 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11106 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11107 then :
   11108   printf %s "(cached) " >&6
   11109 else case e in #(
   11110   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11111 /* end confdefs.h.  */
   11112 int i;
   11113 _ACEOF
   11114 if ac_fn_c_try_compile "$LINENO"
   11115 then :
   11116   xorg_cv_cc_flag_unknown_warning_option=yes
   11117 else case e in #(
   11118   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11119 esac
   11120 fi
   11121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11122 esac
   11123 fi
   11124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11125 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11126 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11127 	CFLAGS="$xorg_testset_save_CFLAGS"
   11128 fi
   11129 
   11130 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11131 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11132 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11133 	fi
   11134 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11135 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11136 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11137 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11138 then :
   11139   printf %s "(cached) " >&6
   11140 else case e in #(
   11141   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11142 /* end confdefs.h.  */
   11143 int i;
   11144 _ACEOF
   11145 if ac_fn_c_try_compile "$LINENO"
   11146 then :
   11147   xorg_cv_cc_flag_unused_command_line_argument=yes
   11148 else case e in #(
   11149   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11150 esac
   11151 fi
   11152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11153 esac
   11154 fi
   11155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11156 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11157 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11158 	CFLAGS="$xorg_testset_save_CFLAGS"
   11159 fi
   11160 
   11161 found="no"
   11162 
   11163 	if test $found = "no" ; then
   11164 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11165 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11166 		fi
   11167 
   11168 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11169 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11170 		fi
   11171 
   11172 		CFLAGS="$CFLAGS -Werror"
   11173 
   11174 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11175 printf %s "checking if $CC supports -Werror... " >&6; }
   11176 		cacheid=xorg_cv_cc_flag__Werror
   11177 		if eval test \${$cacheid+y}
   11178 then :
   11179   printf %s "(cached) " >&6
   11180 else case e in #(
   11181   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11182 /* end confdefs.h.  */
   11183 int i;
   11184 int
   11185 main (void)
   11186 {
   11187 
   11188   ;
   11189   return 0;
   11190 }
   11191 _ACEOF
   11192 if ac_fn_c_try_link "$LINENO"
   11193 then :
   11194   eval $cacheid=yes
   11195 else case e in #(
   11196   e) eval $cacheid=no ;;
   11197 esac
   11198 fi
   11199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11200     conftest$ac_exeext conftest.$ac_ext ;;
   11201 esac
   11202 fi
   11203 
   11204 
   11205 		CFLAGS="$xorg_testset_save_CFLAGS"
   11206 
   11207 		eval supported=\$$cacheid
   11208 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11209 printf "%s\n" "$supported" >&6; }
   11210 		if test "$supported" = "yes" ; then
   11211 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11212 			found="yes"
   11213 		fi
   11214 	fi
   11215 
   11216 	if test $found = "no" ; then
   11217 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11219 		fi
   11220 
   11221 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11223 		fi
   11224 
   11225 		CFLAGS="$CFLAGS -errwarn"
   11226 
   11227 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11228 printf %s "checking if $CC supports -errwarn... " >&6; }
   11229 		cacheid=xorg_cv_cc_flag__errwarn
   11230 		if eval test \${$cacheid+y}
   11231 then :
   11232   printf %s "(cached) " >&6
   11233 else case e in #(
   11234   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11235 /* end confdefs.h.  */
   11236 int i;
   11237 int
   11238 main (void)
   11239 {
   11240 
   11241   ;
   11242   return 0;
   11243 }
   11244 _ACEOF
   11245 if ac_fn_c_try_link "$LINENO"
   11246 then :
   11247   eval $cacheid=yes
   11248 else case e in #(
   11249   e) eval $cacheid=no ;;
   11250 esac
   11251 fi
   11252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11253     conftest$ac_exeext conftest.$ac_ext ;;
   11254 esac
   11255 fi
   11256 
   11257 
   11258 		CFLAGS="$xorg_testset_save_CFLAGS"
   11259 
   11260 		eval supported=\$$cacheid
   11261 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11262 printf "%s\n" "$supported" >&6; }
   11263 		if test "$supported" = "yes" ; then
   11264 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11265 			found="yes"
   11266 		fi
   11267 	fi
   11268 
   11269 
   11270 
   11271 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11272 # activate it with -Werror, so we add it here explicitly.
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 xorg_testset_save_CFLAGS="$CFLAGS"
   11287 
   11288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11290 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11291 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11292 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11293 then :
   11294   printf %s "(cached) " >&6
   11295 else case e in #(
   11296   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11297 /* end confdefs.h.  */
   11298 int i;
   11299 _ACEOF
   11300 if ac_fn_c_try_compile "$LINENO"
   11301 then :
   11302   xorg_cv_cc_flag_unknown_warning_option=yes
   11303 else case e in #(
   11304   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11305 esac
   11306 fi
   11307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11308 esac
   11309 fi
   11310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11311 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11313 	CFLAGS="$xorg_testset_save_CFLAGS"
   11314 fi
   11315 
   11316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11319 	fi
   11320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11321 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11322 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11323 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11324 then :
   11325   printf %s "(cached) " >&6
   11326 else case e in #(
   11327   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11328 /* end confdefs.h.  */
   11329 int i;
   11330 _ACEOF
   11331 if ac_fn_c_try_compile "$LINENO"
   11332 then :
   11333   xorg_cv_cc_flag_unused_command_line_argument=yes
   11334 else case e in #(
   11335   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11336 esac
   11337 fi
   11338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11339 esac
   11340 fi
   11341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11342 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11343 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11344 	CFLAGS="$xorg_testset_save_CFLAGS"
   11345 fi
   11346 
   11347 found="no"
   11348 
   11349 	if test $found = "no" ; then
   11350 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11352 		fi
   11353 
   11354 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11356 		fi
   11357 
   11358 		CFLAGS="$CFLAGS -Werror=attributes"
   11359 
   11360 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11361 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11362 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11363 		if eval test \${$cacheid+y}
   11364 then :
   11365   printf %s "(cached) " >&6
   11366 else case e in #(
   11367   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11368 /* end confdefs.h.  */
   11369 int i;
   11370 int
   11371 main (void)
   11372 {
   11373 
   11374   ;
   11375   return 0;
   11376 }
   11377 _ACEOF
   11378 if ac_fn_c_try_link "$LINENO"
   11379 then :
   11380   eval $cacheid=yes
   11381 else case e in #(
   11382   e) eval $cacheid=no ;;
   11383 esac
   11384 fi
   11385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11386     conftest$ac_exeext conftest.$ac_ext ;;
   11387 esac
   11388 fi
   11389 
   11390 
   11391 		CFLAGS="$xorg_testset_save_CFLAGS"
   11392 
   11393 		eval supported=\$$cacheid
   11394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11395 printf "%s\n" "$supported" >&6; }
   11396 		if test "$supported" = "yes" ; then
   11397 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11398 			found="yes"
   11399 		fi
   11400 	fi
   11401 
   11402 
   11403 
   11404 if test "x$STRICT_COMPILE" = "xyes"; then
   11405     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11406     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11407 fi
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 cat >>confdefs.h <<_ACEOF
   11417 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11418 _ACEOF
   11419 
   11420 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11421 	if test "x$PVM" = "x"; then
   11422 		PVM="0"
   11423 	fi
   11424 
   11425 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11426 
   11427 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11428 	if test "x$PVP" = "x"; then
   11429 		PVP="0"
   11430 	fi
   11431 
   11432 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11433 
   11434 
   11435 
   11436 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11437 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11438 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11439 touch \$(top_srcdir)/ChangeLog; \
   11440 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11441 
   11442 
   11443 
   11444 
   11445 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11446 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11447 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11448 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11449 touch \$(top_srcdir)/INSTALL; \
   11450 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 case $host_os in
   11458     solaris*)
   11459         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11460         # check for a man page file found in later versions that use
   11461         # traditional section numbers instead
   11462         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11463 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11464 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11465 then :
   11466   printf %s "(cached) " >&6
   11467 else case e in #(
   11468   e) test "$cross_compiling" = yes &&
   11469   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11470 if test -r "/usr/share/man/man7/attributes.7"; then
   11471   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11472 else
   11473   ac_cv_file__usr_share_man_man7_attributes_7=no
   11474 fi ;;
   11475 esac
   11476 fi
   11477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11478 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11479 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11480 then :
   11481   SYSV_MAN_SECTIONS=false
   11482 else case e in #(
   11483   e) SYSV_MAN_SECTIONS=true ;;
   11484 esac
   11485 fi
   11486 
   11487         ;;
   11488     *) SYSV_MAN_SECTIONS=false ;;
   11489 esac
   11490 
   11491 if test x$APP_MAN_SUFFIX = x    ; then
   11492     APP_MAN_SUFFIX=1
   11493 fi
   11494 if test x$APP_MAN_DIR = x    ; then
   11495     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11496 fi
   11497 
   11498 if test x$LIB_MAN_SUFFIX = x    ; then
   11499     LIB_MAN_SUFFIX=3
   11500 fi
   11501 if test x$LIB_MAN_DIR = x    ; then
   11502     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11503 fi
   11504 
   11505 if test x$FILE_MAN_SUFFIX = x    ; then
   11506     case $SYSV_MAN_SECTIONS in
   11507 	true)				FILE_MAN_SUFFIX=4  ;;
   11508 	*)				FILE_MAN_SUFFIX=5  ;;
   11509     esac
   11510 fi
   11511 if test x$FILE_MAN_DIR = x    ; then
   11512     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11513 fi
   11514 
   11515 if test x$MISC_MAN_SUFFIX = x    ; then
   11516     case $SYSV_MAN_SECTIONS in
   11517 	true)				MISC_MAN_SUFFIX=5  ;;
   11518 	*)				MISC_MAN_SUFFIX=7  ;;
   11519     esac
   11520 fi
   11521 if test x$MISC_MAN_DIR = x    ; then
   11522     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11523 fi
   11524 
   11525 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11526     case $SYSV_MAN_SECTIONS in
   11527 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11528 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11529     esac
   11530 fi
   11531 if test x$DRIVER_MAN_DIR = x    ; then
   11532     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11533 fi
   11534 
   11535 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11536     case $SYSV_MAN_SECTIONS in
   11537 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11538 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11539     esac
   11540 fi
   11541 if test x$ADMIN_MAN_DIR = x    ; then
   11542     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11543 fi
   11544 
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 XORG_MAN_PAGE="X Version 11"
   11560 
   11561 MAN_SUBSTS="\
   11562 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11563 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11564 	-e 's|__xservername__|Xorg|g' \
   11565 	-e 's|__xconfigfile__|xorg.conf|g' \
   11566 	-e 's|__projectroot__|\$(prefix)|g' \
   11567 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11568 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11569 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11570 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11571 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11572 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11573 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11574 
   11575 
   11576 
   11577 
   11578 AM_DEFAULT_VERBOSITY=0
   11579 
   11580 
   11581 
   11582 
   11583 # Check whether --enable-docs was given.
   11584 if test ${enable_docs+y}
   11585 then :
   11586   enableval=$enable_docs; build_docs=$enableval
   11587 else case e in #(
   11588   e) build_docs=yes ;;
   11589 esac
   11590 fi
   11591 
   11592 
   11593  if test x$build_docs = xyes; then
   11594   ENABLE_DOCS_TRUE=
   11595   ENABLE_DOCS_FALSE='#'
   11596 else
   11597   ENABLE_DOCS_TRUE='#'
   11598   ENABLE_DOCS_FALSE=
   11599 fi
   11600 
   11601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
   11602 printf %s "checking whether to build documentation... " >&6; }
   11603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
   11604 printf "%s\n" "$build_docs" >&6; }
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 # Check whether --with-xmlto was given.
   11611 if test ${with_xmlto+y}
   11612 then :
   11613   withval=$with_xmlto; use_xmlto=$withval
   11614 else case e in #(
   11615   e) use_xmlto=auto ;;
   11616 esac
   11617 fi
   11618 
   11619 
   11620 
   11621 if test "x$use_xmlto" = x"auto"; then
   11622    # Extract the first word of "xmlto", so it can be a program name with args.
   11623 set dummy xmlto; ac_word=$2
   11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11625 printf %s "checking for $ac_word... " >&6; }
   11626 if test ${ac_cv_path_XMLTO+y}
   11627 then :
   11628   printf %s "(cached) " >&6
   11629 else case e in #(
   11630   e) case $XMLTO in
   11631   [\\/]* | ?:[\\/]*)
   11632   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   11633   ;;
   11634   *)
   11635   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11636 for as_dir in $PATH
   11637 do
   11638   IFS=$as_save_IFS
   11639   case $as_dir in #(((
   11640     '') as_dir=./ ;;
   11641     */) ;;
   11642     *) as_dir=$as_dir/ ;;
   11643   esac
   11644     for ac_exec_ext in '' $ac_executable_extensions; do
   11645   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11646     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   11647     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11648     break 2
   11649   fi
   11650 done
   11651   done
   11652 IFS=$as_save_IFS
   11653 
   11654   ;;
   11655 esac ;;
   11656 esac
   11657 fi
   11658 XMLTO=$ac_cv_path_XMLTO
   11659 if test -n "$XMLTO"; then
   11660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   11661 printf "%s\n" "$XMLTO" >&6; }
   11662 else
   11663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11664 printf "%s\n" "no" >&6; }
   11665 fi
   11666 
   11667 
   11668    if test "x$XMLTO" = "x"; then
   11669         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   11670 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   11671 	have_xmlto=no
   11672    else
   11673         have_xmlto=yes
   11674    fi
   11675 elif test "x$use_xmlto" = x"yes" ; then
   11676    # Extract the first word of "xmlto", so it can be a program name with args.
   11677 set dummy xmlto; ac_word=$2
   11678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11679 printf %s "checking for $ac_word... " >&6; }
   11680 if test ${ac_cv_path_XMLTO+y}
   11681 then :
   11682   printf %s "(cached) " >&6
   11683 else case e in #(
   11684   e) case $XMLTO in
   11685   [\\/]* | ?:[\\/]*)
   11686   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   11687   ;;
   11688   *)
   11689   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11690 for as_dir in $PATH
   11691 do
   11692   IFS=$as_save_IFS
   11693   case $as_dir in #(((
   11694     '') as_dir=./ ;;
   11695     */) ;;
   11696     *) as_dir=$as_dir/ ;;
   11697   esac
   11698     for ac_exec_ext in '' $ac_executable_extensions; do
   11699   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11700     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   11701     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11702     break 2
   11703   fi
   11704 done
   11705   done
   11706 IFS=$as_save_IFS
   11707 
   11708   ;;
   11709 esac ;;
   11710 esac
   11711 fi
   11712 XMLTO=$ac_cv_path_XMLTO
   11713 if test -n "$XMLTO"; then
   11714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   11715 printf "%s\n" "$XMLTO" >&6; }
   11716 else
   11717   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11718 printf "%s\n" "no" >&6; }
   11719 fi
   11720 
   11721 
   11722    if test "x$XMLTO" = "x"; then
   11723         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   11724    fi
   11725    have_xmlto=yes
   11726 elif test "x$use_xmlto" = x"no" ; then
   11727    if test "x$XMLTO" != "x"; then
   11728       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   11729 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   11730    fi
   11731    have_xmlto=no
   11732 else
   11733    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   11734 fi
   11735 
   11736 # Test for a minimum version of xmlto, if provided.
   11737 if test "$have_xmlto" = yes; then
   11738     # scrape the xmlto version
   11739     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   11740 printf %s "checking the xmlto version... " >&6; }
   11741     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   11742     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   11743 printf "%s\n" "$xmlto_version" >&6; }
   11744     as_arg_v1=$xmlto_version
   11745 as_arg_v2=0.0.22
   11746 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   11747 case $? in #(
   11748   1) :
   11749     if test "x$use_xmlto" = xauto; then
   11750             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   11751 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   11752             have_xmlto=no
   11753         else
   11754             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   11755         fi ;; #(
   11756   0) :
   11757      ;; #(
   11758   2) :
   11759      ;; #(
   11760   *) :
   11761      ;;
   11762 esac
   11763 fi
   11764 
   11765 # Test for the ability of xmlto to generate a text target
   11766 #
   11767 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   11768 # following test for empty XML docbook files.
   11769 # For compatibility reasons use the following empty XML docbook file and if
   11770 # it fails try it again with a non-empty XML file.
   11771 have_xmlto_text=no
   11772 cat > conftest.xml << "EOF"
   11773 EOF
   11774 if test "$have_xmlto" = yes
   11775 then :
   11776   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   11777 then :
   11778   have_xmlto_text=yes
   11779 else case e in #(
   11780   e) # Try it again with a non-empty XML file.
   11781               cat > conftest.xml << "EOF"
   11782 <x></x>
   11783 EOF
   11784               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   11785 then :
   11786   have_xmlto_text=yes
   11787 else case e in #(
   11788   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   11789 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;} ;;
   11790 esac
   11791 fi ;;
   11792 esac
   11793 fi
   11794 fi
   11795 rm -f conftest.xml
   11796  if test $have_xmlto_text = yes; then
   11797   HAVE_XMLTO_TEXT_TRUE=
   11798   HAVE_XMLTO_TEXT_FALSE='#'
   11799 else
   11800   HAVE_XMLTO_TEXT_TRUE='#'
   11801   HAVE_XMLTO_TEXT_FALSE=
   11802 fi
   11803 
   11804  if test "$have_xmlto" = yes; then
   11805   HAVE_XMLTO_TRUE=
   11806   HAVE_XMLTO_FALSE='#'
   11807 else
   11808   HAVE_XMLTO_TRUE='#'
   11809   HAVE_XMLTO_FALSE=
   11810 fi
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 # Check whether --with-fop was given.
   11818 if test ${with_fop+y}
   11819 then :
   11820   withval=$with_fop; use_fop=$withval
   11821 else case e in #(
   11822   e) use_fop=auto ;;
   11823 esac
   11824 fi
   11825 
   11826 
   11827 
   11828 if test "x$use_fop" = x"auto"; then
   11829    # Extract the first word of "fop", so it can be a program name with args.
   11830 set dummy fop; ac_word=$2
   11831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11832 printf %s "checking for $ac_word... " >&6; }
   11833 if test ${ac_cv_path_FOP+y}
   11834 then :
   11835   printf %s "(cached) " >&6
   11836 else case e in #(
   11837   e) case $FOP in
   11838   [\\/]* | ?:[\\/]*)
   11839   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   11840   ;;
   11841   *)
   11842   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11843 for as_dir in $PATH
   11844 do
   11845   IFS=$as_save_IFS
   11846   case $as_dir in #(((
   11847     '') as_dir=./ ;;
   11848     */) ;;
   11849     *) as_dir=$as_dir/ ;;
   11850   esac
   11851     for ac_exec_ext in '' $ac_executable_extensions; do
   11852   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11853     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   11854     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11855     break 2
   11856   fi
   11857 done
   11858   done
   11859 IFS=$as_save_IFS
   11860 
   11861   ;;
   11862 esac ;;
   11863 esac
   11864 fi
   11865 FOP=$ac_cv_path_FOP
   11866 if test -n "$FOP"; then
   11867   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   11868 printf "%s\n" "$FOP" >&6; }
   11869 else
   11870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11871 printf "%s\n" "no" >&6; }
   11872 fi
   11873 
   11874 
   11875    if test "x$FOP" = "x"; then
   11876         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   11877 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   11878 	have_fop=no
   11879    else
   11880         have_fop=yes
   11881    fi
   11882 elif test "x$use_fop" = x"yes" ; then
   11883    # Extract the first word of "fop", so it can be a program name with args.
   11884 set dummy fop; ac_word=$2
   11885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11886 printf %s "checking for $ac_word... " >&6; }
   11887 if test ${ac_cv_path_FOP+y}
   11888 then :
   11889   printf %s "(cached) " >&6
   11890 else case e in #(
   11891   e) case $FOP in
   11892   [\\/]* | ?:[\\/]*)
   11893   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   11894   ;;
   11895   *)
   11896   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11897 for as_dir in $PATH
   11898 do
   11899   IFS=$as_save_IFS
   11900   case $as_dir in #(((
   11901     '') as_dir=./ ;;
   11902     */) ;;
   11903     *) as_dir=$as_dir/ ;;
   11904   esac
   11905     for ac_exec_ext in '' $ac_executable_extensions; do
   11906   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11907     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   11908     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11909     break 2
   11910   fi
   11911 done
   11912   done
   11913 IFS=$as_save_IFS
   11914 
   11915   ;;
   11916 esac ;;
   11917 esac
   11918 fi
   11919 FOP=$ac_cv_path_FOP
   11920 if test -n "$FOP"; then
   11921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   11922 printf "%s\n" "$FOP" >&6; }
   11923 else
   11924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11925 printf "%s\n" "no" >&6; }
   11926 fi
   11927 
   11928 
   11929    if test "x$FOP" = "x"; then
   11930         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   11931    fi
   11932    have_fop=yes
   11933 elif test "x$use_fop" = x"no" ; then
   11934    if test "x$FOP" != "x"; then
   11935       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   11936 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   11937    fi
   11938    have_fop=no
   11939 else
   11940    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   11941 fi
   11942 
   11943 # Test for a minimum version of fop, if provided.
   11944 
   11945  if test "$have_fop" = yes; then
   11946   HAVE_FOP_TRUE=
   11947   HAVE_FOP_FALSE='#'
   11948 else
   11949   HAVE_FOP_TRUE='#'
   11950   HAVE_FOP_FALSE=
   11951 fi
   11952 
   11953 
   11954 
   11955 
   11956 # Preserves the interface, should it be implemented later
   11957 
   11958 
   11959 
   11960 # Check whether --with-xsltproc was given.
   11961 if test ${with_xsltproc+y}
   11962 then :
   11963   withval=$with_xsltproc; use_xsltproc=$withval
   11964 else case e in #(
   11965   e) use_xsltproc=auto ;;
   11966 esac
   11967 fi
   11968 
   11969 
   11970 
   11971 if test "x$use_xsltproc" = x"auto"; then
   11972    # Extract the first word of "xsltproc", so it can be a program name with args.
   11973 set dummy xsltproc; ac_word=$2
   11974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11975 printf %s "checking for $ac_word... " >&6; }
   11976 if test ${ac_cv_path_XSLTPROC+y}
   11977 then :
   11978   printf %s "(cached) " >&6
   11979 else case e in #(
   11980   e) case $XSLTPROC in
   11981   [\\/]* | ?:[\\/]*)
   11982   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   11983   ;;
   11984   *)
   11985   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11986 for as_dir in $PATH
   11987 do
   11988   IFS=$as_save_IFS
   11989   case $as_dir in #(((
   11990     '') as_dir=./ ;;
   11991     */) ;;
   11992     *) as_dir=$as_dir/ ;;
   11993   esac
   11994     for ac_exec_ext in '' $ac_executable_extensions; do
   11995   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11996     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   11997     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11998     break 2
   11999   fi
   12000 done
   12001   done
   12002 IFS=$as_save_IFS
   12003 
   12004   ;;
   12005 esac ;;
   12006 esac
   12007 fi
   12008 XSLTPROC=$ac_cv_path_XSLTPROC
   12009 if test -n "$XSLTPROC"; then
   12010   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   12011 printf "%s\n" "$XSLTPROC" >&6; }
   12012 else
   12013   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12014 printf "%s\n" "no" >&6; }
   12015 fi
   12016 
   12017 
   12018    if test "x$XSLTPROC" = "x"; then
   12019         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   12020 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   12021 	have_xsltproc=no
   12022    else
   12023         have_xsltproc=yes
   12024    fi
   12025 elif test "x$use_xsltproc" = x"yes" ; then
   12026    # Extract the first word of "xsltproc", so it can be a program name with args.
   12027 set dummy xsltproc; ac_word=$2
   12028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12029 printf %s "checking for $ac_word... " >&6; }
   12030 if test ${ac_cv_path_XSLTPROC+y}
   12031 then :
   12032   printf %s "(cached) " >&6
   12033 else case e in #(
   12034   e) case $XSLTPROC in
   12035   [\\/]* | ?:[\\/]*)
   12036   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   12037   ;;
   12038   *)
   12039   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12040 for as_dir in $PATH
   12041 do
   12042   IFS=$as_save_IFS
   12043   case $as_dir in #(((
   12044     '') as_dir=./ ;;
   12045     */) ;;
   12046     *) as_dir=$as_dir/ ;;
   12047   esac
   12048     for ac_exec_ext in '' $ac_executable_extensions; do
   12049   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12050     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   12051     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12052     break 2
   12053   fi
   12054 done
   12055   done
   12056 IFS=$as_save_IFS
   12057 
   12058   ;;
   12059 esac ;;
   12060 esac
   12061 fi
   12062 XSLTPROC=$ac_cv_path_XSLTPROC
   12063 if test -n "$XSLTPROC"; then
   12064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   12065 printf "%s\n" "$XSLTPROC" >&6; }
   12066 else
   12067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12068 printf "%s\n" "no" >&6; }
   12069 fi
   12070 
   12071 
   12072    if test "x$XSLTPROC" = "x"; then
   12073         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   12074    fi
   12075    have_xsltproc=yes
   12076 elif test "x$use_xsltproc" = x"no" ; then
   12077    if test "x$XSLTPROC" != "x"; then
   12078       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   12079 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   12080    fi
   12081    have_xsltproc=no
   12082 else
   12083    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   12084 fi
   12085 
   12086  if test "$have_xsltproc" = yes; then
   12087   HAVE_XSLTPROC_TRUE=
   12088   HAVE_XSLTPROC_FALSE='#'
   12089 else
   12090   HAVE_XSLTPROC_TRUE='#'
   12091   HAVE_XSLTPROC_FALSE=
   12092 fi
   12093 
   12094 
   12095 
   12096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   12097 printf %s "checking for X.Org SGML entities >= 1.8... " >&6; }
   12098 XORG_SGML_PATH=
   12099 if test -n "$PKG_CONFIG" && \
   12100     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   12101   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   12102   ac_status=$?
   12103   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12104   test $ac_status = 0; }; then
   12105   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   12106 else
   12107   :
   12108 
   12109 fi
   12110 
   12111 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   12112 # the path and the name of the doc stylesheet
   12113 if test "x$XORG_SGML_PATH" != "x" ; then
   12114    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   12115 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   12116    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   12117    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   12118 else
   12119    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12120 printf "%s\n" "no" >&6; }
   12121 fi
   12122 
   12123 
   12124 
   12125 
   12126  if test "x$XSL_STYLESHEET" != "x"; then
   12127   HAVE_STYLESHEETS_TRUE=
   12128   HAVE_STYLESHEETS_FALSE='#'
   12129 else
   12130   HAVE_STYLESHEETS_TRUE='#'
   12131   HAVE_STYLESHEETS_FALSE=
   12132 fi
   12133 
   12134 
   12135 
   12136 # Because xtrans is included into other modules rather than being linked
   12137 # with, these defines have to be added to the cflags line
   12138 
   12139 # fchown()
   12140 
   12141 ac_fn_c_check_func "$LINENO" "fchown" "ac_cv_func_fchown"
   12142 if test "x$ac_cv_func_fchown" = xyes
   12143 then :
   12144   fchown_define="-DHAS_FCHOWN"
   12145 else case e in #(
   12146   e) fchown_define="" ;;
   12147 esac
   12148 fi
   12149 
   12150 
   12151 
   12152 
   12153 # sticky bit
   12154 #
   12155 # if any system exists without sticky dir bits this
   12156 # needs to be redone with a real autoconf test
   12157 
   12158 sticky_bit_define="-DHAS_STICKY_DIR_BIT"
   12159 
   12160 
   12161 
   12162 ac_config_files="$ac_config_files Makefile doc/Makefile xtrans.pc"
   12163 
   12164 cat >confcache <<\_ACEOF
   12165 # This file is a shell script that caches the results of configure
   12166 # tests run on this system so they can be shared between configure
   12167 # scripts and configure runs, see configure's option --config-cache.
   12168 # It is not useful on other systems.  If it contains results you don't
   12169 # want to keep, you may remove or edit it.
   12170 #
   12171 # config.status only pays attention to the cache file if you give it
   12172 # the --recheck option to rerun configure.
   12173 #
   12174 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12175 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12176 # following values.
   12177 
   12178 _ACEOF
   12179 
   12180 # The following way of writing the cache mishandles newlines in values,
   12181 # but we know of no workaround that is simple, portable, and efficient.
   12182 # So, we kill variables containing newlines.
   12183 # Ultrix sh set writes to stderr and can't be redirected directly,
   12184 # and sets the high bit in the cache file unless we assign to the vars.
   12185 (
   12186   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12187     eval ac_val=\$$ac_var
   12188     case $ac_val in #(
   12189     *${as_nl}*)
   12190       case $ac_var in #(
   12191       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12192 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12193       esac
   12194       case $ac_var in #(
   12195       _ | IFS | as_nl) ;; #(
   12196       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12197       *) { eval $ac_var=; unset $ac_var;} ;;
   12198       esac ;;
   12199     esac
   12200   done
   12201 
   12202   (set) 2>&1 |
   12203     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12204     *${as_nl}ac_space=\ *)
   12205       # 'set' does not quote correctly, so add quotes: double-quote
   12206       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12207       sed -n \
   12208 	"s/'/'\\\\''/g;
   12209 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12210       ;; #(
   12211     *)
   12212       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   12213       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12214       ;;
   12215     esac |
   12216     sort
   12217 ) |
   12218   sed '
   12219      /^ac_cv_env_/b end
   12220      t clear
   12221      :clear
   12222      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12223      t end
   12224      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12225      :end' >>confcache
   12226 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12227   if test -w "$cache_file"; then
   12228     if test "x$cache_file" != "x/dev/null"; then
   12229       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12230 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   12231       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12232 	cat confcache >"$cache_file"
   12233       else
   12234         case $cache_file in #(
   12235         */* | ?:*)
   12236 	  mv -f confcache "$cache_file"$$ &&
   12237 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12238         *)
   12239 	  mv -f confcache "$cache_file" ;;
   12240 	esac
   12241       fi
   12242     fi
   12243   else
   12244     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12245 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   12246   fi
   12247 fi
   12248 rm -f confcache
   12249 
   12250 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12251 # Let make expand exec_prefix.
   12252 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12253 
   12254 # Transform confdefs.h into DEFS.
   12255 # Protect against shell expansion while executing Makefile rules.
   12256 # Protect against Makefile macro expansion.
   12257 #
   12258 # If the first sed substitution is executed (which looks for macros that
   12259 # take arguments), then branch to the quote section.  Otherwise,
   12260 # look for a macro that doesn't take arguments.
   12261 ac_script='
   12262 :mline
   12263 /\\$/{
   12264  N
   12265  s,\\\n,,
   12266  b mline
   12267 }
   12268 t clear
   12269 :clear
   12270 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   12271 t quote
   12272 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   12273 t quote
   12274 b any
   12275 :quote
   12276 s/[][	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   12277 s/\$/$$/g
   12278 H
   12279 :any
   12280 ${
   12281 	g
   12282 	s/^\n//
   12283 	s/\n/ /g
   12284 	p
   12285 }
   12286 '
   12287 DEFS=`sed -n "$ac_script" confdefs.h`
   12288 
   12289 
   12290 ac_libobjs=
   12291 ac_ltlibobjs=
   12292 U=
   12293 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12294   # 1. Remove the extension, and $U if already installed.
   12295   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12296   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12297   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12298   #    will be set to the directory where LIBOBJS objects are built.
   12299   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12300   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12301 done
   12302 LIBOBJS=$ac_libobjs
   12303 
   12304 LTLIBOBJS=$ac_ltlibobjs
   12305 
   12306 
   12307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12308 printf %s "checking that generated files are newer than configure... " >&6; }
   12309    if test -n "$am_sleep_pid"; then
   12310      # Hide warnings about reused PIDs.
   12311      wait $am_sleep_pid 2>/dev/null
   12312    fi
   12313    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12314 printf "%s\n" "done" >&6; }
   12315 case $enable_silent_rules in # (((
   12316   yes) AM_DEFAULT_VERBOSITY=0;;
   12317    no) AM_DEFAULT_VERBOSITY=1;;
   12318 esac
   12319 if test $am_cv_make_support_nested_variables = yes; then
   12320     AM_V='$(V)'
   12321   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   12322 else
   12323   AM_V=$AM_DEFAULT_VERBOSITY
   12324   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   12325 fi
   12326 
   12327  if test -n "$EXEEXT"; then
   12328   am__EXEEXT_TRUE=
   12329   am__EXEEXT_FALSE='#'
   12330 else
   12331   am__EXEEXT_TRUE='#'
   12332   am__EXEEXT_FALSE=
   12333 fi
   12334 
   12335 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12336   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12338 fi
   12339 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12340   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12342 fi
   12343 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   12344   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   12345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12346 fi
   12347 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   12348   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   12349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12350 fi
   12351 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   12352   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   12353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12354 fi
   12355 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   12356   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   12357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12358 fi
   12359 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   12360   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   12361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12362 fi
   12363 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   12364   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   12365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12366 fi
   12367 
   12368 : "${CONFIG_STATUS=./config.status}"
   12369 ac_write_fail=0
   12370 ac_clean_files_save=$ac_clean_files
   12371 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12373 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12374 as_write_fail=0
   12375 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12376 #! $SHELL
   12377 # Generated by $as_me.
   12378 # Run this file to recreate the current configuration.
   12379 # Compiler output produced by configure, useful for debugging
   12380 # configure, is in config.log if it exists.
   12381 
   12382 debug=false
   12383 ac_cs_recheck=false
   12384 ac_cs_silent=false
   12385 
   12386 SHELL=\${CONFIG_SHELL-$SHELL}
   12387 export SHELL
   12388 _ASEOF
   12389 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12390 ## -------------------- ##
   12391 ## M4sh Initialization. ##
   12392 ## -------------------- ##
   12393 
   12394 # Be more Bourne compatible
   12395 DUALCASE=1; export DUALCASE # for MKS sh
   12396 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12397 then :
   12398   emulate sh
   12399   NULLCMD=:
   12400   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12401   # is contrary to our usage.  Disable this feature.
   12402   alias -g '${1+"$@"}'='"$@"'
   12403   setopt NO_GLOB_SUBST
   12404 else case e in #(
   12405   e) case `(set -o) 2>/dev/null` in #(
   12406   *posix*) :
   12407     set -o posix ;; #(
   12408   *) :
   12409      ;;
   12410 esac ;;
   12411 esac
   12412 fi
   12413 
   12414 
   12415 
   12416 # Reset variables that may have inherited troublesome values from
   12417 # the environment.
   12418 
   12419 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12420 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12421 # side effect of setting IFS to empty, thus disabling word splitting.)
   12422 # Quoting is to prevent editors from complaining about space-tab.
   12423 as_nl='
   12424 '
   12425 export as_nl
   12426 IFS=" ""	$as_nl"
   12427 
   12428 PS1='$ '
   12429 PS2='> '
   12430 PS4='+ '
   12431 
   12432 # Ensure predictable behavior from utilities with locale-dependent output.
   12433 LC_ALL=C
   12434 export LC_ALL
   12435 LANGUAGE=C
   12436 export LANGUAGE
   12437 
   12438 # We cannot yet rely on "unset" to work, but we need these variables
   12439 # to be unset--not just set to an empty or harmless value--now, to
   12440 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12441 # also avoids known problems related to "unset" and subshell syntax
   12442 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12443 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12444 do eval test \${$as_var+y} \
   12445   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12446 done
   12447 
   12448 # Ensure that fds 0, 1, and 2 are open.
   12449 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12450 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12451 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12452 
   12453 # The user is always right.
   12454 if ${PATH_SEPARATOR+false} :; then
   12455   PATH_SEPARATOR=:
   12456   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12457     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12458       PATH_SEPARATOR=';'
   12459   }
   12460 fi
   12461 
   12462 
   12463 # Find who we are.  Look in the path if we contain no directory separator.
   12464 as_myself=
   12465 case $0 in #((
   12466   *[\\/]* ) as_myself=$0 ;;
   12467   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12468 for as_dir in $PATH
   12469 do
   12470   IFS=$as_save_IFS
   12471   case $as_dir in #(((
   12472     '') as_dir=./ ;;
   12473     */) ;;
   12474     *) as_dir=$as_dir/ ;;
   12475   esac
   12476     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12477   done
   12478 IFS=$as_save_IFS
   12479 
   12480      ;;
   12481 esac
   12482 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12483 # in which case we are not to be found in the path.
   12484 if test "x$as_myself" = x; then
   12485   as_myself=$0
   12486 fi
   12487 if test ! -f "$as_myself"; then
   12488   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12489   exit 1
   12490 fi
   12491 
   12492 
   12493 
   12494 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12495 # ----------------------------------------
   12496 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12497 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12498 # script with STATUS, using 1 if that was 0.
   12499 as_fn_error ()
   12500 {
   12501   as_status=$1; test $as_status -eq 0 && as_status=1
   12502   if test "$4"; then
   12503     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12504     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12505   fi
   12506   printf "%s\n" "$as_me: error: $2" >&2
   12507   as_fn_exit $as_status
   12508 } # as_fn_error
   12509 
   12510 
   12511 # as_fn_set_status STATUS
   12512 # -----------------------
   12513 # Set $? to STATUS, without forking.
   12514 as_fn_set_status ()
   12515 {
   12516   return $1
   12517 } # as_fn_set_status
   12518 
   12519 # as_fn_exit STATUS
   12520 # -----------------
   12521 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12522 as_fn_exit ()
   12523 {
   12524   set +e
   12525   as_fn_set_status $1
   12526   exit $1
   12527 } # as_fn_exit
   12528 
   12529 # as_fn_unset VAR
   12530 # ---------------
   12531 # Portably unset VAR.
   12532 as_fn_unset ()
   12533 {
   12534   { eval $1=; unset $1;}
   12535 }
   12536 as_unset=as_fn_unset
   12537 
   12538 # as_fn_append VAR VALUE
   12539 # ----------------------
   12540 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12541 # advantage of any shell optimizations that allow amortized linear growth over
   12542 # repeated appends, instead of the typical quadratic growth present in naive
   12543 # implementations.
   12544 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12545 then :
   12546   eval 'as_fn_append ()
   12547   {
   12548     eval $1+=\$2
   12549   }'
   12550 else case e in #(
   12551   e) as_fn_append ()
   12552   {
   12553     eval $1=\$$1\$2
   12554   } ;;
   12555 esac
   12556 fi # as_fn_append
   12557 
   12558 # as_fn_arith ARG...
   12559 # ------------------
   12560 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12561 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12562 # must be portable across $(()) and expr.
   12563 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12564 then :
   12565   eval 'as_fn_arith ()
   12566   {
   12567     as_val=$(( $* ))
   12568   }'
   12569 else case e in #(
   12570   e) as_fn_arith ()
   12571   {
   12572     as_val=`expr "$@" || test $? -eq 1`
   12573   } ;;
   12574 esac
   12575 fi # as_fn_arith
   12576 
   12577 
   12578 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12579    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12580   as_expr=expr
   12581 else
   12582   as_expr=false
   12583 fi
   12584 
   12585 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12586   as_basename=basename
   12587 else
   12588   as_basename=false
   12589 fi
   12590 
   12591 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12592   as_dirname=dirname
   12593 else
   12594   as_dirname=false
   12595 fi
   12596 
   12597 as_me=`$as_basename -- "$0" ||
   12598 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12599 	 X"$0" : 'X\(//\)$' \| \
   12600 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12601 printf "%s\n" X/"$0" |
   12602     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12603 	    s//\1/
   12604 	    q
   12605 	  }
   12606 	  /^X\/\(\/\/\)$/{
   12607 	    s//\1/
   12608 	    q
   12609 	  }
   12610 	  /^X\/\(\/\).*/{
   12611 	    s//\1/
   12612 	    q
   12613 	  }
   12614 	  s/.*/./; q'`
   12615 
   12616 # Avoid depending upon Character Ranges.
   12617 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12618 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12619 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12620 as_cr_digits='0123456789'
   12621 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12622 
   12623 
   12624 # Determine whether it's possible to make 'echo' print without a newline.
   12625 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12626 # for compatibility with existing Makefiles.
   12627 ECHO_C= ECHO_N= ECHO_T=
   12628 case `echo -n x` in #(((((
   12629 -n*)
   12630   case `echo 'xy\c'` in
   12631   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12632   xy)  ECHO_C='\c';;
   12633   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12634        ECHO_T='	';;
   12635   esac;;
   12636 *)
   12637   ECHO_N='-n';;
   12638 esac
   12639 
   12640 # For backward compatibility with old third-party macros, we provide
   12641 # the shell variables $as_echo and $as_echo_n.  New code should use
   12642 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12643 as_echo='printf %s\n'
   12644 as_echo_n='printf %s'
   12645 
   12646 rm -f conf$$ conf$$.exe conf$$.file
   12647 if test -d conf$$.dir; then
   12648   rm -f conf$$.dir/conf$$.file
   12649 else
   12650   rm -f conf$$.dir
   12651   mkdir conf$$.dir 2>/dev/null
   12652 fi
   12653 if (echo >conf$$.file) 2>/dev/null; then
   12654   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12655     as_ln_s='ln -s'
   12656     # ... but there are two gotchas:
   12657     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12658     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12659     # In both cases, we have to default to 'cp -pR'.
   12660     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12661       as_ln_s='cp -pR'
   12662   elif ln conf$$.file conf$$ 2>/dev/null; then
   12663     as_ln_s=ln
   12664   else
   12665     as_ln_s='cp -pR'
   12666   fi
   12667 else
   12668   as_ln_s='cp -pR'
   12669 fi
   12670 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12671 rmdir conf$$.dir 2>/dev/null
   12672 
   12673 
   12674 # as_fn_mkdir_p
   12675 # -------------
   12676 # Create "$as_dir" as a directory, including parents if necessary.
   12677 as_fn_mkdir_p ()
   12678 {
   12679 
   12680   case $as_dir in #(
   12681   -*) as_dir=./$as_dir;;
   12682   esac
   12683   test -d "$as_dir" || eval $as_mkdir_p || {
   12684     as_dirs=
   12685     while :; do
   12686       case $as_dir in #(
   12687       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12688       *) as_qdir=$as_dir;;
   12689       esac
   12690       as_dirs="'$as_qdir' $as_dirs"
   12691       as_dir=`$as_dirname -- "$as_dir" ||
   12692 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12693 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12694 	 X"$as_dir" : 'X\(//\)$' \| \
   12695 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12696 printf "%s\n" X"$as_dir" |
   12697     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12698 	    s//\1/
   12699 	    q
   12700 	  }
   12701 	  /^X\(\/\/\)[^/].*/{
   12702 	    s//\1/
   12703 	    q
   12704 	  }
   12705 	  /^X\(\/\/\)$/{
   12706 	    s//\1/
   12707 	    q
   12708 	  }
   12709 	  /^X\(\/\).*/{
   12710 	    s//\1/
   12711 	    q
   12712 	  }
   12713 	  s/.*/./; q'`
   12714       test -d "$as_dir" && break
   12715     done
   12716     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12717   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12718 
   12719 
   12720 } # as_fn_mkdir_p
   12721 if mkdir -p . 2>/dev/null; then
   12722   as_mkdir_p='mkdir -p "$as_dir"'
   12723 else
   12724   test -d ./-p && rmdir ./-p
   12725   as_mkdir_p=false
   12726 fi
   12727 
   12728 
   12729 # as_fn_executable_p FILE
   12730 # -----------------------
   12731 # Test if FILE is an executable regular file.
   12732 as_fn_executable_p ()
   12733 {
   12734   test -f "$1" && test -x "$1"
   12735 } # as_fn_executable_p
   12736 as_test_x='test -x'
   12737 as_executable_p=as_fn_executable_p
   12738 
   12739 # Sed expression to map a string onto a valid CPP name.
   12740 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12741 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12742 
   12743 # Sed expression to map a string onto a valid variable name.
   12744 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12745 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12746 
   12747 
   12748 exec 6>&1
   12749 ## ----------------------------------- ##
   12750 ## Main body of $CONFIG_STATUS script. ##
   12751 ## ----------------------------------- ##
   12752 _ASEOF
   12753 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12754 
   12755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12756 # Save the log message, to keep $0 and so on meaningful, and to
   12757 # report actual input values of CONFIG_FILES etc. instead of their
   12758 # values after options handling.
   12759 ac_log="
   12760 This file was extended by xtrans $as_me 1.6.0, which was
   12761 generated by GNU Autoconf 2.72.  Invocation command line was
   12762 
   12763   CONFIG_FILES    = $CONFIG_FILES
   12764   CONFIG_HEADERS  = $CONFIG_HEADERS
   12765   CONFIG_LINKS    = $CONFIG_LINKS
   12766   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12767   $ $0 $@
   12768 
   12769 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12770 "
   12771 
   12772 _ACEOF
   12773 
   12774 case $ac_config_files in *"
   12775 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12776 esac
   12777 
   12778 
   12779 
   12780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12781 # Files that config.status was made for.
   12782 config_files="$ac_config_files"
   12783 config_commands="$ac_config_commands"
   12784 
   12785 _ACEOF
   12786 
   12787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12788 ac_cs_usage="\
   12789 '$as_me' instantiates files and other configuration actions
   12790 from templates according to the current configuration.  Unless the files
   12791 and actions are specified as TAGs, all are instantiated by default.
   12792 
   12793 Usage: $0 [OPTION]... [TAG]...
   12794 
   12795   -h, --help       print this help, then exit
   12796   -V, --version    print version number and configuration settings, then exit
   12797       --config     print configuration, then exit
   12798   -q, --quiet, --silent
   12799                    do not print progress messages
   12800   -d, --debug      don't remove temporary files
   12801       --recheck    update $as_me by reconfiguring in the same conditions
   12802       --file=FILE[:TEMPLATE]
   12803                    instantiate the configuration file FILE
   12804 
   12805 Configuration files:
   12806 $config_files
   12807 
   12808 Configuration commands:
   12809 $config_commands
   12810 
   12811 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/issues>."
   12812 
   12813 _ACEOF
   12814 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12815 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12817 ac_cs_config='$ac_cs_config_escaped'
   12818 ac_cs_version="\\
   12819 xtrans config.status 1.6.0
   12820 configured by $0, generated by GNU Autoconf 2.72,
   12821   with options \\"\$ac_cs_config\\"
   12822 
   12823 Copyright (C) 2023 Free Software Foundation, Inc.
   12824 This config.status script is free software; the Free Software Foundation
   12825 gives unlimited permission to copy, distribute and modify it."
   12826 
   12827 ac_pwd='$ac_pwd'
   12828 srcdir='$srcdir'
   12829 INSTALL='$INSTALL'
   12830 MKDIR_P='$MKDIR_P'
   12831 AWK='$AWK'
   12832 test -n "\$AWK" || AWK=awk
   12833 _ACEOF
   12834 
   12835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12836 # The default lists apply if the user does not specify any file.
   12837 ac_need_defaults=:
   12838 while test $# != 0
   12839 do
   12840   case $1 in
   12841   --*=?*)
   12842     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12843     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12844     ac_shift=:
   12845     ;;
   12846   --*=)
   12847     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12848     ac_optarg=
   12849     ac_shift=:
   12850     ;;
   12851   *)
   12852     ac_option=$1
   12853     ac_optarg=$2
   12854     ac_shift=shift
   12855     ;;
   12856   esac
   12857 
   12858   case $ac_option in
   12859   # Handling of the options.
   12860   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12861     ac_cs_recheck=: ;;
   12862   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12863     printf "%s\n" "$ac_cs_version"; exit ;;
   12864   --config | --confi | --conf | --con | --co | --c )
   12865     printf "%s\n" "$ac_cs_config"; exit ;;
   12866   --debug | --debu | --deb | --de | --d | -d )
   12867     debug=: ;;
   12868   --file | --fil | --fi | --f )
   12869     $ac_shift
   12870     case $ac_optarg in
   12871     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12872     '') as_fn_error $? "missing file argument" ;;
   12873     esac
   12874     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12875     ac_need_defaults=false;;
   12876   --he | --h |  --help | --hel | -h )
   12877     printf "%s\n" "$ac_cs_usage"; exit ;;
   12878   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12879   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12880     ac_cs_silent=: ;;
   12881 
   12882   # This is an error.
   12883   -*) as_fn_error $? "unrecognized option: '$1'
   12884 Try '$0 --help' for more information." ;;
   12885 
   12886   *) as_fn_append ac_config_targets " $1"
   12887      ac_need_defaults=false ;;
   12888 
   12889   esac
   12890   shift
   12891 done
   12892 
   12893 ac_configure_extra_args=
   12894 
   12895 if $ac_cs_silent; then
   12896   exec 6>/dev/null
   12897   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12898 fi
   12899 
   12900 _ACEOF
   12901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12902 if \$ac_cs_recheck; then
   12903   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12904   shift
   12905   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12906   CONFIG_SHELL='$SHELL'
   12907   export CONFIG_SHELL
   12908   exec "\$@"
   12909 fi
   12910 
   12911 _ACEOF
   12912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12913 exec 5>>config.log
   12914 {
   12915   echo
   12916   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12917 ## Running $as_me. ##
   12918 _ASBOX
   12919   printf "%s\n" "$ac_log"
   12920 } >&5
   12921 
   12922 _ACEOF
   12923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12924 #
   12925 # INIT-COMMANDS
   12926 #
   12927 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12928 
   12929 _ACEOF
   12930 
   12931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12932 
   12933 # Handling of arguments.
   12934 for ac_config_target in $ac_config_targets
   12935 do
   12936   case $ac_config_target in
   12937     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12938     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12939     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   12940     "xtrans.pc") CONFIG_FILES="$CONFIG_FILES xtrans.pc" ;;
   12941 
   12942   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12943   esac
   12944 done
   12945 
   12946 
   12947 # If the user did not use the arguments to specify the items to instantiate,
   12948 # then the envvar interface is used.  Set only those that are not.
   12949 # We use the long form for the default assignment because of an extremely
   12950 # bizarre bug on SunOS 4.1.3.
   12951 if $ac_need_defaults; then
   12952   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12953   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12954 fi
   12955 
   12956 # Have a temporary directory for convenience.  Make it in the build tree
   12957 # simply because there is no reason against having it here, and in addition,
   12958 # creating and moving files from /tmp can sometimes cause problems.
   12959 # Hook for its removal unless debugging.
   12960 # Note that there is a small window in which the directory will not be cleaned:
   12961 # after its creation but before its name has been assigned to '$tmp'.
   12962 $debug ||
   12963 {
   12964   tmp= ac_tmp=
   12965   trap 'exit_status=$?
   12966   : "${ac_tmp:=$tmp}"
   12967   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12968 ' 0
   12969   trap 'as_fn_exit 1' 1 2 13 15
   12970 }
   12971 # Create a (secure) tmp directory for tmp files.
   12972 
   12973 {
   12974   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12975   test -d "$tmp"
   12976 }  ||
   12977 {
   12978   tmp=./conf$$-$RANDOM
   12979   (umask 077 && mkdir "$tmp")
   12980 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12981 ac_tmp=$tmp
   12982 
   12983 # Set up the scripts for CONFIG_FILES section.
   12984 # No need to generate them if there are no CONFIG_FILES.
   12985 # This happens for instance with './config.status config.h'.
   12986 if test -n "$CONFIG_FILES"; then
   12987 
   12988 
   12989 ac_cr=`echo X | tr X '\015'`
   12990 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12991 # But we know of no other shell where ac_cr would be empty at this
   12992 # point, so we can use a bashism as a fallback.
   12993 if test "x$ac_cr" = x; then
   12994   eval ac_cr=\$\'\\r\'
   12995 fi
   12996 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12997 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12998   ac_cs_awk_cr='\\r'
   12999 else
   13000   ac_cs_awk_cr=$ac_cr
   13001 fi
   13002 
   13003 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13004 _ACEOF
   13005 
   13006 
   13007 {
   13008   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13009   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13010   echo "_ACEOF"
   13011 } >conf$$subs.sh ||
   13012   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13013 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13014 ac_delim='%!_!# '
   13015 for ac_last_try in false false false false false :; do
   13016   . ./conf$$subs.sh ||
   13017     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13018 
   13019   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13020   if test $ac_delim_n = $ac_delim_num; then
   13021     break
   13022   elif $ac_last_try; then
   13023     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13024   else
   13025     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13026   fi
   13027 done
   13028 rm -f conf$$subs.sh
   13029 
   13030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13031 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13032 _ACEOF
   13033 sed -n '
   13034 h
   13035 s/^/S["/; s/!.*/"]=/
   13036 p
   13037 g
   13038 s/^[^!]*!//
   13039 :repl
   13040 t repl
   13041 s/'"$ac_delim"'$//
   13042 t delim
   13043 :nl
   13044 h
   13045 s/\(.\{148\}\)..*/\1/
   13046 t more1
   13047 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13048 p
   13049 n
   13050 b repl
   13051 :more1
   13052 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13053 p
   13054 g
   13055 s/.\{148\}//
   13056 t nl
   13057 :delim
   13058 h
   13059 s/\(.\{148\}\)..*/\1/
   13060 t more2
   13061 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13062 p
   13063 b
   13064 :more2
   13065 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13066 p
   13067 g
   13068 s/.\{148\}//
   13069 t delim
   13070 ' <conf$$subs.awk | sed '
   13071 /^[^""]/{
   13072   N
   13073   s/\n//
   13074 }
   13075 ' >>$CONFIG_STATUS || ac_write_fail=1
   13076 rm -f conf$$subs.awk
   13077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13078 _ACAWK
   13079 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13080   for (key in S) S_is_set[key] = 1
   13081   FS = ""
   13082 
   13083 }
   13084 {
   13085   line = $ 0
   13086   nfields = split(line, field, "@")
   13087   substed = 0
   13088   len = length(field[1])
   13089   for (i = 2; i < nfields; i++) {
   13090     key = field[i]
   13091     keylen = length(key)
   13092     if (S_is_set[key]) {
   13093       value = S[key]
   13094       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13095       len += length(value) + length(field[++i])
   13096       substed = 1
   13097     } else
   13098       len += 1 + keylen
   13099   }
   13100 
   13101   print line
   13102 }
   13103 
   13104 _ACAWK
   13105 _ACEOF
   13106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13107 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13108   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13109 else
   13110   cat
   13111 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13112   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13113 _ACEOF
   13114 
   13115 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13116 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13117 # trailing colons and then remove the whole line if VPATH becomes empty
   13118 # (actually we leave an empty line to preserve line numbers).
   13119 if test "x$srcdir" = x.; then
   13120   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13121 h
   13122 s///
   13123 s/^/:/
   13124 s/[	 ]*$/:/
   13125 s/:\$(srcdir):/:/g
   13126 s/:\${srcdir}:/:/g
   13127 s/:@srcdir@:/:/g
   13128 s/^:*//
   13129 s/:*$//
   13130 x
   13131 s/\(=[	 ]*\).*/\1/
   13132 G
   13133 s/\n//
   13134 s/^[^=]*=[	 ]*$//
   13135 }'
   13136 fi
   13137 
   13138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13139 fi # test -n "$CONFIG_FILES"
   13140 
   13141 
   13142 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   13143 shift
   13144 for ac_tag
   13145 do
   13146   case $ac_tag in
   13147   :[FHLC]) ac_mode=$ac_tag; continue;;
   13148   esac
   13149   case $ac_mode$ac_tag in
   13150   :[FHL]*:*);;
   13151   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13152   :[FH]-) ac_tag=-:-;;
   13153   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13154   esac
   13155   ac_save_IFS=$IFS
   13156   IFS=:
   13157   set x $ac_tag
   13158   IFS=$ac_save_IFS
   13159   shift
   13160   ac_file=$1
   13161   shift
   13162 
   13163   case $ac_mode in
   13164   :L) ac_source=$1;;
   13165   :[FH])
   13166     ac_file_inputs=
   13167     for ac_f
   13168     do
   13169       case $ac_f in
   13170       -) ac_f="$ac_tmp/stdin";;
   13171       *) # Look for the file first in the build tree, then in the source tree
   13172 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13173 	 # because $ac_f cannot contain ':'.
   13174 	 test -f "$ac_f" ||
   13175 	   case $ac_f in
   13176 	   [\\/$]*) false;;
   13177 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13178 	   esac ||
   13179 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13180       esac
   13181       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13182       as_fn_append ac_file_inputs " '$ac_f'"
   13183     done
   13184 
   13185     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13186     # use $as_me), people would be surprised to read:
   13187     #    /* config.h.  Generated by config.status.  */
   13188     configure_input='Generated from '`
   13189 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13190 	`' by configure.'
   13191     if test x"$ac_file" != x-; then
   13192       configure_input="$ac_file.  $configure_input"
   13193       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13194 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13195     fi
   13196     # Neutralize special characters interpreted by sed in replacement strings.
   13197     case $configure_input in #(
   13198     *\&* | *\|* | *\\* )
   13199        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13200        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13201     *) ac_sed_conf_input=$configure_input;;
   13202     esac
   13203 
   13204     case $ac_tag in
   13205     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13206       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13207     esac
   13208     ;;
   13209   esac
   13210 
   13211   ac_dir=`$as_dirname -- "$ac_file" ||
   13212 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13213 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13214 	 X"$ac_file" : 'X\(//\)$' \| \
   13215 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13216 printf "%s\n" X"$ac_file" |
   13217     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13218 	    s//\1/
   13219 	    q
   13220 	  }
   13221 	  /^X\(\/\/\)[^/].*/{
   13222 	    s//\1/
   13223 	    q
   13224 	  }
   13225 	  /^X\(\/\/\)$/{
   13226 	    s//\1/
   13227 	    q
   13228 	  }
   13229 	  /^X\(\/\).*/{
   13230 	    s//\1/
   13231 	    q
   13232 	  }
   13233 	  s/.*/./; q'`
   13234   as_dir="$ac_dir"; as_fn_mkdir_p
   13235   ac_builddir=.
   13236 
   13237 case "$ac_dir" in
   13238 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13239 *)
   13240   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13241   # A ".." for each directory in $ac_dir_suffix.
   13242   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13243   case $ac_top_builddir_sub in
   13244   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13245   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13246   esac ;;
   13247 esac
   13248 ac_abs_top_builddir=$ac_pwd
   13249 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13250 # for backward compatibility:
   13251 ac_top_builddir=$ac_top_build_prefix
   13252 
   13253 case $srcdir in
   13254   .)  # We are building in place.
   13255     ac_srcdir=.
   13256     ac_top_srcdir=$ac_top_builddir_sub
   13257     ac_abs_top_srcdir=$ac_pwd ;;
   13258   [\\/]* | ?:[\\/]* )  # Absolute name.
   13259     ac_srcdir=$srcdir$ac_dir_suffix;
   13260     ac_top_srcdir=$srcdir
   13261     ac_abs_top_srcdir=$srcdir ;;
   13262   *) # Relative name.
   13263     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13264     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13265     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13266 esac
   13267 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13268 
   13269 
   13270   case $ac_mode in
   13271   :F)
   13272   #
   13273   # CONFIG_FILE
   13274   #
   13275 
   13276   case $INSTALL in
   13277   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13278   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13279   esac
   13280   ac_MKDIR_P=$MKDIR_P
   13281   case $MKDIR_P in
   13282   [\\/$]* | ?:[\\/]* ) ;;
   13283   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13284   esac
   13285 _ACEOF
   13286 
   13287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13288 # If the template does not know about datarootdir, expand it.
   13289 # FIXME: This hack should be removed a few years after 2.60.
   13290 ac_datarootdir_hack=; ac_datarootdir_seen=
   13291 ac_sed_dataroot='
   13292 /datarootdir/ {
   13293   p
   13294   q
   13295 }
   13296 /@datadir@/p
   13297 /@docdir@/p
   13298 /@infodir@/p
   13299 /@localedir@/p
   13300 /@mandir@/p'
   13301 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13302 *datarootdir*) ac_datarootdir_seen=yes;;
   13303 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13305 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13306 _ACEOF
   13307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13308   ac_datarootdir_hack='
   13309   s&@datadir@&$datadir&g
   13310   s&@docdir@&$docdir&g
   13311   s&@infodir@&$infodir&g
   13312   s&@localedir@&$localedir&g
   13313   s&@mandir@&$mandir&g
   13314   s&\\\${datarootdir}&$datarootdir&g' ;;
   13315 esac
   13316 _ACEOF
   13317 
   13318 # Neutralize VPATH when '$srcdir' = '.'.
   13319 # Shell code in configure.ac might set extrasub.
   13320 # FIXME: do we really want to maintain this feature?
   13321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13322 ac_sed_extra="$ac_vpsub
   13323 $extrasub
   13324 _ACEOF
   13325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13326 :t
   13327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13328 s|@configure_input@|$ac_sed_conf_input|;t t
   13329 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13330 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13331 s&@srcdir@&$ac_srcdir&;t t
   13332 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13333 s&@top_srcdir@&$ac_top_srcdir&;t t
   13334 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13335 s&@builddir@&$ac_builddir&;t t
   13336 s&@abs_builddir@&$ac_abs_builddir&;t t
   13337 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13338 s&@INSTALL@&$ac_INSTALL&;t t
   13339 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13340 $ac_datarootdir_hack
   13341 "
   13342 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13343   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13344 
   13345 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13346   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13347   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13348       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13349   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13350 which seems to be undefined.  Please make sure it is defined" >&5
   13351 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13352 which seems to be undefined.  Please make sure it is defined" >&2;}
   13353 
   13354   rm -f "$ac_tmp/stdin"
   13355   case $ac_file in
   13356   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13357   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13358   esac \
   13359   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13360  ;;
   13361 
   13362 
   13363   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13364 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13365  ;;
   13366   esac
   13367 
   13368 
   13369   case $ac_file$ac_mode in
   13370     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13371   # Older Autoconf quotes --file arguments for eval, but not when files
   13372   # are listed without --file.  Let's play safe and only enable the eval
   13373   # if we detect the quoting.
   13374   # TODO: see whether this extra hack can be removed once we start
   13375   # requiring Autoconf 2.70 or later.
   13376   case $CONFIG_FILES in #(
   13377   *\'*) :
   13378     eval set x "$CONFIG_FILES" ;; #(
   13379   *) :
   13380     set x $CONFIG_FILES ;; #(
   13381   *) :
   13382      ;;
   13383 esac
   13384   shift
   13385   # Used to flag and report bootstrapping failures.
   13386   am_rc=0
   13387   for am_mf
   13388   do
   13389     # Strip MF so we end up with the name of the file.
   13390     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13391     # Check whether this is an Automake generated Makefile which includes
   13392     # dependency-tracking related rules and includes.
   13393     # Grep'ing the whole file directly is not great: AIX grep has a line
   13394     # limit of 2048, but all sed's we know have understand at least 4000.
   13395     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13396       || continue
   13397     am_dirpart=`$as_dirname -- "$am_mf" ||
   13398 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13399 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13400 	 X"$am_mf" : 'X\(//\)$' \| \
   13401 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13402 printf "%s\n" X"$am_mf" |
   13403     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13404 	    s//\1/
   13405 	    q
   13406 	  }
   13407 	  /^X\(\/\/\)[^/].*/{
   13408 	    s//\1/
   13409 	    q
   13410 	  }
   13411 	  /^X\(\/\/\)$/{
   13412 	    s//\1/
   13413 	    q
   13414 	  }
   13415 	  /^X\(\/\).*/{
   13416 	    s//\1/
   13417 	    q
   13418 	  }
   13419 	  s/.*/./; q'`
   13420     am_filepart=`$as_basename -- "$am_mf" ||
   13421 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13422 	 X"$am_mf" : 'X\(//\)$' \| \
   13423 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13424 printf "%s\n" X/"$am_mf" |
   13425     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13426 	    s//\1/
   13427 	    q
   13428 	  }
   13429 	  /^X\/\(\/\/\)$/{
   13430 	    s//\1/
   13431 	    q
   13432 	  }
   13433 	  /^X\/\(\/\).*/{
   13434 	    s//\1/
   13435 	    q
   13436 	  }
   13437 	  s/.*/./; q'`
   13438     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13439       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13440         | $MAKE -f - am--depfiles" >&5
   13441    (cd "$am_dirpart" \
   13442       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13443         | $MAKE -f - am--depfiles) >&5 2>&5
   13444    ac_status=$?
   13445    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13446    (exit $ac_status); } || am_rc=$?
   13447   done
   13448   if test $am_rc -ne 0; then
   13449     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13450 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13451 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13452     for automatic dependency tracking.  If GNU make was not used, consider
   13453     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13454     necessary).  You can also try re-running configure with the
   13455     '--disable-dependency-tracking' option to at least be able to build
   13456     the package (albeit without support for automatic dependency tracking).
   13457 See 'config.log' for more details" "$LINENO" 5; }
   13458   fi
   13459   { am_dirpart=; unset am_dirpart;}
   13460   { am_filepart=; unset am_filepart;}
   13461   { am_mf=; unset am_mf;}
   13462   { am_rc=; unset am_rc;}
   13463   rm -f conftest-deps.mk
   13464 }
   13465  ;;
   13466 
   13467   esac
   13468 done # for ac_tag
   13469 
   13470 
   13471 as_fn_exit 0
   13472 _ACEOF
   13473 ac_clean_files=$ac_clean_files_save
   13474 
   13475 test $ac_write_fail = 0 ||
   13476   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13477 
   13478 
   13479 # configure is writing to config.log, and then calls config.status.
   13480 # config.status does its own redirection, appending to config.log.
   13481 # Unfortunately, on DOS this fails, as config.log is still kept open
   13482 # by configure, so config.status won't be able to write to it; its
   13483 # output is simply discarded.  So we exec the FD to /dev/null,
   13484 # effectively closing config.log, so it can be properly (re)opened and
   13485 # appended to by config.status.  When coming back to configure, we
   13486 # need to make the FD available again.
   13487 if test "$no_create" != yes; then
   13488   ac_cs_success=:
   13489   ac_config_status_args=
   13490   test "$silent" = yes &&
   13491     ac_config_status_args="$ac_config_status_args --quiet"
   13492   exec 5>/dev/null
   13493   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13494   exec 5>>config.log
   13495   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13496   # would make configure fail if this is the last instruction.
   13497   $ac_cs_success || as_fn_exit 1
   13498 fi
   13499 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13501 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13502 fi
   13503 
   13504 
   13505