Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.9
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for imake 1.0.10.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/util/imake/-/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/util/imake/-/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='imake'
    607 PACKAGE_TARNAME='imake'
    608 PACKAGE_VERSION='1.0.10'
    609 PACKAGE_STRING='imake 1.0.10'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/util/imake/-/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 enable_year2038=no
    647 ac_subst_vars='am__EXEEXT_FALSE
    648 am__EXEEXT_TRUE
    649 LTLIBOBJS
    650 LIBOBJS
    651 XPROTO_LIBS
    652 XPROTO_CFLAGS
    653 BUILD_MKHTMLINDEX_FALSE
    654 BUILD_MKHTMLINDEX_TRUE
    655 BUILD_CLEANLINKS_FALSE
    656 BUILD_CLEANLINKS_TRUE
    657 BUILD_MKDIRHIER_FALSE
    658 BUILD_MKDIRHIER_TRUE
    659 BUILD_MERGELIB_FALSE
    660 BUILD_MERGELIB_TRUE
    661 BUILD_CCMAKEDEP_FALSE
    662 BUILD_CCMAKEDEP_TRUE
    663 BUILD_XMKMF_FALSE
    664 BUILD_XMKMF_TRUE
    665 BUILD_MAKEG_FALSE
    666 BUILD_MAKEG_TRUE
    667 BUILD_REVPATH_FALSE
    668 BUILD_REVPATH_TRUE
    669 RANLIB
    670 ARCMD
    671 PREPROCESSCMD_MKDEPEND
    672 XCONFDIR
    673 HAS_PERL_FALSE
    674 HAS_PERL_TRUE
    675 HAS_PERL
    676 CPP_PROGRAM
    677 TRADITIONALCPPFLAGS
    678 RAWCPPFLAGS
    679 RAWCPP
    680 CPP
    681 MAN_SUBSTS
    682 XORG_MAN_PAGE
    683 ADMIN_MAN_DIR
    684 DRIVER_MAN_DIR
    685 MISC_MAN_DIR
    686 FILE_MAN_DIR
    687 LIB_MAN_DIR
    688 APP_MAN_DIR
    689 ADMIN_MAN_SUFFIX
    690 DRIVER_MAN_SUFFIX
    691 MISC_MAN_SUFFIX
    692 FILE_MAN_SUFFIX
    693 LIB_MAN_SUFFIX
    694 APP_MAN_SUFFIX
    695 SED
    696 host_os
    697 host_vendor
    698 host_cpu
    699 host
    700 build_os
    701 build_vendor
    702 build_cpu
    703 build
    704 INSTALL_CMD
    705 PKG_CONFIG_LIBDIR
    706 PKG_CONFIG_PATH
    707 PKG_CONFIG
    708 CHANGELOG_CMD
    709 STRICT_CFLAGS
    710 CWARNFLAGS
    711 BASE_CFLAGS
    712 am__fastdepCC_FALSE
    713 am__fastdepCC_TRUE
    714 CCDEPMODE
    715 am__nodep
    716 AMDEPBACKSLASH
    717 AMDEP_FALSE
    718 AMDEP_TRUE
    719 am__include
    720 DEPDIR
    721 OBJEXT
    722 EXEEXT
    723 ac_ct_CC
    724 CPPFLAGS
    725 LDFLAGS
    726 CFLAGS
    727 CC
    728 AM_BACKSLASH
    729 AM_DEFAULT_VERBOSITY
    730 AM_DEFAULT_V
    731 AM_V
    732 CSCOPE
    733 ETAGS
    734 CTAGS
    735 am__untar
    736 am__tar
    737 AMTAR
    738 am__leading_dot
    739 SET_MAKE
    740 AWK
    741 mkdir_p
    742 MKDIR_P
    743 INSTALL_STRIP_PROGRAM
    744 STRIP
    745 install_sh
    746 MAKEINFO
    747 AUTOHEADER
    748 AUTOMAKE
    749 AUTOCONF
    750 ACLOCAL
    751 VERSION
    752 PACKAGE
    753 CYGPATH_W
    754 am__isrc
    755 INSTALL_DATA
    756 INSTALL_SCRIPT
    757 INSTALL_PROGRAM
    758 target_alias
    759 host_alias
    760 build_alias
    761 LIBS
    762 ECHO_T
    763 ECHO_N
    764 ECHO_C
    765 DEFS
    766 mandir
    767 localedir
    768 libdir
    769 psdir
    770 pdfdir
    771 dvidir
    772 htmldir
    773 infodir
    774 docdir
    775 oldincludedir
    776 includedir
    777 runstatedir
    778 localstatedir
    779 sharedstatedir
    780 sysconfdir
    781 datadir
    782 datarootdir
    783 libexecdir
    784 sbindir
    785 bindir
    786 program_transform_name
    787 prefix
    788 exec_prefix
    789 PACKAGE_URL
    790 PACKAGE_BUGREPORT
    791 PACKAGE_STRING
    792 PACKAGE_VERSION
    793 PACKAGE_TARNAME
    794 PACKAGE_NAME
    795 PATH_SEPARATOR
    796 SHELL
    797 am__quote'
    798 ac_subst_files=''
    799 ac_user_opts='
    800 enable_option_checking
    801 enable_silent_rules
    802 enable_dependency_tracking
    803 enable_selective_werror
    804 enable_strict_compilation
    805 enable_largefile
    806 with_config_dir
    807 with_script_preproc_cmd
    808 with_create_lib_cmd
    809 with_clean_lib_cmd
    810 enable_revpath
    811 enable_makeg
    812 enable_xmkmf
    813 enable_ccmakedep
    814 enable_mergelib
    815 enable_mkdirhier
    816 enable_cleanlinks
    817 enable_mkhtmlindex
    818 enable_year2038
    819 '
    820       ac_precious_vars='build_alias
    821 host_alias
    822 target_alias
    823 CC
    824 CFLAGS
    825 LDFLAGS
    826 LIBS
    827 CPPFLAGS
    828 PKG_CONFIG
    829 PKG_CONFIG_PATH
    830 PKG_CONFIG_LIBDIR
    831 CPP
    832 XPROTO_CFLAGS
    833 XPROTO_LIBS'
    834 
    835 
    836 # Initialize some variables set by options.
    837 ac_init_help=
    838 ac_init_version=false
    839 ac_unrecognized_opts=
    840 ac_unrecognized_sep=
    841 # The variables have the same names as the options, with
    842 # dashes changed to underlines.
    843 cache_file=/dev/null
    844 exec_prefix=NONE
    845 no_create=
    846 no_recursion=
    847 prefix=NONE
    848 program_prefix=NONE
    849 program_suffix=NONE
    850 program_transform_name=s,x,x,
    851 silent=
    852 site=
    853 srcdir=
    854 verbose=
    855 x_includes=NONE
    856 x_libraries=NONE
    857 
    858 # Installation directory options.
    859 # These are left unexpanded so users can "make install exec_prefix=/foo"
    860 # and all the variables that are supposed to be based on exec_prefix
    861 # by default will actually change.
    862 # Use braces instead of parens because sh, perl, etc. also accept them.
    863 # (The list follows the same order as the GNU Coding Standards.)
    864 bindir='${exec_prefix}/bin'
    865 sbindir='${exec_prefix}/sbin'
    866 libexecdir='${exec_prefix}/libexec'
    867 datarootdir='${prefix}/share'
    868 datadir='${datarootdir}'
    869 sysconfdir='${prefix}/etc'
    870 sharedstatedir='${prefix}/com'
    871 localstatedir='${prefix}/var'
    872 runstatedir='${localstatedir}/run'
    873 includedir='${prefix}/include'
    874 oldincludedir='/usr/include'
    875 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    876 infodir='${datarootdir}/info'
    877 htmldir='${docdir}'
    878 dvidir='${docdir}'
    879 pdfdir='${docdir}'
    880 psdir='${docdir}'
    881 libdir='${exec_prefix}/lib'
    882 localedir='${datarootdir}/locale'
    883 mandir='${datarootdir}/man'
    884 
    885 ac_prev=
    886 ac_dashdash=
    887 for ac_option
    888 do
    889   # If the previous option needs an argument, assign it.
    890   if test -n "$ac_prev"; then
    891     eval $ac_prev=\$ac_option
    892     ac_prev=
    893     continue
    894   fi
    895 
    896   case $ac_option in
    897   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    898   *=)   ac_optarg= ;;
    899   *)    ac_optarg=yes ;;
    900   esac
    901 
    902   case $ac_dashdash$ac_option in
    903   --)
    904     ac_dashdash=yes ;;
    905 
    906   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    907     ac_prev=bindir ;;
    908   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    909     bindir=$ac_optarg ;;
    910 
    911   -build | --build | --buil | --bui | --bu)
    912     ac_prev=build_alias ;;
    913   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    914     build_alias=$ac_optarg ;;
    915 
    916   -cache-file | --cache-file | --cache-fil | --cache-fi \
    917   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    918     ac_prev=cache_file ;;
    919   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    920   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    921     cache_file=$ac_optarg ;;
    922 
    923   --config-cache | -C)
    924     cache_file=config.cache ;;
    925 
    926   -datadir | --datadir | --datadi | --datad)
    927     ac_prev=datadir ;;
    928   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    929     datadir=$ac_optarg ;;
    930 
    931   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    932   | --dataroo | --dataro | --datar)
    933     ac_prev=datarootdir ;;
    934   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    935   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    936     datarootdir=$ac_optarg ;;
    937 
    938   -disable-* | --disable-*)
    939     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    940     # Reject names that are not valid shell variable names.
    941     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    942       as_fn_error $? "invalid feature name: '$ac_useropt'"
    943     ac_useropt_orig=$ac_useropt
    944     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    945     case $ac_user_opts in
    946       *"
    947 "enable_$ac_useropt"
    948 "*) ;;
    949       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    950 	 ac_unrecognized_sep=', ';;
    951     esac
    952     eval enable_$ac_useropt=no ;;
    953 
    954   -docdir | --docdir | --docdi | --doc | --do)
    955     ac_prev=docdir ;;
    956   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    957     docdir=$ac_optarg ;;
    958 
    959   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    960     ac_prev=dvidir ;;
    961   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    962     dvidir=$ac_optarg ;;
    963 
    964   -enable-* | --enable-*)
    965     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    966     # Reject names that are not valid shell variable names.
    967     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    968       as_fn_error $? "invalid feature name: '$ac_useropt'"
    969     ac_useropt_orig=$ac_useropt
    970     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    971     case $ac_user_opts in
    972       *"
    973 "enable_$ac_useropt"
    974 "*) ;;
    975       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    976 	 ac_unrecognized_sep=', ';;
    977     esac
    978     eval enable_$ac_useropt=\$ac_optarg ;;
    979 
    980   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    981   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    982   | --exec | --exe | --ex)
    983     ac_prev=exec_prefix ;;
    984   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    985   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    986   | --exec=* | --exe=* | --ex=*)
    987     exec_prefix=$ac_optarg ;;
    988 
    989   -gas | --gas | --ga | --g)
    990     # Obsolete; use --with-gas.
    991     with_gas=yes ;;
    992 
    993   -help | --help | --hel | --he | -h)
    994     ac_init_help=long ;;
    995   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    996     ac_init_help=recursive ;;
    997   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    998     ac_init_help=short ;;
    999 
   1000   -host | --host | --hos | --ho)
   1001     ac_prev=host_alias ;;
   1002   -host=* | --host=* | --hos=* | --ho=*)
   1003     host_alias=$ac_optarg ;;
   1004 
   1005   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1006     ac_prev=htmldir ;;
   1007   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1008   | --ht=*)
   1009     htmldir=$ac_optarg ;;
   1010 
   1011   -includedir | --includedir | --includedi | --included | --include \
   1012   | --includ | --inclu | --incl | --inc)
   1013     ac_prev=includedir ;;
   1014   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1015   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1016     includedir=$ac_optarg ;;
   1017 
   1018   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1019     ac_prev=infodir ;;
   1020   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1021     infodir=$ac_optarg ;;
   1022 
   1023   -libdir | --libdir | --libdi | --libd)
   1024     ac_prev=libdir ;;
   1025   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1026     libdir=$ac_optarg ;;
   1027 
   1028   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1029   | --libexe | --libex | --libe)
   1030     ac_prev=libexecdir ;;
   1031   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1032   | --libexe=* | --libex=* | --libe=*)
   1033     libexecdir=$ac_optarg ;;
   1034 
   1035   -localedir | --localedir | --localedi | --localed | --locale)
   1036     ac_prev=localedir ;;
   1037   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1038     localedir=$ac_optarg ;;
   1039 
   1040   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1041   | --localstate | --localstat | --localsta | --localst | --locals)
   1042     ac_prev=localstatedir ;;
   1043   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1044   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1045     localstatedir=$ac_optarg ;;
   1046 
   1047   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1048     ac_prev=mandir ;;
   1049   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1050     mandir=$ac_optarg ;;
   1051 
   1052   -nfp | --nfp | --nf)
   1053     # Obsolete; use --without-fp.
   1054     with_fp=no ;;
   1055 
   1056   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1057   | --no-cr | --no-c | -n)
   1058     no_create=yes ;;
   1059 
   1060   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1061   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1062     no_recursion=yes ;;
   1063 
   1064   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1065   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1066   | --oldin | --oldi | --old | --ol | --o)
   1067     ac_prev=oldincludedir ;;
   1068   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1069   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1070   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1071     oldincludedir=$ac_optarg ;;
   1072 
   1073   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1074     ac_prev=prefix ;;
   1075   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1076     prefix=$ac_optarg ;;
   1077 
   1078   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1079   | --program-pre | --program-pr | --program-p)
   1080     ac_prev=program_prefix ;;
   1081   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1082   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1083     program_prefix=$ac_optarg ;;
   1084 
   1085   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1086   | --program-suf | --program-su | --program-s)
   1087     ac_prev=program_suffix ;;
   1088   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1089   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1090     program_suffix=$ac_optarg ;;
   1091 
   1092   -program-transform-name | --program-transform-name \
   1093   | --program-transform-nam | --program-transform-na \
   1094   | --program-transform-n | --program-transform- \
   1095   | --program-transform | --program-transfor \
   1096   | --program-transfo | --program-transf \
   1097   | --program-trans | --program-tran \
   1098   | --progr-tra | --program-tr | --program-t)
   1099     ac_prev=program_transform_name ;;
   1100   -program-transform-name=* | --program-transform-name=* \
   1101   | --program-transform-nam=* | --program-transform-na=* \
   1102   | --program-transform-n=* | --program-transform-=* \
   1103   | --program-transform=* | --program-transfor=* \
   1104   | --program-transfo=* | --program-transf=* \
   1105   | --program-trans=* | --program-tran=* \
   1106   | --progr-tra=* | --program-tr=* | --program-t=*)
   1107     program_transform_name=$ac_optarg ;;
   1108 
   1109   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1110     ac_prev=pdfdir ;;
   1111   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1112     pdfdir=$ac_optarg ;;
   1113 
   1114   -psdir | --psdir | --psdi | --psd | --ps)
   1115     ac_prev=psdir ;;
   1116   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1117     psdir=$ac_optarg ;;
   1118 
   1119   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1120   | -silent | --silent | --silen | --sile | --sil)
   1121     silent=yes ;;
   1122 
   1123   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1124   | --runstate | --runstat | --runsta | --runst | --runs \
   1125   | --run | --ru | --r)
   1126     ac_prev=runstatedir ;;
   1127   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1128   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1129   | --run=* | --ru=* | --r=*)
   1130     runstatedir=$ac_optarg ;;
   1131 
   1132   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1133     ac_prev=sbindir ;;
   1134   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1135   | --sbi=* | --sb=*)
   1136     sbindir=$ac_optarg ;;
   1137 
   1138   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1139   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1140   | --sharedst | --shareds | --shared | --share | --shar \
   1141   | --sha | --sh)
   1142     ac_prev=sharedstatedir ;;
   1143   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1144   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1145   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1146   | --sha=* | --sh=*)
   1147     sharedstatedir=$ac_optarg ;;
   1148 
   1149   -site | --site | --sit)
   1150     ac_prev=site ;;
   1151   -site=* | --site=* | --sit=*)
   1152     site=$ac_optarg ;;
   1153 
   1154   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1155     ac_prev=srcdir ;;
   1156   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1157     srcdir=$ac_optarg ;;
   1158 
   1159   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1160   | --syscon | --sysco | --sysc | --sys | --sy)
   1161     ac_prev=sysconfdir ;;
   1162   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1163   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1164     sysconfdir=$ac_optarg ;;
   1165 
   1166   -target | --target | --targe | --targ | --tar | --ta | --t)
   1167     ac_prev=target_alias ;;
   1168   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1169     target_alias=$ac_optarg ;;
   1170 
   1171   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1172     verbose=yes ;;
   1173 
   1174   -version | --version | --versio | --versi | --vers | -V)
   1175     ac_init_version=: ;;
   1176 
   1177   -with-* | --with-*)
   1178     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1179     # Reject names that are not valid shell variable names.
   1180     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1181       as_fn_error $? "invalid package name: '$ac_useropt'"
   1182     ac_useropt_orig=$ac_useropt
   1183     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1184     case $ac_user_opts in
   1185       *"
   1186 "with_$ac_useropt"
   1187 "*) ;;
   1188       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1189 	 ac_unrecognized_sep=', ';;
   1190     esac
   1191     eval with_$ac_useropt=\$ac_optarg ;;
   1192 
   1193   -without-* | --without-*)
   1194     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1195     # Reject names that are not valid shell variable names.
   1196     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1197       as_fn_error $? "invalid package name: '$ac_useropt'"
   1198     ac_useropt_orig=$ac_useropt
   1199     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1200     case $ac_user_opts in
   1201       *"
   1202 "with_$ac_useropt"
   1203 "*) ;;
   1204       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1205 	 ac_unrecognized_sep=', ';;
   1206     esac
   1207     eval with_$ac_useropt=no ;;
   1208 
   1209   --x)
   1210     # Obsolete; use --with-x.
   1211     with_x=yes ;;
   1212 
   1213   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1214   | --x-incl | --x-inc | --x-in | --x-i)
   1215     ac_prev=x_includes ;;
   1216   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1217   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1218     x_includes=$ac_optarg ;;
   1219 
   1220   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1221   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1222     ac_prev=x_libraries ;;
   1223   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1224   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1225     x_libraries=$ac_optarg ;;
   1226 
   1227   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1228 Try '$0 --help' for more information"
   1229     ;;
   1230 
   1231   *=*)
   1232     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1233     # Reject names that are not valid shell variable names.
   1234     case $ac_envvar in #(
   1235       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1236       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1237     esac
   1238     eval $ac_envvar=\$ac_optarg
   1239     export $ac_envvar ;;
   1240 
   1241   *)
   1242     # FIXME: should be removed in autoconf 3.0.
   1243     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1244     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1245       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1246     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1247     ;;
   1248 
   1249   esac
   1250 done
   1251 
   1252 if test -n "$ac_prev"; then
   1253   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1254   as_fn_error $? "missing argument to $ac_option"
   1255 fi
   1256 
   1257 if test -n "$ac_unrecognized_opts"; then
   1258   case $enable_option_checking in
   1259     no) ;;
   1260     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1261     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1262   esac
   1263 fi
   1264 
   1265 # Check all directory arguments for consistency.
   1266 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1267 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1268 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1269 		libdir localedir mandir runstatedir
   1270 do
   1271   eval ac_val=\$$ac_var
   1272   # Remove trailing slashes.
   1273   case $ac_val in
   1274     */ )
   1275       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1276       eval $ac_var=\$ac_val;;
   1277   esac
   1278   # Be sure to have absolute directory names.
   1279   case $ac_val in
   1280     [\\/$]* | ?:[\\/]* )  continue;;
   1281     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1282   esac
   1283   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1284 done
   1285 
   1286 # There might be people who depend on the old broken behavior: '$host'
   1287 # used to hold the argument of --host etc.
   1288 # FIXME: To remove some day.
   1289 build=$build_alias
   1290 host=$host_alias
   1291 target=$target_alias
   1292 
   1293 # FIXME: To remove some day.
   1294 if test "x$host_alias" != x; then
   1295   if test "x$build_alias" = x; then
   1296     cross_compiling=maybe
   1297   elif test "x$build_alias" != "x$host_alias"; then
   1298     cross_compiling=yes
   1299   fi
   1300 fi
   1301 
   1302 ac_tool_prefix=
   1303 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1304 
   1305 test "$silent" = yes && exec 6>/dev/null
   1306 
   1307 
   1308 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1309 ac_ls_di=`ls -di .` &&
   1310 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1311   as_fn_error $? "working directory cannot be determined"
   1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1313   as_fn_error $? "pwd does not report name of working directory"
   1314 
   1315 
   1316 # Find the source files, if location was not specified.
   1317 if test -z "$srcdir"; then
   1318   ac_srcdir_defaulted=yes
   1319   # Try the directory containing this script, then the parent directory.
   1320   ac_confdir=`$as_dirname -- "$as_myself" ||
   1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1322 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1323 	 X"$as_myself" : 'X\(//\)$' \| \
   1324 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1325 printf "%s\n" X"$as_myself" |
   1326     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1327 	    s//\1/
   1328 	    q
   1329 	  }
   1330 	  /^X\(\/\/\)[^/].*/{
   1331 	    s//\1/
   1332 	    q
   1333 	  }
   1334 	  /^X\(\/\/\)$/{
   1335 	    s//\1/
   1336 	    q
   1337 	  }
   1338 	  /^X\(\/\).*/{
   1339 	    s//\1/
   1340 	    q
   1341 	  }
   1342 	  s/.*/./; q'`
   1343   srcdir=$ac_confdir
   1344   if test ! -r "$srcdir/$ac_unique_file"; then
   1345     srcdir=..
   1346   fi
   1347 else
   1348   ac_srcdir_defaulted=no
   1349 fi
   1350 if test ! -r "$srcdir/$ac_unique_file"; then
   1351   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1352   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1353 fi
   1354 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1355 ac_abs_confdir=`(
   1356 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1357 	pwd)`
   1358 # When building in place, set srcdir=.
   1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1360   srcdir=.
   1361 fi
   1362 # Remove unnecessary trailing slashes from srcdir.
   1363 # Double slashes in file names in object file debugging info
   1364 # mess up M-x gdb in Emacs.
   1365 case $srcdir in
   1366 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1367 esac
   1368 for ac_var in $ac_precious_vars; do
   1369   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1370   eval ac_env_${ac_var}_value=\$${ac_var}
   1371   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1372   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1373 done
   1374 
   1375 #
   1376 # Report the --help message.
   1377 #
   1378 if test "$ac_init_help" = "long"; then
   1379   # Omit some internal or obsolete options to make the list less imposing.
   1380   # This message is too long to be a string in the A/UX 3.1 sh.
   1381   cat <<_ACEOF
   1382 'configure' configures imake 1.0.10 to adapt to many kinds of systems.
   1383 
   1384 Usage: $0 [OPTION]... [VAR=VALUE]...
   1385 
   1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1387 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1388 
   1389 Defaults for the options are specified in brackets.
   1390 
   1391 Configuration:
   1392   -h, --help              display this help and exit
   1393       --help=short        display options specific to this package
   1394       --help=recursive    display the short help of all the included packages
   1395   -V, --version           display version information and exit
   1396   -q, --quiet, --silent   do not print 'checking ...' messages
   1397       --cache-file=FILE   cache test results in FILE [disabled]
   1398   -C, --config-cache      alias for '--cache-file=config.cache'
   1399   -n, --no-create         do not create output files
   1400       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1401 
   1402 Installation directories:
   1403   --prefix=PREFIX         install architecture-independent files in PREFIX
   1404                           [$ac_default_prefix]
   1405   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1406                           [PREFIX]
   1407 
   1408 By default, 'make install' will install all the files in
   1409 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1410 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1411 for instance '--prefix=\$HOME'.
   1412 
   1413 For better control, use the options below.
   1414 
   1415 Fine tuning of the installation directories:
   1416   --bindir=DIR            user executables [EPREFIX/bin]
   1417   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1418   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1419   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1420   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1421   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1422   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1423   --libdir=DIR            object code libraries [EPREFIX/lib]
   1424   --includedir=DIR        C header files [PREFIX/include]
   1425   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1426   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1427   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1428   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1429   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1430   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1431   --docdir=DIR            documentation root [DATAROOTDIR/doc/imake]
   1432   --htmldir=DIR           html documentation [DOCDIR]
   1433   --dvidir=DIR            dvi documentation [DOCDIR]
   1434   --pdfdir=DIR            pdf documentation [DOCDIR]
   1435   --psdir=DIR             ps documentation [DOCDIR]
   1436 _ACEOF
   1437 
   1438   cat <<\_ACEOF
   1439 
   1440 Program names:
   1441   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1442   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1443   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1444 
   1445 System types:
   1446   --build=BUILD     configure for building on BUILD [guessed]
   1447   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1448 _ACEOF
   1449 fi
   1450 
   1451 if test -n "$ac_init_help"; then
   1452   case $ac_init_help in
   1453      short | recursive ) echo "Configuration of imake 1.0.10:";;
   1454    esac
   1455   cat <<\_ACEOF
   1456 
   1457 Optional Features:
   1458   --disable-option-checking  ignore unrecognized --enable/--with options
   1459   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1460   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1461   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1462   --disable-silent-rules  verbose build output (undo: "make V=0")
   1463   --enable-dependency-tracking
   1464                           do not reject slow dependency extractors
   1465   --disable-dependency-tracking
   1466                           speeds up one-time build
   1467   --disable-selective-werror
   1468                           Turn off selective compiler errors. (default:
   1469                           enabled)
   1470   --enable-strict-compilation
   1471                           Enable all warnings from compiler and make them
   1472                           errors (default: disabled)
   1473   --disable-largefile     omit support for large files
   1474   --disable-revpath       Build revpath (default: enabled)
   1475   --disable-makeg         Build makeg (default: enabled)
   1476   --disable-xmkmf         Build xmkmf (default: enabled)
   1477   --disable-ccmakedep     Build ccmakedep (default: enabled)
   1478   --disable-mergelib      Build mergelib (default: enabled)
   1479   --disable-mkdirhier     Build mkdirhier (default: enabled)
   1480   --disable-cleanlinks    Build cleanlinks (default: enabled)
   1481   --disable-mkhtmlindex   Build mkhtmlindex (default: enabled)
   1482   --enable-year2038       support timestamps after 2038
   1483 
   1484 Optional Packages:
   1485   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1486   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1487   --with-config-dir=<path>
   1488                           Path to config dir (default: ${libdir}/X11/config)
   1489   --with-script-preproc-cmd=CMD
   1490                           Preprocessor command to run on scripts (default:
   1491                           "gcc -E")
   1492   --with-create-lib-cmd=CMD
   1493                           Command to create libraries (default: "ar clq")
   1494   --with-clean-lib-cmd=CMD
   1495                           Command to clean up libraries (default: "ranlib")
   1496 
   1497 Some influential environment variables:
   1498   CC          C compiler command
   1499   CFLAGS      C compiler flags
   1500   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1501               nonstandard directory <lib dir>
   1502   LIBS        libraries to pass to the linker, e.g. -l<library>
   1503   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1504               you have headers in a nonstandard directory <include dir>
   1505   PKG_CONFIG  path to pkg-config utility
   1506   PKG_CONFIG_PATH
   1507               directories to add to pkg-config's search path
   1508   PKG_CONFIG_LIBDIR
   1509               path overriding pkg-config's built-in search path
   1510   CPP         C preprocessor
   1511   XPROTO_CFLAGS
   1512               C compiler flags for XPROTO, overriding pkg-config
   1513   XPROTO_LIBS linker flags for XPROTO, overriding pkg-config
   1514 
   1515 Use these variables to override the choices made by 'configure' or to help
   1516 it to find libraries and programs with nonstandard names/locations.
   1517 
   1518 Report bugs to <https://gitlab.freedesktop.org/xorg/util/imake/-/issues>.
   1519 _ACEOF
   1520 ac_status=$?
   1521 fi
   1522 
   1523 if test "$ac_init_help" = "recursive"; then
   1524   # If there are subdirs, report their specific --help.
   1525   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1526     test -d "$ac_dir" ||
   1527       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1528       continue
   1529     ac_builddir=.
   1530 
   1531 case "$ac_dir" in
   1532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1533 *)
   1534   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1535   # A ".." for each directory in $ac_dir_suffix.
   1536   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1537   case $ac_top_builddir_sub in
   1538   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1539   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1540   esac ;;
   1541 esac
   1542 ac_abs_top_builddir=$ac_pwd
   1543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1544 # for backward compatibility:
   1545 ac_top_builddir=$ac_top_build_prefix
   1546 
   1547 case $srcdir in
   1548   .)  # We are building in place.
   1549     ac_srcdir=.
   1550     ac_top_srcdir=$ac_top_builddir_sub
   1551     ac_abs_top_srcdir=$ac_pwd ;;
   1552   [\\/]* | ?:[\\/]* )  # Absolute name.
   1553     ac_srcdir=$srcdir$ac_dir_suffix;
   1554     ac_top_srcdir=$srcdir
   1555     ac_abs_top_srcdir=$srcdir ;;
   1556   *) # Relative name.
   1557     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1558     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1559     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1560 esac
   1561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1562 
   1563     cd "$ac_dir" || { ac_status=$?; continue; }
   1564     # Check for configure.gnu first; this name is used for a wrapper for
   1565     # Metaconfig's "Configure" on case-insensitive file systems.
   1566     if test -f "$ac_srcdir/configure.gnu"; then
   1567       echo &&
   1568       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1569     elif test -f "$ac_srcdir/configure"; then
   1570       echo &&
   1571       $SHELL "$ac_srcdir/configure" --help=recursive
   1572     else
   1573       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1574     fi || ac_status=$?
   1575     cd "$ac_pwd" || { ac_status=$?; break; }
   1576   done
   1577 fi
   1578 
   1579 test -n "$ac_init_help" && exit $ac_status
   1580 if $ac_init_version; then
   1581   cat <<\_ACEOF
   1582 imake configure 1.0.10
   1583 generated by GNU Autoconf 2.72
   1584 
   1585 Copyright (C) 2023 Free Software Foundation, Inc.
   1586 This configure script is free software; the Free Software Foundation
   1587 gives unlimited permission to copy, distribute and modify it.
   1588 _ACEOF
   1589   exit
   1590 fi
   1591 
   1592 ## ------------------------ ##
   1593 ## Autoconf initialization. ##
   1594 ## ------------------------ ##
   1595 
   1596 # ac_fn_c_try_compile LINENO
   1597 # --------------------------
   1598 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1599 ac_fn_c_try_compile ()
   1600 {
   1601   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1602   rm -f conftest.$ac_objext conftest.beam
   1603   if { { ac_try="$ac_compile"
   1604 case "(($ac_try" in
   1605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1606   *) ac_try_echo=$ac_try;;
   1607 esac
   1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1609 printf "%s\n" "$ac_try_echo"; } >&5
   1610   (eval "$ac_compile") 2>conftest.err
   1611   ac_status=$?
   1612   if test -s conftest.err; then
   1613     grep -v '^ *+' conftest.err >conftest.er1
   1614     cat conftest.er1 >&5
   1615     mv -f conftest.er1 conftest.err
   1616   fi
   1617   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1618   test $ac_status = 0; } && {
   1619 	 test -z "$ac_c_werror_flag" ||
   1620 	 test ! -s conftest.err
   1621        } && test -s conftest.$ac_objext
   1622 then :
   1623   ac_retval=0
   1624 else case e in #(
   1625   e) printf "%s\n" "$as_me: failed program was:" >&5
   1626 sed 's/^/| /' conftest.$ac_ext >&5
   1627 
   1628 	ac_retval=1 ;;
   1629 esac
   1630 fi
   1631   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1632   as_fn_set_status $ac_retval
   1633 
   1634 } # ac_fn_c_try_compile
   1635 
   1636 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1637 # ------------------------------------------------------------------
   1638 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1639 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1640 ac_fn_check_decl ()
   1641 {
   1642   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1643   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1644   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1645 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1646 if eval test \${$3+y}
   1647 then :
   1648   printf %s "(cached) " >&6
   1649 else case e in #(
   1650   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1651   eval ac_save_FLAGS=\$$6
   1652   as_fn_append $6 " $5"
   1653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1654 /* end confdefs.h.  */
   1655 $4
   1656 int
   1657 main (void)
   1658 {
   1659 #ifndef $as_decl_name
   1660 #ifdef __cplusplus
   1661   (void) $as_decl_use;
   1662 #else
   1663   (void) $as_decl_name;
   1664 #endif
   1665 #endif
   1666 
   1667   ;
   1668   return 0;
   1669 }
   1670 _ACEOF
   1671 if ac_fn_c_try_compile "$LINENO"
   1672 then :
   1673   eval "$3=yes"
   1674 else case e in #(
   1675   e) eval "$3=no" ;;
   1676 esac
   1677 fi
   1678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1679   eval $6=\$ac_save_FLAGS
   1680  ;;
   1681 esac
   1682 fi
   1683 eval ac_res=\$$3
   1684 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1685 printf "%s\n" "$ac_res" >&6; }
   1686   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1687 
   1688 } # ac_fn_check_decl
   1689 
   1690 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1691 # -------------------------------------------------------
   1692 # Tests whether HEADER exists and can be compiled using the include files in
   1693 # INCLUDES, setting the cache variable VAR accordingly.
   1694 ac_fn_c_check_header_compile ()
   1695 {
   1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1698 printf %s "checking for $2... " >&6; }
   1699 if eval test \${$3+y}
   1700 then :
   1701   printf %s "(cached) " >&6
   1702 else case e in #(
   1703   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1704 /* end confdefs.h.  */
   1705 $4
   1706 #include <$2>
   1707 _ACEOF
   1708 if ac_fn_c_try_compile "$LINENO"
   1709 then :
   1710   eval "$3=yes"
   1711 else case e in #(
   1712   e) eval "$3=no" ;;
   1713 esac
   1714 fi
   1715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1716 esac
   1717 fi
   1718 eval ac_res=\$$3
   1719 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1720 printf "%s\n" "$ac_res" >&6; }
   1721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1722 
   1723 } # ac_fn_c_check_header_compile
   1724 
   1725 # ac_fn_c_try_link LINENO
   1726 # -----------------------
   1727 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1728 ac_fn_c_try_link ()
   1729 {
   1730   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1731   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1732   if { { ac_try="$ac_link"
   1733 case "(($ac_try" in
   1734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1735   *) ac_try_echo=$ac_try;;
   1736 esac
   1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1738 printf "%s\n" "$ac_try_echo"; } >&5
   1739   (eval "$ac_link") 2>conftest.err
   1740   ac_status=$?
   1741   if test -s conftest.err; then
   1742     grep -v '^ *+' conftest.err >conftest.er1
   1743     cat conftest.er1 >&5
   1744     mv -f conftest.er1 conftest.err
   1745   fi
   1746   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1747   test $ac_status = 0; } && {
   1748 	 test -z "$ac_c_werror_flag" ||
   1749 	 test ! -s conftest.err
   1750        } && test -s conftest$ac_exeext && {
   1751 	 test "$cross_compiling" = yes ||
   1752 	 test -x conftest$ac_exeext
   1753        }
   1754 then :
   1755   ac_retval=0
   1756 else case e in #(
   1757   e) printf "%s\n" "$as_me: failed program was:" >&5
   1758 sed 's/^/| /' conftest.$ac_ext >&5
   1759 
   1760 	ac_retval=1 ;;
   1761 esac
   1762 fi
   1763   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1764   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1765   # interfere with the next link command; also delete a directory that is
   1766   # left behind by Apple's compiler.  We do this before executing the actions.
   1767   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1768   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1769   as_fn_set_status $ac_retval
   1770 
   1771 } # ac_fn_c_try_link
   1772 
   1773 # ac_fn_c_try_cpp LINENO
   1774 # ----------------------
   1775 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1776 ac_fn_c_try_cpp ()
   1777 {
   1778   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1779   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1780 case "(($ac_try" in
   1781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1782   *) ac_try_echo=$ac_try;;
   1783 esac
   1784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1785 printf "%s\n" "$ac_try_echo"; } >&5
   1786   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1787   ac_status=$?
   1788   if test -s conftest.err; then
   1789     grep -v '^ *+' conftest.err >conftest.er1
   1790     cat conftest.er1 >&5
   1791     mv -f conftest.er1 conftest.err
   1792   fi
   1793   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1794   test $ac_status = 0; } > conftest.i && {
   1795 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1796 	 test ! -s conftest.err
   1797        }
   1798 then :
   1799   ac_retval=0
   1800 else case e in #(
   1801   e) printf "%s\n" "$as_me: failed program was:" >&5
   1802 sed 's/^/| /' conftest.$ac_ext >&5
   1803 
   1804     ac_retval=1 ;;
   1805 esac
   1806 fi
   1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1808   as_fn_set_status $ac_retval
   1809 
   1810 } # ac_fn_c_try_cpp
   1811 
   1812 # ac_fn_c_check_func LINENO FUNC VAR
   1813 # ----------------------------------
   1814 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1815 ac_fn_c_check_func ()
   1816 {
   1817   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1818   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1819 printf %s "checking for $2... " >&6; }
   1820 if eval test \${$3+y}
   1821 then :
   1822   printf %s "(cached) " >&6
   1823 else case e in #(
   1824   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1825 /* end confdefs.h.  */
   1826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1828 #define $2 innocuous_$2
   1829 
   1830 /* System header to define __stub macros and hopefully few prototypes,
   1831    which can conflict with char $2 (void); below.  */
   1832 
   1833 #include <limits.h>
   1834 #undef $2
   1835 
   1836 /* Override any GCC internal prototype to avoid an error.
   1837    Use char because int might match the return type of a GCC
   1838    builtin and then its argument prototype would still apply.  */
   1839 #ifdef __cplusplus
   1840 extern "C"
   1841 #endif
   1842 char $2 (void);
   1843 /* The GNU C library defines this for functions which it implements
   1844     to always fail with ENOSYS.  Some functions are actually named
   1845     something starting with __ and the normal name is an alias.  */
   1846 #if defined __stub_$2 || defined __stub___$2
   1847 choke me
   1848 #endif
   1849 
   1850 int
   1851 main (void)
   1852 {
   1853 return $2 ();
   1854   ;
   1855   return 0;
   1856 }
   1857 _ACEOF
   1858 if ac_fn_c_try_link "$LINENO"
   1859 then :
   1860   eval "$3=yes"
   1861 else case e in #(
   1862   e) eval "$3=no" ;;
   1863 esac
   1864 fi
   1865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1866     conftest$ac_exeext conftest.$ac_ext ;;
   1867 esac
   1868 fi
   1869 eval ac_res=\$$3
   1870 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1871 printf "%s\n" "$ac_res" >&6; }
   1872   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1873 
   1874 } # ac_fn_c_check_func
   1875 ac_configure_args_raw=
   1876 for ac_arg
   1877 do
   1878   case $ac_arg in
   1879   *\'*)
   1880     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1881   esac
   1882   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1883 done
   1884 
   1885 case $ac_configure_args_raw in
   1886   *$as_nl*)
   1887     ac_safe_unquote= ;;
   1888   *)
   1889     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1890     ac_unsafe_a="$ac_unsafe_z#~"
   1891     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1892     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1893 esac
   1894 
   1895 cat >config.log <<_ACEOF
   1896 This file contains any messages produced by compilers while
   1897 running configure, to aid debugging if configure makes a mistake.
   1898 
   1899 It was created by imake $as_me 1.0.10, which was
   1900 generated by GNU Autoconf 2.72.  Invocation command line was
   1901 
   1902   $ $0$ac_configure_args_raw
   1903 
   1904 _ACEOF
   1905 exec 5>>config.log
   1906 {
   1907 cat <<_ASUNAME
   1908 ## --------- ##
   1909 ## Platform. ##
   1910 ## --------- ##
   1911 
   1912 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1913 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1914 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1915 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1916 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1917 
   1918 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1919 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1920 
   1921 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1922 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1923 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1924 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1925 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1926 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1927 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1928 
   1929 _ASUNAME
   1930 
   1931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1932 for as_dir in $PATH
   1933 do
   1934   IFS=$as_save_IFS
   1935   case $as_dir in #(((
   1936     '') as_dir=./ ;;
   1937     */) ;;
   1938     *) as_dir=$as_dir/ ;;
   1939   esac
   1940     printf "%s\n" "PATH: $as_dir"
   1941   done
   1942 IFS=$as_save_IFS
   1943 
   1944 } >&5
   1945 
   1946 cat >&5 <<_ACEOF
   1947 
   1948 
   1949 ## ----------- ##
   1950 ## Core tests. ##
   1951 ## ----------- ##
   1952 
   1953 _ACEOF
   1954 
   1955 
   1956 # Keep a trace of the command line.
   1957 # Strip out --no-create and --no-recursion so they do not pile up.
   1958 # Strip out --silent because we don't want to record it for future runs.
   1959 # Also quote any args containing shell meta-characters.
   1960 # Make two passes to allow for proper duplicate-argument suppression.
   1961 ac_configure_args=
   1962 ac_configure_args0=
   1963 ac_configure_args1=
   1964 ac_must_keep_next=false
   1965 for ac_pass in 1 2
   1966 do
   1967   for ac_arg
   1968   do
   1969     case $ac_arg in
   1970     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1971     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1972     | -silent | --silent | --silen | --sile | --sil)
   1973       continue ;;
   1974     *\'*)
   1975       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1976     esac
   1977     case $ac_pass in
   1978     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1979     2)
   1980       as_fn_append ac_configure_args1 " '$ac_arg'"
   1981       if test $ac_must_keep_next = true; then
   1982 	ac_must_keep_next=false # Got value, back to normal.
   1983       else
   1984 	case $ac_arg in
   1985 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1986 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1987 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1988 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1989 	    case "$ac_configure_args0 " in
   1990 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1991 	    esac
   1992 	    ;;
   1993 	  -* ) ac_must_keep_next=true ;;
   1994 	esac
   1995       fi
   1996       as_fn_append ac_configure_args " '$ac_arg'"
   1997       ;;
   1998     esac
   1999   done
   2000 done
   2001 { ac_configure_args0=; unset ac_configure_args0;}
   2002 { ac_configure_args1=; unset ac_configure_args1;}
   2003 
   2004 # When interrupted or exit'd, cleanup temporary files, and complete
   2005 # config.log.  We remove comments because anyway the quotes in there
   2006 # would cause problems or look ugly.
   2007 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2008 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2009 trap 'exit_status=$?
   2010   # Sanitize IFS.
   2011   IFS=" ""	$as_nl"
   2012   # Save into config.log some information that might help in debugging.
   2013   {
   2014     echo
   2015 
   2016     printf "%s\n" "## ---------------- ##
   2017 ## Cache variables. ##
   2018 ## ---------------- ##"
   2019     echo
   2020     # The following way of writing the cache mishandles newlines in values,
   2021 (
   2022   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2023     eval ac_val=\$$ac_var
   2024     case $ac_val in #(
   2025     *${as_nl}*)
   2026       case $ac_var in #(
   2027       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2028 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2029       esac
   2030       case $ac_var in #(
   2031       _ | IFS | as_nl) ;; #(
   2032       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2033       *) { eval $ac_var=; unset $ac_var;} ;;
   2034       esac ;;
   2035     esac
   2036   done
   2037   (set) 2>&1 |
   2038     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2039     *${as_nl}ac_space=\ *)
   2040       sed -n \
   2041 	"s/'\''/'\''\\\\'\'''\''/g;
   2042 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2043       ;; #(
   2044     *)
   2045       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2046       ;;
   2047     esac |
   2048     sort
   2049 )
   2050     echo
   2051 
   2052     printf "%s\n" "## ----------------- ##
   2053 ## Output variables. ##
   2054 ## ----------------- ##"
   2055     echo
   2056     for ac_var in $ac_subst_vars
   2057     do
   2058       eval ac_val=\$$ac_var
   2059       case $ac_val in
   2060       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2061       esac
   2062       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2063     done | sort
   2064     echo
   2065 
   2066     if test -n "$ac_subst_files"; then
   2067       printf "%s\n" "## ------------------- ##
   2068 ## File substitutions. ##
   2069 ## ------------------- ##"
   2070       echo
   2071       for ac_var in $ac_subst_files
   2072       do
   2073 	eval ac_val=\$$ac_var
   2074 	case $ac_val in
   2075 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2076 	esac
   2077 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2078       done | sort
   2079       echo
   2080     fi
   2081 
   2082     if test -s confdefs.h; then
   2083       printf "%s\n" "## ----------- ##
   2084 ## confdefs.h. ##
   2085 ## ----------- ##"
   2086       echo
   2087       cat confdefs.h
   2088       echo
   2089     fi
   2090     test "$ac_signal" != 0 &&
   2091       printf "%s\n" "$as_me: caught signal $ac_signal"
   2092     printf "%s\n" "$as_me: exit $exit_status"
   2093   } >&5
   2094   rm -f core *.core core.conftest.* &&
   2095     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2096     exit $exit_status
   2097 ' 0
   2098 for ac_signal in 1 2 13 15; do
   2099   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2100 done
   2101 ac_signal=0
   2102 
   2103 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2104 rm -f -r conftest* confdefs.h
   2105 
   2106 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2107 
   2108 # Predefined preprocessor variables.
   2109 
   2110 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2111 
   2112 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2113 
   2114 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2115 
   2116 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2117 
   2118 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2119 
   2120 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2121 
   2122 
   2123 # Let the site file select an alternate cache file if it wants to.
   2124 # Prefer an explicitly selected file to automatically selected ones.
   2125 if test -n "$CONFIG_SITE"; then
   2126   ac_site_files="$CONFIG_SITE"
   2127 elif test "x$prefix" != xNONE; then
   2128   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2129 else
   2130   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2131 fi
   2132 
   2133 for ac_site_file in $ac_site_files
   2134 do
   2135   case $ac_site_file in #(
   2136   */*) :
   2137      ;; #(
   2138   *) :
   2139     ac_site_file=./$ac_site_file ;;
   2140 esac
   2141   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2142     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2143 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2144     sed 's/^/| /' "$ac_site_file" >&5
   2145     . "$ac_site_file" \
   2146       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2147 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2148 as_fn_error $? "failed to load site script $ac_site_file
   2149 See 'config.log' for more details" "$LINENO" 5; }
   2150   fi
   2151 done
   2152 
   2153 if test -r "$cache_file"; then
   2154   # Some versions of bash will fail to source /dev/null (special files
   2155   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2156   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2157     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2158 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2159     case $cache_file in
   2160       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2161       *)                      . "./$cache_file";;
   2162     esac
   2163   fi
   2164 else
   2165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2166 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2167   >$cache_file
   2168 fi
   2169 
   2170 # Test code for whether the C compiler supports C89 (global declarations)
   2171 ac_c_conftest_c89_globals='
   2172 /* Does the compiler advertise C89 conformance?
   2173    Do not test the value of __STDC__, because some compilers set it to 0
   2174    while being otherwise adequately conformant. */
   2175 #if !defined __STDC__
   2176 # error "Compiler does not advertise C89 conformance"
   2177 #endif
   2178 
   2179 #include <stddef.h>
   2180 #include <stdarg.h>
   2181 struct stat;
   2182 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2183 struct buf { int x; };
   2184 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2185 static char *e (char **p, int i)
   2186 {
   2187   return p[i];
   2188 }
   2189 static char *f (char * (*g) (char **, int), char **p, ...)
   2190 {
   2191   char *s;
   2192   va_list v;
   2193   va_start (v,p);
   2194   s = g (p, va_arg (v,int));
   2195   va_end (v);
   2196   return s;
   2197 }
   2198 
   2199 /* C89 style stringification. */
   2200 #define noexpand_stringify(a) #a
   2201 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2202 
   2203 /* C89 style token pasting.  Exercises some of the corner cases that
   2204    e.g. old MSVC gets wrong, but not very hard. */
   2205 #define noexpand_concat(a,b) a##b
   2206 #define expand_concat(a,b) noexpand_concat(a,b)
   2207 extern int vA;
   2208 extern int vbee;
   2209 #define aye A
   2210 #define bee B
   2211 int *pvA = &expand_concat(v,aye);
   2212 int *pvbee = &noexpand_concat(v,bee);
   2213 
   2214 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2215    function prototypes and stuff, but not \xHH hex character constants.
   2216    These do not provoke an error unfortunately, instead are silently treated
   2217    as an "x".  The following induces an error, until -std is added to get
   2218    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2219    array size at least.  It is necessary to write \x00 == 0 to get something
   2220    that is true only with -std.  */
   2221 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2222 
   2223 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2224    inside strings and character constants.  */
   2225 #define FOO(x) '\''x'\''
   2226 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2227 
   2228 int test (int i, double x);
   2229 struct s1 {int (*f) (int a);};
   2230 struct s2 {int (*f) (double a);};
   2231 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2232                int, int);'
   2233 
   2234 # Test code for whether the C compiler supports C89 (body of main).
   2235 ac_c_conftest_c89_main='
   2236 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2237 '
   2238 
   2239 # Test code for whether the C compiler supports C99 (global declarations)
   2240 ac_c_conftest_c99_globals='
   2241 /* Does the compiler advertise C99 conformance? */
   2242 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2243 # error "Compiler does not advertise C99 conformance"
   2244 #endif
   2245 
   2246 // See if C++-style comments work.
   2247 
   2248 #include <stdbool.h>
   2249 extern int puts (const char *);
   2250 extern int printf (const char *, ...);
   2251 extern int dprintf (int, const char *, ...);
   2252 extern void *malloc (size_t);
   2253 extern void free (void *);
   2254 
   2255 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2256 // dprintf is used instead of fprintf to avoid needing to declare
   2257 // FILE and stderr.
   2258 #define debug(...) dprintf (2, __VA_ARGS__)
   2259 #define showlist(...) puts (#__VA_ARGS__)
   2260 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2261 static void
   2262 test_varargs_macros (void)
   2263 {
   2264   int x = 1234;
   2265   int y = 5678;
   2266   debug ("Flag");
   2267   debug ("X = %d\n", x);
   2268   showlist (The first, second, and third items.);
   2269   report (x>y, "x is %d but y is %d", x, y);
   2270 }
   2271 
   2272 // Check long long types.
   2273 #define BIG64 18446744073709551615ull
   2274 #define BIG32 4294967295ul
   2275 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2276 #if !BIG_OK
   2277   #error "your preprocessor is broken"
   2278 #endif
   2279 #if BIG_OK
   2280 #else
   2281   #error "your preprocessor is broken"
   2282 #endif
   2283 static long long int bignum = -9223372036854775807LL;
   2284 static unsigned long long int ubignum = BIG64;
   2285 
   2286 struct incomplete_array
   2287 {
   2288   int datasize;
   2289   double data[];
   2290 };
   2291 
   2292 struct named_init {
   2293   int number;
   2294   const wchar_t *name;
   2295   double average;
   2296 };
   2297 
   2298 typedef const char *ccp;
   2299 
   2300 static inline int
   2301 test_restrict (ccp restrict text)
   2302 {
   2303   // Iterate through items via the restricted pointer.
   2304   // Also check for declarations in for loops.
   2305   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2306     continue;
   2307   return 0;
   2308 }
   2309 
   2310 // Check varargs and va_copy.
   2311 static bool
   2312 test_varargs (const char *format, ...)
   2313 {
   2314   va_list args;
   2315   va_start (args, format);
   2316   va_list args_copy;
   2317   va_copy (args_copy, args);
   2318 
   2319   const char *str = "";
   2320   int number = 0;
   2321   float fnumber = 0;
   2322 
   2323   while (*format)
   2324     {
   2325       switch (*format++)
   2326 	{
   2327 	case '\''s'\'': // string
   2328 	  str = va_arg (args_copy, const char *);
   2329 	  break;
   2330 	case '\''d'\'': // int
   2331 	  number = va_arg (args_copy, int);
   2332 	  break;
   2333 	case '\''f'\'': // float
   2334 	  fnumber = va_arg (args_copy, double);
   2335 	  break;
   2336 	default:
   2337 	  break;
   2338 	}
   2339     }
   2340   va_end (args_copy);
   2341   va_end (args);
   2342 
   2343   return *str && number && fnumber;
   2344 }
   2345 '
   2346 
   2347 # Test code for whether the C compiler supports C99 (body of main).
   2348 ac_c_conftest_c99_main='
   2349   // Check bool.
   2350   _Bool success = false;
   2351   success |= (argc != 0);
   2352 
   2353   // Check restrict.
   2354   if (test_restrict ("String literal") == 0)
   2355     success = true;
   2356   char *restrict newvar = "Another string";
   2357 
   2358   // Check varargs.
   2359   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2360   test_varargs_macros ();
   2361 
   2362   // Check flexible array members.
   2363   struct incomplete_array *ia =
   2364     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2365   ia->datasize = 10;
   2366   for (int i = 0; i < ia->datasize; ++i)
   2367     ia->data[i] = i * 1.234;
   2368   // Work around memory leak warnings.
   2369   free (ia);
   2370 
   2371   // Check named initializers.
   2372   struct named_init ni = {
   2373     .number = 34,
   2374     .name = L"Test wide string",
   2375     .average = 543.34343,
   2376   };
   2377 
   2378   ni.number = 58;
   2379 
   2380   int dynamic_array[ni.number];
   2381   dynamic_array[0] = argv[0][0];
   2382   dynamic_array[ni.number - 1] = 543;
   2383 
   2384   // work around unused variable warnings
   2385   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2386 	 || dynamic_array[ni.number - 1] != 543);
   2387 '
   2388 
   2389 # Test code for whether the C compiler supports C11 (global declarations)
   2390 ac_c_conftest_c11_globals='
   2391 /* Does the compiler advertise C11 conformance? */
   2392 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2393 # error "Compiler does not advertise C11 conformance"
   2394 #endif
   2395 
   2396 // Check _Alignas.
   2397 char _Alignas (double) aligned_as_double;
   2398 char _Alignas (0) no_special_alignment;
   2399 extern char aligned_as_int;
   2400 char _Alignas (0) _Alignas (int) aligned_as_int;
   2401 
   2402 // Check _Alignof.
   2403 enum
   2404 {
   2405   int_alignment = _Alignof (int),
   2406   int_array_alignment = _Alignof (int[100]),
   2407   char_alignment = _Alignof (char)
   2408 };
   2409 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2410 
   2411 // Check _Noreturn.
   2412 int _Noreturn does_not_return (void) { for (;;) continue; }
   2413 
   2414 // Check _Static_assert.
   2415 struct test_static_assert
   2416 {
   2417   int x;
   2418   _Static_assert (sizeof (int) <= sizeof (long int),
   2419                   "_Static_assert does not work in struct");
   2420   long int y;
   2421 };
   2422 
   2423 // Check UTF-8 literals.
   2424 #define u8 syntax error!
   2425 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2426 
   2427 // Check duplicate typedefs.
   2428 typedef long *long_ptr;
   2429 typedef long int *long_ptr;
   2430 typedef long_ptr long_ptr;
   2431 
   2432 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2433 struct anonymous
   2434 {
   2435   union {
   2436     struct { int i; int j; };
   2437     struct { int k; long int l; } w;
   2438   };
   2439   int m;
   2440 } v1;
   2441 '
   2442 
   2443 # Test code for whether the C compiler supports C11 (body of main).
   2444 ac_c_conftest_c11_main='
   2445   _Static_assert ((offsetof (struct anonymous, i)
   2446 		   == offsetof (struct anonymous, w.k)),
   2447 		  "Anonymous union alignment botch");
   2448   v1.i = 2;
   2449   v1.w.k = 5;
   2450   ok |= v1.i != 5;
   2451 '
   2452 
   2453 # Test code for whether the C compiler supports C11 (complete).
   2454 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2455 ${ac_c_conftest_c99_globals}
   2456 ${ac_c_conftest_c11_globals}
   2457 
   2458 int
   2459 main (int argc, char **argv)
   2460 {
   2461   int ok = 0;
   2462   ${ac_c_conftest_c89_main}
   2463   ${ac_c_conftest_c99_main}
   2464   ${ac_c_conftest_c11_main}
   2465   return ok;
   2466 }
   2467 "
   2468 
   2469 # Test code for whether the C compiler supports C99 (complete).
   2470 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2471 ${ac_c_conftest_c99_globals}
   2472 
   2473 int
   2474 main (int argc, char **argv)
   2475 {
   2476   int ok = 0;
   2477   ${ac_c_conftest_c89_main}
   2478   ${ac_c_conftest_c99_main}
   2479   return ok;
   2480 }
   2481 "
   2482 
   2483 # Test code for whether the C compiler supports C89 (complete).
   2484 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2485 
   2486 int
   2487 main (int argc, char **argv)
   2488 {
   2489   int ok = 0;
   2490   ${ac_c_conftest_c89_main}
   2491   return ok;
   2492 }
   2493 "
   2494 
   2495 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2496 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2497 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2498 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2499 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2500 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2501 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2502 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2503 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2504 
   2505 # Auxiliary files required by this configure script.
   2506 ac_aux_files="config.guess config.sub compile missing install-sh"
   2507 
   2508 # Locations in which to look for auxiliary files.
   2509 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2510 
   2511 # Search for a directory containing all of the required auxiliary files,
   2512 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2513 # If we don't find one directory that contains all the files we need,
   2514 # we report the set of missing files from the *first* directory in
   2515 # $ac_aux_dir_candidates and give up.
   2516 ac_missing_aux_files=""
   2517 ac_first_candidate=:
   2518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2520 as_found=false
   2521 for as_dir in $ac_aux_dir_candidates
   2522 do
   2523   IFS=$as_save_IFS
   2524   case $as_dir in #(((
   2525     '') as_dir=./ ;;
   2526     */) ;;
   2527     *) as_dir=$as_dir/ ;;
   2528   esac
   2529   as_found=:
   2530 
   2531   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2532   ac_aux_dir_found=yes
   2533   ac_install_sh=
   2534   for ac_aux in $ac_aux_files
   2535   do
   2536     # As a special case, if "install-sh" is required, that requirement
   2537     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2538     # and $ac_install_sh is set appropriately for whichever one is found.
   2539     if test x"$ac_aux" = x"install-sh"
   2540     then
   2541       if test -f "${as_dir}install-sh"; then
   2542         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2543         ac_install_sh="${as_dir}install-sh -c"
   2544       elif test -f "${as_dir}install.sh"; then
   2545         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2546         ac_install_sh="${as_dir}install.sh -c"
   2547       elif test -f "${as_dir}shtool"; then
   2548         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2549         ac_install_sh="${as_dir}shtool install -c"
   2550       else
   2551         ac_aux_dir_found=no
   2552         if $ac_first_candidate; then
   2553           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2554         else
   2555           break
   2556         fi
   2557       fi
   2558     else
   2559       if test -f "${as_dir}${ac_aux}"; then
   2560         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2561       else
   2562         ac_aux_dir_found=no
   2563         if $ac_first_candidate; then
   2564           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2565         else
   2566           break
   2567         fi
   2568       fi
   2569     fi
   2570   done
   2571   if test "$ac_aux_dir_found" = yes; then
   2572     ac_aux_dir="$as_dir"
   2573     break
   2574   fi
   2575   ac_first_candidate=false
   2576 
   2577   as_found=false
   2578 done
   2579 IFS=$as_save_IFS
   2580 if $as_found
   2581 then :
   2582 
   2583 else case e in #(
   2584   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2585 esac
   2586 fi
   2587 
   2588 
   2589 # These three variables are undocumented and unsupported,
   2590 # and are intended to be withdrawn in a future Autoconf release.
   2591 # They can cause serious problems if a builder's source tree is in a directory
   2592 # whose full name contains unusual characters.
   2593 if test -f "${ac_aux_dir}config.guess"; then
   2594   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2595 fi
   2596 if test -f "${ac_aux_dir}config.sub"; then
   2597   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2598 fi
   2599 if test -f "$ac_aux_dir/configure"; then
   2600   ac_configure="$SHELL ${ac_aux_dir}configure"
   2601 fi
   2602 
   2603 # Check that the precious variables saved in the cache have kept the same
   2604 # value.
   2605 ac_cache_corrupted=false
   2606 for ac_var in $ac_precious_vars; do
   2607   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2608   eval ac_new_set=\$ac_env_${ac_var}_set
   2609   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2610   eval ac_new_val=\$ac_env_${ac_var}_value
   2611   case $ac_old_set,$ac_new_set in
   2612     set,)
   2613       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2614 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2615       ac_cache_corrupted=: ;;
   2616     ,set)
   2617       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2618 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2619       ac_cache_corrupted=: ;;
   2620     ,);;
   2621     *)
   2622       if test "x$ac_old_val" != "x$ac_new_val"; then
   2623 	# differences in whitespace do not lead to failure.
   2624 	ac_old_val_w=`echo x $ac_old_val`
   2625 	ac_new_val_w=`echo x $ac_new_val`
   2626 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2627 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2628 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2629 	  ac_cache_corrupted=:
   2630 	else
   2631 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2632 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2633 	  eval $ac_var=\$ac_old_val
   2634 	fi
   2635 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2636 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2637 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2638 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2639       fi;;
   2640   esac
   2641   # Pass precious variables to config.status.
   2642   if test "$ac_new_set" = set; then
   2643     case $ac_new_val in
   2644     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2645     *) ac_arg=$ac_var=$ac_new_val ;;
   2646     esac
   2647     case " $ac_configure_args " in
   2648       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2649       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2650     esac
   2651   fi
   2652 done
   2653 if $ac_cache_corrupted; then
   2654   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2655 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2656   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2657 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2658   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2659 	    and start over" "$LINENO" 5
   2660 fi
   2661 ## -------------------- ##
   2662 ## Main body of script. ##
   2663 ## -------------------- ##
   2664 
   2665 ac_ext=c
   2666 ac_cpp='$CPP $CPPFLAGS'
   2667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2670 
   2671 
   2672 
   2673 ac_config_headers="$ac_config_headers config.h"
   2674 
   2675 
   2676 # Initialize Automake
   2677 am__api_version='1.16'
   2678 
   2679 
   2680 
   2681   # Find a good install program.  We prefer a C program (faster),
   2682 # so one script is as good as another.  But avoid the broken or
   2683 # incompatible versions:
   2684 # SysV /etc/install, /usr/sbin/install
   2685 # SunOS /usr/etc/install
   2686 # IRIX /sbin/install
   2687 # AIX /bin/install
   2688 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2689 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2690 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2691 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2692 # OS/2's system install, which has a completely different semantic
   2693 # ./install, which can be erroneously created by make from ./install.sh.
   2694 # Reject install programs that cannot install multiple files.
   2695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2696 printf %s "checking for a BSD-compatible install... " >&6; }
   2697 if test -z "$INSTALL"; then
   2698 if test ${ac_cv_path_install+y}
   2699 then :
   2700   printf %s "(cached) " >&6
   2701 else case e in #(
   2702   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2703 for as_dir in $PATH
   2704 do
   2705   IFS=$as_save_IFS
   2706   case $as_dir in #(((
   2707     '') as_dir=./ ;;
   2708     */) ;;
   2709     *) as_dir=$as_dir/ ;;
   2710   esac
   2711     # Account for fact that we put trailing slashes in our PATH walk.
   2712 case $as_dir in #((
   2713   ./ | /[cC]/* | \
   2714   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2715   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2716   /usr/ucb/* ) ;;
   2717   *)
   2718     # OSF1 and SCO ODT 3.0 have their own names for install.
   2719     # Don't use installbsd from OSF since it installs stuff as root
   2720     # by default.
   2721     for ac_prog in ginstall scoinst install; do
   2722       for ac_exec_ext in '' $ac_executable_extensions; do
   2723 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2724 	  if test $ac_prog = install &&
   2725 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2726 	    # AIX install.  It has an incompatible calling convention.
   2727 	    :
   2728 	  elif test $ac_prog = install &&
   2729 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2730 	    # program-specific install script used by HP pwplus--don't use.
   2731 	    :
   2732 	  else
   2733 	    rm -rf conftest.one conftest.two conftest.dir
   2734 	    echo one > conftest.one
   2735 	    echo two > conftest.two
   2736 	    mkdir conftest.dir
   2737 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2738 	      test -s conftest.one && test -s conftest.two &&
   2739 	      test -s conftest.dir/conftest.one &&
   2740 	      test -s conftest.dir/conftest.two
   2741 	    then
   2742 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2743 	      break 3
   2744 	    fi
   2745 	  fi
   2746 	fi
   2747       done
   2748     done
   2749     ;;
   2750 esac
   2751 
   2752   done
   2753 IFS=$as_save_IFS
   2754 
   2755 rm -rf conftest.one conftest.two conftest.dir
   2756  ;;
   2757 esac
   2758 fi
   2759   if test ${ac_cv_path_install+y}; then
   2760     INSTALL=$ac_cv_path_install
   2761   else
   2762     # As a last resort, use the slow shell script.  Don't cache a
   2763     # value for INSTALL within a source directory, because that will
   2764     # break other packages using the cache if that directory is
   2765     # removed, or if the value is a relative name.
   2766     INSTALL=$ac_install_sh
   2767   fi
   2768 fi
   2769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2770 printf "%s\n" "$INSTALL" >&6; }
   2771 
   2772 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2773 # It thinks the first close brace ends the variable substitution.
   2774 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2775 
   2776 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2777 
   2778 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2779 
   2780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2781 printf %s "checking whether build environment is sane... " >&6; }
   2782 # Reject unsafe characters in $srcdir or the absolute working directory
   2783 # name.  Accept space and tab only in the latter.
   2784 am_lf='
   2785 '
   2786 case `pwd` in
   2787   *[\\\"\#\$\&\'\`$am_lf]*)
   2788     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2789 esac
   2790 case $srcdir in
   2791   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2792     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2793 esac
   2794 
   2795 # Do 'set' in a subshell so we don't clobber the current shell's
   2796 # arguments.  Must try -L first in case configure is actually a
   2797 # symlink; some systems play weird games with the mod time of symlinks
   2798 # (eg FreeBSD returns the mod time of the symlink's containing
   2799 # directory).
   2800 if (
   2801    am_has_slept=no
   2802    for am_try in 1 2; do
   2803      echo "timestamp, slept: $am_has_slept" > conftest.file
   2804      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2805      if test "$*" = "X"; then
   2806 	# -L didn't work.
   2807 	set X `ls -t "$srcdir/configure" conftest.file`
   2808      fi
   2809      if test "$*" != "X $srcdir/configure conftest.file" \
   2810 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2811 
   2812 	# If neither matched, then we have a broken ls.  This can happen
   2813 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2814 	# broken ls alias from the environment.  This has actually
   2815 	# happened.  Such a system could not be considered "sane".
   2816 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2817   alias in your environment" "$LINENO" 5
   2818      fi
   2819      if test "$2" = conftest.file || test $am_try -eq 2; then
   2820        break
   2821      fi
   2822      # Just in case.
   2823      sleep 1
   2824      am_has_slept=yes
   2825    done
   2826    test "$2" = conftest.file
   2827    )
   2828 then
   2829    # Ok.
   2830    :
   2831 else
   2832    as_fn_error $? "newly created file is older than distributed files!
   2833 Check your system clock" "$LINENO" 5
   2834 fi
   2835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2836 printf "%s\n" "yes" >&6; }
   2837 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2838 # generated files are strictly newer.
   2839 am_sleep_pid=
   2840 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2841   ( sleep 1 ) &
   2842   am_sleep_pid=$!
   2843 fi
   2844 
   2845 rm -f conftest.file
   2846 
   2847 test "$program_prefix" != NONE &&
   2848   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2849 # Use a double $ so make ignores it.
   2850 test "$program_suffix" != NONE &&
   2851   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2852 # Double any \ or $.
   2853 # By default was 's,x,x', remove it if useless.
   2854 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2855 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2856 
   2857 
   2858 # Expand $ac_aux_dir to an absolute path.
   2859 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2860 
   2861 
   2862   if test x"${MISSING+set}" != xset; then
   2863   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2864 fi
   2865 # Use eval to expand $SHELL
   2866 if eval "$MISSING --is-lightweight"; then
   2867   am_missing_run="$MISSING "
   2868 else
   2869   am_missing_run=
   2870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2871 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2872 fi
   2873 
   2874 if test x"${install_sh+set}" != xset; then
   2875   case $am_aux_dir in
   2876   *\ * | *\	*)
   2877     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2878   *)
   2879     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2880   esac
   2881 fi
   2882 
   2883 # Installed binaries are usually stripped using 'strip' when the user
   2884 # run "make install-strip".  However 'strip' might not be the right
   2885 # tool to use in cross-compilation environments, therefore Automake
   2886 # will honor the 'STRIP' environment variable to overrule this program.
   2887 if test "$cross_compiling" != no; then
   2888   if test -n "$ac_tool_prefix"; then
   2889   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2890 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2892 printf %s "checking for $ac_word... " >&6; }
   2893 if test ${ac_cv_prog_STRIP+y}
   2894 then :
   2895   printf %s "(cached) " >&6
   2896 else case e in #(
   2897   e) if test -n "$STRIP"; then
   2898   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2899 else
   2900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2901 for as_dir in $PATH
   2902 do
   2903   IFS=$as_save_IFS
   2904   case $as_dir in #(((
   2905     '') as_dir=./ ;;
   2906     */) ;;
   2907     *) as_dir=$as_dir/ ;;
   2908   esac
   2909     for ac_exec_ext in '' $ac_executable_extensions; do
   2910   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2911     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2912     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2913     break 2
   2914   fi
   2915 done
   2916   done
   2917 IFS=$as_save_IFS
   2918 
   2919 fi ;;
   2920 esac
   2921 fi
   2922 STRIP=$ac_cv_prog_STRIP
   2923 if test -n "$STRIP"; then
   2924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2925 printf "%s\n" "$STRIP" >&6; }
   2926 else
   2927   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2928 printf "%s\n" "no" >&6; }
   2929 fi
   2930 
   2931 
   2932 fi
   2933 if test -z "$ac_cv_prog_STRIP"; then
   2934   ac_ct_STRIP=$STRIP
   2935   # Extract the first word of "strip", so it can be a program name with args.
   2936 set dummy strip; ac_word=$2
   2937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2938 printf %s "checking for $ac_word... " >&6; }
   2939 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2940 then :
   2941   printf %s "(cached) " >&6
   2942 else case e in #(
   2943   e) if test -n "$ac_ct_STRIP"; then
   2944   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2945 else
   2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2947 for as_dir in $PATH
   2948 do
   2949   IFS=$as_save_IFS
   2950   case $as_dir in #(((
   2951     '') as_dir=./ ;;
   2952     */) ;;
   2953     *) as_dir=$as_dir/ ;;
   2954   esac
   2955     for ac_exec_ext in '' $ac_executable_extensions; do
   2956   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2957     ac_cv_prog_ac_ct_STRIP="strip"
   2958     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2959     break 2
   2960   fi
   2961 done
   2962   done
   2963 IFS=$as_save_IFS
   2964 
   2965 fi ;;
   2966 esac
   2967 fi
   2968 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2969 if test -n "$ac_ct_STRIP"; then
   2970   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2971 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2972 else
   2973   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2974 printf "%s\n" "no" >&6; }
   2975 fi
   2976 
   2977   if test "x$ac_ct_STRIP" = x; then
   2978     STRIP=":"
   2979   else
   2980     case $cross_compiling:$ac_tool_warned in
   2981 yes:)
   2982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2983 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2984 ac_tool_warned=yes ;;
   2985 esac
   2986     STRIP=$ac_ct_STRIP
   2987   fi
   2988 else
   2989   STRIP="$ac_cv_prog_STRIP"
   2990 fi
   2991 
   2992 fi
   2993 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2994 
   2995 
   2996   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2997 printf %s "checking for a race-free mkdir -p... " >&6; }
   2998 if test -z "$MKDIR_P"; then
   2999   if test ${ac_cv_path_mkdir+y}
   3000 then :
   3001   printf %s "(cached) " >&6
   3002 else case e in #(
   3003   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3004 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3005 do
   3006   IFS=$as_save_IFS
   3007   case $as_dir in #(((
   3008     '') as_dir=./ ;;
   3009     */) ;;
   3010     *) as_dir=$as_dir/ ;;
   3011   esac
   3012     for ac_prog in mkdir gmkdir; do
   3013 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3014 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3015 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3016 	     'mkdir ('*'coreutils) '* | \
   3017 	     *'BusyBox '* | \
   3018 	     'mkdir (fileutils) '4.1*)
   3019 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3020 	       break 3;;
   3021 	   esac
   3022 	 done
   3023        done
   3024   done
   3025 IFS=$as_save_IFS
   3026  ;;
   3027 esac
   3028 fi
   3029 
   3030   test -d ./--version && rmdir ./--version
   3031   if test ${ac_cv_path_mkdir+y}; then
   3032     MKDIR_P="$ac_cv_path_mkdir -p"
   3033   else
   3034     # As a last resort, use plain mkdir -p,
   3035     # in the hope it doesn't have the bugs of ancient mkdir.
   3036     MKDIR_P='mkdir -p'
   3037   fi
   3038 fi
   3039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3040 printf "%s\n" "$MKDIR_P" >&6; }
   3041 
   3042 for ac_prog in gawk mawk nawk awk
   3043 do
   3044   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3045 set dummy $ac_prog; ac_word=$2
   3046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3047 printf %s "checking for $ac_word... " >&6; }
   3048 if test ${ac_cv_prog_AWK+y}
   3049 then :
   3050   printf %s "(cached) " >&6
   3051 else case e in #(
   3052   e) if test -n "$AWK"; then
   3053   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3054 else
   3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3056 for as_dir in $PATH
   3057 do
   3058   IFS=$as_save_IFS
   3059   case $as_dir in #(((
   3060     '') as_dir=./ ;;
   3061     */) ;;
   3062     *) as_dir=$as_dir/ ;;
   3063   esac
   3064     for ac_exec_ext in '' $ac_executable_extensions; do
   3065   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3066     ac_cv_prog_AWK="$ac_prog"
   3067     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3068     break 2
   3069   fi
   3070 done
   3071   done
   3072 IFS=$as_save_IFS
   3073 
   3074 fi ;;
   3075 esac
   3076 fi
   3077 AWK=$ac_cv_prog_AWK
   3078 if test -n "$AWK"; then
   3079   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3080 printf "%s\n" "$AWK" >&6; }
   3081 else
   3082   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3083 printf "%s\n" "no" >&6; }
   3084 fi
   3085 
   3086 
   3087   test -n "$AWK" && break
   3088 done
   3089 
   3090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3091 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3092 set x ${MAKE-make}
   3093 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3094 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3095 then :
   3096   printf %s "(cached) " >&6
   3097 else case e in #(
   3098   e) cat >conftest.make <<\_ACEOF
   3099 SHELL = /bin/sh
   3100 all:
   3101 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3102 _ACEOF
   3103 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3104 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3105   *@@@%%%=?*=@@@%%%*)
   3106     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3107   *)
   3108     eval ac_cv_prog_make_${ac_make}_set=no;;
   3109 esac
   3110 rm -f conftest.make ;;
   3111 esac
   3112 fi
   3113 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3114   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3115 printf "%s\n" "yes" >&6; }
   3116   SET_MAKE=
   3117 else
   3118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3119 printf "%s\n" "no" >&6; }
   3120   SET_MAKE="MAKE=${MAKE-make}"
   3121 fi
   3122 
   3123 rm -rf .tst 2>/dev/null
   3124 mkdir .tst 2>/dev/null
   3125 if test -d .tst; then
   3126   am__leading_dot=.
   3127 else
   3128   am__leading_dot=_
   3129 fi
   3130 rmdir .tst 2>/dev/null
   3131 
   3132 # Check whether --enable-silent-rules was given.
   3133 if test ${enable_silent_rules+y}
   3134 then :
   3135   enableval=$enable_silent_rules;
   3136 fi
   3137 
   3138 case $enable_silent_rules in # (((
   3139   yes) AM_DEFAULT_VERBOSITY=0;;
   3140    no) AM_DEFAULT_VERBOSITY=1;;
   3141     *) AM_DEFAULT_VERBOSITY=1;;
   3142 esac
   3143 am_make=${MAKE-make}
   3144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3145 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3146 if test ${am_cv_make_support_nested_variables+y}
   3147 then :
   3148   printf %s "(cached) " >&6
   3149 else case e in #(
   3150   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3151 BAR0=false
   3152 BAR1=true
   3153 V=1
   3154 am__doit:
   3155 	@$(TRUE)
   3156 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3157   am_cv_make_support_nested_variables=yes
   3158 else
   3159   am_cv_make_support_nested_variables=no
   3160 fi ;;
   3161 esac
   3162 fi
   3163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3164 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3165 if test $am_cv_make_support_nested_variables = yes; then
   3166     AM_V='$(V)'
   3167   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3168 else
   3169   AM_V=$AM_DEFAULT_VERBOSITY
   3170   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3171 fi
   3172 AM_BACKSLASH='\'
   3173 
   3174 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3175   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3176   # is not polluted with repeated "-I."
   3177   am__isrc=' -I$(srcdir)'
   3178   # test to see if srcdir already configured
   3179   if test -f $srcdir/config.status; then
   3180     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3181   fi
   3182 fi
   3183 
   3184 # test whether we have cygpath
   3185 if test -z "$CYGPATH_W"; then
   3186   if (cygpath --version) >/dev/null 2>/dev/null; then
   3187     CYGPATH_W='cygpath -w'
   3188   else
   3189     CYGPATH_W=echo
   3190   fi
   3191 fi
   3192 
   3193 
   3194 # Define the identity of the package.
   3195  PACKAGE='imake'
   3196  VERSION='1.0.10'
   3197 
   3198 
   3199 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3200 
   3201 
   3202 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3203 
   3204 # Some tools Automake needs.
   3205 
   3206 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3207 
   3208 
   3209 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3210 
   3211 
   3212 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3213 
   3214 
   3215 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3216 
   3217 
   3218 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3219 
   3220 # For better backward compatibility.  To be removed once Automake 1.9.x
   3221 # dies out for good.  For more background, see:
   3222 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3223 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3224 mkdir_p='$(MKDIR_P)'
   3225 
   3226 # We need awk for the "check" target (and possibly the TAP driver).  The
   3227 # system "awk" is bad on some platforms.
   3228 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3229 # in the wild :-(  We should find a proper way to deprecate it ...
   3230 AMTAR='$${TAR-tar}'
   3231 
   3232 
   3233 # We'll loop over all known methods to create a tar archive until one works.
   3234 _am_tools='gnutar  pax cpio none'
   3235 
   3236 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3237 
   3238 
   3239 
   3240 
   3241 
   3242 # Variables for tags utilities; see am/tags.am
   3243 if test -z "$CTAGS"; then
   3244   CTAGS=ctags
   3245 fi
   3246 
   3247 if test -z "$ETAGS"; then
   3248   ETAGS=etags
   3249 fi
   3250 
   3251 if test -z "$CSCOPE"; then
   3252   CSCOPE=cscope
   3253 fi
   3254 
   3255 
   3256 
   3257 # POSIX will say in a future version that running "rm -f" with no argument
   3258 # is OK; and we want to be able to make that assumption in our Makefile
   3259 # recipes.  So use an aggressive probe to check that the usage we want is
   3260 # actually supported "in the wild" to an acceptable degree.
   3261 # See automake bug#10828.
   3262 # To make any issue more visible, cause the running configure to be aborted
   3263 # by default if the 'rm' program in use doesn't match our expectations; the
   3264 # user can still override this though.
   3265 if rm -f && rm -fr && rm -rf; then : OK; else
   3266   cat >&2 <<'END'
   3267 Oops!
   3268 
   3269 Your 'rm' program seems unable to run without file operands specified
   3270 on the command line, even when the '-f' option is present.  This is contrary
   3271 to the behaviour of most rm programs out there, and not conforming with
   3272 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3273 
   3274 Please tell bug-automake@gnu.org about your system, including the value
   3275 of your $PATH and any error possibly output before this message.  This
   3276 can help us improve future automake versions.
   3277 
   3278 END
   3279   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3280     echo 'Configuration will proceed anyway, since you have set the' >&2
   3281     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3282     echo >&2
   3283   else
   3284     cat >&2 <<'END'
   3285 Aborting the configuration process, to ensure you take notice of the issue.
   3286 
   3287 You can download and install GNU coreutils to get an 'rm' implementation
   3288 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3289 
   3290 If you want to complete the configuration process using your problematic
   3291 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3292 to "yes", and re-run configure.
   3293 
   3294 END
   3295     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3296   fi
   3297 fi
   3298 
   3299 
   3300 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3301 
   3302 
   3303 
   3304 
   3305 
   3306 
   3307 
   3308 
   3309 
   3310 
   3311 
   3312 
   3313 
   3314 
   3315 
   3316 
   3317 
   3318 
   3319 
   3320 
   3321 DEPDIR="${am__leading_dot}deps"
   3322 
   3323 ac_config_commands="$ac_config_commands depfiles"
   3324 
   3325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3326 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3327 cat > confinc.mk << 'END'
   3328 am__doit:
   3329 	@echo this is the am__doit target >confinc.out
   3330 .PHONY: am__doit
   3331 END
   3332 am__include="#"
   3333 am__quote=
   3334 # BSD make does it like this.
   3335 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3336 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3337 echo 'include confinc.mk # ignored' > confmf.GNU
   3338 _am_result=no
   3339 for s in GNU BSD; do
   3340   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3341    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3342    ac_status=$?
   3343    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3344    (exit $ac_status); }
   3345   case $?:`cat confinc.out 2>/dev/null` in #(
   3346   '0:this is the am__doit target') :
   3347     case $s in #(
   3348   BSD) :
   3349     am__include='.include' am__quote='"' ;; #(
   3350   *) :
   3351     am__include='include' am__quote='' ;;
   3352 esac ;; #(
   3353   *) :
   3354      ;;
   3355 esac
   3356   if test "$am__include" != "#"; then
   3357     _am_result="yes ($s style)"
   3358     break
   3359   fi
   3360 done
   3361 rm -f confinc.* confmf.*
   3362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3363 printf "%s\n" "${_am_result}" >&6; }
   3364 
   3365 # Check whether --enable-dependency-tracking was given.
   3366 if test ${enable_dependency_tracking+y}
   3367 then :
   3368   enableval=$enable_dependency_tracking;
   3369 fi
   3370 
   3371 if test "x$enable_dependency_tracking" != xno; then
   3372   am_depcomp="$ac_aux_dir/depcomp"
   3373   AMDEPBACKSLASH='\'
   3374   am__nodep='_no'
   3375 fi
   3376  if test "x$enable_dependency_tracking" != xno; then
   3377   AMDEP_TRUE=
   3378   AMDEP_FALSE='#'
   3379 else
   3380   AMDEP_TRUE='#'
   3381   AMDEP_FALSE=
   3382 fi
   3383 
   3384 
   3385 ac_ext=c
   3386 ac_cpp='$CPP $CPPFLAGS'
   3387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3390 if test -n "$ac_tool_prefix"; then
   3391   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3392 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3394 printf %s "checking for $ac_word... " >&6; }
   3395 if test ${ac_cv_prog_CC+y}
   3396 then :
   3397   printf %s "(cached) " >&6
   3398 else case e in #(
   3399   e) if test -n "$CC"; then
   3400   ac_cv_prog_CC="$CC" # Let the user override the test.
   3401 else
   3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3403 for as_dir in $PATH
   3404 do
   3405   IFS=$as_save_IFS
   3406   case $as_dir in #(((
   3407     '') as_dir=./ ;;
   3408     */) ;;
   3409     *) as_dir=$as_dir/ ;;
   3410   esac
   3411     for ac_exec_ext in '' $ac_executable_extensions; do
   3412   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3413     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3414     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3415     break 2
   3416   fi
   3417 done
   3418   done
   3419 IFS=$as_save_IFS
   3420 
   3421 fi ;;
   3422 esac
   3423 fi
   3424 CC=$ac_cv_prog_CC
   3425 if test -n "$CC"; then
   3426   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3427 printf "%s\n" "$CC" >&6; }
   3428 else
   3429   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3430 printf "%s\n" "no" >&6; }
   3431 fi
   3432 
   3433 
   3434 fi
   3435 if test -z "$ac_cv_prog_CC"; then
   3436   ac_ct_CC=$CC
   3437   # Extract the first word of "gcc", so it can be a program name with args.
   3438 set dummy gcc; ac_word=$2
   3439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3440 printf %s "checking for $ac_word... " >&6; }
   3441 if test ${ac_cv_prog_ac_ct_CC+y}
   3442 then :
   3443   printf %s "(cached) " >&6
   3444 else case e in #(
   3445   e) if test -n "$ac_ct_CC"; then
   3446   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3447 else
   3448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3449 for as_dir in $PATH
   3450 do
   3451   IFS=$as_save_IFS
   3452   case $as_dir in #(((
   3453     '') as_dir=./ ;;
   3454     */) ;;
   3455     *) as_dir=$as_dir/ ;;
   3456   esac
   3457     for ac_exec_ext in '' $ac_executable_extensions; do
   3458   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3459     ac_cv_prog_ac_ct_CC="gcc"
   3460     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3461     break 2
   3462   fi
   3463 done
   3464   done
   3465 IFS=$as_save_IFS
   3466 
   3467 fi ;;
   3468 esac
   3469 fi
   3470 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3471 if test -n "$ac_ct_CC"; then
   3472   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3473 printf "%s\n" "$ac_ct_CC" >&6; }
   3474 else
   3475   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3476 printf "%s\n" "no" >&6; }
   3477 fi
   3478 
   3479   if test "x$ac_ct_CC" = x; then
   3480     CC=""
   3481   else
   3482     case $cross_compiling:$ac_tool_warned in
   3483 yes:)
   3484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3485 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3486 ac_tool_warned=yes ;;
   3487 esac
   3488     CC=$ac_ct_CC
   3489   fi
   3490 else
   3491   CC="$ac_cv_prog_CC"
   3492 fi
   3493 
   3494 if test -z "$CC"; then
   3495           if test -n "$ac_tool_prefix"; then
   3496     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3497 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3499 printf %s "checking for $ac_word... " >&6; }
   3500 if test ${ac_cv_prog_CC+y}
   3501 then :
   3502   printf %s "(cached) " >&6
   3503 else case e in #(
   3504   e) if test -n "$CC"; then
   3505   ac_cv_prog_CC="$CC" # Let the user override the test.
   3506 else
   3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3508 for as_dir in $PATH
   3509 do
   3510   IFS=$as_save_IFS
   3511   case $as_dir in #(((
   3512     '') as_dir=./ ;;
   3513     */) ;;
   3514     *) as_dir=$as_dir/ ;;
   3515   esac
   3516     for ac_exec_ext in '' $ac_executable_extensions; do
   3517   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3518     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3519     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3520     break 2
   3521   fi
   3522 done
   3523   done
   3524 IFS=$as_save_IFS
   3525 
   3526 fi ;;
   3527 esac
   3528 fi
   3529 CC=$ac_cv_prog_CC
   3530 if test -n "$CC"; then
   3531   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3532 printf "%s\n" "$CC" >&6; }
   3533 else
   3534   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3535 printf "%s\n" "no" >&6; }
   3536 fi
   3537 
   3538 
   3539   fi
   3540 fi
   3541 if test -z "$CC"; then
   3542   # Extract the first word of "cc", so it can be a program name with args.
   3543 set dummy cc; ac_word=$2
   3544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3545 printf %s "checking for $ac_word... " >&6; }
   3546 if test ${ac_cv_prog_CC+y}
   3547 then :
   3548   printf %s "(cached) " >&6
   3549 else case e in #(
   3550   e) if test -n "$CC"; then
   3551   ac_cv_prog_CC="$CC" # Let the user override the test.
   3552 else
   3553   ac_prog_rejected=no
   3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3555 for as_dir in $PATH
   3556 do
   3557   IFS=$as_save_IFS
   3558   case $as_dir in #(((
   3559     '') as_dir=./ ;;
   3560     */) ;;
   3561     *) as_dir=$as_dir/ ;;
   3562   esac
   3563     for ac_exec_ext in '' $ac_executable_extensions; do
   3564   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3565     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3566        ac_prog_rejected=yes
   3567        continue
   3568      fi
   3569     ac_cv_prog_CC="cc"
   3570     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3571     break 2
   3572   fi
   3573 done
   3574   done
   3575 IFS=$as_save_IFS
   3576 
   3577 if test $ac_prog_rejected = yes; then
   3578   # We found a bogon in the path, so make sure we never use it.
   3579   set dummy $ac_cv_prog_CC
   3580   shift
   3581   if test $# != 0; then
   3582     # We chose a different compiler from the bogus one.
   3583     # However, it has the same basename, so the bogon will be chosen
   3584     # first if we set CC to just the basename; use the full file name.
   3585     shift
   3586     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3587   fi
   3588 fi
   3589 fi ;;
   3590 esac
   3591 fi
   3592 CC=$ac_cv_prog_CC
   3593 if test -n "$CC"; then
   3594   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3595 printf "%s\n" "$CC" >&6; }
   3596 else
   3597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3598 printf "%s\n" "no" >&6; }
   3599 fi
   3600 
   3601 
   3602 fi
   3603 if test -z "$CC"; then
   3604   if test -n "$ac_tool_prefix"; then
   3605   for ac_prog in cl.exe
   3606   do
   3607     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3610 printf %s "checking for $ac_word... " >&6; }
   3611 if test ${ac_cv_prog_CC+y}
   3612 then :
   3613   printf %s "(cached) " >&6
   3614 else case e in #(
   3615   e) if test -n "$CC"; then
   3616   ac_cv_prog_CC="$CC" # Let the user override the test.
   3617 else
   3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3619 for as_dir in $PATH
   3620 do
   3621   IFS=$as_save_IFS
   3622   case $as_dir in #(((
   3623     '') as_dir=./ ;;
   3624     */) ;;
   3625     *) as_dir=$as_dir/ ;;
   3626   esac
   3627     for ac_exec_ext in '' $ac_executable_extensions; do
   3628   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3629     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3630     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3631     break 2
   3632   fi
   3633 done
   3634   done
   3635 IFS=$as_save_IFS
   3636 
   3637 fi ;;
   3638 esac
   3639 fi
   3640 CC=$ac_cv_prog_CC
   3641 if test -n "$CC"; then
   3642   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3643 printf "%s\n" "$CC" >&6; }
   3644 else
   3645   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3646 printf "%s\n" "no" >&6; }
   3647 fi
   3648 
   3649 
   3650     test -n "$CC" && break
   3651   done
   3652 fi
   3653 if test -z "$CC"; then
   3654   ac_ct_CC=$CC
   3655   for ac_prog in cl.exe
   3656 do
   3657   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3658 set dummy $ac_prog; ac_word=$2
   3659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3660 printf %s "checking for $ac_word... " >&6; }
   3661 if test ${ac_cv_prog_ac_ct_CC+y}
   3662 then :
   3663   printf %s "(cached) " >&6
   3664 else case e in #(
   3665   e) if test -n "$ac_ct_CC"; then
   3666   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3667 else
   3668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3669 for as_dir in $PATH
   3670 do
   3671   IFS=$as_save_IFS
   3672   case $as_dir in #(((
   3673     '') as_dir=./ ;;
   3674     */) ;;
   3675     *) as_dir=$as_dir/ ;;
   3676   esac
   3677     for ac_exec_ext in '' $ac_executable_extensions; do
   3678   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3679     ac_cv_prog_ac_ct_CC="$ac_prog"
   3680     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3681     break 2
   3682   fi
   3683 done
   3684   done
   3685 IFS=$as_save_IFS
   3686 
   3687 fi ;;
   3688 esac
   3689 fi
   3690 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3691 if test -n "$ac_ct_CC"; then
   3692   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3693 printf "%s\n" "$ac_ct_CC" >&6; }
   3694 else
   3695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3696 printf "%s\n" "no" >&6; }
   3697 fi
   3698 
   3699 
   3700   test -n "$ac_ct_CC" && break
   3701 done
   3702 
   3703   if test "x$ac_ct_CC" = x; then
   3704     CC=""
   3705   else
   3706     case $cross_compiling:$ac_tool_warned in
   3707 yes:)
   3708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3709 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3710 ac_tool_warned=yes ;;
   3711 esac
   3712     CC=$ac_ct_CC
   3713   fi
   3714 fi
   3715 
   3716 fi
   3717 if test -z "$CC"; then
   3718   if test -n "$ac_tool_prefix"; then
   3719   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3720 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3722 printf %s "checking for $ac_word... " >&6; }
   3723 if test ${ac_cv_prog_CC+y}
   3724 then :
   3725   printf %s "(cached) " >&6
   3726 else case e in #(
   3727   e) if test -n "$CC"; then
   3728   ac_cv_prog_CC="$CC" # Let the user override the test.
   3729 else
   3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3731 for as_dir in $PATH
   3732 do
   3733   IFS=$as_save_IFS
   3734   case $as_dir in #(((
   3735     '') as_dir=./ ;;
   3736     */) ;;
   3737     *) as_dir=$as_dir/ ;;
   3738   esac
   3739     for ac_exec_ext in '' $ac_executable_extensions; do
   3740   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3741     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3742     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3743     break 2
   3744   fi
   3745 done
   3746   done
   3747 IFS=$as_save_IFS
   3748 
   3749 fi ;;
   3750 esac
   3751 fi
   3752 CC=$ac_cv_prog_CC
   3753 if test -n "$CC"; then
   3754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3755 printf "%s\n" "$CC" >&6; }
   3756 else
   3757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3758 printf "%s\n" "no" >&6; }
   3759 fi
   3760 
   3761 
   3762 fi
   3763 if test -z "$ac_cv_prog_CC"; then
   3764   ac_ct_CC=$CC
   3765   # Extract the first word of "clang", so it can be a program name with args.
   3766 set dummy clang; ac_word=$2
   3767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3768 printf %s "checking for $ac_word... " >&6; }
   3769 if test ${ac_cv_prog_ac_ct_CC+y}
   3770 then :
   3771   printf %s "(cached) " >&6
   3772 else case e in #(
   3773   e) if test -n "$ac_ct_CC"; then
   3774   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3775 else
   3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3777 for as_dir in $PATH
   3778 do
   3779   IFS=$as_save_IFS
   3780   case $as_dir in #(((
   3781     '') as_dir=./ ;;
   3782     */) ;;
   3783     *) as_dir=$as_dir/ ;;
   3784   esac
   3785     for ac_exec_ext in '' $ac_executable_extensions; do
   3786   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3787     ac_cv_prog_ac_ct_CC="clang"
   3788     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3789     break 2
   3790   fi
   3791 done
   3792   done
   3793 IFS=$as_save_IFS
   3794 
   3795 fi ;;
   3796 esac
   3797 fi
   3798 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3799 if test -n "$ac_ct_CC"; then
   3800   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3801 printf "%s\n" "$ac_ct_CC" >&6; }
   3802 else
   3803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3804 printf "%s\n" "no" >&6; }
   3805 fi
   3806 
   3807   if test "x$ac_ct_CC" = x; then
   3808     CC=""
   3809   else
   3810     case $cross_compiling:$ac_tool_warned in
   3811 yes:)
   3812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3813 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3814 ac_tool_warned=yes ;;
   3815 esac
   3816     CC=$ac_ct_CC
   3817   fi
   3818 else
   3819   CC="$ac_cv_prog_CC"
   3820 fi
   3821 
   3822 fi
   3823 
   3824 
   3825 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3826 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3827 as_fn_error $? "no acceptable C compiler found in \$PATH
   3828 See 'config.log' for more details" "$LINENO" 5; }
   3829 
   3830 # Provide some information about the compiler.
   3831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3832 set X $ac_compile
   3833 ac_compiler=$2
   3834 for ac_option in --version -v -V -qversion -version; do
   3835   { { ac_try="$ac_compiler $ac_option >&5"
   3836 case "(($ac_try" in
   3837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3838   *) ac_try_echo=$ac_try;;
   3839 esac
   3840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3841 printf "%s\n" "$ac_try_echo"; } >&5
   3842   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3843   ac_status=$?
   3844   if test -s conftest.err; then
   3845     sed '10a\
   3846 ... rest of stderr output deleted ...
   3847          10q' conftest.err >conftest.er1
   3848     cat conftest.er1 >&5
   3849   fi
   3850   rm -f conftest.er1 conftest.err
   3851   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3852   test $ac_status = 0; }
   3853 done
   3854 
   3855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3856 /* end confdefs.h.  */
   3857 
   3858 int
   3859 main (void)
   3860 {
   3861 
   3862   ;
   3863   return 0;
   3864 }
   3865 _ACEOF
   3866 ac_clean_files_save=$ac_clean_files
   3867 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3868 # Try to create an executable without -o first, disregard a.out.
   3869 # It will help us diagnose broken compilers, and finding out an intuition
   3870 # of exeext.
   3871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3872 printf %s "checking whether the C compiler works... " >&6; }
   3873 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3874 
   3875 # The possible output files:
   3876 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3877 
   3878 ac_rmfiles=
   3879 for ac_file in $ac_files
   3880 do
   3881   case $ac_file in
   3882     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3883     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3884   esac
   3885 done
   3886 rm -f $ac_rmfiles
   3887 
   3888 if { { ac_try="$ac_link_default"
   3889 case "(($ac_try" in
   3890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3891   *) ac_try_echo=$ac_try;;
   3892 esac
   3893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3894 printf "%s\n" "$ac_try_echo"; } >&5
   3895   (eval "$ac_link_default") 2>&5
   3896   ac_status=$?
   3897   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3898   test $ac_status = 0; }
   3899 then :
   3900   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3901 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3902 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3903 # so that the user can short-circuit this test for compilers unknown to
   3904 # Autoconf.
   3905 for ac_file in $ac_files ''
   3906 do
   3907   test -f "$ac_file" || continue
   3908   case $ac_file in
   3909     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3910 	;;
   3911     [ab].out )
   3912 	# We found the default executable, but exeext='' is most
   3913 	# certainly right.
   3914 	break;;
   3915     *.* )
   3916 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3917 	then :; else
   3918 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3919 	fi
   3920 	# We set ac_cv_exeext here because the later test for it is not
   3921 	# safe: cross compilers may not add the suffix if given an '-o'
   3922 	# argument, so we may need to know it at that point already.
   3923 	# Even if this section looks crufty: it has the advantage of
   3924 	# actually working.
   3925 	break;;
   3926     * )
   3927 	break;;
   3928   esac
   3929 done
   3930 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3931 
   3932 else case e in #(
   3933   e) ac_file='' ;;
   3934 esac
   3935 fi
   3936 if test -z "$ac_file"
   3937 then :
   3938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3939 printf "%s\n" "no" >&6; }
   3940 printf "%s\n" "$as_me: failed program was:" >&5
   3941 sed 's/^/| /' conftest.$ac_ext >&5
   3942 
   3943 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3944 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3945 as_fn_error 77 "C compiler cannot create executables
   3946 See 'config.log' for more details" "$LINENO" 5; }
   3947 else case e in #(
   3948   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3949 printf "%s\n" "yes" >&6; } ;;
   3950 esac
   3951 fi
   3952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3953 printf %s "checking for C compiler default output file name... " >&6; }
   3954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3955 printf "%s\n" "$ac_file" >&6; }
   3956 ac_exeext=$ac_cv_exeext
   3957 
   3958 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3959 ac_clean_files=$ac_clean_files_save
   3960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3961 printf %s "checking for suffix of executables... " >&6; }
   3962 if { { ac_try="$ac_link"
   3963 case "(($ac_try" in
   3964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3965   *) ac_try_echo=$ac_try;;
   3966 esac
   3967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3968 printf "%s\n" "$ac_try_echo"; } >&5
   3969   (eval "$ac_link") 2>&5
   3970   ac_status=$?
   3971   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3972   test $ac_status = 0; }
   3973 then :
   3974   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3975 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3976 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3977 # 'rm'.
   3978 for ac_file in conftest.exe conftest conftest.*; do
   3979   test -f "$ac_file" || continue
   3980   case $ac_file in
   3981     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3982     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3983 	  break;;
   3984     * ) break;;
   3985   esac
   3986 done
   3987 else case e in #(
   3988   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3989 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3990 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3991 See 'config.log' for more details" "$LINENO" 5; } ;;
   3992 esac
   3993 fi
   3994 rm -f conftest conftest$ac_cv_exeext
   3995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3996 printf "%s\n" "$ac_cv_exeext" >&6; }
   3997 
   3998 rm -f conftest.$ac_ext
   3999 EXEEXT=$ac_cv_exeext
   4000 ac_exeext=$EXEEXT
   4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4002 /* end confdefs.h.  */
   4003 #include <stdio.h>
   4004 int
   4005 main (void)
   4006 {
   4007 FILE *f = fopen ("conftest.out", "w");
   4008  if (!f)
   4009   return 1;
   4010  return ferror (f) || fclose (f) != 0;
   4011 
   4012   ;
   4013   return 0;
   4014 }
   4015 _ACEOF
   4016 ac_clean_files="$ac_clean_files conftest.out"
   4017 # Check that the compiler produces executables we can run.  If not, either
   4018 # the compiler is broken, or we cross compile.
   4019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4020 printf %s "checking whether we are cross compiling... " >&6; }
   4021 if test "$cross_compiling" != yes; then
   4022   { { ac_try="$ac_link"
   4023 case "(($ac_try" in
   4024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4025   *) ac_try_echo=$ac_try;;
   4026 esac
   4027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4028 printf "%s\n" "$ac_try_echo"; } >&5
   4029   (eval "$ac_link") 2>&5
   4030   ac_status=$?
   4031   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4032   test $ac_status = 0; }
   4033   if { ac_try='./conftest$ac_cv_exeext'
   4034   { { case "(($ac_try" in
   4035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4036   *) ac_try_echo=$ac_try;;
   4037 esac
   4038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4039 printf "%s\n" "$ac_try_echo"; } >&5
   4040   (eval "$ac_try") 2>&5
   4041   ac_status=$?
   4042   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4043   test $ac_status = 0; }; }; then
   4044     cross_compiling=no
   4045   else
   4046     if test "$cross_compiling" = maybe; then
   4047 	cross_compiling=yes
   4048     else
   4049 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4050 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4051 as_fn_error 77 "cannot run C compiled programs.
   4052 If you meant to cross compile, use '--host'.
   4053 See 'config.log' for more details" "$LINENO" 5; }
   4054     fi
   4055   fi
   4056 fi
   4057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4058 printf "%s\n" "$cross_compiling" >&6; }
   4059 
   4060 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4061   conftest.o conftest.obj conftest.out
   4062 ac_clean_files=$ac_clean_files_save
   4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4064 printf %s "checking for suffix of object files... " >&6; }
   4065 if test ${ac_cv_objext+y}
   4066 then :
   4067   printf %s "(cached) " >&6
   4068 else case e in #(
   4069   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4070 /* end confdefs.h.  */
   4071 
   4072 int
   4073 main (void)
   4074 {
   4075 
   4076   ;
   4077   return 0;
   4078 }
   4079 _ACEOF
   4080 rm -f conftest.o conftest.obj
   4081 if { { ac_try="$ac_compile"
   4082 case "(($ac_try" in
   4083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4084   *) ac_try_echo=$ac_try;;
   4085 esac
   4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4087 printf "%s\n" "$ac_try_echo"; } >&5
   4088   (eval "$ac_compile") 2>&5
   4089   ac_status=$?
   4090   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4091   test $ac_status = 0; }
   4092 then :
   4093   for ac_file in conftest.o conftest.obj conftest.*; do
   4094   test -f "$ac_file" || continue;
   4095   case $ac_file in
   4096     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4097     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4098        break;;
   4099   esac
   4100 done
   4101 else case e in #(
   4102   e) printf "%s\n" "$as_me: failed program was:" >&5
   4103 sed 's/^/| /' conftest.$ac_ext >&5
   4104 
   4105 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4106 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4107 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4108 See 'config.log' for more details" "$LINENO" 5; } ;;
   4109 esac
   4110 fi
   4111 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4112 esac
   4113 fi
   4114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4115 printf "%s\n" "$ac_cv_objext" >&6; }
   4116 OBJEXT=$ac_cv_objext
   4117 ac_objext=$OBJEXT
   4118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4119 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4120 if test ${ac_cv_c_compiler_gnu+y}
   4121 then :
   4122   printf %s "(cached) " >&6
   4123 else case e in #(
   4124   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4125 /* end confdefs.h.  */
   4126 
   4127 int
   4128 main (void)
   4129 {
   4130 #ifndef __GNUC__
   4131        choke me
   4132 #endif
   4133 
   4134   ;
   4135   return 0;
   4136 }
   4137 _ACEOF
   4138 if ac_fn_c_try_compile "$LINENO"
   4139 then :
   4140   ac_compiler_gnu=yes
   4141 else case e in #(
   4142   e) ac_compiler_gnu=no ;;
   4143 esac
   4144 fi
   4145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4146 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4147  ;;
   4148 esac
   4149 fi
   4150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4151 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4153 
   4154 if test $ac_compiler_gnu = yes; then
   4155   GCC=yes
   4156 else
   4157   GCC=
   4158 fi
   4159 ac_test_CFLAGS=${CFLAGS+y}
   4160 ac_save_CFLAGS=$CFLAGS
   4161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4162 printf %s "checking whether $CC accepts -g... " >&6; }
   4163 if test ${ac_cv_prog_cc_g+y}
   4164 then :
   4165   printf %s "(cached) " >&6
   4166 else case e in #(
   4167   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4168    ac_c_werror_flag=yes
   4169    ac_cv_prog_cc_g=no
   4170    CFLAGS="-g"
   4171    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4172 /* end confdefs.h.  */
   4173 
   4174 int
   4175 main (void)
   4176 {
   4177 
   4178   ;
   4179   return 0;
   4180 }
   4181 _ACEOF
   4182 if ac_fn_c_try_compile "$LINENO"
   4183 then :
   4184   ac_cv_prog_cc_g=yes
   4185 else case e in #(
   4186   e) CFLAGS=""
   4187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4188 /* end confdefs.h.  */
   4189 
   4190 int
   4191 main (void)
   4192 {
   4193 
   4194   ;
   4195   return 0;
   4196 }
   4197 _ACEOF
   4198 if ac_fn_c_try_compile "$LINENO"
   4199 then :
   4200 
   4201 else case e in #(
   4202   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4203 	 CFLAGS="-g"
   4204 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4205 /* end confdefs.h.  */
   4206 
   4207 int
   4208 main (void)
   4209 {
   4210 
   4211   ;
   4212   return 0;
   4213 }
   4214 _ACEOF
   4215 if ac_fn_c_try_compile "$LINENO"
   4216 then :
   4217   ac_cv_prog_cc_g=yes
   4218 fi
   4219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4220 esac
   4221 fi
   4222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4223 esac
   4224 fi
   4225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4226    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4227 esac
   4228 fi
   4229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4230 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4231 if test $ac_test_CFLAGS; then
   4232   CFLAGS=$ac_save_CFLAGS
   4233 elif test $ac_cv_prog_cc_g = yes; then
   4234   if test "$GCC" = yes; then
   4235     CFLAGS="-g -O2"
   4236   else
   4237     CFLAGS="-g"
   4238   fi
   4239 else
   4240   if test "$GCC" = yes; then
   4241     CFLAGS="-O2"
   4242   else
   4243     CFLAGS=
   4244   fi
   4245 fi
   4246 ac_prog_cc_stdc=no
   4247 if test x$ac_prog_cc_stdc = xno
   4248 then :
   4249   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4250 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4251 if test ${ac_cv_prog_cc_c11+y}
   4252 then :
   4253   printf %s "(cached) " >&6
   4254 else case e in #(
   4255   e) ac_cv_prog_cc_c11=no
   4256 ac_save_CC=$CC
   4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4258 /* end confdefs.h.  */
   4259 $ac_c_conftest_c11_program
   4260 _ACEOF
   4261 for ac_arg in '' -std=gnu11
   4262 do
   4263   CC="$ac_save_CC $ac_arg"
   4264   if ac_fn_c_try_compile "$LINENO"
   4265 then :
   4266   ac_cv_prog_cc_c11=$ac_arg
   4267 fi
   4268 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4269   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4270 done
   4271 rm -f conftest.$ac_ext
   4272 CC=$ac_save_CC ;;
   4273 esac
   4274 fi
   4275 
   4276 if test "x$ac_cv_prog_cc_c11" = xno
   4277 then :
   4278   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4279 printf "%s\n" "unsupported" >&6; }
   4280 else case e in #(
   4281   e) if test "x$ac_cv_prog_cc_c11" = x
   4282 then :
   4283   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4284 printf "%s\n" "none needed" >&6; }
   4285 else case e in #(
   4286   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4287 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4288      CC="$CC $ac_cv_prog_cc_c11" ;;
   4289 esac
   4290 fi
   4291   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4292   ac_prog_cc_stdc=c11 ;;
   4293 esac
   4294 fi
   4295 fi
   4296 if test x$ac_prog_cc_stdc = xno
   4297 then :
   4298   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4299 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4300 if test ${ac_cv_prog_cc_c99+y}
   4301 then :
   4302   printf %s "(cached) " >&6
   4303 else case e in #(
   4304   e) ac_cv_prog_cc_c99=no
   4305 ac_save_CC=$CC
   4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4307 /* end confdefs.h.  */
   4308 $ac_c_conftest_c99_program
   4309 _ACEOF
   4310 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4311 do
   4312   CC="$ac_save_CC $ac_arg"
   4313   if ac_fn_c_try_compile "$LINENO"
   4314 then :
   4315   ac_cv_prog_cc_c99=$ac_arg
   4316 fi
   4317 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4318   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4319 done
   4320 rm -f conftest.$ac_ext
   4321 CC=$ac_save_CC ;;
   4322 esac
   4323 fi
   4324 
   4325 if test "x$ac_cv_prog_cc_c99" = xno
   4326 then :
   4327   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4328 printf "%s\n" "unsupported" >&6; }
   4329 else case e in #(
   4330   e) if test "x$ac_cv_prog_cc_c99" = x
   4331 then :
   4332   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4333 printf "%s\n" "none needed" >&6; }
   4334 else case e in #(
   4335   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4336 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4337      CC="$CC $ac_cv_prog_cc_c99" ;;
   4338 esac
   4339 fi
   4340   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4341   ac_prog_cc_stdc=c99 ;;
   4342 esac
   4343 fi
   4344 fi
   4345 if test x$ac_prog_cc_stdc = xno
   4346 then :
   4347   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4348 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4349 if test ${ac_cv_prog_cc_c89+y}
   4350 then :
   4351   printf %s "(cached) " >&6
   4352 else case e in #(
   4353   e) ac_cv_prog_cc_c89=no
   4354 ac_save_CC=$CC
   4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4356 /* end confdefs.h.  */
   4357 $ac_c_conftest_c89_program
   4358 _ACEOF
   4359 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4360 do
   4361   CC="$ac_save_CC $ac_arg"
   4362   if ac_fn_c_try_compile "$LINENO"
   4363 then :
   4364   ac_cv_prog_cc_c89=$ac_arg
   4365 fi
   4366 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4367   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4368 done
   4369 rm -f conftest.$ac_ext
   4370 CC=$ac_save_CC ;;
   4371 esac
   4372 fi
   4373 
   4374 if test "x$ac_cv_prog_cc_c89" = xno
   4375 then :
   4376   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4377 printf "%s\n" "unsupported" >&6; }
   4378 else case e in #(
   4379   e) if test "x$ac_cv_prog_cc_c89" = x
   4380 then :
   4381   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4382 printf "%s\n" "none needed" >&6; }
   4383 else case e in #(
   4384   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4385 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4386      CC="$CC $ac_cv_prog_cc_c89" ;;
   4387 esac
   4388 fi
   4389   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4390   ac_prog_cc_stdc=c89 ;;
   4391 esac
   4392 fi
   4393 fi
   4394 
   4395 ac_ext=c
   4396 ac_cpp='$CPP $CPPFLAGS'
   4397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4400 
   4401 
   4402   ac_ext=c
   4403 ac_cpp='$CPP $CPPFLAGS'
   4404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4408 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4409 if test ${am_cv_prog_cc_c_o+y}
   4410 then :
   4411   printf %s "(cached) " >&6
   4412 else case e in #(
   4413   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4414 /* end confdefs.h.  */
   4415 
   4416 int
   4417 main (void)
   4418 {
   4419 
   4420   ;
   4421   return 0;
   4422 }
   4423 _ACEOF
   4424   # Make sure it works both with $CC and with simple cc.
   4425   # Following AC_PROG_CC_C_O, we do the test twice because some
   4426   # compilers refuse to overwrite an existing .o file with -o,
   4427   # though they will create one.
   4428   am_cv_prog_cc_c_o=yes
   4429   for am_i in 1 2; do
   4430     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4431    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4432    ac_status=$?
   4433    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4434    (exit $ac_status); } \
   4435          && test -f conftest2.$ac_objext; then
   4436       : OK
   4437     else
   4438       am_cv_prog_cc_c_o=no
   4439       break
   4440     fi
   4441   done
   4442   rm -f core conftest*
   4443   unset am_i ;;
   4444 esac
   4445 fi
   4446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4447 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4448 if test "$am_cv_prog_cc_c_o" != yes; then
   4449    # Losing compiler, so override with the script.
   4450    # FIXME: It is wrong to rewrite CC.
   4451    # But if we don't then we get into trouble of one sort or another.
   4452    # A longer-term fix would be to have automake use am__CC in this case,
   4453    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4454    CC="$am_aux_dir/compile $CC"
   4455 fi
   4456 ac_ext=c
   4457 ac_cpp='$CPP $CPPFLAGS'
   4458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4461 
   4462 
   4463 depcc="$CC"   am_compiler_list=
   4464 
   4465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4466 printf %s "checking dependency style of $depcc... " >&6; }
   4467 if test ${am_cv_CC_dependencies_compiler_type+y}
   4468 then :
   4469   printf %s "(cached) " >&6
   4470 else case e in #(
   4471   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4472   # We make a subdir and do the tests there.  Otherwise we can end up
   4473   # making bogus files that we don't know about and never remove.  For
   4474   # instance it was reported that on HP-UX the gcc test will end up
   4475   # making a dummy file named 'D' -- because '-MD' means "put the output
   4476   # in D".
   4477   rm -rf conftest.dir
   4478   mkdir conftest.dir
   4479   # Copy depcomp to subdir because otherwise we won't find it if we're
   4480   # using a relative directory.
   4481   cp "$am_depcomp" conftest.dir
   4482   cd conftest.dir
   4483   # We will build objects and dependencies in a subdirectory because
   4484   # it helps to detect inapplicable dependency modes.  For instance
   4485   # both Tru64's cc and ICC support -MD to output dependencies as a
   4486   # side effect of compilation, but ICC will put the dependencies in
   4487   # the current directory while Tru64 will put them in the object
   4488   # directory.
   4489   mkdir sub
   4490 
   4491   am_cv_CC_dependencies_compiler_type=none
   4492   if test "$am_compiler_list" = ""; then
   4493      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4494   fi
   4495   am__universal=false
   4496   case " $depcc " in #(
   4497      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4498      esac
   4499 
   4500   for depmode in $am_compiler_list; do
   4501     # Setup a source with many dependencies, because some compilers
   4502     # like to wrap large dependency lists on column 80 (with \), and
   4503     # we should not choose a depcomp mode which is confused by this.
   4504     #
   4505     # We need to recreate these files for each test, as the compiler may
   4506     # overwrite some of them when testing with obscure command lines.
   4507     # This happens at least with the AIX C compiler.
   4508     : > sub/conftest.c
   4509     for i in 1 2 3 4 5 6; do
   4510       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4511       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4512       # Solaris 10 /bin/sh.
   4513       echo '/* dummy */' > sub/conftst$i.h
   4514     done
   4515     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4516 
   4517     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4518     # mode.  It turns out that the SunPro C++ compiler does not properly
   4519     # handle '-M -o', and we need to detect this.  Also, some Intel
   4520     # versions had trouble with output in subdirs.
   4521     am__obj=sub/conftest.${OBJEXT-o}
   4522     am__minus_obj="-o $am__obj"
   4523     case $depmode in
   4524     gcc)
   4525       # This depmode causes a compiler race in universal mode.
   4526       test "$am__universal" = false || continue
   4527       ;;
   4528     nosideeffect)
   4529       # After this tag, mechanisms are not by side-effect, so they'll
   4530       # only be used when explicitly requested.
   4531       if test "x$enable_dependency_tracking" = xyes; then
   4532 	continue
   4533       else
   4534 	break
   4535       fi
   4536       ;;
   4537     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4538       # This compiler won't grok '-c -o', but also, the minuso test has
   4539       # not run yet.  These depmodes are late enough in the game, and
   4540       # so weak that their functioning should not be impacted.
   4541       am__obj=conftest.${OBJEXT-o}
   4542       am__minus_obj=
   4543       ;;
   4544     none) break ;;
   4545     esac
   4546     if depmode=$depmode \
   4547        source=sub/conftest.c object=$am__obj \
   4548        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4549        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4550          >/dev/null 2>conftest.err &&
   4551        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4552        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4553        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4554        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4555       # icc doesn't choke on unknown options, it will just issue warnings
   4556       # or remarks (even with -Werror).  So we grep stderr for any message
   4557       # that says an option was ignored or not supported.
   4558       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4559       #   icc: Command line warning: ignoring option '-M'; no argument required
   4560       # The diagnosis changed in icc 8.0:
   4561       #   icc: Command line remark: option '-MP' not supported
   4562       if (grep 'ignoring option' conftest.err ||
   4563           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4564         am_cv_CC_dependencies_compiler_type=$depmode
   4565         break
   4566       fi
   4567     fi
   4568   done
   4569 
   4570   cd ..
   4571   rm -rf conftest.dir
   4572 else
   4573   am_cv_CC_dependencies_compiler_type=none
   4574 fi
   4575  ;;
   4576 esac
   4577 fi
   4578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4579 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4580 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4581 
   4582  if
   4583   test "x$enable_dependency_tracking" != xno \
   4584   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4585   am__fastdepCC_TRUE=
   4586   am__fastdepCC_FALSE='#'
   4587 else
   4588   am__fastdepCC_TRUE='#'
   4589   am__fastdepCC_FALSE=
   4590 fi
   4591 
   4592 
   4593 
   4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4595 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4596 if test ${ac_cv_c_undeclared_builtin_options+y}
   4597 then :
   4598   printf %s "(cached) " >&6
   4599 else case e in #(
   4600   e) ac_save_CFLAGS=$CFLAGS
   4601    ac_cv_c_undeclared_builtin_options='cannot detect'
   4602    for ac_arg in '' -fno-builtin; do
   4603      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4604      # This test program should *not* compile successfully.
   4605      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4606 /* end confdefs.h.  */
   4607 
   4608 int
   4609 main (void)
   4610 {
   4611 (void) strchr;
   4612   ;
   4613   return 0;
   4614 }
   4615 _ACEOF
   4616 if ac_fn_c_try_compile "$LINENO"
   4617 then :
   4618 
   4619 else case e in #(
   4620   e) # This test program should compile successfully.
   4621         # No library function is consistently available on
   4622         # freestanding implementations, so test against a dummy
   4623         # declaration.  Include always-available headers on the
   4624         # off chance that they somehow elicit warnings.
   4625         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4626 /* end confdefs.h.  */
   4627 #include <float.h>
   4628 #include <limits.h>
   4629 #include <stdarg.h>
   4630 #include <stddef.h>
   4631 extern void ac_decl (int, char *);
   4632 
   4633 int
   4634 main (void)
   4635 {
   4636 (void) ac_decl (0, (char *) 0);
   4637   (void) ac_decl;
   4638 
   4639   ;
   4640   return 0;
   4641 }
   4642 _ACEOF
   4643 if ac_fn_c_try_compile "$LINENO"
   4644 then :
   4645   if test x"$ac_arg" = x
   4646 then :
   4647   ac_cv_c_undeclared_builtin_options='none needed'
   4648 else case e in #(
   4649   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4650 esac
   4651 fi
   4652           break
   4653 fi
   4654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4655 esac
   4656 fi
   4657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4658     done
   4659     CFLAGS=$ac_save_CFLAGS
   4660    ;;
   4661 esac
   4662 fi
   4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4664 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4665   case $ac_cv_c_undeclared_builtin_options in #(
   4666   'cannot detect') :
   4667     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4668 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4669 as_fn_error $? "cannot make $CC report undeclared builtins
   4670 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4671   'none needed') :
   4672     ac_c_undeclared_builtin_options='' ;; #(
   4673   *) :
   4674     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4675 esac
   4676 
   4677 ac_header= ac_cache=
   4678 for ac_item in $ac_header_c_list
   4679 do
   4680   if test $ac_cache; then
   4681     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4682     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4683       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4684     fi
   4685     ac_header= ac_cache=
   4686   elif test $ac_header; then
   4687     ac_cache=$ac_item
   4688   else
   4689     ac_header=$ac_item
   4690   fi
   4691 done
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 
   4700 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4701 then :
   4702 
   4703 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4704 
   4705 fi
   4706 
   4707 
   4708 
   4709 
   4710 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4711 if test "x$ac_cv_have_decl___clang__" = xyes
   4712 then :
   4713   CLANGCC="yes"
   4714 else case e in #(
   4715   e) CLANGCC="no" ;;
   4716 esac
   4717 fi
   4718 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4719 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4720 then :
   4721   INTELCC="yes"
   4722 else case e in #(
   4723   e) INTELCC="no" ;;
   4724 esac
   4725 fi
   4726 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4727 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4728 then :
   4729   SUNCC="yes"
   4730 else case e in #(
   4731   e) SUNCC="no" ;;
   4732 esac
   4733 fi
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 
   4740 
   4741 
   4742 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4743 	if test -n "$ac_tool_prefix"; then
   4744   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4745 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4747 printf %s "checking for $ac_word... " >&6; }
   4748 if test ${ac_cv_path_PKG_CONFIG+y}
   4749 then :
   4750   printf %s "(cached) " >&6
   4751 else case e in #(
   4752   e) case $PKG_CONFIG in
   4753   [\\/]* | ?:[\\/]*)
   4754   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4755   ;;
   4756   *)
   4757   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4758 for as_dir in $PATH
   4759 do
   4760   IFS=$as_save_IFS
   4761   case $as_dir in #(((
   4762     '') as_dir=./ ;;
   4763     */) ;;
   4764     *) as_dir=$as_dir/ ;;
   4765   esac
   4766     for ac_exec_ext in '' $ac_executable_extensions; do
   4767   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4768     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4769     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4770     break 2
   4771   fi
   4772 done
   4773   done
   4774 IFS=$as_save_IFS
   4775 
   4776   ;;
   4777 esac ;;
   4778 esac
   4779 fi
   4780 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4781 if test -n "$PKG_CONFIG"; then
   4782   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4783 printf "%s\n" "$PKG_CONFIG" >&6; }
   4784 else
   4785   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4786 printf "%s\n" "no" >&6; }
   4787 fi
   4788 
   4789 
   4790 fi
   4791 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4792   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4793   # Extract the first word of "pkg-config", so it can be a program name with args.
   4794 set dummy pkg-config; ac_word=$2
   4795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4796 printf %s "checking for $ac_word... " >&6; }
   4797 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4798 then :
   4799   printf %s "(cached) " >&6
   4800 else case e in #(
   4801   e) case $ac_pt_PKG_CONFIG in
   4802   [\\/]* | ?:[\\/]*)
   4803   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4804   ;;
   4805   *)
   4806   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4807 for as_dir in $PATH
   4808 do
   4809   IFS=$as_save_IFS
   4810   case $as_dir in #(((
   4811     '') as_dir=./ ;;
   4812     */) ;;
   4813     *) as_dir=$as_dir/ ;;
   4814   esac
   4815     for ac_exec_ext in '' $ac_executable_extensions; do
   4816   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4817     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4818     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4819     break 2
   4820   fi
   4821 done
   4822   done
   4823 IFS=$as_save_IFS
   4824 
   4825   ;;
   4826 esac ;;
   4827 esac
   4828 fi
   4829 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4830 if test -n "$ac_pt_PKG_CONFIG"; then
   4831   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4832 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4833 else
   4834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4835 printf "%s\n" "no" >&6; }
   4836 fi
   4837 
   4838   if test "x$ac_pt_PKG_CONFIG" = x; then
   4839     PKG_CONFIG=""
   4840   else
   4841     case $cross_compiling:$ac_tool_warned in
   4842 yes:)
   4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4844 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4845 ac_tool_warned=yes ;;
   4846 esac
   4847     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4848   fi
   4849 else
   4850   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4851 fi
   4852 
   4853 fi
   4854 if test -n "$PKG_CONFIG"; then
   4855 	_pkg_min_version=0.9.0
   4856 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4857 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4858 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4859 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4860 printf "%s\n" "yes" >&6; }
   4861 	else
   4862 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4863 printf "%s\n" "no" >&6; }
   4864 		PKG_CONFIG=""
   4865 	fi
   4866 fi
   4867 
   4868 
   4869   # Make sure we can run config.sub.
   4870 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4871   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4872 
   4873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4874 printf %s "checking build system type... " >&6; }
   4875 if test ${ac_cv_build+y}
   4876 then :
   4877   printf %s "(cached) " >&6
   4878 else case e in #(
   4879   e) ac_build_alias=$build_alias
   4880 test "x$ac_build_alias" = x &&
   4881   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4882 test "x$ac_build_alias" = x &&
   4883   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4884 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4885   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4886  ;;
   4887 esac
   4888 fi
   4889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4890 printf "%s\n" "$ac_cv_build" >&6; }
   4891 case $ac_cv_build in
   4892 *-*-*) ;;
   4893 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4894 esac
   4895 build=$ac_cv_build
   4896 ac_save_IFS=$IFS; IFS='-'
   4897 set x $ac_cv_build
   4898 shift
   4899 build_cpu=$1
   4900 build_vendor=$2
   4901 shift; shift
   4902 # Remember, the first character of IFS is used to create $*,
   4903 # except with old shells:
   4904 build_os=$*
   4905 IFS=$ac_save_IFS
   4906 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4907 
   4908 
   4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4910 printf %s "checking host system type... " >&6; }
   4911 if test ${ac_cv_host+y}
   4912 then :
   4913   printf %s "(cached) " >&6
   4914 else case e in #(
   4915   e) if test "x$host_alias" = x; then
   4916   ac_cv_host=$ac_cv_build
   4917 else
   4918   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4919     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4920 fi
   4921  ;;
   4922 esac
   4923 fi
   4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4925 printf "%s\n" "$ac_cv_host" >&6; }
   4926 case $ac_cv_host in
   4927 *-*-*) ;;
   4928 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4929 esac
   4930 host=$ac_cv_host
   4931 ac_save_IFS=$IFS; IFS='-'
   4932 set x $ac_cv_host
   4933 shift
   4934 host_cpu=$1
   4935 host_vendor=$2
   4936 shift; shift
   4937 # Remember, the first character of IFS is used to create $*,
   4938 # except with old shells:
   4939 host_os=$*
   4940 IFS=$ac_save_IFS
   4941 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4942 
   4943 
   4944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4945 printf %s "checking for a sed that does not truncate output... " >&6; }
   4946 if test ${ac_cv_path_SED+y}
   4947 then :
   4948   printf %s "(cached) " >&6
   4949 else case e in #(
   4950   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4951      for ac_i in 1 2 3 4 5 6 7; do
   4952        ac_script="$ac_script$as_nl$ac_script"
   4953      done
   4954      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4955      { ac_script=; unset ac_script;}
   4956      if test -z "$SED"; then
   4957   ac_path_SED_found=false
   4958   # Loop through the user's path and test for each of PROGNAME-LIST
   4959   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4960 for as_dir in $PATH
   4961 do
   4962   IFS=$as_save_IFS
   4963   case $as_dir in #(((
   4964     '') as_dir=./ ;;
   4965     */) ;;
   4966     *) as_dir=$as_dir/ ;;
   4967   esac
   4968     for ac_prog in sed gsed
   4969    do
   4970     for ac_exec_ext in '' $ac_executable_extensions; do
   4971       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4972       as_fn_executable_p "$ac_path_SED" || continue
   4973 # Check for GNU ac_path_SED and select it if it is found.
   4974   # Check for GNU $ac_path_SED
   4975 case `"$ac_path_SED" --version 2>&1` in #(
   4976 *GNU*)
   4977   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4978 #(
   4979 *)
   4980   ac_count=0
   4981   printf %s 0123456789 >"conftest.in"
   4982   while :
   4983   do
   4984     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4985     mv "conftest.tmp" "conftest.in"
   4986     cp "conftest.in" "conftest.nl"
   4987     printf "%s\n" '' >> "conftest.nl"
   4988     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4989     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4990     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4991     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4992       # Best one so far, save it but keep looking for a better one
   4993       ac_cv_path_SED="$ac_path_SED"
   4994       ac_path_SED_max=$ac_count
   4995     fi
   4996     # 10*(2^10) chars as input seems more than enough
   4997     test $ac_count -gt 10 && break
   4998   done
   4999   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5000 esac
   5001 
   5002       $ac_path_SED_found && break 3
   5003     done
   5004   done
   5005   done
   5006 IFS=$as_save_IFS
   5007   if test -z "$ac_cv_path_SED"; then
   5008     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5009   fi
   5010 else
   5011   ac_cv_path_SED=$SED
   5012 fi
   5013  ;;
   5014 esac
   5015 fi
   5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5017 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5018  SED="$ac_cv_path_SED"
   5019   rm -f conftest.sed
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 # Check whether --enable-selective-werror was given.
   5027 if test ${enable_selective_werror+y}
   5028 then :
   5029   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5030 else case e in #(
   5031   e) SELECTIVE_WERROR=yes ;;
   5032 esac
   5033 fi
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5040 if test "x$SUNCC" = "xyes"; then
   5041     BASE_CFLAGS="-v"
   5042 else
   5043     BASE_CFLAGS=""
   5044 fi
   5045 
   5046 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 xorg_testset_save_CFLAGS="$CFLAGS"
   5061 
   5062 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5063 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5064 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5065 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5066 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5067 then :
   5068   printf %s "(cached) " >&6
   5069 else case e in #(
   5070   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5071 /* end confdefs.h.  */
   5072 int i;
   5073 _ACEOF
   5074 if ac_fn_c_try_compile "$LINENO"
   5075 then :
   5076   xorg_cv_cc_flag_unknown_warning_option=yes
   5077 else case e in #(
   5078   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5079 esac
   5080 fi
   5081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5082 esac
   5083 fi
   5084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5085 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5086 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5087 	CFLAGS="$xorg_testset_save_CFLAGS"
   5088 fi
   5089 
   5090 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5091 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5092 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5093 	fi
   5094 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5095 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5096 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5097 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5098 then :
   5099   printf %s "(cached) " >&6
   5100 else case e in #(
   5101   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5102 /* end confdefs.h.  */
   5103 int i;
   5104 _ACEOF
   5105 if ac_fn_c_try_compile "$LINENO"
   5106 then :
   5107   xorg_cv_cc_flag_unused_command_line_argument=yes
   5108 else case e in #(
   5109   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5110 esac
   5111 fi
   5112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5113 esac
   5114 fi
   5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5116 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5117 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5118 	CFLAGS="$xorg_testset_save_CFLAGS"
   5119 fi
   5120 
   5121 found="no"
   5122 
   5123 	if test $found = "no" ; then
   5124 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5125 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5126 		fi
   5127 
   5128 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5129 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5130 		fi
   5131 
   5132 		CFLAGS="$CFLAGS -Wall"
   5133 
   5134 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5135 printf %s "checking if $CC supports -Wall... " >&6; }
   5136 		cacheid=xorg_cv_cc_flag__Wall
   5137 		if eval test \${$cacheid+y}
   5138 then :
   5139   printf %s "(cached) " >&6
   5140 else case e in #(
   5141   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5142 /* end confdefs.h.  */
   5143 int i;
   5144 int
   5145 main (void)
   5146 {
   5147 
   5148   ;
   5149   return 0;
   5150 }
   5151 _ACEOF
   5152 if ac_fn_c_try_link "$LINENO"
   5153 then :
   5154   eval $cacheid=yes
   5155 else case e in #(
   5156   e) eval $cacheid=no ;;
   5157 esac
   5158 fi
   5159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5160     conftest$ac_exeext conftest.$ac_ext ;;
   5161 esac
   5162 fi
   5163 
   5164 
   5165 		CFLAGS="$xorg_testset_save_CFLAGS"
   5166 
   5167 		eval supported=\$$cacheid
   5168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5169 printf "%s\n" "$supported" >&6; }
   5170 		if test "$supported" = "yes" ; then
   5171 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5172 			found="yes"
   5173 		fi
   5174 	fi
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 xorg_testset_save_CFLAGS="$CFLAGS"
   5191 
   5192 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5193 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5194 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5195 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5196 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5197 then :
   5198   printf %s "(cached) " >&6
   5199 else case e in #(
   5200   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5201 /* end confdefs.h.  */
   5202 int i;
   5203 _ACEOF
   5204 if ac_fn_c_try_compile "$LINENO"
   5205 then :
   5206   xorg_cv_cc_flag_unknown_warning_option=yes
   5207 else case e in #(
   5208   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5209 esac
   5210 fi
   5211 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5212 esac
   5213 fi
   5214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5215 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5216 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5217 	CFLAGS="$xorg_testset_save_CFLAGS"
   5218 fi
   5219 
   5220 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5221 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5222 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5223 	fi
   5224 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5225 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5226 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5227 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5228 then :
   5229   printf %s "(cached) " >&6
   5230 else case e in #(
   5231   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5232 /* end confdefs.h.  */
   5233 int i;
   5234 _ACEOF
   5235 if ac_fn_c_try_compile "$LINENO"
   5236 then :
   5237   xorg_cv_cc_flag_unused_command_line_argument=yes
   5238 else case e in #(
   5239   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5240 esac
   5241 fi
   5242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5243 esac
   5244 fi
   5245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5246 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5247 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5248 	CFLAGS="$xorg_testset_save_CFLAGS"
   5249 fi
   5250 
   5251 found="no"
   5252 
   5253 	if test $found = "no" ; then
   5254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5256 		fi
   5257 
   5258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5260 		fi
   5261 
   5262 		CFLAGS="$CFLAGS -Wpointer-arith"
   5263 
   5264 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5265 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5266 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5267 		if eval test \${$cacheid+y}
   5268 then :
   5269   printf %s "(cached) " >&6
   5270 else case e in #(
   5271   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5272 /* end confdefs.h.  */
   5273 int i;
   5274 int
   5275 main (void)
   5276 {
   5277 
   5278   ;
   5279   return 0;
   5280 }
   5281 _ACEOF
   5282 if ac_fn_c_try_link "$LINENO"
   5283 then :
   5284   eval $cacheid=yes
   5285 else case e in #(
   5286   e) eval $cacheid=no ;;
   5287 esac
   5288 fi
   5289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5290     conftest$ac_exeext conftest.$ac_ext ;;
   5291 esac
   5292 fi
   5293 
   5294 
   5295 		CFLAGS="$xorg_testset_save_CFLAGS"
   5296 
   5297 		eval supported=\$$cacheid
   5298 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5299 printf "%s\n" "$supported" >&6; }
   5300 		if test "$supported" = "yes" ; then
   5301 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5302 			found="yes"
   5303 		fi
   5304 	fi
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 xorg_testset_save_CFLAGS="$CFLAGS"
   5321 
   5322 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5323 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5324 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5325 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5326 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5327 then :
   5328   printf %s "(cached) " >&6
   5329 else case e in #(
   5330   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5331 /* end confdefs.h.  */
   5332 int i;
   5333 _ACEOF
   5334 if ac_fn_c_try_compile "$LINENO"
   5335 then :
   5336   xorg_cv_cc_flag_unknown_warning_option=yes
   5337 else case e in #(
   5338   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5339 esac
   5340 fi
   5341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5342 esac
   5343 fi
   5344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5345 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5347 	CFLAGS="$xorg_testset_save_CFLAGS"
   5348 fi
   5349 
   5350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5353 	fi
   5354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5355 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5356 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5357 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5358 then :
   5359   printf %s "(cached) " >&6
   5360 else case e in #(
   5361   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5362 /* end confdefs.h.  */
   5363 int i;
   5364 _ACEOF
   5365 if ac_fn_c_try_compile "$LINENO"
   5366 then :
   5367   xorg_cv_cc_flag_unused_command_line_argument=yes
   5368 else case e in #(
   5369   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5370 esac
   5371 fi
   5372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5373 esac
   5374 fi
   5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5376 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5378 	CFLAGS="$xorg_testset_save_CFLAGS"
   5379 fi
   5380 
   5381 found="no"
   5382 
   5383 	if test $found = "no" ; then
   5384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5386 		fi
   5387 
   5388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5390 		fi
   5391 
   5392 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5393 
   5394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5395 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5396 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5397 		if eval test \${$cacheid+y}
   5398 then :
   5399   printf %s "(cached) " >&6
   5400 else case e in #(
   5401   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5402 /* end confdefs.h.  */
   5403 int i;
   5404 int
   5405 main (void)
   5406 {
   5407 
   5408   ;
   5409   return 0;
   5410 }
   5411 _ACEOF
   5412 if ac_fn_c_try_link "$LINENO"
   5413 then :
   5414   eval $cacheid=yes
   5415 else case e in #(
   5416   e) eval $cacheid=no ;;
   5417 esac
   5418 fi
   5419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5420     conftest$ac_exeext conftest.$ac_ext ;;
   5421 esac
   5422 fi
   5423 
   5424 
   5425 		CFLAGS="$xorg_testset_save_CFLAGS"
   5426 
   5427 		eval supported=\$$cacheid
   5428 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5429 printf "%s\n" "$supported" >&6; }
   5430 		if test "$supported" = "yes" ; then
   5431 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5432 			found="yes"
   5433 		fi
   5434 	fi
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 xorg_testset_save_CFLAGS="$CFLAGS"
   5451 
   5452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5455 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5456 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5457 then :
   5458   printf %s "(cached) " >&6
   5459 else case e in #(
   5460   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5461 /* end confdefs.h.  */
   5462 int i;
   5463 _ACEOF
   5464 if ac_fn_c_try_compile "$LINENO"
   5465 then :
   5466   xorg_cv_cc_flag_unknown_warning_option=yes
   5467 else case e in #(
   5468   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5469 esac
   5470 fi
   5471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5472 esac
   5473 fi
   5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5475 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5476 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5477 	CFLAGS="$xorg_testset_save_CFLAGS"
   5478 fi
   5479 
   5480 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5481 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5482 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5483 	fi
   5484 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5485 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5486 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5487 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5488 then :
   5489   printf %s "(cached) " >&6
   5490 else case e in #(
   5491   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5492 /* end confdefs.h.  */
   5493 int i;
   5494 _ACEOF
   5495 if ac_fn_c_try_compile "$LINENO"
   5496 then :
   5497   xorg_cv_cc_flag_unused_command_line_argument=yes
   5498 else case e in #(
   5499   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5500 esac
   5501 fi
   5502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5503 esac
   5504 fi
   5505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5506 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5507 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5508 	CFLAGS="$xorg_testset_save_CFLAGS"
   5509 fi
   5510 
   5511 found="no"
   5512 
   5513 	if test $found = "no" ; then
   5514 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5516 		fi
   5517 
   5518 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5520 		fi
   5521 
   5522 		CFLAGS="$CFLAGS -Wformat=2"
   5523 
   5524 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5525 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5526 		cacheid=xorg_cv_cc_flag__Wformat_2
   5527 		if eval test \${$cacheid+y}
   5528 then :
   5529   printf %s "(cached) " >&6
   5530 else case e in #(
   5531   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5532 /* end confdefs.h.  */
   5533 int i;
   5534 int
   5535 main (void)
   5536 {
   5537 
   5538   ;
   5539   return 0;
   5540 }
   5541 _ACEOF
   5542 if ac_fn_c_try_link "$LINENO"
   5543 then :
   5544   eval $cacheid=yes
   5545 else case e in #(
   5546   e) eval $cacheid=no ;;
   5547 esac
   5548 fi
   5549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5550     conftest$ac_exeext conftest.$ac_ext ;;
   5551 esac
   5552 fi
   5553 
   5554 
   5555 		CFLAGS="$xorg_testset_save_CFLAGS"
   5556 
   5557 		eval supported=\$$cacheid
   5558 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5559 printf "%s\n" "$supported" >&6; }
   5560 		if test "$supported" = "yes" ; then
   5561 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5562 			found="yes"
   5563 		fi
   5564 	fi
   5565 
   5566 	if test $found = "no" ; then
   5567 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5568 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5569 		fi
   5570 
   5571 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5572 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5573 		fi
   5574 
   5575 		CFLAGS="$CFLAGS -Wformat"
   5576 
   5577 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5578 printf %s "checking if $CC supports -Wformat... " >&6; }
   5579 		cacheid=xorg_cv_cc_flag__Wformat
   5580 		if eval test \${$cacheid+y}
   5581 then :
   5582   printf %s "(cached) " >&6
   5583 else case e in #(
   5584   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5585 /* end confdefs.h.  */
   5586 int i;
   5587 int
   5588 main (void)
   5589 {
   5590 
   5591   ;
   5592   return 0;
   5593 }
   5594 _ACEOF
   5595 if ac_fn_c_try_link "$LINENO"
   5596 then :
   5597   eval $cacheid=yes
   5598 else case e in #(
   5599   e) eval $cacheid=no ;;
   5600 esac
   5601 fi
   5602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5603     conftest$ac_exeext conftest.$ac_ext ;;
   5604 esac
   5605 fi
   5606 
   5607 
   5608 		CFLAGS="$xorg_testset_save_CFLAGS"
   5609 
   5610 		eval supported=\$$cacheid
   5611 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5612 printf "%s\n" "$supported" >&6; }
   5613 		if test "$supported" = "yes" ; then
   5614 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5615 			found="yes"
   5616 		fi
   5617 	fi
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 xorg_testset_save_CFLAGS="$CFLAGS"
   5636 
   5637 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5638 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5639 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5640 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5641 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5642 then :
   5643   printf %s "(cached) " >&6
   5644 else case e in #(
   5645   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5646 /* end confdefs.h.  */
   5647 int i;
   5648 _ACEOF
   5649 if ac_fn_c_try_compile "$LINENO"
   5650 then :
   5651   xorg_cv_cc_flag_unknown_warning_option=yes
   5652 else case e in #(
   5653   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5654 esac
   5655 fi
   5656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5657 esac
   5658 fi
   5659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5660 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5661 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5662 	CFLAGS="$xorg_testset_save_CFLAGS"
   5663 fi
   5664 
   5665 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5666 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5667 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5668 	fi
   5669 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5670 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5671 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5672 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5673 then :
   5674   printf %s "(cached) " >&6
   5675 else case e in #(
   5676   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5677 /* end confdefs.h.  */
   5678 int i;
   5679 _ACEOF
   5680 if ac_fn_c_try_compile "$LINENO"
   5681 then :
   5682   xorg_cv_cc_flag_unused_command_line_argument=yes
   5683 else case e in #(
   5684   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5685 esac
   5686 fi
   5687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5688 esac
   5689 fi
   5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5691 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5692 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5693 	CFLAGS="$xorg_testset_save_CFLAGS"
   5694 fi
   5695 
   5696 found="no"
   5697 
   5698 	if test $found = "no" ; then
   5699 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5701 		fi
   5702 
   5703 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5705 		fi
   5706 
   5707 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5708 
   5709 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5710 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5711 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5712 		if eval test \${$cacheid+y}
   5713 then :
   5714   printf %s "(cached) " >&6
   5715 else case e in #(
   5716   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5717 /* end confdefs.h.  */
   5718 int i;
   5719 int
   5720 main (void)
   5721 {
   5722 
   5723   ;
   5724   return 0;
   5725 }
   5726 _ACEOF
   5727 if ac_fn_c_try_link "$LINENO"
   5728 then :
   5729   eval $cacheid=yes
   5730 else case e in #(
   5731   e) eval $cacheid=no ;;
   5732 esac
   5733 fi
   5734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5735     conftest$ac_exeext conftest.$ac_ext ;;
   5736 esac
   5737 fi
   5738 
   5739 
   5740 		CFLAGS="$xorg_testset_save_CFLAGS"
   5741 
   5742 		eval supported=\$$cacheid
   5743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5744 printf "%s\n" "$supported" >&6; }
   5745 		if test "$supported" = "yes" ; then
   5746 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5747 			found="yes"
   5748 		fi
   5749 	fi
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 xorg_testset_save_CFLAGS="$CFLAGS"
   5766 
   5767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5769 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5770 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5771 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5772 then :
   5773   printf %s "(cached) " >&6
   5774 else case e in #(
   5775   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5776 /* end confdefs.h.  */
   5777 int i;
   5778 _ACEOF
   5779 if ac_fn_c_try_compile "$LINENO"
   5780 then :
   5781   xorg_cv_cc_flag_unknown_warning_option=yes
   5782 else case e in #(
   5783   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5784 esac
   5785 fi
   5786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5787 esac
   5788 fi
   5789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5790 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5792 	CFLAGS="$xorg_testset_save_CFLAGS"
   5793 fi
   5794 
   5795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5798 	fi
   5799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5800 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5801 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5802 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5803 then :
   5804   printf %s "(cached) " >&6
   5805 else case e in #(
   5806   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5807 /* end confdefs.h.  */
   5808 int i;
   5809 _ACEOF
   5810 if ac_fn_c_try_compile "$LINENO"
   5811 then :
   5812   xorg_cv_cc_flag_unused_command_line_argument=yes
   5813 else case e in #(
   5814   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5815 esac
   5816 fi
   5817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5818 esac
   5819 fi
   5820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5821 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5823 	CFLAGS="$xorg_testset_save_CFLAGS"
   5824 fi
   5825 
   5826 found="no"
   5827 
   5828 	if test $found = "no" ; then
   5829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5831 		fi
   5832 
   5833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5835 		fi
   5836 
   5837 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5838 
   5839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5840 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5841 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5842 		if eval test \${$cacheid+y}
   5843 then :
   5844   printf %s "(cached) " >&6
   5845 else case e in #(
   5846   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5847 /* end confdefs.h.  */
   5848 int i;
   5849 int
   5850 main (void)
   5851 {
   5852 
   5853   ;
   5854   return 0;
   5855 }
   5856 _ACEOF
   5857 if ac_fn_c_try_link "$LINENO"
   5858 then :
   5859   eval $cacheid=yes
   5860 else case e in #(
   5861   e) eval $cacheid=no ;;
   5862 esac
   5863 fi
   5864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5865     conftest$ac_exeext conftest.$ac_ext ;;
   5866 esac
   5867 fi
   5868 
   5869 
   5870 		CFLAGS="$xorg_testset_save_CFLAGS"
   5871 
   5872 		eval supported=\$$cacheid
   5873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5874 printf "%s\n" "$supported" >&6; }
   5875 		if test "$supported" = "yes" ; then
   5876 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5877 			found="yes"
   5878 		fi
   5879 	fi
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 xorg_testset_save_CFLAGS="$CFLAGS"
   5896 
   5897 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5898 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5899 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5900 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5901 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5902 then :
   5903   printf %s "(cached) " >&6
   5904 else case e in #(
   5905   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5906 /* end confdefs.h.  */
   5907 int i;
   5908 _ACEOF
   5909 if ac_fn_c_try_compile "$LINENO"
   5910 then :
   5911   xorg_cv_cc_flag_unknown_warning_option=yes
   5912 else case e in #(
   5913   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5914 esac
   5915 fi
   5916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5917 esac
   5918 fi
   5919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5920 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5922 	CFLAGS="$xorg_testset_save_CFLAGS"
   5923 fi
   5924 
   5925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5928 	fi
   5929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5930 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5931 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5932 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5933 then :
   5934   printf %s "(cached) " >&6
   5935 else case e in #(
   5936   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5937 /* end confdefs.h.  */
   5938 int i;
   5939 _ACEOF
   5940 if ac_fn_c_try_compile "$LINENO"
   5941 then :
   5942   xorg_cv_cc_flag_unused_command_line_argument=yes
   5943 else case e in #(
   5944   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5945 esac
   5946 fi
   5947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5948 esac
   5949 fi
   5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5951 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5953 	CFLAGS="$xorg_testset_save_CFLAGS"
   5954 fi
   5955 
   5956 found="no"
   5957 
   5958 	if test $found = "no" ; then
   5959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5961 		fi
   5962 
   5963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5965 		fi
   5966 
   5967 		CFLAGS="$CFLAGS -Wnested-externs"
   5968 
   5969 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5970 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5971 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5972 		if eval test \${$cacheid+y}
   5973 then :
   5974   printf %s "(cached) " >&6
   5975 else case e in #(
   5976   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5977 /* end confdefs.h.  */
   5978 int i;
   5979 int
   5980 main (void)
   5981 {
   5982 
   5983   ;
   5984   return 0;
   5985 }
   5986 _ACEOF
   5987 if ac_fn_c_try_link "$LINENO"
   5988 then :
   5989   eval $cacheid=yes
   5990 else case e in #(
   5991   e) eval $cacheid=no ;;
   5992 esac
   5993 fi
   5994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5995     conftest$ac_exeext conftest.$ac_ext ;;
   5996 esac
   5997 fi
   5998 
   5999 
   6000 		CFLAGS="$xorg_testset_save_CFLAGS"
   6001 
   6002 		eval supported=\$$cacheid
   6003 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6004 printf "%s\n" "$supported" >&6; }
   6005 		if test "$supported" = "yes" ; then
   6006 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6007 			found="yes"
   6008 		fi
   6009 	fi
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 xorg_testset_save_CFLAGS="$CFLAGS"
   6026 
   6027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6029 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6030 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6031 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6032 then :
   6033   printf %s "(cached) " >&6
   6034 else case e in #(
   6035   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6036 /* end confdefs.h.  */
   6037 int i;
   6038 _ACEOF
   6039 if ac_fn_c_try_compile "$LINENO"
   6040 then :
   6041   xorg_cv_cc_flag_unknown_warning_option=yes
   6042 else case e in #(
   6043   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6044 esac
   6045 fi
   6046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6047 esac
   6048 fi
   6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6050 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6052 	CFLAGS="$xorg_testset_save_CFLAGS"
   6053 fi
   6054 
   6055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6058 	fi
   6059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6060 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6061 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6062 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6063 then :
   6064   printf %s "(cached) " >&6
   6065 else case e in #(
   6066   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6067 /* end confdefs.h.  */
   6068 int i;
   6069 _ACEOF
   6070 if ac_fn_c_try_compile "$LINENO"
   6071 then :
   6072   xorg_cv_cc_flag_unused_command_line_argument=yes
   6073 else case e in #(
   6074   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6075 esac
   6076 fi
   6077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6078 esac
   6079 fi
   6080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6081 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6082 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6083 	CFLAGS="$xorg_testset_save_CFLAGS"
   6084 fi
   6085 
   6086 found="no"
   6087 
   6088 	if test $found = "no" ; then
   6089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6091 		fi
   6092 
   6093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6095 		fi
   6096 
   6097 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6098 
   6099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6100 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6101 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6102 		if eval test \${$cacheid+y}
   6103 then :
   6104   printf %s "(cached) " >&6
   6105 else case e in #(
   6106   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6107 /* end confdefs.h.  */
   6108 int i;
   6109 int
   6110 main (void)
   6111 {
   6112 
   6113   ;
   6114   return 0;
   6115 }
   6116 _ACEOF
   6117 if ac_fn_c_try_link "$LINENO"
   6118 then :
   6119   eval $cacheid=yes
   6120 else case e in #(
   6121   e) eval $cacheid=no ;;
   6122 esac
   6123 fi
   6124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6125     conftest$ac_exeext conftest.$ac_ext ;;
   6126 esac
   6127 fi
   6128 
   6129 
   6130 		CFLAGS="$xorg_testset_save_CFLAGS"
   6131 
   6132 		eval supported=\$$cacheid
   6133 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6134 printf "%s\n" "$supported" >&6; }
   6135 		if test "$supported" = "yes" ; then
   6136 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6137 			found="yes"
   6138 		fi
   6139 	fi
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 xorg_testset_save_CFLAGS="$CFLAGS"
   6156 
   6157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6159 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6160 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6161 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6162 then :
   6163   printf %s "(cached) " >&6
   6164 else case e in #(
   6165   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6166 /* end confdefs.h.  */
   6167 int i;
   6168 _ACEOF
   6169 if ac_fn_c_try_compile "$LINENO"
   6170 then :
   6171   xorg_cv_cc_flag_unknown_warning_option=yes
   6172 else case e in #(
   6173   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6174 esac
   6175 fi
   6176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6177 esac
   6178 fi
   6179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6180 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6182 	CFLAGS="$xorg_testset_save_CFLAGS"
   6183 fi
   6184 
   6185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6188 	fi
   6189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6190 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6191 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6192 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6193 then :
   6194   printf %s "(cached) " >&6
   6195 else case e in #(
   6196   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6197 /* end confdefs.h.  */
   6198 int i;
   6199 _ACEOF
   6200 if ac_fn_c_try_compile "$LINENO"
   6201 then :
   6202   xorg_cv_cc_flag_unused_command_line_argument=yes
   6203 else case e in #(
   6204   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6205 esac
   6206 fi
   6207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6208 esac
   6209 fi
   6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6211 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6212 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6213 	CFLAGS="$xorg_testset_save_CFLAGS"
   6214 fi
   6215 
   6216 found="no"
   6217 
   6218 	if test $found = "no" ; then
   6219 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6221 		fi
   6222 
   6223 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6225 		fi
   6226 
   6227 		CFLAGS="$CFLAGS -Wold-style-definition"
   6228 
   6229 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6230 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6231 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6232 		if eval test \${$cacheid+y}
   6233 then :
   6234   printf %s "(cached) " >&6
   6235 else case e in #(
   6236   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6237 /* end confdefs.h.  */
   6238 int i;
   6239 int
   6240 main (void)
   6241 {
   6242 
   6243   ;
   6244   return 0;
   6245 }
   6246 _ACEOF
   6247 if ac_fn_c_try_link "$LINENO"
   6248 then :
   6249   eval $cacheid=yes
   6250 else case e in #(
   6251   e) eval $cacheid=no ;;
   6252 esac
   6253 fi
   6254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6255     conftest$ac_exeext conftest.$ac_ext ;;
   6256 esac
   6257 fi
   6258 
   6259 
   6260 		CFLAGS="$xorg_testset_save_CFLAGS"
   6261 
   6262 		eval supported=\$$cacheid
   6263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6264 printf "%s\n" "$supported" >&6; }
   6265 		if test "$supported" = "yes" ; then
   6266 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6267 			found="yes"
   6268 		fi
   6269 	fi
   6270 
   6271 	if test $found = "no" ; then
   6272 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6273 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6274 		fi
   6275 
   6276 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6277 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6278 		fi
   6279 
   6280 		CFLAGS="$CFLAGS -fd"
   6281 
   6282 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6283 printf %s "checking if $CC supports -fd... " >&6; }
   6284 		cacheid=xorg_cv_cc_flag__fd
   6285 		if eval test \${$cacheid+y}
   6286 then :
   6287   printf %s "(cached) " >&6
   6288 else case e in #(
   6289   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6290 /* end confdefs.h.  */
   6291 int i;
   6292 int
   6293 main (void)
   6294 {
   6295 
   6296   ;
   6297   return 0;
   6298 }
   6299 _ACEOF
   6300 if ac_fn_c_try_link "$LINENO"
   6301 then :
   6302   eval $cacheid=yes
   6303 else case e in #(
   6304   e) eval $cacheid=no ;;
   6305 esac
   6306 fi
   6307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6308     conftest$ac_exeext conftest.$ac_ext ;;
   6309 esac
   6310 fi
   6311 
   6312 
   6313 		CFLAGS="$xorg_testset_save_CFLAGS"
   6314 
   6315 		eval supported=\$$cacheid
   6316 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6317 printf "%s\n" "$supported" >&6; }
   6318 		if test "$supported" = "yes" ; then
   6319 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6320 			found="yes"
   6321 		fi
   6322 	fi
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 xorg_testset_save_CFLAGS="$CFLAGS"
   6339 
   6340 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6341 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6342 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6343 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6344 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6345 then :
   6346   printf %s "(cached) " >&6
   6347 else case e in #(
   6348   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6349 /* end confdefs.h.  */
   6350 int i;
   6351 _ACEOF
   6352 if ac_fn_c_try_compile "$LINENO"
   6353 then :
   6354   xorg_cv_cc_flag_unknown_warning_option=yes
   6355 else case e in #(
   6356   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6357 esac
   6358 fi
   6359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6360 esac
   6361 fi
   6362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6363 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6364 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6365 	CFLAGS="$xorg_testset_save_CFLAGS"
   6366 fi
   6367 
   6368 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6369 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6370 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6371 	fi
   6372 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6374 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6375 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6376 then :
   6377   printf %s "(cached) " >&6
   6378 else case e in #(
   6379   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6380 /* end confdefs.h.  */
   6381 int i;
   6382 _ACEOF
   6383 if ac_fn_c_try_compile "$LINENO"
   6384 then :
   6385   xorg_cv_cc_flag_unused_command_line_argument=yes
   6386 else case e in #(
   6387   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6388 esac
   6389 fi
   6390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6391 esac
   6392 fi
   6393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6394 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6395 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6396 	CFLAGS="$xorg_testset_save_CFLAGS"
   6397 fi
   6398 
   6399 found="no"
   6400 
   6401 	if test $found = "no" ; then
   6402 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6403 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6404 		fi
   6405 
   6406 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6407 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6408 		fi
   6409 
   6410 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6411 
   6412 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6413 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6414 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6415 		if eval test \${$cacheid+y}
   6416 then :
   6417   printf %s "(cached) " >&6
   6418 else case e in #(
   6419   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6420 /* end confdefs.h.  */
   6421 int i;
   6422 int
   6423 main (void)
   6424 {
   6425 
   6426   ;
   6427   return 0;
   6428 }
   6429 _ACEOF
   6430 if ac_fn_c_try_link "$LINENO"
   6431 then :
   6432   eval $cacheid=yes
   6433 else case e in #(
   6434   e) eval $cacheid=no ;;
   6435 esac
   6436 fi
   6437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6438     conftest$ac_exeext conftest.$ac_ext ;;
   6439 esac
   6440 fi
   6441 
   6442 
   6443 		CFLAGS="$xorg_testset_save_CFLAGS"
   6444 
   6445 		eval supported=\$$cacheid
   6446 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6447 printf "%s\n" "$supported" >&6; }
   6448 		if test "$supported" = "yes" ; then
   6449 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6450 			found="yes"
   6451 		fi
   6452 	fi
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 # This chunk adds additional warnings that could catch undesired effects.
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 xorg_testset_save_CFLAGS="$CFLAGS"
   6473 
   6474 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6475 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6476 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6477 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6478 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6479 then :
   6480   printf %s "(cached) " >&6
   6481 else case e in #(
   6482   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6483 /* end confdefs.h.  */
   6484 int i;
   6485 _ACEOF
   6486 if ac_fn_c_try_compile "$LINENO"
   6487 then :
   6488   xorg_cv_cc_flag_unknown_warning_option=yes
   6489 else case e in #(
   6490   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6491 esac
   6492 fi
   6493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6494 esac
   6495 fi
   6496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6497 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6498 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6499 	CFLAGS="$xorg_testset_save_CFLAGS"
   6500 fi
   6501 
   6502 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6503 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6504 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6505 	fi
   6506 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6507 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6508 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6509 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6510 then :
   6511   printf %s "(cached) " >&6
   6512 else case e in #(
   6513   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6514 /* end confdefs.h.  */
   6515 int i;
   6516 _ACEOF
   6517 if ac_fn_c_try_compile "$LINENO"
   6518 then :
   6519   xorg_cv_cc_flag_unused_command_line_argument=yes
   6520 else case e in #(
   6521   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6522 esac
   6523 fi
   6524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6525 esac
   6526 fi
   6527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6528 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6529 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6530 	CFLAGS="$xorg_testset_save_CFLAGS"
   6531 fi
   6532 
   6533 found="no"
   6534 
   6535 	if test $found = "no" ; then
   6536 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6537 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6538 		fi
   6539 
   6540 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6541 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6542 		fi
   6543 
   6544 		CFLAGS="$CFLAGS -Wunused"
   6545 
   6546 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6547 printf %s "checking if $CC supports -Wunused... " >&6; }
   6548 		cacheid=xorg_cv_cc_flag__Wunused
   6549 		if eval test \${$cacheid+y}
   6550 then :
   6551   printf %s "(cached) " >&6
   6552 else case e in #(
   6553   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6554 /* end confdefs.h.  */
   6555 int i;
   6556 int
   6557 main (void)
   6558 {
   6559 
   6560   ;
   6561   return 0;
   6562 }
   6563 _ACEOF
   6564 if ac_fn_c_try_link "$LINENO"
   6565 then :
   6566   eval $cacheid=yes
   6567 else case e in #(
   6568   e) eval $cacheid=no ;;
   6569 esac
   6570 fi
   6571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6572     conftest$ac_exeext conftest.$ac_ext ;;
   6573 esac
   6574 fi
   6575 
   6576 
   6577 		CFLAGS="$xorg_testset_save_CFLAGS"
   6578 
   6579 		eval supported=\$$cacheid
   6580 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6581 printf "%s\n" "$supported" >&6; }
   6582 		if test "$supported" = "yes" ; then
   6583 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6584 			found="yes"
   6585 		fi
   6586 	fi
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 xorg_testset_save_CFLAGS="$CFLAGS"
   6603 
   6604 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6605 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6606 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6607 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6608 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6609 then :
   6610   printf %s "(cached) " >&6
   6611 else case e in #(
   6612   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6613 /* end confdefs.h.  */
   6614 int i;
   6615 _ACEOF
   6616 if ac_fn_c_try_compile "$LINENO"
   6617 then :
   6618   xorg_cv_cc_flag_unknown_warning_option=yes
   6619 else case e in #(
   6620   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6621 esac
   6622 fi
   6623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6624 esac
   6625 fi
   6626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6627 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6628 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6629 	CFLAGS="$xorg_testset_save_CFLAGS"
   6630 fi
   6631 
   6632 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6633 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6634 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6635 	fi
   6636 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6637 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6638 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6639 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6640 then :
   6641   printf %s "(cached) " >&6
   6642 else case e in #(
   6643   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6644 /* end confdefs.h.  */
   6645 int i;
   6646 _ACEOF
   6647 if ac_fn_c_try_compile "$LINENO"
   6648 then :
   6649   xorg_cv_cc_flag_unused_command_line_argument=yes
   6650 else case e in #(
   6651   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6652 esac
   6653 fi
   6654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6655 esac
   6656 fi
   6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6658 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6659 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6660 	CFLAGS="$xorg_testset_save_CFLAGS"
   6661 fi
   6662 
   6663 found="no"
   6664 
   6665 	if test $found = "no" ; then
   6666 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6667 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6668 		fi
   6669 
   6670 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6671 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6672 		fi
   6673 
   6674 		CFLAGS="$CFLAGS -Wuninitialized"
   6675 
   6676 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6677 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6678 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6679 		if eval test \${$cacheid+y}
   6680 then :
   6681   printf %s "(cached) " >&6
   6682 else case e in #(
   6683   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6684 /* end confdefs.h.  */
   6685 int i;
   6686 int
   6687 main (void)
   6688 {
   6689 
   6690   ;
   6691   return 0;
   6692 }
   6693 _ACEOF
   6694 if ac_fn_c_try_link "$LINENO"
   6695 then :
   6696   eval $cacheid=yes
   6697 else case e in #(
   6698   e) eval $cacheid=no ;;
   6699 esac
   6700 fi
   6701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6702     conftest$ac_exeext conftest.$ac_ext ;;
   6703 esac
   6704 fi
   6705 
   6706 
   6707 		CFLAGS="$xorg_testset_save_CFLAGS"
   6708 
   6709 		eval supported=\$$cacheid
   6710 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6711 printf "%s\n" "$supported" >&6; }
   6712 		if test "$supported" = "yes" ; then
   6713 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6714 			found="yes"
   6715 		fi
   6716 	fi
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 xorg_testset_save_CFLAGS="$CFLAGS"
   6733 
   6734 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6736 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6737 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6738 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6739 then :
   6740   printf %s "(cached) " >&6
   6741 else case e in #(
   6742   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6743 /* end confdefs.h.  */
   6744 int i;
   6745 _ACEOF
   6746 if ac_fn_c_try_compile "$LINENO"
   6747 then :
   6748   xorg_cv_cc_flag_unknown_warning_option=yes
   6749 else case e in #(
   6750   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6751 esac
   6752 fi
   6753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6754 esac
   6755 fi
   6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6757 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6758 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6759 	CFLAGS="$xorg_testset_save_CFLAGS"
   6760 fi
   6761 
   6762 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6763 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6765 	fi
   6766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6767 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6768 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6769 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6770 then :
   6771   printf %s "(cached) " >&6
   6772 else case e in #(
   6773   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6774 /* end confdefs.h.  */
   6775 int i;
   6776 _ACEOF
   6777 if ac_fn_c_try_compile "$LINENO"
   6778 then :
   6779   xorg_cv_cc_flag_unused_command_line_argument=yes
   6780 else case e in #(
   6781   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6782 esac
   6783 fi
   6784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6785 esac
   6786 fi
   6787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6788 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6790 	CFLAGS="$xorg_testset_save_CFLAGS"
   6791 fi
   6792 
   6793 found="no"
   6794 
   6795 	if test $found = "no" ; then
   6796 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6798 		fi
   6799 
   6800 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6802 		fi
   6803 
   6804 		CFLAGS="$CFLAGS -Wshadow"
   6805 
   6806 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6807 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6808 		cacheid=xorg_cv_cc_flag__Wshadow
   6809 		if eval test \${$cacheid+y}
   6810 then :
   6811   printf %s "(cached) " >&6
   6812 else case e in #(
   6813   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6814 /* end confdefs.h.  */
   6815 int i;
   6816 int
   6817 main (void)
   6818 {
   6819 
   6820   ;
   6821   return 0;
   6822 }
   6823 _ACEOF
   6824 if ac_fn_c_try_link "$LINENO"
   6825 then :
   6826   eval $cacheid=yes
   6827 else case e in #(
   6828   e) eval $cacheid=no ;;
   6829 esac
   6830 fi
   6831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6832     conftest$ac_exeext conftest.$ac_ext ;;
   6833 esac
   6834 fi
   6835 
   6836 
   6837 		CFLAGS="$xorg_testset_save_CFLAGS"
   6838 
   6839 		eval supported=\$$cacheid
   6840 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6841 printf "%s\n" "$supported" >&6; }
   6842 		if test "$supported" = "yes" ; then
   6843 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6844 			found="yes"
   6845 		fi
   6846 	fi
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 xorg_testset_save_CFLAGS="$CFLAGS"
   6863 
   6864 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6865 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6866 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6867 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6868 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6869 then :
   6870   printf %s "(cached) " >&6
   6871 else case e in #(
   6872   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6873 /* end confdefs.h.  */
   6874 int i;
   6875 _ACEOF
   6876 if ac_fn_c_try_compile "$LINENO"
   6877 then :
   6878   xorg_cv_cc_flag_unknown_warning_option=yes
   6879 else case e in #(
   6880   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6881 esac
   6882 fi
   6883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6884 esac
   6885 fi
   6886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6887 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6888 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6889 	CFLAGS="$xorg_testset_save_CFLAGS"
   6890 fi
   6891 
   6892 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6893 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6894 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6895 	fi
   6896 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6897 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6898 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6899 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6900 then :
   6901   printf %s "(cached) " >&6
   6902 else case e in #(
   6903   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6904 /* end confdefs.h.  */
   6905 int i;
   6906 _ACEOF
   6907 if ac_fn_c_try_compile "$LINENO"
   6908 then :
   6909   xorg_cv_cc_flag_unused_command_line_argument=yes
   6910 else case e in #(
   6911   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6912 esac
   6913 fi
   6914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6915 esac
   6916 fi
   6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6918 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6919 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6920 	CFLAGS="$xorg_testset_save_CFLAGS"
   6921 fi
   6922 
   6923 found="no"
   6924 
   6925 	if test $found = "no" ; then
   6926 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6927 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6928 		fi
   6929 
   6930 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6931 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6932 		fi
   6933 
   6934 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6935 
   6936 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6937 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6938 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6939 		if eval test \${$cacheid+y}
   6940 then :
   6941   printf %s "(cached) " >&6
   6942 else case e in #(
   6943   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6944 /* end confdefs.h.  */
   6945 int i;
   6946 int
   6947 main (void)
   6948 {
   6949 
   6950   ;
   6951   return 0;
   6952 }
   6953 _ACEOF
   6954 if ac_fn_c_try_link "$LINENO"
   6955 then :
   6956   eval $cacheid=yes
   6957 else case e in #(
   6958   e) eval $cacheid=no ;;
   6959 esac
   6960 fi
   6961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6962     conftest$ac_exeext conftest.$ac_ext ;;
   6963 esac
   6964 fi
   6965 
   6966 
   6967 		CFLAGS="$xorg_testset_save_CFLAGS"
   6968 
   6969 		eval supported=\$$cacheid
   6970 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6971 printf "%s\n" "$supported" >&6; }
   6972 		if test "$supported" = "yes" ; then
   6973 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6974 			found="yes"
   6975 		fi
   6976 	fi
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 xorg_testset_save_CFLAGS="$CFLAGS"
   6993 
   6994 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6995 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6996 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6997 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6998 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6999 then :
   7000   printf %s "(cached) " >&6
   7001 else case e in #(
   7002   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7003 /* end confdefs.h.  */
   7004 int i;
   7005 _ACEOF
   7006 if ac_fn_c_try_compile "$LINENO"
   7007 then :
   7008   xorg_cv_cc_flag_unknown_warning_option=yes
   7009 else case e in #(
   7010   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7011 esac
   7012 fi
   7013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7014 esac
   7015 fi
   7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7017 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7018 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7019 	CFLAGS="$xorg_testset_save_CFLAGS"
   7020 fi
   7021 
   7022 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7023 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7024 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7025 	fi
   7026 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7027 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7028 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7029 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7030 then :
   7031   printf %s "(cached) " >&6
   7032 else case e in #(
   7033   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7034 /* end confdefs.h.  */
   7035 int i;
   7036 _ACEOF
   7037 if ac_fn_c_try_compile "$LINENO"
   7038 then :
   7039   xorg_cv_cc_flag_unused_command_line_argument=yes
   7040 else case e in #(
   7041   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7042 esac
   7043 fi
   7044 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7045 esac
   7046 fi
   7047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7048 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7049 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7050 	CFLAGS="$xorg_testset_save_CFLAGS"
   7051 fi
   7052 
   7053 found="no"
   7054 
   7055 	if test $found = "no" ; then
   7056 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7057 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7058 		fi
   7059 
   7060 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7061 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7062 		fi
   7063 
   7064 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7065 
   7066 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7067 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7068 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7069 		if eval test \${$cacheid+y}
   7070 then :
   7071   printf %s "(cached) " >&6
   7072 else case e in #(
   7073   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7074 /* end confdefs.h.  */
   7075 int i;
   7076 int
   7077 main (void)
   7078 {
   7079 
   7080   ;
   7081   return 0;
   7082 }
   7083 _ACEOF
   7084 if ac_fn_c_try_link "$LINENO"
   7085 then :
   7086   eval $cacheid=yes
   7087 else case e in #(
   7088   e) eval $cacheid=no ;;
   7089 esac
   7090 fi
   7091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7092     conftest$ac_exeext conftest.$ac_ext ;;
   7093 esac
   7094 fi
   7095 
   7096 
   7097 		CFLAGS="$xorg_testset_save_CFLAGS"
   7098 
   7099 		eval supported=\$$cacheid
   7100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7101 printf "%s\n" "$supported" >&6; }
   7102 		if test "$supported" = "yes" ; then
   7103 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7104 			found="yes"
   7105 		fi
   7106 	fi
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 xorg_testset_save_CFLAGS="$CFLAGS"
   7123 
   7124 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7125 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7126 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7127 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7128 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7129 then :
   7130   printf %s "(cached) " >&6
   7131 else case e in #(
   7132   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7133 /* end confdefs.h.  */
   7134 int i;
   7135 _ACEOF
   7136 if ac_fn_c_try_compile "$LINENO"
   7137 then :
   7138   xorg_cv_cc_flag_unknown_warning_option=yes
   7139 else case e in #(
   7140   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7141 esac
   7142 fi
   7143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7144 esac
   7145 fi
   7146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7147 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7149 	CFLAGS="$xorg_testset_save_CFLAGS"
   7150 fi
   7151 
   7152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7155 	fi
   7156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7157 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7158 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7159 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7160 then :
   7161   printf %s "(cached) " >&6
   7162 else case e in #(
   7163   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7164 /* end confdefs.h.  */
   7165 int i;
   7166 _ACEOF
   7167 if ac_fn_c_try_compile "$LINENO"
   7168 then :
   7169   xorg_cv_cc_flag_unused_command_line_argument=yes
   7170 else case e in #(
   7171   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7172 esac
   7173 fi
   7174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7175 esac
   7176 fi
   7177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7178 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7179 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7180 	CFLAGS="$xorg_testset_save_CFLAGS"
   7181 fi
   7182 
   7183 found="no"
   7184 
   7185 	if test $found = "no" ; then
   7186 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7188 		fi
   7189 
   7190 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7192 		fi
   7193 
   7194 		CFLAGS="$CFLAGS -Wredundant-decls"
   7195 
   7196 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7197 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7198 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7199 		if eval test \${$cacheid+y}
   7200 then :
   7201   printf %s "(cached) " >&6
   7202 else case e in #(
   7203   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7204 /* end confdefs.h.  */
   7205 int i;
   7206 int
   7207 main (void)
   7208 {
   7209 
   7210   ;
   7211   return 0;
   7212 }
   7213 _ACEOF
   7214 if ac_fn_c_try_link "$LINENO"
   7215 then :
   7216   eval $cacheid=yes
   7217 else case e in #(
   7218   e) eval $cacheid=no ;;
   7219 esac
   7220 fi
   7221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7222     conftest$ac_exeext conftest.$ac_ext ;;
   7223 esac
   7224 fi
   7225 
   7226 
   7227 		CFLAGS="$xorg_testset_save_CFLAGS"
   7228 
   7229 		eval supported=\$$cacheid
   7230 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7231 printf "%s\n" "$supported" >&6; }
   7232 		if test "$supported" = "yes" ; then
   7233 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7234 			found="yes"
   7235 		fi
   7236 	fi
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 
   7252 xorg_testset_save_CFLAGS="$CFLAGS"
   7253 
   7254 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7255 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7256 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7257 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7258 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7259 then :
   7260   printf %s "(cached) " >&6
   7261 else case e in #(
   7262   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7263 /* end confdefs.h.  */
   7264 int i;
   7265 _ACEOF
   7266 if ac_fn_c_try_compile "$LINENO"
   7267 then :
   7268   xorg_cv_cc_flag_unknown_warning_option=yes
   7269 else case e in #(
   7270   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7271 esac
   7272 fi
   7273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7274 esac
   7275 fi
   7276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7277 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7278 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7279 	CFLAGS="$xorg_testset_save_CFLAGS"
   7280 fi
   7281 
   7282 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7283 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7284 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7285 	fi
   7286 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7287 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7288 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7289 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7290 then :
   7291   printf %s "(cached) " >&6
   7292 else case e in #(
   7293   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7294 /* end confdefs.h.  */
   7295 int i;
   7296 _ACEOF
   7297 if ac_fn_c_try_compile "$LINENO"
   7298 then :
   7299   xorg_cv_cc_flag_unused_command_line_argument=yes
   7300 else case e in #(
   7301   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7302 esac
   7303 fi
   7304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7305 esac
   7306 fi
   7307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7308 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7309 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7310 	CFLAGS="$xorg_testset_save_CFLAGS"
   7311 fi
   7312 
   7313 found="no"
   7314 
   7315 	if test $found = "no" ; then
   7316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7318 		fi
   7319 
   7320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7322 		fi
   7323 
   7324 		CFLAGS="$CFLAGS -Wlogical-op"
   7325 
   7326 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7327 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7328 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7329 		if eval test \${$cacheid+y}
   7330 then :
   7331   printf %s "(cached) " >&6
   7332 else case e in #(
   7333   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7334 /* end confdefs.h.  */
   7335 int i;
   7336 int
   7337 main (void)
   7338 {
   7339 
   7340   ;
   7341   return 0;
   7342 }
   7343 _ACEOF
   7344 if ac_fn_c_try_link "$LINENO"
   7345 then :
   7346   eval $cacheid=yes
   7347 else case e in #(
   7348   e) eval $cacheid=no ;;
   7349 esac
   7350 fi
   7351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7352     conftest$ac_exeext conftest.$ac_ext ;;
   7353 esac
   7354 fi
   7355 
   7356 
   7357 		CFLAGS="$xorg_testset_save_CFLAGS"
   7358 
   7359 		eval supported=\$$cacheid
   7360 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7361 printf "%s\n" "$supported" >&6; }
   7362 		if test "$supported" = "yes" ; then
   7363 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7364 			found="yes"
   7365 		fi
   7366 	fi
   7367 
   7368 
   7369 
   7370 # These are currently disabled because they are noisy.  They will be enabled
   7371 # in the future once the codebase is sufficiently modernized to silence
   7372 # them.  For now, I don't want them to drown out the other warnings.
   7373 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7374 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7375 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7376 
   7377 # Turn some warnings into errors, so we don't accidentally get successful builds
   7378 # when there are problems that should be fixed.
   7379 
   7380 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 xorg_testset_save_CFLAGS="$CFLAGS"
   7395 
   7396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7399 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7400 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7401 then :
   7402   printf %s "(cached) " >&6
   7403 else case e in #(
   7404   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7405 /* end confdefs.h.  */
   7406 int i;
   7407 _ACEOF
   7408 if ac_fn_c_try_compile "$LINENO"
   7409 then :
   7410   xorg_cv_cc_flag_unknown_warning_option=yes
   7411 else case e in #(
   7412   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7413 esac
   7414 fi
   7415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7416 esac
   7417 fi
   7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7419 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7421 	CFLAGS="$xorg_testset_save_CFLAGS"
   7422 fi
   7423 
   7424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7427 	fi
   7428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7429 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7430 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7431 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7432 then :
   7433   printf %s "(cached) " >&6
   7434 else case e in #(
   7435   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7436 /* end confdefs.h.  */
   7437 int i;
   7438 _ACEOF
   7439 if ac_fn_c_try_compile "$LINENO"
   7440 then :
   7441   xorg_cv_cc_flag_unused_command_line_argument=yes
   7442 else case e in #(
   7443   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7444 esac
   7445 fi
   7446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7447 esac
   7448 fi
   7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7450 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7452 	CFLAGS="$xorg_testset_save_CFLAGS"
   7453 fi
   7454 
   7455 found="no"
   7456 
   7457 	if test $found = "no" ; then
   7458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7460 		fi
   7461 
   7462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7464 		fi
   7465 
   7466 		CFLAGS="$CFLAGS -Werror=implicit"
   7467 
   7468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7469 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7470 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7471 		if eval test \${$cacheid+y}
   7472 then :
   7473   printf %s "(cached) " >&6
   7474 else case e in #(
   7475   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7476 /* end confdefs.h.  */
   7477 int i;
   7478 int
   7479 main (void)
   7480 {
   7481 
   7482   ;
   7483   return 0;
   7484 }
   7485 _ACEOF
   7486 if ac_fn_c_try_link "$LINENO"
   7487 then :
   7488   eval $cacheid=yes
   7489 else case e in #(
   7490   e) eval $cacheid=no ;;
   7491 esac
   7492 fi
   7493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7494     conftest$ac_exeext conftest.$ac_ext ;;
   7495 esac
   7496 fi
   7497 
   7498 
   7499 		CFLAGS="$xorg_testset_save_CFLAGS"
   7500 
   7501 		eval supported=\$$cacheid
   7502 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7503 printf "%s\n" "$supported" >&6; }
   7504 		if test "$supported" = "yes" ; then
   7505 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7506 			found="yes"
   7507 		fi
   7508 	fi
   7509 
   7510 	if test $found = "no" ; then
   7511 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7512 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7513 		fi
   7514 
   7515 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7516 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7517 		fi
   7518 
   7519 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7520 
   7521 		{ 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
   7522 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7523 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7524 		if eval test \${$cacheid+y}
   7525 then :
   7526   printf %s "(cached) " >&6
   7527 else case e in #(
   7528   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7529 /* end confdefs.h.  */
   7530 int i;
   7531 int
   7532 main (void)
   7533 {
   7534 
   7535   ;
   7536   return 0;
   7537 }
   7538 _ACEOF
   7539 if ac_fn_c_try_link "$LINENO"
   7540 then :
   7541   eval $cacheid=yes
   7542 else case e in #(
   7543   e) eval $cacheid=no ;;
   7544 esac
   7545 fi
   7546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7547     conftest$ac_exeext conftest.$ac_ext ;;
   7548 esac
   7549 fi
   7550 
   7551 
   7552 		CFLAGS="$xorg_testset_save_CFLAGS"
   7553 
   7554 		eval supported=\$$cacheid
   7555 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7556 printf "%s\n" "$supported" >&6; }
   7557 		if test "$supported" = "yes" ; then
   7558 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7559 			found="yes"
   7560 		fi
   7561 	fi
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 xorg_testset_save_CFLAGS="$CFLAGS"
   7578 
   7579 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7580 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7582 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7583 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7584 then :
   7585   printf %s "(cached) " >&6
   7586 else case e in #(
   7587   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7588 /* end confdefs.h.  */
   7589 int i;
   7590 _ACEOF
   7591 if ac_fn_c_try_compile "$LINENO"
   7592 then :
   7593   xorg_cv_cc_flag_unknown_warning_option=yes
   7594 else case e in #(
   7595   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7596 esac
   7597 fi
   7598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7599 esac
   7600 fi
   7601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7602 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7603 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7604 	CFLAGS="$xorg_testset_save_CFLAGS"
   7605 fi
   7606 
   7607 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7608 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7609 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7610 	fi
   7611 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7613 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7614 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7615 then :
   7616   printf %s "(cached) " >&6
   7617 else case e in #(
   7618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7619 /* end confdefs.h.  */
   7620 int i;
   7621 _ACEOF
   7622 if ac_fn_c_try_compile "$LINENO"
   7623 then :
   7624   xorg_cv_cc_flag_unused_command_line_argument=yes
   7625 else case e in #(
   7626   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7627 esac
   7628 fi
   7629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7630 esac
   7631 fi
   7632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7633 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7635 	CFLAGS="$xorg_testset_save_CFLAGS"
   7636 fi
   7637 
   7638 found="no"
   7639 
   7640 	if test $found = "no" ; then
   7641 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7643 		fi
   7644 
   7645 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7647 		fi
   7648 
   7649 		CFLAGS="$CFLAGS -Werror=nonnull"
   7650 
   7651 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7652 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7653 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7654 		if eval test \${$cacheid+y}
   7655 then :
   7656   printf %s "(cached) " >&6
   7657 else case e in #(
   7658   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7659 /* end confdefs.h.  */
   7660 int i;
   7661 int
   7662 main (void)
   7663 {
   7664 
   7665   ;
   7666   return 0;
   7667 }
   7668 _ACEOF
   7669 if ac_fn_c_try_link "$LINENO"
   7670 then :
   7671   eval $cacheid=yes
   7672 else case e in #(
   7673   e) eval $cacheid=no ;;
   7674 esac
   7675 fi
   7676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7677     conftest$ac_exeext conftest.$ac_ext ;;
   7678 esac
   7679 fi
   7680 
   7681 
   7682 		CFLAGS="$xorg_testset_save_CFLAGS"
   7683 
   7684 		eval supported=\$$cacheid
   7685 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7686 printf "%s\n" "$supported" >&6; }
   7687 		if test "$supported" = "yes" ; then
   7688 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7689 			found="yes"
   7690 		fi
   7691 	fi
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 xorg_testset_save_CFLAGS="$CFLAGS"
   7708 
   7709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7711 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7712 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7713 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7714 then :
   7715   printf %s "(cached) " >&6
   7716 else case e in #(
   7717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7718 /* end confdefs.h.  */
   7719 int i;
   7720 _ACEOF
   7721 if ac_fn_c_try_compile "$LINENO"
   7722 then :
   7723   xorg_cv_cc_flag_unknown_warning_option=yes
   7724 else case e in #(
   7725   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7726 esac
   7727 fi
   7728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7729 esac
   7730 fi
   7731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7732 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7733 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7734 	CFLAGS="$xorg_testset_save_CFLAGS"
   7735 fi
   7736 
   7737 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7738 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7739 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7740 	fi
   7741 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7742 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7743 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7744 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7745 then :
   7746   printf %s "(cached) " >&6
   7747 else case e in #(
   7748   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7749 /* end confdefs.h.  */
   7750 int i;
   7751 _ACEOF
   7752 if ac_fn_c_try_compile "$LINENO"
   7753 then :
   7754   xorg_cv_cc_flag_unused_command_line_argument=yes
   7755 else case e in #(
   7756   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7757 esac
   7758 fi
   7759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7760 esac
   7761 fi
   7762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7763 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7764 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7765 	CFLAGS="$xorg_testset_save_CFLAGS"
   7766 fi
   7767 
   7768 found="no"
   7769 
   7770 	if test $found = "no" ; then
   7771 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7772 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7773 		fi
   7774 
   7775 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7776 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7777 		fi
   7778 
   7779 		CFLAGS="$CFLAGS -Werror=init-self"
   7780 
   7781 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7782 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7783 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7784 		if eval test \${$cacheid+y}
   7785 then :
   7786   printf %s "(cached) " >&6
   7787 else case e in #(
   7788   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7789 /* end confdefs.h.  */
   7790 int i;
   7791 int
   7792 main (void)
   7793 {
   7794 
   7795   ;
   7796   return 0;
   7797 }
   7798 _ACEOF
   7799 if ac_fn_c_try_link "$LINENO"
   7800 then :
   7801   eval $cacheid=yes
   7802 else case e in #(
   7803   e) eval $cacheid=no ;;
   7804 esac
   7805 fi
   7806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7807     conftest$ac_exeext conftest.$ac_ext ;;
   7808 esac
   7809 fi
   7810 
   7811 
   7812 		CFLAGS="$xorg_testset_save_CFLAGS"
   7813 
   7814 		eval supported=\$$cacheid
   7815 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7816 printf "%s\n" "$supported" >&6; }
   7817 		if test "$supported" = "yes" ; then
   7818 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7819 			found="yes"
   7820 		fi
   7821 	fi
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 xorg_testset_save_CFLAGS="$CFLAGS"
   7838 
   7839 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7840 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7841 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7842 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7843 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7844 then :
   7845   printf %s "(cached) " >&6
   7846 else case e in #(
   7847   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7848 /* end confdefs.h.  */
   7849 int i;
   7850 _ACEOF
   7851 if ac_fn_c_try_compile "$LINENO"
   7852 then :
   7853   xorg_cv_cc_flag_unknown_warning_option=yes
   7854 else case e in #(
   7855   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7856 esac
   7857 fi
   7858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7859 esac
   7860 fi
   7861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7862 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7864 	CFLAGS="$xorg_testset_save_CFLAGS"
   7865 fi
   7866 
   7867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7870 	fi
   7871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7872 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7873 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7874 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7875 then :
   7876   printf %s "(cached) " >&6
   7877 else case e in #(
   7878   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7879 /* end confdefs.h.  */
   7880 int i;
   7881 _ACEOF
   7882 if ac_fn_c_try_compile "$LINENO"
   7883 then :
   7884   xorg_cv_cc_flag_unused_command_line_argument=yes
   7885 else case e in #(
   7886   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7887 esac
   7888 fi
   7889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7890 esac
   7891 fi
   7892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7893 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7895 	CFLAGS="$xorg_testset_save_CFLAGS"
   7896 fi
   7897 
   7898 found="no"
   7899 
   7900 	if test $found = "no" ; then
   7901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7903 		fi
   7904 
   7905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7907 		fi
   7908 
   7909 		CFLAGS="$CFLAGS -Werror=main"
   7910 
   7911 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7912 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7913 		cacheid=xorg_cv_cc_flag__Werror_main
   7914 		if eval test \${$cacheid+y}
   7915 then :
   7916   printf %s "(cached) " >&6
   7917 else case e in #(
   7918   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7919 /* end confdefs.h.  */
   7920 int i;
   7921 int
   7922 main (void)
   7923 {
   7924 
   7925   ;
   7926   return 0;
   7927 }
   7928 _ACEOF
   7929 if ac_fn_c_try_link "$LINENO"
   7930 then :
   7931   eval $cacheid=yes
   7932 else case e in #(
   7933   e) eval $cacheid=no ;;
   7934 esac
   7935 fi
   7936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7937     conftest$ac_exeext conftest.$ac_ext ;;
   7938 esac
   7939 fi
   7940 
   7941 
   7942 		CFLAGS="$xorg_testset_save_CFLAGS"
   7943 
   7944 		eval supported=\$$cacheid
   7945 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7946 printf "%s\n" "$supported" >&6; }
   7947 		if test "$supported" = "yes" ; then
   7948 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7949 			found="yes"
   7950 		fi
   7951 	fi
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 xorg_testset_save_CFLAGS="$CFLAGS"
   7968 
   7969 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7970 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7972 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7973 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7974 then :
   7975   printf %s "(cached) " >&6
   7976 else case e in #(
   7977   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7978 /* end confdefs.h.  */
   7979 int i;
   7980 _ACEOF
   7981 if ac_fn_c_try_compile "$LINENO"
   7982 then :
   7983   xorg_cv_cc_flag_unknown_warning_option=yes
   7984 else case e in #(
   7985   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7986 esac
   7987 fi
   7988 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7989 esac
   7990 fi
   7991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7992 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7993 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7994 	CFLAGS="$xorg_testset_save_CFLAGS"
   7995 fi
   7996 
   7997 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7998 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8000 	fi
   8001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8002 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8003 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8004 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8005 then :
   8006   printf %s "(cached) " >&6
   8007 else case e in #(
   8008   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8009 /* end confdefs.h.  */
   8010 int i;
   8011 _ACEOF
   8012 if ac_fn_c_try_compile "$LINENO"
   8013 then :
   8014   xorg_cv_cc_flag_unused_command_line_argument=yes
   8015 else case e in #(
   8016   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8017 esac
   8018 fi
   8019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8020 esac
   8021 fi
   8022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8023 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8024 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8025 	CFLAGS="$xorg_testset_save_CFLAGS"
   8026 fi
   8027 
   8028 found="no"
   8029 
   8030 	if test $found = "no" ; then
   8031 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8032 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8033 		fi
   8034 
   8035 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8036 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8037 		fi
   8038 
   8039 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8040 
   8041 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8042 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8043 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8044 		if eval test \${$cacheid+y}
   8045 then :
   8046   printf %s "(cached) " >&6
   8047 else case e in #(
   8048   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8049 /* end confdefs.h.  */
   8050 int i;
   8051 int
   8052 main (void)
   8053 {
   8054 
   8055   ;
   8056   return 0;
   8057 }
   8058 _ACEOF
   8059 if ac_fn_c_try_link "$LINENO"
   8060 then :
   8061   eval $cacheid=yes
   8062 else case e in #(
   8063   e) eval $cacheid=no ;;
   8064 esac
   8065 fi
   8066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8067     conftest$ac_exeext conftest.$ac_ext ;;
   8068 esac
   8069 fi
   8070 
   8071 
   8072 		CFLAGS="$xorg_testset_save_CFLAGS"
   8073 
   8074 		eval supported=\$$cacheid
   8075 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8076 printf "%s\n" "$supported" >&6; }
   8077 		if test "$supported" = "yes" ; then
   8078 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8079 			found="yes"
   8080 		fi
   8081 	fi
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 xorg_testset_save_CFLAGS="$CFLAGS"
   8098 
   8099 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8100 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8101 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8102 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8103 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8104 then :
   8105   printf %s "(cached) " >&6
   8106 else case e in #(
   8107   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8108 /* end confdefs.h.  */
   8109 int i;
   8110 _ACEOF
   8111 if ac_fn_c_try_compile "$LINENO"
   8112 then :
   8113   xorg_cv_cc_flag_unknown_warning_option=yes
   8114 else case e in #(
   8115   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8116 esac
   8117 fi
   8118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8119 esac
   8120 fi
   8121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8122 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8123 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8124 	CFLAGS="$xorg_testset_save_CFLAGS"
   8125 fi
   8126 
   8127 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8128 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8129 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8130 	fi
   8131 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8132 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8133 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8134 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8135 then :
   8136   printf %s "(cached) " >&6
   8137 else case e in #(
   8138   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8139 /* end confdefs.h.  */
   8140 int i;
   8141 _ACEOF
   8142 if ac_fn_c_try_compile "$LINENO"
   8143 then :
   8144   xorg_cv_cc_flag_unused_command_line_argument=yes
   8145 else case e in #(
   8146   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8147 esac
   8148 fi
   8149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8150 esac
   8151 fi
   8152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8153 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8154 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8155 	CFLAGS="$xorg_testset_save_CFLAGS"
   8156 fi
   8157 
   8158 found="no"
   8159 
   8160 	if test $found = "no" ; then
   8161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8163 		fi
   8164 
   8165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8167 		fi
   8168 
   8169 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8170 
   8171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8172 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8173 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8174 		if eval test \${$cacheid+y}
   8175 then :
   8176   printf %s "(cached) " >&6
   8177 else case e in #(
   8178   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8179 /* end confdefs.h.  */
   8180 int i;
   8181 int
   8182 main (void)
   8183 {
   8184 
   8185   ;
   8186   return 0;
   8187 }
   8188 _ACEOF
   8189 if ac_fn_c_try_link "$LINENO"
   8190 then :
   8191   eval $cacheid=yes
   8192 else case e in #(
   8193   e) eval $cacheid=no ;;
   8194 esac
   8195 fi
   8196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8197     conftest$ac_exeext conftest.$ac_ext ;;
   8198 esac
   8199 fi
   8200 
   8201 
   8202 		CFLAGS="$xorg_testset_save_CFLAGS"
   8203 
   8204 		eval supported=\$$cacheid
   8205 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8206 printf "%s\n" "$supported" >&6; }
   8207 		if test "$supported" = "yes" ; then
   8208 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8209 			found="yes"
   8210 		fi
   8211 	fi
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 xorg_testset_save_CFLAGS="$CFLAGS"
   8228 
   8229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8231 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8232 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8233 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8234 then :
   8235   printf %s "(cached) " >&6
   8236 else case e in #(
   8237   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8238 /* end confdefs.h.  */
   8239 int i;
   8240 _ACEOF
   8241 if ac_fn_c_try_compile "$LINENO"
   8242 then :
   8243   xorg_cv_cc_flag_unknown_warning_option=yes
   8244 else case e in #(
   8245   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8246 esac
   8247 fi
   8248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8249 esac
   8250 fi
   8251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8252 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8254 	CFLAGS="$xorg_testset_save_CFLAGS"
   8255 fi
   8256 
   8257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8260 	fi
   8261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8262 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8263 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8264 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8265 then :
   8266   printf %s "(cached) " >&6
   8267 else case e in #(
   8268   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8269 /* end confdefs.h.  */
   8270 int i;
   8271 _ACEOF
   8272 if ac_fn_c_try_compile "$LINENO"
   8273 then :
   8274   xorg_cv_cc_flag_unused_command_line_argument=yes
   8275 else case e in #(
   8276   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8277 esac
   8278 fi
   8279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8280 esac
   8281 fi
   8282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8283 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8284 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8285 	CFLAGS="$xorg_testset_save_CFLAGS"
   8286 fi
   8287 
   8288 found="no"
   8289 
   8290 	if test $found = "no" ; then
   8291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8293 		fi
   8294 
   8295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8297 		fi
   8298 
   8299 		CFLAGS="$CFLAGS -Werror=return-type"
   8300 
   8301 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8302 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8303 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8304 		if eval test \${$cacheid+y}
   8305 then :
   8306   printf %s "(cached) " >&6
   8307 else case e in #(
   8308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8309 /* end confdefs.h.  */
   8310 int i;
   8311 int
   8312 main (void)
   8313 {
   8314 
   8315   ;
   8316   return 0;
   8317 }
   8318 _ACEOF
   8319 if ac_fn_c_try_link "$LINENO"
   8320 then :
   8321   eval $cacheid=yes
   8322 else case e in #(
   8323   e) eval $cacheid=no ;;
   8324 esac
   8325 fi
   8326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8327     conftest$ac_exeext conftest.$ac_ext ;;
   8328 esac
   8329 fi
   8330 
   8331 
   8332 		CFLAGS="$xorg_testset_save_CFLAGS"
   8333 
   8334 		eval supported=\$$cacheid
   8335 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8336 printf "%s\n" "$supported" >&6; }
   8337 		if test "$supported" = "yes" ; then
   8338 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8339 			found="yes"
   8340 		fi
   8341 	fi
   8342 
   8343 	if test $found = "no" ; then
   8344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8346 		fi
   8347 
   8348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8350 		fi
   8351 
   8352 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8353 
   8354 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8355 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8356 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8357 		if eval test \${$cacheid+y}
   8358 then :
   8359   printf %s "(cached) " >&6
   8360 else case e in #(
   8361   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8362 /* end confdefs.h.  */
   8363 int i;
   8364 int
   8365 main (void)
   8366 {
   8367 
   8368   ;
   8369   return 0;
   8370 }
   8371 _ACEOF
   8372 if ac_fn_c_try_link "$LINENO"
   8373 then :
   8374   eval $cacheid=yes
   8375 else case e in #(
   8376   e) eval $cacheid=no ;;
   8377 esac
   8378 fi
   8379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8380     conftest$ac_exeext conftest.$ac_ext ;;
   8381 esac
   8382 fi
   8383 
   8384 
   8385 		CFLAGS="$xorg_testset_save_CFLAGS"
   8386 
   8387 		eval supported=\$$cacheid
   8388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8389 printf "%s\n" "$supported" >&6; }
   8390 		if test "$supported" = "yes" ; then
   8391 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8392 			found="yes"
   8393 		fi
   8394 	fi
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 xorg_testset_save_CFLAGS="$CFLAGS"
   8411 
   8412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8414 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8415 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8416 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8417 then :
   8418   printf %s "(cached) " >&6
   8419 else case e in #(
   8420   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8421 /* end confdefs.h.  */
   8422 int i;
   8423 _ACEOF
   8424 if ac_fn_c_try_compile "$LINENO"
   8425 then :
   8426   xorg_cv_cc_flag_unknown_warning_option=yes
   8427 else case e in #(
   8428   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8429 esac
   8430 fi
   8431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8432 esac
   8433 fi
   8434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8435 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8436 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8437 	CFLAGS="$xorg_testset_save_CFLAGS"
   8438 fi
   8439 
   8440 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8441 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8442 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8443 	fi
   8444 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8445 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8446 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8447 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8448 then :
   8449   printf %s "(cached) " >&6
   8450 else case e in #(
   8451   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8452 /* end confdefs.h.  */
   8453 int i;
   8454 _ACEOF
   8455 if ac_fn_c_try_compile "$LINENO"
   8456 then :
   8457   xorg_cv_cc_flag_unused_command_line_argument=yes
   8458 else case e in #(
   8459   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8460 esac
   8461 fi
   8462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8463 esac
   8464 fi
   8465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8466 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8467 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8468 	CFLAGS="$xorg_testset_save_CFLAGS"
   8469 fi
   8470 
   8471 found="no"
   8472 
   8473 	if test $found = "no" ; then
   8474 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8475 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8476 		fi
   8477 
   8478 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8479 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8480 		fi
   8481 
   8482 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8483 
   8484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8485 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8486 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8487 		if eval test \${$cacheid+y}
   8488 then :
   8489   printf %s "(cached) " >&6
   8490 else case e in #(
   8491   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8492 /* end confdefs.h.  */
   8493 int i;
   8494 int
   8495 main (void)
   8496 {
   8497 
   8498   ;
   8499   return 0;
   8500 }
   8501 _ACEOF
   8502 if ac_fn_c_try_link "$LINENO"
   8503 then :
   8504   eval $cacheid=yes
   8505 else case e in #(
   8506   e) eval $cacheid=no ;;
   8507 esac
   8508 fi
   8509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8510     conftest$ac_exeext conftest.$ac_ext ;;
   8511 esac
   8512 fi
   8513 
   8514 
   8515 		CFLAGS="$xorg_testset_save_CFLAGS"
   8516 
   8517 		eval supported=\$$cacheid
   8518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8519 printf "%s\n" "$supported" >&6; }
   8520 		if test "$supported" = "yes" ; then
   8521 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8522 			found="yes"
   8523 		fi
   8524 	fi
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 xorg_testset_save_CFLAGS="$CFLAGS"
   8541 
   8542 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8543 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8544 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8545 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8546 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8547 then :
   8548   printf %s "(cached) " >&6
   8549 else case e in #(
   8550   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8551 /* end confdefs.h.  */
   8552 int i;
   8553 _ACEOF
   8554 if ac_fn_c_try_compile "$LINENO"
   8555 then :
   8556   xorg_cv_cc_flag_unknown_warning_option=yes
   8557 else case e in #(
   8558   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8559 esac
   8560 fi
   8561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8562 esac
   8563 fi
   8564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8565 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8566 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8567 	CFLAGS="$xorg_testset_save_CFLAGS"
   8568 fi
   8569 
   8570 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8571 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8572 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8573 	fi
   8574 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8575 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8576 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8577 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8578 then :
   8579   printf %s "(cached) " >&6
   8580 else case e in #(
   8581   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8582 /* end confdefs.h.  */
   8583 int i;
   8584 _ACEOF
   8585 if ac_fn_c_try_compile "$LINENO"
   8586 then :
   8587   xorg_cv_cc_flag_unused_command_line_argument=yes
   8588 else case e in #(
   8589   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8590 esac
   8591 fi
   8592 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8593 esac
   8594 fi
   8595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8596 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8597 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8598 	CFLAGS="$xorg_testset_save_CFLAGS"
   8599 fi
   8600 
   8601 found="no"
   8602 
   8603 	if test $found = "no" ; then
   8604 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8605 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8606 		fi
   8607 
   8608 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8609 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8610 		fi
   8611 
   8612 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8613 
   8614 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8615 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8616 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8617 		if eval test \${$cacheid+y}
   8618 then :
   8619   printf %s "(cached) " >&6
   8620 else case e in #(
   8621   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8622 /* end confdefs.h.  */
   8623 int i;
   8624 int
   8625 main (void)
   8626 {
   8627 
   8628   ;
   8629   return 0;
   8630 }
   8631 _ACEOF
   8632 if ac_fn_c_try_link "$LINENO"
   8633 then :
   8634   eval $cacheid=yes
   8635 else case e in #(
   8636   e) eval $cacheid=no ;;
   8637 esac
   8638 fi
   8639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8640     conftest$ac_exeext conftest.$ac_ext ;;
   8641 esac
   8642 fi
   8643 
   8644 
   8645 		CFLAGS="$xorg_testset_save_CFLAGS"
   8646 
   8647 		eval supported=\$$cacheid
   8648 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8649 printf "%s\n" "$supported" >&6; }
   8650 		if test "$supported" = "yes" ; then
   8651 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8652 			found="yes"
   8653 		fi
   8654 	fi
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 xorg_testset_save_CFLAGS="$CFLAGS"
   8671 
   8672 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8673 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8674 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8675 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8676 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8677 then :
   8678   printf %s "(cached) " >&6
   8679 else case e in #(
   8680   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8681 /* end confdefs.h.  */
   8682 int i;
   8683 _ACEOF
   8684 if ac_fn_c_try_compile "$LINENO"
   8685 then :
   8686   xorg_cv_cc_flag_unknown_warning_option=yes
   8687 else case e in #(
   8688   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8689 esac
   8690 fi
   8691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8692 esac
   8693 fi
   8694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8695 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8697 	CFLAGS="$xorg_testset_save_CFLAGS"
   8698 fi
   8699 
   8700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8703 	fi
   8704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8705 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8706 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8707 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8708 then :
   8709   printf %s "(cached) " >&6
   8710 else case e in #(
   8711   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8712 /* end confdefs.h.  */
   8713 int i;
   8714 _ACEOF
   8715 if ac_fn_c_try_compile "$LINENO"
   8716 then :
   8717   xorg_cv_cc_flag_unused_command_line_argument=yes
   8718 else case e in #(
   8719   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8720 esac
   8721 fi
   8722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8723 esac
   8724 fi
   8725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8726 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8728 	CFLAGS="$xorg_testset_save_CFLAGS"
   8729 fi
   8730 
   8731 found="no"
   8732 
   8733 	if test $found = "no" ; then
   8734 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8736 		fi
   8737 
   8738 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8740 		fi
   8741 
   8742 		CFLAGS="$CFLAGS -Werror=write-strings"
   8743 
   8744 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8745 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8746 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8747 		if eval test \${$cacheid+y}
   8748 then :
   8749   printf %s "(cached) " >&6
   8750 else case e in #(
   8751   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8752 /* end confdefs.h.  */
   8753 int i;
   8754 int
   8755 main (void)
   8756 {
   8757 
   8758   ;
   8759   return 0;
   8760 }
   8761 _ACEOF
   8762 if ac_fn_c_try_link "$LINENO"
   8763 then :
   8764   eval $cacheid=yes
   8765 else case e in #(
   8766   e) eval $cacheid=no ;;
   8767 esac
   8768 fi
   8769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8770     conftest$ac_exeext conftest.$ac_ext ;;
   8771 esac
   8772 fi
   8773 
   8774 
   8775 		CFLAGS="$xorg_testset_save_CFLAGS"
   8776 
   8777 		eval supported=\$$cacheid
   8778 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8779 printf "%s\n" "$supported" >&6; }
   8780 		if test "$supported" = "yes" ; then
   8781 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8782 			found="yes"
   8783 		fi
   8784 	fi
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 xorg_testset_save_CFLAGS="$CFLAGS"
   8801 
   8802 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8803 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8804 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8805 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8806 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8807 then :
   8808   printf %s "(cached) " >&6
   8809 else case e in #(
   8810   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8811 /* end confdefs.h.  */
   8812 int i;
   8813 _ACEOF
   8814 if ac_fn_c_try_compile "$LINENO"
   8815 then :
   8816   xorg_cv_cc_flag_unknown_warning_option=yes
   8817 else case e in #(
   8818   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8819 esac
   8820 fi
   8821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8822 esac
   8823 fi
   8824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8825 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8826 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8827 	CFLAGS="$xorg_testset_save_CFLAGS"
   8828 fi
   8829 
   8830 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8831 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8832 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8833 	fi
   8834 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8835 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8836 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8837 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8838 then :
   8839   printf %s "(cached) " >&6
   8840 else case e in #(
   8841   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8842 /* end confdefs.h.  */
   8843 int i;
   8844 _ACEOF
   8845 if ac_fn_c_try_compile "$LINENO"
   8846 then :
   8847   xorg_cv_cc_flag_unused_command_line_argument=yes
   8848 else case e in #(
   8849   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8850 esac
   8851 fi
   8852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8853 esac
   8854 fi
   8855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8856 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8858 	CFLAGS="$xorg_testset_save_CFLAGS"
   8859 fi
   8860 
   8861 found="no"
   8862 
   8863 	if test $found = "no" ; then
   8864 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8866 		fi
   8867 
   8868 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8870 		fi
   8871 
   8872 		CFLAGS="$CFLAGS -Werror=address"
   8873 
   8874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8875 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8876 		cacheid=xorg_cv_cc_flag__Werror_address
   8877 		if eval test \${$cacheid+y}
   8878 then :
   8879   printf %s "(cached) " >&6
   8880 else case e in #(
   8881   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8882 /* end confdefs.h.  */
   8883 int i;
   8884 int
   8885 main (void)
   8886 {
   8887 
   8888   ;
   8889   return 0;
   8890 }
   8891 _ACEOF
   8892 if ac_fn_c_try_link "$LINENO"
   8893 then :
   8894   eval $cacheid=yes
   8895 else case e in #(
   8896   e) eval $cacheid=no ;;
   8897 esac
   8898 fi
   8899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8900     conftest$ac_exeext conftest.$ac_ext ;;
   8901 esac
   8902 fi
   8903 
   8904 
   8905 		CFLAGS="$xorg_testset_save_CFLAGS"
   8906 
   8907 		eval supported=\$$cacheid
   8908 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8909 printf "%s\n" "$supported" >&6; }
   8910 		if test "$supported" = "yes" ; then
   8911 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8912 			found="yes"
   8913 		fi
   8914 	fi
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 xorg_testset_save_CFLAGS="$CFLAGS"
   8931 
   8932 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8933 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8934 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8935 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8936 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8937 then :
   8938   printf %s "(cached) " >&6
   8939 else case e in #(
   8940   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8941 /* end confdefs.h.  */
   8942 int i;
   8943 _ACEOF
   8944 if ac_fn_c_try_compile "$LINENO"
   8945 then :
   8946   xorg_cv_cc_flag_unknown_warning_option=yes
   8947 else case e in #(
   8948   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8949 esac
   8950 fi
   8951 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8952 esac
   8953 fi
   8954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8955 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8956 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8957 	CFLAGS="$xorg_testset_save_CFLAGS"
   8958 fi
   8959 
   8960 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8961 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8962 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8963 	fi
   8964 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8965 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8966 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8967 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8968 then :
   8969   printf %s "(cached) " >&6
   8970 else case e in #(
   8971   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8972 /* end confdefs.h.  */
   8973 int i;
   8974 _ACEOF
   8975 if ac_fn_c_try_compile "$LINENO"
   8976 then :
   8977   xorg_cv_cc_flag_unused_command_line_argument=yes
   8978 else case e in #(
   8979   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8980 esac
   8981 fi
   8982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8983 esac
   8984 fi
   8985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8986 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8987 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8988 	CFLAGS="$xorg_testset_save_CFLAGS"
   8989 fi
   8990 
   8991 found="no"
   8992 
   8993 	if test $found = "no" ; then
   8994 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8996 		fi
   8997 
   8998 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9000 		fi
   9001 
   9002 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9003 
   9004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9005 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9006 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9007 		if eval test \${$cacheid+y}
   9008 then :
   9009   printf %s "(cached) " >&6
   9010 else case e in #(
   9011   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9012 /* end confdefs.h.  */
   9013 int i;
   9014 int
   9015 main (void)
   9016 {
   9017 
   9018   ;
   9019   return 0;
   9020 }
   9021 _ACEOF
   9022 if ac_fn_c_try_link "$LINENO"
   9023 then :
   9024   eval $cacheid=yes
   9025 else case e in #(
   9026   e) eval $cacheid=no ;;
   9027 esac
   9028 fi
   9029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9030     conftest$ac_exeext conftest.$ac_ext ;;
   9031 esac
   9032 fi
   9033 
   9034 
   9035 		CFLAGS="$xorg_testset_save_CFLAGS"
   9036 
   9037 		eval supported=\$$cacheid
   9038 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9039 printf "%s\n" "$supported" >&6; }
   9040 		if test "$supported" = "yes" ; then
   9041 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9042 			found="yes"
   9043 		fi
   9044 	fi
   9045 
   9046 	if test $found = "no" ; then
   9047 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9048 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9049 		fi
   9050 
   9051 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9052 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9053 		fi
   9054 
   9055 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9056 
   9057 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9058 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9059 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9060 		if eval test \${$cacheid+y}
   9061 then :
   9062   printf %s "(cached) " >&6
   9063 else case e in #(
   9064   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9065 /* end confdefs.h.  */
   9066 int i;
   9067 int
   9068 main (void)
   9069 {
   9070 
   9071   ;
   9072   return 0;
   9073 }
   9074 _ACEOF
   9075 if ac_fn_c_try_link "$LINENO"
   9076 then :
   9077   eval $cacheid=yes
   9078 else case e in #(
   9079   e) eval $cacheid=no ;;
   9080 esac
   9081 fi
   9082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9083     conftest$ac_exeext conftest.$ac_ext ;;
   9084 esac
   9085 fi
   9086 
   9087 
   9088 		CFLAGS="$xorg_testset_save_CFLAGS"
   9089 
   9090 		eval supported=\$$cacheid
   9091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9092 printf "%s\n" "$supported" >&6; }
   9093 		if test "$supported" = "yes" ; then
   9094 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9095 			found="yes"
   9096 		fi
   9097 	fi
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 xorg_testset_save_CFLAGS="$CFLAGS"
   9114 
   9115 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9117 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9118 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9119 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9120 then :
   9121   printf %s "(cached) " >&6
   9122 else case e in #(
   9123   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9124 /* end confdefs.h.  */
   9125 int i;
   9126 _ACEOF
   9127 if ac_fn_c_try_compile "$LINENO"
   9128 then :
   9129   xorg_cv_cc_flag_unknown_warning_option=yes
   9130 else case e in #(
   9131   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9132 esac
   9133 fi
   9134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9135 esac
   9136 fi
   9137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9138 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9139 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9140 	CFLAGS="$xorg_testset_save_CFLAGS"
   9141 fi
   9142 
   9143 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9144 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9145 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9146 	fi
   9147 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9148 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9149 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9150 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9151 then :
   9152   printf %s "(cached) " >&6
   9153 else case e in #(
   9154   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9155 /* end confdefs.h.  */
   9156 int i;
   9157 _ACEOF
   9158 if ac_fn_c_try_compile "$LINENO"
   9159 then :
   9160   xorg_cv_cc_flag_unused_command_line_argument=yes
   9161 else case e in #(
   9162   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9163 esac
   9164 fi
   9165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9166 esac
   9167 fi
   9168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9169 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9171 	CFLAGS="$xorg_testset_save_CFLAGS"
   9172 fi
   9173 
   9174 found="no"
   9175 
   9176 	if test $found = "no" ; then
   9177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9179 		fi
   9180 
   9181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9183 		fi
   9184 
   9185 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9186 
   9187 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9188 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9189 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9190 		if eval test \${$cacheid+y}
   9191 then :
   9192   printf %s "(cached) " >&6
   9193 else case e in #(
   9194   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9195 /* end confdefs.h.  */
   9196 int i;
   9197 int
   9198 main (void)
   9199 {
   9200 
   9201   ;
   9202   return 0;
   9203 }
   9204 _ACEOF
   9205 if ac_fn_c_try_link "$LINENO"
   9206 then :
   9207   eval $cacheid=yes
   9208 else case e in #(
   9209   e) eval $cacheid=no ;;
   9210 esac
   9211 fi
   9212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9213     conftest$ac_exeext conftest.$ac_ext ;;
   9214 esac
   9215 fi
   9216 
   9217 
   9218 		CFLAGS="$xorg_testset_save_CFLAGS"
   9219 
   9220 		eval supported=\$$cacheid
   9221 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9222 printf "%s\n" "$supported" >&6; }
   9223 		if test "$supported" = "yes" ; then
   9224 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9225 			found="yes"
   9226 		fi
   9227 	fi
   9228 
   9229  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9230 else
   9231 { 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
   9232 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;}
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 xorg_testset_save_CFLAGS="$CFLAGS"
   9247 
   9248 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9249 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9250 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9251 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9252 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9253 then :
   9254   printf %s "(cached) " >&6
   9255 else case e in #(
   9256   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9257 /* end confdefs.h.  */
   9258 int i;
   9259 _ACEOF
   9260 if ac_fn_c_try_compile "$LINENO"
   9261 then :
   9262   xorg_cv_cc_flag_unknown_warning_option=yes
   9263 else case e in #(
   9264   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9265 esac
   9266 fi
   9267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9268 esac
   9269 fi
   9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9271 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9272 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9273 	CFLAGS="$xorg_testset_save_CFLAGS"
   9274 fi
   9275 
   9276 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9277 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9278 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9279 	fi
   9280 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9281 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9282 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9283 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9284 then :
   9285   printf %s "(cached) " >&6
   9286 else case e in #(
   9287   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9288 /* end confdefs.h.  */
   9289 int i;
   9290 _ACEOF
   9291 if ac_fn_c_try_compile "$LINENO"
   9292 then :
   9293   xorg_cv_cc_flag_unused_command_line_argument=yes
   9294 else case e in #(
   9295   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9296 esac
   9297 fi
   9298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9299 esac
   9300 fi
   9301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9302 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9303 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9304 	CFLAGS="$xorg_testset_save_CFLAGS"
   9305 fi
   9306 
   9307 found="no"
   9308 
   9309 	if test $found = "no" ; then
   9310 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9311 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9312 		fi
   9313 
   9314 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9315 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9316 		fi
   9317 
   9318 		CFLAGS="$CFLAGS -Wimplicit"
   9319 
   9320 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9321 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9322 		cacheid=xorg_cv_cc_flag__Wimplicit
   9323 		if eval test \${$cacheid+y}
   9324 then :
   9325   printf %s "(cached) " >&6
   9326 else case e in #(
   9327   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9328 /* end confdefs.h.  */
   9329 int i;
   9330 int
   9331 main (void)
   9332 {
   9333 
   9334   ;
   9335   return 0;
   9336 }
   9337 _ACEOF
   9338 if ac_fn_c_try_link "$LINENO"
   9339 then :
   9340   eval $cacheid=yes
   9341 else case e in #(
   9342   e) eval $cacheid=no ;;
   9343 esac
   9344 fi
   9345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9346     conftest$ac_exeext conftest.$ac_ext ;;
   9347 esac
   9348 fi
   9349 
   9350 
   9351 		CFLAGS="$xorg_testset_save_CFLAGS"
   9352 
   9353 		eval supported=\$$cacheid
   9354 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9355 printf "%s\n" "$supported" >&6; }
   9356 		if test "$supported" = "yes" ; then
   9357 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9358 			found="yes"
   9359 		fi
   9360 	fi
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 xorg_testset_save_CFLAGS="$CFLAGS"
   9377 
   9378 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9379 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9380 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9381 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9382 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9383 then :
   9384   printf %s "(cached) " >&6
   9385 else case e in #(
   9386   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9387 /* end confdefs.h.  */
   9388 int i;
   9389 _ACEOF
   9390 if ac_fn_c_try_compile "$LINENO"
   9391 then :
   9392   xorg_cv_cc_flag_unknown_warning_option=yes
   9393 else case e in #(
   9394   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9395 esac
   9396 fi
   9397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9398 esac
   9399 fi
   9400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9401 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9402 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9403 	CFLAGS="$xorg_testset_save_CFLAGS"
   9404 fi
   9405 
   9406 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9407 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9408 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9409 	fi
   9410 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9411 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9412 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9413 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9414 then :
   9415   printf %s "(cached) " >&6
   9416 else case e in #(
   9417   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9418 /* end confdefs.h.  */
   9419 int i;
   9420 _ACEOF
   9421 if ac_fn_c_try_compile "$LINENO"
   9422 then :
   9423   xorg_cv_cc_flag_unused_command_line_argument=yes
   9424 else case e in #(
   9425   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9426 esac
   9427 fi
   9428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9429 esac
   9430 fi
   9431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9432 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9433 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9434 	CFLAGS="$xorg_testset_save_CFLAGS"
   9435 fi
   9436 
   9437 found="no"
   9438 
   9439 	if test $found = "no" ; then
   9440 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9442 		fi
   9443 
   9444 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9446 		fi
   9447 
   9448 		CFLAGS="$CFLAGS -Wnonnull"
   9449 
   9450 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9451 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9452 		cacheid=xorg_cv_cc_flag__Wnonnull
   9453 		if eval test \${$cacheid+y}
   9454 then :
   9455   printf %s "(cached) " >&6
   9456 else case e in #(
   9457   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9458 /* end confdefs.h.  */
   9459 int i;
   9460 int
   9461 main (void)
   9462 {
   9463 
   9464   ;
   9465   return 0;
   9466 }
   9467 _ACEOF
   9468 if ac_fn_c_try_link "$LINENO"
   9469 then :
   9470   eval $cacheid=yes
   9471 else case e in #(
   9472   e) eval $cacheid=no ;;
   9473 esac
   9474 fi
   9475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9476     conftest$ac_exeext conftest.$ac_ext ;;
   9477 esac
   9478 fi
   9479 
   9480 
   9481 		CFLAGS="$xorg_testset_save_CFLAGS"
   9482 
   9483 		eval supported=\$$cacheid
   9484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9485 printf "%s\n" "$supported" >&6; }
   9486 		if test "$supported" = "yes" ; then
   9487 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9488 			found="yes"
   9489 		fi
   9490 	fi
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 xorg_testset_save_CFLAGS="$CFLAGS"
   9507 
   9508 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9509 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9510 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9511 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9512 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9513 then :
   9514   printf %s "(cached) " >&6
   9515 else case e in #(
   9516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9517 /* end confdefs.h.  */
   9518 int i;
   9519 _ACEOF
   9520 if ac_fn_c_try_compile "$LINENO"
   9521 then :
   9522   xorg_cv_cc_flag_unknown_warning_option=yes
   9523 else case e in #(
   9524   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9525 esac
   9526 fi
   9527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9528 esac
   9529 fi
   9530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9531 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9532 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9533 	CFLAGS="$xorg_testset_save_CFLAGS"
   9534 fi
   9535 
   9536 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9537 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9538 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9539 	fi
   9540 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9541 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9542 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9543 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9544 then :
   9545   printf %s "(cached) " >&6
   9546 else case e in #(
   9547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9548 /* end confdefs.h.  */
   9549 int i;
   9550 _ACEOF
   9551 if ac_fn_c_try_compile "$LINENO"
   9552 then :
   9553   xorg_cv_cc_flag_unused_command_line_argument=yes
   9554 else case e in #(
   9555   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9556 esac
   9557 fi
   9558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9559 esac
   9560 fi
   9561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9562 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9563 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9564 	CFLAGS="$xorg_testset_save_CFLAGS"
   9565 fi
   9566 
   9567 found="no"
   9568 
   9569 	if test $found = "no" ; then
   9570 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9571 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9572 		fi
   9573 
   9574 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9575 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9576 		fi
   9577 
   9578 		CFLAGS="$CFLAGS -Winit-self"
   9579 
   9580 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9581 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9582 		cacheid=xorg_cv_cc_flag__Winit_self
   9583 		if eval test \${$cacheid+y}
   9584 then :
   9585   printf %s "(cached) " >&6
   9586 else case e in #(
   9587   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9588 /* end confdefs.h.  */
   9589 int i;
   9590 int
   9591 main (void)
   9592 {
   9593 
   9594   ;
   9595   return 0;
   9596 }
   9597 _ACEOF
   9598 if ac_fn_c_try_link "$LINENO"
   9599 then :
   9600   eval $cacheid=yes
   9601 else case e in #(
   9602   e) eval $cacheid=no ;;
   9603 esac
   9604 fi
   9605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9606     conftest$ac_exeext conftest.$ac_ext ;;
   9607 esac
   9608 fi
   9609 
   9610 
   9611 		CFLAGS="$xorg_testset_save_CFLAGS"
   9612 
   9613 		eval supported=\$$cacheid
   9614 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9615 printf "%s\n" "$supported" >&6; }
   9616 		if test "$supported" = "yes" ; then
   9617 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9618 			found="yes"
   9619 		fi
   9620 	fi
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 xorg_testset_save_CFLAGS="$CFLAGS"
   9637 
   9638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9640 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9641 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9642 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9643 then :
   9644   printf %s "(cached) " >&6
   9645 else case e in #(
   9646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9647 /* end confdefs.h.  */
   9648 int i;
   9649 _ACEOF
   9650 if ac_fn_c_try_compile "$LINENO"
   9651 then :
   9652   xorg_cv_cc_flag_unknown_warning_option=yes
   9653 else case e in #(
   9654   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9655 esac
   9656 fi
   9657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9658 esac
   9659 fi
   9660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9661 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9663 	CFLAGS="$xorg_testset_save_CFLAGS"
   9664 fi
   9665 
   9666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9669 	fi
   9670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9672 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9673 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9674 then :
   9675   printf %s "(cached) " >&6
   9676 else case e in #(
   9677   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9678 /* end confdefs.h.  */
   9679 int i;
   9680 _ACEOF
   9681 if ac_fn_c_try_compile "$LINENO"
   9682 then :
   9683   xorg_cv_cc_flag_unused_command_line_argument=yes
   9684 else case e in #(
   9685   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9686 esac
   9687 fi
   9688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9689 esac
   9690 fi
   9691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9692 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9693 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9694 	CFLAGS="$xorg_testset_save_CFLAGS"
   9695 fi
   9696 
   9697 found="no"
   9698 
   9699 	if test $found = "no" ; then
   9700 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9701 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9702 		fi
   9703 
   9704 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9705 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9706 		fi
   9707 
   9708 		CFLAGS="$CFLAGS -Wmain"
   9709 
   9710 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9711 printf %s "checking if $CC supports -Wmain... " >&6; }
   9712 		cacheid=xorg_cv_cc_flag__Wmain
   9713 		if eval test \${$cacheid+y}
   9714 then :
   9715   printf %s "(cached) " >&6
   9716 else case e in #(
   9717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9718 /* end confdefs.h.  */
   9719 int i;
   9720 int
   9721 main (void)
   9722 {
   9723 
   9724   ;
   9725   return 0;
   9726 }
   9727 _ACEOF
   9728 if ac_fn_c_try_link "$LINENO"
   9729 then :
   9730   eval $cacheid=yes
   9731 else case e in #(
   9732   e) eval $cacheid=no ;;
   9733 esac
   9734 fi
   9735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9736     conftest$ac_exeext conftest.$ac_ext ;;
   9737 esac
   9738 fi
   9739 
   9740 
   9741 		CFLAGS="$xorg_testset_save_CFLAGS"
   9742 
   9743 		eval supported=\$$cacheid
   9744 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9745 printf "%s\n" "$supported" >&6; }
   9746 		if test "$supported" = "yes" ; then
   9747 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9748 			found="yes"
   9749 		fi
   9750 	fi
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 xorg_testset_save_CFLAGS="$CFLAGS"
   9767 
   9768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9770 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9771 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9772 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9773 then :
   9774   printf %s "(cached) " >&6
   9775 else case e in #(
   9776   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9777 /* end confdefs.h.  */
   9778 int i;
   9779 _ACEOF
   9780 if ac_fn_c_try_compile "$LINENO"
   9781 then :
   9782   xorg_cv_cc_flag_unknown_warning_option=yes
   9783 else case e in #(
   9784   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9785 esac
   9786 fi
   9787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9788 esac
   9789 fi
   9790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9791 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9793 	CFLAGS="$xorg_testset_save_CFLAGS"
   9794 fi
   9795 
   9796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9799 	fi
   9800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9801 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9802 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9803 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9804 then :
   9805   printf %s "(cached) " >&6
   9806 else case e in #(
   9807   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9808 /* end confdefs.h.  */
   9809 int i;
   9810 _ACEOF
   9811 if ac_fn_c_try_compile "$LINENO"
   9812 then :
   9813   xorg_cv_cc_flag_unused_command_line_argument=yes
   9814 else case e in #(
   9815   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9816 esac
   9817 fi
   9818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9819 esac
   9820 fi
   9821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9822 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9823 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9824 	CFLAGS="$xorg_testset_save_CFLAGS"
   9825 fi
   9826 
   9827 found="no"
   9828 
   9829 	if test $found = "no" ; then
   9830 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9832 		fi
   9833 
   9834 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9836 		fi
   9837 
   9838 		CFLAGS="$CFLAGS -Wmissing-braces"
   9839 
   9840 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9841 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9842 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9843 		if eval test \${$cacheid+y}
   9844 then :
   9845   printf %s "(cached) " >&6
   9846 else case e in #(
   9847   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9848 /* end confdefs.h.  */
   9849 int i;
   9850 int
   9851 main (void)
   9852 {
   9853 
   9854   ;
   9855   return 0;
   9856 }
   9857 _ACEOF
   9858 if ac_fn_c_try_link "$LINENO"
   9859 then :
   9860   eval $cacheid=yes
   9861 else case e in #(
   9862   e) eval $cacheid=no ;;
   9863 esac
   9864 fi
   9865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9866     conftest$ac_exeext conftest.$ac_ext ;;
   9867 esac
   9868 fi
   9869 
   9870 
   9871 		CFLAGS="$xorg_testset_save_CFLAGS"
   9872 
   9873 		eval supported=\$$cacheid
   9874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9875 printf "%s\n" "$supported" >&6; }
   9876 		if test "$supported" = "yes" ; then
   9877 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9878 			found="yes"
   9879 		fi
   9880 	fi
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 xorg_testset_save_CFLAGS="$CFLAGS"
   9897 
   9898 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9899 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9900 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9901 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9902 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9903 then :
   9904   printf %s "(cached) " >&6
   9905 else case e in #(
   9906   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9907 /* end confdefs.h.  */
   9908 int i;
   9909 _ACEOF
   9910 if ac_fn_c_try_compile "$LINENO"
   9911 then :
   9912   xorg_cv_cc_flag_unknown_warning_option=yes
   9913 else case e in #(
   9914   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9915 esac
   9916 fi
   9917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9918 esac
   9919 fi
   9920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9921 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9922 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9923 	CFLAGS="$xorg_testset_save_CFLAGS"
   9924 fi
   9925 
   9926 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9927 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9928 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9929 	fi
   9930 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9932 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9933 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9934 then :
   9935   printf %s "(cached) " >&6
   9936 else case e in #(
   9937   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9938 /* end confdefs.h.  */
   9939 int i;
   9940 _ACEOF
   9941 if ac_fn_c_try_compile "$LINENO"
   9942 then :
   9943   xorg_cv_cc_flag_unused_command_line_argument=yes
   9944 else case e in #(
   9945   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9946 esac
   9947 fi
   9948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9949 esac
   9950 fi
   9951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9952 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9953 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9954 	CFLAGS="$xorg_testset_save_CFLAGS"
   9955 fi
   9956 
   9957 found="no"
   9958 
   9959 	if test $found = "no" ; then
   9960 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9961 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9962 		fi
   9963 
   9964 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9965 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9966 		fi
   9967 
   9968 		CFLAGS="$CFLAGS -Wsequence-point"
   9969 
   9970 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9971 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9972 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9973 		if eval test \${$cacheid+y}
   9974 then :
   9975   printf %s "(cached) " >&6
   9976 else case e in #(
   9977   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9978 /* end confdefs.h.  */
   9979 int i;
   9980 int
   9981 main (void)
   9982 {
   9983 
   9984   ;
   9985   return 0;
   9986 }
   9987 _ACEOF
   9988 if ac_fn_c_try_link "$LINENO"
   9989 then :
   9990   eval $cacheid=yes
   9991 else case e in #(
   9992   e) eval $cacheid=no ;;
   9993 esac
   9994 fi
   9995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9996     conftest$ac_exeext conftest.$ac_ext ;;
   9997 esac
   9998 fi
   9999 
   10000 
   10001 		CFLAGS="$xorg_testset_save_CFLAGS"
   10002 
   10003 		eval supported=\$$cacheid
   10004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10005 printf "%s\n" "$supported" >&6; }
   10006 		if test "$supported" = "yes" ; then
   10007 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10008 			found="yes"
   10009 		fi
   10010 	fi
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 xorg_testset_save_CFLAGS="$CFLAGS"
   10027 
   10028 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10029 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10031 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10032 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10033 then :
   10034   printf %s "(cached) " >&6
   10035 else case e in #(
   10036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10037 /* end confdefs.h.  */
   10038 int i;
   10039 _ACEOF
   10040 if ac_fn_c_try_compile "$LINENO"
   10041 then :
   10042   xorg_cv_cc_flag_unknown_warning_option=yes
   10043 else case e in #(
   10044   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10045 esac
   10046 fi
   10047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10048 esac
   10049 fi
   10050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10051 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10052 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10053 	CFLAGS="$xorg_testset_save_CFLAGS"
   10054 fi
   10055 
   10056 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10057 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10058 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10059 	fi
   10060 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10061 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10062 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10063 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10064 then :
   10065   printf %s "(cached) " >&6
   10066 else case e in #(
   10067   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10068 /* end confdefs.h.  */
   10069 int i;
   10070 _ACEOF
   10071 if ac_fn_c_try_compile "$LINENO"
   10072 then :
   10073   xorg_cv_cc_flag_unused_command_line_argument=yes
   10074 else case e in #(
   10075   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10076 esac
   10077 fi
   10078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10079 esac
   10080 fi
   10081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10082 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10084 	CFLAGS="$xorg_testset_save_CFLAGS"
   10085 fi
   10086 
   10087 found="no"
   10088 
   10089 	if test $found = "no" ; then
   10090 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10092 		fi
   10093 
   10094 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10096 		fi
   10097 
   10098 		CFLAGS="$CFLAGS -Wreturn-type"
   10099 
   10100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10101 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10102 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10103 		if eval test \${$cacheid+y}
   10104 then :
   10105   printf %s "(cached) " >&6
   10106 else case e in #(
   10107   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10108 /* end confdefs.h.  */
   10109 int i;
   10110 int
   10111 main (void)
   10112 {
   10113 
   10114   ;
   10115   return 0;
   10116 }
   10117 _ACEOF
   10118 if ac_fn_c_try_link "$LINENO"
   10119 then :
   10120   eval $cacheid=yes
   10121 else case e in #(
   10122   e) eval $cacheid=no ;;
   10123 esac
   10124 fi
   10125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10126     conftest$ac_exeext conftest.$ac_ext ;;
   10127 esac
   10128 fi
   10129 
   10130 
   10131 		CFLAGS="$xorg_testset_save_CFLAGS"
   10132 
   10133 		eval supported=\$$cacheid
   10134 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10135 printf "%s\n" "$supported" >&6; }
   10136 		if test "$supported" = "yes" ; then
   10137 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10138 			found="yes"
   10139 		fi
   10140 	fi
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 xorg_testset_save_CFLAGS="$CFLAGS"
   10157 
   10158 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10159 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10160 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10161 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10162 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10163 then :
   10164   printf %s "(cached) " >&6
   10165 else case e in #(
   10166   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10167 /* end confdefs.h.  */
   10168 int i;
   10169 _ACEOF
   10170 if ac_fn_c_try_compile "$LINENO"
   10171 then :
   10172   xorg_cv_cc_flag_unknown_warning_option=yes
   10173 else case e in #(
   10174   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10175 esac
   10176 fi
   10177 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10178 esac
   10179 fi
   10180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10181 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10182 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10183 	CFLAGS="$xorg_testset_save_CFLAGS"
   10184 fi
   10185 
   10186 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10187 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10189 	fi
   10190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10191 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10192 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10193 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10194 then :
   10195   printf %s "(cached) " >&6
   10196 else case e in #(
   10197   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10198 /* end confdefs.h.  */
   10199 int i;
   10200 _ACEOF
   10201 if ac_fn_c_try_compile "$LINENO"
   10202 then :
   10203   xorg_cv_cc_flag_unused_command_line_argument=yes
   10204 else case e in #(
   10205   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10206 esac
   10207 fi
   10208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10209 esac
   10210 fi
   10211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10212 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10214 	CFLAGS="$xorg_testset_save_CFLAGS"
   10215 fi
   10216 
   10217 found="no"
   10218 
   10219 	if test $found = "no" ; then
   10220 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10222 		fi
   10223 
   10224 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10226 		fi
   10227 
   10228 		CFLAGS="$CFLAGS -Wtrigraphs"
   10229 
   10230 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10231 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10232 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10233 		if eval test \${$cacheid+y}
   10234 then :
   10235   printf %s "(cached) " >&6
   10236 else case e in #(
   10237   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10238 /* end confdefs.h.  */
   10239 int i;
   10240 int
   10241 main (void)
   10242 {
   10243 
   10244   ;
   10245   return 0;
   10246 }
   10247 _ACEOF
   10248 if ac_fn_c_try_link "$LINENO"
   10249 then :
   10250   eval $cacheid=yes
   10251 else case e in #(
   10252   e) eval $cacheid=no ;;
   10253 esac
   10254 fi
   10255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10256     conftest$ac_exeext conftest.$ac_ext ;;
   10257 esac
   10258 fi
   10259 
   10260 
   10261 		CFLAGS="$xorg_testset_save_CFLAGS"
   10262 
   10263 		eval supported=\$$cacheid
   10264 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10265 printf "%s\n" "$supported" >&6; }
   10266 		if test "$supported" = "yes" ; then
   10267 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10268 			found="yes"
   10269 		fi
   10270 	fi
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 xorg_testset_save_CFLAGS="$CFLAGS"
   10287 
   10288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10290 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10291 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10292 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10293 then :
   10294   printf %s "(cached) " >&6
   10295 else case e in #(
   10296   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10297 /* end confdefs.h.  */
   10298 int i;
   10299 _ACEOF
   10300 if ac_fn_c_try_compile "$LINENO"
   10301 then :
   10302   xorg_cv_cc_flag_unknown_warning_option=yes
   10303 else case e in #(
   10304   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10305 esac
   10306 fi
   10307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10308 esac
   10309 fi
   10310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10311 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10313 	CFLAGS="$xorg_testset_save_CFLAGS"
   10314 fi
   10315 
   10316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10319 	fi
   10320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10321 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10322 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10323 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10324 then :
   10325   printf %s "(cached) " >&6
   10326 else case e in #(
   10327   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10328 /* end confdefs.h.  */
   10329 int i;
   10330 _ACEOF
   10331 if ac_fn_c_try_compile "$LINENO"
   10332 then :
   10333   xorg_cv_cc_flag_unused_command_line_argument=yes
   10334 else case e in #(
   10335   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10336 esac
   10337 fi
   10338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10339 esac
   10340 fi
   10341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10342 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10343 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10344 	CFLAGS="$xorg_testset_save_CFLAGS"
   10345 fi
   10346 
   10347 found="no"
   10348 
   10349 	if test $found = "no" ; then
   10350 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10352 		fi
   10353 
   10354 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10356 		fi
   10357 
   10358 		CFLAGS="$CFLAGS -Warray-bounds"
   10359 
   10360 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10361 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10362 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10363 		if eval test \${$cacheid+y}
   10364 then :
   10365   printf %s "(cached) " >&6
   10366 else case e in #(
   10367   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10368 /* end confdefs.h.  */
   10369 int i;
   10370 int
   10371 main (void)
   10372 {
   10373 
   10374   ;
   10375   return 0;
   10376 }
   10377 _ACEOF
   10378 if ac_fn_c_try_link "$LINENO"
   10379 then :
   10380   eval $cacheid=yes
   10381 else case e in #(
   10382   e) eval $cacheid=no ;;
   10383 esac
   10384 fi
   10385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10386     conftest$ac_exeext conftest.$ac_ext ;;
   10387 esac
   10388 fi
   10389 
   10390 
   10391 		CFLAGS="$xorg_testset_save_CFLAGS"
   10392 
   10393 		eval supported=\$$cacheid
   10394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10395 printf "%s\n" "$supported" >&6; }
   10396 		if test "$supported" = "yes" ; then
   10397 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10398 			found="yes"
   10399 		fi
   10400 	fi
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 xorg_testset_save_CFLAGS="$CFLAGS"
   10417 
   10418 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10419 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10420 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10421 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10422 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10423 then :
   10424   printf %s "(cached) " >&6
   10425 else case e in #(
   10426   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10427 /* end confdefs.h.  */
   10428 int i;
   10429 _ACEOF
   10430 if ac_fn_c_try_compile "$LINENO"
   10431 then :
   10432   xorg_cv_cc_flag_unknown_warning_option=yes
   10433 else case e in #(
   10434   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10435 esac
   10436 fi
   10437 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10438 esac
   10439 fi
   10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10441 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10442 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10443 	CFLAGS="$xorg_testset_save_CFLAGS"
   10444 fi
   10445 
   10446 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10447 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10448 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10449 	fi
   10450 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10451 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10452 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10453 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10454 then :
   10455   printf %s "(cached) " >&6
   10456 else case e in #(
   10457   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10458 /* end confdefs.h.  */
   10459 int i;
   10460 _ACEOF
   10461 if ac_fn_c_try_compile "$LINENO"
   10462 then :
   10463   xorg_cv_cc_flag_unused_command_line_argument=yes
   10464 else case e in #(
   10465   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10466 esac
   10467 fi
   10468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10469 esac
   10470 fi
   10471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10472 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10473 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10474 	CFLAGS="$xorg_testset_save_CFLAGS"
   10475 fi
   10476 
   10477 found="no"
   10478 
   10479 	if test $found = "no" ; then
   10480 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10481 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10482 		fi
   10483 
   10484 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10485 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10486 		fi
   10487 
   10488 		CFLAGS="$CFLAGS -Wwrite-strings"
   10489 
   10490 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10491 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10492 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10493 		if eval test \${$cacheid+y}
   10494 then :
   10495   printf %s "(cached) " >&6
   10496 else case e in #(
   10497   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10498 /* end confdefs.h.  */
   10499 int i;
   10500 int
   10501 main (void)
   10502 {
   10503 
   10504   ;
   10505   return 0;
   10506 }
   10507 _ACEOF
   10508 if ac_fn_c_try_link "$LINENO"
   10509 then :
   10510   eval $cacheid=yes
   10511 else case e in #(
   10512   e) eval $cacheid=no ;;
   10513 esac
   10514 fi
   10515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10516     conftest$ac_exeext conftest.$ac_ext ;;
   10517 esac
   10518 fi
   10519 
   10520 
   10521 		CFLAGS="$xorg_testset_save_CFLAGS"
   10522 
   10523 		eval supported=\$$cacheid
   10524 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10525 printf "%s\n" "$supported" >&6; }
   10526 		if test "$supported" = "yes" ; then
   10527 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10528 			found="yes"
   10529 		fi
   10530 	fi
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 xorg_testset_save_CFLAGS="$CFLAGS"
   10547 
   10548 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10549 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10550 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10551 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10552 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10553 then :
   10554   printf %s "(cached) " >&6
   10555 else case e in #(
   10556   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10557 /* end confdefs.h.  */
   10558 int i;
   10559 _ACEOF
   10560 if ac_fn_c_try_compile "$LINENO"
   10561 then :
   10562   xorg_cv_cc_flag_unknown_warning_option=yes
   10563 else case e in #(
   10564   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10565 esac
   10566 fi
   10567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10568 esac
   10569 fi
   10570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10571 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10572 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10573 	CFLAGS="$xorg_testset_save_CFLAGS"
   10574 fi
   10575 
   10576 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10577 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10578 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10579 	fi
   10580 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10582 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10583 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10584 then :
   10585   printf %s "(cached) " >&6
   10586 else case e in #(
   10587   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10588 /* end confdefs.h.  */
   10589 int i;
   10590 _ACEOF
   10591 if ac_fn_c_try_compile "$LINENO"
   10592 then :
   10593   xorg_cv_cc_flag_unused_command_line_argument=yes
   10594 else case e in #(
   10595   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10596 esac
   10597 fi
   10598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10599 esac
   10600 fi
   10601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10602 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10603 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10604 	CFLAGS="$xorg_testset_save_CFLAGS"
   10605 fi
   10606 
   10607 found="no"
   10608 
   10609 	if test $found = "no" ; then
   10610 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10611 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10612 		fi
   10613 
   10614 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10615 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10616 		fi
   10617 
   10618 		CFLAGS="$CFLAGS -Waddress"
   10619 
   10620 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10621 printf %s "checking if $CC supports -Waddress... " >&6; }
   10622 		cacheid=xorg_cv_cc_flag__Waddress
   10623 		if eval test \${$cacheid+y}
   10624 then :
   10625   printf %s "(cached) " >&6
   10626 else case e in #(
   10627   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10628 /* end confdefs.h.  */
   10629 int i;
   10630 int
   10631 main (void)
   10632 {
   10633 
   10634   ;
   10635   return 0;
   10636 }
   10637 _ACEOF
   10638 if ac_fn_c_try_link "$LINENO"
   10639 then :
   10640   eval $cacheid=yes
   10641 else case e in #(
   10642   e) eval $cacheid=no ;;
   10643 esac
   10644 fi
   10645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10646     conftest$ac_exeext conftest.$ac_ext ;;
   10647 esac
   10648 fi
   10649 
   10650 
   10651 		CFLAGS="$xorg_testset_save_CFLAGS"
   10652 
   10653 		eval supported=\$$cacheid
   10654 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10655 printf "%s\n" "$supported" >&6; }
   10656 		if test "$supported" = "yes" ; then
   10657 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10658 			found="yes"
   10659 		fi
   10660 	fi
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 xorg_testset_save_CFLAGS="$CFLAGS"
   10677 
   10678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10680 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10681 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10682 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10683 then :
   10684   printf %s "(cached) " >&6
   10685 else case e in #(
   10686   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10687 /* end confdefs.h.  */
   10688 int i;
   10689 _ACEOF
   10690 if ac_fn_c_try_compile "$LINENO"
   10691 then :
   10692   xorg_cv_cc_flag_unknown_warning_option=yes
   10693 else case e in #(
   10694   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10695 esac
   10696 fi
   10697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10698 esac
   10699 fi
   10700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10701 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10702 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10703 	CFLAGS="$xorg_testset_save_CFLAGS"
   10704 fi
   10705 
   10706 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10707 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10708 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10709 	fi
   10710 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10711 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10712 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10713 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10714 then :
   10715   printf %s "(cached) " >&6
   10716 else case e in #(
   10717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10718 /* end confdefs.h.  */
   10719 int i;
   10720 _ACEOF
   10721 if ac_fn_c_try_compile "$LINENO"
   10722 then :
   10723   xorg_cv_cc_flag_unused_command_line_argument=yes
   10724 else case e in #(
   10725   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10726 esac
   10727 fi
   10728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10729 esac
   10730 fi
   10731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10732 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10733 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10734 	CFLAGS="$xorg_testset_save_CFLAGS"
   10735 fi
   10736 
   10737 found="no"
   10738 
   10739 	if test $found = "no" ; then
   10740 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10742 		fi
   10743 
   10744 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10746 		fi
   10747 
   10748 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10749 
   10750 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10751 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10752 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10753 		if eval test \${$cacheid+y}
   10754 then :
   10755   printf %s "(cached) " >&6
   10756 else case e in #(
   10757   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10758 /* end confdefs.h.  */
   10759 int i;
   10760 int
   10761 main (void)
   10762 {
   10763 
   10764   ;
   10765   return 0;
   10766 }
   10767 _ACEOF
   10768 if ac_fn_c_try_link "$LINENO"
   10769 then :
   10770   eval $cacheid=yes
   10771 else case e in #(
   10772   e) eval $cacheid=no ;;
   10773 esac
   10774 fi
   10775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10776     conftest$ac_exeext conftest.$ac_ext ;;
   10777 esac
   10778 fi
   10779 
   10780 
   10781 		CFLAGS="$xorg_testset_save_CFLAGS"
   10782 
   10783 		eval supported=\$$cacheid
   10784 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10785 printf "%s\n" "$supported" >&6; }
   10786 		if test "$supported" = "yes" ; then
   10787 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10788 			found="yes"
   10789 		fi
   10790 	fi
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 xorg_testset_save_CFLAGS="$CFLAGS"
   10807 
   10808 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10809 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10810 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10811 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10812 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10813 then :
   10814   printf %s "(cached) " >&6
   10815 else case e in #(
   10816   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10817 /* end confdefs.h.  */
   10818 int i;
   10819 _ACEOF
   10820 if ac_fn_c_try_compile "$LINENO"
   10821 then :
   10822   xorg_cv_cc_flag_unknown_warning_option=yes
   10823 else case e in #(
   10824   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10825 esac
   10826 fi
   10827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10828 esac
   10829 fi
   10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10831 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10832 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10833 	CFLAGS="$xorg_testset_save_CFLAGS"
   10834 fi
   10835 
   10836 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10837 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10838 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10839 	fi
   10840 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10841 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10842 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10843 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10844 then :
   10845   printf %s "(cached) " >&6
   10846 else case e in #(
   10847   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10848 /* end confdefs.h.  */
   10849 int i;
   10850 _ACEOF
   10851 if ac_fn_c_try_compile "$LINENO"
   10852 then :
   10853   xorg_cv_cc_flag_unused_command_line_argument=yes
   10854 else case e in #(
   10855   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10856 esac
   10857 fi
   10858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10859 esac
   10860 fi
   10861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10862 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10864 	CFLAGS="$xorg_testset_save_CFLAGS"
   10865 fi
   10866 
   10867 found="no"
   10868 
   10869 	if test $found = "no" ; then
   10870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10872 		fi
   10873 
   10874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10876 		fi
   10877 
   10878 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10879 
   10880 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10881 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10882 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10883 		if eval test \${$cacheid+y}
   10884 then :
   10885   printf %s "(cached) " >&6
   10886 else case e in #(
   10887   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10888 /* end confdefs.h.  */
   10889 int i;
   10890 int
   10891 main (void)
   10892 {
   10893 
   10894   ;
   10895   return 0;
   10896 }
   10897 _ACEOF
   10898 if ac_fn_c_try_link "$LINENO"
   10899 then :
   10900   eval $cacheid=yes
   10901 else case e in #(
   10902   e) eval $cacheid=no ;;
   10903 esac
   10904 fi
   10905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10906     conftest$ac_exeext conftest.$ac_ext ;;
   10907 esac
   10908 fi
   10909 
   10910 
   10911 		CFLAGS="$xorg_testset_save_CFLAGS"
   10912 
   10913 		eval supported=\$$cacheid
   10914 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10915 printf "%s\n" "$supported" >&6; }
   10916 		if test "$supported" = "yes" ; then
   10917 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10918 			found="yes"
   10919 		fi
   10920 	fi
   10921 
   10922 
   10923 fi
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 		CWARNFLAGS="$BASE_CFLAGS"
   10932 		if  test "x$GCC" = xyes ; then
   10933 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10934 		fi
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 # Check whether --enable-strict-compilation was given.
   10944 if test ${enable_strict_compilation+y}
   10945 then :
   10946   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10947 else case e in #(
   10948   e) STRICT_COMPILE=no ;;
   10949 esac
   10950 fi
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 STRICT_CFLAGS=""
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 xorg_testset_save_CFLAGS="$CFLAGS"
   10972 
   10973 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10975 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10976 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10977 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10978 then :
   10979   printf %s "(cached) " >&6
   10980 else case e in #(
   10981   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10982 /* end confdefs.h.  */
   10983 int i;
   10984 _ACEOF
   10985 if ac_fn_c_try_compile "$LINENO"
   10986 then :
   10987   xorg_cv_cc_flag_unknown_warning_option=yes
   10988 else case e in #(
   10989   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10990 esac
   10991 fi
   10992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10993 esac
   10994 fi
   10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10996 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10997 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10998 	CFLAGS="$xorg_testset_save_CFLAGS"
   10999 fi
   11000 
   11001 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11002 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11003 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11004 	fi
   11005 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11006 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11007 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11008 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11009 then :
   11010   printf %s "(cached) " >&6
   11011 else case e in #(
   11012   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11013 /* end confdefs.h.  */
   11014 int i;
   11015 _ACEOF
   11016 if ac_fn_c_try_compile "$LINENO"
   11017 then :
   11018   xorg_cv_cc_flag_unused_command_line_argument=yes
   11019 else case e in #(
   11020   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11021 esac
   11022 fi
   11023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11024 esac
   11025 fi
   11026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11027 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11029 	CFLAGS="$xorg_testset_save_CFLAGS"
   11030 fi
   11031 
   11032 found="no"
   11033 
   11034 	if test $found = "no" ; then
   11035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11037 		fi
   11038 
   11039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11041 		fi
   11042 
   11043 		CFLAGS="$CFLAGS -pedantic"
   11044 
   11045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11046 printf %s "checking if $CC supports -pedantic... " >&6; }
   11047 		cacheid=xorg_cv_cc_flag__pedantic
   11048 		if eval test \${$cacheid+y}
   11049 then :
   11050   printf %s "(cached) " >&6
   11051 else case e in #(
   11052   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11053 /* end confdefs.h.  */
   11054 int i;
   11055 int
   11056 main (void)
   11057 {
   11058 
   11059   ;
   11060   return 0;
   11061 }
   11062 _ACEOF
   11063 if ac_fn_c_try_link "$LINENO"
   11064 then :
   11065   eval $cacheid=yes
   11066 else case e in #(
   11067   e) eval $cacheid=no ;;
   11068 esac
   11069 fi
   11070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11071     conftest$ac_exeext conftest.$ac_ext ;;
   11072 esac
   11073 fi
   11074 
   11075 
   11076 		CFLAGS="$xorg_testset_save_CFLAGS"
   11077 
   11078 		eval supported=\$$cacheid
   11079 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11080 printf "%s\n" "$supported" >&6; }
   11081 		if test "$supported" = "yes" ; then
   11082 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11083 			found="yes"
   11084 		fi
   11085 	fi
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 xorg_testset_save_CFLAGS="$CFLAGS"
   11102 
   11103 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11104 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11106 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11107 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11108 then :
   11109   printf %s "(cached) " >&6
   11110 else case e in #(
   11111   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11112 /* end confdefs.h.  */
   11113 int i;
   11114 _ACEOF
   11115 if ac_fn_c_try_compile "$LINENO"
   11116 then :
   11117   xorg_cv_cc_flag_unknown_warning_option=yes
   11118 else case e in #(
   11119   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11120 esac
   11121 fi
   11122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11123 esac
   11124 fi
   11125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11126 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11127 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11128 	CFLAGS="$xorg_testset_save_CFLAGS"
   11129 fi
   11130 
   11131 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11132 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11133 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11134 	fi
   11135 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11136 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11137 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11138 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11139 then :
   11140   printf %s "(cached) " >&6
   11141 else case e in #(
   11142   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11143 /* end confdefs.h.  */
   11144 int i;
   11145 _ACEOF
   11146 if ac_fn_c_try_compile "$LINENO"
   11147 then :
   11148   xorg_cv_cc_flag_unused_command_line_argument=yes
   11149 else case e in #(
   11150   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11151 esac
   11152 fi
   11153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11154 esac
   11155 fi
   11156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11157 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11159 	CFLAGS="$xorg_testset_save_CFLAGS"
   11160 fi
   11161 
   11162 found="no"
   11163 
   11164 	if test $found = "no" ; then
   11165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11167 		fi
   11168 
   11169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11171 		fi
   11172 
   11173 		CFLAGS="$CFLAGS -Werror"
   11174 
   11175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11176 printf %s "checking if $CC supports -Werror... " >&6; }
   11177 		cacheid=xorg_cv_cc_flag__Werror
   11178 		if eval test \${$cacheid+y}
   11179 then :
   11180   printf %s "(cached) " >&6
   11181 else case e in #(
   11182   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11183 /* end confdefs.h.  */
   11184 int i;
   11185 int
   11186 main (void)
   11187 {
   11188 
   11189   ;
   11190   return 0;
   11191 }
   11192 _ACEOF
   11193 if ac_fn_c_try_link "$LINENO"
   11194 then :
   11195   eval $cacheid=yes
   11196 else case e in #(
   11197   e) eval $cacheid=no ;;
   11198 esac
   11199 fi
   11200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11201     conftest$ac_exeext conftest.$ac_ext ;;
   11202 esac
   11203 fi
   11204 
   11205 
   11206 		CFLAGS="$xorg_testset_save_CFLAGS"
   11207 
   11208 		eval supported=\$$cacheid
   11209 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11210 printf "%s\n" "$supported" >&6; }
   11211 		if test "$supported" = "yes" ; then
   11212 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11213 			found="yes"
   11214 		fi
   11215 	fi
   11216 
   11217 	if test $found = "no" ; then
   11218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11220 		fi
   11221 
   11222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11224 		fi
   11225 
   11226 		CFLAGS="$CFLAGS -errwarn"
   11227 
   11228 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11229 printf %s "checking if $CC supports -errwarn... " >&6; }
   11230 		cacheid=xorg_cv_cc_flag__errwarn
   11231 		if eval test \${$cacheid+y}
   11232 then :
   11233   printf %s "(cached) " >&6
   11234 else case e in #(
   11235   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11236 /* end confdefs.h.  */
   11237 int i;
   11238 int
   11239 main (void)
   11240 {
   11241 
   11242   ;
   11243   return 0;
   11244 }
   11245 _ACEOF
   11246 if ac_fn_c_try_link "$LINENO"
   11247 then :
   11248   eval $cacheid=yes
   11249 else case e in #(
   11250   e) eval $cacheid=no ;;
   11251 esac
   11252 fi
   11253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11254     conftest$ac_exeext conftest.$ac_ext ;;
   11255 esac
   11256 fi
   11257 
   11258 
   11259 		CFLAGS="$xorg_testset_save_CFLAGS"
   11260 
   11261 		eval supported=\$$cacheid
   11262 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11263 printf "%s\n" "$supported" >&6; }
   11264 		if test "$supported" = "yes" ; then
   11265 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11266 			found="yes"
   11267 		fi
   11268 	fi
   11269 
   11270 
   11271 
   11272 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11273 # activate it with -Werror, so we add it here explicitly.
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 xorg_testset_save_CFLAGS="$CFLAGS"
   11288 
   11289 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11290 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11291 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11292 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11293 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11294 then :
   11295   printf %s "(cached) " >&6
   11296 else case e in #(
   11297   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11298 /* end confdefs.h.  */
   11299 int i;
   11300 _ACEOF
   11301 if ac_fn_c_try_compile "$LINENO"
   11302 then :
   11303   xorg_cv_cc_flag_unknown_warning_option=yes
   11304 else case e in #(
   11305   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11306 esac
   11307 fi
   11308 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11309 esac
   11310 fi
   11311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11312 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11313 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11314 	CFLAGS="$xorg_testset_save_CFLAGS"
   11315 fi
   11316 
   11317 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11318 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11319 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11320 	fi
   11321 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11322 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11323 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11324 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11325 then :
   11326   printf %s "(cached) " >&6
   11327 else case e in #(
   11328   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11329 /* end confdefs.h.  */
   11330 int i;
   11331 _ACEOF
   11332 if ac_fn_c_try_compile "$LINENO"
   11333 then :
   11334   xorg_cv_cc_flag_unused_command_line_argument=yes
   11335 else case e in #(
   11336   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11337 esac
   11338 fi
   11339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11340 esac
   11341 fi
   11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11343 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11344 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11345 	CFLAGS="$xorg_testset_save_CFLAGS"
   11346 fi
   11347 
   11348 found="no"
   11349 
   11350 	if test $found = "no" ; then
   11351 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11352 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11353 		fi
   11354 
   11355 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11356 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11357 		fi
   11358 
   11359 		CFLAGS="$CFLAGS -Werror=attributes"
   11360 
   11361 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11362 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11363 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11364 		if eval test \${$cacheid+y}
   11365 then :
   11366   printf %s "(cached) " >&6
   11367 else case e in #(
   11368   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11369 /* end confdefs.h.  */
   11370 int i;
   11371 int
   11372 main (void)
   11373 {
   11374 
   11375   ;
   11376   return 0;
   11377 }
   11378 _ACEOF
   11379 if ac_fn_c_try_link "$LINENO"
   11380 then :
   11381   eval $cacheid=yes
   11382 else case e in #(
   11383   e) eval $cacheid=no ;;
   11384 esac
   11385 fi
   11386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11387     conftest$ac_exeext conftest.$ac_ext ;;
   11388 esac
   11389 fi
   11390 
   11391 
   11392 		CFLAGS="$xorg_testset_save_CFLAGS"
   11393 
   11394 		eval supported=\$$cacheid
   11395 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11396 printf "%s\n" "$supported" >&6; }
   11397 		if test "$supported" = "yes" ; then
   11398 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11399 			found="yes"
   11400 		fi
   11401 	fi
   11402 
   11403 
   11404 
   11405 if test "x$STRICT_COMPILE" = "xyes"; then
   11406     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11407     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11408 fi
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 cat >>confdefs.h <<_ACEOF
   11418 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11419 _ACEOF
   11420 
   11421 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11422 	if test "x$PVM" = "x"; then
   11423 		PVM="0"
   11424 	fi
   11425 
   11426 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11427 
   11428 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11429 	if test "x$PVP" = "x"; then
   11430 		PVP="0"
   11431 	fi
   11432 
   11433 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11434 
   11435 
   11436 
   11437 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11438 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11439 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11440 touch \$(top_srcdir)/ChangeLog; \
   11441 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11442 
   11443 
   11444 
   11445 
   11446 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11447 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11448 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11449 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11450 touch \$(top_srcdir)/INSTALL; \
   11451 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 case $host_os in
   11459     solaris*)
   11460         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11461         # check for a man page file found in later versions that use
   11462         # traditional section numbers instead
   11463         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11464 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11465 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11466 then :
   11467   printf %s "(cached) " >&6
   11468 else case e in #(
   11469   e) test "$cross_compiling" = yes &&
   11470   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11471 if test -r "/usr/share/man/man7/attributes.7"; then
   11472   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11473 else
   11474   ac_cv_file__usr_share_man_man7_attributes_7=no
   11475 fi ;;
   11476 esac
   11477 fi
   11478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11479 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11480 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11481 then :
   11482   SYSV_MAN_SECTIONS=false
   11483 else case e in #(
   11484   e) SYSV_MAN_SECTIONS=true ;;
   11485 esac
   11486 fi
   11487 
   11488         ;;
   11489     *) SYSV_MAN_SECTIONS=false ;;
   11490 esac
   11491 
   11492 if test x$APP_MAN_SUFFIX = x    ; then
   11493     APP_MAN_SUFFIX=1
   11494 fi
   11495 if test x$APP_MAN_DIR = x    ; then
   11496     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11497 fi
   11498 
   11499 if test x$LIB_MAN_SUFFIX = x    ; then
   11500     LIB_MAN_SUFFIX=3
   11501 fi
   11502 if test x$LIB_MAN_DIR = x    ; then
   11503     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11504 fi
   11505 
   11506 if test x$FILE_MAN_SUFFIX = x    ; then
   11507     case $SYSV_MAN_SECTIONS in
   11508 	true)				FILE_MAN_SUFFIX=4  ;;
   11509 	*)				FILE_MAN_SUFFIX=5  ;;
   11510     esac
   11511 fi
   11512 if test x$FILE_MAN_DIR = x    ; then
   11513     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11514 fi
   11515 
   11516 if test x$MISC_MAN_SUFFIX = x    ; then
   11517     case $SYSV_MAN_SECTIONS in
   11518 	true)				MISC_MAN_SUFFIX=5  ;;
   11519 	*)				MISC_MAN_SUFFIX=7  ;;
   11520     esac
   11521 fi
   11522 if test x$MISC_MAN_DIR = x    ; then
   11523     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11524 fi
   11525 
   11526 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11527     case $SYSV_MAN_SECTIONS in
   11528 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11529 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11530     esac
   11531 fi
   11532 if test x$DRIVER_MAN_DIR = x    ; then
   11533     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11534 fi
   11535 
   11536 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11537     case $SYSV_MAN_SECTIONS in
   11538 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11539 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11540     esac
   11541 fi
   11542 if test x$ADMIN_MAN_DIR = x    ; then
   11543     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11544 fi
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 XORG_MAN_PAGE="X Version 11"
   11561 
   11562 MAN_SUBSTS="\
   11563 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11564 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11565 	-e 's|__xservername__|Xorg|g' \
   11566 	-e 's|__xconfigfile__|xorg.conf|g' \
   11567 	-e 's|__projectroot__|\$(prefix)|g' \
   11568 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11569 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11570 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11571 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11572 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11573 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11574 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11575 
   11576 
   11577 
   11578 # Check whether --enable-silent-rules was given.
   11579 if test ${enable_silent_rules+y}
   11580 then :
   11581   enableval=$enable_silent_rules;
   11582 fi
   11583 
   11584 case $enable_silent_rules in # (((
   11585   yes) AM_DEFAULT_VERBOSITY=0;;
   11586    no) AM_DEFAULT_VERBOSITY=1;;
   11587     *) AM_DEFAULT_VERBOSITY=0;;
   11588 esac
   11589 am_make=${MAKE-make}
   11590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11591 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11592 if test ${am_cv_make_support_nested_variables+y}
   11593 then :
   11594   printf %s "(cached) " >&6
   11595 else case e in #(
   11596   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   11597 BAR0=false
   11598 BAR1=true
   11599 V=1
   11600 am__doit:
   11601 	@$(TRUE)
   11602 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11603   am_cv_make_support_nested_variables=yes
   11604 else
   11605   am_cv_make_support_nested_variables=no
   11606 fi ;;
   11607 esac
   11608 fi
   11609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11610 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11611 if test $am_cv_make_support_nested_variables = yes; then
   11612     AM_V='$(V)'
   11613   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11614 else
   11615   AM_V=$AM_DEFAULT_VERBOSITY
   11616   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11617 fi
   11618 AM_BACKSLASH='\'
   11619 
   11620 
   11621 
   11622 
   11623 ac_ext=c
   11624 ac_cpp='$CPP $CPPFLAGS'
   11625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   11629 printf %s "checking how to run the C preprocessor... " >&6; }
   11630 # On Suns, sometimes $CPP names a directory.
   11631 if test -n "$CPP" && test -d "$CPP"; then
   11632   CPP=
   11633 fi
   11634 if test -z "$CPP"; then
   11635   if test ${ac_cv_prog_CPP+y}
   11636 then :
   11637   printf %s "(cached) " >&6
   11638 else case e in #(
   11639   e)     # Double quotes because $CC needs to be expanded
   11640     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   11641     do
   11642       ac_preproc_ok=false
   11643 for ac_c_preproc_warn_flag in '' yes
   11644 do
   11645   # Use a header file that comes with gcc, so configuring glibc
   11646   # with a fresh cross-compiler works.
   11647   # On the NeXT, cc -E runs the code through the compiler's parser,
   11648   # not just through cpp. "Syntax error" is here to catch this case.
   11649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11650 /* end confdefs.h.  */
   11651 #include <limits.h>
   11652 		     Syntax error
   11653 _ACEOF
   11654 if ac_fn_c_try_cpp "$LINENO"
   11655 then :
   11656 
   11657 else case e in #(
   11658   e) # Broken: fails on valid input.
   11659 continue ;;
   11660 esac
   11661 fi
   11662 rm -f conftest.err conftest.i conftest.$ac_ext
   11663 
   11664   # OK, works on sane cases.  Now check whether nonexistent headers
   11665   # can be detected and how.
   11666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11667 /* end confdefs.h.  */
   11668 #include <ac_nonexistent.h>
   11669 _ACEOF
   11670 if ac_fn_c_try_cpp "$LINENO"
   11671 then :
   11672   # Broken: success on invalid input.
   11673 continue
   11674 else case e in #(
   11675   e) # Passes both tests.
   11676 ac_preproc_ok=:
   11677 break ;;
   11678 esac
   11679 fi
   11680 rm -f conftest.err conftest.i conftest.$ac_ext
   11681 
   11682 done
   11683 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   11684 rm -f conftest.i conftest.err conftest.$ac_ext
   11685 if $ac_preproc_ok
   11686 then :
   11687   break
   11688 fi
   11689 
   11690     done
   11691     ac_cv_prog_CPP=$CPP
   11692    ;;
   11693 esac
   11694 fi
   11695   CPP=$ac_cv_prog_CPP
   11696 else
   11697   ac_cv_prog_CPP=$CPP
   11698 fi
   11699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   11700 printf "%s\n" "$CPP" >&6; }
   11701 ac_preproc_ok=false
   11702 for ac_c_preproc_warn_flag in '' yes
   11703 do
   11704   # Use a header file that comes with gcc, so configuring glibc
   11705   # with a fresh cross-compiler works.
   11706   # On the NeXT, cc -E runs the code through the compiler's parser,
   11707   # not just through cpp. "Syntax error" is here to catch this case.
   11708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11709 /* end confdefs.h.  */
   11710 #include <limits.h>
   11711 		     Syntax error
   11712 _ACEOF
   11713 if ac_fn_c_try_cpp "$LINENO"
   11714 then :
   11715 
   11716 else case e in #(
   11717   e) # Broken: fails on valid input.
   11718 continue ;;
   11719 esac
   11720 fi
   11721 rm -f conftest.err conftest.i conftest.$ac_ext
   11722 
   11723   # OK, works on sane cases.  Now check whether nonexistent headers
   11724   # can be detected and how.
   11725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11726 /* end confdefs.h.  */
   11727 #include <ac_nonexistent.h>
   11728 _ACEOF
   11729 if ac_fn_c_try_cpp "$LINENO"
   11730 then :
   11731   # Broken: success on invalid input.
   11732 continue
   11733 else case e in #(
   11734   e) # Passes both tests.
   11735 ac_preproc_ok=:
   11736 break ;;
   11737 esac
   11738 fi
   11739 rm -f conftest.err conftest.i conftest.$ac_ext
   11740 
   11741 done
   11742 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   11743 rm -f conftest.i conftest.err conftest.$ac_ext
   11744 if $ac_preproc_ok
   11745 then :
   11746 
   11747 else case e in #(
   11748   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11749 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11750 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   11751 See 'config.log' for more details" "$LINENO" 5; } ;;
   11752 esac
   11753 fi
   11754 
   11755 ac_ext=c
   11756 ac_cpp='$CPP $CPPFLAGS'
   11757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11760 
   11761 
   11762 
   11763 if test -n "$ac_tool_prefix"; then
   11764   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
   11765 set dummy ${ac_tool_prefix}cpp; ac_word=$2
   11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11767 printf %s "checking for $ac_word... " >&6; }
   11768 if test ${ac_cv_path_RAWCPP+y}
   11769 then :
   11770   printf %s "(cached) " >&6
   11771 else case e in #(
   11772   e) case $RAWCPP in
   11773   [\\/]* | ?:[\\/]*)
   11774   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   11775   ;;
   11776   *)
   11777   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11778 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   11779 for as_dir in $as_dummy
   11780 do
   11781   IFS=$as_save_IFS
   11782   case $as_dir in #(((
   11783     '') as_dir=./ ;;
   11784     */) ;;
   11785     *) as_dir=$as_dir/ ;;
   11786   esac
   11787     for ac_exec_ext in '' $ac_executable_extensions; do
   11788   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11789     ac_cv_path_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   11790     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11791     break 2
   11792   fi
   11793 done
   11794   done
   11795 IFS=$as_save_IFS
   11796 
   11797   ;;
   11798 esac ;;
   11799 esac
   11800 fi
   11801 RAWCPP=$ac_cv_path_RAWCPP
   11802 if test -n "$RAWCPP"; then
   11803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   11804 printf "%s\n" "$RAWCPP" >&6; }
   11805 else
   11806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11807 printf "%s\n" "no" >&6; }
   11808 fi
   11809 
   11810 
   11811 fi
   11812 if test -z "$ac_cv_path_RAWCPP"; then
   11813   ac_pt_RAWCPP=$RAWCPP
   11814   # Extract the first word of "cpp", so it can be a program name with args.
   11815 set dummy cpp; ac_word=$2
   11816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11817 printf %s "checking for $ac_word... " >&6; }
   11818 if test ${ac_cv_path_ac_pt_RAWCPP+y}
   11819 then :
   11820   printf %s "(cached) " >&6
   11821 else case e in #(
   11822   e) case $ac_pt_RAWCPP in
   11823   [\\/]* | ?:[\\/]*)
   11824   ac_cv_path_ac_pt_RAWCPP="$ac_pt_RAWCPP" # Let the user override the test with a path.
   11825   ;;
   11826   *)
   11827   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11828 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   11829 for as_dir in $as_dummy
   11830 do
   11831   IFS=$as_save_IFS
   11832   case $as_dir in #(((
   11833     '') as_dir=./ ;;
   11834     */) ;;
   11835     *) as_dir=$as_dir/ ;;
   11836   esac
   11837     for ac_exec_ext in '' $ac_executable_extensions; do
   11838   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11839     ac_cv_path_ac_pt_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   11840     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11841     break 2
   11842   fi
   11843 done
   11844   done
   11845 IFS=$as_save_IFS
   11846 
   11847   ;;
   11848 esac ;;
   11849 esac
   11850 fi
   11851 ac_pt_RAWCPP=$ac_cv_path_ac_pt_RAWCPP
   11852 if test -n "$ac_pt_RAWCPP"; then
   11853   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_RAWCPP" >&5
   11854 printf "%s\n" "$ac_pt_RAWCPP" >&6; }
   11855 else
   11856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11857 printf "%s\n" "no" >&6; }
   11858 fi
   11859 
   11860   if test "x$ac_pt_RAWCPP" = x; then
   11861     RAWCPP="${CPP}"
   11862   else
   11863     case $cross_compiling:$ac_tool_warned in
   11864 yes:)
   11865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11866 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11867 ac_tool_warned=yes ;;
   11868 esac
   11869     RAWCPP=$ac_pt_RAWCPP
   11870   fi
   11871 else
   11872   RAWCPP="$ac_cv_path_RAWCPP"
   11873 fi
   11874 
   11875 
   11876 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   11877 # which is not the best choice for supporting other OS'es, but covers most
   11878 # of the ones we need for now.
   11879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   11880 printf %s "checking if $RAWCPP requires -undef... " >&6; }
   11881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11882 /* end confdefs.h.  */
   11883 Does cpp redefine unix ?
   11884 _ACEOF
   11885 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   11886 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11887 printf "%s\n" "no" >&6; }
   11888 else
   11889 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   11890 		RAWCPPFLAGS=-undef
   11891 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11892 printf "%s\n" "yes" >&6; }
   11893 	# under Cygwin unix is still defined even with -undef
   11894 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   11895 		RAWCPPFLAGS="-undef -ansi"
   11896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   11897 printf "%s\n" "yes, with -ansi" >&6; }
   11898 	else
   11899 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   11900 	fi
   11901 fi
   11902 rm -f conftest.$ac_ext
   11903 
   11904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   11905 printf %s "checking if $RAWCPP requires -traditional... " >&6; }
   11906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11907 /* end confdefs.h.  */
   11908 Does cpp preserve   "whitespace"?
   11909 _ACEOF
   11910 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   11911 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11912 printf "%s\n" "no" >&6; }
   11913 else
   11914 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   11915 		TRADITIONALCPPFLAGS="-traditional"
   11916 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   11917 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11918 printf "%s\n" "yes" >&6; }
   11919 	else
   11920 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   11921 	fi
   11922 fi
   11923 rm -f conftest.$ac_ext
   11924 
   11925 
   11926 
   11927 CPP_PROGRAM=${RAWCPP}
   11928 
   11929 
   11930 # Checks for library functions.
   11931 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   11932 if test "x$ac_cv_func_mkstemp" = xyes
   11933 then :
   11934   printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
   11935 
   11936 fi
   11937 
   11938 
   11939 # Checks for typedefs, structures, and compiler characteristics.
   11940 # Check whether --enable-largefile was given.
   11941 if test ${enable_largefile+y}
   11942 then :
   11943   enableval=$enable_largefile;
   11944 fi
   11945 if test "$enable_largefile,$enable_year2038" != no,no
   11946 then :
   11947   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   11948 printf %s "checking for $CC option to enable large file support... " >&6; }
   11949 if test ${ac_cv_sys_largefile_opts+y}
   11950 then :
   11951   printf %s "(cached) " >&6
   11952 else case e in #(
   11953   e) ac_save_CC="$CC"
   11954   ac_opt_found=no
   11955   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   11956     if test x"$ac_opt" != x"none needed"
   11957 then :
   11958   CC="$ac_save_CC $ac_opt"
   11959 fi
   11960     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11961 /* end confdefs.h.  */
   11962 #include <sys/types.h>
   11963 #ifndef FTYPE
   11964 # define FTYPE off_t
   11965 #endif
   11966  /* Check that FTYPE can represent 2**63 - 1 correctly.
   11967     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   11968     since some C++ compilers masquerading as C compilers
   11969     incorrectly reject 9223372036854775807.  */
   11970 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   11971   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   11972 		       && LARGE_FTYPE % 2147483647 == 1)
   11973 		      ? 1 : -1];
   11974 int
   11975 main (void)
   11976 {
   11977 
   11978   ;
   11979   return 0;
   11980 }
   11981 _ACEOF
   11982 if ac_fn_c_try_compile "$LINENO"
   11983 then :
   11984   if test x"$ac_opt" = x"none needed"
   11985 then :
   11986   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   11987 	 CC="$CC -DFTYPE=ino_t"
   11988 	 if ac_fn_c_try_compile "$LINENO"
   11989 then :
   11990 
   11991 else case e in #(
   11992   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   11993 	    if ac_fn_c_try_compile "$LINENO"
   11994 then :
   11995   ac_opt='-D_FILE_OFFSET_BITS=64'
   11996 fi
   11997 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   11998 esac
   11999 fi
   12000 rm -f core conftest.err conftest.$ac_objext conftest.beam
   12001 fi
   12002       ac_cv_sys_largefile_opts=$ac_opt
   12003       ac_opt_found=yes
   12004 fi
   12005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12006     test $ac_opt_found = no || break
   12007   done
   12008   CC="$ac_save_CC"
   12009 
   12010   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   12011 esac
   12012 fi
   12013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   12014 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   12015 
   12016 ac_have_largefile=yes
   12017 case $ac_cv_sys_largefile_opts in #(
   12018   "none needed") :
   12019      ;; #(
   12020   "supported through gnulib") :
   12021      ;; #(
   12022   "support not detected") :
   12023     ac_have_largefile=no ;; #(
   12024   "-D_FILE_OFFSET_BITS=64") :
   12025 
   12026 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   12027  ;; #(
   12028   "-D_LARGE_FILES=1") :
   12029 
   12030 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   12031  ;; #(
   12032   "-n32") :
   12033     CC="$CC -n32" ;; #(
   12034   *) :
   12035     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   12036 esac
   12037 
   12038 if test "$enable_year2038" != no
   12039 then :
   12040   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   12041 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   12042 if test ${ac_cv_sys_year2038_opts+y}
   12043 then :
   12044   printf %s "(cached) " >&6
   12045 else case e in #(
   12046   e) ac_save_CPPFLAGS="$CPPFLAGS"
   12047   ac_opt_found=no
   12048   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
   12049     if test x"$ac_opt" != x"none needed"
   12050 then :
   12051   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   12052 fi
   12053     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12054 /* end confdefs.h.  */
   12055 
   12056   #include <time.h>
   12057   /* Check that time_t can represent 2**32 - 1 correctly.  */
   12058   #define LARGE_TIME_T \\
   12059     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   12060   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   12061                            && LARGE_TIME_T % 65537 == 0)
   12062                           ? 1 : -1];
   12063 
   12064 int
   12065 main (void)
   12066 {
   12067 
   12068   ;
   12069   return 0;
   12070 }
   12071 _ACEOF
   12072 if ac_fn_c_try_compile "$LINENO"
   12073 then :
   12074   ac_cv_sys_year2038_opts="$ac_opt"
   12075       ac_opt_found=yes
   12076 fi
   12077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12078     test $ac_opt_found = no || break
   12079   done
   12080   CPPFLAGS="$ac_save_CPPFLAGS"
   12081   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   12082 esac
   12083 fi
   12084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   12085 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   12086 
   12087 ac_have_year2038=yes
   12088 case $ac_cv_sys_year2038_opts in #(
   12089   "none needed") :
   12090      ;; #(
   12091   "support not detected") :
   12092     ac_have_year2038=no ;; #(
   12093   "-D_TIME_BITS=64") :
   12094 
   12095 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   12096  ;; #(
   12097   "-D__MINGW_USE_VC2005_COMPAT") :
   12098 
   12099 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   12100  ;; #(
   12101   "-U_USE_32_BIT_TIME_T"*) :
   12102     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12103 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12104 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   12105 will stop working after mid-January 2038. Remove
   12106 _USE_32BIT_TIME_T from the compiler flags.
   12107 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   12108   *) :
   12109     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   12110 esac
   12111 
   12112 fi
   12113 
   12114 fi
   12115 
   12116 # Extract the first word of "perl", so it can be a program name with args.
   12117 set dummy perl; ac_word=$2
   12118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12119 printf %s "checking for $ac_word... " >&6; }
   12120 if test ${ac_cv_prog_HAS_PERL+y}
   12121 then :
   12122   printf %s "(cached) " >&6
   12123 else case e in #(
   12124   e) if test -n "$HAS_PERL"; then
   12125   ac_cv_prog_HAS_PERL="$HAS_PERL" # Let the user override the test.
   12126 else
   12127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12128 for as_dir in $PATH
   12129 do
   12130   IFS=$as_save_IFS
   12131   case $as_dir in #(((
   12132     '') as_dir=./ ;;
   12133     */) ;;
   12134     *) as_dir=$as_dir/ ;;
   12135   esac
   12136     for ac_exec_ext in '' $ac_executable_extensions; do
   12137   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12138     ac_cv_prog_HAS_PERL="yes"
   12139     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12140     break 2
   12141   fi
   12142 done
   12143   done
   12144 IFS=$as_save_IFS
   12145 
   12146 fi ;;
   12147 esac
   12148 fi
   12149 HAS_PERL=$ac_cv_prog_HAS_PERL
   12150 if test -n "$HAS_PERL"; then
   12151   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAS_PERL" >&5
   12152 printf "%s\n" "$HAS_PERL" >&6; }
   12153 else
   12154   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12155 printf "%s\n" "no" >&6; }
   12156 fi
   12157 
   12158 
   12159  if test "x$HAS_PERL" = xyes; then
   12160   HAS_PERL_TRUE=
   12161   HAS_PERL_FALSE='#'
   12162 else
   12163   HAS_PERL_TRUE='#'
   12164   HAS_PERL_FALSE=
   12165 fi
   12166 
   12167 
   12168 
   12169 
   12170 DEFAULT_XCONFDIR="${libdir}/X11/config"
   12171 
   12172 # Check whether --with-config-dir was given.
   12173 if test ${with_config_dir+y}
   12174 then :
   12175   withval=$with_config_dir; XCONFDIR="$withval"
   12176 else case e in #(
   12177   e) XCONFDIR="$DEFAULT_XCONFDIR" ;;
   12178 esac
   12179 fi
   12180 
   12181 
   12182 
   12183 DEFAULT_PREPROCESSCMD_MKDEPEND="gcc -E"
   12184 
   12185 # Check whether --with-script-preproc-cmd was given.
   12186 if test ${with_script_preproc_cmd+y}
   12187 then :
   12188   withval=$with_script_preproc_cmd; PREPROCESSCMD_MKDEPEND="$withval"
   12189 else case e in #(
   12190   e) PREPROCESSCMD_MKDEPEND="$DEFAULT_PREPROCESSCMD_MKDEPEND" ;;
   12191 esac
   12192 fi
   12193 
   12194 
   12195 
   12196 DEFAULT_ARCMD="ar clq"
   12197 
   12198 # Check whether --with-create-lib-cmd was given.
   12199 if test ${with_create_lib_cmd+y}
   12200 then :
   12201   withval=$with_create_lib_cmd; ARCMD="$withval"
   12202 else case e in #(
   12203   e) ARCMD="$DEFAULT_ARCMD" ;;
   12204 esac
   12205 fi
   12206 
   12207 
   12208 
   12209 DEFAULT_RANLIB="ranlib"
   12210 
   12211 # Check whether --with-clean-lib-cmd was given.
   12212 if test ${with_clean_lib_cmd+y}
   12213 then :
   12214   withval=$with_clean_lib_cmd; RANLIB="$withval"
   12215 else case e in #(
   12216   e) RANLIB="$DEFAULT_RANLIB" ;;
   12217 esac
   12218 fi
   12219 
   12220 
   12221 
   12222 # Check whether --enable-revpath was given.
   12223 if test ${enable_revpath+y}
   12224 then :
   12225   enableval=$enable_revpath; BUILD_REVPATH="$enableval"
   12226 else case e in #(
   12227   e) BUILD_REVPATH=yes ;;
   12228 esac
   12229 fi
   12230 
   12231  if test "x$BUILD_REVPATH" = xyes; then
   12232   BUILD_REVPATH_TRUE=
   12233   BUILD_REVPATH_FALSE='#'
   12234 else
   12235   BUILD_REVPATH_TRUE='#'
   12236   BUILD_REVPATH_FALSE=
   12237 fi
   12238 
   12239 
   12240 # Check whether --enable-makeg was given.
   12241 if test ${enable_makeg+y}
   12242 then :
   12243   enableval=$enable_makeg; BUILD_MAKEG="$enableval"
   12244 else case e in #(
   12245   e) BUILD_MAKEG=yes ;;
   12246 esac
   12247 fi
   12248 
   12249  if test "x$BUILD_MAKEG" = xyes; then
   12250   BUILD_MAKEG_TRUE=
   12251   BUILD_MAKEG_FALSE='#'
   12252 else
   12253   BUILD_MAKEG_TRUE='#'
   12254   BUILD_MAKEG_FALSE=
   12255 fi
   12256 
   12257 
   12258 # Check whether --enable-xmkmf was given.
   12259 if test ${enable_xmkmf+y}
   12260 then :
   12261   enableval=$enable_xmkmf; BUILD_XMKMF="$enableval"
   12262 else case e in #(
   12263   e) BUILD_XMKMF=yes ;;
   12264 esac
   12265 fi
   12266 
   12267  if test "x$BUILD_XMKMF" = xyes; then
   12268   BUILD_XMKMF_TRUE=
   12269   BUILD_XMKMF_FALSE='#'
   12270 else
   12271   BUILD_XMKMF_TRUE='#'
   12272   BUILD_XMKMF_FALSE=
   12273 fi
   12274 
   12275 
   12276 # Check whether --enable-ccmakedep was given.
   12277 if test ${enable_ccmakedep+y}
   12278 then :
   12279   enableval=$enable_ccmakedep; BUILD_CCMAKEDEP="$enableval"
   12280 else case e in #(
   12281   e) BUILD_CCMAKEDEP=yes ;;
   12282 esac
   12283 fi
   12284 
   12285  if test "x$BUILD_CCMAKEDEP" = xyes; then
   12286   BUILD_CCMAKEDEP_TRUE=
   12287   BUILD_CCMAKEDEP_FALSE='#'
   12288 else
   12289   BUILD_CCMAKEDEP_TRUE='#'
   12290   BUILD_CCMAKEDEP_FALSE=
   12291 fi
   12292 
   12293 
   12294 # Check whether --enable-mergelib was given.
   12295 if test ${enable_mergelib+y}
   12296 then :
   12297   enableval=$enable_mergelib; BUILD_MERGELIB="$enableval"
   12298 else case e in #(
   12299   e) BUILD_MERGELIB=yes ;;
   12300 esac
   12301 fi
   12302 
   12303  if test "x$BUILD_MERGELIB" = xyes; then
   12304   BUILD_MERGELIB_TRUE=
   12305   BUILD_MERGELIB_FALSE='#'
   12306 else
   12307   BUILD_MERGELIB_TRUE='#'
   12308   BUILD_MERGELIB_FALSE=
   12309 fi
   12310 
   12311 
   12312 # Check whether --enable-mkdirhier was given.
   12313 if test ${enable_mkdirhier+y}
   12314 then :
   12315   enableval=$enable_mkdirhier; BUILD_MKDIRHIER="$enableval"
   12316 else case e in #(
   12317   e) BUILD_MKDIRHIER=yes ;;
   12318 esac
   12319 fi
   12320 
   12321  if test "x$BUILD_MKDIRHIER" = xyes; then
   12322   BUILD_MKDIRHIER_TRUE=
   12323   BUILD_MKDIRHIER_FALSE='#'
   12324 else
   12325   BUILD_MKDIRHIER_TRUE='#'
   12326   BUILD_MKDIRHIER_FALSE=
   12327 fi
   12328 
   12329 
   12330 # Check whether --enable-cleanlinks was given.
   12331 if test ${enable_cleanlinks+y}
   12332 then :
   12333   enableval=$enable_cleanlinks; BUILD_CLEANLINKS="$enableval"
   12334 else case e in #(
   12335   e) BUILD_CLEANLINKS=yes ;;
   12336 esac
   12337 fi
   12338 
   12339  if test "x$BUILD_CLEANLINKS" = xyes; then
   12340   BUILD_CLEANLINKS_TRUE=
   12341   BUILD_CLEANLINKS_FALSE='#'
   12342 else
   12343   BUILD_CLEANLINKS_TRUE='#'
   12344   BUILD_CLEANLINKS_FALSE=
   12345 fi
   12346 
   12347 
   12348 # Check whether --enable-mkhtmlindex was given.
   12349 if test ${enable_mkhtmlindex+y}
   12350 then :
   12351   enableval=$enable_mkhtmlindex; BUILD_MKHTMLINDEX="$enableval"
   12352 else case e in #(
   12353   e) BUILD_MKHTMLINDEX=yes ;;
   12354 esac
   12355 fi
   12356 
   12357  if test "x$BUILD_MKHTMLINDEX" = xyes; then
   12358   BUILD_MKHTMLINDEX_TRUE=
   12359   BUILD_MKHTMLINDEX_FALSE='#'
   12360 else
   12361   BUILD_MKHTMLINDEX_TRUE='#'
   12362   BUILD_MKHTMLINDEX_FALSE=
   12363 fi
   12364 
   12365 
   12366 # Checks for pkg-config packages
   12367 
   12368 pkg_failed=no
   12369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XPROTO" >&5
   12370 printf %s "checking for XPROTO... " >&6; }
   12371 
   12372 if test -n "$XPROTO_CFLAGS"; then
   12373     pkg_cv_XPROTO_CFLAGS="$XPROTO_CFLAGS"
   12374  elif test -n "$PKG_CONFIG"; then
   12375     if test -n "$PKG_CONFIG" && \
   12376     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   12377   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   12378   ac_status=$?
   12379   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12380   test $ac_status = 0; }; then
   12381   pkg_cv_XPROTO_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   12382 		      test "x$?" != "x0" && pkg_failed=yes
   12383 else
   12384   pkg_failed=yes
   12385 fi
   12386  else
   12387     pkg_failed=untried
   12388 fi
   12389 if test -n "$XPROTO_LIBS"; then
   12390     pkg_cv_XPROTO_LIBS="$XPROTO_LIBS"
   12391  elif test -n "$PKG_CONFIG"; then
   12392     if test -n "$PKG_CONFIG" && \
   12393     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   12394   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   12395   ac_status=$?
   12396   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12397   test $ac_status = 0; }; then
   12398   pkg_cv_XPROTO_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   12399 		      test "x$?" != "x0" && pkg_failed=yes
   12400 else
   12401   pkg_failed=yes
   12402 fi
   12403  else
   12404     pkg_failed=untried
   12405 fi
   12406 
   12407 
   12408 
   12409 if test $pkg_failed = yes; then
   12410    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12411 printf "%s\n" "no" >&6; }
   12412 
   12413 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12414         _pkg_short_errors_supported=yes
   12415 else
   12416         _pkg_short_errors_supported=no
   12417 fi
   12418         if test $_pkg_short_errors_supported = yes; then
   12419 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto" 2>&1`
   12420         else
   12421 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto" 2>&1`
   12422         fi
   12423 	# Put the nasty error message in config.log where it belongs
   12424 	echo "$XPROTO_PKG_ERRORS" >&5
   12425 
   12426 	as_fn_error $? "Package requirements (xproto) were not met:
   12427 
   12428 $XPROTO_PKG_ERRORS
   12429 
   12430 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12431 installed software in a non-standard prefix.
   12432 
   12433 Alternatively, you may set the environment variables XPROTO_CFLAGS
   12434 and XPROTO_LIBS to avoid the need to call pkg-config.
   12435 See the pkg-config man page for more details." "$LINENO" 5
   12436 elif test $pkg_failed = untried; then
   12437      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12438 printf "%s\n" "no" >&6; }
   12439 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12440 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12441 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12442 is in your PATH or set the PKG_CONFIG environment variable to the full
   12443 path to pkg-config.
   12444 
   12445 Alternatively, you may set the environment variables XPROTO_CFLAGS
   12446 and XPROTO_LIBS to avoid the need to call pkg-config.
   12447 See the pkg-config man page for more details.
   12448 
   12449 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12450 See 'config.log' for more details" "$LINENO" 5; }
   12451 else
   12452 	XPROTO_CFLAGS=$pkg_cv_XPROTO_CFLAGS
   12453 	XPROTO_LIBS=$pkg_cv_XPROTO_LIBS
   12454         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12455 printf "%s\n" "yes" >&6; }
   12456 
   12457 fi
   12458 
   12459 ac_config_files="$ac_config_files Makefile"
   12460 
   12461 cat >confcache <<\_ACEOF
   12462 # This file is a shell script that caches the results of configure
   12463 # tests run on this system so they can be shared between configure
   12464 # scripts and configure runs, see configure's option --config-cache.
   12465 # It is not useful on other systems.  If it contains results you don't
   12466 # want to keep, you may remove or edit it.
   12467 #
   12468 # config.status only pays attention to the cache file if you give it
   12469 # the --recheck option to rerun configure.
   12470 #
   12471 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12472 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12473 # following values.
   12474 
   12475 _ACEOF
   12476 
   12477 # The following way of writing the cache mishandles newlines in values,
   12478 # but we know of no workaround that is simple, portable, and efficient.
   12479 # So, we kill variables containing newlines.
   12480 # Ultrix sh set writes to stderr and can't be redirected directly,
   12481 # and sets the high bit in the cache file unless we assign to the vars.
   12482 (
   12483   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12484     eval ac_val=\$$ac_var
   12485     case $ac_val in #(
   12486     *${as_nl}*)
   12487       case $ac_var in #(
   12488       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12489 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12490       esac
   12491       case $ac_var in #(
   12492       _ | IFS | as_nl) ;; #(
   12493       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12494       *) { eval $ac_var=; unset $ac_var;} ;;
   12495       esac ;;
   12496     esac
   12497   done
   12498 
   12499   (set) 2>&1 |
   12500     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12501     *${as_nl}ac_space=\ *)
   12502       # 'set' does not quote correctly, so add quotes: double-quote
   12503       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12504       sed -n \
   12505 	"s/'/'\\\\''/g;
   12506 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12507       ;; #(
   12508     *)
   12509       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   12510       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12511       ;;
   12512     esac |
   12513     sort
   12514 ) |
   12515   sed '
   12516      /^ac_cv_env_/b end
   12517      t clear
   12518      :clear
   12519      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12520      t end
   12521      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12522      :end' >>confcache
   12523 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12524   if test -w "$cache_file"; then
   12525     if test "x$cache_file" != "x/dev/null"; then
   12526       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12527 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   12528       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12529 	cat confcache >"$cache_file"
   12530       else
   12531         case $cache_file in #(
   12532         */* | ?:*)
   12533 	  mv -f confcache "$cache_file"$$ &&
   12534 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12535         *)
   12536 	  mv -f confcache "$cache_file" ;;
   12537 	esac
   12538       fi
   12539     fi
   12540   else
   12541     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12542 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   12543   fi
   12544 fi
   12545 rm -f confcache
   12546 
   12547 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12548 # Let make expand exec_prefix.
   12549 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12550 
   12551 DEFS=-DHAVE_CONFIG_H
   12552 
   12553 ac_libobjs=
   12554 ac_ltlibobjs=
   12555 U=
   12556 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12557   # 1. Remove the extension, and $U if already installed.
   12558   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12559   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12560   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12561   #    will be set to the directory where LIBOBJS objects are built.
   12562   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12563   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12564 done
   12565 LIBOBJS=$ac_libobjs
   12566 
   12567 LTLIBOBJS=$ac_ltlibobjs
   12568 
   12569 
   12570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12571 printf %s "checking that generated files are newer than configure... " >&6; }
   12572    if test -n "$am_sleep_pid"; then
   12573      # Hide warnings about reused PIDs.
   12574      wait $am_sleep_pid 2>/dev/null
   12575    fi
   12576    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12577 printf "%s\n" "done" >&6; }
   12578  if test -n "$EXEEXT"; then
   12579   am__EXEEXT_TRUE=
   12580   am__EXEEXT_FALSE='#'
   12581 else
   12582   am__EXEEXT_TRUE='#'
   12583   am__EXEEXT_FALSE=
   12584 fi
   12585 
   12586 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12587   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12589 fi
   12590 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12591   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12593 fi
   12594 # Check whether --enable-year2038 was given.
   12595 if test ${enable_year2038+y}
   12596 then :
   12597   enableval=$enable_year2038;
   12598 fi
   12599 
   12600 if test -z "${HAS_PERL_TRUE}" && test -z "${HAS_PERL_FALSE}"; then
   12601   as_fn_error $? "conditional \"HAS_PERL\" was never defined.
   12602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12603 fi
   12604 if test -z "${BUILD_REVPATH_TRUE}" && test -z "${BUILD_REVPATH_FALSE}"; then
   12605   as_fn_error $? "conditional \"BUILD_REVPATH\" was never defined.
   12606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12607 fi
   12608 if test -z "${BUILD_MAKEG_TRUE}" && test -z "${BUILD_MAKEG_FALSE}"; then
   12609   as_fn_error $? "conditional \"BUILD_MAKEG\" was never defined.
   12610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12611 fi
   12612 if test -z "${BUILD_XMKMF_TRUE}" && test -z "${BUILD_XMKMF_FALSE}"; then
   12613   as_fn_error $? "conditional \"BUILD_XMKMF\" was never defined.
   12614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12615 fi
   12616 if test -z "${BUILD_CCMAKEDEP_TRUE}" && test -z "${BUILD_CCMAKEDEP_FALSE}"; then
   12617   as_fn_error $? "conditional \"BUILD_CCMAKEDEP\" was never defined.
   12618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12619 fi
   12620 if test -z "${BUILD_MERGELIB_TRUE}" && test -z "${BUILD_MERGELIB_FALSE}"; then
   12621   as_fn_error $? "conditional \"BUILD_MERGELIB\" was never defined.
   12622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12623 fi
   12624 if test -z "${BUILD_MKDIRHIER_TRUE}" && test -z "${BUILD_MKDIRHIER_FALSE}"; then
   12625   as_fn_error $? "conditional \"BUILD_MKDIRHIER\" was never defined.
   12626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12627 fi
   12628 if test -z "${BUILD_CLEANLINKS_TRUE}" && test -z "${BUILD_CLEANLINKS_FALSE}"; then
   12629   as_fn_error $? "conditional \"BUILD_CLEANLINKS\" was never defined.
   12630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12631 fi
   12632 if test -z "${BUILD_MKHTMLINDEX_TRUE}" && test -z "${BUILD_MKHTMLINDEX_FALSE}"; then
   12633   as_fn_error $? "conditional \"BUILD_MKHTMLINDEX\" was never defined.
   12634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12635 fi
   12636 
   12637 : "${CONFIG_STATUS=./config.status}"
   12638 ac_write_fail=0
   12639 ac_clean_files_save=$ac_clean_files
   12640 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12642 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12643 as_write_fail=0
   12644 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12645 #! $SHELL
   12646 # Generated by $as_me.
   12647 # Run this file to recreate the current configuration.
   12648 # Compiler output produced by configure, useful for debugging
   12649 # configure, is in config.log if it exists.
   12650 
   12651 debug=false
   12652 ac_cs_recheck=false
   12653 ac_cs_silent=false
   12654 
   12655 SHELL=\${CONFIG_SHELL-$SHELL}
   12656 export SHELL
   12657 _ASEOF
   12658 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12659 ## -------------------- ##
   12660 ## M4sh Initialization. ##
   12661 ## -------------------- ##
   12662 
   12663 # Be more Bourne compatible
   12664 DUALCASE=1; export DUALCASE # for MKS sh
   12665 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12666 then :
   12667   emulate sh
   12668   NULLCMD=:
   12669   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12670   # is contrary to our usage.  Disable this feature.
   12671   alias -g '${1+"$@"}'='"$@"'
   12672   setopt NO_GLOB_SUBST
   12673 else case e in #(
   12674   e) case `(set -o) 2>/dev/null` in #(
   12675   *posix*) :
   12676     set -o posix ;; #(
   12677   *) :
   12678      ;;
   12679 esac ;;
   12680 esac
   12681 fi
   12682 
   12683 
   12684 
   12685 # Reset variables that may have inherited troublesome values from
   12686 # the environment.
   12687 
   12688 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12689 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12690 # side effect of setting IFS to empty, thus disabling word splitting.)
   12691 # Quoting is to prevent editors from complaining about space-tab.
   12692 as_nl='
   12693 '
   12694 export as_nl
   12695 IFS=" ""	$as_nl"
   12696 
   12697 PS1='$ '
   12698 PS2='> '
   12699 PS4='+ '
   12700 
   12701 # Ensure predictable behavior from utilities with locale-dependent output.
   12702 LC_ALL=C
   12703 export LC_ALL
   12704 LANGUAGE=C
   12705 export LANGUAGE
   12706 
   12707 # We cannot yet rely on "unset" to work, but we need these variables
   12708 # to be unset--not just set to an empty or harmless value--now, to
   12709 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12710 # also avoids known problems related to "unset" and subshell syntax
   12711 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12712 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12713 do eval test \${$as_var+y} \
   12714   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12715 done
   12716 
   12717 # Ensure that fds 0, 1, and 2 are open.
   12718 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12719 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12720 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12721 
   12722 # The user is always right.
   12723 if ${PATH_SEPARATOR+false} :; then
   12724   PATH_SEPARATOR=:
   12725   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12726     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12727       PATH_SEPARATOR=';'
   12728   }
   12729 fi
   12730 
   12731 
   12732 # Find who we are.  Look in the path if we contain no directory separator.
   12733 as_myself=
   12734 case $0 in #((
   12735   *[\\/]* ) as_myself=$0 ;;
   12736   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12737 for as_dir in $PATH
   12738 do
   12739   IFS=$as_save_IFS
   12740   case $as_dir in #(((
   12741     '') as_dir=./ ;;
   12742     */) ;;
   12743     *) as_dir=$as_dir/ ;;
   12744   esac
   12745     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12746   done
   12747 IFS=$as_save_IFS
   12748 
   12749      ;;
   12750 esac
   12751 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12752 # in which case we are not to be found in the path.
   12753 if test "x$as_myself" = x; then
   12754   as_myself=$0
   12755 fi
   12756 if test ! -f "$as_myself"; then
   12757   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12758   exit 1
   12759 fi
   12760 
   12761 
   12762 
   12763 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12764 # ----------------------------------------
   12765 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12766 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12767 # script with STATUS, using 1 if that was 0.
   12768 as_fn_error ()
   12769 {
   12770   as_status=$1; test $as_status -eq 0 && as_status=1
   12771   if test "$4"; then
   12772     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12773     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12774   fi
   12775   printf "%s\n" "$as_me: error: $2" >&2
   12776   as_fn_exit $as_status
   12777 } # as_fn_error
   12778 
   12779 
   12780 # as_fn_set_status STATUS
   12781 # -----------------------
   12782 # Set $? to STATUS, without forking.
   12783 as_fn_set_status ()
   12784 {
   12785   return $1
   12786 } # as_fn_set_status
   12787 
   12788 # as_fn_exit STATUS
   12789 # -----------------
   12790 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12791 as_fn_exit ()
   12792 {
   12793   set +e
   12794   as_fn_set_status $1
   12795   exit $1
   12796 } # as_fn_exit
   12797 
   12798 # as_fn_unset VAR
   12799 # ---------------
   12800 # Portably unset VAR.
   12801 as_fn_unset ()
   12802 {
   12803   { eval $1=; unset $1;}
   12804 }
   12805 as_unset=as_fn_unset
   12806 
   12807 # as_fn_append VAR VALUE
   12808 # ----------------------
   12809 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12810 # advantage of any shell optimizations that allow amortized linear growth over
   12811 # repeated appends, instead of the typical quadratic growth present in naive
   12812 # implementations.
   12813 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12814 then :
   12815   eval 'as_fn_append ()
   12816   {
   12817     eval $1+=\$2
   12818   }'
   12819 else case e in #(
   12820   e) as_fn_append ()
   12821   {
   12822     eval $1=\$$1\$2
   12823   } ;;
   12824 esac
   12825 fi # as_fn_append
   12826 
   12827 # as_fn_arith ARG...
   12828 # ------------------
   12829 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12830 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12831 # must be portable across $(()) and expr.
   12832 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12833 then :
   12834   eval 'as_fn_arith ()
   12835   {
   12836     as_val=$(( $* ))
   12837   }'
   12838 else case e in #(
   12839   e) as_fn_arith ()
   12840   {
   12841     as_val=`expr "$@" || test $? -eq 1`
   12842   } ;;
   12843 esac
   12844 fi # as_fn_arith
   12845 
   12846 
   12847 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12848    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12849   as_expr=expr
   12850 else
   12851   as_expr=false
   12852 fi
   12853 
   12854 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12855   as_basename=basename
   12856 else
   12857   as_basename=false
   12858 fi
   12859 
   12860 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12861   as_dirname=dirname
   12862 else
   12863   as_dirname=false
   12864 fi
   12865 
   12866 as_me=`$as_basename -- "$0" ||
   12867 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12868 	 X"$0" : 'X\(//\)$' \| \
   12869 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12870 printf "%s\n" X/"$0" |
   12871     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12872 	    s//\1/
   12873 	    q
   12874 	  }
   12875 	  /^X\/\(\/\/\)$/{
   12876 	    s//\1/
   12877 	    q
   12878 	  }
   12879 	  /^X\/\(\/\).*/{
   12880 	    s//\1/
   12881 	    q
   12882 	  }
   12883 	  s/.*/./; q'`
   12884 
   12885 # Avoid depending upon Character Ranges.
   12886 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12887 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12888 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12889 as_cr_digits='0123456789'
   12890 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12891 
   12892 
   12893 # Determine whether it's possible to make 'echo' print without a newline.
   12894 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12895 # for compatibility with existing Makefiles.
   12896 ECHO_C= ECHO_N= ECHO_T=
   12897 case `echo -n x` in #(((((
   12898 -n*)
   12899   case `echo 'xy\c'` in
   12900   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12901   xy)  ECHO_C='\c';;
   12902   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12903        ECHO_T='	';;
   12904   esac;;
   12905 *)
   12906   ECHO_N='-n';;
   12907 esac
   12908 
   12909 # For backward compatibility with old third-party macros, we provide
   12910 # the shell variables $as_echo and $as_echo_n.  New code should use
   12911 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12912 as_echo='printf %s\n'
   12913 as_echo_n='printf %s'
   12914 
   12915 rm -f conf$$ conf$$.exe conf$$.file
   12916 if test -d conf$$.dir; then
   12917   rm -f conf$$.dir/conf$$.file
   12918 else
   12919   rm -f conf$$.dir
   12920   mkdir conf$$.dir 2>/dev/null
   12921 fi
   12922 if (echo >conf$$.file) 2>/dev/null; then
   12923   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12924     as_ln_s='ln -s'
   12925     # ... but there are two gotchas:
   12926     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12927     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12928     # In both cases, we have to default to 'cp -pR'.
   12929     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12930       as_ln_s='cp -pR'
   12931   elif ln conf$$.file conf$$ 2>/dev/null; then
   12932     as_ln_s=ln
   12933   else
   12934     as_ln_s='cp -pR'
   12935   fi
   12936 else
   12937   as_ln_s='cp -pR'
   12938 fi
   12939 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12940 rmdir conf$$.dir 2>/dev/null
   12941 
   12942 
   12943 # as_fn_mkdir_p
   12944 # -------------
   12945 # Create "$as_dir" as a directory, including parents if necessary.
   12946 as_fn_mkdir_p ()
   12947 {
   12948 
   12949   case $as_dir in #(
   12950   -*) as_dir=./$as_dir;;
   12951   esac
   12952   test -d "$as_dir" || eval $as_mkdir_p || {
   12953     as_dirs=
   12954     while :; do
   12955       case $as_dir in #(
   12956       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12957       *) as_qdir=$as_dir;;
   12958       esac
   12959       as_dirs="'$as_qdir' $as_dirs"
   12960       as_dir=`$as_dirname -- "$as_dir" ||
   12961 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12962 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12963 	 X"$as_dir" : 'X\(//\)$' \| \
   12964 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12965 printf "%s\n" X"$as_dir" |
   12966     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12967 	    s//\1/
   12968 	    q
   12969 	  }
   12970 	  /^X\(\/\/\)[^/].*/{
   12971 	    s//\1/
   12972 	    q
   12973 	  }
   12974 	  /^X\(\/\/\)$/{
   12975 	    s//\1/
   12976 	    q
   12977 	  }
   12978 	  /^X\(\/\).*/{
   12979 	    s//\1/
   12980 	    q
   12981 	  }
   12982 	  s/.*/./; q'`
   12983       test -d "$as_dir" && break
   12984     done
   12985     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12986   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12987 
   12988 
   12989 } # as_fn_mkdir_p
   12990 if mkdir -p . 2>/dev/null; then
   12991   as_mkdir_p='mkdir -p "$as_dir"'
   12992 else
   12993   test -d ./-p && rmdir ./-p
   12994   as_mkdir_p=false
   12995 fi
   12996 
   12997 
   12998 # as_fn_executable_p FILE
   12999 # -----------------------
   13000 # Test if FILE is an executable regular file.
   13001 as_fn_executable_p ()
   13002 {
   13003   test -f "$1" && test -x "$1"
   13004 } # as_fn_executable_p
   13005 as_test_x='test -x'
   13006 as_executable_p=as_fn_executable_p
   13007 
   13008 # Sed expression to map a string onto a valid CPP name.
   13009 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   13010 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   13011 
   13012 # Sed expression to map a string onto a valid variable name.
   13013 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   13014 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   13015 
   13016 
   13017 exec 6>&1
   13018 ## ----------------------------------- ##
   13019 ## Main body of $CONFIG_STATUS script. ##
   13020 ## ----------------------------------- ##
   13021 _ASEOF
   13022 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   13023 
   13024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13025 # Save the log message, to keep $0 and so on meaningful, and to
   13026 # report actual input values of CONFIG_FILES etc. instead of their
   13027 # values after options handling.
   13028 ac_log="
   13029 This file was extended by imake $as_me 1.0.10, which was
   13030 generated by GNU Autoconf 2.72.  Invocation command line was
   13031 
   13032   CONFIG_FILES    = $CONFIG_FILES
   13033   CONFIG_HEADERS  = $CONFIG_HEADERS
   13034   CONFIG_LINKS    = $CONFIG_LINKS
   13035   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13036   $ $0 $@
   13037 
   13038 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13039 "
   13040 
   13041 _ACEOF
   13042 
   13043 case $ac_config_files in *"
   13044 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13045 esac
   13046 
   13047 case $ac_config_headers in *"
   13048 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   13049 esac
   13050 
   13051 
   13052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13053 # Files that config.status was made for.
   13054 config_files="$ac_config_files"
   13055 config_headers="$ac_config_headers"
   13056 config_commands="$ac_config_commands"
   13057 
   13058 _ACEOF
   13059 
   13060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13061 ac_cs_usage="\
   13062 '$as_me' instantiates files and other configuration actions
   13063 from templates according to the current configuration.  Unless the files
   13064 and actions are specified as TAGs, all are instantiated by default.
   13065 
   13066 Usage: $0 [OPTION]... [TAG]...
   13067 
   13068   -h, --help       print this help, then exit
   13069   -V, --version    print version number and configuration settings, then exit
   13070       --config     print configuration, then exit
   13071   -q, --quiet, --silent
   13072                    do not print progress messages
   13073   -d, --debug      don't remove temporary files
   13074       --recheck    update $as_me by reconfiguring in the same conditions
   13075       --file=FILE[:TEMPLATE]
   13076                    instantiate the configuration file FILE
   13077       --header=FILE[:TEMPLATE]
   13078                    instantiate the configuration header FILE
   13079 
   13080 Configuration files:
   13081 $config_files
   13082 
   13083 Configuration headers:
   13084 $config_headers
   13085 
   13086 Configuration commands:
   13087 $config_commands
   13088 
   13089 Report bugs to <https://gitlab.freedesktop.org/xorg/util/imake/-/issues>."
   13090 
   13091 _ACEOF
   13092 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   13093 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   13094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13095 ac_cs_config='$ac_cs_config_escaped'
   13096 ac_cs_version="\\
   13097 imake config.status 1.0.10
   13098 configured by $0, generated by GNU Autoconf 2.72,
   13099   with options \\"\$ac_cs_config\\"
   13100 
   13101 Copyright (C) 2023 Free Software Foundation, Inc.
   13102 This config.status script is free software; the Free Software Foundation
   13103 gives unlimited permission to copy, distribute and modify it."
   13104 
   13105 ac_pwd='$ac_pwd'
   13106 srcdir='$srcdir'
   13107 INSTALL='$INSTALL'
   13108 MKDIR_P='$MKDIR_P'
   13109 AWK='$AWK'
   13110 test -n "\$AWK" || AWK=awk
   13111 _ACEOF
   13112 
   13113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13114 # The default lists apply if the user does not specify any file.
   13115 ac_need_defaults=:
   13116 while test $# != 0
   13117 do
   13118   case $1 in
   13119   --*=?*)
   13120     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13121     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13122     ac_shift=:
   13123     ;;
   13124   --*=)
   13125     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13126     ac_optarg=
   13127     ac_shift=:
   13128     ;;
   13129   *)
   13130     ac_option=$1
   13131     ac_optarg=$2
   13132     ac_shift=shift
   13133     ;;
   13134   esac
   13135 
   13136   case $ac_option in
   13137   # Handling of the options.
   13138   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13139     ac_cs_recheck=: ;;
   13140   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13141     printf "%s\n" "$ac_cs_version"; exit ;;
   13142   --config | --confi | --conf | --con | --co | --c )
   13143     printf "%s\n" "$ac_cs_config"; exit ;;
   13144   --debug | --debu | --deb | --de | --d | -d )
   13145     debug=: ;;
   13146   --file | --fil | --fi | --f )
   13147     $ac_shift
   13148     case $ac_optarg in
   13149     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13150     '') as_fn_error $? "missing file argument" ;;
   13151     esac
   13152     as_fn_append CONFIG_FILES " '$ac_optarg'"
   13153     ac_need_defaults=false;;
   13154   --header | --heade | --head | --hea )
   13155     $ac_shift
   13156     case $ac_optarg in
   13157     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13158     esac
   13159     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   13160     ac_need_defaults=false;;
   13161   --he | --h)
   13162     # Conflict between --help and --header
   13163     as_fn_error $? "ambiguous option: '$1'
   13164 Try '$0 --help' for more information.";;
   13165   --help | --hel | -h )
   13166     printf "%s\n" "$ac_cs_usage"; exit ;;
   13167   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13168   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13169     ac_cs_silent=: ;;
   13170 
   13171   # This is an error.
   13172   -*) as_fn_error $? "unrecognized option: '$1'
   13173 Try '$0 --help' for more information." ;;
   13174 
   13175   *) as_fn_append ac_config_targets " $1"
   13176      ac_need_defaults=false ;;
   13177 
   13178   esac
   13179   shift
   13180 done
   13181 
   13182 ac_configure_extra_args=
   13183 
   13184 if $ac_cs_silent; then
   13185   exec 6>/dev/null
   13186   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13187 fi
   13188 
   13189 _ACEOF
   13190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13191 if \$ac_cs_recheck; then
   13192   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13193   shift
   13194   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   13195   CONFIG_SHELL='$SHELL'
   13196   export CONFIG_SHELL
   13197   exec "\$@"
   13198 fi
   13199 
   13200 _ACEOF
   13201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13202 exec 5>>config.log
   13203 {
   13204   echo
   13205   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13206 ## Running $as_me. ##
   13207 _ASBOX
   13208   printf "%s\n" "$ac_log"
   13209 } >&5
   13210 
   13211 _ACEOF
   13212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13213 #
   13214 # INIT-COMMANDS
   13215 #
   13216 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   13217 
   13218 _ACEOF
   13219 
   13220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13221 
   13222 # Handling of arguments.
   13223 for ac_config_target in $ac_config_targets
   13224 do
   13225   case $ac_config_target in
   13226     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13227     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13228     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13229 
   13230   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   13231   esac
   13232 done
   13233 
   13234 
   13235 # If the user did not use the arguments to specify the items to instantiate,
   13236 # then the envvar interface is used.  Set only those that are not.
   13237 # We use the long form for the default assignment because of an extremely
   13238 # bizarre bug on SunOS 4.1.3.
   13239 if $ac_need_defaults; then
   13240   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   13241   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   13242   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   13243 fi
   13244 
   13245 # Have a temporary directory for convenience.  Make it in the build tree
   13246 # simply because there is no reason against having it here, and in addition,
   13247 # creating and moving files from /tmp can sometimes cause problems.
   13248 # Hook for its removal unless debugging.
   13249 # Note that there is a small window in which the directory will not be cleaned:
   13250 # after its creation but before its name has been assigned to '$tmp'.
   13251 $debug ||
   13252 {
   13253   tmp= ac_tmp=
   13254   trap 'exit_status=$?
   13255   : "${ac_tmp:=$tmp}"
   13256   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13257 ' 0
   13258   trap 'as_fn_exit 1' 1 2 13 15
   13259 }
   13260 # Create a (secure) tmp directory for tmp files.
   13261 
   13262 {
   13263   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13264   test -d "$tmp"
   13265 }  ||
   13266 {
   13267   tmp=./conf$$-$RANDOM
   13268   (umask 077 && mkdir "$tmp")
   13269 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13270 ac_tmp=$tmp
   13271 
   13272 # Set up the scripts for CONFIG_FILES section.
   13273 # No need to generate them if there are no CONFIG_FILES.
   13274 # This happens for instance with './config.status config.h'.
   13275 if test -n "$CONFIG_FILES"; then
   13276 
   13277 
   13278 ac_cr=`echo X | tr X '\015'`
   13279 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13280 # But we know of no other shell where ac_cr would be empty at this
   13281 # point, so we can use a bashism as a fallback.
   13282 if test "x$ac_cr" = x; then
   13283   eval ac_cr=\$\'\\r\'
   13284 fi
   13285 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13286 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13287   ac_cs_awk_cr='\\r'
   13288 else
   13289   ac_cs_awk_cr=$ac_cr
   13290 fi
   13291 
   13292 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13293 _ACEOF
   13294 
   13295 
   13296 {
   13297   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13298   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13299   echo "_ACEOF"
   13300 } >conf$$subs.sh ||
   13301   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13302 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13303 ac_delim='%!_!# '
   13304 for ac_last_try in false false false false false :; do
   13305   . ./conf$$subs.sh ||
   13306     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13307 
   13308   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13309   if test $ac_delim_n = $ac_delim_num; then
   13310     break
   13311   elif $ac_last_try; then
   13312     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13313   else
   13314     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13315   fi
   13316 done
   13317 rm -f conf$$subs.sh
   13318 
   13319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13320 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13321 _ACEOF
   13322 sed -n '
   13323 h
   13324 s/^/S["/; s/!.*/"]=/
   13325 p
   13326 g
   13327 s/^[^!]*!//
   13328 :repl
   13329 t repl
   13330 s/'"$ac_delim"'$//
   13331 t delim
   13332 :nl
   13333 h
   13334 s/\(.\{148\}\)..*/\1/
   13335 t more1
   13336 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13337 p
   13338 n
   13339 b repl
   13340 :more1
   13341 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13342 p
   13343 g
   13344 s/.\{148\}//
   13345 t nl
   13346 :delim
   13347 h
   13348 s/\(.\{148\}\)..*/\1/
   13349 t more2
   13350 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13351 p
   13352 b
   13353 :more2
   13354 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13355 p
   13356 g
   13357 s/.\{148\}//
   13358 t delim
   13359 ' <conf$$subs.awk | sed '
   13360 /^[^""]/{
   13361   N
   13362   s/\n//
   13363 }
   13364 ' >>$CONFIG_STATUS || ac_write_fail=1
   13365 rm -f conf$$subs.awk
   13366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13367 _ACAWK
   13368 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13369   for (key in S) S_is_set[key] = 1
   13370   FS = ""
   13371 
   13372 }
   13373 {
   13374   line = $ 0
   13375   nfields = split(line, field, "@")
   13376   substed = 0
   13377   len = length(field[1])
   13378   for (i = 2; i < nfields; i++) {
   13379     key = field[i]
   13380     keylen = length(key)
   13381     if (S_is_set[key]) {
   13382       value = S[key]
   13383       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13384       len += length(value) + length(field[++i])
   13385       substed = 1
   13386     } else
   13387       len += 1 + keylen
   13388   }
   13389 
   13390   print line
   13391 }
   13392 
   13393 _ACAWK
   13394 _ACEOF
   13395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13396 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13397   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13398 else
   13399   cat
   13400 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13401   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13402 _ACEOF
   13403 
   13404 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13405 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13406 # trailing colons and then remove the whole line if VPATH becomes empty
   13407 # (actually we leave an empty line to preserve line numbers).
   13408 if test "x$srcdir" = x.; then
   13409   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13410 h
   13411 s///
   13412 s/^/:/
   13413 s/[	 ]*$/:/
   13414 s/:\$(srcdir):/:/g
   13415 s/:\${srcdir}:/:/g
   13416 s/:@srcdir@:/:/g
   13417 s/^:*//
   13418 s/:*$//
   13419 x
   13420 s/\(=[	 ]*\).*/\1/
   13421 G
   13422 s/\n//
   13423 s/^[^=]*=[	 ]*$//
   13424 }'
   13425 fi
   13426 
   13427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13428 fi # test -n "$CONFIG_FILES"
   13429 
   13430 # Set up the scripts for CONFIG_HEADERS section.
   13431 # No need to generate them if there are no CONFIG_HEADERS.
   13432 # This happens for instance with './config.status Makefile'.
   13433 if test -n "$CONFIG_HEADERS"; then
   13434 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13435 BEGIN {
   13436 _ACEOF
   13437 
   13438 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   13439 # here-document in config.status, that substitutes the proper values into
   13440 # config.h.in to produce config.h.
   13441 
   13442 # Create a delimiter string that does not exist in confdefs.h, to ease
   13443 # handling of long lines.
   13444 ac_delim='%!_!# '
   13445 for ac_last_try in false false :; do
   13446   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13447   if test -z "$ac_tt"; then
   13448     break
   13449   elif $ac_last_try; then
   13450     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13451   else
   13452     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13453   fi
   13454 done
   13455 
   13456 # For the awk script, D is an array of macro values keyed by name,
   13457 # likewise P contains macro parameters if any.  Preserve backslash
   13458 # newline sequences.
   13459 
   13460 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13461 sed -n '
   13462 s/.\{148\}/&'"$ac_delim"'/g
   13463 t rset
   13464 :rset
   13465 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13466 t def
   13467 d
   13468 :def
   13469 s/\\$//
   13470 t bsnl
   13471 s/["\\]/\\&/g
   13472 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13473 D["\1"]=" \3"/p
   13474 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13475 d
   13476 :bsnl
   13477 s/["\\]/\\&/g
   13478 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13479 D["\1"]=" \3\\\\\\n"\\/p
   13480 t cont
   13481 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13482 t cont
   13483 d
   13484 :cont
   13485 n
   13486 s/.\{148\}/&'"$ac_delim"'/g
   13487 t clear
   13488 :clear
   13489 s/\\$//
   13490 t bsnlc
   13491 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13492 d
   13493 :bsnlc
   13494 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13495 b cont
   13496 ' <confdefs.h | sed '
   13497 s/'"$ac_delim"'/"\\\
   13498 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13499 
   13500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13501   for (key in D) D_is_set[key] = 1
   13502   FS = ""
   13503 }
   13504 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13505   line = \$ 0
   13506   split(line, arg, " ")
   13507   if (arg[1] == "#") {
   13508     defundef = arg[2]
   13509     mac1 = arg[3]
   13510   } else {
   13511     defundef = substr(arg[1], 2)
   13512     mac1 = arg[2]
   13513   }
   13514   split(mac1, mac2, "(") #)
   13515   macro = mac2[1]
   13516   prefix = substr(line, 1, index(line, defundef) - 1)
   13517   if (D_is_set[macro]) {
   13518     # Preserve the white space surrounding the "#".
   13519     print prefix "define", macro P[macro] D[macro]
   13520     next
   13521   } else {
   13522     # Replace #undef with comments.  This is necessary, for example,
   13523     # in the case of _POSIX_SOURCE, which is predefined and required
   13524     # on some systems where configure will not decide to define it.
   13525     if (defundef == "undef") {
   13526       print "/*", prefix defundef, macro, "*/"
   13527       next
   13528     }
   13529   }
   13530 }
   13531 { print }
   13532 _ACAWK
   13533 _ACEOF
   13534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13535   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13536 fi # test -n "$CONFIG_HEADERS"
   13537 
   13538 
   13539 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13540 shift
   13541 for ac_tag
   13542 do
   13543   case $ac_tag in
   13544   :[FHLC]) ac_mode=$ac_tag; continue;;
   13545   esac
   13546   case $ac_mode$ac_tag in
   13547   :[FHL]*:*);;
   13548   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13549   :[FH]-) ac_tag=-:-;;
   13550   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13551   esac
   13552   ac_save_IFS=$IFS
   13553   IFS=:
   13554   set x $ac_tag
   13555   IFS=$ac_save_IFS
   13556   shift
   13557   ac_file=$1
   13558   shift
   13559 
   13560   case $ac_mode in
   13561   :L) ac_source=$1;;
   13562   :[FH])
   13563     ac_file_inputs=
   13564     for ac_f
   13565     do
   13566       case $ac_f in
   13567       -) ac_f="$ac_tmp/stdin";;
   13568       *) # Look for the file first in the build tree, then in the source tree
   13569 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13570 	 # because $ac_f cannot contain ':'.
   13571 	 test -f "$ac_f" ||
   13572 	   case $ac_f in
   13573 	   [\\/$]*) false;;
   13574 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13575 	   esac ||
   13576 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13577       esac
   13578       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13579       as_fn_append ac_file_inputs " '$ac_f'"
   13580     done
   13581 
   13582     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13583     # use $as_me), people would be surprised to read:
   13584     #    /* config.h.  Generated by config.status.  */
   13585     configure_input='Generated from '`
   13586 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13587 	`' by configure.'
   13588     if test x"$ac_file" != x-; then
   13589       configure_input="$ac_file.  $configure_input"
   13590       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13591 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13592     fi
   13593     # Neutralize special characters interpreted by sed in replacement strings.
   13594     case $configure_input in #(
   13595     *\&* | *\|* | *\\* )
   13596        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13597        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13598     *) ac_sed_conf_input=$configure_input;;
   13599     esac
   13600 
   13601     case $ac_tag in
   13602     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13603       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13604     esac
   13605     ;;
   13606   esac
   13607 
   13608   ac_dir=`$as_dirname -- "$ac_file" ||
   13609 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13610 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13611 	 X"$ac_file" : 'X\(//\)$' \| \
   13612 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13613 printf "%s\n" X"$ac_file" |
   13614     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13615 	    s//\1/
   13616 	    q
   13617 	  }
   13618 	  /^X\(\/\/\)[^/].*/{
   13619 	    s//\1/
   13620 	    q
   13621 	  }
   13622 	  /^X\(\/\/\)$/{
   13623 	    s//\1/
   13624 	    q
   13625 	  }
   13626 	  /^X\(\/\).*/{
   13627 	    s//\1/
   13628 	    q
   13629 	  }
   13630 	  s/.*/./; q'`
   13631   as_dir="$ac_dir"; as_fn_mkdir_p
   13632   ac_builddir=.
   13633 
   13634 case "$ac_dir" in
   13635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13636 *)
   13637   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13638   # A ".." for each directory in $ac_dir_suffix.
   13639   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13640   case $ac_top_builddir_sub in
   13641   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13642   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13643   esac ;;
   13644 esac
   13645 ac_abs_top_builddir=$ac_pwd
   13646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13647 # for backward compatibility:
   13648 ac_top_builddir=$ac_top_build_prefix
   13649 
   13650 case $srcdir in
   13651   .)  # We are building in place.
   13652     ac_srcdir=.
   13653     ac_top_srcdir=$ac_top_builddir_sub
   13654     ac_abs_top_srcdir=$ac_pwd ;;
   13655   [\\/]* | ?:[\\/]* )  # Absolute name.
   13656     ac_srcdir=$srcdir$ac_dir_suffix;
   13657     ac_top_srcdir=$srcdir
   13658     ac_abs_top_srcdir=$srcdir ;;
   13659   *) # Relative name.
   13660     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13661     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13662     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13663 esac
   13664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13665 
   13666 
   13667   case $ac_mode in
   13668   :F)
   13669   #
   13670   # CONFIG_FILE
   13671   #
   13672 
   13673   case $INSTALL in
   13674   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13675   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13676   esac
   13677   ac_MKDIR_P=$MKDIR_P
   13678   case $MKDIR_P in
   13679   [\\/$]* | ?:[\\/]* ) ;;
   13680   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13681   esac
   13682 _ACEOF
   13683 
   13684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13685 # If the template does not know about datarootdir, expand it.
   13686 # FIXME: This hack should be removed a few years after 2.60.
   13687 ac_datarootdir_hack=; ac_datarootdir_seen=
   13688 ac_sed_dataroot='
   13689 /datarootdir/ {
   13690   p
   13691   q
   13692 }
   13693 /@datadir@/p
   13694 /@docdir@/p
   13695 /@infodir@/p
   13696 /@localedir@/p
   13697 /@mandir@/p'
   13698 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13699 *datarootdir*) ac_datarootdir_seen=yes;;
   13700 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13702 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13703 _ACEOF
   13704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13705   ac_datarootdir_hack='
   13706   s&@datadir@&$datadir&g
   13707   s&@docdir@&$docdir&g
   13708   s&@infodir@&$infodir&g
   13709   s&@localedir@&$localedir&g
   13710   s&@mandir@&$mandir&g
   13711   s&\\\${datarootdir}&$datarootdir&g' ;;
   13712 esac
   13713 _ACEOF
   13714 
   13715 # Neutralize VPATH when '$srcdir' = '.'.
   13716 # Shell code in configure.ac might set extrasub.
   13717 # FIXME: do we really want to maintain this feature?
   13718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13719 ac_sed_extra="$ac_vpsub
   13720 $extrasub
   13721 _ACEOF
   13722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13723 :t
   13724 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13725 s|@configure_input@|$ac_sed_conf_input|;t t
   13726 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13727 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13728 s&@srcdir@&$ac_srcdir&;t t
   13729 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13730 s&@top_srcdir@&$ac_top_srcdir&;t t
   13731 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13732 s&@builddir@&$ac_builddir&;t t
   13733 s&@abs_builddir@&$ac_abs_builddir&;t t
   13734 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13735 s&@INSTALL@&$ac_INSTALL&;t t
   13736 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13737 $ac_datarootdir_hack
   13738 "
   13739 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13740   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13741 
   13742 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13743   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13744   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13745       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13746   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13747 which seems to be undefined.  Please make sure it is defined" >&5
   13748 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13749 which seems to be undefined.  Please make sure it is defined" >&2;}
   13750 
   13751   rm -f "$ac_tmp/stdin"
   13752   case $ac_file in
   13753   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13754   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13755   esac \
   13756   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13757  ;;
   13758   :H)
   13759   #
   13760   # CONFIG_HEADER
   13761   #
   13762   if test x"$ac_file" != x-; then
   13763     {
   13764       printf "%s\n" "/* $configure_input  */" >&1 \
   13765       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13766     } >"$ac_tmp/config.h" \
   13767       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13768     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13769       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13770 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13771     else
   13772       rm -f "$ac_file"
   13773       mv "$ac_tmp/config.h" "$ac_file" \
   13774 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13775     fi
   13776   else
   13777     printf "%s\n" "/* $configure_input  */" >&1 \
   13778       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13779       || as_fn_error $? "could not create -" "$LINENO" 5
   13780   fi
   13781 # Compute "$ac_file"'s index in $config_headers.
   13782 _am_arg="$ac_file"
   13783 _am_stamp_count=1
   13784 for _am_header in $config_headers :; do
   13785   case $_am_header in
   13786     $_am_arg | $_am_arg:* )
   13787       break ;;
   13788     * )
   13789       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13790   esac
   13791 done
   13792 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13793 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13794 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13795 	 X"$_am_arg" : 'X\(//\)$' \| \
   13796 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13797 printf "%s\n" X"$_am_arg" |
   13798     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13799 	    s//\1/
   13800 	    q
   13801 	  }
   13802 	  /^X\(\/\/\)[^/].*/{
   13803 	    s//\1/
   13804 	    q
   13805 	  }
   13806 	  /^X\(\/\/\)$/{
   13807 	    s//\1/
   13808 	    q
   13809 	  }
   13810 	  /^X\(\/\).*/{
   13811 	    s//\1/
   13812 	    q
   13813 	  }
   13814 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13815  ;;
   13816 
   13817   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13818 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13819  ;;
   13820   esac
   13821 
   13822 
   13823   case $ac_file$ac_mode in
   13824     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13825   # Older Autoconf quotes --file arguments for eval, but not when files
   13826   # are listed without --file.  Let's play safe and only enable the eval
   13827   # if we detect the quoting.
   13828   # TODO: see whether this extra hack can be removed once we start
   13829   # requiring Autoconf 2.70 or later.
   13830   case $CONFIG_FILES in #(
   13831   *\'*) :
   13832     eval set x "$CONFIG_FILES" ;; #(
   13833   *) :
   13834     set x $CONFIG_FILES ;; #(
   13835   *) :
   13836      ;;
   13837 esac
   13838   shift
   13839   # Used to flag and report bootstrapping failures.
   13840   am_rc=0
   13841   for am_mf
   13842   do
   13843     # Strip MF so we end up with the name of the file.
   13844     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13845     # Check whether this is an Automake generated Makefile which includes
   13846     # dependency-tracking related rules and includes.
   13847     # Grep'ing the whole file directly is not great: AIX grep has a line
   13848     # limit of 2048, but all sed's we know have understand at least 4000.
   13849     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13850       || continue
   13851     am_dirpart=`$as_dirname -- "$am_mf" ||
   13852 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13853 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13854 	 X"$am_mf" : 'X\(//\)$' \| \
   13855 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13856 printf "%s\n" X"$am_mf" |
   13857     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13858 	    s//\1/
   13859 	    q
   13860 	  }
   13861 	  /^X\(\/\/\)[^/].*/{
   13862 	    s//\1/
   13863 	    q
   13864 	  }
   13865 	  /^X\(\/\/\)$/{
   13866 	    s//\1/
   13867 	    q
   13868 	  }
   13869 	  /^X\(\/\).*/{
   13870 	    s//\1/
   13871 	    q
   13872 	  }
   13873 	  s/.*/./; q'`
   13874     am_filepart=`$as_basename -- "$am_mf" ||
   13875 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13876 	 X"$am_mf" : 'X\(//\)$' \| \
   13877 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13878 printf "%s\n" X/"$am_mf" |
   13879     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13880 	    s//\1/
   13881 	    q
   13882 	  }
   13883 	  /^X\/\(\/\/\)$/{
   13884 	    s//\1/
   13885 	    q
   13886 	  }
   13887 	  /^X\/\(\/\).*/{
   13888 	    s//\1/
   13889 	    q
   13890 	  }
   13891 	  s/.*/./; q'`
   13892     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13893       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13894         | $MAKE -f - am--depfiles" >&5
   13895    (cd "$am_dirpart" \
   13896       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13897         | $MAKE -f - am--depfiles) >&5 2>&5
   13898    ac_status=$?
   13899    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13900    (exit $ac_status); } || am_rc=$?
   13901   done
   13902   if test $am_rc -ne 0; then
   13903     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13904 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13905 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13906     for automatic dependency tracking.  If GNU make was not used, consider
   13907     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13908     necessary).  You can also try re-running configure with the
   13909     '--disable-dependency-tracking' option to at least be able to build
   13910     the package (albeit without support for automatic dependency tracking).
   13911 See 'config.log' for more details" "$LINENO" 5; }
   13912   fi
   13913   { am_dirpart=; unset am_dirpart;}
   13914   { am_filepart=; unset am_filepart;}
   13915   { am_mf=; unset am_mf;}
   13916   { am_rc=; unset am_rc;}
   13917   rm -f conftest-deps.mk
   13918 }
   13919  ;;
   13920 
   13921   esac
   13922 done # for ac_tag
   13923 
   13924 
   13925 as_fn_exit 0
   13926 _ACEOF
   13927 ac_clean_files=$ac_clean_files_save
   13928 
   13929 test $ac_write_fail = 0 ||
   13930   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13931 
   13932 
   13933 # configure is writing to config.log, and then calls config.status.
   13934 # config.status does its own redirection, appending to config.log.
   13935 # Unfortunately, on DOS this fails, as config.log is still kept open
   13936 # by configure, so config.status won't be able to write to it; its
   13937 # output is simply discarded.  So we exec the FD to /dev/null,
   13938 # effectively closing config.log, so it can be properly (re)opened and
   13939 # appended to by config.status.  When coming back to configure, we
   13940 # need to make the FD available again.
   13941 if test "$no_create" != yes; then
   13942   ac_cs_success=:
   13943   ac_config_status_args=
   13944   test "$silent" = yes &&
   13945     ac_config_status_args="$ac_config_status_args --quiet"
   13946   exec 5>/dev/null
   13947   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13948   exec 5>>config.log
   13949   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13950   # would make configure fail if this is the last instruction.
   13951   $ac_cs_success || as_fn_exit 1
   13952 fi
   13953 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13954   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13955 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13956 fi
   13957 
   13958 
   13959