Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for twm 1.0.9.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    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   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='twm'
    583 PACKAGE_TARNAME='twm'
    584 PACKAGE_VERSION='1.0.9'
    585 PACKAGE_STRING='twm 1.0.9'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 TWM_LIBS
    631 TWM_CFLAGS
    632 LEXLIB
    633 LEX_OUTPUT_ROOT
    634 LEX
    635 YACC_INST
    636 YFLAGS
    637 YACC
    638 MAN_SUBSTS
    639 XORG_MAN_PAGE
    640 ADMIN_MAN_DIR
    641 DRIVER_MAN_DIR
    642 MISC_MAN_DIR
    643 FILE_MAN_DIR
    644 LIB_MAN_DIR
    645 APP_MAN_DIR
    646 ADMIN_MAN_SUFFIX
    647 DRIVER_MAN_SUFFIX
    648 MISC_MAN_SUFFIX
    649 FILE_MAN_SUFFIX
    650 LIB_MAN_SUFFIX
    651 APP_MAN_SUFFIX
    652 SED
    653 host_os
    654 host_vendor
    655 host_cpu
    656 host
    657 build_os
    658 build_vendor
    659 build_cpu
    660 build
    661 INSTALL_CMD
    662 PKG_CONFIG
    663 CHANGELOG_CMD
    664 STRICT_CFLAGS
    665 CWARNFLAGS
    666 BASE_CFLAGS
    667 AM_BACKSLASH
    668 AM_DEFAULT_VERBOSITY
    669 AM_DEFAULT_V
    670 AM_V
    671 am__fastdepCC_FALSE
    672 am__fastdepCC_TRUE
    673 CCDEPMODE
    674 am__nodep
    675 AMDEPBACKSLASH
    676 AMDEP_FALSE
    677 AMDEP_TRUE
    678 am__quote
    679 am__include
    680 DEPDIR
    681 am__untar
    682 am__tar
    683 AMTAR
    684 am__leading_dot
    685 SET_MAKE
    686 AWK
    687 mkdir_p
    688 MKDIR_P
    689 INSTALL_STRIP_PROGRAM
    690 STRIP
    691 install_sh
    692 MAKEINFO
    693 AUTOHEADER
    694 AUTOMAKE
    695 AUTOCONF
    696 ACLOCAL
    697 VERSION
    698 PACKAGE
    699 CYGPATH_W
    700 am__isrc
    701 INSTALL_DATA
    702 INSTALL_SCRIPT
    703 INSTALL_PROGRAM
    704 EGREP
    705 GREP
    706 CPP
    707 OBJEXT
    708 EXEEXT
    709 ac_ct_CC
    710 CPPFLAGS
    711 LDFLAGS
    712 CFLAGS
    713 CC
    714 target_alias
    715 host_alias
    716 build_alias
    717 LIBS
    718 ECHO_T
    719 ECHO_N
    720 ECHO_C
    721 DEFS
    722 mandir
    723 localedir
    724 libdir
    725 psdir
    726 pdfdir
    727 dvidir
    728 htmldir
    729 infodir
    730 docdir
    731 oldincludedir
    732 includedir
    733 localstatedir
    734 sharedstatedir
    735 sysconfdir
    736 datadir
    737 datarootdir
    738 libexecdir
    739 sbindir
    740 bindir
    741 program_transform_name
    742 prefix
    743 exec_prefix
    744 PACKAGE_URL
    745 PACKAGE_BUGREPORT
    746 PACKAGE_STRING
    747 PACKAGE_VERSION
    748 PACKAGE_TARNAME
    749 PACKAGE_NAME
    750 PATH_SEPARATOR
    751 SHELL'
    752 ac_subst_files=''
    753 ac_user_opts='
    754 enable_option_checking
    755 enable_dependency_tracking
    756 enable_silent_rules
    757 enable_selective_werror
    758 enable_strict_compilation
    759 '
    760       ac_precious_vars='build_alias
    761 host_alias
    762 target_alias
    763 CC
    764 CFLAGS
    765 LDFLAGS
    766 LIBS
    767 CPPFLAGS
    768 CPP
    769 PKG_CONFIG
    770 YACC
    771 YFLAGS
    772 TWM_CFLAGS
    773 TWM_LIBS'
    774 
    775 
    776 # Initialize some variables set by options.
    777 ac_init_help=
    778 ac_init_version=false
    779 ac_unrecognized_opts=
    780 ac_unrecognized_sep=
    781 # The variables have the same names as the options, with
    782 # dashes changed to underlines.
    783 cache_file=/dev/null
    784 exec_prefix=NONE
    785 no_create=
    786 no_recursion=
    787 prefix=NONE
    788 program_prefix=NONE
    789 program_suffix=NONE
    790 program_transform_name=s,x,x,
    791 silent=
    792 site=
    793 srcdir=
    794 verbose=
    795 x_includes=NONE
    796 x_libraries=NONE
    797 
    798 # Installation directory options.
    799 # These are left unexpanded so users can "make install exec_prefix=/foo"
    800 # and all the variables that are supposed to be based on exec_prefix
    801 # by default will actually change.
    802 # Use braces instead of parens because sh, perl, etc. also accept them.
    803 # (The list follows the same order as the GNU Coding Standards.)
    804 bindir='${exec_prefix}/bin'
    805 sbindir='${exec_prefix}/sbin'
    806 libexecdir='${exec_prefix}/libexec'
    807 datarootdir='${prefix}/share'
    808 datadir='${datarootdir}'
    809 sysconfdir='${prefix}/etc'
    810 sharedstatedir='${prefix}/com'
    811 localstatedir='${prefix}/var'
    812 includedir='${prefix}/include'
    813 oldincludedir='/usr/include'
    814 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    815 infodir='${datarootdir}/info'
    816 htmldir='${docdir}'
    817 dvidir='${docdir}'
    818 pdfdir='${docdir}'
    819 psdir='${docdir}'
    820 libdir='${exec_prefix}/lib'
    821 localedir='${datarootdir}/locale'
    822 mandir='${datarootdir}/man'
    823 
    824 ac_prev=
    825 ac_dashdash=
    826 for ac_option
    827 do
    828   # If the previous option needs an argument, assign it.
    829   if test -n "$ac_prev"; then
    830     eval $ac_prev=\$ac_option
    831     ac_prev=
    832     continue
    833   fi
    834 
    835   case $ac_option in
    836   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    837   *=)   ac_optarg= ;;
    838   *)    ac_optarg=yes ;;
    839   esac
    840 
    841   # Accept the important Cygnus configure options, so we can diagnose typos.
    842 
    843   case $ac_dashdash$ac_option in
    844   --)
    845     ac_dashdash=yes ;;
    846 
    847   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    848     ac_prev=bindir ;;
    849   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    850     bindir=$ac_optarg ;;
    851 
    852   -build | --build | --buil | --bui | --bu)
    853     ac_prev=build_alias ;;
    854   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    855     build_alias=$ac_optarg ;;
    856 
    857   -cache-file | --cache-file | --cache-fil | --cache-fi \
    858   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    859     ac_prev=cache_file ;;
    860   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    861   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    862     cache_file=$ac_optarg ;;
    863 
    864   --config-cache | -C)
    865     cache_file=config.cache ;;
    866 
    867   -datadir | --datadir | --datadi | --datad)
    868     ac_prev=datadir ;;
    869   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    870     datadir=$ac_optarg ;;
    871 
    872   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    873   | --dataroo | --dataro | --datar)
    874     ac_prev=datarootdir ;;
    875   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    876   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    877     datarootdir=$ac_optarg ;;
    878 
    879   -disable-* | --disable-*)
    880     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    881     # Reject names that are not valid shell variable names.
    882     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    883       as_fn_error $? "invalid feature name: $ac_useropt"
    884     ac_useropt_orig=$ac_useropt
    885     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    886     case $ac_user_opts in
    887       *"
    888 "enable_$ac_useropt"
    889 "*) ;;
    890       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    891 	 ac_unrecognized_sep=', ';;
    892     esac
    893     eval enable_$ac_useropt=no ;;
    894 
    895   -docdir | --docdir | --docdi | --doc | --do)
    896     ac_prev=docdir ;;
    897   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    898     docdir=$ac_optarg ;;
    899 
    900   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    901     ac_prev=dvidir ;;
    902   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    903     dvidir=$ac_optarg ;;
    904 
    905   -enable-* | --enable-*)
    906     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    907     # Reject names that are not valid shell variable names.
    908     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    909       as_fn_error $? "invalid feature name: $ac_useropt"
    910     ac_useropt_orig=$ac_useropt
    911     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    912     case $ac_user_opts in
    913       *"
    914 "enable_$ac_useropt"
    915 "*) ;;
    916       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    917 	 ac_unrecognized_sep=', ';;
    918     esac
    919     eval enable_$ac_useropt=\$ac_optarg ;;
    920 
    921   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    922   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    923   | --exec | --exe | --ex)
    924     ac_prev=exec_prefix ;;
    925   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    926   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    927   | --exec=* | --exe=* | --ex=*)
    928     exec_prefix=$ac_optarg ;;
    929 
    930   -gas | --gas | --ga | --g)
    931     # Obsolete; use --with-gas.
    932     with_gas=yes ;;
    933 
    934   -help | --help | --hel | --he | -h)
    935     ac_init_help=long ;;
    936   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    937     ac_init_help=recursive ;;
    938   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    939     ac_init_help=short ;;
    940 
    941   -host | --host | --hos | --ho)
    942     ac_prev=host_alias ;;
    943   -host=* | --host=* | --hos=* | --ho=*)
    944     host_alias=$ac_optarg ;;
    945 
    946   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    947     ac_prev=htmldir ;;
    948   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    949   | --ht=*)
    950     htmldir=$ac_optarg ;;
    951 
    952   -includedir | --includedir | --includedi | --included | --include \
    953   | --includ | --inclu | --incl | --inc)
    954     ac_prev=includedir ;;
    955   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    956   | --includ=* | --inclu=* | --incl=* | --inc=*)
    957     includedir=$ac_optarg ;;
    958 
    959   -infodir | --infodir | --infodi | --infod | --info | --inf)
    960     ac_prev=infodir ;;
    961   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    962     infodir=$ac_optarg ;;
    963 
    964   -libdir | --libdir | --libdi | --libd)
    965     ac_prev=libdir ;;
    966   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    967     libdir=$ac_optarg ;;
    968 
    969   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    970   | --libexe | --libex | --libe)
    971     ac_prev=libexecdir ;;
    972   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    973   | --libexe=* | --libex=* | --libe=*)
    974     libexecdir=$ac_optarg ;;
    975 
    976   -localedir | --localedir | --localedi | --localed | --locale)
    977     ac_prev=localedir ;;
    978   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    979     localedir=$ac_optarg ;;
    980 
    981   -localstatedir | --localstatedir | --localstatedi | --localstated \
    982   | --localstate | --localstat | --localsta | --localst | --locals)
    983     ac_prev=localstatedir ;;
    984   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    985   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    986     localstatedir=$ac_optarg ;;
    987 
    988   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    989     ac_prev=mandir ;;
    990   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    991     mandir=$ac_optarg ;;
    992 
    993   -nfp | --nfp | --nf)
    994     # Obsolete; use --without-fp.
    995     with_fp=no ;;
    996 
    997   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    998   | --no-cr | --no-c | -n)
    999     no_create=yes ;;
   1000 
   1001   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1002   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1003     no_recursion=yes ;;
   1004 
   1005   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1006   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1007   | --oldin | --oldi | --old | --ol | --o)
   1008     ac_prev=oldincludedir ;;
   1009   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1010   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1011   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1012     oldincludedir=$ac_optarg ;;
   1013 
   1014   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1015     ac_prev=prefix ;;
   1016   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1017     prefix=$ac_optarg ;;
   1018 
   1019   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1020   | --program-pre | --program-pr | --program-p)
   1021     ac_prev=program_prefix ;;
   1022   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1023   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1024     program_prefix=$ac_optarg ;;
   1025 
   1026   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1027   | --program-suf | --program-su | --program-s)
   1028     ac_prev=program_suffix ;;
   1029   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1030   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1031     program_suffix=$ac_optarg ;;
   1032 
   1033   -program-transform-name | --program-transform-name \
   1034   | --program-transform-nam | --program-transform-na \
   1035   | --program-transform-n | --program-transform- \
   1036   | --program-transform | --program-transfor \
   1037   | --program-transfo | --program-transf \
   1038   | --program-trans | --program-tran \
   1039   | --progr-tra | --program-tr | --program-t)
   1040     ac_prev=program_transform_name ;;
   1041   -program-transform-name=* | --program-transform-name=* \
   1042   | --program-transform-nam=* | --program-transform-na=* \
   1043   | --program-transform-n=* | --program-transform-=* \
   1044   | --program-transform=* | --program-transfor=* \
   1045   | --program-transfo=* | --program-transf=* \
   1046   | --program-trans=* | --program-tran=* \
   1047   | --progr-tra=* | --program-tr=* | --program-t=*)
   1048     program_transform_name=$ac_optarg ;;
   1049 
   1050   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1051     ac_prev=pdfdir ;;
   1052   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1053     pdfdir=$ac_optarg ;;
   1054 
   1055   -psdir | --psdir | --psdi | --psd | --ps)
   1056     ac_prev=psdir ;;
   1057   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1058     psdir=$ac_optarg ;;
   1059 
   1060   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1061   | -silent | --silent | --silen | --sile | --sil)
   1062     silent=yes ;;
   1063 
   1064   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1065     ac_prev=sbindir ;;
   1066   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1067   | --sbi=* | --sb=*)
   1068     sbindir=$ac_optarg ;;
   1069 
   1070   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1071   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1072   | --sharedst | --shareds | --shared | --share | --shar \
   1073   | --sha | --sh)
   1074     ac_prev=sharedstatedir ;;
   1075   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1076   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1077   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1078   | --sha=* | --sh=*)
   1079     sharedstatedir=$ac_optarg ;;
   1080 
   1081   -site | --site | --sit)
   1082     ac_prev=site ;;
   1083   -site=* | --site=* | --sit=*)
   1084     site=$ac_optarg ;;
   1085 
   1086   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1087     ac_prev=srcdir ;;
   1088   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1089     srcdir=$ac_optarg ;;
   1090 
   1091   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1092   | --syscon | --sysco | --sysc | --sys | --sy)
   1093     ac_prev=sysconfdir ;;
   1094   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1095   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1096     sysconfdir=$ac_optarg ;;
   1097 
   1098   -target | --target | --targe | --targ | --tar | --ta | --t)
   1099     ac_prev=target_alias ;;
   1100   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1101     target_alias=$ac_optarg ;;
   1102 
   1103   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1104     verbose=yes ;;
   1105 
   1106   -version | --version | --versio | --versi | --vers | -V)
   1107     ac_init_version=: ;;
   1108 
   1109   -with-* | --with-*)
   1110     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1111     # Reject names that are not valid shell variable names.
   1112     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1113       as_fn_error $? "invalid package name: $ac_useropt"
   1114     ac_useropt_orig=$ac_useropt
   1115     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1116     case $ac_user_opts in
   1117       *"
   1118 "with_$ac_useropt"
   1119 "*) ;;
   1120       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1121 	 ac_unrecognized_sep=', ';;
   1122     esac
   1123     eval with_$ac_useropt=\$ac_optarg ;;
   1124 
   1125   -without-* | --without-*)
   1126     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1127     # Reject names that are not valid shell variable names.
   1128     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1129       as_fn_error $? "invalid package name: $ac_useropt"
   1130     ac_useropt_orig=$ac_useropt
   1131     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1132     case $ac_user_opts in
   1133       *"
   1134 "with_$ac_useropt"
   1135 "*) ;;
   1136       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1137 	 ac_unrecognized_sep=', ';;
   1138     esac
   1139     eval with_$ac_useropt=no ;;
   1140 
   1141   --x)
   1142     # Obsolete; use --with-x.
   1143     with_x=yes ;;
   1144 
   1145   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1146   | --x-incl | --x-inc | --x-in | --x-i)
   1147     ac_prev=x_includes ;;
   1148   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1149   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1150     x_includes=$ac_optarg ;;
   1151 
   1152   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1153   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1154     ac_prev=x_libraries ;;
   1155   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1156   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1157     x_libraries=$ac_optarg ;;
   1158 
   1159   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1160 Try \`$0 --help' for more information"
   1161     ;;
   1162 
   1163   *=*)
   1164     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1165     # Reject names that are not valid shell variable names.
   1166     case $ac_envvar in #(
   1167       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1168       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1169     esac
   1170     eval $ac_envvar=\$ac_optarg
   1171     export $ac_envvar ;;
   1172 
   1173   *)
   1174     # FIXME: should be removed in autoconf 3.0.
   1175     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1176     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1177       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1178     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1179     ;;
   1180 
   1181   esac
   1182 done
   1183 
   1184 if test -n "$ac_prev"; then
   1185   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1186   as_fn_error $? "missing argument to $ac_option"
   1187 fi
   1188 
   1189 if test -n "$ac_unrecognized_opts"; then
   1190   case $enable_option_checking in
   1191     no) ;;
   1192     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1193     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1194   esac
   1195 fi
   1196 
   1197 # Check all directory arguments for consistency.
   1198 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1199 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1200 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1201 		libdir localedir mandir
   1202 do
   1203   eval ac_val=\$$ac_var
   1204   # Remove trailing slashes.
   1205   case $ac_val in
   1206     */ )
   1207       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1208       eval $ac_var=\$ac_val;;
   1209   esac
   1210   # Be sure to have absolute directory names.
   1211   case $ac_val in
   1212     [\\/$]* | ?:[\\/]* )  continue;;
   1213     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1214   esac
   1215   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1216 done
   1217 
   1218 # There might be people who depend on the old broken behavior: `$host'
   1219 # used to hold the argument of --host etc.
   1220 # FIXME: To remove some day.
   1221 build=$build_alias
   1222 host=$host_alias
   1223 target=$target_alias
   1224 
   1225 # FIXME: To remove some day.
   1226 if test "x$host_alias" != x; then
   1227   if test "x$build_alias" = x; then
   1228     cross_compiling=maybe
   1229   elif test "x$build_alias" != "x$host_alias"; then
   1230     cross_compiling=yes
   1231   fi
   1232 fi
   1233 
   1234 ac_tool_prefix=
   1235 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1236 
   1237 test "$silent" = yes && exec 6>/dev/null
   1238 
   1239 
   1240 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1241 ac_ls_di=`ls -di .` &&
   1242 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1243   as_fn_error $? "working directory cannot be determined"
   1244 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1245   as_fn_error $? "pwd does not report name of working directory"
   1246 
   1247 
   1248 # Find the source files, if location was not specified.
   1249 if test -z "$srcdir"; then
   1250   ac_srcdir_defaulted=yes
   1251   # Try the directory containing this script, then the parent directory.
   1252   ac_confdir=`$as_dirname -- "$as_myself" ||
   1253 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1254 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1255 	 X"$as_myself" : 'X\(//\)$' \| \
   1256 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1257 $as_echo X"$as_myself" |
   1258     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1259 	    s//\1/
   1260 	    q
   1261 	  }
   1262 	  /^X\(\/\/\)[^/].*/{
   1263 	    s//\1/
   1264 	    q
   1265 	  }
   1266 	  /^X\(\/\/\)$/{
   1267 	    s//\1/
   1268 	    q
   1269 	  }
   1270 	  /^X\(\/\).*/{
   1271 	    s//\1/
   1272 	    q
   1273 	  }
   1274 	  s/.*/./; q'`
   1275   srcdir=$ac_confdir
   1276   if test ! -r "$srcdir/$ac_unique_file"; then
   1277     srcdir=..
   1278   fi
   1279 else
   1280   ac_srcdir_defaulted=no
   1281 fi
   1282 if test ! -r "$srcdir/$ac_unique_file"; then
   1283   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1284   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1285 fi
   1286 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1287 ac_abs_confdir=`(
   1288 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1289 	pwd)`
   1290 # When building in place, set srcdir=.
   1291 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1292   srcdir=.
   1293 fi
   1294 # Remove unnecessary trailing slashes from srcdir.
   1295 # Double slashes in file names in object file debugging info
   1296 # mess up M-x gdb in Emacs.
   1297 case $srcdir in
   1298 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1299 esac
   1300 for ac_var in $ac_precious_vars; do
   1301   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1302   eval ac_env_${ac_var}_value=\$${ac_var}
   1303   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1304   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1305 done
   1306 
   1307 #
   1308 # Report the --help message.
   1309 #
   1310 if test "$ac_init_help" = "long"; then
   1311   # Omit some internal or obsolete options to make the list less imposing.
   1312   # This message is too long to be a string in the A/UX 3.1 sh.
   1313   cat <<_ACEOF
   1314 \`configure' configures twm 1.0.9 to adapt to many kinds of systems.
   1315 
   1316 Usage: $0 [OPTION]... [VAR=VALUE]...
   1317 
   1318 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1319 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1320 
   1321 Defaults for the options are specified in brackets.
   1322 
   1323 Configuration:
   1324   -h, --help              display this help and exit
   1325       --help=short        display options specific to this package
   1326       --help=recursive    display the short help of all the included packages
   1327   -V, --version           display version information and exit
   1328   -q, --quiet, --silent   do not print \`checking ...' messages
   1329       --cache-file=FILE   cache test results in FILE [disabled]
   1330   -C, --config-cache      alias for \`--cache-file=config.cache'
   1331   -n, --no-create         do not create output files
   1332       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1333 
   1334 Installation directories:
   1335   --prefix=PREFIX         install architecture-independent files in PREFIX
   1336                           [$ac_default_prefix]
   1337   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1338                           [PREFIX]
   1339 
   1340 By default, \`make install' will install all the files in
   1341 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1342 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1343 for instance \`--prefix=\$HOME'.
   1344 
   1345 For better control, use the options below.
   1346 
   1347 Fine tuning of the installation directories:
   1348   --bindir=DIR            user executables [EPREFIX/bin]
   1349   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1350   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1351   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1352   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1353   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1354   --libdir=DIR            object code libraries [EPREFIX/lib]
   1355   --includedir=DIR        C header files [PREFIX/include]
   1356   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1357   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1358   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1359   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1360   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1361   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1362   --docdir=DIR            documentation root [DATAROOTDIR/doc/twm]
   1363   --htmldir=DIR           html documentation [DOCDIR]
   1364   --dvidir=DIR            dvi documentation [DOCDIR]
   1365   --pdfdir=DIR            pdf documentation [DOCDIR]
   1366   --psdir=DIR             ps documentation [DOCDIR]
   1367 _ACEOF
   1368 
   1369   cat <<\_ACEOF
   1370 
   1371 Program names:
   1372   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1373   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1374   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1375 
   1376 System types:
   1377   --build=BUILD     configure for building on BUILD [guessed]
   1378   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1379 _ACEOF
   1380 fi
   1381 
   1382 if test -n "$ac_init_help"; then
   1383   case $ac_init_help in
   1384      short | recursive ) echo "Configuration of twm 1.0.9:";;
   1385    esac
   1386   cat <<\_ACEOF
   1387 
   1388 Optional Features:
   1389   --disable-option-checking  ignore unrecognized --enable/--with options
   1390   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1391   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1392   --enable-dependency-tracking
   1393                           do not reject slow dependency extractors
   1394   --disable-dependency-tracking
   1395                           speeds up one-time build
   1396   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1397   --disable-silent-rules  verbose build output (undo: "make V=0")
   1398   --disable-selective-werror
   1399                           Turn off selective compiler errors. (default:
   1400                           enabled)
   1401   --enable-strict-compilation
   1402                           Enable all warnings from compiler and make them
   1403                           errors (default: disabled)
   1404 
   1405 Some influential environment variables:
   1406   CC          C compiler command
   1407   CFLAGS      C compiler flags
   1408   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1409               nonstandard directory <lib dir>
   1410   LIBS        libraries to pass to the linker, e.g. -l<library>
   1411   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1412               you have headers in a nonstandard directory <include dir>
   1413   CPP         C preprocessor
   1414   PKG_CONFIG  path to pkg-config utility
   1415   YACC        The `Yet Another Compiler Compiler' implementation to use.
   1416               Defaults to the first program found out of: `bison -y', `byacc',
   1417               `yacc'.
   1418   YFLAGS      The list of arguments that will be passed by default to $YACC.
   1419               This script will default YFLAGS to the empty string to avoid a
   1420               default value of `-d' given by some make applications.
   1421   TWM_CFLAGS  C compiler flags for TWM, overriding pkg-config
   1422   TWM_LIBS    linker flags for TWM, overriding pkg-config
   1423 
   1424 Use these variables to override the choices made by `configure' or to help
   1425 it to find libraries and programs with nonstandard names/locations.
   1426 
   1427 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1428 _ACEOF
   1429 ac_status=$?
   1430 fi
   1431 
   1432 if test "$ac_init_help" = "recursive"; then
   1433   # If there are subdirs, report their specific --help.
   1434   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1435     test -d "$ac_dir" ||
   1436       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1437       continue
   1438     ac_builddir=.
   1439 
   1440 case "$ac_dir" in
   1441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1442 *)
   1443   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1444   # A ".." for each directory in $ac_dir_suffix.
   1445   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1446   case $ac_top_builddir_sub in
   1447   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1448   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1449   esac ;;
   1450 esac
   1451 ac_abs_top_builddir=$ac_pwd
   1452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1453 # for backward compatibility:
   1454 ac_top_builddir=$ac_top_build_prefix
   1455 
   1456 case $srcdir in
   1457   .)  # We are building in place.
   1458     ac_srcdir=.
   1459     ac_top_srcdir=$ac_top_builddir_sub
   1460     ac_abs_top_srcdir=$ac_pwd ;;
   1461   [\\/]* | ?:[\\/]* )  # Absolute name.
   1462     ac_srcdir=$srcdir$ac_dir_suffix;
   1463     ac_top_srcdir=$srcdir
   1464     ac_abs_top_srcdir=$srcdir ;;
   1465   *) # Relative name.
   1466     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1467     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1468     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1469 esac
   1470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1471 
   1472     cd "$ac_dir" || { ac_status=$?; continue; }
   1473     # Check for guested configure.
   1474     if test -f "$ac_srcdir/configure.gnu"; then
   1475       echo &&
   1476       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1477     elif test -f "$ac_srcdir/configure"; then
   1478       echo &&
   1479       $SHELL "$ac_srcdir/configure" --help=recursive
   1480     else
   1481       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1482     fi || ac_status=$?
   1483     cd "$ac_pwd" || { ac_status=$?; break; }
   1484   done
   1485 fi
   1486 
   1487 test -n "$ac_init_help" && exit $ac_status
   1488 if $ac_init_version; then
   1489   cat <<\_ACEOF
   1490 twm configure 1.0.9
   1491 generated by GNU Autoconf 2.69
   1492 
   1493 Copyright (C) 2012 Free Software Foundation, Inc.
   1494 This configure script is free software; the Free Software Foundation
   1495 gives unlimited permission to copy, distribute and modify it.
   1496 _ACEOF
   1497   exit
   1498 fi
   1499 
   1500 ## ------------------------ ##
   1501 ## Autoconf initialization. ##
   1502 ## ------------------------ ##
   1503 
   1504 # ac_fn_c_try_compile LINENO
   1505 # --------------------------
   1506 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1507 ac_fn_c_try_compile ()
   1508 {
   1509   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1510   rm -f conftest.$ac_objext
   1511   if { { ac_try="$ac_compile"
   1512 case "(($ac_try" in
   1513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1514   *) ac_try_echo=$ac_try;;
   1515 esac
   1516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1517 $as_echo "$ac_try_echo"; } >&5
   1518   (eval "$ac_compile") 2>conftest.err
   1519   ac_status=$?
   1520   if test -s conftest.err; then
   1521     grep -v '^ *+' conftest.err >conftest.er1
   1522     cat conftest.er1 >&5
   1523     mv -f conftest.er1 conftest.err
   1524   fi
   1525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1526   test $ac_status = 0; } && {
   1527 	 test -z "$ac_c_werror_flag" ||
   1528 	 test ! -s conftest.err
   1529        } && test -s conftest.$ac_objext; then :
   1530   ac_retval=0
   1531 else
   1532   $as_echo "$as_me: failed program was:" >&5
   1533 sed 's/^/| /' conftest.$ac_ext >&5
   1534 
   1535 	ac_retval=1
   1536 fi
   1537   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1538   as_fn_set_status $ac_retval
   1539 
   1540 } # ac_fn_c_try_compile
   1541 
   1542 # ac_fn_c_try_cpp LINENO
   1543 # ----------------------
   1544 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1545 ac_fn_c_try_cpp ()
   1546 {
   1547   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1548   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1549 case "(($ac_try" in
   1550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1551   *) ac_try_echo=$ac_try;;
   1552 esac
   1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1554 $as_echo "$ac_try_echo"; } >&5
   1555   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1556   ac_status=$?
   1557   if test -s conftest.err; then
   1558     grep -v '^ *+' conftest.err >conftest.er1
   1559     cat conftest.er1 >&5
   1560     mv -f conftest.er1 conftest.err
   1561   fi
   1562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1563   test $ac_status = 0; } > conftest.i && {
   1564 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1565 	 test ! -s conftest.err
   1566        }; then :
   1567   ac_retval=0
   1568 else
   1569   $as_echo "$as_me: failed program was:" >&5
   1570 sed 's/^/| /' conftest.$ac_ext >&5
   1571 
   1572     ac_retval=1
   1573 fi
   1574   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1575   as_fn_set_status $ac_retval
   1576 
   1577 } # ac_fn_c_try_cpp
   1578 
   1579 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1580 # -------------------------------------------------------
   1581 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1582 # the include files in INCLUDES and setting the cache variable VAR
   1583 # accordingly.
   1584 ac_fn_c_check_header_mongrel ()
   1585 {
   1586   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1587   if eval \${$3+:} false; then :
   1588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1589 $as_echo_n "checking for $2... " >&6; }
   1590 if eval \${$3+:} false; then :
   1591   $as_echo_n "(cached) " >&6
   1592 fi
   1593 eval ac_res=\$$3
   1594 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1595 $as_echo "$ac_res" >&6; }
   1596 else
   1597   # Is the header compilable?
   1598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1599 $as_echo_n "checking $2 usability... " >&6; }
   1600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1601 /* end confdefs.h.  */
   1602 $4
   1603 #include <$2>
   1604 _ACEOF
   1605 if ac_fn_c_try_compile "$LINENO"; then :
   1606   ac_header_compiler=yes
   1607 else
   1608   ac_header_compiler=no
   1609 fi
   1610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1612 $as_echo "$ac_header_compiler" >&6; }
   1613 
   1614 # Is the header present?
   1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1616 $as_echo_n "checking $2 presence... " >&6; }
   1617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1618 /* end confdefs.h.  */
   1619 #include <$2>
   1620 _ACEOF
   1621 if ac_fn_c_try_cpp "$LINENO"; then :
   1622   ac_header_preproc=yes
   1623 else
   1624   ac_header_preproc=no
   1625 fi
   1626 rm -f conftest.err conftest.i conftest.$ac_ext
   1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1628 $as_echo "$ac_header_preproc" >&6; }
   1629 
   1630 # So?  What about this header?
   1631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1632   yes:no: )
   1633     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1634 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1635     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1636 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1637     ;;
   1638   no:yes:* )
   1639     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1640 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1641     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1642 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1643     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1644 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1645     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1646 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1647     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1648 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1649 ( $as_echo "## ---------------------------------------------------------------------- ##
   1650 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1651 ## ---------------------------------------------------------------------- ##"
   1652      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1653     ;;
   1654 esac
   1655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1656 $as_echo_n "checking for $2... " >&6; }
   1657 if eval \${$3+:} false; then :
   1658   $as_echo_n "(cached) " >&6
   1659 else
   1660   eval "$3=\$ac_header_compiler"
   1661 fi
   1662 eval ac_res=\$$3
   1663 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1664 $as_echo "$ac_res" >&6; }
   1665 fi
   1666   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1667 
   1668 } # ac_fn_c_check_header_mongrel
   1669 
   1670 # ac_fn_c_try_run LINENO
   1671 # ----------------------
   1672 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1673 # that executables *can* be run.
   1674 ac_fn_c_try_run ()
   1675 {
   1676   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1677   if { { ac_try="$ac_link"
   1678 case "(($ac_try" in
   1679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1680   *) ac_try_echo=$ac_try;;
   1681 esac
   1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1683 $as_echo "$ac_try_echo"; } >&5
   1684   (eval "$ac_link") 2>&5
   1685   ac_status=$?
   1686   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1687   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1688   { { case "(($ac_try" in
   1689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1690   *) ac_try_echo=$ac_try;;
   1691 esac
   1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1693 $as_echo "$ac_try_echo"; } >&5
   1694   (eval "$ac_try") 2>&5
   1695   ac_status=$?
   1696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1697   test $ac_status = 0; }; }; then :
   1698   ac_retval=0
   1699 else
   1700   $as_echo "$as_me: program exited with status $ac_status" >&5
   1701        $as_echo "$as_me: failed program was:" >&5
   1702 sed 's/^/| /' conftest.$ac_ext >&5
   1703 
   1704        ac_retval=$ac_status
   1705 fi
   1706   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1707   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1708   as_fn_set_status $ac_retval
   1709 
   1710 } # ac_fn_c_try_run
   1711 
   1712 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1713 # -------------------------------------------------------
   1714 # Tests whether HEADER exists and can be compiled using the include files in
   1715 # INCLUDES, setting the cache variable VAR accordingly.
   1716 ac_fn_c_check_header_compile ()
   1717 {
   1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1720 $as_echo_n "checking for $2... " >&6; }
   1721 if eval \${$3+:} false; then :
   1722   $as_echo_n "(cached) " >&6
   1723 else
   1724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1725 /* end confdefs.h.  */
   1726 $4
   1727 #include <$2>
   1728 _ACEOF
   1729 if ac_fn_c_try_compile "$LINENO"; then :
   1730   eval "$3=yes"
   1731 else
   1732   eval "$3=no"
   1733 fi
   1734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1735 fi
   1736 eval ac_res=\$$3
   1737 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1738 $as_echo "$ac_res" >&6; }
   1739   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1740 
   1741 } # ac_fn_c_check_header_compile
   1742 
   1743 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1744 # ---------------------------------------------
   1745 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1746 # accordingly.
   1747 ac_fn_c_check_decl ()
   1748 {
   1749   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1750   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1751   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1753 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1754 if eval \${$3+:} false; then :
   1755   $as_echo_n "(cached) " >&6
   1756 else
   1757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1758 /* end confdefs.h.  */
   1759 $4
   1760 int
   1761 main ()
   1762 {
   1763 #ifndef $as_decl_name
   1764 #ifdef __cplusplus
   1765   (void) $as_decl_use;
   1766 #else
   1767   (void) $as_decl_name;
   1768 #endif
   1769 #endif
   1770 
   1771   ;
   1772   return 0;
   1773 }
   1774 _ACEOF
   1775 if ac_fn_c_try_compile "$LINENO"; then :
   1776   eval "$3=yes"
   1777 else
   1778   eval "$3=no"
   1779 fi
   1780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1781 fi
   1782 eval ac_res=\$$3
   1783 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1784 $as_echo "$ac_res" >&6; }
   1785   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1786 
   1787 } # ac_fn_c_check_decl
   1788 
   1789 # ac_fn_c_try_link LINENO
   1790 # -----------------------
   1791 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1792 ac_fn_c_try_link ()
   1793 {
   1794   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1795   rm -f conftest.$ac_objext conftest$ac_exeext
   1796   if { { ac_try="$ac_link"
   1797 case "(($ac_try" in
   1798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1799   *) ac_try_echo=$ac_try;;
   1800 esac
   1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1802 $as_echo "$ac_try_echo"; } >&5
   1803   (eval "$ac_link") 2>conftest.err
   1804   ac_status=$?
   1805   if test -s conftest.err; then
   1806     grep -v '^ *+' conftest.err >conftest.er1
   1807     cat conftest.er1 >&5
   1808     mv -f conftest.er1 conftest.err
   1809   fi
   1810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1811   test $ac_status = 0; } && {
   1812 	 test -z "$ac_c_werror_flag" ||
   1813 	 test ! -s conftest.err
   1814        } && test -s conftest$ac_exeext && {
   1815 	 test "$cross_compiling" = yes ||
   1816 	 test -x conftest$ac_exeext
   1817        }; then :
   1818   ac_retval=0
   1819 else
   1820   $as_echo "$as_me: failed program was:" >&5
   1821 sed 's/^/| /' conftest.$ac_ext >&5
   1822 
   1823 	ac_retval=1
   1824 fi
   1825   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1826   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1827   # interfere with the next link command; also delete a directory that is
   1828   # left behind by Apple's compiler.  We do this before executing the actions.
   1829   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1830   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1831   as_fn_set_status $ac_retval
   1832 
   1833 } # ac_fn_c_try_link
   1834 
   1835 # ac_fn_c_check_func LINENO FUNC VAR
   1836 # ----------------------------------
   1837 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1838 ac_fn_c_check_func ()
   1839 {
   1840   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1842 $as_echo_n "checking for $2... " >&6; }
   1843 if eval \${$3+:} false; then :
   1844   $as_echo_n "(cached) " >&6
   1845 else
   1846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1847 /* end confdefs.h.  */
   1848 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1849    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1850 #define $2 innocuous_$2
   1851 
   1852 /* System header to define __stub macros and hopefully few prototypes,
   1853     which can conflict with char $2 (); below.
   1854     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1855     <limits.h> exists even on freestanding compilers.  */
   1856 
   1857 #ifdef __STDC__
   1858 # include <limits.h>
   1859 #else
   1860 # include <assert.h>
   1861 #endif
   1862 
   1863 #undef $2
   1864 
   1865 /* Override any GCC internal prototype to avoid an error.
   1866    Use char because int might match the return type of a GCC
   1867    builtin and then its argument prototype would still apply.  */
   1868 #ifdef __cplusplus
   1869 extern "C"
   1870 #endif
   1871 char $2 ();
   1872 /* The GNU C library defines this for functions which it implements
   1873     to always fail with ENOSYS.  Some functions are actually named
   1874     something starting with __ and the normal name is an alias.  */
   1875 #if defined __stub_$2 || defined __stub___$2
   1876 choke me
   1877 #endif
   1878 
   1879 int
   1880 main ()
   1881 {
   1882 return $2 ();
   1883   ;
   1884   return 0;
   1885 }
   1886 _ACEOF
   1887 if ac_fn_c_try_link "$LINENO"; then :
   1888   eval "$3=yes"
   1889 else
   1890   eval "$3=no"
   1891 fi
   1892 rm -f core conftest.err conftest.$ac_objext \
   1893     conftest$ac_exeext conftest.$ac_ext
   1894 fi
   1895 eval ac_res=\$$3
   1896 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1897 $as_echo "$ac_res" >&6; }
   1898   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1899 
   1900 } # ac_fn_c_check_func
   1901 cat >config.log <<_ACEOF
   1902 This file contains any messages produced by compilers while
   1903 running configure, to aid debugging if configure makes a mistake.
   1904 
   1905 It was created by twm $as_me 1.0.9, which was
   1906 generated by GNU Autoconf 2.69.  Invocation command line was
   1907 
   1908   $ $0 $@
   1909 
   1910 _ACEOF
   1911 exec 5>>config.log
   1912 {
   1913 cat <<_ASUNAME
   1914 ## --------- ##
   1915 ## Platform. ##
   1916 ## --------- ##
   1917 
   1918 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1919 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1920 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1921 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1922 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1923 
   1924 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1925 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1926 
   1927 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1928 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1929 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1930 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1931 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1932 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1933 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1934 
   1935 _ASUNAME
   1936 
   1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1938 for as_dir in $PATH
   1939 do
   1940   IFS=$as_save_IFS
   1941   test -z "$as_dir" && as_dir=.
   1942     $as_echo "PATH: $as_dir"
   1943   done
   1944 IFS=$as_save_IFS
   1945 
   1946 } >&5
   1947 
   1948 cat >&5 <<_ACEOF
   1949 
   1950 
   1951 ## ----------- ##
   1952 ## Core tests. ##
   1953 ## ----------- ##
   1954 
   1955 _ACEOF
   1956 
   1957 
   1958 # Keep a trace of the command line.
   1959 # Strip out --no-create and --no-recursion so they do not pile up.
   1960 # Strip out --silent because we don't want to record it for future runs.
   1961 # Also quote any args containing shell meta-characters.
   1962 # Make two passes to allow for proper duplicate-argument suppression.
   1963 ac_configure_args=
   1964 ac_configure_args0=
   1965 ac_configure_args1=
   1966 ac_must_keep_next=false
   1967 for ac_pass in 1 2
   1968 do
   1969   for ac_arg
   1970   do
   1971     case $ac_arg in
   1972     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1973     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1974     | -silent | --silent | --silen | --sile | --sil)
   1975       continue ;;
   1976     *\'*)
   1977       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1978     esac
   1979     case $ac_pass in
   1980     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1981     2)
   1982       as_fn_append ac_configure_args1 " '$ac_arg'"
   1983       if test $ac_must_keep_next = true; then
   1984 	ac_must_keep_next=false # Got value, back to normal.
   1985       else
   1986 	case $ac_arg in
   1987 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1988 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1989 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1990 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1991 	    case "$ac_configure_args0 " in
   1992 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1993 	    esac
   1994 	    ;;
   1995 	  -* ) ac_must_keep_next=true ;;
   1996 	esac
   1997       fi
   1998       as_fn_append ac_configure_args " '$ac_arg'"
   1999       ;;
   2000     esac
   2001   done
   2002 done
   2003 { ac_configure_args0=; unset ac_configure_args0;}
   2004 { ac_configure_args1=; unset ac_configure_args1;}
   2005 
   2006 # When interrupted or exit'd, cleanup temporary files, and complete
   2007 # config.log.  We remove comments because anyway the quotes in there
   2008 # would cause problems or look ugly.
   2009 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2010 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2011 trap 'exit_status=$?
   2012   # Save into config.log some information that might help in debugging.
   2013   {
   2014     echo
   2015 
   2016     $as_echo "## ---------------- ##
   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_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2028 $as_echo "$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     $as_echo "## ----------------- ##
   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=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2061       esac
   2062       $as_echo "$ac_var='\''$ac_val'\''"
   2063     done | sort
   2064     echo
   2065 
   2066     if test -n "$ac_subst_files"; then
   2067       $as_echo "## ------------------- ##
   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=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2076 	esac
   2077 	$as_echo "$ac_var='\''$ac_val'\''"
   2078       done | sort
   2079       echo
   2080     fi
   2081 
   2082     if test -s confdefs.h; then
   2083       $as_echo "## ----------- ##
   2084 ## confdefs.h. ##
   2085 ## ----------- ##"
   2086       echo
   2087       cat confdefs.h
   2088       echo
   2089     fi
   2090     test "$ac_signal" != 0 &&
   2091       $as_echo "$as_me: caught signal $ac_signal"
   2092     $as_echo "$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 $as_echo "/* confdefs.h */" > confdefs.h
   2107 
   2108 # Predefined preprocessor variables.
   2109 
   2110 cat >>confdefs.h <<_ACEOF
   2111 #define PACKAGE_NAME "$PACKAGE_NAME"
   2112 _ACEOF
   2113 
   2114 cat >>confdefs.h <<_ACEOF
   2115 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2116 _ACEOF
   2117 
   2118 cat >>confdefs.h <<_ACEOF
   2119 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2120 _ACEOF
   2121 
   2122 cat >>confdefs.h <<_ACEOF
   2123 #define PACKAGE_STRING "$PACKAGE_STRING"
   2124 _ACEOF
   2125 
   2126 cat >>confdefs.h <<_ACEOF
   2127 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2128 _ACEOF
   2129 
   2130 cat >>confdefs.h <<_ACEOF
   2131 #define PACKAGE_URL "$PACKAGE_URL"
   2132 _ACEOF
   2133 
   2134 
   2135 # Let the site file select an alternate cache file if it wants to.
   2136 # Prefer an explicitly selected file to automatically selected ones.
   2137 ac_site_file1=NONE
   2138 ac_site_file2=NONE
   2139 if test -n "$CONFIG_SITE"; then
   2140   # We do not want a PATH search for config.site.
   2141   case $CONFIG_SITE in #((
   2142     -*)  ac_site_file1=./$CONFIG_SITE;;
   2143     */*) ac_site_file1=$CONFIG_SITE;;
   2144     *)   ac_site_file1=./$CONFIG_SITE;;
   2145   esac
   2146 elif test "x$prefix" != xNONE; then
   2147   ac_site_file1=$prefix/share/config.site
   2148   ac_site_file2=$prefix/etc/config.site
   2149 else
   2150   ac_site_file1=$ac_default_prefix/share/config.site
   2151   ac_site_file2=$ac_default_prefix/etc/config.site
   2152 fi
   2153 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2154 do
   2155   test "x$ac_site_file" = xNONE && continue
   2156   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2157     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2158 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2159     sed 's/^/| /' "$ac_site_file" >&5
   2160     . "$ac_site_file" \
   2161       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2163 as_fn_error $? "failed to load site script $ac_site_file
   2164 See \`config.log' for more details" "$LINENO" 5; }
   2165   fi
   2166 done
   2167 
   2168 if test -r "$cache_file"; then
   2169   # Some versions of bash will fail to source /dev/null (special files
   2170   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2171   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2172     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2173 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2174     case $cache_file in
   2175       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2176       *)                      . "./$cache_file";;
   2177     esac
   2178   fi
   2179 else
   2180   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2181 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2182   >$cache_file
   2183 fi
   2184 
   2185 # Check that the precious variables saved in the cache have kept the same
   2186 # value.
   2187 ac_cache_corrupted=false
   2188 for ac_var in $ac_precious_vars; do
   2189   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2190   eval ac_new_set=\$ac_env_${ac_var}_set
   2191   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2192   eval ac_new_val=\$ac_env_${ac_var}_value
   2193   case $ac_old_set,$ac_new_set in
   2194     set,)
   2195       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2196 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2197       ac_cache_corrupted=: ;;
   2198     ,set)
   2199       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2200 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2201       ac_cache_corrupted=: ;;
   2202     ,);;
   2203     *)
   2204       if test "x$ac_old_val" != "x$ac_new_val"; then
   2205 	# differences in whitespace do not lead to failure.
   2206 	ac_old_val_w=`echo x $ac_old_val`
   2207 	ac_new_val_w=`echo x $ac_new_val`
   2208 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2209 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2210 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2211 	  ac_cache_corrupted=:
   2212 	else
   2213 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2214 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2215 	  eval $ac_var=\$ac_old_val
   2216 	fi
   2217 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2218 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2219 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2220 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2221       fi;;
   2222   esac
   2223   # Pass precious variables to config.status.
   2224   if test "$ac_new_set" = set; then
   2225     case $ac_new_val in
   2226     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2227     *) ac_arg=$ac_var=$ac_new_val ;;
   2228     esac
   2229     case " $ac_configure_args " in
   2230       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2231       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2232     esac
   2233   fi
   2234 done
   2235 if $ac_cache_corrupted; then
   2236   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2238   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2239 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2240   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2241 fi
   2242 ## -------------------- ##
   2243 ## Main body of script. ##
   2244 ## -------------------- ##
   2245 
   2246 ac_ext=c
   2247 ac_cpp='$CPP $CPPFLAGS'
   2248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2251 
   2252 
   2253 
   2254 ac_config_headers="$ac_config_headers config.h"
   2255 
   2256 ac_aux_dir=
   2257 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2258   if test -f "$ac_dir/install-sh"; then
   2259     ac_aux_dir=$ac_dir
   2260     ac_install_sh="$ac_aux_dir/install-sh -c"
   2261     break
   2262   elif test -f "$ac_dir/install.sh"; then
   2263     ac_aux_dir=$ac_dir
   2264     ac_install_sh="$ac_aux_dir/install.sh -c"
   2265     break
   2266   elif test -f "$ac_dir/shtool"; then
   2267     ac_aux_dir=$ac_dir
   2268     ac_install_sh="$ac_aux_dir/shtool install -c"
   2269     break
   2270   fi
   2271 done
   2272 if test -z "$ac_aux_dir"; then
   2273   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2274 fi
   2275 
   2276 # These three variables are undocumented and unsupported,
   2277 # and are intended to be withdrawn in a future Autoconf release.
   2278 # They can cause serious problems if a builder's source tree is in a directory
   2279 # whose full name contains unusual characters.
   2280 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2281 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2282 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2283 
   2284 
   2285 # Expand $ac_aux_dir to an absolute path.
   2286 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2287 
   2288 ac_ext=c
   2289 ac_cpp='$CPP $CPPFLAGS'
   2290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2293 if test -n "$ac_tool_prefix"; then
   2294   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2295 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2297 $as_echo_n "checking for $ac_word... " >&6; }
   2298 if ${ac_cv_prog_CC+:} false; then :
   2299   $as_echo_n "(cached) " >&6
   2300 else
   2301   if test -n "$CC"; then
   2302   ac_cv_prog_CC="$CC" # Let the user override the test.
   2303 else
   2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2305 for as_dir in $PATH
   2306 do
   2307   IFS=$as_save_IFS
   2308   test -z "$as_dir" && as_dir=.
   2309     for ac_exec_ext in '' $ac_executable_extensions; do
   2310   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2311     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2313     break 2
   2314   fi
   2315 done
   2316   done
   2317 IFS=$as_save_IFS
   2318 
   2319 fi
   2320 fi
   2321 CC=$ac_cv_prog_CC
   2322 if test -n "$CC"; then
   2323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2324 $as_echo "$CC" >&6; }
   2325 else
   2326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2327 $as_echo "no" >&6; }
   2328 fi
   2329 
   2330 
   2331 fi
   2332 if test -z "$ac_cv_prog_CC"; then
   2333   ac_ct_CC=$CC
   2334   # Extract the first word of "gcc", so it can be a program name with args.
   2335 set dummy gcc; ac_word=$2
   2336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2337 $as_echo_n "checking for $ac_word... " >&6; }
   2338 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2339   $as_echo_n "(cached) " >&6
   2340 else
   2341   if test -n "$ac_ct_CC"; then
   2342   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2343 else
   2344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2345 for as_dir in $PATH
   2346 do
   2347   IFS=$as_save_IFS
   2348   test -z "$as_dir" && as_dir=.
   2349     for ac_exec_ext in '' $ac_executable_extensions; do
   2350   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2351     ac_cv_prog_ac_ct_CC="gcc"
   2352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2353     break 2
   2354   fi
   2355 done
   2356   done
   2357 IFS=$as_save_IFS
   2358 
   2359 fi
   2360 fi
   2361 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2362 if test -n "$ac_ct_CC"; then
   2363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2364 $as_echo "$ac_ct_CC" >&6; }
   2365 else
   2366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2367 $as_echo "no" >&6; }
   2368 fi
   2369 
   2370   if test "x$ac_ct_CC" = x; then
   2371     CC=""
   2372   else
   2373     case $cross_compiling:$ac_tool_warned in
   2374 yes:)
   2375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2377 ac_tool_warned=yes ;;
   2378 esac
   2379     CC=$ac_ct_CC
   2380   fi
   2381 else
   2382   CC="$ac_cv_prog_CC"
   2383 fi
   2384 
   2385 if test -z "$CC"; then
   2386           if test -n "$ac_tool_prefix"; then
   2387     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2388 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2390 $as_echo_n "checking for $ac_word... " >&6; }
   2391 if ${ac_cv_prog_CC+:} false; then :
   2392   $as_echo_n "(cached) " >&6
   2393 else
   2394   if test -n "$CC"; then
   2395   ac_cv_prog_CC="$CC" # Let the user override the test.
   2396 else
   2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2398 for as_dir in $PATH
   2399 do
   2400   IFS=$as_save_IFS
   2401   test -z "$as_dir" && as_dir=.
   2402     for ac_exec_ext in '' $ac_executable_extensions; do
   2403   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2404     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2406     break 2
   2407   fi
   2408 done
   2409   done
   2410 IFS=$as_save_IFS
   2411 
   2412 fi
   2413 fi
   2414 CC=$ac_cv_prog_CC
   2415 if test -n "$CC"; then
   2416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2417 $as_echo "$CC" >&6; }
   2418 else
   2419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2420 $as_echo "no" >&6; }
   2421 fi
   2422 
   2423 
   2424   fi
   2425 fi
   2426 if test -z "$CC"; then
   2427   # Extract the first word of "cc", so it can be a program name with args.
   2428 set dummy cc; ac_word=$2
   2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2430 $as_echo_n "checking for $ac_word... " >&6; }
   2431 if ${ac_cv_prog_CC+:} false; then :
   2432   $as_echo_n "(cached) " >&6
   2433 else
   2434   if test -n "$CC"; then
   2435   ac_cv_prog_CC="$CC" # Let the user override the test.
   2436 else
   2437   ac_prog_rejected=no
   2438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2439 for as_dir in $PATH
   2440 do
   2441   IFS=$as_save_IFS
   2442   test -z "$as_dir" && as_dir=.
   2443     for ac_exec_ext in '' $ac_executable_extensions; do
   2444   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2445     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2446        ac_prog_rejected=yes
   2447        continue
   2448      fi
   2449     ac_cv_prog_CC="cc"
   2450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2451     break 2
   2452   fi
   2453 done
   2454   done
   2455 IFS=$as_save_IFS
   2456 
   2457 if test $ac_prog_rejected = yes; then
   2458   # We found a bogon in the path, so make sure we never use it.
   2459   set dummy $ac_cv_prog_CC
   2460   shift
   2461   if test $# != 0; then
   2462     # We chose a different compiler from the bogus one.
   2463     # However, it has the same basename, so the bogon will be chosen
   2464     # first if we set CC to just the basename; use the full file name.
   2465     shift
   2466     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2467   fi
   2468 fi
   2469 fi
   2470 fi
   2471 CC=$ac_cv_prog_CC
   2472 if test -n "$CC"; then
   2473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2474 $as_echo "$CC" >&6; }
   2475 else
   2476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2477 $as_echo "no" >&6; }
   2478 fi
   2479 
   2480 
   2481 fi
   2482 if test -z "$CC"; then
   2483   if test -n "$ac_tool_prefix"; then
   2484   for ac_prog in cl.exe
   2485   do
   2486     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2487 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2489 $as_echo_n "checking for $ac_word... " >&6; }
   2490 if ${ac_cv_prog_CC+:} false; then :
   2491   $as_echo_n "(cached) " >&6
   2492 else
   2493   if test -n "$CC"; then
   2494   ac_cv_prog_CC="$CC" # Let the user override the test.
   2495 else
   2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2497 for as_dir in $PATH
   2498 do
   2499   IFS=$as_save_IFS
   2500   test -z "$as_dir" && as_dir=.
   2501     for ac_exec_ext in '' $ac_executable_extensions; do
   2502   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2503     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2505     break 2
   2506   fi
   2507 done
   2508   done
   2509 IFS=$as_save_IFS
   2510 
   2511 fi
   2512 fi
   2513 CC=$ac_cv_prog_CC
   2514 if test -n "$CC"; then
   2515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2516 $as_echo "$CC" >&6; }
   2517 else
   2518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2519 $as_echo "no" >&6; }
   2520 fi
   2521 
   2522 
   2523     test -n "$CC" && break
   2524   done
   2525 fi
   2526 if test -z "$CC"; then
   2527   ac_ct_CC=$CC
   2528   for ac_prog in cl.exe
   2529 do
   2530   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2531 set dummy $ac_prog; ac_word=$2
   2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2533 $as_echo_n "checking for $ac_word... " >&6; }
   2534 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2535   $as_echo_n "(cached) " >&6
   2536 else
   2537   if test -n "$ac_ct_CC"; then
   2538   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2539 else
   2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2541 for as_dir in $PATH
   2542 do
   2543   IFS=$as_save_IFS
   2544   test -z "$as_dir" && as_dir=.
   2545     for ac_exec_ext in '' $ac_executable_extensions; do
   2546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2547     ac_cv_prog_ac_ct_CC="$ac_prog"
   2548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2549     break 2
   2550   fi
   2551 done
   2552   done
   2553 IFS=$as_save_IFS
   2554 
   2555 fi
   2556 fi
   2557 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2558 if test -n "$ac_ct_CC"; then
   2559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2560 $as_echo "$ac_ct_CC" >&6; }
   2561 else
   2562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2563 $as_echo "no" >&6; }
   2564 fi
   2565 
   2566 
   2567   test -n "$ac_ct_CC" && break
   2568 done
   2569 
   2570   if test "x$ac_ct_CC" = x; then
   2571     CC=""
   2572   else
   2573     case $cross_compiling:$ac_tool_warned in
   2574 yes:)
   2575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2577 ac_tool_warned=yes ;;
   2578 esac
   2579     CC=$ac_ct_CC
   2580   fi
   2581 fi
   2582 
   2583 fi
   2584 
   2585 
   2586 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2588 as_fn_error $? "no acceptable C compiler found in \$PATH
   2589 See \`config.log' for more details" "$LINENO" 5; }
   2590 
   2591 # Provide some information about the compiler.
   2592 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2593 set X $ac_compile
   2594 ac_compiler=$2
   2595 for ac_option in --version -v -V -qversion; do
   2596   { { ac_try="$ac_compiler $ac_option >&5"
   2597 case "(($ac_try" in
   2598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2599   *) ac_try_echo=$ac_try;;
   2600 esac
   2601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2602 $as_echo "$ac_try_echo"; } >&5
   2603   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2604   ac_status=$?
   2605   if test -s conftest.err; then
   2606     sed '10a\
   2607 ... rest of stderr output deleted ...
   2608          10q' conftest.err >conftest.er1
   2609     cat conftest.er1 >&5
   2610   fi
   2611   rm -f conftest.er1 conftest.err
   2612   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2613   test $ac_status = 0; }
   2614 done
   2615 
   2616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2617 /* end confdefs.h.  */
   2618 
   2619 int
   2620 main ()
   2621 {
   2622 
   2623   ;
   2624   return 0;
   2625 }
   2626 _ACEOF
   2627 ac_clean_files_save=$ac_clean_files
   2628 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2629 # Try to create an executable without -o first, disregard a.out.
   2630 # It will help us diagnose broken compilers, and finding out an intuition
   2631 # of exeext.
   2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2633 $as_echo_n "checking whether the C compiler works... " >&6; }
   2634 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2635 
   2636 # The possible output files:
   2637 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2638 
   2639 ac_rmfiles=
   2640 for ac_file in $ac_files
   2641 do
   2642   case $ac_file in
   2643     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2644     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2645   esac
   2646 done
   2647 rm -f $ac_rmfiles
   2648 
   2649 if { { ac_try="$ac_link_default"
   2650 case "(($ac_try" in
   2651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2652   *) ac_try_echo=$ac_try;;
   2653 esac
   2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2655 $as_echo "$ac_try_echo"; } >&5
   2656   (eval "$ac_link_default") 2>&5
   2657   ac_status=$?
   2658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2659   test $ac_status = 0; }; then :
   2660   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2661 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2662 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2663 # so that the user can short-circuit this test for compilers unknown to
   2664 # Autoconf.
   2665 for ac_file in $ac_files ''
   2666 do
   2667   test -f "$ac_file" || continue
   2668   case $ac_file in
   2669     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2670 	;;
   2671     [ab].out )
   2672 	# We found the default executable, but exeext='' is most
   2673 	# certainly right.
   2674 	break;;
   2675     *.* )
   2676 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2677 	then :; else
   2678 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2679 	fi
   2680 	# We set ac_cv_exeext here because the later test for it is not
   2681 	# safe: cross compilers may not add the suffix if given an `-o'
   2682 	# argument, so we may need to know it at that point already.
   2683 	# Even if this section looks crufty: it has the advantage of
   2684 	# actually working.
   2685 	break;;
   2686     * )
   2687 	break;;
   2688   esac
   2689 done
   2690 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2691 
   2692 else
   2693   ac_file=''
   2694 fi
   2695 if test -z "$ac_file"; then :
   2696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2697 $as_echo "no" >&6; }
   2698 $as_echo "$as_me: failed program was:" >&5
   2699 sed 's/^/| /' conftest.$ac_ext >&5
   2700 
   2701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2703 as_fn_error 77 "C compiler cannot create executables
   2704 See \`config.log' for more details" "$LINENO" 5; }
   2705 else
   2706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2707 $as_echo "yes" >&6; }
   2708 fi
   2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2710 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2712 $as_echo "$ac_file" >&6; }
   2713 ac_exeext=$ac_cv_exeext
   2714 
   2715 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2716 ac_clean_files=$ac_clean_files_save
   2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2718 $as_echo_n "checking for suffix of executables... " >&6; }
   2719 if { { ac_try="$ac_link"
   2720 case "(($ac_try" in
   2721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2722   *) ac_try_echo=$ac_try;;
   2723 esac
   2724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2725 $as_echo "$ac_try_echo"; } >&5
   2726   (eval "$ac_link") 2>&5
   2727   ac_status=$?
   2728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2729   test $ac_status = 0; }; then :
   2730   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2731 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2732 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2733 # `rm'.
   2734 for ac_file in conftest.exe conftest conftest.*; do
   2735   test -f "$ac_file" || continue
   2736   case $ac_file in
   2737     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2738     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2739 	  break;;
   2740     * ) break;;
   2741   esac
   2742 done
   2743 else
   2744   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2746 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2747 See \`config.log' for more details" "$LINENO" 5; }
   2748 fi
   2749 rm -f conftest conftest$ac_cv_exeext
   2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2751 $as_echo "$ac_cv_exeext" >&6; }
   2752 
   2753 rm -f conftest.$ac_ext
   2754 EXEEXT=$ac_cv_exeext
   2755 ac_exeext=$EXEEXT
   2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2757 /* end confdefs.h.  */
   2758 #include <stdio.h>
   2759 int
   2760 main ()
   2761 {
   2762 FILE *f = fopen ("conftest.out", "w");
   2763  return ferror (f) || fclose (f) != 0;
   2764 
   2765   ;
   2766   return 0;
   2767 }
   2768 _ACEOF
   2769 ac_clean_files="$ac_clean_files conftest.out"
   2770 # Check that the compiler produces executables we can run.  If not, either
   2771 # the compiler is broken, or we cross compile.
   2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2773 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2774 if test "$cross_compiling" != yes; then
   2775   { { ac_try="$ac_link"
   2776 case "(($ac_try" in
   2777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2778   *) ac_try_echo=$ac_try;;
   2779 esac
   2780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2781 $as_echo "$ac_try_echo"; } >&5
   2782   (eval "$ac_link") 2>&5
   2783   ac_status=$?
   2784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2785   test $ac_status = 0; }
   2786   if { ac_try='./conftest$ac_cv_exeext'
   2787   { { case "(($ac_try" in
   2788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2789   *) ac_try_echo=$ac_try;;
   2790 esac
   2791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2792 $as_echo "$ac_try_echo"; } >&5
   2793   (eval "$ac_try") 2>&5
   2794   ac_status=$?
   2795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2796   test $ac_status = 0; }; }; then
   2797     cross_compiling=no
   2798   else
   2799     if test "$cross_compiling" = maybe; then
   2800 	cross_compiling=yes
   2801     else
   2802 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2804 as_fn_error $? "cannot run C compiled programs.
   2805 If you meant to cross compile, use \`--host'.
   2806 See \`config.log' for more details" "$LINENO" 5; }
   2807     fi
   2808   fi
   2809 fi
   2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2811 $as_echo "$cross_compiling" >&6; }
   2812 
   2813 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2814 ac_clean_files=$ac_clean_files_save
   2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2816 $as_echo_n "checking for suffix of object files... " >&6; }
   2817 if ${ac_cv_objext+:} false; then :
   2818   $as_echo_n "(cached) " >&6
   2819 else
   2820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2821 /* end confdefs.h.  */
   2822 
   2823 int
   2824 main ()
   2825 {
   2826 
   2827   ;
   2828   return 0;
   2829 }
   2830 _ACEOF
   2831 rm -f conftest.o conftest.obj
   2832 if { { ac_try="$ac_compile"
   2833 case "(($ac_try" in
   2834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2835   *) ac_try_echo=$ac_try;;
   2836 esac
   2837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2838 $as_echo "$ac_try_echo"; } >&5
   2839   (eval "$ac_compile") 2>&5
   2840   ac_status=$?
   2841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2842   test $ac_status = 0; }; then :
   2843   for ac_file in conftest.o conftest.obj conftest.*; do
   2844   test -f "$ac_file" || continue;
   2845   case $ac_file in
   2846     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2847     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2848        break;;
   2849   esac
   2850 done
   2851 else
   2852   $as_echo "$as_me: failed program was:" >&5
   2853 sed 's/^/| /' conftest.$ac_ext >&5
   2854 
   2855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2857 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2858 See \`config.log' for more details" "$LINENO" 5; }
   2859 fi
   2860 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2861 fi
   2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2863 $as_echo "$ac_cv_objext" >&6; }
   2864 OBJEXT=$ac_cv_objext
   2865 ac_objext=$OBJEXT
   2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2867 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2868 if ${ac_cv_c_compiler_gnu+:} false; then :
   2869   $as_echo_n "(cached) " >&6
   2870 else
   2871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2872 /* end confdefs.h.  */
   2873 
   2874 int
   2875 main ()
   2876 {
   2877 #ifndef __GNUC__
   2878        choke me
   2879 #endif
   2880 
   2881   ;
   2882   return 0;
   2883 }
   2884 _ACEOF
   2885 if ac_fn_c_try_compile "$LINENO"; then :
   2886   ac_compiler_gnu=yes
   2887 else
   2888   ac_compiler_gnu=no
   2889 fi
   2890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2891 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2892 
   2893 fi
   2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2895 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2896 if test $ac_compiler_gnu = yes; then
   2897   GCC=yes
   2898 else
   2899   GCC=
   2900 fi
   2901 ac_test_CFLAGS=${CFLAGS+set}
   2902 ac_save_CFLAGS=$CFLAGS
   2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2904 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2905 if ${ac_cv_prog_cc_g+:} false; then :
   2906   $as_echo_n "(cached) " >&6
   2907 else
   2908   ac_save_c_werror_flag=$ac_c_werror_flag
   2909    ac_c_werror_flag=yes
   2910    ac_cv_prog_cc_g=no
   2911    CFLAGS="-g"
   2912    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2913 /* end confdefs.h.  */
   2914 
   2915 int
   2916 main ()
   2917 {
   2918 
   2919   ;
   2920   return 0;
   2921 }
   2922 _ACEOF
   2923 if ac_fn_c_try_compile "$LINENO"; then :
   2924   ac_cv_prog_cc_g=yes
   2925 else
   2926   CFLAGS=""
   2927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2928 /* end confdefs.h.  */
   2929 
   2930 int
   2931 main ()
   2932 {
   2933 
   2934   ;
   2935   return 0;
   2936 }
   2937 _ACEOF
   2938 if ac_fn_c_try_compile "$LINENO"; then :
   2939 
   2940 else
   2941   ac_c_werror_flag=$ac_save_c_werror_flag
   2942 	 CFLAGS="-g"
   2943 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2944 /* end confdefs.h.  */
   2945 
   2946 int
   2947 main ()
   2948 {
   2949 
   2950   ;
   2951   return 0;
   2952 }
   2953 _ACEOF
   2954 if ac_fn_c_try_compile "$LINENO"; then :
   2955   ac_cv_prog_cc_g=yes
   2956 fi
   2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2958 fi
   2959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2960 fi
   2961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2962    ac_c_werror_flag=$ac_save_c_werror_flag
   2963 fi
   2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2965 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2966 if test "$ac_test_CFLAGS" = set; then
   2967   CFLAGS=$ac_save_CFLAGS
   2968 elif test $ac_cv_prog_cc_g = yes; then
   2969   if test "$GCC" = yes; then
   2970     CFLAGS="-g -O2"
   2971   else
   2972     CFLAGS="-g"
   2973   fi
   2974 else
   2975   if test "$GCC" = yes; then
   2976     CFLAGS="-O2"
   2977   else
   2978     CFLAGS=
   2979   fi
   2980 fi
   2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2982 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2983 if ${ac_cv_prog_cc_c89+:} false; then :
   2984   $as_echo_n "(cached) " >&6
   2985 else
   2986   ac_cv_prog_cc_c89=no
   2987 ac_save_CC=$CC
   2988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2989 /* end confdefs.h.  */
   2990 #include <stdarg.h>
   2991 #include <stdio.h>
   2992 struct stat;
   2993 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2994 struct buf { int x; };
   2995 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2996 static char *e (p, i)
   2997      char **p;
   2998      int i;
   2999 {
   3000   return p[i];
   3001 }
   3002 static char *f (char * (*g) (char **, int), char **p, ...)
   3003 {
   3004   char *s;
   3005   va_list v;
   3006   va_start (v,p);
   3007   s = g (p, va_arg (v,int));
   3008   va_end (v);
   3009   return s;
   3010 }
   3011 
   3012 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3013    function prototypes and stuff, but not '\xHH' hex character constants.
   3014    These don't provoke an error unfortunately, instead are silently treated
   3015    as 'x'.  The following induces an error, until -std is added to get
   3016    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3017    array size at least.  It's necessary to write '\x00'==0 to get something
   3018    that's true only with -std.  */
   3019 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3020 
   3021 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3022    inside strings and character constants.  */
   3023 #define FOO(x) 'x'
   3024 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3025 
   3026 int test (int i, double x);
   3027 struct s1 {int (*f) (int a);};
   3028 struct s2 {int (*f) (double a);};
   3029 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3030 int argc;
   3031 char **argv;
   3032 int
   3033 main ()
   3034 {
   3035 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3036   ;
   3037   return 0;
   3038 }
   3039 _ACEOF
   3040 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3041 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3042 do
   3043   CC="$ac_save_CC $ac_arg"
   3044   if ac_fn_c_try_compile "$LINENO"; then :
   3045   ac_cv_prog_cc_c89=$ac_arg
   3046 fi
   3047 rm -f core conftest.err conftest.$ac_objext
   3048   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3049 done
   3050 rm -f conftest.$ac_ext
   3051 CC=$ac_save_CC
   3052 
   3053 fi
   3054 # AC_CACHE_VAL
   3055 case "x$ac_cv_prog_cc_c89" in
   3056   x)
   3057     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3058 $as_echo "none needed" >&6; } ;;
   3059   xno)
   3060     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3061 $as_echo "unsupported" >&6; } ;;
   3062   *)
   3063     CC="$CC $ac_cv_prog_cc_c89"
   3064     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3065 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3066 esac
   3067 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3068 
   3069 fi
   3070 
   3071 ac_ext=c
   3072 ac_cpp='$CPP $CPPFLAGS'
   3073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3076 
   3077 ac_ext=c
   3078 ac_cpp='$CPP $CPPFLAGS'
   3079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3083 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3084 if ${am_cv_prog_cc_c_o+:} false; then :
   3085   $as_echo_n "(cached) " >&6
   3086 else
   3087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3088 /* end confdefs.h.  */
   3089 
   3090 int
   3091 main ()
   3092 {
   3093 
   3094   ;
   3095   return 0;
   3096 }
   3097 _ACEOF
   3098   # Make sure it works both with $CC and with simple cc.
   3099   # Following AC_PROG_CC_C_O, we do the test twice because some
   3100   # compilers refuse to overwrite an existing .o file with -o,
   3101   # though they will create one.
   3102   am_cv_prog_cc_c_o=yes
   3103   for am_i in 1 2; do
   3104     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3105    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3106    ac_status=$?
   3107    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3108    (exit $ac_status); } \
   3109          && test -f conftest2.$ac_objext; then
   3110       : OK
   3111     else
   3112       am_cv_prog_cc_c_o=no
   3113       break
   3114     fi
   3115   done
   3116   rm -f core conftest*
   3117   unset am_i
   3118 fi
   3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3120 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3121 if test "$am_cv_prog_cc_c_o" != yes; then
   3122    # Losing compiler, so override with the script.
   3123    # FIXME: It is wrong to rewrite CC.
   3124    # But if we don't then we get into trouble of one sort or another.
   3125    # A longer-term fix would be to have automake use am__CC in this case,
   3126    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3127    CC="$am_aux_dir/compile $CC"
   3128 fi
   3129 ac_ext=c
   3130 ac_cpp='$CPP $CPPFLAGS'
   3131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3134 
   3135 
   3136 
   3137 ac_ext=c
   3138 ac_cpp='$CPP $CPPFLAGS'
   3139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3143 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3144 # On Suns, sometimes $CPP names a directory.
   3145 if test -n "$CPP" && test -d "$CPP"; then
   3146   CPP=
   3147 fi
   3148 if test -z "$CPP"; then
   3149   if ${ac_cv_prog_CPP+:} false; then :
   3150   $as_echo_n "(cached) " >&6
   3151 else
   3152       # Double quotes because CPP needs to be expanded
   3153     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3154     do
   3155       ac_preproc_ok=false
   3156 for ac_c_preproc_warn_flag in '' yes
   3157 do
   3158   # Use a header file that comes with gcc, so configuring glibc
   3159   # with a fresh cross-compiler works.
   3160   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3161   # <limits.h> exists even on freestanding compilers.
   3162   # On the NeXT, cc -E runs the code through the compiler's parser,
   3163   # not just through cpp. "Syntax error" is here to catch this case.
   3164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3165 /* end confdefs.h.  */
   3166 #ifdef __STDC__
   3167 # include <limits.h>
   3168 #else
   3169 # include <assert.h>
   3170 #endif
   3171 		     Syntax error
   3172 _ACEOF
   3173 if ac_fn_c_try_cpp "$LINENO"; then :
   3174 
   3175 else
   3176   # Broken: fails on valid input.
   3177 continue
   3178 fi
   3179 rm -f conftest.err conftest.i conftest.$ac_ext
   3180 
   3181   # OK, works on sane cases.  Now check whether nonexistent headers
   3182   # can be detected and how.
   3183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3184 /* end confdefs.h.  */
   3185 #include <ac_nonexistent.h>
   3186 _ACEOF
   3187 if ac_fn_c_try_cpp "$LINENO"; then :
   3188   # Broken: success on invalid input.
   3189 continue
   3190 else
   3191   # Passes both tests.
   3192 ac_preproc_ok=:
   3193 break
   3194 fi
   3195 rm -f conftest.err conftest.i conftest.$ac_ext
   3196 
   3197 done
   3198 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3199 rm -f conftest.i conftest.err conftest.$ac_ext
   3200 if $ac_preproc_ok; then :
   3201   break
   3202 fi
   3203 
   3204     done
   3205     ac_cv_prog_CPP=$CPP
   3206 
   3207 fi
   3208   CPP=$ac_cv_prog_CPP
   3209 else
   3210   ac_cv_prog_CPP=$CPP
   3211 fi
   3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3213 $as_echo "$CPP" >&6; }
   3214 ac_preproc_ok=false
   3215 for ac_c_preproc_warn_flag in '' yes
   3216 do
   3217   # Use a header file that comes with gcc, so configuring glibc
   3218   # with a fresh cross-compiler works.
   3219   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3220   # <limits.h> exists even on freestanding compilers.
   3221   # On the NeXT, cc -E runs the code through the compiler's parser,
   3222   # not just through cpp. "Syntax error" is here to catch this case.
   3223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3224 /* end confdefs.h.  */
   3225 #ifdef __STDC__
   3226 # include <limits.h>
   3227 #else
   3228 # include <assert.h>
   3229 #endif
   3230 		     Syntax error
   3231 _ACEOF
   3232 if ac_fn_c_try_cpp "$LINENO"; then :
   3233 
   3234 else
   3235   # Broken: fails on valid input.
   3236 continue
   3237 fi
   3238 rm -f conftest.err conftest.i conftest.$ac_ext
   3239 
   3240   # OK, works on sane cases.  Now check whether nonexistent headers
   3241   # can be detected and how.
   3242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3243 /* end confdefs.h.  */
   3244 #include <ac_nonexistent.h>
   3245 _ACEOF
   3246 if ac_fn_c_try_cpp "$LINENO"; then :
   3247   # Broken: success on invalid input.
   3248 continue
   3249 else
   3250   # Passes both tests.
   3251 ac_preproc_ok=:
   3252 break
   3253 fi
   3254 rm -f conftest.err conftest.i conftest.$ac_ext
   3255 
   3256 done
   3257 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3258 rm -f conftest.i conftest.err conftest.$ac_ext
   3259 if $ac_preproc_ok; then :
   3260 
   3261 else
   3262   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3264 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3265 See \`config.log' for more details" "$LINENO" 5; }
   3266 fi
   3267 
   3268 ac_ext=c
   3269 ac_cpp='$CPP $CPPFLAGS'
   3270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3273 
   3274 
   3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3276 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3277 if ${ac_cv_path_GREP+:} false; then :
   3278   $as_echo_n "(cached) " >&6
   3279 else
   3280   if test -z "$GREP"; then
   3281   ac_path_GREP_found=false
   3282   # Loop through the user's path and test for each of PROGNAME-LIST
   3283   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3284 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3285 do
   3286   IFS=$as_save_IFS
   3287   test -z "$as_dir" && as_dir=.
   3288     for ac_prog in grep ggrep; do
   3289     for ac_exec_ext in '' $ac_executable_extensions; do
   3290       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3291       as_fn_executable_p "$ac_path_GREP" || continue
   3292 # Check for GNU ac_path_GREP and select it if it is found.
   3293   # Check for GNU $ac_path_GREP
   3294 case `"$ac_path_GREP" --version 2>&1` in
   3295 *GNU*)
   3296   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3297 *)
   3298   ac_count=0
   3299   $as_echo_n 0123456789 >"conftest.in"
   3300   while :
   3301   do
   3302     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3303     mv "conftest.tmp" "conftest.in"
   3304     cp "conftest.in" "conftest.nl"
   3305     $as_echo 'GREP' >> "conftest.nl"
   3306     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3307     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3308     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3309     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3310       # Best one so far, save it but keep looking for a better one
   3311       ac_cv_path_GREP="$ac_path_GREP"
   3312       ac_path_GREP_max=$ac_count
   3313     fi
   3314     # 10*(2^10) chars as input seems more than enough
   3315     test $ac_count -gt 10 && break
   3316   done
   3317   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3318 esac
   3319 
   3320       $ac_path_GREP_found && break 3
   3321     done
   3322   done
   3323   done
   3324 IFS=$as_save_IFS
   3325   if test -z "$ac_cv_path_GREP"; then
   3326     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3327   fi
   3328 else
   3329   ac_cv_path_GREP=$GREP
   3330 fi
   3331 
   3332 fi
   3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3334 $as_echo "$ac_cv_path_GREP" >&6; }
   3335  GREP="$ac_cv_path_GREP"
   3336 
   3337 
   3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3339 $as_echo_n "checking for egrep... " >&6; }
   3340 if ${ac_cv_path_EGREP+:} false; then :
   3341   $as_echo_n "(cached) " >&6
   3342 else
   3343   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3344    then ac_cv_path_EGREP="$GREP -E"
   3345    else
   3346      if test -z "$EGREP"; then
   3347   ac_path_EGREP_found=false
   3348   # Loop through the user's path and test for each of PROGNAME-LIST
   3349   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3350 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3351 do
   3352   IFS=$as_save_IFS
   3353   test -z "$as_dir" && as_dir=.
   3354     for ac_prog in egrep; do
   3355     for ac_exec_ext in '' $ac_executable_extensions; do
   3356       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3357       as_fn_executable_p "$ac_path_EGREP" || continue
   3358 # Check for GNU ac_path_EGREP and select it if it is found.
   3359   # Check for GNU $ac_path_EGREP
   3360 case `"$ac_path_EGREP" --version 2>&1` in
   3361 *GNU*)
   3362   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3363 *)
   3364   ac_count=0
   3365   $as_echo_n 0123456789 >"conftest.in"
   3366   while :
   3367   do
   3368     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3369     mv "conftest.tmp" "conftest.in"
   3370     cp "conftest.in" "conftest.nl"
   3371     $as_echo 'EGREP' >> "conftest.nl"
   3372     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3373     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3374     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3375     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3376       # Best one so far, save it but keep looking for a better one
   3377       ac_cv_path_EGREP="$ac_path_EGREP"
   3378       ac_path_EGREP_max=$ac_count
   3379     fi
   3380     # 10*(2^10) chars as input seems more than enough
   3381     test $ac_count -gt 10 && break
   3382   done
   3383   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3384 esac
   3385 
   3386       $ac_path_EGREP_found && break 3
   3387     done
   3388   done
   3389   done
   3390 IFS=$as_save_IFS
   3391   if test -z "$ac_cv_path_EGREP"; then
   3392     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3393   fi
   3394 else
   3395   ac_cv_path_EGREP=$EGREP
   3396 fi
   3397 
   3398    fi
   3399 fi
   3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3401 $as_echo "$ac_cv_path_EGREP" >&6; }
   3402  EGREP="$ac_cv_path_EGREP"
   3403 
   3404 
   3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3406 $as_echo_n "checking for ANSI C header files... " >&6; }
   3407 if ${ac_cv_header_stdc+:} false; then :
   3408   $as_echo_n "(cached) " >&6
   3409 else
   3410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3411 /* end confdefs.h.  */
   3412 #include <stdlib.h>
   3413 #include <stdarg.h>
   3414 #include <string.h>
   3415 #include <float.h>
   3416 
   3417 int
   3418 main ()
   3419 {
   3420 
   3421   ;
   3422   return 0;
   3423 }
   3424 _ACEOF
   3425 if ac_fn_c_try_compile "$LINENO"; then :
   3426   ac_cv_header_stdc=yes
   3427 else
   3428   ac_cv_header_stdc=no
   3429 fi
   3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3431 
   3432 if test $ac_cv_header_stdc = yes; then
   3433   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3435 /* end confdefs.h.  */
   3436 #include <string.h>
   3437 
   3438 _ACEOF
   3439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3440   $EGREP "memchr" >/dev/null 2>&1; then :
   3441 
   3442 else
   3443   ac_cv_header_stdc=no
   3444 fi
   3445 rm -f conftest*
   3446 
   3447 fi
   3448 
   3449 if test $ac_cv_header_stdc = yes; then
   3450   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3452 /* end confdefs.h.  */
   3453 #include <stdlib.h>
   3454 
   3455 _ACEOF
   3456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3457   $EGREP "free" >/dev/null 2>&1; then :
   3458 
   3459 else
   3460   ac_cv_header_stdc=no
   3461 fi
   3462 rm -f conftest*
   3463 
   3464 fi
   3465 
   3466 if test $ac_cv_header_stdc = yes; then
   3467   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3468   if test "$cross_compiling" = yes; then :
   3469   :
   3470 else
   3471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3472 /* end confdefs.h.  */
   3473 #include <ctype.h>
   3474 #include <stdlib.h>
   3475 #if ((' ' & 0x0FF) == 0x020)
   3476 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3477 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3478 #else
   3479 # define ISLOWER(c) \
   3480 		   (('a' <= (c) && (c) <= 'i') \
   3481 		     || ('j' <= (c) && (c) <= 'r') \
   3482 		     || ('s' <= (c) && (c) <= 'z'))
   3483 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3484 #endif
   3485 
   3486 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3487 int
   3488 main ()
   3489 {
   3490   int i;
   3491   for (i = 0; i < 256; i++)
   3492     if (XOR (islower (i), ISLOWER (i))
   3493 	|| toupper (i) != TOUPPER (i))
   3494       return 2;
   3495   return 0;
   3496 }
   3497 _ACEOF
   3498 if ac_fn_c_try_run "$LINENO"; then :
   3499 
   3500 else
   3501   ac_cv_header_stdc=no
   3502 fi
   3503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3504   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3505 fi
   3506 
   3507 fi
   3508 fi
   3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3510 $as_echo "$ac_cv_header_stdc" >&6; }
   3511 if test $ac_cv_header_stdc = yes; then
   3512 
   3513 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3514 
   3515 fi
   3516 
   3517 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3518 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3519 		  inttypes.h stdint.h unistd.h
   3520 do :
   3521   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3522 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3523 "
   3524 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3525   cat >>confdefs.h <<_ACEOF
   3526 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3527 _ACEOF
   3528 
   3529 fi
   3530 
   3531 done
   3532 
   3533 
   3534 
   3535   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3536 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3537   MINIX=yes
   3538 else
   3539   MINIX=
   3540 fi
   3541 
   3542 
   3543   if test "$MINIX" = yes; then
   3544 
   3545 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3546 
   3547 
   3548 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3549 
   3550 
   3551 $as_echo "#define _MINIX 1" >>confdefs.h
   3552 
   3553   fi
   3554 
   3555 
   3556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3557 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3558 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3559   $as_echo_n "(cached) " >&6
   3560 else
   3561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3562 /* end confdefs.h.  */
   3563 
   3564 #         define __EXTENSIONS__ 1
   3565           $ac_includes_default
   3566 int
   3567 main ()
   3568 {
   3569 
   3570   ;
   3571   return 0;
   3572 }
   3573 _ACEOF
   3574 if ac_fn_c_try_compile "$LINENO"; then :
   3575   ac_cv_safe_to_define___extensions__=yes
   3576 else
   3577   ac_cv_safe_to_define___extensions__=no
   3578 fi
   3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3580 fi
   3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3582 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3583   test $ac_cv_safe_to_define___extensions__ = yes &&
   3584     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3585 
   3586   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3587 
   3588   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3589 
   3590   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3591 
   3592   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3593 
   3594 
   3595 
   3596 # Initialize Automake
   3597 am__api_version='1.15'
   3598 
   3599 # Find a good install program.  We prefer a C program (faster),
   3600 # so one script is as good as another.  But avoid the broken or
   3601 # incompatible versions:
   3602 # SysV /etc/install, /usr/sbin/install
   3603 # SunOS /usr/etc/install
   3604 # IRIX /sbin/install
   3605 # AIX /bin/install
   3606 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3607 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3608 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3609 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3610 # OS/2's system install, which has a completely different semantic
   3611 # ./install, which can be erroneously created by make from ./install.sh.
   3612 # Reject install programs that cannot install multiple files.
   3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3614 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3615 if test -z "$INSTALL"; then
   3616 if ${ac_cv_path_install+:} false; then :
   3617   $as_echo_n "(cached) " >&6
   3618 else
   3619   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3620 for as_dir in $PATH
   3621 do
   3622   IFS=$as_save_IFS
   3623   test -z "$as_dir" && as_dir=.
   3624     # Account for people who put trailing slashes in PATH elements.
   3625 case $as_dir/ in #((
   3626   ./ | .// | /[cC]/* | \
   3627   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3628   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3629   /usr/ucb/* ) ;;
   3630   *)
   3631     # OSF1 and SCO ODT 3.0 have their own names for install.
   3632     # Don't use installbsd from OSF since it installs stuff as root
   3633     # by default.
   3634     for ac_prog in ginstall scoinst install; do
   3635       for ac_exec_ext in '' $ac_executable_extensions; do
   3636 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3637 	  if test $ac_prog = install &&
   3638 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3639 	    # AIX install.  It has an incompatible calling convention.
   3640 	    :
   3641 	  elif test $ac_prog = install &&
   3642 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3643 	    # program-specific install script used by HP pwplus--don't use.
   3644 	    :
   3645 	  else
   3646 	    rm -rf conftest.one conftest.two conftest.dir
   3647 	    echo one > conftest.one
   3648 	    echo two > conftest.two
   3649 	    mkdir conftest.dir
   3650 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3651 	      test -s conftest.one && test -s conftest.two &&
   3652 	      test -s conftest.dir/conftest.one &&
   3653 	      test -s conftest.dir/conftest.two
   3654 	    then
   3655 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3656 	      break 3
   3657 	    fi
   3658 	  fi
   3659 	fi
   3660       done
   3661     done
   3662     ;;
   3663 esac
   3664 
   3665   done
   3666 IFS=$as_save_IFS
   3667 
   3668 rm -rf conftest.one conftest.two conftest.dir
   3669 
   3670 fi
   3671   if test "${ac_cv_path_install+set}" = set; then
   3672     INSTALL=$ac_cv_path_install
   3673   else
   3674     # As a last resort, use the slow shell script.  Don't cache a
   3675     # value for INSTALL within a source directory, because that will
   3676     # break other packages using the cache if that directory is
   3677     # removed, or if the value is a relative name.
   3678     INSTALL=$ac_install_sh
   3679   fi
   3680 fi
   3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3682 $as_echo "$INSTALL" >&6; }
   3683 
   3684 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3685 # It thinks the first close brace ends the variable substitution.
   3686 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3687 
   3688 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3689 
   3690 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3691 
   3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3693 $as_echo_n "checking whether build environment is sane... " >&6; }
   3694 # Reject unsafe characters in $srcdir or the absolute working directory
   3695 # name.  Accept space and tab only in the latter.
   3696 am_lf='
   3697 '
   3698 case `pwd` in
   3699   *[\\\"\#\$\&\'\`$am_lf]*)
   3700     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3701 esac
   3702 case $srcdir in
   3703   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3704     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3705 esac
   3706 
   3707 # Do 'set' in a subshell so we don't clobber the current shell's
   3708 # arguments.  Must try -L first in case configure is actually a
   3709 # symlink; some systems play weird games with the mod time of symlinks
   3710 # (eg FreeBSD returns the mod time of the symlink's containing
   3711 # directory).
   3712 if (
   3713    am_has_slept=no
   3714    for am_try in 1 2; do
   3715      echo "timestamp, slept: $am_has_slept" > conftest.file
   3716      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3717      if test "$*" = "X"; then
   3718 	# -L didn't work.
   3719 	set X `ls -t "$srcdir/configure" conftest.file`
   3720      fi
   3721      if test "$*" != "X $srcdir/configure conftest.file" \
   3722 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3723 
   3724 	# If neither matched, then we have a broken ls.  This can happen
   3725 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3726 	# broken ls alias from the environment.  This has actually
   3727 	# happened.  Such a system could not be considered "sane".
   3728 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3729   alias in your environment" "$LINENO" 5
   3730      fi
   3731      if test "$2" = conftest.file || test $am_try -eq 2; then
   3732        break
   3733      fi
   3734      # Just in case.
   3735      sleep 1
   3736      am_has_slept=yes
   3737    done
   3738    test "$2" = conftest.file
   3739    )
   3740 then
   3741    # Ok.
   3742    :
   3743 else
   3744    as_fn_error $? "newly created file is older than distributed files!
   3745 Check your system clock" "$LINENO" 5
   3746 fi
   3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3748 $as_echo "yes" >&6; }
   3749 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3750 # generated files are strictly newer.
   3751 am_sleep_pid=
   3752 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3753   ( sleep 1 ) &
   3754   am_sleep_pid=$!
   3755 fi
   3756 
   3757 rm -f conftest.file
   3758 
   3759 test "$program_prefix" != NONE &&
   3760   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3761 # Use a double $ so make ignores it.
   3762 test "$program_suffix" != NONE &&
   3763   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3764 # Double any \ or $.
   3765 # By default was `s,x,x', remove it if useless.
   3766 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3767 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3768 
   3769 if test x"${MISSING+set}" != xset; then
   3770   case $am_aux_dir in
   3771   *\ * | *\	*)
   3772     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3773   *)
   3774     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3775   esac
   3776 fi
   3777 # Use eval to expand $SHELL
   3778 if eval "$MISSING --is-lightweight"; then
   3779   am_missing_run="$MISSING "
   3780 else
   3781   am_missing_run=
   3782   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3783 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3784 fi
   3785 
   3786 if test x"${install_sh+set}" != xset; then
   3787   case $am_aux_dir in
   3788   *\ * | *\	*)
   3789     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3790   *)
   3791     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3792   esac
   3793 fi
   3794 
   3795 # Installed binaries are usually stripped using 'strip' when the user
   3796 # run "make install-strip".  However 'strip' might not be the right
   3797 # tool to use in cross-compilation environments, therefore Automake
   3798 # will honor the 'STRIP' environment variable to overrule this program.
   3799 if test "$cross_compiling" != no; then
   3800   if test -n "$ac_tool_prefix"; then
   3801   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3802 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3804 $as_echo_n "checking for $ac_word... " >&6; }
   3805 if ${ac_cv_prog_STRIP+:} false; then :
   3806   $as_echo_n "(cached) " >&6
   3807 else
   3808   if test -n "$STRIP"; then
   3809   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3810 else
   3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3812 for as_dir in $PATH
   3813 do
   3814   IFS=$as_save_IFS
   3815   test -z "$as_dir" && as_dir=.
   3816     for ac_exec_ext in '' $ac_executable_extensions; do
   3817   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3818     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3820     break 2
   3821   fi
   3822 done
   3823   done
   3824 IFS=$as_save_IFS
   3825 
   3826 fi
   3827 fi
   3828 STRIP=$ac_cv_prog_STRIP
   3829 if test -n "$STRIP"; then
   3830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3831 $as_echo "$STRIP" >&6; }
   3832 else
   3833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3834 $as_echo "no" >&6; }
   3835 fi
   3836 
   3837 
   3838 fi
   3839 if test -z "$ac_cv_prog_STRIP"; then
   3840   ac_ct_STRIP=$STRIP
   3841   # Extract the first word of "strip", so it can be a program name with args.
   3842 set dummy strip; ac_word=$2
   3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3844 $as_echo_n "checking for $ac_word... " >&6; }
   3845 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3846   $as_echo_n "(cached) " >&6
   3847 else
   3848   if test -n "$ac_ct_STRIP"; then
   3849   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3850 else
   3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3852 for as_dir in $PATH
   3853 do
   3854   IFS=$as_save_IFS
   3855   test -z "$as_dir" && as_dir=.
   3856     for ac_exec_ext in '' $ac_executable_extensions; do
   3857   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3858     ac_cv_prog_ac_ct_STRIP="strip"
   3859     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3860     break 2
   3861   fi
   3862 done
   3863   done
   3864 IFS=$as_save_IFS
   3865 
   3866 fi
   3867 fi
   3868 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3869 if test -n "$ac_ct_STRIP"; then
   3870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3871 $as_echo "$ac_ct_STRIP" >&6; }
   3872 else
   3873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3874 $as_echo "no" >&6; }
   3875 fi
   3876 
   3877   if test "x$ac_ct_STRIP" = x; then
   3878     STRIP=":"
   3879   else
   3880     case $cross_compiling:$ac_tool_warned in
   3881 yes:)
   3882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3884 ac_tool_warned=yes ;;
   3885 esac
   3886     STRIP=$ac_ct_STRIP
   3887   fi
   3888 else
   3889   STRIP="$ac_cv_prog_STRIP"
   3890 fi
   3891 
   3892 fi
   3893 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3894 
   3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3896 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3897 if test -z "$MKDIR_P"; then
   3898   if ${ac_cv_path_mkdir+:} false; then :
   3899   $as_echo_n "(cached) " >&6
   3900 else
   3901   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3902 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3903 do
   3904   IFS=$as_save_IFS
   3905   test -z "$as_dir" && as_dir=.
   3906     for ac_prog in mkdir gmkdir; do
   3907 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3908 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3909 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3910 	     'mkdir (GNU coreutils) '* | \
   3911 	     'mkdir (coreutils) '* | \
   3912 	     'mkdir (fileutils) '4.1*)
   3913 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3914 	       break 3;;
   3915 	   esac
   3916 	 done
   3917        done
   3918   done
   3919 IFS=$as_save_IFS
   3920 
   3921 fi
   3922 
   3923   test -d ./--version && rmdir ./--version
   3924   if test "${ac_cv_path_mkdir+set}" = set; then
   3925     MKDIR_P="$ac_cv_path_mkdir -p"
   3926   else
   3927     # As a last resort, use the slow shell script.  Don't cache a
   3928     # value for MKDIR_P within a source directory, because that will
   3929     # break other packages using the cache if that directory is
   3930     # removed, or if the value is a relative name.
   3931     MKDIR_P="$ac_install_sh -d"
   3932   fi
   3933 fi
   3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3935 $as_echo "$MKDIR_P" >&6; }
   3936 
   3937 for ac_prog in gawk mawk nawk awk
   3938 do
   3939   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3940 set dummy $ac_prog; ac_word=$2
   3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3942 $as_echo_n "checking for $ac_word... " >&6; }
   3943 if ${ac_cv_prog_AWK+:} false; then :
   3944   $as_echo_n "(cached) " >&6
   3945 else
   3946   if test -n "$AWK"; then
   3947   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3948 else
   3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3950 for as_dir in $PATH
   3951 do
   3952   IFS=$as_save_IFS
   3953   test -z "$as_dir" && as_dir=.
   3954     for ac_exec_ext in '' $ac_executable_extensions; do
   3955   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3956     ac_cv_prog_AWK="$ac_prog"
   3957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3958     break 2
   3959   fi
   3960 done
   3961   done
   3962 IFS=$as_save_IFS
   3963 
   3964 fi
   3965 fi
   3966 AWK=$ac_cv_prog_AWK
   3967 if test -n "$AWK"; then
   3968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3969 $as_echo "$AWK" >&6; }
   3970 else
   3971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3972 $as_echo "no" >&6; }
   3973 fi
   3974 
   3975 
   3976   test -n "$AWK" && break
   3977 done
   3978 
   3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3980 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3981 set x ${MAKE-make}
   3982 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3983 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3984   $as_echo_n "(cached) " >&6
   3985 else
   3986   cat >conftest.make <<\_ACEOF
   3987 SHELL = /bin/sh
   3988 all:
   3989 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3990 _ACEOF
   3991 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3992 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3993   *@@@%%%=?*=@@@%%%*)
   3994     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3995   *)
   3996     eval ac_cv_prog_make_${ac_make}_set=no;;
   3997 esac
   3998 rm -f conftest.make
   3999 fi
   4000 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4002 $as_echo "yes" >&6; }
   4003   SET_MAKE=
   4004 else
   4005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4006 $as_echo "no" >&6; }
   4007   SET_MAKE="MAKE=${MAKE-make}"
   4008 fi
   4009 
   4010 rm -rf .tst 2>/dev/null
   4011 mkdir .tst 2>/dev/null
   4012 if test -d .tst; then
   4013   am__leading_dot=.
   4014 else
   4015   am__leading_dot=_
   4016 fi
   4017 rmdir .tst 2>/dev/null
   4018 
   4019 DEPDIR="${am__leading_dot}deps"
   4020 
   4021 ac_config_commands="$ac_config_commands depfiles"
   4022 
   4023 
   4024 am_make=${MAKE-make}
   4025 cat > confinc << 'END'
   4026 am__doit:
   4027 	@echo this is the am__doit target
   4028 .PHONY: am__doit
   4029 END
   4030 # If we don't find an include directive, just comment out the code.
   4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4032 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4033 am__include="#"
   4034 am__quote=
   4035 _am_result=none
   4036 # First try GNU make style include.
   4037 echo "include confinc" > confmf
   4038 # Ignore all kinds of additional output from 'make'.
   4039 case `$am_make -s -f confmf 2> /dev/null` in #(
   4040 *the\ am__doit\ target*)
   4041   am__include=include
   4042   am__quote=
   4043   _am_result=GNU
   4044   ;;
   4045 esac
   4046 # Now try BSD make style include.
   4047 if test "$am__include" = "#"; then
   4048    echo '.include "confinc"' > confmf
   4049    case `$am_make -s -f confmf 2> /dev/null` in #(
   4050    *the\ am__doit\ target*)
   4051      am__include=.include
   4052      am__quote="\""
   4053      _am_result=BSD
   4054      ;;
   4055    esac
   4056 fi
   4057 
   4058 
   4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4060 $as_echo "$_am_result" >&6; }
   4061 rm -f confinc confmf
   4062 
   4063 # Check whether --enable-dependency-tracking was given.
   4064 if test "${enable_dependency_tracking+set}" = set; then :
   4065   enableval=$enable_dependency_tracking;
   4066 fi
   4067 
   4068 if test "x$enable_dependency_tracking" != xno; then
   4069   am_depcomp="$ac_aux_dir/depcomp"
   4070   AMDEPBACKSLASH='\'
   4071   am__nodep='_no'
   4072 fi
   4073  if test "x$enable_dependency_tracking" != xno; then
   4074   AMDEP_TRUE=
   4075   AMDEP_FALSE='#'
   4076 else
   4077   AMDEP_TRUE='#'
   4078   AMDEP_FALSE=
   4079 fi
   4080 
   4081 
   4082 # Check whether --enable-silent-rules was given.
   4083 if test "${enable_silent_rules+set}" = set; then :
   4084   enableval=$enable_silent_rules;
   4085 fi
   4086 
   4087 case $enable_silent_rules in # (((
   4088   yes) AM_DEFAULT_VERBOSITY=0;;
   4089    no) AM_DEFAULT_VERBOSITY=1;;
   4090     *) AM_DEFAULT_VERBOSITY=1;;
   4091 esac
   4092 am_make=${MAKE-make}
   4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4094 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4095 if ${am_cv_make_support_nested_variables+:} false; then :
   4096   $as_echo_n "(cached) " >&6
   4097 else
   4098   if $as_echo 'TRUE=$(BAR$(V))
   4099 BAR0=false
   4100 BAR1=true
   4101 V=1
   4102 am__doit:
   4103 	@$(TRUE)
   4104 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4105   am_cv_make_support_nested_variables=yes
   4106 else
   4107   am_cv_make_support_nested_variables=no
   4108 fi
   4109 fi
   4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4111 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4112 if test $am_cv_make_support_nested_variables = yes; then
   4113     AM_V='$(V)'
   4114   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4115 else
   4116   AM_V=$AM_DEFAULT_VERBOSITY
   4117   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4118 fi
   4119 AM_BACKSLASH='\'
   4120 
   4121 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4122   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4123   # is not polluted with repeated "-I."
   4124   am__isrc=' -I$(srcdir)'
   4125   # test to see if srcdir already configured
   4126   if test -f $srcdir/config.status; then
   4127     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4128   fi
   4129 fi
   4130 
   4131 # test whether we have cygpath
   4132 if test -z "$CYGPATH_W"; then
   4133   if (cygpath --version) >/dev/null 2>/dev/null; then
   4134     CYGPATH_W='cygpath -w'
   4135   else
   4136     CYGPATH_W=echo
   4137   fi
   4138 fi
   4139 
   4140 
   4141 # Define the identity of the package.
   4142  PACKAGE='twm'
   4143  VERSION='1.0.9'
   4144 
   4145 
   4146 cat >>confdefs.h <<_ACEOF
   4147 #define PACKAGE "$PACKAGE"
   4148 _ACEOF
   4149 
   4150 
   4151 cat >>confdefs.h <<_ACEOF
   4152 #define VERSION "$VERSION"
   4153 _ACEOF
   4154 
   4155 # Some tools Automake needs.
   4156 
   4157 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4158 
   4159 
   4160 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4161 
   4162 
   4163 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4164 
   4165 
   4166 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4167 
   4168 
   4169 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4170 
   4171 # For better backward compatibility.  To be removed once Automake 1.9.x
   4172 # dies out for good.  For more background, see:
   4173 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4174 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4175 mkdir_p='$(MKDIR_P)'
   4176 
   4177 # We need awk for the "check" target (and possibly the TAP driver).  The
   4178 # system "awk" is bad on some platforms.
   4179 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4180 # in the wild :-(  We should find a proper way to deprecate it ...
   4181 AMTAR='$${TAR-tar}'
   4182 
   4183 
   4184 # We'll loop over all known methods to create a tar archive until one works.
   4185 _am_tools='gnutar  pax cpio none'
   4186 
   4187 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4188 
   4189 
   4190 
   4191 
   4192 
   4193 depcc="$CC"   am_compiler_list=
   4194 
   4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4196 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4197 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4198   $as_echo_n "(cached) " >&6
   4199 else
   4200   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4201   # We make a subdir and do the tests there.  Otherwise we can end up
   4202   # making bogus files that we don't know about and never remove.  For
   4203   # instance it was reported that on HP-UX the gcc test will end up
   4204   # making a dummy file named 'D' -- because '-MD' means "put the output
   4205   # in D".
   4206   rm -rf conftest.dir
   4207   mkdir conftest.dir
   4208   # Copy depcomp to subdir because otherwise we won't find it if we're
   4209   # using a relative directory.
   4210   cp "$am_depcomp" conftest.dir
   4211   cd conftest.dir
   4212   # We will build objects and dependencies in a subdirectory because
   4213   # it helps to detect inapplicable dependency modes.  For instance
   4214   # both Tru64's cc and ICC support -MD to output dependencies as a
   4215   # side effect of compilation, but ICC will put the dependencies in
   4216   # the current directory while Tru64 will put them in the object
   4217   # directory.
   4218   mkdir sub
   4219 
   4220   am_cv_CC_dependencies_compiler_type=none
   4221   if test "$am_compiler_list" = ""; then
   4222      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4223   fi
   4224   am__universal=false
   4225   case " $depcc " in #(
   4226      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4227      esac
   4228 
   4229   for depmode in $am_compiler_list; do
   4230     # Setup a source with many dependencies, because some compilers
   4231     # like to wrap large dependency lists on column 80 (with \), and
   4232     # we should not choose a depcomp mode which is confused by this.
   4233     #
   4234     # We need to recreate these files for each test, as the compiler may
   4235     # overwrite some of them when testing with obscure command lines.
   4236     # This happens at least with the AIX C compiler.
   4237     : > sub/conftest.c
   4238     for i in 1 2 3 4 5 6; do
   4239       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4240       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4241       # Solaris 10 /bin/sh.
   4242       echo '/* dummy */' > sub/conftst$i.h
   4243     done
   4244     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4245 
   4246     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4247     # mode.  It turns out that the SunPro C++ compiler does not properly
   4248     # handle '-M -o', and we need to detect this.  Also, some Intel
   4249     # versions had trouble with output in subdirs.
   4250     am__obj=sub/conftest.${OBJEXT-o}
   4251     am__minus_obj="-o $am__obj"
   4252     case $depmode in
   4253     gcc)
   4254       # This depmode causes a compiler race in universal mode.
   4255       test "$am__universal" = false || continue
   4256       ;;
   4257     nosideeffect)
   4258       # After this tag, mechanisms are not by side-effect, so they'll
   4259       # only be used when explicitly requested.
   4260       if test "x$enable_dependency_tracking" = xyes; then
   4261 	continue
   4262       else
   4263 	break
   4264       fi
   4265       ;;
   4266     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4267       # This compiler won't grok '-c -o', but also, the minuso test has
   4268       # not run yet.  These depmodes are late enough in the game, and
   4269       # so weak that their functioning should not be impacted.
   4270       am__obj=conftest.${OBJEXT-o}
   4271       am__minus_obj=
   4272       ;;
   4273     none) break ;;
   4274     esac
   4275     if depmode=$depmode \
   4276        source=sub/conftest.c object=$am__obj \
   4277        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4278        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4279          >/dev/null 2>conftest.err &&
   4280        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4281        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4282        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4283        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4284       # icc doesn't choke on unknown options, it will just issue warnings
   4285       # or remarks (even with -Werror).  So we grep stderr for any message
   4286       # that says an option was ignored or not supported.
   4287       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4288       #   icc: Command line warning: ignoring option '-M'; no argument required
   4289       # The diagnosis changed in icc 8.0:
   4290       #   icc: Command line remark: option '-MP' not supported
   4291       if (grep 'ignoring option' conftest.err ||
   4292           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4293         am_cv_CC_dependencies_compiler_type=$depmode
   4294         break
   4295       fi
   4296     fi
   4297   done
   4298 
   4299   cd ..
   4300   rm -rf conftest.dir
   4301 else
   4302   am_cv_CC_dependencies_compiler_type=none
   4303 fi
   4304 
   4305 fi
   4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4307 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4308 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4309 
   4310  if
   4311   test "x$enable_dependency_tracking" != xno \
   4312   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4313   am__fastdepCC_TRUE=
   4314   am__fastdepCC_FALSE='#'
   4315 else
   4316   am__fastdepCC_TRUE='#'
   4317   am__fastdepCC_FALSE=
   4318 fi
   4319 
   4320 
   4321 
   4322 # POSIX will say in a future version that running "rm -f" with no argument
   4323 # is OK; and we want to be able to make that assumption in our Makefile
   4324 # recipes.  So use an aggressive probe to check that the usage we want is
   4325 # actually supported "in the wild" to an acceptable degree.
   4326 # See automake bug#10828.
   4327 # To make any issue more visible, cause the running configure to be aborted
   4328 # by default if the 'rm' program in use doesn't match our expectations; the
   4329 # user can still override this though.
   4330 if rm -f && rm -fr && rm -rf; then : OK; else
   4331   cat >&2 <<'END'
   4332 Oops!
   4333 
   4334 Your 'rm' program seems unable to run without file operands specified
   4335 on the command line, even when the '-f' option is present.  This is contrary
   4336 to the behaviour of most rm programs out there, and not conforming with
   4337 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4338 
   4339 Please tell bug-automake@gnu.org about your system, including the value
   4340 of your $PATH and any error possibly output before this message.  This
   4341 can help us improve future automake versions.
   4342 
   4343 END
   4344   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4345     echo 'Configuration will proceed anyway, since you have set the' >&2
   4346     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4347     echo >&2
   4348   else
   4349     cat >&2 <<'END'
   4350 Aborting the configuration process, to ensure you take notice of the issue.
   4351 
   4352 You can download and install GNU coreutils to get an 'rm' implementation
   4353 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4354 
   4355 If you want to complete the configuration process using your problematic
   4356 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4357 to "yes", and re-run configure.
   4358 
   4359 END
   4360     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4361   fi
   4362 fi
   4363 
   4364 
   4365 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4366 
   4367 
   4368 
   4369 
   4370 
   4371 
   4372 
   4373 
   4374 
   4375 
   4376 
   4377    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4378 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4379 if ${ac_cv_prog_cc_c99+:} false; then :
   4380   $as_echo_n "(cached) " >&6
   4381 else
   4382   ac_cv_prog_cc_c99=no
   4383 ac_save_CC=$CC
   4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4385 /* end confdefs.h.  */
   4386 #include <stdarg.h>
   4387 #include <stdbool.h>
   4388 #include <stdlib.h>
   4389 #include <wchar.h>
   4390 #include <stdio.h>
   4391 
   4392 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4393 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4394 #define showlist(...) puts (#__VA_ARGS__)
   4395 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4396 static void
   4397 test_varargs_macros (void)
   4398 {
   4399   int x = 1234;
   4400   int y = 5678;
   4401   debug ("Flag");
   4402   debug ("X = %d\n", x);
   4403   showlist (The first, second, and third items.);
   4404   report (x>y, "x is %d but y is %d", x, y);
   4405 }
   4406 
   4407 // Check long long types.
   4408 #define BIG64 18446744073709551615ull
   4409 #define BIG32 4294967295ul
   4410 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4411 #if !BIG_OK
   4412   your preprocessor is broken;
   4413 #endif
   4414 #if BIG_OK
   4415 #else
   4416   your preprocessor is broken;
   4417 #endif
   4418 static long long int bignum = -9223372036854775807LL;
   4419 static unsigned long long int ubignum = BIG64;
   4420 
   4421 struct incomplete_array
   4422 {
   4423   int datasize;
   4424   double data[];
   4425 };
   4426 
   4427 struct named_init {
   4428   int number;
   4429   const wchar_t *name;
   4430   double average;
   4431 };
   4432 
   4433 typedef const char *ccp;
   4434 
   4435 static inline int
   4436 test_restrict (ccp restrict text)
   4437 {
   4438   // See if C++-style comments work.
   4439   // Iterate through items via the restricted pointer.
   4440   // Also check for declarations in for loops.
   4441   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4442     continue;
   4443   return 0;
   4444 }
   4445 
   4446 // Check varargs and va_copy.
   4447 static void
   4448 test_varargs (const char *format, ...)
   4449 {
   4450   va_list args;
   4451   va_start (args, format);
   4452   va_list args_copy;
   4453   va_copy (args_copy, args);
   4454 
   4455   const char *str;
   4456   int number;
   4457   float fnumber;
   4458 
   4459   while (*format)
   4460     {
   4461       switch (*format++)
   4462 	{
   4463 	case 's': // string
   4464 	  str = va_arg (args_copy, const char *);
   4465 	  break;
   4466 	case 'd': // int
   4467 	  number = va_arg (args_copy, int);
   4468 	  break;
   4469 	case 'f': // float
   4470 	  fnumber = va_arg (args_copy, double);
   4471 	  break;
   4472 	default:
   4473 	  break;
   4474 	}
   4475     }
   4476   va_end (args_copy);
   4477   va_end (args);
   4478 }
   4479 
   4480 int
   4481 main ()
   4482 {
   4483 
   4484   // Check bool.
   4485   _Bool success = false;
   4486 
   4487   // Check restrict.
   4488   if (test_restrict ("String literal") == 0)
   4489     success = true;
   4490   char *restrict newvar = "Another string";
   4491 
   4492   // Check varargs.
   4493   test_varargs ("s, d' f .", "string", 65, 34.234);
   4494   test_varargs_macros ();
   4495 
   4496   // Check flexible array members.
   4497   struct incomplete_array *ia =
   4498     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4499   ia->datasize = 10;
   4500   for (int i = 0; i < ia->datasize; ++i)
   4501     ia->data[i] = i * 1.234;
   4502 
   4503   // Check named initializers.
   4504   struct named_init ni = {
   4505     .number = 34,
   4506     .name = L"Test wide string",
   4507     .average = 543.34343,
   4508   };
   4509 
   4510   ni.number = 58;
   4511 
   4512   int dynamic_array[ni.number];
   4513   dynamic_array[ni.number - 1] = 543;
   4514 
   4515   // work around unused variable warnings
   4516   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4517 	  || dynamic_array[ni.number - 1] != 543);
   4518 
   4519   ;
   4520   return 0;
   4521 }
   4522 _ACEOF
   4523 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4524 do
   4525   CC="$ac_save_CC $ac_arg"
   4526   if ac_fn_c_try_compile "$LINENO"; then :
   4527   ac_cv_prog_cc_c99=$ac_arg
   4528 fi
   4529 rm -f core conftest.err conftest.$ac_objext
   4530   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4531 done
   4532 rm -f conftest.$ac_ext
   4533 CC=$ac_save_CC
   4534 
   4535 fi
   4536 # AC_CACHE_VAL
   4537 case "x$ac_cv_prog_cc_c99" in
   4538   x)
   4539     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4540 $as_echo "none needed" >&6; } ;;
   4541   xno)
   4542     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4543 $as_echo "unsupported" >&6; } ;;
   4544   *)
   4545     CC="$CC $ac_cv_prog_cc_c99"
   4546     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4547 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4548 esac
   4549 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4550 
   4551 fi
   4552 
   4553 
   4554 
   4555 
   4556 
   4557 
   4558 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4559 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4560   CLANGCC="yes"
   4561 else
   4562   CLANGCC="no"
   4563 fi
   4564 
   4565 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4566 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4567   INTELCC="yes"
   4568 else
   4569   INTELCC="no"
   4570 fi
   4571 
   4572 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4573 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4574   SUNCC="yes"
   4575 else
   4576   SUNCC="no"
   4577 fi
   4578 
   4579 
   4580 
   4581 
   4582 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4583 	if test -n "$ac_tool_prefix"; then
   4584   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4585 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4587 $as_echo_n "checking for $ac_word... " >&6; }
   4588 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4589   $as_echo_n "(cached) " >&6
   4590 else
   4591   case $PKG_CONFIG in
   4592   [\\/]* | ?:[\\/]*)
   4593   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4594   ;;
   4595   *)
   4596   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4597 for as_dir in $PATH
   4598 do
   4599   IFS=$as_save_IFS
   4600   test -z "$as_dir" && as_dir=.
   4601     for ac_exec_ext in '' $ac_executable_extensions; do
   4602   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4603     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4605     break 2
   4606   fi
   4607 done
   4608   done
   4609 IFS=$as_save_IFS
   4610 
   4611   ;;
   4612 esac
   4613 fi
   4614 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4615 if test -n "$PKG_CONFIG"; then
   4616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4617 $as_echo "$PKG_CONFIG" >&6; }
   4618 else
   4619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4620 $as_echo "no" >&6; }
   4621 fi
   4622 
   4623 
   4624 fi
   4625 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4626   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4627   # Extract the first word of "pkg-config", so it can be a program name with args.
   4628 set dummy pkg-config; ac_word=$2
   4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4630 $as_echo_n "checking for $ac_word... " >&6; }
   4631 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4632   $as_echo_n "(cached) " >&6
   4633 else
   4634   case $ac_pt_PKG_CONFIG in
   4635   [\\/]* | ?:[\\/]*)
   4636   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4637   ;;
   4638   *)
   4639   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4640 for as_dir in $PATH
   4641 do
   4642   IFS=$as_save_IFS
   4643   test -z "$as_dir" && as_dir=.
   4644     for ac_exec_ext in '' $ac_executable_extensions; do
   4645   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4646     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4648     break 2
   4649   fi
   4650 done
   4651   done
   4652 IFS=$as_save_IFS
   4653 
   4654   ;;
   4655 esac
   4656 fi
   4657 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4658 if test -n "$ac_pt_PKG_CONFIG"; then
   4659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4660 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4661 else
   4662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4663 $as_echo "no" >&6; }
   4664 fi
   4665 
   4666   if test "x$ac_pt_PKG_CONFIG" = x; then
   4667     PKG_CONFIG=""
   4668   else
   4669     case $cross_compiling:$ac_tool_warned in
   4670 yes:)
   4671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4673 ac_tool_warned=yes ;;
   4674 esac
   4675     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4676   fi
   4677 else
   4678   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4679 fi
   4680 
   4681 fi
   4682 if test -n "$PKG_CONFIG"; then
   4683 	_pkg_min_version=0.9.0
   4684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4685 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4686 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4688 $as_echo "yes" >&6; }
   4689 	else
   4690 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4691 $as_echo "no" >&6; }
   4692 		PKG_CONFIG=""
   4693 	fi
   4694 
   4695 fi
   4696 # Make sure we can run config.sub.
   4697 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4698   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4699 
   4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4701 $as_echo_n "checking build system type... " >&6; }
   4702 if ${ac_cv_build+:} false; then :
   4703   $as_echo_n "(cached) " >&6
   4704 else
   4705   ac_build_alias=$build_alias
   4706 test "x$ac_build_alias" = x &&
   4707   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4708 test "x$ac_build_alias" = x &&
   4709   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4710 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4711   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4712 
   4713 fi
   4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4715 $as_echo "$ac_cv_build" >&6; }
   4716 case $ac_cv_build in
   4717 *-*-*) ;;
   4718 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4719 esac
   4720 build=$ac_cv_build
   4721 ac_save_IFS=$IFS; IFS='-'
   4722 set x $ac_cv_build
   4723 shift
   4724 build_cpu=$1
   4725 build_vendor=$2
   4726 shift; shift
   4727 # Remember, the first character of IFS is used to create $*,
   4728 # except with old shells:
   4729 build_os=$*
   4730 IFS=$ac_save_IFS
   4731 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4732 
   4733 
   4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4735 $as_echo_n "checking host system type... " >&6; }
   4736 if ${ac_cv_host+:} false; then :
   4737   $as_echo_n "(cached) " >&6
   4738 else
   4739   if test "x$host_alias" = x; then
   4740   ac_cv_host=$ac_cv_build
   4741 else
   4742   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4743     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4744 fi
   4745 
   4746 fi
   4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4748 $as_echo "$ac_cv_host" >&6; }
   4749 case $ac_cv_host in
   4750 *-*-*) ;;
   4751 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4752 esac
   4753 host=$ac_cv_host
   4754 ac_save_IFS=$IFS; IFS='-'
   4755 set x $ac_cv_host
   4756 shift
   4757 host_cpu=$1
   4758 host_vendor=$2
   4759 shift; shift
   4760 # Remember, the first character of IFS is used to create $*,
   4761 # except with old shells:
   4762 host_os=$*
   4763 IFS=$ac_save_IFS
   4764 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4765 
   4766 
   4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4768 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4769 if ${ac_cv_path_SED+:} false; then :
   4770   $as_echo_n "(cached) " >&6
   4771 else
   4772             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4773      for ac_i in 1 2 3 4 5 6 7; do
   4774        ac_script="$ac_script$as_nl$ac_script"
   4775      done
   4776      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4777      { ac_script=; unset ac_script;}
   4778      if test -z "$SED"; then
   4779   ac_path_SED_found=false
   4780   # Loop through the user's path and test for each of PROGNAME-LIST
   4781   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4782 for as_dir in $PATH
   4783 do
   4784   IFS=$as_save_IFS
   4785   test -z "$as_dir" && as_dir=.
   4786     for ac_prog in sed gsed; do
   4787     for ac_exec_ext in '' $ac_executable_extensions; do
   4788       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4789       as_fn_executable_p "$ac_path_SED" || continue
   4790 # Check for GNU ac_path_SED and select it if it is found.
   4791   # Check for GNU $ac_path_SED
   4792 case `"$ac_path_SED" --version 2>&1` in
   4793 *GNU*)
   4794   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4795 *)
   4796   ac_count=0
   4797   $as_echo_n 0123456789 >"conftest.in"
   4798   while :
   4799   do
   4800     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4801     mv "conftest.tmp" "conftest.in"
   4802     cp "conftest.in" "conftest.nl"
   4803     $as_echo '' >> "conftest.nl"
   4804     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4805     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4806     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4807     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4808       # Best one so far, save it but keep looking for a better one
   4809       ac_cv_path_SED="$ac_path_SED"
   4810       ac_path_SED_max=$ac_count
   4811     fi
   4812     # 10*(2^10) chars as input seems more than enough
   4813     test $ac_count -gt 10 && break
   4814   done
   4815   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4816 esac
   4817 
   4818       $ac_path_SED_found && break 3
   4819     done
   4820   done
   4821   done
   4822 IFS=$as_save_IFS
   4823   if test -z "$ac_cv_path_SED"; then
   4824     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4825   fi
   4826 else
   4827   ac_cv_path_SED=$SED
   4828 fi
   4829 
   4830 fi
   4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4832 $as_echo "$ac_cv_path_SED" >&6; }
   4833  SED="$ac_cv_path_SED"
   4834   rm -f conftest.sed
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 # Check whether --enable-selective-werror was given.
   4842 if test "${enable_selective_werror+set}" = set; then :
   4843   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4844 else
   4845   SELECTIVE_WERROR=yes
   4846 fi
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4853 if test "x$SUNCC" = "xyes"; then
   4854     BASE_CFLAGS="-v"
   4855 else
   4856     BASE_CFLAGS=""
   4857 fi
   4858 
   4859 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4860 
   4861 
   4862 
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 xorg_testset_save_CFLAGS="$CFLAGS"
   4874 
   4875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4878 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4879 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4880   $as_echo_n "(cached) " >&6
   4881 else
   4882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4883 /* end confdefs.h.  */
   4884 int i;
   4885 _ACEOF
   4886 if ac_fn_c_try_compile "$LINENO"; then :
   4887   xorg_cv_cc_flag_unknown_warning_option=yes
   4888 else
   4889   xorg_cv_cc_flag_unknown_warning_option=no
   4890 fi
   4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4892 fi
   4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4894 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4896 	CFLAGS="$xorg_testset_save_CFLAGS"
   4897 fi
   4898 
   4899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4902 	fi
   4903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4905 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4906 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4907   $as_echo_n "(cached) " >&6
   4908 else
   4909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4910 /* end confdefs.h.  */
   4911 int i;
   4912 _ACEOF
   4913 if ac_fn_c_try_compile "$LINENO"; then :
   4914   xorg_cv_cc_flag_unused_command_line_argument=yes
   4915 else
   4916   xorg_cv_cc_flag_unused_command_line_argument=no
   4917 fi
   4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4919 fi
   4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4921 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4923 	CFLAGS="$xorg_testset_save_CFLAGS"
   4924 fi
   4925 
   4926 found="no"
   4927 
   4928 	if test $found = "no" ; then
   4929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4931 		fi
   4932 
   4933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4935 		fi
   4936 
   4937 		CFLAGS="$CFLAGS -Wall"
   4938 
   4939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4940 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4941 		cacheid=xorg_cv_cc_flag__Wall
   4942 		if eval \${$cacheid+:} false; then :
   4943   $as_echo_n "(cached) " >&6
   4944 else
   4945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4946 /* end confdefs.h.  */
   4947 int i;
   4948 int
   4949 main ()
   4950 {
   4951 
   4952   ;
   4953   return 0;
   4954 }
   4955 _ACEOF
   4956 if ac_fn_c_try_link "$LINENO"; then :
   4957   eval $cacheid=yes
   4958 else
   4959   eval $cacheid=no
   4960 fi
   4961 rm -f core conftest.err conftest.$ac_objext \
   4962     conftest$ac_exeext conftest.$ac_ext
   4963 fi
   4964 
   4965 
   4966 		CFLAGS="$xorg_testset_save_CFLAGS"
   4967 
   4968 		eval supported=\$$cacheid
   4969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4970 $as_echo "$supported" >&6; }
   4971 		if test "$supported" = "yes" ; then
   4972 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4973 			found="yes"
   4974 		fi
   4975 	fi
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 xorg_testset_save_CFLAGS="$CFLAGS"
   4992 
   4993 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4994 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4996 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4997 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4998   $as_echo_n "(cached) " >&6
   4999 else
   5000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5001 /* end confdefs.h.  */
   5002 int i;
   5003 _ACEOF
   5004 if ac_fn_c_try_compile "$LINENO"; then :
   5005   xorg_cv_cc_flag_unknown_warning_option=yes
   5006 else
   5007   xorg_cv_cc_flag_unknown_warning_option=no
   5008 fi
   5009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5010 fi
   5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5012 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5013 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5014 	CFLAGS="$xorg_testset_save_CFLAGS"
   5015 fi
   5016 
   5017 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5018 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5020 	fi
   5021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5023 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5024 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5025   $as_echo_n "(cached) " >&6
   5026 else
   5027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5028 /* end confdefs.h.  */
   5029 int i;
   5030 _ACEOF
   5031 if ac_fn_c_try_compile "$LINENO"; then :
   5032   xorg_cv_cc_flag_unused_command_line_argument=yes
   5033 else
   5034   xorg_cv_cc_flag_unused_command_line_argument=no
   5035 fi
   5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5037 fi
   5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5039 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5040 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5041 	CFLAGS="$xorg_testset_save_CFLAGS"
   5042 fi
   5043 
   5044 found="no"
   5045 
   5046 	if test $found = "no" ; then
   5047 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5048 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5049 		fi
   5050 
   5051 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5052 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5053 		fi
   5054 
   5055 		CFLAGS="$CFLAGS -Wpointer-arith"
   5056 
   5057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5058 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5059 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5060 		if eval \${$cacheid+:} false; then :
   5061   $as_echo_n "(cached) " >&6
   5062 else
   5063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5064 /* end confdefs.h.  */
   5065 int i;
   5066 int
   5067 main ()
   5068 {
   5069 
   5070   ;
   5071   return 0;
   5072 }
   5073 _ACEOF
   5074 if ac_fn_c_try_link "$LINENO"; then :
   5075   eval $cacheid=yes
   5076 else
   5077   eval $cacheid=no
   5078 fi
   5079 rm -f core conftest.err conftest.$ac_objext \
   5080     conftest$ac_exeext conftest.$ac_ext
   5081 fi
   5082 
   5083 
   5084 		CFLAGS="$xorg_testset_save_CFLAGS"
   5085 
   5086 		eval supported=\$$cacheid
   5087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5088 $as_echo "$supported" >&6; }
   5089 		if test "$supported" = "yes" ; then
   5090 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5091 			found="yes"
   5092 		fi
   5093 	fi
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 xorg_testset_save_CFLAGS="$CFLAGS"
   5110 
   5111 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5112 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5114 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5115 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5116   $as_echo_n "(cached) " >&6
   5117 else
   5118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5119 /* end confdefs.h.  */
   5120 int i;
   5121 _ACEOF
   5122 if ac_fn_c_try_compile "$LINENO"; then :
   5123   xorg_cv_cc_flag_unknown_warning_option=yes
   5124 else
   5125   xorg_cv_cc_flag_unknown_warning_option=no
   5126 fi
   5127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5128 fi
   5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5130 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5131 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5132 	CFLAGS="$xorg_testset_save_CFLAGS"
   5133 fi
   5134 
   5135 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5136 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5137 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5138 	fi
   5139 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5140 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5141 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5142 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5143   $as_echo_n "(cached) " >&6
   5144 else
   5145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5146 /* end confdefs.h.  */
   5147 int i;
   5148 _ACEOF
   5149 if ac_fn_c_try_compile "$LINENO"; then :
   5150   xorg_cv_cc_flag_unused_command_line_argument=yes
   5151 else
   5152   xorg_cv_cc_flag_unused_command_line_argument=no
   5153 fi
   5154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5155 fi
   5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5157 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5159 	CFLAGS="$xorg_testset_save_CFLAGS"
   5160 fi
   5161 
   5162 found="no"
   5163 
   5164 	if test $found = "no" ; then
   5165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5167 		fi
   5168 
   5169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5171 		fi
   5172 
   5173 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5174 
   5175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5176 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5177 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5178 		if eval \${$cacheid+:} false; then :
   5179   $as_echo_n "(cached) " >&6
   5180 else
   5181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5182 /* end confdefs.h.  */
   5183 int i;
   5184 int
   5185 main ()
   5186 {
   5187 
   5188   ;
   5189   return 0;
   5190 }
   5191 _ACEOF
   5192 if ac_fn_c_try_link "$LINENO"; then :
   5193   eval $cacheid=yes
   5194 else
   5195   eval $cacheid=no
   5196 fi
   5197 rm -f core conftest.err conftest.$ac_objext \
   5198     conftest$ac_exeext conftest.$ac_ext
   5199 fi
   5200 
   5201 
   5202 		CFLAGS="$xorg_testset_save_CFLAGS"
   5203 
   5204 		eval supported=\$$cacheid
   5205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5206 $as_echo "$supported" >&6; }
   5207 		if test "$supported" = "yes" ; then
   5208 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5209 			found="yes"
   5210 		fi
   5211 	fi
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 xorg_testset_save_CFLAGS="$CFLAGS"
   5228 
   5229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5232 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5233 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5234   $as_echo_n "(cached) " >&6
   5235 else
   5236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5237 /* end confdefs.h.  */
   5238 int i;
   5239 _ACEOF
   5240 if ac_fn_c_try_compile "$LINENO"; then :
   5241   xorg_cv_cc_flag_unknown_warning_option=yes
   5242 else
   5243   xorg_cv_cc_flag_unknown_warning_option=no
   5244 fi
   5245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5246 fi
   5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5248 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5249 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5250 	CFLAGS="$xorg_testset_save_CFLAGS"
   5251 fi
   5252 
   5253 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5254 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5255 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5256 	fi
   5257 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5258 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5259 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5260 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5261   $as_echo_n "(cached) " >&6
   5262 else
   5263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5264 /* end confdefs.h.  */
   5265 int i;
   5266 _ACEOF
   5267 if ac_fn_c_try_compile "$LINENO"; then :
   5268   xorg_cv_cc_flag_unused_command_line_argument=yes
   5269 else
   5270   xorg_cv_cc_flag_unused_command_line_argument=no
   5271 fi
   5272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5273 fi
   5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5275 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5277 	CFLAGS="$xorg_testset_save_CFLAGS"
   5278 fi
   5279 
   5280 found="no"
   5281 
   5282 	if test $found = "no" ; then
   5283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5285 		fi
   5286 
   5287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5289 		fi
   5290 
   5291 		CFLAGS="$CFLAGS -Wformat=2"
   5292 
   5293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5294 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5295 		cacheid=xorg_cv_cc_flag__Wformat_2
   5296 		if eval \${$cacheid+:} false; then :
   5297   $as_echo_n "(cached) " >&6
   5298 else
   5299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5300 /* end confdefs.h.  */
   5301 int i;
   5302 int
   5303 main ()
   5304 {
   5305 
   5306   ;
   5307   return 0;
   5308 }
   5309 _ACEOF
   5310 if ac_fn_c_try_link "$LINENO"; then :
   5311   eval $cacheid=yes
   5312 else
   5313   eval $cacheid=no
   5314 fi
   5315 rm -f core conftest.err conftest.$ac_objext \
   5316     conftest$ac_exeext conftest.$ac_ext
   5317 fi
   5318 
   5319 
   5320 		CFLAGS="$xorg_testset_save_CFLAGS"
   5321 
   5322 		eval supported=\$$cacheid
   5323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5324 $as_echo "$supported" >&6; }
   5325 		if test "$supported" = "yes" ; then
   5326 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5327 			found="yes"
   5328 		fi
   5329 	fi
   5330 
   5331 	if test $found = "no" ; then
   5332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5334 		fi
   5335 
   5336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5338 		fi
   5339 
   5340 		CFLAGS="$CFLAGS -Wformat"
   5341 
   5342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5343 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5344 		cacheid=xorg_cv_cc_flag__Wformat
   5345 		if eval \${$cacheid+:} false; then :
   5346   $as_echo_n "(cached) " >&6
   5347 else
   5348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5349 /* end confdefs.h.  */
   5350 int i;
   5351 int
   5352 main ()
   5353 {
   5354 
   5355   ;
   5356   return 0;
   5357 }
   5358 _ACEOF
   5359 if ac_fn_c_try_link "$LINENO"; then :
   5360   eval $cacheid=yes
   5361 else
   5362   eval $cacheid=no
   5363 fi
   5364 rm -f core conftest.err conftest.$ac_objext \
   5365     conftest$ac_exeext conftest.$ac_ext
   5366 fi
   5367 
   5368 
   5369 		CFLAGS="$xorg_testset_save_CFLAGS"
   5370 
   5371 		eval supported=\$$cacheid
   5372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5373 $as_echo "$supported" >&6; }
   5374 		if test "$supported" = "yes" ; then
   5375 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5376 			found="yes"
   5377 		fi
   5378 	fi
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 xorg_testset_save_CFLAGS="$CFLAGS"
   5397 
   5398 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5399 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5401 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5402 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5403   $as_echo_n "(cached) " >&6
   5404 else
   5405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5406 /* end confdefs.h.  */
   5407 int i;
   5408 _ACEOF
   5409 if ac_fn_c_try_compile "$LINENO"; then :
   5410   xorg_cv_cc_flag_unknown_warning_option=yes
   5411 else
   5412   xorg_cv_cc_flag_unknown_warning_option=no
   5413 fi
   5414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5415 fi
   5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5417 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5419 	CFLAGS="$xorg_testset_save_CFLAGS"
   5420 fi
   5421 
   5422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5425 	fi
   5426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5428 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5429 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5430   $as_echo_n "(cached) " >&6
   5431 else
   5432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5433 /* end confdefs.h.  */
   5434 int i;
   5435 _ACEOF
   5436 if ac_fn_c_try_compile "$LINENO"; then :
   5437   xorg_cv_cc_flag_unused_command_line_argument=yes
   5438 else
   5439   xorg_cv_cc_flag_unused_command_line_argument=no
   5440 fi
   5441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5442 fi
   5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5444 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5445 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5446 	CFLAGS="$xorg_testset_save_CFLAGS"
   5447 fi
   5448 
   5449 found="no"
   5450 
   5451 	if test $found = "no" ; then
   5452 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5453 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5454 		fi
   5455 
   5456 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5457 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5458 		fi
   5459 
   5460 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5461 
   5462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5463 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5464 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5465 		if eval \${$cacheid+:} false; then :
   5466   $as_echo_n "(cached) " >&6
   5467 else
   5468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5469 /* end confdefs.h.  */
   5470 int i;
   5471 int
   5472 main ()
   5473 {
   5474 
   5475   ;
   5476   return 0;
   5477 }
   5478 _ACEOF
   5479 if ac_fn_c_try_link "$LINENO"; then :
   5480   eval $cacheid=yes
   5481 else
   5482   eval $cacheid=no
   5483 fi
   5484 rm -f core conftest.err conftest.$ac_objext \
   5485     conftest$ac_exeext conftest.$ac_ext
   5486 fi
   5487 
   5488 
   5489 		CFLAGS="$xorg_testset_save_CFLAGS"
   5490 
   5491 		eval supported=\$$cacheid
   5492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5493 $as_echo "$supported" >&6; }
   5494 		if test "$supported" = "yes" ; then
   5495 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5496 			found="yes"
   5497 		fi
   5498 	fi
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 xorg_testset_save_CFLAGS="$CFLAGS"
   5515 
   5516 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5517 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5519 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5520 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5521   $as_echo_n "(cached) " >&6
   5522 else
   5523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5524 /* end confdefs.h.  */
   5525 int i;
   5526 _ACEOF
   5527 if ac_fn_c_try_compile "$LINENO"; then :
   5528   xorg_cv_cc_flag_unknown_warning_option=yes
   5529 else
   5530   xorg_cv_cc_flag_unknown_warning_option=no
   5531 fi
   5532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5533 fi
   5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5535 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5536 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5537 	CFLAGS="$xorg_testset_save_CFLAGS"
   5538 fi
   5539 
   5540 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5541 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5542 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5543 	fi
   5544 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5546 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5547 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5548   $as_echo_n "(cached) " >&6
   5549 else
   5550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5551 /* end confdefs.h.  */
   5552 int i;
   5553 _ACEOF
   5554 if ac_fn_c_try_compile "$LINENO"; then :
   5555   xorg_cv_cc_flag_unused_command_line_argument=yes
   5556 else
   5557   xorg_cv_cc_flag_unused_command_line_argument=no
   5558 fi
   5559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5560 fi
   5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5562 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5563 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5564 	CFLAGS="$xorg_testset_save_CFLAGS"
   5565 fi
   5566 
   5567 found="no"
   5568 
   5569 	if test $found = "no" ; then
   5570 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5571 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5572 		fi
   5573 
   5574 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5575 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5576 		fi
   5577 
   5578 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5579 
   5580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5581 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5582 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5583 		if eval \${$cacheid+:} false; then :
   5584   $as_echo_n "(cached) " >&6
   5585 else
   5586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5587 /* end confdefs.h.  */
   5588 int i;
   5589 int
   5590 main ()
   5591 {
   5592 
   5593   ;
   5594   return 0;
   5595 }
   5596 _ACEOF
   5597 if ac_fn_c_try_link "$LINENO"; then :
   5598   eval $cacheid=yes
   5599 else
   5600   eval $cacheid=no
   5601 fi
   5602 rm -f core conftest.err conftest.$ac_objext \
   5603     conftest$ac_exeext conftest.$ac_ext
   5604 fi
   5605 
   5606 
   5607 		CFLAGS="$xorg_testset_save_CFLAGS"
   5608 
   5609 		eval supported=\$$cacheid
   5610 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5611 $as_echo "$supported" >&6; }
   5612 		if test "$supported" = "yes" ; then
   5613 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5614 			found="yes"
   5615 		fi
   5616 	fi
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 xorg_testset_save_CFLAGS="$CFLAGS"
   5633 
   5634 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5635 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5637 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5638 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5639   $as_echo_n "(cached) " >&6
   5640 else
   5641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5642 /* end confdefs.h.  */
   5643 int i;
   5644 _ACEOF
   5645 if ac_fn_c_try_compile "$LINENO"; then :
   5646   xorg_cv_cc_flag_unknown_warning_option=yes
   5647 else
   5648   xorg_cv_cc_flag_unknown_warning_option=no
   5649 fi
   5650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5651 fi
   5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5653 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5654 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5655 	CFLAGS="$xorg_testset_save_CFLAGS"
   5656 fi
   5657 
   5658 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5659 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5660 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5661 	fi
   5662 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5664 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5665 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5666   $as_echo_n "(cached) " >&6
   5667 else
   5668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5669 /* end confdefs.h.  */
   5670 int i;
   5671 _ACEOF
   5672 if ac_fn_c_try_compile "$LINENO"; then :
   5673   xorg_cv_cc_flag_unused_command_line_argument=yes
   5674 else
   5675   xorg_cv_cc_flag_unused_command_line_argument=no
   5676 fi
   5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5678 fi
   5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5680 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5681 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5682 	CFLAGS="$xorg_testset_save_CFLAGS"
   5683 fi
   5684 
   5685 found="no"
   5686 
   5687 	if test $found = "no" ; then
   5688 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5689 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5690 		fi
   5691 
   5692 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5693 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5694 		fi
   5695 
   5696 		CFLAGS="$CFLAGS -Wnested-externs"
   5697 
   5698 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5699 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5700 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5701 		if eval \${$cacheid+:} false; then :
   5702   $as_echo_n "(cached) " >&6
   5703 else
   5704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5705 /* end confdefs.h.  */
   5706 int i;
   5707 int
   5708 main ()
   5709 {
   5710 
   5711   ;
   5712   return 0;
   5713 }
   5714 _ACEOF
   5715 if ac_fn_c_try_link "$LINENO"; then :
   5716   eval $cacheid=yes
   5717 else
   5718   eval $cacheid=no
   5719 fi
   5720 rm -f core conftest.err conftest.$ac_objext \
   5721     conftest$ac_exeext conftest.$ac_ext
   5722 fi
   5723 
   5724 
   5725 		CFLAGS="$xorg_testset_save_CFLAGS"
   5726 
   5727 		eval supported=\$$cacheid
   5728 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5729 $as_echo "$supported" >&6; }
   5730 		if test "$supported" = "yes" ; then
   5731 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5732 			found="yes"
   5733 		fi
   5734 	fi
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 xorg_testset_save_CFLAGS="$CFLAGS"
   5751 
   5752 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5753 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5755 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5756 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5757   $as_echo_n "(cached) " >&6
   5758 else
   5759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5760 /* end confdefs.h.  */
   5761 int i;
   5762 _ACEOF
   5763 if ac_fn_c_try_compile "$LINENO"; then :
   5764   xorg_cv_cc_flag_unknown_warning_option=yes
   5765 else
   5766   xorg_cv_cc_flag_unknown_warning_option=no
   5767 fi
   5768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5769 fi
   5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5771 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5772 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5773 	CFLAGS="$xorg_testset_save_CFLAGS"
   5774 fi
   5775 
   5776 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5777 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5778 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5779 	fi
   5780 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5782 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5783 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5784   $as_echo_n "(cached) " >&6
   5785 else
   5786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5787 /* end confdefs.h.  */
   5788 int i;
   5789 _ACEOF
   5790 if ac_fn_c_try_compile "$LINENO"; then :
   5791   xorg_cv_cc_flag_unused_command_line_argument=yes
   5792 else
   5793   xorg_cv_cc_flag_unused_command_line_argument=no
   5794 fi
   5795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5796 fi
   5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5798 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5799 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5800 	CFLAGS="$xorg_testset_save_CFLAGS"
   5801 fi
   5802 
   5803 found="no"
   5804 
   5805 	if test $found = "no" ; then
   5806 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5807 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5808 		fi
   5809 
   5810 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5811 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5812 		fi
   5813 
   5814 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5815 
   5816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5817 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5818 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5819 		if eval \${$cacheid+:} false; then :
   5820   $as_echo_n "(cached) " >&6
   5821 else
   5822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5823 /* end confdefs.h.  */
   5824 int i;
   5825 int
   5826 main ()
   5827 {
   5828 
   5829   ;
   5830   return 0;
   5831 }
   5832 _ACEOF
   5833 if ac_fn_c_try_link "$LINENO"; then :
   5834   eval $cacheid=yes
   5835 else
   5836   eval $cacheid=no
   5837 fi
   5838 rm -f core conftest.err conftest.$ac_objext \
   5839     conftest$ac_exeext conftest.$ac_ext
   5840 fi
   5841 
   5842 
   5843 		CFLAGS="$xorg_testset_save_CFLAGS"
   5844 
   5845 		eval supported=\$$cacheid
   5846 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5847 $as_echo "$supported" >&6; }
   5848 		if test "$supported" = "yes" ; then
   5849 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5850 			found="yes"
   5851 		fi
   5852 	fi
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 xorg_testset_save_CFLAGS="$CFLAGS"
   5869 
   5870 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5871 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5873 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5874 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5875   $as_echo_n "(cached) " >&6
   5876 else
   5877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5878 /* end confdefs.h.  */
   5879 int i;
   5880 _ACEOF
   5881 if ac_fn_c_try_compile "$LINENO"; then :
   5882   xorg_cv_cc_flag_unknown_warning_option=yes
   5883 else
   5884   xorg_cv_cc_flag_unknown_warning_option=no
   5885 fi
   5886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5887 fi
   5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5889 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5890 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5891 	CFLAGS="$xorg_testset_save_CFLAGS"
   5892 fi
   5893 
   5894 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5895 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5896 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5897 	fi
   5898 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5900 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5901 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5902   $as_echo_n "(cached) " >&6
   5903 else
   5904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5905 /* end confdefs.h.  */
   5906 int i;
   5907 _ACEOF
   5908 if ac_fn_c_try_compile "$LINENO"; then :
   5909   xorg_cv_cc_flag_unused_command_line_argument=yes
   5910 else
   5911   xorg_cv_cc_flag_unused_command_line_argument=no
   5912 fi
   5913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5914 fi
   5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5916 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5917 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5918 	CFLAGS="$xorg_testset_save_CFLAGS"
   5919 fi
   5920 
   5921 found="no"
   5922 
   5923 	if test $found = "no" ; then
   5924 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5925 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5926 		fi
   5927 
   5928 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5929 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5930 		fi
   5931 
   5932 		CFLAGS="$CFLAGS -Wold-style-definition"
   5933 
   5934 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5935 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5936 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5937 		if eval \${$cacheid+:} false; then :
   5938   $as_echo_n "(cached) " >&6
   5939 else
   5940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5941 /* end confdefs.h.  */
   5942 int i;
   5943 int
   5944 main ()
   5945 {
   5946 
   5947   ;
   5948   return 0;
   5949 }
   5950 _ACEOF
   5951 if ac_fn_c_try_link "$LINENO"; then :
   5952   eval $cacheid=yes
   5953 else
   5954   eval $cacheid=no
   5955 fi
   5956 rm -f core conftest.err conftest.$ac_objext \
   5957     conftest$ac_exeext conftest.$ac_ext
   5958 fi
   5959 
   5960 
   5961 		CFLAGS="$xorg_testset_save_CFLAGS"
   5962 
   5963 		eval supported=\$$cacheid
   5964 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5965 $as_echo "$supported" >&6; }
   5966 		if test "$supported" = "yes" ; then
   5967 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5968 			found="yes"
   5969 		fi
   5970 	fi
   5971 
   5972 	if test $found = "no" ; then
   5973 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5975 		fi
   5976 
   5977 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5979 		fi
   5980 
   5981 		CFLAGS="$CFLAGS -fd"
   5982 
   5983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5984 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5985 		cacheid=xorg_cv_cc_flag__fd
   5986 		if eval \${$cacheid+:} false; then :
   5987   $as_echo_n "(cached) " >&6
   5988 else
   5989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5990 /* end confdefs.h.  */
   5991 int i;
   5992 int
   5993 main ()
   5994 {
   5995 
   5996   ;
   5997   return 0;
   5998 }
   5999 _ACEOF
   6000 if ac_fn_c_try_link "$LINENO"; then :
   6001   eval $cacheid=yes
   6002 else
   6003   eval $cacheid=no
   6004 fi
   6005 rm -f core conftest.err conftest.$ac_objext \
   6006     conftest$ac_exeext conftest.$ac_ext
   6007 fi
   6008 
   6009 
   6010 		CFLAGS="$xorg_testset_save_CFLAGS"
   6011 
   6012 		eval supported=\$$cacheid
   6013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6014 $as_echo "$supported" >&6; }
   6015 		if test "$supported" = "yes" ; then
   6016 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6017 			found="yes"
   6018 		fi
   6019 	fi
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 xorg_testset_save_CFLAGS="$CFLAGS"
   6036 
   6037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6040 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6041 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6042   $as_echo_n "(cached) " >&6
   6043 else
   6044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6045 /* end confdefs.h.  */
   6046 int i;
   6047 _ACEOF
   6048 if ac_fn_c_try_compile "$LINENO"; then :
   6049   xorg_cv_cc_flag_unknown_warning_option=yes
   6050 else
   6051   xorg_cv_cc_flag_unknown_warning_option=no
   6052 fi
   6053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6054 fi
   6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6056 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6058 	CFLAGS="$xorg_testset_save_CFLAGS"
   6059 fi
   6060 
   6061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6064 	fi
   6065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6067 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6068 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6069   $as_echo_n "(cached) " >&6
   6070 else
   6071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6072 /* end confdefs.h.  */
   6073 int i;
   6074 _ACEOF
   6075 if ac_fn_c_try_compile "$LINENO"; then :
   6076   xorg_cv_cc_flag_unused_command_line_argument=yes
   6077 else
   6078   xorg_cv_cc_flag_unused_command_line_argument=no
   6079 fi
   6080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6081 fi
   6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6083 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6085 	CFLAGS="$xorg_testset_save_CFLAGS"
   6086 fi
   6087 
   6088 found="no"
   6089 
   6090 	if test $found = "no" ; then
   6091 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6093 		fi
   6094 
   6095 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6097 		fi
   6098 
   6099 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6100 
   6101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6102 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6103 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6104 		if eval \${$cacheid+:} false; then :
   6105   $as_echo_n "(cached) " >&6
   6106 else
   6107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6108 /* end confdefs.h.  */
   6109 int i;
   6110 int
   6111 main ()
   6112 {
   6113 
   6114   ;
   6115   return 0;
   6116 }
   6117 _ACEOF
   6118 if ac_fn_c_try_link "$LINENO"; then :
   6119   eval $cacheid=yes
   6120 else
   6121   eval $cacheid=no
   6122 fi
   6123 rm -f core conftest.err conftest.$ac_objext \
   6124     conftest$ac_exeext conftest.$ac_ext
   6125 fi
   6126 
   6127 
   6128 		CFLAGS="$xorg_testset_save_CFLAGS"
   6129 
   6130 		eval supported=\$$cacheid
   6131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6132 $as_echo "$supported" >&6; }
   6133 		if test "$supported" = "yes" ; then
   6134 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6135 			found="yes"
   6136 		fi
   6137 	fi
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 # This chunk adds additional warnings that could catch undesired effects.
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 xorg_testset_save_CFLAGS="$CFLAGS"
   6158 
   6159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6162 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6163 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6164   $as_echo_n "(cached) " >&6
   6165 else
   6166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6167 /* end confdefs.h.  */
   6168 int i;
   6169 _ACEOF
   6170 if ac_fn_c_try_compile "$LINENO"; then :
   6171   xorg_cv_cc_flag_unknown_warning_option=yes
   6172 else
   6173   xorg_cv_cc_flag_unknown_warning_option=no
   6174 fi
   6175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6176 fi
   6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6178 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6179 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6180 	CFLAGS="$xorg_testset_save_CFLAGS"
   6181 fi
   6182 
   6183 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6184 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6185 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6186 	fi
   6187 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6189 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6190 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6191   $as_echo_n "(cached) " >&6
   6192 else
   6193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6194 /* end confdefs.h.  */
   6195 int i;
   6196 _ACEOF
   6197 if ac_fn_c_try_compile "$LINENO"; then :
   6198   xorg_cv_cc_flag_unused_command_line_argument=yes
   6199 else
   6200   xorg_cv_cc_flag_unused_command_line_argument=no
   6201 fi
   6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6203 fi
   6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6205 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6207 	CFLAGS="$xorg_testset_save_CFLAGS"
   6208 fi
   6209 
   6210 found="no"
   6211 
   6212 	if test $found = "no" ; then
   6213 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6215 		fi
   6216 
   6217 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6219 		fi
   6220 
   6221 		CFLAGS="$CFLAGS -Wunused"
   6222 
   6223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6224 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6225 		cacheid=xorg_cv_cc_flag__Wunused
   6226 		if eval \${$cacheid+:} false; then :
   6227   $as_echo_n "(cached) " >&6
   6228 else
   6229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6230 /* end confdefs.h.  */
   6231 int i;
   6232 int
   6233 main ()
   6234 {
   6235 
   6236   ;
   6237   return 0;
   6238 }
   6239 _ACEOF
   6240 if ac_fn_c_try_link "$LINENO"; then :
   6241   eval $cacheid=yes
   6242 else
   6243   eval $cacheid=no
   6244 fi
   6245 rm -f core conftest.err conftest.$ac_objext \
   6246     conftest$ac_exeext conftest.$ac_ext
   6247 fi
   6248 
   6249 
   6250 		CFLAGS="$xorg_testset_save_CFLAGS"
   6251 
   6252 		eval supported=\$$cacheid
   6253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6254 $as_echo "$supported" >&6; }
   6255 		if test "$supported" = "yes" ; then
   6256 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6257 			found="yes"
   6258 		fi
   6259 	fi
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 xorg_testset_save_CFLAGS="$CFLAGS"
   6276 
   6277 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6278 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6280 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6281 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6282   $as_echo_n "(cached) " >&6
   6283 else
   6284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6285 /* end confdefs.h.  */
   6286 int i;
   6287 _ACEOF
   6288 if ac_fn_c_try_compile "$LINENO"; then :
   6289   xorg_cv_cc_flag_unknown_warning_option=yes
   6290 else
   6291   xorg_cv_cc_flag_unknown_warning_option=no
   6292 fi
   6293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6294 fi
   6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6296 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6298 	CFLAGS="$xorg_testset_save_CFLAGS"
   6299 fi
   6300 
   6301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6304 	fi
   6305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6307 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6308 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6309   $as_echo_n "(cached) " >&6
   6310 else
   6311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6312 /* end confdefs.h.  */
   6313 int i;
   6314 _ACEOF
   6315 if ac_fn_c_try_compile "$LINENO"; then :
   6316   xorg_cv_cc_flag_unused_command_line_argument=yes
   6317 else
   6318   xorg_cv_cc_flag_unused_command_line_argument=no
   6319 fi
   6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6321 fi
   6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6323 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6325 	CFLAGS="$xorg_testset_save_CFLAGS"
   6326 fi
   6327 
   6328 found="no"
   6329 
   6330 	if test $found = "no" ; then
   6331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6333 		fi
   6334 
   6335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6337 		fi
   6338 
   6339 		CFLAGS="$CFLAGS -Wuninitialized"
   6340 
   6341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6342 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6343 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6344 		if eval \${$cacheid+:} false; then :
   6345   $as_echo_n "(cached) " >&6
   6346 else
   6347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6348 /* end confdefs.h.  */
   6349 int i;
   6350 int
   6351 main ()
   6352 {
   6353 
   6354   ;
   6355   return 0;
   6356 }
   6357 _ACEOF
   6358 if ac_fn_c_try_link "$LINENO"; then :
   6359   eval $cacheid=yes
   6360 else
   6361   eval $cacheid=no
   6362 fi
   6363 rm -f core conftest.err conftest.$ac_objext \
   6364     conftest$ac_exeext conftest.$ac_ext
   6365 fi
   6366 
   6367 
   6368 		CFLAGS="$xorg_testset_save_CFLAGS"
   6369 
   6370 		eval supported=\$$cacheid
   6371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6372 $as_echo "$supported" >&6; }
   6373 		if test "$supported" = "yes" ; then
   6374 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6375 			found="yes"
   6376 		fi
   6377 	fi
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 xorg_testset_save_CFLAGS="$CFLAGS"
   6394 
   6395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6397 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6398 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6399 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6400   $as_echo_n "(cached) " >&6
   6401 else
   6402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6403 /* end confdefs.h.  */
   6404 int i;
   6405 _ACEOF
   6406 if ac_fn_c_try_compile "$LINENO"; then :
   6407   xorg_cv_cc_flag_unknown_warning_option=yes
   6408 else
   6409   xorg_cv_cc_flag_unknown_warning_option=no
   6410 fi
   6411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6412 fi
   6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6414 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6415 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6416 	CFLAGS="$xorg_testset_save_CFLAGS"
   6417 fi
   6418 
   6419 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6420 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6421 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6422 	fi
   6423 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6425 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6426 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6427   $as_echo_n "(cached) " >&6
   6428 else
   6429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6430 /* end confdefs.h.  */
   6431 int i;
   6432 _ACEOF
   6433 if ac_fn_c_try_compile "$LINENO"; then :
   6434   xorg_cv_cc_flag_unused_command_line_argument=yes
   6435 else
   6436   xorg_cv_cc_flag_unused_command_line_argument=no
   6437 fi
   6438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6439 fi
   6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6441 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6442 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6443 	CFLAGS="$xorg_testset_save_CFLAGS"
   6444 fi
   6445 
   6446 found="no"
   6447 
   6448 	if test $found = "no" ; then
   6449 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6451 		fi
   6452 
   6453 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6455 		fi
   6456 
   6457 		CFLAGS="$CFLAGS -Wshadow"
   6458 
   6459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6460 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6461 		cacheid=xorg_cv_cc_flag__Wshadow
   6462 		if eval \${$cacheid+:} false; then :
   6463   $as_echo_n "(cached) " >&6
   6464 else
   6465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6466 /* end confdefs.h.  */
   6467 int i;
   6468 int
   6469 main ()
   6470 {
   6471 
   6472   ;
   6473   return 0;
   6474 }
   6475 _ACEOF
   6476 if ac_fn_c_try_link "$LINENO"; then :
   6477   eval $cacheid=yes
   6478 else
   6479   eval $cacheid=no
   6480 fi
   6481 rm -f core conftest.err conftest.$ac_objext \
   6482     conftest$ac_exeext conftest.$ac_ext
   6483 fi
   6484 
   6485 
   6486 		CFLAGS="$xorg_testset_save_CFLAGS"
   6487 
   6488 		eval supported=\$$cacheid
   6489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6490 $as_echo "$supported" >&6; }
   6491 		if test "$supported" = "yes" ; then
   6492 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6493 			found="yes"
   6494 		fi
   6495 	fi
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 xorg_testset_save_CFLAGS="$CFLAGS"
   6512 
   6513 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6514 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6516 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6517 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6518   $as_echo_n "(cached) " >&6
   6519 else
   6520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6521 /* end confdefs.h.  */
   6522 int i;
   6523 _ACEOF
   6524 if ac_fn_c_try_compile "$LINENO"; then :
   6525   xorg_cv_cc_flag_unknown_warning_option=yes
   6526 else
   6527   xorg_cv_cc_flag_unknown_warning_option=no
   6528 fi
   6529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6530 fi
   6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6532 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6533 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6534 	CFLAGS="$xorg_testset_save_CFLAGS"
   6535 fi
   6536 
   6537 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6538 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6539 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6540 	fi
   6541 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6543 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6544 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6545   $as_echo_n "(cached) " >&6
   6546 else
   6547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6548 /* end confdefs.h.  */
   6549 int i;
   6550 _ACEOF
   6551 if ac_fn_c_try_compile "$LINENO"; then :
   6552   xorg_cv_cc_flag_unused_command_line_argument=yes
   6553 else
   6554   xorg_cv_cc_flag_unused_command_line_argument=no
   6555 fi
   6556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6557 fi
   6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6559 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6560 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6561 	CFLAGS="$xorg_testset_save_CFLAGS"
   6562 fi
   6563 
   6564 found="no"
   6565 
   6566 	if test $found = "no" ; then
   6567 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6568 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6569 		fi
   6570 
   6571 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6572 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6573 		fi
   6574 
   6575 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6576 
   6577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6578 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6579 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6580 		if eval \${$cacheid+:} false; then :
   6581   $as_echo_n "(cached) " >&6
   6582 else
   6583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6584 /* end confdefs.h.  */
   6585 int i;
   6586 int
   6587 main ()
   6588 {
   6589 
   6590   ;
   6591   return 0;
   6592 }
   6593 _ACEOF
   6594 if ac_fn_c_try_link "$LINENO"; then :
   6595   eval $cacheid=yes
   6596 else
   6597   eval $cacheid=no
   6598 fi
   6599 rm -f core conftest.err conftest.$ac_objext \
   6600     conftest$ac_exeext conftest.$ac_ext
   6601 fi
   6602 
   6603 
   6604 		CFLAGS="$xorg_testset_save_CFLAGS"
   6605 
   6606 		eval supported=\$$cacheid
   6607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6608 $as_echo "$supported" >&6; }
   6609 		if test "$supported" = "yes" ; then
   6610 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6611 			found="yes"
   6612 		fi
   6613 	fi
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 xorg_testset_save_CFLAGS="$CFLAGS"
   6630 
   6631 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6632 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6633 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6634 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6635 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6636   $as_echo_n "(cached) " >&6
   6637 else
   6638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6639 /* end confdefs.h.  */
   6640 int i;
   6641 _ACEOF
   6642 if ac_fn_c_try_compile "$LINENO"; then :
   6643   xorg_cv_cc_flag_unknown_warning_option=yes
   6644 else
   6645   xorg_cv_cc_flag_unknown_warning_option=no
   6646 fi
   6647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6648 fi
   6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6650 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6651 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6652 	CFLAGS="$xorg_testset_save_CFLAGS"
   6653 fi
   6654 
   6655 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6656 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6657 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6658 	fi
   6659 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6660 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6661 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6662 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6663   $as_echo_n "(cached) " >&6
   6664 else
   6665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6666 /* end confdefs.h.  */
   6667 int i;
   6668 _ACEOF
   6669 if ac_fn_c_try_compile "$LINENO"; then :
   6670   xorg_cv_cc_flag_unused_command_line_argument=yes
   6671 else
   6672   xorg_cv_cc_flag_unused_command_line_argument=no
   6673 fi
   6674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6675 fi
   6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6677 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6678 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6679 	CFLAGS="$xorg_testset_save_CFLAGS"
   6680 fi
   6681 
   6682 found="no"
   6683 
   6684 	if test $found = "no" ; then
   6685 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6686 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6687 		fi
   6688 
   6689 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6690 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6691 		fi
   6692 
   6693 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6694 
   6695 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6696 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6697 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6698 		if eval \${$cacheid+:} false; then :
   6699   $as_echo_n "(cached) " >&6
   6700 else
   6701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6702 /* end confdefs.h.  */
   6703 int i;
   6704 int
   6705 main ()
   6706 {
   6707 
   6708   ;
   6709   return 0;
   6710 }
   6711 _ACEOF
   6712 if ac_fn_c_try_link "$LINENO"; then :
   6713   eval $cacheid=yes
   6714 else
   6715   eval $cacheid=no
   6716 fi
   6717 rm -f core conftest.err conftest.$ac_objext \
   6718     conftest$ac_exeext conftest.$ac_ext
   6719 fi
   6720 
   6721 
   6722 		CFLAGS="$xorg_testset_save_CFLAGS"
   6723 
   6724 		eval supported=\$$cacheid
   6725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6726 $as_echo "$supported" >&6; }
   6727 		if test "$supported" = "yes" ; then
   6728 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6729 			found="yes"
   6730 		fi
   6731 	fi
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 xorg_testset_save_CFLAGS="$CFLAGS"
   6748 
   6749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6752 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6753 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6754   $as_echo_n "(cached) " >&6
   6755 else
   6756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6757 /* end confdefs.h.  */
   6758 int i;
   6759 _ACEOF
   6760 if ac_fn_c_try_compile "$LINENO"; then :
   6761   xorg_cv_cc_flag_unknown_warning_option=yes
   6762 else
   6763   xorg_cv_cc_flag_unknown_warning_option=no
   6764 fi
   6765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6766 fi
   6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6768 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6770 	CFLAGS="$xorg_testset_save_CFLAGS"
   6771 fi
   6772 
   6773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6776 	fi
   6777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6778 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6779 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6780 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6781   $as_echo_n "(cached) " >&6
   6782 else
   6783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6784 /* end confdefs.h.  */
   6785 int i;
   6786 _ACEOF
   6787 if ac_fn_c_try_compile "$LINENO"; then :
   6788   xorg_cv_cc_flag_unused_command_line_argument=yes
   6789 else
   6790   xorg_cv_cc_flag_unused_command_line_argument=no
   6791 fi
   6792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6793 fi
   6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6795 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6797 	CFLAGS="$xorg_testset_save_CFLAGS"
   6798 fi
   6799 
   6800 found="no"
   6801 
   6802 	if test $found = "no" ; then
   6803 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6805 		fi
   6806 
   6807 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6809 		fi
   6810 
   6811 		CFLAGS="$CFLAGS -Wredundant-decls"
   6812 
   6813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6814 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6815 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6816 		if eval \${$cacheid+:} false; then :
   6817   $as_echo_n "(cached) " >&6
   6818 else
   6819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6820 /* end confdefs.h.  */
   6821 int i;
   6822 int
   6823 main ()
   6824 {
   6825 
   6826   ;
   6827   return 0;
   6828 }
   6829 _ACEOF
   6830 if ac_fn_c_try_link "$LINENO"; then :
   6831   eval $cacheid=yes
   6832 else
   6833   eval $cacheid=no
   6834 fi
   6835 rm -f core conftest.err conftest.$ac_objext \
   6836     conftest$ac_exeext conftest.$ac_ext
   6837 fi
   6838 
   6839 
   6840 		CFLAGS="$xorg_testset_save_CFLAGS"
   6841 
   6842 		eval supported=\$$cacheid
   6843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6844 $as_echo "$supported" >&6; }
   6845 		if test "$supported" = "yes" ; then
   6846 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6847 			found="yes"
   6848 		fi
   6849 	fi
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 xorg_testset_save_CFLAGS="$CFLAGS"
   6866 
   6867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6870 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6871 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6872   $as_echo_n "(cached) " >&6
   6873 else
   6874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6875 /* end confdefs.h.  */
   6876 int i;
   6877 _ACEOF
   6878 if ac_fn_c_try_compile "$LINENO"; then :
   6879   xorg_cv_cc_flag_unknown_warning_option=yes
   6880 else
   6881   xorg_cv_cc_flag_unknown_warning_option=no
   6882 fi
   6883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6884 fi
   6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6886 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6887 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6888 	CFLAGS="$xorg_testset_save_CFLAGS"
   6889 fi
   6890 
   6891 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6892 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6893 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6894 	fi
   6895 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6896 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6897 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6898 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6899   $as_echo_n "(cached) " >&6
   6900 else
   6901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6902 /* end confdefs.h.  */
   6903 int i;
   6904 _ACEOF
   6905 if ac_fn_c_try_compile "$LINENO"; then :
   6906   xorg_cv_cc_flag_unused_command_line_argument=yes
   6907 else
   6908   xorg_cv_cc_flag_unused_command_line_argument=no
   6909 fi
   6910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6911 fi
   6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6913 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6914 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6915 	CFLAGS="$xorg_testset_save_CFLAGS"
   6916 fi
   6917 
   6918 found="no"
   6919 
   6920 	if test $found = "no" ; then
   6921 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6923 		fi
   6924 
   6925 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6927 		fi
   6928 
   6929 		CFLAGS="$CFLAGS -Wlogical-op"
   6930 
   6931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6932 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6933 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6934 		if eval \${$cacheid+:} false; then :
   6935   $as_echo_n "(cached) " >&6
   6936 else
   6937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6938 /* end confdefs.h.  */
   6939 int i;
   6940 int
   6941 main ()
   6942 {
   6943 
   6944   ;
   6945   return 0;
   6946 }
   6947 _ACEOF
   6948 if ac_fn_c_try_link "$LINENO"; then :
   6949   eval $cacheid=yes
   6950 else
   6951   eval $cacheid=no
   6952 fi
   6953 rm -f core conftest.err conftest.$ac_objext \
   6954     conftest$ac_exeext conftest.$ac_ext
   6955 fi
   6956 
   6957 
   6958 		CFLAGS="$xorg_testset_save_CFLAGS"
   6959 
   6960 		eval supported=\$$cacheid
   6961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6962 $as_echo "$supported" >&6; }
   6963 		if test "$supported" = "yes" ; then
   6964 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6965 			found="yes"
   6966 		fi
   6967 	fi
   6968 
   6969 
   6970 
   6971 # These are currently disabled because they are noisy.  They will be enabled
   6972 # in the future once the codebase is sufficiently modernized to silence
   6973 # them.  For now, I don't want them to drown out the other warnings.
   6974 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6975 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6976 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6977 
   6978 # Turn some warnings into errors, so we don't accidently get successful builds
   6979 # when there are problems that should be fixed.
   6980 
   6981 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 xorg_testset_save_CFLAGS="$CFLAGS"
   6996 
   6997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6998 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7000 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7001 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7002   $as_echo_n "(cached) " >&6
   7003 else
   7004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7005 /* end confdefs.h.  */
   7006 int i;
   7007 _ACEOF
   7008 if ac_fn_c_try_compile "$LINENO"; then :
   7009   xorg_cv_cc_flag_unknown_warning_option=yes
   7010 else
   7011   xorg_cv_cc_flag_unknown_warning_option=no
   7012 fi
   7013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7014 fi
   7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7016 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7018 	CFLAGS="$xorg_testset_save_CFLAGS"
   7019 fi
   7020 
   7021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7024 	fi
   7025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7026 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7027 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7028 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7029   $as_echo_n "(cached) " >&6
   7030 else
   7031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7032 /* end confdefs.h.  */
   7033 int i;
   7034 _ACEOF
   7035 if ac_fn_c_try_compile "$LINENO"; then :
   7036   xorg_cv_cc_flag_unused_command_line_argument=yes
   7037 else
   7038   xorg_cv_cc_flag_unused_command_line_argument=no
   7039 fi
   7040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7041 fi
   7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7043 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7044 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7045 	CFLAGS="$xorg_testset_save_CFLAGS"
   7046 fi
   7047 
   7048 found="no"
   7049 
   7050 	if test $found = "no" ; then
   7051 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7052 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7053 		fi
   7054 
   7055 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7056 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7057 		fi
   7058 
   7059 		CFLAGS="$CFLAGS -Werror=implicit"
   7060 
   7061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7062 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7063 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7064 		if eval \${$cacheid+:} false; then :
   7065   $as_echo_n "(cached) " >&6
   7066 else
   7067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7068 /* end confdefs.h.  */
   7069 int i;
   7070 int
   7071 main ()
   7072 {
   7073 
   7074   ;
   7075   return 0;
   7076 }
   7077 _ACEOF
   7078 if ac_fn_c_try_link "$LINENO"; then :
   7079   eval $cacheid=yes
   7080 else
   7081   eval $cacheid=no
   7082 fi
   7083 rm -f core conftest.err conftest.$ac_objext \
   7084     conftest$ac_exeext conftest.$ac_ext
   7085 fi
   7086 
   7087 
   7088 		CFLAGS="$xorg_testset_save_CFLAGS"
   7089 
   7090 		eval supported=\$$cacheid
   7091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7092 $as_echo "$supported" >&6; }
   7093 		if test "$supported" = "yes" ; then
   7094 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7095 			found="yes"
   7096 		fi
   7097 	fi
   7098 
   7099 	if test $found = "no" ; then
   7100 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7102 		fi
   7103 
   7104 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7106 		fi
   7107 
   7108 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7109 
   7110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7111 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7112 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7113 		if eval \${$cacheid+:} false; then :
   7114   $as_echo_n "(cached) " >&6
   7115 else
   7116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7117 /* end confdefs.h.  */
   7118 int i;
   7119 int
   7120 main ()
   7121 {
   7122 
   7123   ;
   7124   return 0;
   7125 }
   7126 _ACEOF
   7127 if ac_fn_c_try_link "$LINENO"; then :
   7128   eval $cacheid=yes
   7129 else
   7130   eval $cacheid=no
   7131 fi
   7132 rm -f core conftest.err conftest.$ac_objext \
   7133     conftest$ac_exeext conftest.$ac_ext
   7134 fi
   7135 
   7136 
   7137 		CFLAGS="$xorg_testset_save_CFLAGS"
   7138 
   7139 		eval supported=\$$cacheid
   7140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7141 $as_echo "$supported" >&6; }
   7142 		if test "$supported" = "yes" ; then
   7143 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7144 			found="yes"
   7145 		fi
   7146 	fi
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 xorg_testset_save_CFLAGS="$CFLAGS"
   7163 
   7164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7167 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7168 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7169   $as_echo_n "(cached) " >&6
   7170 else
   7171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7172 /* end confdefs.h.  */
   7173 int i;
   7174 _ACEOF
   7175 if ac_fn_c_try_compile "$LINENO"; then :
   7176   xorg_cv_cc_flag_unknown_warning_option=yes
   7177 else
   7178   xorg_cv_cc_flag_unknown_warning_option=no
   7179 fi
   7180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7181 fi
   7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7183 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7184 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7185 	CFLAGS="$xorg_testset_save_CFLAGS"
   7186 fi
   7187 
   7188 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7189 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7190 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7191 	fi
   7192 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7194 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7195 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7196   $as_echo_n "(cached) " >&6
   7197 else
   7198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7199 /* end confdefs.h.  */
   7200 int i;
   7201 _ACEOF
   7202 if ac_fn_c_try_compile "$LINENO"; then :
   7203   xorg_cv_cc_flag_unused_command_line_argument=yes
   7204 else
   7205   xorg_cv_cc_flag_unused_command_line_argument=no
   7206 fi
   7207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7208 fi
   7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7210 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7212 	CFLAGS="$xorg_testset_save_CFLAGS"
   7213 fi
   7214 
   7215 found="no"
   7216 
   7217 	if test $found = "no" ; then
   7218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7220 		fi
   7221 
   7222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7224 		fi
   7225 
   7226 		CFLAGS="$CFLAGS -Werror=nonnull"
   7227 
   7228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7229 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7230 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7231 		if eval \${$cacheid+:} false; then :
   7232   $as_echo_n "(cached) " >&6
   7233 else
   7234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7235 /* end confdefs.h.  */
   7236 int i;
   7237 int
   7238 main ()
   7239 {
   7240 
   7241   ;
   7242   return 0;
   7243 }
   7244 _ACEOF
   7245 if ac_fn_c_try_link "$LINENO"; then :
   7246   eval $cacheid=yes
   7247 else
   7248   eval $cacheid=no
   7249 fi
   7250 rm -f core conftest.err conftest.$ac_objext \
   7251     conftest$ac_exeext conftest.$ac_ext
   7252 fi
   7253 
   7254 
   7255 		CFLAGS="$xorg_testset_save_CFLAGS"
   7256 
   7257 		eval supported=\$$cacheid
   7258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7259 $as_echo "$supported" >&6; }
   7260 		if test "$supported" = "yes" ; then
   7261 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7262 			found="yes"
   7263 		fi
   7264 	fi
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 xorg_testset_save_CFLAGS="$CFLAGS"
   7281 
   7282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7285 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7286 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7287   $as_echo_n "(cached) " >&6
   7288 else
   7289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7290 /* end confdefs.h.  */
   7291 int i;
   7292 _ACEOF
   7293 if ac_fn_c_try_compile "$LINENO"; then :
   7294   xorg_cv_cc_flag_unknown_warning_option=yes
   7295 else
   7296   xorg_cv_cc_flag_unknown_warning_option=no
   7297 fi
   7298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7299 fi
   7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7301 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7303 	CFLAGS="$xorg_testset_save_CFLAGS"
   7304 fi
   7305 
   7306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7309 	fi
   7310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7312 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7313 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7314   $as_echo_n "(cached) " >&6
   7315 else
   7316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7317 /* end confdefs.h.  */
   7318 int i;
   7319 _ACEOF
   7320 if ac_fn_c_try_compile "$LINENO"; then :
   7321   xorg_cv_cc_flag_unused_command_line_argument=yes
   7322 else
   7323   xorg_cv_cc_flag_unused_command_line_argument=no
   7324 fi
   7325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7326 fi
   7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7328 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7329 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7330 	CFLAGS="$xorg_testset_save_CFLAGS"
   7331 fi
   7332 
   7333 found="no"
   7334 
   7335 	if test $found = "no" ; then
   7336 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7338 		fi
   7339 
   7340 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7342 		fi
   7343 
   7344 		CFLAGS="$CFLAGS -Werror=init-self"
   7345 
   7346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7347 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7348 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7349 		if eval \${$cacheid+:} false; then :
   7350   $as_echo_n "(cached) " >&6
   7351 else
   7352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7353 /* end confdefs.h.  */
   7354 int i;
   7355 int
   7356 main ()
   7357 {
   7358 
   7359   ;
   7360   return 0;
   7361 }
   7362 _ACEOF
   7363 if ac_fn_c_try_link "$LINENO"; then :
   7364   eval $cacheid=yes
   7365 else
   7366   eval $cacheid=no
   7367 fi
   7368 rm -f core conftest.err conftest.$ac_objext \
   7369     conftest$ac_exeext conftest.$ac_ext
   7370 fi
   7371 
   7372 
   7373 		CFLAGS="$xorg_testset_save_CFLAGS"
   7374 
   7375 		eval supported=\$$cacheid
   7376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7377 $as_echo "$supported" >&6; }
   7378 		if test "$supported" = "yes" ; then
   7379 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7380 			found="yes"
   7381 		fi
   7382 	fi
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 xorg_testset_save_CFLAGS="$CFLAGS"
   7399 
   7400 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7403 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7404 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7405   $as_echo_n "(cached) " >&6
   7406 else
   7407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7408 /* end confdefs.h.  */
   7409 int i;
   7410 _ACEOF
   7411 if ac_fn_c_try_compile "$LINENO"; then :
   7412   xorg_cv_cc_flag_unknown_warning_option=yes
   7413 else
   7414   xorg_cv_cc_flag_unknown_warning_option=no
   7415 fi
   7416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7417 fi
   7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7419 $as_echo "$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 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7430 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7431 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7432   $as_echo_n "(cached) " >&6
   7433 else
   7434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7435 /* end confdefs.h.  */
   7436 int i;
   7437 _ACEOF
   7438 if ac_fn_c_try_compile "$LINENO"; then :
   7439   xorg_cv_cc_flag_unused_command_line_argument=yes
   7440 else
   7441   xorg_cv_cc_flag_unused_command_line_argument=no
   7442 fi
   7443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7444 fi
   7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7446 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7448 	CFLAGS="$xorg_testset_save_CFLAGS"
   7449 fi
   7450 
   7451 found="no"
   7452 
   7453 	if test $found = "no" ; then
   7454 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7456 		fi
   7457 
   7458 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7460 		fi
   7461 
   7462 		CFLAGS="$CFLAGS -Werror=main"
   7463 
   7464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7465 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7466 		cacheid=xorg_cv_cc_flag__Werror_main
   7467 		if eval \${$cacheid+:} false; then :
   7468   $as_echo_n "(cached) " >&6
   7469 else
   7470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7471 /* end confdefs.h.  */
   7472 int i;
   7473 int
   7474 main ()
   7475 {
   7476 
   7477   ;
   7478   return 0;
   7479 }
   7480 _ACEOF
   7481 if ac_fn_c_try_link "$LINENO"; then :
   7482   eval $cacheid=yes
   7483 else
   7484   eval $cacheid=no
   7485 fi
   7486 rm -f core conftest.err conftest.$ac_objext \
   7487     conftest$ac_exeext conftest.$ac_ext
   7488 fi
   7489 
   7490 
   7491 		CFLAGS="$xorg_testset_save_CFLAGS"
   7492 
   7493 		eval supported=\$$cacheid
   7494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7495 $as_echo "$supported" >&6; }
   7496 		if test "$supported" = "yes" ; then
   7497 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7498 			found="yes"
   7499 		fi
   7500 	fi
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 xorg_testset_save_CFLAGS="$CFLAGS"
   7517 
   7518 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7519 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7521 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7522 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7523   $as_echo_n "(cached) " >&6
   7524 else
   7525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7526 /* end confdefs.h.  */
   7527 int i;
   7528 _ACEOF
   7529 if ac_fn_c_try_compile "$LINENO"; then :
   7530   xorg_cv_cc_flag_unknown_warning_option=yes
   7531 else
   7532   xorg_cv_cc_flag_unknown_warning_option=no
   7533 fi
   7534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7535 fi
   7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7537 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7538 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7539 	CFLAGS="$xorg_testset_save_CFLAGS"
   7540 fi
   7541 
   7542 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7543 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7544 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7545 	fi
   7546 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7548 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7549 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7550   $as_echo_n "(cached) " >&6
   7551 else
   7552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7553 /* end confdefs.h.  */
   7554 int i;
   7555 _ACEOF
   7556 if ac_fn_c_try_compile "$LINENO"; then :
   7557   xorg_cv_cc_flag_unused_command_line_argument=yes
   7558 else
   7559   xorg_cv_cc_flag_unused_command_line_argument=no
   7560 fi
   7561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7562 fi
   7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7564 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7565 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7566 	CFLAGS="$xorg_testset_save_CFLAGS"
   7567 fi
   7568 
   7569 found="no"
   7570 
   7571 	if test $found = "no" ; then
   7572 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7573 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7574 		fi
   7575 
   7576 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7577 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7578 		fi
   7579 
   7580 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7581 
   7582 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7583 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7584 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7585 		if eval \${$cacheid+:} false; then :
   7586   $as_echo_n "(cached) " >&6
   7587 else
   7588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7589 /* end confdefs.h.  */
   7590 int i;
   7591 int
   7592 main ()
   7593 {
   7594 
   7595   ;
   7596   return 0;
   7597 }
   7598 _ACEOF
   7599 if ac_fn_c_try_link "$LINENO"; then :
   7600   eval $cacheid=yes
   7601 else
   7602   eval $cacheid=no
   7603 fi
   7604 rm -f core conftest.err conftest.$ac_objext \
   7605     conftest$ac_exeext conftest.$ac_ext
   7606 fi
   7607 
   7608 
   7609 		CFLAGS="$xorg_testset_save_CFLAGS"
   7610 
   7611 		eval supported=\$$cacheid
   7612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7613 $as_echo "$supported" >&6; }
   7614 		if test "$supported" = "yes" ; then
   7615 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7616 			found="yes"
   7617 		fi
   7618 	fi
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 xorg_testset_save_CFLAGS="$CFLAGS"
   7635 
   7636 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7637 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7638 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7639 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7640 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7641   $as_echo_n "(cached) " >&6
   7642 else
   7643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7644 /* end confdefs.h.  */
   7645 int i;
   7646 _ACEOF
   7647 if ac_fn_c_try_compile "$LINENO"; then :
   7648   xorg_cv_cc_flag_unknown_warning_option=yes
   7649 else
   7650   xorg_cv_cc_flag_unknown_warning_option=no
   7651 fi
   7652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7653 fi
   7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7655 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7656 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7657 	CFLAGS="$xorg_testset_save_CFLAGS"
   7658 fi
   7659 
   7660 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7661 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7662 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7663 	fi
   7664 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7666 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7667 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7668   $as_echo_n "(cached) " >&6
   7669 else
   7670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7671 /* end confdefs.h.  */
   7672 int i;
   7673 _ACEOF
   7674 if ac_fn_c_try_compile "$LINENO"; then :
   7675   xorg_cv_cc_flag_unused_command_line_argument=yes
   7676 else
   7677   xorg_cv_cc_flag_unused_command_line_argument=no
   7678 fi
   7679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7680 fi
   7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7682 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7683 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7684 	CFLAGS="$xorg_testset_save_CFLAGS"
   7685 fi
   7686 
   7687 found="no"
   7688 
   7689 	if test $found = "no" ; then
   7690 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7691 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7692 		fi
   7693 
   7694 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7695 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7696 		fi
   7697 
   7698 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7699 
   7700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7701 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7702 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7703 		if eval \${$cacheid+:} false; then :
   7704   $as_echo_n "(cached) " >&6
   7705 else
   7706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7707 /* end confdefs.h.  */
   7708 int i;
   7709 int
   7710 main ()
   7711 {
   7712 
   7713   ;
   7714   return 0;
   7715 }
   7716 _ACEOF
   7717 if ac_fn_c_try_link "$LINENO"; then :
   7718   eval $cacheid=yes
   7719 else
   7720   eval $cacheid=no
   7721 fi
   7722 rm -f core conftest.err conftest.$ac_objext \
   7723     conftest$ac_exeext conftest.$ac_ext
   7724 fi
   7725 
   7726 
   7727 		CFLAGS="$xorg_testset_save_CFLAGS"
   7728 
   7729 		eval supported=\$$cacheid
   7730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7731 $as_echo "$supported" >&6; }
   7732 		if test "$supported" = "yes" ; then
   7733 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7734 			found="yes"
   7735 		fi
   7736 	fi
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 xorg_testset_save_CFLAGS="$CFLAGS"
   7753 
   7754 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7755 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7757 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7758 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7759   $as_echo_n "(cached) " >&6
   7760 else
   7761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7762 /* end confdefs.h.  */
   7763 int i;
   7764 _ACEOF
   7765 if ac_fn_c_try_compile "$LINENO"; then :
   7766   xorg_cv_cc_flag_unknown_warning_option=yes
   7767 else
   7768   xorg_cv_cc_flag_unknown_warning_option=no
   7769 fi
   7770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7771 fi
   7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7773 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7774 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7775 	CFLAGS="$xorg_testset_save_CFLAGS"
   7776 fi
   7777 
   7778 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7779 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7780 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7781 	fi
   7782 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7783 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7784 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7785 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7786   $as_echo_n "(cached) " >&6
   7787 else
   7788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7789 /* end confdefs.h.  */
   7790 int i;
   7791 _ACEOF
   7792 if ac_fn_c_try_compile "$LINENO"; then :
   7793   xorg_cv_cc_flag_unused_command_line_argument=yes
   7794 else
   7795   xorg_cv_cc_flag_unused_command_line_argument=no
   7796 fi
   7797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7798 fi
   7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7800 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7801 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7802 	CFLAGS="$xorg_testset_save_CFLAGS"
   7803 fi
   7804 
   7805 found="no"
   7806 
   7807 	if test $found = "no" ; then
   7808 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7809 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7810 		fi
   7811 
   7812 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7813 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7814 		fi
   7815 
   7816 		CFLAGS="$CFLAGS -Werror=return-type"
   7817 
   7818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7819 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7820 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7821 		if eval \${$cacheid+:} false; then :
   7822   $as_echo_n "(cached) " >&6
   7823 else
   7824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7825 /* end confdefs.h.  */
   7826 int i;
   7827 int
   7828 main ()
   7829 {
   7830 
   7831   ;
   7832   return 0;
   7833 }
   7834 _ACEOF
   7835 if ac_fn_c_try_link "$LINENO"; then :
   7836   eval $cacheid=yes
   7837 else
   7838   eval $cacheid=no
   7839 fi
   7840 rm -f core conftest.err conftest.$ac_objext \
   7841     conftest$ac_exeext conftest.$ac_ext
   7842 fi
   7843 
   7844 
   7845 		CFLAGS="$xorg_testset_save_CFLAGS"
   7846 
   7847 		eval supported=\$$cacheid
   7848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7849 $as_echo "$supported" >&6; }
   7850 		if test "$supported" = "yes" ; then
   7851 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7852 			found="yes"
   7853 		fi
   7854 	fi
   7855 
   7856 	if test $found = "no" ; then
   7857 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7859 		fi
   7860 
   7861 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7863 		fi
   7864 
   7865 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7866 
   7867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7868 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7869 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7870 		if eval \${$cacheid+:} false; then :
   7871   $as_echo_n "(cached) " >&6
   7872 else
   7873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7874 /* end confdefs.h.  */
   7875 int i;
   7876 int
   7877 main ()
   7878 {
   7879 
   7880   ;
   7881   return 0;
   7882 }
   7883 _ACEOF
   7884 if ac_fn_c_try_link "$LINENO"; then :
   7885   eval $cacheid=yes
   7886 else
   7887   eval $cacheid=no
   7888 fi
   7889 rm -f core conftest.err conftest.$ac_objext \
   7890     conftest$ac_exeext conftest.$ac_ext
   7891 fi
   7892 
   7893 
   7894 		CFLAGS="$xorg_testset_save_CFLAGS"
   7895 
   7896 		eval supported=\$$cacheid
   7897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7898 $as_echo "$supported" >&6; }
   7899 		if test "$supported" = "yes" ; then
   7900 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7901 			found="yes"
   7902 		fi
   7903 	fi
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 xorg_testset_save_CFLAGS="$CFLAGS"
   7920 
   7921 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7924 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7925 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7926   $as_echo_n "(cached) " >&6
   7927 else
   7928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7929 /* end confdefs.h.  */
   7930 int i;
   7931 _ACEOF
   7932 if ac_fn_c_try_compile "$LINENO"; then :
   7933   xorg_cv_cc_flag_unknown_warning_option=yes
   7934 else
   7935   xorg_cv_cc_flag_unknown_warning_option=no
   7936 fi
   7937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7938 fi
   7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7940 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7941 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7942 	CFLAGS="$xorg_testset_save_CFLAGS"
   7943 fi
   7944 
   7945 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7946 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7948 	fi
   7949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7951 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7952 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7953   $as_echo_n "(cached) " >&6
   7954 else
   7955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7956 /* end confdefs.h.  */
   7957 int i;
   7958 _ACEOF
   7959 if ac_fn_c_try_compile "$LINENO"; then :
   7960   xorg_cv_cc_flag_unused_command_line_argument=yes
   7961 else
   7962   xorg_cv_cc_flag_unused_command_line_argument=no
   7963 fi
   7964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7965 fi
   7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7967 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7968 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7969 	CFLAGS="$xorg_testset_save_CFLAGS"
   7970 fi
   7971 
   7972 found="no"
   7973 
   7974 	if test $found = "no" ; then
   7975 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7977 		fi
   7978 
   7979 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7981 		fi
   7982 
   7983 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7984 
   7985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7986 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7987 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7988 		if eval \${$cacheid+:} false; then :
   7989   $as_echo_n "(cached) " >&6
   7990 else
   7991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7992 /* end confdefs.h.  */
   7993 int i;
   7994 int
   7995 main ()
   7996 {
   7997 
   7998   ;
   7999   return 0;
   8000 }
   8001 _ACEOF
   8002 if ac_fn_c_try_link "$LINENO"; then :
   8003   eval $cacheid=yes
   8004 else
   8005   eval $cacheid=no
   8006 fi
   8007 rm -f core conftest.err conftest.$ac_objext \
   8008     conftest$ac_exeext conftest.$ac_ext
   8009 fi
   8010 
   8011 
   8012 		CFLAGS="$xorg_testset_save_CFLAGS"
   8013 
   8014 		eval supported=\$$cacheid
   8015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8016 $as_echo "$supported" >&6; }
   8017 		if test "$supported" = "yes" ; then
   8018 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8019 			found="yes"
   8020 		fi
   8021 	fi
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 xorg_testset_save_CFLAGS="$CFLAGS"
   8038 
   8039 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8040 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8042 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8043 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8044   $as_echo_n "(cached) " >&6
   8045 else
   8046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8047 /* end confdefs.h.  */
   8048 int i;
   8049 _ACEOF
   8050 if ac_fn_c_try_compile "$LINENO"; then :
   8051   xorg_cv_cc_flag_unknown_warning_option=yes
   8052 else
   8053   xorg_cv_cc_flag_unknown_warning_option=no
   8054 fi
   8055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8056 fi
   8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8058 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8059 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8060 	CFLAGS="$xorg_testset_save_CFLAGS"
   8061 fi
   8062 
   8063 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8064 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8065 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8066 	fi
   8067 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8068 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8069 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8070 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8071   $as_echo_n "(cached) " >&6
   8072 else
   8073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8074 /* end confdefs.h.  */
   8075 int i;
   8076 _ACEOF
   8077 if ac_fn_c_try_compile "$LINENO"; then :
   8078   xorg_cv_cc_flag_unused_command_line_argument=yes
   8079 else
   8080   xorg_cv_cc_flag_unused_command_line_argument=no
   8081 fi
   8082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8083 fi
   8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8085 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8086 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8087 	CFLAGS="$xorg_testset_save_CFLAGS"
   8088 fi
   8089 
   8090 found="no"
   8091 
   8092 	if test $found = "no" ; then
   8093 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8094 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8095 		fi
   8096 
   8097 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8098 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8099 		fi
   8100 
   8101 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8102 
   8103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8104 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8105 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8106 		if eval \${$cacheid+:} false; then :
   8107   $as_echo_n "(cached) " >&6
   8108 else
   8109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8110 /* end confdefs.h.  */
   8111 int i;
   8112 int
   8113 main ()
   8114 {
   8115 
   8116   ;
   8117   return 0;
   8118 }
   8119 _ACEOF
   8120 if ac_fn_c_try_link "$LINENO"; then :
   8121   eval $cacheid=yes
   8122 else
   8123   eval $cacheid=no
   8124 fi
   8125 rm -f core conftest.err conftest.$ac_objext \
   8126     conftest$ac_exeext conftest.$ac_ext
   8127 fi
   8128 
   8129 
   8130 		CFLAGS="$xorg_testset_save_CFLAGS"
   8131 
   8132 		eval supported=\$$cacheid
   8133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8134 $as_echo "$supported" >&6; }
   8135 		if test "$supported" = "yes" ; then
   8136 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8137 			found="yes"
   8138 		fi
   8139 	fi
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 xorg_testset_save_CFLAGS="$CFLAGS"
   8156 
   8157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8160 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8161 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8162   $as_echo_n "(cached) " >&6
   8163 else
   8164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8165 /* end confdefs.h.  */
   8166 int i;
   8167 _ACEOF
   8168 if ac_fn_c_try_compile "$LINENO"; then :
   8169   xorg_cv_cc_flag_unknown_warning_option=yes
   8170 else
   8171   xorg_cv_cc_flag_unknown_warning_option=no
   8172 fi
   8173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8174 fi
   8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8176 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8177 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8178 	CFLAGS="$xorg_testset_save_CFLAGS"
   8179 fi
   8180 
   8181 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8182 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8183 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8184 	fi
   8185 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8187 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8188 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8189   $as_echo_n "(cached) " >&6
   8190 else
   8191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8192 /* end confdefs.h.  */
   8193 int i;
   8194 _ACEOF
   8195 if ac_fn_c_try_compile "$LINENO"; then :
   8196   xorg_cv_cc_flag_unused_command_line_argument=yes
   8197 else
   8198   xorg_cv_cc_flag_unused_command_line_argument=no
   8199 fi
   8200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8201 fi
   8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8203 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8204 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8205 	CFLAGS="$xorg_testset_save_CFLAGS"
   8206 fi
   8207 
   8208 found="no"
   8209 
   8210 	if test $found = "no" ; then
   8211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8213 		fi
   8214 
   8215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8217 		fi
   8218 
   8219 		CFLAGS="$CFLAGS -Werror=write-strings"
   8220 
   8221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8222 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8223 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8224 		if eval \${$cacheid+:} false; then :
   8225   $as_echo_n "(cached) " >&6
   8226 else
   8227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8228 /* end confdefs.h.  */
   8229 int i;
   8230 int
   8231 main ()
   8232 {
   8233 
   8234   ;
   8235   return 0;
   8236 }
   8237 _ACEOF
   8238 if ac_fn_c_try_link "$LINENO"; then :
   8239   eval $cacheid=yes
   8240 else
   8241   eval $cacheid=no
   8242 fi
   8243 rm -f core conftest.err conftest.$ac_objext \
   8244     conftest$ac_exeext conftest.$ac_ext
   8245 fi
   8246 
   8247 
   8248 		CFLAGS="$xorg_testset_save_CFLAGS"
   8249 
   8250 		eval supported=\$$cacheid
   8251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8252 $as_echo "$supported" >&6; }
   8253 		if test "$supported" = "yes" ; then
   8254 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8255 			found="yes"
   8256 		fi
   8257 	fi
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 xorg_testset_save_CFLAGS="$CFLAGS"
   8274 
   8275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8278 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8279 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8280   $as_echo_n "(cached) " >&6
   8281 else
   8282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8283 /* end confdefs.h.  */
   8284 int i;
   8285 _ACEOF
   8286 if ac_fn_c_try_compile "$LINENO"; then :
   8287   xorg_cv_cc_flag_unknown_warning_option=yes
   8288 else
   8289   xorg_cv_cc_flag_unknown_warning_option=no
   8290 fi
   8291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8292 fi
   8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8294 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8295 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8296 	CFLAGS="$xorg_testset_save_CFLAGS"
   8297 fi
   8298 
   8299 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8300 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8301 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8302 	fi
   8303 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8304 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8305 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8306 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8307   $as_echo_n "(cached) " >&6
   8308 else
   8309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8310 /* end confdefs.h.  */
   8311 int i;
   8312 _ACEOF
   8313 if ac_fn_c_try_compile "$LINENO"; then :
   8314   xorg_cv_cc_flag_unused_command_line_argument=yes
   8315 else
   8316   xorg_cv_cc_flag_unused_command_line_argument=no
   8317 fi
   8318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8319 fi
   8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8321 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8323 	CFLAGS="$xorg_testset_save_CFLAGS"
   8324 fi
   8325 
   8326 found="no"
   8327 
   8328 	if test $found = "no" ; then
   8329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8331 		fi
   8332 
   8333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8335 		fi
   8336 
   8337 		CFLAGS="$CFLAGS -Werror=address"
   8338 
   8339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8340 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8341 		cacheid=xorg_cv_cc_flag__Werror_address
   8342 		if eval \${$cacheid+:} false; then :
   8343   $as_echo_n "(cached) " >&6
   8344 else
   8345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8346 /* end confdefs.h.  */
   8347 int i;
   8348 int
   8349 main ()
   8350 {
   8351 
   8352   ;
   8353   return 0;
   8354 }
   8355 _ACEOF
   8356 if ac_fn_c_try_link "$LINENO"; then :
   8357   eval $cacheid=yes
   8358 else
   8359   eval $cacheid=no
   8360 fi
   8361 rm -f core conftest.err conftest.$ac_objext \
   8362     conftest$ac_exeext conftest.$ac_ext
   8363 fi
   8364 
   8365 
   8366 		CFLAGS="$xorg_testset_save_CFLAGS"
   8367 
   8368 		eval supported=\$$cacheid
   8369 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8370 $as_echo "$supported" >&6; }
   8371 		if test "$supported" = "yes" ; then
   8372 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8373 			found="yes"
   8374 		fi
   8375 	fi
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 xorg_testset_save_CFLAGS="$CFLAGS"
   8392 
   8393 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8394 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8396 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8397 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8398   $as_echo_n "(cached) " >&6
   8399 else
   8400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8401 /* end confdefs.h.  */
   8402 int i;
   8403 _ACEOF
   8404 if ac_fn_c_try_compile "$LINENO"; then :
   8405   xorg_cv_cc_flag_unknown_warning_option=yes
   8406 else
   8407   xorg_cv_cc_flag_unknown_warning_option=no
   8408 fi
   8409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8410 fi
   8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8412 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8414 	CFLAGS="$xorg_testset_save_CFLAGS"
   8415 fi
   8416 
   8417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8420 	fi
   8421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8422 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8423 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8424 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8425   $as_echo_n "(cached) " >&6
   8426 else
   8427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8428 /* end confdefs.h.  */
   8429 int i;
   8430 _ACEOF
   8431 if ac_fn_c_try_compile "$LINENO"; then :
   8432   xorg_cv_cc_flag_unused_command_line_argument=yes
   8433 else
   8434   xorg_cv_cc_flag_unused_command_line_argument=no
   8435 fi
   8436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8437 fi
   8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8439 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8441 	CFLAGS="$xorg_testset_save_CFLAGS"
   8442 fi
   8443 
   8444 found="no"
   8445 
   8446 	if test $found = "no" ; then
   8447 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8449 		fi
   8450 
   8451 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8453 		fi
   8454 
   8455 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8456 
   8457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8458 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8459 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8460 		if eval \${$cacheid+:} false; then :
   8461   $as_echo_n "(cached) " >&6
   8462 else
   8463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8464 /* end confdefs.h.  */
   8465 int i;
   8466 int
   8467 main ()
   8468 {
   8469 
   8470   ;
   8471   return 0;
   8472 }
   8473 _ACEOF
   8474 if ac_fn_c_try_link "$LINENO"; then :
   8475   eval $cacheid=yes
   8476 else
   8477   eval $cacheid=no
   8478 fi
   8479 rm -f core conftest.err conftest.$ac_objext \
   8480     conftest$ac_exeext conftest.$ac_ext
   8481 fi
   8482 
   8483 
   8484 		CFLAGS="$xorg_testset_save_CFLAGS"
   8485 
   8486 		eval supported=\$$cacheid
   8487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8488 $as_echo "$supported" >&6; }
   8489 		if test "$supported" = "yes" ; then
   8490 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8491 			found="yes"
   8492 		fi
   8493 	fi
   8494 
   8495 	if test $found = "no" ; then
   8496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8498 		fi
   8499 
   8500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8502 		fi
   8503 
   8504 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8505 
   8506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8507 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8508 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8509 		if eval \${$cacheid+:} false; then :
   8510   $as_echo_n "(cached) " >&6
   8511 else
   8512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8513 /* end confdefs.h.  */
   8514 int i;
   8515 int
   8516 main ()
   8517 {
   8518 
   8519   ;
   8520   return 0;
   8521 }
   8522 _ACEOF
   8523 if ac_fn_c_try_link "$LINENO"; then :
   8524   eval $cacheid=yes
   8525 else
   8526   eval $cacheid=no
   8527 fi
   8528 rm -f core conftest.err conftest.$ac_objext \
   8529     conftest$ac_exeext conftest.$ac_ext
   8530 fi
   8531 
   8532 
   8533 		CFLAGS="$xorg_testset_save_CFLAGS"
   8534 
   8535 		eval supported=\$$cacheid
   8536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8537 $as_echo "$supported" >&6; }
   8538 		if test "$supported" = "yes" ; then
   8539 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8540 			found="yes"
   8541 		fi
   8542 	fi
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 xorg_testset_save_CFLAGS="$CFLAGS"
   8559 
   8560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8563 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8564 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8565   $as_echo_n "(cached) " >&6
   8566 else
   8567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8568 /* end confdefs.h.  */
   8569 int i;
   8570 _ACEOF
   8571 if ac_fn_c_try_compile "$LINENO"; then :
   8572   xorg_cv_cc_flag_unknown_warning_option=yes
   8573 else
   8574   xorg_cv_cc_flag_unknown_warning_option=no
   8575 fi
   8576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8577 fi
   8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8579 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8581 	CFLAGS="$xorg_testset_save_CFLAGS"
   8582 fi
   8583 
   8584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8587 	fi
   8588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8590 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8591 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8592   $as_echo_n "(cached) " >&6
   8593 else
   8594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8595 /* end confdefs.h.  */
   8596 int i;
   8597 _ACEOF
   8598 if ac_fn_c_try_compile "$LINENO"; then :
   8599   xorg_cv_cc_flag_unused_command_line_argument=yes
   8600 else
   8601   xorg_cv_cc_flag_unused_command_line_argument=no
   8602 fi
   8603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8604 fi
   8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8606 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8608 	CFLAGS="$xorg_testset_save_CFLAGS"
   8609 fi
   8610 
   8611 found="no"
   8612 
   8613 	if test $found = "no" ; then
   8614 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8616 		fi
   8617 
   8618 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8620 		fi
   8621 
   8622 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8623 
   8624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8625 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8626 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8627 		if eval \${$cacheid+:} false; then :
   8628   $as_echo_n "(cached) " >&6
   8629 else
   8630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8631 /* end confdefs.h.  */
   8632 int i;
   8633 int
   8634 main ()
   8635 {
   8636 
   8637   ;
   8638   return 0;
   8639 }
   8640 _ACEOF
   8641 if ac_fn_c_try_link "$LINENO"; then :
   8642   eval $cacheid=yes
   8643 else
   8644   eval $cacheid=no
   8645 fi
   8646 rm -f core conftest.err conftest.$ac_objext \
   8647     conftest$ac_exeext conftest.$ac_ext
   8648 fi
   8649 
   8650 
   8651 		CFLAGS="$xorg_testset_save_CFLAGS"
   8652 
   8653 		eval supported=\$$cacheid
   8654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8655 $as_echo "$supported" >&6; }
   8656 		if test "$supported" = "yes" ; then
   8657 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8658 			found="yes"
   8659 		fi
   8660 	fi
   8661 
   8662  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8663 else
   8664 { $as_echo "$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
   8665 $as_echo "$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;}
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 xorg_testset_save_CFLAGS="$CFLAGS"
   8680 
   8681 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8682 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8684 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8685 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8686   $as_echo_n "(cached) " >&6
   8687 else
   8688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8689 /* end confdefs.h.  */
   8690 int i;
   8691 _ACEOF
   8692 if ac_fn_c_try_compile "$LINENO"; then :
   8693   xorg_cv_cc_flag_unknown_warning_option=yes
   8694 else
   8695   xorg_cv_cc_flag_unknown_warning_option=no
   8696 fi
   8697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8698 fi
   8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8700 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8701 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8702 	CFLAGS="$xorg_testset_save_CFLAGS"
   8703 fi
   8704 
   8705 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8706 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8707 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8708 	fi
   8709 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8710 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8711 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8712 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8713   $as_echo_n "(cached) " >&6
   8714 else
   8715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8716 /* end confdefs.h.  */
   8717 int i;
   8718 _ACEOF
   8719 if ac_fn_c_try_compile "$LINENO"; then :
   8720   xorg_cv_cc_flag_unused_command_line_argument=yes
   8721 else
   8722   xorg_cv_cc_flag_unused_command_line_argument=no
   8723 fi
   8724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8725 fi
   8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8727 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8728 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8729 	CFLAGS="$xorg_testset_save_CFLAGS"
   8730 fi
   8731 
   8732 found="no"
   8733 
   8734 	if test $found = "no" ; then
   8735 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8736 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8737 		fi
   8738 
   8739 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8740 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8741 		fi
   8742 
   8743 		CFLAGS="$CFLAGS -Wimplicit"
   8744 
   8745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8746 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8747 		cacheid=xorg_cv_cc_flag__Wimplicit
   8748 		if eval \${$cacheid+:} false; then :
   8749   $as_echo_n "(cached) " >&6
   8750 else
   8751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8752 /* end confdefs.h.  */
   8753 int i;
   8754 int
   8755 main ()
   8756 {
   8757 
   8758   ;
   8759   return 0;
   8760 }
   8761 _ACEOF
   8762 if ac_fn_c_try_link "$LINENO"; then :
   8763   eval $cacheid=yes
   8764 else
   8765   eval $cacheid=no
   8766 fi
   8767 rm -f core conftest.err conftest.$ac_objext \
   8768     conftest$ac_exeext conftest.$ac_ext
   8769 fi
   8770 
   8771 
   8772 		CFLAGS="$xorg_testset_save_CFLAGS"
   8773 
   8774 		eval supported=\$$cacheid
   8775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8776 $as_echo "$supported" >&6; }
   8777 		if test "$supported" = "yes" ; then
   8778 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8779 			found="yes"
   8780 		fi
   8781 	fi
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 xorg_testset_save_CFLAGS="$CFLAGS"
   8798 
   8799 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8800 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8802 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8803 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8804   $as_echo_n "(cached) " >&6
   8805 else
   8806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8807 /* end confdefs.h.  */
   8808 int i;
   8809 _ACEOF
   8810 if ac_fn_c_try_compile "$LINENO"; then :
   8811   xorg_cv_cc_flag_unknown_warning_option=yes
   8812 else
   8813   xorg_cv_cc_flag_unknown_warning_option=no
   8814 fi
   8815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8816 fi
   8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8818 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8819 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8820 	CFLAGS="$xorg_testset_save_CFLAGS"
   8821 fi
   8822 
   8823 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8824 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8825 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8826 	fi
   8827 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8828 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8829 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8830 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8831   $as_echo_n "(cached) " >&6
   8832 else
   8833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8834 /* end confdefs.h.  */
   8835 int i;
   8836 _ACEOF
   8837 if ac_fn_c_try_compile "$LINENO"; then :
   8838   xorg_cv_cc_flag_unused_command_line_argument=yes
   8839 else
   8840   xorg_cv_cc_flag_unused_command_line_argument=no
   8841 fi
   8842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8843 fi
   8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8845 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8846 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8847 	CFLAGS="$xorg_testset_save_CFLAGS"
   8848 fi
   8849 
   8850 found="no"
   8851 
   8852 	if test $found = "no" ; then
   8853 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8854 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8855 		fi
   8856 
   8857 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8858 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8859 		fi
   8860 
   8861 		CFLAGS="$CFLAGS -Wnonnull"
   8862 
   8863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8864 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8865 		cacheid=xorg_cv_cc_flag__Wnonnull
   8866 		if eval \${$cacheid+:} false; then :
   8867   $as_echo_n "(cached) " >&6
   8868 else
   8869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8870 /* end confdefs.h.  */
   8871 int i;
   8872 int
   8873 main ()
   8874 {
   8875 
   8876   ;
   8877   return 0;
   8878 }
   8879 _ACEOF
   8880 if ac_fn_c_try_link "$LINENO"; then :
   8881   eval $cacheid=yes
   8882 else
   8883   eval $cacheid=no
   8884 fi
   8885 rm -f core conftest.err conftest.$ac_objext \
   8886     conftest$ac_exeext conftest.$ac_ext
   8887 fi
   8888 
   8889 
   8890 		CFLAGS="$xorg_testset_save_CFLAGS"
   8891 
   8892 		eval supported=\$$cacheid
   8893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8894 $as_echo "$supported" >&6; }
   8895 		if test "$supported" = "yes" ; then
   8896 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8897 			found="yes"
   8898 		fi
   8899 	fi
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 xorg_testset_save_CFLAGS="$CFLAGS"
   8916 
   8917 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8918 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8920 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8921 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8922   $as_echo_n "(cached) " >&6
   8923 else
   8924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8925 /* end confdefs.h.  */
   8926 int i;
   8927 _ACEOF
   8928 if ac_fn_c_try_compile "$LINENO"; then :
   8929   xorg_cv_cc_flag_unknown_warning_option=yes
   8930 else
   8931   xorg_cv_cc_flag_unknown_warning_option=no
   8932 fi
   8933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8934 fi
   8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8936 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8937 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8938 	CFLAGS="$xorg_testset_save_CFLAGS"
   8939 fi
   8940 
   8941 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8942 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8943 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8944 	fi
   8945 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8947 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8948 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8949   $as_echo_n "(cached) " >&6
   8950 else
   8951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8952 /* end confdefs.h.  */
   8953 int i;
   8954 _ACEOF
   8955 if ac_fn_c_try_compile "$LINENO"; then :
   8956   xorg_cv_cc_flag_unused_command_line_argument=yes
   8957 else
   8958   xorg_cv_cc_flag_unused_command_line_argument=no
   8959 fi
   8960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8961 fi
   8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8963 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8964 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8965 	CFLAGS="$xorg_testset_save_CFLAGS"
   8966 fi
   8967 
   8968 found="no"
   8969 
   8970 	if test $found = "no" ; then
   8971 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8972 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8973 		fi
   8974 
   8975 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8976 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8977 		fi
   8978 
   8979 		CFLAGS="$CFLAGS -Winit-self"
   8980 
   8981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8982 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8983 		cacheid=xorg_cv_cc_flag__Winit_self
   8984 		if eval \${$cacheid+:} false; then :
   8985   $as_echo_n "(cached) " >&6
   8986 else
   8987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8988 /* end confdefs.h.  */
   8989 int i;
   8990 int
   8991 main ()
   8992 {
   8993 
   8994   ;
   8995   return 0;
   8996 }
   8997 _ACEOF
   8998 if ac_fn_c_try_link "$LINENO"; then :
   8999   eval $cacheid=yes
   9000 else
   9001   eval $cacheid=no
   9002 fi
   9003 rm -f core conftest.err conftest.$ac_objext \
   9004     conftest$ac_exeext conftest.$ac_ext
   9005 fi
   9006 
   9007 
   9008 		CFLAGS="$xorg_testset_save_CFLAGS"
   9009 
   9010 		eval supported=\$$cacheid
   9011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9012 $as_echo "$supported" >&6; }
   9013 		if test "$supported" = "yes" ; then
   9014 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9015 			found="yes"
   9016 		fi
   9017 	fi
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 xorg_testset_save_CFLAGS="$CFLAGS"
   9034 
   9035 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9036 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9038 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9039 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9040   $as_echo_n "(cached) " >&6
   9041 else
   9042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9043 /* end confdefs.h.  */
   9044 int i;
   9045 _ACEOF
   9046 if ac_fn_c_try_compile "$LINENO"; then :
   9047   xorg_cv_cc_flag_unknown_warning_option=yes
   9048 else
   9049   xorg_cv_cc_flag_unknown_warning_option=no
   9050 fi
   9051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9052 fi
   9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9054 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9055 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9056 	CFLAGS="$xorg_testset_save_CFLAGS"
   9057 fi
   9058 
   9059 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9060 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9061 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9062 	fi
   9063 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9064 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9065 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9066 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9067   $as_echo_n "(cached) " >&6
   9068 else
   9069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9070 /* end confdefs.h.  */
   9071 int i;
   9072 _ACEOF
   9073 if ac_fn_c_try_compile "$LINENO"; then :
   9074   xorg_cv_cc_flag_unused_command_line_argument=yes
   9075 else
   9076   xorg_cv_cc_flag_unused_command_line_argument=no
   9077 fi
   9078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9079 fi
   9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9081 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9082 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9083 	CFLAGS="$xorg_testset_save_CFLAGS"
   9084 fi
   9085 
   9086 found="no"
   9087 
   9088 	if test $found = "no" ; then
   9089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9091 		fi
   9092 
   9093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9095 		fi
   9096 
   9097 		CFLAGS="$CFLAGS -Wmain"
   9098 
   9099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9100 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9101 		cacheid=xorg_cv_cc_flag__Wmain
   9102 		if eval \${$cacheid+:} false; then :
   9103   $as_echo_n "(cached) " >&6
   9104 else
   9105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9106 /* end confdefs.h.  */
   9107 int i;
   9108 int
   9109 main ()
   9110 {
   9111 
   9112   ;
   9113   return 0;
   9114 }
   9115 _ACEOF
   9116 if ac_fn_c_try_link "$LINENO"; then :
   9117   eval $cacheid=yes
   9118 else
   9119   eval $cacheid=no
   9120 fi
   9121 rm -f core conftest.err conftest.$ac_objext \
   9122     conftest$ac_exeext conftest.$ac_ext
   9123 fi
   9124 
   9125 
   9126 		CFLAGS="$xorg_testset_save_CFLAGS"
   9127 
   9128 		eval supported=\$$cacheid
   9129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9130 $as_echo "$supported" >&6; }
   9131 		if test "$supported" = "yes" ; then
   9132 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9133 			found="yes"
   9134 		fi
   9135 	fi
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 
   9151 xorg_testset_save_CFLAGS="$CFLAGS"
   9152 
   9153 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9154 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9156 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9157 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9158   $as_echo_n "(cached) " >&6
   9159 else
   9160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9161 /* end confdefs.h.  */
   9162 int i;
   9163 _ACEOF
   9164 if ac_fn_c_try_compile "$LINENO"; then :
   9165   xorg_cv_cc_flag_unknown_warning_option=yes
   9166 else
   9167   xorg_cv_cc_flag_unknown_warning_option=no
   9168 fi
   9169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9170 fi
   9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9172 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9173 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9174 	CFLAGS="$xorg_testset_save_CFLAGS"
   9175 fi
   9176 
   9177 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9178 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9179 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9180 	fi
   9181 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9183 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9184 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9185   $as_echo_n "(cached) " >&6
   9186 else
   9187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9188 /* end confdefs.h.  */
   9189 int i;
   9190 _ACEOF
   9191 if ac_fn_c_try_compile "$LINENO"; then :
   9192   xorg_cv_cc_flag_unused_command_line_argument=yes
   9193 else
   9194   xorg_cv_cc_flag_unused_command_line_argument=no
   9195 fi
   9196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9197 fi
   9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9199 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9200 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9201 	CFLAGS="$xorg_testset_save_CFLAGS"
   9202 fi
   9203 
   9204 found="no"
   9205 
   9206 	if test $found = "no" ; then
   9207 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9208 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9209 		fi
   9210 
   9211 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9212 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9213 		fi
   9214 
   9215 		CFLAGS="$CFLAGS -Wmissing-braces"
   9216 
   9217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9218 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9219 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9220 		if eval \${$cacheid+:} false; then :
   9221   $as_echo_n "(cached) " >&6
   9222 else
   9223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9224 /* end confdefs.h.  */
   9225 int i;
   9226 int
   9227 main ()
   9228 {
   9229 
   9230   ;
   9231   return 0;
   9232 }
   9233 _ACEOF
   9234 if ac_fn_c_try_link "$LINENO"; then :
   9235   eval $cacheid=yes
   9236 else
   9237   eval $cacheid=no
   9238 fi
   9239 rm -f core conftest.err conftest.$ac_objext \
   9240     conftest$ac_exeext conftest.$ac_ext
   9241 fi
   9242 
   9243 
   9244 		CFLAGS="$xorg_testset_save_CFLAGS"
   9245 
   9246 		eval supported=\$$cacheid
   9247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9248 $as_echo "$supported" >&6; }
   9249 		if test "$supported" = "yes" ; then
   9250 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9251 			found="yes"
   9252 		fi
   9253 	fi
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 xorg_testset_save_CFLAGS="$CFLAGS"
   9270 
   9271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9274 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9275 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9276   $as_echo_n "(cached) " >&6
   9277 else
   9278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9279 /* end confdefs.h.  */
   9280 int i;
   9281 _ACEOF
   9282 if ac_fn_c_try_compile "$LINENO"; then :
   9283   xorg_cv_cc_flag_unknown_warning_option=yes
   9284 else
   9285   xorg_cv_cc_flag_unknown_warning_option=no
   9286 fi
   9287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9288 fi
   9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9290 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9291 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9292 	CFLAGS="$xorg_testset_save_CFLAGS"
   9293 fi
   9294 
   9295 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9296 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9297 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9298 	fi
   9299 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9301 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9302 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9303   $as_echo_n "(cached) " >&6
   9304 else
   9305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9306 /* end confdefs.h.  */
   9307 int i;
   9308 _ACEOF
   9309 if ac_fn_c_try_compile "$LINENO"; then :
   9310   xorg_cv_cc_flag_unused_command_line_argument=yes
   9311 else
   9312   xorg_cv_cc_flag_unused_command_line_argument=no
   9313 fi
   9314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9315 fi
   9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9317 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9318 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9319 	CFLAGS="$xorg_testset_save_CFLAGS"
   9320 fi
   9321 
   9322 found="no"
   9323 
   9324 	if test $found = "no" ; then
   9325 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9326 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9327 		fi
   9328 
   9329 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9330 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9331 		fi
   9332 
   9333 		CFLAGS="$CFLAGS -Wsequence-point"
   9334 
   9335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9336 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9337 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9338 		if eval \${$cacheid+:} false; then :
   9339   $as_echo_n "(cached) " >&6
   9340 else
   9341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9342 /* end confdefs.h.  */
   9343 int i;
   9344 int
   9345 main ()
   9346 {
   9347 
   9348   ;
   9349   return 0;
   9350 }
   9351 _ACEOF
   9352 if ac_fn_c_try_link "$LINENO"; then :
   9353   eval $cacheid=yes
   9354 else
   9355   eval $cacheid=no
   9356 fi
   9357 rm -f core conftest.err conftest.$ac_objext \
   9358     conftest$ac_exeext conftest.$ac_ext
   9359 fi
   9360 
   9361 
   9362 		CFLAGS="$xorg_testset_save_CFLAGS"
   9363 
   9364 		eval supported=\$$cacheid
   9365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9366 $as_echo "$supported" >&6; }
   9367 		if test "$supported" = "yes" ; then
   9368 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9369 			found="yes"
   9370 		fi
   9371 	fi
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 xorg_testset_save_CFLAGS="$CFLAGS"
   9388 
   9389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9391 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9392 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9393 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9394   $as_echo_n "(cached) " >&6
   9395 else
   9396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9397 /* end confdefs.h.  */
   9398 int i;
   9399 _ACEOF
   9400 if ac_fn_c_try_compile "$LINENO"; then :
   9401   xorg_cv_cc_flag_unknown_warning_option=yes
   9402 else
   9403   xorg_cv_cc_flag_unknown_warning_option=no
   9404 fi
   9405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9406 fi
   9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9408 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9410 	CFLAGS="$xorg_testset_save_CFLAGS"
   9411 fi
   9412 
   9413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9416 	fi
   9417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9419 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9420 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9421   $as_echo_n "(cached) " >&6
   9422 else
   9423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9424 /* end confdefs.h.  */
   9425 int i;
   9426 _ACEOF
   9427 if ac_fn_c_try_compile "$LINENO"; then :
   9428   xorg_cv_cc_flag_unused_command_line_argument=yes
   9429 else
   9430   xorg_cv_cc_flag_unused_command_line_argument=no
   9431 fi
   9432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9433 fi
   9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9435 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9436 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9437 	CFLAGS="$xorg_testset_save_CFLAGS"
   9438 fi
   9439 
   9440 found="no"
   9441 
   9442 	if test $found = "no" ; then
   9443 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9444 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9445 		fi
   9446 
   9447 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9448 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9449 		fi
   9450 
   9451 		CFLAGS="$CFLAGS -Wreturn-type"
   9452 
   9453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9454 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9455 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9456 		if eval \${$cacheid+:} false; then :
   9457   $as_echo_n "(cached) " >&6
   9458 else
   9459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9460 /* end confdefs.h.  */
   9461 int i;
   9462 int
   9463 main ()
   9464 {
   9465 
   9466   ;
   9467   return 0;
   9468 }
   9469 _ACEOF
   9470 if ac_fn_c_try_link "$LINENO"; then :
   9471   eval $cacheid=yes
   9472 else
   9473   eval $cacheid=no
   9474 fi
   9475 rm -f core conftest.err conftest.$ac_objext \
   9476     conftest$ac_exeext conftest.$ac_ext
   9477 fi
   9478 
   9479 
   9480 		CFLAGS="$xorg_testset_save_CFLAGS"
   9481 
   9482 		eval supported=\$$cacheid
   9483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9484 $as_echo "$supported" >&6; }
   9485 		if test "$supported" = "yes" ; then
   9486 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9487 			found="yes"
   9488 		fi
   9489 	fi
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 xorg_testset_save_CFLAGS="$CFLAGS"
   9506 
   9507 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9508 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9509 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9510 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9511 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9512   $as_echo_n "(cached) " >&6
   9513 else
   9514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9515 /* end confdefs.h.  */
   9516 int i;
   9517 _ACEOF
   9518 if ac_fn_c_try_compile "$LINENO"; then :
   9519   xorg_cv_cc_flag_unknown_warning_option=yes
   9520 else
   9521   xorg_cv_cc_flag_unknown_warning_option=no
   9522 fi
   9523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9524 fi
   9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9526 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9527 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9528 	CFLAGS="$xorg_testset_save_CFLAGS"
   9529 fi
   9530 
   9531 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9532 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9533 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9534 	fi
   9535 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9536 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9537 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9538 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9539   $as_echo_n "(cached) " >&6
   9540 else
   9541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9542 /* end confdefs.h.  */
   9543 int i;
   9544 _ACEOF
   9545 if ac_fn_c_try_compile "$LINENO"; then :
   9546   xorg_cv_cc_flag_unused_command_line_argument=yes
   9547 else
   9548   xorg_cv_cc_flag_unused_command_line_argument=no
   9549 fi
   9550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9551 fi
   9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9553 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9554 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9555 	CFLAGS="$xorg_testset_save_CFLAGS"
   9556 fi
   9557 
   9558 found="no"
   9559 
   9560 	if test $found = "no" ; then
   9561 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9562 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9563 		fi
   9564 
   9565 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9566 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9567 		fi
   9568 
   9569 		CFLAGS="$CFLAGS -Wtrigraphs"
   9570 
   9571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9572 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9573 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9574 		if eval \${$cacheid+:} false; then :
   9575   $as_echo_n "(cached) " >&6
   9576 else
   9577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9578 /* end confdefs.h.  */
   9579 int i;
   9580 int
   9581 main ()
   9582 {
   9583 
   9584   ;
   9585   return 0;
   9586 }
   9587 _ACEOF
   9588 if ac_fn_c_try_link "$LINENO"; then :
   9589   eval $cacheid=yes
   9590 else
   9591   eval $cacheid=no
   9592 fi
   9593 rm -f core conftest.err conftest.$ac_objext \
   9594     conftest$ac_exeext conftest.$ac_ext
   9595 fi
   9596 
   9597 
   9598 		CFLAGS="$xorg_testset_save_CFLAGS"
   9599 
   9600 		eval supported=\$$cacheid
   9601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9602 $as_echo "$supported" >&6; }
   9603 		if test "$supported" = "yes" ; then
   9604 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9605 			found="yes"
   9606 		fi
   9607 	fi
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 xorg_testset_save_CFLAGS="$CFLAGS"
   9624 
   9625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9628 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9629 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9630   $as_echo_n "(cached) " >&6
   9631 else
   9632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9633 /* end confdefs.h.  */
   9634 int i;
   9635 _ACEOF
   9636 if ac_fn_c_try_compile "$LINENO"; then :
   9637   xorg_cv_cc_flag_unknown_warning_option=yes
   9638 else
   9639   xorg_cv_cc_flag_unknown_warning_option=no
   9640 fi
   9641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9642 fi
   9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9644 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9646 	CFLAGS="$xorg_testset_save_CFLAGS"
   9647 fi
   9648 
   9649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9652 	fi
   9653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9655 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9656 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9657   $as_echo_n "(cached) " >&6
   9658 else
   9659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9660 /* end confdefs.h.  */
   9661 int i;
   9662 _ACEOF
   9663 if ac_fn_c_try_compile "$LINENO"; then :
   9664   xorg_cv_cc_flag_unused_command_line_argument=yes
   9665 else
   9666   xorg_cv_cc_flag_unused_command_line_argument=no
   9667 fi
   9668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9669 fi
   9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9671 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9672 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9673 	CFLAGS="$xorg_testset_save_CFLAGS"
   9674 fi
   9675 
   9676 found="no"
   9677 
   9678 	if test $found = "no" ; then
   9679 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9680 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9681 		fi
   9682 
   9683 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9684 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9685 		fi
   9686 
   9687 		CFLAGS="$CFLAGS -Warray-bounds"
   9688 
   9689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9690 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9691 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9692 		if eval \${$cacheid+:} false; then :
   9693   $as_echo_n "(cached) " >&6
   9694 else
   9695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9696 /* end confdefs.h.  */
   9697 int i;
   9698 int
   9699 main ()
   9700 {
   9701 
   9702   ;
   9703   return 0;
   9704 }
   9705 _ACEOF
   9706 if ac_fn_c_try_link "$LINENO"; then :
   9707   eval $cacheid=yes
   9708 else
   9709   eval $cacheid=no
   9710 fi
   9711 rm -f core conftest.err conftest.$ac_objext \
   9712     conftest$ac_exeext conftest.$ac_ext
   9713 fi
   9714 
   9715 
   9716 		CFLAGS="$xorg_testset_save_CFLAGS"
   9717 
   9718 		eval supported=\$$cacheid
   9719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9720 $as_echo "$supported" >&6; }
   9721 		if test "$supported" = "yes" ; then
   9722 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9723 			found="yes"
   9724 		fi
   9725 	fi
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 xorg_testset_save_CFLAGS="$CFLAGS"
   9742 
   9743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9746 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9747 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9748   $as_echo_n "(cached) " >&6
   9749 else
   9750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9751 /* end confdefs.h.  */
   9752 int i;
   9753 _ACEOF
   9754 if ac_fn_c_try_compile "$LINENO"; then :
   9755   xorg_cv_cc_flag_unknown_warning_option=yes
   9756 else
   9757   xorg_cv_cc_flag_unknown_warning_option=no
   9758 fi
   9759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9760 fi
   9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9762 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9763 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9764 	CFLAGS="$xorg_testset_save_CFLAGS"
   9765 fi
   9766 
   9767 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9768 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9769 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9770 	fi
   9771 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9773 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9774 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9775   $as_echo_n "(cached) " >&6
   9776 else
   9777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9778 /* end confdefs.h.  */
   9779 int i;
   9780 _ACEOF
   9781 if ac_fn_c_try_compile "$LINENO"; then :
   9782   xorg_cv_cc_flag_unused_command_line_argument=yes
   9783 else
   9784   xorg_cv_cc_flag_unused_command_line_argument=no
   9785 fi
   9786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9787 fi
   9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9789 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9791 	CFLAGS="$xorg_testset_save_CFLAGS"
   9792 fi
   9793 
   9794 found="no"
   9795 
   9796 	if test $found = "no" ; then
   9797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9799 		fi
   9800 
   9801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9803 		fi
   9804 
   9805 		CFLAGS="$CFLAGS -Wwrite-strings"
   9806 
   9807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9808 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9809 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9810 		if eval \${$cacheid+:} false; then :
   9811   $as_echo_n "(cached) " >&6
   9812 else
   9813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9814 /* end confdefs.h.  */
   9815 int i;
   9816 int
   9817 main ()
   9818 {
   9819 
   9820   ;
   9821   return 0;
   9822 }
   9823 _ACEOF
   9824 if ac_fn_c_try_link "$LINENO"; then :
   9825   eval $cacheid=yes
   9826 else
   9827   eval $cacheid=no
   9828 fi
   9829 rm -f core conftest.err conftest.$ac_objext \
   9830     conftest$ac_exeext conftest.$ac_ext
   9831 fi
   9832 
   9833 
   9834 		CFLAGS="$xorg_testset_save_CFLAGS"
   9835 
   9836 		eval supported=\$$cacheid
   9837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9838 $as_echo "$supported" >&6; }
   9839 		if test "$supported" = "yes" ; then
   9840 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9841 			found="yes"
   9842 		fi
   9843 	fi
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 xorg_testset_save_CFLAGS="$CFLAGS"
   9860 
   9861 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9862 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9864 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9865 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9866   $as_echo_n "(cached) " >&6
   9867 else
   9868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9869 /* end confdefs.h.  */
   9870 int i;
   9871 _ACEOF
   9872 if ac_fn_c_try_compile "$LINENO"; then :
   9873   xorg_cv_cc_flag_unknown_warning_option=yes
   9874 else
   9875   xorg_cv_cc_flag_unknown_warning_option=no
   9876 fi
   9877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9878 fi
   9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9880 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9882 	CFLAGS="$xorg_testset_save_CFLAGS"
   9883 fi
   9884 
   9885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9888 	fi
   9889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9891 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9892 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9893   $as_echo_n "(cached) " >&6
   9894 else
   9895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9896 /* end confdefs.h.  */
   9897 int i;
   9898 _ACEOF
   9899 if ac_fn_c_try_compile "$LINENO"; then :
   9900   xorg_cv_cc_flag_unused_command_line_argument=yes
   9901 else
   9902   xorg_cv_cc_flag_unused_command_line_argument=no
   9903 fi
   9904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9905 fi
   9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9907 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9908 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9909 	CFLAGS="$xorg_testset_save_CFLAGS"
   9910 fi
   9911 
   9912 found="no"
   9913 
   9914 	if test $found = "no" ; then
   9915 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9916 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9917 		fi
   9918 
   9919 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9920 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9921 		fi
   9922 
   9923 		CFLAGS="$CFLAGS -Waddress"
   9924 
   9925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9926 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9927 		cacheid=xorg_cv_cc_flag__Waddress
   9928 		if eval \${$cacheid+:} false; then :
   9929   $as_echo_n "(cached) " >&6
   9930 else
   9931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9932 /* end confdefs.h.  */
   9933 int i;
   9934 int
   9935 main ()
   9936 {
   9937 
   9938   ;
   9939   return 0;
   9940 }
   9941 _ACEOF
   9942 if ac_fn_c_try_link "$LINENO"; then :
   9943   eval $cacheid=yes
   9944 else
   9945   eval $cacheid=no
   9946 fi
   9947 rm -f core conftest.err conftest.$ac_objext \
   9948     conftest$ac_exeext conftest.$ac_ext
   9949 fi
   9950 
   9951 
   9952 		CFLAGS="$xorg_testset_save_CFLAGS"
   9953 
   9954 		eval supported=\$$cacheid
   9955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9956 $as_echo "$supported" >&6; }
   9957 		if test "$supported" = "yes" ; then
   9958 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9959 			found="yes"
   9960 		fi
   9961 	fi
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 xorg_testset_save_CFLAGS="$CFLAGS"
   9978 
   9979 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9980 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9982 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9983 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9984   $as_echo_n "(cached) " >&6
   9985 else
   9986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9987 /* end confdefs.h.  */
   9988 int i;
   9989 _ACEOF
   9990 if ac_fn_c_try_compile "$LINENO"; then :
   9991   xorg_cv_cc_flag_unknown_warning_option=yes
   9992 else
   9993   xorg_cv_cc_flag_unknown_warning_option=no
   9994 fi
   9995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9996 fi
   9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9998 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10000 	CFLAGS="$xorg_testset_save_CFLAGS"
   10001 fi
   10002 
   10003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10006 	fi
   10007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10009 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10010 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10011   $as_echo_n "(cached) " >&6
   10012 else
   10013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10014 /* end confdefs.h.  */
   10015 int i;
   10016 _ACEOF
   10017 if ac_fn_c_try_compile "$LINENO"; then :
   10018   xorg_cv_cc_flag_unused_command_line_argument=yes
   10019 else
   10020   xorg_cv_cc_flag_unused_command_line_argument=no
   10021 fi
   10022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10023 fi
   10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10025 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10026 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10027 	CFLAGS="$xorg_testset_save_CFLAGS"
   10028 fi
   10029 
   10030 found="no"
   10031 
   10032 	if test $found = "no" ; then
   10033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10035 		fi
   10036 
   10037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10039 		fi
   10040 
   10041 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10042 
   10043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10044 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10045 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10046 		if eval \${$cacheid+:} false; then :
   10047   $as_echo_n "(cached) " >&6
   10048 else
   10049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10050 /* end confdefs.h.  */
   10051 int i;
   10052 int
   10053 main ()
   10054 {
   10055 
   10056   ;
   10057   return 0;
   10058 }
   10059 _ACEOF
   10060 if ac_fn_c_try_link "$LINENO"; then :
   10061   eval $cacheid=yes
   10062 else
   10063   eval $cacheid=no
   10064 fi
   10065 rm -f core conftest.err conftest.$ac_objext \
   10066     conftest$ac_exeext conftest.$ac_ext
   10067 fi
   10068 
   10069 
   10070 		CFLAGS="$xorg_testset_save_CFLAGS"
   10071 
   10072 		eval supported=\$$cacheid
   10073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10074 $as_echo "$supported" >&6; }
   10075 		if test "$supported" = "yes" ; then
   10076 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10077 			found="yes"
   10078 		fi
   10079 	fi
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 xorg_testset_save_CFLAGS="$CFLAGS"
   10096 
   10097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10100 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10101 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10102   $as_echo_n "(cached) " >&6
   10103 else
   10104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10105 /* end confdefs.h.  */
   10106 int i;
   10107 _ACEOF
   10108 if ac_fn_c_try_compile "$LINENO"; then :
   10109   xorg_cv_cc_flag_unknown_warning_option=yes
   10110 else
   10111   xorg_cv_cc_flag_unknown_warning_option=no
   10112 fi
   10113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10114 fi
   10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10116 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10118 	CFLAGS="$xorg_testset_save_CFLAGS"
   10119 fi
   10120 
   10121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10124 	fi
   10125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10127 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10128 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10129   $as_echo_n "(cached) " >&6
   10130 else
   10131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10132 /* end confdefs.h.  */
   10133 int i;
   10134 _ACEOF
   10135 if ac_fn_c_try_compile "$LINENO"; then :
   10136   xorg_cv_cc_flag_unused_command_line_argument=yes
   10137 else
   10138   xorg_cv_cc_flag_unused_command_line_argument=no
   10139 fi
   10140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10141 fi
   10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10143 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10145 	CFLAGS="$xorg_testset_save_CFLAGS"
   10146 fi
   10147 
   10148 found="no"
   10149 
   10150 	if test $found = "no" ; then
   10151 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10153 		fi
   10154 
   10155 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10157 		fi
   10158 
   10159 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10160 
   10161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10162 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10163 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10164 		if eval \${$cacheid+:} false; then :
   10165   $as_echo_n "(cached) " >&6
   10166 else
   10167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10168 /* end confdefs.h.  */
   10169 int i;
   10170 int
   10171 main ()
   10172 {
   10173 
   10174   ;
   10175   return 0;
   10176 }
   10177 _ACEOF
   10178 if ac_fn_c_try_link "$LINENO"; then :
   10179   eval $cacheid=yes
   10180 else
   10181   eval $cacheid=no
   10182 fi
   10183 rm -f core conftest.err conftest.$ac_objext \
   10184     conftest$ac_exeext conftest.$ac_ext
   10185 fi
   10186 
   10187 
   10188 		CFLAGS="$xorg_testset_save_CFLAGS"
   10189 
   10190 		eval supported=\$$cacheid
   10191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10192 $as_echo "$supported" >&6; }
   10193 		if test "$supported" = "yes" ; then
   10194 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10195 			found="yes"
   10196 		fi
   10197 	fi
   10198 
   10199 
   10200 fi
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 		CWARNFLAGS="$BASE_CFLAGS"
   10209 		if  test "x$GCC" = xyes ; then
   10210 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10211 		fi
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 # Check whether --enable-strict-compilation was given.
   10221 if test "${enable_strict_compilation+set}" = set; then :
   10222   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10223 else
   10224   STRICT_COMPILE=no
   10225 fi
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 STRICT_CFLAGS=""
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 xorg_testset_save_CFLAGS="$CFLAGS"
   10247 
   10248 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10249 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10251 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10252 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10253   $as_echo_n "(cached) " >&6
   10254 else
   10255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10256 /* end confdefs.h.  */
   10257 int i;
   10258 _ACEOF
   10259 if ac_fn_c_try_compile "$LINENO"; then :
   10260   xorg_cv_cc_flag_unknown_warning_option=yes
   10261 else
   10262   xorg_cv_cc_flag_unknown_warning_option=no
   10263 fi
   10264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10265 fi
   10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10267 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10269 	CFLAGS="$xorg_testset_save_CFLAGS"
   10270 fi
   10271 
   10272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10275 	fi
   10276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10278 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10279 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10280   $as_echo_n "(cached) " >&6
   10281 else
   10282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10283 /* end confdefs.h.  */
   10284 int i;
   10285 _ACEOF
   10286 if ac_fn_c_try_compile "$LINENO"; then :
   10287   xorg_cv_cc_flag_unused_command_line_argument=yes
   10288 else
   10289   xorg_cv_cc_flag_unused_command_line_argument=no
   10290 fi
   10291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10292 fi
   10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10294 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10295 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10296 	CFLAGS="$xorg_testset_save_CFLAGS"
   10297 fi
   10298 
   10299 found="no"
   10300 
   10301 	if test $found = "no" ; then
   10302 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10304 		fi
   10305 
   10306 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10308 		fi
   10309 
   10310 		CFLAGS="$CFLAGS -pedantic"
   10311 
   10312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10313 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10314 		cacheid=xorg_cv_cc_flag__pedantic
   10315 		if eval \${$cacheid+:} false; then :
   10316   $as_echo_n "(cached) " >&6
   10317 else
   10318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10319 /* end confdefs.h.  */
   10320 int i;
   10321 int
   10322 main ()
   10323 {
   10324 
   10325   ;
   10326   return 0;
   10327 }
   10328 _ACEOF
   10329 if ac_fn_c_try_link "$LINENO"; then :
   10330   eval $cacheid=yes
   10331 else
   10332   eval $cacheid=no
   10333 fi
   10334 rm -f core conftest.err conftest.$ac_objext \
   10335     conftest$ac_exeext conftest.$ac_ext
   10336 fi
   10337 
   10338 
   10339 		CFLAGS="$xorg_testset_save_CFLAGS"
   10340 
   10341 		eval supported=\$$cacheid
   10342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10343 $as_echo "$supported" >&6; }
   10344 		if test "$supported" = "yes" ; then
   10345 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10346 			found="yes"
   10347 		fi
   10348 	fi
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 xorg_testset_save_CFLAGS="$CFLAGS"
   10365 
   10366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10369 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10370 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10371   $as_echo_n "(cached) " >&6
   10372 else
   10373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10374 /* end confdefs.h.  */
   10375 int i;
   10376 _ACEOF
   10377 if ac_fn_c_try_compile "$LINENO"; then :
   10378   xorg_cv_cc_flag_unknown_warning_option=yes
   10379 else
   10380   xorg_cv_cc_flag_unknown_warning_option=no
   10381 fi
   10382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10383 fi
   10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10385 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10387 	CFLAGS="$xorg_testset_save_CFLAGS"
   10388 fi
   10389 
   10390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10393 	fi
   10394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10396 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10397 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10398   $as_echo_n "(cached) " >&6
   10399 else
   10400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10401 /* end confdefs.h.  */
   10402 int i;
   10403 _ACEOF
   10404 if ac_fn_c_try_compile "$LINENO"; then :
   10405   xorg_cv_cc_flag_unused_command_line_argument=yes
   10406 else
   10407   xorg_cv_cc_flag_unused_command_line_argument=no
   10408 fi
   10409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10410 fi
   10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10412 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10413 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10414 	CFLAGS="$xorg_testset_save_CFLAGS"
   10415 fi
   10416 
   10417 found="no"
   10418 
   10419 	if test $found = "no" ; then
   10420 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10422 		fi
   10423 
   10424 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10426 		fi
   10427 
   10428 		CFLAGS="$CFLAGS -Werror"
   10429 
   10430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10431 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10432 		cacheid=xorg_cv_cc_flag__Werror
   10433 		if eval \${$cacheid+:} false; then :
   10434   $as_echo_n "(cached) " >&6
   10435 else
   10436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10437 /* end confdefs.h.  */
   10438 int i;
   10439 int
   10440 main ()
   10441 {
   10442 
   10443   ;
   10444   return 0;
   10445 }
   10446 _ACEOF
   10447 if ac_fn_c_try_link "$LINENO"; then :
   10448   eval $cacheid=yes
   10449 else
   10450   eval $cacheid=no
   10451 fi
   10452 rm -f core conftest.err conftest.$ac_objext \
   10453     conftest$ac_exeext conftest.$ac_ext
   10454 fi
   10455 
   10456 
   10457 		CFLAGS="$xorg_testset_save_CFLAGS"
   10458 
   10459 		eval supported=\$$cacheid
   10460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10461 $as_echo "$supported" >&6; }
   10462 		if test "$supported" = "yes" ; then
   10463 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10464 			found="yes"
   10465 		fi
   10466 	fi
   10467 
   10468 	if test $found = "no" ; then
   10469 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10471 		fi
   10472 
   10473 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10475 		fi
   10476 
   10477 		CFLAGS="$CFLAGS -errwarn"
   10478 
   10479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10480 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10481 		cacheid=xorg_cv_cc_flag__errwarn
   10482 		if eval \${$cacheid+:} false; then :
   10483   $as_echo_n "(cached) " >&6
   10484 else
   10485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10486 /* end confdefs.h.  */
   10487 int i;
   10488 int
   10489 main ()
   10490 {
   10491 
   10492   ;
   10493   return 0;
   10494 }
   10495 _ACEOF
   10496 if ac_fn_c_try_link "$LINENO"; then :
   10497   eval $cacheid=yes
   10498 else
   10499   eval $cacheid=no
   10500 fi
   10501 rm -f core conftest.err conftest.$ac_objext \
   10502     conftest$ac_exeext conftest.$ac_ext
   10503 fi
   10504 
   10505 
   10506 		CFLAGS="$xorg_testset_save_CFLAGS"
   10507 
   10508 		eval supported=\$$cacheid
   10509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10510 $as_echo "$supported" >&6; }
   10511 		if test "$supported" = "yes" ; then
   10512 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10513 			found="yes"
   10514 		fi
   10515 	fi
   10516 
   10517 
   10518 
   10519 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10520 # activate it with -Werror, so we add it here explicitly.
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 xorg_testset_save_CFLAGS="$CFLAGS"
   10535 
   10536 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10537 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10538 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10539 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10540 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10541   $as_echo_n "(cached) " >&6
   10542 else
   10543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10544 /* end confdefs.h.  */
   10545 int i;
   10546 _ACEOF
   10547 if ac_fn_c_try_compile "$LINENO"; then :
   10548   xorg_cv_cc_flag_unknown_warning_option=yes
   10549 else
   10550   xorg_cv_cc_flag_unknown_warning_option=no
   10551 fi
   10552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10553 fi
   10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10555 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10556 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10557 	CFLAGS="$xorg_testset_save_CFLAGS"
   10558 fi
   10559 
   10560 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10561 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10562 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10563 	fi
   10564 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10565 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10566 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10567 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10568   $as_echo_n "(cached) " >&6
   10569 else
   10570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10571 /* end confdefs.h.  */
   10572 int i;
   10573 _ACEOF
   10574 if ac_fn_c_try_compile "$LINENO"; then :
   10575   xorg_cv_cc_flag_unused_command_line_argument=yes
   10576 else
   10577   xorg_cv_cc_flag_unused_command_line_argument=no
   10578 fi
   10579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10580 fi
   10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10582 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10583 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10584 	CFLAGS="$xorg_testset_save_CFLAGS"
   10585 fi
   10586 
   10587 found="no"
   10588 
   10589 	if test $found = "no" ; then
   10590 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10591 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10592 		fi
   10593 
   10594 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10595 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10596 		fi
   10597 
   10598 		CFLAGS="$CFLAGS -Werror=attributes"
   10599 
   10600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10601 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10602 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10603 		if eval \${$cacheid+:} false; then :
   10604   $as_echo_n "(cached) " >&6
   10605 else
   10606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10607 /* end confdefs.h.  */
   10608 int i;
   10609 int
   10610 main ()
   10611 {
   10612 
   10613   ;
   10614   return 0;
   10615 }
   10616 _ACEOF
   10617 if ac_fn_c_try_link "$LINENO"; then :
   10618   eval $cacheid=yes
   10619 else
   10620   eval $cacheid=no
   10621 fi
   10622 rm -f core conftest.err conftest.$ac_objext \
   10623     conftest$ac_exeext conftest.$ac_ext
   10624 fi
   10625 
   10626 
   10627 		CFLAGS="$xorg_testset_save_CFLAGS"
   10628 
   10629 		eval supported=\$$cacheid
   10630 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10631 $as_echo "$supported" >&6; }
   10632 		if test "$supported" = "yes" ; then
   10633 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10634 			found="yes"
   10635 		fi
   10636 	fi
   10637 
   10638 
   10639 
   10640 if test "x$STRICT_COMPILE" = "xyes"; then
   10641     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10642     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10643 fi
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 cat >>confdefs.h <<_ACEOF
   10651 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10652 _ACEOF
   10653 
   10654 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10655 	if test "x$PVM" = "x"; then
   10656 		PVM="0"
   10657 	fi
   10658 
   10659 cat >>confdefs.h <<_ACEOF
   10660 #define PACKAGE_VERSION_MINOR $PVM
   10661 _ACEOF
   10662 
   10663 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10664 	if test "x$PVP" = "x"; then
   10665 		PVP="0"
   10666 	fi
   10667 
   10668 cat >>confdefs.h <<_ACEOF
   10669 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10670 _ACEOF
   10671 
   10672 
   10673 
   10674 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10675 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10676 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10677 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10678 
   10679 
   10680 
   10681 
   10682 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10683 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10684 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10685 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10686 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 if test x$APP_MAN_SUFFIX = x    ; then
   10694     APP_MAN_SUFFIX=1
   10695 fi
   10696 if test x$APP_MAN_DIR = x    ; then
   10697     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10698 fi
   10699 
   10700 if test x$LIB_MAN_SUFFIX = x    ; then
   10701     LIB_MAN_SUFFIX=3
   10702 fi
   10703 if test x$LIB_MAN_DIR = x    ; then
   10704     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10705 fi
   10706 
   10707 if test x$FILE_MAN_SUFFIX = x    ; then
   10708     case $host_os in
   10709 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10710 	*)		FILE_MAN_SUFFIX=5  ;;
   10711     esac
   10712 fi
   10713 if test x$FILE_MAN_DIR = x    ; then
   10714     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10715 fi
   10716 
   10717 if test x$MISC_MAN_SUFFIX = x    ; then
   10718     case $host_os in
   10719 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10720 	*)		MISC_MAN_SUFFIX=7  ;;
   10721     esac
   10722 fi
   10723 if test x$MISC_MAN_DIR = x    ; then
   10724     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10725 fi
   10726 
   10727 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10728     case $host_os in
   10729 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10730 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10731     esac
   10732 fi
   10733 if test x$DRIVER_MAN_DIR = x    ; then
   10734     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10735 fi
   10736 
   10737 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10738     case $host_os in
   10739 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10740 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10741     esac
   10742 fi
   10743 if test x$ADMIN_MAN_DIR = x    ; then
   10744     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10745 fi
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 XORG_MAN_PAGE="X Version 11"
   10762 
   10763 MAN_SUBSTS="\
   10764 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10765 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10766 	-e 's|__xservername__|Xorg|g' \
   10767 	-e 's|__xconfigfile__|xorg.conf|g' \
   10768 	-e 's|__projectroot__|\$(prefix)|g' \
   10769 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10770 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10771 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10772 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10773 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10774 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10775 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10776 
   10777 
   10778 
   10779 # Check whether --enable-silent-rules was given.
   10780 if test "${enable_silent_rules+set}" = set; then :
   10781   enableval=$enable_silent_rules;
   10782 fi
   10783 
   10784 case $enable_silent_rules in # (((
   10785   yes) AM_DEFAULT_VERBOSITY=0;;
   10786    no) AM_DEFAULT_VERBOSITY=1;;
   10787     *) AM_DEFAULT_VERBOSITY=0;;
   10788 esac
   10789 am_make=${MAKE-make}
   10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10791 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10792 if ${am_cv_make_support_nested_variables+:} false; then :
   10793   $as_echo_n "(cached) " >&6
   10794 else
   10795   if $as_echo 'TRUE=$(BAR$(V))
   10796 BAR0=false
   10797 BAR1=true
   10798 V=1
   10799 am__doit:
   10800 	@$(TRUE)
   10801 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10802   am_cv_make_support_nested_variables=yes
   10803 else
   10804   am_cv_make_support_nested_variables=no
   10805 fi
   10806 fi
   10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10808 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10809 if test $am_cv_make_support_nested_variables = yes; then
   10810     AM_V='$(V)'
   10811   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10812 else
   10813   AM_V=$AM_DEFAULT_VERBOSITY
   10814   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10815 fi
   10816 AM_BACKSLASH='\'
   10817 
   10818 
   10819 
   10820 for ac_prog in 'bison -y' byacc
   10821 do
   10822   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10823 set dummy $ac_prog; ac_word=$2
   10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10825 $as_echo_n "checking for $ac_word... " >&6; }
   10826 if ${ac_cv_prog_YACC+:} false; then :
   10827   $as_echo_n "(cached) " >&6
   10828 else
   10829   if test -n "$YACC"; then
   10830   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   10831 else
   10832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10833 for as_dir in $PATH
   10834 do
   10835   IFS=$as_save_IFS
   10836   test -z "$as_dir" && as_dir=.
   10837     for ac_exec_ext in '' $ac_executable_extensions; do
   10838   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10839     ac_cv_prog_YACC="$ac_prog"
   10840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10841     break 2
   10842   fi
   10843 done
   10844   done
   10845 IFS=$as_save_IFS
   10846 
   10847 fi
   10848 fi
   10849 YACC=$ac_cv_prog_YACC
   10850 if test -n "$YACC"; then
   10851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   10852 $as_echo "$YACC" >&6; }
   10853 else
   10854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10855 $as_echo "no" >&6; }
   10856 fi
   10857 
   10858 
   10859   test -n "$YACC" && break
   10860 done
   10861 test -n "$YACC" || YACC="yacc"
   10862 
   10863 # Extract the first word of "$YACC", so it can be a program name with args.
   10864 set dummy $YACC; ac_word=$2
   10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10866 $as_echo_n "checking for $ac_word... " >&6; }
   10867 if ${ac_cv_path_YACC_INST+:} false; then :
   10868   $as_echo_n "(cached) " >&6
   10869 else
   10870   case $YACC_INST in
   10871   [\\/]* | ?:[\\/]*)
   10872   ac_cv_path_YACC_INST="$YACC_INST" # Let the user override the test with a path.
   10873   ;;
   10874   *)
   10875   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10876 for as_dir in $PATH
   10877 do
   10878   IFS=$as_save_IFS
   10879   test -z "$as_dir" && as_dir=.
   10880     for ac_exec_ext in '' $ac_executable_extensions; do
   10881   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10882     ac_cv_path_YACC_INST="$as_dir/$ac_word$ac_exec_ext"
   10883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10884     break 2
   10885   fi
   10886 done
   10887   done
   10888 IFS=$as_save_IFS
   10889 
   10890   ;;
   10891 esac
   10892 fi
   10893 YACC_INST=$ac_cv_path_YACC_INST
   10894 if test -n "$YACC_INST"; then
   10895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC_INST" >&5
   10896 $as_echo "$YACC_INST" >&6; }
   10897 else
   10898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10899 $as_echo "no" >&6; }
   10900 fi
   10901 
   10902 
   10903 if test ! -f "$srcdir/gram.c"; then
   10904    if test -z "$YACC_INST"; then
   10905       as_fn_error $? "yacc not found - unable to compile gram.y" "$LINENO" 5
   10906    fi
   10907 fi
   10908 for ac_prog in flex lex
   10909 do
   10910   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10911 set dummy $ac_prog; ac_word=$2
   10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10913 $as_echo_n "checking for $ac_word... " >&6; }
   10914 if ${ac_cv_prog_LEX+:} false; then :
   10915   $as_echo_n "(cached) " >&6
   10916 else
   10917   if test -n "$LEX"; then
   10918   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   10919 else
   10920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10921 for as_dir in $PATH
   10922 do
   10923   IFS=$as_save_IFS
   10924   test -z "$as_dir" && as_dir=.
   10925     for ac_exec_ext in '' $ac_executable_extensions; do
   10926   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10927     ac_cv_prog_LEX="$ac_prog"
   10928     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10929     break 2
   10930   fi
   10931 done
   10932   done
   10933 IFS=$as_save_IFS
   10934 
   10935 fi
   10936 fi
   10937 LEX=$ac_cv_prog_LEX
   10938 if test -n "$LEX"; then
   10939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   10940 $as_echo "$LEX" >&6; }
   10941 else
   10942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10943 $as_echo "no" >&6; }
   10944 fi
   10945 
   10946 
   10947   test -n "$LEX" && break
   10948 done
   10949 test -n "$LEX" || LEX=":"
   10950 
   10951 if test "x$LEX" != "x:"; then
   10952   cat >conftest.l <<_ACEOF
   10953 %%
   10954 a { ECHO; }
   10955 b { REJECT; }
   10956 c { yymore (); }
   10957 d { yyless (1); }
   10958 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
   10959     yyless ((input () != 0)); }
   10960 f { unput (yytext[0]); }
   10961 . { BEGIN INITIAL; }
   10962 %%
   10963 #ifdef YYTEXT_POINTER
   10964 extern char *yytext;
   10965 #endif
   10966 int
   10967 main (void)
   10968 {
   10969   return ! yylex () + ! yywrap ();
   10970 }
   10971 _ACEOF
   10972 { { ac_try="$LEX conftest.l"
   10973 case "(($ac_try" in
   10974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10975   *) ac_try_echo=$ac_try;;
   10976 esac
   10977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10978 $as_echo "$ac_try_echo"; } >&5
   10979   (eval "$LEX conftest.l") 2>&5
   10980   ac_status=$?
   10981   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10982   test $ac_status = 0; }
   10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
   10984 $as_echo_n "checking lex output file root... " >&6; }
   10985 if ${ac_cv_prog_lex_root+:} false; then :
   10986   $as_echo_n "(cached) " >&6
   10987 else
   10988 
   10989 if test -f lex.yy.c; then
   10990   ac_cv_prog_lex_root=lex.yy
   10991 elif test -f lexyy.c; then
   10992   ac_cv_prog_lex_root=lexyy
   10993 else
   10994   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
   10995 fi
   10996 fi
   10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
   10998 $as_echo "$ac_cv_prog_lex_root" >&6; }
   10999 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
   11000 
   11001 if test -z "${LEXLIB+set}"; then
   11002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
   11003 $as_echo_n "checking lex library... " >&6; }
   11004 if ${ac_cv_lib_lex+:} false; then :
   11005   $as_echo_n "(cached) " >&6
   11006 else
   11007 
   11008     ac_save_LIBS=$LIBS
   11009     ac_cv_lib_lex='none needed'
   11010     for ac_lib in '' -lfl -ll; do
   11011       LIBS="$ac_lib $ac_save_LIBS"
   11012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11013 /* end confdefs.h.  */
   11014 `cat $LEX_OUTPUT_ROOT.c`
   11015 _ACEOF
   11016 if ac_fn_c_try_link "$LINENO"; then :
   11017   ac_cv_lib_lex=$ac_lib
   11018 fi
   11019 rm -f core conftest.err conftest.$ac_objext \
   11020     conftest$ac_exeext conftest.$ac_ext
   11021       test "$ac_cv_lib_lex" != 'none needed' && break
   11022     done
   11023     LIBS=$ac_save_LIBS
   11024 
   11025 fi
   11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
   11027 $as_echo "$ac_cv_lib_lex" >&6; }
   11028   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
   11029 fi
   11030 
   11031 
   11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
   11033 $as_echo_n "checking whether yytext is a pointer... " >&6; }
   11034 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
   11035   $as_echo_n "(cached) " >&6
   11036 else
   11037   # POSIX says lex can declare yytext either as a pointer or an array; the
   11038 # default is implementation-dependent.  Figure out which it is, since
   11039 # not all implementations provide the %pointer and %array declarations.
   11040 ac_cv_prog_lex_yytext_pointer=no
   11041 ac_save_LIBS=$LIBS
   11042 LIBS="$LEXLIB $ac_save_LIBS"
   11043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11044 /* end confdefs.h.  */
   11045 
   11046   #define YYTEXT_POINTER 1
   11047 `cat $LEX_OUTPUT_ROOT.c`
   11048 _ACEOF
   11049 if ac_fn_c_try_link "$LINENO"; then :
   11050   ac_cv_prog_lex_yytext_pointer=yes
   11051 fi
   11052 rm -f core conftest.err conftest.$ac_objext \
   11053     conftest$ac_exeext conftest.$ac_ext
   11054 LIBS=$ac_save_LIBS
   11055 
   11056 fi
   11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
   11058 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
   11059 if test $ac_cv_prog_lex_yytext_pointer = yes; then
   11060 
   11061 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
   11062 
   11063 fi
   11064 rm -f conftest.l $LEX_OUTPUT_ROOT.c
   11065 
   11066 fi
   11067 
   11068 for ac_func in mkstemp
   11069 do :
   11070   ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   11071 if test "x$ac_cv_func_mkstemp" = xyes; then :
   11072   cat >>confdefs.h <<_ACEOF
   11073 #define HAVE_MKSTEMP 1
   11074 _ACEOF
   11075 
   11076 fi
   11077 done
   11078 
   11079 
   11080 # Checks for pkg-config packages
   11081 
   11082 pkg_failed=no
   11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TWM" >&5
   11084 $as_echo_n "checking for TWM... " >&6; }
   11085 
   11086 if test -n "$TWM_CFLAGS"; then
   11087     pkg_cv_TWM_CFLAGS="$TWM_CFLAGS"
   11088  elif test -n "$PKG_CONFIG"; then
   11089     if test -n "$PKG_CONFIG" && \
   11090     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xt xmu ice sm xproto >= 7.0.17\""; } >&5
   11091   ($PKG_CONFIG --exists --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17") 2>&5
   11092   ac_status=$?
   11093   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11094   test $ac_status = 0; }; then
   11095   pkg_cv_TWM_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>/dev/null`
   11096 else
   11097   pkg_failed=yes
   11098 fi
   11099  else
   11100     pkg_failed=untried
   11101 fi
   11102 if test -n "$TWM_LIBS"; then
   11103     pkg_cv_TWM_LIBS="$TWM_LIBS"
   11104  elif test -n "$PKG_CONFIG"; then
   11105     if test -n "$PKG_CONFIG" && \
   11106     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xt xmu ice sm xproto >= 7.0.17\""; } >&5
   11107   ($PKG_CONFIG --exists --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17") 2>&5
   11108   ac_status=$?
   11109   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11110   test $ac_status = 0; }; then
   11111   pkg_cv_TWM_LIBS=`$PKG_CONFIG --libs "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>/dev/null`
   11112 else
   11113   pkg_failed=yes
   11114 fi
   11115  else
   11116     pkg_failed=untried
   11117 fi
   11118 
   11119 
   11120 
   11121 if test $pkg_failed = yes; then
   11122 
   11123 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11124         _pkg_short_errors_supported=yes
   11125 else
   11126         _pkg_short_errors_supported=no
   11127 fi
   11128         if test $_pkg_short_errors_supported = yes; then
   11129 	        TWM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>&1`
   11130         else
   11131 	        TWM_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>&1`
   11132         fi
   11133 	# Put the nasty error message in config.log where it belongs
   11134 	echo "$TWM_PKG_ERRORS" >&5
   11135 
   11136 	as_fn_error $? "Package requirements (x11 xext xt xmu ice sm xproto >= 7.0.17) were not met:
   11137 
   11138 $TWM_PKG_ERRORS
   11139 
   11140 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11141 installed software in a non-standard prefix.
   11142 
   11143 Alternatively, you may set the environment variables TWM_CFLAGS
   11144 and TWM_LIBS to avoid the need to call pkg-config.
   11145 See the pkg-config man page for more details.
   11146 " "$LINENO" 5
   11147 elif test $pkg_failed = untried; then
   11148 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11150 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11151 is in your PATH or set the PKG_CONFIG environment variable to the full
   11152 path to pkg-config.
   11153 
   11154 Alternatively, you may set the environment variables TWM_CFLAGS
   11155 and TWM_LIBS to avoid the need to call pkg-config.
   11156 See the pkg-config man page for more details.
   11157 
   11158 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11159 See \`config.log' for more details" "$LINENO" 5; }
   11160 else
   11161 	TWM_CFLAGS=$pkg_cv_TWM_CFLAGS
   11162 	TWM_LIBS=$pkg_cv_TWM_LIBS
   11163         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11164 $as_echo "yes" >&6; }
   11165 	:
   11166 fi
   11167 
   11168 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   11169 
   11170 cat >confcache <<\_ACEOF
   11171 # This file is a shell script that caches the results of configure
   11172 # tests run on this system so they can be shared between configure
   11173 # scripts and configure runs, see configure's option --config-cache.
   11174 # It is not useful on other systems.  If it contains results you don't
   11175 # want to keep, you may remove or edit it.
   11176 #
   11177 # config.status only pays attention to the cache file if you give it
   11178 # the --recheck option to rerun configure.
   11179 #
   11180 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11181 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11182 # following values.
   11183 
   11184 _ACEOF
   11185 
   11186 # The following way of writing the cache mishandles newlines in values,
   11187 # but we know of no workaround that is simple, portable, and efficient.
   11188 # So, we kill variables containing newlines.
   11189 # Ultrix sh set writes to stderr and can't be redirected directly,
   11190 # and sets the high bit in the cache file unless we assign to the vars.
   11191 (
   11192   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11193     eval ac_val=\$$ac_var
   11194     case $ac_val in #(
   11195     *${as_nl}*)
   11196       case $ac_var in #(
   11197       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11198 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11199       esac
   11200       case $ac_var in #(
   11201       _ | IFS | as_nl) ;; #(
   11202       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11203       *) { eval $ac_var=; unset $ac_var;} ;;
   11204       esac ;;
   11205     esac
   11206   done
   11207 
   11208   (set) 2>&1 |
   11209     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11210     *${as_nl}ac_space=\ *)
   11211       # `set' does not quote correctly, so add quotes: double-quote
   11212       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11213       sed -n \
   11214 	"s/'/'\\\\''/g;
   11215 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11216       ;; #(
   11217     *)
   11218       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11219       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11220       ;;
   11221     esac |
   11222     sort
   11223 ) |
   11224   sed '
   11225      /^ac_cv_env_/b end
   11226      t clear
   11227      :clear
   11228      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11229      t end
   11230      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11231      :end' >>confcache
   11232 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11233   if test -w "$cache_file"; then
   11234     if test "x$cache_file" != "x/dev/null"; then
   11235       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11236 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11237       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11238 	cat confcache >"$cache_file"
   11239       else
   11240         case $cache_file in #(
   11241         */* | ?:*)
   11242 	  mv -f confcache "$cache_file"$$ &&
   11243 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11244         *)
   11245 	  mv -f confcache "$cache_file" ;;
   11246 	esac
   11247       fi
   11248     fi
   11249   else
   11250     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11251 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11252   fi
   11253 fi
   11254 rm -f confcache
   11255 
   11256 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11257 # Let make expand exec_prefix.
   11258 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11259 
   11260 DEFS=-DHAVE_CONFIG_H
   11261 
   11262 ac_libobjs=
   11263 ac_ltlibobjs=
   11264 U=
   11265 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11266   # 1. Remove the extension, and $U if already installed.
   11267   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11268   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11269   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11270   #    will be set to the directory where LIBOBJS objects are built.
   11271   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11272   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11273 done
   11274 LIBOBJS=$ac_libobjs
   11275 
   11276 LTLIBOBJS=$ac_ltlibobjs
   11277 
   11278 
   11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11280 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11281    if test -n "$am_sleep_pid"; then
   11282      # Hide warnings about reused PIDs.
   11283      wait $am_sleep_pid 2>/dev/null
   11284    fi
   11285    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11286 $as_echo "done" >&6; }
   11287 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11288   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11290 fi
   11291 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11292   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11294 fi
   11295  if test -n "$EXEEXT"; then
   11296   am__EXEEXT_TRUE=
   11297   am__EXEEXT_FALSE='#'
   11298 else
   11299   am__EXEEXT_TRUE='#'
   11300   am__EXEEXT_FALSE=
   11301 fi
   11302 
   11303 
   11304 : "${CONFIG_STATUS=./config.status}"
   11305 ac_write_fail=0
   11306 ac_clean_files_save=$ac_clean_files
   11307 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11308 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11309 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11310 as_write_fail=0
   11311 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11312 #! $SHELL
   11313 # Generated by $as_me.
   11314 # Run this file to recreate the current configuration.
   11315 # Compiler output produced by configure, useful for debugging
   11316 # configure, is in config.log if it exists.
   11317 
   11318 debug=false
   11319 ac_cs_recheck=false
   11320 ac_cs_silent=false
   11321 
   11322 SHELL=\${CONFIG_SHELL-$SHELL}
   11323 export SHELL
   11324 _ASEOF
   11325 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11326 ## -------------------- ##
   11327 ## M4sh Initialization. ##
   11328 ## -------------------- ##
   11329 
   11330 # Be more Bourne compatible
   11331 DUALCASE=1; export DUALCASE # for MKS sh
   11332 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11333   emulate sh
   11334   NULLCMD=:
   11335   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11336   # is contrary to our usage.  Disable this feature.
   11337   alias -g '${1+"$@"}'='"$@"'
   11338   setopt NO_GLOB_SUBST
   11339 else
   11340   case `(set -o) 2>/dev/null` in #(
   11341   *posix*) :
   11342     set -o posix ;; #(
   11343   *) :
   11344      ;;
   11345 esac
   11346 fi
   11347 
   11348 
   11349 as_nl='
   11350 '
   11351 export as_nl
   11352 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11353 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11354 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11355 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11356 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11357 # but without wasting forks for bash or zsh.
   11358 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11359     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11360   as_echo='print -r --'
   11361   as_echo_n='print -rn --'
   11362 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11363   as_echo='printf %s\n'
   11364   as_echo_n='printf %s'
   11365 else
   11366   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11367     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11368     as_echo_n='/usr/ucb/echo -n'
   11369   else
   11370     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11371     as_echo_n_body='eval
   11372       arg=$1;
   11373       case $arg in #(
   11374       *"$as_nl"*)
   11375 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11376 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11377       esac;
   11378       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11379     '
   11380     export as_echo_n_body
   11381     as_echo_n='sh -c $as_echo_n_body as_echo'
   11382   fi
   11383   export as_echo_body
   11384   as_echo='sh -c $as_echo_body as_echo'
   11385 fi
   11386 
   11387 # The user is always right.
   11388 if test "${PATH_SEPARATOR+set}" != set; then
   11389   PATH_SEPARATOR=:
   11390   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11391     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11392       PATH_SEPARATOR=';'
   11393   }
   11394 fi
   11395 
   11396 
   11397 # IFS
   11398 # We need space, tab and new line, in precisely that order.  Quoting is
   11399 # there to prevent editors from complaining about space-tab.
   11400 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11401 # splitting by setting IFS to empty value.)
   11402 IFS=" ""	$as_nl"
   11403 
   11404 # Find who we are.  Look in the path if we contain no directory separator.
   11405 as_myself=
   11406 case $0 in #((
   11407   *[\\/]* ) as_myself=$0 ;;
   11408   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11409 for as_dir in $PATH
   11410 do
   11411   IFS=$as_save_IFS
   11412   test -z "$as_dir" && as_dir=.
   11413     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11414   done
   11415 IFS=$as_save_IFS
   11416 
   11417      ;;
   11418 esac
   11419 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11420 # in which case we are not to be found in the path.
   11421 if test "x$as_myself" = x; then
   11422   as_myself=$0
   11423 fi
   11424 if test ! -f "$as_myself"; then
   11425   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11426   exit 1
   11427 fi
   11428 
   11429 # Unset variables that we do not need and which cause bugs (e.g. in
   11430 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11431 # suppresses any "Segmentation fault" message there.  '((' could
   11432 # trigger a bug in pdksh 5.2.14.
   11433 for as_var in BASH_ENV ENV MAIL MAILPATH
   11434 do eval test x\${$as_var+set} = xset \
   11435   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11436 done
   11437 PS1='$ '
   11438 PS2='> '
   11439 PS4='+ '
   11440 
   11441 # NLS nuisances.
   11442 LC_ALL=C
   11443 export LC_ALL
   11444 LANGUAGE=C
   11445 export LANGUAGE
   11446 
   11447 # CDPATH.
   11448 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11449 
   11450 
   11451 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11452 # ----------------------------------------
   11453 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11454 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11455 # script with STATUS, using 1 if that was 0.
   11456 as_fn_error ()
   11457 {
   11458   as_status=$1; test $as_status -eq 0 && as_status=1
   11459   if test "$4"; then
   11460     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11461     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11462   fi
   11463   $as_echo "$as_me: error: $2" >&2
   11464   as_fn_exit $as_status
   11465 } # as_fn_error
   11466 
   11467 
   11468 # as_fn_set_status STATUS
   11469 # -----------------------
   11470 # Set $? to STATUS, without forking.
   11471 as_fn_set_status ()
   11472 {
   11473   return $1
   11474 } # as_fn_set_status
   11475 
   11476 # as_fn_exit STATUS
   11477 # -----------------
   11478 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11479 as_fn_exit ()
   11480 {
   11481   set +e
   11482   as_fn_set_status $1
   11483   exit $1
   11484 } # as_fn_exit
   11485 
   11486 # as_fn_unset VAR
   11487 # ---------------
   11488 # Portably unset VAR.
   11489 as_fn_unset ()
   11490 {
   11491   { eval $1=; unset $1;}
   11492 }
   11493 as_unset=as_fn_unset
   11494 # as_fn_append VAR VALUE
   11495 # ----------------------
   11496 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11497 # advantage of any shell optimizations that allow amortized linear growth over
   11498 # repeated appends, instead of the typical quadratic growth present in naive
   11499 # implementations.
   11500 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11501   eval 'as_fn_append ()
   11502   {
   11503     eval $1+=\$2
   11504   }'
   11505 else
   11506   as_fn_append ()
   11507   {
   11508     eval $1=\$$1\$2
   11509   }
   11510 fi # as_fn_append
   11511 
   11512 # as_fn_arith ARG...
   11513 # ------------------
   11514 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11515 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11516 # must be portable across $(()) and expr.
   11517 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11518   eval 'as_fn_arith ()
   11519   {
   11520     as_val=$(( $* ))
   11521   }'
   11522 else
   11523   as_fn_arith ()
   11524   {
   11525     as_val=`expr "$@" || test $? -eq 1`
   11526   }
   11527 fi # as_fn_arith
   11528 
   11529 
   11530 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11531    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11532   as_expr=expr
   11533 else
   11534   as_expr=false
   11535 fi
   11536 
   11537 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11538   as_basename=basename
   11539 else
   11540   as_basename=false
   11541 fi
   11542 
   11543 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11544   as_dirname=dirname
   11545 else
   11546   as_dirname=false
   11547 fi
   11548 
   11549 as_me=`$as_basename -- "$0" ||
   11550 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11551 	 X"$0" : 'X\(//\)$' \| \
   11552 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11553 $as_echo X/"$0" |
   11554     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11555 	    s//\1/
   11556 	    q
   11557 	  }
   11558 	  /^X\/\(\/\/\)$/{
   11559 	    s//\1/
   11560 	    q
   11561 	  }
   11562 	  /^X\/\(\/\).*/{
   11563 	    s//\1/
   11564 	    q
   11565 	  }
   11566 	  s/.*/./; q'`
   11567 
   11568 # Avoid depending upon Character Ranges.
   11569 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11570 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11571 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11572 as_cr_digits='0123456789'
   11573 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11574 
   11575 ECHO_C= ECHO_N= ECHO_T=
   11576 case `echo -n x` in #(((((
   11577 -n*)
   11578   case `echo 'xy\c'` in
   11579   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11580   xy)  ECHO_C='\c';;
   11581   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11582        ECHO_T='	';;
   11583   esac;;
   11584 *)
   11585   ECHO_N='-n';;
   11586 esac
   11587 
   11588 rm -f conf$$ conf$$.exe conf$$.file
   11589 if test -d conf$$.dir; then
   11590   rm -f conf$$.dir/conf$$.file
   11591 else
   11592   rm -f conf$$.dir
   11593   mkdir conf$$.dir 2>/dev/null
   11594 fi
   11595 if (echo >conf$$.file) 2>/dev/null; then
   11596   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11597     as_ln_s='ln -s'
   11598     # ... but there are two gotchas:
   11599     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11600     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11601     # In both cases, we have to default to `cp -pR'.
   11602     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11603       as_ln_s='cp -pR'
   11604   elif ln conf$$.file conf$$ 2>/dev/null; then
   11605     as_ln_s=ln
   11606   else
   11607     as_ln_s='cp -pR'
   11608   fi
   11609 else
   11610   as_ln_s='cp -pR'
   11611 fi
   11612 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11613 rmdir conf$$.dir 2>/dev/null
   11614 
   11615 
   11616 # as_fn_mkdir_p
   11617 # -------------
   11618 # Create "$as_dir" as a directory, including parents if necessary.
   11619 as_fn_mkdir_p ()
   11620 {
   11621 
   11622   case $as_dir in #(
   11623   -*) as_dir=./$as_dir;;
   11624   esac
   11625   test -d "$as_dir" || eval $as_mkdir_p || {
   11626     as_dirs=
   11627     while :; do
   11628       case $as_dir in #(
   11629       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11630       *) as_qdir=$as_dir;;
   11631       esac
   11632       as_dirs="'$as_qdir' $as_dirs"
   11633       as_dir=`$as_dirname -- "$as_dir" ||
   11634 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11635 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11636 	 X"$as_dir" : 'X\(//\)$' \| \
   11637 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11638 $as_echo X"$as_dir" |
   11639     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11640 	    s//\1/
   11641 	    q
   11642 	  }
   11643 	  /^X\(\/\/\)[^/].*/{
   11644 	    s//\1/
   11645 	    q
   11646 	  }
   11647 	  /^X\(\/\/\)$/{
   11648 	    s//\1/
   11649 	    q
   11650 	  }
   11651 	  /^X\(\/\).*/{
   11652 	    s//\1/
   11653 	    q
   11654 	  }
   11655 	  s/.*/./; q'`
   11656       test -d "$as_dir" && break
   11657     done
   11658     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11659   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11660 
   11661 
   11662 } # as_fn_mkdir_p
   11663 if mkdir -p . 2>/dev/null; then
   11664   as_mkdir_p='mkdir -p "$as_dir"'
   11665 else
   11666   test -d ./-p && rmdir ./-p
   11667   as_mkdir_p=false
   11668 fi
   11669 
   11670 
   11671 # as_fn_executable_p FILE
   11672 # -----------------------
   11673 # Test if FILE is an executable regular file.
   11674 as_fn_executable_p ()
   11675 {
   11676   test -f "$1" && test -x "$1"
   11677 } # as_fn_executable_p
   11678 as_test_x='test -x'
   11679 as_executable_p=as_fn_executable_p
   11680 
   11681 # Sed expression to map a string onto a valid CPP name.
   11682 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11683 
   11684 # Sed expression to map a string onto a valid variable name.
   11685 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11686 
   11687 
   11688 exec 6>&1
   11689 ## ----------------------------------- ##
   11690 ## Main body of $CONFIG_STATUS script. ##
   11691 ## ----------------------------------- ##
   11692 _ASEOF
   11693 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11694 
   11695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11696 # Save the log message, to keep $0 and so on meaningful, and to
   11697 # report actual input values of CONFIG_FILES etc. instead of their
   11698 # values after options handling.
   11699 ac_log="
   11700 This file was extended by twm $as_me 1.0.9, which was
   11701 generated by GNU Autoconf 2.69.  Invocation command line was
   11702 
   11703   CONFIG_FILES    = $CONFIG_FILES
   11704   CONFIG_HEADERS  = $CONFIG_HEADERS
   11705   CONFIG_LINKS    = $CONFIG_LINKS
   11706   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11707   $ $0 $@
   11708 
   11709 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11710 "
   11711 
   11712 _ACEOF
   11713 
   11714 case $ac_config_files in *"
   11715 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11716 esac
   11717 
   11718 case $ac_config_headers in *"
   11719 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11720 esac
   11721 
   11722 
   11723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11724 # Files that config.status was made for.
   11725 config_files="$ac_config_files"
   11726 config_headers="$ac_config_headers"
   11727 config_commands="$ac_config_commands"
   11728 
   11729 _ACEOF
   11730 
   11731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11732 ac_cs_usage="\
   11733 \`$as_me' instantiates files and other configuration actions
   11734 from templates according to the current configuration.  Unless the files
   11735 and actions are specified as TAGs, all are instantiated by default.
   11736 
   11737 Usage: $0 [OPTION]... [TAG]...
   11738 
   11739   -h, --help       print this help, then exit
   11740   -V, --version    print version number and configuration settings, then exit
   11741       --config     print configuration, then exit
   11742   -q, --quiet, --silent
   11743                    do not print progress messages
   11744   -d, --debug      don't remove temporary files
   11745       --recheck    update $as_me by reconfiguring in the same conditions
   11746       --file=FILE[:TEMPLATE]
   11747                    instantiate the configuration file FILE
   11748       --header=FILE[:TEMPLATE]
   11749                    instantiate the configuration header FILE
   11750 
   11751 Configuration files:
   11752 $config_files
   11753 
   11754 Configuration headers:
   11755 $config_headers
   11756 
   11757 Configuration commands:
   11758 $config_commands
   11759 
   11760 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11761 
   11762 _ACEOF
   11763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11764 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11765 ac_cs_version="\\
   11766 twm config.status 1.0.9
   11767 configured by $0, generated by GNU Autoconf 2.69,
   11768   with options \\"\$ac_cs_config\\"
   11769 
   11770 Copyright (C) 2012 Free Software Foundation, Inc.
   11771 This config.status script is free software; the Free Software Foundation
   11772 gives unlimited permission to copy, distribute and modify it."
   11773 
   11774 ac_pwd='$ac_pwd'
   11775 srcdir='$srcdir'
   11776 INSTALL='$INSTALL'
   11777 MKDIR_P='$MKDIR_P'
   11778 AWK='$AWK'
   11779 test -n "\$AWK" || AWK=awk
   11780 _ACEOF
   11781 
   11782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11783 # The default lists apply if the user does not specify any file.
   11784 ac_need_defaults=:
   11785 while test $# != 0
   11786 do
   11787   case $1 in
   11788   --*=?*)
   11789     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11790     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11791     ac_shift=:
   11792     ;;
   11793   --*=)
   11794     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11795     ac_optarg=
   11796     ac_shift=:
   11797     ;;
   11798   *)
   11799     ac_option=$1
   11800     ac_optarg=$2
   11801     ac_shift=shift
   11802     ;;
   11803   esac
   11804 
   11805   case $ac_option in
   11806   # Handling of the options.
   11807   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11808     ac_cs_recheck=: ;;
   11809   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11810     $as_echo "$ac_cs_version"; exit ;;
   11811   --config | --confi | --conf | --con | --co | --c )
   11812     $as_echo "$ac_cs_config"; exit ;;
   11813   --debug | --debu | --deb | --de | --d | -d )
   11814     debug=: ;;
   11815   --file | --fil | --fi | --f )
   11816     $ac_shift
   11817     case $ac_optarg in
   11818     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11819     '') as_fn_error $? "missing file argument" ;;
   11820     esac
   11821     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11822     ac_need_defaults=false;;
   11823   --header | --heade | --head | --hea )
   11824     $ac_shift
   11825     case $ac_optarg in
   11826     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11827     esac
   11828     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11829     ac_need_defaults=false;;
   11830   --he | --h)
   11831     # Conflict between --help and --header
   11832     as_fn_error $? "ambiguous option: \`$1'
   11833 Try \`$0 --help' for more information.";;
   11834   --help | --hel | -h )
   11835     $as_echo "$ac_cs_usage"; exit ;;
   11836   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11837   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11838     ac_cs_silent=: ;;
   11839 
   11840   # This is an error.
   11841   -*) as_fn_error $? "unrecognized option: \`$1'
   11842 Try \`$0 --help' for more information." ;;
   11843 
   11844   *) as_fn_append ac_config_targets " $1"
   11845      ac_need_defaults=false ;;
   11846 
   11847   esac
   11848   shift
   11849 done
   11850 
   11851 ac_configure_extra_args=
   11852 
   11853 if $ac_cs_silent; then
   11854   exec 6>/dev/null
   11855   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11856 fi
   11857 
   11858 _ACEOF
   11859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11860 if \$ac_cs_recheck; then
   11861   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11862   shift
   11863   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11864   CONFIG_SHELL='$SHELL'
   11865   export CONFIG_SHELL
   11866   exec "\$@"
   11867 fi
   11868 
   11869 _ACEOF
   11870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11871 exec 5>>config.log
   11872 {
   11873   echo
   11874   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11875 ## Running $as_me. ##
   11876 _ASBOX
   11877   $as_echo "$ac_log"
   11878 } >&5
   11879 
   11880 _ACEOF
   11881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11882 #
   11883 # INIT-COMMANDS
   11884 #
   11885 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11886 
   11887 _ACEOF
   11888 
   11889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11890 
   11891 # Handling of arguments.
   11892 for ac_config_target in $ac_config_targets
   11893 do
   11894   case $ac_config_target in
   11895     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11896     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11897     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11898     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   11899     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11900 
   11901   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11902   esac
   11903 done
   11904 
   11905 
   11906 # If the user did not use the arguments to specify the items to instantiate,
   11907 # then the envvar interface is used.  Set only those that are not.
   11908 # We use the long form for the default assignment because of an extremely
   11909 # bizarre bug on SunOS 4.1.3.
   11910 if $ac_need_defaults; then
   11911   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11912   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11913   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11914 fi
   11915 
   11916 # Have a temporary directory for convenience.  Make it in the build tree
   11917 # simply because there is no reason against having it here, and in addition,
   11918 # creating and moving files from /tmp can sometimes cause problems.
   11919 # Hook for its removal unless debugging.
   11920 # Note that there is a small window in which the directory will not be cleaned:
   11921 # after its creation but before its name has been assigned to `$tmp'.
   11922 $debug ||
   11923 {
   11924   tmp= ac_tmp=
   11925   trap 'exit_status=$?
   11926   : "${ac_tmp:=$tmp}"
   11927   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11928 ' 0
   11929   trap 'as_fn_exit 1' 1 2 13 15
   11930 }
   11931 # Create a (secure) tmp directory for tmp files.
   11932 
   11933 {
   11934   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11935   test -d "$tmp"
   11936 }  ||
   11937 {
   11938   tmp=./conf$$-$RANDOM
   11939   (umask 077 && mkdir "$tmp")
   11940 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11941 ac_tmp=$tmp
   11942 
   11943 # Set up the scripts for CONFIG_FILES section.
   11944 # No need to generate them if there are no CONFIG_FILES.
   11945 # This happens for instance with `./config.status config.h'.
   11946 if test -n "$CONFIG_FILES"; then
   11947 
   11948 
   11949 ac_cr=`echo X | tr X '\015'`
   11950 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11951 # But we know of no other shell where ac_cr would be empty at this
   11952 # point, so we can use a bashism as a fallback.
   11953 if test "x$ac_cr" = x; then
   11954   eval ac_cr=\$\'\\r\'
   11955 fi
   11956 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11957 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11958   ac_cs_awk_cr='\\r'
   11959 else
   11960   ac_cs_awk_cr=$ac_cr
   11961 fi
   11962 
   11963 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11964 _ACEOF
   11965 
   11966 
   11967 {
   11968   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11969   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11970   echo "_ACEOF"
   11971 } >conf$$subs.sh ||
   11972   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11973 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11974 ac_delim='%!_!# '
   11975 for ac_last_try in false false false false false :; do
   11976   . ./conf$$subs.sh ||
   11977     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11978 
   11979   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11980   if test $ac_delim_n = $ac_delim_num; then
   11981     break
   11982   elif $ac_last_try; then
   11983     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11984   else
   11985     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11986   fi
   11987 done
   11988 rm -f conf$$subs.sh
   11989 
   11990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11991 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11992 _ACEOF
   11993 sed -n '
   11994 h
   11995 s/^/S["/; s/!.*/"]=/
   11996 p
   11997 g
   11998 s/^[^!]*!//
   11999 :repl
   12000 t repl
   12001 s/'"$ac_delim"'$//
   12002 t delim
   12003 :nl
   12004 h
   12005 s/\(.\{148\}\)..*/\1/
   12006 t more1
   12007 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12008 p
   12009 n
   12010 b repl
   12011 :more1
   12012 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12013 p
   12014 g
   12015 s/.\{148\}//
   12016 t nl
   12017 :delim
   12018 h
   12019 s/\(.\{148\}\)..*/\1/
   12020 t more2
   12021 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12022 p
   12023 b
   12024 :more2
   12025 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12026 p
   12027 g
   12028 s/.\{148\}//
   12029 t delim
   12030 ' <conf$$subs.awk | sed '
   12031 /^[^""]/{
   12032   N
   12033   s/\n//
   12034 }
   12035 ' >>$CONFIG_STATUS || ac_write_fail=1
   12036 rm -f conf$$subs.awk
   12037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12038 _ACAWK
   12039 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12040   for (key in S) S_is_set[key] = 1
   12041   FS = ""
   12042 
   12043 }
   12044 {
   12045   line = $ 0
   12046   nfields = split(line, field, "@")
   12047   substed = 0
   12048   len = length(field[1])
   12049   for (i = 2; i < nfields; i++) {
   12050     key = field[i]
   12051     keylen = length(key)
   12052     if (S_is_set[key]) {
   12053       value = S[key]
   12054       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12055       len += length(value) + length(field[++i])
   12056       substed = 1
   12057     } else
   12058       len += 1 + keylen
   12059   }
   12060 
   12061   print line
   12062 }
   12063 
   12064 _ACAWK
   12065 _ACEOF
   12066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12067 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12068   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12069 else
   12070   cat
   12071 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12072   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12073 _ACEOF
   12074 
   12075 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12076 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12077 # trailing colons and then remove the whole line if VPATH becomes empty
   12078 # (actually we leave an empty line to preserve line numbers).
   12079 if test "x$srcdir" = x.; then
   12080   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12081 h
   12082 s///
   12083 s/^/:/
   12084 s/[	 ]*$/:/
   12085 s/:\$(srcdir):/:/g
   12086 s/:\${srcdir}:/:/g
   12087 s/:@srcdir@:/:/g
   12088 s/^:*//
   12089 s/:*$//
   12090 x
   12091 s/\(=[	 ]*\).*/\1/
   12092 G
   12093 s/\n//
   12094 s/^[^=]*=[	 ]*$//
   12095 }'
   12096 fi
   12097 
   12098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12099 fi # test -n "$CONFIG_FILES"
   12100 
   12101 # Set up the scripts for CONFIG_HEADERS section.
   12102 # No need to generate them if there are no CONFIG_HEADERS.
   12103 # This happens for instance with `./config.status Makefile'.
   12104 if test -n "$CONFIG_HEADERS"; then
   12105 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12106 BEGIN {
   12107 _ACEOF
   12108 
   12109 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12110 # here-document in config.status, that substitutes the proper values into
   12111 # config.h.in to produce config.h.
   12112 
   12113 # Create a delimiter string that does not exist in confdefs.h, to ease
   12114 # handling of long lines.
   12115 ac_delim='%!_!# '
   12116 for ac_last_try in false false :; do
   12117   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12118   if test -z "$ac_tt"; then
   12119     break
   12120   elif $ac_last_try; then
   12121     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12122   else
   12123     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12124   fi
   12125 done
   12126 
   12127 # For the awk script, D is an array of macro values keyed by name,
   12128 # likewise P contains macro parameters if any.  Preserve backslash
   12129 # newline sequences.
   12130 
   12131 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12132 sed -n '
   12133 s/.\{148\}/&'"$ac_delim"'/g
   12134 t rset
   12135 :rset
   12136 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12137 t def
   12138 d
   12139 :def
   12140 s/\\$//
   12141 t bsnl
   12142 s/["\\]/\\&/g
   12143 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12144 D["\1"]=" \3"/p
   12145 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12146 d
   12147 :bsnl
   12148 s/["\\]/\\&/g
   12149 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12150 D["\1"]=" \3\\\\\\n"\\/p
   12151 t cont
   12152 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12153 t cont
   12154 d
   12155 :cont
   12156 n
   12157 s/.\{148\}/&'"$ac_delim"'/g
   12158 t clear
   12159 :clear
   12160 s/\\$//
   12161 t bsnlc
   12162 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12163 d
   12164 :bsnlc
   12165 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12166 b cont
   12167 ' <confdefs.h | sed '
   12168 s/'"$ac_delim"'/"\\\
   12169 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12170 
   12171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12172   for (key in D) D_is_set[key] = 1
   12173   FS = ""
   12174 }
   12175 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12176   line = \$ 0
   12177   split(line, arg, " ")
   12178   if (arg[1] == "#") {
   12179     defundef = arg[2]
   12180     mac1 = arg[3]
   12181   } else {
   12182     defundef = substr(arg[1], 2)
   12183     mac1 = arg[2]
   12184   }
   12185   split(mac1, mac2, "(") #)
   12186   macro = mac2[1]
   12187   prefix = substr(line, 1, index(line, defundef) - 1)
   12188   if (D_is_set[macro]) {
   12189     # Preserve the white space surrounding the "#".
   12190     print prefix "define", macro P[macro] D[macro]
   12191     next
   12192   } else {
   12193     # Replace #undef with comments.  This is necessary, for example,
   12194     # in the case of _POSIX_SOURCE, which is predefined and required
   12195     # on some systems where configure will not decide to define it.
   12196     if (defundef == "undef") {
   12197       print "/*", prefix defundef, macro, "*/"
   12198       next
   12199     }
   12200   }
   12201 }
   12202 { print }
   12203 _ACAWK
   12204 _ACEOF
   12205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12206   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12207 fi # test -n "$CONFIG_HEADERS"
   12208 
   12209 
   12210 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12211 shift
   12212 for ac_tag
   12213 do
   12214   case $ac_tag in
   12215   :[FHLC]) ac_mode=$ac_tag; continue;;
   12216   esac
   12217   case $ac_mode$ac_tag in
   12218   :[FHL]*:*);;
   12219   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12220   :[FH]-) ac_tag=-:-;;
   12221   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12222   esac
   12223   ac_save_IFS=$IFS
   12224   IFS=:
   12225   set x $ac_tag
   12226   IFS=$ac_save_IFS
   12227   shift
   12228   ac_file=$1
   12229   shift
   12230 
   12231   case $ac_mode in
   12232   :L) ac_source=$1;;
   12233   :[FH])
   12234     ac_file_inputs=
   12235     for ac_f
   12236     do
   12237       case $ac_f in
   12238       -) ac_f="$ac_tmp/stdin";;
   12239       *) # Look for the file first in the build tree, then in the source tree
   12240 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12241 	 # because $ac_f cannot contain `:'.
   12242 	 test -f "$ac_f" ||
   12243 	   case $ac_f in
   12244 	   [\\/$]*) false;;
   12245 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12246 	   esac ||
   12247 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12248       esac
   12249       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12250       as_fn_append ac_file_inputs " '$ac_f'"
   12251     done
   12252 
   12253     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12254     # use $as_me), people would be surprised to read:
   12255     #    /* config.h.  Generated by config.status.  */
   12256     configure_input='Generated from '`
   12257 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12258 	`' by configure.'
   12259     if test x"$ac_file" != x-; then
   12260       configure_input="$ac_file.  $configure_input"
   12261       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12262 $as_echo "$as_me: creating $ac_file" >&6;}
   12263     fi
   12264     # Neutralize special characters interpreted by sed in replacement strings.
   12265     case $configure_input in #(
   12266     *\&* | *\|* | *\\* )
   12267        ac_sed_conf_input=`$as_echo "$configure_input" |
   12268        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12269     *) ac_sed_conf_input=$configure_input;;
   12270     esac
   12271 
   12272     case $ac_tag in
   12273     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12274       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12275     esac
   12276     ;;
   12277   esac
   12278 
   12279   ac_dir=`$as_dirname -- "$ac_file" ||
   12280 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12281 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12282 	 X"$ac_file" : 'X\(//\)$' \| \
   12283 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12284 $as_echo X"$ac_file" |
   12285     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12286 	    s//\1/
   12287 	    q
   12288 	  }
   12289 	  /^X\(\/\/\)[^/].*/{
   12290 	    s//\1/
   12291 	    q
   12292 	  }
   12293 	  /^X\(\/\/\)$/{
   12294 	    s//\1/
   12295 	    q
   12296 	  }
   12297 	  /^X\(\/\).*/{
   12298 	    s//\1/
   12299 	    q
   12300 	  }
   12301 	  s/.*/./; q'`
   12302   as_dir="$ac_dir"; as_fn_mkdir_p
   12303   ac_builddir=.
   12304 
   12305 case "$ac_dir" in
   12306 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12307 *)
   12308   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12309   # A ".." for each directory in $ac_dir_suffix.
   12310   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12311   case $ac_top_builddir_sub in
   12312   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12313   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12314   esac ;;
   12315 esac
   12316 ac_abs_top_builddir=$ac_pwd
   12317 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12318 # for backward compatibility:
   12319 ac_top_builddir=$ac_top_build_prefix
   12320 
   12321 case $srcdir in
   12322   .)  # We are building in place.
   12323     ac_srcdir=.
   12324     ac_top_srcdir=$ac_top_builddir_sub
   12325     ac_abs_top_srcdir=$ac_pwd ;;
   12326   [\\/]* | ?:[\\/]* )  # Absolute name.
   12327     ac_srcdir=$srcdir$ac_dir_suffix;
   12328     ac_top_srcdir=$srcdir
   12329     ac_abs_top_srcdir=$srcdir ;;
   12330   *) # Relative name.
   12331     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12332     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12333     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12334 esac
   12335 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12336 
   12337 
   12338   case $ac_mode in
   12339   :F)
   12340   #
   12341   # CONFIG_FILE
   12342   #
   12343 
   12344   case $INSTALL in
   12345   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12346   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12347   esac
   12348   ac_MKDIR_P=$MKDIR_P
   12349   case $MKDIR_P in
   12350   [\\/$]* | ?:[\\/]* ) ;;
   12351   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12352   esac
   12353 _ACEOF
   12354 
   12355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12356 # If the template does not know about datarootdir, expand it.
   12357 # FIXME: This hack should be removed a few years after 2.60.
   12358 ac_datarootdir_hack=; ac_datarootdir_seen=
   12359 ac_sed_dataroot='
   12360 /datarootdir/ {
   12361   p
   12362   q
   12363 }
   12364 /@datadir@/p
   12365 /@docdir@/p
   12366 /@infodir@/p
   12367 /@localedir@/p
   12368 /@mandir@/p'
   12369 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12370 *datarootdir*) ac_datarootdir_seen=yes;;
   12371 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12372   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12373 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12374 _ACEOF
   12375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12376   ac_datarootdir_hack='
   12377   s&@datadir@&$datadir&g
   12378   s&@docdir@&$docdir&g
   12379   s&@infodir@&$infodir&g
   12380   s&@localedir@&$localedir&g
   12381   s&@mandir@&$mandir&g
   12382   s&\\\${datarootdir}&$datarootdir&g' ;;
   12383 esac
   12384 _ACEOF
   12385 
   12386 # Neutralize VPATH when `$srcdir' = `.'.
   12387 # Shell code in configure.ac might set extrasub.
   12388 # FIXME: do we really want to maintain this feature?
   12389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12390 ac_sed_extra="$ac_vpsub
   12391 $extrasub
   12392 _ACEOF
   12393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12394 :t
   12395 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12396 s|@configure_input@|$ac_sed_conf_input|;t t
   12397 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12398 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12399 s&@srcdir@&$ac_srcdir&;t t
   12400 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12401 s&@top_srcdir@&$ac_top_srcdir&;t t
   12402 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12403 s&@builddir@&$ac_builddir&;t t
   12404 s&@abs_builddir@&$ac_abs_builddir&;t t
   12405 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12406 s&@INSTALL@&$ac_INSTALL&;t t
   12407 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12408 $ac_datarootdir_hack
   12409 "
   12410 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12411   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12412 
   12413 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12414   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12415   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12416       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12417   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12418 which seems to be undefined.  Please make sure it is defined" >&5
   12419 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12420 which seems to be undefined.  Please make sure it is defined" >&2;}
   12421 
   12422   rm -f "$ac_tmp/stdin"
   12423   case $ac_file in
   12424   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12425   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12426   esac \
   12427   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12428  ;;
   12429   :H)
   12430   #
   12431   # CONFIG_HEADER
   12432   #
   12433   if test x"$ac_file" != x-; then
   12434     {
   12435       $as_echo "/* $configure_input  */" \
   12436       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12437     } >"$ac_tmp/config.h" \
   12438       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12439     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12440       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12441 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12442     else
   12443       rm -f "$ac_file"
   12444       mv "$ac_tmp/config.h" "$ac_file" \
   12445 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12446     fi
   12447   else
   12448     $as_echo "/* $configure_input  */" \
   12449       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12450       || as_fn_error $? "could not create -" "$LINENO" 5
   12451   fi
   12452 # Compute "$ac_file"'s index in $config_headers.
   12453 _am_arg="$ac_file"
   12454 _am_stamp_count=1
   12455 for _am_header in $config_headers :; do
   12456   case $_am_header in
   12457     $_am_arg | $_am_arg:* )
   12458       break ;;
   12459     * )
   12460       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12461   esac
   12462 done
   12463 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12464 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12465 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12466 	 X"$_am_arg" : 'X\(//\)$' \| \
   12467 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12468 $as_echo X"$_am_arg" |
   12469     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12470 	    s//\1/
   12471 	    q
   12472 	  }
   12473 	  /^X\(\/\/\)[^/].*/{
   12474 	    s//\1/
   12475 	    q
   12476 	  }
   12477 	  /^X\(\/\/\)$/{
   12478 	    s//\1/
   12479 	    q
   12480 	  }
   12481 	  /^X\(\/\).*/{
   12482 	    s//\1/
   12483 	    q
   12484 	  }
   12485 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12486  ;;
   12487 
   12488   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12489 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12490  ;;
   12491   esac
   12492 
   12493 
   12494   case $ac_file$ac_mode in
   12495     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12496   # Older Autoconf quotes --file arguments for eval, but not when files
   12497   # are listed without --file.  Let's play safe and only enable the eval
   12498   # if we detect the quoting.
   12499   case $CONFIG_FILES in
   12500   *\'*) eval set x "$CONFIG_FILES" ;;
   12501   *)   set x $CONFIG_FILES ;;
   12502   esac
   12503   shift
   12504   for mf
   12505   do
   12506     # Strip MF so we end up with the name of the file.
   12507     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12508     # Check whether this is an Automake generated Makefile or not.
   12509     # We used to match only the files named 'Makefile.in', but
   12510     # some people rename them; so instead we look at the file content.
   12511     # Grep'ing the first line is not enough: some people post-process
   12512     # each Makefile.in and add a new line on top of each file to say so.
   12513     # Grep'ing the whole file is not good either: AIX grep has a line
   12514     # limit of 2048, but all sed's we know have understand at least 4000.
   12515     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12516       dirpart=`$as_dirname -- "$mf" ||
   12517 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12518 	 X"$mf" : 'X\(//\)[^/]' \| \
   12519 	 X"$mf" : 'X\(//\)$' \| \
   12520 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12521 $as_echo X"$mf" |
   12522     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12523 	    s//\1/
   12524 	    q
   12525 	  }
   12526 	  /^X\(\/\/\)[^/].*/{
   12527 	    s//\1/
   12528 	    q
   12529 	  }
   12530 	  /^X\(\/\/\)$/{
   12531 	    s//\1/
   12532 	    q
   12533 	  }
   12534 	  /^X\(\/\).*/{
   12535 	    s//\1/
   12536 	    q
   12537 	  }
   12538 	  s/.*/./; q'`
   12539     else
   12540       continue
   12541     fi
   12542     # Extract the definition of DEPDIR, am__include, and am__quote
   12543     # from the Makefile without running 'make'.
   12544     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12545     test -z "$DEPDIR" && continue
   12546     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12547     test -z "$am__include" && continue
   12548     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12549     # Find all dependency output files, they are included files with
   12550     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12551     # simplest approach to changing $(DEPDIR) to its actual value in the
   12552     # expansion.
   12553     for file in `sed -n "
   12554       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12555 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12556       # Make sure the directory exists.
   12557       test -f "$dirpart/$file" && continue
   12558       fdir=`$as_dirname -- "$file" ||
   12559 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12560 	 X"$file" : 'X\(//\)[^/]' \| \
   12561 	 X"$file" : 'X\(//\)$' \| \
   12562 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12563 $as_echo X"$file" |
   12564     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12565 	    s//\1/
   12566 	    q
   12567 	  }
   12568 	  /^X\(\/\/\)[^/].*/{
   12569 	    s//\1/
   12570 	    q
   12571 	  }
   12572 	  /^X\(\/\/\)$/{
   12573 	    s//\1/
   12574 	    q
   12575 	  }
   12576 	  /^X\(\/\).*/{
   12577 	    s//\1/
   12578 	    q
   12579 	  }
   12580 	  s/.*/./; q'`
   12581       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12582       # echo "creating $dirpart/$file"
   12583       echo '# dummy' > "$dirpart/$file"
   12584     done
   12585   done
   12586 }
   12587  ;;
   12588 
   12589   esac
   12590 done # for ac_tag
   12591 
   12592 
   12593 as_fn_exit 0
   12594 _ACEOF
   12595 ac_clean_files=$ac_clean_files_save
   12596 
   12597 test $ac_write_fail = 0 ||
   12598   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12599 
   12600 
   12601 # configure is writing to config.log, and then calls config.status.
   12602 # config.status does its own redirection, appending to config.log.
   12603 # Unfortunately, on DOS this fails, as config.log is still kept open
   12604 # by configure, so config.status won't be able to write to it; its
   12605 # output is simply discarded.  So we exec the FD to /dev/null,
   12606 # effectively closing config.log, so it can be properly (re)opened and
   12607 # appended to by config.status.  When coming back to configure, we
   12608 # need to make the FD available again.
   12609 if test "$no_create" != yes; then
   12610   ac_cs_success=:
   12611   ac_config_status_args=
   12612   test "$silent" = yes &&
   12613     ac_config_status_args="$ac_config_status_args --quiet"
   12614   exec 5>/dev/null
   12615   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12616   exec 5>>config.log
   12617   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12618   # would make configure fail if this is the last instruction.
   12619   $ac_cs_success || as_fn_exit 1
   12620 fi
   12621 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12622   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12623 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12624 fi
   12625 
   12626