Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.11
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xtrans 1.5.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxtrans/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 test \$(( 1 + 1 )) = 2 || exit 1"
    187   if (eval "$as_required") 2>/dev/null
    188 then :
    189   as_have_required=yes
    190 else $as_nop
    191   as_have_required=no
    192 fi
    193   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    194 then :
    195 
    196 else $as_nop
    197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    198 as_found=false
    199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    200 do
    201   IFS=$as_save_IFS
    202   case $as_dir in #(((
    203     '') as_dir=./ ;;
    204     */) ;;
    205     *) as_dir=$as_dir/ ;;
    206   esac
    207   as_found=:
    208   case $as_dir in #(
    209 	 /*)
    210 	   for as_base in sh bash ksh sh5; do
    211 	     # Try only shells that exist, to save several forks.
    212 	     as_shell=$as_dir$as_base
    213 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    214 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    215 then :
    216   CONFIG_SHELL=$as_shell as_have_required=yes
    217 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    218 then :
    219   break 2
    220 fi
    221 fi
    222 	   done;;
    223        esac
    224   as_found=false
    225 done
    226 IFS=$as_save_IFS
    227 if $as_found
    228 then :
    229 
    230 else $as_nop
    231   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    232 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    233 then :
    234   CONFIG_SHELL=$SHELL as_have_required=yes
    235 fi
    236 fi
    237 
    238 
    239       if test "x$CONFIG_SHELL" != x
    240 then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno
    263 then :
    264   printf "%s\n" "$0: This script requires a shell more modern than all"
    265   printf "%s\n" "$0: the shells that I found on your system."
    266   if test ${ZSH_VERSION+y} ; then
    267     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    268     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    269   else
    270     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    271 $0: https://gitlab.freedesktop.org/xorg/lib/libxtrans/issues
    272 $0: about your system, including any error possibly output
    273 $0: before this message. Then install a modern shell, or
    274 $0: manually run the script under such a shell if you do
    275 $0: have one."
    276   fi
    277   exit 1
    278 fi
    279 fi
    280 fi
    281 SHELL=${CONFIG_SHELL-/bin/sh}
    282 export SHELL
    283 # Unset more variables known to interfere with behavior of common tools.
    284 CLICOLOR_FORCE= GREP_OPTIONS=
    285 unset CLICOLOR_FORCE GREP_OPTIONS
    286 
    287 ## --------------------- ##
    288 ## M4sh Shell Functions. ##
    289 ## --------------------- ##
    290 # as_fn_unset VAR
    291 # ---------------
    292 # Portably unset VAR.
    293 as_fn_unset ()
    294 {
    295   { eval $1=; unset $1;}
    296 }
    297 as_unset=as_fn_unset
    298 
    299 
    300 # as_fn_set_status STATUS
    301 # -----------------------
    302 # Set $? to STATUS, without forking.
    303 as_fn_set_status ()
    304 {
    305   return $1
    306 } # as_fn_set_status
    307 
    308 # as_fn_exit STATUS
    309 # -----------------
    310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    311 as_fn_exit ()
    312 {
    313   set +e
    314   as_fn_set_status $1
    315   exit $1
    316 } # as_fn_exit
    317 # as_fn_nop
    318 # ---------
    319 # Do nothing but, unlike ":", preserve the value of $?.
    320 as_fn_nop ()
    321 {
    322   return $?
    323 }
    324 as_nop=as_fn_nop
    325 
    326 # as_fn_mkdir_p
    327 # -------------
    328 # Create "$as_dir" as a directory, including parents if necessary.
    329 as_fn_mkdir_p ()
    330 {
    331 
    332   case $as_dir in #(
    333   -*) as_dir=./$as_dir;;
    334   esac
    335   test -d "$as_dir" || eval $as_mkdir_p || {
    336     as_dirs=
    337     while :; do
    338       case $as_dir in #(
    339       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    340       *) as_qdir=$as_dir;;
    341       esac
    342       as_dirs="'$as_qdir' $as_dirs"
    343       as_dir=`$as_dirname -- "$as_dir" ||
    344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    345 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    346 	 X"$as_dir" : 'X\(//\)$' \| \
    347 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    348 printf "%s\n" X"$as_dir" |
    349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)[^/].*/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\).*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  s/.*/./; q'`
    366       test -d "$as_dir" && break
    367     done
    368     test -z "$as_dirs" || eval "mkdir $as_dirs"
    369   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    370 
    371 
    372 } # as_fn_mkdir_p
    373 
    374 # as_fn_executable_p FILE
    375 # -----------------------
    376 # Test if FILE is an executable regular file.
    377 as_fn_executable_p ()
    378 {
    379   test -f "$1" && test -x "$1"
    380 } # as_fn_executable_p
    381 # as_fn_append VAR VALUE
    382 # ----------------------
    383 # Append the text in VALUE to the end of the definition contained in VAR. Take
    384 # advantage of any shell optimizations that allow amortized linear growth over
    385 # repeated appends, instead of the typical quadratic growth present in naive
    386 # implementations.
    387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    388 then :
    389   eval 'as_fn_append ()
    390   {
    391     eval $1+=\$2
    392   }'
    393 else $as_nop
    394   as_fn_append ()
    395   {
    396     eval $1=\$$1\$2
    397   }
    398 fi # as_fn_append
    399 
    400 # as_fn_arith ARG...
    401 # ------------------
    402 # Perform arithmetic evaluation on the ARGs, and store the result in the
    403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    404 # must be portable across $(()) and expr.
    405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    406 then :
    407   eval 'as_fn_arith ()
    408   {
    409     as_val=$(( $* ))
    410   }'
    411 else $as_nop
    412   as_fn_arith ()
    413   {
    414     as_val=`expr "$@" || test $? -eq 1`
    415   }
    416 fi # as_fn_arith
    417 
    418 # as_fn_nop
    419 # ---------
    420 # Do nothing but, unlike ":", preserve the value of $?.
    421 as_fn_nop ()
    422 {
    423   return $?
    424 }
    425 as_nop=as_fn_nop
    426 
    427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    428 # ----------------------------------------
    429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    431 # script with STATUS, using 1 if that was 0.
    432 as_fn_error ()
    433 {
    434   as_status=$1; test $as_status -eq 0 && as_status=1
    435   if test "$4"; then
    436     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    438   fi
    439   printf "%s\n" "$as_me: error: $2" >&2
    440   as_fn_exit $as_status
    441 } # as_fn_error
    442 
    443 if expr a : '\(a\)' >/dev/null 2>&1 &&
    444    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    445   as_expr=expr
    446 else
    447   as_expr=false
    448 fi
    449 
    450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    451   as_basename=basename
    452 else
    453   as_basename=false
    454 fi
    455 
    456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    457   as_dirname=dirname
    458 else
    459   as_dirname=false
    460 fi
    461 
    462 as_me=`$as_basename -- "$0" ||
    463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    464 	 X"$0" : 'X\(//\)$' \| \
    465 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    466 printf "%s\n" X/"$0" |
    467     sed '/^.*\/\([^/][^/]*\)\/*$/{
    468 	    s//\1/
    469 	    q
    470 	  }
    471 	  /^X\/\(\/\/\)$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\).*/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  s/.*/./; q'`
    480 
    481 # Avoid depending upon Character Ranges.
    482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    485 as_cr_digits='0123456789'
    486 as_cr_alnum=$as_cr_Letters$as_cr_digits
    487 
    488 
    489   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    490   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    491   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    492   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    493   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    494   sed -n '
    495     p
    496     /[$]LINENO/=
    497   ' <$as_myself |
    498     sed '
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 
    548 rm -f conf$$ conf$$.exe conf$$.file
    549 if test -d conf$$.dir; then
    550   rm -f conf$$.dir/conf$$.file
    551 else
    552   rm -f conf$$.dir
    553   mkdir conf$$.dir 2>/dev/null
    554 fi
    555 if (echo >conf$$.file) 2>/dev/null; then
    556   if ln -s conf$$.file conf$$ 2>/dev/null; then
    557     as_ln_s='ln -s'
    558     # ... but there are two gotchas:
    559     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    560     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    561     # In both cases, we have to default to `cp -pR'.
    562     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    563       as_ln_s='cp -pR'
    564   elif ln conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s=ln
    566   else
    567     as_ln_s='cp -pR'
    568   fi
    569 else
    570   as_ln_s='cp -pR'
    571 fi
    572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    573 rmdir conf$$.dir 2>/dev/null
    574 
    575 if mkdir -p . 2>/dev/null; then
    576   as_mkdir_p='mkdir -p "$as_dir"'
    577 else
    578   test -d ./-p && rmdir ./-p
    579   as_mkdir_p=false
    580 fi
    581 
    582 as_test_x='test -x'
    583 as_executable_p=as_fn_executable_p
    584 
    585 # Sed expression to map a string onto a valid CPP name.
    586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    590 
    591 as_awk_strverscmp='
    592   # Use only awk features that work with 7th edition Unix awk (1978).
    593   # My, what an old awk you have, Mr. Solaris!
    594   END {
    595     while (length(v1) && length(v2)) {
    596       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    597       # Normally this is a single character, but if v1 and v2 contain digits,
    598       # compare them as integers and fractions as strverscmp does.
    599       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    600 	# Split v1 and v2 into their leading digit string components d1 and d2,
    601 	# and advance v1 and v2 past the leading digit strings.
    602 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    603 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    604 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    605 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    606 	if (d1 ~ /^0/) {
    607 	  if (d2 ~ /^0/) {
    608 	    # Compare two fractions.
    609 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    610 	      d1 = substr(d1, 2); len1--
    611 	      d2 = substr(d2, 2); len2--
    612 	    }
    613 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    614 	      # The two components differ in length, and the common prefix
    615 	      # contains only leading zeros.  Consider the longer to be less.
    616 	      d1 = -len1
    617 	      d2 = -len2
    618 	    } else {
    619 	      # Otherwise, compare as strings.
    620 	      d1 = "x" d1
    621 	      d2 = "x" d2
    622 	    }
    623 	  } else {
    624 	    # A fraction is less than an integer.
    625 	    exit 1
    626 	  }
    627 	} else {
    628 	  if (d2 ~ /^0/) {
    629 	    # An integer is greater than a fraction.
    630 	    exit 2
    631 	  } else {
    632 	    # Compare two integers.
    633 	    d1 += 0
    634 	    d2 += 0
    635 	  }
    636 	}
    637       } else {
    638 	# The normal case, without worrying about digits.
    639 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    640 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    641       }
    642       if (d1 < d2) exit 1
    643       if (d1 > d2) exit 2
    644     }
    645     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    646     # which mishandles some comparisons of empty strings to integers.
    647     if (length(v2)) exit 1
    648     if (length(v1)) exit 2
    649   }
    650 '
    651 
    652 test -n "$DJDIR" || exec 7<&0 </dev/null
    653 exec 6>&1
    654 
    655 # Name of the host.
    656 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    657 # so uname gets run too.
    658 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    659 
    660 #
    661 # Initializations.
    662 #
    663 ac_default_prefix=/usr/local
    664 ac_clean_files=
    665 ac_config_libobj_dir=.
    666 LIBOBJS=
    667 cross_compiling=no
    668 subdirs=
    669 MFLAGS=
    670 MAKEFLAGS=
    671 
    672 # Identity of this package.
    673 PACKAGE_NAME='xtrans'
    674 PACKAGE_TARNAME='xtrans'
    675 PACKAGE_VERSION='1.5.0'
    676 PACKAGE_STRING='xtrans 1.5.0'
    677 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxtrans/issues'
    678 PACKAGE_URL=''
    679 
    680 ac_unique_file="Makefile.am"
    681 # Factoring default headers for most tests.
    682 ac_includes_default="\
    683 #include <stddef.h>
    684 #ifdef HAVE_STDIO_H
    685 # include <stdio.h>
    686 #endif
    687 #ifdef HAVE_STDLIB_H
    688 # include <stdlib.h>
    689 #endif
    690 #ifdef HAVE_STRING_H
    691 # include <string.h>
    692 #endif
    693 #ifdef HAVE_INTTYPES_H
    694 # include <inttypes.h>
    695 #endif
    696 #ifdef HAVE_STDINT_H
    697 # include <stdint.h>
    698 #endif
    699 #ifdef HAVE_STRINGS_H
    700 # include <strings.h>
    701 #endif
    702 #ifdef HAVE_SYS_TYPES_H
    703 # include <sys/types.h>
    704 #endif
    705 #ifdef HAVE_SYS_STAT_H
    706 # include <sys/stat.h>
    707 #endif
    708 #ifdef HAVE_UNISTD_H
    709 # include <unistd.h>
    710 #endif"
    711 
    712 ac_header_c_list=
    713 ac_subst_vars='am__EXEEXT_FALSE
    714 am__EXEEXT_TRUE
    715 LTLIBOBJS
    716 LIBOBJS
    717 sticky_bit_define
    718 fchown_define
    719 HAVE_STYLESHEETS_FALSE
    720 HAVE_STYLESHEETS_TRUE
    721 XSL_STYLESHEET
    722 STYLESHEET_SRCDIR
    723 XORG_SGML_PATH
    724 HAVE_XSLTPROC_FALSE
    725 HAVE_XSLTPROC_TRUE
    726 XSLTPROC
    727 HAVE_FOP_FALSE
    728 HAVE_FOP_TRUE
    729 FOP
    730 HAVE_XMLTO_FALSE
    731 HAVE_XMLTO_TRUE
    732 HAVE_XMLTO_TEXT_FALSE
    733 HAVE_XMLTO_TEXT_TRUE
    734 XMLTO
    735 ENABLE_DOCS_FALSE
    736 ENABLE_DOCS_TRUE
    737 MAN_SUBSTS
    738 XORG_MAN_PAGE
    739 ADMIN_MAN_DIR
    740 DRIVER_MAN_DIR
    741 MISC_MAN_DIR
    742 FILE_MAN_DIR
    743 LIB_MAN_DIR
    744 APP_MAN_DIR
    745 ADMIN_MAN_SUFFIX
    746 DRIVER_MAN_SUFFIX
    747 MISC_MAN_SUFFIX
    748 FILE_MAN_SUFFIX
    749 LIB_MAN_SUFFIX
    750 APP_MAN_SUFFIX
    751 SED
    752 host_os
    753 host_vendor
    754 host_cpu
    755 host
    756 build_os
    757 build_vendor
    758 build_cpu
    759 build
    760 INSTALL_CMD
    761 PKG_CONFIG_LIBDIR
    762 PKG_CONFIG_PATH
    763 PKG_CONFIG
    764 CHANGELOG_CMD
    765 STRICT_CFLAGS
    766 CWARNFLAGS
    767 BASE_CFLAGS
    768 am__fastdepCC_FALSE
    769 am__fastdepCC_TRUE
    770 CCDEPMODE
    771 am__nodep
    772 AMDEPBACKSLASH
    773 AMDEP_FALSE
    774 AMDEP_TRUE
    775 am__include
    776 DEPDIR
    777 OBJEXT
    778 EXEEXT
    779 ac_ct_CC
    780 CPPFLAGS
    781 LDFLAGS
    782 CFLAGS
    783 CC
    784 AM_BACKSLASH
    785 AM_DEFAULT_VERBOSITY
    786 AM_DEFAULT_V
    787 AM_V
    788 CSCOPE
    789 ETAGS
    790 CTAGS
    791 am__untar
    792 am__tar
    793 AMTAR
    794 am__leading_dot
    795 SET_MAKE
    796 AWK
    797 mkdir_p
    798 MKDIR_P
    799 INSTALL_STRIP_PROGRAM
    800 STRIP
    801 install_sh
    802 MAKEINFO
    803 AUTOHEADER
    804 AUTOMAKE
    805 AUTOCONF
    806 ACLOCAL
    807 VERSION
    808 PACKAGE
    809 CYGPATH_W
    810 am__isrc
    811 INSTALL_DATA
    812 INSTALL_SCRIPT
    813 INSTALL_PROGRAM
    814 target_alias
    815 host_alias
    816 build_alias
    817 LIBS
    818 ECHO_T
    819 ECHO_N
    820 ECHO_C
    821 DEFS
    822 mandir
    823 localedir
    824 libdir
    825 psdir
    826 pdfdir
    827 dvidir
    828 htmldir
    829 infodir
    830 docdir
    831 oldincludedir
    832 includedir
    833 runstatedir
    834 localstatedir
    835 sharedstatedir
    836 sysconfdir
    837 datadir
    838 datarootdir
    839 libexecdir
    840 sbindir
    841 bindir
    842 program_transform_name
    843 prefix
    844 exec_prefix
    845 PACKAGE_URL
    846 PACKAGE_BUGREPORT
    847 PACKAGE_STRING
    848 PACKAGE_VERSION
    849 PACKAGE_TARNAME
    850 PACKAGE_NAME
    851 PATH_SEPARATOR
    852 SHELL
    853 am__quote'
    854 ac_subst_files=''
    855 ac_user_opts='
    856 enable_option_checking
    857 enable_silent_rules
    858 enable_dependency_tracking
    859 enable_selective_werror
    860 enable_strict_compilation
    861 enable_docs
    862 with_xmlto
    863 with_fop
    864 with_xsltproc
    865 '
    866       ac_precious_vars='build_alias
    867 host_alias
    868 target_alias
    869 CC
    870 CFLAGS
    871 LDFLAGS
    872 LIBS
    873 CPPFLAGS
    874 PKG_CONFIG
    875 PKG_CONFIG_PATH
    876 PKG_CONFIG_LIBDIR
    877 XMLTO
    878 FOP
    879 XSLTPROC'
    880 
    881 
    882 # Initialize some variables set by options.
    883 ac_init_help=
    884 ac_init_version=false
    885 ac_unrecognized_opts=
    886 ac_unrecognized_sep=
    887 # The variables have the same names as the options, with
    888 # dashes changed to underlines.
    889 cache_file=/dev/null
    890 exec_prefix=NONE
    891 no_create=
    892 no_recursion=
    893 prefix=NONE
    894 program_prefix=NONE
    895 program_suffix=NONE
    896 program_transform_name=s,x,x,
    897 silent=
    898 site=
    899 srcdir=
    900 verbose=
    901 x_includes=NONE
    902 x_libraries=NONE
    903 
    904 # Installation directory options.
    905 # These are left unexpanded so users can "make install exec_prefix=/foo"
    906 # and all the variables that are supposed to be based on exec_prefix
    907 # by default will actually change.
    908 # Use braces instead of parens because sh, perl, etc. also accept them.
    909 # (The list follows the same order as the GNU Coding Standards.)
    910 bindir='${exec_prefix}/bin'
    911 sbindir='${exec_prefix}/sbin'
    912 libexecdir='${exec_prefix}/libexec'
    913 datarootdir='${prefix}/share'
    914 datadir='${datarootdir}'
    915 sysconfdir='${prefix}/etc'
    916 sharedstatedir='${prefix}/com'
    917 localstatedir='${prefix}/var'
    918 runstatedir='${localstatedir}/run'
    919 includedir='${prefix}/include'
    920 oldincludedir='/usr/include'
    921 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    922 infodir='${datarootdir}/info'
    923 htmldir='${docdir}'
    924 dvidir='${docdir}'
    925 pdfdir='${docdir}'
    926 psdir='${docdir}'
    927 libdir='${exec_prefix}/lib'
    928 localedir='${datarootdir}/locale'
    929 mandir='${datarootdir}/man'
    930 
    931 ac_prev=
    932 ac_dashdash=
    933 for ac_option
    934 do
    935   # If the previous option needs an argument, assign it.
    936   if test -n "$ac_prev"; then
    937     eval $ac_prev=\$ac_option
    938     ac_prev=
    939     continue
    940   fi
    941 
    942   case $ac_option in
    943   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    944   *=)   ac_optarg= ;;
    945   *)    ac_optarg=yes ;;
    946   esac
    947 
    948   case $ac_dashdash$ac_option in
    949   --)
    950     ac_dashdash=yes ;;
    951 
    952   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    953     ac_prev=bindir ;;
    954   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    955     bindir=$ac_optarg ;;
    956 
    957   -build | --build | --buil | --bui | --bu)
    958     ac_prev=build_alias ;;
    959   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    960     build_alias=$ac_optarg ;;
    961 
    962   -cache-file | --cache-file | --cache-fil | --cache-fi \
    963   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    964     ac_prev=cache_file ;;
    965   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    966   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    967     cache_file=$ac_optarg ;;
    968 
    969   --config-cache | -C)
    970     cache_file=config.cache ;;
    971 
    972   -datadir | --datadir | --datadi | --datad)
    973     ac_prev=datadir ;;
    974   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    975     datadir=$ac_optarg ;;
    976 
    977   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    978   | --dataroo | --dataro | --datar)
    979     ac_prev=datarootdir ;;
    980   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    981   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    982     datarootdir=$ac_optarg ;;
    983 
    984   -disable-* | --disable-*)
    985     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    986     # Reject names that are not valid shell variable names.
    987     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    988       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    989     ac_useropt_orig=$ac_useropt
    990     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    991     case $ac_user_opts in
    992       *"
    993 "enable_$ac_useropt"
    994 "*) ;;
    995       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    996 	 ac_unrecognized_sep=', ';;
    997     esac
    998     eval enable_$ac_useropt=no ;;
    999 
   1000   -docdir | --docdir | --docdi | --doc | --do)
   1001     ac_prev=docdir ;;
   1002   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1003     docdir=$ac_optarg ;;
   1004 
   1005   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1006     ac_prev=dvidir ;;
   1007   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1008     dvidir=$ac_optarg ;;
   1009 
   1010   -enable-* | --enable-*)
   1011     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1012     # Reject names that are not valid shell variable names.
   1013     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1014       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1015     ac_useropt_orig=$ac_useropt
   1016     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1017     case $ac_user_opts in
   1018       *"
   1019 "enable_$ac_useropt"
   1020 "*) ;;
   1021       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1022 	 ac_unrecognized_sep=', ';;
   1023     esac
   1024     eval enable_$ac_useropt=\$ac_optarg ;;
   1025 
   1026   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1027   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1028   | --exec | --exe | --ex)
   1029     ac_prev=exec_prefix ;;
   1030   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1031   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1032   | --exec=* | --exe=* | --ex=*)
   1033     exec_prefix=$ac_optarg ;;
   1034 
   1035   -gas | --gas | --ga | --g)
   1036     # Obsolete; use --with-gas.
   1037     with_gas=yes ;;
   1038 
   1039   -help | --help | --hel | --he | -h)
   1040     ac_init_help=long ;;
   1041   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1042     ac_init_help=recursive ;;
   1043   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1044     ac_init_help=short ;;
   1045 
   1046   -host | --host | --hos | --ho)
   1047     ac_prev=host_alias ;;
   1048   -host=* | --host=* | --hos=* | --ho=*)
   1049     host_alias=$ac_optarg ;;
   1050 
   1051   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1052     ac_prev=htmldir ;;
   1053   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1054   | --ht=*)
   1055     htmldir=$ac_optarg ;;
   1056 
   1057   -includedir | --includedir | --includedi | --included | --include \
   1058   | --includ | --inclu | --incl | --inc)
   1059     ac_prev=includedir ;;
   1060   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1061   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1062     includedir=$ac_optarg ;;
   1063 
   1064   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1065     ac_prev=infodir ;;
   1066   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1067     infodir=$ac_optarg ;;
   1068 
   1069   -libdir | --libdir | --libdi | --libd)
   1070     ac_prev=libdir ;;
   1071   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1072     libdir=$ac_optarg ;;
   1073 
   1074   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1075   | --libexe | --libex | --libe)
   1076     ac_prev=libexecdir ;;
   1077   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1078   | --libexe=* | --libex=* | --libe=*)
   1079     libexecdir=$ac_optarg ;;
   1080 
   1081   -localedir | --localedir | --localedi | --localed | --locale)
   1082     ac_prev=localedir ;;
   1083   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1084     localedir=$ac_optarg ;;
   1085 
   1086   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1087   | --localstate | --localstat | --localsta | --localst | --locals)
   1088     ac_prev=localstatedir ;;
   1089   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1090   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1091     localstatedir=$ac_optarg ;;
   1092 
   1093   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1094     ac_prev=mandir ;;
   1095   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1096     mandir=$ac_optarg ;;
   1097 
   1098   -nfp | --nfp | --nf)
   1099     # Obsolete; use --without-fp.
   1100     with_fp=no ;;
   1101 
   1102   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1103   | --no-cr | --no-c | -n)
   1104     no_create=yes ;;
   1105 
   1106   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1107   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1108     no_recursion=yes ;;
   1109 
   1110   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1111   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1112   | --oldin | --oldi | --old | --ol | --o)
   1113     ac_prev=oldincludedir ;;
   1114   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1115   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1116   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1117     oldincludedir=$ac_optarg ;;
   1118 
   1119   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1120     ac_prev=prefix ;;
   1121   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1122     prefix=$ac_optarg ;;
   1123 
   1124   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1125   | --program-pre | --program-pr | --program-p)
   1126     ac_prev=program_prefix ;;
   1127   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1128   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1129     program_prefix=$ac_optarg ;;
   1130 
   1131   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1132   | --program-suf | --program-su | --program-s)
   1133     ac_prev=program_suffix ;;
   1134   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1135   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1136     program_suffix=$ac_optarg ;;
   1137 
   1138   -program-transform-name | --program-transform-name \
   1139   | --program-transform-nam | --program-transform-na \
   1140   | --program-transform-n | --program-transform- \
   1141   | --program-transform | --program-transfor \
   1142   | --program-transfo | --program-transf \
   1143   | --program-trans | --program-tran \
   1144   | --progr-tra | --program-tr | --program-t)
   1145     ac_prev=program_transform_name ;;
   1146   -program-transform-name=* | --program-transform-name=* \
   1147   | --program-transform-nam=* | --program-transform-na=* \
   1148   | --program-transform-n=* | --program-transform-=* \
   1149   | --program-transform=* | --program-transfor=* \
   1150   | --program-transfo=* | --program-transf=* \
   1151   | --program-trans=* | --program-tran=* \
   1152   | --progr-tra=* | --program-tr=* | --program-t=*)
   1153     program_transform_name=$ac_optarg ;;
   1154 
   1155   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1156     ac_prev=pdfdir ;;
   1157   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1158     pdfdir=$ac_optarg ;;
   1159 
   1160   -psdir | --psdir | --psdi | --psd | --ps)
   1161     ac_prev=psdir ;;
   1162   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1163     psdir=$ac_optarg ;;
   1164 
   1165   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1166   | -silent | --silent | --silen | --sile | --sil)
   1167     silent=yes ;;
   1168 
   1169   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1170   | --runstate | --runstat | --runsta | --runst | --runs \
   1171   | --run | --ru | --r)
   1172     ac_prev=runstatedir ;;
   1173   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1174   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1175   | --run=* | --ru=* | --r=*)
   1176     runstatedir=$ac_optarg ;;
   1177 
   1178   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1179     ac_prev=sbindir ;;
   1180   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1181   | --sbi=* | --sb=*)
   1182     sbindir=$ac_optarg ;;
   1183 
   1184   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1185   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1186   | --sharedst | --shareds | --shared | --share | --shar \
   1187   | --sha | --sh)
   1188     ac_prev=sharedstatedir ;;
   1189   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1190   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1191   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1192   | --sha=* | --sh=*)
   1193     sharedstatedir=$ac_optarg ;;
   1194 
   1195   -site | --site | --sit)
   1196     ac_prev=site ;;
   1197   -site=* | --site=* | --sit=*)
   1198     site=$ac_optarg ;;
   1199 
   1200   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1201     ac_prev=srcdir ;;
   1202   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1203     srcdir=$ac_optarg ;;
   1204 
   1205   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1206   | --syscon | --sysco | --sysc | --sys | --sy)
   1207     ac_prev=sysconfdir ;;
   1208   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1209   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1210     sysconfdir=$ac_optarg ;;
   1211 
   1212   -target | --target | --targe | --targ | --tar | --ta | --t)
   1213     ac_prev=target_alias ;;
   1214   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1215     target_alias=$ac_optarg ;;
   1216 
   1217   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1218     verbose=yes ;;
   1219 
   1220   -version | --version | --versio | --versi | --vers | -V)
   1221     ac_init_version=: ;;
   1222 
   1223   -with-* | --with-*)
   1224     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1225     # Reject names that are not valid shell variable names.
   1226     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1227       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1228     ac_useropt_orig=$ac_useropt
   1229     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1230     case $ac_user_opts in
   1231       *"
   1232 "with_$ac_useropt"
   1233 "*) ;;
   1234       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1235 	 ac_unrecognized_sep=', ';;
   1236     esac
   1237     eval with_$ac_useropt=\$ac_optarg ;;
   1238 
   1239   -without-* | --without-*)
   1240     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1241     # Reject names that are not valid shell variable names.
   1242     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1243       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1244     ac_useropt_orig=$ac_useropt
   1245     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1246     case $ac_user_opts in
   1247       *"
   1248 "with_$ac_useropt"
   1249 "*) ;;
   1250       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1251 	 ac_unrecognized_sep=', ';;
   1252     esac
   1253     eval with_$ac_useropt=no ;;
   1254 
   1255   --x)
   1256     # Obsolete; use --with-x.
   1257     with_x=yes ;;
   1258 
   1259   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1260   | --x-incl | --x-inc | --x-in | --x-i)
   1261     ac_prev=x_includes ;;
   1262   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1263   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1264     x_includes=$ac_optarg ;;
   1265 
   1266   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1267   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1268     ac_prev=x_libraries ;;
   1269   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1270   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1271     x_libraries=$ac_optarg ;;
   1272 
   1273   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1274 Try \`$0 --help' for more information"
   1275     ;;
   1276 
   1277   *=*)
   1278     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1279     # Reject names that are not valid shell variable names.
   1280     case $ac_envvar in #(
   1281       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1282       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1283     esac
   1284     eval $ac_envvar=\$ac_optarg
   1285     export $ac_envvar ;;
   1286 
   1287   *)
   1288     # FIXME: should be removed in autoconf 3.0.
   1289     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1290     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1291       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1292     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1293     ;;
   1294 
   1295   esac
   1296 done
   1297 
   1298 if test -n "$ac_prev"; then
   1299   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1300   as_fn_error $? "missing argument to $ac_option"
   1301 fi
   1302 
   1303 if test -n "$ac_unrecognized_opts"; then
   1304   case $enable_option_checking in
   1305     no) ;;
   1306     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1307     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1308   esac
   1309 fi
   1310 
   1311 # Check all directory arguments for consistency.
   1312 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1313 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1314 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1315 		libdir localedir mandir runstatedir
   1316 do
   1317   eval ac_val=\$$ac_var
   1318   # Remove trailing slashes.
   1319   case $ac_val in
   1320     */ )
   1321       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1322       eval $ac_var=\$ac_val;;
   1323   esac
   1324   # Be sure to have absolute directory names.
   1325   case $ac_val in
   1326     [\\/$]* | ?:[\\/]* )  continue;;
   1327     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1328   esac
   1329   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1330 done
   1331 
   1332 # There might be people who depend on the old broken behavior: `$host'
   1333 # used to hold the argument of --host etc.
   1334 # FIXME: To remove some day.
   1335 build=$build_alias
   1336 host=$host_alias
   1337 target=$target_alias
   1338 
   1339 # FIXME: To remove some day.
   1340 if test "x$host_alias" != x; then
   1341   if test "x$build_alias" = x; then
   1342     cross_compiling=maybe
   1343   elif test "x$build_alias" != "x$host_alias"; then
   1344     cross_compiling=yes
   1345   fi
   1346 fi
   1347 
   1348 ac_tool_prefix=
   1349 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1350 
   1351 test "$silent" = yes && exec 6>/dev/null
   1352 
   1353 
   1354 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1355 ac_ls_di=`ls -di .` &&
   1356 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1357   as_fn_error $? "working directory cannot be determined"
   1358 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1359   as_fn_error $? "pwd does not report name of working directory"
   1360 
   1361 
   1362 # Find the source files, if location was not specified.
   1363 if test -z "$srcdir"; then
   1364   ac_srcdir_defaulted=yes
   1365   # Try the directory containing this script, then the parent directory.
   1366   ac_confdir=`$as_dirname -- "$as_myself" ||
   1367 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1368 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1369 	 X"$as_myself" : 'X\(//\)$' \| \
   1370 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1371 printf "%s\n" X"$as_myself" |
   1372     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1373 	    s//\1/
   1374 	    q
   1375 	  }
   1376 	  /^X\(\/\/\)[^/].*/{
   1377 	    s//\1/
   1378 	    q
   1379 	  }
   1380 	  /^X\(\/\/\)$/{
   1381 	    s//\1/
   1382 	    q
   1383 	  }
   1384 	  /^X\(\/\).*/{
   1385 	    s//\1/
   1386 	    q
   1387 	  }
   1388 	  s/.*/./; q'`
   1389   srcdir=$ac_confdir
   1390   if test ! -r "$srcdir/$ac_unique_file"; then
   1391     srcdir=..
   1392   fi
   1393 else
   1394   ac_srcdir_defaulted=no
   1395 fi
   1396 if test ! -r "$srcdir/$ac_unique_file"; then
   1397   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1398   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1399 fi
   1400 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1401 ac_abs_confdir=`(
   1402 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1403 	pwd)`
   1404 # When building in place, set srcdir=.
   1405 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1406   srcdir=.
   1407 fi
   1408 # Remove unnecessary trailing slashes from srcdir.
   1409 # Double slashes in file names in object file debugging info
   1410 # mess up M-x gdb in Emacs.
   1411 case $srcdir in
   1412 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1413 esac
   1414 for ac_var in $ac_precious_vars; do
   1415   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1416   eval ac_env_${ac_var}_value=\$${ac_var}
   1417   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1418   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1419 done
   1420 
   1421 #
   1422 # Report the --help message.
   1423 #
   1424 if test "$ac_init_help" = "long"; then
   1425   # Omit some internal or obsolete options to make the list less imposing.
   1426   # This message is too long to be a string in the A/UX 3.1 sh.
   1427   cat <<_ACEOF
   1428 \`configure' configures xtrans 1.5.0 to adapt to many kinds of systems.
   1429 
   1430 Usage: $0 [OPTION]... [VAR=VALUE]...
   1431 
   1432 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1433 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1434 
   1435 Defaults for the options are specified in brackets.
   1436 
   1437 Configuration:
   1438   -h, --help              display this help and exit
   1439       --help=short        display options specific to this package
   1440       --help=recursive    display the short help of all the included packages
   1441   -V, --version           display version information and exit
   1442   -q, --quiet, --silent   do not print \`checking ...' messages
   1443       --cache-file=FILE   cache test results in FILE [disabled]
   1444   -C, --config-cache      alias for \`--cache-file=config.cache'
   1445   -n, --no-create         do not create output files
   1446       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1447 
   1448 Installation directories:
   1449   --prefix=PREFIX         install architecture-independent files in PREFIX
   1450                           [$ac_default_prefix]
   1451   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1452                           [PREFIX]
   1453 
   1454 By default, \`make install' will install all the files in
   1455 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1456 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1457 for instance \`--prefix=\$HOME'.
   1458 
   1459 For better control, use the options below.
   1460 
   1461 Fine tuning of the installation directories:
   1462   --bindir=DIR            user executables [EPREFIX/bin]
   1463   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1464   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1465   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1466   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1467   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1468   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1469   --libdir=DIR            object code libraries [EPREFIX/lib]
   1470   --includedir=DIR        C header files [PREFIX/include]
   1471   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1472   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1473   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1474   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1475   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1476   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1477   --docdir=DIR            documentation root [DATAROOTDIR/doc/xtrans]
   1478   --htmldir=DIR           html documentation [DOCDIR]
   1479   --dvidir=DIR            dvi documentation [DOCDIR]
   1480   --pdfdir=DIR            pdf documentation [DOCDIR]
   1481   --psdir=DIR             ps documentation [DOCDIR]
   1482 _ACEOF
   1483 
   1484   cat <<\_ACEOF
   1485 
   1486 Program names:
   1487   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1488   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1489   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1490 
   1491 System types:
   1492   --build=BUILD     configure for building on BUILD [guessed]
   1493   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1494 _ACEOF
   1495 fi
   1496 
   1497 if test -n "$ac_init_help"; then
   1498   case $ac_init_help in
   1499      short | recursive ) echo "Configuration of xtrans 1.5.0:";;
   1500    esac
   1501   cat <<\_ACEOF
   1502 
   1503 Optional Features:
   1504   --disable-option-checking  ignore unrecognized --enable/--with options
   1505   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1506   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1507   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1508   --disable-silent-rules  verbose build output (undo: "make V=0")
   1509   --enable-dependency-tracking
   1510                           do not reject slow dependency extractors
   1511   --disable-dependency-tracking
   1512                           speeds up one-time build
   1513   --disable-selective-werror
   1514                           Turn off selective compiler errors. (default:
   1515                           enabled)
   1516   --enable-strict-compilation
   1517                           Enable all warnings from compiler and make them
   1518                           errors (default: disabled)
   1519   --enable-docs           Enable building the documentation (default: yes)
   1520 
   1521 Optional Packages:
   1522   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1523   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1524   --with-xmlto            Use xmlto to regenerate documentation (default:
   1525                           auto)
   1526   --with-fop              Use fop to regenerate documentation (default: auto)
   1527   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1528                           (default: auto)
   1529 
   1530 Some influential environment variables:
   1531   CC          C compiler command
   1532   CFLAGS      C compiler flags
   1533   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1534               nonstandard directory <lib dir>
   1535   LIBS        libraries to pass to the linker, e.g. -l<library>
   1536   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1537               you have headers in a nonstandard directory <include dir>
   1538   PKG_CONFIG  path to pkg-config utility
   1539   PKG_CONFIG_PATH
   1540               directories to add to pkg-config's search path
   1541   PKG_CONFIG_LIBDIR
   1542               path overriding pkg-config's built-in search path
   1543   XMLTO       Path to xmlto command
   1544   FOP         Path to fop command
   1545   XSLTPROC    Path to xsltproc command
   1546 
   1547 Use these variables to override the choices made by `configure' or to help
   1548 it to find libraries and programs with nonstandard names/locations.
   1549 
   1550 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxtrans/issues>.
   1551 _ACEOF
   1552 ac_status=$?
   1553 fi
   1554 
   1555 if test "$ac_init_help" = "recursive"; then
   1556   # If there are subdirs, report their specific --help.
   1557   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1558     test -d "$ac_dir" ||
   1559       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1560       continue
   1561     ac_builddir=.
   1562 
   1563 case "$ac_dir" in
   1564 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1565 *)
   1566   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1567   # A ".." for each directory in $ac_dir_suffix.
   1568   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1569   case $ac_top_builddir_sub in
   1570   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1571   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1572   esac ;;
   1573 esac
   1574 ac_abs_top_builddir=$ac_pwd
   1575 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1576 # for backward compatibility:
   1577 ac_top_builddir=$ac_top_build_prefix
   1578 
   1579 case $srcdir in
   1580   .)  # We are building in place.
   1581     ac_srcdir=.
   1582     ac_top_srcdir=$ac_top_builddir_sub
   1583     ac_abs_top_srcdir=$ac_pwd ;;
   1584   [\\/]* | ?:[\\/]* )  # Absolute name.
   1585     ac_srcdir=$srcdir$ac_dir_suffix;
   1586     ac_top_srcdir=$srcdir
   1587     ac_abs_top_srcdir=$srcdir ;;
   1588   *) # Relative name.
   1589     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1590     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1591     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1592 esac
   1593 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1594 
   1595     cd "$ac_dir" || { ac_status=$?; continue; }
   1596     # Check for configure.gnu first; this name is used for a wrapper for
   1597     # Metaconfig's "Configure" on case-insensitive file systems.
   1598     if test -f "$ac_srcdir/configure.gnu"; then
   1599       echo &&
   1600       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1601     elif test -f "$ac_srcdir/configure"; then
   1602       echo &&
   1603       $SHELL "$ac_srcdir/configure" --help=recursive
   1604     else
   1605       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1606     fi || ac_status=$?
   1607     cd "$ac_pwd" || { ac_status=$?; break; }
   1608   done
   1609 fi
   1610 
   1611 test -n "$ac_init_help" && exit $ac_status
   1612 if $ac_init_version; then
   1613   cat <<\_ACEOF
   1614 xtrans configure 1.5.0
   1615 generated by GNU Autoconf 2.71
   1616 
   1617 Copyright (C) 2021 Free Software Foundation, Inc.
   1618 This configure script is free software; the Free Software Foundation
   1619 gives unlimited permission to copy, distribute and modify it.
   1620 _ACEOF
   1621   exit
   1622 fi
   1623 
   1624 ## ------------------------ ##
   1625 ## Autoconf initialization. ##
   1626 ## ------------------------ ##
   1627 
   1628 # ac_fn_c_try_compile LINENO
   1629 # --------------------------
   1630 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1631 ac_fn_c_try_compile ()
   1632 {
   1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1634   rm -f conftest.$ac_objext conftest.beam
   1635   if { { ac_try="$ac_compile"
   1636 case "(($ac_try" in
   1637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1638   *) ac_try_echo=$ac_try;;
   1639 esac
   1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1641 printf "%s\n" "$ac_try_echo"; } >&5
   1642   (eval "$ac_compile") 2>conftest.err
   1643   ac_status=$?
   1644   if test -s conftest.err; then
   1645     grep -v '^ *+' conftest.err >conftest.er1
   1646     cat conftest.er1 >&5
   1647     mv -f conftest.er1 conftest.err
   1648   fi
   1649   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1650   test $ac_status = 0; } && {
   1651 	 test -z "$ac_c_werror_flag" ||
   1652 	 test ! -s conftest.err
   1653        } && test -s conftest.$ac_objext
   1654 then :
   1655   ac_retval=0
   1656 else $as_nop
   1657   printf "%s\n" "$as_me: failed program was:" >&5
   1658 sed 's/^/| /' conftest.$ac_ext >&5
   1659 
   1660 	ac_retval=1
   1661 fi
   1662   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1663   as_fn_set_status $ac_retval
   1664 
   1665 } # ac_fn_c_try_compile
   1666 
   1667 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1668 # ------------------------------------------------------------------
   1669 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1670 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1671 ac_fn_check_decl ()
   1672 {
   1673   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1674   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1676 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1677 if eval test \${$3+y}
   1678 then :
   1679   printf %s "(cached) " >&6
   1680 else $as_nop
   1681   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1682   eval ac_save_FLAGS=\$$6
   1683   as_fn_append $6 " $5"
   1684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1685 /* end confdefs.h.  */
   1686 $4
   1687 int
   1688 main (void)
   1689 {
   1690 #ifndef $as_decl_name
   1691 #ifdef __cplusplus
   1692   (void) $as_decl_use;
   1693 #else
   1694   (void) $as_decl_name;
   1695 #endif
   1696 #endif
   1697 
   1698   ;
   1699   return 0;
   1700 }
   1701 _ACEOF
   1702 if ac_fn_c_try_compile "$LINENO"
   1703 then :
   1704   eval "$3=yes"
   1705 else $as_nop
   1706   eval "$3=no"
   1707 fi
   1708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1709   eval $6=\$ac_save_FLAGS
   1710 
   1711 fi
   1712 eval ac_res=\$$3
   1713 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1714 printf "%s\n" "$ac_res" >&6; }
   1715   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1716 
   1717 } # ac_fn_check_decl
   1718 
   1719 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1720 # -------------------------------------------------------
   1721 # Tests whether HEADER exists and can be compiled using the include files in
   1722 # INCLUDES, setting the cache variable VAR accordingly.
   1723 ac_fn_c_check_header_compile ()
   1724 {
   1725   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1726   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1727 printf %s "checking for $2... " >&6; }
   1728 if eval test \${$3+y}
   1729 then :
   1730   printf %s "(cached) " >&6
   1731 else $as_nop
   1732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1733 /* end confdefs.h.  */
   1734 $4
   1735 #include <$2>
   1736 _ACEOF
   1737 if ac_fn_c_try_compile "$LINENO"
   1738 then :
   1739   eval "$3=yes"
   1740 else $as_nop
   1741   eval "$3=no"
   1742 fi
   1743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   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 $as_nop
   1784   printf "%s\n" "$as_me: failed program was:" >&5
   1785 sed 's/^/| /' conftest.$ac_ext >&5
   1786 
   1787 	ac_retval=1
   1788 fi
   1789   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1790   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1791   # interfere with the next link command; also delete a directory that is
   1792   # left behind by Apple's compiler.  We do this before executing the actions.
   1793   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1794   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1795   as_fn_set_status $ac_retval
   1796 
   1797 } # ac_fn_c_try_link
   1798 
   1799 # ac_fn_c_check_func LINENO FUNC VAR
   1800 # ----------------------------------
   1801 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1802 ac_fn_c_check_func ()
   1803 {
   1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1806 printf %s "checking for $2... " >&6; }
   1807 if eval test \${$3+y}
   1808 then :
   1809   printf %s "(cached) " >&6
   1810 else $as_nop
   1811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1812 /* end confdefs.h.  */
   1813 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1815 #define $2 innocuous_$2
   1816 
   1817 /* System header to define __stub macros and hopefully few prototypes,
   1818    which can conflict with char $2 (); below.  */
   1819 
   1820 #include <limits.h>
   1821 #undef $2
   1822 
   1823 /* Override any GCC internal prototype to avoid an error.
   1824    Use char because int might match the return type of a GCC
   1825    builtin and then its argument prototype would still apply.  */
   1826 #ifdef __cplusplus
   1827 extern "C"
   1828 #endif
   1829 char $2 ();
   1830 /* The GNU C library defines this for functions which it implements
   1831     to always fail with ENOSYS.  Some functions are actually named
   1832     something starting with __ and the normal name is an alias.  */
   1833 #if defined __stub_$2 || defined __stub___$2
   1834 choke me
   1835 #endif
   1836 
   1837 int
   1838 main (void)
   1839 {
   1840 return $2 ();
   1841   ;
   1842   return 0;
   1843 }
   1844 _ACEOF
   1845 if ac_fn_c_try_link "$LINENO"
   1846 then :
   1847   eval "$3=yes"
   1848 else $as_nop
   1849   eval "$3=no"
   1850 fi
   1851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1852     conftest$ac_exeext conftest.$ac_ext
   1853 fi
   1854 eval ac_res=\$$3
   1855 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1856 printf "%s\n" "$ac_res" >&6; }
   1857   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1858 
   1859 } # ac_fn_c_check_func
   1860 ac_configure_args_raw=
   1861 for ac_arg
   1862 do
   1863   case $ac_arg in
   1864   *\'*)
   1865     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1866   esac
   1867   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1868 done
   1869 
   1870 case $ac_configure_args_raw in
   1871   *$as_nl*)
   1872     ac_safe_unquote= ;;
   1873   *)
   1874     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1875     ac_unsafe_a="$ac_unsafe_z#~"
   1876     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1877     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1878 esac
   1879 
   1880 cat >config.log <<_ACEOF
   1881 This file contains any messages produced by compilers while
   1882 running configure, to aid debugging if configure makes a mistake.
   1883 
   1884 It was created by xtrans $as_me 1.5.0, which was
   1885 generated by GNU Autoconf 2.71.  Invocation command line was
   1886 
   1887   $ $0$ac_configure_args_raw
   1888 
   1889 _ACEOF
   1890 exec 5>>config.log
   1891 {
   1892 cat <<_ASUNAME
   1893 ## --------- ##
   1894 ## Platform. ##
   1895 ## --------- ##
   1896 
   1897 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1898 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1899 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1900 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1901 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1902 
   1903 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1904 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1905 
   1906 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1907 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1908 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1909 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1910 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1911 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1912 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1913 
   1914 _ASUNAME
   1915 
   1916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1917 for as_dir in $PATH
   1918 do
   1919   IFS=$as_save_IFS
   1920   case $as_dir in #(((
   1921     '') as_dir=./ ;;
   1922     */) ;;
   1923     *) as_dir=$as_dir/ ;;
   1924   esac
   1925     printf "%s\n" "PATH: $as_dir"
   1926   done
   1927 IFS=$as_save_IFS
   1928 
   1929 } >&5
   1930 
   1931 cat >&5 <<_ACEOF
   1932 
   1933 
   1934 ## ----------- ##
   1935 ## Core tests. ##
   1936 ## ----------- ##
   1937 
   1938 _ACEOF
   1939 
   1940 
   1941 # Keep a trace of the command line.
   1942 # Strip out --no-create and --no-recursion so they do not pile up.
   1943 # Strip out --silent because we don't want to record it for future runs.
   1944 # Also quote any args containing shell meta-characters.
   1945 # Make two passes to allow for proper duplicate-argument suppression.
   1946 ac_configure_args=
   1947 ac_configure_args0=
   1948 ac_configure_args1=
   1949 ac_must_keep_next=false
   1950 for ac_pass in 1 2
   1951 do
   1952   for ac_arg
   1953   do
   1954     case $ac_arg in
   1955     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1956     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1957     | -silent | --silent | --silen | --sile | --sil)
   1958       continue ;;
   1959     *\'*)
   1960       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1961     esac
   1962     case $ac_pass in
   1963     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1964     2)
   1965       as_fn_append ac_configure_args1 " '$ac_arg'"
   1966       if test $ac_must_keep_next = true; then
   1967 	ac_must_keep_next=false # Got value, back to normal.
   1968       else
   1969 	case $ac_arg in
   1970 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1971 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1972 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1973 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1974 	    case "$ac_configure_args0 " in
   1975 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1976 	    esac
   1977 	    ;;
   1978 	  -* ) ac_must_keep_next=true ;;
   1979 	esac
   1980       fi
   1981       as_fn_append ac_configure_args " '$ac_arg'"
   1982       ;;
   1983     esac
   1984   done
   1985 done
   1986 { ac_configure_args0=; unset ac_configure_args0;}
   1987 { ac_configure_args1=; unset ac_configure_args1;}
   1988 
   1989 # When interrupted or exit'd, cleanup temporary files, and complete
   1990 # config.log.  We remove comments because anyway the quotes in there
   1991 # would cause problems or look ugly.
   1992 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1993 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1994 trap 'exit_status=$?
   1995   # Sanitize IFS.
   1996   IFS=" ""	$as_nl"
   1997   # Save into config.log some information that might help in debugging.
   1998   {
   1999     echo
   2000 
   2001     printf "%s\n" "## ---------------- ##
   2002 ## Cache variables. ##
   2003 ## ---------------- ##"
   2004     echo
   2005     # The following way of writing the cache mishandles newlines in values,
   2006 (
   2007   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2008     eval ac_val=\$$ac_var
   2009     case $ac_val in #(
   2010     *${as_nl}*)
   2011       case $ac_var in #(
   2012       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2013 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2014       esac
   2015       case $ac_var in #(
   2016       _ | IFS | as_nl) ;; #(
   2017       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2018       *) { eval $ac_var=; unset $ac_var;} ;;
   2019       esac ;;
   2020     esac
   2021   done
   2022   (set) 2>&1 |
   2023     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2024     *${as_nl}ac_space=\ *)
   2025       sed -n \
   2026 	"s/'\''/'\''\\\\'\'''\''/g;
   2027 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2028       ;; #(
   2029     *)
   2030       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2031       ;;
   2032     esac |
   2033     sort
   2034 )
   2035     echo
   2036 
   2037     printf "%s\n" "## ----------------- ##
   2038 ## Output variables. ##
   2039 ## ----------------- ##"
   2040     echo
   2041     for ac_var in $ac_subst_vars
   2042     do
   2043       eval ac_val=\$$ac_var
   2044       case $ac_val in
   2045       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2046       esac
   2047       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2048     done | sort
   2049     echo
   2050 
   2051     if test -n "$ac_subst_files"; then
   2052       printf "%s\n" "## ------------------- ##
   2053 ## File substitutions. ##
   2054 ## ------------------- ##"
   2055       echo
   2056       for ac_var in $ac_subst_files
   2057       do
   2058 	eval ac_val=\$$ac_var
   2059 	case $ac_val in
   2060 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2061 	esac
   2062 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2063       done | sort
   2064       echo
   2065     fi
   2066 
   2067     if test -s confdefs.h; then
   2068       printf "%s\n" "## ----------- ##
   2069 ## confdefs.h. ##
   2070 ## ----------- ##"
   2071       echo
   2072       cat confdefs.h
   2073       echo
   2074     fi
   2075     test "$ac_signal" != 0 &&
   2076       printf "%s\n" "$as_me: caught signal $ac_signal"
   2077     printf "%s\n" "$as_me: exit $exit_status"
   2078   } >&5
   2079   rm -f core *.core core.conftest.* &&
   2080     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2081     exit $exit_status
   2082 ' 0
   2083 for ac_signal in 1 2 13 15; do
   2084   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2085 done
   2086 ac_signal=0
   2087 
   2088 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2089 rm -f -r conftest* confdefs.h
   2090 
   2091 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2092 
   2093 # Predefined preprocessor variables.
   2094 
   2095 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2096 
   2097 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2098 
   2099 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2100 
   2101 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2102 
   2103 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2104 
   2105 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2106 
   2107 
   2108 # Let the site file select an alternate cache file if it wants to.
   2109 # Prefer an explicitly selected file to automatically selected ones.
   2110 if test -n "$CONFIG_SITE"; then
   2111   ac_site_files="$CONFIG_SITE"
   2112 elif test "x$prefix" != xNONE; then
   2113   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2114 else
   2115   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2116 fi
   2117 
   2118 for ac_site_file in $ac_site_files
   2119 do
   2120   case $ac_site_file in #(
   2121   */*) :
   2122      ;; #(
   2123   *) :
   2124     ac_site_file=./$ac_site_file ;;
   2125 esac
   2126   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2127     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2128 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2129     sed 's/^/| /' "$ac_site_file" >&5
   2130     . "$ac_site_file" \
   2131       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2132 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2133 as_fn_error $? "failed to load site script $ac_site_file
   2134 See \`config.log' for more details" "$LINENO" 5; }
   2135   fi
   2136 done
   2137 
   2138 if test -r "$cache_file"; then
   2139   # Some versions of bash will fail to source /dev/null (special files
   2140   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2141   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2142     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2143 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2144     case $cache_file in
   2145       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2146       *)                      . "./$cache_file";;
   2147     esac
   2148   fi
   2149 else
   2150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2151 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2152   >$cache_file
   2153 fi
   2154 
   2155 # Test code for whether the C compiler supports C89 (global declarations)
   2156 ac_c_conftest_c89_globals='
   2157 /* Does the compiler advertise C89 conformance?
   2158    Do not test the value of __STDC__, because some compilers set it to 0
   2159    while being otherwise adequately conformant. */
   2160 #if !defined __STDC__
   2161 # error "Compiler does not advertise C89 conformance"
   2162 #endif
   2163 
   2164 #include <stddef.h>
   2165 #include <stdarg.h>
   2166 struct stat;
   2167 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2168 struct buf { int x; };
   2169 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2170 static char *e (p, i)
   2171      char **p;
   2172      int i;
   2173 {
   2174   return p[i];
   2175 }
   2176 static char *f (char * (*g) (char **, int), char **p, ...)
   2177 {
   2178   char *s;
   2179   va_list v;
   2180   va_start (v,p);
   2181   s = g (p, va_arg (v,int));
   2182   va_end (v);
   2183   return s;
   2184 }
   2185 
   2186 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2187    function prototypes and stuff, but not \xHH hex character constants.
   2188    These do not provoke an error unfortunately, instead are silently treated
   2189    as an "x".  The following induces an error, until -std is added to get
   2190    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2191    array size at least.  It is necessary to write \x00 == 0 to get something
   2192    that is true only with -std.  */
   2193 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2194 
   2195 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2196    inside strings and character constants.  */
   2197 #define FOO(x) '\''x'\''
   2198 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2199 
   2200 int test (int i, double x);
   2201 struct s1 {int (*f) (int a);};
   2202 struct s2 {int (*f) (double a);};
   2203 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2204                int, int);'
   2205 
   2206 # Test code for whether the C compiler supports C89 (body of main).
   2207 ac_c_conftest_c89_main='
   2208 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2209 '
   2210 
   2211 # Test code for whether the C compiler supports C99 (global declarations)
   2212 ac_c_conftest_c99_globals='
   2213 // Does the compiler advertise C99 conformance?
   2214 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2215 # error "Compiler does not advertise C99 conformance"
   2216 #endif
   2217 
   2218 #include <stdbool.h>
   2219 extern int puts (const char *);
   2220 extern int printf (const char *, ...);
   2221 extern int dprintf (int, const char *, ...);
   2222 extern void *malloc (size_t);
   2223 
   2224 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2225 // dprintf is used instead of fprintf to avoid needing to declare
   2226 // FILE and stderr.
   2227 #define debug(...) dprintf (2, __VA_ARGS__)
   2228 #define showlist(...) puts (#__VA_ARGS__)
   2229 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2230 static void
   2231 test_varargs_macros (void)
   2232 {
   2233   int x = 1234;
   2234   int y = 5678;
   2235   debug ("Flag");
   2236   debug ("X = %d\n", x);
   2237   showlist (The first, second, and third items.);
   2238   report (x>y, "x is %d but y is %d", x, y);
   2239 }
   2240 
   2241 // Check long long types.
   2242 #define BIG64 18446744073709551615ull
   2243 #define BIG32 4294967295ul
   2244 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2245 #if !BIG_OK
   2246   #error "your preprocessor is broken"
   2247 #endif
   2248 #if BIG_OK
   2249 #else
   2250   #error "your preprocessor is broken"
   2251 #endif
   2252 static long long int bignum = -9223372036854775807LL;
   2253 static unsigned long long int ubignum = BIG64;
   2254 
   2255 struct incomplete_array
   2256 {
   2257   int datasize;
   2258   double data[];
   2259 };
   2260 
   2261 struct named_init {
   2262   int number;
   2263   const wchar_t *name;
   2264   double average;
   2265 };
   2266 
   2267 typedef const char *ccp;
   2268 
   2269 static inline int
   2270 test_restrict (ccp restrict text)
   2271 {
   2272   // See if C++-style comments work.
   2273   // Iterate through items via the restricted pointer.
   2274   // Also check for declarations in for loops.
   2275   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2276     continue;
   2277   return 0;
   2278 }
   2279 
   2280 // Check varargs and va_copy.
   2281 static bool
   2282 test_varargs (const char *format, ...)
   2283 {
   2284   va_list args;
   2285   va_start (args, format);
   2286   va_list args_copy;
   2287   va_copy (args_copy, args);
   2288 
   2289   const char *str = "";
   2290   int number = 0;
   2291   float fnumber = 0;
   2292 
   2293   while (*format)
   2294     {
   2295       switch (*format++)
   2296 	{
   2297 	case '\''s'\'': // string
   2298 	  str = va_arg (args_copy, const char *);
   2299 	  break;
   2300 	case '\''d'\'': // int
   2301 	  number = va_arg (args_copy, int);
   2302 	  break;
   2303 	case '\''f'\'': // float
   2304 	  fnumber = va_arg (args_copy, double);
   2305 	  break;
   2306 	default:
   2307 	  break;
   2308 	}
   2309     }
   2310   va_end (args_copy);
   2311   va_end (args);
   2312 
   2313   return *str && number && fnumber;
   2314 }
   2315 '
   2316 
   2317 # Test code for whether the C compiler supports C99 (body of main).
   2318 ac_c_conftest_c99_main='
   2319   // Check bool.
   2320   _Bool success = false;
   2321   success |= (argc != 0);
   2322 
   2323   // Check restrict.
   2324   if (test_restrict ("String literal") == 0)
   2325     success = true;
   2326   char *restrict newvar = "Another string";
   2327 
   2328   // Check varargs.
   2329   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2330   test_varargs_macros ();
   2331 
   2332   // Check flexible array members.
   2333   struct incomplete_array *ia =
   2334     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2335   ia->datasize = 10;
   2336   for (int i = 0; i < ia->datasize; ++i)
   2337     ia->data[i] = i * 1.234;
   2338 
   2339   // Check named initializers.
   2340   struct named_init ni = {
   2341     .number = 34,
   2342     .name = L"Test wide string",
   2343     .average = 543.34343,
   2344   };
   2345 
   2346   ni.number = 58;
   2347 
   2348   int dynamic_array[ni.number];
   2349   dynamic_array[0] = argv[0][0];
   2350   dynamic_array[ni.number - 1] = 543;
   2351 
   2352   // work around unused variable warnings
   2353   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2354 	 || dynamic_array[ni.number - 1] != 543);
   2355 '
   2356 
   2357 # Test code for whether the C compiler supports C11 (global declarations)
   2358 ac_c_conftest_c11_globals='
   2359 // Does the compiler advertise C11 conformance?
   2360 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2361 # error "Compiler does not advertise C11 conformance"
   2362 #endif
   2363 
   2364 // Check _Alignas.
   2365 char _Alignas (double) aligned_as_double;
   2366 char _Alignas (0) no_special_alignment;
   2367 extern char aligned_as_int;
   2368 char _Alignas (0) _Alignas (int) aligned_as_int;
   2369 
   2370 // Check _Alignof.
   2371 enum
   2372 {
   2373   int_alignment = _Alignof (int),
   2374   int_array_alignment = _Alignof (int[100]),
   2375   char_alignment = _Alignof (char)
   2376 };
   2377 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2378 
   2379 // Check _Noreturn.
   2380 int _Noreturn does_not_return (void) { for (;;) continue; }
   2381 
   2382 // Check _Static_assert.
   2383 struct test_static_assert
   2384 {
   2385   int x;
   2386   _Static_assert (sizeof (int) <= sizeof (long int),
   2387                   "_Static_assert does not work in struct");
   2388   long int y;
   2389 };
   2390 
   2391 // Check UTF-8 literals.
   2392 #define u8 syntax error!
   2393 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2394 
   2395 // Check duplicate typedefs.
   2396 typedef long *long_ptr;
   2397 typedef long int *long_ptr;
   2398 typedef long_ptr long_ptr;
   2399 
   2400 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2401 struct anonymous
   2402 {
   2403   union {
   2404     struct { int i; int j; };
   2405     struct { int k; long int l; } w;
   2406   };
   2407   int m;
   2408 } v1;
   2409 '
   2410 
   2411 # Test code for whether the C compiler supports C11 (body of main).
   2412 ac_c_conftest_c11_main='
   2413   _Static_assert ((offsetof (struct anonymous, i)
   2414 		   == offsetof (struct anonymous, w.k)),
   2415 		  "Anonymous union alignment botch");
   2416   v1.i = 2;
   2417   v1.w.k = 5;
   2418   ok |= v1.i != 5;
   2419 '
   2420 
   2421 # Test code for whether the C compiler supports C11 (complete).
   2422 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2423 ${ac_c_conftest_c99_globals}
   2424 ${ac_c_conftest_c11_globals}
   2425 
   2426 int
   2427 main (int argc, char **argv)
   2428 {
   2429   int ok = 0;
   2430   ${ac_c_conftest_c89_main}
   2431   ${ac_c_conftest_c99_main}
   2432   ${ac_c_conftest_c11_main}
   2433   return ok;
   2434 }
   2435 "
   2436 
   2437 # Test code for whether the C compiler supports C99 (complete).
   2438 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2439 ${ac_c_conftest_c99_globals}
   2440 
   2441 int
   2442 main (int argc, char **argv)
   2443 {
   2444   int ok = 0;
   2445   ${ac_c_conftest_c89_main}
   2446   ${ac_c_conftest_c99_main}
   2447   return ok;
   2448 }
   2449 "
   2450 
   2451 # Test code for whether the C compiler supports C89 (complete).
   2452 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2453 
   2454 int
   2455 main (int argc, char **argv)
   2456 {
   2457   int ok = 0;
   2458   ${ac_c_conftest_c89_main}
   2459   return ok;
   2460 }
   2461 "
   2462 
   2463 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2464 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2465 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2466 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2467 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2468 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2469 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2470 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2471 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2472 
   2473 # Auxiliary files required by this configure script.
   2474 ac_aux_files="config.guess config.sub compile missing install-sh"
   2475 
   2476 # Locations in which to look for auxiliary files.
   2477 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2478 
   2479 # Search for a directory containing all of the required auxiliary files,
   2480 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2481 # If we don't find one directory that contains all the files we need,
   2482 # we report the set of missing files from the *first* directory in
   2483 # $ac_aux_dir_candidates and give up.
   2484 ac_missing_aux_files=""
   2485 ac_first_candidate=:
   2486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2488 as_found=false
   2489 for as_dir in $ac_aux_dir_candidates
   2490 do
   2491   IFS=$as_save_IFS
   2492   case $as_dir in #(((
   2493     '') as_dir=./ ;;
   2494     */) ;;
   2495     *) as_dir=$as_dir/ ;;
   2496   esac
   2497   as_found=:
   2498 
   2499   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2500   ac_aux_dir_found=yes
   2501   ac_install_sh=
   2502   for ac_aux in $ac_aux_files
   2503   do
   2504     # As a special case, if "install-sh" is required, that requirement
   2505     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2506     # and $ac_install_sh is set appropriately for whichever one is found.
   2507     if test x"$ac_aux" = x"install-sh"
   2508     then
   2509       if test -f "${as_dir}install-sh"; then
   2510         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2511         ac_install_sh="${as_dir}install-sh -c"
   2512       elif test -f "${as_dir}install.sh"; then
   2513         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2514         ac_install_sh="${as_dir}install.sh -c"
   2515       elif test -f "${as_dir}shtool"; then
   2516         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2517         ac_install_sh="${as_dir}shtool install -c"
   2518       else
   2519         ac_aux_dir_found=no
   2520         if $ac_first_candidate; then
   2521           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2522         else
   2523           break
   2524         fi
   2525       fi
   2526     else
   2527       if test -f "${as_dir}${ac_aux}"; then
   2528         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2529       else
   2530         ac_aux_dir_found=no
   2531         if $ac_first_candidate; then
   2532           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2533         else
   2534           break
   2535         fi
   2536       fi
   2537     fi
   2538   done
   2539   if test "$ac_aux_dir_found" = yes; then
   2540     ac_aux_dir="$as_dir"
   2541     break
   2542   fi
   2543   ac_first_candidate=false
   2544 
   2545   as_found=false
   2546 done
   2547 IFS=$as_save_IFS
   2548 if $as_found
   2549 then :
   2550 
   2551 else $as_nop
   2552   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2553 fi
   2554 
   2555 
   2556 # These three variables are undocumented and unsupported,
   2557 # and are intended to be withdrawn in a future Autoconf release.
   2558 # They can cause serious problems if a builder's source tree is in a directory
   2559 # whose full name contains unusual characters.
   2560 if test -f "${ac_aux_dir}config.guess"; then
   2561   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2562 fi
   2563 if test -f "${ac_aux_dir}config.sub"; then
   2564   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2565 fi
   2566 if test -f "$ac_aux_dir/configure"; then
   2567   ac_configure="$SHELL ${ac_aux_dir}configure"
   2568 fi
   2569 
   2570 # Check that the precious variables saved in the cache have kept the same
   2571 # value.
   2572 ac_cache_corrupted=false
   2573 for ac_var in $ac_precious_vars; do
   2574   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2575   eval ac_new_set=\$ac_env_${ac_var}_set
   2576   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2577   eval ac_new_val=\$ac_env_${ac_var}_value
   2578   case $ac_old_set,$ac_new_set in
   2579     set,)
   2580       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2581 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2582       ac_cache_corrupted=: ;;
   2583     ,set)
   2584       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2585 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2586       ac_cache_corrupted=: ;;
   2587     ,);;
   2588     *)
   2589       if test "x$ac_old_val" != "x$ac_new_val"; then
   2590 	# differences in whitespace do not lead to failure.
   2591 	ac_old_val_w=`echo x $ac_old_val`
   2592 	ac_new_val_w=`echo x $ac_new_val`
   2593 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2594 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2595 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2596 	  ac_cache_corrupted=:
   2597 	else
   2598 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2599 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2600 	  eval $ac_var=\$ac_old_val
   2601 	fi
   2602 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2603 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2604 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2605 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2606       fi;;
   2607   esac
   2608   # Pass precious variables to config.status.
   2609   if test "$ac_new_set" = set; then
   2610     case $ac_new_val in
   2611     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2612     *) ac_arg=$ac_var=$ac_new_val ;;
   2613     esac
   2614     case " $ac_configure_args " in
   2615       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2616       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2617     esac
   2618   fi
   2619 done
   2620 if $ac_cache_corrupted; then
   2621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2622 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2623   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2624 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2625   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2626 	    and start over" "$LINENO" 5
   2627 fi
   2628 ## -------------------- ##
   2629 ## Main body of script. ##
   2630 ## -------------------- ##
   2631 
   2632 ac_ext=c
   2633 ac_cpp='$CPP $CPPFLAGS'
   2634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2637 
   2638 
   2639 
   2640 
   2641 # Initialize Automake
   2642 am__api_version='1.16'
   2643 
   2644 
   2645 
   2646   # Find a good install program.  We prefer a C program (faster),
   2647 # so one script is as good as another.  But avoid the broken or
   2648 # incompatible versions:
   2649 # SysV /etc/install, /usr/sbin/install
   2650 # SunOS /usr/etc/install
   2651 # IRIX /sbin/install
   2652 # AIX /bin/install
   2653 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2654 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2655 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2656 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2657 # OS/2's system install, which has a completely different semantic
   2658 # ./install, which can be erroneously created by make from ./install.sh.
   2659 # Reject install programs that cannot install multiple files.
   2660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2661 printf %s "checking for a BSD-compatible install... " >&6; }
   2662 if test -z "$INSTALL"; then
   2663 if test ${ac_cv_path_install+y}
   2664 then :
   2665   printf %s "(cached) " >&6
   2666 else $as_nop
   2667   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2668 for as_dir in $PATH
   2669 do
   2670   IFS=$as_save_IFS
   2671   case $as_dir in #(((
   2672     '') as_dir=./ ;;
   2673     */) ;;
   2674     *) as_dir=$as_dir/ ;;
   2675   esac
   2676     # Account for fact that we put trailing slashes in our PATH walk.
   2677 case $as_dir in #((
   2678   ./ | /[cC]/* | \
   2679   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2680   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2681   /usr/ucb/* ) ;;
   2682   *)
   2683     # OSF1 and SCO ODT 3.0 have their own names for install.
   2684     # Don't use installbsd from OSF since it installs stuff as root
   2685     # by default.
   2686     for ac_prog in ginstall scoinst install; do
   2687       for ac_exec_ext in '' $ac_executable_extensions; do
   2688 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2689 	  if test $ac_prog = install &&
   2690 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2691 	    # AIX install.  It has an incompatible calling convention.
   2692 	    :
   2693 	  elif test $ac_prog = install &&
   2694 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2695 	    # program-specific install script used by HP pwplus--don't use.
   2696 	    :
   2697 	  else
   2698 	    rm -rf conftest.one conftest.two conftest.dir
   2699 	    echo one > conftest.one
   2700 	    echo two > conftest.two
   2701 	    mkdir conftest.dir
   2702 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2703 	      test -s conftest.one && test -s conftest.two &&
   2704 	      test -s conftest.dir/conftest.one &&
   2705 	      test -s conftest.dir/conftest.two
   2706 	    then
   2707 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2708 	      break 3
   2709 	    fi
   2710 	  fi
   2711 	fi
   2712       done
   2713     done
   2714     ;;
   2715 esac
   2716 
   2717   done
   2718 IFS=$as_save_IFS
   2719 
   2720 rm -rf conftest.one conftest.two conftest.dir
   2721 
   2722 fi
   2723   if test ${ac_cv_path_install+y}; then
   2724     INSTALL=$ac_cv_path_install
   2725   else
   2726     # As a last resort, use the slow shell script.  Don't cache a
   2727     # value for INSTALL within a source directory, because that will
   2728     # break other packages using the cache if that directory is
   2729     # removed, or if the value is a relative name.
   2730     INSTALL=$ac_install_sh
   2731   fi
   2732 fi
   2733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2734 printf "%s\n" "$INSTALL" >&6; }
   2735 
   2736 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2737 # It thinks the first close brace ends the variable substitution.
   2738 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2739 
   2740 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2741 
   2742 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2743 
   2744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2745 printf %s "checking whether build environment is sane... " >&6; }
   2746 # Reject unsafe characters in $srcdir or the absolute working directory
   2747 # name.  Accept space and tab only in the latter.
   2748 am_lf='
   2749 '
   2750 case `pwd` in
   2751   *[\\\"\#\$\&\'\`$am_lf]*)
   2752     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2753 esac
   2754 case $srcdir in
   2755   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2756     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2757 esac
   2758 
   2759 # Do 'set' in a subshell so we don't clobber the current shell's
   2760 # arguments.  Must try -L first in case configure is actually a
   2761 # symlink; some systems play weird games with the mod time of symlinks
   2762 # (eg FreeBSD returns the mod time of the symlink's containing
   2763 # directory).
   2764 if (
   2765    am_has_slept=no
   2766    for am_try in 1 2; do
   2767      echo "timestamp, slept: $am_has_slept" > conftest.file
   2768      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2769      if test "$*" = "X"; then
   2770 	# -L didn't work.
   2771 	set X `ls -t "$srcdir/configure" conftest.file`
   2772      fi
   2773      if test "$*" != "X $srcdir/configure conftest.file" \
   2774 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2775 
   2776 	# If neither matched, then we have a broken ls.  This can happen
   2777 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2778 	# broken ls alias from the environment.  This has actually
   2779 	# happened.  Such a system could not be considered "sane".
   2780 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2781   alias in your environment" "$LINENO" 5
   2782      fi
   2783      if test "$2" = conftest.file || test $am_try -eq 2; then
   2784        break
   2785      fi
   2786      # Just in case.
   2787      sleep 1
   2788      am_has_slept=yes
   2789    done
   2790    test "$2" = conftest.file
   2791    )
   2792 then
   2793    # Ok.
   2794    :
   2795 else
   2796    as_fn_error $? "newly created file is older than distributed files!
   2797 Check your system clock" "$LINENO" 5
   2798 fi
   2799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2800 printf "%s\n" "yes" >&6; }
   2801 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2802 # generated files are strictly newer.
   2803 am_sleep_pid=
   2804 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2805   ( sleep 1 ) &
   2806   am_sleep_pid=$!
   2807 fi
   2808 
   2809 rm -f conftest.file
   2810 
   2811 test "$program_prefix" != NONE &&
   2812   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2813 # Use a double $ so make ignores it.
   2814 test "$program_suffix" != NONE &&
   2815   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2816 # Double any \ or $.
   2817 # By default was `s,x,x', remove it if useless.
   2818 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2819 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2820 
   2821 
   2822 # Expand $ac_aux_dir to an absolute path.
   2823 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2824 
   2825 
   2826   if test x"${MISSING+set}" != xset; then
   2827   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2828 fi
   2829 # Use eval to expand $SHELL
   2830 if eval "$MISSING --is-lightweight"; then
   2831   am_missing_run="$MISSING "
   2832 else
   2833   am_missing_run=
   2834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2835 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2836 fi
   2837 
   2838 if test x"${install_sh+set}" != xset; then
   2839   case $am_aux_dir in
   2840   *\ * | *\	*)
   2841     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2842   *)
   2843     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2844   esac
   2845 fi
   2846 
   2847 # Installed binaries are usually stripped using 'strip' when the user
   2848 # run "make install-strip".  However 'strip' might not be the right
   2849 # tool to use in cross-compilation environments, therefore Automake
   2850 # will honor the 'STRIP' environment variable to overrule this program.
   2851 if test "$cross_compiling" != no; then
   2852   if test -n "$ac_tool_prefix"; then
   2853   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2854 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2856 printf %s "checking for $ac_word... " >&6; }
   2857 if test ${ac_cv_prog_STRIP+y}
   2858 then :
   2859   printf %s "(cached) " >&6
   2860 else $as_nop
   2861   if test -n "$STRIP"; then
   2862   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2863 else
   2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2865 for as_dir in $PATH
   2866 do
   2867   IFS=$as_save_IFS
   2868   case $as_dir in #(((
   2869     '') as_dir=./ ;;
   2870     */) ;;
   2871     *) as_dir=$as_dir/ ;;
   2872   esac
   2873     for ac_exec_ext in '' $ac_executable_extensions; do
   2874   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2875     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2876     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2877     break 2
   2878   fi
   2879 done
   2880   done
   2881 IFS=$as_save_IFS
   2882 
   2883 fi
   2884 fi
   2885 STRIP=$ac_cv_prog_STRIP
   2886 if test -n "$STRIP"; then
   2887   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2888 printf "%s\n" "$STRIP" >&6; }
   2889 else
   2890   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2891 printf "%s\n" "no" >&6; }
   2892 fi
   2893 
   2894 
   2895 fi
   2896 if test -z "$ac_cv_prog_STRIP"; then
   2897   ac_ct_STRIP=$STRIP
   2898   # Extract the first word of "strip", so it can be a program name with args.
   2899 set dummy strip; ac_word=$2
   2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2901 printf %s "checking for $ac_word... " >&6; }
   2902 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2903 then :
   2904   printf %s "(cached) " >&6
   2905 else $as_nop
   2906   if test -n "$ac_ct_STRIP"; then
   2907   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2908 else
   2909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2910 for as_dir in $PATH
   2911 do
   2912   IFS=$as_save_IFS
   2913   case $as_dir in #(((
   2914     '') as_dir=./ ;;
   2915     */) ;;
   2916     *) as_dir=$as_dir/ ;;
   2917   esac
   2918     for ac_exec_ext in '' $ac_executable_extensions; do
   2919   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2920     ac_cv_prog_ac_ct_STRIP="strip"
   2921     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2922     break 2
   2923   fi
   2924 done
   2925   done
   2926 IFS=$as_save_IFS
   2927 
   2928 fi
   2929 fi
   2930 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2931 if test -n "$ac_ct_STRIP"; then
   2932   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2933 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2934 else
   2935   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2936 printf "%s\n" "no" >&6; }
   2937 fi
   2938 
   2939   if test "x$ac_ct_STRIP" = x; then
   2940     STRIP=":"
   2941   else
   2942     case $cross_compiling:$ac_tool_warned in
   2943 yes:)
   2944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2945 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2946 ac_tool_warned=yes ;;
   2947 esac
   2948     STRIP=$ac_ct_STRIP
   2949   fi
   2950 else
   2951   STRIP="$ac_cv_prog_STRIP"
   2952 fi
   2953 
   2954 fi
   2955 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2956 
   2957 
   2958   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2959 printf %s "checking for a race-free mkdir -p... " >&6; }
   2960 if test -z "$MKDIR_P"; then
   2961   if test ${ac_cv_path_mkdir+y}
   2962 then :
   2963   printf %s "(cached) " >&6
   2964 else $as_nop
   2965   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2966 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2967 do
   2968   IFS=$as_save_IFS
   2969   case $as_dir in #(((
   2970     '') as_dir=./ ;;
   2971     */) ;;
   2972     *) as_dir=$as_dir/ ;;
   2973   esac
   2974     for ac_prog in mkdir gmkdir; do
   2975 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2976 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2977 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2978 	     'mkdir ('*'coreutils) '* | \
   2979 	     'BusyBox '* | \
   2980 	     'mkdir (fileutils) '4.1*)
   2981 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2982 	       break 3;;
   2983 	   esac
   2984 	 done
   2985        done
   2986   done
   2987 IFS=$as_save_IFS
   2988 
   2989 fi
   2990 
   2991   test -d ./--version && rmdir ./--version
   2992   if test ${ac_cv_path_mkdir+y}; then
   2993     MKDIR_P="$ac_cv_path_mkdir -p"
   2994   else
   2995     # As a last resort, use the slow shell script.  Don't cache a
   2996     # value for MKDIR_P within a source directory, because that will
   2997     # break other packages using the cache if that directory is
   2998     # removed, or if the value is a relative name.
   2999     MKDIR_P="$ac_install_sh -d"
   3000   fi
   3001 fi
   3002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3003 printf "%s\n" "$MKDIR_P" >&6; }
   3004 
   3005 for ac_prog in gawk mawk nawk awk
   3006 do
   3007   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3008 set dummy $ac_prog; ac_word=$2
   3009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3010 printf %s "checking for $ac_word... " >&6; }
   3011 if test ${ac_cv_prog_AWK+y}
   3012 then :
   3013   printf %s "(cached) " >&6
   3014 else $as_nop
   3015   if test -n "$AWK"; then
   3016   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3017 else
   3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3019 for as_dir in $PATH
   3020 do
   3021   IFS=$as_save_IFS
   3022   case $as_dir in #(((
   3023     '') as_dir=./ ;;
   3024     */) ;;
   3025     *) as_dir=$as_dir/ ;;
   3026   esac
   3027     for ac_exec_ext in '' $ac_executable_extensions; do
   3028   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3029     ac_cv_prog_AWK="$ac_prog"
   3030     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3031     break 2
   3032   fi
   3033 done
   3034   done
   3035 IFS=$as_save_IFS
   3036 
   3037 fi
   3038 fi
   3039 AWK=$ac_cv_prog_AWK
   3040 if test -n "$AWK"; then
   3041   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3042 printf "%s\n" "$AWK" >&6; }
   3043 else
   3044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3045 printf "%s\n" "no" >&6; }
   3046 fi
   3047 
   3048 
   3049   test -n "$AWK" && break
   3050 done
   3051 
   3052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3053 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3054 set x ${MAKE-make}
   3055 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3056 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3057 then :
   3058   printf %s "(cached) " >&6
   3059 else $as_nop
   3060   cat >conftest.make <<\_ACEOF
   3061 SHELL = /bin/sh
   3062 all:
   3063 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3064 _ACEOF
   3065 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3066 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3067   *@@@%%%=?*=@@@%%%*)
   3068     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3069   *)
   3070     eval ac_cv_prog_make_${ac_make}_set=no;;
   3071 esac
   3072 rm -f conftest.make
   3073 fi
   3074 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3075   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3076 printf "%s\n" "yes" >&6; }
   3077   SET_MAKE=
   3078 else
   3079   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3080 printf "%s\n" "no" >&6; }
   3081   SET_MAKE="MAKE=${MAKE-make}"
   3082 fi
   3083 
   3084 rm -rf .tst 2>/dev/null
   3085 mkdir .tst 2>/dev/null
   3086 if test -d .tst; then
   3087   am__leading_dot=.
   3088 else
   3089   am__leading_dot=_
   3090 fi
   3091 rmdir .tst 2>/dev/null
   3092 
   3093 # Check whether --enable-silent-rules was given.
   3094 if test ${enable_silent_rules+y}
   3095 then :
   3096   enableval=$enable_silent_rules;
   3097 fi
   3098 
   3099 case $enable_silent_rules in # (((
   3100   yes) AM_DEFAULT_VERBOSITY=0;;
   3101    no) AM_DEFAULT_VERBOSITY=1;;
   3102     *) AM_DEFAULT_VERBOSITY=1;;
   3103 esac
   3104 am_make=${MAKE-make}
   3105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3106 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3107 if test ${am_cv_make_support_nested_variables+y}
   3108 then :
   3109   printf %s "(cached) " >&6
   3110 else $as_nop
   3111   if printf "%s\n" 'TRUE=$(BAR$(V))
   3112 BAR0=false
   3113 BAR1=true
   3114 V=1
   3115 am__doit:
   3116 	@$(TRUE)
   3117 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3118   am_cv_make_support_nested_variables=yes
   3119 else
   3120   am_cv_make_support_nested_variables=no
   3121 fi
   3122 fi
   3123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3124 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3125 if test $am_cv_make_support_nested_variables = yes; then
   3126     AM_V='$(V)'
   3127   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3128 else
   3129   AM_V=$AM_DEFAULT_VERBOSITY
   3130   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3131 fi
   3132 AM_BACKSLASH='\'
   3133 
   3134 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3135   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3136   # is not polluted with repeated "-I."
   3137   am__isrc=' -I$(srcdir)'
   3138   # test to see if srcdir already configured
   3139   if test -f $srcdir/config.status; then
   3140     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3141   fi
   3142 fi
   3143 
   3144 # test whether we have cygpath
   3145 if test -z "$CYGPATH_W"; then
   3146   if (cygpath --version) >/dev/null 2>/dev/null; then
   3147     CYGPATH_W='cygpath -w'
   3148   else
   3149     CYGPATH_W=echo
   3150   fi
   3151 fi
   3152 
   3153 
   3154 # Define the identity of the package.
   3155  PACKAGE='xtrans'
   3156  VERSION='1.5.0'
   3157 
   3158 
   3159 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3160 
   3161 
   3162 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3163 
   3164 # Some tools Automake needs.
   3165 
   3166 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3167 
   3168 
   3169 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3170 
   3171 
   3172 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3173 
   3174 
   3175 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3176 
   3177 
   3178 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3179 
   3180 # For better backward compatibility.  To be removed once Automake 1.9.x
   3181 # dies out for good.  For more background, see:
   3182 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3183 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3184 mkdir_p='$(MKDIR_P)'
   3185 
   3186 # We need awk for the "check" target (and possibly the TAP driver).  The
   3187 # system "awk" is bad on some platforms.
   3188 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3189 # in the wild :-(  We should find a proper way to deprecate it ...
   3190 AMTAR='$${TAR-tar}'
   3191 
   3192 
   3193 # We'll loop over all known methods to create a tar archive until one works.
   3194 _am_tools='gnutar  pax cpio none'
   3195 
   3196 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3197 
   3198 
   3199 
   3200 
   3201 
   3202 # Variables for tags utilities; see am/tags.am
   3203 if test -z "$CTAGS"; then
   3204   CTAGS=ctags
   3205 fi
   3206 
   3207 if test -z "$ETAGS"; then
   3208   ETAGS=etags
   3209 fi
   3210 
   3211 if test -z "$CSCOPE"; then
   3212   CSCOPE=cscope
   3213 fi
   3214 
   3215 
   3216 
   3217 # POSIX will say in a future version that running "rm -f" with no argument
   3218 # is OK; and we want to be able to make that assumption in our Makefile
   3219 # recipes.  So use an aggressive probe to check that the usage we want is
   3220 # actually supported "in the wild" to an acceptable degree.
   3221 # See automake bug#10828.
   3222 # To make any issue more visible, cause the running configure to be aborted
   3223 # by default if the 'rm' program in use doesn't match our expectations; the
   3224 # user can still override this though.
   3225 if rm -f && rm -fr && rm -rf; then : OK; else
   3226   cat >&2 <<'END'
   3227 Oops!
   3228 
   3229 Your 'rm' program seems unable to run without file operands specified
   3230 on the command line, even when the '-f' option is present.  This is contrary
   3231 to the behaviour of most rm programs out there, and not conforming with
   3232 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3233 
   3234 Please tell bug-automake@gnu.org about your system, including the value
   3235 of your $PATH and any error possibly output before this message.  This
   3236 can help us improve future automake versions.
   3237 
   3238 END
   3239   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3240     echo 'Configuration will proceed anyway, since you have set the' >&2
   3241     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3242     echo >&2
   3243   else
   3244     cat >&2 <<'END'
   3245 Aborting the configuration process, to ensure you take notice of the issue.
   3246 
   3247 You can download and install GNU coreutils to get an 'rm' implementation
   3248 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3249 
   3250 If you want to complete the configuration process using your problematic
   3251 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3252 to "yes", and re-run configure.
   3253 
   3254 END
   3255     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3256   fi
   3257 fi
   3258 
   3259 
   3260 # Require xorg-macros minimum of 1.12 for DocBook external references
   3261 
   3262 
   3263 
   3264 
   3265 
   3266 
   3267 
   3268 
   3269 
   3270 
   3271 
   3272 
   3273 
   3274 
   3275 
   3276 
   3277 
   3278 
   3279 
   3280 
   3281 DEPDIR="${am__leading_dot}deps"
   3282 
   3283 ac_config_commands="$ac_config_commands depfiles"
   3284 
   3285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3286 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3287 cat > confinc.mk << 'END'
   3288 am__doit:
   3289 	@echo this is the am__doit target >confinc.out
   3290 .PHONY: am__doit
   3291 END
   3292 am__include="#"
   3293 am__quote=
   3294 # BSD make does it like this.
   3295 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3296 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3297 echo 'include confinc.mk # ignored' > confmf.GNU
   3298 _am_result=no
   3299 for s in GNU BSD; do
   3300   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3301    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3302    ac_status=$?
   3303    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3304    (exit $ac_status); }
   3305   case $?:`cat confinc.out 2>/dev/null` in #(
   3306   '0:this is the am__doit target') :
   3307     case $s in #(
   3308   BSD) :
   3309     am__include='.include' am__quote='"' ;; #(
   3310   *) :
   3311     am__include='include' am__quote='' ;;
   3312 esac ;; #(
   3313   *) :
   3314      ;;
   3315 esac
   3316   if test "$am__include" != "#"; then
   3317     _am_result="yes ($s style)"
   3318     break
   3319   fi
   3320 done
   3321 rm -f confinc.* confmf.*
   3322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3323 printf "%s\n" "${_am_result}" >&6; }
   3324 
   3325 # Check whether --enable-dependency-tracking was given.
   3326 if test ${enable_dependency_tracking+y}
   3327 then :
   3328   enableval=$enable_dependency_tracking;
   3329 fi
   3330 
   3331 if test "x$enable_dependency_tracking" != xno; then
   3332   am_depcomp="$ac_aux_dir/depcomp"
   3333   AMDEPBACKSLASH='\'
   3334   am__nodep='_no'
   3335 fi
   3336  if test "x$enable_dependency_tracking" != xno; then
   3337   AMDEP_TRUE=
   3338   AMDEP_FALSE='#'
   3339 else
   3340   AMDEP_TRUE='#'
   3341   AMDEP_FALSE=
   3342 fi
   3343 
   3344 
   3345 ac_ext=c
   3346 ac_cpp='$CPP $CPPFLAGS'
   3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3350 if test -n "$ac_tool_prefix"; then
   3351   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3352 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3354 printf %s "checking for $ac_word... " >&6; }
   3355 if test ${ac_cv_prog_CC+y}
   3356 then :
   3357   printf %s "(cached) " >&6
   3358 else $as_nop
   3359   if test -n "$CC"; then
   3360   ac_cv_prog_CC="$CC" # Let the user override the test.
   3361 else
   3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3363 for as_dir in $PATH
   3364 do
   3365   IFS=$as_save_IFS
   3366   case $as_dir in #(((
   3367     '') as_dir=./ ;;
   3368     */) ;;
   3369     *) as_dir=$as_dir/ ;;
   3370   esac
   3371     for ac_exec_ext in '' $ac_executable_extensions; do
   3372   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3373     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3374     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3375     break 2
   3376   fi
   3377 done
   3378   done
   3379 IFS=$as_save_IFS
   3380 
   3381 fi
   3382 fi
   3383 CC=$ac_cv_prog_CC
   3384 if test -n "$CC"; then
   3385   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3386 printf "%s\n" "$CC" >&6; }
   3387 else
   3388   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3389 printf "%s\n" "no" >&6; }
   3390 fi
   3391 
   3392 
   3393 fi
   3394 if test -z "$ac_cv_prog_CC"; then
   3395   ac_ct_CC=$CC
   3396   # Extract the first word of "gcc", so it can be a program name with args.
   3397 set dummy gcc; ac_word=$2
   3398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3399 printf %s "checking for $ac_word... " >&6; }
   3400 if test ${ac_cv_prog_ac_ct_CC+y}
   3401 then :
   3402   printf %s "(cached) " >&6
   3403 else $as_nop
   3404   if test -n "$ac_ct_CC"; then
   3405   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3406 else
   3407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3408 for as_dir in $PATH
   3409 do
   3410   IFS=$as_save_IFS
   3411   case $as_dir in #(((
   3412     '') as_dir=./ ;;
   3413     */) ;;
   3414     *) as_dir=$as_dir/ ;;
   3415   esac
   3416     for ac_exec_ext in '' $ac_executable_extensions; do
   3417   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3418     ac_cv_prog_ac_ct_CC="gcc"
   3419     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3420     break 2
   3421   fi
   3422 done
   3423   done
   3424 IFS=$as_save_IFS
   3425 
   3426 fi
   3427 fi
   3428 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3429 if test -n "$ac_ct_CC"; then
   3430   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3431 printf "%s\n" "$ac_ct_CC" >&6; }
   3432 else
   3433   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3434 printf "%s\n" "no" >&6; }
   3435 fi
   3436 
   3437   if test "x$ac_ct_CC" = x; then
   3438     CC=""
   3439   else
   3440     case $cross_compiling:$ac_tool_warned in
   3441 yes:)
   3442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3443 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3444 ac_tool_warned=yes ;;
   3445 esac
   3446     CC=$ac_ct_CC
   3447   fi
   3448 else
   3449   CC="$ac_cv_prog_CC"
   3450 fi
   3451 
   3452 if test -z "$CC"; then
   3453           if test -n "$ac_tool_prefix"; then
   3454     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3455 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3457 printf %s "checking for $ac_word... " >&6; }
   3458 if test ${ac_cv_prog_CC+y}
   3459 then :
   3460   printf %s "(cached) " >&6
   3461 else $as_nop
   3462   if test -n "$CC"; then
   3463   ac_cv_prog_CC="$CC" # Let the user override the test.
   3464 else
   3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3466 for as_dir in $PATH
   3467 do
   3468   IFS=$as_save_IFS
   3469   case $as_dir in #(((
   3470     '') as_dir=./ ;;
   3471     */) ;;
   3472     *) as_dir=$as_dir/ ;;
   3473   esac
   3474     for ac_exec_ext in '' $ac_executable_extensions; do
   3475   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3476     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3477     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3478     break 2
   3479   fi
   3480 done
   3481   done
   3482 IFS=$as_save_IFS
   3483 
   3484 fi
   3485 fi
   3486 CC=$ac_cv_prog_CC
   3487 if test -n "$CC"; then
   3488   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3489 printf "%s\n" "$CC" >&6; }
   3490 else
   3491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3492 printf "%s\n" "no" >&6; }
   3493 fi
   3494 
   3495 
   3496   fi
   3497 fi
   3498 if test -z "$CC"; then
   3499   # Extract the first word of "cc", so it can be a program name with args.
   3500 set dummy cc; ac_word=$2
   3501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3502 printf %s "checking for $ac_word... " >&6; }
   3503 if test ${ac_cv_prog_CC+y}
   3504 then :
   3505   printf %s "(cached) " >&6
   3506 else $as_nop
   3507   if test -n "$CC"; then
   3508   ac_cv_prog_CC="$CC" # Let the user override the test.
   3509 else
   3510   ac_prog_rejected=no
   3511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3512 for as_dir in $PATH
   3513 do
   3514   IFS=$as_save_IFS
   3515   case $as_dir in #(((
   3516     '') as_dir=./ ;;
   3517     */) ;;
   3518     *) as_dir=$as_dir/ ;;
   3519   esac
   3520     for ac_exec_ext in '' $ac_executable_extensions; do
   3521   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3522     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3523        ac_prog_rejected=yes
   3524        continue
   3525      fi
   3526     ac_cv_prog_CC="cc"
   3527     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3528     break 2
   3529   fi
   3530 done
   3531   done
   3532 IFS=$as_save_IFS
   3533 
   3534 if test $ac_prog_rejected = yes; then
   3535   # We found a bogon in the path, so make sure we never use it.
   3536   set dummy $ac_cv_prog_CC
   3537   shift
   3538   if test $# != 0; then
   3539     # We chose a different compiler from the bogus one.
   3540     # However, it has the same basename, so the bogon will be chosen
   3541     # first if we set CC to just the basename; use the full file name.
   3542     shift
   3543     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3544   fi
   3545 fi
   3546 fi
   3547 fi
   3548 CC=$ac_cv_prog_CC
   3549 if test -n "$CC"; then
   3550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3551 printf "%s\n" "$CC" >&6; }
   3552 else
   3553   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3554 printf "%s\n" "no" >&6; }
   3555 fi
   3556 
   3557 
   3558 fi
   3559 if test -z "$CC"; then
   3560   if test -n "$ac_tool_prefix"; then
   3561   for ac_prog in cl.exe
   3562   do
   3563     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3564 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3566 printf %s "checking for $ac_word... " >&6; }
   3567 if test ${ac_cv_prog_CC+y}
   3568 then :
   3569   printf %s "(cached) " >&6
   3570 else $as_nop
   3571   if test -n "$CC"; then
   3572   ac_cv_prog_CC="$CC" # Let the user override the test.
   3573 else
   3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3575 for as_dir in $PATH
   3576 do
   3577   IFS=$as_save_IFS
   3578   case $as_dir in #(((
   3579     '') as_dir=./ ;;
   3580     */) ;;
   3581     *) as_dir=$as_dir/ ;;
   3582   esac
   3583     for ac_exec_ext in '' $ac_executable_extensions; do
   3584   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3585     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3586     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3587     break 2
   3588   fi
   3589 done
   3590   done
   3591 IFS=$as_save_IFS
   3592 
   3593 fi
   3594 fi
   3595 CC=$ac_cv_prog_CC
   3596 if test -n "$CC"; then
   3597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3598 printf "%s\n" "$CC" >&6; }
   3599 else
   3600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3601 printf "%s\n" "no" >&6; }
   3602 fi
   3603 
   3604 
   3605     test -n "$CC" && break
   3606   done
   3607 fi
   3608 if test -z "$CC"; then
   3609   ac_ct_CC=$CC
   3610   for ac_prog in cl.exe
   3611 do
   3612   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3613 set dummy $ac_prog; ac_word=$2
   3614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3615 printf %s "checking for $ac_word... " >&6; }
   3616 if test ${ac_cv_prog_ac_ct_CC+y}
   3617 then :
   3618   printf %s "(cached) " >&6
   3619 else $as_nop
   3620   if test -n "$ac_ct_CC"; then
   3621   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3622 else
   3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3624 for as_dir in $PATH
   3625 do
   3626   IFS=$as_save_IFS
   3627   case $as_dir in #(((
   3628     '') as_dir=./ ;;
   3629     */) ;;
   3630     *) as_dir=$as_dir/ ;;
   3631   esac
   3632     for ac_exec_ext in '' $ac_executable_extensions; do
   3633   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3634     ac_cv_prog_ac_ct_CC="$ac_prog"
   3635     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3636     break 2
   3637   fi
   3638 done
   3639   done
   3640 IFS=$as_save_IFS
   3641 
   3642 fi
   3643 fi
   3644 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3645 if test -n "$ac_ct_CC"; then
   3646   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3647 printf "%s\n" "$ac_ct_CC" >&6; }
   3648 else
   3649   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3650 printf "%s\n" "no" >&6; }
   3651 fi
   3652 
   3653 
   3654   test -n "$ac_ct_CC" && break
   3655 done
   3656 
   3657   if test "x$ac_ct_CC" = x; then
   3658     CC=""
   3659   else
   3660     case $cross_compiling:$ac_tool_warned in
   3661 yes:)
   3662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3663 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3664 ac_tool_warned=yes ;;
   3665 esac
   3666     CC=$ac_ct_CC
   3667   fi
   3668 fi
   3669 
   3670 fi
   3671 if test -z "$CC"; then
   3672   if test -n "$ac_tool_prefix"; then
   3673   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3674 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3676 printf %s "checking for $ac_word... " >&6; }
   3677 if test ${ac_cv_prog_CC+y}
   3678 then :
   3679   printf %s "(cached) " >&6
   3680 else $as_nop
   3681   if test -n "$CC"; then
   3682   ac_cv_prog_CC="$CC" # Let the user override the test.
   3683 else
   3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3685 for as_dir in $PATH
   3686 do
   3687   IFS=$as_save_IFS
   3688   case $as_dir in #(((
   3689     '') as_dir=./ ;;
   3690     */) ;;
   3691     *) as_dir=$as_dir/ ;;
   3692   esac
   3693     for ac_exec_ext in '' $ac_executable_extensions; do
   3694   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3695     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3696     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3697     break 2
   3698   fi
   3699 done
   3700   done
   3701 IFS=$as_save_IFS
   3702 
   3703 fi
   3704 fi
   3705 CC=$ac_cv_prog_CC
   3706 if test -n "$CC"; then
   3707   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3708 printf "%s\n" "$CC" >&6; }
   3709 else
   3710   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3711 printf "%s\n" "no" >&6; }
   3712 fi
   3713 
   3714 
   3715 fi
   3716 if test -z "$ac_cv_prog_CC"; then
   3717   ac_ct_CC=$CC
   3718   # Extract the first word of "clang", so it can be a program name with args.
   3719 set dummy clang; ac_word=$2
   3720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3721 printf %s "checking for $ac_word... " >&6; }
   3722 if test ${ac_cv_prog_ac_ct_CC+y}
   3723 then :
   3724   printf %s "(cached) " >&6
   3725 else $as_nop
   3726   if test -n "$ac_ct_CC"; then
   3727   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3728 else
   3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3730 for as_dir in $PATH
   3731 do
   3732   IFS=$as_save_IFS
   3733   case $as_dir in #(((
   3734     '') as_dir=./ ;;
   3735     */) ;;
   3736     *) as_dir=$as_dir/ ;;
   3737   esac
   3738     for ac_exec_ext in '' $ac_executable_extensions; do
   3739   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3740     ac_cv_prog_ac_ct_CC="clang"
   3741     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3742     break 2
   3743   fi
   3744 done
   3745   done
   3746 IFS=$as_save_IFS
   3747 
   3748 fi
   3749 fi
   3750 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3751 if test -n "$ac_ct_CC"; then
   3752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3753 printf "%s\n" "$ac_ct_CC" >&6; }
   3754 else
   3755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3756 printf "%s\n" "no" >&6; }
   3757 fi
   3758 
   3759   if test "x$ac_ct_CC" = x; then
   3760     CC=""
   3761   else
   3762     case $cross_compiling:$ac_tool_warned in
   3763 yes:)
   3764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3765 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3766 ac_tool_warned=yes ;;
   3767 esac
   3768     CC=$ac_ct_CC
   3769   fi
   3770 else
   3771   CC="$ac_cv_prog_CC"
   3772 fi
   3773 
   3774 fi
   3775 
   3776 
   3777 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3778 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3779 as_fn_error $? "no acceptable C compiler found in \$PATH
   3780 See \`config.log' for more details" "$LINENO" 5; }
   3781 
   3782 # Provide some information about the compiler.
   3783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3784 set X $ac_compile
   3785 ac_compiler=$2
   3786 for ac_option in --version -v -V -qversion -version; do
   3787   { { ac_try="$ac_compiler $ac_option >&5"
   3788 case "(($ac_try" in
   3789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3790   *) ac_try_echo=$ac_try;;
   3791 esac
   3792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3793 printf "%s\n" "$ac_try_echo"; } >&5
   3794   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3795   ac_status=$?
   3796   if test -s conftest.err; then
   3797     sed '10a\
   3798 ... rest of stderr output deleted ...
   3799          10q' conftest.err >conftest.er1
   3800     cat conftest.er1 >&5
   3801   fi
   3802   rm -f conftest.er1 conftest.err
   3803   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3804   test $ac_status = 0; }
   3805 done
   3806 
   3807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3808 /* end confdefs.h.  */
   3809 
   3810 int
   3811 main (void)
   3812 {
   3813 
   3814   ;
   3815   return 0;
   3816 }
   3817 _ACEOF
   3818 ac_clean_files_save=$ac_clean_files
   3819 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3820 # Try to create an executable without -o first, disregard a.out.
   3821 # It will help us diagnose broken compilers, and finding out an intuition
   3822 # of exeext.
   3823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3824 printf %s "checking whether the C compiler works... " >&6; }
   3825 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3826 
   3827 # The possible output files:
   3828 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3829 
   3830 ac_rmfiles=
   3831 for ac_file in $ac_files
   3832 do
   3833   case $ac_file in
   3834     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3835     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3836   esac
   3837 done
   3838 rm -f $ac_rmfiles
   3839 
   3840 if { { ac_try="$ac_link_default"
   3841 case "(($ac_try" in
   3842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3843   *) ac_try_echo=$ac_try;;
   3844 esac
   3845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3846 printf "%s\n" "$ac_try_echo"; } >&5
   3847   (eval "$ac_link_default") 2>&5
   3848   ac_status=$?
   3849   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3850   test $ac_status = 0; }
   3851 then :
   3852   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3853 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3854 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3855 # so that the user can short-circuit this test for compilers unknown to
   3856 # Autoconf.
   3857 for ac_file in $ac_files ''
   3858 do
   3859   test -f "$ac_file" || continue
   3860   case $ac_file in
   3861     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3862 	;;
   3863     [ab].out )
   3864 	# We found the default executable, but exeext='' is most
   3865 	# certainly right.
   3866 	break;;
   3867     *.* )
   3868 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3869 	then :; else
   3870 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3871 	fi
   3872 	# We set ac_cv_exeext here because the later test for it is not
   3873 	# safe: cross compilers may not add the suffix if given an `-o'
   3874 	# argument, so we may need to know it at that point already.
   3875 	# Even if this section looks crufty: it has the advantage of
   3876 	# actually working.
   3877 	break;;
   3878     * )
   3879 	break;;
   3880   esac
   3881 done
   3882 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3883 
   3884 else $as_nop
   3885   ac_file=''
   3886 fi
   3887 if test -z "$ac_file"
   3888 then :
   3889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3890 printf "%s\n" "no" >&6; }
   3891 printf "%s\n" "$as_me: failed program was:" >&5
   3892 sed 's/^/| /' conftest.$ac_ext >&5
   3893 
   3894 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3895 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3896 as_fn_error 77 "C compiler cannot create executables
   3897 See \`config.log' for more details" "$LINENO" 5; }
   3898 else $as_nop
   3899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3900 printf "%s\n" "yes" >&6; }
   3901 fi
   3902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3903 printf %s "checking for C compiler default output file name... " >&6; }
   3904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3905 printf "%s\n" "$ac_file" >&6; }
   3906 ac_exeext=$ac_cv_exeext
   3907 
   3908 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3909 ac_clean_files=$ac_clean_files_save
   3910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3911 printf %s "checking for suffix of executables... " >&6; }
   3912 if { { ac_try="$ac_link"
   3913 case "(($ac_try" in
   3914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3915   *) ac_try_echo=$ac_try;;
   3916 esac
   3917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3918 printf "%s\n" "$ac_try_echo"; } >&5
   3919   (eval "$ac_link") 2>&5
   3920   ac_status=$?
   3921   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3922   test $ac_status = 0; }
   3923 then :
   3924   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3925 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3926 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3927 # `rm'.
   3928 for ac_file in conftest.exe conftest conftest.*; do
   3929   test -f "$ac_file" || continue
   3930   case $ac_file in
   3931     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3932     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3933 	  break;;
   3934     * ) break;;
   3935   esac
   3936 done
   3937 else $as_nop
   3938   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3939 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3940 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3941 See \`config.log' for more details" "$LINENO" 5; }
   3942 fi
   3943 rm -f conftest conftest$ac_cv_exeext
   3944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3945 printf "%s\n" "$ac_cv_exeext" >&6; }
   3946 
   3947 rm -f conftest.$ac_ext
   3948 EXEEXT=$ac_cv_exeext
   3949 ac_exeext=$EXEEXT
   3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3951 /* end confdefs.h.  */
   3952 #include <stdio.h>
   3953 int
   3954 main (void)
   3955 {
   3956 FILE *f = fopen ("conftest.out", "w");
   3957  return ferror (f) || fclose (f) != 0;
   3958 
   3959   ;
   3960   return 0;
   3961 }
   3962 _ACEOF
   3963 ac_clean_files="$ac_clean_files conftest.out"
   3964 # Check that the compiler produces executables we can run.  If not, either
   3965 # the compiler is broken, or we cross compile.
   3966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3967 printf %s "checking whether we are cross compiling... " >&6; }
   3968 if test "$cross_compiling" != yes; then
   3969   { { ac_try="$ac_link"
   3970 case "(($ac_try" in
   3971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3972   *) ac_try_echo=$ac_try;;
   3973 esac
   3974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3975 printf "%s\n" "$ac_try_echo"; } >&5
   3976   (eval "$ac_link") 2>&5
   3977   ac_status=$?
   3978   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3979   test $ac_status = 0; }
   3980   if { ac_try='./conftest$ac_cv_exeext'
   3981   { { case "(($ac_try" in
   3982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3983   *) ac_try_echo=$ac_try;;
   3984 esac
   3985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3986 printf "%s\n" "$ac_try_echo"; } >&5
   3987   (eval "$ac_try") 2>&5
   3988   ac_status=$?
   3989   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3990   test $ac_status = 0; }; }; then
   3991     cross_compiling=no
   3992   else
   3993     if test "$cross_compiling" = maybe; then
   3994 	cross_compiling=yes
   3995     else
   3996 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3997 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3998 as_fn_error 77 "cannot run C compiled programs.
   3999 If you meant to cross compile, use \`--host'.
   4000 See \`config.log' for more details" "$LINENO" 5; }
   4001     fi
   4002   fi
   4003 fi
   4004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4005 printf "%s\n" "$cross_compiling" >&6; }
   4006 
   4007 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4008 ac_clean_files=$ac_clean_files_save
   4009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4010 printf %s "checking for suffix of object files... " >&6; }
   4011 if test ${ac_cv_objext+y}
   4012 then :
   4013   printf %s "(cached) " >&6
   4014 else $as_nop
   4015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4016 /* end confdefs.h.  */
   4017 
   4018 int
   4019 main (void)
   4020 {
   4021 
   4022   ;
   4023   return 0;
   4024 }
   4025 _ACEOF
   4026 rm -f conftest.o conftest.obj
   4027 if { { ac_try="$ac_compile"
   4028 case "(($ac_try" in
   4029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4030   *) ac_try_echo=$ac_try;;
   4031 esac
   4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4033 printf "%s\n" "$ac_try_echo"; } >&5
   4034   (eval "$ac_compile") 2>&5
   4035   ac_status=$?
   4036   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4037   test $ac_status = 0; }
   4038 then :
   4039   for ac_file in conftest.o conftest.obj conftest.*; do
   4040   test -f "$ac_file" || continue;
   4041   case $ac_file in
   4042     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4043     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4044        break;;
   4045   esac
   4046 done
   4047 else $as_nop
   4048   printf "%s\n" "$as_me: failed program was:" >&5
   4049 sed 's/^/| /' conftest.$ac_ext >&5
   4050 
   4051 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4052 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4053 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4054 See \`config.log' for more details" "$LINENO" 5; }
   4055 fi
   4056 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4057 fi
   4058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4059 printf "%s\n" "$ac_cv_objext" >&6; }
   4060 OBJEXT=$ac_cv_objext
   4061 ac_objext=$OBJEXT
   4062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4063 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4064 if test ${ac_cv_c_compiler_gnu+y}
   4065 then :
   4066   printf %s "(cached) " >&6
   4067 else $as_nop
   4068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4069 /* end confdefs.h.  */
   4070 
   4071 int
   4072 main (void)
   4073 {
   4074 #ifndef __GNUC__
   4075        choke me
   4076 #endif
   4077 
   4078   ;
   4079   return 0;
   4080 }
   4081 _ACEOF
   4082 if ac_fn_c_try_compile "$LINENO"
   4083 then :
   4084   ac_compiler_gnu=yes
   4085 else $as_nop
   4086   ac_compiler_gnu=no
   4087 fi
   4088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4089 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4090 
   4091 fi
   4092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4093 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4095 
   4096 if test $ac_compiler_gnu = yes; then
   4097   GCC=yes
   4098 else
   4099   GCC=
   4100 fi
   4101 ac_test_CFLAGS=${CFLAGS+y}
   4102 ac_save_CFLAGS=$CFLAGS
   4103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4104 printf %s "checking whether $CC accepts -g... " >&6; }
   4105 if test ${ac_cv_prog_cc_g+y}
   4106 then :
   4107   printf %s "(cached) " >&6
   4108 else $as_nop
   4109   ac_save_c_werror_flag=$ac_c_werror_flag
   4110    ac_c_werror_flag=yes
   4111    ac_cv_prog_cc_g=no
   4112    CFLAGS="-g"
   4113    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4114 /* end confdefs.h.  */
   4115 
   4116 int
   4117 main (void)
   4118 {
   4119 
   4120   ;
   4121   return 0;
   4122 }
   4123 _ACEOF
   4124 if ac_fn_c_try_compile "$LINENO"
   4125 then :
   4126   ac_cv_prog_cc_g=yes
   4127 else $as_nop
   4128   CFLAGS=""
   4129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4130 /* end confdefs.h.  */
   4131 
   4132 int
   4133 main (void)
   4134 {
   4135 
   4136   ;
   4137   return 0;
   4138 }
   4139 _ACEOF
   4140 if ac_fn_c_try_compile "$LINENO"
   4141 then :
   4142 
   4143 else $as_nop
   4144   ac_c_werror_flag=$ac_save_c_werror_flag
   4145 	 CFLAGS="-g"
   4146 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4147 /* end confdefs.h.  */
   4148 
   4149 int
   4150 main (void)
   4151 {
   4152 
   4153   ;
   4154   return 0;
   4155 }
   4156 _ACEOF
   4157 if ac_fn_c_try_compile "$LINENO"
   4158 then :
   4159   ac_cv_prog_cc_g=yes
   4160 fi
   4161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4162 fi
   4163 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4164 fi
   4165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4166    ac_c_werror_flag=$ac_save_c_werror_flag
   4167 fi
   4168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4169 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4170 if test $ac_test_CFLAGS; then
   4171   CFLAGS=$ac_save_CFLAGS
   4172 elif test $ac_cv_prog_cc_g = yes; then
   4173   if test "$GCC" = yes; then
   4174     CFLAGS="-g -O2"
   4175   else
   4176     CFLAGS="-g"
   4177   fi
   4178 else
   4179   if test "$GCC" = yes; then
   4180     CFLAGS="-O2"
   4181   else
   4182     CFLAGS=
   4183   fi
   4184 fi
   4185 ac_prog_cc_stdc=no
   4186 if test x$ac_prog_cc_stdc = xno
   4187 then :
   4188   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4189 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4190 if test ${ac_cv_prog_cc_c11+y}
   4191 then :
   4192   printf %s "(cached) " >&6
   4193 else $as_nop
   4194   ac_cv_prog_cc_c11=no
   4195 ac_save_CC=$CC
   4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4197 /* end confdefs.h.  */
   4198 $ac_c_conftest_c11_program
   4199 _ACEOF
   4200 for ac_arg in '' -std=gnu11
   4201 do
   4202   CC="$ac_save_CC $ac_arg"
   4203   if ac_fn_c_try_compile "$LINENO"
   4204 then :
   4205   ac_cv_prog_cc_c11=$ac_arg
   4206 fi
   4207 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4208   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4209 done
   4210 rm -f conftest.$ac_ext
   4211 CC=$ac_save_CC
   4212 fi
   4213 
   4214 if test "x$ac_cv_prog_cc_c11" = xno
   4215 then :
   4216   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4217 printf "%s\n" "unsupported" >&6; }
   4218 else $as_nop
   4219   if test "x$ac_cv_prog_cc_c11" = x
   4220 then :
   4221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4222 printf "%s\n" "none needed" >&6; }
   4223 else $as_nop
   4224   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4225 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4226      CC="$CC $ac_cv_prog_cc_c11"
   4227 fi
   4228   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4229   ac_prog_cc_stdc=c11
   4230 fi
   4231 fi
   4232 if test x$ac_prog_cc_stdc = xno
   4233 then :
   4234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4235 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4236 if test ${ac_cv_prog_cc_c99+y}
   4237 then :
   4238   printf %s "(cached) " >&6
   4239 else $as_nop
   4240   ac_cv_prog_cc_c99=no
   4241 ac_save_CC=$CC
   4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4243 /* end confdefs.h.  */
   4244 $ac_c_conftest_c99_program
   4245 _ACEOF
   4246 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4247 do
   4248   CC="$ac_save_CC $ac_arg"
   4249   if ac_fn_c_try_compile "$LINENO"
   4250 then :
   4251   ac_cv_prog_cc_c99=$ac_arg
   4252 fi
   4253 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4254   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4255 done
   4256 rm -f conftest.$ac_ext
   4257 CC=$ac_save_CC
   4258 fi
   4259 
   4260 if test "x$ac_cv_prog_cc_c99" = xno
   4261 then :
   4262   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4263 printf "%s\n" "unsupported" >&6; }
   4264 else $as_nop
   4265   if test "x$ac_cv_prog_cc_c99" = x
   4266 then :
   4267   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4268 printf "%s\n" "none needed" >&6; }
   4269 else $as_nop
   4270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4271 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4272      CC="$CC $ac_cv_prog_cc_c99"
   4273 fi
   4274   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4275   ac_prog_cc_stdc=c99
   4276 fi
   4277 fi
   4278 if test x$ac_prog_cc_stdc = xno
   4279 then :
   4280   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4281 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4282 if test ${ac_cv_prog_cc_c89+y}
   4283 then :
   4284   printf %s "(cached) " >&6
   4285 else $as_nop
   4286   ac_cv_prog_cc_c89=no
   4287 ac_save_CC=$CC
   4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4289 /* end confdefs.h.  */
   4290 $ac_c_conftest_c89_program
   4291 _ACEOF
   4292 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4293 do
   4294   CC="$ac_save_CC $ac_arg"
   4295   if ac_fn_c_try_compile "$LINENO"
   4296 then :
   4297   ac_cv_prog_cc_c89=$ac_arg
   4298 fi
   4299 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4300   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4301 done
   4302 rm -f conftest.$ac_ext
   4303 CC=$ac_save_CC
   4304 fi
   4305 
   4306 if test "x$ac_cv_prog_cc_c89" = xno
   4307 then :
   4308   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4309 printf "%s\n" "unsupported" >&6; }
   4310 else $as_nop
   4311   if test "x$ac_cv_prog_cc_c89" = x
   4312 then :
   4313   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4314 printf "%s\n" "none needed" >&6; }
   4315 else $as_nop
   4316   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4317 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4318      CC="$CC $ac_cv_prog_cc_c89"
   4319 fi
   4320   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4321   ac_prog_cc_stdc=c89
   4322 fi
   4323 fi
   4324 
   4325 ac_ext=c
   4326 ac_cpp='$CPP $CPPFLAGS'
   4327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4330 
   4331 
   4332   ac_ext=c
   4333 ac_cpp='$CPP $CPPFLAGS'
   4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4338 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4339 if test ${am_cv_prog_cc_c_o+y}
   4340 then :
   4341   printf %s "(cached) " >&6
   4342 else $as_nop
   4343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4344 /* end confdefs.h.  */
   4345 
   4346 int
   4347 main (void)
   4348 {
   4349 
   4350   ;
   4351   return 0;
   4352 }
   4353 _ACEOF
   4354   # Make sure it works both with $CC and with simple cc.
   4355   # Following AC_PROG_CC_C_O, we do the test twice because some
   4356   # compilers refuse to overwrite an existing .o file with -o,
   4357   # though they will create one.
   4358   am_cv_prog_cc_c_o=yes
   4359   for am_i in 1 2; do
   4360     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4361    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4362    ac_status=$?
   4363    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4364    (exit $ac_status); } \
   4365          && test -f conftest2.$ac_objext; then
   4366       : OK
   4367     else
   4368       am_cv_prog_cc_c_o=no
   4369       break
   4370     fi
   4371   done
   4372   rm -f core conftest*
   4373   unset am_i
   4374 fi
   4375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4376 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4377 if test "$am_cv_prog_cc_c_o" != yes; then
   4378    # Losing compiler, so override with the script.
   4379    # FIXME: It is wrong to rewrite CC.
   4380    # But if we don't then we get into trouble of one sort or another.
   4381    # A longer-term fix would be to have automake use am__CC in this case,
   4382    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4383    CC="$am_aux_dir/compile $CC"
   4384 fi
   4385 ac_ext=c
   4386 ac_cpp='$CPP $CPPFLAGS'
   4387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4390 
   4391 
   4392 depcc="$CC"   am_compiler_list=
   4393 
   4394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4395 printf %s "checking dependency style of $depcc... " >&6; }
   4396 if test ${am_cv_CC_dependencies_compiler_type+y}
   4397 then :
   4398   printf %s "(cached) " >&6
   4399 else $as_nop
   4400   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4401   # We make a subdir and do the tests there.  Otherwise we can end up
   4402   # making bogus files that we don't know about and never remove.  For
   4403   # instance it was reported that on HP-UX the gcc test will end up
   4404   # making a dummy file named 'D' -- because '-MD' means "put the output
   4405   # in D".
   4406   rm -rf conftest.dir
   4407   mkdir conftest.dir
   4408   # Copy depcomp to subdir because otherwise we won't find it if we're
   4409   # using a relative directory.
   4410   cp "$am_depcomp" conftest.dir
   4411   cd conftest.dir
   4412   # We will build objects and dependencies in a subdirectory because
   4413   # it helps to detect inapplicable dependency modes.  For instance
   4414   # both Tru64's cc and ICC support -MD to output dependencies as a
   4415   # side effect of compilation, but ICC will put the dependencies in
   4416   # the current directory while Tru64 will put them in the object
   4417   # directory.
   4418   mkdir sub
   4419 
   4420   am_cv_CC_dependencies_compiler_type=none
   4421   if test "$am_compiler_list" = ""; then
   4422      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4423   fi
   4424   am__universal=false
   4425   case " $depcc " in #(
   4426      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4427      esac
   4428 
   4429   for depmode in $am_compiler_list; do
   4430     # Setup a source with many dependencies, because some compilers
   4431     # like to wrap large dependency lists on column 80 (with \), and
   4432     # we should not choose a depcomp mode which is confused by this.
   4433     #
   4434     # We need to recreate these files for each test, as the compiler may
   4435     # overwrite some of them when testing with obscure command lines.
   4436     # This happens at least with the AIX C compiler.
   4437     : > sub/conftest.c
   4438     for i in 1 2 3 4 5 6; do
   4439       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4440       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4441       # Solaris 10 /bin/sh.
   4442       echo '/* dummy */' > sub/conftst$i.h
   4443     done
   4444     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4445 
   4446     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4447     # mode.  It turns out that the SunPro C++ compiler does not properly
   4448     # handle '-M -o', and we need to detect this.  Also, some Intel
   4449     # versions had trouble with output in subdirs.
   4450     am__obj=sub/conftest.${OBJEXT-o}
   4451     am__minus_obj="-o $am__obj"
   4452     case $depmode in
   4453     gcc)
   4454       # This depmode causes a compiler race in universal mode.
   4455       test "$am__universal" = false || continue
   4456       ;;
   4457     nosideeffect)
   4458       # After this tag, mechanisms are not by side-effect, so they'll
   4459       # only be used when explicitly requested.
   4460       if test "x$enable_dependency_tracking" = xyes; then
   4461 	continue
   4462       else
   4463 	break
   4464       fi
   4465       ;;
   4466     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4467       # This compiler won't grok '-c -o', but also, the minuso test has
   4468       # not run yet.  These depmodes are late enough in the game, and
   4469       # so weak that their functioning should not be impacted.
   4470       am__obj=conftest.${OBJEXT-o}
   4471       am__minus_obj=
   4472       ;;
   4473     none) break ;;
   4474     esac
   4475     if depmode=$depmode \
   4476        source=sub/conftest.c object=$am__obj \
   4477        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4478        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4479          >/dev/null 2>conftest.err &&
   4480        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4481        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4482        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4483        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4484       # icc doesn't choke on unknown options, it will just issue warnings
   4485       # or remarks (even with -Werror).  So we grep stderr for any message
   4486       # that says an option was ignored or not supported.
   4487       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4488       #   icc: Command line warning: ignoring option '-M'; no argument required
   4489       # The diagnosis changed in icc 8.0:
   4490       #   icc: Command line remark: option '-MP' not supported
   4491       if (grep 'ignoring option' conftest.err ||
   4492           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4493         am_cv_CC_dependencies_compiler_type=$depmode
   4494         break
   4495       fi
   4496     fi
   4497   done
   4498 
   4499   cd ..
   4500   rm -rf conftest.dir
   4501 else
   4502   am_cv_CC_dependencies_compiler_type=none
   4503 fi
   4504 
   4505 fi
   4506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4507 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4508 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4509 
   4510  if
   4511   test "x$enable_dependency_tracking" != xno \
   4512   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4513   am__fastdepCC_TRUE=
   4514   am__fastdepCC_FALSE='#'
   4515 else
   4516   am__fastdepCC_TRUE='#'
   4517   am__fastdepCC_FALSE=
   4518 fi
   4519 
   4520 
   4521 
   4522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4523 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4524 if test ${ac_cv_c_undeclared_builtin_options+y}
   4525 then :
   4526   printf %s "(cached) " >&6
   4527 else $as_nop
   4528   ac_save_CFLAGS=$CFLAGS
   4529    ac_cv_c_undeclared_builtin_options='cannot detect'
   4530    for ac_arg in '' -fno-builtin; do
   4531      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4532      # This test program should *not* compile successfully.
   4533      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4534 /* end confdefs.h.  */
   4535 
   4536 int
   4537 main (void)
   4538 {
   4539 (void) strchr;
   4540   ;
   4541   return 0;
   4542 }
   4543 _ACEOF
   4544 if ac_fn_c_try_compile "$LINENO"
   4545 then :
   4546 
   4547 else $as_nop
   4548   # This test program should compile successfully.
   4549         # No library function is consistently available on
   4550         # freestanding implementations, so test against a dummy
   4551         # declaration.  Include always-available headers on the
   4552         # off chance that they somehow elicit warnings.
   4553         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4554 /* end confdefs.h.  */
   4555 #include <float.h>
   4556 #include <limits.h>
   4557 #include <stdarg.h>
   4558 #include <stddef.h>
   4559 extern void ac_decl (int, char *);
   4560 
   4561 int
   4562 main (void)
   4563 {
   4564 (void) ac_decl (0, (char *) 0);
   4565   (void) ac_decl;
   4566 
   4567   ;
   4568   return 0;
   4569 }
   4570 _ACEOF
   4571 if ac_fn_c_try_compile "$LINENO"
   4572 then :
   4573   if test x"$ac_arg" = x
   4574 then :
   4575   ac_cv_c_undeclared_builtin_options='none needed'
   4576 else $as_nop
   4577   ac_cv_c_undeclared_builtin_options=$ac_arg
   4578 fi
   4579           break
   4580 fi
   4581 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4582 fi
   4583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4584     done
   4585     CFLAGS=$ac_save_CFLAGS
   4586 
   4587 fi
   4588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4589 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4590   case $ac_cv_c_undeclared_builtin_options in #(
   4591   'cannot detect') :
   4592     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4593 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4594 as_fn_error $? "cannot make $CC report undeclared builtins
   4595 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4596   'none needed') :
   4597     ac_c_undeclared_builtin_options='' ;; #(
   4598   *) :
   4599     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4600 esac
   4601 
   4602 ac_header= ac_cache=
   4603 for ac_item in $ac_header_c_list
   4604 do
   4605   if test $ac_cache; then
   4606     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4607     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4608       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4609     fi
   4610     ac_header= ac_cache=
   4611   elif test $ac_header; then
   4612     ac_cache=$ac_item
   4613   else
   4614     ac_header=$ac_item
   4615   fi
   4616 done
   4617 
   4618 
   4619 
   4620 
   4621 
   4622 
   4623 
   4624 
   4625 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4626 then :
   4627 
   4628 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4629 
   4630 fi
   4631 
   4632 
   4633 
   4634 
   4635 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4636 if test "x$ac_cv_have_decl___clang__" = xyes
   4637 then :
   4638   CLANGCC="yes"
   4639 else $as_nop
   4640   CLANGCC="no"
   4641 fi
   4642 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4643 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4644 then :
   4645   INTELCC="yes"
   4646 else $as_nop
   4647   INTELCC="no"
   4648 fi
   4649 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4650 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4651 then :
   4652   SUNCC="yes"
   4653 else $as_nop
   4654   SUNCC="no"
   4655 fi
   4656 
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 
   4664 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4665 	if test -n "$ac_tool_prefix"; then
   4666   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4667 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4669 printf %s "checking for $ac_word... " >&6; }
   4670 if test ${ac_cv_path_PKG_CONFIG+y}
   4671 then :
   4672   printf %s "(cached) " >&6
   4673 else $as_nop
   4674   case $PKG_CONFIG in
   4675   [\\/]* | ?:[\\/]*)
   4676   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4677   ;;
   4678   *)
   4679   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4680 for as_dir in $PATH
   4681 do
   4682   IFS=$as_save_IFS
   4683   case $as_dir in #(((
   4684     '') as_dir=./ ;;
   4685     */) ;;
   4686     *) as_dir=$as_dir/ ;;
   4687   esac
   4688     for ac_exec_ext in '' $ac_executable_extensions; do
   4689   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4690     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4691     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4692     break 2
   4693   fi
   4694 done
   4695   done
   4696 IFS=$as_save_IFS
   4697 
   4698   ;;
   4699 esac
   4700 fi
   4701 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4702 if test -n "$PKG_CONFIG"; then
   4703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4704 printf "%s\n" "$PKG_CONFIG" >&6; }
   4705 else
   4706   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4707 printf "%s\n" "no" >&6; }
   4708 fi
   4709 
   4710 
   4711 fi
   4712 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4713   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4714   # Extract the first word of "pkg-config", so it can be a program name with args.
   4715 set dummy pkg-config; ac_word=$2
   4716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4717 printf %s "checking for $ac_word... " >&6; }
   4718 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4719 then :
   4720   printf %s "(cached) " >&6
   4721 else $as_nop
   4722   case $ac_pt_PKG_CONFIG in
   4723   [\\/]* | ?:[\\/]*)
   4724   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4725   ;;
   4726   *)
   4727   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4728 for as_dir in $PATH
   4729 do
   4730   IFS=$as_save_IFS
   4731   case $as_dir in #(((
   4732     '') as_dir=./ ;;
   4733     */) ;;
   4734     *) as_dir=$as_dir/ ;;
   4735   esac
   4736     for ac_exec_ext in '' $ac_executable_extensions; do
   4737   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4738     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4739     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4740     break 2
   4741   fi
   4742 done
   4743   done
   4744 IFS=$as_save_IFS
   4745 
   4746   ;;
   4747 esac
   4748 fi
   4749 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4750 if test -n "$ac_pt_PKG_CONFIG"; then
   4751   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4752 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4753 else
   4754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4755 printf "%s\n" "no" >&6; }
   4756 fi
   4757 
   4758   if test "x$ac_pt_PKG_CONFIG" = x; then
   4759     PKG_CONFIG=""
   4760   else
   4761     case $cross_compiling:$ac_tool_warned in
   4762 yes:)
   4763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4764 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4765 ac_tool_warned=yes ;;
   4766 esac
   4767     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4768   fi
   4769 else
   4770   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4771 fi
   4772 
   4773 fi
   4774 if test -n "$PKG_CONFIG"; then
   4775 	_pkg_min_version=0.9.0
   4776 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4777 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4778 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4779 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4780 printf "%s\n" "yes" >&6; }
   4781 	else
   4782 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4783 printf "%s\n" "no" >&6; }
   4784 		PKG_CONFIG=""
   4785 	fi
   4786 fi
   4787 
   4788 
   4789   # Make sure we can run config.sub.
   4790 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4791   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4792 
   4793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4794 printf %s "checking build system type... " >&6; }
   4795 if test ${ac_cv_build+y}
   4796 then :
   4797   printf %s "(cached) " >&6
   4798 else $as_nop
   4799   ac_build_alias=$build_alias
   4800 test "x$ac_build_alias" = x &&
   4801   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4802 test "x$ac_build_alias" = x &&
   4803   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4804 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4805   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4806 
   4807 fi
   4808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4809 printf "%s\n" "$ac_cv_build" >&6; }
   4810 case $ac_cv_build in
   4811 *-*-*) ;;
   4812 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4813 esac
   4814 build=$ac_cv_build
   4815 ac_save_IFS=$IFS; IFS='-'
   4816 set x $ac_cv_build
   4817 shift
   4818 build_cpu=$1
   4819 build_vendor=$2
   4820 shift; shift
   4821 # Remember, the first character of IFS is used to create $*,
   4822 # except with old shells:
   4823 build_os=$*
   4824 IFS=$ac_save_IFS
   4825 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4826 
   4827 
   4828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4829 printf %s "checking host system type... " >&6; }
   4830 if test ${ac_cv_host+y}
   4831 then :
   4832   printf %s "(cached) " >&6
   4833 else $as_nop
   4834   if test "x$host_alias" = x; then
   4835   ac_cv_host=$ac_cv_build
   4836 else
   4837   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4838     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4839 fi
   4840 
   4841 fi
   4842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4843 printf "%s\n" "$ac_cv_host" >&6; }
   4844 case $ac_cv_host in
   4845 *-*-*) ;;
   4846 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4847 esac
   4848 host=$ac_cv_host
   4849 ac_save_IFS=$IFS; IFS='-'
   4850 set x $ac_cv_host
   4851 shift
   4852 host_cpu=$1
   4853 host_vendor=$2
   4854 shift; shift
   4855 # Remember, the first character of IFS is used to create $*,
   4856 # except with old shells:
   4857 host_os=$*
   4858 IFS=$ac_save_IFS
   4859 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4860 
   4861 
   4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4863 printf %s "checking for a sed that does not truncate output... " >&6; }
   4864 if test ${ac_cv_path_SED+y}
   4865 then :
   4866   printf %s "(cached) " >&6
   4867 else $as_nop
   4868             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4869      for ac_i in 1 2 3 4 5 6 7; do
   4870        ac_script="$ac_script$as_nl$ac_script"
   4871      done
   4872      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4873      { ac_script=; unset ac_script;}
   4874      if test -z "$SED"; then
   4875   ac_path_SED_found=false
   4876   # Loop through the user's path and test for each of PROGNAME-LIST
   4877   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4878 for as_dir in $PATH
   4879 do
   4880   IFS=$as_save_IFS
   4881   case $as_dir in #(((
   4882     '') as_dir=./ ;;
   4883     */) ;;
   4884     *) as_dir=$as_dir/ ;;
   4885   esac
   4886     for ac_prog in sed gsed
   4887    do
   4888     for ac_exec_ext in '' $ac_executable_extensions; do
   4889       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4890       as_fn_executable_p "$ac_path_SED" || continue
   4891 # Check for GNU ac_path_SED and select it if it is found.
   4892   # Check for GNU $ac_path_SED
   4893 case `"$ac_path_SED" --version 2>&1` in
   4894 *GNU*)
   4895   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4896 *)
   4897   ac_count=0
   4898   printf %s 0123456789 >"conftest.in"
   4899   while :
   4900   do
   4901     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4902     mv "conftest.tmp" "conftest.in"
   4903     cp "conftest.in" "conftest.nl"
   4904     printf "%s\n" '' >> "conftest.nl"
   4905     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4906     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4907     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4908     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4909       # Best one so far, save it but keep looking for a better one
   4910       ac_cv_path_SED="$ac_path_SED"
   4911       ac_path_SED_max=$ac_count
   4912     fi
   4913     # 10*(2^10) chars as input seems more than enough
   4914     test $ac_count -gt 10 && break
   4915   done
   4916   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4917 esac
   4918 
   4919       $ac_path_SED_found && break 3
   4920     done
   4921   done
   4922   done
   4923 IFS=$as_save_IFS
   4924   if test -z "$ac_cv_path_SED"; then
   4925     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4926   fi
   4927 else
   4928   ac_cv_path_SED=$SED
   4929 fi
   4930 
   4931 fi
   4932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4933 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4934  SED="$ac_cv_path_SED"
   4935   rm -f conftest.sed
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 # Check whether --enable-selective-werror was given.
   4943 if test ${enable_selective_werror+y}
   4944 then :
   4945   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4946 else $as_nop
   4947   SELECTIVE_WERROR=yes
   4948 fi
   4949 
   4950 
   4951 
   4952 
   4953 
   4954 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4955 if test "x$SUNCC" = "xyes"; then
   4956     BASE_CFLAGS="-v"
   4957 else
   4958     BASE_CFLAGS=""
   4959 fi
   4960 
   4961 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 xorg_testset_save_CFLAGS="$CFLAGS"
   4976 
   4977 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4978 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4980 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4981 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4982 then :
   4983   printf %s "(cached) " >&6
   4984 else $as_nop
   4985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4986 /* end confdefs.h.  */
   4987 int i;
   4988 _ACEOF
   4989 if ac_fn_c_try_compile "$LINENO"
   4990 then :
   4991   xorg_cv_cc_flag_unknown_warning_option=yes
   4992 else $as_nop
   4993   xorg_cv_cc_flag_unknown_warning_option=no
   4994 fi
   4995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4996 fi
   4997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4998 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5000 	CFLAGS="$xorg_testset_save_CFLAGS"
   5001 fi
   5002 
   5003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5006 	fi
   5007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5008 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5009 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5010 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5011 then :
   5012   printf %s "(cached) " >&6
   5013 else $as_nop
   5014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5015 /* end confdefs.h.  */
   5016 int i;
   5017 _ACEOF
   5018 if ac_fn_c_try_compile "$LINENO"
   5019 then :
   5020   xorg_cv_cc_flag_unused_command_line_argument=yes
   5021 else $as_nop
   5022   xorg_cv_cc_flag_unused_command_line_argument=no
   5023 fi
   5024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5025 fi
   5026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5027 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5029 	CFLAGS="$xorg_testset_save_CFLAGS"
   5030 fi
   5031 
   5032 found="no"
   5033 
   5034 	if test $found = "no" ; then
   5035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5037 		fi
   5038 
   5039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5041 		fi
   5042 
   5043 		CFLAGS="$CFLAGS -Wall"
   5044 
   5045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5046 printf %s "checking if $CC supports -Wall... " >&6; }
   5047 		cacheid=xorg_cv_cc_flag__Wall
   5048 		if eval test \${$cacheid+y}
   5049 then :
   5050   printf %s "(cached) " >&6
   5051 else $as_nop
   5052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5053 /* end confdefs.h.  */
   5054 int i;
   5055 int
   5056 main (void)
   5057 {
   5058 
   5059   ;
   5060   return 0;
   5061 }
   5062 _ACEOF
   5063 if ac_fn_c_try_link "$LINENO"
   5064 then :
   5065   eval $cacheid=yes
   5066 else $as_nop
   5067   eval $cacheid=no
   5068 fi
   5069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5070     conftest$ac_exeext conftest.$ac_ext
   5071 fi
   5072 
   5073 
   5074 		CFLAGS="$xorg_testset_save_CFLAGS"
   5075 
   5076 		eval supported=\$$cacheid
   5077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5078 printf "%s\n" "$supported" >&6; }
   5079 		if test "$supported" = "yes" ; then
   5080 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5081 			found="yes"
   5082 		fi
   5083 	fi
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 xorg_testset_save_CFLAGS="$CFLAGS"
   5100 
   5101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5103 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5104 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5105 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5106 then :
   5107   printf %s "(cached) " >&6
   5108 else $as_nop
   5109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5110 /* end confdefs.h.  */
   5111 int i;
   5112 _ACEOF
   5113 if ac_fn_c_try_compile "$LINENO"
   5114 then :
   5115   xorg_cv_cc_flag_unknown_warning_option=yes
   5116 else $as_nop
   5117   xorg_cv_cc_flag_unknown_warning_option=no
   5118 fi
   5119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5120 fi
   5121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5122 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5123 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5124 	CFLAGS="$xorg_testset_save_CFLAGS"
   5125 fi
   5126 
   5127 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5128 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5129 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5130 	fi
   5131 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5132 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5133 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5134 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5135 then :
   5136   printf %s "(cached) " >&6
   5137 else $as_nop
   5138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5139 /* end confdefs.h.  */
   5140 int i;
   5141 _ACEOF
   5142 if ac_fn_c_try_compile "$LINENO"
   5143 then :
   5144   xorg_cv_cc_flag_unused_command_line_argument=yes
   5145 else $as_nop
   5146   xorg_cv_cc_flag_unused_command_line_argument=no
   5147 fi
   5148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5149 fi
   5150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5151 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5153 	CFLAGS="$xorg_testset_save_CFLAGS"
   5154 fi
   5155 
   5156 found="no"
   5157 
   5158 	if test $found = "no" ; then
   5159 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5161 		fi
   5162 
   5163 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5165 		fi
   5166 
   5167 		CFLAGS="$CFLAGS -Wpointer-arith"
   5168 
   5169 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5170 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5171 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5172 		if eval test \${$cacheid+y}
   5173 then :
   5174   printf %s "(cached) " >&6
   5175 else $as_nop
   5176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5177 /* end confdefs.h.  */
   5178 int i;
   5179 int
   5180 main (void)
   5181 {
   5182 
   5183   ;
   5184   return 0;
   5185 }
   5186 _ACEOF
   5187 if ac_fn_c_try_link "$LINENO"
   5188 then :
   5189   eval $cacheid=yes
   5190 else $as_nop
   5191   eval $cacheid=no
   5192 fi
   5193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5194     conftest$ac_exeext conftest.$ac_ext
   5195 fi
   5196 
   5197 
   5198 		CFLAGS="$xorg_testset_save_CFLAGS"
   5199 
   5200 		eval supported=\$$cacheid
   5201 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5202 printf "%s\n" "$supported" >&6; }
   5203 		if test "$supported" = "yes" ; then
   5204 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5205 			found="yes"
   5206 		fi
   5207 	fi
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 xorg_testset_save_CFLAGS="$CFLAGS"
   5224 
   5225 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5226 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5227 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5228 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5229 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5230 then :
   5231   printf %s "(cached) " >&6
   5232 else $as_nop
   5233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5234 /* end confdefs.h.  */
   5235 int i;
   5236 _ACEOF
   5237 if ac_fn_c_try_compile "$LINENO"
   5238 then :
   5239   xorg_cv_cc_flag_unknown_warning_option=yes
   5240 else $as_nop
   5241   xorg_cv_cc_flag_unknown_warning_option=no
   5242 fi
   5243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5244 fi
   5245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5246 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5247 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5248 	CFLAGS="$xorg_testset_save_CFLAGS"
   5249 fi
   5250 
   5251 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5252 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5253 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5254 	fi
   5255 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5256 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5257 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5258 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5259 then :
   5260   printf %s "(cached) " >&6
   5261 else $as_nop
   5262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5263 /* end confdefs.h.  */
   5264 int i;
   5265 _ACEOF
   5266 if ac_fn_c_try_compile "$LINENO"
   5267 then :
   5268   xorg_cv_cc_flag_unused_command_line_argument=yes
   5269 else $as_nop
   5270   xorg_cv_cc_flag_unused_command_line_argument=no
   5271 fi
   5272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5273 fi
   5274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5275 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5277 	CFLAGS="$xorg_testset_save_CFLAGS"
   5278 fi
   5279 
   5280 found="no"
   5281 
   5282 	if test $found = "no" ; then
   5283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5285 		fi
   5286 
   5287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5289 		fi
   5290 
   5291 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5292 
   5293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5294 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5295 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5296 		if eval test \${$cacheid+y}
   5297 then :
   5298   printf %s "(cached) " >&6
   5299 else $as_nop
   5300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5301 /* end confdefs.h.  */
   5302 int i;
   5303 int
   5304 main (void)
   5305 {
   5306 
   5307   ;
   5308   return 0;
   5309 }
   5310 _ACEOF
   5311 if ac_fn_c_try_link "$LINENO"
   5312 then :
   5313   eval $cacheid=yes
   5314 else $as_nop
   5315   eval $cacheid=no
   5316 fi
   5317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5318     conftest$ac_exeext conftest.$ac_ext
   5319 fi
   5320 
   5321 
   5322 		CFLAGS="$xorg_testset_save_CFLAGS"
   5323 
   5324 		eval supported=\$$cacheid
   5325 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5326 printf "%s\n" "$supported" >&6; }
   5327 		if test "$supported" = "yes" ; then
   5328 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5329 			found="yes"
   5330 		fi
   5331 	fi
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 xorg_testset_save_CFLAGS="$CFLAGS"
   5348 
   5349 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5350 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5351 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5352 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5353 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5354 then :
   5355   printf %s "(cached) " >&6
   5356 else $as_nop
   5357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5358 /* end confdefs.h.  */
   5359 int i;
   5360 _ACEOF
   5361 if ac_fn_c_try_compile "$LINENO"
   5362 then :
   5363   xorg_cv_cc_flag_unknown_warning_option=yes
   5364 else $as_nop
   5365   xorg_cv_cc_flag_unknown_warning_option=no
   5366 fi
   5367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5368 fi
   5369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5370 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5371 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5372 	CFLAGS="$xorg_testset_save_CFLAGS"
   5373 fi
   5374 
   5375 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5376 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5377 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5378 	fi
   5379 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5380 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5381 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5382 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5383 then :
   5384   printf %s "(cached) " >&6
   5385 else $as_nop
   5386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5387 /* end confdefs.h.  */
   5388 int i;
   5389 _ACEOF
   5390 if ac_fn_c_try_compile "$LINENO"
   5391 then :
   5392   xorg_cv_cc_flag_unused_command_line_argument=yes
   5393 else $as_nop
   5394   xorg_cv_cc_flag_unused_command_line_argument=no
   5395 fi
   5396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5397 fi
   5398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5399 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5400 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5401 	CFLAGS="$xorg_testset_save_CFLAGS"
   5402 fi
   5403 
   5404 found="no"
   5405 
   5406 	if test $found = "no" ; then
   5407 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5409 		fi
   5410 
   5411 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5413 		fi
   5414 
   5415 		CFLAGS="$CFLAGS -Wformat=2"
   5416 
   5417 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5418 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5419 		cacheid=xorg_cv_cc_flag__Wformat_2
   5420 		if eval test \${$cacheid+y}
   5421 then :
   5422   printf %s "(cached) " >&6
   5423 else $as_nop
   5424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5425 /* end confdefs.h.  */
   5426 int i;
   5427 int
   5428 main (void)
   5429 {
   5430 
   5431   ;
   5432   return 0;
   5433 }
   5434 _ACEOF
   5435 if ac_fn_c_try_link "$LINENO"
   5436 then :
   5437   eval $cacheid=yes
   5438 else $as_nop
   5439   eval $cacheid=no
   5440 fi
   5441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5442     conftest$ac_exeext conftest.$ac_ext
   5443 fi
   5444 
   5445 
   5446 		CFLAGS="$xorg_testset_save_CFLAGS"
   5447 
   5448 		eval supported=\$$cacheid
   5449 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5450 printf "%s\n" "$supported" >&6; }
   5451 		if test "$supported" = "yes" ; then
   5452 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5453 			found="yes"
   5454 		fi
   5455 	fi
   5456 
   5457 	if test $found = "no" ; then
   5458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5460 		fi
   5461 
   5462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5464 		fi
   5465 
   5466 		CFLAGS="$CFLAGS -Wformat"
   5467 
   5468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5469 printf %s "checking if $CC supports -Wformat... " >&6; }
   5470 		cacheid=xorg_cv_cc_flag__Wformat
   5471 		if eval test \${$cacheid+y}
   5472 then :
   5473   printf %s "(cached) " >&6
   5474 else $as_nop
   5475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5476 /* end confdefs.h.  */
   5477 int i;
   5478 int
   5479 main (void)
   5480 {
   5481 
   5482   ;
   5483   return 0;
   5484 }
   5485 _ACEOF
   5486 if ac_fn_c_try_link "$LINENO"
   5487 then :
   5488   eval $cacheid=yes
   5489 else $as_nop
   5490   eval $cacheid=no
   5491 fi
   5492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5493     conftest$ac_exeext conftest.$ac_ext
   5494 fi
   5495 
   5496 
   5497 		CFLAGS="$xorg_testset_save_CFLAGS"
   5498 
   5499 		eval supported=\$$cacheid
   5500 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5501 printf "%s\n" "$supported" >&6; }
   5502 		if test "$supported" = "yes" ; then
   5503 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5504 			found="yes"
   5505 		fi
   5506 	fi
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 xorg_testset_save_CFLAGS="$CFLAGS"
   5525 
   5526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5528 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5529 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5530 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5531 then :
   5532   printf %s "(cached) " >&6
   5533 else $as_nop
   5534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5535 /* end confdefs.h.  */
   5536 int i;
   5537 _ACEOF
   5538 if ac_fn_c_try_compile "$LINENO"
   5539 then :
   5540   xorg_cv_cc_flag_unknown_warning_option=yes
   5541 else $as_nop
   5542   xorg_cv_cc_flag_unknown_warning_option=no
   5543 fi
   5544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5545 fi
   5546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5547 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5548 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5549 	CFLAGS="$xorg_testset_save_CFLAGS"
   5550 fi
   5551 
   5552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5553 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5555 	fi
   5556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5557 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5558 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5559 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5560 then :
   5561   printf %s "(cached) " >&6
   5562 else $as_nop
   5563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5564 /* end confdefs.h.  */
   5565 int i;
   5566 _ACEOF
   5567 if ac_fn_c_try_compile "$LINENO"
   5568 then :
   5569   xorg_cv_cc_flag_unused_command_line_argument=yes
   5570 else $as_nop
   5571   xorg_cv_cc_flag_unused_command_line_argument=no
   5572 fi
   5573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5574 fi
   5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5576 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5577 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5578 	CFLAGS="$xorg_testset_save_CFLAGS"
   5579 fi
   5580 
   5581 found="no"
   5582 
   5583 	if test $found = "no" ; then
   5584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5586 		fi
   5587 
   5588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5590 		fi
   5591 
   5592 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5593 
   5594 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5595 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5596 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5597 		if eval test \${$cacheid+y}
   5598 then :
   5599   printf %s "(cached) " >&6
   5600 else $as_nop
   5601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5602 /* end confdefs.h.  */
   5603 int i;
   5604 int
   5605 main (void)
   5606 {
   5607 
   5608   ;
   5609   return 0;
   5610 }
   5611 _ACEOF
   5612 if ac_fn_c_try_link "$LINENO"
   5613 then :
   5614   eval $cacheid=yes
   5615 else $as_nop
   5616   eval $cacheid=no
   5617 fi
   5618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5619     conftest$ac_exeext conftest.$ac_ext
   5620 fi
   5621 
   5622 
   5623 		CFLAGS="$xorg_testset_save_CFLAGS"
   5624 
   5625 		eval supported=\$$cacheid
   5626 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5627 printf "%s\n" "$supported" >&6; }
   5628 		if test "$supported" = "yes" ; then
   5629 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5630 			found="yes"
   5631 		fi
   5632 	fi
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 xorg_testset_save_CFLAGS="$CFLAGS"
   5649 
   5650 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5652 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5653 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5654 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5655 then :
   5656   printf %s "(cached) " >&6
   5657 else $as_nop
   5658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5659 /* end confdefs.h.  */
   5660 int i;
   5661 _ACEOF
   5662 if ac_fn_c_try_compile "$LINENO"
   5663 then :
   5664   xorg_cv_cc_flag_unknown_warning_option=yes
   5665 else $as_nop
   5666   xorg_cv_cc_flag_unknown_warning_option=no
   5667 fi
   5668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5669 fi
   5670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5671 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5672 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5673 	CFLAGS="$xorg_testset_save_CFLAGS"
   5674 fi
   5675 
   5676 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5677 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5678 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5679 	fi
   5680 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5681 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5682 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5683 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5684 then :
   5685   printf %s "(cached) " >&6
   5686 else $as_nop
   5687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5688 /* end confdefs.h.  */
   5689 int i;
   5690 _ACEOF
   5691 if ac_fn_c_try_compile "$LINENO"
   5692 then :
   5693   xorg_cv_cc_flag_unused_command_line_argument=yes
   5694 else $as_nop
   5695   xorg_cv_cc_flag_unused_command_line_argument=no
   5696 fi
   5697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5698 fi
   5699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5700 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5701 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5702 	CFLAGS="$xorg_testset_save_CFLAGS"
   5703 fi
   5704 
   5705 found="no"
   5706 
   5707 	if test $found = "no" ; then
   5708 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5710 		fi
   5711 
   5712 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5714 		fi
   5715 
   5716 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5717 
   5718 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5719 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5720 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5721 		if eval test \${$cacheid+y}
   5722 then :
   5723   printf %s "(cached) " >&6
   5724 else $as_nop
   5725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5726 /* end confdefs.h.  */
   5727 int i;
   5728 int
   5729 main (void)
   5730 {
   5731 
   5732   ;
   5733   return 0;
   5734 }
   5735 _ACEOF
   5736 if ac_fn_c_try_link "$LINENO"
   5737 then :
   5738   eval $cacheid=yes
   5739 else $as_nop
   5740   eval $cacheid=no
   5741 fi
   5742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5743     conftest$ac_exeext conftest.$ac_ext
   5744 fi
   5745 
   5746 
   5747 		CFLAGS="$xorg_testset_save_CFLAGS"
   5748 
   5749 		eval supported=\$$cacheid
   5750 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5751 printf "%s\n" "$supported" >&6; }
   5752 		if test "$supported" = "yes" ; then
   5753 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5754 			found="yes"
   5755 		fi
   5756 	fi
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 xorg_testset_save_CFLAGS="$CFLAGS"
   5773 
   5774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5776 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5777 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5778 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5779 then :
   5780   printf %s "(cached) " >&6
   5781 else $as_nop
   5782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5783 /* end confdefs.h.  */
   5784 int i;
   5785 _ACEOF
   5786 if ac_fn_c_try_compile "$LINENO"
   5787 then :
   5788   xorg_cv_cc_flag_unknown_warning_option=yes
   5789 else $as_nop
   5790   xorg_cv_cc_flag_unknown_warning_option=no
   5791 fi
   5792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5793 fi
   5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5795 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5796 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5797 	CFLAGS="$xorg_testset_save_CFLAGS"
   5798 fi
   5799 
   5800 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5801 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5802 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5803 	fi
   5804 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5805 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5806 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5807 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5808 then :
   5809   printf %s "(cached) " >&6
   5810 else $as_nop
   5811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5812 /* end confdefs.h.  */
   5813 int i;
   5814 _ACEOF
   5815 if ac_fn_c_try_compile "$LINENO"
   5816 then :
   5817   xorg_cv_cc_flag_unused_command_line_argument=yes
   5818 else $as_nop
   5819   xorg_cv_cc_flag_unused_command_line_argument=no
   5820 fi
   5821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5822 fi
   5823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5824 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5825 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5826 	CFLAGS="$xorg_testset_save_CFLAGS"
   5827 fi
   5828 
   5829 found="no"
   5830 
   5831 	if test $found = "no" ; then
   5832 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5833 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5834 		fi
   5835 
   5836 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5837 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5838 		fi
   5839 
   5840 		CFLAGS="$CFLAGS -Wnested-externs"
   5841 
   5842 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5843 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5844 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5845 		if eval test \${$cacheid+y}
   5846 then :
   5847   printf %s "(cached) " >&6
   5848 else $as_nop
   5849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5850 /* end confdefs.h.  */
   5851 int i;
   5852 int
   5853 main (void)
   5854 {
   5855 
   5856   ;
   5857   return 0;
   5858 }
   5859 _ACEOF
   5860 if ac_fn_c_try_link "$LINENO"
   5861 then :
   5862   eval $cacheid=yes
   5863 else $as_nop
   5864   eval $cacheid=no
   5865 fi
   5866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5867     conftest$ac_exeext conftest.$ac_ext
   5868 fi
   5869 
   5870 
   5871 		CFLAGS="$xorg_testset_save_CFLAGS"
   5872 
   5873 		eval supported=\$$cacheid
   5874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5875 printf "%s\n" "$supported" >&6; }
   5876 		if test "$supported" = "yes" ; then
   5877 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5878 			found="yes"
   5879 		fi
   5880 	fi
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 xorg_testset_save_CFLAGS="$CFLAGS"
   5897 
   5898 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5899 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5900 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5901 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5902 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5903 then :
   5904   printf %s "(cached) " >&6
   5905 else $as_nop
   5906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5907 /* end confdefs.h.  */
   5908 int i;
   5909 _ACEOF
   5910 if ac_fn_c_try_compile "$LINENO"
   5911 then :
   5912   xorg_cv_cc_flag_unknown_warning_option=yes
   5913 else $as_nop
   5914   xorg_cv_cc_flag_unknown_warning_option=no
   5915 fi
   5916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   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 $as_nop
   5935   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 $as_nop
   5943   xorg_cv_cc_flag_unused_command_line_argument=no
   5944 fi
   5945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5946 fi
   5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5948 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5949 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5950 	CFLAGS="$xorg_testset_save_CFLAGS"
   5951 fi
   5952 
   5953 found="no"
   5954 
   5955 	if test $found = "no" ; then
   5956 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5957 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5958 		fi
   5959 
   5960 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5961 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5962 		fi
   5963 
   5964 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5965 
   5966 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5967 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5968 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5969 		if eval test \${$cacheid+y}
   5970 then :
   5971   printf %s "(cached) " >&6
   5972 else $as_nop
   5973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5974 /* end confdefs.h.  */
   5975 int i;
   5976 int
   5977 main (void)
   5978 {
   5979 
   5980   ;
   5981   return 0;
   5982 }
   5983 _ACEOF
   5984 if ac_fn_c_try_link "$LINENO"
   5985 then :
   5986   eval $cacheid=yes
   5987 else $as_nop
   5988   eval $cacheid=no
   5989 fi
   5990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5991     conftest$ac_exeext conftest.$ac_ext
   5992 fi
   5993 
   5994 
   5995 		CFLAGS="$xorg_testset_save_CFLAGS"
   5996 
   5997 		eval supported=\$$cacheid
   5998 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5999 printf "%s\n" "$supported" >&6; }
   6000 		if test "$supported" = "yes" ; then
   6001 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6002 			found="yes"
   6003 		fi
   6004 	fi
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 xorg_testset_save_CFLAGS="$CFLAGS"
   6021 
   6022 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6023 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6024 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6025 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6026 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6027 then :
   6028   printf %s "(cached) " >&6
   6029 else $as_nop
   6030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6031 /* end confdefs.h.  */
   6032 int i;
   6033 _ACEOF
   6034 if ac_fn_c_try_compile "$LINENO"
   6035 then :
   6036   xorg_cv_cc_flag_unknown_warning_option=yes
   6037 else $as_nop
   6038   xorg_cv_cc_flag_unknown_warning_option=no
   6039 fi
   6040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6041 fi
   6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6043 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6044 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6045 	CFLAGS="$xorg_testset_save_CFLAGS"
   6046 fi
   6047 
   6048 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6049 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6050 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6051 	fi
   6052 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6053 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6054 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6055 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6056 then :
   6057   printf %s "(cached) " >&6
   6058 else $as_nop
   6059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6060 /* end confdefs.h.  */
   6061 int i;
   6062 _ACEOF
   6063 if ac_fn_c_try_compile "$LINENO"
   6064 then :
   6065   xorg_cv_cc_flag_unused_command_line_argument=yes
   6066 else $as_nop
   6067   xorg_cv_cc_flag_unused_command_line_argument=no
   6068 fi
   6069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6070 fi
   6071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6072 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6074 	CFLAGS="$xorg_testset_save_CFLAGS"
   6075 fi
   6076 
   6077 found="no"
   6078 
   6079 	if test $found = "no" ; then
   6080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6082 		fi
   6083 
   6084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6086 		fi
   6087 
   6088 		CFLAGS="$CFLAGS -Wold-style-definition"
   6089 
   6090 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6091 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6092 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6093 		if eval test \${$cacheid+y}
   6094 then :
   6095   printf %s "(cached) " >&6
   6096 else $as_nop
   6097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6098 /* end confdefs.h.  */
   6099 int i;
   6100 int
   6101 main (void)
   6102 {
   6103 
   6104   ;
   6105   return 0;
   6106 }
   6107 _ACEOF
   6108 if ac_fn_c_try_link "$LINENO"
   6109 then :
   6110   eval $cacheid=yes
   6111 else $as_nop
   6112   eval $cacheid=no
   6113 fi
   6114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6115     conftest$ac_exeext conftest.$ac_ext
   6116 fi
   6117 
   6118 
   6119 		CFLAGS="$xorg_testset_save_CFLAGS"
   6120 
   6121 		eval supported=\$$cacheid
   6122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6123 printf "%s\n" "$supported" >&6; }
   6124 		if test "$supported" = "yes" ; then
   6125 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6126 			found="yes"
   6127 		fi
   6128 	fi
   6129 
   6130 	if test $found = "no" ; then
   6131 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6132 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6133 		fi
   6134 
   6135 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6136 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6137 		fi
   6138 
   6139 		CFLAGS="$CFLAGS -fd"
   6140 
   6141 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6142 printf %s "checking if $CC supports -fd... " >&6; }
   6143 		cacheid=xorg_cv_cc_flag__fd
   6144 		if eval test \${$cacheid+y}
   6145 then :
   6146   printf %s "(cached) " >&6
   6147 else $as_nop
   6148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6149 /* end confdefs.h.  */
   6150 int i;
   6151 int
   6152 main (void)
   6153 {
   6154 
   6155   ;
   6156   return 0;
   6157 }
   6158 _ACEOF
   6159 if ac_fn_c_try_link "$LINENO"
   6160 then :
   6161   eval $cacheid=yes
   6162 else $as_nop
   6163   eval $cacheid=no
   6164 fi
   6165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6166     conftest$ac_exeext conftest.$ac_ext
   6167 fi
   6168 
   6169 
   6170 		CFLAGS="$xorg_testset_save_CFLAGS"
   6171 
   6172 		eval supported=\$$cacheid
   6173 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6174 printf "%s\n" "$supported" >&6; }
   6175 		if test "$supported" = "yes" ; then
   6176 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6177 			found="yes"
   6178 		fi
   6179 	fi
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 xorg_testset_save_CFLAGS="$CFLAGS"
   6196 
   6197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6199 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6200 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6201 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6202 then :
   6203   printf %s "(cached) " >&6
   6204 else $as_nop
   6205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6206 /* end confdefs.h.  */
   6207 int i;
   6208 _ACEOF
   6209 if ac_fn_c_try_compile "$LINENO"
   6210 then :
   6211   xorg_cv_cc_flag_unknown_warning_option=yes
   6212 else $as_nop
   6213   xorg_cv_cc_flag_unknown_warning_option=no
   6214 fi
   6215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6216 fi
   6217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6218 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6219 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6220 	CFLAGS="$xorg_testset_save_CFLAGS"
   6221 fi
   6222 
   6223 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6224 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6225 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6226 	fi
   6227 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6228 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6229 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6230 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6231 then :
   6232   printf %s "(cached) " >&6
   6233 else $as_nop
   6234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6235 /* end confdefs.h.  */
   6236 int i;
   6237 _ACEOF
   6238 if ac_fn_c_try_compile "$LINENO"
   6239 then :
   6240   xorg_cv_cc_flag_unused_command_line_argument=yes
   6241 else $as_nop
   6242   xorg_cv_cc_flag_unused_command_line_argument=no
   6243 fi
   6244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6245 fi
   6246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6247 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6249 	CFLAGS="$xorg_testset_save_CFLAGS"
   6250 fi
   6251 
   6252 found="no"
   6253 
   6254 	if test $found = "no" ; then
   6255 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6257 		fi
   6258 
   6259 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6261 		fi
   6262 
   6263 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6264 
   6265 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6266 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6267 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6268 		if eval test \${$cacheid+y}
   6269 then :
   6270   printf %s "(cached) " >&6
   6271 else $as_nop
   6272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6273 /* end confdefs.h.  */
   6274 int i;
   6275 int
   6276 main (void)
   6277 {
   6278 
   6279   ;
   6280   return 0;
   6281 }
   6282 _ACEOF
   6283 if ac_fn_c_try_link "$LINENO"
   6284 then :
   6285   eval $cacheid=yes
   6286 else $as_nop
   6287   eval $cacheid=no
   6288 fi
   6289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6290     conftest$ac_exeext conftest.$ac_ext
   6291 fi
   6292 
   6293 
   6294 		CFLAGS="$xorg_testset_save_CFLAGS"
   6295 
   6296 		eval supported=\$$cacheid
   6297 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6298 printf "%s\n" "$supported" >&6; }
   6299 		if test "$supported" = "yes" ; then
   6300 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6301 			found="yes"
   6302 		fi
   6303 	fi
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 # This chunk adds additional warnings that could catch undesired effects.
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 xorg_testset_save_CFLAGS="$CFLAGS"
   6324 
   6325 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6326 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6327 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6328 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6329 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6330 then :
   6331   printf %s "(cached) " >&6
   6332 else $as_nop
   6333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6334 /* end confdefs.h.  */
   6335 int i;
   6336 _ACEOF
   6337 if ac_fn_c_try_compile "$LINENO"
   6338 then :
   6339   xorg_cv_cc_flag_unknown_warning_option=yes
   6340 else $as_nop
   6341   xorg_cv_cc_flag_unknown_warning_option=no
   6342 fi
   6343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6344 fi
   6345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6346 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6347 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6348 	CFLAGS="$xorg_testset_save_CFLAGS"
   6349 fi
   6350 
   6351 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6352 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6353 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6354 	fi
   6355 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6356 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6357 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6358 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6359 then :
   6360   printf %s "(cached) " >&6
   6361 else $as_nop
   6362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6363 /* end confdefs.h.  */
   6364 int i;
   6365 _ACEOF
   6366 if ac_fn_c_try_compile "$LINENO"
   6367 then :
   6368   xorg_cv_cc_flag_unused_command_line_argument=yes
   6369 else $as_nop
   6370   xorg_cv_cc_flag_unused_command_line_argument=no
   6371 fi
   6372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6373 fi
   6374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6375 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6376 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6377 	CFLAGS="$xorg_testset_save_CFLAGS"
   6378 fi
   6379 
   6380 found="no"
   6381 
   6382 	if test $found = "no" ; then
   6383 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6384 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6385 		fi
   6386 
   6387 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6388 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6389 		fi
   6390 
   6391 		CFLAGS="$CFLAGS -Wunused"
   6392 
   6393 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6394 printf %s "checking if $CC supports -Wunused... " >&6; }
   6395 		cacheid=xorg_cv_cc_flag__Wunused
   6396 		if eval test \${$cacheid+y}
   6397 then :
   6398   printf %s "(cached) " >&6
   6399 else $as_nop
   6400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6401 /* end confdefs.h.  */
   6402 int i;
   6403 int
   6404 main (void)
   6405 {
   6406 
   6407   ;
   6408   return 0;
   6409 }
   6410 _ACEOF
   6411 if ac_fn_c_try_link "$LINENO"
   6412 then :
   6413   eval $cacheid=yes
   6414 else $as_nop
   6415   eval $cacheid=no
   6416 fi
   6417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6418     conftest$ac_exeext conftest.$ac_ext
   6419 fi
   6420 
   6421 
   6422 		CFLAGS="$xorg_testset_save_CFLAGS"
   6423 
   6424 		eval supported=\$$cacheid
   6425 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6426 printf "%s\n" "$supported" >&6; }
   6427 		if test "$supported" = "yes" ; then
   6428 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6429 			found="yes"
   6430 		fi
   6431 	fi
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 xorg_testset_save_CFLAGS="$CFLAGS"
   6448 
   6449 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6450 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6451 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6452 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6453 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6454 then :
   6455   printf %s "(cached) " >&6
   6456 else $as_nop
   6457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6458 /* end confdefs.h.  */
   6459 int i;
   6460 _ACEOF
   6461 if ac_fn_c_try_compile "$LINENO"
   6462 then :
   6463   xorg_cv_cc_flag_unknown_warning_option=yes
   6464 else $as_nop
   6465   xorg_cv_cc_flag_unknown_warning_option=no
   6466 fi
   6467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6468 fi
   6469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6470 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6471 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6472 	CFLAGS="$xorg_testset_save_CFLAGS"
   6473 fi
   6474 
   6475 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6476 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6477 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6478 	fi
   6479 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6480 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6481 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6482 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6483 then :
   6484   printf %s "(cached) " >&6
   6485 else $as_nop
   6486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6487 /* end confdefs.h.  */
   6488 int i;
   6489 _ACEOF
   6490 if ac_fn_c_try_compile "$LINENO"
   6491 then :
   6492   xorg_cv_cc_flag_unused_command_line_argument=yes
   6493 else $as_nop
   6494   xorg_cv_cc_flag_unused_command_line_argument=no
   6495 fi
   6496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6497 fi
   6498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6499 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6500 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6501 	CFLAGS="$xorg_testset_save_CFLAGS"
   6502 fi
   6503 
   6504 found="no"
   6505 
   6506 	if test $found = "no" ; then
   6507 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6508 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6509 		fi
   6510 
   6511 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6512 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6513 		fi
   6514 
   6515 		CFLAGS="$CFLAGS -Wuninitialized"
   6516 
   6517 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6518 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6519 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6520 		if eval test \${$cacheid+y}
   6521 then :
   6522   printf %s "(cached) " >&6
   6523 else $as_nop
   6524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6525 /* end confdefs.h.  */
   6526 int i;
   6527 int
   6528 main (void)
   6529 {
   6530 
   6531   ;
   6532   return 0;
   6533 }
   6534 _ACEOF
   6535 if ac_fn_c_try_link "$LINENO"
   6536 then :
   6537   eval $cacheid=yes
   6538 else $as_nop
   6539   eval $cacheid=no
   6540 fi
   6541 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6542     conftest$ac_exeext conftest.$ac_ext
   6543 fi
   6544 
   6545 
   6546 		CFLAGS="$xorg_testset_save_CFLAGS"
   6547 
   6548 		eval supported=\$$cacheid
   6549 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6550 printf "%s\n" "$supported" >&6; }
   6551 		if test "$supported" = "yes" ; then
   6552 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6553 			found="yes"
   6554 		fi
   6555 	fi
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 xorg_testset_save_CFLAGS="$CFLAGS"
   6572 
   6573 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6574 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6575 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6576 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6577 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6578 then :
   6579   printf %s "(cached) " >&6
   6580 else $as_nop
   6581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6582 /* end confdefs.h.  */
   6583 int i;
   6584 _ACEOF
   6585 if ac_fn_c_try_compile "$LINENO"
   6586 then :
   6587   xorg_cv_cc_flag_unknown_warning_option=yes
   6588 else $as_nop
   6589   xorg_cv_cc_flag_unknown_warning_option=no
   6590 fi
   6591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6592 fi
   6593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6594 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6595 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6596 	CFLAGS="$xorg_testset_save_CFLAGS"
   6597 fi
   6598 
   6599 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6600 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6601 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6602 	fi
   6603 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6604 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6605 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6606 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6607 then :
   6608   printf %s "(cached) " >&6
   6609 else $as_nop
   6610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6611 /* end confdefs.h.  */
   6612 int i;
   6613 _ACEOF
   6614 if ac_fn_c_try_compile "$LINENO"
   6615 then :
   6616   xorg_cv_cc_flag_unused_command_line_argument=yes
   6617 else $as_nop
   6618   xorg_cv_cc_flag_unused_command_line_argument=no
   6619 fi
   6620 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6621 fi
   6622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6623 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6624 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6625 	CFLAGS="$xorg_testset_save_CFLAGS"
   6626 fi
   6627 
   6628 found="no"
   6629 
   6630 	if test $found = "no" ; then
   6631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6633 		fi
   6634 
   6635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6637 		fi
   6638 
   6639 		CFLAGS="$CFLAGS -Wshadow"
   6640 
   6641 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6642 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6643 		cacheid=xorg_cv_cc_flag__Wshadow
   6644 		if eval test \${$cacheid+y}
   6645 then :
   6646   printf %s "(cached) " >&6
   6647 else $as_nop
   6648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6649 /* end confdefs.h.  */
   6650 int i;
   6651 int
   6652 main (void)
   6653 {
   6654 
   6655   ;
   6656   return 0;
   6657 }
   6658 _ACEOF
   6659 if ac_fn_c_try_link "$LINENO"
   6660 then :
   6661   eval $cacheid=yes
   6662 else $as_nop
   6663   eval $cacheid=no
   6664 fi
   6665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6666     conftest$ac_exeext conftest.$ac_ext
   6667 fi
   6668 
   6669 
   6670 		CFLAGS="$xorg_testset_save_CFLAGS"
   6671 
   6672 		eval supported=\$$cacheid
   6673 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6674 printf "%s\n" "$supported" >&6; }
   6675 		if test "$supported" = "yes" ; then
   6676 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6677 			found="yes"
   6678 		fi
   6679 	fi
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 xorg_testset_save_CFLAGS="$CFLAGS"
   6696 
   6697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6699 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6700 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6701 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6702 then :
   6703   printf %s "(cached) " >&6
   6704 else $as_nop
   6705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6706 /* end confdefs.h.  */
   6707 int i;
   6708 _ACEOF
   6709 if ac_fn_c_try_compile "$LINENO"
   6710 then :
   6711   xorg_cv_cc_flag_unknown_warning_option=yes
   6712 else $as_nop
   6713   xorg_cv_cc_flag_unknown_warning_option=no
   6714 fi
   6715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6716 fi
   6717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6718 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6719 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6720 	CFLAGS="$xorg_testset_save_CFLAGS"
   6721 fi
   6722 
   6723 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6724 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6725 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6726 	fi
   6727 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6728 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6729 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6730 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6731 then :
   6732   printf %s "(cached) " >&6
   6733 else $as_nop
   6734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6735 /* end confdefs.h.  */
   6736 int i;
   6737 _ACEOF
   6738 if ac_fn_c_try_compile "$LINENO"
   6739 then :
   6740   xorg_cv_cc_flag_unused_command_line_argument=yes
   6741 else $as_nop
   6742   xorg_cv_cc_flag_unused_command_line_argument=no
   6743 fi
   6744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6745 fi
   6746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6747 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6749 	CFLAGS="$xorg_testset_save_CFLAGS"
   6750 fi
   6751 
   6752 found="no"
   6753 
   6754 	if test $found = "no" ; then
   6755 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6757 		fi
   6758 
   6759 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6761 		fi
   6762 
   6763 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6764 
   6765 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6766 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6767 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6768 		if eval test \${$cacheid+y}
   6769 then :
   6770   printf %s "(cached) " >&6
   6771 else $as_nop
   6772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6773 /* end confdefs.h.  */
   6774 int i;
   6775 int
   6776 main (void)
   6777 {
   6778 
   6779   ;
   6780   return 0;
   6781 }
   6782 _ACEOF
   6783 if ac_fn_c_try_link "$LINENO"
   6784 then :
   6785   eval $cacheid=yes
   6786 else $as_nop
   6787   eval $cacheid=no
   6788 fi
   6789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6790     conftest$ac_exeext conftest.$ac_ext
   6791 fi
   6792 
   6793 
   6794 		CFLAGS="$xorg_testset_save_CFLAGS"
   6795 
   6796 		eval supported=\$$cacheid
   6797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6798 printf "%s\n" "$supported" >&6; }
   6799 		if test "$supported" = "yes" ; then
   6800 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6801 			found="yes"
   6802 		fi
   6803 	fi
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 xorg_testset_save_CFLAGS="$CFLAGS"
   6820 
   6821 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6822 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6823 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6824 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6825 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6826 then :
   6827   printf %s "(cached) " >&6
   6828 else $as_nop
   6829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6830 /* end confdefs.h.  */
   6831 int i;
   6832 _ACEOF
   6833 if ac_fn_c_try_compile "$LINENO"
   6834 then :
   6835   xorg_cv_cc_flag_unknown_warning_option=yes
   6836 else $as_nop
   6837   xorg_cv_cc_flag_unknown_warning_option=no
   6838 fi
   6839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6840 fi
   6841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6842 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6843 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6844 	CFLAGS="$xorg_testset_save_CFLAGS"
   6845 fi
   6846 
   6847 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6848 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6849 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6850 	fi
   6851 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6852 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6853 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6854 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6855 then :
   6856   printf %s "(cached) " >&6
   6857 else $as_nop
   6858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6859 /* end confdefs.h.  */
   6860 int i;
   6861 _ACEOF
   6862 if ac_fn_c_try_compile "$LINENO"
   6863 then :
   6864   xorg_cv_cc_flag_unused_command_line_argument=yes
   6865 else $as_nop
   6866   xorg_cv_cc_flag_unused_command_line_argument=no
   6867 fi
   6868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6869 fi
   6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6871 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6873 	CFLAGS="$xorg_testset_save_CFLAGS"
   6874 fi
   6875 
   6876 found="no"
   6877 
   6878 	if test $found = "no" ; then
   6879 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6881 		fi
   6882 
   6883 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6885 		fi
   6886 
   6887 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6888 
   6889 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6890 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6891 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6892 		if eval test \${$cacheid+y}
   6893 then :
   6894   printf %s "(cached) " >&6
   6895 else $as_nop
   6896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6897 /* end confdefs.h.  */
   6898 int i;
   6899 int
   6900 main (void)
   6901 {
   6902 
   6903   ;
   6904   return 0;
   6905 }
   6906 _ACEOF
   6907 if ac_fn_c_try_link "$LINENO"
   6908 then :
   6909   eval $cacheid=yes
   6910 else $as_nop
   6911   eval $cacheid=no
   6912 fi
   6913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6914     conftest$ac_exeext conftest.$ac_ext
   6915 fi
   6916 
   6917 
   6918 		CFLAGS="$xorg_testset_save_CFLAGS"
   6919 
   6920 		eval supported=\$$cacheid
   6921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6922 printf "%s\n" "$supported" >&6; }
   6923 		if test "$supported" = "yes" ; then
   6924 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6925 			found="yes"
   6926 		fi
   6927 	fi
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 xorg_testset_save_CFLAGS="$CFLAGS"
   6944 
   6945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6947 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6948 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6949 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6950 then :
   6951   printf %s "(cached) " >&6
   6952 else $as_nop
   6953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6954 /* end confdefs.h.  */
   6955 int i;
   6956 _ACEOF
   6957 if ac_fn_c_try_compile "$LINENO"
   6958 then :
   6959   xorg_cv_cc_flag_unknown_warning_option=yes
   6960 else $as_nop
   6961   xorg_cv_cc_flag_unknown_warning_option=no
   6962 fi
   6963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6964 fi
   6965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6966 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6968 	CFLAGS="$xorg_testset_save_CFLAGS"
   6969 fi
   6970 
   6971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6974 	fi
   6975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6976 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6977 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6978 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6979 then :
   6980   printf %s "(cached) " >&6
   6981 else $as_nop
   6982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6983 /* end confdefs.h.  */
   6984 int i;
   6985 _ACEOF
   6986 if ac_fn_c_try_compile "$LINENO"
   6987 then :
   6988   xorg_cv_cc_flag_unused_command_line_argument=yes
   6989 else $as_nop
   6990   xorg_cv_cc_flag_unused_command_line_argument=no
   6991 fi
   6992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6993 fi
   6994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6995 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6997 	CFLAGS="$xorg_testset_save_CFLAGS"
   6998 fi
   6999 
   7000 found="no"
   7001 
   7002 	if test $found = "no" ; then
   7003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7005 		fi
   7006 
   7007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7009 		fi
   7010 
   7011 		CFLAGS="$CFLAGS -Wredundant-decls"
   7012 
   7013 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7014 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7015 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7016 		if eval test \${$cacheid+y}
   7017 then :
   7018   printf %s "(cached) " >&6
   7019 else $as_nop
   7020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7021 /* end confdefs.h.  */
   7022 int i;
   7023 int
   7024 main (void)
   7025 {
   7026 
   7027   ;
   7028   return 0;
   7029 }
   7030 _ACEOF
   7031 if ac_fn_c_try_link "$LINENO"
   7032 then :
   7033   eval $cacheid=yes
   7034 else $as_nop
   7035   eval $cacheid=no
   7036 fi
   7037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7038     conftest$ac_exeext conftest.$ac_ext
   7039 fi
   7040 
   7041 
   7042 		CFLAGS="$xorg_testset_save_CFLAGS"
   7043 
   7044 		eval supported=\$$cacheid
   7045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7046 printf "%s\n" "$supported" >&6; }
   7047 		if test "$supported" = "yes" ; then
   7048 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7049 			found="yes"
   7050 		fi
   7051 	fi
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 xorg_testset_save_CFLAGS="$CFLAGS"
   7068 
   7069 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7070 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7071 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7072 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7073 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7074 then :
   7075   printf %s "(cached) " >&6
   7076 else $as_nop
   7077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7078 /* end confdefs.h.  */
   7079 int i;
   7080 _ACEOF
   7081 if ac_fn_c_try_compile "$LINENO"
   7082 then :
   7083   xorg_cv_cc_flag_unknown_warning_option=yes
   7084 else $as_nop
   7085   xorg_cv_cc_flag_unknown_warning_option=no
   7086 fi
   7087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7088 fi
   7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7090 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7091 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7092 	CFLAGS="$xorg_testset_save_CFLAGS"
   7093 fi
   7094 
   7095 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7096 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7097 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7098 	fi
   7099 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7100 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7101 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7102 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7103 then :
   7104   printf %s "(cached) " >&6
   7105 else $as_nop
   7106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7107 /* end confdefs.h.  */
   7108 int i;
   7109 _ACEOF
   7110 if ac_fn_c_try_compile "$LINENO"
   7111 then :
   7112   xorg_cv_cc_flag_unused_command_line_argument=yes
   7113 else $as_nop
   7114   xorg_cv_cc_flag_unused_command_line_argument=no
   7115 fi
   7116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7117 fi
   7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7119 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7120 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7121 	CFLAGS="$xorg_testset_save_CFLAGS"
   7122 fi
   7123 
   7124 found="no"
   7125 
   7126 	if test $found = "no" ; then
   7127 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7129 		fi
   7130 
   7131 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7133 		fi
   7134 
   7135 		CFLAGS="$CFLAGS -Wlogical-op"
   7136 
   7137 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7138 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7139 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7140 		if eval test \${$cacheid+y}
   7141 then :
   7142   printf %s "(cached) " >&6
   7143 else $as_nop
   7144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7145 /* end confdefs.h.  */
   7146 int i;
   7147 int
   7148 main (void)
   7149 {
   7150 
   7151   ;
   7152   return 0;
   7153 }
   7154 _ACEOF
   7155 if ac_fn_c_try_link "$LINENO"
   7156 then :
   7157   eval $cacheid=yes
   7158 else $as_nop
   7159   eval $cacheid=no
   7160 fi
   7161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7162     conftest$ac_exeext conftest.$ac_ext
   7163 fi
   7164 
   7165 
   7166 		CFLAGS="$xorg_testset_save_CFLAGS"
   7167 
   7168 		eval supported=\$$cacheid
   7169 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7170 printf "%s\n" "$supported" >&6; }
   7171 		if test "$supported" = "yes" ; then
   7172 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7173 			found="yes"
   7174 		fi
   7175 	fi
   7176 
   7177 
   7178 
   7179 # These are currently disabled because they are noisy.  They will be enabled
   7180 # in the future once the codebase is sufficiently modernized to silence
   7181 # them.  For now, I don't want them to drown out the other warnings.
   7182 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7183 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7184 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7185 
   7186 # Turn some warnings into errors, so we don't accidentally get successful builds
   7187 # when there are problems that should be fixed.
   7188 
   7189 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 xorg_testset_save_CFLAGS="$CFLAGS"
   7204 
   7205 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7206 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7207 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7208 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7209 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7210 then :
   7211   printf %s "(cached) " >&6
   7212 else $as_nop
   7213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7214 /* end confdefs.h.  */
   7215 int i;
   7216 _ACEOF
   7217 if ac_fn_c_try_compile "$LINENO"
   7218 then :
   7219   xorg_cv_cc_flag_unknown_warning_option=yes
   7220 else $as_nop
   7221   xorg_cv_cc_flag_unknown_warning_option=no
   7222 fi
   7223 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7224 fi
   7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7226 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7227 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7228 	CFLAGS="$xorg_testset_save_CFLAGS"
   7229 fi
   7230 
   7231 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7232 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7233 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7234 	fi
   7235 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7236 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7237 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7238 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7239 then :
   7240   printf %s "(cached) " >&6
   7241 else $as_nop
   7242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7243 /* end confdefs.h.  */
   7244 int i;
   7245 _ACEOF
   7246 if ac_fn_c_try_compile "$LINENO"
   7247 then :
   7248   xorg_cv_cc_flag_unused_command_line_argument=yes
   7249 else $as_nop
   7250   xorg_cv_cc_flag_unused_command_line_argument=no
   7251 fi
   7252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7253 fi
   7254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7255 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7256 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7257 	CFLAGS="$xorg_testset_save_CFLAGS"
   7258 fi
   7259 
   7260 found="no"
   7261 
   7262 	if test $found = "no" ; then
   7263 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7265 		fi
   7266 
   7267 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7269 		fi
   7270 
   7271 		CFLAGS="$CFLAGS -Werror=implicit"
   7272 
   7273 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7274 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7275 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7276 		if eval test \${$cacheid+y}
   7277 then :
   7278   printf %s "(cached) " >&6
   7279 else $as_nop
   7280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7281 /* end confdefs.h.  */
   7282 int i;
   7283 int
   7284 main (void)
   7285 {
   7286 
   7287   ;
   7288   return 0;
   7289 }
   7290 _ACEOF
   7291 if ac_fn_c_try_link "$LINENO"
   7292 then :
   7293   eval $cacheid=yes
   7294 else $as_nop
   7295   eval $cacheid=no
   7296 fi
   7297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7298     conftest$ac_exeext conftest.$ac_ext
   7299 fi
   7300 
   7301 
   7302 		CFLAGS="$xorg_testset_save_CFLAGS"
   7303 
   7304 		eval supported=\$$cacheid
   7305 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7306 printf "%s\n" "$supported" >&6; }
   7307 		if test "$supported" = "yes" ; then
   7308 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7309 			found="yes"
   7310 		fi
   7311 	fi
   7312 
   7313 	if test $found = "no" ; then
   7314 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7315 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7316 		fi
   7317 
   7318 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7319 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7320 		fi
   7321 
   7322 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7323 
   7324 		{ 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
   7325 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7326 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7327 		if eval test \${$cacheid+y}
   7328 then :
   7329   printf %s "(cached) " >&6
   7330 else $as_nop
   7331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7332 /* end confdefs.h.  */
   7333 int i;
   7334 int
   7335 main (void)
   7336 {
   7337 
   7338   ;
   7339   return 0;
   7340 }
   7341 _ACEOF
   7342 if ac_fn_c_try_link "$LINENO"
   7343 then :
   7344   eval $cacheid=yes
   7345 else $as_nop
   7346   eval $cacheid=no
   7347 fi
   7348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7349     conftest$ac_exeext conftest.$ac_ext
   7350 fi
   7351 
   7352 
   7353 		CFLAGS="$xorg_testset_save_CFLAGS"
   7354 
   7355 		eval supported=\$$cacheid
   7356 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7357 printf "%s\n" "$supported" >&6; }
   7358 		if test "$supported" = "yes" ; then
   7359 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7360 			found="yes"
   7361 		fi
   7362 	fi
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 xorg_testset_save_CFLAGS="$CFLAGS"
   7379 
   7380 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7381 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7382 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7383 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7384 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7385 then :
   7386   printf %s "(cached) " >&6
   7387 else $as_nop
   7388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7389 /* end confdefs.h.  */
   7390 int i;
   7391 _ACEOF
   7392 if ac_fn_c_try_compile "$LINENO"
   7393 then :
   7394   xorg_cv_cc_flag_unknown_warning_option=yes
   7395 else $as_nop
   7396   xorg_cv_cc_flag_unknown_warning_option=no
   7397 fi
   7398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7399 fi
   7400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7401 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7402 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7403 	CFLAGS="$xorg_testset_save_CFLAGS"
   7404 fi
   7405 
   7406 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7407 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7408 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7409 	fi
   7410 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7411 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7412 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7413 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7414 then :
   7415   printf %s "(cached) " >&6
   7416 else $as_nop
   7417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7418 /* end confdefs.h.  */
   7419 int i;
   7420 _ACEOF
   7421 if ac_fn_c_try_compile "$LINENO"
   7422 then :
   7423   xorg_cv_cc_flag_unused_command_line_argument=yes
   7424 else $as_nop
   7425   xorg_cv_cc_flag_unused_command_line_argument=no
   7426 fi
   7427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7428 fi
   7429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7430 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7431 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7432 	CFLAGS="$xorg_testset_save_CFLAGS"
   7433 fi
   7434 
   7435 found="no"
   7436 
   7437 	if test $found = "no" ; then
   7438 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7439 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7440 		fi
   7441 
   7442 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7443 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7444 		fi
   7445 
   7446 		CFLAGS="$CFLAGS -Werror=nonnull"
   7447 
   7448 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7449 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7450 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7451 		if eval test \${$cacheid+y}
   7452 then :
   7453   printf %s "(cached) " >&6
   7454 else $as_nop
   7455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7456 /* end confdefs.h.  */
   7457 int i;
   7458 int
   7459 main (void)
   7460 {
   7461 
   7462   ;
   7463   return 0;
   7464 }
   7465 _ACEOF
   7466 if ac_fn_c_try_link "$LINENO"
   7467 then :
   7468   eval $cacheid=yes
   7469 else $as_nop
   7470   eval $cacheid=no
   7471 fi
   7472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7473     conftest$ac_exeext conftest.$ac_ext
   7474 fi
   7475 
   7476 
   7477 		CFLAGS="$xorg_testset_save_CFLAGS"
   7478 
   7479 		eval supported=\$$cacheid
   7480 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7481 printf "%s\n" "$supported" >&6; }
   7482 		if test "$supported" = "yes" ; then
   7483 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7484 			found="yes"
   7485 		fi
   7486 	fi
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 xorg_testset_save_CFLAGS="$CFLAGS"
   7503 
   7504 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7505 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7506 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7507 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7508 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7509 then :
   7510   printf %s "(cached) " >&6
   7511 else $as_nop
   7512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7513 /* end confdefs.h.  */
   7514 int i;
   7515 _ACEOF
   7516 if ac_fn_c_try_compile "$LINENO"
   7517 then :
   7518   xorg_cv_cc_flag_unknown_warning_option=yes
   7519 else $as_nop
   7520   xorg_cv_cc_flag_unknown_warning_option=no
   7521 fi
   7522 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7523 fi
   7524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7525 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7526 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7527 	CFLAGS="$xorg_testset_save_CFLAGS"
   7528 fi
   7529 
   7530 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7531 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7532 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7533 	fi
   7534 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7535 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7536 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7537 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7538 then :
   7539   printf %s "(cached) " >&6
   7540 else $as_nop
   7541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7542 /* end confdefs.h.  */
   7543 int i;
   7544 _ACEOF
   7545 if ac_fn_c_try_compile "$LINENO"
   7546 then :
   7547   xorg_cv_cc_flag_unused_command_line_argument=yes
   7548 else $as_nop
   7549   xorg_cv_cc_flag_unused_command_line_argument=no
   7550 fi
   7551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7552 fi
   7553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7554 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7555 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7556 	CFLAGS="$xorg_testset_save_CFLAGS"
   7557 fi
   7558 
   7559 found="no"
   7560 
   7561 	if test $found = "no" ; then
   7562 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7563 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7564 		fi
   7565 
   7566 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7567 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7568 		fi
   7569 
   7570 		CFLAGS="$CFLAGS -Werror=init-self"
   7571 
   7572 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7573 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7574 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7575 		if eval test \${$cacheid+y}
   7576 then :
   7577   printf %s "(cached) " >&6
   7578 else $as_nop
   7579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7580 /* end confdefs.h.  */
   7581 int i;
   7582 int
   7583 main (void)
   7584 {
   7585 
   7586   ;
   7587   return 0;
   7588 }
   7589 _ACEOF
   7590 if ac_fn_c_try_link "$LINENO"
   7591 then :
   7592   eval $cacheid=yes
   7593 else $as_nop
   7594   eval $cacheid=no
   7595 fi
   7596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7597     conftest$ac_exeext conftest.$ac_ext
   7598 fi
   7599 
   7600 
   7601 		CFLAGS="$xorg_testset_save_CFLAGS"
   7602 
   7603 		eval supported=\$$cacheid
   7604 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7605 printf "%s\n" "$supported" >&6; }
   7606 		if test "$supported" = "yes" ; then
   7607 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7608 			found="yes"
   7609 		fi
   7610 	fi
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 xorg_testset_save_CFLAGS="$CFLAGS"
   7627 
   7628 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7629 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7630 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7631 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7632 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7633 then :
   7634   printf %s "(cached) " >&6
   7635 else $as_nop
   7636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7637 /* end confdefs.h.  */
   7638 int i;
   7639 _ACEOF
   7640 if ac_fn_c_try_compile "$LINENO"
   7641 then :
   7642   xorg_cv_cc_flag_unknown_warning_option=yes
   7643 else $as_nop
   7644   xorg_cv_cc_flag_unknown_warning_option=no
   7645 fi
   7646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7647 fi
   7648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7649 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7650 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7651 	CFLAGS="$xorg_testset_save_CFLAGS"
   7652 fi
   7653 
   7654 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7655 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7656 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7657 	fi
   7658 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7659 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7660 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7661 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7662 then :
   7663   printf %s "(cached) " >&6
   7664 else $as_nop
   7665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7666 /* end confdefs.h.  */
   7667 int i;
   7668 _ACEOF
   7669 if ac_fn_c_try_compile "$LINENO"
   7670 then :
   7671   xorg_cv_cc_flag_unused_command_line_argument=yes
   7672 else $as_nop
   7673   xorg_cv_cc_flag_unused_command_line_argument=no
   7674 fi
   7675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7676 fi
   7677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7678 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7679 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7680 	CFLAGS="$xorg_testset_save_CFLAGS"
   7681 fi
   7682 
   7683 found="no"
   7684 
   7685 	if test $found = "no" ; then
   7686 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7687 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7688 		fi
   7689 
   7690 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7691 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7692 		fi
   7693 
   7694 		CFLAGS="$CFLAGS -Werror=main"
   7695 
   7696 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7697 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7698 		cacheid=xorg_cv_cc_flag__Werror_main
   7699 		if eval test \${$cacheid+y}
   7700 then :
   7701   printf %s "(cached) " >&6
   7702 else $as_nop
   7703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7704 /* end confdefs.h.  */
   7705 int i;
   7706 int
   7707 main (void)
   7708 {
   7709 
   7710   ;
   7711   return 0;
   7712 }
   7713 _ACEOF
   7714 if ac_fn_c_try_link "$LINENO"
   7715 then :
   7716   eval $cacheid=yes
   7717 else $as_nop
   7718   eval $cacheid=no
   7719 fi
   7720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7721     conftest$ac_exeext conftest.$ac_ext
   7722 fi
   7723 
   7724 
   7725 		CFLAGS="$xorg_testset_save_CFLAGS"
   7726 
   7727 		eval supported=\$$cacheid
   7728 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7729 printf "%s\n" "$supported" >&6; }
   7730 		if test "$supported" = "yes" ; then
   7731 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7732 			found="yes"
   7733 		fi
   7734 	fi
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 xorg_testset_save_CFLAGS="$CFLAGS"
   7751 
   7752 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7753 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7754 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7755 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7756 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7757 then :
   7758   printf %s "(cached) " >&6
   7759 else $as_nop
   7760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7761 /* end confdefs.h.  */
   7762 int i;
   7763 _ACEOF
   7764 if ac_fn_c_try_compile "$LINENO"
   7765 then :
   7766   xorg_cv_cc_flag_unknown_warning_option=yes
   7767 else $as_nop
   7768   xorg_cv_cc_flag_unknown_warning_option=no
   7769 fi
   7770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7771 fi
   7772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7773 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7774 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7775 	CFLAGS="$xorg_testset_save_CFLAGS"
   7776 fi
   7777 
   7778 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7779 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7780 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7781 	fi
   7782 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7783 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7784 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7785 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7786 then :
   7787   printf %s "(cached) " >&6
   7788 else $as_nop
   7789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7790 /* end confdefs.h.  */
   7791 int i;
   7792 _ACEOF
   7793 if ac_fn_c_try_compile "$LINENO"
   7794 then :
   7795   xorg_cv_cc_flag_unused_command_line_argument=yes
   7796 else $as_nop
   7797   xorg_cv_cc_flag_unused_command_line_argument=no
   7798 fi
   7799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7800 fi
   7801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7802 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7803 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7804 	CFLAGS="$xorg_testset_save_CFLAGS"
   7805 fi
   7806 
   7807 found="no"
   7808 
   7809 	if test $found = "no" ; then
   7810 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7811 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7812 		fi
   7813 
   7814 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7815 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7816 		fi
   7817 
   7818 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7819 
   7820 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7821 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7822 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7823 		if eval test \${$cacheid+y}
   7824 then :
   7825   printf %s "(cached) " >&6
   7826 else $as_nop
   7827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7828 /* end confdefs.h.  */
   7829 int i;
   7830 int
   7831 main (void)
   7832 {
   7833 
   7834   ;
   7835   return 0;
   7836 }
   7837 _ACEOF
   7838 if ac_fn_c_try_link "$LINENO"
   7839 then :
   7840   eval $cacheid=yes
   7841 else $as_nop
   7842   eval $cacheid=no
   7843 fi
   7844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7845     conftest$ac_exeext conftest.$ac_ext
   7846 fi
   7847 
   7848 
   7849 		CFLAGS="$xorg_testset_save_CFLAGS"
   7850 
   7851 		eval supported=\$$cacheid
   7852 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7853 printf "%s\n" "$supported" >&6; }
   7854 		if test "$supported" = "yes" ; then
   7855 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7856 			found="yes"
   7857 		fi
   7858 	fi
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 xorg_testset_save_CFLAGS="$CFLAGS"
   7875 
   7876 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7877 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7878 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7879 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7880 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7881 then :
   7882   printf %s "(cached) " >&6
   7883 else $as_nop
   7884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7885 /* end confdefs.h.  */
   7886 int i;
   7887 _ACEOF
   7888 if ac_fn_c_try_compile "$LINENO"
   7889 then :
   7890   xorg_cv_cc_flag_unknown_warning_option=yes
   7891 else $as_nop
   7892   xorg_cv_cc_flag_unknown_warning_option=no
   7893 fi
   7894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7895 fi
   7896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7897 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7898 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7899 	CFLAGS="$xorg_testset_save_CFLAGS"
   7900 fi
   7901 
   7902 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7903 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7904 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7905 	fi
   7906 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7907 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7908 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7909 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7910 then :
   7911   printf %s "(cached) " >&6
   7912 else $as_nop
   7913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7914 /* end confdefs.h.  */
   7915 int i;
   7916 _ACEOF
   7917 if ac_fn_c_try_compile "$LINENO"
   7918 then :
   7919   xorg_cv_cc_flag_unused_command_line_argument=yes
   7920 else $as_nop
   7921   xorg_cv_cc_flag_unused_command_line_argument=no
   7922 fi
   7923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7924 fi
   7925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7926 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7927 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7928 	CFLAGS="$xorg_testset_save_CFLAGS"
   7929 fi
   7930 
   7931 found="no"
   7932 
   7933 	if test $found = "no" ; then
   7934 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7935 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7936 		fi
   7937 
   7938 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7939 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7940 		fi
   7941 
   7942 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7943 
   7944 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7945 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7946 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7947 		if eval test \${$cacheid+y}
   7948 then :
   7949   printf %s "(cached) " >&6
   7950 else $as_nop
   7951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7952 /* end confdefs.h.  */
   7953 int i;
   7954 int
   7955 main (void)
   7956 {
   7957 
   7958   ;
   7959   return 0;
   7960 }
   7961 _ACEOF
   7962 if ac_fn_c_try_link "$LINENO"
   7963 then :
   7964   eval $cacheid=yes
   7965 else $as_nop
   7966   eval $cacheid=no
   7967 fi
   7968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7969     conftest$ac_exeext conftest.$ac_ext
   7970 fi
   7971 
   7972 
   7973 		CFLAGS="$xorg_testset_save_CFLAGS"
   7974 
   7975 		eval supported=\$$cacheid
   7976 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7977 printf "%s\n" "$supported" >&6; }
   7978 		if test "$supported" = "yes" ; then
   7979 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7980 			found="yes"
   7981 		fi
   7982 	fi
   7983 
   7984 
   7985 
   7986 
   7987 
   7988 
   7989 
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 xorg_testset_save_CFLAGS="$CFLAGS"
   7999 
   8000 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8001 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8002 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8003 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8004 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8005 then :
   8006   printf %s "(cached) " >&6
   8007 else $as_nop
   8008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8009 /* end confdefs.h.  */
   8010 int i;
   8011 _ACEOF
   8012 if ac_fn_c_try_compile "$LINENO"
   8013 then :
   8014   xorg_cv_cc_flag_unknown_warning_option=yes
   8015 else $as_nop
   8016   xorg_cv_cc_flag_unknown_warning_option=no
   8017 fi
   8018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8019 fi
   8020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8021 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8022 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8023 	CFLAGS="$xorg_testset_save_CFLAGS"
   8024 fi
   8025 
   8026 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8027 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8028 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8029 	fi
   8030 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8031 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8032 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8033 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8034 then :
   8035   printf %s "(cached) " >&6
   8036 else $as_nop
   8037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8038 /* end confdefs.h.  */
   8039 int i;
   8040 _ACEOF
   8041 if ac_fn_c_try_compile "$LINENO"
   8042 then :
   8043   xorg_cv_cc_flag_unused_command_line_argument=yes
   8044 else $as_nop
   8045   xorg_cv_cc_flag_unused_command_line_argument=no
   8046 fi
   8047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8048 fi
   8049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8050 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8051 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8052 	CFLAGS="$xorg_testset_save_CFLAGS"
   8053 fi
   8054 
   8055 found="no"
   8056 
   8057 	if test $found = "no" ; then
   8058 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8059 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8060 		fi
   8061 
   8062 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8063 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8064 		fi
   8065 
   8066 		CFLAGS="$CFLAGS -Werror=return-type"
   8067 
   8068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8069 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8070 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8071 		if eval test \${$cacheid+y}
   8072 then :
   8073   printf %s "(cached) " >&6
   8074 else $as_nop
   8075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8076 /* end confdefs.h.  */
   8077 int i;
   8078 int
   8079 main (void)
   8080 {
   8081 
   8082   ;
   8083   return 0;
   8084 }
   8085 _ACEOF
   8086 if ac_fn_c_try_link "$LINENO"
   8087 then :
   8088   eval $cacheid=yes
   8089 else $as_nop
   8090   eval $cacheid=no
   8091 fi
   8092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8093     conftest$ac_exeext conftest.$ac_ext
   8094 fi
   8095 
   8096 
   8097 		CFLAGS="$xorg_testset_save_CFLAGS"
   8098 
   8099 		eval supported=\$$cacheid
   8100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8101 printf "%s\n" "$supported" >&6; }
   8102 		if test "$supported" = "yes" ; then
   8103 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8104 			found="yes"
   8105 		fi
   8106 	fi
   8107 
   8108 	if test $found = "no" ; then
   8109 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8110 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8111 		fi
   8112 
   8113 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8114 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8115 		fi
   8116 
   8117 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8118 
   8119 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8120 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8121 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8122 		if eval test \${$cacheid+y}
   8123 then :
   8124   printf %s "(cached) " >&6
   8125 else $as_nop
   8126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8127 /* end confdefs.h.  */
   8128 int i;
   8129 int
   8130 main (void)
   8131 {
   8132 
   8133   ;
   8134   return 0;
   8135 }
   8136 _ACEOF
   8137 if ac_fn_c_try_link "$LINENO"
   8138 then :
   8139   eval $cacheid=yes
   8140 else $as_nop
   8141   eval $cacheid=no
   8142 fi
   8143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8144     conftest$ac_exeext conftest.$ac_ext
   8145 fi
   8146 
   8147 
   8148 		CFLAGS="$xorg_testset_save_CFLAGS"
   8149 
   8150 		eval supported=\$$cacheid
   8151 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8152 printf "%s\n" "$supported" >&6; }
   8153 		if test "$supported" = "yes" ; then
   8154 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8155 			found="yes"
   8156 		fi
   8157 	fi
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 xorg_testset_save_CFLAGS="$CFLAGS"
   8174 
   8175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8177 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8178 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8179 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8180 then :
   8181   printf %s "(cached) " >&6
   8182 else $as_nop
   8183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8184 /* end confdefs.h.  */
   8185 int i;
   8186 _ACEOF
   8187 if ac_fn_c_try_compile "$LINENO"
   8188 then :
   8189   xorg_cv_cc_flag_unknown_warning_option=yes
   8190 else $as_nop
   8191   xorg_cv_cc_flag_unknown_warning_option=no
   8192 fi
   8193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8194 fi
   8195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8196 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8198 	CFLAGS="$xorg_testset_save_CFLAGS"
   8199 fi
   8200 
   8201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8204 	fi
   8205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8206 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8207 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8208 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8209 then :
   8210   printf %s "(cached) " >&6
   8211 else $as_nop
   8212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8213 /* end confdefs.h.  */
   8214 int i;
   8215 _ACEOF
   8216 if ac_fn_c_try_compile "$LINENO"
   8217 then :
   8218   xorg_cv_cc_flag_unused_command_line_argument=yes
   8219 else $as_nop
   8220   xorg_cv_cc_flag_unused_command_line_argument=no
   8221 fi
   8222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8223 fi
   8224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8225 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8226 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8227 	CFLAGS="$xorg_testset_save_CFLAGS"
   8228 fi
   8229 
   8230 found="no"
   8231 
   8232 	if test $found = "no" ; then
   8233 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8234 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8235 		fi
   8236 
   8237 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8238 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8239 		fi
   8240 
   8241 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8242 
   8243 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8244 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8245 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8246 		if eval test \${$cacheid+y}
   8247 then :
   8248   printf %s "(cached) " >&6
   8249 else $as_nop
   8250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8251 /* end confdefs.h.  */
   8252 int i;
   8253 int
   8254 main (void)
   8255 {
   8256 
   8257   ;
   8258   return 0;
   8259 }
   8260 _ACEOF
   8261 if ac_fn_c_try_link "$LINENO"
   8262 then :
   8263   eval $cacheid=yes
   8264 else $as_nop
   8265   eval $cacheid=no
   8266 fi
   8267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8268     conftest$ac_exeext conftest.$ac_ext
   8269 fi
   8270 
   8271 
   8272 		CFLAGS="$xorg_testset_save_CFLAGS"
   8273 
   8274 		eval supported=\$$cacheid
   8275 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8276 printf "%s\n" "$supported" >&6; }
   8277 		if test "$supported" = "yes" ; then
   8278 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8279 			found="yes"
   8280 		fi
   8281 	fi
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 xorg_testset_save_CFLAGS="$CFLAGS"
   8298 
   8299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8301 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8302 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8303 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8304 then :
   8305   printf %s "(cached) " >&6
   8306 else $as_nop
   8307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8308 /* end confdefs.h.  */
   8309 int i;
   8310 _ACEOF
   8311 if ac_fn_c_try_compile "$LINENO"
   8312 then :
   8313   xorg_cv_cc_flag_unknown_warning_option=yes
   8314 else $as_nop
   8315   xorg_cv_cc_flag_unknown_warning_option=no
   8316 fi
   8317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8318 fi
   8319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8320 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8322 	CFLAGS="$xorg_testset_save_CFLAGS"
   8323 fi
   8324 
   8325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8328 	fi
   8329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8330 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8331 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8332 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8333 then :
   8334   printf %s "(cached) " >&6
   8335 else $as_nop
   8336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8337 /* end confdefs.h.  */
   8338 int i;
   8339 _ACEOF
   8340 if ac_fn_c_try_compile "$LINENO"
   8341 then :
   8342   xorg_cv_cc_flag_unused_command_line_argument=yes
   8343 else $as_nop
   8344   xorg_cv_cc_flag_unused_command_line_argument=no
   8345 fi
   8346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8347 fi
   8348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8349 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8351 	CFLAGS="$xorg_testset_save_CFLAGS"
   8352 fi
   8353 
   8354 found="no"
   8355 
   8356 	if test $found = "no" ; then
   8357 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8359 		fi
   8360 
   8361 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8363 		fi
   8364 
   8365 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8366 
   8367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8368 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8369 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8370 		if eval test \${$cacheid+y}
   8371 then :
   8372   printf %s "(cached) " >&6
   8373 else $as_nop
   8374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8375 /* end confdefs.h.  */
   8376 int i;
   8377 int
   8378 main (void)
   8379 {
   8380 
   8381   ;
   8382   return 0;
   8383 }
   8384 _ACEOF
   8385 if ac_fn_c_try_link "$LINENO"
   8386 then :
   8387   eval $cacheid=yes
   8388 else $as_nop
   8389   eval $cacheid=no
   8390 fi
   8391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8392     conftest$ac_exeext conftest.$ac_ext
   8393 fi
   8394 
   8395 
   8396 		CFLAGS="$xorg_testset_save_CFLAGS"
   8397 
   8398 		eval supported=\$$cacheid
   8399 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8400 printf "%s\n" "$supported" >&6; }
   8401 		if test "$supported" = "yes" ; then
   8402 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8403 			found="yes"
   8404 		fi
   8405 	fi
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 xorg_testset_save_CFLAGS="$CFLAGS"
   8422 
   8423 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8424 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8425 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8426 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8427 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8428 then :
   8429   printf %s "(cached) " >&6
   8430 else $as_nop
   8431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8432 /* end confdefs.h.  */
   8433 int i;
   8434 _ACEOF
   8435 if ac_fn_c_try_compile "$LINENO"
   8436 then :
   8437   xorg_cv_cc_flag_unknown_warning_option=yes
   8438 else $as_nop
   8439   xorg_cv_cc_flag_unknown_warning_option=no
   8440 fi
   8441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8442 fi
   8443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8444 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8446 	CFLAGS="$xorg_testset_save_CFLAGS"
   8447 fi
   8448 
   8449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8452 	fi
   8453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8455 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8456 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8457 then :
   8458   printf %s "(cached) " >&6
   8459 else $as_nop
   8460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8461 /* end confdefs.h.  */
   8462 int i;
   8463 _ACEOF
   8464 if ac_fn_c_try_compile "$LINENO"
   8465 then :
   8466   xorg_cv_cc_flag_unused_command_line_argument=yes
   8467 else $as_nop
   8468   xorg_cv_cc_flag_unused_command_line_argument=no
   8469 fi
   8470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8471 fi
   8472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8473 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8474 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8475 	CFLAGS="$xorg_testset_save_CFLAGS"
   8476 fi
   8477 
   8478 found="no"
   8479 
   8480 	if test $found = "no" ; then
   8481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8483 		fi
   8484 
   8485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8487 		fi
   8488 
   8489 		CFLAGS="$CFLAGS -Werror=write-strings"
   8490 
   8491 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8492 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8493 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8494 		if eval test \${$cacheid+y}
   8495 then :
   8496   printf %s "(cached) " >&6
   8497 else $as_nop
   8498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8499 /* end confdefs.h.  */
   8500 int i;
   8501 int
   8502 main (void)
   8503 {
   8504 
   8505   ;
   8506   return 0;
   8507 }
   8508 _ACEOF
   8509 if ac_fn_c_try_link "$LINENO"
   8510 then :
   8511   eval $cacheid=yes
   8512 else $as_nop
   8513   eval $cacheid=no
   8514 fi
   8515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8516     conftest$ac_exeext conftest.$ac_ext
   8517 fi
   8518 
   8519 
   8520 		CFLAGS="$xorg_testset_save_CFLAGS"
   8521 
   8522 		eval supported=\$$cacheid
   8523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8524 printf "%s\n" "$supported" >&6; }
   8525 		if test "$supported" = "yes" ; then
   8526 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8527 			found="yes"
   8528 		fi
   8529 	fi
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 xorg_testset_save_CFLAGS="$CFLAGS"
   8546 
   8547 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8548 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8550 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8551 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8552 then :
   8553   printf %s "(cached) " >&6
   8554 else $as_nop
   8555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8556 /* end confdefs.h.  */
   8557 int i;
   8558 _ACEOF
   8559 if ac_fn_c_try_compile "$LINENO"
   8560 then :
   8561   xorg_cv_cc_flag_unknown_warning_option=yes
   8562 else $as_nop
   8563   xorg_cv_cc_flag_unknown_warning_option=no
   8564 fi
   8565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8566 fi
   8567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8568 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8570 	CFLAGS="$xorg_testset_save_CFLAGS"
   8571 fi
   8572 
   8573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8576 	fi
   8577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8578 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8579 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8580 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8581 then :
   8582   printf %s "(cached) " >&6
   8583 else $as_nop
   8584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8585 /* end confdefs.h.  */
   8586 int i;
   8587 _ACEOF
   8588 if ac_fn_c_try_compile "$LINENO"
   8589 then :
   8590   xorg_cv_cc_flag_unused_command_line_argument=yes
   8591 else $as_nop
   8592   xorg_cv_cc_flag_unused_command_line_argument=no
   8593 fi
   8594 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8595 fi
   8596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8597 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8599 	CFLAGS="$xorg_testset_save_CFLAGS"
   8600 fi
   8601 
   8602 found="no"
   8603 
   8604 	if test $found = "no" ; then
   8605 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8607 		fi
   8608 
   8609 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8611 		fi
   8612 
   8613 		CFLAGS="$CFLAGS -Werror=address"
   8614 
   8615 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8616 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8617 		cacheid=xorg_cv_cc_flag__Werror_address
   8618 		if eval test \${$cacheid+y}
   8619 then :
   8620   printf %s "(cached) " >&6
   8621 else $as_nop
   8622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8623 /* end confdefs.h.  */
   8624 int i;
   8625 int
   8626 main (void)
   8627 {
   8628 
   8629   ;
   8630   return 0;
   8631 }
   8632 _ACEOF
   8633 if ac_fn_c_try_link "$LINENO"
   8634 then :
   8635   eval $cacheid=yes
   8636 else $as_nop
   8637   eval $cacheid=no
   8638 fi
   8639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8640     conftest$ac_exeext conftest.$ac_ext
   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=address"
   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 $as_nop
   8679   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 $as_nop
   8687   xorg_cv_cc_flag_unknown_warning_option=no
   8688 fi
   8689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8690 fi
   8691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8692 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8694 	CFLAGS="$xorg_testset_save_CFLAGS"
   8695 fi
   8696 
   8697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8700 	fi
   8701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8702 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8703 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8704 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8705 then :
   8706   printf %s "(cached) " >&6
   8707 else $as_nop
   8708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8709 /* end confdefs.h.  */
   8710 int i;
   8711 _ACEOF
   8712 if ac_fn_c_try_compile "$LINENO"
   8713 then :
   8714   xorg_cv_cc_flag_unused_command_line_argument=yes
   8715 else $as_nop
   8716   xorg_cv_cc_flag_unused_command_line_argument=no
   8717 fi
   8718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8719 fi
   8720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8721 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8723 	CFLAGS="$xorg_testset_save_CFLAGS"
   8724 fi
   8725 
   8726 found="no"
   8727 
   8728 	if test $found = "no" ; then
   8729 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8731 		fi
   8732 
   8733 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8735 		fi
   8736 
   8737 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8738 
   8739 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8740 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8741 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8742 		if eval test \${$cacheid+y}
   8743 then :
   8744   printf %s "(cached) " >&6
   8745 else $as_nop
   8746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8747 /* end confdefs.h.  */
   8748 int i;
   8749 int
   8750 main (void)
   8751 {
   8752 
   8753   ;
   8754   return 0;
   8755 }
   8756 _ACEOF
   8757 if ac_fn_c_try_link "$LINENO"
   8758 then :
   8759   eval $cacheid=yes
   8760 else $as_nop
   8761   eval $cacheid=no
   8762 fi
   8763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8764     conftest$ac_exeext conftest.$ac_ext
   8765 fi
   8766 
   8767 
   8768 		CFLAGS="$xorg_testset_save_CFLAGS"
   8769 
   8770 		eval supported=\$$cacheid
   8771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8772 printf "%s\n" "$supported" >&6; }
   8773 		if test "$supported" = "yes" ; then
   8774 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8775 			found="yes"
   8776 		fi
   8777 	fi
   8778 
   8779 	if test $found = "no" ; then
   8780 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8781 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8782 		fi
   8783 
   8784 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8785 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8786 		fi
   8787 
   8788 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8789 
   8790 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8791 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8792 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8793 		if eval test \${$cacheid+y}
   8794 then :
   8795   printf %s "(cached) " >&6
   8796 else $as_nop
   8797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8798 /* end confdefs.h.  */
   8799 int i;
   8800 int
   8801 main (void)
   8802 {
   8803 
   8804   ;
   8805   return 0;
   8806 }
   8807 _ACEOF
   8808 if ac_fn_c_try_link "$LINENO"
   8809 then :
   8810   eval $cacheid=yes
   8811 else $as_nop
   8812   eval $cacheid=no
   8813 fi
   8814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8815     conftest$ac_exeext conftest.$ac_ext
   8816 fi
   8817 
   8818 
   8819 		CFLAGS="$xorg_testset_save_CFLAGS"
   8820 
   8821 		eval supported=\$$cacheid
   8822 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8823 printf "%s\n" "$supported" >&6; }
   8824 		if test "$supported" = "yes" ; then
   8825 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8826 			found="yes"
   8827 		fi
   8828 	fi
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 xorg_testset_save_CFLAGS="$CFLAGS"
   8845 
   8846 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8847 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8848 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8849 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8850 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8851 then :
   8852   printf %s "(cached) " >&6
   8853 else $as_nop
   8854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8855 /* end confdefs.h.  */
   8856 int i;
   8857 _ACEOF
   8858 if ac_fn_c_try_compile "$LINENO"
   8859 then :
   8860   xorg_cv_cc_flag_unknown_warning_option=yes
   8861 else $as_nop
   8862   xorg_cv_cc_flag_unknown_warning_option=no
   8863 fi
   8864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8865 fi
   8866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8867 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8868 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8869 	CFLAGS="$xorg_testset_save_CFLAGS"
   8870 fi
   8871 
   8872 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8873 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8874 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8875 	fi
   8876 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8877 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8878 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8879 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8880 then :
   8881   printf %s "(cached) " >&6
   8882 else $as_nop
   8883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8884 /* end confdefs.h.  */
   8885 int i;
   8886 _ACEOF
   8887 if ac_fn_c_try_compile "$LINENO"
   8888 then :
   8889   xorg_cv_cc_flag_unused_command_line_argument=yes
   8890 else $as_nop
   8891   xorg_cv_cc_flag_unused_command_line_argument=no
   8892 fi
   8893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8894 fi
   8895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8896 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8897 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8898 	CFLAGS="$xorg_testset_save_CFLAGS"
   8899 fi
   8900 
   8901 found="no"
   8902 
   8903 	if test $found = "no" ; then
   8904 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8905 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8906 		fi
   8907 
   8908 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8909 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8910 		fi
   8911 
   8912 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8913 
   8914 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8915 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8916 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8917 		if eval test \${$cacheid+y}
   8918 then :
   8919   printf %s "(cached) " >&6
   8920 else $as_nop
   8921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8922 /* end confdefs.h.  */
   8923 int i;
   8924 int
   8925 main (void)
   8926 {
   8927 
   8928   ;
   8929   return 0;
   8930 }
   8931 _ACEOF
   8932 if ac_fn_c_try_link "$LINENO"
   8933 then :
   8934   eval $cacheid=yes
   8935 else $as_nop
   8936   eval $cacheid=no
   8937 fi
   8938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8939     conftest$ac_exeext conftest.$ac_ext
   8940 fi
   8941 
   8942 
   8943 		CFLAGS="$xorg_testset_save_CFLAGS"
   8944 
   8945 		eval supported=\$$cacheid
   8946 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8947 printf "%s\n" "$supported" >&6; }
   8948 		if test "$supported" = "yes" ; then
   8949 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8950 			found="yes"
   8951 		fi
   8952 	fi
   8953 
   8954  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8955 else
   8956 { 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
   8957 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;}
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 xorg_testset_save_CFLAGS="$CFLAGS"
   8972 
   8973 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8975 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8976 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8977 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8978 then :
   8979   printf %s "(cached) " >&6
   8980 else $as_nop
   8981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8982 /* end confdefs.h.  */
   8983 int i;
   8984 _ACEOF
   8985 if ac_fn_c_try_compile "$LINENO"
   8986 then :
   8987   xorg_cv_cc_flag_unknown_warning_option=yes
   8988 else $as_nop
   8989   xorg_cv_cc_flag_unknown_warning_option=no
   8990 fi
   8991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8992 fi
   8993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8994 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8995 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8996 	CFLAGS="$xorg_testset_save_CFLAGS"
   8997 fi
   8998 
   8999 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9000 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9001 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9002 	fi
   9003 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9004 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9005 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9006 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9007 then :
   9008   printf %s "(cached) " >&6
   9009 else $as_nop
   9010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9011 /* end confdefs.h.  */
   9012 int i;
   9013 _ACEOF
   9014 if ac_fn_c_try_compile "$LINENO"
   9015 then :
   9016   xorg_cv_cc_flag_unused_command_line_argument=yes
   9017 else $as_nop
   9018   xorg_cv_cc_flag_unused_command_line_argument=no
   9019 fi
   9020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9021 fi
   9022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9023 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9024 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9025 	CFLAGS="$xorg_testset_save_CFLAGS"
   9026 fi
   9027 
   9028 found="no"
   9029 
   9030 	if test $found = "no" ; then
   9031 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9032 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9033 		fi
   9034 
   9035 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9036 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9037 		fi
   9038 
   9039 		CFLAGS="$CFLAGS -Wimplicit"
   9040 
   9041 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9042 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9043 		cacheid=xorg_cv_cc_flag__Wimplicit
   9044 		if eval test \${$cacheid+y}
   9045 then :
   9046   printf %s "(cached) " >&6
   9047 else $as_nop
   9048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9049 /* end confdefs.h.  */
   9050 int i;
   9051 int
   9052 main (void)
   9053 {
   9054 
   9055   ;
   9056   return 0;
   9057 }
   9058 _ACEOF
   9059 if ac_fn_c_try_link "$LINENO"
   9060 then :
   9061   eval $cacheid=yes
   9062 else $as_nop
   9063   eval $cacheid=no
   9064 fi
   9065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9066     conftest$ac_exeext conftest.$ac_ext
   9067 fi
   9068 
   9069 
   9070 		CFLAGS="$xorg_testset_save_CFLAGS"
   9071 
   9072 		eval supported=\$$cacheid
   9073 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9074 printf "%s\n" "$supported" >&6; }
   9075 		if test "$supported" = "yes" ; then
   9076 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9077 			found="yes"
   9078 		fi
   9079 	fi
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 xorg_testset_save_CFLAGS="$CFLAGS"
   9096 
   9097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9099 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9100 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9101 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9102 then :
   9103   printf %s "(cached) " >&6
   9104 else $as_nop
   9105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9106 /* end confdefs.h.  */
   9107 int i;
   9108 _ACEOF
   9109 if ac_fn_c_try_compile "$LINENO"
   9110 then :
   9111   xorg_cv_cc_flag_unknown_warning_option=yes
   9112 else $as_nop
   9113   xorg_cv_cc_flag_unknown_warning_option=no
   9114 fi
   9115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9116 fi
   9117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9118 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9119 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9120 	CFLAGS="$xorg_testset_save_CFLAGS"
   9121 fi
   9122 
   9123 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9124 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9125 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9126 	fi
   9127 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9128 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9129 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9130 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9131 then :
   9132   printf %s "(cached) " >&6
   9133 else $as_nop
   9134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9135 /* end confdefs.h.  */
   9136 int i;
   9137 _ACEOF
   9138 if ac_fn_c_try_compile "$LINENO"
   9139 then :
   9140   xorg_cv_cc_flag_unused_command_line_argument=yes
   9141 else $as_nop
   9142   xorg_cv_cc_flag_unused_command_line_argument=no
   9143 fi
   9144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9145 fi
   9146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9147 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9148 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9149 	CFLAGS="$xorg_testset_save_CFLAGS"
   9150 fi
   9151 
   9152 found="no"
   9153 
   9154 	if test $found = "no" ; then
   9155 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9156 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9157 		fi
   9158 
   9159 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9160 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9161 		fi
   9162 
   9163 		CFLAGS="$CFLAGS -Wnonnull"
   9164 
   9165 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9166 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9167 		cacheid=xorg_cv_cc_flag__Wnonnull
   9168 		if eval test \${$cacheid+y}
   9169 then :
   9170   printf %s "(cached) " >&6
   9171 else $as_nop
   9172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9173 /* end confdefs.h.  */
   9174 int i;
   9175 int
   9176 main (void)
   9177 {
   9178 
   9179   ;
   9180   return 0;
   9181 }
   9182 _ACEOF
   9183 if ac_fn_c_try_link "$LINENO"
   9184 then :
   9185   eval $cacheid=yes
   9186 else $as_nop
   9187   eval $cacheid=no
   9188 fi
   9189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9190     conftest$ac_exeext conftest.$ac_ext
   9191 fi
   9192 
   9193 
   9194 		CFLAGS="$xorg_testset_save_CFLAGS"
   9195 
   9196 		eval supported=\$$cacheid
   9197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9198 printf "%s\n" "$supported" >&6; }
   9199 		if test "$supported" = "yes" ; then
   9200 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9201 			found="yes"
   9202 		fi
   9203 	fi
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 xorg_testset_save_CFLAGS="$CFLAGS"
   9220 
   9221 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9222 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9223 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9224 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9225 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9226 then :
   9227   printf %s "(cached) " >&6
   9228 else $as_nop
   9229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9230 /* end confdefs.h.  */
   9231 int i;
   9232 _ACEOF
   9233 if ac_fn_c_try_compile "$LINENO"
   9234 then :
   9235   xorg_cv_cc_flag_unknown_warning_option=yes
   9236 else $as_nop
   9237   xorg_cv_cc_flag_unknown_warning_option=no
   9238 fi
   9239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9240 fi
   9241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9242 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9243 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9244 	CFLAGS="$xorg_testset_save_CFLAGS"
   9245 fi
   9246 
   9247 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9248 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9249 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9250 	fi
   9251 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9252 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9253 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9254 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9255 then :
   9256   printf %s "(cached) " >&6
   9257 else $as_nop
   9258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9259 /* end confdefs.h.  */
   9260 int i;
   9261 _ACEOF
   9262 if ac_fn_c_try_compile "$LINENO"
   9263 then :
   9264   xorg_cv_cc_flag_unused_command_line_argument=yes
   9265 else $as_nop
   9266   xorg_cv_cc_flag_unused_command_line_argument=no
   9267 fi
   9268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9269 fi
   9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9271 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9272 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9273 	CFLAGS="$xorg_testset_save_CFLAGS"
   9274 fi
   9275 
   9276 found="no"
   9277 
   9278 	if test $found = "no" ; then
   9279 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9280 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9281 		fi
   9282 
   9283 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9284 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9285 		fi
   9286 
   9287 		CFLAGS="$CFLAGS -Winit-self"
   9288 
   9289 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9290 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9291 		cacheid=xorg_cv_cc_flag__Winit_self
   9292 		if eval test \${$cacheid+y}
   9293 then :
   9294   printf %s "(cached) " >&6
   9295 else $as_nop
   9296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9297 /* end confdefs.h.  */
   9298 int i;
   9299 int
   9300 main (void)
   9301 {
   9302 
   9303   ;
   9304   return 0;
   9305 }
   9306 _ACEOF
   9307 if ac_fn_c_try_link "$LINENO"
   9308 then :
   9309   eval $cacheid=yes
   9310 else $as_nop
   9311   eval $cacheid=no
   9312 fi
   9313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9314     conftest$ac_exeext conftest.$ac_ext
   9315 fi
   9316 
   9317 
   9318 		CFLAGS="$xorg_testset_save_CFLAGS"
   9319 
   9320 		eval supported=\$$cacheid
   9321 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9322 printf "%s\n" "$supported" >&6; }
   9323 		if test "$supported" = "yes" ; then
   9324 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9325 			found="yes"
   9326 		fi
   9327 	fi
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 xorg_testset_save_CFLAGS="$CFLAGS"
   9344 
   9345 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9346 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9347 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9348 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9349 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9350 then :
   9351   printf %s "(cached) " >&6
   9352 else $as_nop
   9353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9354 /* end confdefs.h.  */
   9355 int i;
   9356 _ACEOF
   9357 if ac_fn_c_try_compile "$LINENO"
   9358 then :
   9359   xorg_cv_cc_flag_unknown_warning_option=yes
   9360 else $as_nop
   9361   xorg_cv_cc_flag_unknown_warning_option=no
   9362 fi
   9363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9364 fi
   9365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9366 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9367 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9368 	CFLAGS="$xorg_testset_save_CFLAGS"
   9369 fi
   9370 
   9371 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9372 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9373 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9374 	fi
   9375 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9376 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9377 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9378 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9379 then :
   9380   printf %s "(cached) " >&6
   9381 else $as_nop
   9382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9383 /* end confdefs.h.  */
   9384 int i;
   9385 _ACEOF
   9386 if ac_fn_c_try_compile "$LINENO"
   9387 then :
   9388   xorg_cv_cc_flag_unused_command_line_argument=yes
   9389 else $as_nop
   9390   xorg_cv_cc_flag_unused_command_line_argument=no
   9391 fi
   9392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9393 fi
   9394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9395 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9396 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9397 	CFLAGS="$xorg_testset_save_CFLAGS"
   9398 fi
   9399 
   9400 found="no"
   9401 
   9402 	if test $found = "no" ; then
   9403 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9404 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9405 		fi
   9406 
   9407 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9408 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9409 		fi
   9410 
   9411 		CFLAGS="$CFLAGS -Wmain"
   9412 
   9413 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9414 printf %s "checking if $CC supports -Wmain... " >&6; }
   9415 		cacheid=xorg_cv_cc_flag__Wmain
   9416 		if eval test \${$cacheid+y}
   9417 then :
   9418   printf %s "(cached) " >&6
   9419 else $as_nop
   9420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9421 /* end confdefs.h.  */
   9422 int i;
   9423 int
   9424 main (void)
   9425 {
   9426 
   9427   ;
   9428   return 0;
   9429 }
   9430 _ACEOF
   9431 if ac_fn_c_try_link "$LINENO"
   9432 then :
   9433   eval $cacheid=yes
   9434 else $as_nop
   9435   eval $cacheid=no
   9436 fi
   9437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9438     conftest$ac_exeext conftest.$ac_ext
   9439 fi
   9440 
   9441 
   9442 		CFLAGS="$xorg_testset_save_CFLAGS"
   9443 
   9444 		eval supported=\$$cacheid
   9445 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9446 printf "%s\n" "$supported" >&6; }
   9447 		if test "$supported" = "yes" ; then
   9448 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9449 			found="yes"
   9450 		fi
   9451 	fi
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 xorg_testset_save_CFLAGS="$CFLAGS"
   9468 
   9469 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9472 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9473 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9474 then :
   9475   printf %s "(cached) " >&6
   9476 else $as_nop
   9477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9478 /* end confdefs.h.  */
   9479 int i;
   9480 _ACEOF
   9481 if ac_fn_c_try_compile "$LINENO"
   9482 then :
   9483   xorg_cv_cc_flag_unknown_warning_option=yes
   9484 else $as_nop
   9485   xorg_cv_cc_flag_unknown_warning_option=no
   9486 fi
   9487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9488 fi
   9489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9490 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9492 	CFLAGS="$xorg_testset_save_CFLAGS"
   9493 fi
   9494 
   9495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9498 	fi
   9499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9500 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9501 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9502 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9503 then :
   9504   printf %s "(cached) " >&6
   9505 else $as_nop
   9506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9507 /* end confdefs.h.  */
   9508 int i;
   9509 _ACEOF
   9510 if ac_fn_c_try_compile "$LINENO"
   9511 then :
   9512   xorg_cv_cc_flag_unused_command_line_argument=yes
   9513 else $as_nop
   9514   xorg_cv_cc_flag_unused_command_line_argument=no
   9515 fi
   9516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9517 fi
   9518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9519 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9520 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9521 	CFLAGS="$xorg_testset_save_CFLAGS"
   9522 fi
   9523 
   9524 found="no"
   9525 
   9526 	if test $found = "no" ; then
   9527 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9528 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9529 		fi
   9530 
   9531 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9532 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9533 		fi
   9534 
   9535 		CFLAGS="$CFLAGS -Wmissing-braces"
   9536 
   9537 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9538 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9539 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9540 		if eval test \${$cacheid+y}
   9541 then :
   9542   printf %s "(cached) " >&6
   9543 else $as_nop
   9544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9545 /* end confdefs.h.  */
   9546 int i;
   9547 int
   9548 main (void)
   9549 {
   9550 
   9551   ;
   9552   return 0;
   9553 }
   9554 _ACEOF
   9555 if ac_fn_c_try_link "$LINENO"
   9556 then :
   9557   eval $cacheid=yes
   9558 else $as_nop
   9559   eval $cacheid=no
   9560 fi
   9561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9562     conftest$ac_exeext conftest.$ac_ext
   9563 fi
   9564 
   9565 
   9566 		CFLAGS="$xorg_testset_save_CFLAGS"
   9567 
   9568 		eval supported=\$$cacheid
   9569 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9570 printf "%s\n" "$supported" >&6; }
   9571 		if test "$supported" = "yes" ; then
   9572 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9573 			found="yes"
   9574 		fi
   9575 	fi
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 xorg_testset_save_CFLAGS="$CFLAGS"
   9592 
   9593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9595 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9596 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9597 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9598 then :
   9599   printf %s "(cached) " >&6
   9600 else $as_nop
   9601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9602 /* end confdefs.h.  */
   9603 int i;
   9604 _ACEOF
   9605 if ac_fn_c_try_compile "$LINENO"
   9606 then :
   9607   xorg_cv_cc_flag_unknown_warning_option=yes
   9608 else $as_nop
   9609   xorg_cv_cc_flag_unknown_warning_option=no
   9610 fi
   9611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9612 fi
   9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9614 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9615 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9616 	CFLAGS="$xorg_testset_save_CFLAGS"
   9617 fi
   9618 
   9619 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9620 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9621 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9622 	fi
   9623 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9624 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9625 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9626 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9627 then :
   9628   printf %s "(cached) " >&6
   9629 else $as_nop
   9630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9631 /* end confdefs.h.  */
   9632 int i;
   9633 _ACEOF
   9634 if ac_fn_c_try_compile "$LINENO"
   9635 then :
   9636   xorg_cv_cc_flag_unused_command_line_argument=yes
   9637 else $as_nop
   9638   xorg_cv_cc_flag_unused_command_line_argument=no
   9639 fi
   9640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9641 fi
   9642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9643 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9644 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9645 	CFLAGS="$xorg_testset_save_CFLAGS"
   9646 fi
   9647 
   9648 found="no"
   9649 
   9650 	if test $found = "no" ; then
   9651 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9653 		fi
   9654 
   9655 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9657 		fi
   9658 
   9659 		CFLAGS="$CFLAGS -Wsequence-point"
   9660 
   9661 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9662 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9663 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9664 		if eval test \${$cacheid+y}
   9665 then :
   9666   printf %s "(cached) " >&6
   9667 else $as_nop
   9668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9669 /* end confdefs.h.  */
   9670 int i;
   9671 int
   9672 main (void)
   9673 {
   9674 
   9675   ;
   9676   return 0;
   9677 }
   9678 _ACEOF
   9679 if ac_fn_c_try_link "$LINENO"
   9680 then :
   9681   eval $cacheid=yes
   9682 else $as_nop
   9683   eval $cacheid=no
   9684 fi
   9685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9686     conftest$ac_exeext conftest.$ac_ext
   9687 fi
   9688 
   9689 
   9690 		CFLAGS="$xorg_testset_save_CFLAGS"
   9691 
   9692 		eval supported=\$$cacheid
   9693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9694 printf "%s\n" "$supported" >&6; }
   9695 		if test "$supported" = "yes" ; then
   9696 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9697 			found="yes"
   9698 		fi
   9699 	fi
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 xorg_testset_save_CFLAGS="$CFLAGS"
   9716 
   9717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9719 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9720 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9721 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9722 then :
   9723   printf %s "(cached) " >&6
   9724 else $as_nop
   9725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9726 /* end confdefs.h.  */
   9727 int i;
   9728 _ACEOF
   9729 if ac_fn_c_try_compile "$LINENO"
   9730 then :
   9731   xorg_cv_cc_flag_unknown_warning_option=yes
   9732 else $as_nop
   9733   xorg_cv_cc_flag_unknown_warning_option=no
   9734 fi
   9735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9736 fi
   9737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9738 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9739 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9740 	CFLAGS="$xorg_testset_save_CFLAGS"
   9741 fi
   9742 
   9743 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9744 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9745 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9746 	fi
   9747 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9748 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9749 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9750 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9751 then :
   9752   printf %s "(cached) " >&6
   9753 else $as_nop
   9754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9755 /* end confdefs.h.  */
   9756 int i;
   9757 _ACEOF
   9758 if ac_fn_c_try_compile "$LINENO"
   9759 then :
   9760   xorg_cv_cc_flag_unused_command_line_argument=yes
   9761 else $as_nop
   9762   xorg_cv_cc_flag_unused_command_line_argument=no
   9763 fi
   9764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9765 fi
   9766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9767 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9768 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9769 	CFLAGS="$xorg_testset_save_CFLAGS"
   9770 fi
   9771 
   9772 found="no"
   9773 
   9774 	if test $found = "no" ; then
   9775 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9776 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9777 		fi
   9778 
   9779 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9780 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9781 		fi
   9782 
   9783 		CFLAGS="$CFLAGS -Wreturn-type"
   9784 
   9785 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9786 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9787 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9788 		if eval test \${$cacheid+y}
   9789 then :
   9790   printf %s "(cached) " >&6
   9791 else $as_nop
   9792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9793 /* end confdefs.h.  */
   9794 int i;
   9795 int
   9796 main (void)
   9797 {
   9798 
   9799   ;
   9800   return 0;
   9801 }
   9802 _ACEOF
   9803 if ac_fn_c_try_link "$LINENO"
   9804 then :
   9805   eval $cacheid=yes
   9806 else $as_nop
   9807   eval $cacheid=no
   9808 fi
   9809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9810     conftest$ac_exeext conftest.$ac_ext
   9811 fi
   9812 
   9813 
   9814 		CFLAGS="$xorg_testset_save_CFLAGS"
   9815 
   9816 		eval supported=\$$cacheid
   9817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9818 printf "%s\n" "$supported" >&6; }
   9819 		if test "$supported" = "yes" ; then
   9820 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9821 			found="yes"
   9822 		fi
   9823 	fi
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 xorg_testset_save_CFLAGS="$CFLAGS"
   9840 
   9841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9843 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9844 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9845 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9846 then :
   9847   printf %s "(cached) " >&6
   9848 else $as_nop
   9849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9850 /* end confdefs.h.  */
   9851 int i;
   9852 _ACEOF
   9853 if ac_fn_c_try_compile "$LINENO"
   9854 then :
   9855   xorg_cv_cc_flag_unknown_warning_option=yes
   9856 else $as_nop
   9857   xorg_cv_cc_flag_unknown_warning_option=no
   9858 fi
   9859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9860 fi
   9861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9862 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9864 	CFLAGS="$xorg_testset_save_CFLAGS"
   9865 fi
   9866 
   9867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9870 	fi
   9871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9872 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9873 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9874 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9875 then :
   9876   printf %s "(cached) " >&6
   9877 else $as_nop
   9878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9879 /* end confdefs.h.  */
   9880 int i;
   9881 _ACEOF
   9882 if ac_fn_c_try_compile "$LINENO"
   9883 then :
   9884   xorg_cv_cc_flag_unused_command_line_argument=yes
   9885 else $as_nop
   9886   xorg_cv_cc_flag_unused_command_line_argument=no
   9887 fi
   9888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9889 fi
   9890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9891 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9892 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9893 	CFLAGS="$xorg_testset_save_CFLAGS"
   9894 fi
   9895 
   9896 found="no"
   9897 
   9898 	if test $found = "no" ; then
   9899 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9901 		fi
   9902 
   9903 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9905 		fi
   9906 
   9907 		CFLAGS="$CFLAGS -Wtrigraphs"
   9908 
   9909 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9910 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9911 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9912 		if eval test \${$cacheid+y}
   9913 then :
   9914   printf %s "(cached) " >&6
   9915 else $as_nop
   9916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9917 /* end confdefs.h.  */
   9918 int i;
   9919 int
   9920 main (void)
   9921 {
   9922 
   9923   ;
   9924   return 0;
   9925 }
   9926 _ACEOF
   9927 if ac_fn_c_try_link "$LINENO"
   9928 then :
   9929   eval $cacheid=yes
   9930 else $as_nop
   9931   eval $cacheid=no
   9932 fi
   9933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9934     conftest$ac_exeext conftest.$ac_ext
   9935 fi
   9936 
   9937 
   9938 		CFLAGS="$xorg_testset_save_CFLAGS"
   9939 
   9940 		eval supported=\$$cacheid
   9941 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9942 printf "%s\n" "$supported" >&6; }
   9943 		if test "$supported" = "yes" ; then
   9944 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9945 			found="yes"
   9946 		fi
   9947 	fi
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 xorg_testset_save_CFLAGS="$CFLAGS"
   9964 
   9965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9967 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9968 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9969 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9970 then :
   9971   printf %s "(cached) " >&6
   9972 else $as_nop
   9973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9974 /* end confdefs.h.  */
   9975 int i;
   9976 _ACEOF
   9977 if ac_fn_c_try_compile "$LINENO"
   9978 then :
   9979   xorg_cv_cc_flag_unknown_warning_option=yes
   9980 else $as_nop
   9981   xorg_cv_cc_flag_unknown_warning_option=no
   9982 fi
   9983 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9984 fi
   9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9986 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9987 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9988 	CFLAGS="$xorg_testset_save_CFLAGS"
   9989 fi
   9990 
   9991 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9992 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9993 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9994 	fi
   9995 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9996 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9997 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9998 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9999 then :
   10000   printf %s "(cached) " >&6
   10001 else $as_nop
   10002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10003 /* end confdefs.h.  */
   10004 int i;
   10005 _ACEOF
   10006 if ac_fn_c_try_compile "$LINENO"
   10007 then :
   10008   xorg_cv_cc_flag_unused_command_line_argument=yes
   10009 else $as_nop
   10010   xorg_cv_cc_flag_unused_command_line_argument=no
   10011 fi
   10012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10013 fi
   10014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10015 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10017 	CFLAGS="$xorg_testset_save_CFLAGS"
   10018 fi
   10019 
   10020 found="no"
   10021 
   10022 	if test $found = "no" ; then
   10023 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10025 		fi
   10026 
   10027 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10029 		fi
   10030 
   10031 		CFLAGS="$CFLAGS -Warray-bounds"
   10032 
   10033 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10034 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10035 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10036 		if eval test \${$cacheid+y}
   10037 then :
   10038   printf %s "(cached) " >&6
   10039 else $as_nop
   10040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10041 /* end confdefs.h.  */
   10042 int i;
   10043 int
   10044 main (void)
   10045 {
   10046 
   10047   ;
   10048   return 0;
   10049 }
   10050 _ACEOF
   10051 if ac_fn_c_try_link "$LINENO"
   10052 then :
   10053   eval $cacheid=yes
   10054 else $as_nop
   10055   eval $cacheid=no
   10056 fi
   10057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10058     conftest$ac_exeext conftest.$ac_ext
   10059 fi
   10060 
   10061 
   10062 		CFLAGS="$xorg_testset_save_CFLAGS"
   10063 
   10064 		eval supported=\$$cacheid
   10065 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10066 printf "%s\n" "$supported" >&6; }
   10067 		if test "$supported" = "yes" ; then
   10068 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10069 			found="yes"
   10070 		fi
   10071 	fi
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 xorg_testset_save_CFLAGS="$CFLAGS"
   10088 
   10089 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10090 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10091 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10092 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10093 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10094 then :
   10095   printf %s "(cached) " >&6
   10096 else $as_nop
   10097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10098 /* end confdefs.h.  */
   10099 int i;
   10100 _ACEOF
   10101 if ac_fn_c_try_compile "$LINENO"
   10102 then :
   10103   xorg_cv_cc_flag_unknown_warning_option=yes
   10104 else $as_nop
   10105   xorg_cv_cc_flag_unknown_warning_option=no
   10106 fi
   10107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10108 fi
   10109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10110 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10111 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10112 	CFLAGS="$xorg_testset_save_CFLAGS"
   10113 fi
   10114 
   10115 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10116 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10117 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10118 	fi
   10119 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10120 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10121 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10122 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10123 then :
   10124   printf %s "(cached) " >&6
   10125 else $as_nop
   10126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10127 /* end confdefs.h.  */
   10128 int i;
   10129 _ACEOF
   10130 if ac_fn_c_try_compile "$LINENO"
   10131 then :
   10132   xorg_cv_cc_flag_unused_command_line_argument=yes
   10133 else $as_nop
   10134   xorg_cv_cc_flag_unused_command_line_argument=no
   10135 fi
   10136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10137 fi
   10138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10139 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10140 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10141 	CFLAGS="$xorg_testset_save_CFLAGS"
   10142 fi
   10143 
   10144 found="no"
   10145 
   10146 	if test $found = "no" ; then
   10147 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10148 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10149 		fi
   10150 
   10151 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10152 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10153 		fi
   10154 
   10155 		CFLAGS="$CFLAGS -Wwrite-strings"
   10156 
   10157 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10158 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10159 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10160 		if eval test \${$cacheid+y}
   10161 then :
   10162   printf %s "(cached) " >&6
   10163 else $as_nop
   10164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10165 /* end confdefs.h.  */
   10166 int i;
   10167 int
   10168 main (void)
   10169 {
   10170 
   10171   ;
   10172   return 0;
   10173 }
   10174 _ACEOF
   10175 if ac_fn_c_try_link "$LINENO"
   10176 then :
   10177   eval $cacheid=yes
   10178 else $as_nop
   10179   eval $cacheid=no
   10180 fi
   10181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10182     conftest$ac_exeext conftest.$ac_ext
   10183 fi
   10184 
   10185 
   10186 		CFLAGS="$xorg_testset_save_CFLAGS"
   10187 
   10188 		eval supported=\$$cacheid
   10189 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10190 printf "%s\n" "$supported" >&6; }
   10191 		if test "$supported" = "yes" ; then
   10192 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10193 			found="yes"
   10194 		fi
   10195 	fi
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 xorg_testset_save_CFLAGS="$CFLAGS"
   10212 
   10213 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10214 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10215 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10216 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10217 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10218 then :
   10219   printf %s "(cached) " >&6
   10220 else $as_nop
   10221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10222 /* end confdefs.h.  */
   10223 int i;
   10224 _ACEOF
   10225 if ac_fn_c_try_compile "$LINENO"
   10226 then :
   10227   xorg_cv_cc_flag_unknown_warning_option=yes
   10228 else $as_nop
   10229   xorg_cv_cc_flag_unknown_warning_option=no
   10230 fi
   10231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10232 fi
   10233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10234 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10235 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10236 	CFLAGS="$xorg_testset_save_CFLAGS"
   10237 fi
   10238 
   10239 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10240 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10241 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10242 	fi
   10243 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10244 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10245 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10246 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10247 then :
   10248   printf %s "(cached) " >&6
   10249 else $as_nop
   10250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10251 /* end confdefs.h.  */
   10252 int i;
   10253 _ACEOF
   10254 if ac_fn_c_try_compile "$LINENO"
   10255 then :
   10256   xorg_cv_cc_flag_unused_command_line_argument=yes
   10257 else $as_nop
   10258   xorg_cv_cc_flag_unused_command_line_argument=no
   10259 fi
   10260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10261 fi
   10262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10263 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10264 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10265 	CFLAGS="$xorg_testset_save_CFLAGS"
   10266 fi
   10267 
   10268 found="no"
   10269 
   10270 	if test $found = "no" ; then
   10271 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10272 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10273 		fi
   10274 
   10275 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10276 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10277 		fi
   10278 
   10279 		CFLAGS="$CFLAGS -Waddress"
   10280 
   10281 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10282 printf %s "checking if $CC supports -Waddress... " >&6; }
   10283 		cacheid=xorg_cv_cc_flag__Waddress
   10284 		if eval test \${$cacheid+y}
   10285 then :
   10286   printf %s "(cached) " >&6
   10287 else $as_nop
   10288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10289 /* end confdefs.h.  */
   10290 int i;
   10291 int
   10292 main (void)
   10293 {
   10294 
   10295   ;
   10296   return 0;
   10297 }
   10298 _ACEOF
   10299 if ac_fn_c_try_link "$LINENO"
   10300 then :
   10301   eval $cacheid=yes
   10302 else $as_nop
   10303   eval $cacheid=no
   10304 fi
   10305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10306     conftest$ac_exeext conftest.$ac_ext
   10307 fi
   10308 
   10309 
   10310 		CFLAGS="$xorg_testset_save_CFLAGS"
   10311 
   10312 		eval supported=\$$cacheid
   10313 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10314 printf "%s\n" "$supported" >&6; }
   10315 		if test "$supported" = "yes" ; then
   10316 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10317 			found="yes"
   10318 		fi
   10319 	fi
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 xorg_testset_save_CFLAGS="$CFLAGS"
   10336 
   10337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10339 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10340 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10341 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10342 then :
   10343   printf %s "(cached) " >&6
   10344 else $as_nop
   10345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10346 /* end confdefs.h.  */
   10347 int i;
   10348 _ACEOF
   10349 if ac_fn_c_try_compile "$LINENO"
   10350 then :
   10351   xorg_cv_cc_flag_unknown_warning_option=yes
   10352 else $as_nop
   10353   xorg_cv_cc_flag_unknown_warning_option=no
   10354 fi
   10355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10356 fi
   10357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10358 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10359 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10360 	CFLAGS="$xorg_testset_save_CFLAGS"
   10361 fi
   10362 
   10363 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10364 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10365 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10366 	fi
   10367 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10368 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10369 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10370 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10371 then :
   10372   printf %s "(cached) " >&6
   10373 else $as_nop
   10374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10375 /* end confdefs.h.  */
   10376 int i;
   10377 _ACEOF
   10378 if ac_fn_c_try_compile "$LINENO"
   10379 then :
   10380   xorg_cv_cc_flag_unused_command_line_argument=yes
   10381 else $as_nop
   10382   xorg_cv_cc_flag_unused_command_line_argument=no
   10383 fi
   10384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10385 fi
   10386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10387 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10389 	CFLAGS="$xorg_testset_save_CFLAGS"
   10390 fi
   10391 
   10392 found="no"
   10393 
   10394 	if test $found = "no" ; then
   10395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10397 		fi
   10398 
   10399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10401 		fi
   10402 
   10403 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10404 
   10405 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10406 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10407 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10408 		if eval test \${$cacheid+y}
   10409 then :
   10410   printf %s "(cached) " >&6
   10411 else $as_nop
   10412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10413 /* end confdefs.h.  */
   10414 int i;
   10415 int
   10416 main (void)
   10417 {
   10418 
   10419   ;
   10420   return 0;
   10421 }
   10422 _ACEOF
   10423 if ac_fn_c_try_link "$LINENO"
   10424 then :
   10425   eval $cacheid=yes
   10426 else $as_nop
   10427   eval $cacheid=no
   10428 fi
   10429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10430     conftest$ac_exeext conftest.$ac_ext
   10431 fi
   10432 
   10433 
   10434 		CFLAGS="$xorg_testset_save_CFLAGS"
   10435 
   10436 		eval supported=\$$cacheid
   10437 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10438 printf "%s\n" "$supported" >&6; }
   10439 		if test "$supported" = "yes" ; then
   10440 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10441 			found="yes"
   10442 		fi
   10443 	fi
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 xorg_testset_save_CFLAGS="$CFLAGS"
   10460 
   10461 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10462 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10463 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10464 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10465 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10466 then :
   10467   printf %s "(cached) " >&6
   10468 else $as_nop
   10469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10470 /* end confdefs.h.  */
   10471 int i;
   10472 _ACEOF
   10473 if ac_fn_c_try_compile "$LINENO"
   10474 then :
   10475   xorg_cv_cc_flag_unknown_warning_option=yes
   10476 else $as_nop
   10477   xorg_cv_cc_flag_unknown_warning_option=no
   10478 fi
   10479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10480 fi
   10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10482 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10483 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10484 	CFLAGS="$xorg_testset_save_CFLAGS"
   10485 fi
   10486 
   10487 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10488 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10489 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10490 	fi
   10491 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10492 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10493 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10494 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10495 then :
   10496   printf %s "(cached) " >&6
   10497 else $as_nop
   10498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10499 /* end confdefs.h.  */
   10500 int i;
   10501 _ACEOF
   10502 if ac_fn_c_try_compile "$LINENO"
   10503 then :
   10504   xorg_cv_cc_flag_unused_command_line_argument=yes
   10505 else $as_nop
   10506   xorg_cv_cc_flag_unused_command_line_argument=no
   10507 fi
   10508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10509 fi
   10510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10511 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10512 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10513 	CFLAGS="$xorg_testset_save_CFLAGS"
   10514 fi
   10515 
   10516 found="no"
   10517 
   10518 	if test $found = "no" ; then
   10519 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10520 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10521 		fi
   10522 
   10523 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10524 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10525 		fi
   10526 
   10527 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10528 
   10529 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10530 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10531 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10532 		if eval test \${$cacheid+y}
   10533 then :
   10534   printf %s "(cached) " >&6
   10535 else $as_nop
   10536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10537 /* end confdefs.h.  */
   10538 int i;
   10539 int
   10540 main (void)
   10541 {
   10542 
   10543   ;
   10544   return 0;
   10545 }
   10546 _ACEOF
   10547 if ac_fn_c_try_link "$LINENO"
   10548 then :
   10549   eval $cacheid=yes
   10550 else $as_nop
   10551   eval $cacheid=no
   10552 fi
   10553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10554     conftest$ac_exeext conftest.$ac_ext
   10555 fi
   10556 
   10557 
   10558 		CFLAGS="$xorg_testset_save_CFLAGS"
   10559 
   10560 		eval supported=\$$cacheid
   10561 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10562 printf "%s\n" "$supported" >&6; }
   10563 		if test "$supported" = "yes" ; then
   10564 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10565 			found="yes"
   10566 		fi
   10567 	fi
   10568 
   10569 
   10570 fi
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 		CWARNFLAGS="$BASE_CFLAGS"
   10579 		if  test "x$GCC" = xyes ; then
   10580 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10581 		fi
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 # Check whether --enable-strict-compilation was given.
   10591 if test ${enable_strict_compilation+y}
   10592 then :
   10593   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10594 else $as_nop
   10595   STRICT_COMPILE=no
   10596 fi
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 STRICT_CFLAGS=""
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 xorg_testset_save_CFLAGS="$CFLAGS"
   10618 
   10619 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10620 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10621 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10622 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10623 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10624 then :
   10625   printf %s "(cached) " >&6
   10626 else $as_nop
   10627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10628 /* end confdefs.h.  */
   10629 int i;
   10630 _ACEOF
   10631 if ac_fn_c_try_compile "$LINENO"
   10632 then :
   10633   xorg_cv_cc_flag_unknown_warning_option=yes
   10634 else $as_nop
   10635   xorg_cv_cc_flag_unknown_warning_option=no
   10636 fi
   10637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10638 fi
   10639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10640 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10641 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10642 	CFLAGS="$xorg_testset_save_CFLAGS"
   10643 fi
   10644 
   10645 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10646 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10647 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10648 	fi
   10649 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10650 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10651 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10652 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10653 then :
   10654   printf %s "(cached) " >&6
   10655 else $as_nop
   10656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10657 /* end confdefs.h.  */
   10658 int i;
   10659 _ACEOF
   10660 if ac_fn_c_try_compile "$LINENO"
   10661 then :
   10662   xorg_cv_cc_flag_unused_command_line_argument=yes
   10663 else $as_nop
   10664   xorg_cv_cc_flag_unused_command_line_argument=no
   10665 fi
   10666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10667 fi
   10668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10669 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10670 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10671 	CFLAGS="$xorg_testset_save_CFLAGS"
   10672 fi
   10673 
   10674 found="no"
   10675 
   10676 	if test $found = "no" ; then
   10677 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10679 		fi
   10680 
   10681 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10683 		fi
   10684 
   10685 		CFLAGS="$CFLAGS -pedantic"
   10686 
   10687 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10688 printf %s "checking if $CC supports -pedantic... " >&6; }
   10689 		cacheid=xorg_cv_cc_flag__pedantic
   10690 		if eval test \${$cacheid+y}
   10691 then :
   10692   printf %s "(cached) " >&6
   10693 else $as_nop
   10694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10695 /* end confdefs.h.  */
   10696 int i;
   10697 int
   10698 main (void)
   10699 {
   10700 
   10701   ;
   10702   return 0;
   10703 }
   10704 _ACEOF
   10705 if ac_fn_c_try_link "$LINENO"
   10706 then :
   10707   eval $cacheid=yes
   10708 else $as_nop
   10709   eval $cacheid=no
   10710 fi
   10711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10712     conftest$ac_exeext conftest.$ac_ext
   10713 fi
   10714 
   10715 
   10716 		CFLAGS="$xorg_testset_save_CFLAGS"
   10717 
   10718 		eval supported=\$$cacheid
   10719 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10720 printf "%s\n" "$supported" >&6; }
   10721 		if test "$supported" = "yes" ; then
   10722 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10723 			found="yes"
   10724 		fi
   10725 	fi
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 xorg_testset_save_CFLAGS="$CFLAGS"
   10742 
   10743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10745 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10746 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10747 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10748 then :
   10749   printf %s "(cached) " >&6
   10750 else $as_nop
   10751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10752 /* end confdefs.h.  */
   10753 int i;
   10754 _ACEOF
   10755 if ac_fn_c_try_compile "$LINENO"
   10756 then :
   10757   xorg_cv_cc_flag_unknown_warning_option=yes
   10758 else $as_nop
   10759   xorg_cv_cc_flag_unknown_warning_option=no
   10760 fi
   10761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10762 fi
   10763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10764 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10765 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10766 	CFLAGS="$xorg_testset_save_CFLAGS"
   10767 fi
   10768 
   10769 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10770 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10771 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10772 	fi
   10773 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10774 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10775 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10776 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10777 then :
   10778   printf %s "(cached) " >&6
   10779 else $as_nop
   10780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10781 /* end confdefs.h.  */
   10782 int i;
   10783 _ACEOF
   10784 if ac_fn_c_try_compile "$LINENO"
   10785 then :
   10786   xorg_cv_cc_flag_unused_command_line_argument=yes
   10787 else $as_nop
   10788   xorg_cv_cc_flag_unused_command_line_argument=no
   10789 fi
   10790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10791 fi
   10792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10793 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10794 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10795 	CFLAGS="$xorg_testset_save_CFLAGS"
   10796 fi
   10797 
   10798 found="no"
   10799 
   10800 	if test $found = "no" ; then
   10801 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10802 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10803 		fi
   10804 
   10805 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10806 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10807 		fi
   10808 
   10809 		CFLAGS="$CFLAGS -Werror"
   10810 
   10811 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10812 printf %s "checking if $CC supports -Werror... " >&6; }
   10813 		cacheid=xorg_cv_cc_flag__Werror
   10814 		if eval test \${$cacheid+y}
   10815 then :
   10816   printf %s "(cached) " >&6
   10817 else $as_nop
   10818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10819 /* end confdefs.h.  */
   10820 int i;
   10821 int
   10822 main (void)
   10823 {
   10824 
   10825   ;
   10826   return 0;
   10827 }
   10828 _ACEOF
   10829 if ac_fn_c_try_link "$LINENO"
   10830 then :
   10831   eval $cacheid=yes
   10832 else $as_nop
   10833   eval $cacheid=no
   10834 fi
   10835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10836     conftest$ac_exeext conftest.$ac_ext
   10837 fi
   10838 
   10839 
   10840 		CFLAGS="$xorg_testset_save_CFLAGS"
   10841 
   10842 		eval supported=\$$cacheid
   10843 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10844 printf "%s\n" "$supported" >&6; }
   10845 		if test "$supported" = "yes" ; then
   10846 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10847 			found="yes"
   10848 		fi
   10849 	fi
   10850 
   10851 	if test $found = "no" ; then
   10852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10854 		fi
   10855 
   10856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10858 		fi
   10859 
   10860 		CFLAGS="$CFLAGS -errwarn"
   10861 
   10862 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10863 printf %s "checking if $CC supports -errwarn... " >&6; }
   10864 		cacheid=xorg_cv_cc_flag__errwarn
   10865 		if eval test \${$cacheid+y}
   10866 then :
   10867   printf %s "(cached) " >&6
   10868 else $as_nop
   10869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10870 /* end confdefs.h.  */
   10871 int i;
   10872 int
   10873 main (void)
   10874 {
   10875 
   10876   ;
   10877   return 0;
   10878 }
   10879 _ACEOF
   10880 if ac_fn_c_try_link "$LINENO"
   10881 then :
   10882   eval $cacheid=yes
   10883 else $as_nop
   10884   eval $cacheid=no
   10885 fi
   10886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10887     conftest$ac_exeext conftest.$ac_ext
   10888 fi
   10889 
   10890 
   10891 		CFLAGS="$xorg_testset_save_CFLAGS"
   10892 
   10893 		eval supported=\$$cacheid
   10894 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10895 printf "%s\n" "$supported" >&6; }
   10896 		if test "$supported" = "yes" ; then
   10897 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10898 			found="yes"
   10899 		fi
   10900 	fi
   10901 
   10902 
   10903 
   10904 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10905 # activate it with -Werror, so we add it here explicitly.
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 xorg_testset_save_CFLAGS="$CFLAGS"
   10920 
   10921 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10923 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10924 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10925 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10926 then :
   10927   printf %s "(cached) " >&6
   10928 else $as_nop
   10929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10930 /* end confdefs.h.  */
   10931 int i;
   10932 _ACEOF
   10933 if ac_fn_c_try_compile "$LINENO"
   10934 then :
   10935   xorg_cv_cc_flag_unknown_warning_option=yes
   10936 else $as_nop
   10937   xorg_cv_cc_flag_unknown_warning_option=no
   10938 fi
   10939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10940 fi
   10941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10942 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10943 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10944 	CFLAGS="$xorg_testset_save_CFLAGS"
   10945 fi
   10946 
   10947 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10948 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10949 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10950 	fi
   10951 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10952 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10953 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10954 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10955 then :
   10956   printf %s "(cached) " >&6
   10957 else $as_nop
   10958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10959 /* end confdefs.h.  */
   10960 int i;
   10961 _ACEOF
   10962 if ac_fn_c_try_compile "$LINENO"
   10963 then :
   10964   xorg_cv_cc_flag_unused_command_line_argument=yes
   10965 else $as_nop
   10966   xorg_cv_cc_flag_unused_command_line_argument=no
   10967 fi
   10968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10969 fi
   10970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10971 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10972 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10973 	CFLAGS="$xorg_testset_save_CFLAGS"
   10974 fi
   10975 
   10976 found="no"
   10977 
   10978 	if test $found = "no" ; then
   10979 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10980 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10981 		fi
   10982 
   10983 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10984 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10985 		fi
   10986 
   10987 		CFLAGS="$CFLAGS -Werror=attributes"
   10988 
   10989 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10990 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10991 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10992 		if eval test \${$cacheid+y}
   10993 then :
   10994   printf %s "(cached) " >&6
   10995 else $as_nop
   10996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10997 /* end confdefs.h.  */
   10998 int i;
   10999 int
   11000 main (void)
   11001 {
   11002 
   11003   ;
   11004   return 0;
   11005 }
   11006 _ACEOF
   11007 if ac_fn_c_try_link "$LINENO"
   11008 then :
   11009   eval $cacheid=yes
   11010 else $as_nop
   11011   eval $cacheid=no
   11012 fi
   11013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11014     conftest$ac_exeext conftest.$ac_ext
   11015 fi
   11016 
   11017 
   11018 		CFLAGS="$xorg_testset_save_CFLAGS"
   11019 
   11020 		eval supported=\$$cacheid
   11021 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11022 printf "%s\n" "$supported" >&6; }
   11023 		if test "$supported" = "yes" ; then
   11024 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11025 			found="yes"
   11026 		fi
   11027 	fi
   11028 
   11029 
   11030 
   11031 if test "x$STRICT_COMPILE" = "xyes"; then
   11032     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11033     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11034 fi
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 cat >>confdefs.h <<_ACEOF
   11044 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11045 _ACEOF
   11046 
   11047 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11048 	if test "x$PVM" = "x"; then
   11049 		PVM="0"
   11050 	fi
   11051 
   11052 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11053 
   11054 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11055 	if test "x$PVP" = "x"; then
   11056 		PVP="0"
   11057 	fi
   11058 
   11059 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11060 
   11061 
   11062 
   11063 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11064 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11065 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11066 touch \$(top_srcdir)/ChangeLog; \
   11067 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11068 
   11069 
   11070 
   11071 
   11072 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11073 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11074 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11075 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11076 touch \$(top_srcdir)/INSTALL; \
   11077 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 case $host_os in
   11085     solaris*)
   11086         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11087         # check for a man page file found in later versions that use
   11088         # traditional section numbers instead
   11089         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11090 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11091 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11092 then :
   11093   printf %s "(cached) " >&6
   11094 else $as_nop
   11095   test "$cross_compiling" = yes &&
   11096   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11097 if test -r "/usr/share/man/man7/attributes.7"; then
   11098   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11099 else
   11100   ac_cv_file__usr_share_man_man7_attributes_7=no
   11101 fi
   11102 fi
   11103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11104 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11105 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11106 then :
   11107   SYSV_MAN_SECTIONS=false
   11108 else $as_nop
   11109   SYSV_MAN_SECTIONS=true
   11110 fi
   11111 
   11112         ;;
   11113     *) SYSV_MAN_SECTIONS=false ;;
   11114 esac
   11115 
   11116 if test x$APP_MAN_SUFFIX = x    ; then
   11117     APP_MAN_SUFFIX=1
   11118 fi
   11119 if test x$APP_MAN_DIR = x    ; then
   11120     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11121 fi
   11122 
   11123 if test x$LIB_MAN_SUFFIX = x    ; then
   11124     LIB_MAN_SUFFIX=3
   11125 fi
   11126 if test x$LIB_MAN_DIR = x    ; then
   11127     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11128 fi
   11129 
   11130 if test x$FILE_MAN_SUFFIX = x    ; then
   11131     case $SYSV_MAN_SECTIONS in
   11132 	true)				FILE_MAN_SUFFIX=4  ;;
   11133 	*)				FILE_MAN_SUFFIX=5  ;;
   11134     esac
   11135 fi
   11136 if test x$FILE_MAN_DIR = x    ; then
   11137     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11138 fi
   11139 
   11140 if test x$MISC_MAN_SUFFIX = x    ; then
   11141     case $SYSV_MAN_SECTIONS in
   11142 	true)				MISC_MAN_SUFFIX=5  ;;
   11143 	*)				MISC_MAN_SUFFIX=7  ;;
   11144     esac
   11145 fi
   11146 if test x$MISC_MAN_DIR = x    ; then
   11147     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11148 fi
   11149 
   11150 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11151     case $SYSV_MAN_SECTIONS in
   11152 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11153 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11154     esac
   11155 fi
   11156 if test x$DRIVER_MAN_DIR = x    ; then
   11157     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11158 fi
   11159 
   11160 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11161     case $SYSV_MAN_SECTIONS in
   11162 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11163 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11164     esac
   11165 fi
   11166 if test x$ADMIN_MAN_DIR = x    ; then
   11167     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11168 fi
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 XORG_MAN_PAGE="X Version 11"
   11185 
   11186 MAN_SUBSTS="\
   11187 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11188 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11189 	-e 's|__xservername__|Xorg|g' \
   11190 	-e 's|__xconfigfile__|xorg.conf|g' \
   11191 	-e 's|__projectroot__|\$(prefix)|g' \
   11192 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11193 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11194 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11195 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11196 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11197 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11198 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11199 
   11200 
   11201 
   11202 # Check whether --enable-silent-rules was given.
   11203 if test ${enable_silent_rules+y}
   11204 then :
   11205   enableval=$enable_silent_rules;
   11206 fi
   11207 
   11208 case $enable_silent_rules in # (((
   11209   yes) AM_DEFAULT_VERBOSITY=0;;
   11210    no) AM_DEFAULT_VERBOSITY=1;;
   11211     *) AM_DEFAULT_VERBOSITY=0;;
   11212 esac
   11213 am_make=${MAKE-make}
   11214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11215 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11216 if test ${am_cv_make_support_nested_variables+y}
   11217 then :
   11218   printf %s "(cached) " >&6
   11219 else $as_nop
   11220   if printf "%s\n" 'TRUE=$(BAR$(V))
   11221 BAR0=false
   11222 BAR1=true
   11223 V=1
   11224 am__doit:
   11225 	@$(TRUE)
   11226 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11227   am_cv_make_support_nested_variables=yes
   11228 else
   11229   am_cv_make_support_nested_variables=no
   11230 fi
   11231 fi
   11232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11233 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11234 if test $am_cv_make_support_nested_variables = yes; then
   11235     AM_V='$(V)'
   11236   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11237 else
   11238   AM_V=$AM_DEFAULT_VERBOSITY
   11239   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11240 fi
   11241 AM_BACKSLASH='\'
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 # Check whether --enable-docs was given.
   11248 if test ${enable_docs+y}
   11249 then :
   11250   enableval=$enable_docs; build_docs=$enableval
   11251 else $as_nop
   11252   build_docs=yes
   11253 fi
   11254 
   11255 
   11256  if test x$build_docs = xyes; then
   11257   ENABLE_DOCS_TRUE=
   11258   ENABLE_DOCS_FALSE='#'
   11259 else
   11260   ENABLE_DOCS_TRUE='#'
   11261   ENABLE_DOCS_FALSE=
   11262 fi
   11263 
   11264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
   11265 printf %s "checking whether to build documentation... " >&6; }
   11266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
   11267 printf "%s\n" "$build_docs" >&6; }
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 # Check whether --with-xmlto was given.
   11274 if test ${with_xmlto+y}
   11275 then :
   11276   withval=$with_xmlto; use_xmlto=$withval
   11277 else $as_nop
   11278   use_xmlto=auto
   11279 fi
   11280 
   11281 
   11282 
   11283 if test "x$use_xmlto" = x"auto"; then
   11284    # Extract the first word of "xmlto", so it can be a program name with args.
   11285 set dummy xmlto; ac_word=$2
   11286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11287 printf %s "checking for $ac_word... " >&6; }
   11288 if test ${ac_cv_path_XMLTO+y}
   11289 then :
   11290   printf %s "(cached) " >&6
   11291 else $as_nop
   11292   case $XMLTO in
   11293   [\\/]* | ?:[\\/]*)
   11294   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   11295   ;;
   11296   *)
   11297   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11298 for as_dir in $PATH
   11299 do
   11300   IFS=$as_save_IFS
   11301   case $as_dir in #(((
   11302     '') as_dir=./ ;;
   11303     */) ;;
   11304     *) as_dir=$as_dir/ ;;
   11305   esac
   11306     for ac_exec_ext in '' $ac_executable_extensions; do
   11307   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11308     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   11309     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11310     break 2
   11311   fi
   11312 done
   11313   done
   11314 IFS=$as_save_IFS
   11315 
   11316   ;;
   11317 esac
   11318 fi
   11319 XMLTO=$ac_cv_path_XMLTO
   11320 if test -n "$XMLTO"; then
   11321   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   11322 printf "%s\n" "$XMLTO" >&6; }
   11323 else
   11324   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11325 printf "%s\n" "no" >&6; }
   11326 fi
   11327 
   11328 
   11329    if test "x$XMLTO" = "x"; then
   11330         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   11331 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   11332 	have_xmlto=no
   11333    else
   11334         have_xmlto=yes
   11335    fi
   11336 elif test "x$use_xmlto" = x"yes" ; then
   11337    # Extract the first word of "xmlto", so it can be a program name with args.
   11338 set dummy xmlto; ac_word=$2
   11339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11340 printf %s "checking for $ac_word... " >&6; }
   11341 if test ${ac_cv_path_XMLTO+y}
   11342 then :
   11343   printf %s "(cached) " >&6
   11344 else $as_nop
   11345   case $XMLTO in
   11346   [\\/]* | ?:[\\/]*)
   11347   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   11348   ;;
   11349   *)
   11350   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11351 for as_dir in $PATH
   11352 do
   11353   IFS=$as_save_IFS
   11354   case $as_dir in #(((
   11355     '') as_dir=./ ;;
   11356     */) ;;
   11357     *) as_dir=$as_dir/ ;;
   11358   esac
   11359     for ac_exec_ext in '' $ac_executable_extensions; do
   11360   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11361     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   11362     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11363     break 2
   11364   fi
   11365 done
   11366   done
   11367 IFS=$as_save_IFS
   11368 
   11369   ;;
   11370 esac
   11371 fi
   11372 XMLTO=$ac_cv_path_XMLTO
   11373 if test -n "$XMLTO"; then
   11374   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   11375 printf "%s\n" "$XMLTO" >&6; }
   11376 else
   11377   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11378 printf "%s\n" "no" >&6; }
   11379 fi
   11380 
   11381 
   11382    if test "x$XMLTO" = "x"; then
   11383         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   11384    fi
   11385    have_xmlto=yes
   11386 elif test "x$use_xmlto" = x"no" ; then
   11387    if test "x$XMLTO" != "x"; then
   11388       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   11389 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   11390    fi
   11391    have_xmlto=no
   11392 else
   11393    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   11394 fi
   11395 
   11396 # Test for a minimum version of xmlto, if provided.
   11397 if test "$have_xmlto" = yes; then
   11398     # scrape the xmlto version
   11399     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   11400 printf %s "checking the xmlto version... " >&6; }
   11401     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   11402     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   11403 printf "%s\n" "$xmlto_version" >&6; }
   11404     as_arg_v1=$xmlto_version
   11405 as_arg_v2=0.0.22
   11406 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   11407 case $? in #(
   11408   1) :
   11409     if test "x$use_xmlto" = xauto; then
   11410             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   11411 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   11412             have_xmlto=no
   11413         else
   11414             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   11415         fi ;; #(
   11416   0) :
   11417      ;; #(
   11418   2) :
   11419      ;; #(
   11420   *) :
   11421      ;;
   11422 esac
   11423 fi
   11424 
   11425 # Test for the ability of xmlto to generate a text target
   11426 #
   11427 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   11428 # following test for empty XML docbook files.
   11429 # For compatibility reasons use the following empty XML docbook file and if
   11430 # it fails try it again with a non-empty XML file.
   11431 have_xmlto_text=no
   11432 cat > conftest.xml << "EOF"
   11433 EOF
   11434 if test "$have_xmlto" = yes
   11435 then :
   11436   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   11437 then :
   11438   have_xmlto_text=yes
   11439 else $as_nop
   11440   # Try it again with a non-empty XML file.
   11441               cat > conftest.xml << "EOF"
   11442 <x></x>
   11443 EOF
   11444               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   11445 then :
   11446   have_xmlto_text=yes
   11447 else $as_nop
   11448   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   11449 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   11450 fi
   11451 fi
   11452 fi
   11453 rm -f conftest.xml
   11454  if test $have_xmlto_text = yes; then
   11455   HAVE_XMLTO_TEXT_TRUE=
   11456   HAVE_XMLTO_TEXT_FALSE='#'
   11457 else
   11458   HAVE_XMLTO_TEXT_TRUE='#'
   11459   HAVE_XMLTO_TEXT_FALSE=
   11460 fi
   11461 
   11462  if test "$have_xmlto" = yes; then
   11463   HAVE_XMLTO_TRUE=
   11464   HAVE_XMLTO_FALSE='#'
   11465 else
   11466   HAVE_XMLTO_TRUE='#'
   11467   HAVE_XMLTO_FALSE=
   11468 fi
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 # Check whether --with-fop was given.
   11476 if test ${with_fop+y}
   11477 then :
   11478   withval=$with_fop; use_fop=$withval
   11479 else $as_nop
   11480   use_fop=auto
   11481 fi
   11482 
   11483 
   11484 
   11485 if test "x$use_fop" = x"auto"; then
   11486    # Extract the first word of "fop", so it can be a program name with args.
   11487 set dummy fop; ac_word=$2
   11488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11489 printf %s "checking for $ac_word... " >&6; }
   11490 if test ${ac_cv_path_FOP+y}
   11491 then :
   11492   printf %s "(cached) " >&6
   11493 else $as_nop
   11494   case $FOP in
   11495   [\\/]* | ?:[\\/]*)
   11496   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   11497   ;;
   11498   *)
   11499   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11500 for as_dir in $PATH
   11501 do
   11502   IFS=$as_save_IFS
   11503   case $as_dir in #(((
   11504     '') as_dir=./ ;;
   11505     */) ;;
   11506     *) as_dir=$as_dir/ ;;
   11507   esac
   11508     for ac_exec_ext in '' $ac_executable_extensions; do
   11509   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11510     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   11511     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11512     break 2
   11513   fi
   11514 done
   11515   done
   11516 IFS=$as_save_IFS
   11517 
   11518   ;;
   11519 esac
   11520 fi
   11521 FOP=$ac_cv_path_FOP
   11522 if test -n "$FOP"; then
   11523   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   11524 printf "%s\n" "$FOP" >&6; }
   11525 else
   11526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11527 printf "%s\n" "no" >&6; }
   11528 fi
   11529 
   11530 
   11531    if test "x$FOP" = "x"; then
   11532         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   11533 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   11534 	have_fop=no
   11535    else
   11536         have_fop=yes
   11537    fi
   11538 elif test "x$use_fop" = x"yes" ; then
   11539    # Extract the first word of "fop", so it can be a program name with args.
   11540 set dummy fop; ac_word=$2
   11541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11542 printf %s "checking for $ac_word... " >&6; }
   11543 if test ${ac_cv_path_FOP+y}
   11544 then :
   11545   printf %s "(cached) " >&6
   11546 else $as_nop
   11547   case $FOP in
   11548   [\\/]* | ?:[\\/]*)
   11549   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   11550   ;;
   11551   *)
   11552   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11553 for as_dir in $PATH
   11554 do
   11555   IFS=$as_save_IFS
   11556   case $as_dir in #(((
   11557     '') as_dir=./ ;;
   11558     */) ;;
   11559     *) as_dir=$as_dir/ ;;
   11560   esac
   11561     for ac_exec_ext in '' $ac_executable_extensions; do
   11562   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11563     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   11564     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11565     break 2
   11566   fi
   11567 done
   11568   done
   11569 IFS=$as_save_IFS
   11570 
   11571   ;;
   11572 esac
   11573 fi
   11574 FOP=$ac_cv_path_FOP
   11575 if test -n "$FOP"; then
   11576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   11577 printf "%s\n" "$FOP" >&6; }
   11578 else
   11579   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11580 printf "%s\n" "no" >&6; }
   11581 fi
   11582 
   11583 
   11584    if test "x$FOP" = "x"; then
   11585         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   11586    fi
   11587    have_fop=yes
   11588 elif test "x$use_fop" = x"no" ; then
   11589    if test "x$FOP" != "x"; then
   11590       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   11591 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   11592    fi
   11593    have_fop=no
   11594 else
   11595    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   11596 fi
   11597 
   11598 # Test for a minimum version of fop, if provided.
   11599 
   11600  if test "$have_fop" = yes; then
   11601   HAVE_FOP_TRUE=
   11602   HAVE_FOP_FALSE='#'
   11603 else
   11604   HAVE_FOP_TRUE='#'
   11605   HAVE_FOP_FALSE=
   11606 fi
   11607 
   11608 
   11609 
   11610 
   11611 # Preserves the interface, should it be implemented later
   11612 
   11613 
   11614 
   11615 # Check whether --with-xsltproc was given.
   11616 if test ${with_xsltproc+y}
   11617 then :
   11618   withval=$with_xsltproc; use_xsltproc=$withval
   11619 else $as_nop
   11620   use_xsltproc=auto
   11621 fi
   11622 
   11623 
   11624 
   11625 if test "x$use_xsltproc" = x"auto"; then
   11626    # Extract the first word of "xsltproc", so it can be a program name with args.
   11627 set dummy xsltproc; ac_word=$2
   11628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11629 printf %s "checking for $ac_word... " >&6; }
   11630 if test ${ac_cv_path_XSLTPROC+y}
   11631 then :
   11632   printf %s "(cached) " >&6
   11633 else $as_nop
   11634   case $XSLTPROC in
   11635   [\\/]* | ?:[\\/]*)
   11636   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   11637   ;;
   11638   *)
   11639   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11640 for as_dir in $PATH
   11641 do
   11642   IFS=$as_save_IFS
   11643   case $as_dir in #(((
   11644     '') as_dir=./ ;;
   11645     */) ;;
   11646     *) as_dir=$as_dir/ ;;
   11647   esac
   11648     for ac_exec_ext in '' $ac_executable_extensions; do
   11649   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11650     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   11651     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11652     break 2
   11653   fi
   11654 done
   11655   done
   11656 IFS=$as_save_IFS
   11657 
   11658   ;;
   11659 esac
   11660 fi
   11661 XSLTPROC=$ac_cv_path_XSLTPROC
   11662 if test -n "$XSLTPROC"; then
   11663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   11664 printf "%s\n" "$XSLTPROC" >&6; }
   11665 else
   11666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11667 printf "%s\n" "no" >&6; }
   11668 fi
   11669 
   11670 
   11671    if test "x$XSLTPROC" = "x"; then
   11672         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   11673 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   11674 	have_xsltproc=no
   11675    else
   11676         have_xsltproc=yes
   11677    fi
   11678 elif test "x$use_xsltproc" = x"yes" ; then
   11679    # Extract the first word of "xsltproc", so it can be a program name with args.
   11680 set dummy xsltproc; ac_word=$2
   11681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11682 printf %s "checking for $ac_word... " >&6; }
   11683 if test ${ac_cv_path_XSLTPROC+y}
   11684 then :
   11685   printf %s "(cached) " >&6
   11686 else $as_nop
   11687   case $XSLTPROC in
   11688   [\\/]* | ?:[\\/]*)
   11689   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   11690   ;;
   11691   *)
   11692   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11693 for as_dir in $PATH
   11694 do
   11695   IFS=$as_save_IFS
   11696   case $as_dir in #(((
   11697     '') as_dir=./ ;;
   11698     */) ;;
   11699     *) as_dir=$as_dir/ ;;
   11700   esac
   11701     for ac_exec_ext in '' $ac_executable_extensions; do
   11702   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11703     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   11704     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11705     break 2
   11706   fi
   11707 done
   11708   done
   11709 IFS=$as_save_IFS
   11710 
   11711   ;;
   11712 esac
   11713 fi
   11714 XSLTPROC=$ac_cv_path_XSLTPROC
   11715 if test -n "$XSLTPROC"; then
   11716   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   11717 printf "%s\n" "$XSLTPROC" >&6; }
   11718 else
   11719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11720 printf "%s\n" "no" >&6; }
   11721 fi
   11722 
   11723 
   11724    if test "x$XSLTPROC" = "x"; then
   11725         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   11726    fi
   11727    have_xsltproc=yes
   11728 elif test "x$use_xsltproc" = x"no" ; then
   11729    if test "x$XSLTPROC" != "x"; then
   11730       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   11731 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   11732    fi
   11733    have_xsltproc=no
   11734 else
   11735    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   11736 fi
   11737 
   11738  if test "$have_xsltproc" = yes; then
   11739   HAVE_XSLTPROC_TRUE=
   11740   HAVE_XSLTPROC_FALSE='#'
   11741 else
   11742   HAVE_XSLTPROC_TRUE='#'
   11743   HAVE_XSLTPROC_FALSE=
   11744 fi
   11745 
   11746 
   11747 
   11748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   11749 printf %s "checking for X.Org SGML entities >= 1.8... " >&6; }
   11750 XORG_SGML_PATH=
   11751 if test -n "$PKG_CONFIG" && \
   11752     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   11753   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   11754   ac_status=$?
   11755   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11756   test $ac_status = 0; }; then
   11757   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   11758 else
   11759   :
   11760 
   11761 fi
   11762 
   11763 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   11764 # the path and the name of the doc stylesheet
   11765 if test "x$XORG_SGML_PATH" != "x" ; then
   11766    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   11767 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   11768    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   11769    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   11770 else
   11771    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11772 printf "%s\n" "no" >&6; }
   11773 fi
   11774 
   11775 
   11776 
   11777 
   11778  if test "x$XSL_STYLESHEET" != "x"; then
   11779   HAVE_STYLESHEETS_TRUE=
   11780   HAVE_STYLESHEETS_FALSE='#'
   11781 else
   11782   HAVE_STYLESHEETS_TRUE='#'
   11783   HAVE_STYLESHEETS_FALSE=
   11784 fi
   11785 
   11786 
   11787 
   11788 # Because xtrans is included into other modules rather than being linked
   11789 # with, these defines have to be added to the cflags line
   11790 
   11791 # fchown()
   11792 
   11793 ac_fn_c_check_func "$LINENO" "fchown" "ac_cv_func_fchown"
   11794 if test "x$ac_cv_func_fchown" = xyes
   11795 then :
   11796   fchown_define="-DHAS_FCHOWN"
   11797 else $as_nop
   11798   fchown_define=""
   11799 fi
   11800 
   11801 
   11802 
   11803 
   11804 # sticky bit
   11805 #
   11806 # if any system exists without sticky dir bits this
   11807 # needs to be redone with a real autoconf test
   11808 
   11809 sticky_bit_define="-DHAS_STICKY_DIR_BIT"
   11810 
   11811 
   11812 
   11813 ac_config_files="$ac_config_files Makefile doc/Makefile xtrans.pc"
   11814 
   11815 cat >confcache <<\_ACEOF
   11816 # This file is a shell script that caches the results of configure
   11817 # tests run on this system so they can be shared between configure
   11818 # scripts and configure runs, see configure's option --config-cache.
   11819 # It is not useful on other systems.  If it contains results you don't
   11820 # want to keep, you may remove or edit it.
   11821 #
   11822 # config.status only pays attention to the cache file if you give it
   11823 # the --recheck option to rerun configure.
   11824 #
   11825 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11826 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11827 # following values.
   11828 
   11829 _ACEOF
   11830 
   11831 # The following way of writing the cache mishandles newlines in values,
   11832 # but we know of no workaround that is simple, portable, and efficient.
   11833 # So, we kill variables containing newlines.
   11834 # Ultrix sh set writes to stderr and can't be redirected directly,
   11835 # and sets the high bit in the cache file unless we assign to the vars.
   11836 (
   11837   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11838     eval ac_val=\$$ac_var
   11839     case $ac_val in #(
   11840     *${as_nl}*)
   11841       case $ac_var in #(
   11842       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11843 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11844       esac
   11845       case $ac_var in #(
   11846       _ | IFS | as_nl) ;; #(
   11847       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11848       *) { eval $ac_var=; unset $ac_var;} ;;
   11849       esac ;;
   11850     esac
   11851   done
   11852 
   11853   (set) 2>&1 |
   11854     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11855     *${as_nl}ac_space=\ *)
   11856       # `set' does not quote correctly, so add quotes: double-quote
   11857       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11858       sed -n \
   11859 	"s/'/'\\\\''/g;
   11860 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11861       ;; #(
   11862     *)
   11863       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11864       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11865       ;;
   11866     esac |
   11867     sort
   11868 ) |
   11869   sed '
   11870      /^ac_cv_env_/b end
   11871      t clear
   11872      :clear
   11873      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11874      t end
   11875      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11876      :end' >>confcache
   11877 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11878   if test -w "$cache_file"; then
   11879     if test "x$cache_file" != "x/dev/null"; then
   11880       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11881 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11882       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11883 	cat confcache >"$cache_file"
   11884       else
   11885         case $cache_file in #(
   11886         */* | ?:*)
   11887 	  mv -f confcache "$cache_file"$$ &&
   11888 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11889         *)
   11890 	  mv -f confcache "$cache_file" ;;
   11891 	esac
   11892       fi
   11893     fi
   11894   else
   11895     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11896 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11897   fi
   11898 fi
   11899 rm -f confcache
   11900 
   11901 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11902 # Let make expand exec_prefix.
   11903 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11904 
   11905 # Transform confdefs.h into DEFS.
   11906 # Protect against shell expansion while executing Makefile rules.
   11907 # Protect against Makefile macro expansion.
   11908 #
   11909 # If the first sed substitution is executed (which looks for macros that
   11910 # take arguments), then branch to the quote section.  Otherwise,
   11911 # look for a macro that doesn't take arguments.
   11912 ac_script='
   11913 :mline
   11914 /\\$/{
   11915  N
   11916  s,\\\n,,
   11917  b mline
   11918 }
   11919 t clear
   11920 :clear
   11921 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   11922 t quote
   11923 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   11924 t quote
   11925 b any
   11926 :quote
   11927 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   11928 s/\[/\\&/g
   11929 s/\]/\\&/g
   11930 s/\$/$$/g
   11931 H
   11932 :any
   11933 ${
   11934 	g
   11935 	s/^\n//
   11936 	s/\n/ /g
   11937 	p
   11938 }
   11939 '
   11940 DEFS=`sed -n "$ac_script" confdefs.h`
   11941 
   11942 
   11943 ac_libobjs=
   11944 ac_ltlibobjs=
   11945 U=
   11946 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11947   # 1. Remove the extension, and $U if already installed.
   11948   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11949   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11950   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11951   #    will be set to the directory where LIBOBJS objects are built.
   11952   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11953   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11954 done
   11955 LIBOBJS=$ac_libobjs
   11956 
   11957 LTLIBOBJS=$ac_ltlibobjs
   11958 
   11959 
   11960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11961 printf %s "checking that generated files are newer than configure... " >&6; }
   11962    if test -n "$am_sleep_pid"; then
   11963      # Hide warnings about reused PIDs.
   11964      wait $am_sleep_pid 2>/dev/null
   11965    fi
   11966    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11967 printf "%s\n" "done" >&6; }
   11968  if test -n "$EXEEXT"; then
   11969   am__EXEEXT_TRUE=
   11970   am__EXEEXT_FALSE='#'
   11971 else
   11972   am__EXEEXT_TRUE='#'
   11973   am__EXEEXT_FALSE=
   11974 fi
   11975 
   11976 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11977   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11979 fi
   11980 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11981   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11983 fi
   11984 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   11985   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   11986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11987 fi
   11988 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   11989   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   11990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11991 fi
   11992 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   11993   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   11994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11995 fi
   11996 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   11997   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   11998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11999 fi
   12000 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   12001   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   12002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12003 fi
   12004 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   12005   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   12006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12007 fi
   12008 
   12009 : "${CONFIG_STATUS=./config.status}"
   12010 ac_write_fail=0
   12011 ac_clean_files_save=$ac_clean_files
   12012 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12014 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12015 as_write_fail=0
   12016 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12017 #! $SHELL
   12018 # Generated by $as_me.
   12019 # Run this file to recreate the current configuration.
   12020 # Compiler output produced by configure, useful for debugging
   12021 # configure, is in config.log if it exists.
   12022 
   12023 debug=false
   12024 ac_cs_recheck=false
   12025 ac_cs_silent=false
   12026 
   12027 SHELL=\${CONFIG_SHELL-$SHELL}
   12028 export SHELL
   12029 _ASEOF
   12030 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12031 ## -------------------- ##
   12032 ## M4sh Initialization. ##
   12033 ## -------------------- ##
   12034 
   12035 # Be more Bourne compatible
   12036 DUALCASE=1; export DUALCASE # for MKS sh
   12037 as_nop=:
   12038 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12039 then :
   12040   emulate sh
   12041   NULLCMD=:
   12042   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12043   # is contrary to our usage.  Disable this feature.
   12044   alias -g '${1+"$@"}'='"$@"'
   12045   setopt NO_GLOB_SUBST
   12046 else $as_nop
   12047   case `(set -o) 2>/dev/null` in #(
   12048   *posix*) :
   12049     set -o posix ;; #(
   12050   *) :
   12051      ;;
   12052 esac
   12053 fi
   12054 
   12055 
   12056 
   12057 # Reset variables that may have inherited troublesome values from
   12058 # the environment.
   12059 
   12060 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12061 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12062 # side effect of setting IFS to empty, thus disabling word splitting.)
   12063 # Quoting is to prevent editors from complaining about space-tab.
   12064 as_nl='
   12065 '
   12066 export as_nl
   12067 IFS=" ""	$as_nl"
   12068 
   12069 PS1='$ '
   12070 PS2='> '
   12071 PS4='+ '
   12072 
   12073 # Ensure predictable behavior from utilities with locale-dependent output.
   12074 LC_ALL=C
   12075 export LC_ALL
   12076 LANGUAGE=C
   12077 export LANGUAGE
   12078 
   12079 # We cannot yet rely on "unset" to work, but we need these variables
   12080 # to be unset--not just set to an empty or harmless value--now, to
   12081 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12082 # also avoids known problems related to "unset" and subshell syntax
   12083 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12084 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12085 do eval test \${$as_var+y} \
   12086   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12087 done
   12088 
   12089 # Ensure that fds 0, 1, and 2 are open.
   12090 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12091 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12092 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12093 
   12094 # The user is always right.
   12095 if ${PATH_SEPARATOR+false} :; then
   12096   PATH_SEPARATOR=:
   12097   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12098     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12099       PATH_SEPARATOR=';'
   12100   }
   12101 fi
   12102 
   12103 
   12104 # Find who we are.  Look in the path if we contain no directory separator.
   12105 as_myself=
   12106 case $0 in #((
   12107   *[\\/]* ) as_myself=$0 ;;
   12108   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12109 for as_dir in $PATH
   12110 do
   12111   IFS=$as_save_IFS
   12112   case $as_dir in #(((
   12113     '') as_dir=./ ;;
   12114     */) ;;
   12115     *) as_dir=$as_dir/ ;;
   12116   esac
   12117     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12118   done
   12119 IFS=$as_save_IFS
   12120 
   12121      ;;
   12122 esac
   12123 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12124 # in which case we are not to be found in the path.
   12125 if test "x$as_myself" = x; then
   12126   as_myself=$0
   12127 fi
   12128 if test ! -f "$as_myself"; then
   12129   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12130   exit 1
   12131 fi
   12132 
   12133 
   12134 
   12135 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12136 # ----------------------------------------
   12137 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12138 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12139 # script with STATUS, using 1 if that was 0.
   12140 as_fn_error ()
   12141 {
   12142   as_status=$1; test $as_status -eq 0 && as_status=1
   12143   if test "$4"; then
   12144     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12145     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12146   fi
   12147   printf "%s\n" "$as_me: error: $2" >&2
   12148   as_fn_exit $as_status
   12149 } # as_fn_error
   12150 
   12151 
   12152 
   12153 # as_fn_set_status STATUS
   12154 # -----------------------
   12155 # Set $? to STATUS, without forking.
   12156 as_fn_set_status ()
   12157 {
   12158   return $1
   12159 } # as_fn_set_status
   12160 
   12161 # as_fn_exit STATUS
   12162 # -----------------
   12163 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12164 as_fn_exit ()
   12165 {
   12166   set +e
   12167   as_fn_set_status $1
   12168   exit $1
   12169 } # as_fn_exit
   12170 
   12171 # as_fn_unset VAR
   12172 # ---------------
   12173 # Portably unset VAR.
   12174 as_fn_unset ()
   12175 {
   12176   { eval $1=; unset $1;}
   12177 }
   12178 as_unset=as_fn_unset
   12179 
   12180 # as_fn_append VAR VALUE
   12181 # ----------------------
   12182 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12183 # advantage of any shell optimizations that allow amortized linear growth over
   12184 # repeated appends, instead of the typical quadratic growth present in naive
   12185 # implementations.
   12186 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12187 then :
   12188   eval 'as_fn_append ()
   12189   {
   12190     eval $1+=\$2
   12191   }'
   12192 else $as_nop
   12193   as_fn_append ()
   12194   {
   12195     eval $1=\$$1\$2
   12196   }
   12197 fi # as_fn_append
   12198 
   12199 # as_fn_arith ARG...
   12200 # ------------------
   12201 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12202 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12203 # must be portable across $(()) and expr.
   12204 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12205 then :
   12206   eval 'as_fn_arith ()
   12207   {
   12208     as_val=$(( $* ))
   12209   }'
   12210 else $as_nop
   12211   as_fn_arith ()
   12212   {
   12213     as_val=`expr "$@" || test $? -eq 1`
   12214   }
   12215 fi # as_fn_arith
   12216 
   12217 
   12218 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12219    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12220   as_expr=expr
   12221 else
   12222   as_expr=false
   12223 fi
   12224 
   12225 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12226   as_basename=basename
   12227 else
   12228   as_basename=false
   12229 fi
   12230 
   12231 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12232   as_dirname=dirname
   12233 else
   12234   as_dirname=false
   12235 fi
   12236 
   12237 as_me=`$as_basename -- "$0" ||
   12238 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12239 	 X"$0" : 'X\(//\)$' \| \
   12240 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12241 printf "%s\n" X/"$0" |
   12242     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12243 	    s//\1/
   12244 	    q
   12245 	  }
   12246 	  /^X\/\(\/\/\)$/{
   12247 	    s//\1/
   12248 	    q
   12249 	  }
   12250 	  /^X\/\(\/\).*/{
   12251 	    s//\1/
   12252 	    q
   12253 	  }
   12254 	  s/.*/./; q'`
   12255 
   12256 # Avoid depending upon Character Ranges.
   12257 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12258 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12259 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12260 as_cr_digits='0123456789'
   12261 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12262 
   12263 
   12264 # Determine whether it's possible to make 'echo' print without a newline.
   12265 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12266 # for compatibility with existing Makefiles.
   12267 ECHO_C= ECHO_N= ECHO_T=
   12268 case `echo -n x` in #(((((
   12269 -n*)
   12270   case `echo 'xy\c'` in
   12271   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12272   xy)  ECHO_C='\c';;
   12273   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12274        ECHO_T='	';;
   12275   esac;;
   12276 *)
   12277   ECHO_N='-n';;
   12278 esac
   12279 
   12280 # For backward compatibility with old third-party macros, we provide
   12281 # the shell variables $as_echo and $as_echo_n.  New code should use
   12282 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12283 as_echo='printf %s\n'
   12284 as_echo_n='printf %s'
   12285 
   12286 rm -f conf$$ conf$$.exe conf$$.file
   12287 if test -d conf$$.dir; then
   12288   rm -f conf$$.dir/conf$$.file
   12289 else
   12290   rm -f conf$$.dir
   12291   mkdir conf$$.dir 2>/dev/null
   12292 fi
   12293 if (echo >conf$$.file) 2>/dev/null; then
   12294   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12295     as_ln_s='ln -s'
   12296     # ... but there are two gotchas:
   12297     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12298     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12299     # In both cases, we have to default to `cp -pR'.
   12300     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12301       as_ln_s='cp -pR'
   12302   elif ln conf$$.file conf$$ 2>/dev/null; then
   12303     as_ln_s=ln
   12304   else
   12305     as_ln_s='cp -pR'
   12306   fi
   12307 else
   12308   as_ln_s='cp -pR'
   12309 fi
   12310 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12311 rmdir conf$$.dir 2>/dev/null
   12312 
   12313 
   12314 # as_fn_mkdir_p
   12315 # -------------
   12316 # Create "$as_dir" as a directory, including parents if necessary.
   12317 as_fn_mkdir_p ()
   12318 {
   12319 
   12320   case $as_dir in #(
   12321   -*) as_dir=./$as_dir;;
   12322   esac
   12323   test -d "$as_dir" || eval $as_mkdir_p || {
   12324     as_dirs=
   12325     while :; do
   12326       case $as_dir in #(
   12327       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12328       *) as_qdir=$as_dir;;
   12329       esac
   12330       as_dirs="'$as_qdir' $as_dirs"
   12331       as_dir=`$as_dirname -- "$as_dir" ||
   12332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12333 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12334 	 X"$as_dir" : 'X\(//\)$' \| \
   12335 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12336 printf "%s\n" X"$as_dir" |
   12337     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12338 	    s//\1/
   12339 	    q
   12340 	  }
   12341 	  /^X\(\/\/\)[^/].*/{
   12342 	    s//\1/
   12343 	    q
   12344 	  }
   12345 	  /^X\(\/\/\)$/{
   12346 	    s//\1/
   12347 	    q
   12348 	  }
   12349 	  /^X\(\/\).*/{
   12350 	    s//\1/
   12351 	    q
   12352 	  }
   12353 	  s/.*/./; q'`
   12354       test -d "$as_dir" && break
   12355     done
   12356     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12357   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12358 
   12359 
   12360 } # as_fn_mkdir_p
   12361 if mkdir -p . 2>/dev/null; then
   12362   as_mkdir_p='mkdir -p "$as_dir"'
   12363 else
   12364   test -d ./-p && rmdir ./-p
   12365   as_mkdir_p=false
   12366 fi
   12367 
   12368 
   12369 # as_fn_executable_p FILE
   12370 # -----------------------
   12371 # Test if FILE is an executable regular file.
   12372 as_fn_executable_p ()
   12373 {
   12374   test -f "$1" && test -x "$1"
   12375 } # as_fn_executable_p
   12376 as_test_x='test -x'
   12377 as_executable_p=as_fn_executable_p
   12378 
   12379 # Sed expression to map a string onto a valid CPP name.
   12380 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12381 
   12382 # Sed expression to map a string onto a valid variable name.
   12383 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12384 
   12385 
   12386 exec 6>&1
   12387 ## ----------------------------------- ##
   12388 ## Main body of $CONFIG_STATUS script. ##
   12389 ## ----------------------------------- ##
   12390 _ASEOF
   12391 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12392 
   12393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12394 # Save the log message, to keep $0 and so on meaningful, and to
   12395 # report actual input values of CONFIG_FILES etc. instead of their
   12396 # values after options handling.
   12397 ac_log="
   12398 This file was extended by xtrans $as_me 1.5.0, which was
   12399 generated by GNU Autoconf 2.71.  Invocation command line was
   12400 
   12401   CONFIG_FILES    = $CONFIG_FILES
   12402   CONFIG_HEADERS  = $CONFIG_HEADERS
   12403   CONFIG_LINKS    = $CONFIG_LINKS
   12404   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12405   $ $0 $@
   12406 
   12407 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12408 "
   12409 
   12410 _ACEOF
   12411 
   12412 case $ac_config_files in *"
   12413 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12414 esac
   12415 
   12416 
   12417 
   12418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12419 # Files that config.status was made for.
   12420 config_files="$ac_config_files"
   12421 config_commands="$ac_config_commands"
   12422 
   12423 _ACEOF
   12424 
   12425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12426 ac_cs_usage="\
   12427 \`$as_me' instantiates files and other configuration actions
   12428 from templates according to the current configuration.  Unless the files
   12429 and actions are specified as TAGs, all are instantiated by default.
   12430 
   12431 Usage: $0 [OPTION]... [TAG]...
   12432 
   12433   -h, --help       print this help, then exit
   12434   -V, --version    print version number and configuration settings, then exit
   12435       --config     print configuration, then exit
   12436   -q, --quiet, --silent
   12437                    do not print progress messages
   12438   -d, --debug      don't remove temporary files
   12439       --recheck    update $as_me by reconfiguring in the same conditions
   12440       --file=FILE[:TEMPLATE]
   12441                    instantiate the configuration file FILE
   12442 
   12443 Configuration files:
   12444 $config_files
   12445 
   12446 Configuration commands:
   12447 $config_commands
   12448 
   12449 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxtrans/issues>."
   12450 
   12451 _ACEOF
   12452 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12453 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12455 ac_cs_config='$ac_cs_config_escaped'
   12456 ac_cs_version="\\
   12457 xtrans config.status 1.5.0
   12458 configured by $0, generated by GNU Autoconf 2.71,
   12459   with options \\"\$ac_cs_config\\"
   12460 
   12461 Copyright (C) 2021 Free Software Foundation, Inc.
   12462 This config.status script is free software; the Free Software Foundation
   12463 gives unlimited permission to copy, distribute and modify it."
   12464 
   12465 ac_pwd='$ac_pwd'
   12466 srcdir='$srcdir'
   12467 INSTALL='$INSTALL'
   12468 MKDIR_P='$MKDIR_P'
   12469 AWK='$AWK'
   12470 test -n "\$AWK" || AWK=awk
   12471 _ACEOF
   12472 
   12473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12474 # The default lists apply if the user does not specify any file.
   12475 ac_need_defaults=:
   12476 while test $# != 0
   12477 do
   12478   case $1 in
   12479   --*=?*)
   12480     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12481     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12482     ac_shift=:
   12483     ;;
   12484   --*=)
   12485     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12486     ac_optarg=
   12487     ac_shift=:
   12488     ;;
   12489   *)
   12490     ac_option=$1
   12491     ac_optarg=$2
   12492     ac_shift=shift
   12493     ;;
   12494   esac
   12495 
   12496   case $ac_option in
   12497   # Handling of the options.
   12498   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12499     ac_cs_recheck=: ;;
   12500   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12501     printf "%s\n" "$ac_cs_version"; exit ;;
   12502   --config | --confi | --conf | --con | --co | --c )
   12503     printf "%s\n" "$ac_cs_config"; exit ;;
   12504   --debug | --debu | --deb | --de | --d | -d )
   12505     debug=: ;;
   12506   --file | --fil | --fi | --f )
   12507     $ac_shift
   12508     case $ac_optarg in
   12509     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12510     '') as_fn_error $? "missing file argument" ;;
   12511     esac
   12512     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12513     ac_need_defaults=false;;
   12514   --he | --h |  --help | --hel | -h )
   12515     printf "%s\n" "$ac_cs_usage"; exit ;;
   12516   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12517   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12518     ac_cs_silent=: ;;
   12519 
   12520   # This is an error.
   12521   -*) as_fn_error $? "unrecognized option: \`$1'
   12522 Try \`$0 --help' for more information." ;;
   12523 
   12524   *) as_fn_append ac_config_targets " $1"
   12525      ac_need_defaults=false ;;
   12526 
   12527   esac
   12528   shift
   12529 done
   12530 
   12531 ac_configure_extra_args=
   12532 
   12533 if $ac_cs_silent; then
   12534   exec 6>/dev/null
   12535   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12536 fi
   12537 
   12538 _ACEOF
   12539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12540 if \$ac_cs_recheck; then
   12541   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12542   shift
   12543   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12544   CONFIG_SHELL='$SHELL'
   12545   export CONFIG_SHELL
   12546   exec "\$@"
   12547 fi
   12548 
   12549 _ACEOF
   12550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12551 exec 5>>config.log
   12552 {
   12553   echo
   12554   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12555 ## Running $as_me. ##
   12556 _ASBOX
   12557   printf "%s\n" "$ac_log"
   12558 } >&5
   12559 
   12560 _ACEOF
   12561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12562 #
   12563 # INIT-COMMANDS
   12564 #
   12565 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12566 
   12567 _ACEOF
   12568 
   12569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12570 
   12571 # Handling of arguments.
   12572 for ac_config_target in $ac_config_targets
   12573 do
   12574   case $ac_config_target in
   12575     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12576     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12577     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   12578     "xtrans.pc") CONFIG_FILES="$CONFIG_FILES xtrans.pc" ;;
   12579 
   12580   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12581   esac
   12582 done
   12583 
   12584 
   12585 # If the user did not use the arguments to specify the items to instantiate,
   12586 # then the envvar interface is used.  Set only those that are not.
   12587 # We use the long form for the default assignment because of an extremely
   12588 # bizarre bug on SunOS 4.1.3.
   12589 if $ac_need_defaults; then
   12590   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12591   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12592 fi
   12593 
   12594 # Have a temporary directory for convenience.  Make it in the build tree
   12595 # simply because there is no reason against having it here, and in addition,
   12596 # creating and moving files from /tmp can sometimes cause problems.
   12597 # Hook for its removal unless debugging.
   12598 # Note that there is a small window in which the directory will not be cleaned:
   12599 # after its creation but before its name has been assigned to `$tmp'.
   12600 $debug ||
   12601 {
   12602   tmp= ac_tmp=
   12603   trap 'exit_status=$?
   12604   : "${ac_tmp:=$tmp}"
   12605   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12606 ' 0
   12607   trap 'as_fn_exit 1' 1 2 13 15
   12608 }
   12609 # Create a (secure) tmp directory for tmp files.
   12610 
   12611 {
   12612   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12613   test -d "$tmp"
   12614 }  ||
   12615 {
   12616   tmp=./conf$$-$RANDOM
   12617   (umask 077 && mkdir "$tmp")
   12618 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12619 ac_tmp=$tmp
   12620 
   12621 # Set up the scripts for CONFIG_FILES section.
   12622 # No need to generate them if there are no CONFIG_FILES.
   12623 # This happens for instance with `./config.status config.h'.
   12624 if test -n "$CONFIG_FILES"; then
   12625 
   12626 
   12627 ac_cr=`echo X | tr X '\015'`
   12628 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12629 # But we know of no other shell where ac_cr would be empty at this
   12630 # point, so we can use a bashism as a fallback.
   12631 if test "x$ac_cr" = x; then
   12632   eval ac_cr=\$\'\\r\'
   12633 fi
   12634 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12635 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12636   ac_cs_awk_cr='\\r'
   12637 else
   12638   ac_cs_awk_cr=$ac_cr
   12639 fi
   12640 
   12641 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12642 _ACEOF
   12643 
   12644 
   12645 {
   12646   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12647   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12648   echo "_ACEOF"
   12649 } >conf$$subs.sh ||
   12650   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12651 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12652 ac_delim='%!_!# '
   12653 for ac_last_try in false false false false false :; do
   12654   . ./conf$$subs.sh ||
   12655     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12656 
   12657   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12658   if test $ac_delim_n = $ac_delim_num; then
   12659     break
   12660   elif $ac_last_try; then
   12661     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12662   else
   12663     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12664   fi
   12665 done
   12666 rm -f conf$$subs.sh
   12667 
   12668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12669 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12670 _ACEOF
   12671 sed -n '
   12672 h
   12673 s/^/S["/; s/!.*/"]=/
   12674 p
   12675 g
   12676 s/^[^!]*!//
   12677 :repl
   12678 t repl
   12679 s/'"$ac_delim"'$//
   12680 t delim
   12681 :nl
   12682 h
   12683 s/\(.\{148\}\)..*/\1/
   12684 t more1
   12685 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12686 p
   12687 n
   12688 b repl
   12689 :more1
   12690 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12691 p
   12692 g
   12693 s/.\{148\}//
   12694 t nl
   12695 :delim
   12696 h
   12697 s/\(.\{148\}\)..*/\1/
   12698 t more2
   12699 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12700 p
   12701 b
   12702 :more2
   12703 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12704 p
   12705 g
   12706 s/.\{148\}//
   12707 t delim
   12708 ' <conf$$subs.awk | sed '
   12709 /^[^""]/{
   12710   N
   12711   s/\n//
   12712 }
   12713 ' >>$CONFIG_STATUS || ac_write_fail=1
   12714 rm -f conf$$subs.awk
   12715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12716 _ACAWK
   12717 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12718   for (key in S) S_is_set[key] = 1
   12719   FS = ""
   12720 
   12721 }
   12722 {
   12723   line = $ 0
   12724   nfields = split(line, field, "@")
   12725   substed = 0
   12726   len = length(field[1])
   12727   for (i = 2; i < nfields; i++) {
   12728     key = field[i]
   12729     keylen = length(key)
   12730     if (S_is_set[key]) {
   12731       value = S[key]
   12732       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12733       len += length(value) + length(field[++i])
   12734       substed = 1
   12735     } else
   12736       len += 1 + keylen
   12737   }
   12738 
   12739   print line
   12740 }
   12741 
   12742 _ACAWK
   12743 _ACEOF
   12744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12745 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12746   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12747 else
   12748   cat
   12749 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12750   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12751 _ACEOF
   12752 
   12753 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12754 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12755 # trailing colons and then remove the whole line if VPATH becomes empty
   12756 # (actually we leave an empty line to preserve line numbers).
   12757 if test "x$srcdir" = x.; then
   12758   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12759 h
   12760 s///
   12761 s/^/:/
   12762 s/[	 ]*$/:/
   12763 s/:\$(srcdir):/:/g
   12764 s/:\${srcdir}:/:/g
   12765 s/:@srcdir@:/:/g
   12766 s/^:*//
   12767 s/:*$//
   12768 x
   12769 s/\(=[	 ]*\).*/\1/
   12770 G
   12771 s/\n//
   12772 s/^[^=]*=[	 ]*$//
   12773 }'
   12774 fi
   12775 
   12776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12777 fi # test -n "$CONFIG_FILES"
   12778 
   12779 
   12780 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   12781 shift
   12782 for ac_tag
   12783 do
   12784   case $ac_tag in
   12785   :[FHLC]) ac_mode=$ac_tag; continue;;
   12786   esac
   12787   case $ac_mode$ac_tag in
   12788   :[FHL]*:*);;
   12789   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12790   :[FH]-) ac_tag=-:-;;
   12791   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12792   esac
   12793   ac_save_IFS=$IFS
   12794   IFS=:
   12795   set x $ac_tag
   12796   IFS=$ac_save_IFS
   12797   shift
   12798   ac_file=$1
   12799   shift
   12800 
   12801   case $ac_mode in
   12802   :L) ac_source=$1;;
   12803   :[FH])
   12804     ac_file_inputs=
   12805     for ac_f
   12806     do
   12807       case $ac_f in
   12808       -) ac_f="$ac_tmp/stdin";;
   12809       *) # Look for the file first in the build tree, then in the source tree
   12810 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12811 	 # because $ac_f cannot contain `:'.
   12812 	 test -f "$ac_f" ||
   12813 	   case $ac_f in
   12814 	   [\\/$]*) false;;
   12815 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12816 	   esac ||
   12817 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12818       esac
   12819       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12820       as_fn_append ac_file_inputs " '$ac_f'"
   12821     done
   12822 
   12823     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12824     # use $as_me), people would be surprised to read:
   12825     #    /* config.h.  Generated by config.status.  */
   12826     configure_input='Generated from '`
   12827 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12828 	`' by configure.'
   12829     if test x"$ac_file" != x-; then
   12830       configure_input="$ac_file.  $configure_input"
   12831       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12832 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12833     fi
   12834     # Neutralize special characters interpreted by sed in replacement strings.
   12835     case $configure_input in #(
   12836     *\&* | *\|* | *\\* )
   12837        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12838        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12839     *) ac_sed_conf_input=$configure_input;;
   12840     esac
   12841 
   12842     case $ac_tag in
   12843     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12844       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12845     esac
   12846     ;;
   12847   esac
   12848 
   12849   ac_dir=`$as_dirname -- "$ac_file" ||
   12850 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12851 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12852 	 X"$ac_file" : 'X\(//\)$' \| \
   12853 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12854 printf "%s\n" X"$ac_file" |
   12855     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12856 	    s//\1/
   12857 	    q
   12858 	  }
   12859 	  /^X\(\/\/\)[^/].*/{
   12860 	    s//\1/
   12861 	    q
   12862 	  }
   12863 	  /^X\(\/\/\)$/{
   12864 	    s//\1/
   12865 	    q
   12866 	  }
   12867 	  /^X\(\/\).*/{
   12868 	    s//\1/
   12869 	    q
   12870 	  }
   12871 	  s/.*/./; q'`
   12872   as_dir="$ac_dir"; as_fn_mkdir_p
   12873   ac_builddir=.
   12874 
   12875 case "$ac_dir" in
   12876 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12877 *)
   12878   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12879   # A ".." for each directory in $ac_dir_suffix.
   12880   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12881   case $ac_top_builddir_sub in
   12882   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12883   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12884   esac ;;
   12885 esac
   12886 ac_abs_top_builddir=$ac_pwd
   12887 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12888 # for backward compatibility:
   12889 ac_top_builddir=$ac_top_build_prefix
   12890 
   12891 case $srcdir in
   12892   .)  # We are building in place.
   12893     ac_srcdir=.
   12894     ac_top_srcdir=$ac_top_builddir_sub
   12895     ac_abs_top_srcdir=$ac_pwd ;;
   12896   [\\/]* | ?:[\\/]* )  # Absolute name.
   12897     ac_srcdir=$srcdir$ac_dir_suffix;
   12898     ac_top_srcdir=$srcdir
   12899     ac_abs_top_srcdir=$srcdir ;;
   12900   *) # Relative name.
   12901     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12902     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12903     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12904 esac
   12905 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12906 
   12907 
   12908   case $ac_mode in
   12909   :F)
   12910   #
   12911   # CONFIG_FILE
   12912   #
   12913 
   12914   case $INSTALL in
   12915   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12916   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12917   esac
   12918   ac_MKDIR_P=$MKDIR_P
   12919   case $MKDIR_P in
   12920   [\\/$]* | ?:[\\/]* ) ;;
   12921   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12922   esac
   12923 _ACEOF
   12924 
   12925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12926 # If the template does not know about datarootdir, expand it.
   12927 # FIXME: This hack should be removed a few years after 2.60.
   12928 ac_datarootdir_hack=; ac_datarootdir_seen=
   12929 ac_sed_dataroot='
   12930 /datarootdir/ {
   12931   p
   12932   q
   12933 }
   12934 /@datadir@/p
   12935 /@docdir@/p
   12936 /@infodir@/p
   12937 /@localedir@/p
   12938 /@mandir@/p'
   12939 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12940 *datarootdir*) ac_datarootdir_seen=yes;;
   12941 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12943 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12944 _ACEOF
   12945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12946   ac_datarootdir_hack='
   12947   s&@datadir@&$datadir&g
   12948   s&@docdir@&$docdir&g
   12949   s&@infodir@&$infodir&g
   12950   s&@localedir@&$localedir&g
   12951   s&@mandir@&$mandir&g
   12952   s&\\\${datarootdir}&$datarootdir&g' ;;
   12953 esac
   12954 _ACEOF
   12955 
   12956 # Neutralize VPATH when `$srcdir' = `.'.
   12957 # Shell code in configure.ac might set extrasub.
   12958 # FIXME: do we really want to maintain this feature?
   12959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12960 ac_sed_extra="$ac_vpsub
   12961 $extrasub
   12962 _ACEOF
   12963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12964 :t
   12965 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12966 s|@configure_input@|$ac_sed_conf_input|;t t
   12967 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12968 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12969 s&@srcdir@&$ac_srcdir&;t t
   12970 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12971 s&@top_srcdir@&$ac_top_srcdir&;t t
   12972 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12973 s&@builddir@&$ac_builddir&;t t
   12974 s&@abs_builddir@&$ac_abs_builddir&;t t
   12975 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12976 s&@INSTALL@&$ac_INSTALL&;t t
   12977 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12978 $ac_datarootdir_hack
   12979 "
   12980 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12981   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12982 
   12983 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12984   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12985   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12986       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12987   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12988 which seems to be undefined.  Please make sure it is defined" >&5
   12989 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12990 which seems to be undefined.  Please make sure it is defined" >&2;}
   12991 
   12992   rm -f "$ac_tmp/stdin"
   12993   case $ac_file in
   12994   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12995   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12996   esac \
   12997   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12998  ;;
   12999 
   13000 
   13001   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13002 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13003  ;;
   13004   esac
   13005 
   13006 
   13007   case $ac_file$ac_mode in
   13008     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13009   # Older Autoconf quotes --file arguments for eval, but not when files
   13010   # are listed without --file.  Let's play safe and only enable the eval
   13011   # if we detect the quoting.
   13012   # TODO: see whether this extra hack can be removed once we start
   13013   # requiring Autoconf 2.70 or later.
   13014   case $CONFIG_FILES in #(
   13015   *\'*) :
   13016     eval set x "$CONFIG_FILES" ;; #(
   13017   *) :
   13018     set x $CONFIG_FILES ;; #(
   13019   *) :
   13020      ;;
   13021 esac
   13022   shift
   13023   # Used to flag and report bootstrapping failures.
   13024   am_rc=0
   13025   for am_mf
   13026   do
   13027     # Strip MF so we end up with the name of the file.
   13028     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13029     # Check whether this is an Automake generated Makefile which includes
   13030     # dependency-tracking related rules and includes.
   13031     # Grep'ing the whole file directly is not great: AIX grep has a line
   13032     # limit of 2048, but all sed's we know have understand at least 4000.
   13033     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13034       || continue
   13035     am_dirpart=`$as_dirname -- "$am_mf" ||
   13036 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13037 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13038 	 X"$am_mf" : 'X\(//\)$' \| \
   13039 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13040 printf "%s\n" X"$am_mf" |
   13041     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13042 	    s//\1/
   13043 	    q
   13044 	  }
   13045 	  /^X\(\/\/\)[^/].*/{
   13046 	    s//\1/
   13047 	    q
   13048 	  }
   13049 	  /^X\(\/\/\)$/{
   13050 	    s//\1/
   13051 	    q
   13052 	  }
   13053 	  /^X\(\/\).*/{
   13054 	    s//\1/
   13055 	    q
   13056 	  }
   13057 	  s/.*/./; q'`
   13058     am_filepart=`$as_basename -- "$am_mf" ||
   13059 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13060 	 X"$am_mf" : 'X\(//\)$' \| \
   13061 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13062 printf "%s\n" X/"$am_mf" |
   13063     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13064 	    s//\1/
   13065 	    q
   13066 	  }
   13067 	  /^X\/\(\/\/\)$/{
   13068 	    s//\1/
   13069 	    q
   13070 	  }
   13071 	  /^X\/\(\/\).*/{
   13072 	    s//\1/
   13073 	    q
   13074 	  }
   13075 	  s/.*/./; q'`
   13076     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13077       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13078         | $MAKE -f - am--depfiles" >&5
   13079    (cd "$am_dirpart" \
   13080       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13081         | $MAKE -f - am--depfiles) >&5 2>&5
   13082    ac_status=$?
   13083    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13084    (exit $ac_status); } || am_rc=$?
   13085   done
   13086   if test $am_rc -ne 0; then
   13087     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13088 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   13089 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13090     for automatic dependency tracking.  If GNU make was not used, consider
   13091     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13092     necessary).  You can also try re-running configure with the
   13093     '--disable-dependency-tracking' option to at least be able to build
   13094     the package (albeit without support for automatic dependency tracking).
   13095 See \`config.log' for more details" "$LINENO" 5; }
   13096   fi
   13097   { am_dirpart=; unset am_dirpart;}
   13098   { am_filepart=; unset am_filepart;}
   13099   { am_mf=; unset am_mf;}
   13100   { am_rc=; unset am_rc;}
   13101   rm -f conftest-deps.mk
   13102 }
   13103  ;;
   13104 
   13105   esac
   13106 done # for ac_tag
   13107 
   13108 
   13109 as_fn_exit 0
   13110 _ACEOF
   13111 ac_clean_files=$ac_clean_files_save
   13112 
   13113 test $ac_write_fail = 0 ||
   13114   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13115 
   13116 
   13117 # configure is writing to config.log, and then calls config.status.
   13118 # config.status does its own redirection, appending to config.log.
   13119 # Unfortunately, on DOS this fails, as config.log is still kept open
   13120 # by configure, so config.status won't be able to write to it; its
   13121 # output is simply discarded.  So we exec the FD to /dev/null,
   13122 # effectively closing config.log, so it can be properly (re)opened and
   13123 # appended to by config.status.  When coming back to configure, we
   13124 # need to make the FD available again.
   13125 if test "$no_create" != yes; then
   13126   ac_cs_success=:
   13127   ac_config_status_args=
   13128   test "$silent" = yes &&
   13129     ac_config_status_args="$ac_config_status_args --quiet"
   13130   exec 5>/dev/null
   13131   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13132   exec 5>>config.log
   13133   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13134   # would make configure fail if this is the last instruction.
   13135   $ac_cs_success || as_fn_exit 1
   13136 fi
   13137 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13139 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13140 fi
   13141 
   13142 
   13143