Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xmh 1.0.5.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmh/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 test \$(( 1 + 1 )) = 2 || exit 1"
    188   if (eval "$as_required") 2>/dev/null
    189 then :
    190   as_have_required=yes
    191 else case e in #(
    192   e) as_have_required=no ;;
    193 esac
    194 fi
    195   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    196 then :
    197 
    198 else case e in #(
    199   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    200 as_found=false
    201 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    202 do
    203   IFS=$as_save_IFS
    204   case $as_dir in #(((
    205     '') as_dir=./ ;;
    206     */) ;;
    207     *) as_dir=$as_dir/ ;;
    208   esac
    209   as_found=:
    210   case $as_dir in #(
    211 	 /*)
    212 	   for as_base in sh bash ksh sh5; do
    213 	     # Try only shells that exist, to save several forks.
    214 	     as_shell=$as_dir$as_base
    215 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    216 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    217 then :
    218   CONFIG_SHELL=$as_shell as_have_required=yes
    219 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    220 then :
    221   break 2
    222 fi
    223 fi
    224 	   done;;
    225        esac
    226   as_found=false
    227 done
    228 IFS=$as_save_IFS
    229 if $as_found
    230 then :
    231 
    232 else case e in #(
    233   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    235 then :
    236   CONFIG_SHELL=$SHELL as_have_required=yes
    237 fi ;;
    238 esac
    239 fi
    240 
    241 
    242       if test "x$CONFIG_SHELL" != x
    243 then :
    244   export CONFIG_SHELL
    245              # We cannot yet assume a decent shell, so we have to provide a
    246 # neutralization value for shells without unset; and this also
    247 # works around shells that cannot unset nonexistent variables.
    248 # Preserve -v and -x to the replacement shell.
    249 BASH_ENV=/dev/null
    250 ENV=/dev/null
    251 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    252 case $- in # ((((
    253   *v*x* | *x*v* ) as_opts=-vx ;;
    254   *v* ) as_opts=-v ;;
    255   *x* ) as_opts=-x ;;
    256   * ) as_opts= ;;
    257 esac
    258 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    259 # Admittedly, this is quite paranoid, since all the known shells bail
    260 # out after a failed 'exec'.
    261 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    262 exit 255
    263 fi
    264 
    265     if test x$as_have_required = xno
    266 then :
    267   printf "%s\n" "$0: This script requires a shell more modern than all"
    268   printf "%s\n" "$0: the shells that I found on your system."
    269   if test ${ZSH_VERSION+y} ; then
    270     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    271     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    272   else
    273     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    274 $0: https://gitlab.freedesktop.org/xorg/app/xmh/-/issues
    275 $0: about your system, including any error possibly output
    276 $0: before this message. Then install a modern shell, or
    277 $0: manually run the script under such a shell if you do
    278 $0: have one."
    279   fi
    280   exit 1
    281 fi ;;
    282 esac
    283 fi
    284 fi
    285 SHELL=${CONFIG_SHELL-/bin/sh}
    286 export SHELL
    287 # Unset more variables known to interfere with behavior of common tools.
    288 CLICOLOR_FORCE= GREP_OPTIONS=
    289 unset CLICOLOR_FORCE GREP_OPTIONS
    290 
    291 ## --------------------- ##
    292 ## M4sh Shell Functions. ##
    293 ## --------------------- ##
    294 # as_fn_unset VAR
    295 # ---------------
    296 # Portably unset VAR.
    297 as_fn_unset ()
    298 {
    299   { eval $1=; unset $1;}
    300 }
    301 as_unset=as_fn_unset
    302 
    303 
    304 # as_fn_set_status STATUS
    305 # -----------------------
    306 # Set $? to STATUS, without forking.
    307 as_fn_set_status ()
    308 {
    309   return $1
    310 } # as_fn_set_status
    311 
    312 # as_fn_exit STATUS
    313 # -----------------
    314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    315 as_fn_exit ()
    316 {
    317   set +e
    318   as_fn_set_status $1
    319   exit $1
    320 } # as_fn_exit
    321 
    322 # as_fn_mkdir_p
    323 # -------------
    324 # Create "$as_dir" as a directory, including parents if necessary.
    325 as_fn_mkdir_p ()
    326 {
    327 
    328   case $as_dir in #(
    329   -*) as_dir=./$as_dir;;
    330   esac
    331   test -d "$as_dir" || eval $as_mkdir_p || {
    332     as_dirs=
    333     while :; do
    334       case $as_dir in #(
    335       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    336       *) as_qdir=$as_dir;;
    337       esac
    338       as_dirs="'$as_qdir' $as_dirs"
    339       as_dir=`$as_dirname -- "$as_dir" ||
    340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    341 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    342 	 X"$as_dir" : 'X\(//\)$' \| \
    343 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    344 printf "%s\n" X"$as_dir" |
    345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    346 	    s//\1/
    347 	    q
    348 	  }
    349 	  /^X\(\/\/\)[^/].*/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\).*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  s/.*/./; q'`
    362       test -d "$as_dir" && break
    363     done
    364     test -z "$as_dirs" || eval "mkdir $as_dirs"
    365   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    366 
    367 
    368 } # as_fn_mkdir_p
    369 
    370 # as_fn_executable_p FILE
    371 # -----------------------
    372 # Test if FILE is an executable regular file.
    373 as_fn_executable_p ()
    374 {
    375   test -f "$1" && test -x "$1"
    376 } # as_fn_executable_p
    377 # as_fn_append VAR VALUE
    378 # ----------------------
    379 # Append the text in VALUE to the end of the definition contained in VAR. Take
    380 # advantage of any shell optimizations that allow amortized linear growth over
    381 # repeated appends, instead of the typical quadratic growth present in naive
    382 # implementations.
    383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    384 then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else case e in #(
    390   e) as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   } ;;
    394 esac
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    403 then :
    404   eval 'as_fn_arith ()
    405   {
    406     as_val=$(( $* ))
    407   }'
    408 else case e in #(
    409   e) as_fn_arith ()
    410   {
    411     as_val=`expr "$@" || test $? -eq 1`
    412   } ;;
    413 esac
    414 fi # as_fn_arith
    415 
    416 
    417 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    418 # ----------------------------------------
    419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    421 # script with STATUS, using 1 if that was 0.
    422 as_fn_error ()
    423 {
    424   as_status=$1; test $as_status -eq 0 && as_status=1
    425   if test "$4"; then
    426     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    428   fi
    429   printf "%s\n" "$as_me: error: $2" >&2
    430   as_fn_exit $as_status
    431 } # as_fn_error
    432 
    433 if expr a : '\(a\)' >/dev/null 2>&1 &&
    434    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    435   as_expr=expr
    436 else
    437   as_expr=false
    438 fi
    439 
    440 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    441   as_basename=basename
    442 else
    443   as_basename=false
    444 fi
    445 
    446 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    447   as_dirname=dirname
    448 else
    449   as_dirname=false
    450 fi
    451 
    452 as_me=`$as_basename -- "$0" ||
    453 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    454 	 X"$0" : 'X\(//\)$' \| \
    455 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    456 printf "%s\n" X/"$0" |
    457     sed '/^.*\/\([^/][^/]*\)\/*$/{
    458 	    s//\1/
    459 	    q
    460 	  }
    461 	  /^X\/\(\/\/\)$/{
    462 	    s//\1/
    463 	    q
    464 	  }
    465 	  /^X\/\(\/\).*/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  s/.*/./; q'`
    470 
    471 # Avoid depending upon Character Ranges.
    472 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    473 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    474 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    475 as_cr_digits='0123456789'
    476 as_cr_alnum=$as_cr_Letters$as_cr_digits
    477 
    478 
    479   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    480   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    481   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    482   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    483   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    484   sed -n '
    485     p
    486     /[$]LINENO/=
    487   ' <$as_myself |
    488     sed '
    489       t clear
    490       :clear
    491       s/[$]LINENO.*/&-/
    492       t lineno
    493       b
    494       :lineno
    495       N
    496       :loop
    497       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    498       t loop
    499       s/-\n.*//
    500     ' >$as_me.lineno &&
    501   chmod +x "$as_me.lineno" ||
    502     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    503 
    504   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    505   # already done that, so ensure we don't try to do so again and fall
    506   # in an infinite loop.  This has already happened in practice.
    507   _as_can_reexec=no; export _as_can_reexec
    508   # Don't try to exec as it changes $[0], causing all sort of problems
    509   # (the dirname of $[0] is not the place where we might find the
    510   # original and so on.  Autoconf is especially sensitive to this).
    511   . "./$as_me.lineno"
    512   # Exit status is that of the last command.
    513   exit
    514 }
    515 
    516 
    517 # Determine whether it's possible to make 'echo' print without a newline.
    518 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    519 # for compatibility with existing Makefiles.
    520 ECHO_C= ECHO_N= ECHO_T=
    521 case `echo -n x` in #(((((
    522 -n*)
    523   case `echo 'xy\c'` in
    524   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    525   xy)  ECHO_C='\c';;
    526   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    527        ECHO_T='	';;
    528   esac;;
    529 *)
    530   ECHO_N='-n';;
    531 esac
    532 
    533 # For backward compatibility with old third-party macros, we provide
    534 # the shell variables $as_echo and $as_echo_n.  New code should use
    535 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    536 as_echo='printf %s\n'
    537 as_echo_n='printf %s'
    538 
    539 rm -f conf$$ conf$$.exe conf$$.file
    540 if test -d conf$$.dir; then
    541   rm -f conf$$.dir/conf$$.file
    542 else
    543   rm -f conf$$.dir
    544   mkdir conf$$.dir 2>/dev/null
    545 fi
    546 if (echo >conf$$.file) 2>/dev/null; then
    547   if ln -s conf$$.file conf$$ 2>/dev/null; then
    548     as_ln_s='ln -s'
    549     # ... but there are two gotchas:
    550     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    551     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    552     # In both cases, we have to default to 'cp -pR'.
    553     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    554       as_ln_s='cp -pR'
    555   elif ln conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s=ln
    557   else
    558     as_ln_s='cp -pR'
    559   fi
    560 else
    561   as_ln_s='cp -pR'
    562 fi
    563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    564 rmdir conf$$.dir 2>/dev/null
    565 
    566 if mkdir -p . 2>/dev/null; then
    567   as_mkdir_p='mkdir -p "$as_dir"'
    568 else
    569   test -d ./-p && rmdir ./-p
    570   as_mkdir_p=false
    571 fi
    572 
    573 as_test_x='test -x'
    574 as_executable_p=as_fn_executable_p
    575 
    576 # Sed expression to map a string onto a valid CPP name.
    577 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    578 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    579 
    580 # Sed expression to map a string onto a valid variable name.
    581 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    582 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    583 
    584 
    585 test -n "$DJDIR" || exec 7<&0 </dev/null
    586 exec 6>&1
    587 
    588 # Name of the host.
    589 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    590 # so uname gets run too.
    591 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    592 
    593 #
    594 # Initializations.
    595 #
    596 ac_default_prefix=/usr/local
    597 ac_clean_files=
    598 ac_config_libobj_dir=.
    599 LIBOBJS=
    600 cross_compiling=no
    601 subdirs=
    602 MFLAGS=
    603 MAKEFLAGS=
    604 
    605 # Identity of this package.
    606 PACKAGE_NAME='xmh'
    607 PACKAGE_TARNAME='xmh'
    608 PACKAGE_VERSION='1.0.5'
    609 PACKAGE_STRING='xmh 1.0.5'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xmh/-/issues'
    611 PACKAGE_URL=''
    612 
    613 ac_unique_file="Makefile.am"
    614 # Factoring default headers for most tests.
    615 ac_includes_default="\
    616 #include <stddef.h>
    617 #ifdef HAVE_STDIO_H
    618 # include <stdio.h>
    619 #endif
    620 #ifdef HAVE_STDLIB_H
    621 # include <stdlib.h>
    622 #endif
    623 #ifdef HAVE_STRING_H
    624 # include <string.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_STRINGS_H
    633 # include <strings.h>
    634 #endif
    635 #ifdef HAVE_SYS_TYPES_H
    636 # include <sys/types.h>
    637 #endif
    638 #ifdef HAVE_SYS_STAT_H
    639 # include <sys/stat.h>
    640 #endif
    641 #ifdef HAVE_UNISTD_H
    642 # include <unistd.h>
    643 #endif"
    644 
    645 ac_header_c_list=
    646 ac_func_c_list=
    647 enable_year2038=no
    648 ac_subst_vars='am__EXEEXT_FALSE
    649 am__EXEEXT_TRUE
    650 LTLIBOBJS
    651 LIBOBJS
    652 appdefaultdir
    653 APPDEFS_LIBS
    654 APPDEFS_CFLAGS
    655 XMH_LIBS
    656 XMH_CFLAGS
    657 MAN_SUBSTS
    658 XORG_MAN_PAGE
    659 ADMIN_MAN_DIR
    660 DRIVER_MAN_DIR
    661 MISC_MAN_DIR
    662 FILE_MAN_DIR
    663 LIB_MAN_DIR
    664 APP_MAN_DIR
    665 ADMIN_MAN_SUFFIX
    666 DRIVER_MAN_SUFFIX
    667 MISC_MAN_SUFFIX
    668 FILE_MAN_SUFFIX
    669 LIB_MAN_SUFFIX
    670 APP_MAN_SUFFIX
    671 SED
    672 host_os
    673 host_vendor
    674 host_cpu
    675 host
    676 build_os
    677 build_vendor
    678 build_cpu
    679 build
    680 INSTALL_CMD
    681 PKG_CONFIG_LIBDIR
    682 PKG_CONFIG_PATH
    683 PKG_CONFIG
    684 CHANGELOG_CMD
    685 STRICT_CFLAGS
    686 CWARNFLAGS
    687 BASE_CFLAGS
    688 am__fastdepCC_FALSE
    689 am__fastdepCC_TRUE
    690 CCDEPMODE
    691 am__nodep
    692 AMDEPBACKSLASH
    693 AMDEP_FALSE
    694 AMDEP_TRUE
    695 am__include
    696 DEPDIR
    697 OBJEXT
    698 EXEEXT
    699 ac_ct_CC
    700 CPPFLAGS
    701 LDFLAGS
    702 CFLAGS
    703 CC
    704 AM_BACKSLASH
    705 AM_DEFAULT_VERBOSITY
    706 AM_DEFAULT_V
    707 AM_V
    708 CSCOPE
    709 ETAGS
    710 CTAGS
    711 am__untar
    712 am__tar
    713 AMTAR
    714 am__leading_dot
    715 SET_MAKE
    716 AWK
    717 mkdir_p
    718 MKDIR_P
    719 INSTALL_STRIP_PROGRAM
    720 STRIP
    721 install_sh
    722 MAKEINFO
    723 AUTOHEADER
    724 AUTOMAKE
    725 AUTOCONF
    726 ACLOCAL
    727 VERSION
    728 PACKAGE
    729 CYGPATH_W
    730 am__isrc
    731 INSTALL_DATA
    732 INSTALL_SCRIPT
    733 INSTALL_PROGRAM
    734 target_alias
    735 host_alias
    736 build_alias
    737 LIBS
    738 ECHO_T
    739 ECHO_N
    740 ECHO_C
    741 DEFS
    742 mandir
    743 localedir
    744 libdir
    745 psdir
    746 pdfdir
    747 dvidir
    748 htmldir
    749 infodir
    750 docdir
    751 oldincludedir
    752 includedir
    753 runstatedir
    754 localstatedir
    755 sharedstatedir
    756 sysconfdir
    757 datadir
    758 datarootdir
    759 libexecdir
    760 sbindir
    761 bindir
    762 program_transform_name
    763 prefix
    764 exec_prefix
    765 PACKAGE_URL
    766 PACKAGE_BUGREPORT
    767 PACKAGE_STRING
    768 PACKAGE_VERSION
    769 PACKAGE_TARNAME
    770 PACKAGE_NAME
    771 PATH_SEPARATOR
    772 SHELL
    773 am__quote'
    774 ac_subst_files=''
    775 ac_user_opts='
    776 enable_option_checking
    777 enable_silent_rules
    778 enable_dependency_tracking
    779 enable_selective_werror
    780 enable_strict_compilation
    781 with_appdefaultdir
    782 enable_largefile
    783 enable_year2038
    784 '
    785       ac_precious_vars='build_alias
    786 host_alias
    787 target_alias
    788 CC
    789 CFLAGS
    790 LDFLAGS
    791 LIBS
    792 CPPFLAGS
    793 PKG_CONFIG
    794 PKG_CONFIG_PATH
    795 PKG_CONFIG_LIBDIR
    796 XMH_CFLAGS
    797 XMH_LIBS
    798 APPDEFS_CFLAGS
    799 APPDEFS_LIBS'
    800 
    801 
    802 # Initialize some variables set by options.
    803 ac_init_help=
    804 ac_init_version=false
    805 ac_unrecognized_opts=
    806 ac_unrecognized_sep=
    807 # The variables have the same names as the options, with
    808 # dashes changed to underlines.
    809 cache_file=/dev/null
    810 exec_prefix=NONE
    811 no_create=
    812 no_recursion=
    813 prefix=NONE
    814 program_prefix=NONE
    815 program_suffix=NONE
    816 program_transform_name=s,x,x,
    817 silent=
    818 site=
    819 srcdir=
    820 verbose=
    821 x_includes=NONE
    822 x_libraries=NONE
    823 
    824 # Installation directory options.
    825 # These are left unexpanded so users can "make install exec_prefix=/foo"
    826 # and all the variables that are supposed to be based on exec_prefix
    827 # by default will actually change.
    828 # Use braces instead of parens because sh, perl, etc. also accept them.
    829 # (The list follows the same order as the GNU Coding Standards.)
    830 bindir='${exec_prefix}/bin'
    831 sbindir='${exec_prefix}/sbin'
    832 libexecdir='${exec_prefix}/libexec'
    833 datarootdir='${prefix}/share'
    834 datadir='${datarootdir}'
    835 sysconfdir='${prefix}/etc'
    836 sharedstatedir='${prefix}/com'
    837 localstatedir='${prefix}/var'
    838 runstatedir='${localstatedir}/run'
    839 includedir='${prefix}/include'
    840 oldincludedir='/usr/include'
    841 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    842 infodir='${datarootdir}/info'
    843 htmldir='${docdir}'
    844 dvidir='${docdir}'
    845 pdfdir='${docdir}'
    846 psdir='${docdir}'
    847 libdir='${exec_prefix}/lib'
    848 localedir='${datarootdir}/locale'
    849 mandir='${datarootdir}/man'
    850 
    851 ac_prev=
    852 ac_dashdash=
    853 for ac_option
    854 do
    855   # If the previous option needs an argument, assign it.
    856   if test -n "$ac_prev"; then
    857     eval $ac_prev=\$ac_option
    858     ac_prev=
    859     continue
    860   fi
    861 
    862   case $ac_option in
    863   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    864   *=)   ac_optarg= ;;
    865   *)    ac_optarg=yes ;;
    866   esac
    867 
    868   case $ac_dashdash$ac_option in
    869   --)
    870     ac_dashdash=yes ;;
    871 
    872   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    873     ac_prev=bindir ;;
    874   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    875     bindir=$ac_optarg ;;
    876 
    877   -build | --build | --buil | --bui | --bu)
    878     ac_prev=build_alias ;;
    879   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    880     build_alias=$ac_optarg ;;
    881 
    882   -cache-file | --cache-file | --cache-fil | --cache-fi \
    883   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    884     ac_prev=cache_file ;;
    885   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    886   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    887     cache_file=$ac_optarg ;;
    888 
    889   --config-cache | -C)
    890     cache_file=config.cache ;;
    891 
    892   -datadir | --datadir | --datadi | --datad)
    893     ac_prev=datadir ;;
    894   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    895     datadir=$ac_optarg ;;
    896 
    897   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    898   | --dataroo | --dataro | --datar)
    899     ac_prev=datarootdir ;;
    900   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    901   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    902     datarootdir=$ac_optarg ;;
    903 
    904   -disable-* | --disable-*)
    905     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    906     # Reject names that are not valid shell variable names.
    907     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    908       as_fn_error $? "invalid feature name: '$ac_useropt'"
    909     ac_useropt_orig=$ac_useropt
    910     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    911     case $ac_user_opts in
    912       *"
    913 "enable_$ac_useropt"
    914 "*) ;;
    915       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    916 	 ac_unrecognized_sep=', ';;
    917     esac
    918     eval enable_$ac_useropt=no ;;
    919 
    920   -docdir | --docdir | --docdi | --doc | --do)
    921     ac_prev=docdir ;;
    922   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    923     docdir=$ac_optarg ;;
    924 
    925   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    926     ac_prev=dvidir ;;
    927   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    928     dvidir=$ac_optarg ;;
    929 
    930   -enable-* | --enable-*)
    931     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    932     # Reject names that are not valid shell variable names.
    933     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    934       as_fn_error $? "invalid feature name: '$ac_useropt'"
    935     ac_useropt_orig=$ac_useropt
    936     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    937     case $ac_user_opts in
    938       *"
    939 "enable_$ac_useropt"
    940 "*) ;;
    941       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    942 	 ac_unrecognized_sep=', ';;
    943     esac
    944     eval enable_$ac_useropt=\$ac_optarg ;;
    945 
    946   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    947   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    948   | --exec | --exe | --ex)
    949     ac_prev=exec_prefix ;;
    950   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    951   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    952   | --exec=* | --exe=* | --ex=*)
    953     exec_prefix=$ac_optarg ;;
    954 
    955   -gas | --gas | --ga | --g)
    956     # Obsolete; use --with-gas.
    957     with_gas=yes ;;
    958 
    959   -help | --help | --hel | --he | -h)
    960     ac_init_help=long ;;
    961   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    962     ac_init_help=recursive ;;
    963   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    964     ac_init_help=short ;;
    965 
    966   -host | --host | --hos | --ho)
    967     ac_prev=host_alias ;;
    968   -host=* | --host=* | --hos=* | --ho=*)
    969     host_alias=$ac_optarg ;;
    970 
    971   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    972     ac_prev=htmldir ;;
    973   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    974   | --ht=*)
    975     htmldir=$ac_optarg ;;
    976 
    977   -includedir | --includedir | --includedi | --included | --include \
    978   | --includ | --inclu | --incl | --inc)
    979     ac_prev=includedir ;;
    980   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    981   | --includ=* | --inclu=* | --incl=* | --inc=*)
    982     includedir=$ac_optarg ;;
    983 
    984   -infodir | --infodir | --infodi | --infod | --info | --inf)
    985     ac_prev=infodir ;;
    986   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    987     infodir=$ac_optarg ;;
    988 
    989   -libdir | --libdir | --libdi | --libd)
    990     ac_prev=libdir ;;
    991   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    992     libdir=$ac_optarg ;;
    993 
    994   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    995   | --libexe | --libex | --libe)
    996     ac_prev=libexecdir ;;
    997   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    998   | --libexe=* | --libex=* | --libe=*)
    999     libexecdir=$ac_optarg ;;
   1000 
   1001   -localedir | --localedir | --localedi | --localed | --locale)
   1002     ac_prev=localedir ;;
   1003   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1004     localedir=$ac_optarg ;;
   1005 
   1006   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1007   | --localstate | --localstat | --localsta | --localst | --locals)
   1008     ac_prev=localstatedir ;;
   1009   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1010   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1011     localstatedir=$ac_optarg ;;
   1012 
   1013   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1014     ac_prev=mandir ;;
   1015   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1016     mandir=$ac_optarg ;;
   1017 
   1018   -nfp | --nfp | --nf)
   1019     # Obsolete; use --without-fp.
   1020     with_fp=no ;;
   1021 
   1022   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1023   | --no-cr | --no-c | -n)
   1024     no_create=yes ;;
   1025 
   1026   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1027   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1028     no_recursion=yes ;;
   1029 
   1030   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1031   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1032   | --oldin | --oldi | --old | --ol | --o)
   1033     ac_prev=oldincludedir ;;
   1034   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1035   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1036   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1037     oldincludedir=$ac_optarg ;;
   1038 
   1039   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1040     ac_prev=prefix ;;
   1041   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1042     prefix=$ac_optarg ;;
   1043 
   1044   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1045   | --program-pre | --program-pr | --program-p)
   1046     ac_prev=program_prefix ;;
   1047   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1048   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1049     program_prefix=$ac_optarg ;;
   1050 
   1051   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1052   | --program-suf | --program-su | --program-s)
   1053     ac_prev=program_suffix ;;
   1054   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1055   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1056     program_suffix=$ac_optarg ;;
   1057 
   1058   -program-transform-name | --program-transform-name \
   1059   | --program-transform-nam | --program-transform-na \
   1060   | --program-transform-n | --program-transform- \
   1061   | --program-transform | --program-transfor \
   1062   | --program-transfo | --program-transf \
   1063   | --program-trans | --program-tran \
   1064   | --progr-tra | --program-tr | --program-t)
   1065     ac_prev=program_transform_name ;;
   1066   -program-transform-name=* | --program-transform-name=* \
   1067   | --program-transform-nam=* | --program-transform-na=* \
   1068   | --program-transform-n=* | --program-transform-=* \
   1069   | --program-transform=* | --program-transfor=* \
   1070   | --program-transfo=* | --program-transf=* \
   1071   | --program-trans=* | --program-tran=* \
   1072   | --progr-tra=* | --program-tr=* | --program-t=*)
   1073     program_transform_name=$ac_optarg ;;
   1074 
   1075   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1076     ac_prev=pdfdir ;;
   1077   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1078     pdfdir=$ac_optarg ;;
   1079 
   1080   -psdir | --psdir | --psdi | --psd | --ps)
   1081     ac_prev=psdir ;;
   1082   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1083     psdir=$ac_optarg ;;
   1084 
   1085   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1086   | -silent | --silent | --silen | --sile | --sil)
   1087     silent=yes ;;
   1088 
   1089   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1090   | --runstate | --runstat | --runsta | --runst | --runs \
   1091   | --run | --ru | --r)
   1092     ac_prev=runstatedir ;;
   1093   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1094   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1095   | --run=* | --ru=* | --r=*)
   1096     runstatedir=$ac_optarg ;;
   1097 
   1098   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1099     ac_prev=sbindir ;;
   1100   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1101   | --sbi=* | --sb=*)
   1102     sbindir=$ac_optarg ;;
   1103 
   1104   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1105   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1106   | --sharedst | --shareds | --shared | --share | --shar \
   1107   | --sha | --sh)
   1108     ac_prev=sharedstatedir ;;
   1109   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1110   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1111   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1112   | --sha=* | --sh=*)
   1113     sharedstatedir=$ac_optarg ;;
   1114 
   1115   -site | --site | --sit)
   1116     ac_prev=site ;;
   1117   -site=* | --site=* | --sit=*)
   1118     site=$ac_optarg ;;
   1119 
   1120   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1121     ac_prev=srcdir ;;
   1122   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1123     srcdir=$ac_optarg ;;
   1124 
   1125   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1126   | --syscon | --sysco | --sysc | --sys | --sy)
   1127     ac_prev=sysconfdir ;;
   1128   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1129   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1130     sysconfdir=$ac_optarg ;;
   1131 
   1132   -target | --target | --targe | --targ | --tar | --ta | --t)
   1133     ac_prev=target_alias ;;
   1134   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1135     target_alias=$ac_optarg ;;
   1136 
   1137   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1138     verbose=yes ;;
   1139 
   1140   -version | --version | --versio | --versi | --vers | -V)
   1141     ac_init_version=: ;;
   1142 
   1143   -with-* | --with-*)
   1144     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1145     # Reject names that are not valid shell variable names.
   1146     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1147       as_fn_error $? "invalid package name: '$ac_useropt'"
   1148     ac_useropt_orig=$ac_useropt
   1149     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1150     case $ac_user_opts in
   1151       *"
   1152 "with_$ac_useropt"
   1153 "*) ;;
   1154       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1155 	 ac_unrecognized_sep=', ';;
   1156     esac
   1157     eval with_$ac_useropt=\$ac_optarg ;;
   1158 
   1159   -without-* | --without-*)
   1160     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1161     # Reject names that are not valid shell variable names.
   1162     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1163       as_fn_error $? "invalid package name: '$ac_useropt'"
   1164     ac_useropt_orig=$ac_useropt
   1165     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1166     case $ac_user_opts in
   1167       *"
   1168 "with_$ac_useropt"
   1169 "*) ;;
   1170       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1171 	 ac_unrecognized_sep=', ';;
   1172     esac
   1173     eval with_$ac_useropt=no ;;
   1174 
   1175   --x)
   1176     # Obsolete; use --with-x.
   1177     with_x=yes ;;
   1178 
   1179   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1180   | --x-incl | --x-inc | --x-in | --x-i)
   1181     ac_prev=x_includes ;;
   1182   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1183   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1184     x_includes=$ac_optarg ;;
   1185 
   1186   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1187   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1188     ac_prev=x_libraries ;;
   1189   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1190   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1191     x_libraries=$ac_optarg ;;
   1192 
   1193   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1194 Try '$0 --help' for more information"
   1195     ;;
   1196 
   1197   *=*)
   1198     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1199     # Reject names that are not valid shell variable names.
   1200     case $ac_envvar in #(
   1201       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1202       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1203     esac
   1204     eval $ac_envvar=\$ac_optarg
   1205     export $ac_envvar ;;
   1206 
   1207   *)
   1208     # FIXME: should be removed in autoconf 3.0.
   1209     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1210     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1211       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1212     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1213     ;;
   1214 
   1215   esac
   1216 done
   1217 
   1218 if test -n "$ac_prev"; then
   1219   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1220   as_fn_error $? "missing argument to $ac_option"
   1221 fi
   1222 
   1223 if test -n "$ac_unrecognized_opts"; then
   1224   case $enable_option_checking in
   1225     no) ;;
   1226     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1227     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1228   esac
   1229 fi
   1230 
   1231 # Check all directory arguments for consistency.
   1232 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1233 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1234 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1235 		libdir localedir mandir runstatedir
   1236 do
   1237   eval ac_val=\$$ac_var
   1238   # Remove trailing slashes.
   1239   case $ac_val in
   1240     */ )
   1241       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1242       eval $ac_var=\$ac_val;;
   1243   esac
   1244   # Be sure to have absolute directory names.
   1245   case $ac_val in
   1246     [\\/$]* | ?:[\\/]* )  continue;;
   1247     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1248   esac
   1249   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1250 done
   1251 
   1252 # There might be people who depend on the old broken behavior: '$host'
   1253 # used to hold the argument of --host etc.
   1254 # FIXME: To remove some day.
   1255 build=$build_alias
   1256 host=$host_alias
   1257 target=$target_alias
   1258 
   1259 # FIXME: To remove some day.
   1260 if test "x$host_alias" != x; then
   1261   if test "x$build_alias" = x; then
   1262     cross_compiling=maybe
   1263   elif test "x$build_alias" != "x$host_alias"; then
   1264     cross_compiling=yes
   1265   fi
   1266 fi
   1267 
   1268 ac_tool_prefix=
   1269 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1270 
   1271 test "$silent" = yes && exec 6>/dev/null
   1272 
   1273 
   1274 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1275 ac_ls_di=`ls -di .` &&
   1276 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1277   as_fn_error $? "working directory cannot be determined"
   1278 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1279   as_fn_error $? "pwd does not report name of working directory"
   1280 
   1281 
   1282 # Find the source files, if location was not specified.
   1283 if test -z "$srcdir"; then
   1284   ac_srcdir_defaulted=yes
   1285   # Try the directory containing this script, then the parent directory.
   1286   ac_confdir=`$as_dirname -- "$as_myself" ||
   1287 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1288 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1289 	 X"$as_myself" : 'X\(//\)$' \| \
   1290 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1291 printf "%s\n" X"$as_myself" |
   1292     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1293 	    s//\1/
   1294 	    q
   1295 	  }
   1296 	  /^X\(\/\/\)[^/].*/{
   1297 	    s//\1/
   1298 	    q
   1299 	  }
   1300 	  /^X\(\/\/\)$/{
   1301 	    s//\1/
   1302 	    q
   1303 	  }
   1304 	  /^X\(\/\).*/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  s/.*/./; q'`
   1309   srcdir=$ac_confdir
   1310   if test ! -r "$srcdir/$ac_unique_file"; then
   1311     srcdir=..
   1312   fi
   1313 else
   1314   ac_srcdir_defaulted=no
   1315 fi
   1316 if test ! -r "$srcdir/$ac_unique_file"; then
   1317   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1318   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1319 fi
   1320 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1321 ac_abs_confdir=`(
   1322 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1323 	pwd)`
   1324 # When building in place, set srcdir=.
   1325 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1326   srcdir=.
   1327 fi
   1328 # Remove unnecessary trailing slashes from srcdir.
   1329 # Double slashes in file names in object file debugging info
   1330 # mess up M-x gdb in Emacs.
   1331 case $srcdir in
   1332 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1333 esac
   1334 for ac_var in $ac_precious_vars; do
   1335   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1336   eval ac_env_${ac_var}_value=\$${ac_var}
   1337   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1338   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1339 done
   1340 
   1341 #
   1342 # Report the --help message.
   1343 #
   1344 if test "$ac_init_help" = "long"; then
   1345   # Omit some internal or obsolete options to make the list less imposing.
   1346   # This message is too long to be a string in the A/UX 3.1 sh.
   1347   cat <<_ACEOF
   1348 'configure' configures xmh 1.0.5 to adapt to many kinds of systems.
   1349 
   1350 Usage: $0 [OPTION]... [VAR=VALUE]...
   1351 
   1352 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1353 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1354 
   1355 Defaults for the options are specified in brackets.
   1356 
   1357 Configuration:
   1358   -h, --help              display this help and exit
   1359       --help=short        display options specific to this package
   1360       --help=recursive    display the short help of all the included packages
   1361   -V, --version           display version information and exit
   1362   -q, --quiet, --silent   do not print 'checking ...' messages
   1363       --cache-file=FILE   cache test results in FILE [disabled]
   1364   -C, --config-cache      alias for '--cache-file=config.cache'
   1365   -n, --no-create         do not create output files
   1366       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1367 
   1368 Installation directories:
   1369   --prefix=PREFIX         install architecture-independent files in PREFIX
   1370                           [$ac_default_prefix]
   1371   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1372                           [PREFIX]
   1373 
   1374 By default, 'make install' will install all the files in
   1375 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1376 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1377 for instance '--prefix=\$HOME'.
   1378 
   1379 For better control, use the options below.
   1380 
   1381 Fine tuning of the installation directories:
   1382   --bindir=DIR            user executables [EPREFIX/bin]
   1383   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1384   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1385   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1386   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1387   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1388   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1389   --libdir=DIR            object code libraries [EPREFIX/lib]
   1390   --includedir=DIR        C header files [PREFIX/include]
   1391   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1392   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1393   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1394   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1395   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1396   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1397   --docdir=DIR            documentation root [DATAROOTDIR/doc/xmh]
   1398   --htmldir=DIR           html documentation [DOCDIR]
   1399   --dvidir=DIR            dvi documentation [DOCDIR]
   1400   --pdfdir=DIR            pdf documentation [DOCDIR]
   1401   --psdir=DIR             ps documentation [DOCDIR]
   1402 _ACEOF
   1403 
   1404   cat <<\_ACEOF
   1405 
   1406 Program names:
   1407   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1408   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1409   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1410 
   1411 System types:
   1412   --build=BUILD     configure for building on BUILD [guessed]
   1413   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1414 _ACEOF
   1415 fi
   1416 
   1417 if test -n "$ac_init_help"; then
   1418   case $ac_init_help in
   1419      short | recursive ) echo "Configuration of xmh 1.0.5:";;
   1420    esac
   1421   cat <<\_ACEOF
   1422 
   1423 Optional Features:
   1424   --disable-option-checking  ignore unrecognized --enable/--with options
   1425   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1426   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1427   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1428   --disable-silent-rules  verbose build output (undo: "make V=0")
   1429   --enable-dependency-tracking
   1430                           do not reject slow dependency extractors
   1431   --disable-dependency-tracking
   1432                           speeds up one-time build
   1433   --disable-selective-werror
   1434                           Turn off selective compiler errors. (default:
   1435                           enabled)
   1436   --enable-strict-compilation
   1437                           Enable all warnings from compiler and make them
   1438                           errors (default: disabled)
   1439   --disable-largefile     omit support for large files
   1440   --enable-year2038       support timestamps after 2038
   1441 
   1442 Optional Packages:
   1443   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1444   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1445   --with-appdefaultdir=<pathname>
   1446                           specify directory for app-defaults files (default is
   1447                           autodetected)
   1448 
   1449 Some influential environment variables:
   1450   CC          C compiler command
   1451   CFLAGS      C compiler flags
   1452   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1453               nonstandard directory <lib dir>
   1454   LIBS        libraries to pass to the linker, e.g. -l<library>
   1455   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1456               you have headers in a nonstandard directory <include dir>
   1457   PKG_CONFIG  path to pkg-config utility
   1458   PKG_CONFIG_PATH
   1459               directories to add to pkg-config's search path
   1460   PKG_CONFIG_LIBDIR
   1461               path overriding pkg-config's built-in search path
   1462   XMH_CFLAGS  C compiler flags for XMH, overriding pkg-config
   1463   XMH_LIBS    linker flags for XMH, overriding pkg-config
   1464   APPDEFS_CFLAGS
   1465               C compiler flags for APPDEFS, overriding pkg-config
   1466   APPDEFS_LIBS
   1467               linker flags for APPDEFS, overriding pkg-config
   1468 
   1469 Use these variables to override the choices made by 'configure' or to help
   1470 it to find libraries and programs with nonstandard names/locations.
   1471 
   1472 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmh/-/issues>.
   1473 _ACEOF
   1474 ac_status=$?
   1475 fi
   1476 
   1477 if test "$ac_init_help" = "recursive"; then
   1478   # If there are subdirs, report their specific --help.
   1479   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1480     test -d "$ac_dir" ||
   1481       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1482       continue
   1483     ac_builddir=.
   1484 
   1485 case "$ac_dir" in
   1486 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1487 *)
   1488   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1489   # A ".." for each directory in $ac_dir_suffix.
   1490   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1491   case $ac_top_builddir_sub in
   1492   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1493   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1494   esac ;;
   1495 esac
   1496 ac_abs_top_builddir=$ac_pwd
   1497 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1498 # for backward compatibility:
   1499 ac_top_builddir=$ac_top_build_prefix
   1500 
   1501 case $srcdir in
   1502   .)  # We are building in place.
   1503     ac_srcdir=.
   1504     ac_top_srcdir=$ac_top_builddir_sub
   1505     ac_abs_top_srcdir=$ac_pwd ;;
   1506   [\\/]* | ?:[\\/]* )  # Absolute name.
   1507     ac_srcdir=$srcdir$ac_dir_suffix;
   1508     ac_top_srcdir=$srcdir
   1509     ac_abs_top_srcdir=$srcdir ;;
   1510   *) # Relative name.
   1511     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1512     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1513     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1514 esac
   1515 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1516 
   1517     cd "$ac_dir" || { ac_status=$?; continue; }
   1518     # Check for configure.gnu first; this name is used for a wrapper for
   1519     # Metaconfig's "Configure" on case-insensitive file systems.
   1520     if test -f "$ac_srcdir/configure.gnu"; then
   1521       echo &&
   1522       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1523     elif test -f "$ac_srcdir/configure"; then
   1524       echo &&
   1525       $SHELL "$ac_srcdir/configure" --help=recursive
   1526     else
   1527       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1528     fi || ac_status=$?
   1529     cd "$ac_pwd" || { ac_status=$?; break; }
   1530   done
   1531 fi
   1532 
   1533 test -n "$ac_init_help" && exit $ac_status
   1534 if $ac_init_version; then
   1535   cat <<\_ACEOF
   1536 xmh configure 1.0.5
   1537 generated by GNU Autoconf 2.72
   1538 
   1539 Copyright (C) 2023 Free Software Foundation, Inc.
   1540 This configure script is free software; the Free Software Foundation
   1541 gives unlimited permission to copy, distribute and modify it.
   1542 _ACEOF
   1543   exit
   1544 fi
   1545 
   1546 ## ------------------------ ##
   1547 ## Autoconf initialization. ##
   1548 ## ------------------------ ##
   1549 
   1550 # ac_fn_c_try_compile LINENO
   1551 # --------------------------
   1552 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1553 ac_fn_c_try_compile ()
   1554 {
   1555   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1556   rm -f conftest.$ac_objext conftest.beam
   1557   if { { ac_try="$ac_compile"
   1558 case "(($ac_try" in
   1559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1560   *) ac_try_echo=$ac_try;;
   1561 esac
   1562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1563 printf "%s\n" "$ac_try_echo"; } >&5
   1564   (eval "$ac_compile") 2>conftest.err
   1565   ac_status=$?
   1566   if test -s conftest.err; then
   1567     grep -v '^ *+' conftest.err >conftest.er1
   1568     cat conftest.er1 >&5
   1569     mv -f conftest.er1 conftest.err
   1570   fi
   1571   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1572   test $ac_status = 0; } && {
   1573 	 test -z "$ac_c_werror_flag" ||
   1574 	 test ! -s conftest.err
   1575        } && test -s conftest.$ac_objext
   1576 then :
   1577   ac_retval=0
   1578 else case e in #(
   1579   e) printf "%s\n" "$as_me: failed program was:" >&5
   1580 sed 's/^/| /' conftest.$ac_ext >&5
   1581 
   1582 	ac_retval=1 ;;
   1583 esac
   1584 fi
   1585   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1586   as_fn_set_status $ac_retval
   1587 
   1588 } # ac_fn_c_try_compile
   1589 
   1590 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1591 # ------------------------------------------------------------------
   1592 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1593 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1594 ac_fn_check_decl ()
   1595 {
   1596   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1597   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1598   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1599 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1600 if eval test \${$3+y}
   1601 then :
   1602   printf %s "(cached) " >&6
   1603 else case e in #(
   1604   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1605   eval ac_save_FLAGS=\$$6
   1606   as_fn_append $6 " $5"
   1607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1608 /* end confdefs.h.  */
   1609 $4
   1610 int
   1611 main (void)
   1612 {
   1613 #ifndef $as_decl_name
   1614 #ifdef __cplusplus
   1615   (void) $as_decl_use;
   1616 #else
   1617   (void) $as_decl_name;
   1618 #endif
   1619 #endif
   1620 
   1621   ;
   1622   return 0;
   1623 }
   1624 _ACEOF
   1625 if ac_fn_c_try_compile "$LINENO"
   1626 then :
   1627   eval "$3=yes"
   1628 else case e in #(
   1629   e) eval "$3=no" ;;
   1630 esac
   1631 fi
   1632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1633   eval $6=\$ac_save_FLAGS
   1634  ;;
   1635 esac
   1636 fi
   1637 eval ac_res=\$$3
   1638 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1639 printf "%s\n" "$ac_res" >&6; }
   1640   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1641 
   1642 } # ac_fn_check_decl
   1643 
   1644 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1645 # -------------------------------------------------------
   1646 # Tests whether HEADER exists and can be compiled using the include files in
   1647 # INCLUDES, setting the cache variable VAR accordingly.
   1648 ac_fn_c_check_header_compile ()
   1649 {
   1650   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1651   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1652 printf %s "checking for $2... " >&6; }
   1653 if eval test \${$3+y}
   1654 then :
   1655   printf %s "(cached) " >&6
   1656 else case e in #(
   1657   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1658 /* end confdefs.h.  */
   1659 $4
   1660 #include <$2>
   1661 _ACEOF
   1662 if ac_fn_c_try_compile "$LINENO"
   1663 then :
   1664   eval "$3=yes"
   1665 else case e in #(
   1666   e) eval "$3=no" ;;
   1667 esac
   1668 fi
   1669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1670 esac
   1671 fi
   1672 eval ac_res=\$$3
   1673 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1674 printf "%s\n" "$ac_res" >&6; }
   1675   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1676 
   1677 } # ac_fn_c_check_header_compile
   1678 
   1679 # ac_fn_c_try_link LINENO
   1680 # -----------------------
   1681 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1682 ac_fn_c_try_link ()
   1683 {
   1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1685   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1686   if { { ac_try="$ac_link"
   1687 case "(($ac_try" in
   1688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1689   *) ac_try_echo=$ac_try;;
   1690 esac
   1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1692 printf "%s\n" "$ac_try_echo"; } >&5
   1693   (eval "$ac_link") 2>conftest.err
   1694   ac_status=$?
   1695   if test -s conftest.err; then
   1696     grep -v '^ *+' conftest.err >conftest.er1
   1697     cat conftest.er1 >&5
   1698     mv -f conftest.er1 conftest.err
   1699   fi
   1700   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1701   test $ac_status = 0; } && {
   1702 	 test -z "$ac_c_werror_flag" ||
   1703 	 test ! -s conftest.err
   1704        } && test -s conftest$ac_exeext && {
   1705 	 test "$cross_compiling" = yes ||
   1706 	 test -x conftest$ac_exeext
   1707        }
   1708 then :
   1709   ac_retval=0
   1710 else case e in #(
   1711   e) printf "%s\n" "$as_me: failed program was:" >&5
   1712 sed 's/^/| /' conftest.$ac_ext >&5
   1713 
   1714 	ac_retval=1 ;;
   1715 esac
   1716 fi
   1717   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1718   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1719   # interfere with the next link command; also delete a directory that is
   1720   # left behind by Apple's compiler.  We do this before executing the actions.
   1721   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1722   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1723   as_fn_set_status $ac_retval
   1724 
   1725 } # ac_fn_c_try_link
   1726 
   1727 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1728 # -------------------------------------------
   1729 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1730 # variable VAR accordingly.
   1731 ac_fn_c_check_type ()
   1732 {
   1733   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1735 printf %s "checking for $2... " >&6; }
   1736 if eval test \${$3+y}
   1737 then :
   1738   printf %s "(cached) " >&6
   1739 else case e in #(
   1740   e) eval "$3=no"
   1741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1742 /* end confdefs.h.  */
   1743 $4
   1744 int
   1745 main (void)
   1746 {
   1747 if (sizeof ($2))
   1748 	 return 0;
   1749   ;
   1750   return 0;
   1751 }
   1752 _ACEOF
   1753 if ac_fn_c_try_compile "$LINENO"
   1754 then :
   1755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1756 /* end confdefs.h.  */
   1757 $4
   1758 int
   1759 main (void)
   1760 {
   1761 if (sizeof (($2)))
   1762 	    return 0;
   1763   ;
   1764   return 0;
   1765 }
   1766 _ACEOF
   1767 if ac_fn_c_try_compile "$LINENO"
   1768 then :
   1769 
   1770 else case e in #(
   1771   e) eval "$3=yes" ;;
   1772 esac
   1773 fi
   1774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1775 fi
   1776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1777 esac
   1778 fi
   1779 eval ac_res=\$$3
   1780 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1781 printf "%s\n" "$ac_res" >&6; }
   1782   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1783 
   1784 } # ac_fn_c_check_type
   1785 
   1786 # ac_fn_c_check_func LINENO FUNC VAR
   1787 # ----------------------------------
   1788 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1789 ac_fn_c_check_func ()
   1790 {
   1791   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1793 printf %s "checking for $2... " >&6; }
   1794 if eval test \${$3+y}
   1795 then :
   1796   printf %s "(cached) " >&6
   1797 else case e in #(
   1798   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1799 /* end confdefs.h.  */
   1800 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1802 #define $2 innocuous_$2
   1803 
   1804 /* System header to define __stub macros and hopefully few prototypes,
   1805    which can conflict with char $2 (void); below.  */
   1806 
   1807 #include <limits.h>
   1808 #undef $2
   1809 
   1810 /* Override any GCC internal prototype to avoid an error.
   1811    Use char because int might match the return type of a GCC
   1812    builtin and then its argument prototype would still apply.  */
   1813 #ifdef __cplusplus
   1814 extern "C"
   1815 #endif
   1816 char $2 (void);
   1817 /* The GNU C library defines this for functions which it implements
   1818     to always fail with ENOSYS.  Some functions are actually named
   1819     something starting with __ and the normal name is an alias.  */
   1820 #if defined __stub_$2 || defined __stub___$2
   1821 choke me
   1822 #endif
   1823 
   1824 int
   1825 main (void)
   1826 {
   1827 return $2 ();
   1828   ;
   1829   return 0;
   1830 }
   1831 _ACEOF
   1832 if ac_fn_c_try_link "$LINENO"
   1833 then :
   1834   eval "$3=yes"
   1835 else case e in #(
   1836   e) eval "$3=no" ;;
   1837 esac
   1838 fi
   1839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1840     conftest$ac_exeext conftest.$ac_ext ;;
   1841 esac
   1842 fi
   1843 eval ac_res=\$$3
   1844 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1845 printf "%s\n" "$ac_res" >&6; }
   1846   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1847 
   1848 } # ac_fn_c_check_func
   1849 
   1850 # ac_fn_c_try_run LINENO
   1851 # ----------------------
   1852 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1853 # executables *can* be run.
   1854 ac_fn_c_try_run ()
   1855 {
   1856   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1857   if { { ac_try="$ac_link"
   1858 case "(($ac_try" in
   1859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1860   *) ac_try_echo=$ac_try;;
   1861 esac
   1862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1863 printf "%s\n" "$ac_try_echo"; } >&5
   1864   (eval "$ac_link") 2>&5
   1865   ac_status=$?
   1866   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1867   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1868   { { case "(($ac_try" in
   1869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1870   *) ac_try_echo=$ac_try;;
   1871 esac
   1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1873 printf "%s\n" "$ac_try_echo"; } >&5
   1874   (eval "$ac_try") 2>&5
   1875   ac_status=$?
   1876   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1877   test $ac_status = 0; }; }
   1878 then :
   1879   ac_retval=0
   1880 else case e in #(
   1881   e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   1882        printf "%s\n" "$as_me: failed program was:" >&5
   1883 sed 's/^/| /' conftest.$ac_ext >&5
   1884 
   1885        ac_retval=$ac_status ;;
   1886 esac
   1887 fi
   1888   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1889   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1890   as_fn_set_status $ac_retval
   1891 
   1892 } # ac_fn_c_try_run
   1893 ac_configure_args_raw=
   1894 for ac_arg
   1895 do
   1896   case $ac_arg in
   1897   *\'*)
   1898     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1899   esac
   1900   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1901 done
   1902 
   1903 case $ac_configure_args_raw in
   1904   *$as_nl*)
   1905     ac_safe_unquote= ;;
   1906   *)
   1907     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1908     ac_unsafe_a="$ac_unsafe_z#~"
   1909     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1910     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1911 esac
   1912 
   1913 cat >config.log <<_ACEOF
   1914 This file contains any messages produced by compilers while
   1915 running configure, to aid debugging if configure makes a mistake.
   1916 
   1917 It was created by xmh $as_me 1.0.5, which was
   1918 generated by GNU Autoconf 2.72.  Invocation command line was
   1919 
   1920   $ $0$ac_configure_args_raw
   1921 
   1922 _ACEOF
   1923 exec 5>>config.log
   1924 {
   1925 cat <<_ASUNAME
   1926 ## --------- ##
   1927 ## Platform. ##
   1928 ## --------- ##
   1929 
   1930 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1931 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1932 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1933 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1934 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1935 
   1936 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1937 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1938 
   1939 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1940 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1941 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1942 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1943 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1944 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1945 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1946 
   1947 _ASUNAME
   1948 
   1949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1950 for as_dir in $PATH
   1951 do
   1952   IFS=$as_save_IFS
   1953   case $as_dir in #(((
   1954     '') as_dir=./ ;;
   1955     */) ;;
   1956     *) as_dir=$as_dir/ ;;
   1957   esac
   1958     printf "%s\n" "PATH: $as_dir"
   1959   done
   1960 IFS=$as_save_IFS
   1961 
   1962 } >&5
   1963 
   1964 cat >&5 <<_ACEOF
   1965 
   1966 
   1967 ## ----------- ##
   1968 ## Core tests. ##
   1969 ## ----------- ##
   1970 
   1971 _ACEOF
   1972 
   1973 
   1974 # Keep a trace of the command line.
   1975 # Strip out --no-create and --no-recursion so they do not pile up.
   1976 # Strip out --silent because we don't want to record it for future runs.
   1977 # Also quote any args containing shell meta-characters.
   1978 # Make two passes to allow for proper duplicate-argument suppression.
   1979 ac_configure_args=
   1980 ac_configure_args0=
   1981 ac_configure_args1=
   1982 ac_must_keep_next=false
   1983 for ac_pass in 1 2
   1984 do
   1985   for ac_arg
   1986   do
   1987     case $ac_arg in
   1988     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1989     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1990     | -silent | --silent | --silen | --sile | --sil)
   1991       continue ;;
   1992     *\'*)
   1993       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1994     esac
   1995     case $ac_pass in
   1996     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1997     2)
   1998       as_fn_append ac_configure_args1 " '$ac_arg'"
   1999       if test $ac_must_keep_next = true; then
   2000 	ac_must_keep_next=false # Got value, back to normal.
   2001       else
   2002 	case $ac_arg in
   2003 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2004 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2005 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2006 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2007 	    case "$ac_configure_args0 " in
   2008 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2009 	    esac
   2010 	    ;;
   2011 	  -* ) ac_must_keep_next=true ;;
   2012 	esac
   2013       fi
   2014       as_fn_append ac_configure_args " '$ac_arg'"
   2015       ;;
   2016     esac
   2017   done
   2018 done
   2019 { ac_configure_args0=; unset ac_configure_args0;}
   2020 { ac_configure_args1=; unset ac_configure_args1;}
   2021 
   2022 # When interrupted or exit'd, cleanup temporary files, and complete
   2023 # config.log.  We remove comments because anyway the quotes in there
   2024 # would cause problems or look ugly.
   2025 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2026 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2027 trap 'exit_status=$?
   2028   # Sanitize IFS.
   2029   IFS=" ""	$as_nl"
   2030   # Save into config.log some information that might help in debugging.
   2031   {
   2032     echo
   2033 
   2034     printf "%s\n" "## ---------------- ##
   2035 ## Cache variables. ##
   2036 ## ---------------- ##"
   2037     echo
   2038     # The following way of writing the cache mishandles newlines in values,
   2039 (
   2040   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2041     eval ac_val=\$$ac_var
   2042     case $ac_val in #(
   2043     *${as_nl}*)
   2044       case $ac_var in #(
   2045       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2046 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2047       esac
   2048       case $ac_var in #(
   2049       _ | IFS | as_nl) ;; #(
   2050       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2051       *) { eval $ac_var=; unset $ac_var;} ;;
   2052       esac ;;
   2053     esac
   2054   done
   2055   (set) 2>&1 |
   2056     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2057     *${as_nl}ac_space=\ *)
   2058       sed -n \
   2059 	"s/'\''/'\''\\\\'\'''\''/g;
   2060 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2061       ;; #(
   2062     *)
   2063       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2064       ;;
   2065     esac |
   2066     sort
   2067 )
   2068     echo
   2069 
   2070     printf "%s\n" "## ----------------- ##
   2071 ## Output variables. ##
   2072 ## ----------------- ##"
   2073     echo
   2074     for ac_var in $ac_subst_vars
   2075     do
   2076       eval ac_val=\$$ac_var
   2077       case $ac_val in
   2078       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2079       esac
   2080       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2081     done | sort
   2082     echo
   2083 
   2084     if test -n "$ac_subst_files"; then
   2085       printf "%s\n" "## ------------------- ##
   2086 ## File substitutions. ##
   2087 ## ------------------- ##"
   2088       echo
   2089       for ac_var in $ac_subst_files
   2090       do
   2091 	eval ac_val=\$$ac_var
   2092 	case $ac_val in
   2093 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2094 	esac
   2095 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2096       done | sort
   2097       echo
   2098     fi
   2099 
   2100     if test -s confdefs.h; then
   2101       printf "%s\n" "## ----------- ##
   2102 ## confdefs.h. ##
   2103 ## ----------- ##"
   2104       echo
   2105       cat confdefs.h
   2106       echo
   2107     fi
   2108     test "$ac_signal" != 0 &&
   2109       printf "%s\n" "$as_me: caught signal $ac_signal"
   2110     printf "%s\n" "$as_me: exit $exit_status"
   2111   } >&5
   2112   rm -f core *.core core.conftest.* &&
   2113     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2114     exit $exit_status
   2115 ' 0
   2116 for ac_signal in 1 2 13 15; do
   2117   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2118 done
   2119 ac_signal=0
   2120 
   2121 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2122 rm -f -r conftest* confdefs.h
   2123 
   2124 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2125 
   2126 # Predefined preprocessor variables.
   2127 
   2128 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2129 
   2130 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2131 
   2132 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2133 
   2134 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2135 
   2136 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2137 
   2138 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2139 
   2140 
   2141 # Let the site file select an alternate cache file if it wants to.
   2142 # Prefer an explicitly selected file to automatically selected ones.
   2143 if test -n "$CONFIG_SITE"; then
   2144   ac_site_files="$CONFIG_SITE"
   2145 elif test "x$prefix" != xNONE; then
   2146   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2147 else
   2148   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2149 fi
   2150 
   2151 for ac_site_file in $ac_site_files
   2152 do
   2153   case $ac_site_file in #(
   2154   */*) :
   2155      ;; #(
   2156   *) :
   2157     ac_site_file=./$ac_site_file ;;
   2158 esac
   2159   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2160     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2161 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2162     sed 's/^/| /' "$ac_site_file" >&5
   2163     . "$ac_site_file" \
   2164       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2165 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2166 as_fn_error $? "failed to load site script $ac_site_file
   2167 See 'config.log' for more details" "$LINENO" 5; }
   2168   fi
   2169 done
   2170 
   2171 if test -r "$cache_file"; then
   2172   # Some versions of bash will fail to source /dev/null (special files
   2173   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2174   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2175     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2176 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2177     case $cache_file in
   2178       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2179       *)                      . "./$cache_file";;
   2180     esac
   2181   fi
   2182 else
   2183   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2184 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2185   >$cache_file
   2186 fi
   2187 
   2188 # Test code for whether the C compiler supports C89 (global declarations)
   2189 ac_c_conftest_c89_globals='
   2190 /* Does the compiler advertise C89 conformance?
   2191    Do not test the value of __STDC__, because some compilers set it to 0
   2192    while being otherwise adequately conformant. */
   2193 #if !defined __STDC__
   2194 # error "Compiler does not advertise C89 conformance"
   2195 #endif
   2196 
   2197 #include <stddef.h>
   2198 #include <stdarg.h>
   2199 struct stat;
   2200 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2201 struct buf { int x; };
   2202 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2203 static char *e (char **p, int i)
   2204 {
   2205   return p[i];
   2206 }
   2207 static char *f (char * (*g) (char **, int), char **p, ...)
   2208 {
   2209   char *s;
   2210   va_list v;
   2211   va_start (v,p);
   2212   s = g (p, va_arg (v,int));
   2213   va_end (v);
   2214   return s;
   2215 }
   2216 
   2217 /* C89 style stringification. */
   2218 #define noexpand_stringify(a) #a
   2219 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2220 
   2221 /* C89 style token pasting.  Exercises some of the corner cases that
   2222    e.g. old MSVC gets wrong, but not very hard. */
   2223 #define noexpand_concat(a,b) a##b
   2224 #define expand_concat(a,b) noexpand_concat(a,b)
   2225 extern int vA;
   2226 extern int vbee;
   2227 #define aye A
   2228 #define bee B
   2229 int *pvA = &expand_concat(v,aye);
   2230 int *pvbee = &noexpand_concat(v,bee);
   2231 
   2232 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2233    function prototypes and stuff, but not \xHH hex character constants.
   2234    These do not provoke an error unfortunately, instead are silently treated
   2235    as an "x".  The following induces an error, until -std is added to get
   2236    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2237    array size at least.  It is necessary to write \x00 == 0 to get something
   2238    that is true only with -std.  */
   2239 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2240 
   2241 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2242    inside strings and character constants.  */
   2243 #define FOO(x) '\''x'\''
   2244 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2245 
   2246 int test (int i, double x);
   2247 struct s1 {int (*f) (int a);};
   2248 struct s2 {int (*f) (double a);};
   2249 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2250                int, int);'
   2251 
   2252 # Test code for whether the C compiler supports C89 (body of main).
   2253 ac_c_conftest_c89_main='
   2254 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2255 '
   2256 
   2257 # Test code for whether the C compiler supports C99 (global declarations)
   2258 ac_c_conftest_c99_globals='
   2259 /* Does the compiler advertise C99 conformance? */
   2260 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2261 # error "Compiler does not advertise C99 conformance"
   2262 #endif
   2263 
   2264 // See if C++-style comments work.
   2265 
   2266 #include <stdbool.h>
   2267 extern int puts (const char *);
   2268 extern int printf (const char *, ...);
   2269 extern int dprintf (int, const char *, ...);
   2270 extern void *malloc (size_t);
   2271 extern void free (void *);
   2272 
   2273 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2274 // dprintf is used instead of fprintf to avoid needing to declare
   2275 // FILE and stderr.
   2276 #define debug(...) dprintf (2, __VA_ARGS__)
   2277 #define showlist(...) puts (#__VA_ARGS__)
   2278 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2279 static void
   2280 test_varargs_macros (void)
   2281 {
   2282   int x = 1234;
   2283   int y = 5678;
   2284   debug ("Flag");
   2285   debug ("X = %d\n", x);
   2286   showlist (The first, second, and third items.);
   2287   report (x>y, "x is %d but y is %d", x, y);
   2288 }
   2289 
   2290 // Check long long types.
   2291 #define BIG64 18446744073709551615ull
   2292 #define BIG32 4294967295ul
   2293 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2294 #if !BIG_OK
   2295   #error "your preprocessor is broken"
   2296 #endif
   2297 #if BIG_OK
   2298 #else
   2299   #error "your preprocessor is broken"
   2300 #endif
   2301 static long long int bignum = -9223372036854775807LL;
   2302 static unsigned long long int ubignum = BIG64;
   2303 
   2304 struct incomplete_array
   2305 {
   2306   int datasize;
   2307   double data[];
   2308 };
   2309 
   2310 struct named_init {
   2311   int number;
   2312   const wchar_t *name;
   2313   double average;
   2314 };
   2315 
   2316 typedef const char *ccp;
   2317 
   2318 static inline int
   2319 test_restrict (ccp restrict text)
   2320 {
   2321   // Iterate through items via the restricted pointer.
   2322   // Also check for declarations in for loops.
   2323   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2324     continue;
   2325   return 0;
   2326 }
   2327 
   2328 // Check varargs and va_copy.
   2329 static bool
   2330 test_varargs (const char *format, ...)
   2331 {
   2332   va_list args;
   2333   va_start (args, format);
   2334   va_list args_copy;
   2335   va_copy (args_copy, args);
   2336 
   2337   const char *str = "";
   2338   int number = 0;
   2339   float fnumber = 0;
   2340 
   2341   while (*format)
   2342     {
   2343       switch (*format++)
   2344 	{
   2345 	case '\''s'\'': // string
   2346 	  str = va_arg (args_copy, const char *);
   2347 	  break;
   2348 	case '\''d'\'': // int
   2349 	  number = va_arg (args_copy, int);
   2350 	  break;
   2351 	case '\''f'\'': // float
   2352 	  fnumber = va_arg (args_copy, double);
   2353 	  break;
   2354 	default:
   2355 	  break;
   2356 	}
   2357     }
   2358   va_end (args_copy);
   2359   va_end (args);
   2360 
   2361   return *str && number && fnumber;
   2362 }
   2363 '
   2364 
   2365 # Test code for whether the C compiler supports C99 (body of main).
   2366 ac_c_conftest_c99_main='
   2367   // Check bool.
   2368   _Bool success = false;
   2369   success |= (argc != 0);
   2370 
   2371   // Check restrict.
   2372   if (test_restrict ("String literal") == 0)
   2373     success = true;
   2374   char *restrict newvar = "Another string";
   2375 
   2376   // Check varargs.
   2377   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2378   test_varargs_macros ();
   2379 
   2380   // Check flexible array members.
   2381   struct incomplete_array *ia =
   2382     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2383   ia->datasize = 10;
   2384   for (int i = 0; i < ia->datasize; ++i)
   2385     ia->data[i] = i * 1.234;
   2386   // Work around memory leak warnings.
   2387   free (ia);
   2388 
   2389   // Check named initializers.
   2390   struct named_init ni = {
   2391     .number = 34,
   2392     .name = L"Test wide string",
   2393     .average = 543.34343,
   2394   };
   2395 
   2396   ni.number = 58;
   2397 
   2398   int dynamic_array[ni.number];
   2399   dynamic_array[0] = argv[0][0];
   2400   dynamic_array[ni.number - 1] = 543;
   2401 
   2402   // work around unused variable warnings
   2403   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2404 	 || dynamic_array[ni.number - 1] != 543);
   2405 '
   2406 
   2407 # Test code for whether the C compiler supports C11 (global declarations)
   2408 ac_c_conftest_c11_globals='
   2409 /* Does the compiler advertise C11 conformance? */
   2410 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2411 # error "Compiler does not advertise C11 conformance"
   2412 #endif
   2413 
   2414 // Check _Alignas.
   2415 char _Alignas (double) aligned_as_double;
   2416 char _Alignas (0) no_special_alignment;
   2417 extern char aligned_as_int;
   2418 char _Alignas (0) _Alignas (int) aligned_as_int;
   2419 
   2420 // Check _Alignof.
   2421 enum
   2422 {
   2423   int_alignment = _Alignof (int),
   2424   int_array_alignment = _Alignof (int[100]),
   2425   char_alignment = _Alignof (char)
   2426 };
   2427 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2428 
   2429 // Check _Noreturn.
   2430 int _Noreturn does_not_return (void) { for (;;) continue; }
   2431 
   2432 // Check _Static_assert.
   2433 struct test_static_assert
   2434 {
   2435   int x;
   2436   _Static_assert (sizeof (int) <= sizeof (long int),
   2437                   "_Static_assert does not work in struct");
   2438   long int y;
   2439 };
   2440 
   2441 // Check UTF-8 literals.
   2442 #define u8 syntax error!
   2443 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2444 
   2445 // Check duplicate typedefs.
   2446 typedef long *long_ptr;
   2447 typedef long int *long_ptr;
   2448 typedef long_ptr long_ptr;
   2449 
   2450 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2451 struct anonymous
   2452 {
   2453   union {
   2454     struct { int i; int j; };
   2455     struct { int k; long int l; } w;
   2456   };
   2457   int m;
   2458 } v1;
   2459 '
   2460 
   2461 # Test code for whether the C compiler supports C11 (body of main).
   2462 ac_c_conftest_c11_main='
   2463   _Static_assert ((offsetof (struct anonymous, i)
   2464 		   == offsetof (struct anonymous, w.k)),
   2465 		  "Anonymous union alignment botch");
   2466   v1.i = 2;
   2467   v1.w.k = 5;
   2468   ok |= v1.i != 5;
   2469 '
   2470 
   2471 # Test code for whether the C compiler supports C11 (complete).
   2472 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2473 ${ac_c_conftest_c99_globals}
   2474 ${ac_c_conftest_c11_globals}
   2475 
   2476 int
   2477 main (int argc, char **argv)
   2478 {
   2479   int ok = 0;
   2480   ${ac_c_conftest_c89_main}
   2481   ${ac_c_conftest_c99_main}
   2482   ${ac_c_conftest_c11_main}
   2483   return ok;
   2484 }
   2485 "
   2486 
   2487 # Test code for whether the C compiler supports C99 (complete).
   2488 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2489 ${ac_c_conftest_c99_globals}
   2490 
   2491 int
   2492 main (int argc, char **argv)
   2493 {
   2494   int ok = 0;
   2495   ${ac_c_conftest_c89_main}
   2496   ${ac_c_conftest_c99_main}
   2497   return ok;
   2498 }
   2499 "
   2500 
   2501 # Test code for whether the C compiler supports C89 (complete).
   2502 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2503 
   2504 int
   2505 main (int argc, char **argv)
   2506 {
   2507   int ok = 0;
   2508   ${ac_c_conftest_c89_main}
   2509   return ok;
   2510 }
   2511 "
   2512 
   2513 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2514 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2515 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2516 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2517 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2518 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2519 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2520 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2521 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2522 as_fn_append ac_header_c_list " vfork.h vfork_h HAVE_VFORK_H"
   2523 as_fn_append ac_func_c_list " fork HAVE_FORK"
   2524 as_fn_append ac_func_c_list " vfork HAVE_VFORK"
   2525 
   2526 # Auxiliary files required by this configure script.
   2527 ac_aux_files="config.guess config.sub compile missing install-sh"
   2528 
   2529 # Locations in which to look for auxiliary files.
   2530 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2531 
   2532 # Search for a directory containing all of the required auxiliary files,
   2533 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2534 # If we don't find one directory that contains all the files we need,
   2535 # we report the set of missing files from the *first* directory in
   2536 # $ac_aux_dir_candidates and give up.
   2537 ac_missing_aux_files=""
   2538 ac_first_candidate=:
   2539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2541 as_found=false
   2542 for as_dir in $ac_aux_dir_candidates
   2543 do
   2544   IFS=$as_save_IFS
   2545   case $as_dir in #(((
   2546     '') as_dir=./ ;;
   2547     */) ;;
   2548     *) as_dir=$as_dir/ ;;
   2549   esac
   2550   as_found=:
   2551 
   2552   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2553   ac_aux_dir_found=yes
   2554   ac_install_sh=
   2555   for ac_aux in $ac_aux_files
   2556   do
   2557     # As a special case, if "install-sh" is required, that requirement
   2558     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2559     # and $ac_install_sh is set appropriately for whichever one is found.
   2560     if test x"$ac_aux" = x"install-sh"
   2561     then
   2562       if test -f "${as_dir}install-sh"; then
   2563         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2564         ac_install_sh="${as_dir}install-sh -c"
   2565       elif test -f "${as_dir}install.sh"; then
   2566         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2567         ac_install_sh="${as_dir}install.sh -c"
   2568       elif test -f "${as_dir}shtool"; then
   2569         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2570         ac_install_sh="${as_dir}shtool install -c"
   2571       else
   2572         ac_aux_dir_found=no
   2573         if $ac_first_candidate; then
   2574           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2575         else
   2576           break
   2577         fi
   2578       fi
   2579     else
   2580       if test -f "${as_dir}${ac_aux}"; then
   2581         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2582       else
   2583         ac_aux_dir_found=no
   2584         if $ac_first_candidate; then
   2585           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2586         else
   2587           break
   2588         fi
   2589       fi
   2590     fi
   2591   done
   2592   if test "$ac_aux_dir_found" = yes; then
   2593     ac_aux_dir="$as_dir"
   2594     break
   2595   fi
   2596   ac_first_candidate=false
   2597 
   2598   as_found=false
   2599 done
   2600 IFS=$as_save_IFS
   2601 if $as_found
   2602 then :
   2603 
   2604 else case e in #(
   2605   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2606 esac
   2607 fi
   2608 
   2609 
   2610 # These three variables are undocumented and unsupported,
   2611 # and are intended to be withdrawn in a future Autoconf release.
   2612 # They can cause serious problems if a builder's source tree is in a directory
   2613 # whose full name contains unusual characters.
   2614 if test -f "${ac_aux_dir}config.guess"; then
   2615   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2616 fi
   2617 if test -f "${ac_aux_dir}config.sub"; then
   2618   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2619 fi
   2620 if test -f "$ac_aux_dir/configure"; then
   2621   ac_configure="$SHELL ${ac_aux_dir}configure"
   2622 fi
   2623 
   2624 # Check that the precious variables saved in the cache have kept the same
   2625 # value.
   2626 ac_cache_corrupted=false
   2627 for ac_var in $ac_precious_vars; do
   2628   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2629   eval ac_new_set=\$ac_env_${ac_var}_set
   2630   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2631   eval ac_new_val=\$ac_env_${ac_var}_value
   2632   case $ac_old_set,$ac_new_set in
   2633     set,)
   2634       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2635 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2636       ac_cache_corrupted=: ;;
   2637     ,set)
   2638       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2639 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2640       ac_cache_corrupted=: ;;
   2641     ,);;
   2642     *)
   2643       if test "x$ac_old_val" != "x$ac_new_val"; then
   2644 	# differences in whitespace do not lead to failure.
   2645 	ac_old_val_w=`echo x $ac_old_val`
   2646 	ac_new_val_w=`echo x $ac_new_val`
   2647 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2648 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2649 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2650 	  ac_cache_corrupted=:
   2651 	else
   2652 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2653 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2654 	  eval $ac_var=\$ac_old_val
   2655 	fi
   2656 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2657 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2658 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2659 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2660       fi;;
   2661   esac
   2662   # Pass precious variables to config.status.
   2663   if test "$ac_new_set" = set; then
   2664     case $ac_new_val in
   2665     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2666     *) ac_arg=$ac_var=$ac_new_val ;;
   2667     esac
   2668     case " $ac_configure_args " in
   2669       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2670       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2671     esac
   2672   fi
   2673 done
   2674 if $ac_cache_corrupted; then
   2675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2676 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2678 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2679   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2680 	    and start over" "$LINENO" 5
   2681 fi
   2682 ## -------------------- ##
   2683 ## Main body of script. ##
   2684 ## -------------------- ##
   2685 
   2686 ac_ext=c
   2687 ac_cpp='$CPP $CPPFLAGS'
   2688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2691 
   2692 
   2693 
   2694 ac_config_headers="$ac_config_headers config.h"
   2695 
   2696 
   2697 # Initialize Automake
   2698 am__api_version='1.16'
   2699 
   2700 
   2701 
   2702   # Find a good install program.  We prefer a C program (faster),
   2703 # so one script is as good as another.  But avoid the broken or
   2704 # incompatible versions:
   2705 # SysV /etc/install, /usr/sbin/install
   2706 # SunOS /usr/etc/install
   2707 # IRIX /sbin/install
   2708 # AIX /bin/install
   2709 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2710 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2711 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2712 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2713 # OS/2's system install, which has a completely different semantic
   2714 # ./install, which can be erroneously created by make from ./install.sh.
   2715 # Reject install programs that cannot install multiple files.
   2716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2717 printf %s "checking for a BSD-compatible install... " >&6; }
   2718 if test -z "$INSTALL"; then
   2719 if test ${ac_cv_path_install+y}
   2720 then :
   2721   printf %s "(cached) " >&6
   2722 else case e in #(
   2723   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2724 for as_dir in $PATH
   2725 do
   2726   IFS=$as_save_IFS
   2727   case $as_dir in #(((
   2728     '') as_dir=./ ;;
   2729     */) ;;
   2730     *) as_dir=$as_dir/ ;;
   2731   esac
   2732     # Account for fact that we put trailing slashes in our PATH walk.
   2733 case $as_dir in #((
   2734   ./ | /[cC]/* | \
   2735   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2736   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2737   /usr/ucb/* ) ;;
   2738   *)
   2739     # OSF1 and SCO ODT 3.0 have their own names for install.
   2740     # Don't use installbsd from OSF since it installs stuff as root
   2741     # by default.
   2742     for ac_prog in ginstall scoinst install; do
   2743       for ac_exec_ext in '' $ac_executable_extensions; do
   2744 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2745 	  if test $ac_prog = install &&
   2746 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2747 	    # AIX install.  It has an incompatible calling convention.
   2748 	    :
   2749 	  elif test $ac_prog = install &&
   2750 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2751 	    # program-specific install script used by HP pwplus--don't use.
   2752 	    :
   2753 	  else
   2754 	    rm -rf conftest.one conftest.two conftest.dir
   2755 	    echo one > conftest.one
   2756 	    echo two > conftest.two
   2757 	    mkdir conftest.dir
   2758 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2759 	      test -s conftest.one && test -s conftest.two &&
   2760 	      test -s conftest.dir/conftest.one &&
   2761 	      test -s conftest.dir/conftest.two
   2762 	    then
   2763 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2764 	      break 3
   2765 	    fi
   2766 	  fi
   2767 	fi
   2768       done
   2769     done
   2770     ;;
   2771 esac
   2772 
   2773   done
   2774 IFS=$as_save_IFS
   2775 
   2776 rm -rf conftest.one conftest.two conftest.dir
   2777  ;;
   2778 esac
   2779 fi
   2780   if test ${ac_cv_path_install+y}; then
   2781     INSTALL=$ac_cv_path_install
   2782   else
   2783     # As a last resort, use the slow shell script.  Don't cache a
   2784     # value for INSTALL within a source directory, because that will
   2785     # break other packages using the cache if that directory is
   2786     # removed, or if the value is a relative name.
   2787     INSTALL=$ac_install_sh
   2788   fi
   2789 fi
   2790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2791 printf "%s\n" "$INSTALL" >&6; }
   2792 
   2793 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2794 # It thinks the first close brace ends the variable substitution.
   2795 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2796 
   2797 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2798 
   2799 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2800 
   2801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2802 printf %s "checking whether build environment is sane... " >&6; }
   2803 # Reject unsafe characters in $srcdir or the absolute working directory
   2804 # name.  Accept space and tab only in the latter.
   2805 am_lf='
   2806 '
   2807 case `pwd` in
   2808   *[\\\"\#\$\&\'\`$am_lf]*)
   2809     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2810 esac
   2811 case $srcdir in
   2812   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2813     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2814 esac
   2815 
   2816 # Do 'set' in a subshell so we don't clobber the current shell's
   2817 # arguments.  Must try -L first in case configure is actually a
   2818 # symlink; some systems play weird games with the mod time of symlinks
   2819 # (eg FreeBSD returns the mod time of the symlink's containing
   2820 # directory).
   2821 if (
   2822    am_has_slept=no
   2823    for am_try in 1 2; do
   2824      echo "timestamp, slept: $am_has_slept" > conftest.file
   2825      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2826      if test "$*" = "X"; then
   2827 	# -L didn't work.
   2828 	set X `ls -t "$srcdir/configure" conftest.file`
   2829      fi
   2830      if test "$*" != "X $srcdir/configure conftest.file" \
   2831 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2832 
   2833 	# If neither matched, then we have a broken ls.  This can happen
   2834 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2835 	# broken ls alias from the environment.  This has actually
   2836 	# happened.  Such a system could not be considered "sane".
   2837 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2838   alias in your environment" "$LINENO" 5
   2839      fi
   2840      if test "$2" = conftest.file || test $am_try -eq 2; then
   2841        break
   2842      fi
   2843      # Just in case.
   2844      sleep 1
   2845      am_has_slept=yes
   2846    done
   2847    test "$2" = conftest.file
   2848    )
   2849 then
   2850    # Ok.
   2851    :
   2852 else
   2853    as_fn_error $? "newly created file is older than distributed files!
   2854 Check your system clock" "$LINENO" 5
   2855 fi
   2856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2857 printf "%s\n" "yes" >&6; }
   2858 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2859 # generated files are strictly newer.
   2860 am_sleep_pid=
   2861 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2862   ( sleep 1 ) &
   2863   am_sleep_pid=$!
   2864 fi
   2865 
   2866 rm -f conftest.file
   2867 
   2868 test "$program_prefix" != NONE &&
   2869   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2870 # Use a double $ so make ignores it.
   2871 test "$program_suffix" != NONE &&
   2872   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2873 # Double any \ or $.
   2874 # By default was 's,x,x', remove it if useless.
   2875 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2876 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2877 
   2878 
   2879 # Expand $ac_aux_dir to an absolute path.
   2880 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2881 
   2882 
   2883   if test x"${MISSING+set}" != xset; then
   2884   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2885 fi
   2886 # Use eval to expand $SHELL
   2887 if eval "$MISSING --is-lightweight"; then
   2888   am_missing_run="$MISSING "
   2889 else
   2890   am_missing_run=
   2891   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2892 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2893 fi
   2894 
   2895 if test x"${install_sh+set}" != xset; then
   2896   case $am_aux_dir in
   2897   *\ * | *\	*)
   2898     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2899   *)
   2900     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2901   esac
   2902 fi
   2903 
   2904 # Installed binaries are usually stripped using 'strip' when the user
   2905 # run "make install-strip".  However 'strip' might not be the right
   2906 # tool to use in cross-compilation environments, therefore Automake
   2907 # will honor the 'STRIP' environment variable to overrule this program.
   2908 if test "$cross_compiling" != no; then
   2909   if test -n "$ac_tool_prefix"; then
   2910   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2911 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2913 printf %s "checking for $ac_word... " >&6; }
   2914 if test ${ac_cv_prog_STRIP+y}
   2915 then :
   2916   printf %s "(cached) " >&6
   2917 else case e in #(
   2918   e) if test -n "$STRIP"; then
   2919   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2920 else
   2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2922 for as_dir in $PATH
   2923 do
   2924   IFS=$as_save_IFS
   2925   case $as_dir in #(((
   2926     '') as_dir=./ ;;
   2927     */) ;;
   2928     *) as_dir=$as_dir/ ;;
   2929   esac
   2930     for ac_exec_ext in '' $ac_executable_extensions; do
   2931   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2932     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2933     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2934     break 2
   2935   fi
   2936 done
   2937   done
   2938 IFS=$as_save_IFS
   2939 
   2940 fi ;;
   2941 esac
   2942 fi
   2943 STRIP=$ac_cv_prog_STRIP
   2944 if test -n "$STRIP"; then
   2945   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2946 printf "%s\n" "$STRIP" >&6; }
   2947 else
   2948   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2949 printf "%s\n" "no" >&6; }
   2950 fi
   2951 
   2952 
   2953 fi
   2954 if test -z "$ac_cv_prog_STRIP"; then
   2955   ac_ct_STRIP=$STRIP
   2956   # Extract the first word of "strip", so it can be a program name with args.
   2957 set dummy strip; ac_word=$2
   2958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2959 printf %s "checking for $ac_word... " >&6; }
   2960 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2961 then :
   2962   printf %s "(cached) " >&6
   2963 else case e in #(
   2964   e) if test -n "$ac_ct_STRIP"; then
   2965   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2966 else
   2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2968 for as_dir in $PATH
   2969 do
   2970   IFS=$as_save_IFS
   2971   case $as_dir in #(((
   2972     '') as_dir=./ ;;
   2973     */) ;;
   2974     *) as_dir=$as_dir/ ;;
   2975   esac
   2976     for ac_exec_ext in '' $ac_executable_extensions; do
   2977   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2978     ac_cv_prog_ac_ct_STRIP="strip"
   2979     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2980     break 2
   2981   fi
   2982 done
   2983   done
   2984 IFS=$as_save_IFS
   2985 
   2986 fi ;;
   2987 esac
   2988 fi
   2989 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2990 if test -n "$ac_ct_STRIP"; then
   2991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2992 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2993 else
   2994   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2995 printf "%s\n" "no" >&6; }
   2996 fi
   2997 
   2998   if test "x$ac_ct_STRIP" = x; then
   2999     STRIP=":"
   3000   else
   3001     case $cross_compiling:$ac_tool_warned in
   3002 yes:)
   3003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3004 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3005 ac_tool_warned=yes ;;
   3006 esac
   3007     STRIP=$ac_ct_STRIP
   3008   fi
   3009 else
   3010   STRIP="$ac_cv_prog_STRIP"
   3011 fi
   3012 
   3013 fi
   3014 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3015 
   3016 
   3017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3018 printf %s "checking for a race-free mkdir -p... " >&6; }
   3019 if test -z "$MKDIR_P"; then
   3020   if test ${ac_cv_path_mkdir+y}
   3021 then :
   3022   printf %s "(cached) " >&6
   3023 else case e in #(
   3024   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3025 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3026 do
   3027   IFS=$as_save_IFS
   3028   case $as_dir in #(((
   3029     '') as_dir=./ ;;
   3030     */) ;;
   3031     *) as_dir=$as_dir/ ;;
   3032   esac
   3033     for ac_prog in mkdir gmkdir; do
   3034 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3035 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3036 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3037 	     'mkdir ('*'coreutils) '* | \
   3038 	     *'BusyBox '* | \
   3039 	     'mkdir (fileutils) '4.1*)
   3040 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3041 	       break 3;;
   3042 	   esac
   3043 	 done
   3044        done
   3045   done
   3046 IFS=$as_save_IFS
   3047  ;;
   3048 esac
   3049 fi
   3050 
   3051   test -d ./--version && rmdir ./--version
   3052   if test ${ac_cv_path_mkdir+y}; then
   3053     MKDIR_P="$ac_cv_path_mkdir -p"
   3054   else
   3055     # As a last resort, use plain mkdir -p,
   3056     # in the hope it doesn't have the bugs of ancient mkdir.
   3057     MKDIR_P='mkdir -p'
   3058   fi
   3059 fi
   3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3061 printf "%s\n" "$MKDIR_P" >&6; }
   3062 
   3063 for ac_prog in gawk mawk nawk awk
   3064 do
   3065   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3066 set dummy $ac_prog; ac_word=$2
   3067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3068 printf %s "checking for $ac_word... " >&6; }
   3069 if test ${ac_cv_prog_AWK+y}
   3070 then :
   3071   printf %s "(cached) " >&6
   3072 else case e in #(
   3073   e) if test -n "$AWK"; then
   3074   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3075 else
   3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3077 for as_dir in $PATH
   3078 do
   3079   IFS=$as_save_IFS
   3080   case $as_dir in #(((
   3081     '') as_dir=./ ;;
   3082     */) ;;
   3083     *) as_dir=$as_dir/ ;;
   3084   esac
   3085     for ac_exec_ext in '' $ac_executable_extensions; do
   3086   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3087     ac_cv_prog_AWK="$ac_prog"
   3088     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3089     break 2
   3090   fi
   3091 done
   3092   done
   3093 IFS=$as_save_IFS
   3094 
   3095 fi ;;
   3096 esac
   3097 fi
   3098 AWK=$ac_cv_prog_AWK
   3099 if test -n "$AWK"; then
   3100   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3101 printf "%s\n" "$AWK" >&6; }
   3102 else
   3103   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3104 printf "%s\n" "no" >&6; }
   3105 fi
   3106 
   3107 
   3108   test -n "$AWK" && break
   3109 done
   3110 
   3111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3112 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3113 set x ${MAKE-make}
   3114 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3115 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3116 then :
   3117   printf %s "(cached) " >&6
   3118 else case e in #(
   3119   e) cat >conftest.make <<\_ACEOF
   3120 SHELL = /bin/sh
   3121 all:
   3122 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3123 _ACEOF
   3124 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3125 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3126   *@@@%%%=?*=@@@%%%*)
   3127     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3128   *)
   3129     eval ac_cv_prog_make_${ac_make}_set=no;;
   3130 esac
   3131 rm -f conftest.make ;;
   3132 esac
   3133 fi
   3134 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3136 printf "%s\n" "yes" >&6; }
   3137   SET_MAKE=
   3138 else
   3139   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3140 printf "%s\n" "no" >&6; }
   3141   SET_MAKE="MAKE=${MAKE-make}"
   3142 fi
   3143 
   3144 rm -rf .tst 2>/dev/null
   3145 mkdir .tst 2>/dev/null
   3146 if test -d .tst; then
   3147   am__leading_dot=.
   3148 else
   3149   am__leading_dot=_
   3150 fi
   3151 rmdir .tst 2>/dev/null
   3152 
   3153 # Check whether --enable-silent-rules was given.
   3154 if test ${enable_silent_rules+y}
   3155 then :
   3156   enableval=$enable_silent_rules;
   3157 fi
   3158 
   3159 case $enable_silent_rules in # (((
   3160   yes) AM_DEFAULT_VERBOSITY=0;;
   3161    no) AM_DEFAULT_VERBOSITY=1;;
   3162     *) AM_DEFAULT_VERBOSITY=1;;
   3163 esac
   3164 am_make=${MAKE-make}
   3165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3166 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3167 if test ${am_cv_make_support_nested_variables+y}
   3168 then :
   3169   printf %s "(cached) " >&6
   3170 else case e in #(
   3171   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3172 BAR0=false
   3173 BAR1=true
   3174 V=1
   3175 am__doit:
   3176 	@$(TRUE)
   3177 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3178   am_cv_make_support_nested_variables=yes
   3179 else
   3180   am_cv_make_support_nested_variables=no
   3181 fi ;;
   3182 esac
   3183 fi
   3184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3185 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3186 if test $am_cv_make_support_nested_variables = yes; then
   3187     AM_V='$(V)'
   3188   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3189 else
   3190   AM_V=$AM_DEFAULT_VERBOSITY
   3191   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3192 fi
   3193 AM_BACKSLASH='\'
   3194 
   3195 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3196   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3197   # is not polluted with repeated "-I."
   3198   am__isrc=' -I$(srcdir)'
   3199   # test to see if srcdir already configured
   3200   if test -f $srcdir/config.status; then
   3201     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3202   fi
   3203 fi
   3204 
   3205 # test whether we have cygpath
   3206 if test -z "$CYGPATH_W"; then
   3207   if (cygpath --version) >/dev/null 2>/dev/null; then
   3208     CYGPATH_W='cygpath -w'
   3209   else
   3210     CYGPATH_W=echo
   3211   fi
   3212 fi
   3213 
   3214 
   3215 # Define the identity of the package.
   3216  PACKAGE='xmh'
   3217  VERSION='1.0.5'
   3218 
   3219 
   3220 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3221 
   3222 
   3223 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3224 
   3225 # Some tools Automake needs.
   3226 
   3227 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3228 
   3229 
   3230 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3231 
   3232 
   3233 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3234 
   3235 
   3236 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3237 
   3238 
   3239 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3240 
   3241 # For better backward compatibility.  To be removed once Automake 1.9.x
   3242 # dies out for good.  For more background, see:
   3243 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3244 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3245 mkdir_p='$(MKDIR_P)'
   3246 
   3247 # We need awk for the "check" target (and possibly the TAP driver).  The
   3248 # system "awk" is bad on some platforms.
   3249 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3250 # in the wild :-(  We should find a proper way to deprecate it ...
   3251 AMTAR='$${TAR-tar}'
   3252 
   3253 
   3254 # We'll loop over all known methods to create a tar archive until one works.
   3255 _am_tools='gnutar  pax cpio none'
   3256 
   3257 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3258 
   3259 
   3260 
   3261 
   3262 
   3263 # Variables for tags utilities; see am/tags.am
   3264 if test -z "$CTAGS"; then
   3265   CTAGS=ctags
   3266 fi
   3267 
   3268 if test -z "$ETAGS"; then
   3269   ETAGS=etags
   3270 fi
   3271 
   3272 if test -z "$CSCOPE"; then
   3273   CSCOPE=cscope
   3274 fi
   3275 
   3276 
   3277 
   3278 # POSIX will say in a future version that running "rm -f" with no argument
   3279 # is OK; and we want to be able to make that assumption in our Makefile
   3280 # recipes.  So use an aggressive probe to check that the usage we want is
   3281 # actually supported "in the wild" to an acceptable degree.
   3282 # See automake bug#10828.
   3283 # To make any issue more visible, cause the running configure to be aborted
   3284 # by default if the 'rm' program in use doesn't match our expectations; the
   3285 # user can still override this though.
   3286 if rm -f && rm -fr && rm -rf; then : OK; else
   3287   cat >&2 <<'END'
   3288 Oops!
   3289 
   3290 Your 'rm' program seems unable to run without file operands specified
   3291 on the command line, even when the '-f' option is present.  This is contrary
   3292 to the behaviour of most rm programs out there, and not conforming with
   3293 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3294 
   3295 Please tell bug-automake@gnu.org about your system, including the value
   3296 of your $PATH and any error possibly output before this message.  This
   3297 can help us improve future automake versions.
   3298 
   3299 END
   3300   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3301     echo 'Configuration will proceed anyway, since you have set the' >&2
   3302     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3303     echo >&2
   3304   else
   3305     cat >&2 <<'END'
   3306 Aborting the configuration process, to ensure you take notice of the issue.
   3307 
   3308 You can download and install GNU coreutils to get an 'rm' implementation
   3309 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3310 
   3311 If you want to complete the configuration process using your problematic
   3312 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3313 to "yes", and re-run configure.
   3314 
   3315 END
   3316     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3317   fi
   3318 fi
   3319 
   3320 
   3321 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3322 
   3323 
   3324 
   3325 
   3326 
   3327 
   3328 
   3329 
   3330 
   3331 
   3332 
   3333 
   3334 
   3335 
   3336 
   3337 
   3338 
   3339 
   3340 
   3341 
   3342 DEPDIR="${am__leading_dot}deps"
   3343 
   3344 ac_config_commands="$ac_config_commands depfiles"
   3345 
   3346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3347 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3348 cat > confinc.mk << 'END'
   3349 am__doit:
   3350 	@echo this is the am__doit target >confinc.out
   3351 .PHONY: am__doit
   3352 END
   3353 am__include="#"
   3354 am__quote=
   3355 # BSD make does it like this.
   3356 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3357 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3358 echo 'include confinc.mk # ignored' > confmf.GNU
   3359 _am_result=no
   3360 for s in GNU BSD; do
   3361   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3362    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3363    ac_status=$?
   3364    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3365    (exit $ac_status); }
   3366   case $?:`cat confinc.out 2>/dev/null` in #(
   3367   '0:this is the am__doit target') :
   3368     case $s in #(
   3369   BSD) :
   3370     am__include='.include' am__quote='"' ;; #(
   3371   *) :
   3372     am__include='include' am__quote='' ;;
   3373 esac ;; #(
   3374   *) :
   3375      ;;
   3376 esac
   3377   if test "$am__include" != "#"; then
   3378     _am_result="yes ($s style)"
   3379     break
   3380   fi
   3381 done
   3382 rm -f confinc.* confmf.*
   3383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3384 printf "%s\n" "${_am_result}" >&6; }
   3385 
   3386 # Check whether --enable-dependency-tracking was given.
   3387 if test ${enable_dependency_tracking+y}
   3388 then :
   3389   enableval=$enable_dependency_tracking;
   3390 fi
   3391 
   3392 if test "x$enable_dependency_tracking" != xno; then
   3393   am_depcomp="$ac_aux_dir/depcomp"
   3394   AMDEPBACKSLASH='\'
   3395   am__nodep='_no'
   3396 fi
   3397  if test "x$enable_dependency_tracking" != xno; then
   3398   AMDEP_TRUE=
   3399   AMDEP_FALSE='#'
   3400 else
   3401   AMDEP_TRUE='#'
   3402   AMDEP_FALSE=
   3403 fi
   3404 
   3405 
   3406 ac_ext=c
   3407 ac_cpp='$CPP $CPPFLAGS'
   3408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3411 if test -n "$ac_tool_prefix"; then
   3412   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3413 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3415 printf %s "checking for $ac_word... " >&6; }
   3416 if test ${ac_cv_prog_CC+y}
   3417 then :
   3418   printf %s "(cached) " >&6
   3419 else case e in #(
   3420   e) if test -n "$CC"; then
   3421   ac_cv_prog_CC="$CC" # Let the user override the test.
   3422 else
   3423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3424 for as_dir in $PATH
   3425 do
   3426   IFS=$as_save_IFS
   3427   case $as_dir in #(((
   3428     '') as_dir=./ ;;
   3429     */) ;;
   3430     *) as_dir=$as_dir/ ;;
   3431   esac
   3432     for ac_exec_ext in '' $ac_executable_extensions; do
   3433   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3434     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3436     break 2
   3437   fi
   3438 done
   3439   done
   3440 IFS=$as_save_IFS
   3441 
   3442 fi ;;
   3443 esac
   3444 fi
   3445 CC=$ac_cv_prog_CC
   3446 if test -n "$CC"; then
   3447   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3448 printf "%s\n" "$CC" >&6; }
   3449 else
   3450   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3451 printf "%s\n" "no" >&6; }
   3452 fi
   3453 
   3454 
   3455 fi
   3456 if test -z "$ac_cv_prog_CC"; then
   3457   ac_ct_CC=$CC
   3458   # Extract the first word of "gcc", so it can be a program name with args.
   3459 set dummy gcc; ac_word=$2
   3460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3461 printf %s "checking for $ac_word... " >&6; }
   3462 if test ${ac_cv_prog_ac_ct_CC+y}
   3463 then :
   3464   printf %s "(cached) " >&6
   3465 else case e in #(
   3466   e) if test -n "$ac_ct_CC"; then
   3467   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3468 else
   3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3470 for as_dir in $PATH
   3471 do
   3472   IFS=$as_save_IFS
   3473   case $as_dir in #(((
   3474     '') as_dir=./ ;;
   3475     */) ;;
   3476     *) as_dir=$as_dir/ ;;
   3477   esac
   3478     for ac_exec_ext in '' $ac_executable_extensions; do
   3479   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3480     ac_cv_prog_ac_ct_CC="gcc"
   3481     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3482     break 2
   3483   fi
   3484 done
   3485   done
   3486 IFS=$as_save_IFS
   3487 
   3488 fi ;;
   3489 esac
   3490 fi
   3491 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3492 if test -n "$ac_ct_CC"; then
   3493   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3494 printf "%s\n" "$ac_ct_CC" >&6; }
   3495 else
   3496   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3497 printf "%s\n" "no" >&6; }
   3498 fi
   3499 
   3500   if test "x$ac_ct_CC" = x; then
   3501     CC=""
   3502   else
   3503     case $cross_compiling:$ac_tool_warned in
   3504 yes:)
   3505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3506 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3507 ac_tool_warned=yes ;;
   3508 esac
   3509     CC=$ac_ct_CC
   3510   fi
   3511 else
   3512   CC="$ac_cv_prog_CC"
   3513 fi
   3514 
   3515 if test -z "$CC"; then
   3516           if test -n "$ac_tool_prefix"; then
   3517     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3518 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3520 printf %s "checking for $ac_word... " >&6; }
   3521 if test ${ac_cv_prog_CC+y}
   3522 then :
   3523   printf %s "(cached) " >&6
   3524 else case e in #(
   3525   e) if test -n "$CC"; then
   3526   ac_cv_prog_CC="$CC" # Let the user override the test.
   3527 else
   3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3529 for as_dir in $PATH
   3530 do
   3531   IFS=$as_save_IFS
   3532   case $as_dir in #(((
   3533     '') as_dir=./ ;;
   3534     */) ;;
   3535     *) as_dir=$as_dir/ ;;
   3536   esac
   3537     for ac_exec_ext in '' $ac_executable_extensions; do
   3538   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3539     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3540     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3541     break 2
   3542   fi
   3543 done
   3544   done
   3545 IFS=$as_save_IFS
   3546 
   3547 fi ;;
   3548 esac
   3549 fi
   3550 CC=$ac_cv_prog_CC
   3551 if test -n "$CC"; then
   3552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3553 printf "%s\n" "$CC" >&6; }
   3554 else
   3555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3556 printf "%s\n" "no" >&6; }
   3557 fi
   3558 
   3559 
   3560   fi
   3561 fi
   3562 if test -z "$CC"; then
   3563   # Extract the first word of "cc", so it can be a program name with args.
   3564 set dummy cc; 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 case e in #(
   3571   e) if test -n "$CC"; then
   3572   ac_cv_prog_CC="$CC" # Let the user override the test.
   3573 else
   3574   ac_prog_rejected=no
   3575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3576 for as_dir in $PATH
   3577 do
   3578   IFS=$as_save_IFS
   3579   case $as_dir in #(((
   3580     '') as_dir=./ ;;
   3581     */) ;;
   3582     *) as_dir=$as_dir/ ;;
   3583   esac
   3584     for ac_exec_ext in '' $ac_executable_extensions; do
   3585   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3586     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3587        ac_prog_rejected=yes
   3588        continue
   3589      fi
   3590     ac_cv_prog_CC="cc"
   3591     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3592     break 2
   3593   fi
   3594 done
   3595   done
   3596 IFS=$as_save_IFS
   3597 
   3598 if test $ac_prog_rejected = yes; then
   3599   # We found a bogon in the path, so make sure we never use it.
   3600   set dummy $ac_cv_prog_CC
   3601   shift
   3602   if test $# != 0; then
   3603     # We chose a different compiler from the bogus one.
   3604     # However, it has the same basename, so the bogon will be chosen
   3605     # first if we set CC to just the basename; use the full file name.
   3606     shift
   3607     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3608   fi
   3609 fi
   3610 fi ;;
   3611 esac
   3612 fi
   3613 CC=$ac_cv_prog_CC
   3614 if test -n "$CC"; then
   3615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3616 printf "%s\n" "$CC" >&6; }
   3617 else
   3618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3619 printf "%s\n" "no" >&6; }
   3620 fi
   3621 
   3622 
   3623 fi
   3624 if test -z "$CC"; then
   3625   if test -n "$ac_tool_prefix"; then
   3626   for ac_prog in cl.exe
   3627   do
   3628     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3629 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3631 printf %s "checking for $ac_word... " >&6; }
   3632 if test ${ac_cv_prog_CC+y}
   3633 then :
   3634   printf %s "(cached) " >&6
   3635 else case e in #(
   3636   e) if test -n "$CC"; then
   3637   ac_cv_prog_CC="$CC" # Let the user override the test.
   3638 else
   3639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3640 for as_dir in $PATH
   3641 do
   3642   IFS=$as_save_IFS
   3643   case $as_dir in #(((
   3644     '') as_dir=./ ;;
   3645     */) ;;
   3646     *) as_dir=$as_dir/ ;;
   3647   esac
   3648     for ac_exec_ext in '' $ac_executable_extensions; do
   3649   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3650     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3651     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3652     break 2
   3653   fi
   3654 done
   3655   done
   3656 IFS=$as_save_IFS
   3657 
   3658 fi ;;
   3659 esac
   3660 fi
   3661 CC=$ac_cv_prog_CC
   3662 if test -n "$CC"; then
   3663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3664 printf "%s\n" "$CC" >&6; }
   3665 else
   3666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3667 printf "%s\n" "no" >&6; }
   3668 fi
   3669 
   3670 
   3671     test -n "$CC" && break
   3672   done
   3673 fi
   3674 if test -z "$CC"; then
   3675   ac_ct_CC=$CC
   3676   for ac_prog in cl.exe
   3677 do
   3678   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3679 set dummy $ac_prog; ac_word=$2
   3680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3681 printf %s "checking for $ac_word... " >&6; }
   3682 if test ${ac_cv_prog_ac_ct_CC+y}
   3683 then :
   3684   printf %s "(cached) " >&6
   3685 else case e in #(
   3686   e) if test -n "$ac_ct_CC"; then
   3687   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3688 else
   3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3690 for as_dir in $PATH
   3691 do
   3692   IFS=$as_save_IFS
   3693   case $as_dir in #(((
   3694     '') as_dir=./ ;;
   3695     */) ;;
   3696     *) as_dir=$as_dir/ ;;
   3697   esac
   3698     for ac_exec_ext in '' $ac_executable_extensions; do
   3699   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3700     ac_cv_prog_ac_ct_CC="$ac_prog"
   3701     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3702     break 2
   3703   fi
   3704 done
   3705   done
   3706 IFS=$as_save_IFS
   3707 
   3708 fi ;;
   3709 esac
   3710 fi
   3711 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3712 if test -n "$ac_ct_CC"; then
   3713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3714 printf "%s\n" "$ac_ct_CC" >&6; }
   3715 else
   3716   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3717 printf "%s\n" "no" >&6; }
   3718 fi
   3719 
   3720 
   3721   test -n "$ac_ct_CC" && break
   3722 done
   3723 
   3724   if test "x$ac_ct_CC" = x; then
   3725     CC=""
   3726   else
   3727     case $cross_compiling:$ac_tool_warned in
   3728 yes:)
   3729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3730 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3731 ac_tool_warned=yes ;;
   3732 esac
   3733     CC=$ac_ct_CC
   3734   fi
   3735 fi
   3736 
   3737 fi
   3738 if test -z "$CC"; then
   3739   if test -n "$ac_tool_prefix"; then
   3740   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3741 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3743 printf %s "checking for $ac_word... " >&6; }
   3744 if test ${ac_cv_prog_CC+y}
   3745 then :
   3746   printf %s "(cached) " >&6
   3747 else case e in #(
   3748   e) if test -n "$CC"; then
   3749   ac_cv_prog_CC="$CC" # Let the user override the test.
   3750 else
   3751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3752 for as_dir in $PATH
   3753 do
   3754   IFS=$as_save_IFS
   3755   case $as_dir in #(((
   3756     '') as_dir=./ ;;
   3757     */) ;;
   3758     *) as_dir=$as_dir/ ;;
   3759   esac
   3760     for ac_exec_ext in '' $ac_executable_extensions; do
   3761   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3762     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3763     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3764     break 2
   3765   fi
   3766 done
   3767   done
   3768 IFS=$as_save_IFS
   3769 
   3770 fi ;;
   3771 esac
   3772 fi
   3773 CC=$ac_cv_prog_CC
   3774 if test -n "$CC"; then
   3775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3776 printf "%s\n" "$CC" >&6; }
   3777 else
   3778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3779 printf "%s\n" "no" >&6; }
   3780 fi
   3781 
   3782 
   3783 fi
   3784 if test -z "$ac_cv_prog_CC"; then
   3785   ac_ct_CC=$CC
   3786   # Extract the first word of "clang", so it can be a program name with args.
   3787 set dummy clang; ac_word=$2
   3788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3789 printf %s "checking for $ac_word... " >&6; }
   3790 if test ${ac_cv_prog_ac_ct_CC+y}
   3791 then :
   3792   printf %s "(cached) " >&6
   3793 else case e in #(
   3794   e) if test -n "$ac_ct_CC"; then
   3795   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3796 else
   3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3798 for as_dir in $PATH
   3799 do
   3800   IFS=$as_save_IFS
   3801   case $as_dir in #(((
   3802     '') as_dir=./ ;;
   3803     */) ;;
   3804     *) as_dir=$as_dir/ ;;
   3805   esac
   3806     for ac_exec_ext in '' $ac_executable_extensions; do
   3807   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3808     ac_cv_prog_ac_ct_CC="clang"
   3809     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3810     break 2
   3811   fi
   3812 done
   3813   done
   3814 IFS=$as_save_IFS
   3815 
   3816 fi ;;
   3817 esac
   3818 fi
   3819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3820 if test -n "$ac_ct_CC"; then
   3821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3822 printf "%s\n" "$ac_ct_CC" >&6; }
   3823 else
   3824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3825 printf "%s\n" "no" >&6; }
   3826 fi
   3827 
   3828   if test "x$ac_ct_CC" = x; then
   3829     CC=""
   3830   else
   3831     case $cross_compiling:$ac_tool_warned in
   3832 yes:)
   3833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3834 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3835 ac_tool_warned=yes ;;
   3836 esac
   3837     CC=$ac_ct_CC
   3838   fi
   3839 else
   3840   CC="$ac_cv_prog_CC"
   3841 fi
   3842 
   3843 fi
   3844 
   3845 
   3846 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3847 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3848 as_fn_error $? "no acceptable C compiler found in \$PATH
   3849 See 'config.log' for more details" "$LINENO" 5; }
   3850 
   3851 # Provide some information about the compiler.
   3852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3853 set X $ac_compile
   3854 ac_compiler=$2
   3855 for ac_option in --version -v -V -qversion -version; do
   3856   { { ac_try="$ac_compiler $ac_option >&5"
   3857 case "(($ac_try" in
   3858   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3859   *) ac_try_echo=$ac_try;;
   3860 esac
   3861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3862 printf "%s\n" "$ac_try_echo"; } >&5
   3863   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3864   ac_status=$?
   3865   if test -s conftest.err; then
   3866     sed '10a\
   3867 ... rest of stderr output deleted ...
   3868          10q' conftest.err >conftest.er1
   3869     cat conftest.er1 >&5
   3870   fi
   3871   rm -f conftest.er1 conftest.err
   3872   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3873   test $ac_status = 0; }
   3874 done
   3875 
   3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3877 /* end confdefs.h.  */
   3878 
   3879 int
   3880 main (void)
   3881 {
   3882 
   3883   ;
   3884   return 0;
   3885 }
   3886 _ACEOF
   3887 ac_clean_files_save=$ac_clean_files
   3888 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3889 # Try to create an executable without -o first, disregard a.out.
   3890 # It will help us diagnose broken compilers, and finding out an intuition
   3891 # of exeext.
   3892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3893 printf %s "checking whether the C compiler works... " >&6; }
   3894 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3895 
   3896 # The possible output files:
   3897 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3898 
   3899 ac_rmfiles=
   3900 for ac_file in $ac_files
   3901 do
   3902   case $ac_file in
   3903     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3904     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3905   esac
   3906 done
   3907 rm -f $ac_rmfiles
   3908 
   3909 if { { ac_try="$ac_link_default"
   3910 case "(($ac_try" in
   3911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3912   *) ac_try_echo=$ac_try;;
   3913 esac
   3914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3915 printf "%s\n" "$ac_try_echo"; } >&5
   3916   (eval "$ac_link_default") 2>&5
   3917   ac_status=$?
   3918   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3919   test $ac_status = 0; }
   3920 then :
   3921   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3922 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3923 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3924 # so that the user can short-circuit this test for compilers unknown to
   3925 # Autoconf.
   3926 for ac_file in $ac_files ''
   3927 do
   3928   test -f "$ac_file" || continue
   3929   case $ac_file in
   3930     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3931 	;;
   3932     [ab].out )
   3933 	# We found the default executable, but exeext='' is most
   3934 	# certainly right.
   3935 	break;;
   3936     *.* )
   3937 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3938 	then :; else
   3939 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3940 	fi
   3941 	# We set ac_cv_exeext here because the later test for it is not
   3942 	# safe: cross compilers may not add the suffix if given an '-o'
   3943 	# argument, so we may need to know it at that point already.
   3944 	# Even if this section looks crufty: it has the advantage of
   3945 	# actually working.
   3946 	break;;
   3947     * )
   3948 	break;;
   3949   esac
   3950 done
   3951 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3952 
   3953 else case e in #(
   3954   e) ac_file='' ;;
   3955 esac
   3956 fi
   3957 if test -z "$ac_file"
   3958 then :
   3959   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3960 printf "%s\n" "no" >&6; }
   3961 printf "%s\n" "$as_me: failed program was:" >&5
   3962 sed 's/^/| /' conftest.$ac_ext >&5
   3963 
   3964 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3965 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3966 as_fn_error 77 "C compiler cannot create executables
   3967 See 'config.log' for more details" "$LINENO" 5; }
   3968 else case e in #(
   3969   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3970 printf "%s\n" "yes" >&6; } ;;
   3971 esac
   3972 fi
   3973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3974 printf %s "checking for C compiler default output file name... " >&6; }
   3975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3976 printf "%s\n" "$ac_file" >&6; }
   3977 ac_exeext=$ac_cv_exeext
   3978 
   3979 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3980 ac_clean_files=$ac_clean_files_save
   3981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3982 printf %s "checking for suffix of executables... " >&6; }
   3983 if { { ac_try="$ac_link"
   3984 case "(($ac_try" in
   3985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3986   *) ac_try_echo=$ac_try;;
   3987 esac
   3988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3989 printf "%s\n" "$ac_try_echo"; } >&5
   3990   (eval "$ac_link") 2>&5
   3991   ac_status=$?
   3992   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3993   test $ac_status = 0; }
   3994 then :
   3995   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3996 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3997 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3998 # 'rm'.
   3999 for ac_file in conftest.exe conftest conftest.*; do
   4000   test -f "$ac_file" || continue
   4001   case $ac_file in
   4002     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4003     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4004 	  break;;
   4005     * ) break;;
   4006   esac
   4007 done
   4008 else case e in #(
   4009   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4010 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4011 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4012 See 'config.log' for more details" "$LINENO" 5; } ;;
   4013 esac
   4014 fi
   4015 rm -f conftest conftest$ac_cv_exeext
   4016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4017 printf "%s\n" "$ac_cv_exeext" >&6; }
   4018 
   4019 rm -f conftest.$ac_ext
   4020 EXEEXT=$ac_cv_exeext
   4021 ac_exeext=$EXEEXT
   4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4023 /* end confdefs.h.  */
   4024 #include <stdio.h>
   4025 int
   4026 main (void)
   4027 {
   4028 FILE *f = fopen ("conftest.out", "w");
   4029  if (!f)
   4030   return 1;
   4031  return ferror (f) || fclose (f) != 0;
   4032 
   4033   ;
   4034   return 0;
   4035 }
   4036 _ACEOF
   4037 ac_clean_files="$ac_clean_files conftest.out"
   4038 # Check that the compiler produces executables we can run.  If not, either
   4039 # the compiler is broken, or we cross compile.
   4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4041 printf %s "checking whether we are cross compiling... " >&6; }
   4042 if test "$cross_compiling" != yes; then
   4043   { { ac_try="$ac_link"
   4044 case "(($ac_try" in
   4045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4046   *) ac_try_echo=$ac_try;;
   4047 esac
   4048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4049 printf "%s\n" "$ac_try_echo"; } >&5
   4050   (eval "$ac_link") 2>&5
   4051   ac_status=$?
   4052   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4053   test $ac_status = 0; }
   4054   if { ac_try='./conftest$ac_cv_exeext'
   4055   { { case "(($ac_try" in
   4056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4057   *) ac_try_echo=$ac_try;;
   4058 esac
   4059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4060 printf "%s\n" "$ac_try_echo"; } >&5
   4061   (eval "$ac_try") 2>&5
   4062   ac_status=$?
   4063   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4064   test $ac_status = 0; }; }; then
   4065     cross_compiling=no
   4066   else
   4067     if test "$cross_compiling" = maybe; then
   4068 	cross_compiling=yes
   4069     else
   4070 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4071 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4072 as_fn_error 77 "cannot run C compiled programs.
   4073 If you meant to cross compile, use '--host'.
   4074 See 'config.log' for more details" "$LINENO" 5; }
   4075     fi
   4076   fi
   4077 fi
   4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4079 printf "%s\n" "$cross_compiling" >&6; }
   4080 
   4081 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4082   conftest.o conftest.obj conftest.out
   4083 ac_clean_files=$ac_clean_files_save
   4084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4085 printf %s "checking for suffix of object files... " >&6; }
   4086 if test ${ac_cv_objext+y}
   4087 then :
   4088   printf %s "(cached) " >&6
   4089 else case e in #(
   4090   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4091 /* end confdefs.h.  */
   4092 
   4093 int
   4094 main (void)
   4095 {
   4096 
   4097   ;
   4098   return 0;
   4099 }
   4100 _ACEOF
   4101 rm -f conftest.o conftest.obj
   4102 if { { ac_try="$ac_compile"
   4103 case "(($ac_try" in
   4104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4105   *) ac_try_echo=$ac_try;;
   4106 esac
   4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4108 printf "%s\n" "$ac_try_echo"; } >&5
   4109   (eval "$ac_compile") 2>&5
   4110   ac_status=$?
   4111   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4112   test $ac_status = 0; }
   4113 then :
   4114   for ac_file in conftest.o conftest.obj conftest.*; do
   4115   test -f "$ac_file" || continue;
   4116   case $ac_file in
   4117     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4118     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4119        break;;
   4120   esac
   4121 done
   4122 else case e in #(
   4123   e) printf "%s\n" "$as_me: failed program was:" >&5
   4124 sed 's/^/| /' conftest.$ac_ext >&5
   4125 
   4126 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4127 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4128 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4129 See 'config.log' for more details" "$LINENO" 5; } ;;
   4130 esac
   4131 fi
   4132 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4133 esac
   4134 fi
   4135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4136 printf "%s\n" "$ac_cv_objext" >&6; }
   4137 OBJEXT=$ac_cv_objext
   4138 ac_objext=$OBJEXT
   4139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4140 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4141 if test ${ac_cv_c_compiler_gnu+y}
   4142 then :
   4143   printf %s "(cached) " >&6
   4144 else case e in #(
   4145   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4146 /* end confdefs.h.  */
   4147 
   4148 int
   4149 main (void)
   4150 {
   4151 #ifndef __GNUC__
   4152        choke me
   4153 #endif
   4154 
   4155   ;
   4156   return 0;
   4157 }
   4158 _ACEOF
   4159 if ac_fn_c_try_compile "$LINENO"
   4160 then :
   4161   ac_compiler_gnu=yes
   4162 else case e in #(
   4163   e) ac_compiler_gnu=no ;;
   4164 esac
   4165 fi
   4166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4167 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4168  ;;
   4169 esac
   4170 fi
   4171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4172 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4174 
   4175 if test $ac_compiler_gnu = yes; then
   4176   GCC=yes
   4177 else
   4178   GCC=
   4179 fi
   4180 ac_test_CFLAGS=${CFLAGS+y}
   4181 ac_save_CFLAGS=$CFLAGS
   4182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4183 printf %s "checking whether $CC accepts -g... " >&6; }
   4184 if test ${ac_cv_prog_cc_g+y}
   4185 then :
   4186   printf %s "(cached) " >&6
   4187 else case e in #(
   4188   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4189    ac_c_werror_flag=yes
   4190    ac_cv_prog_cc_g=no
   4191    CFLAGS="-g"
   4192    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4193 /* end confdefs.h.  */
   4194 
   4195 int
   4196 main (void)
   4197 {
   4198 
   4199   ;
   4200   return 0;
   4201 }
   4202 _ACEOF
   4203 if ac_fn_c_try_compile "$LINENO"
   4204 then :
   4205   ac_cv_prog_cc_g=yes
   4206 else case e in #(
   4207   e) CFLAGS=""
   4208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4209 /* end confdefs.h.  */
   4210 
   4211 int
   4212 main (void)
   4213 {
   4214 
   4215   ;
   4216   return 0;
   4217 }
   4218 _ACEOF
   4219 if ac_fn_c_try_compile "$LINENO"
   4220 then :
   4221 
   4222 else case e in #(
   4223   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4224 	 CFLAGS="-g"
   4225 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4226 /* end confdefs.h.  */
   4227 
   4228 int
   4229 main (void)
   4230 {
   4231 
   4232   ;
   4233   return 0;
   4234 }
   4235 _ACEOF
   4236 if ac_fn_c_try_compile "$LINENO"
   4237 then :
   4238   ac_cv_prog_cc_g=yes
   4239 fi
   4240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4241 esac
   4242 fi
   4243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4244 esac
   4245 fi
   4246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4247    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4248 esac
   4249 fi
   4250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4251 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4252 if test $ac_test_CFLAGS; then
   4253   CFLAGS=$ac_save_CFLAGS
   4254 elif test $ac_cv_prog_cc_g = yes; then
   4255   if test "$GCC" = yes; then
   4256     CFLAGS="-g -O2"
   4257   else
   4258     CFLAGS="-g"
   4259   fi
   4260 else
   4261   if test "$GCC" = yes; then
   4262     CFLAGS="-O2"
   4263   else
   4264     CFLAGS=
   4265   fi
   4266 fi
   4267 ac_prog_cc_stdc=no
   4268 if test x$ac_prog_cc_stdc = xno
   4269 then :
   4270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4271 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4272 if test ${ac_cv_prog_cc_c11+y}
   4273 then :
   4274   printf %s "(cached) " >&6
   4275 else case e in #(
   4276   e) ac_cv_prog_cc_c11=no
   4277 ac_save_CC=$CC
   4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4279 /* end confdefs.h.  */
   4280 $ac_c_conftest_c11_program
   4281 _ACEOF
   4282 for ac_arg in '' -std=gnu11
   4283 do
   4284   CC="$ac_save_CC $ac_arg"
   4285   if ac_fn_c_try_compile "$LINENO"
   4286 then :
   4287   ac_cv_prog_cc_c11=$ac_arg
   4288 fi
   4289 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4290   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4291 done
   4292 rm -f conftest.$ac_ext
   4293 CC=$ac_save_CC ;;
   4294 esac
   4295 fi
   4296 
   4297 if test "x$ac_cv_prog_cc_c11" = xno
   4298 then :
   4299   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4300 printf "%s\n" "unsupported" >&6; }
   4301 else case e in #(
   4302   e) if test "x$ac_cv_prog_cc_c11" = x
   4303 then :
   4304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4305 printf "%s\n" "none needed" >&6; }
   4306 else case e in #(
   4307   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4308 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4309      CC="$CC $ac_cv_prog_cc_c11" ;;
   4310 esac
   4311 fi
   4312   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4313   ac_prog_cc_stdc=c11 ;;
   4314 esac
   4315 fi
   4316 fi
   4317 if test x$ac_prog_cc_stdc = xno
   4318 then :
   4319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4320 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4321 if test ${ac_cv_prog_cc_c99+y}
   4322 then :
   4323   printf %s "(cached) " >&6
   4324 else case e in #(
   4325   e) ac_cv_prog_cc_c99=no
   4326 ac_save_CC=$CC
   4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4328 /* end confdefs.h.  */
   4329 $ac_c_conftest_c99_program
   4330 _ACEOF
   4331 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4332 do
   4333   CC="$ac_save_CC $ac_arg"
   4334   if ac_fn_c_try_compile "$LINENO"
   4335 then :
   4336   ac_cv_prog_cc_c99=$ac_arg
   4337 fi
   4338 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4339   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4340 done
   4341 rm -f conftest.$ac_ext
   4342 CC=$ac_save_CC ;;
   4343 esac
   4344 fi
   4345 
   4346 if test "x$ac_cv_prog_cc_c99" = xno
   4347 then :
   4348   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4349 printf "%s\n" "unsupported" >&6; }
   4350 else case e in #(
   4351   e) if test "x$ac_cv_prog_cc_c99" = x
   4352 then :
   4353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4354 printf "%s\n" "none needed" >&6; }
   4355 else case e in #(
   4356   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4357 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4358      CC="$CC $ac_cv_prog_cc_c99" ;;
   4359 esac
   4360 fi
   4361   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4362   ac_prog_cc_stdc=c99 ;;
   4363 esac
   4364 fi
   4365 fi
   4366 if test x$ac_prog_cc_stdc = xno
   4367 then :
   4368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4369 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4370 if test ${ac_cv_prog_cc_c89+y}
   4371 then :
   4372   printf %s "(cached) " >&6
   4373 else case e in #(
   4374   e) ac_cv_prog_cc_c89=no
   4375 ac_save_CC=$CC
   4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4377 /* end confdefs.h.  */
   4378 $ac_c_conftest_c89_program
   4379 _ACEOF
   4380 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4381 do
   4382   CC="$ac_save_CC $ac_arg"
   4383   if ac_fn_c_try_compile "$LINENO"
   4384 then :
   4385   ac_cv_prog_cc_c89=$ac_arg
   4386 fi
   4387 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4388   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4389 done
   4390 rm -f conftest.$ac_ext
   4391 CC=$ac_save_CC ;;
   4392 esac
   4393 fi
   4394 
   4395 if test "x$ac_cv_prog_cc_c89" = xno
   4396 then :
   4397   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4398 printf "%s\n" "unsupported" >&6; }
   4399 else case e in #(
   4400   e) if test "x$ac_cv_prog_cc_c89" = x
   4401 then :
   4402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4403 printf "%s\n" "none needed" >&6; }
   4404 else case e in #(
   4405   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4406 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4407      CC="$CC $ac_cv_prog_cc_c89" ;;
   4408 esac
   4409 fi
   4410   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4411   ac_prog_cc_stdc=c89 ;;
   4412 esac
   4413 fi
   4414 fi
   4415 
   4416 ac_ext=c
   4417 ac_cpp='$CPP $CPPFLAGS'
   4418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4421 
   4422 
   4423   ac_ext=c
   4424 ac_cpp='$CPP $CPPFLAGS'
   4425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4429 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4430 if test ${am_cv_prog_cc_c_o+y}
   4431 then :
   4432   printf %s "(cached) " >&6
   4433 else case e in #(
   4434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4435 /* end confdefs.h.  */
   4436 
   4437 int
   4438 main (void)
   4439 {
   4440 
   4441   ;
   4442   return 0;
   4443 }
   4444 _ACEOF
   4445   # Make sure it works both with $CC and with simple cc.
   4446   # Following AC_PROG_CC_C_O, we do the test twice because some
   4447   # compilers refuse to overwrite an existing .o file with -o,
   4448   # though they will create one.
   4449   am_cv_prog_cc_c_o=yes
   4450   for am_i in 1 2; do
   4451     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4452    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4453    ac_status=$?
   4454    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4455    (exit $ac_status); } \
   4456          && test -f conftest2.$ac_objext; then
   4457       : OK
   4458     else
   4459       am_cv_prog_cc_c_o=no
   4460       break
   4461     fi
   4462   done
   4463   rm -f core conftest*
   4464   unset am_i ;;
   4465 esac
   4466 fi
   4467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4468 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4469 if test "$am_cv_prog_cc_c_o" != yes; then
   4470    # Losing compiler, so override with the script.
   4471    # FIXME: It is wrong to rewrite CC.
   4472    # But if we don't then we get into trouble of one sort or another.
   4473    # A longer-term fix would be to have automake use am__CC in this case,
   4474    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4475    CC="$am_aux_dir/compile $CC"
   4476 fi
   4477 ac_ext=c
   4478 ac_cpp='$CPP $CPPFLAGS'
   4479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4482 
   4483 
   4484 depcc="$CC"   am_compiler_list=
   4485 
   4486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4487 printf %s "checking dependency style of $depcc... " >&6; }
   4488 if test ${am_cv_CC_dependencies_compiler_type+y}
   4489 then :
   4490   printf %s "(cached) " >&6
   4491 else case e in #(
   4492   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4493   # We make a subdir and do the tests there.  Otherwise we can end up
   4494   # making bogus files that we don't know about and never remove.  For
   4495   # instance it was reported that on HP-UX the gcc test will end up
   4496   # making a dummy file named 'D' -- because '-MD' means "put the output
   4497   # in D".
   4498   rm -rf conftest.dir
   4499   mkdir conftest.dir
   4500   # Copy depcomp to subdir because otherwise we won't find it if we're
   4501   # using a relative directory.
   4502   cp "$am_depcomp" conftest.dir
   4503   cd conftest.dir
   4504   # We will build objects and dependencies in a subdirectory because
   4505   # it helps to detect inapplicable dependency modes.  For instance
   4506   # both Tru64's cc and ICC support -MD to output dependencies as a
   4507   # side effect of compilation, but ICC will put the dependencies in
   4508   # the current directory while Tru64 will put them in the object
   4509   # directory.
   4510   mkdir sub
   4511 
   4512   am_cv_CC_dependencies_compiler_type=none
   4513   if test "$am_compiler_list" = ""; then
   4514      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4515   fi
   4516   am__universal=false
   4517   case " $depcc " in #(
   4518      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4519      esac
   4520 
   4521   for depmode in $am_compiler_list; do
   4522     # Setup a source with many dependencies, because some compilers
   4523     # like to wrap large dependency lists on column 80 (with \), and
   4524     # we should not choose a depcomp mode which is confused by this.
   4525     #
   4526     # We need to recreate these files for each test, as the compiler may
   4527     # overwrite some of them when testing with obscure command lines.
   4528     # This happens at least with the AIX C compiler.
   4529     : > sub/conftest.c
   4530     for i in 1 2 3 4 5 6; do
   4531       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4532       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4533       # Solaris 10 /bin/sh.
   4534       echo '/* dummy */' > sub/conftst$i.h
   4535     done
   4536     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4537 
   4538     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4539     # mode.  It turns out that the SunPro C++ compiler does not properly
   4540     # handle '-M -o', and we need to detect this.  Also, some Intel
   4541     # versions had trouble with output in subdirs.
   4542     am__obj=sub/conftest.${OBJEXT-o}
   4543     am__minus_obj="-o $am__obj"
   4544     case $depmode in
   4545     gcc)
   4546       # This depmode causes a compiler race in universal mode.
   4547       test "$am__universal" = false || continue
   4548       ;;
   4549     nosideeffect)
   4550       # After this tag, mechanisms are not by side-effect, so they'll
   4551       # only be used when explicitly requested.
   4552       if test "x$enable_dependency_tracking" = xyes; then
   4553 	continue
   4554       else
   4555 	break
   4556       fi
   4557       ;;
   4558     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4559       # This compiler won't grok '-c -o', but also, the minuso test has
   4560       # not run yet.  These depmodes are late enough in the game, and
   4561       # so weak that their functioning should not be impacted.
   4562       am__obj=conftest.${OBJEXT-o}
   4563       am__minus_obj=
   4564       ;;
   4565     none) break ;;
   4566     esac
   4567     if depmode=$depmode \
   4568        source=sub/conftest.c object=$am__obj \
   4569        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4570        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4571          >/dev/null 2>conftest.err &&
   4572        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4573        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4574        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4575        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4576       # icc doesn't choke on unknown options, it will just issue warnings
   4577       # or remarks (even with -Werror).  So we grep stderr for any message
   4578       # that says an option was ignored or not supported.
   4579       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4580       #   icc: Command line warning: ignoring option '-M'; no argument required
   4581       # The diagnosis changed in icc 8.0:
   4582       #   icc: Command line remark: option '-MP' not supported
   4583       if (grep 'ignoring option' conftest.err ||
   4584           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4585         am_cv_CC_dependencies_compiler_type=$depmode
   4586         break
   4587       fi
   4588     fi
   4589   done
   4590 
   4591   cd ..
   4592   rm -rf conftest.dir
   4593 else
   4594   am_cv_CC_dependencies_compiler_type=none
   4595 fi
   4596  ;;
   4597 esac
   4598 fi
   4599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4600 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4601 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4602 
   4603  if
   4604   test "x$enable_dependency_tracking" != xno \
   4605   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4606   am__fastdepCC_TRUE=
   4607   am__fastdepCC_FALSE='#'
   4608 else
   4609   am__fastdepCC_TRUE='#'
   4610   am__fastdepCC_FALSE=
   4611 fi
   4612 
   4613 
   4614 
   4615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4616 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4617 if test ${ac_cv_c_undeclared_builtin_options+y}
   4618 then :
   4619   printf %s "(cached) " >&6
   4620 else case e in #(
   4621   e) ac_save_CFLAGS=$CFLAGS
   4622    ac_cv_c_undeclared_builtin_options='cannot detect'
   4623    for ac_arg in '' -fno-builtin; do
   4624      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4625      # This test program should *not* compile successfully.
   4626      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4627 /* end confdefs.h.  */
   4628 
   4629 int
   4630 main (void)
   4631 {
   4632 (void) strchr;
   4633   ;
   4634   return 0;
   4635 }
   4636 _ACEOF
   4637 if ac_fn_c_try_compile "$LINENO"
   4638 then :
   4639 
   4640 else case e in #(
   4641   e) # This test program should compile successfully.
   4642         # No library function is consistently available on
   4643         # freestanding implementations, so test against a dummy
   4644         # declaration.  Include always-available headers on the
   4645         # off chance that they somehow elicit warnings.
   4646         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4647 /* end confdefs.h.  */
   4648 #include <float.h>
   4649 #include <limits.h>
   4650 #include <stdarg.h>
   4651 #include <stddef.h>
   4652 extern void ac_decl (int, char *);
   4653 
   4654 int
   4655 main (void)
   4656 {
   4657 (void) ac_decl (0, (char *) 0);
   4658   (void) ac_decl;
   4659 
   4660   ;
   4661   return 0;
   4662 }
   4663 _ACEOF
   4664 if ac_fn_c_try_compile "$LINENO"
   4665 then :
   4666   if test x"$ac_arg" = x
   4667 then :
   4668   ac_cv_c_undeclared_builtin_options='none needed'
   4669 else case e in #(
   4670   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4671 esac
   4672 fi
   4673           break
   4674 fi
   4675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4676 esac
   4677 fi
   4678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4679     done
   4680     CFLAGS=$ac_save_CFLAGS
   4681    ;;
   4682 esac
   4683 fi
   4684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4685 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4686   case $ac_cv_c_undeclared_builtin_options in #(
   4687   'cannot detect') :
   4688     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4689 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4690 as_fn_error $? "cannot make $CC report undeclared builtins
   4691 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4692   'none needed') :
   4693     ac_c_undeclared_builtin_options='' ;; #(
   4694   *) :
   4695     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4696 esac
   4697 
   4698 ac_header= ac_cache=
   4699 for ac_item in $ac_header_c_list
   4700 do
   4701   if test $ac_cache; then
   4702     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4703     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4704       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4705     fi
   4706     ac_header= ac_cache=
   4707   elif test $ac_header; then
   4708     ac_cache=$ac_item
   4709   else
   4710     ac_header=$ac_item
   4711   fi
   4712 done
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 
   4721 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4722 then :
   4723 
   4724 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4725 
   4726 fi
   4727 
   4728 
   4729 
   4730 
   4731 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4732 if test "x$ac_cv_have_decl___clang__" = xyes
   4733 then :
   4734   CLANGCC="yes"
   4735 else case e in #(
   4736   e) CLANGCC="no" ;;
   4737 esac
   4738 fi
   4739 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4740 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4741 then :
   4742   INTELCC="yes"
   4743 else case e in #(
   4744   e) INTELCC="no" ;;
   4745 esac
   4746 fi
   4747 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4748 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4749 then :
   4750   SUNCC="yes"
   4751 else case e in #(
   4752   e) SUNCC="no" ;;
   4753 esac
   4754 fi
   4755 
   4756 
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4764 	if test -n "$ac_tool_prefix"; then
   4765   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4766 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4768 printf %s "checking for $ac_word... " >&6; }
   4769 if test ${ac_cv_path_PKG_CONFIG+y}
   4770 then :
   4771   printf %s "(cached) " >&6
   4772 else case e in #(
   4773   e) case $PKG_CONFIG in
   4774   [\\/]* | ?:[\\/]*)
   4775   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4776   ;;
   4777   *)
   4778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4779 for as_dir in $PATH
   4780 do
   4781   IFS=$as_save_IFS
   4782   case $as_dir in #(((
   4783     '') as_dir=./ ;;
   4784     */) ;;
   4785     *) as_dir=$as_dir/ ;;
   4786   esac
   4787     for ac_exec_ext in '' $ac_executable_extensions; do
   4788   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4789     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4790     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4791     break 2
   4792   fi
   4793 done
   4794   done
   4795 IFS=$as_save_IFS
   4796 
   4797   ;;
   4798 esac ;;
   4799 esac
   4800 fi
   4801 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4802 if test -n "$PKG_CONFIG"; then
   4803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4804 printf "%s\n" "$PKG_CONFIG" >&6; }
   4805 else
   4806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4807 printf "%s\n" "no" >&6; }
   4808 fi
   4809 
   4810 
   4811 fi
   4812 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4813   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4814   # Extract the first word of "pkg-config", so it can be a program name with args.
   4815 set dummy pkg-config; ac_word=$2
   4816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4817 printf %s "checking for $ac_word... " >&6; }
   4818 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4819 then :
   4820   printf %s "(cached) " >&6
   4821 else case e in #(
   4822   e) case $ac_pt_PKG_CONFIG in
   4823   [\\/]* | ?:[\\/]*)
   4824   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4825   ;;
   4826   *)
   4827   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4828 for as_dir in $PATH
   4829 do
   4830   IFS=$as_save_IFS
   4831   case $as_dir in #(((
   4832     '') as_dir=./ ;;
   4833     */) ;;
   4834     *) as_dir=$as_dir/ ;;
   4835   esac
   4836     for ac_exec_ext in '' $ac_executable_extensions; do
   4837   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4838     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4839     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4840     break 2
   4841   fi
   4842 done
   4843   done
   4844 IFS=$as_save_IFS
   4845 
   4846   ;;
   4847 esac ;;
   4848 esac
   4849 fi
   4850 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4851 if test -n "$ac_pt_PKG_CONFIG"; then
   4852   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4853 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4854 else
   4855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4856 printf "%s\n" "no" >&6; }
   4857 fi
   4858 
   4859   if test "x$ac_pt_PKG_CONFIG" = x; then
   4860     PKG_CONFIG=""
   4861   else
   4862     case $cross_compiling:$ac_tool_warned in
   4863 yes:)
   4864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4865 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4866 ac_tool_warned=yes ;;
   4867 esac
   4868     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4869   fi
   4870 else
   4871   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4872 fi
   4873 
   4874 fi
   4875 if test -n "$PKG_CONFIG"; then
   4876 	_pkg_min_version=0.9.0
   4877 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4878 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4879 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4880 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4881 printf "%s\n" "yes" >&6; }
   4882 	else
   4883 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4884 printf "%s\n" "no" >&6; }
   4885 		PKG_CONFIG=""
   4886 	fi
   4887 fi
   4888 
   4889 
   4890   # Make sure we can run config.sub.
   4891 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4892   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4893 
   4894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4895 printf %s "checking build system type... " >&6; }
   4896 if test ${ac_cv_build+y}
   4897 then :
   4898   printf %s "(cached) " >&6
   4899 else case e in #(
   4900   e) ac_build_alias=$build_alias
   4901 test "x$ac_build_alias" = x &&
   4902   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4903 test "x$ac_build_alias" = x &&
   4904   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4905 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4906   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4907  ;;
   4908 esac
   4909 fi
   4910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4911 printf "%s\n" "$ac_cv_build" >&6; }
   4912 case $ac_cv_build in
   4913 *-*-*) ;;
   4914 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4915 esac
   4916 build=$ac_cv_build
   4917 ac_save_IFS=$IFS; IFS='-'
   4918 set x $ac_cv_build
   4919 shift
   4920 build_cpu=$1
   4921 build_vendor=$2
   4922 shift; shift
   4923 # Remember, the first character of IFS is used to create $*,
   4924 # except with old shells:
   4925 build_os=$*
   4926 IFS=$ac_save_IFS
   4927 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4928 
   4929 
   4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4931 printf %s "checking host system type... " >&6; }
   4932 if test ${ac_cv_host+y}
   4933 then :
   4934   printf %s "(cached) " >&6
   4935 else case e in #(
   4936   e) if test "x$host_alias" = x; then
   4937   ac_cv_host=$ac_cv_build
   4938 else
   4939   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4940     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4941 fi
   4942  ;;
   4943 esac
   4944 fi
   4945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4946 printf "%s\n" "$ac_cv_host" >&6; }
   4947 case $ac_cv_host in
   4948 *-*-*) ;;
   4949 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4950 esac
   4951 host=$ac_cv_host
   4952 ac_save_IFS=$IFS; IFS='-'
   4953 set x $ac_cv_host
   4954 shift
   4955 host_cpu=$1
   4956 host_vendor=$2
   4957 shift; shift
   4958 # Remember, the first character of IFS is used to create $*,
   4959 # except with old shells:
   4960 host_os=$*
   4961 IFS=$ac_save_IFS
   4962 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4963 
   4964 
   4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4966 printf %s "checking for a sed that does not truncate output... " >&6; }
   4967 if test ${ac_cv_path_SED+y}
   4968 then :
   4969   printf %s "(cached) " >&6
   4970 else case e in #(
   4971   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4972      for ac_i in 1 2 3 4 5 6 7; do
   4973        ac_script="$ac_script$as_nl$ac_script"
   4974      done
   4975      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4976      { ac_script=; unset ac_script;}
   4977      if test -z "$SED"; then
   4978   ac_path_SED_found=false
   4979   # Loop through the user's path and test for each of PROGNAME-LIST
   4980   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4981 for as_dir in $PATH
   4982 do
   4983   IFS=$as_save_IFS
   4984   case $as_dir in #(((
   4985     '') as_dir=./ ;;
   4986     */) ;;
   4987     *) as_dir=$as_dir/ ;;
   4988   esac
   4989     for ac_prog in sed gsed
   4990    do
   4991     for ac_exec_ext in '' $ac_executable_extensions; do
   4992       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4993       as_fn_executable_p "$ac_path_SED" || continue
   4994 # Check for GNU ac_path_SED and select it if it is found.
   4995   # Check for GNU $ac_path_SED
   4996 case `"$ac_path_SED" --version 2>&1` in #(
   4997 *GNU*)
   4998   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4999 #(
   5000 *)
   5001   ac_count=0
   5002   printf %s 0123456789 >"conftest.in"
   5003   while :
   5004   do
   5005     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5006     mv "conftest.tmp" "conftest.in"
   5007     cp "conftest.in" "conftest.nl"
   5008     printf "%s\n" '' >> "conftest.nl"
   5009     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5010     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5011     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5012     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5013       # Best one so far, save it but keep looking for a better one
   5014       ac_cv_path_SED="$ac_path_SED"
   5015       ac_path_SED_max=$ac_count
   5016     fi
   5017     # 10*(2^10) chars as input seems more than enough
   5018     test $ac_count -gt 10 && break
   5019   done
   5020   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5021 esac
   5022 
   5023       $ac_path_SED_found && break 3
   5024     done
   5025   done
   5026   done
   5027 IFS=$as_save_IFS
   5028   if test -z "$ac_cv_path_SED"; then
   5029     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5030   fi
   5031 else
   5032   ac_cv_path_SED=$SED
   5033 fi
   5034  ;;
   5035 esac
   5036 fi
   5037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5038 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5039  SED="$ac_cv_path_SED"
   5040   rm -f conftest.sed
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 # Check whether --enable-selective-werror was given.
   5048 if test ${enable_selective_werror+y}
   5049 then :
   5050   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5051 else case e in #(
   5052   e) SELECTIVE_WERROR=yes ;;
   5053 esac
   5054 fi
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5061 if test "x$SUNCC" = "xyes"; then
   5062     BASE_CFLAGS="-v"
   5063 else
   5064     BASE_CFLAGS=""
   5065 fi
   5066 
   5067 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 xorg_testset_save_CFLAGS="$CFLAGS"
   5082 
   5083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5085 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5086 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5087 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5088 then :
   5089   printf %s "(cached) " >&6
   5090 else case e in #(
   5091   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5092 /* end confdefs.h.  */
   5093 int i;
   5094 _ACEOF
   5095 if ac_fn_c_try_compile "$LINENO"
   5096 then :
   5097   xorg_cv_cc_flag_unknown_warning_option=yes
   5098 else case e in #(
   5099   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5100 esac
   5101 fi
   5102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5103 esac
   5104 fi
   5105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5106 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5107 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5108 	CFLAGS="$xorg_testset_save_CFLAGS"
   5109 fi
   5110 
   5111 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5112 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5113 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5114 	fi
   5115 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5116 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5117 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5118 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5119 then :
   5120   printf %s "(cached) " >&6
   5121 else case e in #(
   5122   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5123 /* end confdefs.h.  */
   5124 int i;
   5125 _ACEOF
   5126 if ac_fn_c_try_compile "$LINENO"
   5127 then :
   5128   xorg_cv_cc_flag_unused_command_line_argument=yes
   5129 else case e in #(
   5130   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5131 esac
   5132 fi
   5133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5134 esac
   5135 fi
   5136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5137 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5138 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5139 	CFLAGS="$xorg_testset_save_CFLAGS"
   5140 fi
   5141 
   5142 found="no"
   5143 
   5144 	if test $found = "no" ; then
   5145 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5146 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5147 		fi
   5148 
   5149 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5150 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5151 		fi
   5152 
   5153 		CFLAGS="$CFLAGS -Wall"
   5154 
   5155 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5156 printf %s "checking if $CC supports -Wall... " >&6; }
   5157 		cacheid=xorg_cv_cc_flag__Wall
   5158 		if eval test \${$cacheid+y}
   5159 then :
   5160   printf %s "(cached) " >&6
   5161 else case e in #(
   5162   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5163 /* end confdefs.h.  */
   5164 int i;
   5165 int
   5166 main (void)
   5167 {
   5168 
   5169   ;
   5170   return 0;
   5171 }
   5172 _ACEOF
   5173 if ac_fn_c_try_link "$LINENO"
   5174 then :
   5175   eval $cacheid=yes
   5176 else case e in #(
   5177   e) eval $cacheid=no ;;
   5178 esac
   5179 fi
   5180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5181     conftest$ac_exeext conftest.$ac_ext ;;
   5182 esac
   5183 fi
   5184 
   5185 
   5186 		CFLAGS="$xorg_testset_save_CFLAGS"
   5187 
   5188 		eval supported=\$$cacheid
   5189 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5190 printf "%s\n" "$supported" >&6; }
   5191 		if test "$supported" = "yes" ; then
   5192 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5193 			found="yes"
   5194 		fi
   5195 	fi
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 xorg_testset_save_CFLAGS="$CFLAGS"
   5212 
   5213 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5214 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5215 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5216 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5217 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5218 then :
   5219   printf %s "(cached) " >&6
   5220 else case e in #(
   5221   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5222 /* end confdefs.h.  */
   5223 int i;
   5224 _ACEOF
   5225 if ac_fn_c_try_compile "$LINENO"
   5226 then :
   5227   xorg_cv_cc_flag_unknown_warning_option=yes
   5228 else case e in #(
   5229   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5230 esac
   5231 fi
   5232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5233 esac
   5234 fi
   5235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5236 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5237 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5238 	CFLAGS="$xorg_testset_save_CFLAGS"
   5239 fi
   5240 
   5241 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5242 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5243 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5244 	fi
   5245 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5246 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5247 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5248 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5249 then :
   5250   printf %s "(cached) " >&6
   5251 else case e in #(
   5252   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5253 /* end confdefs.h.  */
   5254 int i;
   5255 _ACEOF
   5256 if ac_fn_c_try_compile "$LINENO"
   5257 then :
   5258   xorg_cv_cc_flag_unused_command_line_argument=yes
   5259 else case e in #(
   5260   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5261 esac
   5262 fi
   5263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5264 esac
   5265 fi
   5266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5267 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5268 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5269 	CFLAGS="$xorg_testset_save_CFLAGS"
   5270 fi
   5271 
   5272 found="no"
   5273 
   5274 	if test $found = "no" ; then
   5275 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5276 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5277 		fi
   5278 
   5279 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5280 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5281 		fi
   5282 
   5283 		CFLAGS="$CFLAGS -Wpointer-arith"
   5284 
   5285 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5286 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5287 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5288 		if eval test \${$cacheid+y}
   5289 then :
   5290   printf %s "(cached) " >&6
   5291 else case e in #(
   5292   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5293 /* end confdefs.h.  */
   5294 int i;
   5295 int
   5296 main (void)
   5297 {
   5298 
   5299   ;
   5300   return 0;
   5301 }
   5302 _ACEOF
   5303 if ac_fn_c_try_link "$LINENO"
   5304 then :
   5305   eval $cacheid=yes
   5306 else case e in #(
   5307   e) eval $cacheid=no ;;
   5308 esac
   5309 fi
   5310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5311     conftest$ac_exeext conftest.$ac_ext ;;
   5312 esac
   5313 fi
   5314 
   5315 
   5316 		CFLAGS="$xorg_testset_save_CFLAGS"
   5317 
   5318 		eval supported=\$$cacheid
   5319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5320 printf "%s\n" "$supported" >&6; }
   5321 		if test "$supported" = "yes" ; then
   5322 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5323 			found="yes"
   5324 		fi
   5325 	fi
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 
   5341 xorg_testset_save_CFLAGS="$CFLAGS"
   5342 
   5343 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5344 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5345 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5346 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5347 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5348 then :
   5349   printf %s "(cached) " >&6
   5350 else case e in #(
   5351   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5352 /* end confdefs.h.  */
   5353 int i;
   5354 _ACEOF
   5355 if ac_fn_c_try_compile "$LINENO"
   5356 then :
   5357   xorg_cv_cc_flag_unknown_warning_option=yes
   5358 else case e in #(
   5359   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5360 esac
   5361 fi
   5362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5363 esac
   5364 fi
   5365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5366 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5367 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5368 	CFLAGS="$xorg_testset_save_CFLAGS"
   5369 fi
   5370 
   5371 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5372 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5373 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5374 	fi
   5375 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5376 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5377 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5378 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5379 then :
   5380   printf %s "(cached) " >&6
   5381 else case e in #(
   5382   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5383 /* end confdefs.h.  */
   5384 int i;
   5385 _ACEOF
   5386 if ac_fn_c_try_compile "$LINENO"
   5387 then :
   5388   xorg_cv_cc_flag_unused_command_line_argument=yes
   5389 else case e in #(
   5390   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5391 esac
   5392 fi
   5393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5394 esac
   5395 fi
   5396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5397 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5398 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5399 	CFLAGS="$xorg_testset_save_CFLAGS"
   5400 fi
   5401 
   5402 found="no"
   5403 
   5404 	if test $found = "no" ; then
   5405 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5406 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5407 		fi
   5408 
   5409 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5410 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5411 		fi
   5412 
   5413 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5414 
   5415 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5416 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5417 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5418 		if eval test \${$cacheid+y}
   5419 then :
   5420   printf %s "(cached) " >&6
   5421 else case e in #(
   5422   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5423 /* end confdefs.h.  */
   5424 int i;
   5425 int
   5426 main (void)
   5427 {
   5428 
   5429   ;
   5430   return 0;
   5431 }
   5432 _ACEOF
   5433 if ac_fn_c_try_link "$LINENO"
   5434 then :
   5435   eval $cacheid=yes
   5436 else case e in #(
   5437   e) eval $cacheid=no ;;
   5438 esac
   5439 fi
   5440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5441     conftest$ac_exeext conftest.$ac_ext ;;
   5442 esac
   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 -Wmissing-declarations"
   5453 			found="yes"
   5454 		fi
   5455 	fi
   5456 
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 xorg_testset_save_CFLAGS="$CFLAGS"
   5472 
   5473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5474 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5476 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5477 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5478 then :
   5479   printf %s "(cached) " >&6
   5480 else case e in #(
   5481   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5482 /* end confdefs.h.  */
   5483 int i;
   5484 _ACEOF
   5485 if ac_fn_c_try_compile "$LINENO"
   5486 then :
   5487   xorg_cv_cc_flag_unknown_warning_option=yes
   5488 else case e in #(
   5489   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5490 esac
   5491 fi
   5492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5493 esac
   5494 fi
   5495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5496 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5497 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5498 	CFLAGS="$xorg_testset_save_CFLAGS"
   5499 fi
   5500 
   5501 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5502 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5503 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5504 	fi
   5505 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5506 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5507 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5508 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5509 then :
   5510   printf %s "(cached) " >&6
   5511 else case e in #(
   5512   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5513 /* end confdefs.h.  */
   5514 int i;
   5515 _ACEOF
   5516 if ac_fn_c_try_compile "$LINENO"
   5517 then :
   5518   xorg_cv_cc_flag_unused_command_line_argument=yes
   5519 else case e in #(
   5520   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5521 esac
   5522 fi
   5523 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5524 esac
   5525 fi
   5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5527 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5528 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5529 	CFLAGS="$xorg_testset_save_CFLAGS"
   5530 fi
   5531 
   5532 found="no"
   5533 
   5534 	if test $found = "no" ; then
   5535 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5537 		fi
   5538 
   5539 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5541 		fi
   5542 
   5543 		CFLAGS="$CFLAGS -Wformat=2"
   5544 
   5545 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5546 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5547 		cacheid=xorg_cv_cc_flag__Wformat_2
   5548 		if eval test \${$cacheid+y}
   5549 then :
   5550   printf %s "(cached) " >&6
   5551 else case e in #(
   5552   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5553 /* end confdefs.h.  */
   5554 int i;
   5555 int
   5556 main (void)
   5557 {
   5558 
   5559   ;
   5560   return 0;
   5561 }
   5562 _ACEOF
   5563 if ac_fn_c_try_link "$LINENO"
   5564 then :
   5565   eval $cacheid=yes
   5566 else case e in #(
   5567   e) eval $cacheid=no ;;
   5568 esac
   5569 fi
   5570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5571     conftest$ac_exeext conftest.$ac_ext ;;
   5572 esac
   5573 fi
   5574 
   5575 
   5576 		CFLAGS="$xorg_testset_save_CFLAGS"
   5577 
   5578 		eval supported=\$$cacheid
   5579 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5580 printf "%s\n" "$supported" >&6; }
   5581 		if test "$supported" = "yes" ; then
   5582 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5583 			found="yes"
   5584 		fi
   5585 	fi
   5586 
   5587 	if test $found = "no" ; then
   5588 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5590 		fi
   5591 
   5592 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5594 		fi
   5595 
   5596 		CFLAGS="$CFLAGS -Wformat"
   5597 
   5598 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5599 printf %s "checking if $CC supports -Wformat... " >&6; }
   5600 		cacheid=xorg_cv_cc_flag__Wformat
   5601 		if eval test \${$cacheid+y}
   5602 then :
   5603   printf %s "(cached) " >&6
   5604 else case e in #(
   5605   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5606 /* end confdefs.h.  */
   5607 int i;
   5608 int
   5609 main (void)
   5610 {
   5611 
   5612   ;
   5613   return 0;
   5614 }
   5615 _ACEOF
   5616 if ac_fn_c_try_link "$LINENO"
   5617 then :
   5618   eval $cacheid=yes
   5619 else case e in #(
   5620   e) eval $cacheid=no ;;
   5621 esac
   5622 fi
   5623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5624     conftest$ac_exeext conftest.$ac_ext ;;
   5625 esac
   5626 fi
   5627 
   5628 
   5629 		CFLAGS="$xorg_testset_save_CFLAGS"
   5630 
   5631 		eval supported=\$$cacheid
   5632 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5633 printf "%s\n" "$supported" >&6; }
   5634 		if test "$supported" = "yes" ; then
   5635 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5636 			found="yes"
   5637 		fi
   5638 	fi
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 xorg_testset_save_CFLAGS="$CFLAGS"
   5657 
   5658 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5659 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5660 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5661 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5662 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5663 then :
   5664   printf %s "(cached) " >&6
   5665 else case e in #(
   5666   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5667 /* end confdefs.h.  */
   5668 int i;
   5669 _ACEOF
   5670 if ac_fn_c_try_compile "$LINENO"
   5671 then :
   5672   xorg_cv_cc_flag_unknown_warning_option=yes
   5673 else case e in #(
   5674   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5675 esac
   5676 fi
   5677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5678 esac
   5679 fi
   5680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5681 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5682 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5683 	CFLAGS="$xorg_testset_save_CFLAGS"
   5684 fi
   5685 
   5686 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5687 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5688 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5689 	fi
   5690 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5691 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5692 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5693 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5694 then :
   5695   printf %s "(cached) " >&6
   5696 else case e in #(
   5697   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5698 /* end confdefs.h.  */
   5699 int i;
   5700 _ACEOF
   5701 if ac_fn_c_try_compile "$LINENO"
   5702 then :
   5703   xorg_cv_cc_flag_unused_command_line_argument=yes
   5704 else case e in #(
   5705   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5706 esac
   5707 fi
   5708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5709 esac
   5710 fi
   5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5712 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5713 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5714 	CFLAGS="$xorg_testset_save_CFLAGS"
   5715 fi
   5716 
   5717 found="no"
   5718 
   5719 	if test $found = "no" ; then
   5720 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5721 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5722 		fi
   5723 
   5724 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5725 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5726 		fi
   5727 
   5728 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5729 
   5730 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5731 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5732 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5733 		if eval test \${$cacheid+y}
   5734 then :
   5735   printf %s "(cached) " >&6
   5736 else case e in #(
   5737   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5738 /* end confdefs.h.  */
   5739 int i;
   5740 int
   5741 main (void)
   5742 {
   5743 
   5744   ;
   5745   return 0;
   5746 }
   5747 _ACEOF
   5748 if ac_fn_c_try_link "$LINENO"
   5749 then :
   5750   eval $cacheid=yes
   5751 else case e in #(
   5752   e) eval $cacheid=no ;;
   5753 esac
   5754 fi
   5755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5756     conftest$ac_exeext conftest.$ac_ext ;;
   5757 esac
   5758 fi
   5759 
   5760 
   5761 		CFLAGS="$xorg_testset_save_CFLAGS"
   5762 
   5763 		eval supported=\$$cacheid
   5764 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5765 printf "%s\n" "$supported" >&6; }
   5766 		if test "$supported" = "yes" ; then
   5767 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5768 			found="yes"
   5769 		fi
   5770 	fi
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 xorg_testset_save_CFLAGS="$CFLAGS"
   5787 
   5788 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5789 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5790 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5791 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5792 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5793 then :
   5794   printf %s "(cached) " >&6
   5795 else case e in #(
   5796   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5797 /* end confdefs.h.  */
   5798 int i;
   5799 _ACEOF
   5800 if ac_fn_c_try_compile "$LINENO"
   5801 then :
   5802   xorg_cv_cc_flag_unknown_warning_option=yes
   5803 else case e in #(
   5804   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5805 esac
   5806 fi
   5807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5808 esac
   5809 fi
   5810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5811 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5812 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5813 	CFLAGS="$xorg_testset_save_CFLAGS"
   5814 fi
   5815 
   5816 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5817 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5818 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5819 	fi
   5820 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5821 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5822 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5823 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5824 then :
   5825   printf %s "(cached) " >&6
   5826 else case e in #(
   5827   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5828 /* end confdefs.h.  */
   5829 int i;
   5830 _ACEOF
   5831 if ac_fn_c_try_compile "$LINENO"
   5832 then :
   5833   xorg_cv_cc_flag_unused_command_line_argument=yes
   5834 else case e in #(
   5835   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5836 esac
   5837 fi
   5838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5839 esac
   5840 fi
   5841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5842 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5843 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5844 	CFLAGS="$xorg_testset_save_CFLAGS"
   5845 fi
   5846 
   5847 found="no"
   5848 
   5849 	if test $found = "no" ; then
   5850 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5852 		fi
   5853 
   5854 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5856 		fi
   5857 
   5858 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5859 
   5860 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5861 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5862 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5863 		if eval test \${$cacheid+y}
   5864 then :
   5865   printf %s "(cached) " >&6
   5866 else case e in #(
   5867   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5868 /* end confdefs.h.  */
   5869 int i;
   5870 int
   5871 main (void)
   5872 {
   5873 
   5874   ;
   5875   return 0;
   5876 }
   5877 _ACEOF
   5878 if ac_fn_c_try_link "$LINENO"
   5879 then :
   5880   eval $cacheid=yes
   5881 else case e in #(
   5882   e) eval $cacheid=no ;;
   5883 esac
   5884 fi
   5885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5886     conftest$ac_exeext conftest.$ac_ext ;;
   5887 esac
   5888 fi
   5889 
   5890 
   5891 		CFLAGS="$xorg_testset_save_CFLAGS"
   5892 
   5893 		eval supported=\$$cacheid
   5894 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5895 printf "%s\n" "$supported" >&6; }
   5896 		if test "$supported" = "yes" ; then
   5897 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5898 			found="yes"
   5899 		fi
   5900 	fi
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 xorg_testset_save_CFLAGS="$CFLAGS"
   5917 
   5918 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5919 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5920 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5921 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5922 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5923 then :
   5924   printf %s "(cached) " >&6
   5925 else case e in #(
   5926   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5927 /* end confdefs.h.  */
   5928 int i;
   5929 _ACEOF
   5930 if ac_fn_c_try_compile "$LINENO"
   5931 then :
   5932   xorg_cv_cc_flag_unknown_warning_option=yes
   5933 else case e in #(
   5934   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5935 esac
   5936 fi
   5937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5938 esac
   5939 fi
   5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5941 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5942 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5943 	CFLAGS="$xorg_testset_save_CFLAGS"
   5944 fi
   5945 
   5946 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5947 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5948 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5949 	fi
   5950 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5951 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5952 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5953 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5954 then :
   5955   printf %s "(cached) " >&6
   5956 else case e in #(
   5957   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5958 /* end confdefs.h.  */
   5959 int i;
   5960 _ACEOF
   5961 if ac_fn_c_try_compile "$LINENO"
   5962 then :
   5963   xorg_cv_cc_flag_unused_command_line_argument=yes
   5964 else case e in #(
   5965   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5966 esac
   5967 fi
   5968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5969 esac
   5970 fi
   5971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5972 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5973 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5974 	CFLAGS="$xorg_testset_save_CFLAGS"
   5975 fi
   5976 
   5977 found="no"
   5978 
   5979 	if test $found = "no" ; then
   5980 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5982 		fi
   5983 
   5984 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5986 		fi
   5987 
   5988 		CFLAGS="$CFLAGS -Wnested-externs"
   5989 
   5990 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5991 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5992 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5993 		if eval test \${$cacheid+y}
   5994 then :
   5995   printf %s "(cached) " >&6
   5996 else case e in #(
   5997   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5998 /* end confdefs.h.  */
   5999 int i;
   6000 int
   6001 main (void)
   6002 {
   6003 
   6004   ;
   6005   return 0;
   6006 }
   6007 _ACEOF
   6008 if ac_fn_c_try_link "$LINENO"
   6009 then :
   6010   eval $cacheid=yes
   6011 else case e in #(
   6012   e) eval $cacheid=no ;;
   6013 esac
   6014 fi
   6015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6016     conftest$ac_exeext conftest.$ac_ext ;;
   6017 esac
   6018 fi
   6019 
   6020 
   6021 		CFLAGS="$xorg_testset_save_CFLAGS"
   6022 
   6023 		eval supported=\$$cacheid
   6024 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6025 printf "%s\n" "$supported" >&6; }
   6026 		if test "$supported" = "yes" ; then
   6027 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6028 			found="yes"
   6029 		fi
   6030 	fi
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 xorg_testset_save_CFLAGS="$CFLAGS"
   6047 
   6048 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6049 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6050 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6051 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6052 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6053 then :
   6054   printf %s "(cached) " >&6
   6055 else case e in #(
   6056   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6057 /* end confdefs.h.  */
   6058 int i;
   6059 _ACEOF
   6060 if ac_fn_c_try_compile "$LINENO"
   6061 then :
   6062   xorg_cv_cc_flag_unknown_warning_option=yes
   6063 else case e in #(
   6064   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6065 esac
   6066 fi
   6067 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6068 esac
   6069 fi
   6070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6071 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6072 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6073 	CFLAGS="$xorg_testset_save_CFLAGS"
   6074 fi
   6075 
   6076 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6077 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6079 	fi
   6080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6081 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6082 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6083 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6084 then :
   6085   printf %s "(cached) " >&6
   6086 else case e in #(
   6087   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6088 /* end confdefs.h.  */
   6089 int i;
   6090 _ACEOF
   6091 if ac_fn_c_try_compile "$LINENO"
   6092 then :
   6093   xorg_cv_cc_flag_unused_command_line_argument=yes
   6094 else case e in #(
   6095   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6096 esac
   6097 fi
   6098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6099 esac
   6100 fi
   6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6102 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6103 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6104 	CFLAGS="$xorg_testset_save_CFLAGS"
   6105 fi
   6106 
   6107 found="no"
   6108 
   6109 	if test $found = "no" ; then
   6110 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6111 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6112 		fi
   6113 
   6114 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6115 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6116 		fi
   6117 
   6118 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6119 
   6120 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6121 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6122 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6123 		if eval test \${$cacheid+y}
   6124 then :
   6125   printf %s "(cached) " >&6
   6126 else case e in #(
   6127   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6128 /* end confdefs.h.  */
   6129 int i;
   6130 int
   6131 main (void)
   6132 {
   6133 
   6134   ;
   6135   return 0;
   6136 }
   6137 _ACEOF
   6138 if ac_fn_c_try_link "$LINENO"
   6139 then :
   6140   eval $cacheid=yes
   6141 else case e in #(
   6142   e) eval $cacheid=no ;;
   6143 esac
   6144 fi
   6145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6146     conftest$ac_exeext conftest.$ac_ext ;;
   6147 esac
   6148 fi
   6149 
   6150 
   6151 		CFLAGS="$xorg_testset_save_CFLAGS"
   6152 
   6153 		eval supported=\$$cacheid
   6154 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6155 printf "%s\n" "$supported" >&6; }
   6156 		if test "$supported" = "yes" ; then
   6157 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6158 			found="yes"
   6159 		fi
   6160 	fi
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 xorg_testset_save_CFLAGS="$CFLAGS"
   6177 
   6178 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6179 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6180 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6181 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6182 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6183 then :
   6184   printf %s "(cached) " >&6
   6185 else case e in #(
   6186   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6187 /* end confdefs.h.  */
   6188 int i;
   6189 _ACEOF
   6190 if ac_fn_c_try_compile "$LINENO"
   6191 then :
   6192   xorg_cv_cc_flag_unknown_warning_option=yes
   6193 else case e in #(
   6194   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6195 esac
   6196 fi
   6197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6198 esac
   6199 fi
   6200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6201 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6202 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6203 	CFLAGS="$xorg_testset_save_CFLAGS"
   6204 fi
   6205 
   6206 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6207 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6208 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6209 	fi
   6210 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6211 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6212 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6213 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6214 then :
   6215   printf %s "(cached) " >&6
   6216 else case e in #(
   6217   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6218 /* end confdefs.h.  */
   6219 int i;
   6220 _ACEOF
   6221 if ac_fn_c_try_compile "$LINENO"
   6222 then :
   6223   xorg_cv_cc_flag_unused_command_line_argument=yes
   6224 else case e in #(
   6225   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6226 esac
   6227 fi
   6228 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6229 esac
   6230 fi
   6231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6232 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6233 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6234 	CFLAGS="$xorg_testset_save_CFLAGS"
   6235 fi
   6236 
   6237 found="no"
   6238 
   6239 	if test $found = "no" ; then
   6240 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6242 		fi
   6243 
   6244 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6246 		fi
   6247 
   6248 		CFLAGS="$CFLAGS -Wold-style-definition"
   6249 
   6250 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6251 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6252 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6253 		if eval test \${$cacheid+y}
   6254 then :
   6255   printf %s "(cached) " >&6
   6256 else case e in #(
   6257   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6258 /* end confdefs.h.  */
   6259 int i;
   6260 int
   6261 main (void)
   6262 {
   6263 
   6264   ;
   6265   return 0;
   6266 }
   6267 _ACEOF
   6268 if ac_fn_c_try_link "$LINENO"
   6269 then :
   6270   eval $cacheid=yes
   6271 else case e in #(
   6272   e) eval $cacheid=no ;;
   6273 esac
   6274 fi
   6275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6276     conftest$ac_exeext conftest.$ac_ext ;;
   6277 esac
   6278 fi
   6279 
   6280 
   6281 		CFLAGS="$xorg_testset_save_CFLAGS"
   6282 
   6283 		eval supported=\$$cacheid
   6284 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6285 printf "%s\n" "$supported" >&6; }
   6286 		if test "$supported" = "yes" ; then
   6287 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6288 			found="yes"
   6289 		fi
   6290 	fi
   6291 
   6292 	if test $found = "no" ; then
   6293 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6294 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6295 		fi
   6296 
   6297 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6298 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6299 		fi
   6300 
   6301 		CFLAGS="$CFLAGS -fd"
   6302 
   6303 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6304 printf %s "checking if $CC supports -fd... " >&6; }
   6305 		cacheid=xorg_cv_cc_flag__fd
   6306 		if eval test \${$cacheid+y}
   6307 then :
   6308   printf %s "(cached) " >&6
   6309 else case e in #(
   6310   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6311 /* end confdefs.h.  */
   6312 int i;
   6313 int
   6314 main (void)
   6315 {
   6316 
   6317   ;
   6318   return 0;
   6319 }
   6320 _ACEOF
   6321 if ac_fn_c_try_link "$LINENO"
   6322 then :
   6323   eval $cacheid=yes
   6324 else case e in #(
   6325   e) eval $cacheid=no ;;
   6326 esac
   6327 fi
   6328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6329     conftest$ac_exeext conftest.$ac_ext ;;
   6330 esac
   6331 fi
   6332 
   6333 
   6334 		CFLAGS="$xorg_testset_save_CFLAGS"
   6335 
   6336 		eval supported=\$$cacheid
   6337 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6338 printf "%s\n" "$supported" >&6; }
   6339 		if test "$supported" = "yes" ; then
   6340 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6341 			found="yes"
   6342 		fi
   6343 	fi
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 xorg_testset_save_CFLAGS="$CFLAGS"
   6360 
   6361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6364 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6365 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6366 then :
   6367   printf %s "(cached) " >&6
   6368 else case e in #(
   6369   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6370 /* end confdefs.h.  */
   6371 int i;
   6372 _ACEOF
   6373 if ac_fn_c_try_compile "$LINENO"
   6374 then :
   6375   xorg_cv_cc_flag_unknown_warning_option=yes
   6376 else case e in #(
   6377   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6378 esac
   6379 fi
   6380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6381 esac
   6382 fi
   6383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6384 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6385 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6386 	CFLAGS="$xorg_testset_save_CFLAGS"
   6387 fi
   6388 
   6389 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6390 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6391 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6392 	fi
   6393 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6394 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6395 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6396 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6397 then :
   6398   printf %s "(cached) " >&6
   6399 else case e in #(
   6400   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6401 /* end confdefs.h.  */
   6402 int i;
   6403 _ACEOF
   6404 if ac_fn_c_try_compile "$LINENO"
   6405 then :
   6406   xorg_cv_cc_flag_unused_command_line_argument=yes
   6407 else case e in #(
   6408   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6409 esac
   6410 fi
   6411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6412 esac
   6413 fi
   6414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6415 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6416 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6417 	CFLAGS="$xorg_testset_save_CFLAGS"
   6418 fi
   6419 
   6420 found="no"
   6421 
   6422 	if test $found = "no" ; then
   6423 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6425 		fi
   6426 
   6427 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6429 		fi
   6430 
   6431 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6432 
   6433 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6434 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6435 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6436 		if eval test \${$cacheid+y}
   6437 then :
   6438   printf %s "(cached) " >&6
   6439 else case e in #(
   6440   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6441 /* end confdefs.h.  */
   6442 int i;
   6443 int
   6444 main (void)
   6445 {
   6446 
   6447   ;
   6448   return 0;
   6449 }
   6450 _ACEOF
   6451 if ac_fn_c_try_link "$LINENO"
   6452 then :
   6453   eval $cacheid=yes
   6454 else case e in #(
   6455   e) eval $cacheid=no ;;
   6456 esac
   6457 fi
   6458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6459     conftest$ac_exeext conftest.$ac_ext ;;
   6460 esac
   6461 fi
   6462 
   6463 
   6464 		CFLAGS="$xorg_testset_save_CFLAGS"
   6465 
   6466 		eval supported=\$$cacheid
   6467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6468 printf "%s\n" "$supported" >&6; }
   6469 		if test "$supported" = "yes" ; then
   6470 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6471 			found="yes"
   6472 		fi
   6473 	fi
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 # This chunk adds additional warnings that could catch undesired effects.
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 xorg_testset_save_CFLAGS="$CFLAGS"
   6494 
   6495 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6496 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6497 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6498 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6499 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6500 then :
   6501   printf %s "(cached) " >&6
   6502 else case e in #(
   6503   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6504 /* end confdefs.h.  */
   6505 int i;
   6506 _ACEOF
   6507 if ac_fn_c_try_compile "$LINENO"
   6508 then :
   6509   xorg_cv_cc_flag_unknown_warning_option=yes
   6510 else case e in #(
   6511   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6512 esac
   6513 fi
   6514 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6515 esac
   6516 fi
   6517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6518 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6519 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6520 	CFLAGS="$xorg_testset_save_CFLAGS"
   6521 fi
   6522 
   6523 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6524 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6525 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6526 	fi
   6527 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6528 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6529 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6530 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6531 then :
   6532   printf %s "(cached) " >&6
   6533 else case e in #(
   6534   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6535 /* end confdefs.h.  */
   6536 int i;
   6537 _ACEOF
   6538 if ac_fn_c_try_compile "$LINENO"
   6539 then :
   6540   xorg_cv_cc_flag_unused_command_line_argument=yes
   6541 else case e in #(
   6542   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6543 esac
   6544 fi
   6545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6546 esac
   6547 fi
   6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6549 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6551 	CFLAGS="$xorg_testset_save_CFLAGS"
   6552 fi
   6553 
   6554 found="no"
   6555 
   6556 	if test $found = "no" ; then
   6557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6559 		fi
   6560 
   6561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6563 		fi
   6564 
   6565 		CFLAGS="$CFLAGS -Wunused"
   6566 
   6567 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6568 printf %s "checking if $CC supports -Wunused... " >&6; }
   6569 		cacheid=xorg_cv_cc_flag__Wunused
   6570 		if eval test \${$cacheid+y}
   6571 then :
   6572   printf %s "(cached) " >&6
   6573 else case e in #(
   6574   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6575 /* end confdefs.h.  */
   6576 int i;
   6577 int
   6578 main (void)
   6579 {
   6580 
   6581   ;
   6582   return 0;
   6583 }
   6584 _ACEOF
   6585 if ac_fn_c_try_link "$LINENO"
   6586 then :
   6587   eval $cacheid=yes
   6588 else case e in #(
   6589   e) eval $cacheid=no ;;
   6590 esac
   6591 fi
   6592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6593     conftest$ac_exeext conftest.$ac_ext ;;
   6594 esac
   6595 fi
   6596 
   6597 
   6598 		CFLAGS="$xorg_testset_save_CFLAGS"
   6599 
   6600 		eval supported=\$$cacheid
   6601 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6602 printf "%s\n" "$supported" >&6; }
   6603 		if test "$supported" = "yes" ; then
   6604 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6605 			found="yes"
   6606 		fi
   6607 	fi
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 xorg_testset_save_CFLAGS="$CFLAGS"
   6624 
   6625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6628 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6629 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6630 then :
   6631   printf %s "(cached) " >&6
   6632 else case e in #(
   6633   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6634 /* end confdefs.h.  */
   6635 int i;
   6636 _ACEOF
   6637 if ac_fn_c_try_compile "$LINENO"
   6638 then :
   6639   xorg_cv_cc_flag_unknown_warning_option=yes
   6640 else case e in #(
   6641   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6642 esac
   6643 fi
   6644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6645 esac
   6646 fi
   6647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6648 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6650 	CFLAGS="$xorg_testset_save_CFLAGS"
   6651 fi
   6652 
   6653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6656 	fi
   6657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6658 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6659 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6660 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6661 then :
   6662   printf %s "(cached) " >&6
   6663 else case e in #(
   6664   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6665 /* end confdefs.h.  */
   6666 int i;
   6667 _ACEOF
   6668 if ac_fn_c_try_compile "$LINENO"
   6669 then :
   6670   xorg_cv_cc_flag_unused_command_line_argument=yes
   6671 else case e in #(
   6672   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6673 esac
   6674 fi
   6675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6676 esac
   6677 fi
   6678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6679 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6680 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6681 	CFLAGS="$xorg_testset_save_CFLAGS"
   6682 fi
   6683 
   6684 found="no"
   6685 
   6686 	if test $found = "no" ; then
   6687 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6688 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6689 		fi
   6690 
   6691 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6692 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6693 		fi
   6694 
   6695 		CFLAGS="$CFLAGS -Wuninitialized"
   6696 
   6697 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6698 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6699 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6700 		if eval test \${$cacheid+y}
   6701 then :
   6702   printf %s "(cached) " >&6
   6703 else case e in #(
   6704   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6705 /* end confdefs.h.  */
   6706 int i;
   6707 int
   6708 main (void)
   6709 {
   6710 
   6711   ;
   6712   return 0;
   6713 }
   6714 _ACEOF
   6715 if ac_fn_c_try_link "$LINENO"
   6716 then :
   6717   eval $cacheid=yes
   6718 else case e in #(
   6719   e) eval $cacheid=no ;;
   6720 esac
   6721 fi
   6722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6723     conftest$ac_exeext conftest.$ac_ext ;;
   6724 esac
   6725 fi
   6726 
   6727 
   6728 		CFLAGS="$xorg_testset_save_CFLAGS"
   6729 
   6730 		eval supported=\$$cacheid
   6731 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6732 printf "%s\n" "$supported" >&6; }
   6733 		if test "$supported" = "yes" ; then
   6734 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6735 			found="yes"
   6736 		fi
   6737 	fi
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 xorg_testset_save_CFLAGS="$CFLAGS"
   6754 
   6755 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6756 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6757 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6758 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6759 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6760 then :
   6761   printf %s "(cached) " >&6
   6762 else case e in #(
   6763   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6764 /* end confdefs.h.  */
   6765 int i;
   6766 _ACEOF
   6767 if ac_fn_c_try_compile "$LINENO"
   6768 then :
   6769   xorg_cv_cc_flag_unknown_warning_option=yes
   6770 else case e in #(
   6771   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6772 esac
   6773 fi
   6774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6775 esac
   6776 fi
   6777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6778 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6779 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6780 	CFLAGS="$xorg_testset_save_CFLAGS"
   6781 fi
   6782 
   6783 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6784 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6785 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6786 	fi
   6787 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6788 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6789 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6790 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6791 then :
   6792   printf %s "(cached) " >&6
   6793 else case e in #(
   6794   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6795 /* end confdefs.h.  */
   6796 int i;
   6797 _ACEOF
   6798 if ac_fn_c_try_compile "$LINENO"
   6799 then :
   6800   xorg_cv_cc_flag_unused_command_line_argument=yes
   6801 else case e in #(
   6802   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6803 esac
   6804 fi
   6805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6806 esac
   6807 fi
   6808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6809 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6810 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6811 	CFLAGS="$xorg_testset_save_CFLAGS"
   6812 fi
   6813 
   6814 found="no"
   6815 
   6816 	if test $found = "no" ; then
   6817 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6818 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6819 		fi
   6820 
   6821 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6822 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6823 		fi
   6824 
   6825 		CFLAGS="$CFLAGS -Wshadow"
   6826 
   6827 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6828 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6829 		cacheid=xorg_cv_cc_flag__Wshadow
   6830 		if eval test \${$cacheid+y}
   6831 then :
   6832   printf %s "(cached) " >&6
   6833 else case e in #(
   6834   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6835 /* end confdefs.h.  */
   6836 int i;
   6837 int
   6838 main (void)
   6839 {
   6840 
   6841   ;
   6842   return 0;
   6843 }
   6844 _ACEOF
   6845 if ac_fn_c_try_link "$LINENO"
   6846 then :
   6847   eval $cacheid=yes
   6848 else case e in #(
   6849   e) eval $cacheid=no ;;
   6850 esac
   6851 fi
   6852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6853     conftest$ac_exeext conftest.$ac_ext ;;
   6854 esac
   6855 fi
   6856 
   6857 
   6858 		CFLAGS="$xorg_testset_save_CFLAGS"
   6859 
   6860 		eval supported=\$$cacheid
   6861 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6862 printf "%s\n" "$supported" >&6; }
   6863 		if test "$supported" = "yes" ; then
   6864 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6865 			found="yes"
   6866 		fi
   6867 	fi
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 xorg_testset_save_CFLAGS="$CFLAGS"
   6884 
   6885 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6886 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6887 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6888 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6889 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6890 then :
   6891   printf %s "(cached) " >&6
   6892 else case e in #(
   6893   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6894 /* end confdefs.h.  */
   6895 int i;
   6896 _ACEOF
   6897 if ac_fn_c_try_compile "$LINENO"
   6898 then :
   6899   xorg_cv_cc_flag_unknown_warning_option=yes
   6900 else case e in #(
   6901   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6902 esac
   6903 fi
   6904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6905 esac
   6906 fi
   6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6908 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6909 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6910 	CFLAGS="$xorg_testset_save_CFLAGS"
   6911 fi
   6912 
   6913 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6914 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6915 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6916 	fi
   6917 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6918 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6919 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6920 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6921 then :
   6922   printf %s "(cached) " >&6
   6923 else case e in #(
   6924   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6925 /* end confdefs.h.  */
   6926 int i;
   6927 _ACEOF
   6928 if ac_fn_c_try_compile "$LINENO"
   6929 then :
   6930   xorg_cv_cc_flag_unused_command_line_argument=yes
   6931 else case e in #(
   6932   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6933 esac
   6934 fi
   6935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6936 esac
   6937 fi
   6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6939 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6940 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6941 	CFLAGS="$xorg_testset_save_CFLAGS"
   6942 fi
   6943 
   6944 found="no"
   6945 
   6946 	if test $found = "no" ; then
   6947 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6948 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6949 		fi
   6950 
   6951 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6952 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6953 		fi
   6954 
   6955 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6956 
   6957 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6958 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6959 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6960 		if eval test \${$cacheid+y}
   6961 then :
   6962   printf %s "(cached) " >&6
   6963 else case e in #(
   6964   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6965 /* end confdefs.h.  */
   6966 int i;
   6967 int
   6968 main (void)
   6969 {
   6970 
   6971   ;
   6972   return 0;
   6973 }
   6974 _ACEOF
   6975 if ac_fn_c_try_link "$LINENO"
   6976 then :
   6977   eval $cacheid=yes
   6978 else case e in #(
   6979   e) eval $cacheid=no ;;
   6980 esac
   6981 fi
   6982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6983     conftest$ac_exeext conftest.$ac_ext ;;
   6984 esac
   6985 fi
   6986 
   6987 
   6988 		CFLAGS="$xorg_testset_save_CFLAGS"
   6989 
   6990 		eval supported=\$$cacheid
   6991 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6992 printf "%s\n" "$supported" >&6; }
   6993 		if test "$supported" = "yes" ; then
   6994 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6995 			found="yes"
   6996 		fi
   6997 	fi
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 xorg_testset_save_CFLAGS="$CFLAGS"
   7014 
   7015 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7016 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7018 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7019 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7020 then :
   7021   printf %s "(cached) " >&6
   7022 else case e in #(
   7023   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7024 /* end confdefs.h.  */
   7025 int i;
   7026 _ACEOF
   7027 if ac_fn_c_try_compile "$LINENO"
   7028 then :
   7029   xorg_cv_cc_flag_unknown_warning_option=yes
   7030 else case e in #(
   7031   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7032 esac
   7033 fi
   7034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7035 esac
   7036 fi
   7037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7038 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7039 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7040 	CFLAGS="$xorg_testset_save_CFLAGS"
   7041 fi
   7042 
   7043 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7044 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7045 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7046 	fi
   7047 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7049 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7050 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7051 then :
   7052   printf %s "(cached) " >&6
   7053 else case e in #(
   7054   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7055 /* end confdefs.h.  */
   7056 int i;
   7057 _ACEOF
   7058 if ac_fn_c_try_compile "$LINENO"
   7059 then :
   7060   xorg_cv_cc_flag_unused_command_line_argument=yes
   7061 else case e in #(
   7062   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7063 esac
   7064 fi
   7065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7066 esac
   7067 fi
   7068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7069 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7071 	CFLAGS="$xorg_testset_save_CFLAGS"
   7072 fi
   7073 
   7074 found="no"
   7075 
   7076 	if test $found = "no" ; then
   7077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7079 		fi
   7080 
   7081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7083 		fi
   7084 
   7085 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7086 
   7087 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7088 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7089 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7090 		if eval test \${$cacheid+y}
   7091 then :
   7092   printf %s "(cached) " >&6
   7093 else case e in #(
   7094   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7095 /* end confdefs.h.  */
   7096 int i;
   7097 int
   7098 main (void)
   7099 {
   7100 
   7101   ;
   7102   return 0;
   7103 }
   7104 _ACEOF
   7105 if ac_fn_c_try_link "$LINENO"
   7106 then :
   7107   eval $cacheid=yes
   7108 else case e in #(
   7109   e) eval $cacheid=no ;;
   7110 esac
   7111 fi
   7112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7113     conftest$ac_exeext conftest.$ac_ext ;;
   7114 esac
   7115 fi
   7116 
   7117 
   7118 		CFLAGS="$xorg_testset_save_CFLAGS"
   7119 
   7120 		eval supported=\$$cacheid
   7121 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7122 printf "%s\n" "$supported" >&6; }
   7123 		if test "$supported" = "yes" ; then
   7124 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7125 			found="yes"
   7126 		fi
   7127 	fi
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 xorg_testset_save_CFLAGS="$CFLAGS"
   7144 
   7145 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7146 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7147 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7148 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7149 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7150 then :
   7151   printf %s "(cached) " >&6
   7152 else case e in #(
   7153   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7154 /* end confdefs.h.  */
   7155 int i;
   7156 _ACEOF
   7157 if ac_fn_c_try_compile "$LINENO"
   7158 then :
   7159   xorg_cv_cc_flag_unknown_warning_option=yes
   7160 else case e in #(
   7161   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7162 esac
   7163 fi
   7164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7165 esac
   7166 fi
   7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7168 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7170 	CFLAGS="$xorg_testset_save_CFLAGS"
   7171 fi
   7172 
   7173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7176 	fi
   7177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7179 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7180 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7181 then :
   7182   printf %s "(cached) " >&6
   7183 else case e in #(
   7184   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7185 /* end confdefs.h.  */
   7186 int i;
   7187 _ACEOF
   7188 if ac_fn_c_try_compile "$LINENO"
   7189 then :
   7190   xorg_cv_cc_flag_unused_command_line_argument=yes
   7191 else case e in #(
   7192   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7193 esac
   7194 fi
   7195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7196 esac
   7197 fi
   7198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7199 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7200 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7201 	CFLAGS="$xorg_testset_save_CFLAGS"
   7202 fi
   7203 
   7204 found="no"
   7205 
   7206 	if test $found = "no" ; then
   7207 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7208 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7209 		fi
   7210 
   7211 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7212 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7213 		fi
   7214 
   7215 		CFLAGS="$CFLAGS -Wredundant-decls"
   7216 
   7217 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7218 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7219 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7220 		if eval test \${$cacheid+y}
   7221 then :
   7222   printf %s "(cached) " >&6
   7223 else case e in #(
   7224   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7225 /* end confdefs.h.  */
   7226 int i;
   7227 int
   7228 main (void)
   7229 {
   7230 
   7231   ;
   7232   return 0;
   7233 }
   7234 _ACEOF
   7235 if ac_fn_c_try_link "$LINENO"
   7236 then :
   7237   eval $cacheid=yes
   7238 else case e in #(
   7239   e) eval $cacheid=no ;;
   7240 esac
   7241 fi
   7242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7243     conftest$ac_exeext conftest.$ac_ext ;;
   7244 esac
   7245 fi
   7246 
   7247 
   7248 		CFLAGS="$xorg_testset_save_CFLAGS"
   7249 
   7250 		eval supported=\$$cacheid
   7251 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7252 printf "%s\n" "$supported" >&6; }
   7253 		if test "$supported" = "yes" ; then
   7254 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7255 			found="yes"
   7256 		fi
   7257 	fi
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 xorg_testset_save_CFLAGS="$CFLAGS"
   7274 
   7275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7277 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7278 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7279 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7280 then :
   7281   printf %s "(cached) " >&6
   7282 else case e in #(
   7283   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7284 /* end confdefs.h.  */
   7285 int i;
   7286 _ACEOF
   7287 if ac_fn_c_try_compile "$LINENO"
   7288 then :
   7289   xorg_cv_cc_flag_unknown_warning_option=yes
   7290 else case e in #(
   7291   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7292 esac
   7293 fi
   7294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7295 esac
   7296 fi
   7297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7298 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7299 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7300 	CFLAGS="$xorg_testset_save_CFLAGS"
   7301 fi
   7302 
   7303 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7304 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7305 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7306 	fi
   7307 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7308 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7309 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7310 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7311 then :
   7312   printf %s "(cached) " >&6
   7313 else case e in #(
   7314   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7315 /* end confdefs.h.  */
   7316 int i;
   7317 _ACEOF
   7318 if ac_fn_c_try_compile "$LINENO"
   7319 then :
   7320   xorg_cv_cc_flag_unused_command_line_argument=yes
   7321 else case e in #(
   7322   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7323 esac
   7324 fi
   7325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7326 esac
   7327 fi
   7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7329 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7330 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7331 	CFLAGS="$xorg_testset_save_CFLAGS"
   7332 fi
   7333 
   7334 found="no"
   7335 
   7336 	if test $found = "no" ; then
   7337 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7338 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7339 		fi
   7340 
   7341 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7342 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7343 		fi
   7344 
   7345 		CFLAGS="$CFLAGS -Wlogical-op"
   7346 
   7347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7348 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7349 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7350 		if eval test \${$cacheid+y}
   7351 then :
   7352   printf %s "(cached) " >&6
   7353 else case e in #(
   7354   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7355 /* end confdefs.h.  */
   7356 int i;
   7357 int
   7358 main (void)
   7359 {
   7360 
   7361   ;
   7362   return 0;
   7363 }
   7364 _ACEOF
   7365 if ac_fn_c_try_link "$LINENO"
   7366 then :
   7367   eval $cacheid=yes
   7368 else case e in #(
   7369   e) eval $cacheid=no ;;
   7370 esac
   7371 fi
   7372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7373     conftest$ac_exeext conftest.$ac_ext ;;
   7374 esac
   7375 fi
   7376 
   7377 
   7378 		CFLAGS="$xorg_testset_save_CFLAGS"
   7379 
   7380 		eval supported=\$$cacheid
   7381 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7382 printf "%s\n" "$supported" >&6; }
   7383 		if test "$supported" = "yes" ; then
   7384 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7385 			found="yes"
   7386 		fi
   7387 	fi
   7388 
   7389 
   7390 
   7391 # These are currently disabled because they are noisy.  They will be enabled
   7392 # in the future once the codebase is sufficiently modernized to silence
   7393 # them.  For now, I don't want them to drown out the other warnings.
   7394 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7395 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7396 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7397 
   7398 # Turn some warnings into errors, so we don't accidentally get successful builds
   7399 # when there are problems that should be fixed.
   7400 
   7401 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 xorg_testset_save_CFLAGS="$CFLAGS"
   7416 
   7417 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7418 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7419 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7420 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7421 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7422 then :
   7423   printf %s "(cached) " >&6
   7424 else case e in #(
   7425   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7426 /* end confdefs.h.  */
   7427 int i;
   7428 _ACEOF
   7429 if ac_fn_c_try_compile "$LINENO"
   7430 then :
   7431   xorg_cv_cc_flag_unknown_warning_option=yes
   7432 else case e in #(
   7433   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7434 esac
   7435 fi
   7436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7437 esac
   7438 fi
   7439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7440 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7441 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7442 	CFLAGS="$xorg_testset_save_CFLAGS"
   7443 fi
   7444 
   7445 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7446 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7447 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7448 	fi
   7449 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7450 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7451 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7452 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7453 then :
   7454   printf %s "(cached) " >&6
   7455 else case e in #(
   7456   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7457 /* end confdefs.h.  */
   7458 int i;
   7459 _ACEOF
   7460 if ac_fn_c_try_compile "$LINENO"
   7461 then :
   7462   xorg_cv_cc_flag_unused_command_line_argument=yes
   7463 else case e in #(
   7464   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7465 esac
   7466 fi
   7467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7468 esac
   7469 fi
   7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7471 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7472 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7473 	CFLAGS="$xorg_testset_save_CFLAGS"
   7474 fi
   7475 
   7476 found="no"
   7477 
   7478 	if test $found = "no" ; then
   7479 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7481 		fi
   7482 
   7483 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7485 		fi
   7486 
   7487 		CFLAGS="$CFLAGS -Werror=implicit"
   7488 
   7489 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7490 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7491 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7492 		if eval test \${$cacheid+y}
   7493 then :
   7494   printf %s "(cached) " >&6
   7495 else case e in #(
   7496   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7497 /* end confdefs.h.  */
   7498 int i;
   7499 int
   7500 main (void)
   7501 {
   7502 
   7503   ;
   7504   return 0;
   7505 }
   7506 _ACEOF
   7507 if ac_fn_c_try_link "$LINENO"
   7508 then :
   7509   eval $cacheid=yes
   7510 else case e in #(
   7511   e) eval $cacheid=no ;;
   7512 esac
   7513 fi
   7514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7515     conftest$ac_exeext conftest.$ac_ext ;;
   7516 esac
   7517 fi
   7518 
   7519 
   7520 		CFLAGS="$xorg_testset_save_CFLAGS"
   7521 
   7522 		eval supported=\$$cacheid
   7523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7524 printf "%s\n" "$supported" >&6; }
   7525 		if test "$supported" = "yes" ; then
   7526 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7527 			found="yes"
   7528 		fi
   7529 	fi
   7530 
   7531 	if test $found = "no" ; then
   7532 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7533 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7534 		fi
   7535 
   7536 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7537 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7538 		fi
   7539 
   7540 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7541 
   7542 		{ 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
   7543 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7544 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7545 		if eval test \${$cacheid+y}
   7546 then :
   7547   printf %s "(cached) " >&6
   7548 else case e in #(
   7549   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7550 /* end confdefs.h.  */
   7551 int i;
   7552 int
   7553 main (void)
   7554 {
   7555 
   7556   ;
   7557   return 0;
   7558 }
   7559 _ACEOF
   7560 if ac_fn_c_try_link "$LINENO"
   7561 then :
   7562   eval $cacheid=yes
   7563 else case e in #(
   7564   e) eval $cacheid=no ;;
   7565 esac
   7566 fi
   7567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7568     conftest$ac_exeext conftest.$ac_ext ;;
   7569 esac
   7570 fi
   7571 
   7572 
   7573 		CFLAGS="$xorg_testset_save_CFLAGS"
   7574 
   7575 		eval supported=\$$cacheid
   7576 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7577 printf "%s\n" "$supported" >&6; }
   7578 		if test "$supported" = "yes" ; then
   7579 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7580 			found="yes"
   7581 		fi
   7582 	fi
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 xorg_testset_save_CFLAGS="$CFLAGS"
   7599 
   7600 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7601 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7602 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7603 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7604 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7605 then :
   7606   printf %s "(cached) " >&6
   7607 else case e in #(
   7608   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7609 /* end confdefs.h.  */
   7610 int i;
   7611 _ACEOF
   7612 if ac_fn_c_try_compile "$LINENO"
   7613 then :
   7614   xorg_cv_cc_flag_unknown_warning_option=yes
   7615 else case e in #(
   7616   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7617 esac
   7618 fi
   7619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7620 esac
   7621 fi
   7622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7623 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7624 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7625 	CFLAGS="$xorg_testset_save_CFLAGS"
   7626 fi
   7627 
   7628 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7629 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7630 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7631 	fi
   7632 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7633 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7634 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7635 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7636 then :
   7637   printf %s "(cached) " >&6
   7638 else case e in #(
   7639   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7640 /* end confdefs.h.  */
   7641 int i;
   7642 _ACEOF
   7643 if ac_fn_c_try_compile "$LINENO"
   7644 then :
   7645   xorg_cv_cc_flag_unused_command_line_argument=yes
   7646 else case e in #(
   7647   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7648 esac
   7649 fi
   7650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7651 esac
   7652 fi
   7653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7654 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7655 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7656 	CFLAGS="$xorg_testset_save_CFLAGS"
   7657 fi
   7658 
   7659 found="no"
   7660 
   7661 	if test $found = "no" ; then
   7662 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7663 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7664 		fi
   7665 
   7666 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7667 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7668 		fi
   7669 
   7670 		CFLAGS="$CFLAGS -Werror=nonnull"
   7671 
   7672 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7673 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7674 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7675 		if eval test \${$cacheid+y}
   7676 then :
   7677   printf %s "(cached) " >&6
   7678 else case e in #(
   7679   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7680 /* end confdefs.h.  */
   7681 int i;
   7682 int
   7683 main (void)
   7684 {
   7685 
   7686   ;
   7687   return 0;
   7688 }
   7689 _ACEOF
   7690 if ac_fn_c_try_link "$LINENO"
   7691 then :
   7692   eval $cacheid=yes
   7693 else case e in #(
   7694   e) eval $cacheid=no ;;
   7695 esac
   7696 fi
   7697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7698     conftest$ac_exeext conftest.$ac_ext ;;
   7699 esac
   7700 fi
   7701 
   7702 
   7703 		CFLAGS="$xorg_testset_save_CFLAGS"
   7704 
   7705 		eval supported=\$$cacheid
   7706 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7707 printf "%s\n" "$supported" >&6; }
   7708 		if test "$supported" = "yes" ; then
   7709 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7710 			found="yes"
   7711 		fi
   7712 	fi
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 xorg_testset_save_CFLAGS="$CFLAGS"
   7729 
   7730 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7731 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7732 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7733 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7734 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7735 then :
   7736   printf %s "(cached) " >&6
   7737 else case e in #(
   7738   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7739 /* end confdefs.h.  */
   7740 int i;
   7741 _ACEOF
   7742 if ac_fn_c_try_compile "$LINENO"
   7743 then :
   7744   xorg_cv_cc_flag_unknown_warning_option=yes
   7745 else case e in #(
   7746   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7747 esac
   7748 fi
   7749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7750 esac
   7751 fi
   7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7753 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7754 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7755 	CFLAGS="$xorg_testset_save_CFLAGS"
   7756 fi
   7757 
   7758 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7759 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7760 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7761 	fi
   7762 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7763 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7764 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7765 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7766 then :
   7767   printf %s "(cached) " >&6
   7768 else case e in #(
   7769   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7770 /* end confdefs.h.  */
   7771 int i;
   7772 _ACEOF
   7773 if ac_fn_c_try_compile "$LINENO"
   7774 then :
   7775   xorg_cv_cc_flag_unused_command_line_argument=yes
   7776 else case e in #(
   7777   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7778 esac
   7779 fi
   7780 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7781 esac
   7782 fi
   7783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7784 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7785 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7786 	CFLAGS="$xorg_testset_save_CFLAGS"
   7787 fi
   7788 
   7789 found="no"
   7790 
   7791 	if test $found = "no" ; then
   7792 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7793 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7794 		fi
   7795 
   7796 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7797 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7798 		fi
   7799 
   7800 		CFLAGS="$CFLAGS -Werror=init-self"
   7801 
   7802 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7803 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7804 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7805 		if eval test \${$cacheid+y}
   7806 then :
   7807   printf %s "(cached) " >&6
   7808 else case e in #(
   7809   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7810 /* end confdefs.h.  */
   7811 int i;
   7812 int
   7813 main (void)
   7814 {
   7815 
   7816   ;
   7817   return 0;
   7818 }
   7819 _ACEOF
   7820 if ac_fn_c_try_link "$LINENO"
   7821 then :
   7822   eval $cacheid=yes
   7823 else case e in #(
   7824   e) eval $cacheid=no ;;
   7825 esac
   7826 fi
   7827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7828     conftest$ac_exeext conftest.$ac_ext ;;
   7829 esac
   7830 fi
   7831 
   7832 
   7833 		CFLAGS="$xorg_testset_save_CFLAGS"
   7834 
   7835 		eval supported=\$$cacheid
   7836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7837 printf "%s\n" "$supported" >&6; }
   7838 		if test "$supported" = "yes" ; then
   7839 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7840 			found="yes"
   7841 		fi
   7842 	fi
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 xorg_testset_save_CFLAGS="$CFLAGS"
   7859 
   7860 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7861 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7862 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7863 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7864 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7865 then :
   7866   printf %s "(cached) " >&6
   7867 else case e in #(
   7868   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7869 /* end confdefs.h.  */
   7870 int i;
   7871 _ACEOF
   7872 if ac_fn_c_try_compile "$LINENO"
   7873 then :
   7874   xorg_cv_cc_flag_unknown_warning_option=yes
   7875 else case e in #(
   7876   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7877 esac
   7878 fi
   7879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7880 esac
   7881 fi
   7882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7883 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7884 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7885 	CFLAGS="$xorg_testset_save_CFLAGS"
   7886 fi
   7887 
   7888 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7889 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7891 	fi
   7892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7894 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7895 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7896 then :
   7897   printf %s "(cached) " >&6
   7898 else case e in #(
   7899   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7900 /* end confdefs.h.  */
   7901 int i;
   7902 _ACEOF
   7903 if ac_fn_c_try_compile "$LINENO"
   7904 then :
   7905   xorg_cv_cc_flag_unused_command_line_argument=yes
   7906 else case e in #(
   7907   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7908 esac
   7909 fi
   7910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7911 esac
   7912 fi
   7913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7914 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7915 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7916 	CFLAGS="$xorg_testset_save_CFLAGS"
   7917 fi
   7918 
   7919 found="no"
   7920 
   7921 	if test $found = "no" ; then
   7922 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7923 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7924 		fi
   7925 
   7926 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7927 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7928 		fi
   7929 
   7930 		CFLAGS="$CFLAGS -Werror=main"
   7931 
   7932 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7933 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7934 		cacheid=xorg_cv_cc_flag__Werror_main
   7935 		if eval test \${$cacheid+y}
   7936 then :
   7937   printf %s "(cached) " >&6
   7938 else case e in #(
   7939   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7940 /* end confdefs.h.  */
   7941 int i;
   7942 int
   7943 main (void)
   7944 {
   7945 
   7946   ;
   7947   return 0;
   7948 }
   7949 _ACEOF
   7950 if ac_fn_c_try_link "$LINENO"
   7951 then :
   7952   eval $cacheid=yes
   7953 else case e in #(
   7954   e) eval $cacheid=no ;;
   7955 esac
   7956 fi
   7957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7958     conftest$ac_exeext conftest.$ac_ext ;;
   7959 esac
   7960 fi
   7961 
   7962 
   7963 		CFLAGS="$xorg_testset_save_CFLAGS"
   7964 
   7965 		eval supported=\$$cacheid
   7966 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7967 printf "%s\n" "$supported" >&6; }
   7968 		if test "$supported" = "yes" ; then
   7969 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7970 			found="yes"
   7971 		fi
   7972 	fi
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984 
   7985 
   7986 
   7987 
   7988 xorg_testset_save_CFLAGS="$CFLAGS"
   7989 
   7990 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7991 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7992 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7993 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7994 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7995 then :
   7996   printf %s "(cached) " >&6
   7997 else case e in #(
   7998   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7999 /* end confdefs.h.  */
   8000 int i;
   8001 _ACEOF
   8002 if ac_fn_c_try_compile "$LINENO"
   8003 then :
   8004   xorg_cv_cc_flag_unknown_warning_option=yes
   8005 else case e in #(
   8006   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8007 esac
   8008 fi
   8009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8010 esac
   8011 fi
   8012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8013 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8014 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8015 	CFLAGS="$xorg_testset_save_CFLAGS"
   8016 fi
   8017 
   8018 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8019 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8021 	fi
   8022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8024 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8025 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8026 then :
   8027   printf %s "(cached) " >&6
   8028 else case e in #(
   8029   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8030 /* end confdefs.h.  */
   8031 int i;
   8032 _ACEOF
   8033 if ac_fn_c_try_compile "$LINENO"
   8034 then :
   8035   xorg_cv_cc_flag_unused_command_line_argument=yes
   8036 else case e in #(
   8037   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8038 esac
   8039 fi
   8040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8041 esac
   8042 fi
   8043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8044 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8045 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8046 	CFLAGS="$xorg_testset_save_CFLAGS"
   8047 fi
   8048 
   8049 found="no"
   8050 
   8051 	if test $found = "no" ; then
   8052 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8053 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8054 		fi
   8055 
   8056 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8057 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8058 		fi
   8059 
   8060 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8061 
   8062 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8063 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8064 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8065 		if eval test \${$cacheid+y}
   8066 then :
   8067   printf %s "(cached) " >&6
   8068 else case e in #(
   8069   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8070 /* end confdefs.h.  */
   8071 int i;
   8072 int
   8073 main (void)
   8074 {
   8075 
   8076   ;
   8077   return 0;
   8078 }
   8079 _ACEOF
   8080 if ac_fn_c_try_link "$LINENO"
   8081 then :
   8082   eval $cacheid=yes
   8083 else case e in #(
   8084   e) eval $cacheid=no ;;
   8085 esac
   8086 fi
   8087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8088     conftest$ac_exeext conftest.$ac_ext ;;
   8089 esac
   8090 fi
   8091 
   8092 
   8093 		CFLAGS="$xorg_testset_save_CFLAGS"
   8094 
   8095 		eval supported=\$$cacheid
   8096 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8097 printf "%s\n" "$supported" >&6; }
   8098 		if test "$supported" = "yes" ; then
   8099 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8100 			found="yes"
   8101 		fi
   8102 	fi
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 xorg_testset_save_CFLAGS="$CFLAGS"
   8119 
   8120 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8121 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8122 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8123 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8124 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8125 then :
   8126   printf %s "(cached) " >&6
   8127 else case e in #(
   8128   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8129 /* end confdefs.h.  */
   8130 int i;
   8131 _ACEOF
   8132 if ac_fn_c_try_compile "$LINENO"
   8133 then :
   8134   xorg_cv_cc_flag_unknown_warning_option=yes
   8135 else case e in #(
   8136   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8137 esac
   8138 fi
   8139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8140 esac
   8141 fi
   8142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8143 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8144 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8145 	CFLAGS="$xorg_testset_save_CFLAGS"
   8146 fi
   8147 
   8148 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8149 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8150 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8151 	fi
   8152 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8153 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8154 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8155 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8156 then :
   8157   printf %s "(cached) " >&6
   8158 else case e in #(
   8159   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8160 /* end confdefs.h.  */
   8161 int i;
   8162 _ACEOF
   8163 if ac_fn_c_try_compile "$LINENO"
   8164 then :
   8165   xorg_cv_cc_flag_unused_command_line_argument=yes
   8166 else case e in #(
   8167   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8168 esac
   8169 fi
   8170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8171 esac
   8172 fi
   8173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8174 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8176 	CFLAGS="$xorg_testset_save_CFLAGS"
   8177 fi
   8178 
   8179 found="no"
   8180 
   8181 	if test $found = "no" ; then
   8182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8184 		fi
   8185 
   8186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8188 		fi
   8189 
   8190 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8191 
   8192 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8193 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8194 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8195 		if eval test \${$cacheid+y}
   8196 then :
   8197   printf %s "(cached) " >&6
   8198 else case e in #(
   8199   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8200 /* end confdefs.h.  */
   8201 int i;
   8202 int
   8203 main (void)
   8204 {
   8205 
   8206   ;
   8207   return 0;
   8208 }
   8209 _ACEOF
   8210 if ac_fn_c_try_link "$LINENO"
   8211 then :
   8212   eval $cacheid=yes
   8213 else case e in #(
   8214   e) eval $cacheid=no ;;
   8215 esac
   8216 fi
   8217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8218     conftest$ac_exeext conftest.$ac_ext ;;
   8219 esac
   8220 fi
   8221 
   8222 
   8223 		CFLAGS="$xorg_testset_save_CFLAGS"
   8224 
   8225 		eval supported=\$$cacheid
   8226 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8227 printf "%s\n" "$supported" >&6; }
   8228 		if test "$supported" = "yes" ; then
   8229 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8230 			found="yes"
   8231 		fi
   8232 	fi
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 
   8246 
   8247 
   8248 xorg_testset_save_CFLAGS="$CFLAGS"
   8249 
   8250 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8251 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8252 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8253 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8254 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8255 then :
   8256   printf %s "(cached) " >&6
   8257 else case e in #(
   8258   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8259 /* end confdefs.h.  */
   8260 int i;
   8261 _ACEOF
   8262 if ac_fn_c_try_compile "$LINENO"
   8263 then :
   8264   xorg_cv_cc_flag_unknown_warning_option=yes
   8265 else case e in #(
   8266   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8267 esac
   8268 fi
   8269 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8270 esac
   8271 fi
   8272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8273 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8274 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8275 	CFLAGS="$xorg_testset_save_CFLAGS"
   8276 fi
   8277 
   8278 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8279 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8280 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8281 	fi
   8282 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8283 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8284 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8285 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8286 then :
   8287   printf %s "(cached) " >&6
   8288 else case e in #(
   8289   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8290 /* end confdefs.h.  */
   8291 int i;
   8292 _ACEOF
   8293 if ac_fn_c_try_compile "$LINENO"
   8294 then :
   8295   xorg_cv_cc_flag_unused_command_line_argument=yes
   8296 else case e in #(
   8297   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8298 esac
   8299 fi
   8300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8301 esac
   8302 fi
   8303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8304 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8305 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8306 	CFLAGS="$xorg_testset_save_CFLAGS"
   8307 fi
   8308 
   8309 found="no"
   8310 
   8311 	if test $found = "no" ; then
   8312 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8313 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8314 		fi
   8315 
   8316 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8317 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8318 		fi
   8319 
   8320 		CFLAGS="$CFLAGS -Werror=return-type"
   8321 
   8322 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8323 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8324 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8325 		if eval test \${$cacheid+y}
   8326 then :
   8327   printf %s "(cached) " >&6
   8328 else case e in #(
   8329   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8330 /* end confdefs.h.  */
   8331 int i;
   8332 int
   8333 main (void)
   8334 {
   8335 
   8336   ;
   8337   return 0;
   8338 }
   8339 _ACEOF
   8340 if ac_fn_c_try_link "$LINENO"
   8341 then :
   8342   eval $cacheid=yes
   8343 else case e in #(
   8344   e) eval $cacheid=no ;;
   8345 esac
   8346 fi
   8347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8348     conftest$ac_exeext conftest.$ac_ext ;;
   8349 esac
   8350 fi
   8351 
   8352 
   8353 		CFLAGS="$xorg_testset_save_CFLAGS"
   8354 
   8355 		eval supported=\$$cacheid
   8356 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8357 printf "%s\n" "$supported" >&6; }
   8358 		if test "$supported" = "yes" ; then
   8359 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8360 			found="yes"
   8361 		fi
   8362 	fi
   8363 
   8364 	if test $found = "no" ; then
   8365 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8366 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8367 		fi
   8368 
   8369 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8370 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8371 		fi
   8372 
   8373 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8374 
   8375 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8376 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8377 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8378 		if eval test \${$cacheid+y}
   8379 then :
   8380   printf %s "(cached) " >&6
   8381 else case e in #(
   8382   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8383 /* end confdefs.h.  */
   8384 int i;
   8385 int
   8386 main (void)
   8387 {
   8388 
   8389   ;
   8390   return 0;
   8391 }
   8392 _ACEOF
   8393 if ac_fn_c_try_link "$LINENO"
   8394 then :
   8395   eval $cacheid=yes
   8396 else case e in #(
   8397   e) eval $cacheid=no ;;
   8398 esac
   8399 fi
   8400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8401     conftest$ac_exeext conftest.$ac_ext ;;
   8402 esac
   8403 fi
   8404 
   8405 
   8406 		CFLAGS="$xorg_testset_save_CFLAGS"
   8407 
   8408 		eval supported=\$$cacheid
   8409 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8410 printf "%s\n" "$supported" >&6; }
   8411 		if test "$supported" = "yes" ; then
   8412 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8413 			found="yes"
   8414 		fi
   8415 	fi
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 xorg_testset_save_CFLAGS="$CFLAGS"
   8432 
   8433 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8434 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8435 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8436 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8437 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8438 then :
   8439   printf %s "(cached) " >&6
   8440 else case e in #(
   8441   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8442 /* end confdefs.h.  */
   8443 int i;
   8444 _ACEOF
   8445 if ac_fn_c_try_compile "$LINENO"
   8446 then :
   8447   xorg_cv_cc_flag_unknown_warning_option=yes
   8448 else case e in #(
   8449   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8450 esac
   8451 fi
   8452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8453 esac
   8454 fi
   8455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8456 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8457 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8458 	CFLAGS="$xorg_testset_save_CFLAGS"
   8459 fi
   8460 
   8461 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8462 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8463 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8464 	fi
   8465 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8466 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8467 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8468 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8469 then :
   8470   printf %s "(cached) " >&6
   8471 else case e in #(
   8472   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8473 /* end confdefs.h.  */
   8474 int i;
   8475 _ACEOF
   8476 if ac_fn_c_try_compile "$LINENO"
   8477 then :
   8478   xorg_cv_cc_flag_unused_command_line_argument=yes
   8479 else case e in #(
   8480   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8481 esac
   8482 fi
   8483 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8484 esac
   8485 fi
   8486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8487 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8488 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8489 	CFLAGS="$xorg_testset_save_CFLAGS"
   8490 fi
   8491 
   8492 found="no"
   8493 
   8494 	if test $found = "no" ; then
   8495 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8496 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8497 		fi
   8498 
   8499 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8500 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8501 		fi
   8502 
   8503 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8504 
   8505 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8506 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8507 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8508 		if eval test \${$cacheid+y}
   8509 then :
   8510   printf %s "(cached) " >&6
   8511 else case e in #(
   8512   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8513 /* end confdefs.h.  */
   8514 int i;
   8515 int
   8516 main (void)
   8517 {
   8518 
   8519   ;
   8520   return 0;
   8521 }
   8522 _ACEOF
   8523 if ac_fn_c_try_link "$LINENO"
   8524 then :
   8525   eval $cacheid=yes
   8526 else case e in #(
   8527   e) eval $cacheid=no ;;
   8528 esac
   8529 fi
   8530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8531     conftest$ac_exeext conftest.$ac_ext ;;
   8532 esac
   8533 fi
   8534 
   8535 
   8536 		CFLAGS="$xorg_testset_save_CFLAGS"
   8537 
   8538 		eval supported=\$$cacheid
   8539 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8540 printf "%s\n" "$supported" >&6; }
   8541 		if test "$supported" = "yes" ; then
   8542 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8543 			found="yes"
   8544 		fi
   8545 	fi
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 xorg_testset_save_CFLAGS="$CFLAGS"
   8562 
   8563 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8564 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8565 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8566 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8567 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8568 then :
   8569   printf %s "(cached) " >&6
   8570 else case e in #(
   8571   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8572 /* end confdefs.h.  */
   8573 int i;
   8574 _ACEOF
   8575 if ac_fn_c_try_compile "$LINENO"
   8576 then :
   8577   xorg_cv_cc_flag_unknown_warning_option=yes
   8578 else case e in #(
   8579   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8580 esac
   8581 fi
   8582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8583 esac
   8584 fi
   8585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8586 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8587 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8588 	CFLAGS="$xorg_testset_save_CFLAGS"
   8589 fi
   8590 
   8591 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8592 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8593 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8594 	fi
   8595 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8596 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8597 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8598 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8599 then :
   8600   printf %s "(cached) " >&6
   8601 else case e in #(
   8602   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8603 /* end confdefs.h.  */
   8604 int i;
   8605 _ACEOF
   8606 if ac_fn_c_try_compile "$LINENO"
   8607 then :
   8608   xorg_cv_cc_flag_unused_command_line_argument=yes
   8609 else case e in #(
   8610   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8611 esac
   8612 fi
   8613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8614 esac
   8615 fi
   8616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8617 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8618 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8619 	CFLAGS="$xorg_testset_save_CFLAGS"
   8620 fi
   8621 
   8622 found="no"
   8623 
   8624 	if test $found = "no" ; then
   8625 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8627 		fi
   8628 
   8629 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8631 		fi
   8632 
   8633 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8634 
   8635 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8636 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8637 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8638 		if eval test \${$cacheid+y}
   8639 then :
   8640   printf %s "(cached) " >&6
   8641 else case e in #(
   8642   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8643 /* end confdefs.h.  */
   8644 int i;
   8645 int
   8646 main (void)
   8647 {
   8648 
   8649   ;
   8650   return 0;
   8651 }
   8652 _ACEOF
   8653 if ac_fn_c_try_link "$LINENO"
   8654 then :
   8655   eval $cacheid=yes
   8656 else case e in #(
   8657   e) eval $cacheid=no ;;
   8658 esac
   8659 fi
   8660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8661     conftest$ac_exeext conftest.$ac_ext ;;
   8662 esac
   8663 fi
   8664 
   8665 
   8666 		CFLAGS="$xorg_testset_save_CFLAGS"
   8667 
   8668 		eval supported=\$$cacheid
   8669 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8670 printf "%s\n" "$supported" >&6; }
   8671 		if test "$supported" = "yes" ; then
   8672 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8673 			found="yes"
   8674 		fi
   8675 	fi
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 xorg_testset_save_CFLAGS="$CFLAGS"
   8692 
   8693 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8694 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8695 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8696 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8697 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8698 then :
   8699   printf %s "(cached) " >&6
   8700 else case e in #(
   8701   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8702 /* end confdefs.h.  */
   8703 int i;
   8704 _ACEOF
   8705 if ac_fn_c_try_compile "$LINENO"
   8706 then :
   8707   xorg_cv_cc_flag_unknown_warning_option=yes
   8708 else case e in #(
   8709   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8710 esac
   8711 fi
   8712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8713 esac
   8714 fi
   8715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8716 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8717 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8718 	CFLAGS="$xorg_testset_save_CFLAGS"
   8719 fi
   8720 
   8721 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8722 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8723 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8724 	fi
   8725 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8726 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8727 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8728 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8729 then :
   8730   printf %s "(cached) " >&6
   8731 else case e in #(
   8732   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8733 /* end confdefs.h.  */
   8734 int i;
   8735 _ACEOF
   8736 if ac_fn_c_try_compile "$LINENO"
   8737 then :
   8738   xorg_cv_cc_flag_unused_command_line_argument=yes
   8739 else case e in #(
   8740   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8741 esac
   8742 fi
   8743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8744 esac
   8745 fi
   8746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8747 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8749 	CFLAGS="$xorg_testset_save_CFLAGS"
   8750 fi
   8751 
   8752 found="no"
   8753 
   8754 	if test $found = "no" ; then
   8755 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8757 		fi
   8758 
   8759 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8761 		fi
   8762 
   8763 		CFLAGS="$CFLAGS -Werror=write-strings"
   8764 
   8765 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8766 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8767 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8768 		if eval test \${$cacheid+y}
   8769 then :
   8770   printf %s "(cached) " >&6
   8771 else case e in #(
   8772   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8773 /* end confdefs.h.  */
   8774 int i;
   8775 int
   8776 main (void)
   8777 {
   8778 
   8779   ;
   8780   return 0;
   8781 }
   8782 _ACEOF
   8783 if ac_fn_c_try_link "$LINENO"
   8784 then :
   8785   eval $cacheid=yes
   8786 else case e in #(
   8787   e) eval $cacheid=no ;;
   8788 esac
   8789 fi
   8790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8791     conftest$ac_exeext conftest.$ac_ext ;;
   8792 esac
   8793 fi
   8794 
   8795 
   8796 		CFLAGS="$xorg_testset_save_CFLAGS"
   8797 
   8798 		eval supported=\$$cacheid
   8799 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8800 printf "%s\n" "$supported" >&6; }
   8801 		if test "$supported" = "yes" ; then
   8802 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8803 			found="yes"
   8804 		fi
   8805 	fi
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 xorg_testset_save_CFLAGS="$CFLAGS"
   8822 
   8823 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8825 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8826 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8827 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8828 then :
   8829   printf %s "(cached) " >&6
   8830 else case e in #(
   8831   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8832 /* end confdefs.h.  */
   8833 int i;
   8834 _ACEOF
   8835 if ac_fn_c_try_compile "$LINENO"
   8836 then :
   8837   xorg_cv_cc_flag_unknown_warning_option=yes
   8838 else case e in #(
   8839   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8840 esac
   8841 fi
   8842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8843 esac
   8844 fi
   8845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8846 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8847 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8848 	CFLAGS="$xorg_testset_save_CFLAGS"
   8849 fi
   8850 
   8851 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8852 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8853 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8854 	fi
   8855 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8856 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8857 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8858 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8859 then :
   8860   printf %s "(cached) " >&6
   8861 else case e in #(
   8862   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8863 /* end confdefs.h.  */
   8864 int i;
   8865 _ACEOF
   8866 if ac_fn_c_try_compile "$LINENO"
   8867 then :
   8868   xorg_cv_cc_flag_unused_command_line_argument=yes
   8869 else case e in #(
   8870   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8871 esac
   8872 fi
   8873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8874 esac
   8875 fi
   8876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8877 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8878 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8879 	CFLAGS="$xorg_testset_save_CFLAGS"
   8880 fi
   8881 
   8882 found="no"
   8883 
   8884 	if test $found = "no" ; then
   8885 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8887 		fi
   8888 
   8889 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8891 		fi
   8892 
   8893 		CFLAGS="$CFLAGS -Werror=address"
   8894 
   8895 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8896 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8897 		cacheid=xorg_cv_cc_flag__Werror_address
   8898 		if eval test \${$cacheid+y}
   8899 then :
   8900   printf %s "(cached) " >&6
   8901 else case e in #(
   8902   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8903 /* end confdefs.h.  */
   8904 int i;
   8905 int
   8906 main (void)
   8907 {
   8908 
   8909   ;
   8910   return 0;
   8911 }
   8912 _ACEOF
   8913 if ac_fn_c_try_link "$LINENO"
   8914 then :
   8915   eval $cacheid=yes
   8916 else case e in #(
   8917   e) eval $cacheid=no ;;
   8918 esac
   8919 fi
   8920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8921     conftest$ac_exeext conftest.$ac_ext ;;
   8922 esac
   8923 fi
   8924 
   8925 
   8926 		CFLAGS="$xorg_testset_save_CFLAGS"
   8927 
   8928 		eval supported=\$$cacheid
   8929 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8930 printf "%s\n" "$supported" >&6; }
   8931 		if test "$supported" = "yes" ; then
   8932 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8933 			found="yes"
   8934 		fi
   8935 	fi
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 xorg_testset_save_CFLAGS="$CFLAGS"
   8952 
   8953 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8954 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8955 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8956 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8957 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8958 then :
   8959   printf %s "(cached) " >&6
   8960 else case e in #(
   8961   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8962 /* end confdefs.h.  */
   8963 int i;
   8964 _ACEOF
   8965 if ac_fn_c_try_compile "$LINENO"
   8966 then :
   8967   xorg_cv_cc_flag_unknown_warning_option=yes
   8968 else case e in #(
   8969   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8970 esac
   8971 fi
   8972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8973 esac
   8974 fi
   8975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8976 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8977 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8978 	CFLAGS="$xorg_testset_save_CFLAGS"
   8979 fi
   8980 
   8981 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8982 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8983 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8984 	fi
   8985 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8986 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8987 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8988 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8989 then :
   8990   printf %s "(cached) " >&6
   8991 else case e in #(
   8992   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8993 /* end confdefs.h.  */
   8994 int i;
   8995 _ACEOF
   8996 if ac_fn_c_try_compile "$LINENO"
   8997 then :
   8998   xorg_cv_cc_flag_unused_command_line_argument=yes
   8999 else case e in #(
   9000   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9001 esac
   9002 fi
   9003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9004 esac
   9005 fi
   9006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9007 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9009 	CFLAGS="$xorg_testset_save_CFLAGS"
   9010 fi
   9011 
   9012 found="no"
   9013 
   9014 	if test $found = "no" ; then
   9015 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9017 		fi
   9018 
   9019 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9021 		fi
   9022 
   9023 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9024 
   9025 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9026 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9027 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9028 		if eval test \${$cacheid+y}
   9029 then :
   9030   printf %s "(cached) " >&6
   9031 else case e in #(
   9032   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9033 /* end confdefs.h.  */
   9034 int i;
   9035 int
   9036 main (void)
   9037 {
   9038 
   9039   ;
   9040   return 0;
   9041 }
   9042 _ACEOF
   9043 if ac_fn_c_try_link "$LINENO"
   9044 then :
   9045   eval $cacheid=yes
   9046 else case e in #(
   9047   e) eval $cacheid=no ;;
   9048 esac
   9049 fi
   9050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9051     conftest$ac_exeext conftest.$ac_ext ;;
   9052 esac
   9053 fi
   9054 
   9055 
   9056 		CFLAGS="$xorg_testset_save_CFLAGS"
   9057 
   9058 		eval supported=\$$cacheid
   9059 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9060 printf "%s\n" "$supported" >&6; }
   9061 		if test "$supported" = "yes" ; then
   9062 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9063 			found="yes"
   9064 		fi
   9065 	fi
   9066 
   9067 	if test $found = "no" ; then
   9068 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9069 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9070 		fi
   9071 
   9072 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9073 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9074 		fi
   9075 
   9076 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9077 
   9078 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9079 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9080 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9081 		if eval test \${$cacheid+y}
   9082 then :
   9083   printf %s "(cached) " >&6
   9084 else case e in #(
   9085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9086 /* end confdefs.h.  */
   9087 int i;
   9088 int
   9089 main (void)
   9090 {
   9091 
   9092   ;
   9093   return 0;
   9094 }
   9095 _ACEOF
   9096 if ac_fn_c_try_link "$LINENO"
   9097 then :
   9098   eval $cacheid=yes
   9099 else case e in #(
   9100   e) eval $cacheid=no ;;
   9101 esac
   9102 fi
   9103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9104     conftest$ac_exeext conftest.$ac_ext ;;
   9105 esac
   9106 fi
   9107 
   9108 
   9109 		CFLAGS="$xorg_testset_save_CFLAGS"
   9110 
   9111 		eval supported=\$$cacheid
   9112 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9113 printf "%s\n" "$supported" >&6; }
   9114 		if test "$supported" = "yes" ; then
   9115 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9116 			found="yes"
   9117 		fi
   9118 	fi
   9119 
   9120 
   9121 
   9122 
   9123 
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 xorg_testset_save_CFLAGS="$CFLAGS"
   9135 
   9136 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9137 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9138 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9139 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9140 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9141 then :
   9142   printf %s "(cached) " >&6
   9143 else case e in #(
   9144   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9145 /* end confdefs.h.  */
   9146 int i;
   9147 _ACEOF
   9148 if ac_fn_c_try_compile "$LINENO"
   9149 then :
   9150   xorg_cv_cc_flag_unknown_warning_option=yes
   9151 else case e in #(
   9152   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9153 esac
   9154 fi
   9155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9156 esac
   9157 fi
   9158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9159 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9160 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9161 	CFLAGS="$xorg_testset_save_CFLAGS"
   9162 fi
   9163 
   9164 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9165 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9166 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9167 	fi
   9168 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9169 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9170 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9171 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9172 then :
   9173   printf %s "(cached) " >&6
   9174 else case e in #(
   9175   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9176 /* end confdefs.h.  */
   9177 int i;
   9178 _ACEOF
   9179 if ac_fn_c_try_compile "$LINENO"
   9180 then :
   9181   xorg_cv_cc_flag_unused_command_line_argument=yes
   9182 else case e in #(
   9183   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9184 esac
   9185 fi
   9186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9187 esac
   9188 fi
   9189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9190 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9192 	CFLAGS="$xorg_testset_save_CFLAGS"
   9193 fi
   9194 
   9195 found="no"
   9196 
   9197 	if test $found = "no" ; then
   9198 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9200 		fi
   9201 
   9202 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9204 		fi
   9205 
   9206 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9207 
   9208 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9209 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9210 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9211 		if eval test \${$cacheid+y}
   9212 then :
   9213   printf %s "(cached) " >&6
   9214 else case e in #(
   9215   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9216 /* end confdefs.h.  */
   9217 int i;
   9218 int
   9219 main (void)
   9220 {
   9221 
   9222   ;
   9223   return 0;
   9224 }
   9225 _ACEOF
   9226 if ac_fn_c_try_link "$LINENO"
   9227 then :
   9228   eval $cacheid=yes
   9229 else case e in #(
   9230   e) eval $cacheid=no ;;
   9231 esac
   9232 fi
   9233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9234     conftest$ac_exeext conftest.$ac_ext ;;
   9235 esac
   9236 fi
   9237 
   9238 
   9239 		CFLAGS="$xorg_testset_save_CFLAGS"
   9240 
   9241 		eval supported=\$$cacheid
   9242 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9243 printf "%s\n" "$supported" >&6; }
   9244 		if test "$supported" = "yes" ; then
   9245 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9246 			found="yes"
   9247 		fi
   9248 	fi
   9249 
   9250  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9251 else
   9252 { 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
   9253 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;}
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 xorg_testset_save_CFLAGS="$CFLAGS"
   9268 
   9269 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9270 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9271 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9272 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9273 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9274 then :
   9275   printf %s "(cached) " >&6
   9276 else case e in #(
   9277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9278 /* end confdefs.h.  */
   9279 int i;
   9280 _ACEOF
   9281 if ac_fn_c_try_compile "$LINENO"
   9282 then :
   9283   xorg_cv_cc_flag_unknown_warning_option=yes
   9284 else case e in #(
   9285   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9286 esac
   9287 fi
   9288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9289 esac
   9290 fi
   9291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9292 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9294 	CFLAGS="$xorg_testset_save_CFLAGS"
   9295 fi
   9296 
   9297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9300 	fi
   9301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9302 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9303 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9304 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9305 then :
   9306   printf %s "(cached) " >&6
   9307 else case e in #(
   9308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9309 /* end confdefs.h.  */
   9310 int i;
   9311 _ACEOF
   9312 if ac_fn_c_try_compile "$LINENO"
   9313 then :
   9314   xorg_cv_cc_flag_unused_command_line_argument=yes
   9315 else case e in #(
   9316   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9317 esac
   9318 fi
   9319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9320 esac
   9321 fi
   9322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9323 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9325 	CFLAGS="$xorg_testset_save_CFLAGS"
   9326 fi
   9327 
   9328 found="no"
   9329 
   9330 	if test $found = "no" ; then
   9331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9333 		fi
   9334 
   9335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9337 		fi
   9338 
   9339 		CFLAGS="$CFLAGS -Wimplicit"
   9340 
   9341 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9342 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9343 		cacheid=xorg_cv_cc_flag__Wimplicit
   9344 		if eval test \${$cacheid+y}
   9345 then :
   9346   printf %s "(cached) " >&6
   9347 else case e in #(
   9348   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9349 /* end confdefs.h.  */
   9350 int i;
   9351 int
   9352 main (void)
   9353 {
   9354 
   9355   ;
   9356   return 0;
   9357 }
   9358 _ACEOF
   9359 if ac_fn_c_try_link "$LINENO"
   9360 then :
   9361   eval $cacheid=yes
   9362 else case e in #(
   9363   e) eval $cacheid=no ;;
   9364 esac
   9365 fi
   9366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9367     conftest$ac_exeext conftest.$ac_ext ;;
   9368 esac
   9369 fi
   9370 
   9371 
   9372 		CFLAGS="$xorg_testset_save_CFLAGS"
   9373 
   9374 		eval supported=\$$cacheid
   9375 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9376 printf "%s\n" "$supported" >&6; }
   9377 		if test "$supported" = "yes" ; then
   9378 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9379 			found="yes"
   9380 		fi
   9381 	fi
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 xorg_testset_save_CFLAGS="$CFLAGS"
   9398 
   9399 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9400 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9401 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9402 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9403 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9404 then :
   9405   printf %s "(cached) " >&6
   9406 else case e in #(
   9407   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9408 /* end confdefs.h.  */
   9409 int i;
   9410 _ACEOF
   9411 if ac_fn_c_try_compile "$LINENO"
   9412 then :
   9413   xorg_cv_cc_flag_unknown_warning_option=yes
   9414 else case e in #(
   9415   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9416 esac
   9417 fi
   9418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9419 esac
   9420 fi
   9421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9422 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9423 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9424 	CFLAGS="$xorg_testset_save_CFLAGS"
   9425 fi
   9426 
   9427 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9428 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9429 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9430 	fi
   9431 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9432 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9433 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9434 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9435 then :
   9436   printf %s "(cached) " >&6
   9437 else case e in #(
   9438   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9439 /* end confdefs.h.  */
   9440 int i;
   9441 _ACEOF
   9442 if ac_fn_c_try_compile "$LINENO"
   9443 then :
   9444   xorg_cv_cc_flag_unused_command_line_argument=yes
   9445 else case e in #(
   9446   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9447 esac
   9448 fi
   9449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9450 esac
   9451 fi
   9452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9453 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9454 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9455 	CFLAGS="$xorg_testset_save_CFLAGS"
   9456 fi
   9457 
   9458 found="no"
   9459 
   9460 	if test $found = "no" ; then
   9461 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9462 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9463 		fi
   9464 
   9465 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9466 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9467 		fi
   9468 
   9469 		CFLAGS="$CFLAGS -Wnonnull"
   9470 
   9471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9472 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9473 		cacheid=xorg_cv_cc_flag__Wnonnull
   9474 		if eval test \${$cacheid+y}
   9475 then :
   9476   printf %s "(cached) " >&6
   9477 else case e in #(
   9478   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9479 /* end confdefs.h.  */
   9480 int i;
   9481 int
   9482 main (void)
   9483 {
   9484 
   9485   ;
   9486   return 0;
   9487 }
   9488 _ACEOF
   9489 if ac_fn_c_try_link "$LINENO"
   9490 then :
   9491   eval $cacheid=yes
   9492 else case e in #(
   9493   e) eval $cacheid=no ;;
   9494 esac
   9495 fi
   9496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9497     conftest$ac_exeext conftest.$ac_ext ;;
   9498 esac
   9499 fi
   9500 
   9501 
   9502 		CFLAGS="$xorg_testset_save_CFLAGS"
   9503 
   9504 		eval supported=\$$cacheid
   9505 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9506 printf "%s\n" "$supported" >&6; }
   9507 		if test "$supported" = "yes" ; then
   9508 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9509 			found="yes"
   9510 		fi
   9511 	fi
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 xorg_testset_save_CFLAGS="$CFLAGS"
   9528 
   9529 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9530 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9531 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9532 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9533 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9534 then :
   9535   printf %s "(cached) " >&6
   9536 else case e in #(
   9537   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9538 /* end confdefs.h.  */
   9539 int i;
   9540 _ACEOF
   9541 if ac_fn_c_try_compile "$LINENO"
   9542 then :
   9543   xorg_cv_cc_flag_unknown_warning_option=yes
   9544 else case e in #(
   9545   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9546 esac
   9547 fi
   9548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9549 esac
   9550 fi
   9551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9552 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9553 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9554 	CFLAGS="$xorg_testset_save_CFLAGS"
   9555 fi
   9556 
   9557 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9558 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9559 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9560 	fi
   9561 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9562 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9563 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9564 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9565 then :
   9566   printf %s "(cached) " >&6
   9567 else case e in #(
   9568   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9569 /* end confdefs.h.  */
   9570 int i;
   9571 _ACEOF
   9572 if ac_fn_c_try_compile "$LINENO"
   9573 then :
   9574   xorg_cv_cc_flag_unused_command_line_argument=yes
   9575 else case e in #(
   9576   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9577 esac
   9578 fi
   9579 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9580 esac
   9581 fi
   9582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9583 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9584 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9585 	CFLAGS="$xorg_testset_save_CFLAGS"
   9586 fi
   9587 
   9588 found="no"
   9589 
   9590 	if test $found = "no" ; then
   9591 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9593 		fi
   9594 
   9595 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9597 		fi
   9598 
   9599 		CFLAGS="$CFLAGS -Winit-self"
   9600 
   9601 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9602 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9603 		cacheid=xorg_cv_cc_flag__Winit_self
   9604 		if eval test \${$cacheid+y}
   9605 then :
   9606   printf %s "(cached) " >&6
   9607 else case e in #(
   9608   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9609 /* end confdefs.h.  */
   9610 int i;
   9611 int
   9612 main (void)
   9613 {
   9614 
   9615   ;
   9616   return 0;
   9617 }
   9618 _ACEOF
   9619 if ac_fn_c_try_link "$LINENO"
   9620 then :
   9621   eval $cacheid=yes
   9622 else case e in #(
   9623   e) eval $cacheid=no ;;
   9624 esac
   9625 fi
   9626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9627     conftest$ac_exeext conftest.$ac_ext ;;
   9628 esac
   9629 fi
   9630 
   9631 
   9632 		CFLAGS="$xorg_testset_save_CFLAGS"
   9633 
   9634 		eval supported=\$$cacheid
   9635 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9636 printf "%s\n" "$supported" >&6; }
   9637 		if test "$supported" = "yes" ; then
   9638 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9639 			found="yes"
   9640 		fi
   9641 	fi
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 xorg_testset_save_CFLAGS="$CFLAGS"
   9658 
   9659 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9660 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9661 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9662 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9663 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9664 then :
   9665   printf %s "(cached) " >&6
   9666 else case e in #(
   9667   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9668 /* end confdefs.h.  */
   9669 int i;
   9670 _ACEOF
   9671 if ac_fn_c_try_compile "$LINENO"
   9672 then :
   9673   xorg_cv_cc_flag_unknown_warning_option=yes
   9674 else case e in #(
   9675   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9676 esac
   9677 fi
   9678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9679 esac
   9680 fi
   9681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9682 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9683 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9684 	CFLAGS="$xorg_testset_save_CFLAGS"
   9685 fi
   9686 
   9687 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9688 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9689 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9690 	fi
   9691 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9692 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9693 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9694 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9695 then :
   9696   printf %s "(cached) " >&6
   9697 else case e in #(
   9698   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9699 /* end confdefs.h.  */
   9700 int i;
   9701 _ACEOF
   9702 if ac_fn_c_try_compile "$LINENO"
   9703 then :
   9704   xorg_cv_cc_flag_unused_command_line_argument=yes
   9705 else case e in #(
   9706   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9707 esac
   9708 fi
   9709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9710 esac
   9711 fi
   9712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9713 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9714 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9715 	CFLAGS="$xorg_testset_save_CFLAGS"
   9716 fi
   9717 
   9718 found="no"
   9719 
   9720 	if test $found = "no" ; then
   9721 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9722 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9723 		fi
   9724 
   9725 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9726 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9727 		fi
   9728 
   9729 		CFLAGS="$CFLAGS -Wmain"
   9730 
   9731 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9732 printf %s "checking if $CC supports -Wmain... " >&6; }
   9733 		cacheid=xorg_cv_cc_flag__Wmain
   9734 		if eval test \${$cacheid+y}
   9735 then :
   9736   printf %s "(cached) " >&6
   9737 else case e in #(
   9738   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9739 /* end confdefs.h.  */
   9740 int i;
   9741 int
   9742 main (void)
   9743 {
   9744 
   9745   ;
   9746   return 0;
   9747 }
   9748 _ACEOF
   9749 if ac_fn_c_try_link "$LINENO"
   9750 then :
   9751   eval $cacheid=yes
   9752 else case e in #(
   9753   e) eval $cacheid=no ;;
   9754 esac
   9755 fi
   9756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9757     conftest$ac_exeext conftest.$ac_ext ;;
   9758 esac
   9759 fi
   9760 
   9761 
   9762 		CFLAGS="$xorg_testset_save_CFLAGS"
   9763 
   9764 		eval supported=\$$cacheid
   9765 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9766 printf "%s\n" "$supported" >&6; }
   9767 		if test "$supported" = "yes" ; then
   9768 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9769 			found="yes"
   9770 		fi
   9771 	fi
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 xorg_testset_save_CFLAGS="$CFLAGS"
   9788 
   9789 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9790 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9791 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9792 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9793 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9794 then :
   9795   printf %s "(cached) " >&6
   9796 else case e in #(
   9797   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9798 /* end confdefs.h.  */
   9799 int i;
   9800 _ACEOF
   9801 if ac_fn_c_try_compile "$LINENO"
   9802 then :
   9803   xorg_cv_cc_flag_unknown_warning_option=yes
   9804 else case e in #(
   9805   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9806 esac
   9807 fi
   9808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9809 esac
   9810 fi
   9811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9812 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9813 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9814 	CFLAGS="$xorg_testset_save_CFLAGS"
   9815 fi
   9816 
   9817 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9818 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9819 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9820 	fi
   9821 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9822 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9823 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9824 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9825 then :
   9826   printf %s "(cached) " >&6
   9827 else case e in #(
   9828   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9829 /* end confdefs.h.  */
   9830 int i;
   9831 _ACEOF
   9832 if ac_fn_c_try_compile "$LINENO"
   9833 then :
   9834   xorg_cv_cc_flag_unused_command_line_argument=yes
   9835 else case e in #(
   9836   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9837 esac
   9838 fi
   9839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9840 esac
   9841 fi
   9842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9843 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9844 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9845 	CFLAGS="$xorg_testset_save_CFLAGS"
   9846 fi
   9847 
   9848 found="no"
   9849 
   9850 	if test $found = "no" ; then
   9851 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9852 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9853 		fi
   9854 
   9855 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9856 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9857 		fi
   9858 
   9859 		CFLAGS="$CFLAGS -Wmissing-braces"
   9860 
   9861 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9862 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9863 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9864 		if eval test \${$cacheid+y}
   9865 then :
   9866   printf %s "(cached) " >&6
   9867 else case e in #(
   9868   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9869 /* end confdefs.h.  */
   9870 int i;
   9871 int
   9872 main (void)
   9873 {
   9874 
   9875   ;
   9876   return 0;
   9877 }
   9878 _ACEOF
   9879 if ac_fn_c_try_link "$LINENO"
   9880 then :
   9881   eval $cacheid=yes
   9882 else case e in #(
   9883   e) eval $cacheid=no ;;
   9884 esac
   9885 fi
   9886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9887     conftest$ac_exeext conftest.$ac_ext ;;
   9888 esac
   9889 fi
   9890 
   9891 
   9892 		CFLAGS="$xorg_testset_save_CFLAGS"
   9893 
   9894 		eval supported=\$$cacheid
   9895 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9896 printf "%s\n" "$supported" >&6; }
   9897 		if test "$supported" = "yes" ; then
   9898 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9899 			found="yes"
   9900 		fi
   9901 	fi
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 xorg_testset_save_CFLAGS="$CFLAGS"
   9918 
   9919 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9920 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9921 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9922 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9923 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9924 then :
   9925   printf %s "(cached) " >&6
   9926 else case e in #(
   9927   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9928 /* end confdefs.h.  */
   9929 int i;
   9930 _ACEOF
   9931 if ac_fn_c_try_compile "$LINENO"
   9932 then :
   9933   xorg_cv_cc_flag_unknown_warning_option=yes
   9934 else case e in #(
   9935   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9936 esac
   9937 fi
   9938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9939 esac
   9940 fi
   9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9942 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9943 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9944 	CFLAGS="$xorg_testset_save_CFLAGS"
   9945 fi
   9946 
   9947 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9948 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9949 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9950 	fi
   9951 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9952 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9953 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9954 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9955 then :
   9956   printf %s "(cached) " >&6
   9957 else case e in #(
   9958   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9959 /* end confdefs.h.  */
   9960 int i;
   9961 _ACEOF
   9962 if ac_fn_c_try_compile "$LINENO"
   9963 then :
   9964   xorg_cv_cc_flag_unused_command_line_argument=yes
   9965 else case e in #(
   9966   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9967 esac
   9968 fi
   9969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9970 esac
   9971 fi
   9972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9973 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9974 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9975 	CFLAGS="$xorg_testset_save_CFLAGS"
   9976 fi
   9977 
   9978 found="no"
   9979 
   9980 	if test $found = "no" ; then
   9981 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9982 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9983 		fi
   9984 
   9985 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9986 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9987 		fi
   9988 
   9989 		CFLAGS="$CFLAGS -Wsequence-point"
   9990 
   9991 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9992 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9993 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9994 		if eval test \${$cacheid+y}
   9995 then :
   9996   printf %s "(cached) " >&6
   9997 else case e in #(
   9998   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9999 /* end confdefs.h.  */
   10000 int i;
   10001 int
   10002 main (void)
   10003 {
   10004 
   10005   ;
   10006   return 0;
   10007 }
   10008 _ACEOF
   10009 if ac_fn_c_try_link "$LINENO"
   10010 then :
   10011   eval $cacheid=yes
   10012 else case e in #(
   10013   e) eval $cacheid=no ;;
   10014 esac
   10015 fi
   10016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10017     conftest$ac_exeext conftest.$ac_ext ;;
   10018 esac
   10019 fi
   10020 
   10021 
   10022 		CFLAGS="$xorg_testset_save_CFLAGS"
   10023 
   10024 		eval supported=\$$cacheid
   10025 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10026 printf "%s\n" "$supported" >&6; }
   10027 		if test "$supported" = "yes" ; then
   10028 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10029 			found="yes"
   10030 		fi
   10031 	fi
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 xorg_testset_save_CFLAGS="$CFLAGS"
   10048 
   10049 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10050 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10051 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10052 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10053 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10054 then :
   10055   printf %s "(cached) " >&6
   10056 else case e in #(
   10057   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10058 /* end confdefs.h.  */
   10059 int i;
   10060 _ACEOF
   10061 if ac_fn_c_try_compile "$LINENO"
   10062 then :
   10063   xorg_cv_cc_flag_unknown_warning_option=yes
   10064 else case e in #(
   10065   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10066 esac
   10067 fi
   10068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10069 esac
   10070 fi
   10071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10072 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10073 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10074 	CFLAGS="$xorg_testset_save_CFLAGS"
   10075 fi
   10076 
   10077 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10078 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10079 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10080 	fi
   10081 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10082 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10083 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10084 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10085 then :
   10086   printf %s "(cached) " >&6
   10087 else case e in #(
   10088   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10089 /* end confdefs.h.  */
   10090 int i;
   10091 _ACEOF
   10092 if ac_fn_c_try_compile "$LINENO"
   10093 then :
   10094   xorg_cv_cc_flag_unused_command_line_argument=yes
   10095 else case e in #(
   10096   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10097 esac
   10098 fi
   10099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10100 esac
   10101 fi
   10102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10103 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10104 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10105 	CFLAGS="$xorg_testset_save_CFLAGS"
   10106 fi
   10107 
   10108 found="no"
   10109 
   10110 	if test $found = "no" ; then
   10111 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10112 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10113 		fi
   10114 
   10115 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10116 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10117 		fi
   10118 
   10119 		CFLAGS="$CFLAGS -Wreturn-type"
   10120 
   10121 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10122 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10123 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10124 		if eval test \${$cacheid+y}
   10125 then :
   10126   printf %s "(cached) " >&6
   10127 else case e in #(
   10128   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10129 /* end confdefs.h.  */
   10130 int i;
   10131 int
   10132 main (void)
   10133 {
   10134 
   10135   ;
   10136   return 0;
   10137 }
   10138 _ACEOF
   10139 if ac_fn_c_try_link "$LINENO"
   10140 then :
   10141   eval $cacheid=yes
   10142 else case e in #(
   10143   e) eval $cacheid=no ;;
   10144 esac
   10145 fi
   10146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10147     conftest$ac_exeext conftest.$ac_ext ;;
   10148 esac
   10149 fi
   10150 
   10151 
   10152 		CFLAGS="$xorg_testset_save_CFLAGS"
   10153 
   10154 		eval supported=\$$cacheid
   10155 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10156 printf "%s\n" "$supported" >&6; }
   10157 		if test "$supported" = "yes" ; then
   10158 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10159 			found="yes"
   10160 		fi
   10161 	fi
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 xorg_testset_save_CFLAGS="$CFLAGS"
   10178 
   10179 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10180 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10181 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10182 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10183 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10184 then :
   10185   printf %s "(cached) " >&6
   10186 else case e in #(
   10187   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10188 /* end confdefs.h.  */
   10189 int i;
   10190 _ACEOF
   10191 if ac_fn_c_try_compile "$LINENO"
   10192 then :
   10193   xorg_cv_cc_flag_unknown_warning_option=yes
   10194 else case e in #(
   10195   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10196 esac
   10197 fi
   10198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10199 esac
   10200 fi
   10201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10202 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10204 	CFLAGS="$xorg_testset_save_CFLAGS"
   10205 fi
   10206 
   10207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10210 	fi
   10211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10212 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10213 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10214 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10215 then :
   10216   printf %s "(cached) " >&6
   10217 else case e in #(
   10218   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10219 /* end confdefs.h.  */
   10220 int i;
   10221 _ACEOF
   10222 if ac_fn_c_try_compile "$LINENO"
   10223 then :
   10224   xorg_cv_cc_flag_unused_command_line_argument=yes
   10225 else case e in #(
   10226   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10227 esac
   10228 fi
   10229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10230 esac
   10231 fi
   10232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10233 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10234 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10235 	CFLAGS="$xorg_testset_save_CFLAGS"
   10236 fi
   10237 
   10238 found="no"
   10239 
   10240 	if test $found = "no" ; then
   10241 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10243 		fi
   10244 
   10245 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10247 		fi
   10248 
   10249 		CFLAGS="$CFLAGS -Wtrigraphs"
   10250 
   10251 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10252 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10253 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10254 		if eval test \${$cacheid+y}
   10255 then :
   10256   printf %s "(cached) " >&6
   10257 else case e in #(
   10258   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10259 /* end confdefs.h.  */
   10260 int i;
   10261 int
   10262 main (void)
   10263 {
   10264 
   10265   ;
   10266   return 0;
   10267 }
   10268 _ACEOF
   10269 if ac_fn_c_try_link "$LINENO"
   10270 then :
   10271   eval $cacheid=yes
   10272 else case e in #(
   10273   e) eval $cacheid=no ;;
   10274 esac
   10275 fi
   10276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10277     conftest$ac_exeext conftest.$ac_ext ;;
   10278 esac
   10279 fi
   10280 
   10281 
   10282 		CFLAGS="$xorg_testset_save_CFLAGS"
   10283 
   10284 		eval supported=\$$cacheid
   10285 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10286 printf "%s\n" "$supported" >&6; }
   10287 		if test "$supported" = "yes" ; then
   10288 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10289 			found="yes"
   10290 		fi
   10291 	fi
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 xorg_testset_save_CFLAGS="$CFLAGS"
   10308 
   10309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10311 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10312 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10313 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10314 then :
   10315   printf %s "(cached) " >&6
   10316 else case e in #(
   10317   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10318 /* end confdefs.h.  */
   10319 int i;
   10320 _ACEOF
   10321 if ac_fn_c_try_compile "$LINENO"
   10322 then :
   10323   xorg_cv_cc_flag_unknown_warning_option=yes
   10324 else case e in #(
   10325   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10326 esac
   10327 fi
   10328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10329 esac
   10330 fi
   10331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10332 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10334 	CFLAGS="$xorg_testset_save_CFLAGS"
   10335 fi
   10336 
   10337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10340 	fi
   10341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10342 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10343 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10344 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10345 then :
   10346   printf %s "(cached) " >&6
   10347 else case e in #(
   10348   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10349 /* end confdefs.h.  */
   10350 int i;
   10351 _ACEOF
   10352 if ac_fn_c_try_compile "$LINENO"
   10353 then :
   10354   xorg_cv_cc_flag_unused_command_line_argument=yes
   10355 else case e in #(
   10356   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10357 esac
   10358 fi
   10359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10360 esac
   10361 fi
   10362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10363 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10365 	CFLAGS="$xorg_testset_save_CFLAGS"
   10366 fi
   10367 
   10368 found="no"
   10369 
   10370 	if test $found = "no" ; then
   10371 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10373 		fi
   10374 
   10375 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10377 		fi
   10378 
   10379 		CFLAGS="$CFLAGS -Warray-bounds"
   10380 
   10381 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10382 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10383 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10384 		if eval test \${$cacheid+y}
   10385 then :
   10386   printf %s "(cached) " >&6
   10387 else case e in #(
   10388   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10389 /* end confdefs.h.  */
   10390 int i;
   10391 int
   10392 main (void)
   10393 {
   10394 
   10395   ;
   10396   return 0;
   10397 }
   10398 _ACEOF
   10399 if ac_fn_c_try_link "$LINENO"
   10400 then :
   10401   eval $cacheid=yes
   10402 else case e in #(
   10403   e) eval $cacheid=no ;;
   10404 esac
   10405 fi
   10406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10407     conftest$ac_exeext conftest.$ac_ext ;;
   10408 esac
   10409 fi
   10410 
   10411 
   10412 		CFLAGS="$xorg_testset_save_CFLAGS"
   10413 
   10414 		eval supported=\$$cacheid
   10415 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10416 printf "%s\n" "$supported" >&6; }
   10417 		if test "$supported" = "yes" ; then
   10418 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10419 			found="yes"
   10420 		fi
   10421 	fi
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 xorg_testset_save_CFLAGS="$CFLAGS"
   10438 
   10439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10441 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10442 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10443 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10444 then :
   10445   printf %s "(cached) " >&6
   10446 else case e in #(
   10447   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10448 /* end confdefs.h.  */
   10449 int i;
   10450 _ACEOF
   10451 if ac_fn_c_try_compile "$LINENO"
   10452 then :
   10453   xorg_cv_cc_flag_unknown_warning_option=yes
   10454 else case e in #(
   10455   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10456 esac
   10457 fi
   10458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10459 esac
   10460 fi
   10461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10462 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10463 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10464 	CFLAGS="$xorg_testset_save_CFLAGS"
   10465 fi
   10466 
   10467 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10468 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10469 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10470 	fi
   10471 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10472 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10473 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10474 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10475 then :
   10476   printf %s "(cached) " >&6
   10477 else case e in #(
   10478   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10479 /* end confdefs.h.  */
   10480 int i;
   10481 _ACEOF
   10482 if ac_fn_c_try_compile "$LINENO"
   10483 then :
   10484   xorg_cv_cc_flag_unused_command_line_argument=yes
   10485 else case e in #(
   10486   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10487 esac
   10488 fi
   10489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10490 esac
   10491 fi
   10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10493 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10495 	CFLAGS="$xorg_testset_save_CFLAGS"
   10496 fi
   10497 
   10498 found="no"
   10499 
   10500 	if test $found = "no" ; then
   10501 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10503 		fi
   10504 
   10505 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10507 		fi
   10508 
   10509 		CFLAGS="$CFLAGS -Wwrite-strings"
   10510 
   10511 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10512 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10513 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10514 		if eval test \${$cacheid+y}
   10515 then :
   10516   printf %s "(cached) " >&6
   10517 else case e in #(
   10518   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10519 /* end confdefs.h.  */
   10520 int i;
   10521 int
   10522 main (void)
   10523 {
   10524 
   10525   ;
   10526   return 0;
   10527 }
   10528 _ACEOF
   10529 if ac_fn_c_try_link "$LINENO"
   10530 then :
   10531   eval $cacheid=yes
   10532 else case e in #(
   10533   e) eval $cacheid=no ;;
   10534 esac
   10535 fi
   10536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10537     conftest$ac_exeext conftest.$ac_ext ;;
   10538 esac
   10539 fi
   10540 
   10541 
   10542 		CFLAGS="$xorg_testset_save_CFLAGS"
   10543 
   10544 		eval supported=\$$cacheid
   10545 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10546 printf "%s\n" "$supported" >&6; }
   10547 		if test "$supported" = "yes" ; then
   10548 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10549 			found="yes"
   10550 		fi
   10551 	fi
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 xorg_testset_save_CFLAGS="$CFLAGS"
   10568 
   10569 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10570 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10571 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10572 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10573 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10574 then :
   10575   printf %s "(cached) " >&6
   10576 else case e in #(
   10577   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10578 /* end confdefs.h.  */
   10579 int i;
   10580 _ACEOF
   10581 if ac_fn_c_try_compile "$LINENO"
   10582 then :
   10583   xorg_cv_cc_flag_unknown_warning_option=yes
   10584 else case e in #(
   10585   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10586 esac
   10587 fi
   10588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10589 esac
   10590 fi
   10591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10592 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10593 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10594 	CFLAGS="$xorg_testset_save_CFLAGS"
   10595 fi
   10596 
   10597 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10598 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10599 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10600 	fi
   10601 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10602 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10603 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10604 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10605 then :
   10606   printf %s "(cached) " >&6
   10607 else case e in #(
   10608   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10609 /* end confdefs.h.  */
   10610 int i;
   10611 _ACEOF
   10612 if ac_fn_c_try_compile "$LINENO"
   10613 then :
   10614   xorg_cv_cc_flag_unused_command_line_argument=yes
   10615 else case e in #(
   10616   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10617 esac
   10618 fi
   10619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10620 esac
   10621 fi
   10622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10623 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10624 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10625 	CFLAGS="$xorg_testset_save_CFLAGS"
   10626 fi
   10627 
   10628 found="no"
   10629 
   10630 	if test $found = "no" ; then
   10631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10633 		fi
   10634 
   10635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10637 		fi
   10638 
   10639 		CFLAGS="$CFLAGS -Waddress"
   10640 
   10641 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10642 printf %s "checking if $CC supports -Waddress... " >&6; }
   10643 		cacheid=xorg_cv_cc_flag__Waddress
   10644 		if eval test \${$cacheid+y}
   10645 then :
   10646   printf %s "(cached) " >&6
   10647 else case e in #(
   10648   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10649 /* end confdefs.h.  */
   10650 int i;
   10651 int
   10652 main (void)
   10653 {
   10654 
   10655   ;
   10656   return 0;
   10657 }
   10658 _ACEOF
   10659 if ac_fn_c_try_link "$LINENO"
   10660 then :
   10661   eval $cacheid=yes
   10662 else case e in #(
   10663   e) eval $cacheid=no ;;
   10664 esac
   10665 fi
   10666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10667     conftest$ac_exeext conftest.$ac_ext ;;
   10668 esac
   10669 fi
   10670 
   10671 
   10672 		CFLAGS="$xorg_testset_save_CFLAGS"
   10673 
   10674 		eval supported=\$$cacheid
   10675 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10676 printf "%s\n" "$supported" >&6; }
   10677 		if test "$supported" = "yes" ; then
   10678 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10679 			found="yes"
   10680 		fi
   10681 	fi
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 xorg_testset_save_CFLAGS="$CFLAGS"
   10698 
   10699 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10700 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10701 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10702 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10703 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10704 then :
   10705   printf %s "(cached) " >&6
   10706 else case e in #(
   10707   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10708 /* end confdefs.h.  */
   10709 int i;
   10710 _ACEOF
   10711 if ac_fn_c_try_compile "$LINENO"
   10712 then :
   10713   xorg_cv_cc_flag_unknown_warning_option=yes
   10714 else case e in #(
   10715   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10716 esac
   10717 fi
   10718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10719 esac
   10720 fi
   10721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10722 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10723 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10724 	CFLAGS="$xorg_testset_save_CFLAGS"
   10725 fi
   10726 
   10727 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10728 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10729 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10730 	fi
   10731 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10732 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10733 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10734 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10735 then :
   10736   printf %s "(cached) " >&6
   10737 else case e in #(
   10738   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10739 /* end confdefs.h.  */
   10740 int i;
   10741 _ACEOF
   10742 if ac_fn_c_try_compile "$LINENO"
   10743 then :
   10744   xorg_cv_cc_flag_unused_command_line_argument=yes
   10745 else case e in #(
   10746   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10747 esac
   10748 fi
   10749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10750 esac
   10751 fi
   10752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10753 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10754 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10755 	CFLAGS="$xorg_testset_save_CFLAGS"
   10756 fi
   10757 
   10758 found="no"
   10759 
   10760 	if test $found = "no" ; then
   10761 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10763 		fi
   10764 
   10765 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10767 		fi
   10768 
   10769 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10770 
   10771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10772 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10773 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10774 		if eval test \${$cacheid+y}
   10775 then :
   10776   printf %s "(cached) " >&6
   10777 else case e in #(
   10778   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10779 /* end confdefs.h.  */
   10780 int i;
   10781 int
   10782 main (void)
   10783 {
   10784 
   10785   ;
   10786   return 0;
   10787 }
   10788 _ACEOF
   10789 if ac_fn_c_try_link "$LINENO"
   10790 then :
   10791   eval $cacheid=yes
   10792 else case e in #(
   10793   e) eval $cacheid=no ;;
   10794 esac
   10795 fi
   10796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10797     conftest$ac_exeext conftest.$ac_ext ;;
   10798 esac
   10799 fi
   10800 
   10801 
   10802 		CFLAGS="$xorg_testset_save_CFLAGS"
   10803 
   10804 		eval supported=\$$cacheid
   10805 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10806 printf "%s\n" "$supported" >&6; }
   10807 		if test "$supported" = "yes" ; then
   10808 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10809 			found="yes"
   10810 		fi
   10811 	fi
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 xorg_testset_save_CFLAGS="$CFLAGS"
   10828 
   10829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10831 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10832 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10833 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10834 then :
   10835   printf %s "(cached) " >&6
   10836 else case e in #(
   10837   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10838 /* end confdefs.h.  */
   10839 int i;
   10840 _ACEOF
   10841 if ac_fn_c_try_compile "$LINENO"
   10842 then :
   10843   xorg_cv_cc_flag_unknown_warning_option=yes
   10844 else case e in #(
   10845   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10846 esac
   10847 fi
   10848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10849 esac
   10850 fi
   10851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10852 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10853 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10854 	CFLAGS="$xorg_testset_save_CFLAGS"
   10855 fi
   10856 
   10857 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10858 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10859 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10860 	fi
   10861 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10862 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10863 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10864 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10865 then :
   10866   printf %s "(cached) " >&6
   10867 else case e in #(
   10868   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10869 /* end confdefs.h.  */
   10870 int i;
   10871 _ACEOF
   10872 if ac_fn_c_try_compile "$LINENO"
   10873 then :
   10874   xorg_cv_cc_flag_unused_command_line_argument=yes
   10875 else case e in #(
   10876   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10877 esac
   10878 fi
   10879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10880 esac
   10881 fi
   10882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10883 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10884 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10885 	CFLAGS="$xorg_testset_save_CFLAGS"
   10886 fi
   10887 
   10888 found="no"
   10889 
   10890 	if test $found = "no" ; then
   10891 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10892 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10893 		fi
   10894 
   10895 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10896 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10897 		fi
   10898 
   10899 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10900 
   10901 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10902 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10903 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10904 		if eval test \${$cacheid+y}
   10905 then :
   10906   printf %s "(cached) " >&6
   10907 else case e in #(
   10908   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10909 /* end confdefs.h.  */
   10910 int i;
   10911 int
   10912 main (void)
   10913 {
   10914 
   10915   ;
   10916   return 0;
   10917 }
   10918 _ACEOF
   10919 if ac_fn_c_try_link "$LINENO"
   10920 then :
   10921   eval $cacheid=yes
   10922 else case e in #(
   10923   e) eval $cacheid=no ;;
   10924 esac
   10925 fi
   10926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10927     conftest$ac_exeext conftest.$ac_ext ;;
   10928 esac
   10929 fi
   10930 
   10931 
   10932 		CFLAGS="$xorg_testset_save_CFLAGS"
   10933 
   10934 		eval supported=\$$cacheid
   10935 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10936 printf "%s\n" "$supported" >&6; }
   10937 		if test "$supported" = "yes" ; then
   10938 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10939 			found="yes"
   10940 		fi
   10941 	fi
   10942 
   10943 
   10944 fi
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 		CWARNFLAGS="$BASE_CFLAGS"
   10953 		if  test "x$GCC" = xyes ; then
   10954 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10955 		fi
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 # Check whether --enable-strict-compilation was given.
   10965 if test ${enable_strict_compilation+y}
   10966 then :
   10967   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10968 else case e in #(
   10969   e) STRICT_COMPILE=no ;;
   10970 esac
   10971 fi
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 STRICT_CFLAGS=""
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 xorg_testset_save_CFLAGS="$CFLAGS"
   10993 
   10994 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10995 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10996 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10997 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10998 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10999 then :
   11000   printf %s "(cached) " >&6
   11001 else case e in #(
   11002   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11003 /* end confdefs.h.  */
   11004 int i;
   11005 _ACEOF
   11006 if ac_fn_c_try_compile "$LINENO"
   11007 then :
   11008   xorg_cv_cc_flag_unknown_warning_option=yes
   11009 else case e in #(
   11010   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11011 esac
   11012 fi
   11013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11014 esac
   11015 fi
   11016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11017 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11018 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11019 	CFLAGS="$xorg_testset_save_CFLAGS"
   11020 fi
   11021 
   11022 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11023 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11024 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11025 	fi
   11026 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11027 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11028 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11029 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11030 then :
   11031   printf %s "(cached) " >&6
   11032 else case e in #(
   11033   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11034 /* end confdefs.h.  */
   11035 int i;
   11036 _ACEOF
   11037 if ac_fn_c_try_compile "$LINENO"
   11038 then :
   11039   xorg_cv_cc_flag_unused_command_line_argument=yes
   11040 else case e in #(
   11041   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11042 esac
   11043 fi
   11044 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11045 esac
   11046 fi
   11047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11048 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11049 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11050 	CFLAGS="$xorg_testset_save_CFLAGS"
   11051 fi
   11052 
   11053 found="no"
   11054 
   11055 	if test $found = "no" ; then
   11056 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11057 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11058 		fi
   11059 
   11060 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11061 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11062 		fi
   11063 
   11064 		CFLAGS="$CFLAGS -pedantic"
   11065 
   11066 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11067 printf %s "checking if $CC supports -pedantic... " >&6; }
   11068 		cacheid=xorg_cv_cc_flag__pedantic
   11069 		if eval test \${$cacheid+y}
   11070 then :
   11071   printf %s "(cached) " >&6
   11072 else case e in #(
   11073   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11074 /* end confdefs.h.  */
   11075 int i;
   11076 int
   11077 main (void)
   11078 {
   11079 
   11080   ;
   11081   return 0;
   11082 }
   11083 _ACEOF
   11084 if ac_fn_c_try_link "$LINENO"
   11085 then :
   11086   eval $cacheid=yes
   11087 else case e in #(
   11088   e) eval $cacheid=no ;;
   11089 esac
   11090 fi
   11091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11092     conftest$ac_exeext conftest.$ac_ext ;;
   11093 esac
   11094 fi
   11095 
   11096 
   11097 		CFLAGS="$xorg_testset_save_CFLAGS"
   11098 
   11099 		eval supported=\$$cacheid
   11100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11101 printf "%s\n" "$supported" >&6; }
   11102 		if test "$supported" = "yes" ; then
   11103 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11104 			found="yes"
   11105 		fi
   11106 	fi
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 xorg_testset_save_CFLAGS="$CFLAGS"
   11123 
   11124 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11125 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11126 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11127 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11128 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11129 then :
   11130   printf %s "(cached) " >&6
   11131 else case e in #(
   11132   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11133 /* end confdefs.h.  */
   11134 int i;
   11135 _ACEOF
   11136 if ac_fn_c_try_compile "$LINENO"
   11137 then :
   11138   xorg_cv_cc_flag_unknown_warning_option=yes
   11139 else case e in #(
   11140   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11141 esac
   11142 fi
   11143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11144 esac
   11145 fi
   11146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11147 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11149 	CFLAGS="$xorg_testset_save_CFLAGS"
   11150 fi
   11151 
   11152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11155 	fi
   11156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11157 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11158 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11159 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11160 then :
   11161   printf %s "(cached) " >&6
   11162 else case e in #(
   11163   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11164 /* end confdefs.h.  */
   11165 int i;
   11166 _ACEOF
   11167 if ac_fn_c_try_compile "$LINENO"
   11168 then :
   11169   xorg_cv_cc_flag_unused_command_line_argument=yes
   11170 else case e in #(
   11171   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11172 esac
   11173 fi
   11174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11175 esac
   11176 fi
   11177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11178 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11179 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11180 	CFLAGS="$xorg_testset_save_CFLAGS"
   11181 fi
   11182 
   11183 found="no"
   11184 
   11185 	if test $found = "no" ; then
   11186 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11188 		fi
   11189 
   11190 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11192 		fi
   11193 
   11194 		CFLAGS="$CFLAGS -Werror"
   11195 
   11196 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11197 printf %s "checking if $CC supports -Werror... " >&6; }
   11198 		cacheid=xorg_cv_cc_flag__Werror
   11199 		if eval test \${$cacheid+y}
   11200 then :
   11201   printf %s "(cached) " >&6
   11202 else case e in #(
   11203   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11204 /* end confdefs.h.  */
   11205 int i;
   11206 int
   11207 main (void)
   11208 {
   11209 
   11210   ;
   11211   return 0;
   11212 }
   11213 _ACEOF
   11214 if ac_fn_c_try_link "$LINENO"
   11215 then :
   11216   eval $cacheid=yes
   11217 else case e in #(
   11218   e) eval $cacheid=no ;;
   11219 esac
   11220 fi
   11221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11222     conftest$ac_exeext conftest.$ac_ext ;;
   11223 esac
   11224 fi
   11225 
   11226 
   11227 		CFLAGS="$xorg_testset_save_CFLAGS"
   11228 
   11229 		eval supported=\$$cacheid
   11230 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11231 printf "%s\n" "$supported" >&6; }
   11232 		if test "$supported" = "yes" ; then
   11233 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11234 			found="yes"
   11235 		fi
   11236 	fi
   11237 
   11238 	if test $found = "no" ; then
   11239 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11240 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11241 		fi
   11242 
   11243 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11244 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11245 		fi
   11246 
   11247 		CFLAGS="$CFLAGS -errwarn"
   11248 
   11249 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11250 printf %s "checking if $CC supports -errwarn... " >&6; }
   11251 		cacheid=xorg_cv_cc_flag__errwarn
   11252 		if eval test \${$cacheid+y}
   11253 then :
   11254   printf %s "(cached) " >&6
   11255 else case e in #(
   11256   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11257 /* end confdefs.h.  */
   11258 int i;
   11259 int
   11260 main (void)
   11261 {
   11262 
   11263   ;
   11264   return 0;
   11265 }
   11266 _ACEOF
   11267 if ac_fn_c_try_link "$LINENO"
   11268 then :
   11269   eval $cacheid=yes
   11270 else case e in #(
   11271   e) eval $cacheid=no ;;
   11272 esac
   11273 fi
   11274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11275     conftest$ac_exeext conftest.$ac_ext ;;
   11276 esac
   11277 fi
   11278 
   11279 
   11280 		CFLAGS="$xorg_testset_save_CFLAGS"
   11281 
   11282 		eval supported=\$$cacheid
   11283 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11284 printf "%s\n" "$supported" >&6; }
   11285 		if test "$supported" = "yes" ; then
   11286 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11287 			found="yes"
   11288 		fi
   11289 	fi
   11290 
   11291 
   11292 
   11293 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11294 # activate it with -Werror, so we add it here explicitly.
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 xorg_testset_save_CFLAGS="$CFLAGS"
   11309 
   11310 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11311 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11312 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11313 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11314 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11315 then :
   11316   printf %s "(cached) " >&6
   11317 else case e in #(
   11318   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11319 /* end confdefs.h.  */
   11320 int i;
   11321 _ACEOF
   11322 if ac_fn_c_try_compile "$LINENO"
   11323 then :
   11324   xorg_cv_cc_flag_unknown_warning_option=yes
   11325 else case e in #(
   11326   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11327 esac
   11328 fi
   11329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11330 esac
   11331 fi
   11332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11333 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11334 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11335 	CFLAGS="$xorg_testset_save_CFLAGS"
   11336 fi
   11337 
   11338 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11339 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11340 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11341 	fi
   11342 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11343 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11344 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11345 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11346 then :
   11347   printf %s "(cached) " >&6
   11348 else case e in #(
   11349   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11350 /* end confdefs.h.  */
   11351 int i;
   11352 _ACEOF
   11353 if ac_fn_c_try_compile "$LINENO"
   11354 then :
   11355   xorg_cv_cc_flag_unused_command_line_argument=yes
   11356 else case e in #(
   11357   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11358 esac
   11359 fi
   11360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11361 esac
   11362 fi
   11363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11364 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11365 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11366 	CFLAGS="$xorg_testset_save_CFLAGS"
   11367 fi
   11368 
   11369 found="no"
   11370 
   11371 	if test $found = "no" ; then
   11372 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11373 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11374 		fi
   11375 
   11376 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11377 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11378 		fi
   11379 
   11380 		CFLAGS="$CFLAGS -Werror=attributes"
   11381 
   11382 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11383 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11384 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11385 		if eval test \${$cacheid+y}
   11386 then :
   11387   printf %s "(cached) " >&6
   11388 else case e in #(
   11389   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11390 /* end confdefs.h.  */
   11391 int i;
   11392 int
   11393 main (void)
   11394 {
   11395 
   11396   ;
   11397   return 0;
   11398 }
   11399 _ACEOF
   11400 if ac_fn_c_try_link "$LINENO"
   11401 then :
   11402   eval $cacheid=yes
   11403 else case e in #(
   11404   e) eval $cacheid=no ;;
   11405 esac
   11406 fi
   11407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11408     conftest$ac_exeext conftest.$ac_ext ;;
   11409 esac
   11410 fi
   11411 
   11412 
   11413 		CFLAGS="$xorg_testset_save_CFLAGS"
   11414 
   11415 		eval supported=\$$cacheid
   11416 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11417 printf "%s\n" "$supported" >&6; }
   11418 		if test "$supported" = "yes" ; then
   11419 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11420 			found="yes"
   11421 		fi
   11422 	fi
   11423 
   11424 
   11425 
   11426 if test "x$STRICT_COMPILE" = "xyes"; then
   11427     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11428     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11429 fi
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 cat >>confdefs.h <<_ACEOF
   11439 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11440 _ACEOF
   11441 
   11442 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11443 	if test "x$PVM" = "x"; then
   11444 		PVM="0"
   11445 	fi
   11446 
   11447 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11448 
   11449 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11450 	if test "x$PVP" = "x"; then
   11451 		PVP="0"
   11452 	fi
   11453 
   11454 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11455 
   11456 
   11457 
   11458 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11459 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11460 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11461 touch \$(top_srcdir)/ChangeLog; \
   11462 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11463 
   11464 
   11465 
   11466 
   11467 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11468 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11469 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11470 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11471 touch \$(top_srcdir)/INSTALL; \
   11472 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 case $host_os in
   11480     solaris*)
   11481         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11482         # check for a man page file found in later versions that use
   11483         # traditional section numbers instead
   11484         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11485 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11486 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11487 then :
   11488   printf %s "(cached) " >&6
   11489 else case e in #(
   11490   e) test "$cross_compiling" = yes &&
   11491   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11492 if test -r "/usr/share/man/man7/attributes.7"; then
   11493   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11494 else
   11495   ac_cv_file__usr_share_man_man7_attributes_7=no
   11496 fi ;;
   11497 esac
   11498 fi
   11499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11500 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11501 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11502 then :
   11503   SYSV_MAN_SECTIONS=false
   11504 else case e in #(
   11505   e) SYSV_MAN_SECTIONS=true ;;
   11506 esac
   11507 fi
   11508 
   11509         ;;
   11510     *) SYSV_MAN_SECTIONS=false ;;
   11511 esac
   11512 
   11513 if test x$APP_MAN_SUFFIX = x    ; then
   11514     APP_MAN_SUFFIX=1
   11515 fi
   11516 if test x$APP_MAN_DIR = x    ; then
   11517     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11518 fi
   11519 
   11520 if test x$LIB_MAN_SUFFIX = x    ; then
   11521     LIB_MAN_SUFFIX=3
   11522 fi
   11523 if test x$LIB_MAN_DIR = x    ; then
   11524     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11525 fi
   11526 
   11527 if test x$FILE_MAN_SUFFIX = x    ; then
   11528     case $SYSV_MAN_SECTIONS in
   11529 	true)				FILE_MAN_SUFFIX=4  ;;
   11530 	*)				FILE_MAN_SUFFIX=5  ;;
   11531     esac
   11532 fi
   11533 if test x$FILE_MAN_DIR = x    ; then
   11534     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11535 fi
   11536 
   11537 if test x$MISC_MAN_SUFFIX = x    ; then
   11538     case $SYSV_MAN_SECTIONS in
   11539 	true)				MISC_MAN_SUFFIX=5  ;;
   11540 	*)				MISC_MAN_SUFFIX=7  ;;
   11541     esac
   11542 fi
   11543 if test x$MISC_MAN_DIR = x    ; then
   11544     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11545 fi
   11546 
   11547 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11548     case $SYSV_MAN_SECTIONS in
   11549 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11550 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11551     esac
   11552 fi
   11553 if test x$DRIVER_MAN_DIR = x    ; then
   11554     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11555 fi
   11556 
   11557 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11558     case $SYSV_MAN_SECTIONS in
   11559 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11560 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11561     esac
   11562 fi
   11563 if test x$ADMIN_MAN_DIR = x    ; then
   11564     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11565 fi
   11566 
   11567 
   11568 
   11569 
   11570 
   11571 
   11572 
   11573 
   11574 
   11575 
   11576 
   11577 
   11578 
   11579 
   11580 
   11581 XORG_MAN_PAGE="X Version 11"
   11582 
   11583 MAN_SUBSTS="\
   11584 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11585 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11586 	-e 's|__xservername__|Xorg|g' \
   11587 	-e 's|__xconfigfile__|xorg.conf|g' \
   11588 	-e 's|__projectroot__|\$(prefix)|g' \
   11589 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11590 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11591 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11592 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11593 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11594 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11595 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11596 
   11597 
   11598 
   11599 # Check whether --enable-silent-rules was given.
   11600 if test ${enable_silent_rules+y}
   11601 then :
   11602   enableval=$enable_silent_rules;
   11603 fi
   11604 
   11605 case $enable_silent_rules in # (((
   11606   yes) AM_DEFAULT_VERBOSITY=0;;
   11607    no) AM_DEFAULT_VERBOSITY=1;;
   11608     *) AM_DEFAULT_VERBOSITY=0;;
   11609 esac
   11610 am_make=${MAKE-make}
   11611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11612 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11613 if test ${am_cv_make_support_nested_variables+y}
   11614 then :
   11615   printf %s "(cached) " >&6
   11616 else case e in #(
   11617   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   11618 BAR0=false
   11619 BAR1=true
   11620 V=1
   11621 am__doit:
   11622 	@$(TRUE)
   11623 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11624   am_cv_make_support_nested_variables=yes
   11625 else
   11626   am_cv_make_support_nested_variables=no
   11627 fi ;;
   11628 esac
   11629 fi
   11630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11631 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11632 if test $am_cv_make_support_nested_variables = yes; then
   11633     AM_V='$(V)'
   11634   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11635 else
   11636   AM_V=$AM_DEFAULT_VERBOSITY
   11637   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11638 fi
   11639 AM_BACKSLASH='\'
   11640 
   11641 
   11642 
   11643 
   11644 # Checks for pkg-config packages
   11645 
   11646 pkg_failed=no
   11647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XMH" >&5
   11648 printf %s "checking for XMH... " >&6; }
   11649 
   11650 if test -n "$XMH_CFLAGS"; then
   11651     pkg_cv_XMH_CFLAGS="$XMH_CFLAGS"
   11652  elif test -n "$PKG_CONFIG"; then
   11653     if test -n "$PKG_CONFIG" && \
   11654     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.3 x11 xbitmaps >= 1.1.0 xproto >= 7.0.17\""; } >&5
   11655   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.3 x11 xbitmaps >= 1.1.0 xproto >= 7.0.17") 2>&5
   11656   ac_status=$?
   11657   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11658   test $ac_status = 0; }; then
   11659   pkg_cv_XMH_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt >= 1.3 x11 xbitmaps >= 1.1.0 xproto >= 7.0.17" 2>/dev/null`
   11660 		      test "x$?" != "x0" && pkg_failed=yes
   11661 else
   11662   pkg_failed=yes
   11663 fi
   11664  else
   11665     pkg_failed=untried
   11666 fi
   11667 if test -n "$XMH_LIBS"; then
   11668     pkg_cv_XMH_LIBS="$XMH_LIBS"
   11669  elif test -n "$PKG_CONFIG"; then
   11670     if test -n "$PKG_CONFIG" && \
   11671     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.3 x11 xbitmaps >= 1.1.0 xproto >= 7.0.17\""; } >&5
   11672   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.3 x11 xbitmaps >= 1.1.0 xproto >= 7.0.17") 2>&5
   11673   ac_status=$?
   11674   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11675   test $ac_status = 0; }; then
   11676   pkg_cv_XMH_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt >= 1.3 x11 xbitmaps >= 1.1.0 xproto >= 7.0.17" 2>/dev/null`
   11677 		      test "x$?" != "x0" && pkg_failed=yes
   11678 else
   11679   pkg_failed=yes
   11680 fi
   11681  else
   11682     pkg_failed=untried
   11683 fi
   11684 
   11685 
   11686 
   11687 if test $pkg_failed = yes; then
   11688    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11689 printf "%s\n" "no" >&6; }
   11690 
   11691 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11692         _pkg_short_errors_supported=yes
   11693 else
   11694         _pkg_short_errors_supported=no
   11695 fi
   11696         if test $_pkg_short_errors_supported = yes; then
   11697 	        XMH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xmu xt >= 1.3 x11 xbitmaps >= 1.1.0 xproto >= 7.0.17" 2>&1`
   11698         else
   11699 	        XMH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xmu xt >= 1.3 x11 xbitmaps >= 1.1.0 xproto >= 7.0.17" 2>&1`
   11700         fi
   11701 	# Put the nasty error message in config.log where it belongs
   11702 	echo "$XMH_PKG_ERRORS" >&5
   11703 
   11704 	as_fn_error $? "Package requirements (xaw7 xmu xt >= 1.3 x11 xbitmaps >= 1.1.0 xproto >= 7.0.17) were not met:
   11705 
   11706 $XMH_PKG_ERRORS
   11707 
   11708 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11709 installed software in a non-standard prefix.
   11710 
   11711 Alternatively, you may set the environment variables XMH_CFLAGS
   11712 and XMH_LIBS to avoid the need to call pkg-config.
   11713 See the pkg-config man page for more details." "$LINENO" 5
   11714 elif test $pkg_failed = untried; then
   11715      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11716 printf "%s\n" "no" >&6; }
   11717 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11718 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11719 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11720 is in your PATH or set the PKG_CONFIG environment variable to the full
   11721 path to pkg-config.
   11722 
   11723 Alternatively, you may set the environment variables XMH_CFLAGS
   11724 and XMH_LIBS to avoid the need to call pkg-config.
   11725 See the pkg-config man page for more details.
   11726 
   11727 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11728 See 'config.log' for more details" "$LINENO" 5; }
   11729 else
   11730 	XMH_CFLAGS=$pkg_cv_XMH_CFLAGS
   11731 	XMH_LIBS=$pkg_cv_XMH_LIBS
   11732         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11733 printf "%s\n" "yes" >&6; }
   11734 
   11735 fi
   11736 
   11737 
   11738 pkg_failed=no
   11739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   11740 printf %s "checking for APPDEFS... " >&6; }
   11741 
   11742 if test -n "$APPDEFS_CFLAGS"; then
   11743     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   11744  elif test -n "$PKG_CONFIG"; then
   11745     if test -n "$PKG_CONFIG" && \
   11746     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11747   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11748   ac_status=$?
   11749   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11750   test $ac_status = 0; }; then
   11751   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   11752 		      test "x$?" != "x0" && pkg_failed=yes
   11753 else
   11754   pkg_failed=yes
   11755 fi
   11756  else
   11757     pkg_failed=untried
   11758 fi
   11759 if test -n "$APPDEFS_LIBS"; then
   11760     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   11761  elif test -n "$PKG_CONFIG"; then
   11762     if test -n "$PKG_CONFIG" && \
   11763     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11764   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11765   ac_status=$?
   11766   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11767   test $ac_status = 0; }; then
   11768   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   11769 		      test "x$?" != "x0" && pkg_failed=yes
   11770 else
   11771   pkg_failed=yes
   11772 fi
   11773  else
   11774     pkg_failed=untried
   11775 fi
   11776 
   11777 
   11778 
   11779 if test $pkg_failed = yes; then
   11780    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11781 printf "%s\n" "no" >&6; }
   11782 
   11783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11784         _pkg_short_errors_supported=yes
   11785 else
   11786         _pkg_short_errors_supported=no
   11787 fi
   11788         if test $_pkg_short_errors_supported = yes; then
   11789 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   11790         else
   11791 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   11792         fi
   11793 	# Put the nasty error message in config.log where it belongs
   11794 	echo "$APPDEFS_PKG_ERRORS" >&5
   11795 
   11796 	as_fn_error $? "Package requirements (xt) were not met:
   11797 
   11798 $APPDEFS_PKG_ERRORS
   11799 
   11800 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11801 installed software in a non-standard prefix.
   11802 
   11803 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11804 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11805 See the pkg-config man page for more details." "$LINENO" 5
   11806 elif test $pkg_failed = untried; then
   11807      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11808 printf "%s\n" "no" >&6; }
   11809 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11810 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11811 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11812 is in your PATH or set the PKG_CONFIG environment variable to the full
   11813 path to pkg-config.
   11814 
   11815 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11816 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11817 See the pkg-config man page for more details.
   11818 
   11819 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11820 See 'config.log' for more details" "$LINENO" 5; }
   11821 else
   11822 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11823 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11824         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11825 printf "%s\n" "yes" >&6; }
   11826 
   11827 fi
   11828 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11829 
   11830 # Check whether --with-appdefaultdir was given.
   11831 if test ${with_appdefaultdir+y}
   11832 then :
   11833   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11834 else case e in #(
   11835   e) appdefaultdir="${xt_appdefaultdir}" ;;
   11836 esac
   11837 fi
   11838 
   11839 
   11840 
   11841 # Checks for typedefs, structures, and compiler characteristics.
   11842 # Check whether --enable-largefile was given.
   11843 if test ${enable_largefile+y}
   11844 then :
   11845   enableval=$enable_largefile;
   11846 fi
   11847 if test "$enable_largefile,$enable_year2038" != no,no
   11848 then :
   11849   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   11850 printf %s "checking for $CC option to enable large file support... " >&6; }
   11851 if test ${ac_cv_sys_largefile_opts+y}
   11852 then :
   11853   printf %s "(cached) " >&6
   11854 else case e in #(
   11855   e) ac_save_CC="$CC"
   11856   ac_opt_found=no
   11857   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   11858     if test x"$ac_opt" != x"none needed"
   11859 then :
   11860   CC="$ac_save_CC $ac_opt"
   11861 fi
   11862     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11863 /* end confdefs.h.  */
   11864 #include <sys/types.h>
   11865 #ifndef FTYPE
   11866 # define FTYPE off_t
   11867 #endif
   11868  /* Check that FTYPE can represent 2**63 - 1 correctly.
   11869     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   11870     since some C++ compilers masquerading as C compilers
   11871     incorrectly reject 9223372036854775807.  */
   11872 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   11873   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   11874 		       && LARGE_FTYPE % 2147483647 == 1)
   11875 		      ? 1 : -1];
   11876 int
   11877 main (void)
   11878 {
   11879 
   11880   ;
   11881   return 0;
   11882 }
   11883 _ACEOF
   11884 if ac_fn_c_try_compile "$LINENO"
   11885 then :
   11886   if test x"$ac_opt" = x"none needed"
   11887 then :
   11888   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   11889 	 CC="$CC -DFTYPE=ino_t"
   11890 	 if ac_fn_c_try_compile "$LINENO"
   11891 then :
   11892 
   11893 else case e in #(
   11894   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   11895 	    if ac_fn_c_try_compile "$LINENO"
   11896 then :
   11897   ac_opt='-D_FILE_OFFSET_BITS=64'
   11898 fi
   11899 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   11900 esac
   11901 fi
   11902 rm -f core conftest.err conftest.$ac_objext conftest.beam
   11903 fi
   11904       ac_cv_sys_largefile_opts=$ac_opt
   11905       ac_opt_found=yes
   11906 fi
   11907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11908     test $ac_opt_found = no || break
   11909   done
   11910   CC="$ac_save_CC"
   11911 
   11912   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   11913 esac
   11914 fi
   11915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   11916 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   11917 
   11918 ac_have_largefile=yes
   11919 case $ac_cv_sys_largefile_opts in #(
   11920   "none needed") :
   11921      ;; #(
   11922   "supported through gnulib") :
   11923      ;; #(
   11924   "support not detected") :
   11925     ac_have_largefile=no ;; #(
   11926   "-D_FILE_OFFSET_BITS=64") :
   11927 
   11928 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   11929  ;; #(
   11930   "-D_LARGE_FILES=1") :
   11931 
   11932 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   11933  ;; #(
   11934   "-n32") :
   11935     CC="$CC -n32" ;; #(
   11936   *) :
   11937     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   11938 esac
   11939 
   11940 if test "$enable_year2038" != no
   11941 then :
   11942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   11943 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   11944 if test ${ac_cv_sys_year2038_opts+y}
   11945 then :
   11946   printf %s "(cached) " >&6
   11947 else case e in #(
   11948   e) ac_save_CPPFLAGS="$CPPFLAGS"
   11949   ac_opt_found=no
   11950   for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
   11951     if test x"$ac_opt" != x"none needed"
   11952 then :
   11953   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   11954 fi
   11955     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11956 /* end confdefs.h.  */
   11957 
   11958   #include <time.h>
   11959   /* Check that time_t can represent 2**32 - 1 correctly.  */
   11960   #define LARGE_TIME_T \\
   11961     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   11962   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   11963                            && LARGE_TIME_T % 65537 == 0)
   11964                           ? 1 : -1];
   11965 
   11966 int
   11967 main (void)
   11968 {
   11969 
   11970   ;
   11971   return 0;
   11972 }
   11973 _ACEOF
   11974 if ac_fn_c_try_compile "$LINENO"
   11975 then :
   11976   ac_cv_sys_year2038_opts="$ac_opt"
   11977       ac_opt_found=yes
   11978 fi
   11979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11980     test $ac_opt_found = no || break
   11981   done
   11982   CPPFLAGS="$ac_save_CPPFLAGS"
   11983   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   11984 esac
   11985 fi
   11986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   11987 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   11988 
   11989 ac_have_year2038=yes
   11990 case $ac_cv_sys_year2038_opts in #(
   11991   "none needed") :
   11992      ;; #(
   11993   "support not detected") :
   11994     ac_have_year2038=no ;; #(
   11995   "-D_TIME_BITS=64") :
   11996 
   11997 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   11998  ;; #(
   11999   "-D__MINGW_USE_VC2005_COMPAT") :
   12000 
   12001 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   12002  ;; #(
   12003   "-U_USE_32_BIT_TIME_T"*) :
   12004     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12005 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12006 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   12007 will stop working after mid-January 2038. Remove
   12008 _USE_32BIT_TIME_T from the compiler flags.
   12009 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   12010   *) :
   12011     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   12012 esac
   12013 
   12014 fi
   12015 
   12016 fi
   12017 
   12018 # Checks for library functions.
   12019 
   12020   ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default
   12021 "
   12022 if test "x$ac_cv_type_pid_t" = xyes
   12023 then :
   12024 
   12025 else case e in #(
   12026   e)                                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12027 /* end confdefs.h.  */
   12028 
   12029           #if defined _WIN64 && !defined __CYGWIN__
   12030           LLP64
   12031           #endif
   12032 
   12033 int
   12034 main (void)
   12035 {
   12036 
   12037   ;
   12038   return 0;
   12039 }
   12040 
   12041 _ACEOF
   12042 if ac_fn_c_try_compile "$LINENO"
   12043 then :
   12044   ac_pid_type='int'
   12045 else case e in #(
   12046   e) ac_pid_type='__int64' ;;
   12047 esac
   12048 fi
   12049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12050 
   12051 printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h
   12052 
   12053      ;;
   12054 esac
   12055 fi
   12056 
   12057 
   12058 
   12059 ac_func=
   12060 for ac_item in $ac_func_c_list
   12061 do
   12062   if test $ac_func; then
   12063     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
   12064     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
   12065       echo "#define $ac_item 1" >> confdefs.h
   12066     fi
   12067     ac_func=
   12068   else
   12069     ac_func=$ac_item
   12070   fi
   12071 done
   12072 
   12073 
   12074 
   12075 if test "x$ac_cv_func_fork" = xyes; then
   12076   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
   12077 printf %s "checking for working fork... " >&6; }
   12078 if test ${ac_cv_func_fork_works+y}
   12079 then :
   12080   printf %s "(cached) " >&6
   12081 else case e in #(
   12082   e) if test "$cross_compiling" = yes
   12083 then :
   12084   ac_cv_func_fork_works=cross
   12085 else case e in #(
   12086   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12087 /* end confdefs.h.  */
   12088 $ac_includes_default
   12089 int
   12090 main (void)
   12091 {
   12092 
   12093 	  /* By R. Kuhlmann. */
   12094 	  return fork () < 0;
   12095 
   12096   ;
   12097   return 0;
   12098 }
   12099 _ACEOF
   12100 if ac_fn_c_try_run "$LINENO"
   12101 then :
   12102   ac_cv_func_fork_works=yes
   12103 else case e in #(
   12104   e) ac_cv_func_fork_works=no ;;
   12105 esac
   12106 fi
   12107 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12108   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12109 esac
   12110 fi
   12111  ;;
   12112 esac
   12113 fi
   12114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
   12115 printf "%s\n" "$ac_cv_func_fork_works" >&6; }
   12116 
   12117 else
   12118   ac_cv_func_fork_works=$ac_cv_func_fork
   12119 fi
   12120 if test "x$ac_cv_func_fork_works" = xcross; then
   12121   case $host in
   12122     *-*-amigaos* | *-*-msdosdjgpp*)
   12123       # Override, as these systems have only a dummy fork() stub
   12124       ac_cv_func_fork_works=no
   12125       ;;
   12126     *)
   12127       ac_cv_func_fork_works=yes
   12128       ;;
   12129   esac
   12130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
   12131 printf "%s\n" "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
   12132 fi
   12133 ac_cv_func_vfork_works=$ac_cv_func_vfork
   12134 if test "x$ac_cv_func_vfork" = xyes; then
   12135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
   12136 printf %s "checking for working vfork... " >&6; }
   12137 if test ${ac_cv_func_vfork_works+y}
   12138 then :
   12139   printf %s "(cached) " >&6
   12140 else case e in #(
   12141   e) if test "$cross_compiling" = yes
   12142 then :
   12143   ac_cv_func_vfork_works=cross
   12144 else case e in #(
   12145   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12146 /* end confdefs.h.  */
   12147 /* Thanks to Paul Eggert for this test.  */
   12148 $ac_includes_default
   12149 #include <signal.h>
   12150 #include <sys/wait.h>
   12151 #ifdef HAVE_VFORK_H
   12152 # include <vfork.h>
   12153 #endif
   12154 
   12155 static void
   12156 do_nothing (int sig)
   12157 {
   12158   (void) sig;
   12159 }
   12160 
   12161 /* On some sparc systems, changes by the child to local and incoming
   12162    argument registers are propagated back to the parent.  The compiler
   12163    is told about this with #include <vfork.h>, but some compilers
   12164    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
   12165    static variable whose address is put into a register that is
   12166    clobbered by the vfork.  */
   12167 static void
   12168 sparc_address_test (int arg)
   12169 {
   12170   static pid_t child;
   12171   if (!child) {
   12172     child = vfork ();
   12173     if (child < 0) {
   12174       perror ("vfork");
   12175       _exit(2);
   12176     }
   12177     if (!child) {
   12178       arg = getpid();
   12179       write(-1, "", 0);
   12180       _exit (arg);
   12181     }
   12182   }
   12183 }
   12184 
   12185 int
   12186 main (void)
   12187 {
   12188   pid_t parent = getpid ();
   12189   pid_t child;
   12190 
   12191   sparc_address_test (0);
   12192 
   12193   /* On Solaris 2.4, changes by the child to the signal handler
   12194      also munge signal handlers in the parent.  To detect this,
   12195      start by putting the parent's handler in a known state.  */
   12196   signal (SIGTERM, SIG_DFL);
   12197 
   12198   child = vfork ();
   12199 
   12200   if (child == 0) {
   12201     /* Here is another test for sparc vfork register problems.  This
   12202        test uses lots of local variables, at least as many local
   12203        variables as main has allocated so far including compiler
   12204        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
   12205        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
   12206        reuse the register of parent for one of the local variables,
   12207        since it will think that parent can't possibly be used any more
   12208        in this routine.  Assigning to the local variable will thus
   12209        munge parent in the parent process.  */
   12210     pid_t
   12211       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
   12212       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
   12213     /* Convince the compiler that p..p7 are live; otherwise, it might
   12214        use the same hardware register for all 8 local variables.  */
   12215     if (p != p1 || p != p2 || p != p3 || p != p4
   12216 	|| p != p5 || p != p6 || p != p7)
   12217       _exit(1);
   12218 
   12219     /* Alter the child's signal handler.  */
   12220     if (signal (SIGTERM, do_nothing) != SIG_DFL)
   12221       _exit(1);
   12222 
   12223     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
   12224        from child file descriptors.  If the child closes a descriptor
   12225        before it execs or exits, this munges the parent's descriptor
   12226        as well.  Test for this by closing stdout in the child.  */
   12227     _exit(close(fileno(stdout)) != 0);
   12228   } else {
   12229     int status;
   12230     struct stat st;
   12231 
   12232     while (wait(&status) != child)
   12233       ;
   12234     return (
   12235 	 /* Was there some problem with vforking?  */
   12236 	 child < 0
   12237 
   12238 	 /* Did the child munge the parent's signal handler?  */
   12239 	 || signal (SIGTERM, SIG_DFL) != SIG_DFL
   12240 
   12241 	 /* Did the child fail?  (This shouldn't happen.)  */
   12242 	 || status
   12243 
   12244 	 /* Did the vfork/compiler bug occur?  */
   12245 	 || parent != getpid()
   12246 
   12247 	 /* Did the file descriptor bug occur?  */
   12248 	 || fstat(fileno(stdout), &st) != 0
   12249 	 );
   12250   }
   12251 }
   12252 _ACEOF
   12253 if ac_fn_c_try_run "$LINENO"
   12254 then :
   12255   ac_cv_func_vfork_works=yes
   12256 else case e in #(
   12257   e) ac_cv_func_vfork_works=no ;;
   12258 esac
   12259 fi
   12260 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12261   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   12262 esac
   12263 fi
   12264  ;;
   12265 esac
   12266 fi
   12267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
   12268 printf "%s\n" "$ac_cv_func_vfork_works" >&6; }
   12269 
   12270 fi;
   12271 if test "x$ac_cv_func_fork_works" = xcross; then
   12272   ac_cv_func_vfork_works=$ac_cv_func_vfork
   12273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
   12274 printf "%s\n" "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
   12275 fi
   12276 
   12277 if test "x$ac_cv_func_vfork_works" = xyes; then
   12278 
   12279 printf "%s\n" "#define HAVE_WORKING_VFORK 1" >>confdefs.h
   12280 
   12281 else
   12282 
   12283 printf "%s\n" "#define vfork fork" >>confdefs.h
   12284 
   12285 fi
   12286 if test "x$ac_cv_func_fork_works" = xyes; then
   12287 
   12288 printf "%s\n" "#define HAVE_WORKING_FORK 1" >>confdefs.h
   12289 
   12290 fi
   12291 
   12292 
   12293 ac_config_files="$ac_config_files Makefile man/Makefile"
   12294 
   12295 cat >confcache <<\_ACEOF
   12296 # This file is a shell script that caches the results of configure
   12297 # tests run on this system so they can be shared between configure
   12298 # scripts and configure runs, see configure's option --config-cache.
   12299 # It is not useful on other systems.  If it contains results you don't
   12300 # want to keep, you may remove or edit it.
   12301 #
   12302 # config.status only pays attention to the cache file if you give it
   12303 # the --recheck option to rerun configure.
   12304 #
   12305 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12306 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12307 # following values.
   12308 
   12309 _ACEOF
   12310 
   12311 # The following way of writing the cache mishandles newlines in values,
   12312 # but we know of no workaround that is simple, portable, and efficient.
   12313 # So, we kill variables containing newlines.
   12314 # Ultrix sh set writes to stderr and can't be redirected directly,
   12315 # and sets the high bit in the cache file unless we assign to the vars.
   12316 (
   12317   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12318     eval ac_val=\$$ac_var
   12319     case $ac_val in #(
   12320     *${as_nl}*)
   12321       case $ac_var in #(
   12322       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12323 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12324       esac
   12325       case $ac_var in #(
   12326       _ | IFS | as_nl) ;; #(
   12327       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12328       *) { eval $ac_var=; unset $ac_var;} ;;
   12329       esac ;;
   12330     esac
   12331   done
   12332 
   12333   (set) 2>&1 |
   12334     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12335     *${as_nl}ac_space=\ *)
   12336       # 'set' does not quote correctly, so add quotes: double-quote
   12337       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12338       sed -n \
   12339 	"s/'/'\\\\''/g;
   12340 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12341       ;; #(
   12342     *)
   12343       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   12344       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12345       ;;
   12346     esac |
   12347     sort
   12348 ) |
   12349   sed '
   12350      /^ac_cv_env_/b end
   12351      t clear
   12352      :clear
   12353      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12354      t end
   12355      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12356      :end' >>confcache
   12357 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12358   if test -w "$cache_file"; then
   12359     if test "x$cache_file" != "x/dev/null"; then
   12360       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12361 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   12362       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12363 	cat confcache >"$cache_file"
   12364       else
   12365         case $cache_file in #(
   12366         */* | ?:*)
   12367 	  mv -f confcache "$cache_file"$$ &&
   12368 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12369         *)
   12370 	  mv -f confcache "$cache_file" ;;
   12371 	esac
   12372       fi
   12373     fi
   12374   else
   12375     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12376 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   12377   fi
   12378 fi
   12379 rm -f confcache
   12380 
   12381 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12382 # Let make expand exec_prefix.
   12383 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12384 
   12385 DEFS=-DHAVE_CONFIG_H
   12386 
   12387 ac_libobjs=
   12388 ac_ltlibobjs=
   12389 U=
   12390 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12391   # 1. Remove the extension, and $U if already installed.
   12392   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12393   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12394   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12395   #    will be set to the directory where LIBOBJS objects are built.
   12396   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12397   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12398 done
   12399 LIBOBJS=$ac_libobjs
   12400 
   12401 LTLIBOBJS=$ac_ltlibobjs
   12402 
   12403 
   12404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12405 printf %s "checking that generated files are newer than configure... " >&6; }
   12406    if test -n "$am_sleep_pid"; then
   12407      # Hide warnings about reused PIDs.
   12408      wait $am_sleep_pid 2>/dev/null
   12409    fi
   12410    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12411 printf "%s\n" "done" >&6; }
   12412  if test -n "$EXEEXT"; then
   12413   am__EXEEXT_TRUE=
   12414   am__EXEEXT_FALSE='#'
   12415 else
   12416   am__EXEEXT_TRUE='#'
   12417   am__EXEEXT_FALSE=
   12418 fi
   12419 
   12420 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12421   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12423 fi
   12424 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12425   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12427 fi
   12428 # Check whether --enable-year2038 was given.
   12429 if test ${enable_year2038+y}
   12430 then :
   12431   enableval=$enable_year2038;
   12432 fi
   12433 
   12434 
   12435 : "${CONFIG_STATUS=./config.status}"
   12436 ac_write_fail=0
   12437 ac_clean_files_save=$ac_clean_files
   12438 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12440 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12441 as_write_fail=0
   12442 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12443 #! $SHELL
   12444 # Generated by $as_me.
   12445 # Run this file to recreate the current configuration.
   12446 # Compiler output produced by configure, useful for debugging
   12447 # configure, is in config.log if it exists.
   12448 
   12449 debug=false
   12450 ac_cs_recheck=false
   12451 ac_cs_silent=false
   12452 
   12453 SHELL=\${CONFIG_SHELL-$SHELL}
   12454 export SHELL
   12455 _ASEOF
   12456 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12457 ## -------------------- ##
   12458 ## M4sh Initialization. ##
   12459 ## -------------------- ##
   12460 
   12461 # Be more Bourne compatible
   12462 DUALCASE=1; export DUALCASE # for MKS sh
   12463 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12464 then :
   12465   emulate sh
   12466   NULLCMD=:
   12467   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12468   # is contrary to our usage.  Disable this feature.
   12469   alias -g '${1+"$@"}'='"$@"'
   12470   setopt NO_GLOB_SUBST
   12471 else case e in #(
   12472   e) case `(set -o) 2>/dev/null` in #(
   12473   *posix*) :
   12474     set -o posix ;; #(
   12475   *) :
   12476      ;;
   12477 esac ;;
   12478 esac
   12479 fi
   12480 
   12481 
   12482 
   12483 # Reset variables that may have inherited troublesome values from
   12484 # the environment.
   12485 
   12486 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12487 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12488 # side effect of setting IFS to empty, thus disabling word splitting.)
   12489 # Quoting is to prevent editors from complaining about space-tab.
   12490 as_nl='
   12491 '
   12492 export as_nl
   12493 IFS=" ""	$as_nl"
   12494 
   12495 PS1='$ '
   12496 PS2='> '
   12497 PS4='+ '
   12498 
   12499 # Ensure predictable behavior from utilities with locale-dependent output.
   12500 LC_ALL=C
   12501 export LC_ALL
   12502 LANGUAGE=C
   12503 export LANGUAGE
   12504 
   12505 # We cannot yet rely on "unset" to work, but we need these variables
   12506 # to be unset--not just set to an empty or harmless value--now, to
   12507 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12508 # also avoids known problems related to "unset" and subshell syntax
   12509 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12510 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12511 do eval test \${$as_var+y} \
   12512   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12513 done
   12514 
   12515 # Ensure that fds 0, 1, and 2 are open.
   12516 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12517 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12518 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12519 
   12520 # The user is always right.
   12521 if ${PATH_SEPARATOR+false} :; then
   12522   PATH_SEPARATOR=:
   12523   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12524     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12525       PATH_SEPARATOR=';'
   12526   }
   12527 fi
   12528 
   12529 
   12530 # Find who we are.  Look in the path if we contain no directory separator.
   12531 as_myself=
   12532 case $0 in #((
   12533   *[\\/]* ) as_myself=$0 ;;
   12534   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12535 for as_dir in $PATH
   12536 do
   12537   IFS=$as_save_IFS
   12538   case $as_dir in #(((
   12539     '') as_dir=./ ;;
   12540     */) ;;
   12541     *) as_dir=$as_dir/ ;;
   12542   esac
   12543     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12544   done
   12545 IFS=$as_save_IFS
   12546 
   12547      ;;
   12548 esac
   12549 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12550 # in which case we are not to be found in the path.
   12551 if test "x$as_myself" = x; then
   12552   as_myself=$0
   12553 fi
   12554 if test ! -f "$as_myself"; then
   12555   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12556   exit 1
   12557 fi
   12558 
   12559 
   12560 
   12561 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12562 # ----------------------------------------
   12563 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12564 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12565 # script with STATUS, using 1 if that was 0.
   12566 as_fn_error ()
   12567 {
   12568   as_status=$1; test $as_status -eq 0 && as_status=1
   12569   if test "$4"; then
   12570     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12571     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12572   fi
   12573   printf "%s\n" "$as_me: error: $2" >&2
   12574   as_fn_exit $as_status
   12575 } # as_fn_error
   12576 
   12577 
   12578 # as_fn_set_status STATUS
   12579 # -----------------------
   12580 # Set $? to STATUS, without forking.
   12581 as_fn_set_status ()
   12582 {
   12583   return $1
   12584 } # as_fn_set_status
   12585 
   12586 # as_fn_exit STATUS
   12587 # -----------------
   12588 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12589 as_fn_exit ()
   12590 {
   12591   set +e
   12592   as_fn_set_status $1
   12593   exit $1
   12594 } # as_fn_exit
   12595 
   12596 # as_fn_unset VAR
   12597 # ---------------
   12598 # Portably unset VAR.
   12599 as_fn_unset ()
   12600 {
   12601   { eval $1=; unset $1;}
   12602 }
   12603 as_unset=as_fn_unset
   12604 
   12605 # as_fn_append VAR VALUE
   12606 # ----------------------
   12607 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12608 # advantage of any shell optimizations that allow amortized linear growth over
   12609 # repeated appends, instead of the typical quadratic growth present in naive
   12610 # implementations.
   12611 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12612 then :
   12613   eval 'as_fn_append ()
   12614   {
   12615     eval $1+=\$2
   12616   }'
   12617 else case e in #(
   12618   e) as_fn_append ()
   12619   {
   12620     eval $1=\$$1\$2
   12621   } ;;
   12622 esac
   12623 fi # as_fn_append
   12624 
   12625 # as_fn_arith ARG...
   12626 # ------------------
   12627 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12628 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12629 # must be portable across $(()) and expr.
   12630 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12631 then :
   12632   eval 'as_fn_arith ()
   12633   {
   12634     as_val=$(( $* ))
   12635   }'
   12636 else case e in #(
   12637   e) as_fn_arith ()
   12638   {
   12639     as_val=`expr "$@" || test $? -eq 1`
   12640   } ;;
   12641 esac
   12642 fi # as_fn_arith
   12643 
   12644 
   12645 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12646    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12647   as_expr=expr
   12648 else
   12649   as_expr=false
   12650 fi
   12651 
   12652 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12653   as_basename=basename
   12654 else
   12655   as_basename=false
   12656 fi
   12657 
   12658 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12659   as_dirname=dirname
   12660 else
   12661   as_dirname=false
   12662 fi
   12663 
   12664 as_me=`$as_basename -- "$0" ||
   12665 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12666 	 X"$0" : 'X\(//\)$' \| \
   12667 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12668 printf "%s\n" X/"$0" |
   12669     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12670 	    s//\1/
   12671 	    q
   12672 	  }
   12673 	  /^X\/\(\/\/\)$/{
   12674 	    s//\1/
   12675 	    q
   12676 	  }
   12677 	  /^X\/\(\/\).*/{
   12678 	    s//\1/
   12679 	    q
   12680 	  }
   12681 	  s/.*/./; q'`
   12682 
   12683 # Avoid depending upon Character Ranges.
   12684 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12685 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12686 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12687 as_cr_digits='0123456789'
   12688 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12689 
   12690 
   12691 # Determine whether it's possible to make 'echo' print without a newline.
   12692 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12693 # for compatibility with existing Makefiles.
   12694 ECHO_C= ECHO_N= ECHO_T=
   12695 case `echo -n x` in #(((((
   12696 -n*)
   12697   case `echo 'xy\c'` in
   12698   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12699   xy)  ECHO_C='\c';;
   12700   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12701        ECHO_T='	';;
   12702   esac;;
   12703 *)
   12704   ECHO_N='-n';;
   12705 esac
   12706 
   12707 # For backward compatibility with old third-party macros, we provide
   12708 # the shell variables $as_echo and $as_echo_n.  New code should use
   12709 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12710 as_echo='printf %s\n'
   12711 as_echo_n='printf %s'
   12712 
   12713 rm -f conf$$ conf$$.exe conf$$.file
   12714 if test -d conf$$.dir; then
   12715   rm -f conf$$.dir/conf$$.file
   12716 else
   12717   rm -f conf$$.dir
   12718   mkdir conf$$.dir 2>/dev/null
   12719 fi
   12720 if (echo >conf$$.file) 2>/dev/null; then
   12721   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12722     as_ln_s='ln -s'
   12723     # ... but there are two gotchas:
   12724     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12725     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12726     # In both cases, we have to default to 'cp -pR'.
   12727     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12728       as_ln_s='cp -pR'
   12729   elif ln conf$$.file conf$$ 2>/dev/null; then
   12730     as_ln_s=ln
   12731   else
   12732     as_ln_s='cp -pR'
   12733   fi
   12734 else
   12735   as_ln_s='cp -pR'
   12736 fi
   12737 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12738 rmdir conf$$.dir 2>/dev/null
   12739 
   12740 
   12741 # as_fn_mkdir_p
   12742 # -------------
   12743 # Create "$as_dir" as a directory, including parents if necessary.
   12744 as_fn_mkdir_p ()
   12745 {
   12746 
   12747   case $as_dir in #(
   12748   -*) as_dir=./$as_dir;;
   12749   esac
   12750   test -d "$as_dir" || eval $as_mkdir_p || {
   12751     as_dirs=
   12752     while :; do
   12753       case $as_dir in #(
   12754       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12755       *) as_qdir=$as_dir;;
   12756       esac
   12757       as_dirs="'$as_qdir' $as_dirs"
   12758       as_dir=`$as_dirname -- "$as_dir" ||
   12759 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12760 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12761 	 X"$as_dir" : 'X\(//\)$' \| \
   12762 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12763 printf "%s\n" X"$as_dir" |
   12764     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12765 	    s//\1/
   12766 	    q
   12767 	  }
   12768 	  /^X\(\/\/\)[^/].*/{
   12769 	    s//\1/
   12770 	    q
   12771 	  }
   12772 	  /^X\(\/\/\)$/{
   12773 	    s//\1/
   12774 	    q
   12775 	  }
   12776 	  /^X\(\/\).*/{
   12777 	    s//\1/
   12778 	    q
   12779 	  }
   12780 	  s/.*/./; q'`
   12781       test -d "$as_dir" && break
   12782     done
   12783     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12784   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12785 
   12786 
   12787 } # as_fn_mkdir_p
   12788 if mkdir -p . 2>/dev/null; then
   12789   as_mkdir_p='mkdir -p "$as_dir"'
   12790 else
   12791   test -d ./-p && rmdir ./-p
   12792   as_mkdir_p=false
   12793 fi
   12794 
   12795 
   12796 # as_fn_executable_p FILE
   12797 # -----------------------
   12798 # Test if FILE is an executable regular file.
   12799 as_fn_executable_p ()
   12800 {
   12801   test -f "$1" && test -x "$1"
   12802 } # as_fn_executable_p
   12803 as_test_x='test -x'
   12804 as_executable_p=as_fn_executable_p
   12805 
   12806 # Sed expression to map a string onto a valid CPP name.
   12807 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12808 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12809 
   12810 # Sed expression to map a string onto a valid variable name.
   12811 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12812 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12813 
   12814 
   12815 exec 6>&1
   12816 ## ----------------------------------- ##
   12817 ## Main body of $CONFIG_STATUS script. ##
   12818 ## ----------------------------------- ##
   12819 _ASEOF
   12820 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12821 
   12822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12823 # Save the log message, to keep $0 and so on meaningful, and to
   12824 # report actual input values of CONFIG_FILES etc. instead of their
   12825 # values after options handling.
   12826 ac_log="
   12827 This file was extended by xmh $as_me 1.0.5, which was
   12828 generated by GNU Autoconf 2.72.  Invocation command line was
   12829 
   12830   CONFIG_FILES    = $CONFIG_FILES
   12831   CONFIG_HEADERS  = $CONFIG_HEADERS
   12832   CONFIG_LINKS    = $CONFIG_LINKS
   12833   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12834   $ $0 $@
   12835 
   12836 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12837 "
   12838 
   12839 _ACEOF
   12840 
   12841 case $ac_config_files in *"
   12842 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12843 esac
   12844 
   12845 case $ac_config_headers in *"
   12846 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12847 esac
   12848 
   12849 
   12850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12851 # Files that config.status was made for.
   12852 config_files="$ac_config_files"
   12853 config_headers="$ac_config_headers"
   12854 config_commands="$ac_config_commands"
   12855 
   12856 _ACEOF
   12857 
   12858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12859 ac_cs_usage="\
   12860 '$as_me' instantiates files and other configuration actions
   12861 from templates according to the current configuration.  Unless the files
   12862 and actions are specified as TAGs, all are instantiated by default.
   12863 
   12864 Usage: $0 [OPTION]... [TAG]...
   12865 
   12866   -h, --help       print this help, then exit
   12867   -V, --version    print version number and configuration settings, then exit
   12868       --config     print configuration, then exit
   12869   -q, --quiet, --silent
   12870                    do not print progress messages
   12871   -d, --debug      don't remove temporary files
   12872       --recheck    update $as_me by reconfiguring in the same conditions
   12873       --file=FILE[:TEMPLATE]
   12874                    instantiate the configuration file FILE
   12875       --header=FILE[:TEMPLATE]
   12876                    instantiate the configuration header FILE
   12877 
   12878 Configuration files:
   12879 $config_files
   12880 
   12881 Configuration headers:
   12882 $config_headers
   12883 
   12884 Configuration commands:
   12885 $config_commands
   12886 
   12887 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmh/-/issues>."
   12888 
   12889 _ACEOF
   12890 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12891 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12893 ac_cs_config='$ac_cs_config_escaped'
   12894 ac_cs_version="\\
   12895 xmh config.status 1.0.5
   12896 configured by $0, generated by GNU Autoconf 2.72,
   12897   with options \\"\$ac_cs_config\\"
   12898 
   12899 Copyright (C) 2023 Free Software Foundation, Inc.
   12900 This config.status script is free software; the Free Software Foundation
   12901 gives unlimited permission to copy, distribute and modify it."
   12902 
   12903 ac_pwd='$ac_pwd'
   12904 srcdir='$srcdir'
   12905 INSTALL='$INSTALL'
   12906 MKDIR_P='$MKDIR_P'
   12907 AWK='$AWK'
   12908 test -n "\$AWK" || AWK=awk
   12909 _ACEOF
   12910 
   12911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12912 # The default lists apply if the user does not specify any file.
   12913 ac_need_defaults=:
   12914 while test $# != 0
   12915 do
   12916   case $1 in
   12917   --*=?*)
   12918     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12919     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12920     ac_shift=:
   12921     ;;
   12922   --*=)
   12923     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12924     ac_optarg=
   12925     ac_shift=:
   12926     ;;
   12927   *)
   12928     ac_option=$1
   12929     ac_optarg=$2
   12930     ac_shift=shift
   12931     ;;
   12932   esac
   12933 
   12934   case $ac_option in
   12935   # Handling of the options.
   12936   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12937     ac_cs_recheck=: ;;
   12938   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12939     printf "%s\n" "$ac_cs_version"; exit ;;
   12940   --config | --confi | --conf | --con | --co | --c )
   12941     printf "%s\n" "$ac_cs_config"; exit ;;
   12942   --debug | --debu | --deb | --de | --d | -d )
   12943     debug=: ;;
   12944   --file | --fil | --fi | --f )
   12945     $ac_shift
   12946     case $ac_optarg in
   12947     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12948     '') as_fn_error $? "missing file argument" ;;
   12949     esac
   12950     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12951     ac_need_defaults=false;;
   12952   --header | --heade | --head | --hea )
   12953     $ac_shift
   12954     case $ac_optarg in
   12955     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12956     esac
   12957     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12958     ac_need_defaults=false;;
   12959   --he | --h)
   12960     # Conflict between --help and --header
   12961     as_fn_error $? "ambiguous option: '$1'
   12962 Try '$0 --help' for more information.";;
   12963   --help | --hel | -h )
   12964     printf "%s\n" "$ac_cs_usage"; exit ;;
   12965   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12966   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12967     ac_cs_silent=: ;;
   12968 
   12969   # This is an error.
   12970   -*) as_fn_error $? "unrecognized option: '$1'
   12971 Try '$0 --help' for more information." ;;
   12972 
   12973   *) as_fn_append ac_config_targets " $1"
   12974      ac_need_defaults=false ;;
   12975 
   12976   esac
   12977   shift
   12978 done
   12979 
   12980 ac_configure_extra_args=
   12981 
   12982 if $ac_cs_silent; then
   12983   exec 6>/dev/null
   12984   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12985 fi
   12986 
   12987 _ACEOF
   12988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12989 if \$ac_cs_recheck; then
   12990   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12991   shift
   12992   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12993   CONFIG_SHELL='$SHELL'
   12994   export CONFIG_SHELL
   12995   exec "\$@"
   12996 fi
   12997 
   12998 _ACEOF
   12999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13000 exec 5>>config.log
   13001 {
   13002   echo
   13003   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13004 ## Running $as_me. ##
   13005 _ASBOX
   13006   printf "%s\n" "$ac_log"
   13007 } >&5
   13008 
   13009 _ACEOF
   13010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13011 #
   13012 # INIT-COMMANDS
   13013 #
   13014 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   13015 
   13016 _ACEOF
   13017 
   13018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13019 
   13020 # Handling of arguments.
   13021 for ac_config_target in $ac_config_targets
   13022 do
   13023   case $ac_config_target in
   13024     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13025     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13026     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13027     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13028 
   13029   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   13030   esac
   13031 done
   13032 
   13033 
   13034 # If the user did not use the arguments to specify the items to instantiate,
   13035 # then the envvar interface is used.  Set only those that are not.
   13036 # We use the long form for the default assignment because of an extremely
   13037 # bizarre bug on SunOS 4.1.3.
   13038 if $ac_need_defaults; then
   13039   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   13040   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   13041   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   13042 fi
   13043 
   13044 # Have a temporary directory for convenience.  Make it in the build tree
   13045 # simply because there is no reason against having it here, and in addition,
   13046 # creating and moving files from /tmp can sometimes cause problems.
   13047 # Hook for its removal unless debugging.
   13048 # Note that there is a small window in which the directory will not be cleaned:
   13049 # after its creation but before its name has been assigned to '$tmp'.
   13050 $debug ||
   13051 {
   13052   tmp= ac_tmp=
   13053   trap 'exit_status=$?
   13054   : "${ac_tmp:=$tmp}"
   13055   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13056 ' 0
   13057   trap 'as_fn_exit 1' 1 2 13 15
   13058 }
   13059 # Create a (secure) tmp directory for tmp files.
   13060 
   13061 {
   13062   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13063   test -d "$tmp"
   13064 }  ||
   13065 {
   13066   tmp=./conf$$-$RANDOM
   13067   (umask 077 && mkdir "$tmp")
   13068 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13069 ac_tmp=$tmp
   13070 
   13071 # Set up the scripts for CONFIG_FILES section.
   13072 # No need to generate them if there are no CONFIG_FILES.
   13073 # This happens for instance with './config.status config.h'.
   13074 if test -n "$CONFIG_FILES"; then
   13075 
   13076 
   13077 ac_cr=`echo X | tr X '\015'`
   13078 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13079 # But we know of no other shell where ac_cr would be empty at this
   13080 # point, so we can use a bashism as a fallback.
   13081 if test "x$ac_cr" = x; then
   13082   eval ac_cr=\$\'\\r\'
   13083 fi
   13084 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13085 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13086   ac_cs_awk_cr='\\r'
   13087 else
   13088   ac_cs_awk_cr=$ac_cr
   13089 fi
   13090 
   13091 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13092 _ACEOF
   13093 
   13094 
   13095 {
   13096   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13097   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13098   echo "_ACEOF"
   13099 } >conf$$subs.sh ||
   13100   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13101 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13102 ac_delim='%!_!# '
   13103 for ac_last_try in false false false false false :; do
   13104   . ./conf$$subs.sh ||
   13105     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13106 
   13107   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13108   if test $ac_delim_n = $ac_delim_num; then
   13109     break
   13110   elif $ac_last_try; then
   13111     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13112   else
   13113     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13114   fi
   13115 done
   13116 rm -f conf$$subs.sh
   13117 
   13118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13119 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13120 _ACEOF
   13121 sed -n '
   13122 h
   13123 s/^/S["/; s/!.*/"]=/
   13124 p
   13125 g
   13126 s/^[^!]*!//
   13127 :repl
   13128 t repl
   13129 s/'"$ac_delim"'$//
   13130 t delim
   13131 :nl
   13132 h
   13133 s/\(.\{148\}\)..*/\1/
   13134 t more1
   13135 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13136 p
   13137 n
   13138 b repl
   13139 :more1
   13140 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13141 p
   13142 g
   13143 s/.\{148\}//
   13144 t nl
   13145 :delim
   13146 h
   13147 s/\(.\{148\}\)..*/\1/
   13148 t more2
   13149 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13150 p
   13151 b
   13152 :more2
   13153 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13154 p
   13155 g
   13156 s/.\{148\}//
   13157 t delim
   13158 ' <conf$$subs.awk | sed '
   13159 /^[^""]/{
   13160   N
   13161   s/\n//
   13162 }
   13163 ' >>$CONFIG_STATUS || ac_write_fail=1
   13164 rm -f conf$$subs.awk
   13165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13166 _ACAWK
   13167 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13168   for (key in S) S_is_set[key] = 1
   13169   FS = ""
   13170 
   13171 }
   13172 {
   13173   line = $ 0
   13174   nfields = split(line, field, "@")
   13175   substed = 0
   13176   len = length(field[1])
   13177   for (i = 2; i < nfields; i++) {
   13178     key = field[i]
   13179     keylen = length(key)
   13180     if (S_is_set[key]) {
   13181       value = S[key]
   13182       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13183       len += length(value) + length(field[++i])
   13184       substed = 1
   13185     } else
   13186       len += 1 + keylen
   13187   }
   13188 
   13189   print line
   13190 }
   13191 
   13192 _ACAWK
   13193 _ACEOF
   13194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13195 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13196   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13197 else
   13198   cat
   13199 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13200   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13201 _ACEOF
   13202 
   13203 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13204 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13205 # trailing colons and then remove the whole line if VPATH becomes empty
   13206 # (actually we leave an empty line to preserve line numbers).
   13207 if test "x$srcdir" = x.; then
   13208   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13209 h
   13210 s///
   13211 s/^/:/
   13212 s/[	 ]*$/:/
   13213 s/:\$(srcdir):/:/g
   13214 s/:\${srcdir}:/:/g
   13215 s/:@srcdir@:/:/g
   13216 s/^:*//
   13217 s/:*$//
   13218 x
   13219 s/\(=[	 ]*\).*/\1/
   13220 G
   13221 s/\n//
   13222 s/^[^=]*=[	 ]*$//
   13223 }'
   13224 fi
   13225 
   13226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13227 fi # test -n "$CONFIG_FILES"
   13228 
   13229 # Set up the scripts for CONFIG_HEADERS section.
   13230 # No need to generate them if there are no CONFIG_HEADERS.
   13231 # This happens for instance with './config.status Makefile'.
   13232 if test -n "$CONFIG_HEADERS"; then
   13233 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13234 BEGIN {
   13235 _ACEOF
   13236 
   13237 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   13238 # here-document in config.status, that substitutes the proper values into
   13239 # config.h.in to produce config.h.
   13240 
   13241 # Create a delimiter string that does not exist in confdefs.h, to ease
   13242 # handling of long lines.
   13243 ac_delim='%!_!# '
   13244 for ac_last_try in false false :; do
   13245   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13246   if test -z "$ac_tt"; then
   13247     break
   13248   elif $ac_last_try; then
   13249     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13250   else
   13251     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13252   fi
   13253 done
   13254 
   13255 # For the awk script, D is an array of macro values keyed by name,
   13256 # likewise P contains macro parameters if any.  Preserve backslash
   13257 # newline sequences.
   13258 
   13259 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13260 sed -n '
   13261 s/.\{148\}/&'"$ac_delim"'/g
   13262 t rset
   13263 :rset
   13264 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13265 t def
   13266 d
   13267 :def
   13268 s/\\$//
   13269 t bsnl
   13270 s/["\\]/\\&/g
   13271 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13272 D["\1"]=" \3"/p
   13273 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13274 d
   13275 :bsnl
   13276 s/["\\]/\\&/g
   13277 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13278 D["\1"]=" \3\\\\\\n"\\/p
   13279 t cont
   13280 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13281 t cont
   13282 d
   13283 :cont
   13284 n
   13285 s/.\{148\}/&'"$ac_delim"'/g
   13286 t clear
   13287 :clear
   13288 s/\\$//
   13289 t bsnlc
   13290 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13291 d
   13292 :bsnlc
   13293 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13294 b cont
   13295 ' <confdefs.h | sed '
   13296 s/'"$ac_delim"'/"\\\
   13297 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13298 
   13299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13300   for (key in D) D_is_set[key] = 1
   13301   FS = ""
   13302 }
   13303 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13304   line = \$ 0
   13305   split(line, arg, " ")
   13306   if (arg[1] == "#") {
   13307     defundef = arg[2]
   13308     mac1 = arg[3]
   13309   } else {
   13310     defundef = substr(arg[1], 2)
   13311     mac1 = arg[2]
   13312   }
   13313   split(mac1, mac2, "(") #)
   13314   macro = mac2[1]
   13315   prefix = substr(line, 1, index(line, defundef) - 1)
   13316   if (D_is_set[macro]) {
   13317     # Preserve the white space surrounding the "#".
   13318     print prefix "define", macro P[macro] D[macro]
   13319     next
   13320   } else {
   13321     # Replace #undef with comments.  This is necessary, for example,
   13322     # in the case of _POSIX_SOURCE, which is predefined and required
   13323     # on some systems where configure will not decide to define it.
   13324     if (defundef == "undef") {
   13325       print "/*", prefix defundef, macro, "*/"
   13326       next
   13327     }
   13328   }
   13329 }
   13330 { print }
   13331 _ACAWK
   13332 _ACEOF
   13333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13334   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13335 fi # test -n "$CONFIG_HEADERS"
   13336 
   13337 
   13338 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13339 shift
   13340 for ac_tag
   13341 do
   13342   case $ac_tag in
   13343   :[FHLC]) ac_mode=$ac_tag; continue;;
   13344   esac
   13345   case $ac_mode$ac_tag in
   13346   :[FHL]*:*);;
   13347   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13348   :[FH]-) ac_tag=-:-;;
   13349   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13350   esac
   13351   ac_save_IFS=$IFS
   13352   IFS=:
   13353   set x $ac_tag
   13354   IFS=$ac_save_IFS
   13355   shift
   13356   ac_file=$1
   13357   shift
   13358 
   13359   case $ac_mode in
   13360   :L) ac_source=$1;;
   13361   :[FH])
   13362     ac_file_inputs=
   13363     for ac_f
   13364     do
   13365       case $ac_f in
   13366       -) ac_f="$ac_tmp/stdin";;
   13367       *) # Look for the file first in the build tree, then in the source tree
   13368 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13369 	 # because $ac_f cannot contain ':'.
   13370 	 test -f "$ac_f" ||
   13371 	   case $ac_f in
   13372 	   [\\/$]*) false;;
   13373 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13374 	   esac ||
   13375 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13376       esac
   13377       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13378       as_fn_append ac_file_inputs " '$ac_f'"
   13379     done
   13380 
   13381     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13382     # use $as_me), people would be surprised to read:
   13383     #    /* config.h.  Generated by config.status.  */
   13384     configure_input='Generated from '`
   13385 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13386 	`' by configure.'
   13387     if test x"$ac_file" != x-; then
   13388       configure_input="$ac_file.  $configure_input"
   13389       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13390 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13391     fi
   13392     # Neutralize special characters interpreted by sed in replacement strings.
   13393     case $configure_input in #(
   13394     *\&* | *\|* | *\\* )
   13395        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13396        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13397     *) ac_sed_conf_input=$configure_input;;
   13398     esac
   13399 
   13400     case $ac_tag in
   13401     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13402       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13403     esac
   13404     ;;
   13405   esac
   13406 
   13407   ac_dir=`$as_dirname -- "$ac_file" ||
   13408 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13409 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13410 	 X"$ac_file" : 'X\(//\)$' \| \
   13411 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13412 printf "%s\n" X"$ac_file" |
   13413     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13414 	    s//\1/
   13415 	    q
   13416 	  }
   13417 	  /^X\(\/\/\)[^/].*/{
   13418 	    s//\1/
   13419 	    q
   13420 	  }
   13421 	  /^X\(\/\/\)$/{
   13422 	    s//\1/
   13423 	    q
   13424 	  }
   13425 	  /^X\(\/\).*/{
   13426 	    s//\1/
   13427 	    q
   13428 	  }
   13429 	  s/.*/./; q'`
   13430   as_dir="$ac_dir"; as_fn_mkdir_p
   13431   ac_builddir=.
   13432 
   13433 case "$ac_dir" in
   13434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13435 *)
   13436   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13437   # A ".." for each directory in $ac_dir_suffix.
   13438   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13439   case $ac_top_builddir_sub in
   13440   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13441   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13442   esac ;;
   13443 esac
   13444 ac_abs_top_builddir=$ac_pwd
   13445 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13446 # for backward compatibility:
   13447 ac_top_builddir=$ac_top_build_prefix
   13448 
   13449 case $srcdir in
   13450   .)  # We are building in place.
   13451     ac_srcdir=.
   13452     ac_top_srcdir=$ac_top_builddir_sub
   13453     ac_abs_top_srcdir=$ac_pwd ;;
   13454   [\\/]* | ?:[\\/]* )  # Absolute name.
   13455     ac_srcdir=$srcdir$ac_dir_suffix;
   13456     ac_top_srcdir=$srcdir
   13457     ac_abs_top_srcdir=$srcdir ;;
   13458   *) # Relative name.
   13459     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13460     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13461     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13462 esac
   13463 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13464 
   13465 
   13466   case $ac_mode in
   13467   :F)
   13468   #
   13469   # CONFIG_FILE
   13470   #
   13471 
   13472   case $INSTALL in
   13473   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13474   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13475   esac
   13476   ac_MKDIR_P=$MKDIR_P
   13477   case $MKDIR_P in
   13478   [\\/$]* | ?:[\\/]* ) ;;
   13479   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13480   esac
   13481 _ACEOF
   13482 
   13483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13484 # If the template does not know about datarootdir, expand it.
   13485 # FIXME: This hack should be removed a few years after 2.60.
   13486 ac_datarootdir_hack=; ac_datarootdir_seen=
   13487 ac_sed_dataroot='
   13488 /datarootdir/ {
   13489   p
   13490   q
   13491 }
   13492 /@datadir@/p
   13493 /@docdir@/p
   13494 /@infodir@/p
   13495 /@localedir@/p
   13496 /@mandir@/p'
   13497 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13498 *datarootdir*) ac_datarootdir_seen=yes;;
   13499 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13501 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13502 _ACEOF
   13503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13504   ac_datarootdir_hack='
   13505   s&@datadir@&$datadir&g
   13506   s&@docdir@&$docdir&g
   13507   s&@infodir@&$infodir&g
   13508   s&@localedir@&$localedir&g
   13509   s&@mandir@&$mandir&g
   13510   s&\\\${datarootdir}&$datarootdir&g' ;;
   13511 esac
   13512 _ACEOF
   13513 
   13514 # Neutralize VPATH when '$srcdir' = '.'.
   13515 # Shell code in configure.ac might set extrasub.
   13516 # FIXME: do we really want to maintain this feature?
   13517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13518 ac_sed_extra="$ac_vpsub
   13519 $extrasub
   13520 _ACEOF
   13521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13522 :t
   13523 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13524 s|@configure_input@|$ac_sed_conf_input|;t t
   13525 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13526 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13527 s&@srcdir@&$ac_srcdir&;t t
   13528 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13529 s&@top_srcdir@&$ac_top_srcdir&;t t
   13530 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13531 s&@builddir@&$ac_builddir&;t t
   13532 s&@abs_builddir@&$ac_abs_builddir&;t t
   13533 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13534 s&@INSTALL@&$ac_INSTALL&;t t
   13535 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13536 $ac_datarootdir_hack
   13537 "
   13538 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13539   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13540 
   13541 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13542   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13543   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13544       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13546 which seems to be undefined.  Please make sure it is defined" >&5
   13547 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13548 which seems to be undefined.  Please make sure it is defined" >&2;}
   13549 
   13550   rm -f "$ac_tmp/stdin"
   13551   case $ac_file in
   13552   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13553   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13554   esac \
   13555   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13556  ;;
   13557   :H)
   13558   #
   13559   # CONFIG_HEADER
   13560   #
   13561   if test x"$ac_file" != x-; then
   13562     {
   13563       printf "%s\n" "/* $configure_input  */" >&1 \
   13564       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13565     } >"$ac_tmp/config.h" \
   13566       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13567     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13568       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13569 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13570     else
   13571       rm -f "$ac_file"
   13572       mv "$ac_tmp/config.h" "$ac_file" \
   13573 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13574     fi
   13575   else
   13576     printf "%s\n" "/* $configure_input  */" >&1 \
   13577       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13578       || as_fn_error $? "could not create -" "$LINENO" 5
   13579   fi
   13580 # Compute "$ac_file"'s index in $config_headers.
   13581 _am_arg="$ac_file"
   13582 _am_stamp_count=1
   13583 for _am_header in $config_headers :; do
   13584   case $_am_header in
   13585     $_am_arg | $_am_arg:* )
   13586       break ;;
   13587     * )
   13588       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13589   esac
   13590 done
   13591 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13592 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13593 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13594 	 X"$_am_arg" : 'X\(//\)$' \| \
   13595 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13596 printf "%s\n" X"$_am_arg" |
   13597     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13598 	    s//\1/
   13599 	    q
   13600 	  }
   13601 	  /^X\(\/\/\)[^/].*/{
   13602 	    s//\1/
   13603 	    q
   13604 	  }
   13605 	  /^X\(\/\/\)$/{
   13606 	    s//\1/
   13607 	    q
   13608 	  }
   13609 	  /^X\(\/\).*/{
   13610 	    s//\1/
   13611 	    q
   13612 	  }
   13613 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13614  ;;
   13615 
   13616   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13617 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13618  ;;
   13619   esac
   13620 
   13621 
   13622   case $ac_file$ac_mode in
   13623     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13624   # Older Autoconf quotes --file arguments for eval, but not when files
   13625   # are listed without --file.  Let's play safe and only enable the eval
   13626   # if we detect the quoting.
   13627   # TODO: see whether this extra hack can be removed once we start
   13628   # requiring Autoconf 2.70 or later.
   13629   case $CONFIG_FILES in #(
   13630   *\'*) :
   13631     eval set x "$CONFIG_FILES" ;; #(
   13632   *) :
   13633     set x $CONFIG_FILES ;; #(
   13634   *) :
   13635      ;;
   13636 esac
   13637   shift
   13638   # Used to flag and report bootstrapping failures.
   13639   am_rc=0
   13640   for am_mf
   13641   do
   13642     # Strip MF so we end up with the name of the file.
   13643     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13644     # Check whether this is an Automake generated Makefile which includes
   13645     # dependency-tracking related rules and includes.
   13646     # Grep'ing the whole file directly is not great: AIX grep has a line
   13647     # limit of 2048, but all sed's we know have understand at least 4000.
   13648     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13649       || continue
   13650     am_dirpart=`$as_dirname -- "$am_mf" ||
   13651 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13652 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13653 	 X"$am_mf" : 'X\(//\)$' \| \
   13654 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13655 printf "%s\n" X"$am_mf" |
   13656     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13657 	    s//\1/
   13658 	    q
   13659 	  }
   13660 	  /^X\(\/\/\)[^/].*/{
   13661 	    s//\1/
   13662 	    q
   13663 	  }
   13664 	  /^X\(\/\/\)$/{
   13665 	    s//\1/
   13666 	    q
   13667 	  }
   13668 	  /^X\(\/\).*/{
   13669 	    s//\1/
   13670 	    q
   13671 	  }
   13672 	  s/.*/./; q'`
   13673     am_filepart=`$as_basename -- "$am_mf" ||
   13674 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13675 	 X"$am_mf" : 'X\(//\)$' \| \
   13676 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13677 printf "%s\n" X/"$am_mf" |
   13678     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13679 	    s//\1/
   13680 	    q
   13681 	  }
   13682 	  /^X\/\(\/\/\)$/{
   13683 	    s//\1/
   13684 	    q
   13685 	  }
   13686 	  /^X\/\(\/\).*/{
   13687 	    s//\1/
   13688 	    q
   13689 	  }
   13690 	  s/.*/./; q'`
   13691     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13692       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13693         | $MAKE -f - am--depfiles" >&5
   13694    (cd "$am_dirpart" \
   13695       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13696         | $MAKE -f - am--depfiles) >&5 2>&5
   13697    ac_status=$?
   13698    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13699    (exit $ac_status); } || am_rc=$?
   13700   done
   13701   if test $am_rc -ne 0; then
   13702     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13703 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13704 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13705     for automatic dependency tracking.  If GNU make was not used, consider
   13706     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13707     necessary).  You can also try re-running configure with the
   13708     '--disable-dependency-tracking' option to at least be able to build
   13709     the package (albeit without support for automatic dependency tracking).
   13710 See 'config.log' for more details" "$LINENO" 5; }
   13711   fi
   13712   { am_dirpart=; unset am_dirpart;}
   13713   { am_filepart=; unset am_filepart;}
   13714   { am_mf=; unset am_mf;}
   13715   { am_rc=; unset am_rc;}
   13716   rm -f conftest-deps.mk
   13717 }
   13718  ;;
   13719 
   13720   esac
   13721 done # for ac_tag
   13722 
   13723 
   13724 as_fn_exit 0
   13725 _ACEOF
   13726 ac_clean_files=$ac_clean_files_save
   13727 
   13728 test $ac_write_fail = 0 ||
   13729   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13730 
   13731 
   13732 # configure is writing to config.log, and then calls config.status.
   13733 # config.status does its own redirection, appending to config.log.
   13734 # Unfortunately, on DOS this fails, as config.log is still kept open
   13735 # by configure, so config.status won't be able to write to it; its
   13736 # output is simply discarded.  So we exec the FD to /dev/null,
   13737 # effectively closing config.log, so it can be properly (re)opened and
   13738 # appended to by config.status.  When coming back to configure, we
   13739 # need to make the FD available again.
   13740 if test "$no_create" != yes; then
   13741   ac_cs_success=:
   13742   ac_config_status_args=
   13743   test "$silent" = yes &&
   13744     ac_config_status_args="$ac_config_status_args --quiet"
   13745   exec 5>/dev/null
   13746   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13747   exec 5>>config.log
   13748   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13749   # would make configure fail if this is the last instruction.
   13750   $ac_cs_success || as_fn_exit 1
   13751 fi
   13752 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13753   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13754 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13755 fi
   13756 
   13757 
   13758