Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xmodmap 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='xmodmap'
    583 PACKAGE_TARNAME='xmodmap'
    584 PACKAGE_VERSION='1.0.9'
    585 PACKAGE_STRING='xmodmap 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 LINT_FALSE
    631 LINT_TRUE
    632 LINT_FLAGS
    633 LINT
    634 XMODMAP_LIBS
    635 XMODMAP_CFLAGS
    636 MAN_SUBSTS
    637 XORG_MAN_PAGE
    638 ADMIN_MAN_DIR
    639 DRIVER_MAN_DIR
    640 MISC_MAN_DIR
    641 FILE_MAN_DIR
    642 LIB_MAN_DIR
    643 APP_MAN_DIR
    644 ADMIN_MAN_SUFFIX
    645 DRIVER_MAN_SUFFIX
    646 MISC_MAN_SUFFIX
    647 FILE_MAN_SUFFIX
    648 LIB_MAN_SUFFIX
    649 APP_MAN_SUFFIX
    650 SED
    651 host_os
    652 host_vendor
    653 host_cpu
    654 host
    655 build_os
    656 build_vendor
    657 build_cpu
    658 build
    659 INSTALL_CMD
    660 PKG_CONFIG
    661 CHANGELOG_CMD
    662 STRICT_CFLAGS
    663 CWARNFLAGS
    664 BASE_CFLAGS
    665 AM_BACKSLASH
    666 AM_DEFAULT_VERBOSITY
    667 AM_DEFAULT_V
    668 AM_V
    669 am__fastdepCC_FALSE
    670 am__fastdepCC_TRUE
    671 CCDEPMODE
    672 am__nodep
    673 AMDEPBACKSLASH
    674 AMDEP_FALSE
    675 AMDEP_TRUE
    676 am__quote
    677 am__include
    678 DEPDIR
    679 am__untar
    680 am__tar
    681 AMTAR
    682 am__leading_dot
    683 SET_MAKE
    684 AWK
    685 mkdir_p
    686 MKDIR_P
    687 INSTALL_STRIP_PROGRAM
    688 STRIP
    689 install_sh
    690 MAKEINFO
    691 AUTOHEADER
    692 AUTOMAKE
    693 AUTOCONF
    694 ACLOCAL
    695 VERSION
    696 PACKAGE
    697 CYGPATH_W
    698 am__isrc
    699 INSTALL_DATA
    700 INSTALL_SCRIPT
    701 INSTALL_PROGRAM
    702 EGREP
    703 GREP
    704 CPP
    705 OBJEXT
    706 EXEEXT
    707 ac_ct_CC
    708 CPPFLAGS
    709 LDFLAGS
    710 CFLAGS
    711 CC
    712 target_alias
    713 host_alias
    714 build_alias
    715 LIBS
    716 ECHO_T
    717 ECHO_N
    718 ECHO_C
    719 DEFS
    720 mandir
    721 localedir
    722 libdir
    723 psdir
    724 pdfdir
    725 dvidir
    726 htmldir
    727 infodir
    728 docdir
    729 oldincludedir
    730 includedir
    731 localstatedir
    732 sharedstatedir
    733 sysconfdir
    734 datadir
    735 datarootdir
    736 libexecdir
    737 sbindir
    738 bindir
    739 program_transform_name
    740 prefix
    741 exec_prefix
    742 PACKAGE_URL
    743 PACKAGE_BUGREPORT
    744 PACKAGE_STRING
    745 PACKAGE_VERSION
    746 PACKAGE_TARNAME
    747 PACKAGE_NAME
    748 PATH_SEPARATOR
    749 SHELL'
    750 ac_subst_files=''
    751 ac_user_opts='
    752 enable_option_checking
    753 enable_dependency_tracking
    754 enable_silent_rules
    755 enable_selective_werror
    756 enable_strict_compilation
    757 with_lint
    758 '
    759       ac_precious_vars='build_alias
    760 host_alias
    761 target_alias
    762 CC
    763 CFLAGS
    764 LDFLAGS
    765 LIBS
    766 CPPFLAGS
    767 CPP
    768 PKG_CONFIG
    769 XMODMAP_CFLAGS
    770 XMODMAP_LIBS
    771 LINT
    772 LINT_FLAGS'
    773 
    774 
    775 # Initialize some variables set by options.
    776 ac_init_help=
    777 ac_init_version=false
    778 ac_unrecognized_opts=
    779 ac_unrecognized_sep=
    780 # The variables have the same names as the options, with
    781 # dashes changed to underlines.
    782 cache_file=/dev/null
    783 exec_prefix=NONE
    784 no_create=
    785 no_recursion=
    786 prefix=NONE
    787 program_prefix=NONE
    788 program_suffix=NONE
    789 program_transform_name=s,x,x,
    790 silent=
    791 site=
    792 srcdir=
    793 verbose=
    794 x_includes=NONE
    795 x_libraries=NONE
    796 
    797 # Installation directory options.
    798 # These are left unexpanded so users can "make install exec_prefix=/foo"
    799 # and all the variables that are supposed to be based on exec_prefix
    800 # by default will actually change.
    801 # Use braces instead of parens because sh, perl, etc. also accept them.
    802 # (The list follows the same order as the GNU Coding Standards.)
    803 bindir='${exec_prefix}/bin'
    804 sbindir='${exec_prefix}/sbin'
    805 libexecdir='${exec_prefix}/libexec'
    806 datarootdir='${prefix}/share'
    807 datadir='${datarootdir}'
    808 sysconfdir='${prefix}/etc'
    809 sharedstatedir='${prefix}/com'
    810 localstatedir='${prefix}/var'
    811 includedir='${prefix}/include'
    812 oldincludedir='/usr/include'
    813 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    814 infodir='${datarootdir}/info'
    815 htmldir='${docdir}'
    816 dvidir='${docdir}'
    817 pdfdir='${docdir}'
    818 psdir='${docdir}'
    819 libdir='${exec_prefix}/lib'
    820 localedir='${datarootdir}/locale'
    821 mandir='${datarootdir}/man'
    822 
    823 ac_prev=
    824 ac_dashdash=
    825 for ac_option
    826 do
    827   # If the previous option needs an argument, assign it.
    828   if test -n "$ac_prev"; then
    829     eval $ac_prev=\$ac_option
    830     ac_prev=
    831     continue
    832   fi
    833 
    834   case $ac_option in
    835   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    836   *=)   ac_optarg= ;;
    837   *)    ac_optarg=yes ;;
    838   esac
    839 
    840   # Accept the important Cygnus configure options, so we can diagnose typos.
    841 
    842   case $ac_dashdash$ac_option in
    843   --)
    844     ac_dashdash=yes ;;
    845 
    846   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    847     ac_prev=bindir ;;
    848   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    849     bindir=$ac_optarg ;;
    850 
    851   -build | --build | --buil | --bui | --bu)
    852     ac_prev=build_alias ;;
    853   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    854     build_alias=$ac_optarg ;;
    855 
    856   -cache-file | --cache-file | --cache-fil | --cache-fi \
    857   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    858     ac_prev=cache_file ;;
    859   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    860   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    861     cache_file=$ac_optarg ;;
    862 
    863   --config-cache | -C)
    864     cache_file=config.cache ;;
    865 
    866   -datadir | --datadir | --datadi | --datad)
    867     ac_prev=datadir ;;
    868   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    869     datadir=$ac_optarg ;;
    870 
    871   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    872   | --dataroo | --dataro | --datar)
    873     ac_prev=datarootdir ;;
    874   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    875   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    876     datarootdir=$ac_optarg ;;
    877 
    878   -disable-* | --disable-*)
    879     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    880     # Reject names that are not valid shell variable names.
    881     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    882       as_fn_error $? "invalid feature name: $ac_useropt"
    883     ac_useropt_orig=$ac_useropt
    884     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    885     case $ac_user_opts in
    886       *"
    887 "enable_$ac_useropt"
    888 "*) ;;
    889       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    890 	 ac_unrecognized_sep=', ';;
    891     esac
    892     eval enable_$ac_useropt=no ;;
    893 
    894   -docdir | --docdir | --docdi | --doc | --do)
    895     ac_prev=docdir ;;
    896   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    897     docdir=$ac_optarg ;;
    898 
    899   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    900     ac_prev=dvidir ;;
    901   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    902     dvidir=$ac_optarg ;;
    903 
    904   -enable-* | --enable-*)
    905     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    906     # Reject names that are not valid shell variable names.
    907     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    908       as_fn_error $? "invalid feature name: $ac_useropt"
    909     ac_useropt_orig=$ac_useropt
    910     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    911     case $ac_user_opts in
    912       *"
    913 "enable_$ac_useropt"
    914 "*) ;;
    915       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    916 	 ac_unrecognized_sep=', ';;
    917     esac
    918     eval enable_$ac_useropt=\$ac_optarg ;;
    919 
    920   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    921   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    922   | --exec | --exe | --ex)
    923     ac_prev=exec_prefix ;;
    924   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    925   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    926   | --exec=* | --exe=* | --ex=*)
    927     exec_prefix=$ac_optarg ;;
    928 
    929   -gas | --gas | --ga | --g)
    930     # Obsolete; use --with-gas.
    931     with_gas=yes ;;
    932 
    933   -help | --help | --hel | --he | -h)
    934     ac_init_help=long ;;
    935   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    936     ac_init_help=recursive ;;
    937   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    938     ac_init_help=short ;;
    939 
    940   -host | --host | --hos | --ho)
    941     ac_prev=host_alias ;;
    942   -host=* | --host=* | --hos=* | --ho=*)
    943     host_alias=$ac_optarg ;;
    944 
    945   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    946     ac_prev=htmldir ;;
    947   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    948   | --ht=*)
    949     htmldir=$ac_optarg ;;
    950 
    951   -includedir | --includedir | --includedi | --included | --include \
    952   | --includ | --inclu | --incl | --inc)
    953     ac_prev=includedir ;;
    954   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    955   | --includ=* | --inclu=* | --incl=* | --inc=*)
    956     includedir=$ac_optarg ;;
    957 
    958   -infodir | --infodir | --infodi | --infod | --info | --inf)
    959     ac_prev=infodir ;;
    960   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    961     infodir=$ac_optarg ;;
    962 
    963   -libdir | --libdir | --libdi | --libd)
    964     ac_prev=libdir ;;
    965   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    966     libdir=$ac_optarg ;;
    967 
    968   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    969   | --libexe | --libex | --libe)
    970     ac_prev=libexecdir ;;
    971   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    972   | --libexe=* | --libex=* | --libe=*)
    973     libexecdir=$ac_optarg ;;
    974 
    975   -localedir | --localedir | --localedi | --localed | --locale)
    976     ac_prev=localedir ;;
    977   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    978     localedir=$ac_optarg ;;
    979 
    980   -localstatedir | --localstatedir | --localstatedi | --localstated \
    981   | --localstate | --localstat | --localsta | --localst | --locals)
    982     ac_prev=localstatedir ;;
    983   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    984   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    985     localstatedir=$ac_optarg ;;
    986 
    987   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    988     ac_prev=mandir ;;
    989   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    990     mandir=$ac_optarg ;;
    991 
    992   -nfp | --nfp | --nf)
    993     # Obsolete; use --without-fp.
    994     with_fp=no ;;
    995 
    996   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    997   | --no-cr | --no-c | -n)
    998     no_create=yes ;;
    999 
   1000   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1001   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1002     no_recursion=yes ;;
   1003 
   1004   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1005   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1006   | --oldin | --oldi | --old | --ol | --o)
   1007     ac_prev=oldincludedir ;;
   1008   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1009   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1010   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1011     oldincludedir=$ac_optarg ;;
   1012 
   1013   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1014     ac_prev=prefix ;;
   1015   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1016     prefix=$ac_optarg ;;
   1017 
   1018   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1019   | --program-pre | --program-pr | --program-p)
   1020     ac_prev=program_prefix ;;
   1021   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1022   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1023     program_prefix=$ac_optarg ;;
   1024 
   1025   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1026   | --program-suf | --program-su | --program-s)
   1027     ac_prev=program_suffix ;;
   1028   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1029   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1030     program_suffix=$ac_optarg ;;
   1031 
   1032   -program-transform-name | --program-transform-name \
   1033   | --program-transform-nam | --program-transform-na \
   1034   | --program-transform-n | --program-transform- \
   1035   | --program-transform | --program-transfor \
   1036   | --program-transfo | --program-transf \
   1037   | --program-trans | --program-tran \
   1038   | --progr-tra | --program-tr | --program-t)
   1039     ac_prev=program_transform_name ;;
   1040   -program-transform-name=* | --program-transform-name=* \
   1041   | --program-transform-nam=* | --program-transform-na=* \
   1042   | --program-transform-n=* | --program-transform-=* \
   1043   | --program-transform=* | --program-transfor=* \
   1044   | --program-transfo=* | --program-transf=* \
   1045   | --program-trans=* | --program-tran=* \
   1046   | --progr-tra=* | --program-tr=* | --program-t=*)
   1047     program_transform_name=$ac_optarg ;;
   1048 
   1049   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1050     ac_prev=pdfdir ;;
   1051   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1052     pdfdir=$ac_optarg ;;
   1053 
   1054   -psdir | --psdir | --psdi | --psd | --ps)
   1055     ac_prev=psdir ;;
   1056   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1057     psdir=$ac_optarg ;;
   1058 
   1059   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1060   | -silent | --silent | --silen | --sile | --sil)
   1061     silent=yes ;;
   1062 
   1063   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1064     ac_prev=sbindir ;;
   1065   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1066   | --sbi=* | --sb=*)
   1067     sbindir=$ac_optarg ;;
   1068 
   1069   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1070   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1071   | --sharedst | --shareds | --shared | --share | --shar \
   1072   | --sha | --sh)
   1073     ac_prev=sharedstatedir ;;
   1074   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1075   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1076   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1077   | --sha=* | --sh=*)
   1078     sharedstatedir=$ac_optarg ;;
   1079 
   1080   -site | --site | --sit)
   1081     ac_prev=site ;;
   1082   -site=* | --site=* | --sit=*)
   1083     site=$ac_optarg ;;
   1084 
   1085   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1086     ac_prev=srcdir ;;
   1087   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1088     srcdir=$ac_optarg ;;
   1089 
   1090   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1091   | --syscon | --sysco | --sysc | --sys | --sy)
   1092     ac_prev=sysconfdir ;;
   1093   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1094   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1095     sysconfdir=$ac_optarg ;;
   1096 
   1097   -target | --target | --targe | --targ | --tar | --ta | --t)
   1098     ac_prev=target_alias ;;
   1099   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1100     target_alias=$ac_optarg ;;
   1101 
   1102   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1103     verbose=yes ;;
   1104 
   1105   -version | --version | --versio | --versi | --vers | -V)
   1106     ac_init_version=: ;;
   1107 
   1108   -with-* | --with-*)
   1109     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1110     # Reject names that are not valid shell variable names.
   1111     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1112       as_fn_error $? "invalid package name: $ac_useropt"
   1113     ac_useropt_orig=$ac_useropt
   1114     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1115     case $ac_user_opts in
   1116       *"
   1117 "with_$ac_useropt"
   1118 "*) ;;
   1119       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1120 	 ac_unrecognized_sep=', ';;
   1121     esac
   1122     eval with_$ac_useropt=\$ac_optarg ;;
   1123 
   1124   -without-* | --without-*)
   1125     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1126     # Reject names that are not valid shell variable names.
   1127     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1128       as_fn_error $? "invalid package name: $ac_useropt"
   1129     ac_useropt_orig=$ac_useropt
   1130     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1131     case $ac_user_opts in
   1132       *"
   1133 "with_$ac_useropt"
   1134 "*) ;;
   1135       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1136 	 ac_unrecognized_sep=', ';;
   1137     esac
   1138     eval with_$ac_useropt=no ;;
   1139 
   1140   --x)
   1141     # Obsolete; use --with-x.
   1142     with_x=yes ;;
   1143 
   1144   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1145   | --x-incl | --x-inc | --x-in | --x-i)
   1146     ac_prev=x_includes ;;
   1147   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1148   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1149     x_includes=$ac_optarg ;;
   1150 
   1151   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1152   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1153     ac_prev=x_libraries ;;
   1154   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1155   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1156     x_libraries=$ac_optarg ;;
   1157 
   1158   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1159 Try \`$0 --help' for more information"
   1160     ;;
   1161 
   1162   *=*)
   1163     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1164     # Reject names that are not valid shell variable names.
   1165     case $ac_envvar in #(
   1166       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1167       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1168     esac
   1169     eval $ac_envvar=\$ac_optarg
   1170     export $ac_envvar ;;
   1171 
   1172   *)
   1173     # FIXME: should be removed in autoconf 3.0.
   1174     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1175     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1176       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1177     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1178     ;;
   1179 
   1180   esac
   1181 done
   1182 
   1183 if test -n "$ac_prev"; then
   1184   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1185   as_fn_error $? "missing argument to $ac_option"
   1186 fi
   1187 
   1188 if test -n "$ac_unrecognized_opts"; then
   1189   case $enable_option_checking in
   1190     no) ;;
   1191     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1192     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1193   esac
   1194 fi
   1195 
   1196 # Check all directory arguments for consistency.
   1197 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1198 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1199 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1200 		libdir localedir mandir
   1201 do
   1202   eval ac_val=\$$ac_var
   1203   # Remove trailing slashes.
   1204   case $ac_val in
   1205     */ )
   1206       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1207       eval $ac_var=\$ac_val;;
   1208   esac
   1209   # Be sure to have absolute directory names.
   1210   case $ac_val in
   1211     [\\/$]* | ?:[\\/]* )  continue;;
   1212     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1213   esac
   1214   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1215 done
   1216 
   1217 # There might be people who depend on the old broken behavior: `$host'
   1218 # used to hold the argument of --host etc.
   1219 # FIXME: To remove some day.
   1220 build=$build_alias
   1221 host=$host_alias
   1222 target=$target_alias
   1223 
   1224 # FIXME: To remove some day.
   1225 if test "x$host_alias" != x; then
   1226   if test "x$build_alias" = x; then
   1227     cross_compiling=maybe
   1228   elif test "x$build_alias" != "x$host_alias"; then
   1229     cross_compiling=yes
   1230   fi
   1231 fi
   1232 
   1233 ac_tool_prefix=
   1234 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1235 
   1236 test "$silent" = yes && exec 6>/dev/null
   1237 
   1238 
   1239 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1240 ac_ls_di=`ls -di .` &&
   1241 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1242   as_fn_error $? "working directory cannot be determined"
   1243 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1244   as_fn_error $? "pwd does not report name of working directory"
   1245 
   1246 
   1247 # Find the source files, if location was not specified.
   1248 if test -z "$srcdir"; then
   1249   ac_srcdir_defaulted=yes
   1250   # Try the directory containing this script, then the parent directory.
   1251   ac_confdir=`$as_dirname -- "$as_myself" ||
   1252 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1253 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1254 	 X"$as_myself" : 'X\(//\)$' \| \
   1255 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1256 $as_echo X"$as_myself" |
   1257     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1258 	    s//\1/
   1259 	    q
   1260 	  }
   1261 	  /^X\(\/\/\)[^/].*/{
   1262 	    s//\1/
   1263 	    q
   1264 	  }
   1265 	  /^X\(\/\/\)$/{
   1266 	    s//\1/
   1267 	    q
   1268 	  }
   1269 	  /^X\(\/\).*/{
   1270 	    s//\1/
   1271 	    q
   1272 	  }
   1273 	  s/.*/./; q'`
   1274   srcdir=$ac_confdir
   1275   if test ! -r "$srcdir/$ac_unique_file"; then
   1276     srcdir=..
   1277   fi
   1278 else
   1279   ac_srcdir_defaulted=no
   1280 fi
   1281 if test ! -r "$srcdir/$ac_unique_file"; then
   1282   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1283   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1284 fi
   1285 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1286 ac_abs_confdir=`(
   1287 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1288 	pwd)`
   1289 # When building in place, set srcdir=.
   1290 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1291   srcdir=.
   1292 fi
   1293 # Remove unnecessary trailing slashes from srcdir.
   1294 # Double slashes in file names in object file debugging info
   1295 # mess up M-x gdb in Emacs.
   1296 case $srcdir in
   1297 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1298 esac
   1299 for ac_var in $ac_precious_vars; do
   1300   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1301   eval ac_env_${ac_var}_value=\$${ac_var}
   1302   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1303   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1304 done
   1305 
   1306 #
   1307 # Report the --help message.
   1308 #
   1309 if test "$ac_init_help" = "long"; then
   1310   # Omit some internal or obsolete options to make the list less imposing.
   1311   # This message is too long to be a string in the A/UX 3.1 sh.
   1312   cat <<_ACEOF
   1313 \`configure' configures xmodmap 1.0.9 to adapt to many kinds of systems.
   1314 
   1315 Usage: $0 [OPTION]... [VAR=VALUE]...
   1316 
   1317 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1318 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1319 
   1320 Defaults for the options are specified in brackets.
   1321 
   1322 Configuration:
   1323   -h, --help              display this help and exit
   1324       --help=short        display options specific to this package
   1325       --help=recursive    display the short help of all the included packages
   1326   -V, --version           display version information and exit
   1327   -q, --quiet, --silent   do not print \`checking ...' messages
   1328       --cache-file=FILE   cache test results in FILE [disabled]
   1329   -C, --config-cache      alias for \`--cache-file=config.cache'
   1330   -n, --no-create         do not create output files
   1331       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1332 
   1333 Installation directories:
   1334   --prefix=PREFIX         install architecture-independent files in PREFIX
   1335                           [$ac_default_prefix]
   1336   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1337                           [PREFIX]
   1338 
   1339 By default, \`make install' will install all the files in
   1340 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1341 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1342 for instance \`--prefix=\$HOME'.
   1343 
   1344 For better control, use the options below.
   1345 
   1346 Fine tuning of the installation directories:
   1347   --bindir=DIR            user executables [EPREFIX/bin]
   1348   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1349   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1350   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1351   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1352   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1353   --libdir=DIR            object code libraries [EPREFIX/lib]
   1354   --includedir=DIR        C header files [PREFIX/include]
   1355   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1356   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1357   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1358   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1359   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1360   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1361   --docdir=DIR            documentation root [DATAROOTDIR/doc/xmodmap]
   1362   --htmldir=DIR           html documentation [DOCDIR]
   1363   --dvidir=DIR            dvi documentation [DOCDIR]
   1364   --pdfdir=DIR            pdf documentation [DOCDIR]
   1365   --psdir=DIR             ps documentation [DOCDIR]
   1366 _ACEOF
   1367 
   1368   cat <<\_ACEOF
   1369 
   1370 Program names:
   1371   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1372   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1373   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1374 
   1375 System types:
   1376   --build=BUILD     configure for building on BUILD [guessed]
   1377   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1378 _ACEOF
   1379 fi
   1380 
   1381 if test -n "$ac_init_help"; then
   1382   case $ac_init_help in
   1383      short | recursive ) echo "Configuration of xmodmap 1.0.9:";;
   1384    esac
   1385   cat <<\_ACEOF
   1386 
   1387 Optional Features:
   1388   --disable-option-checking  ignore unrecognized --enable/--with options
   1389   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1390   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1391   --enable-dependency-tracking
   1392                           do not reject slow dependency extractors
   1393   --disable-dependency-tracking
   1394                           speeds up one-time build
   1395   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1396   --disable-silent-rules  verbose build output (undo: "make V=0")
   1397   --disable-selective-werror
   1398                           Turn off selective compiler errors. (default:
   1399                           enabled)
   1400   --enable-strict-compilation
   1401                           Enable all warnings from compiler and make them
   1402                           errors (default: disabled)
   1403 
   1404 Optional Packages:
   1405   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1406   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1407   --with-lint             Use a lint-style source code checker (default:
   1408                           disabled)
   1409 
   1410 Some influential environment variables:
   1411   CC          C compiler command
   1412   CFLAGS      C compiler flags
   1413   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1414               nonstandard directory <lib dir>
   1415   LIBS        libraries to pass to the linker, e.g. -l<library>
   1416   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1417               you have headers in a nonstandard directory <include dir>
   1418   CPP         C preprocessor
   1419   PKG_CONFIG  path to pkg-config utility
   1420   XMODMAP_CFLAGS
   1421               C compiler flags for XMODMAP, overriding pkg-config
   1422   XMODMAP_LIBS
   1423               linker flags for XMODMAP, overriding pkg-config
   1424   LINT        Path to a lint-style command
   1425   LINT_FLAGS  Flags for the lint-style command
   1426 
   1427 Use these variables to override the choices made by `configure' or to help
   1428 it to find libraries and programs with nonstandard names/locations.
   1429 
   1430 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1431 _ACEOF
   1432 ac_status=$?
   1433 fi
   1434 
   1435 if test "$ac_init_help" = "recursive"; then
   1436   # If there are subdirs, report their specific --help.
   1437   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1438     test -d "$ac_dir" ||
   1439       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1440       continue
   1441     ac_builddir=.
   1442 
   1443 case "$ac_dir" in
   1444 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1445 *)
   1446   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1447   # A ".." for each directory in $ac_dir_suffix.
   1448   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1449   case $ac_top_builddir_sub in
   1450   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1451   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1452   esac ;;
   1453 esac
   1454 ac_abs_top_builddir=$ac_pwd
   1455 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1456 # for backward compatibility:
   1457 ac_top_builddir=$ac_top_build_prefix
   1458 
   1459 case $srcdir in
   1460   .)  # We are building in place.
   1461     ac_srcdir=.
   1462     ac_top_srcdir=$ac_top_builddir_sub
   1463     ac_abs_top_srcdir=$ac_pwd ;;
   1464   [\\/]* | ?:[\\/]* )  # Absolute name.
   1465     ac_srcdir=$srcdir$ac_dir_suffix;
   1466     ac_top_srcdir=$srcdir
   1467     ac_abs_top_srcdir=$srcdir ;;
   1468   *) # Relative name.
   1469     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1470     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1471     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1472 esac
   1473 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1474 
   1475     cd "$ac_dir" || { ac_status=$?; continue; }
   1476     # Check for guested configure.
   1477     if test -f "$ac_srcdir/configure.gnu"; then
   1478       echo &&
   1479       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1480     elif test -f "$ac_srcdir/configure"; then
   1481       echo &&
   1482       $SHELL "$ac_srcdir/configure" --help=recursive
   1483     else
   1484       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1485     fi || ac_status=$?
   1486     cd "$ac_pwd" || { ac_status=$?; break; }
   1487   done
   1488 fi
   1489 
   1490 test -n "$ac_init_help" && exit $ac_status
   1491 if $ac_init_version; then
   1492   cat <<\_ACEOF
   1493 xmodmap configure 1.0.9
   1494 generated by GNU Autoconf 2.69
   1495 
   1496 Copyright (C) 2012 Free Software Foundation, Inc.
   1497 This configure script is free software; the Free Software Foundation
   1498 gives unlimited permission to copy, distribute and modify it.
   1499 _ACEOF
   1500   exit
   1501 fi
   1502 
   1503 ## ------------------------ ##
   1504 ## Autoconf initialization. ##
   1505 ## ------------------------ ##
   1506 
   1507 # ac_fn_c_try_compile LINENO
   1508 # --------------------------
   1509 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1510 ac_fn_c_try_compile ()
   1511 {
   1512   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1513   rm -f conftest.$ac_objext
   1514   if { { ac_try="$ac_compile"
   1515 case "(($ac_try" in
   1516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1517   *) ac_try_echo=$ac_try;;
   1518 esac
   1519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1520 $as_echo "$ac_try_echo"; } >&5
   1521   (eval "$ac_compile") 2>conftest.err
   1522   ac_status=$?
   1523   if test -s conftest.err; then
   1524     grep -v '^ *+' conftest.err >conftest.er1
   1525     cat conftest.er1 >&5
   1526     mv -f conftest.er1 conftest.err
   1527   fi
   1528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1529   test $ac_status = 0; } && {
   1530 	 test -z "$ac_c_werror_flag" ||
   1531 	 test ! -s conftest.err
   1532        } && test -s conftest.$ac_objext; then :
   1533   ac_retval=0
   1534 else
   1535   $as_echo "$as_me: failed program was:" >&5
   1536 sed 's/^/| /' conftest.$ac_ext >&5
   1537 
   1538 	ac_retval=1
   1539 fi
   1540   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1541   as_fn_set_status $ac_retval
   1542 
   1543 } # ac_fn_c_try_compile
   1544 
   1545 # ac_fn_c_try_cpp LINENO
   1546 # ----------------------
   1547 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1548 ac_fn_c_try_cpp ()
   1549 {
   1550   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1551   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1552 case "(($ac_try" in
   1553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1554   *) ac_try_echo=$ac_try;;
   1555 esac
   1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1557 $as_echo "$ac_try_echo"; } >&5
   1558   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1559   ac_status=$?
   1560   if test -s conftest.err; then
   1561     grep -v '^ *+' conftest.err >conftest.er1
   1562     cat conftest.er1 >&5
   1563     mv -f conftest.er1 conftest.err
   1564   fi
   1565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1566   test $ac_status = 0; } > conftest.i && {
   1567 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1568 	 test ! -s conftest.err
   1569        }; then :
   1570   ac_retval=0
   1571 else
   1572   $as_echo "$as_me: failed program was:" >&5
   1573 sed 's/^/| /' conftest.$ac_ext >&5
   1574 
   1575     ac_retval=1
   1576 fi
   1577   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1578   as_fn_set_status $ac_retval
   1579 
   1580 } # ac_fn_c_try_cpp
   1581 
   1582 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1583 # -------------------------------------------------------
   1584 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1585 # the include files in INCLUDES and setting the cache variable VAR
   1586 # accordingly.
   1587 ac_fn_c_check_header_mongrel ()
   1588 {
   1589   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1590   if eval \${$3+:} false; then :
   1591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1592 $as_echo_n "checking for $2... " >&6; }
   1593 if eval \${$3+:} false; then :
   1594   $as_echo_n "(cached) " >&6
   1595 fi
   1596 eval ac_res=\$$3
   1597 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1598 $as_echo "$ac_res" >&6; }
   1599 else
   1600   # Is the header compilable?
   1601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1602 $as_echo_n "checking $2 usability... " >&6; }
   1603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1604 /* end confdefs.h.  */
   1605 $4
   1606 #include <$2>
   1607 _ACEOF
   1608 if ac_fn_c_try_compile "$LINENO"; then :
   1609   ac_header_compiler=yes
   1610 else
   1611   ac_header_compiler=no
   1612 fi
   1613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1615 $as_echo "$ac_header_compiler" >&6; }
   1616 
   1617 # Is the header present?
   1618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1619 $as_echo_n "checking $2 presence... " >&6; }
   1620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1621 /* end confdefs.h.  */
   1622 #include <$2>
   1623 _ACEOF
   1624 if ac_fn_c_try_cpp "$LINENO"; then :
   1625   ac_header_preproc=yes
   1626 else
   1627   ac_header_preproc=no
   1628 fi
   1629 rm -f conftest.err conftest.i conftest.$ac_ext
   1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1631 $as_echo "$ac_header_preproc" >&6; }
   1632 
   1633 # So?  What about this header?
   1634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1635   yes:no: )
   1636     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1637 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1638     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1639 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1640     ;;
   1641   no:yes:* )
   1642     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1643 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1644     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1645 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1646     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1647 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1648     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1649 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1650     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1651 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1652 ( $as_echo "## ---------------------------------------------------------------------- ##
   1653 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1654 ## ---------------------------------------------------------------------- ##"
   1655      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1656     ;;
   1657 esac
   1658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1659 $as_echo_n "checking for $2... " >&6; }
   1660 if eval \${$3+:} false; then :
   1661   $as_echo_n "(cached) " >&6
   1662 else
   1663   eval "$3=\$ac_header_compiler"
   1664 fi
   1665 eval ac_res=\$$3
   1666 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1667 $as_echo "$ac_res" >&6; }
   1668 fi
   1669   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1670 
   1671 } # ac_fn_c_check_header_mongrel
   1672 
   1673 # ac_fn_c_try_run LINENO
   1674 # ----------------------
   1675 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1676 # that executables *can* be run.
   1677 ac_fn_c_try_run ()
   1678 {
   1679   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1680   if { { ac_try="$ac_link"
   1681 case "(($ac_try" in
   1682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1683   *) ac_try_echo=$ac_try;;
   1684 esac
   1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1686 $as_echo "$ac_try_echo"; } >&5
   1687   (eval "$ac_link") 2>&5
   1688   ac_status=$?
   1689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1690   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1691   { { case "(($ac_try" in
   1692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1693   *) ac_try_echo=$ac_try;;
   1694 esac
   1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1696 $as_echo "$ac_try_echo"; } >&5
   1697   (eval "$ac_try") 2>&5
   1698   ac_status=$?
   1699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1700   test $ac_status = 0; }; }; then :
   1701   ac_retval=0
   1702 else
   1703   $as_echo "$as_me: program exited with status $ac_status" >&5
   1704        $as_echo "$as_me: failed program was:" >&5
   1705 sed 's/^/| /' conftest.$ac_ext >&5
   1706 
   1707        ac_retval=$ac_status
   1708 fi
   1709   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1710   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1711   as_fn_set_status $ac_retval
   1712 
   1713 } # ac_fn_c_try_run
   1714 
   1715 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1716 # -------------------------------------------------------
   1717 # Tests whether HEADER exists and can be compiled using the include files in
   1718 # INCLUDES, setting the cache variable VAR accordingly.
   1719 ac_fn_c_check_header_compile ()
   1720 {
   1721   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1723 $as_echo_n "checking for $2... " >&6; }
   1724 if eval \${$3+:} false; then :
   1725   $as_echo_n "(cached) " >&6
   1726 else
   1727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1728 /* end confdefs.h.  */
   1729 $4
   1730 #include <$2>
   1731 _ACEOF
   1732 if ac_fn_c_try_compile "$LINENO"; then :
   1733   eval "$3=yes"
   1734 else
   1735   eval "$3=no"
   1736 fi
   1737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1738 fi
   1739 eval ac_res=\$$3
   1740 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1741 $as_echo "$ac_res" >&6; }
   1742   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1743 
   1744 } # ac_fn_c_check_header_compile
   1745 
   1746 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1747 # ---------------------------------------------
   1748 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1749 # accordingly.
   1750 ac_fn_c_check_decl ()
   1751 {
   1752   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1753   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1754   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1756 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1757 if eval \${$3+:} false; then :
   1758   $as_echo_n "(cached) " >&6
   1759 else
   1760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1761 /* end confdefs.h.  */
   1762 $4
   1763 int
   1764 main ()
   1765 {
   1766 #ifndef $as_decl_name
   1767 #ifdef __cplusplus
   1768   (void) $as_decl_use;
   1769 #else
   1770   (void) $as_decl_name;
   1771 #endif
   1772 #endif
   1773 
   1774   ;
   1775   return 0;
   1776 }
   1777 _ACEOF
   1778 if ac_fn_c_try_compile "$LINENO"; then :
   1779   eval "$3=yes"
   1780 else
   1781   eval "$3=no"
   1782 fi
   1783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1784 fi
   1785 eval ac_res=\$$3
   1786 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1787 $as_echo "$ac_res" >&6; }
   1788   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1789 
   1790 } # ac_fn_c_check_decl
   1791 
   1792 # ac_fn_c_try_link LINENO
   1793 # -----------------------
   1794 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1795 ac_fn_c_try_link ()
   1796 {
   1797   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1798   rm -f conftest.$ac_objext conftest$ac_exeext
   1799   if { { ac_try="$ac_link"
   1800 case "(($ac_try" in
   1801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1802   *) ac_try_echo=$ac_try;;
   1803 esac
   1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1805 $as_echo "$ac_try_echo"; } >&5
   1806   (eval "$ac_link") 2>conftest.err
   1807   ac_status=$?
   1808   if test -s conftest.err; then
   1809     grep -v '^ *+' conftest.err >conftest.er1
   1810     cat conftest.er1 >&5
   1811     mv -f conftest.er1 conftest.err
   1812   fi
   1813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1814   test $ac_status = 0; } && {
   1815 	 test -z "$ac_c_werror_flag" ||
   1816 	 test ! -s conftest.err
   1817        } && test -s conftest$ac_exeext && {
   1818 	 test "$cross_compiling" = yes ||
   1819 	 test -x conftest$ac_exeext
   1820        }; then :
   1821   ac_retval=0
   1822 else
   1823   $as_echo "$as_me: failed program was:" >&5
   1824 sed 's/^/| /' conftest.$ac_ext >&5
   1825 
   1826 	ac_retval=1
   1827 fi
   1828   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1829   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1830   # interfere with the next link command; also delete a directory that is
   1831   # left behind by Apple's compiler.  We do this before executing the actions.
   1832   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1833   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1834   as_fn_set_status $ac_retval
   1835 
   1836 } # ac_fn_c_try_link
   1837 
   1838 # ac_fn_c_check_func LINENO FUNC VAR
   1839 # ----------------------------------
   1840 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1841 ac_fn_c_check_func ()
   1842 {
   1843   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1845 $as_echo_n "checking for $2... " >&6; }
   1846 if eval \${$3+:} false; then :
   1847   $as_echo_n "(cached) " >&6
   1848 else
   1849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1850 /* end confdefs.h.  */
   1851 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1853 #define $2 innocuous_$2
   1854 
   1855 /* System header to define __stub macros and hopefully few prototypes,
   1856     which can conflict with char $2 (); below.
   1857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1858     <limits.h> exists even on freestanding compilers.  */
   1859 
   1860 #ifdef __STDC__
   1861 # include <limits.h>
   1862 #else
   1863 # include <assert.h>
   1864 #endif
   1865 
   1866 #undef $2
   1867 
   1868 /* Override any GCC internal prototype to avoid an error.
   1869    Use char because int might match the return type of a GCC
   1870    builtin and then its argument prototype would still apply.  */
   1871 #ifdef __cplusplus
   1872 extern "C"
   1873 #endif
   1874 char $2 ();
   1875 /* The GNU C library defines this for functions which it implements
   1876     to always fail with ENOSYS.  Some functions are actually named
   1877     something starting with __ and the normal name is an alias.  */
   1878 #if defined __stub_$2 || defined __stub___$2
   1879 choke me
   1880 #endif
   1881 
   1882 int
   1883 main ()
   1884 {
   1885 return $2 ();
   1886   ;
   1887   return 0;
   1888 }
   1889 _ACEOF
   1890 if ac_fn_c_try_link "$LINENO"; then :
   1891   eval "$3=yes"
   1892 else
   1893   eval "$3=no"
   1894 fi
   1895 rm -f core conftest.err conftest.$ac_objext \
   1896     conftest$ac_exeext conftest.$ac_ext
   1897 fi
   1898 eval ac_res=\$$3
   1899 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1900 $as_echo "$ac_res" >&6; }
   1901   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1902 
   1903 } # ac_fn_c_check_func
   1904 cat >config.log <<_ACEOF
   1905 This file contains any messages produced by compilers while
   1906 running configure, to aid debugging if configure makes a mistake.
   1907 
   1908 It was created by xmodmap $as_me 1.0.9, which was
   1909 generated by GNU Autoconf 2.69.  Invocation command line was
   1910 
   1911   $ $0 $@
   1912 
   1913 _ACEOF
   1914 exec 5>>config.log
   1915 {
   1916 cat <<_ASUNAME
   1917 ## --------- ##
   1918 ## Platform. ##
   1919 ## --------- ##
   1920 
   1921 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1922 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1923 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1924 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1925 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1926 
   1927 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1928 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1929 
   1930 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1931 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1932 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1933 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1934 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1935 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1936 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1937 
   1938 _ASUNAME
   1939 
   1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1941 for as_dir in $PATH
   1942 do
   1943   IFS=$as_save_IFS
   1944   test -z "$as_dir" && as_dir=.
   1945     $as_echo "PATH: $as_dir"
   1946   done
   1947 IFS=$as_save_IFS
   1948 
   1949 } >&5
   1950 
   1951 cat >&5 <<_ACEOF
   1952 
   1953 
   1954 ## ----------- ##
   1955 ## Core tests. ##
   1956 ## ----------- ##
   1957 
   1958 _ACEOF
   1959 
   1960 
   1961 # Keep a trace of the command line.
   1962 # Strip out --no-create and --no-recursion so they do not pile up.
   1963 # Strip out --silent because we don't want to record it for future runs.
   1964 # Also quote any args containing shell meta-characters.
   1965 # Make two passes to allow for proper duplicate-argument suppression.
   1966 ac_configure_args=
   1967 ac_configure_args0=
   1968 ac_configure_args1=
   1969 ac_must_keep_next=false
   1970 for ac_pass in 1 2
   1971 do
   1972   for ac_arg
   1973   do
   1974     case $ac_arg in
   1975     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1976     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1977     | -silent | --silent | --silen | --sile | --sil)
   1978       continue ;;
   1979     *\'*)
   1980       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1981     esac
   1982     case $ac_pass in
   1983     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1984     2)
   1985       as_fn_append ac_configure_args1 " '$ac_arg'"
   1986       if test $ac_must_keep_next = true; then
   1987 	ac_must_keep_next=false # Got value, back to normal.
   1988       else
   1989 	case $ac_arg in
   1990 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1991 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1992 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1993 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1994 	    case "$ac_configure_args0 " in
   1995 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1996 	    esac
   1997 	    ;;
   1998 	  -* ) ac_must_keep_next=true ;;
   1999 	esac
   2000       fi
   2001       as_fn_append ac_configure_args " '$ac_arg'"
   2002       ;;
   2003     esac
   2004   done
   2005 done
   2006 { ac_configure_args0=; unset ac_configure_args0;}
   2007 { ac_configure_args1=; unset ac_configure_args1;}
   2008 
   2009 # When interrupted or exit'd, cleanup temporary files, and complete
   2010 # config.log.  We remove comments because anyway the quotes in there
   2011 # would cause problems or look ugly.
   2012 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2013 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2014 trap 'exit_status=$?
   2015   # Save into config.log some information that might help in debugging.
   2016   {
   2017     echo
   2018 
   2019     $as_echo "## ---------------- ##
   2020 ## Cache variables. ##
   2021 ## ---------------- ##"
   2022     echo
   2023     # The following way of writing the cache mishandles newlines in values,
   2024 (
   2025   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2026     eval ac_val=\$$ac_var
   2027     case $ac_val in #(
   2028     *${as_nl}*)
   2029       case $ac_var in #(
   2030       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2031 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2032       esac
   2033       case $ac_var in #(
   2034       _ | IFS | as_nl) ;; #(
   2035       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2036       *) { eval $ac_var=; unset $ac_var;} ;;
   2037       esac ;;
   2038     esac
   2039   done
   2040   (set) 2>&1 |
   2041     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2042     *${as_nl}ac_space=\ *)
   2043       sed -n \
   2044 	"s/'\''/'\''\\\\'\'''\''/g;
   2045 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2046       ;; #(
   2047     *)
   2048       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2049       ;;
   2050     esac |
   2051     sort
   2052 )
   2053     echo
   2054 
   2055     $as_echo "## ----------------- ##
   2056 ## Output variables. ##
   2057 ## ----------------- ##"
   2058     echo
   2059     for ac_var in $ac_subst_vars
   2060     do
   2061       eval ac_val=\$$ac_var
   2062       case $ac_val in
   2063       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2064       esac
   2065       $as_echo "$ac_var='\''$ac_val'\''"
   2066     done | sort
   2067     echo
   2068 
   2069     if test -n "$ac_subst_files"; then
   2070       $as_echo "## ------------------- ##
   2071 ## File substitutions. ##
   2072 ## ------------------- ##"
   2073       echo
   2074       for ac_var in $ac_subst_files
   2075       do
   2076 	eval ac_val=\$$ac_var
   2077 	case $ac_val in
   2078 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2079 	esac
   2080 	$as_echo "$ac_var='\''$ac_val'\''"
   2081       done | sort
   2082       echo
   2083     fi
   2084 
   2085     if test -s confdefs.h; then
   2086       $as_echo "## ----------- ##
   2087 ## confdefs.h. ##
   2088 ## ----------- ##"
   2089       echo
   2090       cat confdefs.h
   2091       echo
   2092     fi
   2093     test "$ac_signal" != 0 &&
   2094       $as_echo "$as_me: caught signal $ac_signal"
   2095     $as_echo "$as_me: exit $exit_status"
   2096   } >&5
   2097   rm -f core *.core core.conftest.* &&
   2098     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2099     exit $exit_status
   2100 ' 0
   2101 for ac_signal in 1 2 13 15; do
   2102   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2103 done
   2104 ac_signal=0
   2105 
   2106 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2107 rm -f -r conftest* confdefs.h
   2108 
   2109 $as_echo "/* confdefs.h */" > confdefs.h
   2110 
   2111 # Predefined preprocessor variables.
   2112 
   2113 cat >>confdefs.h <<_ACEOF
   2114 #define PACKAGE_NAME "$PACKAGE_NAME"
   2115 _ACEOF
   2116 
   2117 cat >>confdefs.h <<_ACEOF
   2118 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2119 _ACEOF
   2120 
   2121 cat >>confdefs.h <<_ACEOF
   2122 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2123 _ACEOF
   2124 
   2125 cat >>confdefs.h <<_ACEOF
   2126 #define PACKAGE_STRING "$PACKAGE_STRING"
   2127 _ACEOF
   2128 
   2129 cat >>confdefs.h <<_ACEOF
   2130 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2131 _ACEOF
   2132 
   2133 cat >>confdefs.h <<_ACEOF
   2134 #define PACKAGE_URL "$PACKAGE_URL"
   2135 _ACEOF
   2136 
   2137 
   2138 # Let the site file select an alternate cache file if it wants to.
   2139 # Prefer an explicitly selected file to automatically selected ones.
   2140 ac_site_file1=NONE
   2141 ac_site_file2=NONE
   2142 if test -n "$CONFIG_SITE"; then
   2143   # We do not want a PATH search for config.site.
   2144   case $CONFIG_SITE in #((
   2145     -*)  ac_site_file1=./$CONFIG_SITE;;
   2146     */*) ac_site_file1=$CONFIG_SITE;;
   2147     *)   ac_site_file1=./$CONFIG_SITE;;
   2148   esac
   2149 elif test "x$prefix" != xNONE; then
   2150   ac_site_file1=$prefix/share/config.site
   2151   ac_site_file2=$prefix/etc/config.site
   2152 else
   2153   ac_site_file1=$ac_default_prefix/share/config.site
   2154   ac_site_file2=$ac_default_prefix/etc/config.site
   2155 fi
   2156 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2157 do
   2158   test "x$ac_site_file" = xNONE && continue
   2159   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2160     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2161 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2162     sed 's/^/| /' "$ac_site_file" >&5
   2163     . "$ac_site_file" \
   2164       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2166 as_fn_error $? "failed to load site script $ac_site_file
   2167 See \`config.log' for more details" "$LINENO" 5; }
   2168   fi
   2169 done
   2170 
   2171 if test -r "$cache_file"; then
   2172   # Some versions of bash will fail to source /dev/null (special files
   2173   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2174   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2175     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2176 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2177     case $cache_file in
   2178       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2179       *)                      . "./$cache_file";;
   2180     esac
   2181   fi
   2182 else
   2183   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2184 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2185   >$cache_file
   2186 fi
   2187 
   2188 # Check that the precious variables saved in the cache have kept the same
   2189 # value.
   2190 ac_cache_corrupted=false
   2191 for ac_var in $ac_precious_vars; do
   2192   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2193   eval ac_new_set=\$ac_env_${ac_var}_set
   2194   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2195   eval ac_new_val=\$ac_env_${ac_var}_value
   2196   case $ac_old_set,$ac_new_set in
   2197     set,)
   2198       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2199 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2200       ac_cache_corrupted=: ;;
   2201     ,set)
   2202       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2203 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2204       ac_cache_corrupted=: ;;
   2205     ,);;
   2206     *)
   2207       if test "x$ac_old_val" != "x$ac_new_val"; then
   2208 	# differences in whitespace do not lead to failure.
   2209 	ac_old_val_w=`echo x $ac_old_val`
   2210 	ac_new_val_w=`echo x $ac_new_val`
   2211 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2212 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2213 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2214 	  ac_cache_corrupted=:
   2215 	else
   2216 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2217 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2218 	  eval $ac_var=\$ac_old_val
   2219 	fi
   2220 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2221 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2222 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2223 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2224       fi;;
   2225   esac
   2226   # Pass precious variables to config.status.
   2227   if test "$ac_new_set" = set; then
   2228     case $ac_new_val in
   2229     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2230     *) ac_arg=$ac_var=$ac_new_val ;;
   2231     esac
   2232     case " $ac_configure_args " in
   2233       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2234       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2235     esac
   2236   fi
   2237 done
   2238 if $ac_cache_corrupted; then
   2239   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2241   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2242 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2243   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2244 fi
   2245 ## -------------------- ##
   2246 ## Main body of script. ##
   2247 ## -------------------- ##
   2248 
   2249 ac_ext=c
   2250 ac_cpp='$CPP $CPPFLAGS'
   2251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2254 
   2255 
   2256 
   2257 ac_config_headers="$ac_config_headers config.h"
   2258 
   2259 # Needed for asprintf on GNU libc
   2260 ac_aux_dir=
   2261 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2262   if 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/install.sh"; then
   2267     ac_aux_dir=$ac_dir
   2268     ac_install_sh="$ac_aux_dir/install.sh -c"
   2269     break
   2270   elif test -f "$ac_dir/shtool"; then
   2271     ac_aux_dir=$ac_dir
   2272     ac_install_sh="$ac_aux_dir/shtool install -c"
   2273     break
   2274   fi
   2275 done
   2276 if test -z "$ac_aux_dir"; then
   2277   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2278 fi
   2279 
   2280 # These three variables are undocumented and unsupported,
   2281 # and are intended to be withdrawn in a future Autoconf release.
   2282 # They can cause serious problems if a builder's source tree is in a directory
   2283 # whose full name contains unusual characters.
   2284 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2285 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2286 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2287 
   2288 
   2289 # Expand $ac_aux_dir to an absolute path.
   2290 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2291 
   2292 ac_ext=c
   2293 ac_cpp='$CPP $CPPFLAGS'
   2294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2297 if test -n "$ac_tool_prefix"; then
   2298   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2299 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2301 $as_echo_n "checking for $ac_word... " >&6; }
   2302 if ${ac_cv_prog_CC+:} false; then :
   2303   $as_echo_n "(cached) " >&6
   2304 else
   2305   if test -n "$CC"; then
   2306   ac_cv_prog_CC="$CC" # Let the user override the test.
   2307 else
   2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2309 for as_dir in $PATH
   2310 do
   2311   IFS=$as_save_IFS
   2312   test -z "$as_dir" && as_dir=.
   2313     for ac_exec_ext in '' $ac_executable_extensions; do
   2314   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2315     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2317     break 2
   2318   fi
   2319 done
   2320   done
   2321 IFS=$as_save_IFS
   2322 
   2323 fi
   2324 fi
   2325 CC=$ac_cv_prog_CC
   2326 if test -n "$CC"; then
   2327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2328 $as_echo "$CC" >&6; }
   2329 else
   2330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2331 $as_echo "no" >&6; }
   2332 fi
   2333 
   2334 
   2335 fi
   2336 if test -z "$ac_cv_prog_CC"; then
   2337   ac_ct_CC=$CC
   2338   # Extract the first word of "gcc", so it can be a program name with args.
   2339 set dummy gcc; ac_word=$2
   2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2341 $as_echo_n "checking for $ac_word... " >&6; }
   2342 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2343   $as_echo_n "(cached) " >&6
   2344 else
   2345   if test -n "$ac_ct_CC"; then
   2346   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2347 else
   2348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2349 for as_dir in $PATH
   2350 do
   2351   IFS=$as_save_IFS
   2352   test -z "$as_dir" && as_dir=.
   2353     for ac_exec_ext in '' $ac_executable_extensions; do
   2354   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2355     ac_cv_prog_ac_ct_CC="gcc"
   2356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2357     break 2
   2358   fi
   2359 done
   2360   done
   2361 IFS=$as_save_IFS
   2362 
   2363 fi
   2364 fi
   2365 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2366 if test -n "$ac_ct_CC"; then
   2367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2368 $as_echo "$ac_ct_CC" >&6; }
   2369 else
   2370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2371 $as_echo "no" >&6; }
   2372 fi
   2373 
   2374   if test "x$ac_ct_CC" = x; then
   2375     CC=""
   2376   else
   2377     case $cross_compiling:$ac_tool_warned in
   2378 yes:)
   2379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2381 ac_tool_warned=yes ;;
   2382 esac
   2383     CC=$ac_ct_CC
   2384   fi
   2385 else
   2386   CC="$ac_cv_prog_CC"
   2387 fi
   2388 
   2389 if test -z "$CC"; then
   2390           if test -n "$ac_tool_prefix"; then
   2391     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2392 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2394 $as_echo_n "checking for $ac_word... " >&6; }
   2395 if ${ac_cv_prog_CC+:} false; then :
   2396   $as_echo_n "(cached) " >&6
   2397 else
   2398   if test -n "$CC"; then
   2399   ac_cv_prog_CC="$CC" # Let the user override the test.
   2400 else
   2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2402 for as_dir in $PATH
   2403 do
   2404   IFS=$as_save_IFS
   2405   test -z "$as_dir" && as_dir=.
   2406     for ac_exec_ext in '' $ac_executable_extensions; do
   2407   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2408     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2410     break 2
   2411   fi
   2412 done
   2413   done
   2414 IFS=$as_save_IFS
   2415 
   2416 fi
   2417 fi
   2418 CC=$ac_cv_prog_CC
   2419 if test -n "$CC"; then
   2420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2421 $as_echo "$CC" >&6; }
   2422 else
   2423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2424 $as_echo "no" >&6; }
   2425 fi
   2426 
   2427 
   2428   fi
   2429 fi
   2430 if test -z "$CC"; then
   2431   # Extract the first word of "cc", so it can be a program name with args.
   2432 set dummy cc; ac_word=$2
   2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2434 $as_echo_n "checking for $ac_word... " >&6; }
   2435 if ${ac_cv_prog_CC+:} false; then :
   2436   $as_echo_n "(cached) " >&6
   2437 else
   2438   if test -n "$CC"; then
   2439   ac_cv_prog_CC="$CC" # Let the user override the test.
   2440 else
   2441   ac_prog_rejected=no
   2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2443 for as_dir in $PATH
   2444 do
   2445   IFS=$as_save_IFS
   2446   test -z "$as_dir" && as_dir=.
   2447     for ac_exec_ext in '' $ac_executable_extensions; do
   2448   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2449     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2450        ac_prog_rejected=yes
   2451        continue
   2452      fi
   2453     ac_cv_prog_CC="cc"
   2454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2455     break 2
   2456   fi
   2457 done
   2458   done
   2459 IFS=$as_save_IFS
   2460 
   2461 if test $ac_prog_rejected = yes; then
   2462   # We found a bogon in the path, so make sure we never use it.
   2463   set dummy $ac_cv_prog_CC
   2464   shift
   2465   if test $# != 0; then
   2466     # We chose a different compiler from the bogus one.
   2467     # However, it has the same basename, so the bogon will be chosen
   2468     # first if we set CC to just the basename; use the full file name.
   2469     shift
   2470     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2471   fi
   2472 fi
   2473 fi
   2474 fi
   2475 CC=$ac_cv_prog_CC
   2476 if test -n "$CC"; then
   2477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2478 $as_echo "$CC" >&6; }
   2479 else
   2480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2481 $as_echo "no" >&6; }
   2482 fi
   2483 
   2484 
   2485 fi
   2486 if test -z "$CC"; then
   2487   if test -n "$ac_tool_prefix"; then
   2488   for ac_prog in cl.exe
   2489   do
   2490     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2491 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2493 $as_echo_n "checking for $ac_word... " >&6; }
   2494 if ${ac_cv_prog_CC+:} false; then :
   2495   $as_echo_n "(cached) " >&6
   2496 else
   2497   if test -n "$CC"; then
   2498   ac_cv_prog_CC="$CC" # Let the user override the test.
   2499 else
   2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2501 for as_dir in $PATH
   2502 do
   2503   IFS=$as_save_IFS
   2504   test -z "$as_dir" && as_dir=.
   2505     for ac_exec_ext in '' $ac_executable_extensions; do
   2506   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2507     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2509     break 2
   2510   fi
   2511 done
   2512   done
   2513 IFS=$as_save_IFS
   2514 
   2515 fi
   2516 fi
   2517 CC=$ac_cv_prog_CC
   2518 if test -n "$CC"; then
   2519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2520 $as_echo "$CC" >&6; }
   2521 else
   2522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2523 $as_echo "no" >&6; }
   2524 fi
   2525 
   2526 
   2527     test -n "$CC" && break
   2528   done
   2529 fi
   2530 if test -z "$CC"; then
   2531   ac_ct_CC=$CC
   2532   for ac_prog in cl.exe
   2533 do
   2534   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2535 set dummy $ac_prog; ac_word=$2
   2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2537 $as_echo_n "checking for $ac_word... " >&6; }
   2538 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2539   $as_echo_n "(cached) " >&6
   2540 else
   2541   if test -n "$ac_ct_CC"; then
   2542   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2543 else
   2544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2545 for as_dir in $PATH
   2546 do
   2547   IFS=$as_save_IFS
   2548   test -z "$as_dir" && as_dir=.
   2549     for ac_exec_ext in '' $ac_executable_extensions; do
   2550   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2551     ac_cv_prog_ac_ct_CC="$ac_prog"
   2552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2553     break 2
   2554   fi
   2555 done
   2556   done
   2557 IFS=$as_save_IFS
   2558 
   2559 fi
   2560 fi
   2561 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2562 if test -n "$ac_ct_CC"; then
   2563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2564 $as_echo "$ac_ct_CC" >&6; }
   2565 else
   2566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2567 $as_echo "no" >&6; }
   2568 fi
   2569 
   2570 
   2571   test -n "$ac_ct_CC" && break
   2572 done
   2573 
   2574   if test "x$ac_ct_CC" = x; then
   2575     CC=""
   2576   else
   2577     case $cross_compiling:$ac_tool_warned in
   2578 yes:)
   2579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2581 ac_tool_warned=yes ;;
   2582 esac
   2583     CC=$ac_ct_CC
   2584   fi
   2585 fi
   2586 
   2587 fi
   2588 
   2589 
   2590 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2592 as_fn_error $? "no acceptable C compiler found in \$PATH
   2593 See \`config.log' for more details" "$LINENO" 5; }
   2594 
   2595 # Provide some information about the compiler.
   2596 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2597 set X $ac_compile
   2598 ac_compiler=$2
   2599 for ac_option in --version -v -V -qversion; do
   2600   { { ac_try="$ac_compiler $ac_option >&5"
   2601 case "(($ac_try" in
   2602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2603   *) ac_try_echo=$ac_try;;
   2604 esac
   2605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2606 $as_echo "$ac_try_echo"; } >&5
   2607   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2608   ac_status=$?
   2609   if test -s conftest.err; then
   2610     sed '10a\
   2611 ... rest of stderr output deleted ...
   2612          10q' conftest.err >conftest.er1
   2613     cat conftest.er1 >&5
   2614   fi
   2615   rm -f conftest.er1 conftest.err
   2616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2617   test $ac_status = 0; }
   2618 done
   2619 
   2620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2621 /* end confdefs.h.  */
   2622 
   2623 int
   2624 main ()
   2625 {
   2626 
   2627   ;
   2628   return 0;
   2629 }
   2630 _ACEOF
   2631 ac_clean_files_save=$ac_clean_files
   2632 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2633 # Try to create an executable without -o first, disregard a.out.
   2634 # It will help us diagnose broken compilers, and finding out an intuition
   2635 # of exeext.
   2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2637 $as_echo_n "checking whether the C compiler works... " >&6; }
   2638 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2639 
   2640 # The possible output files:
   2641 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2642 
   2643 ac_rmfiles=
   2644 for ac_file in $ac_files
   2645 do
   2646   case $ac_file in
   2647     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2648     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2649   esac
   2650 done
   2651 rm -f $ac_rmfiles
   2652 
   2653 if { { ac_try="$ac_link_default"
   2654 case "(($ac_try" in
   2655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2656   *) ac_try_echo=$ac_try;;
   2657 esac
   2658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2659 $as_echo "$ac_try_echo"; } >&5
   2660   (eval "$ac_link_default") 2>&5
   2661   ac_status=$?
   2662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2663   test $ac_status = 0; }; then :
   2664   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2665 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2666 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2667 # so that the user can short-circuit this test for compilers unknown to
   2668 # Autoconf.
   2669 for ac_file in $ac_files ''
   2670 do
   2671   test -f "$ac_file" || continue
   2672   case $ac_file in
   2673     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2674 	;;
   2675     [ab].out )
   2676 	# We found the default executable, but exeext='' is most
   2677 	# certainly right.
   2678 	break;;
   2679     *.* )
   2680 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2681 	then :; else
   2682 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2683 	fi
   2684 	# We set ac_cv_exeext here because the later test for it is not
   2685 	# safe: cross compilers may not add the suffix if given an `-o'
   2686 	# argument, so we may need to know it at that point already.
   2687 	# Even if this section looks crufty: it has the advantage of
   2688 	# actually working.
   2689 	break;;
   2690     * )
   2691 	break;;
   2692   esac
   2693 done
   2694 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2695 
   2696 else
   2697   ac_file=''
   2698 fi
   2699 if test -z "$ac_file"; then :
   2700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2701 $as_echo "no" >&6; }
   2702 $as_echo "$as_me: failed program was:" >&5
   2703 sed 's/^/| /' conftest.$ac_ext >&5
   2704 
   2705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2707 as_fn_error 77 "C compiler cannot create executables
   2708 See \`config.log' for more details" "$LINENO" 5; }
   2709 else
   2710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2711 $as_echo "yes" >&6; }
   2712 fi
   2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2714 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2716 $as_echo "$ac_file" >&6; }
   2717 ac_exeext=$ac_cv_exeext
   2718 
   2719 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2720 ac_clean_files=$ac_clean_files_save
   2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2722 $as_echo_n "checking for suffix of executables... " >&6; }
   2723 if { { ac_try="$ac_link"
   2724 case "(($ac_try" in
   2725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2726   *) ac_try_echo=$ac_try;;
   2727 esac
   2728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2729 $as_echo "$ac_try_echo"; } >&5
   2730   (eval "$ac_link") 2>&5
   2731   ac_status=$?
   2732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2733   test $ac_status = 0; }; then :
   2734   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2735 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2736 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2737 # `rm'.
   2738 for ac_file in conftest.exe conftest conftest.*; do
   2739   test -f "$ac_file" || continue
   2740   case $ac_file in
   2741     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2742     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2743 	  break;;
   2744     * ) break;;
   2745   esac
   2746 done
   2747 else
   2748   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2750 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2751 See \`config.log' for more details" "$LINENO" 5; }
   2752 fi
   2753 rm -f conftest conftest$ac_cv_exeext
   2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2755 $as_echo "$ac_cv_exeext" >&6; }
   2756 
   2757 rm -f conftest.$ac_ext
   2758 EXEEXT=$ac_cv_exeext
   2759 ac_exeext=$EXEEXT
   2760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2761 /* end confdefs.h.  */
   2762 #include <stdio.h>
   2763 int
   2764 main ()
   2765 {
   2766 FILE *f = fopen ("conftest.out", "w");
   2767  return ferror (f) || fclose (f) != 0;
   2768 
   2769   ;
   2770   return 0;
   2771 }
   2772 _ACEOF
   2773 ac_clean_files="$ac_clean_files conftest.out"
   2774 # Check that the compiler produces executables we can run.  If not, either
   2775 # the compiler is broken, or we cross compile.
   2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2777 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2778 if test "$cross_compiling" != yes; then
   2779   { { ac_try="$ac_link"
   2780 case "(($ac_try" in
   2781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2782   *) ac_try_echo=$ac_try;;
   2783 esac
   2784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2785 $as_echo "$ac_try_echo"; } >&5
   2786   (eval "$ac_link") 2>&5
   2787   ac_status=$?
   2788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2789   test $ac_status = 0; }
   2790   if { ac_try='./conftest$ac_cv_exeext'
   2791   { { case "(($ac_try" in
   2792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2793   *) ac_try_echo=$ac_try;;
   2794 esac
   2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2796 $as_echo "$ac_try_echo"; } >&5
   2797   (eval "$ac_try") 2>&5
   2798   ac_status=$?
   2799   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2800   test $ac_status = 0; }; }; then
   2801     cross_compiling=no
   2802   else
   2803     if test "$cross_compiling" = maybe; then
   2804 	cross_compiling=yes
   2805     else
   2806 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2808 as_fn_error $? "cannot run C compiled programs.
   2809 If you meant to cross compile, use \`--host'.
   2810 See \`config.log' for more details" "$LINENO" 5; }
   2811     fi
   2812   fi
   2813 fi
   2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2815 $as_echo "$cross_compiling" >&6; }
   2816 
   2817 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2818 ac_clean_files=$ac_clean_files_save
   2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2820 $as_echo_n "checking for suffix of object files... " >&6; }
   2821 if ${ac_cv_objext+:} false; then :
   2822   $as_echo_n "(cached) " >&6
   2823 else
   2824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2825 /* end confdefs.h.  */
   2826 
   2827 int
   2828 main ()
   2829 {
   2830 
   2831   ;
   2832   return 0;
   2833 }
   2834 _ACEOF
   2835 rm -f conftest.o conftest.obj
   2836 if { { ac_try="$ac_compile"
   2837 case "(($ac_try" in
   2838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2839   *) ac_try_echo=$ac_try;;
   2840 esac
   2841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2842 $as_echo "$ac_try_echo"; } >&5
   2843   (eval "$ac_compile") 2>&5
   2844   ac_status=$?
   2845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2846   test $ac_status = 0; }; then :
   2847   for ac_file in conftest.o conftest.obj conftest.*; do
   2848   test -f "$ac_file" || continue;
   2849   case $ac_file in
   2850     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2851     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2852        break;;
   2853   esac
   2854 done
   2855 else
   2856   $as_echo "$as_me: failed program was:" >&5
   2857 sed 's/^/| /' conftest.$ac_ext >&5
   2858 
   2859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2861 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2862 See \`config.log' for more details" "$LINENO" 5; }
   2863 fi
   2864 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2865 fi
   2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2867 $as_echo "$ac_cv_objext" >&6; }
   2868 OBJEXT=$ac_cv_objext
   2869 ac_objext=$OBJEXT
   2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2871 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2872 if ${ac_cv_c_compiler_gnu+:} false; then :
   2873   $as_echo_n "(cached) " >&6
   2874 else
   2875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2876 /* end confdefs.h.  */
   2877 
   2878 int
   2879 main ()
   2880 {
   2881 #ifndef __GNUC__
   2882        choke me
   2883 #endif
   2884 
   2885   ;
   2886   return 0;
   2887 }
   2888 _ACEOF
   2889 if ac_fn_c_try_compile "$LINENO"; then :
   2890   ac_compiler_gnu=yes
   2891 else
   2892   ac_compiler_gnu=no
   2893 fi
   2894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2895 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2896 
   2897 fi
   2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2899 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2900 if test $ac_compiler_gnu = yes; then
   2901   GCC=yes
   2902 else
   2903   GCC=
   2904 fi
   2905 ac_test_CFLAGS=${CFLAGS+set}
   2906 ac_save_CFLAGS=$CFLAGS
   2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2908 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2909 if ${ac_cv_prog_cc_g+:} false; then :
   2910   $as_echo_n "(cached) " >&6
   2911 else
   2912   ac_save_c_werror_flag=$ac_c_werror_flag
   2913    ac_c_werror_flag=yes
   2914    ac_cv_prog_cc_g=no
   2915    CFLAGS="-g"
   2916    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2917 /* end confdefs.h.  */
   2918 
   2919 int
   2920 main ()
   2921 {
   2922 
   2923   ;
   2924   return 0;
   2925 }
   2926 _ACEOF
   2927 if ac_fn_c_try_compile "$LINENO"; then :
   2928   ac_cv_prog_cc_g=yes
   2929 else
   2930   CFLAGS=""
   2931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2932 /* end confdefs.h.  */
   2933 
   2934 int
   2935 main ()
   2936 {
   2937 
   2938   ;
   2939   return 0;
   2940 }
   2941 _ACEOF
   2942 if ac_fn_c_try_compile "$LINENO"; then :
   2943 
   2944 else
   2945   ac_c_werror_flag=$ac_save_c_werror_flag
   2946 	 CFLAGS="-g"
   2947 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2948 /* end confdefs.h.  */
   2949 
   2950 int
   2951 main ()
   2952 {
   2953 
   2954   ;
   2955   return 0;
   2956 }
   2957 _ACEOF
   2958 if ac_fn_c_try_compile "$LINENO"; then :
   2959   ac_cv_prog_cc_g=yes
   2960 fi
   2961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2962 fi
   2963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2964 fi
   2965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2966    ac_c_werror_flag=$ac_save_c_werror_flag
   2967 fi
   2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2969 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2970 if test "$ac_test_CFLAGS" = set; then
   2971   CFLAGS=$ac_save_CFLAGS
   2972 elif test $ac_cv_prog_cc_g = yes; then
   2973   if test "$GCC" = yes; then
   2974     CFLAGS="-g -O2"
   2975   else
   2976     CFLAGS="-g"
   2977   fi
   2978 else
   2979   if test "$GCC" = yes; then
   2980     CFLAGS="-O2"
   2981   else
   2982     CFLAGS=
   2983   fi
   2984 fi
   2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2986 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2987 if ${ac_cv_prog_cc_c89+:} false; then :
   2988   $as_echo_n "(cached) " >&6
   2989 else
   2990   ac_cv_prog_cc_c89=no
   2991 ac_save_CC=$CC
   2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2993 /* end confdefs.h.  */
   2994 #include <stdarg.h>
   2995 #include <stdio.h>
   2996 struct stat;
   2997 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2998 struct buf { int x; };
   2999 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3000 static char *e (p, i)
   3001      char **p;
   3002      int i;
   3003 {
   3004   return p[i];
   3005 }
   3006 static char *f (char * (*g) (char **, int), char **p, ...)
   3007 {
   3008   char *s;
   3009   va_list v;
   3010   va_start (v,p);
   3011   s = g (p, va_arg (v,int));
   3012   va_end (v);
   3013   return s;
   3014 }
   3015 
   3016 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3017    function prototypes and stuff, but not '\xHH' hex character constants.
   3018    These don't provoke an error unfortunately, instead are silently treated
   3019    as 'x'.  The following induces an error, until -std is added to get
   3020    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3021    array size at least.  It's necessary to write '\x00'==0 to get something
   3022    that's true only with -std.  */
   3023 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3024 
   3025 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3026    inside strings and character constants.  */
   3027 #define FOO(x) 'x'
   3028 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3029 
   3030 int test (int i, double x);
   3031 struct s1 {int (*f) (int a);};
   3032 struct s2 {int (*f) (double a);};
   3033 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3034 int argc;
   3035 char **argv;
   3036 int
   3037 main ()
   3038 {
   3039 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3040   ;
   3041   return 0;
   3042 }
   3043 _ACEOF
   3044 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3045 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3046 do
   3047   CC="$ac_save_CC $ac_arg"
   3048   if ac_fn_c_try_compile "$LINENO"; then :
   3049   ac_cv_prog_cc_c89=$ac_arg
   3050 fi
   3051 rm -f core conftest.err conftest.$ac_objext
   3052   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3053 done
   3054 rm -f conftest.$ac_ext
   3055 CC=$ac_save_CC
   3056 
   3057 fi
   3058 # AC_CACHE_VAL
   3059 case "x$ac_cv_prog_cc_c89" in
   3060   x)
   3061     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3062 $as_echo "none needed" >&6; } ;;
   3063   xno)
   3064     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3065 $as_echo "unsupported" >&6; } ;;
   3066   *)
   3067     CC="$CC $ac_cv_prog_cc_c89"
   3068     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3069 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3070 esac
   3071 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3072 
   3073 fi
   3074 
   3075 ac_ext=c
   3076 ac_cpp='$CPP $CPPFLAGS'
   3077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3080 
   3081 ac_ext=c
   3082 ac_cpp='$CPP $CPPFLAGS'
   3083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3087 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3088 if ${am_cv_prog_cc_c_o+:} false; then :
   3089   $as_echo_n "(cached) " >&6
   3090 else
   3091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3092 /* end confdefs.h.  */
   3093 
   3094 int
   3095 main ()
   3096 {
   3097 
   3098   ;
   3099   return 0;
   3100 }
   3101 _ACEOF
   3102   # Make sure it works both with $CC and with simple cc.
   3103   # Following AC_PROG_CC_C_O, we do the test twice because some
   3104   # compilers refuse to overwrite an existing .o file with -o,
   3105   # though they will create one.
   3106   am_cv_prog_cc_c_o=yes
   3107   for am_i in 1 2; do
   3108     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3109    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3110    ac_status=$?
   3111    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3112    (exit $ac_status); } \
   3113          && test -f conftest2.$ac_objext; then
   3114       : OK
   3115     else
   3116       am_cv_prog_cc_c_o=no
   3117       break
   3118     fi
   3119   done
   3120   rm -f core conftest*
   3121   unset am_i
   3122 fi
   3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3124 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3125 if test "$am_cv_prog_cc_c_o" != yes; then
   3126    # Losing compiler, so override with the script.
   3127    # FIXME: It is wrong to rewrite CC.
   3128    # But if we don't then we get into trouble of one sort or another.
   3129    # A longer-term fix would be to have automake use am__CC in this case,
   3130    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3131    CC="$am_aux_dir/compile $CC"
   3132 fi
   3133 ac_ext=c
   3134 ac_cpp='$CPP $CPPFLAGS'
   3135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3138 
   3139 
   3140 
   3141 ac_ext=c
   3142 ac_cpp='$CPP $CPPFLAGS'
   3143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3147 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3148 # On Suns, sometimes $CPP names a directory.
   3149 if test -n "$CPP" && test -d "$CPP"; then
   3150   CPP=
   3151 fi
   3152 if test -z "$CPP"; then
   3153   if ${ac_cv_prog_CPP+:} false; then :
   3154   $as_echo_n "(cached) " >&6
   3155 else
   3156       # Double quotes because CPP needs to be expanded
   3157     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3158     do
   3159       ac_preproc_ok=false
   3160 for ac_c_preproc_warn_flag in '' yes
   3161 do
   3162   # Use a header file that comes with gcc, so configuring glibc
   3163   # with a fresh cross-compiler works.
   3164   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3165   # <limits.h> exists even on freestanding compilers.
   3166   # On the NeXT, cc -E runs the code through the compiler's parser,
   3167   # not just through cpp. "Syntax error" is here to catch this case.
   3168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3169 /* end confdefs.h.  */
   3170 #ifdef __STDC__
   3171 # include <limits.h>
   3172 #else
   3173 # include <assert.h>
   3174 #endif
   3175 		     Syntax error
   3176 _ACEOF
   3177 if ac_fn_c_try_cpp "$LINENO"; then :
   3178 
   3179 else
   3180   # Broken: fails on valid input.
   3181 continue
   3182 fi
   3183 rm -f conftest.err conftest.i conftest.$ac_ext
   3184 
   3185   # OK, works on sane cases.  Now check whether nonexistent headers
   3186   # can be detected and how.
   3187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3188 /* end confdefs.h.  */
   3189 #include <ac_nonexistent.h>
   3190 _ACEOF
   3191 if ac_fn_c_try_cpp "$LINENO"; then :
   3192   # Broken: success on invalid input.
   3193 continue
   3194 else
   3195   # Passes both tests.
   3196 ac_preproc_ok=:
   3197 break
   3198 fi
   3199 rm -f conftest.err conftest.i conftest.$ac_ext
   3200 
   3201 done
   3202 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3203 rm -f conftest.i conftest.err conftest.$ac_ext
   3204 if $ac_preproc_ok; then :
   3205   break
   3206 fi
   3207 
   3208     done
   3209     ac_cv_prog_CPP=$CPP
   3210 
   3211 fi
   3212   CPP=$ac_cv_prog_CPP
   3213 else
   3214   ac_cv_prog_CPP=$CPP
   3215 fi
   3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3217 $as_echo "$CPP" >&6; }
   3218 ac_preproc_ok=false
   3219 for ac_c_preproc_warn_flag in '' yes
   3220 do
   3221   # Use a header file that comes with gcc, so configuring glibc
   3222   # with a fresh cross-compiler works.
   3223   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3224   # <limits.h> exists even on freestanding compilers.
   3225   # On the NeXT, cc -E runs the code through the compiler's parser,
   3226   # not just through cpp. "Syntax error" is here to catch this case.
   3227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3228 /* end confdefs.h.  */
   3229 #ifdef __STDC__
   3230 # include <limits.h>
   3231 #else
   3232 # include <assert.h>
   3233 #endif
   3234 		     Syntax error
   3235 _ACEOF
   3236 if ac_fn_c_try_cpp "$LINENO"; then :
   3237 
   3238 else
   3239   # Broken: fails on valid input.
   3240 continue
   3241 fi
   3242 rm -f conftest.err conftest.i conftest.$ac_ext
   3243 
   3244   # OK, works on sane cases.  Now check whether nonexistent headers
   3245   # can be detected and how.
   3246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3247 /* end confdefs.h.  */
   3248 #include <ac_nonexistent.h>
   3249 _ACEOF
   3250 if ac_fn_c_try_cpp "$LINENO"; then :
   3251   # Broken: success on invalid input.
   3252 continue
   3253 else
   3254   # Passes both tests.
   3255 ac_preproc_ok=:
   3256 break
   3257 fi
   3258 rm -f conftest.err conftest.i conftest.$ac_ext
   3259 
   3260 done
   3261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3262 rm -f conftest.i conftest.err conftest.$ac_ext
   3263 if $ac_preproc_ok; then :
   3264 
   3265 else
   3266   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3268 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3269 See \`config.log' for more details" "$LINENO" 5; }
   3270 fi
   3271 
   3272 ac_ext=c
   3273 ac_cpp='$CPP $CPPFLAGS'
   3274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3277 
   3278 
   3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3280 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3281 if ${ac_cv_path_GREP+:} false; then :
   3282   $as_echo_n "(cached) " >&6
   3283 else
   3284   if test -z "$GREP"; then
   3285   ac_path_GREP_found=false
   3286   # Loop through the user's path and test for each of PROGNAME-LIST
   3287   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3288 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3289 do
   3290   IFS=$as_save_IFS
   3291   test -z "$as_dir" && as_dir=.
   3292     for ac_prog in grep ggrep; do
   3293     for ac_exec_ext in '' $ac_executable_extensions; do
   3294       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3295       as_fn_executable_p "$ac_path_GREP" || continue
   3296 # Check for GNU ac_path_GREP and select it if it is found.
   3297   # Check for GNU $ac_path_GREP
   3298 case `"$ac_path_GREP" --version 2>&1` in
   3299 *GNU*)
   3300   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3301 *)
   3302   ac_count=0
   3303   $as_echo_n 0123456789 >"conftest.in"
   3304   while :
   3305   do
   3306     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3307     mv "conftest.tmp" "conftest.in"
   3308     cp "conftest.in" "conftest.nl"
   3309     $as_echo 'GREP' >> "conftest.nl"
   3310     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3311     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3312     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3313     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3314       # Best one so far, save it but keep looking for a better one
   3315       ac_cv_path_GREP="$ac_path_GREP"
   3316       ac_path_GREP_max=$ac_count
   3317     fi
   3318     # 10*(2^10) chars as input seems more than enough
   3319     test $ac_count -gt 10 && break
   3320   done
   3321   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3322 esac
   3323 
   3324       $ac_path_GREP_found && break 3
   3325     done
   3326   done
   3327   done
   3328 IFS=$as_save_IFS
   3329   if test -z "$ac_cv_path_GREP"; then
   3330     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3331   fi
   3332 else
   3333   ac_cv_path_GREP=$GREP
   3334 fi
   3335 
   3336 fi
   3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3338 $as_echo "$ac_cv_path_GREP" >&6; }
   3339  GREP="$ac_cv_path_GREP"
   3340 
   3341 
   3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3343 $as_echo_n "checking for egrep... " >&6; }
   3344 if ${ac_cv_path_EGREP+:} false; then :
   3345   $as_echo_n "(cached) " >&6
   3346 else
   3347   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3348    then ac_cv_path_EGREP="$GREP -E"
   3349    else
   3350      if test -z "$EGREP"; then
   3351   ac_path_EGREP_found=false
   3352   # Loop through the user's path and test for each of PROGNAME-LIST
   3353   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3354 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3355 do
   3356   IFS=$as_save_IFS
   3357   test -z "$as_dir" && as_dir=.
   3358     for ac_prog in egrep; do
   3359     for ac_exec_ext in '' $ac_executable_extensions; do
   3360       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3361       as_fn_executable_p "$ac_path_EGREP" || continue
   3362 # Check for GNU ac_path_EGREP and select it if it is found.
   3363   # Check for GNU $ac_path_EGREP
   3364 case `"$ac_path_EGREP" --version 2>&1` in
   3365 *GNU*)
   3366   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3367 *)
   3368   ac_count=0
   3369   $as_echo_n 0123456789 >"conftest.in"
   3370   while :
   3371   do
   3372     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3373     mv "conftest.tmp" "conftest.in"
   3374     cp "conftest.in" "conftest.nl"
   3375     $as_echo 'EGREP' >> "conftest.nl"
   3376     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3377     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3378     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3379     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3380       # Best one so far, save it but keep looking for a better one
   3381       ac_cv_path_EGREP="$ac_path_EGREP"
   3382       ac_path_EGREP_max=$ac_count
   3383     fi
   3384     # 10*(2^10) chars as input seems more than enough
   3385     test $ac_count -gt 10 && break
   3386   done
   3387   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3388 esac
   3389 
   3390       $ac_path_EGREP_found && break 3
   3391     done
   3392   done
   3393   done
   3394 IFS=$as_save_IFS
   3395   if test -z "$ac_cv_path_EGREP"; then
   3396     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3397   fi
   3398 else
   3399   ac_cv_path_EGREP=$EGREP
   3400 fi
   3401 
   3402    fi
   3403 fi
   3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3405 $as_echo "$ac_cv_path_EGREP" >&6; }
   3406  EGREP="$ac_cv_path_EGREP"
   3407 
   3408 
   3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3410 $as_echo_n "checking for ANSI C header files... " >&6; }
   3411 if ${ac_cv_header_stdc+:} false; then :
   3412   $as_echo_n "(cached) " >&6
   3413 else
   3414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3415 /* end confdefs.h.  */
   3416 #include <stdlib.h>
   3417 #include <stdarg.h>
   3418 #include <string.h>
   3419 #include <float.h>
   3420 
   3421 int
   3422 main ()
   3423 {
   3424 
   3425   ;
   3426   return 0;
   3427 }
   3428 _ACEOF
   3429 if ac_fn_c_try_compile "$LINENO"; then :
   3430   ac_cv_header_stdc=yes
   3431 else
   3432   ac_cv_header_stdc=no
   3433 fi
   3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3435 
   3436 if test $ac_cv_header_stdc = yes; then
   3437   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3439 /* end confdefs.h.  */
   3440 #include <string.h>
   3441 
   3442 _ACEOF
   3443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3444   $EGREP "memchr" >/dev/null 2>&1; then :
   3445 
   3446 else
   3447   ac_cv_header_stdc=no
   3448 fi
   3449 rm -f conftest*
   3450 
   3451 fi
   3452 
   3453 if test $ac_cv_header_stdc = yes; then
   3454   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3456 /* end confdefs.h.  */
   3457 #include <stdlib.h>
   3458 
   3459 _ACEOF
   3460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3461   $EGREP "free" >/dev/null 2>&1; then :
   3462 
   3463 else
   3464   ac_cv_header_stdc=no
   3465 fi
   3466 rm -f conftest*
   3467 
   3468 fi
   3469 
   3470 if test $ac_cv_header_stdc = yes; then
   3471   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3472   if test "$cross_compiling" = yes; then :
   3473   :
   3474 else
   3475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3476 /* end confdefs.h.  */
   3477 #include <ctype.h>
   3478 #include <stdlib.h>
   3479 #if ((' ' & 0x0FF) == 0x020)
   3480 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3481 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3482 #else
   3483 # define ISLOWER(c) \
   3484 		   (('a' <= (c) && (c) <= 'i') \
   3485 		     || ('j' <= (c) && (c) <= 'r') \
   3486 		     || ('s' <= (c) && (c) <= 'z'))
   3487 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3488 #endif
   3489 
   3490 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3491 int
   3492 main ()
   3493 {
   3494   int i;
   3495   for (i = 0; i < 256; i++)
   3496     if (XOR (islower (i), ISLOWER (i))
   3497 	|| toupper (i) != TOUPPER (i))
   3498       return 2;
   3499   return 0;
   3500 }
   3501 _ACEOF
   3502 if ac_fn_c_try_run "$LINENO"; then :
   3503 
   3504 else
   3505   ac_cv_header_stdc=no
   3506 fi
   3507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3508   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3509 fi
   3510 
   3511 fi
   3512 fi
   3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3514 $as_echo "$ac_cv_header_stdc" >&6; }
   3515 if test $ac_cv_header_stdc = yes; then
   3516 
   3517 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3518 
   3519 fi
   3520 
   3521 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3522 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3523 		  inttypes.h stdint.h unistd.h
   3524 do :
   3525   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3526 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3527 "
   3528 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3529   cat >>confdefs.h <<_ACEOF
   3530 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3531 _ACEOF
   3532 
   3533 fi
   3534 
   3535 done
   3536 
   3537 
   3538 
   3539   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3540 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3541   MINIX=yes
   3542 else
   3543   MINIX=
   3544 fi
   3545 
   3546 
   3547   if test "$MINIX" = yes; then
   3548 
   3549 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3550 
   3551 
   3552 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3553 
   3554 
   3555 $as_echo "#define _MINIX 1" >>confdefs.h
   3556 
   3557   fi
   3558 
   3559 
   3560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3561 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3562 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3563   $as_echo_n "(cached) " >&6
   3564 else
   3565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3566 /* end confdefs.h.  */
   3567 
   3568 #         define __EXTENSIONS__ 1
   3569           $ac_includes_default
   3570 int
   3571 main ()
   3572 {
   3573 
   3574   ;
   3575   return 0;
   3576 }
   3577 _ACEOF
   3578 if ac_fn_c_try_compile "$LINENO"; then :
   3579   ac_cv_safe_to_define___extensions__=yes
   3580 else
   3581   ac_cv_safe_to_define___extensions__=no
   3582 fi
   3583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3584 fi
   3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3586 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3587   test $ac_cv_safe_to_define___extensions__ = yes &&
   3588     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3589 
   3590   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3591 
   3592   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3593 
   3594   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3595 
   3596   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3597 
   3598 
   3599 
   3600 # Initialize Automake
   3601 am__api_version='1.15'
   3602 
   3603 # Find a good install program.  We prefer a C program (faster),
   3604 # so one script is as good as another.  But avoid the broken or
   3605 # incompatible versions:
   3606 # SysV /etc/install, /usr/sbin/install
   3607 # SunOS /usr/etc/install
   3608 # IRIX /sbin/install
   3609 # AIX /bin/install
   3610 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3611 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3612 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3613 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3614 # OS/2's system install, which has a completely different semantic
   3615 # ./install, which can be erroneously created by make from ./install.sh.
   3616 # Reject install programs that cannot install multiple files.
   3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3618 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3619 if test -z "$INSTALL"; then
   3620 if ${ac_cv_path_install+:} false; then :
   3621   $as_echo_n "(cached) " >&6
   3622 else
   3623   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3624 for as_dir in $PATH
   3625 do
   3626   IFS=$as_save_IFS
   3627   test -z "$as_dir" && as_dir=.
   3628     # Account for people who put trailing slashes in PATH elements.
   3629 case $as_dir/ in #((
   3630   ./ | .// | /[cC]/* | \
   3631   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3632   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3633   /usr/ucb/* ) ;;
   3634   *)
   3635     # OSF1 and SCO ODT 3.0 have their own names for install.
   3636     # Don't use installbsd from OSF since it installs stuff as root
   3637     # by default.
   3638     for ac_prog in ginstall scoinst install; do
   3639       for ac_exec_ext in '' $ac_executable_extensions; do
   3640 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3641 	  if test $ac_prog = install &&
   3642 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3643 	    # AIX install.  It has an incompatible calling convention.
   3644 	    :
   3645 	  elif test $ac_prog = install &&
   3646 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3647 	    # program-specific install script used by HP pwplus--don't use.
   3648 	    :
   3649 	  else
   3650 	    rm -rf conftest.one conftest.two conftest.dir
   3651 	    echo one > conftest.one
   3652 	    echo two > conftest.two
   3653 	    mkdir conftest.dir
   3654 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3655 	      test -s conftest.one && test -s conftest.two &&
   3656 	      test -s conftest.dir/conftest.one &&
   3657 	      test -s conftest.dir/conftest.two
   3658 	    then
   3659 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3660 	      break 3
   3661 	    fi
   3662 	  fi
   3663 	fi
   3664       done
   3665     done
   3666     ;;
   3667 esac
   3668 
   3669   done
   3670 IFS=$as_save_IFS
   3671 
   3672 rm -rf conftest.one conftest.two conftest.dir
   3673 
   3674 fi
   3675   if test "${ac_cv_path_install+set}" = set; then
   3676     INSTALL=$ac_cv_path_install
   3677   else
   3678     # As a last resort, use the slow shell script.  Don't cache a
   3679     # value for INSTALL within a source directory, because that will
   3680     # break other packages using the cache if that directory is
   3681     # removed, or if the value is a relative name.
   3682     INSTALL=$ac_install_sh
   3683   fi
   3684 fi
   3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3686 $as_echo "$INSTALL" >&6; }
   3687 
   3688 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3689 # It thinks the first close brace ends the variable substitution.
   3690 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3691 
   3692 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3693 
   3694 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3695 
   3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3697 $as_echo_n "checking whether build environment is sane... " >&6; }
   3698 # Reject unsafe characters in $srcdir or the absolute working directory
   3699 # name.  Accept space and tab only in the latter.
   3700 am_lf='
   3701 '
   3702 case `pwd` in
   3703   *[\\\"\#\$\&\'\`$am_lf]*)
   3704     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3705 esac
   3706 case $srcdir in
   3707   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3708     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3709 esac
   3710 
   3711 # Do 'set' in a subshell so we don't clobber the current shell's
   3712 # arguments.  Must try -L first in case configure is actually a
   3713 # symlink; some systems play weird games with the mod time of symlinks
   3714 # (eg FreeBSD returns the mod time of the symlink's containing
   3715 # directory).
   3716 if (
   3717    am_has_slept=no
   3718    for am_try in 1 2; do
   3719      echo "timestamp, slept: $am_has_slept" > conftest.file
   3720      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3721      if test "$*" = "X"; then
   3722 	# -L didn't work.
   3723 	set X `ls -t "$srcdir/configure" conftest.file`
   3724      fi
   3725      if test "$*" != "X $srcdir/configure conftest.file" \
   3726 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3727 
   3728 	# If neither matched, then we have a broken ls.  This can happen
   3729 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3730 	# broken ls alias from the environment.  This has actually
   3731 	# happened.  Such a system could not be considered "sane".
   3732 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3733   alias in your environment" "$LINENO" 5
   3734      fi
   3735      if test "$2" = conftest.file || test $am_try -eq 2; then
   3736        break
   3737      fi
   3738      # Just in case.
   3739      sleep 1
   3740      am_has_slept=yes
   3741    done
   3742    test "$2" = conftest.file
   3743    )
   3744 then
   3745    # Ok.
   3746    :
   3747 else
   3748    as_fn_error $? "newly created file is older than distributed files!
   3749 Check your system clock" "$LINENO" 5
   3750 fi
   3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3752 $as_echo "yes" >&6; }
   3753 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3754 # generated files are strictly newer.
   3755 am_sleep_pid=
   3756 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3757   ( sleep 1 ) &
   3758   am_sleep_pid=$!
   3759 fi
   3760 
   3761 rm -f conftest.file
   3762 
   3763 test "$program_prefix" != NONE &&
   3764   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3765 # Use a double $ so make ignores it.
   3766 test "$program_suffix" != NONE &&
   3767   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3768 # Double any \ or $.
   3769 # By default was `s,x,x', remove it if useless.
   3770 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3771 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3772 
   3773 if test x"${MISSING+set}" != xset; then
   3774   case $am_aux_dir in
   3775   *\ * | *\	*)
   3776     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3777   *)
   3778     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3779   esac
   3780 fi
   3781 # Use eval to expand $SHELL
   3782 if eval "$MISSING --is-lightweight"; then
   3783   am_missing_run="$MISSING "
   3784 else
   3785   am_missing_run=
   3786   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3787 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3788 fi
   3789 
   3790 if test x"${install_sh+set}" != xset; then
   3791   case $am_aux_dir in
   3792   *\ * | *\	*)
   3793     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3794   *)
   3795     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3796   esac
   3797 fi
   3798 
   3799 # Installed binaries are usually stripped using 'strip' when the user
   3800 # run "make install-strip".  However 'strip' might not be the right
   3801 # tool to use in cross-compilation environments, therefore Automake
   3802 # will honor the 'STRIP' environment variable to overrule this program.
   3803 if test "$cross_compiling" != no; then
   3804   if test -n "$ac_tool_prefix"; then
   3805   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3806 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3808 $as_echo_n "checking for $ac_word... " >&6; }
   3809 if ${ac_cv_prog_STRIP+:} false; then :
   3810   $as_echo_n "(cached) " >&6
   3811 else
   3812   if test -n "$STRIP"; then
   3813   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3814 else
   3815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3816 for as_dir in $PATH
   3817 do
   3818   IFS=$as_save_IFS
   3819   test -z "$as_dir" && as_dir=.
   3820     for ac_exec_ext in '' $ac_executable_extensions; do
   3821   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3822     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3824     break 2
   3825   fi
   3826 done
   3827   done
   3828 IFS=$as_save_IFS
   3829 
   3830 fi
   3831 fi
   3832 STRIP=$ac_cv_prog_STRIP
   3833 if test -n "$STRIP"; then
   3834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3835 $as_echo "$STRIP" >&6; }
   3836 else
   3837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3838 $as_echo "no" >&6; }
   3839 fi
   3840 
   3841 
   3842 fi
   3843 if test -z "$ac_cv_prog_STRIP"; then
   3844   ac_ct_STRIP=$STRIP
   3845   # Extract the first word of "strip", so it can be a program name with args.
   3846 set dummy strip; ac_word=$2
   3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3848 $as_echo_n "checking for $ac_word... " >&6; }
   3849 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3850   $as_echo_n "(cached) " >&6
   3851 else
   3852   if test -n "$ac_ct_STRIP"; then
   3853   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3854 else
   3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3856 for as_dir in $PATH
   3857 do
   3858   IFS=$as_save_IFS
   3859   test -z "$as_dir" && as_dir=.
   3860     for ac_exec_ext in '' $ac_executable_extensions; do
   3861   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3862     ac_cv_prog_ac_ct_STRIP="strip"
   3863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3864     break 2
   3865   fi
   3866 done
   3867   done
   3868 IFS=$as_save_IFS
   3869 
   3870 fi
   3871 fi
   3872 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3873 if test -n "$ac_ct_STRIP"; then
   3874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3875 $as_echo "$ac_ct_STRIP" >&6; }
   3876 else
   3877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3878 $as_echo "no" >&6; }
   3879 fi
   3880 
   3881   if test "x$ac_ct_STRIP" = x; then
   3882     STRIP=":"
   3883   else
   3884     case $cross_compiling:$ac_tool_warned in
   3885 yes:)
   3886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3888 ac_tool_warned=yes ;;
   3889 esac
   3890     STRIP=$ac_ct_STRIP
   3891   fi
   3892 else
   3893   STRIP="$ac_cv_prog_STRIP"
   3894 fi
   3895 
   3896 fi
   3897 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3898 
   3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3900 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3901 if test -z "$MKDIR_P"; then
   3902   if ${ac_cv_path_mkdir+:} false; then :
   3903   $as_echo_n "(cached) " >&6
   3904 else
   3905   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3906 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3907 do
   3908   IFS=$as_save_IFS
   3909   test -z "$as_dir" && as_dir=.
   3910     for ac_prog in mkdir gmkdir; do
   3911 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3912 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3913 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3914 	     'mkdir (GNU coreutils) '* | \
   3915 	     'mkdir (coreutils) '* | \
   3916 	     'mkdir (fileutils) '4.1*)
   3917 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3918 	       break 3;;
   3919 	   esac
   3920 	 done
   3921        done
   3922   done
   3923 IFS=$as_save_IFS
   3924 
   3925 fi
   3926 
   3927   test -d ./--version && rmdir ./--version
   3928   if test "${ac_cv_path_mkdir+set}" = set; then
   3929     MKDIR_P="$ac_cv_path_mkdir -p"
   3930   else
   3931     # As a last resort, use the slow shell script.  Don't cache a
   3932     # value for MKDIR_P within a source directory, because that will
   3933     # break other packages using the cache if that directory is
   3934     # removed, or if the value is a relative name.
   3935     MKDIR_P="$ac_install_sh -d"
   3936   fi
   3937 fi
   3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3939 $as_echo "$MKDIR_P" >&6; }
   3940 
   3941 for ac_prog in gawk mawk nawk awk
   3942 do
   3943   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3944 set dummy $ac_prog; ac_word=$2
   3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3946 $as_echo_n "checking for $ac_word... " >&6; }
   3947 if ${ac_cv_prog_AWK+:} false; then :
   3948   $as_echo_n "(cached) " >&6
   3949 else
   3950   if test -n "$AWK"; then
   3951   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3952 else
   3953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3954 for as_dir in $PATH
   3955 do
   3956   IFS=$as_save_IFS
   3957   test -z "$as_dir" && as_dir=.
   3958     for ac_exec_ext in '' $ac_executable_extensions; do
   3959   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3960     ac_cv_prog_AWK="$ac_prog"
   3961     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3962     break 2
   3963   fi
   3964 done
   3965   done
   3966 IFS=$as_save_IFS
   3967 
   3968 fi
   3969 fi
   3970 AWK=$ac_cv_prog_AWK
   3971 if test -n "$AWK"; then
   3972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3973 $as_echo "$AWK" >&6; }
   3974 else
   3975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3976 $as_echo "no" >&6; }
   3977 fi
   3978 
   3979 
   3980   test -n "$AWK" && break
   3981 done
   3982 
   3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3984 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3985 set x ${MAKE-make}
   3986 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3987 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3988   $as_echo_n "(cached) " >&6
   3989 else
   3990   cat >conftest.make <<\_ACEOF
   3991 SHELL = /bin/sh
   3992 all:
   3993 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3994 _ACEOF
   3995 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3996 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3997   *@@@%%%=?*=@@@%%%*)
   3998     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3999   *)
   4000     eval ac_cv_prog_make_${ac_make}_set=no;;
   4001 esac
   4002 rm -f conftest.make
   4003 fi
   4004 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4006 $as_echo "yes" >&6; }
   4007   SET_MAKE=
   4008 else
   4009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4010 $as_echo "no" >&6; }
   4011   SET_MAKE="MAKE=${MAKE-make}"
   4012 fi
   4013 
   4014 rm -rf .tst 2>/dev/null
   4015 mkdir .tst 2>/dev/null
   4016 if test -d .tst; then
   4017   am__leading_dot=.
   4018 else
   4019   am__leading_dot=_
   4020 fi
   4021 rmdir .tst 2>/dev/null
   4022 
   4023 DEPDIR="${am__leading_dot}deps"
   4024 
   4025 ac_config_commands="$ac_config_commands depfiles"
   4026 
   4027 
   4028 am_make=${MAKE-make}
   4029 cat > confinc << 'END'
   4030 am__doit:
   4031 	@echo this is the am__doit target
   4032 .PHONY: am__doit
   4033 END
   4034 # If we don't find an include directive, just comment out the code.
   4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4036 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4037 am__include="#"
   4038 am__quote=
   4039 _am_result=none
   4040 # First try GNU make style include.
   4041 echo "include confinc" > confmf
   4042 # Ignore all kinds of additional output from 'make'.
   4043 case `$am_make -s -f confmf 2> /dev/null` in #(
   4044 *the\ am__doit\ target*)
   4045   am__include=include
   4046   am__quote=
   4047   _am_result=GNU
   4048   ;;
   4049 esac
   4050 # Now try BSD make style include.
   4051 if test "$am__include" = "#"; then
   4052    echo '.include "confinc"' > confmf
   4053    case `$am_make -s -f confmf 2> /dev/null` in #(
   4054    *the\ am__doit\ target*)
   4055      am__include=.include
   4056      am__quote="\""
   4057      _am_result=BSD
   4058      ;;
   4059    esac
   4060 fi
   4061 
   4062 
   4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4064 $as_echo "$_am_result" >&6; }
   4065 rm -f confinc confmf
   4066 
   4067 # Check whether --enable-dependency-tracking was given.
   4068 if test "${enable_dependency_tracking+set}" = set; then :
   4069   enableval=$enable_dependency_tracking;
   4070 fi
   4071 
   4072 if test "x$enable_dependency_tracking" != xno; then
   4073   am_depcomp="$ac_aux_dir/depcomp"
   4074   AMDEPBACKSLASH='\'
   4075   am__nodep='_no'
   4076 fi
   4077  if test "x$enable_dependency_tracking" != xno; then
   4078   AMDEP_TRUE=
   4079   AMDEP_FALSE='#'
   4080 else
   4081   AMDEP_TRUE='#'
   4082   AMDEP_FALSE=
   4083 fi
   4084 
   4085 
   4086 # Check whether --enable-silent-rules was given.
   4087 if test "${enable_silent_rules+set}" = set; then :
   4088   enableval=$enable_silent_rules;
   4089 fi
   4090 
   4091 case $enable_silent_rules in # (((
   4092   yes) AM_DEFAULT_VERBOSITY=0;;
   4093    no) AM_DEFAULT_VERBOSITY=1;;
   4094     *) AM_DEFAULT_VERBOSITY=1;;
   4095 esac
   4096 am_make=${MAKE-make}
   4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4098 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4099 if ${am_cv_make_support_nested_variables+:} false; then :
   4100   $as_echo_n "(cached) " >&6
   4101 else
   4102   if $as_echo 'TRUE=$(BAR$(V))
   4103 BAR0=false
   4104 BAR1=true
   4105 V=1
   4106 am__doit:
   4107 	@$(TRUE)
   4108 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4109   am_cv_make_support_nested_variables=yes
   4110 else
   4111   am_cv_make_support_nested_variables=no
   4112 fi
   4113 fi
   4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4115 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4116 if test $am_cv_make_support_nested_variables = yes; then
   4117     AM_V='$(V)'
   4118   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4119 else
   4120   AM_V=$AM_DEFAULT_VERBOSITY
   4121   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4122 fi
   4123 AM_BACKSLASH='\'
   4124 
   4125 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4126   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4127   # is not polluted with repeated "-I."
   4128   am__isrc=' -I$(srcdir)'
   4129   # test to see if srcdir already configured
   4130   if test -f $srcdir/config.status; then
   4131     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4132   fi
   4133 fi
   4134 
   4135 # test whether we have cygpath
   4136 if test -z "$CYGPATH_W"; then
   4137   if (cygpath --version) >/dev/null 2>/dev/null; then
   4138     CYGPATH_W='cygpath -w'
   4139   else
   4140     CYGPATH_W=echo
   4141   fi
   4142 fi
   4143 
   4144 
   4145 # Define the identity of the package.
   4146  PACKAGE='xmodmap'
   4147  VERSION='1.0.9'
   4148 
   4149 
   4150 cat >>confdefs.h <<_ACEOF
   4151 #define PACKAGE "$PACKAGE"
   4152 _ACEOF
   4153 
   4154 
   4155 cat >>confdefs.h <<_ACEOF
   4156 #define VERSION "$VERSION"
   4157 _ACEOF
   4158 
   4159 # Some tools Automake needs.
   4160 
   4161 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4162 
   4163 
   4164 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4165 
   4166 
   4167 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4168 
   4169 
   4170 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4171 
   4172 
   4173 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4174 
   4175 # For better backward compatibility.  To be removed once Automake 1.9.x
   4176 # dies out for good.  For more background, see:
   4177 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4178 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4179 mkdir_p='$(MKDIR_P)'
   4180 
   4181 # We need awk for the "check" target (and possibly the TAP driver).  The
   4182 # system "awk" is bad on some platforms.
   4183 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4184 # in the wild :-(  We should find a proper way to deprecate it ...
   4185 AMTAR='$${TAR-tar}'
   4186 
   4187 
   4188 # We'll loop over all known methods to create a tar archive until one works.
   4189 _am_tools='gnutar  pax cpio none'
   4190 
   4191 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4192 
   4193 
   4194 
   4195 
   4196 
   4197 depcc="$CC"   am_compiler_list=
   4198 
   4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4200 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4201 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4202   $as_echo_n "(cached) " >&6
   4203 else
   4204   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4205   # We make a subdir and do the tests there.  Otherwise we can end up
   4206   # making bogus files that we don't know about and never remove.  For
   4207   # instance it was reported that on HP-UX the gcc test will end up
   4208   # making a dummy file named 'D' -- because '-MD' means "put the output
   4209   # in D".
   4210   rm -rf conftest.dir
   4211   mkdir conftest.dir
   4212   # Copy depcomp to subdir because otherwise we won't find it if we're
   4213   # using a relative directory.
   4214   cp "$am_depcomp" conftest.dir
   4215   cd conftest.dir
   4216   # We will build objects and dependencies in a subdirectory because
   4217   # it helps to detect inapplicable dependency modes.  For instance
   4218   # both Tru64's cc and ICC support -MD to output dependencies as a
   4219   # side effect of compilation, but ICC will put the dependencies in
   4220   # the current directory while Tru64 will put them in the object
   4221   # directory.
   4222   mkdir sub
   4223 
   4224   am_cv_CC_dependencies_compiler_type=none
   4225   if test "$am_compiler_list" = ""; then
   4226      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4227   fi
   4228   am__universal=false
   4229   case " $depcc " in #(
   4230      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4231      esac
   4232 
   4233   for depmode in $am_compiler_list; do
   4234     # Setup a source with many dependencies, because some compilers
   4235     # like to wrap large dependency lists on column 80 (with \), and
   4236     # we should not choose a depcomp mode which is confused by this.
   4237     #
   4238     # We need to recreate these files for each test, as the compiler may
   4239     # overwrite some of them when testing with obscure command lines.
   4240     # This happens at least with the AIX C compiler.
   4241     : > sub/conftest.c
   4242     for i in 1 2 3 4 5 6; do
   4243       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4244       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4245       # Solaris 10 /bin/sh.
   4246       echo '/* dummy */' > sub/conftst$i.h
   4247     done
   4248     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4249 
   4250     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4251     # mode.  It turns out that the SunPro C++ compiler does not properly
   4252     # handle '-M -o', and we need to detect this.  Also, some Intel
   4253     # versions had trouble with output in subdirs.
   4254     am__obj=sub/conftest.${OBJEXT-o}
   4255     am__minus_obj="-o $am__obj"
   4256     case $depmode in
   4257     gcc)
   4258       # This depmode causes a compiler race in universal mode.
   4259       test "$am__universal" = false || continue
   4260       ;;
   4261     nosideeffect)
   4262       # After this tag, mechanisms are not by side-effect, so they'll
   4263       # only be used when explicitly requested.
   4264       if test "x$enable_dependency_tracking" = xyes; then
   4265 	continue
   4266       else
   4267 	break
   4268       fi
   4269       ;;
   4270     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4271       # This compiler won't grok '-c -o', but also, the minuso test has
   4272       # not run yet.  These depmodes are late enough in the game, and
   4273       # so weak that their functioning should not be impacted.
   4274       am__obj=conftest.${OBJEXT-o}
   4275       am__minus_obj=
   4276       ;;
   4277     none) break ;;
   4278     esac
   4279     if depmode=$depmode \
   4280        source=sub/conftest.c object=$am__obj \
   4281        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4282        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4283          >/dev/null 2>conftest.err &&
   4284        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4285        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4286        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4287        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4288       # icc doesn't choke on unknown options, it will just issue warnings
   4289       # or remarks (even with -Werror).  So we grep stderr for any message
   4290       # that says an option was ignored or not supported.
   4291       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4292       #   icc: Command line warning: ignoring option '-M'; no argument required
   4293       # The diagnosis changed in icc 8.0:
   4294       #   icc: Command line remark: option '-MP' not supported
   4295       if (grep 'ignoring option' conftest.err ||
   4296           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4297         am_cv_CC_dependencies_compiler_type=$depmode
   4298         break
   4299       fi
   4300     fi
   4301   done
   4302 
   4303   cd ..
   4304   rm -rf conftest.dir
   4305 else
   4306   am_cv_CC_dependencies_compiler_type=none
   4307 fi
   4308 
   4309 fi
   4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4311 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4312 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4313 
   4314  if
   4315   test "x$enable_dependency_tracking" != xno \
   4316   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4317   am__fastdepCC_TRUE=
   4318   am__fastdepCC_FALSE='#'
   4319 else
   4320   am__fastdepCC_TRUE='#'
   4321   am__fastdepCC_FALSE=
   4322 fi
   4323 
   4324 
   4325 
   4326 # POSIX will say in a future version that running "rm -f" with no argument
   4327 # is OK; and we want to be able to make that assumption in our Makefile
   4328 # recipes.  So use an aggressive probe to check that the usage we want is
   4329 # actually supported "in the wild" to an acceptable degree.
   4330 # See automake bug#10828.
   4331 # To make any issue more visible, cause the running configure to be aborted
   4332 # by default if the 'rm' program in use doesn't match our expectations; the
   4333 # user can still override this though.
   4334 if rm -f && rm -fr && rm -rf; then : OK; else
   4335   cat >&2 <<'END'
   4336 Oops!
   4337 
   4338 Your 'rm' program seems unable to run without file operands specified
   4339 on the command line, even when the '-f' option is present.  This is contrary
   4340 to the behaviour of most rm programs out there, and not conforming with
   4341 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4342 
   4343 Please tell bug-automake@gnu.org about your system, including the value
   4344 of your $PATH and any error possibly output before this message.  This
   4345 can help us improve future automake versions.
   4346 
   4347 END
   4348   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4349     echo 'Configuration will proceed anyway, since you have set the' >&2
   4350     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4351     echo >&2
   4352   else
   4353     cat >&2 <<'END'
   4354 Aborting the configuration process, to ensure you take notice of the issue.
   4355 
   4356 You can download and install GNU coreutils to get an 'rm' implementation
   4357 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4358 
   4359 If you want to complete the configuration process using your problematic
   4360 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4361 to "yes", and re-run configure.
   4362 
   4363 END
   4364     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4365   fi
   4366 fi
   4367 
   4368 
   4369 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4370 
   4371 
   4372 
   4373 
   4374 
   4375 
   4376 
   4377 
   4378 
   4379 
   4380 
   4381    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4382 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4383 if ${ac_cv_prog_cc_c99+:} false; then :
   4384   $as_echo_n "(cached) " >&6
   4385 else
   4386   ac_cv_prog_cc_c99=no
   4387 ac_save_CC=$CC
   4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4389 /* end confdefs.h.  */
   4390 #include <stdarg.h>
   4391 #include <stdbool.h>
   4392 #include <stdlib.h>
   4393 #include <wchar.h>
   4394 #include <stdio.h>
   4395 
   4396 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4397 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4398 #define showlist(...) puts (#__VA_ARGS__)
   4399 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4400 static void
   4401 test_varargs_macros (void)
   4402 {
   4403   int x = 1234;
   4404   int y = 5678;
   4405   debug ("Flag");
   4406   debug ("X = %d\n", x);
   4407   showlist (The first, second, and third items.);
   4408   report (x>y, "x is %d but y is %d", x, y);
   4409 }
   4410 
   4411 // Check long long types.
   4412 #define BIG64 18446744073709551615ull
   4413 #define BIG32 4294967295ul
   4414 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4415 #if !BIG_OK
   4416   your preprocessor is broken;
   4417 #endif
   4418 #if BIG_OK
   4419 #else
   4420   your preprocessor is broken;
   4421 #endif
   4422 static long long int bignum = -9223372036854775807LL;
   4423 static unsigned long long int ubignum = BIG64;
   4424 
   4425 struct incomplete_array
   4426 {
   4427   int datasize;
   4428   double data[];
   4429 };
   4430 
   4431 struct named_init {
   4432   int number;
   4433   const wchar_t *name;
   4434   double average;
   4435 };
   4436 
   4437 typedef const char *ccp;
   4438 
   4439 static inline int
   4440 test_restrict (ccp restrict text)
   4441 {
   4442   // See if C++-style comments work.
   4443   // Iterate through items via the restricted pointer.
   4444   // Also check for declarations in for loops.
   4445   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4446     continue;
   4447   return 0;
   4448 }
   4449 
   4450 // Check varargs and va_copy.
   4451 static void
   4452 test_varargs (const char *format, ...)
   4453 {
   4454   va_list args;
   4455   va_start (args, format);
   4456   va_list args_copy;
   4457   va_copy (args_copy, args);
   4458 
   4459   const char *str;
   4460   int number;
   4461   float fnumber;
   4462 
   4463   while (*format)
   4464     {
   4465       switch (*format++)
   4466 	{
   4467 	case 's': // string
   4468 	  str = va_arg (args_copy, const char *);
   4469 	  break;
   4470 	case 'd': // int
   4471 	  number = va_arg (args_copy, int);
   4472 	  break;
   4473 	case 'f': // float
   4474 	  fnumber = va_arg (args_copy, double);
   4475 	  break;
   4476 	default:
   4477 	  break;
   4478 	}
   4479     }
   4480   va_end (args_copy);
   4481   va_end (args);
   4482 }
   4483 
   4484 int
   4485 main ()
   4486 {
   4487 
   4488   // Check bool.
   4489   _Bool success = false;
   4490 
   4491   // Check restrict.
   4492   if (test_restrict ("String literal") == 0)
   4493     success = true;
   4494   char *restrict newvar = "Another string";
   4495 
   4496   // Check varargs.
   4497   test_varargs ("s, d' f .", "string", 65, 34.234);
   4498   test_varargs_macros ();
   4499 
   4500   // Check flexible array members.
   4501   struct incomplete_array *ia =
   4502     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4503   ia->datasize = 10;
   4504   for (int i = 0; i < ia->datasize; ++i)
   4505     ia->data[i] = i * 1.234;
   4506 
   4507   // Check named initializers.
   4508   struct named_init ni = {
   4509     .number = 34,
   4510     .name = L"Test wide string",
   4511     .average = 543.34343,
   4512   };
   4513 
   4514   ni.number = 58;
   4515 
   4516   int dynamic_array[ni.number];
   4517   dynamic_array[ni.number - 1] = 543;
   4518 
   4519   // work around unused variable warnings
   4520   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4521 	  || dynamic_array[ni.number - 1] != 543);
   4522 
   4523   ;
   4524   return 0;
   4525 }
   4526 _ACEOF
   4527 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4528 do
   4529   CC="$ac_save_CC $ac_arg"
   4530   if ac_fn_c_try_compile "$LINENO"; then :
   4531   ac_cv_prog_cc_c99=$ac_arg
   4532 fi
   4533 rm -f core conftest.err conftest.$ac_objext
   4534   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4535 done
   4536 rm -f conftest.$ac_ext
   4537 CC=$ac_save_CC
   4538 
   4539 fi
   4540 # AC_CACHE_VAL
   4541 case "x$ac_cv_prog_cc_c99" in
   4542   x)
   4543     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4544 $as_echo "none needed" >&6; } ;;
   4545   xno)
   4546     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4547 $as_echo "unsupported" >&6; } ;;
   4548   *)
   4549     CC="$CC $ac_cv_prog_cc_c99"
   4550     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4551 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4552 esac
   4553 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4554 
   4555 fi
   4556 
   4557 
   4558 
   4559 
   4560 
   4561 
   4562 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4563 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4564   CLANGCC="yes"
   4565 else
   4566   CLANGCC="no"
   4567 fi
   4568 
   4569 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4570 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4571   INTELCC="yes"
   4572 else
   4573   INTELCC="no"
   4574 fi
   4575 
   4576 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4577 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4578   SUNCC="yes"
   4579 else
   4580   SUNCC="no"
   4581 fi
   4582 
   4583 
   4584 
   4585 
   4586 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4587 	if test -n "$ac_tool_prefix"; then
   4588   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4589 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4591 $as_echo_n "checking for $ac_word... " >&6; }
   4592 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4593   $as_echo_n "(cached) " >&6
   4594 else
   4595   case $PKG_CONFIG in
   4596   [\\/]* | ?:[\\/]*)
   4597   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4598   ;;
   4599   *)
   4600   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4601 for as_dir in $PATH
   4602 do
   4603   IFS=$as_save_IFS
   4604   test -z "$as_dir" && as_dir=.
   4605     for ac_exec_ext in '' $ac_executable_extensions; do
   4606   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4607     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4609     break 2
   4610   fi
   4611 done
   4612   done
   4613 IFS=$as_save_IFS
   4614 
   4615   ;;
   4616 esac
   4617 fi
   4618 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4619 if test -n "$PKG_CONFIG"; then
   4620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4621 $as_echo "$PKG_CONFIG" >&6; }
   4622 else
   4623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4624 $as_echo "no" >&6; }
   4625 fi
   4626 
   4627 
   4628 fi
   4629 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4630   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4631   # Extract the first word of "pkg-config", so it can be a program name with args.
   4632 set dummy pkg-config; ac_word=$2
   4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4634 $as_echo_n "checking for $ac_word... " >&6; }
   4635 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4636   $as_echo_n "(cached) " >&6
   4637 else
   4638   case $ac_pt_PKG_CONFIG in
   4639   [\\/]* | ?:[\\/]*)
   4640   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4641   ;;
   4642   *)
   4643   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4644 for as_dir in $PATH
   4645 do
   4646   IFS=$as_save_IFS
   4647   test -z "$as_dir" && as_dir=.
   4648     for ac_exec_ext in '' $ac_executable_extensions; do
   4649   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4650     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4651     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4652     break 2
   4653   fi
   4654 done
   4655   done
   4656 IFS=$as_save_IFS
   4657 
   4658   ;;
   4659 esac
   4660 fi
   4661 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4662 if test -n "$ac_pt_PKG_CONFIG"; then
   4663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4664 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4665 else
   4666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4667 $as_echo "no" >&6; }
   4668 fi
   4669 
   4670   if test "x$ac_pt_PKG_CONFIG" = x; then
   4671     PKG_CONFIG=""
   4672   else
   4673     case $cross_compiling:$ac_tool_warned in
   4674 yes:)
   4675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4677 ac_tool_warned=yes ;;
   4678 esac
   4679     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4680   fi
   4681 else
   4682   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4683 fi
   4684 
   4685 fi
   4686 if test -n "$PKG_CONFIG"; then
   4687 	_pkg_min_version=0.9.0
   4688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4689 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4690 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4692 $as_echo "yes" >&6; }
   4693 	else
   4694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4695 $as_echo "no" >&6; }
   4696 		PKG_CONFIG=""
   4697 	fi
   4698 
   4699 fi
   4700 # Make sure we can run config.sub.
   4701 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4702   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4703 
   4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4705 $as_echo_n "checking build system type... " >&6; }
   4706 if ${ac_cv_build+:} false; then :
   4707   $as_echo_n "(cached) " >&6
   4708 else
   4709   ac_build_alias=$build_alias
   4710 test "x$ac_build_alias" = x &&
   4711   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4712 test "x$ac_build_alias" = x &&
   4713   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4714 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4715   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4716 
   4717 fi
   4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4719 $as_echo "$ac_cv_build" >&6; }
   4720 case $ac_cv_build in
   4721 *-*-*) ;;
   4722 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4723 esac
   4724 build=$ac_cv_build
   4725 ac_save_IFS=$IFS; IFS='-'
   4726 set x $ac_cv_build
   4727 shift
   4728 build_cpu=$1
   4729 build_vendor=$2
   4730 shift; shift
   4731 # Remember, the first character of IFS is used to create $*,
   4732 # except with old shells:
   4733 build_os=$*
   4734 IFS=$ac_save_IFS
   4735 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4736 
   4737 
   4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4739 $as_echo_n "checking host system type... " >&6; }
   4740 if ${ac_cv_host+:} false; then :
   4741   $as_echo_n "(cached) " >&6
   4742 else
   4743   if test "x$host_alias" = x; then
   4744   ac_cv_host=$ac_cv_build
   4745 else
   4746   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4747     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4748 fi
   4749 
   4750 fi
   4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4752 $as_echo "$ac_cv_host" >&6; }
   4753 case $ac_cv_host in
   4754 *-*-*) ;;
   4755 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4756 esac
   4757 host=$ac_cv_host
   4758 ac_save_IFS=$IFS; IFS='-'
   4759 set x $ac_cv_host
   4760 shift
   4761 host_cpu=$1
   4762 host_vendor=$2
   4763 shift; shift
   4764 # Remember, the first character of IFS is used to create $*,
   4765 # except with old shells:
   4766 host_os=$*
   4767 IFS=$ac_save_IFS
   4768 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4769 
   4770 
   4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4772 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4773 if ${ac_cv_path_SED+:} false; then :
   4774   $as_echo_n "(cached) " >&6
   4775 else
   4776             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4777      for ac_i in 1 2 3 4 5 6 7; do
   4778        ac_script="$ac_script$as_nl$ac_script"
   4779      done
   4780      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4781      { ac_script=; unset ac_script;}
   4782      if test -z "$SED"; then
   4783   ac_path_SED_found=false
   4784   # Loop through the user's path and test for each of PROGNAME-LIST
   4785   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4786 for as_dir in $PATH
   4787 do
   4788   IFS=$as_save_IFS
   4789   test -z "$as_dir" && as_dir=.
   4790     for ac_prog in sed gsed; do
   4791     for ac_exec_ext in '' $ac_executable_extensions; do
   4792       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4793       as_fn_executable_p "$ac_path_SED" || continue
   4794 # Check for GNU ac_path_SED and select it if it is found.
   4795   # Check for GNU $ac_path_SED
   4796 case `"$ac_path_SED" --version 2>&1` in
   4797 *GNU*)
   4798   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4799 *)
   4800   ac_count=0
   4801   $as_echo_n 0123456789 >"conftest.in"
   4802   while :
   4803   do
   4804     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4805     mv "conftest.tmp" "conftest.in"
   4806     cp "conftest.in" "conftest.nl"
   4807     $as_echo '' >> "conftest.nl"
   4808     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4809     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4810     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4811     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4812       # Best one so far, save it but keep looking for a better one
   4813       ac_cv_path_SED="$ac_path_SED"
   4814       ac_path_SED_max=$ac_count
   4815     fi
   4816     # 10*(2^10) chars as input seems more than enough
   4817     test $ac_count -gt 10 && break
   4818   done
   4819   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4820 esac
   4821 
   4822       $ac_path_SED_found && break 3
   4823     done
   4824   done
   4825   done
   4826 IFS=$as_save_IFS
   4827   if test -z "$ac_cv_path_SED"; then
   4828     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4829   fi
   4830 else
   4831   ac_cv_path_SED=$SED
   4832 fi
   4833 
   4834 fi
   4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4836 $as_echo "$ac_cv_path_SED" >&6; }
   4837  SED="$ac_cv_path_SED"
   4838   rm -f conftest.sed
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 
   4845 # Check whether --enable-selective-werror was given.
   4846 if test "${enable_selective_werror+set}" = set; then :
   4847   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4848 else
   4849   SELECTIVE_WERROR=yes
   4850 fi
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4857 if test "x$SUNCC" = "xyes"; then
   4858     BASE_CFLAGS="-v"
   4859 else
   4860     BASE_CFLAGS=""
   4861 fi
   4862 
   4863 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 xorg_testset_save_CFLAGS="$CFLAGS"
   4878 
   4879 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4880 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4882 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4883 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4884   $as_echo_n "(cached) " >&6
   4885 else
   4886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4887 /* end confdefs.h.  */
   4888 int i;
   4889 _ACEOF
   4890 if ac_fn_c_try_compile "$LINENO"; then :
   4891   xorg_cv_cc_flag_unknown_warning_option=yes
   4892 else
   4893   xorg_cv_cc_flag_unknown_warning_option=no
   4894 fi
   4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4896 fi
   4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4898 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4899 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4900 	CFLAGS="$xorg_testset_save_CFLAGS"
   4901 fi
   4902 
   4903 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4904 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4905 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4906 	fi
   4907 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4909 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4910 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4911   $as_echo_n "(cached) " >&6
   4912 else
   4913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4914 /* end confdefs.h.  */
   4915 int i;
   4916 _ACEOF
   4917 if ac_fn_c_try_compile "$LINENO"; then :
   4918   xorg_cv_cc_flag_unused_command_line_argument=yes
   4919 else
   4920   xorg_cv_cc_flag_unused_command_line_argument=no
   4921 fi
   4922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4923 fi
   4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4925 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4927 	CFLAGS="$xorg_testset_save_CFLAGS"
   4928 fi
   4929 
   4930 found="no"
   4931 
   4932 	if test $found = "no" ; then
   4933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4935 		fi
   4936 
   4937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4939 		fi
   4940 
   4941 		CFLAGS="$CFLAGS -Wall"
   4942 
   4943 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4944 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4945 		cacheid=xorg_cv_cc_flag__Wall
   4946 		if eval \${$cacheid+:} false; then :
   4947   $as_echo_n "(cached) " >&6
   4948 else
   4949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4950 /* end confdefs.h.  */
   4951 int i;
   4952 int
   4953 main ()
   4954 {
   4955 
   4956   ;
   4957   return 0;
   4958 }
   4959 _ACEOF
   4960 if ac_fn_c_try_link "$LINENO"; then :
   4961   eval $cacheid=yes
   4962 else
   4963   eval $cacheid=no
   4964 fi
   4965 rm -f core conftest.err conftest.$ac_objext \
   4966     conftest$ac_exeext conftest.$ac_ext
   4967 fi
   4968 
   4969 
   4970 		CFLAGS="$xorg_testset_save_CFLAGS"
   4971 
   4972 		eval supported=\$$cacheid
   4973 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4974 $as_echo "$supported" >&6; }
   4975 		if test "$supported" = "yes" ; then
   4976 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4977 			found="yes"
   4978 		fi
   4979 	fi
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 xorg_testset_save_CFLAGS="$CFLAGS"
   4996 
   4997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4998 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5000 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5001 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5002   $as_echo_n "(cached) " >&6
   5003 else
   5004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5005 /* end confdefs.h.  */
   5006 int i;
   5007 _ACEOF
   5008 if ac_fn_c_try_compile "$LINENO"; then :
   5009   xorg_cv_cc_flag_unknown_warning_option=yes
   5010 else
   5011   xorg_cv_cc_flag_unknown_warning_option=no
   5012 fi
   5013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5014 fi
   5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5016 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5018 	CFLAGS="$xorg_testset_save_CFLAGS"
   5019 fi
   5020 
   5021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5024 	fi
   5025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5026 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5027 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5028 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5029   $as_echo_n "(cached) " >&6
   5030 else
   5031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5032 /* end confdefs.h.  */
   5033 int i;
   5034 _ACEOF
   5035 if ac_fn_c_try_compile "$LINENO"; then :
   5036   xorg_cv_cc_flag_unused_command_line_argument=yes
   5037 else
   5038   xorg_cv_cc_flag_unused_command_line_argument=no
   5039 fi
   5040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5041 fi
   5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5043 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5044 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5045 	CFLAGS="$xorg_testset_save_CFLAGS"
   5046 fi
   5047 
   5048 found="no"
   5049 
   5050 	if test $found = "no" ; then
   5051 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5052 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5053 		fi
   5054 
   5055 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5056 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5057 		fi
   5058 
   5059 		CFLAGS="$CFLAGS -Wpointer-arith"
   5060 
   5061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5062 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5063 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5064 		if eval \${$cacheid+:} false; then :
   5065   $as_echo_n "(cached) " >&6
   5066 else
   5067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5068 /* end confdefs.h.  */
   5069 int i;
   5070 int
   5071 main ()
   5072 {
   5073 
   5074   ;
   5075   return 0;
   5076 }
   5077 _ACEOF
   5078 if ac_fn_c_try_link "$LINENO"; then :
   5079   eval $cacheid=yes
   5080 else
   5081   eval $cacheid=no
   5082 fi
   5083 rm -f core conftest.err conftest.$ac_objext \
   5084     conftest$ac_exeext conftest.$ac_ext
   5085 fi
   5086 
   5087 
   5088 		CFLAGS="$xorg_testset_save_CFLAGS"
   5089 
   5090 		eval supported=\$$cacheid
   5091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5092 $as_echo "$supported" >&6; }
   5093 		if test "$supported" = "yes" ; then
   5094 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5095 			found="yes"
   5096 		fi
   5097 	fi
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 xorg_testset_save_CFLAGS="$CFLAGS"
   5114 
   5115 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5118 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5119 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5120   $as_echo_n "(cached) " >&6
   5121 else
   5122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5123 /* end confdefs.h.  */
   5124 int i;
   5125 _ACEOF
   5126 if ac_fn_c_try_compile "$LINENO"; then :
   5127   xorg_cv_cc_flag_unknown_warning_option=yes
   5128 else
   5129   xorg_cv_cc_flag_unknown_warning_option=no
   5130 fi
   5131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5132 fi
   5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5134 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5135 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5136 	CFLAGS="$xorg_testset_save_CFLAGS"
   5137 fi
   5138 
   5139 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5140 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5141 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5142 	fi
   5143 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5145 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5146 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5147   $as_echo_n "(cached) " >&6
   5148 else
   5149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5150 /* end confdefs.h.  */
   5151 int i;
   5152 _ACEOF
   5153 if ac_fn_c_try_compile "$LINENO"; then :
   5154   xorg_cv_cc_flag_unused_command_line_argument=yes
   5155 else
   5156   xorg_cv_cc_flag_unused_command_line_argument=no
   5157 fi
   5158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5159 fi
   5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5161 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5162 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5163 	CFLAGS="$xorg_testset_save_CFLAGS"
   5164 fi
   5165 
   5166 found="no"
   5167 
   5168 	if test $found = "no" ; then
   5169 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5171 		fi
   5172 
   5173 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5175 		fi
   5176 
   5177 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5178 
   5179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5180 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5181 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5182 		if eval \${$cacheid+:} false; then :
   5183   $as_echo_n "(cached) " >&6
   5184 else
   5185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5186 /* end confdefs.h.  */
   5187 int i;
   5188 int
   5189 main ()
   5190 {
   5191 
   5192   ;
   5193   return 0;
   5194 }
   5195 _ACEOF
   5196 if ac_fn_c_try_link "$LINENO"; then :
   5197   eval $cacheid=yes
   5198 else
   5199   eval $cacheid=no
   5200 fi
   5201 rm -f core conftest.err conftest.$ac_objext \
   5202     conftest$ac_exeext conftest.$ac_ext
   5203 fi
   5204 
   5205 
   5206 		CFLAGS="$xorg_testset_save_CFLAGS"
   5207 
   5208 		eval supported=\$$cacheid
   5209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5210 $as_echo "$supported" >&6; }
   5211 		if test "$supported" = "yes" ; then
   5212 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5213 			found="yes"
   5214 		fi
   5215 	fi
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 xorg_testset_save_CFLAGS="$CFLAGS"
   5232 
   5233 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5234 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5235 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5236 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5237 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5238   $as_echo_n "(cached) " >&6
   5239 else
   5240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5241 /* end confdefs.h.  */
   5242 int i;
   5243 _ACEOF
   5244 if ac_fn_c_try_compile "$LINENO"; then :
   5245   xorg_cv_cc_flag_unknown_warning_option=yes
   5246 else
   5247   xorg_cv_cc_flag_unknown_warning_option=no
   5248 fi
   5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5250 fi
   5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5252 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5254 	CFLAGS="$xorg_testset_save_CFLAGS"
   5255 fi
   5256 
   5257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5260 	fi
   5261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5262 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5263 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5264 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5265   $as_echo_n "(cached) " >&6
   5266 else
   5267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5268 /* end confdefs.h.  */
   5269 int i;
   5270 _ACEOF
   5271 if ac_fn_c_try_compile "$LINENO"; then :
   5272   xorg_cv_cc_flag_unused_command_line_argument=yes
   5273 else
   5274   xorg_cv_cc_flag_unused_command_line_argument=no
   5275 fi
   5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5277 fi
   5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5279 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5280 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5281 	CFLAGS="$xorg_testset_save_CFLAGS"
   5282 fi
   5283 
   5284 found="no"
   5285 
   5286 	if test $found = "no" ; then
   5287 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5288 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5289 		fi
   5290 
   5291 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5292 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5293 		fi
   5294 
   5295 		CFLAGS="$CFLAGS -Wformat=2"
   5296 
   5297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5298 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5299 		cacheid=xorg_cv_cc_flag__Wformat_2
   5300 		if eval \${$cacheid+:} false; then :
   5301   $as_echo_n "(cached) " >&6
   5302 else
   5303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5304 /* end confdefs.h.  */
   5305 int i;
   5306 int
   5307 main ()
   5308 {
   5309 
   5310   ;
   5311   return 0;
   5312 }
   5313 _ACEOF
   5314 if ac_fn_c_try_link "$LINENO"; then :
   5315   eval $cacheid=yes
   5316 else
   5317   eval $cacheid=no
   5318 fi
   5319 rm -f core conftest.err conftest.$ac_objext \
   5320     conftest$ac_exeext conftest.$ac_ext
   5321 fi
   5322 
   5323 
   5324 		CFLAGS="$xorg_testset_save_CFLAGS"
   5325 
   5326 		eval supported=\$$cacheid
   5327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5328 $as_echo "$supported" >&6; }
   5329 		if test "$supported" = "yes" ; then
   5330 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5331 			found="yes"
   5332 		fi
   5333 	fi
   5334 
   5335 	if test $found = "no" ; then
   5336 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5338 		fi
   5339 
   5340 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5342 		fi
   5343 
   5344 		CFLAGS="$CFLAGS -Wformat"
   5345 
   5346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5347 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5348 		cacheid=xorg_cv_cc_flag__Wformat
   5349 		if eval \${$cacheid+:} false; then :
   5350   $as_echo_n "(cached) " >&6
   5351 else
   5352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5353 /* end confdefs.h.  */
   5354 int i;
   5355 int
   5356 main ()
   5357 {
   5358 
   5359   ;
   5360   return 0;
   5361 }
   5362 _ACEOF
   5363 if ac_fn_c_try_link "$LINENO"; then :
   5364   eval $cacheid=yes
   5365 else
   5366   eval $cacheid=no
   5367 fi
   5368 rm -f core conftest.err conftest.$ac_objext \
   5369     conftest$ac_exeext conftest.$ac_ext
   5370 fi
   5371 
   5372 
   5373 		CFLAGS="$xorg_testset_save_CFLAGS"
   5374 
   5375 		eval supported=\$$cacheid
   5376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5377 $as_echo "$supported" >&6; }
   5378 		if test "$supported" = "yes" ; then
   5379 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5380 			found="yes"
   5381 		fi
   5382 	fi
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 xorg_testset_save_CFLAGS="$CFLAGS"
   5401 
   5402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5405 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5406 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5407   $as_echo_n "(cached) " >&6
   5408 else
   5409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5410 /* end confdefs.h.  */
   5411 int i;
   5412 _ACEOF
   5413 if ac_fn_c_try_compile "$LINENO"; then :
   5414   xorg_cv_cc_flag_unknown_warning_option=yes
   5415 else
   5416   xorg_cv_cc_flag_unknown_warning_option=no
   5417 fi
   5418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5419 fi
   5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5421 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5423 	CFLAGS="$xorg_testset_save_CFLAGS"
   5424 fi
   5425 
   5426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5429 	fi
   5430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5432 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5433 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5434   $as_echo_n "(cached) " >&6
   5435 else
   5436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5437 /* end confdefs.h.  */
   5438 int i;
   5439 _ACEOF
   5440 if ac_fn_c_try_compile "$LINENO"; then :
   5441   xorg_cv_cc_flag_unused_command_line_argument=yes
   5442 else
   5443   xorg_cv_cc_flag_unused_command_line_argument=no
   5444 fi
   5445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5446 fi
   5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5448 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5450 	CFLAGS="$xorg_testset_save_CFLAGS"
   5451 fi
   5452 
   5453 found="no"
   5454 
   5455 	if test $found = "no" ; then
   5456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5458 		fi
   5459 
   5460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5462 		fi
   5463 
   5464 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5465 
   5466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5467 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5468 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5469 		if eval \${$cacheid+:} false; then :
   5470   $as_echo_n "(cached) " >&6
   5471 else
   5472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5473 /* end confdefs.h.  */
   5474 int i;
   5475 int
   5476 main ()
   5477 {
   5478 
   5479   ;
   5480   return 0;
   5481 }
   5482 _ACEOF
   5483 if ac_fn_c_try_link "$LINENO"; then :
   5484   eval $cacheid=yes
   5485 else
   5486   eval $cacheid=no
   5487 fi
   5488 rm -f core conftest.err conftest.$ac_objext \
   5489     conftest$ac_exeext conftest.$ac_ext
   5490 fi
   5491 
   5492 
   5493 		CFLAGS="$xorg_testset_save_CFLAGS"
   5494 
   5495 		eval supported=\$$cacheid
   5496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5497 $as_echo "$supported" >&6; }
   5498 		if test "$supported" = "yes" ; then
   5499 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5500 			found="yes"
   5501 		fi
   5502 	fi
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 xorg_testset_save_CFLAGS="$CFLAGS"
   5519 
   5520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5523 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5524 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5525   $as_echo_n "(cached) " >&6
   5526 else
   5527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5528 /* end confdefs.h.  */
   5529 int i;
   5530 _ACEOF
   5531 if ac_fn_c_try_compile "$LINENO"; then :
   5532   xorg_cv_cc_flag_unknown_warning_option=yes
   5533 else
   5534   xorg_cv_cc_flag_unknown_warning_option=no
   5535 fi
   5536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5537 fi
   5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5539 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5541 	CFLAGS="$xorg_testset_save_CFLAGS"
   5542 fi
   5543 
   5544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5547 	fi
   5548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5550 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5551 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5552   $as_echo_n "(cached) " >&6
   5553 else
   5554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5555 /* end confdefs.h.  */
   5556 int i;
   5557 _ACEOF
   5558 if ac_fn_c_try_compile "$LINENO"; then :
   5559   xorg_cv_cc_flag_unused_command_line_argument=yes
   5560 else
   5561   xorg_cv_cc_flag_unused_command_line_argument=no
   5562 fi
   5563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5564 fi
   5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5566 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5568 	CFLAGS="$xorg_testset_save_CFLAGS"
   5569 fi
   5570 
   5571 found="no"
   5572 
   5573 	if test $found = "no" ; then
   5574 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5576 		fi
   5577 
   5578 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5580 		fi
   5581 
   5582 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5583 
   5584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5585 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5586 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5587 		if eval \${$cacheid+:} false; then :
   5588   $as_echo_n "(cached) " >&6
   5589 else
   5590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5591 /* end confdefs.h.  */
   5592 int i;
   5593 int
   5594 main ()
   5595 {
   5596 
   5597   ;
   5598   return 0;
   5599 }
   5600 _ACEOF
   5601 if ac_fn_c_try_link "$LINENO"; then :
   5602   eval $cacheid=yes
   5603 else
   5604   eval $cacheid=no
   5605 fi
   5606 rm -f core conftest.err conftest.$ac_objext \
   5607     conftest$ac_exeext conftest.$ac_ext
   5608 fi
   5609 
   5610 
   5611 		CFLAGS="$xorg_testset_save_CFLAGS"
   5612 
   5613 		eval supported=\$$cacheid
   5614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5615 $as_echo "$supported" >&6; }
   5616 		if test "$supported" = "yes" ; then
   5617 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5618 			found="yes"
   5619 		fi
   5620 	fi
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 xorg_testset_save_CFLAGS="$CFLAGS"
   5637 
   5638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5641 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5642 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5643   $as_echo_n "(cached) " >&6
   5644 else
   5645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5646 /* end confdefs.h.  */
   5647 int i;
   5648 _ACEOF
   5649 if ac_fn_c_try_compile "$LINENO"; then :
   5650   xorg_cv_cc_flag_unknown_warning_option=yes
   5651 else
   5652   xorg_cv_cc_flag_unknown_warning_option=no
   5653 fi
   5654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5655 fi
   5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5657 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5659 	CFLAGS="$xorg_testset_save_CFLAGS"
   5660 fi
   5661 
   5662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5665 	fi
   5666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5668 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5669 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5670   $as_echo_n "(cached) " >&6
   5671 else
   5672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5673 /* end confdefs.h.  */
   5674 int i;
   5675 _ACEOF
   5676 if ac_fn_c_try_compile "$LINENO"; then :
   5677   xorg_cv_cc_flag_unused_command_line_argument=yes
   5678 else
   5679   xorg_cv_cc_flag_unused_command_line_argument=no
   5680 fi
   5681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5682 fi
   5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5684 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5685 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5686 	CFLAGS="$xorg_testset_save_CFLAGS"
   5687 fi
   5688 
   5689 found="no"
   5690 
   5691 	if test $found = "no" ; then
   5692 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5694 		fi
   5695 
   5696 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5698 		fi
   5699 
   5700 		CFLAGS="$CFLAGS -Wnested-externs"
   5701 
   5702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5703 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5704 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5705 		if eval \${$cacheid+:} false; then :
   5706   $as_echo_n "(cached) " >&6
   5707 else
   5708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5709 /* end confdefs.h.  */
   5710 int i;
   5711 int
   5712 main ()
   5713 {
   5714 
   5715   ;
   5716   return 0;
   5717 }
   5718 _ACEOF
   5719 if ac_fn_c_try_link "$LINENO"; then :
   5720   eval $cacheid=yes
   5721 else
   5722   eval $cacheid=no
   5723 fi
   5724 rm -f core conftest.err conftest.$ac_objext \
   5725     conftest$ac_exeext conftest.$ac_ext
   5726 fi
   5727 
   5728 
   5729 		CFLAGS="$xorg_testset_save_CFLAGS"
   5730 
   5731 		eval supported=\$$cacheid
   5732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5733 $as_echo "$supported" >&6; }
   5734 		if test "$supported" = "yes" ; then
   5735 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5736 			found="yes"
   5737 		fi
   5738 	fi
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 xorg_testset_save_CFLAGS="$CFLAGS"
   5755 
   5756 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5757 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5759 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5760 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5761   $as_echo_n "(cached) " >&6
   5762 else
   5763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5764 /* end confdefs.h.  */
   5765 int i;
   5766 _ACEOF
   5767 if ac_fn_c_try_compile "$LINENO"; then :
   5768   xorg_cv_cc_flag_unknown_warning_option=yes
   5769 else
   5770   xorg_cv_cc_flag_unknown_warning_option=no
   5771 fi
   5772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5773 fi
   5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5775 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5777 	CFLAGS="$xorg_testset_save_CFLAGS"
   5778 fi
   5779 
   5780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5783 	fi
   5784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5786 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5787 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5788   $as_echo_n "(cached) " >&6
   5789 else
   5790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5791 /* end confdefs.h.  */
   5792 int i;
   5793 _ACEOF
   5794 if ac_fn_c_try_compile "$LINENO"; then :
   5795   xorg_cv_cc_flag_unused_command_line_argument=yes
   5796 else
   5797   xorg_cv_cc_flag_unused_command_line_argument=no
   5798 fi
   5799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5800 fi
   5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5802 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5803 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5804 	CFLAGS="$xorg_testset_save_CFLAGS"
   5805 fi
   5806 
   5807 found="no"
   5808 
   5809 	if test $found = "no" ; then
   5810 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5811 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5812 		fi
   5813 
   5814 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5815 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5816 		fi
   5817 
   5818 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5819 
   5820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5821 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5822 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5823 		if eval \${$cacheid+:} false; then :
   5824   $as_echo_n "(cached) " >&6
   5825 else
   5826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5827 /* end confdefs.h.  */
   5828 int i;
   5829 int
   5830 main ()
   5831 {
   5832 
   5833   ;
   5834   return 0;
   5835 }
   5836 _ACEOF
   5837 if ac_fn_c_try_link "$LINENO"; then :
   5838   eval $cacheid=yes
   5839 else
   5840   eval $cacheid=no
   5841 fi
   5842 rm -f core conftest.err conftest.$ac_objext \
   5843     conftest$ac_exeext conftest.$ac_ext
   5844 fi
   5845 
   5846 
   5847 		CFLAGS="$xorg_testset_save_CFLAGS"
   5848 
   5849 		eval supported=\$$cacheid
   5850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5851 $as_echo "$supported" >&6; }
   5852 		if test "$supported" = "yes" ; then
   5853 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5854 			found="yes"
   5855 		fi
   5856 	fi
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 xorg_testset_save_CFLAGS="$CFLAGS"
   5873 
   5874 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5875 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5877 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5878 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5879   $as_echo_n "(cached) " >&6
   5880 else
   5881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5882 /* end confdefs.h.  */
   5883 int i;
   5884 _ACEOF
   5885 if ac_fn_c_try_compile "$LINENO"; then :
   5886   xorg_cv_cc_flag_unknown_warning_option=yes
   5887 else
   5888   xorg_cv_cc_flag_unknown_warning_option=no
   5889 fi
   5890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5891 fi
   5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5893 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5895 	CFLAGS="$xorg_testset_save_CFLAGS"
   5896 fi
   5897 
   5898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5901 	fi
   5902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5904 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5905 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5906   $as_echo_n "(cached) " >&6
   5907 else
   5908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5909 /* end confdefs.h.  */
   5910 int i;
   5911 _ACEOF
   5912 if ac_fn_c_try_compile "$LINENO"; then :
   5913   xorg_cv_cc_flag_unused_command_line_argument=yes
   5914 else
   5915   xorg_cv_cc_flag_unused_command_line_argument=no
   5916 fi
   5917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5918 fi
   5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5920 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5921 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5922 	CFLAGS="$xorg_testset_save_CFLAGS"
   5923 fi
   5924 
   5925 found="no"
   5926 
   5927 	if test $found = "no" ; then
   5928 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5929 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5930 		fi
   5931 
   5932 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5933 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5934 		fi
   5935 
   5936 		CFLAGS="$CFLAGS -Wold-style-definition"
   5937 
   5938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5939 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5940 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5941 		if eval \${$cacheid+:} false; then :
   5942   $as_echo_n "(cached) " >&6
   5943 else
   5944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5945 /* end confdefs.h.  */
   5946 int i;
   5947 int
   5948 main ()
   5949 {
   5950 
   5951   ;
   5952   return 0;
   5953 }
   5954 _ACEOF
   5955 if ac_fn_c_try_link "$LINENO"; then :
   5956   eval $cacheid=yes
   5957 else
   5958   eval $cacheid=no
   5959 fi
   5960 rm -f core conftest.err conftest.$ac_objext \
   5961     conftest$ac_exeext conftest.$ac_ext
   5962 fi
   5963 
   5964 
   5965 		CFLAGS="$xorg_testset_save_CFLAGS"
   5966 
   5967 		eval supported=\$$cacheid
   5968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5969 $as_echo "$supported" >&6; }
   5970 		if test "$supported" = "yes" ; then
   5971 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5972 			found="yes"
   5973 		fi
   5974 	fi
   5975 
   5976 	if test $found = "no" ; then
   5977 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5979 		fi
   5980 
   5981 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5983 		fi
   5984 
   5985 		CFLAGS="$CFLAGS -fd"
   5986 
   5987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5988 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5989 		cacheid=xorg_cv_cc_flag__fd
   5990 		if eval \${$cacheid+:} false; then :
   5991   $as_echo_n "(cached) " >&6
   5992 else
   5993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5994 /* end confdefs.h.  */
   5995 int i;
   5996 int
   5997 main ()
   5998 {
   5999 
   6000   ;
   6001   return 0;
   6002 }
   6003 _ACEOF
   6004 if ac_fn_c_try_link "$LINENO"; then :
   6005   eval $cacheid=yes
   6006 else
   6007   eval $cacheid=no
   6008 fi
   6009 rm -f core conftest.err conftest.$ac_objext \
   6010     conftest$ac_exeext conftest.$ac_ext
   6011 fi
   6012 
   6013 
   6014 		CFLAGS="$xorg_testset_save_CFLAGS"
   6015 
   6016 		eval supported=\$$cacheid
   6017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6018 $as_echo "$supported" >&6; }
   6019 		if test "$supported" = "yes" ; then
   6020 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6021 			found="yes"
   6022 		fi
   6023 	fi
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 xorg_testset_save_CFLAGS="$CFLAGS"
   6040 
   6041 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6042 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6044 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6045 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6046   $as_echo_n "(cached) " >&6
   6047 else
   6048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6049 /* end confdefs.h.  */
   6050 int i;
   6051 _ACEOF
   6052 if ac_fn_c_try_compile "$LINENO"; then :
   6053   xorg_cv_cc_flag_unknown_warning_option=yes
   6054 else
   6055   xorg_cv_cc_flag_unknown_warning_option=no
   6056 fi
   6057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6058 fi
   6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6060 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6061 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6062 	CFLAGS="$xorg_testset_save_CFLAGS"
   6063 fi
   6064 
   6065 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6066 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6067 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6068 	fi
   6069 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6070 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6071 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6072 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6073   $as_echo_n "(cached) " >&6
   6074 else
   6075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6076 /* end confdefs.h.  */
   6077 int i;
   6078 _ACEOF
   6079 if ac_fn_c_try_compile "$LINENO"; then :
   6080   xorg_cv_cc_flag_unused_command_line_argument=yes
   6081 else
   6082   xorg_cv_cc_flag_unused_command_line_argument=no
   6083 fi
   6084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6085 fi
   6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6087 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6088 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6089 	CFLAGS="$xorg_testset_save_CFLAGS"
   6090 fi
   6091 
   6092 found="no"
   6093 
   6094 	if test $found = "no" ; then
   6095 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6097 		fi
   6098 
   6099 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6101 		fi
   6102 
   6103 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6104 
   6105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6106 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6107 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6108 		if eval \${$cacheid+:} false; then :
   6109   $as_echo_n "(cached) " >&6
   6110 else
   6111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6112 /* end confdefs.h.  */
   6113 int i;
   6114 int
   6115 main ()
   6116 {
   6117 
   6118   ;
   6119   return 0;
   6120 }
   6121 _ACEOF
   6122 if ac_fn_c_try_link "$LINENO"; then :
   6123   eval $cacheid=yes
   6124 else
   6125   eval $cacheid=no
   6126 fi
   6127 rm -f core conftest.err conftest.$ac_objext \
   6128     conftest$ac_exeext conftest.$ac_ext
   6129 fi
   6130 
   6131 
   6132 		CFLAGS="$xorg_testset_save_CFLAGS"
   6133 
   6134 		eval supported=\$$cacheid
   6135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6136 $as_echo "$supported" >&6; }
   6137 		if test "$supported" = "yes" ; then
   6138 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6139 			found="yes"
   6140 		fi
   6141 	fi
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 # This chunk adds additional warnings that could catch undesired effects.
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 xorg_testset_save_CFLAGS="$CFLAGS"
   6162 
   6163 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6164 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6165 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6166 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6167 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6168   $as_echo_n "(cached) " >&6
   6169 else
   6170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6171 /* end confdefs.h.  */
   6172 int i;
   6173 _ACEOF
   6174 if ac_fn_c_try_compile "$LINENO"; then :
   6175   xorg_cv_cc_flag_unknown_warning_option=yes
   6176 else
   6177   xorg_cv_cc_flag_unknown_warning_option=no
   6178 fi
   6179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6180 fi
   6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6182 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6183 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6184 	CFLAGS="$xorg_testset_save_CFLAGS"
   6185 fi
   6186 
   6187 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6188 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6189 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6190 	fi
   6191 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6192 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6193 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6194 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6195   $as_echo_n "(cached) " >&6
   6196 else
   6197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6198 /* end confdefs.h.  */
   6199 int i;
   6200 _ACEOF
   6201 if ac_fn_c_try_compile "$LINENO"; then :
   6202   xorg_cv_cc_flag_unused_command_line_argument=yes
   6203 else
   6204   xorg_cv_cc_flag_unused_command_line_argument=no
   6205 fi
   6206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6207 fi
   6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6209 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6210 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6211 	CFLAGS="$xorg_testset_save_CFLAGS"
   6212 fi
   6213 
   6214 found="no"
   6215 
   6216 	if test $found = "no" ; then
   6217 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6219 		fi
   6220 
   6221 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6223 		fi
   6224 
   6225 		CFLAGS="$CFLAGS -Wunused"
   6226 
   6227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6228 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6229 		cacheid=xorg_cv_cc_flag__Wunused
   6230 		if eval \${$cacheid+:} false; then :
   6231   $as_echo_n "(cached) " >&6
   6232 else
   6233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6234 /* end confdefs.h.  */
   6235 int i;
   6236 int
   6237 main ()
   6238 {
   6239 
   6240   ;
   6241   return 0;
   6242 }
   6243 _ACEOF
   6244 if ac_fn_c_try_link "$LINENO"; then :
   6245   eval $cacheid=yes
   6246 else
   6247   eval $cacheid=no
   6248 fi
   6249 rm -f core conftest.err conftest.$ac_objext \
   6250     conftest$ac_exeext conftest.$ac_ext
   6251 fi
   6252 
   6253 
   6254 		CFLAGS="$xorg_testset_save_CFLAGS"
   6255 
   6256 		eval supported=\$$cacheid
   6257 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6258 $as_echo "$supported" >&6; }
   6259 		if test "$supported" = "yes" ; then
   6260 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6261 			found="yes"
   6262 		fi
   6263 	fi
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 xorg_testset_save_CFLAGS="$CFLAGS"
   6280 
   6281 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6282 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6283 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6284 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6285 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6286   $as_echo_n "(cached) " >&6
   6287 else
   6288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6289 /* end confdefs.h.  */
   6290 int i;
   6291 _ACEOF
   6292 if ac_fn_c_try_compile "$LINENO"; then :
   6293   xorg_cv_cc_flag_unknown_warning_option=yes
   6294 else
   6295   xorg_cv_cc_flag_unknown_warning_option=no
   6296 fi
   6297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6298 fi
   6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6300 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6301 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6302 	CFLAGS="$xorg_testset_save_CFLAGS"
   6303 fi
   6304 
   6305 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6306 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6307 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6308 	fi
   6309 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6311 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6312 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6313   $as_echo_n "(cached) " >&6
   6314 else
   6315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6316 /* end confdefs.h.  */
   6317 int i;
   6318 _ACEOF
   6319 if ac_fn_c_try_compile "$LINENO"; then :
   6320   xorg_cv_cc_flag_unused_command_line_argument=yes
   6321 else
   6322   xorg_cv_cc_flag_unused_command_line_argument=no
   6323 fi
   6324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6325 fi
   6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6327 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6328 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6329 	CFLAGS="$xorg_testset_save_CFLAGS"
   6330 fi
   6331 
   6332 found="no"
   6333 
   6334 	if test $found = "no" ; then
   6335 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6336 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6337 		fi
   6338 
   6339 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6340 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6341 		fi
   6342 
   6343 		CFLAGS="$CFLAGS -Wuninitialized"
   6344 
   6345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6346 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6347 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6348 		if eval \${$cacheid+:} false; then :
   6349   $as_echo_n "(cached) " >&6
   6350 else
   6351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6352 /* end confdefs.h.  */
   6353 int i;
   6354 int
   6355 main ()
   6356 {
   6357 
   6358   ;
   6359   return 0;
   6360 }
   6361 _ACEOF
   6362 if ac_fn_c_try_link "$LINENO"; then :
   6363   eval $cacheid=yes
   6364 else
   6365   eval $cacheid=no
   6366 fi
   6367 rm -f core conftest.err conftest.$ac_objext \
   6368     conftest$ac_exeext conftest.$ac_ext
   6369 fi
   6370 
   6371 
   6372 		CFLAGS="$xorg_testset_save_CFLAGS"
   6373 
   6374 		eval supported=\$$cacheid
   6375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6376 $as_echo "$supported" >&6; }
   6377 		if test "$supported" = "yes" ; then
   6378 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6379 			found="yes"
   6380 		fi
   6381 	fi
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 xorg_testset_save_CFLAGS="$CFLAGS"
   6398 
   6399 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6400 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6401 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6402 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6403 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6404   $as_echo_n "(cached) " >&6
   6405 else
   6406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6407 /* end confdefs.h.  */
   6408 int i;
   6409 _ACEOF
   6410 if ac_fn_c_try_compile "$LINENO"; then :
   6411   xorg_cv_cc_flag_unknown_warning_option=yes
   6412 else
   6413   xorg_cv_cc_flag_unknown_warning_option=no
   6414 fi
   6415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6416 fi
   6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6418 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6420 	CFLAGS="$xorg_testset_save_CFLAGS"
   6421 fi
   6422 
   6423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6426 	fi
   6427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6428 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6429 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6430 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6431   $as_echo_n "(cached) " >&6
   6432 else
   6433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6434 /* end confdefs.h.  */
   6435 int i;
   6436 _ACEOF
   6437 if ac_fn_c_try_compile "$LINENO"; then :
   6438   xorg_cv_cc_flag_unused_command_line_argument=yes
   6439 else
   6440   xorg_cv_cc_flag_unused_command_line_argument=no
   6441 fi
   6442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6443 fi
   6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6445 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6446 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6447 	CFLAGS="$xorg_testset_save_CFLAGS"
   6448 fi
   6449 
   6450 found="no"
   6451 
   6452 	if test $found = "no" ; then
   6453 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6454 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6455 		fi
   6456 
   6457 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6458 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6459 		fi
   6460 
   6461 		CFLAGS="$CFLAGS -Wshadow"
   6462 
   6463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6464 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6465 		cacheid=xorg_cv_cc_flag__Wshadow
   6466 		if eval \${$cacheid+:} false; then :
   6467   $as_echo_n "(cached) " >&6
   6468 else
   6469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6470 /* end confdefs.h.  */
   6471 int i;
   6472 int
   6473 main ()
   6474 {
   6475 
   6476   ;
   6477   return 0;
   6478 }
   6479 _ACEOF
   6480 if ac_fn_c_try_link "$LINENO"; then :
   6481   eval $cacheid=yes
   6482 else
   6483   eval $cacheid=no
   6484 fi
   6485 rm -f core conftest.err conftest.$ac_objext \
   6486     conftest$ac_exeext conftest.$ac_ext
   6487 fi
   6488 
   6489 
   6490 		CFLAGS="$xorg_testset_save_CFLAGS"
   6491 
   6492 		eval supported=\$$cacheid
   6493 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6494 $as_echo "$supported" >&6; }
   6495 		if test "$supported" = "yes" ; then
   6496 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6497 			found="yes"
   6498 		fi
   6499 	fi
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 xorg_testset_save_CFLAGS="$CFLAGS"
   6516 
   6517 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6518 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6520 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6521 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6522   $as_echo_n "(cached) " >&6
   6523 else
   6524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6525 /* end confdefs.h.  */
   6526 int i;
   6527 _ACEOF
   6528 if ac_fn_c_try_compile "$LINENO"; then :
   6529   xorg_cv_cc_flag_unknown_warning_option=yes
   6530 else
   6531   xorg_cv_cc_flag_unknown_warning_option=no
   6532 fi
   6533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6534 fi
   6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6536 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6537 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6538 	CFLAGS="$xorg_testset_save_CFLAGS"
   6539 fi
   6540 
   6541 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6542 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6543 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6544 	fi
   6545 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6547 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6548 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6549   $as_echo_n "(cached) " >&6
   6550 else
   6551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6552 /* end confdefs.h.  */
   6553 int i;
   6554 _ACEOF
   6555 if ac_fn_c_try_compile "$LINENO"; then :
   6556   xorg_cv_cc_flag_unused_command_line_argument=yes
   6557 else
   6558   xorg_cv_cc_flag_unused_command_line_argument=no
   6559 fi
   6560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6561 fi
   6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6563 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6564 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6565 	CFLAGS="$xorg_testset_save_CFLAGS"
   6566 fi
   6567 
   6568 found="no"
   6569 
   6570 	if test $found = "no" ; then
   6571 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6572 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6573 		fi
   6574 
   6575 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6576 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6577 		fi
   6578 
   6579 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6580 
   6581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6582 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6583 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6584 		if eval \${$cacheid+:} false; then :
   6585   $as_echo_n "(cached) " >&6
   6586 else
   6587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6588 /* end confdefs.h.  */
   6589 int i;
   6590 int
   6591 main ()
   6592 {
   6593 
   6594   ;
   6595   return 0;
   6596 }
   6597 _ACEOF
   6598 if ac_fn_c_try_link "$LINENO"; then :
   6599   eval $cacheid=yes
   6600 else
   6601   eval $cacheid=no
   6602 fi
   6603 rm -f core conftest.err conftest.$ac_objext \
   6604     conftest$ac_exeext conftest.$ac_ext
   6605 fi
   6606 
   6607 
   6608 		CFLAGS="$xorg_testset_save_CFLAGS"
   6609 
   6610 		eval supported=\$$cacheid
   6611 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6612 $as_echo "$supported" >&6; }
   6613 		if test "$supported" = "yes" ; then
   6614 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6615 			found="yes"
   6616 		fi
   6617 	fi
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 xorg_testset_save_CFLAGS="$CFLAGS"
   6634 
   6635 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6636 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6637 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6638 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6639 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6640   $as_echo_n "(cached) " >&6
   6641 else
   6642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6643 /* end confdefs.h.  */
   6644 int i;
   6645 _ACEOF
   6646 if ac_fn_c_try_compile "$LINENO"; then :
   6647   xorg_cv_cc_flag_unknown_warning_option=yes
   6648 else
   6649   xorg_cv_cc_flag_unknown_warning_option=no
   6650 fi
   6651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6652 fi
   6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6654 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6655 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6656 	CFLAGS="$xorg_testset_save_CFLAGS"
   6657 fi
   6658 
   6659 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6660 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6661 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6662 	fi
   6663 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6664 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6665 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6666 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6667   $as_echo_n "(cached) " >&6
   6668 else
   6669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6670 /* end confdefs.h.  */
   6671 int i;
   6672 _ACEOF
   6673 if ac_fn_c_try_compile "$LINENO"; then :
   6674   xorg_cv_cc_flag_unused_command_line_argument=yes
   6675 else
   6676   xorg_cv_cc_flag_unused_command_line_argument=no
   6677 fi
   6678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6679 fi
   6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6681 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6682 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6683 	CFLAGS="$xorg_testset_save_CFLAGS"
   6684 fi
   6685 
   6686 found="no"
   6687 
   6688 	if test $found = "no" ; then
   6689 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6690 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6691 		fi
   6692 
   6693 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6694 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6695 		fi
   6696 
   6697 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6698 
   6699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6700 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6701 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6702 		if eval \${$cacheid+:} false; then :
   6703   $as_echo_n "(cached) " >&6
   6704 else
   6705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6706 /* end confdefs.h.  */
   6707 int i;
   6708 int
   6709 main ()
   6710 {
   6711 
   6712   ;
   6713   return 0;
   6714 }
   6715 _ACEOF
   6716 if ac_fn_c_try_link "$LINENO"; then :
   6717   eval $cacheid=yes
   6718 else
   6719   eval $cacheid=no
   6720 fi
   6721 rm -f core conftest.err conftest.$ac_objext \
   6722     conftest$ac_exeext conftest.$ac_ext
   6723 fi
   6724 
   6725 
   6726 		CFLAGS="$xorg_testset_save_CFLAGS"
   6727 
   6728 		eval supported=\$$cacheid
   6729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6730 $as_echo "$supported" >&6; }
   6731 		if test "$supported" = "yes" ; then
   6732 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6733 			found="yes"
   6734 		fi
   6735 	fi
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 xorg_testset_save_CFLAGS="$CFLAGS"
   6752 
   6753 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6754 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6755 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6756 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6757 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6758   $as_echo_n "(cached) " >&6
   6759 else
   6760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6761 /* end confdefs.h.  */
   6762 int i;
   6763 _ACEOF
   6764 if ac_fn_c_try_compile "$LINENO"; then :
   6765   xorg_cv_cc_flag_unknown_warning_option=yes
   6766 else
   6767   xorg_cv_cc_flag_unknown_warning_option=no
   6768 fi
   6769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6770 fi
   6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6772 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6774 	CFLAGS="$xorg_testset_save_CFLAGS"
   6775 fi
   6776 
   6777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6780 	fi
   6781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6782 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6783 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6784 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6785   $as_echo_n "(cached) " >&6
   6786 else
   6787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6788 /* end confdefs.h.  */
   6789 int i;
   6790 _ACEOF
   6791 if ac_fn_c_try_compile "$LINENO"; then :
   6792   xorg_cv_cc_flag_unused_command_line_argument=yes
   6793 else
   6794   xorg_cv_cc_flag_unused_command_line_argument=no
   6795 fi
   6796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6797 fi
   6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6799 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6801 	CFLAGS="$xorg_testset_save_CFLAGS"
   6802 fi
   6803 
   6804 found="no"
   6805 
   6806 	if test $found = "no" ; then
   6807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6809 		fi
   6810 
   6811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6813 		fi
   6814 
   6815 		CFLAGS="$CFLAGS -Wredundant-decls"
   6816 
   6817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6818 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6819 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6820 		if eval \${$cacheid+:} false; then :
   6821   $as_echo_n "(cached) " >&6
   6822 else
   6823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6824 /* end confdefs.h.  */
   6825 int i;
   6826 int
   6827 main ()
   6828 {
   6829 
   6830   ;
   6831   return 0;
   6832 }
   6833 _ACEOF
   6834 if ac_fn_c_try_link "$LINENO"; then :
   6835   eval $cacheid=yes
   6836 else
   6837   eval $cacheid=no
   6838 fi
   6839 rm -f core conftest.err conftest.$ac_objext \
   6840     conftest$ac_exeext conftest.$ac_ext
   6841 fi
   6842 
   6843 
   6844 		CFLAGS="$xorg_testset_save_CFLAGS"
   6845 
   6846 		eval supported=\$$cacheid
   6847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6848 $as_echo "$supported" >&6; }
   6849 		if test "$supported" = "yes" ; then
   6850 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6851 			found="yes"
   6852 		fi
   6853 	fi
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 xorg_testset_save_CFLAGS="$CFLAGS"
   6870 
   6871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6873 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6874 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6875 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6876   $as_echo_n "(cached) " >&6
   6877 else
   6878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6879 /* end confdefs.h.  */
   6880 int i;
   6881 _ACEOF
   6882 if ac_fn_c_try_compile "$LINENO"; then :
   6883   xorg_cv_cc_flag_unknown_warning_option=yes
   6884 else
   6885   xorg_cv_cc_flag_unknown_warning_option=no
   6886 fi
   6887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6888 fi
   6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6890 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6891 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6892 	CFLAGS="$xorg_testset_save_CFLAGS"
   6893 fi
   6894 
   6895 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6896 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6897 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6898 	fi
   6899 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6900 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6901 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6902 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6903   $as_echo_n "(cached) " >&6
   6904 else
   6905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6906 /* end confdefs.h.  */
   6907 int i;
   6908 _ACEOF
   6909 if ac_fn_c_try_compile "$LINENO"; then :
   6910   xorg_cv_cc_flag_unused_command_line_argument=yes
   6911 else
   6912   xorg_cv_cc_flag_unused_command_line_argument=no
   6913 fi
   6914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6915 fi
   6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6917 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6918 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6919 	CFLAGS="$xorg_testset_save_CFLAGS"
   6920 fi
   6921 
   6922 found="no"
   6923 
   6924 	if test $found = "no" ; then
   6925 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6926 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6927 		fi
   6928 
   6929 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6930 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6931 		fi
   6932 
   6933 		CFLAGS="$CFLAGS -Wlogical-op"
   6934 
   6935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6936 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6937 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6938 		if eval \${$cacheid+:} false; then :
   6939   $as_echo_n "(cached) " >&6
   6940 else
   6941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6942 /* end confdefs.h.  */
   6943 int i;
   6944 int
   6945 main ()
   6946 {
   6947 
   6948   ;
   6949   return 0;
   6950 }
   6951 _ACEOF
   6952 if ac_fn_c_try_link "$LINENO"; then :
   6953   eval $cacheid=yes
   6954 else
   6955   eval $cacheid=no
   6956 fi
   6957 rm -f core conftest.err conftest.$ac_objext \
   6958     conftest$ac_exeext conftest.$ac_ext
   6959 fi
   6960 
   6961 
   6962 		CFLAGS="$xorg_testset_save_CFLAGS"
   6963 
   6964 		eval supported=\$$cacheid
   6965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6966 $as_echo "$supported" >&6; }
   6967 		if test "$supported" = "yes" ; then
   6968 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6969 			found="yes"
   6970 		fi
   6971 	fi
   6972 
   6973 
   6974 
   6975 # These are currently disabled because they are noisy.  They will be enabled
   6976 # in the future once the codebase is sufficiently modernized to silence
   6977 # them.  For now, I don't want them to drown out the other warnings.
   6978 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6979 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6980 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6981 
   6982 # Turn some warnings into errors, so we don't accidently get successful builds
   6983 # when there are problems that should be fixed.
   6984 
   6985 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 xorg_testset_save_CFLAGS="$CFLAGS"
   7000 
   7001 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7002 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7003 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7004 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7005 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7006   $as_echo_n "(cached) " >&6
   7007 else
   7008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7009 /* end confdefs.h.  */
   7010 int i;
   7011 _ACEOF
   7012 if ac_fn_c_try_compile "$LINENO"; then :
   7013   xorg_cv_cc_flag_unknown_warning_option=yes
   7014 else
   7015   xorg_cv_cc_flag_unknown_warning_option=no
   7016 fi
   7017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7018 fi
   7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7020 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7022 	CFLAGS="$xorg_testset_save_CFLAGS"
   7023 fi
   7024 
   7025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7028 	fi
   7029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7030 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7031 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7032 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7033   $as_echo_n "(cached) " >&6
   7034 else
   7035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7036 /* end confdefs.h.  */
   7037 int i;
   7038 _ACEOF
   7039 if ac_fn_c_try_compile "$LINENO"; then :
   7040   xorg_cv_cc_flag_unused_command_line_argument=yes
   7041 else
   7042   xorg_cv_cc_flag_unused_command_line_argument=no
   7043 fi
   7044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7045 fi
   7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7047 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7048 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7049 	CFLAGS="$xorg_testset_save_CFLAGS"
   7050 fi
   7051 
   7052 found="no"
   7053 
   7054 	if test $found = "no" ; then
   7055 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7056 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7057 		fi
   7058 
   7059 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7060 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7061 		fi
   7062 
   7063 		CFLAGS="$CFLAGS -Werror=implicit"
   7064 
   7065 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7066 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7067 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7068 		if eval \${$cacheid+:} false; then :
   7069   $as_echo_n "(cached) " >&6
   7070 else
   7071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7072 /* end confdefs.h.  */
   7073 int i;
   7074 int
   7075 main ()
   7076 {
   7077 
   7078   ;
   7079   return 0;
   7080 }
   7081 _ACEOF
   7082 if ac_fn_c_try_link "$LINENO"; then :
   7083   eval $cacheid=yes
   7084 else
   7085   eval $cacheid=no
   7086 fi
   7087 rm -f core conftest.err conftest.$ac_objext \
   7088     conftest$ac_exeext conftest.$ac_ext
   7089 fi
   7090 
   7091 
   7092 		CFLAGS="$xorg_testset_save_CFLAGS"
   7093 
   7094 		eval supported=\$$cacheid
   7095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7096 $as_echo "$supported" >&6; }
   7097 		if test "$supported" = "yes" ; then
   7098 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7099 			found="yes"
   7100 		fi
   7101 	fi
   7102 
   7103 	if test $found = "no" ; then
   7104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7106 		fi
   7107 
   7108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7110 		fi
   7111 
   7112 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7113 
   7114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7115 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7116 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7117 		if eval \${$cacheid+:} false; then :
   7118   $as_echo_n "(cached) " >&6
   7119 else
   7120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7121 /* end confdefs.h.  */
   7122 int i;
   7123 int
   7124 main ()
   7125 {
   7126 
   7127   ;
   7128   return 0;
   7129 }
   7130 _ACEOF
   7131 if ac_fn_c_try_link "$LINENO"; then :
   7132   eval $cacheid=yes
   7133 else
   7134   eval $cacheid=no
   7135 fi
   7136 rm -f core conftest.err conftest.$ac_objext \
   7137     conftest$ac_exeext conftest.$ac_ext
   7138 fi
   7139 
   7140 
   7141 		CFLAGS="$xorg_testset_save_CFLAGS"
   7142 
   7143 		eval supported=\$$cacheid
   7144 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7145 $as_echo "$supported" >&6; }
   7146 		if test "$supported" = "yes" ; then
   7147 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7148 			found="yes"
   7149 		fi
   7150 	fi
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 xorg_testset_save_CFLAGS="$CFLAGS"
   7167 
   7168 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7171 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7172 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7173   $as_echo_n "(cached) " >&6
   7174 else
   7175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7176 /* end confdefs.h.  */
   7177 int i;
   7178 _ACEOF
   7179 if ac_fn_c_try_compile "$LINENO"; then :
   7180   xorg_cv_cc_flag_unknown_warning_option=yes
   7181 else
   7182   xorg_cv_cc_flag_unknown_warning_option=no
   7183 fi
   7184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7185 fi
   7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7187 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7189 	CFLAGS="$xorg_testset_save_CFLAGS"
   7190 fi
   7191 
   7192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7195 	fi
   7196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7198 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7199 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7200   $as_echo_n "(cached) " >&6
   7201 else
   7202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7203 /* end confdefs.h.  */
   7204 int i;
   7205 _ACEOF
   7206 if ac_fn_c_try_compile "$LINENO"; then :
   7207   xorg_cv_cc_flag_unused_command_line_argument=yes
   7208 else
   7209   xorg_cv_cc_flag_unused_command_line_argument=no
   7210 fi
   7211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7212 fi
   7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7214 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7215 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7216 	CFLAGS="$xorg_testset_save_CFLAGS"
   7217 fi
   7218 
   7219 found="no"
   7220 
   7221 	if test $found = "no" ; then
   7222 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7223 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7224 		fi
   7225 
   7226 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7227 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7228 		fi
   7229 
   7230 		CFLAGS="$CFLAGS -Werror=nonnull"
   7231 
   7232 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7233 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7234 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7235 		if eval \${$cacheid+:} false; then :
   7236   $as_echo_n "(cached) " >&6
   7237 else
   7238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7239 /* end confdefs.h.  */
   7240 int i;
   7241 int
   7242 main ()
   7243 {
   7244 
   7245   ;
   7246   return 0;
   7247 }
   7248 _ACEOF
   7249 if ac_fn_c_try_link "$LINENO"; then :
   7250   eval $cacheid=yes
   7251 else
   7252   eval $cacheid=no
   7253 fi
   7254 rm -f core conftest.err conftest.$ac_objext \
   7255     conftest$ac_exeext conftest.$ac_ext
   7256 fi
   7257 
   7258 
   7259 		CFLAGS="$xorg_testset_save_CFLAGS"
   7260 
   7261 		eval supported=\$$cacheid
   7262 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7263 $as_echo "$supported" >&6; }
   7264 		if test "$supported" = "yes" ; then
   7265 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7266 			found="yes"
   7267 		fi
   7268 	fi
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 xorg_testset_save_CFLAGS="$CFLAGS"
   7285 
   7286 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7287 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7289 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7290 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7291   $as_echo_n "(cached) " >&6
   7292 else
   7293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7294 /* end confdefs.h.  */
   7295 int i;
   7296 _ACEOF
   7297 if ac_fn_c_try_compile "$LINENO"; then :
   7298   xorg_cv_cc_flag_unknown_warning_option=yes
   7299 else
   7300   xorg_cv_cc_flag_unknown_warning_option=no
   7301 fi
   7302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7303 fi
   7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7305 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7306 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7307 	CFLAGS="$xorg_testset_save_CFLAGS"
   7308 fi
   7309 
   7310 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7311 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7312 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7313 	fi
   7314 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7316 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7317 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7318   $as_echo_n "(cached) " >&6
   7319 else
   7320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7321 /* end confdefs.h.  */
   7322 int i;
   7323 _ACEOF
   7324 if ac_fn_c_try_compile "$LINENO"; then :
   7325   xorg_cv_cc_flag_unused_command_line_argument=yes
   7326 else
   7327   xorg_cv_cc_flag_unused_command_line_argument=no
   7328 fi
   7329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7330 fi
   7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7332 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7333 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7334 	CFLAGS="$xorg_testset_save_CFLAGS"
   7335 fi
   7336 
   7337 found="no"
   7338 
   7339 	if test $found = "no" ; then
   7340 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7341 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7342 		fi
   7343 
   7344 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7345 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7346 		fi
   7347 
   7348 		CFLAGS="$CFLAGS -Werror=init-self"
   7349 
   7350 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7351 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7352 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7353 		if eval \${$cacheid+:} false; then :
   7354   $as_echo_n "(cached) " >&6
   7355 else
   7356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7357 /* end confdefs.h.  */
   7358 int i;
   7359 int
   7360 main ()
   7361 {
   7362 
   7363   ;
   7364   return 0;
   7365 }
   7366 _ACEOF
   7367 if ac_fn_c_try_link "$LINENO"; then :
   7368   eval $cacheid=yes
   7369 else
   7370   eval $cacheid=no
   7371 fi
   7372 rm -f core conftest.err conftest.$ac_objext \
   7373     conftest$ac_exeext conftest.$ac_ext
   7374 fi
   7375 
   7376 
   7377 		CFLAGS="$xorg_testset_save_CFLAGS"
   7378 
   7379 		eval supported=\$$cacheid
   7380 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7381 $as_echo "$supported" >&6; }
   7382 		if test "$supported" = "yes" ; then
   7383 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7384 			found="yes"
   7385 		fi
   7386 	fi
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 xorg_testset_save_CFLAGS="$CFLAGS"
   7403 
   7404 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7407 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7408 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7409   $as_echo_n "(cached) " >&6
   7410 else
   7411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7412 /* end confdefs.h.  */
   7413 int i;
   7414 _ACEOF
   7415 if ac_fn_c_try_compile "$LINENO"; then :
   7416   xorg_cv_cc_flag_unknown_warning_option=yes
   7417 else
   7418   xorg_cv_cc_flag_unknown_warning_option=no
   7419 fi
   7420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7421 fi
   7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7423 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7424 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7425 	CFLAGS="$xorg_testset_save_CFLAGS"
   7426 fi
   7427 
   7428 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7429 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7431 	fi
   7432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7434 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7435 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7436   $as_echo_n "(cached) " >&6
   7437 else
   7438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7439 /* end confdefs.h.  */
   7440 int i;
   7441 _ACEOF
   7442 if ac_fn_c_try_compile "$LINENO"; then :
   7443   xorg_cv_cc_flag_unused_command_line_argument=yes
   7444 else
   7445   xorg_cv_cc_flag_unused_command_line_argument=no
   7446 fi
   7447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7448 fi
   7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7450 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7452 	CFLAGS="$xorg_testset_save_CFLAGS"
   7453 fi
   7454 
   7455 found="no"
   7456 
   7457 	if test $found = "no" ; then
   7458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7460 		fi
   7461 
   7462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7464 		fi
   7465 
   7466 		CFLAGS="$CFLAGS -Werror=main"
   7467 
   7468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7469 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7470 		cacheid=xorg_cv_cc_flag__Werror_main
   7471 		if eval \${$cacheid+:} false; then :
   7472   $as_echo_n "(cached) " >&6
   7473 else
   7474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7475 /* end confdefs.h.  */
   7476 int i;
   7477 int
   7478 main ()
   7479 {
   7480 
   7481   ;
   7482   return 0;
   7483 }
   7484 _ACEOF
   7485 if ac_fn_c_try_link "$LINENO"; then :
   7486   eval $cacheid=yes
   7487 else
   7488   eval $cacheid=no
   7489 fi
   7490 rm -f core conftest.err conftest.$ac_objext \
   7491     conftest$ac_exeext conftest.$ac_ext
   7492 fi
   7493 
   7494 
   7495 		CFLAGS="$xorg_testset_save_CFLAGS"
   7496 
   7497 		eval supported=\$$cacheid
   7498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7499 $as_echo "$supported" >&6; }
   7500 		if test "$supported" = "yes" ; then
   7501 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7502 			found="yes"
   7503 		fi
   7504 	fi
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 xorg_testset_save_CFLAGS="$CFLAGS"
   7521 
   7522 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7523 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7524 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7525 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7526 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7527   $as_echo_n "(cached) " >&6
   7528 else
   7529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7530 /* end confdefs.h.  */
   7531 int i;
   7532 _ACEOF
   7533 if ac_fn_c_try_compile "$LINENO"; then :
   7534   xorg_cv_cc_flag_unknown_warning_option=yes
   7535 else
   7536   xorg_cv_cc_flag_unknown_warning_option=no
   7537 fi
   7538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7539 fi
   7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7541 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7542 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7543 	CFLAGS="$xorg_testset_save_CFLAGS"
   7544 fi
   7545 
   7546 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7547 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7548 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7549 	fi
   7550 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7552 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7553 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7554   $as_echo_n "(cached) " >&6
   7555 else
   7556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7557 /* end confdefs.h.  */
   7558 int i;
   7559 _ACEOF
   7560 if ac_fn_c_try_compile "$LINENO"; then :
   7561   xorg_cv_cc_flag_unused_command_line_argument=yes
   7562 else
   7563   xorg_cv_cc_flag_unused_command_line_argument=no
   7564 fi
   7565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7566 fi
   7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7568 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7569 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7570 	CFLAGS="$xorg_testset_save_CFLAGS"
   7571 fi
   7572 
   7573 found="no"
   7574 
   7575 	if test $found = "no" ; then
   7576 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7578 		fi
   7579 
   7580 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7582 		fi
   7583 
   7584 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7585 
   7586 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7587 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7588 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7589 		if eval \${$cacheid+:} false; then :
   7590   $as_echo_n "(cached) " >&6
   7591 else
   7592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7593 /* end confdefs.h.  */
   7594 int i;
   7595 int
   7596 main ()
   7597 {
   7598 
   7599   ;
   7600   return 0;
   7601 }
   7602 _ACEOF
   7603 if ac_fn_c_try_link "$LINENO"; then :
   7604   eval $cacheid=yes
   7605 else
   7606   eval $cacheid=no
   7607 fi
   7608 rm -f core conftest.err conftest.$ac_objext \
   7609     conftest$ac_exeext conftest.$ac_ext
   7610 fi
   7611 
   7612 
   7613 		CFLAGS="$xorg_testset_save_CFLAGS"
   7614 
   7615 		eval supported=\$$cacheid
   7616 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7617 $as_echo "$supported" >&6; }
   7618 		if test "$supported" = "yes" ; then
   7619 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7620 			found="yes"
   7621 		fi
   7622 	fi
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 xorg_testset_save_CFLAGS="$CFLAGS"
   7639 
   7640 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7641 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7642 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7643 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7644 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7645   $as_echo_n "(cached) " >&6
   7646 else
   7647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7648 /* end confdefs.h.  */
   7649 int i;
   7650 _ACEOF
   7651 if ac_fn_c_try_compile "$LINENO"; then :
   7652   xorg_cv_cc_flag_unknown_warning_option=yes
   7653 else
   7654   xorg_cv_cc_flag_unknown_warning_option=no
   7655 fi
   7656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7657 fi
   7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7659 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7660 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7661 	CFLAGS="$xorg_testset_save_CFLAGS"
   7662 fi
   7663 
   7664 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7665 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7666 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7667 	fi
   7668 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7669 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7670 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7671 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7672   $as_echo_n "(cached) " >&6
   7673 else
   7674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7675 /* end confdefs.h.  */
   7676 int i;
   7677 _ACEOF
   7678 if ac_fn_c_try_compile "$LINENO"; then :
   7679   xorg_cv_cc_flag_unused_command_line_argument=yes
   7680 else
   7681   xorg_cv_cc_flag_unused_command_line_argument=no
   7682 fi
   7683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7684 fi
   7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7686 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7687 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7688 	CFLAGS="$xorg_testset_save_CFLAGS"
   7689 fi
   7690 
   7691 found="no"
   7692 
   7693 	if test $found = "no" ; then
   7694 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7695 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7696 		fi
   7697 
   7698 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7699 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7700 		fi
   7701 
   7702 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7703 
   7704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7705 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7706 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7707 		if eval \${$cacheid+:} false; then :
   7708   $as_echo_n "(cached) " >&6
   7709 else
   7710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7711 /* end confdefs.h.  */
   7712 int i;
   7713 int
   7714 main ()
   7715 {
   7716 
   7717   ;
   7718   return 0;
   7719 }
   7720 _ACEOF
   7721 if ac_fn_c_try_link "$LINENO"; then :
   7722   eval $cacheid=yes
   7723 else
   7724   eval $cacheid=no
   7725 fi
   7726 rm -f core conftest.err conftest.$ac_objext \
   7727     conftest$ac_exeext conftest.$ac_ext
   7728 fi
   7729 
   7730 
   7731 		CFLAGS="$xorg_testset_save_CFLAGS"
   7732 
   7733 		eval supported=\$$cacheid
   7734 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7735 $as_echo "$supported" >&6; }
   7736 		if test "$supported" = "yes" ; then
   7737 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7738 			found="yes"
   7739 		fi
   7740 	fi
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 xorg_testset_save_CFLAGS="$CFLAGS"
   7757 
   7758 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7759 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7760 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7761 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7762 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7763   $as_echo_n "(cached) " >&6
   7764 else
   7765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7766 /* end confdefs.h.  */
   7767 int i;
   7768 _ACEOF
   7769 if ac_fn_c_try_compile "$LINENO"; then :
   7770   xorg_cv_cc_flag_unknown_warning_option=yes
   7771 else
   7772   xorg_cv_cc_flag_unknown_warning_option=no
   7773 fi
   7774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7775 fi
   7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7777 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7778 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7779 	CFLAGS="$xorg_testset_save_CFLAGS"
   7780 fi
   7781 
   7782 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7783 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7784 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7785 	fi
   7786 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7787 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7788 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7789 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7790   $as_echo_n "(cached) " >&6
   7791 else
   7792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7793 /* end confdefs.h.  */
   7794 int i;
   7795 _ACEOF
   7796 if ac_fn_c_try_compile "$LINENO"; then :
   7797   xorg_cv_cc_flag_unused_command_line_argument=yes
   7798 else
   7799   xorg_cv_cc_flag_unused_command_line_argument=no
   7800 fi
   7801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7802 fi
   7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7804 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7805 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7806 	CFLAGS="$xorg_testset_save_CFLAGS"
   7807 fi
   7808 
   7809 found="no"
   7810 
   7811 	if test $found = "no" ; then
   7812 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7813 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7814 		fi
   7815 
   7816 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7817 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7818 		fi
   7819 
   7820 		CFLAGS="$CFLAGS -Werror=return-type"
   7821 
   7822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7823 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7824 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7825 		if eval \${$cacheid+:} false; then :
   7826   $as_echo_n "(cached) " >&6
   7827 else
   7828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7829 /* end confdefs.h.  */
   7830 int i;
   7831 int
   7832 main ()
   7833 {
   7834 
   7835   ;
   7836   return 0;
   7837 }
   7838 _ACEOF
   7839 if ac_fn_c_try_link "$LINENO"; then :
   7840   eval $cacheid=yes
   7841 else
   7842   eval $cacheid=no
   7843 fi
   7844 rm -f core conftest.err conftest.$ac_objext \
   7845     conftest$ac_exeext conftest.$ac_ext
   7846 fi
   7847 
   7848 
   7849 		CFLAGS="$xorg_testset_save_CFLAGS"
   7850 
   7851 		eval supported=\$$cacheid
   7852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7853 $as_echo "$supported" >&6; }
   7854 		if test "$supported" = "yes" ; then
   7855 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7856 			found="yes"
   7857 		fi
   7858 	fi
   7859 
   7860 	if test $found = "no" ; then
   7861 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7862 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7863 		fi
   7864 
   7865 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7866 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7867 		fi
   7868 
   7869 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7870 
   7871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7872 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7873 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7874 		if eval \${$cacheid+:} false; then :
   7875   $as_echo_n "(cached) " >&6
   7876 else
   7877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7878 /* end confdefs.h.  */
   7879 int i;
   7880 int
   7881 main ()
   7882 {
   7883 
   7884   ;
   7885   return 0;
   7886 }
   7887 _ACEOF
   7888 if ac_fn_c_try_link "$LINENO"; then :
   7889   eval $cacheid=yes
   7890 else
   7891   eval $cacheid=no
   7892 fi
   7893 rm -f core conftest.err conftest.$ac_objext \
   7894     conftest$ac_exeext conftest.$ac_ext
   7895 fi
   7896 
   7897 
   7898 		CFLAGS="$xorg_testset_save_CFLAGS"
   7899 
   7900 		eval supported=\$$cacheid
   7901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7902 $as_echo "$supported" >&6; }
   7903 		if test "$supported" = "yes" ; then
   7904 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7905 			found="yes"
   7906 		fi
   7907 	fi
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 xorg_testset_save_CFLAGS="$CFLAGS"
   7924 
   7925 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7926 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7927 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7928 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7929 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7930   $as_echo_n "(cached) " >&6
   7931 else
   7932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7933 /* end confdefs.h.  */
   7934 int i;
   7935 _ACEOF
   7936 if ac_fn_c_try_compile "$LINENO"; then :
   7937   xorg_cv_cc_flag_unknown_warning_option=yes
   7938 else
   7939   xorg_cv_cc_flag_unknown_warning_option=no
   7940 fi
   7941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7942 fi
   7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7944 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7945 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7946 	CFLAGS="$xorg_testset_save_CFLAGS"
   7947 fi
   7948 
   7949 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7950 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7951 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7952 	fi
   7953 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7955 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7956 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7957   $as_echo_n "(cached) " >&6
   7958 else
   7959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7960 /* end confdefs.h.  */
   7961 int i;
   7962 _ACEOF
   7963 if ac_fn_c_try_compile "$LINENO"; then :
   7964   xorg_cv_cc_flag_unused_command_line_argument=yes
   7965 else
   7966   xorg_cv_cc_flag_unused_command_line_argument=no
   7967 fi
   7968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7969 fi
   7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7971 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7972 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7973 	CFLAGS="$xorg_testset_save_CFLAGS"
   7974 fi
   7975 
   7976 found="no"
   7977 
   7978 	if test $found = "no" ; then
   7979 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7980 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7981 		fi
   7982 
   7983 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7984 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7985 		fi
   7986 
   7987 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7988 
   7989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7990 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7991 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7992 		if eval \${$cacheid+:} false; then :
   7993   $as_echo_n "(cached) " >&6
   7994 else
   7995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7996 /* end confdefs.h.  */
   7997 int i;
   7998 int
   7999 main ()
   8000 {
   8001 
   8002   ;
   8003   return 0;
   8004 }
   8005 _ACEOF
   8006 if ac_fn_c_try_link "$LINENO"; then :
   8007   eval $cacheid=yes
   8008 else
   8009   eval $cacheid=no
   8010 fi
   8011 rm -f core conftest.err conftest.$ac_objext \
   8012     conftest$ac_exeext conftest.$ac_ext
   8013 fi
   8014 
   8015 
   8016 		CFLAGS="$xorg_testset_save_CFLAGS"
   8017 
   8018 		eval supported=\$$cacheid
   8019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8020 $as_echo "$supported" >&6; }
   8021 		if test "$supported" = "yes" ; then
   8022 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8023 			found="yes"
   8024 		fi
   8025 	fi
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 xorg_testset_save_CFLAGS="$CFLAGS"
   8042 
   8043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8046 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8047 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8048   $as_echo_n "(cached) " >&6
   8049 else
   8050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8051 /* end confdefs.h.  */
   8052 int i;
   8053 _ACEOF
   8054 if ac_fn_c_try_compile "$LINENO"; then :
   8055   xorg_cv_cc_flag_unknown_warning_option=yes
   8056 else
   8057   xorg_cv_cc_flag_unknown_warning_option=no
   8058 fi
   8059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8060 fi
   8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8062 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8063 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8064 	CFLAGS="$xorg_testset_save_CFLAGS"
   8065 fi
   8066 
   8067 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8068 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8070 	fi
   8071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8073 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8074 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8075   $as_echo_n "(cached) " >&6
   8076 else
   8077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8078 /* end confdefs.h.  */
   8079 int i;
   8080 _ACEOF
   8081 if ac_fn_c_try_compile "$LINENO"; then :
   8082   xorg_cv_cc_flag_unused_command_line_argument=yes
   8083 else
   8084   xorg_cv_cc_flag_unused_command_line_argument=no
   8085 fi
   8086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8087 fi
   8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8089 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8090 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8091 	CFLAGS="$xorg_testset_save_CFLAGS"
   8092 fi
   8093 
   8094 found="no"
   8095 
   8096 	if test $found = "no" ; then
   8097 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8099 		fi
   8100 
   8101 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8103 		fi
   8104 
   8105 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8106 
   8107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8108 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8109 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8110 		if eval \${$cacheid+:} false; then :
   8111   $as_echo_n "(cached) " >&6
   8112 else
   8113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8114 /* end confdefs.h.  */
   8115 int i;
   8116 int
   8117 main ()
   8118 {
   8119 
   8120   ;
   8121   return 0;
   8122 }
   8123 _ACEOF
   8124 if ac_fn_c_try_link "$LINENO"; then :
   8125   eval $cacheid=yes
   8126 else
   8127   eval $cacheid=no
   8128 fi
   8129 rm -f core conftest.err conftest.$ac_objext \
   8130     conftest$ac_exeext conftest.$ac_ext
   8131 fi
   8132 
   8133 
   8134 		CFLAGS="$xorg_testset_save_CFLAGS"
   8135 
   8136 		eval supported=\$$cacheid
   8137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8138 $as_echo "$supported" >&6; }
   8139 		if test "$supported" = "yes" ; then
   8140 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8141 			found="yes"
   8142 		fi
   8143 	fi
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 xorg_testset_save_CFLAGS="$CFLAGS"
   8160 
   8161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8164 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8165 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8166   $as_echo_n "(cached) " >&6
   8167 else
   8168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8169 /* end confdefs.h.  */
   8170 int i;
   8171 _ACEOF
   8172 if ac_fn_c_try_compile "$LINENO"; then :
   8173   xorg_cv_cc_flag_unknown_warning_option=yes
   8174 else
   8175   xorg_cv_cc_flag_unknown_warning_option=no
   8176 fi
   8177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8178 fi
   8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8180 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8182 	CFLAGS="$xorg_testset_save_CFLAGS"
   8183 fi
   8184 
   8185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8188 	fi
   8189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8191 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8192 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8193   $as_echo_n "(cached) " >&6
   8194 else
   8195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8196 /* end confdefs.h.  */
   8197 int i;
   8198 _ACEOF
   8199 if ac_fn_c_try_compile "$LINENO"; then :
   8200   xorg_cv_cc_flag_unused_command_line_argument=yes
   8201 else
   8202   xorg_cv_cc_flag_unused_command_line_argument=no
   8203 fi
   8204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8205 fi
   8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8207 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8208 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8209 	CFLAGS="$xorg_testset_save_CFLAGS"
   8210 fi
   8211 
   8212 found="no"
   8213 
   8214 	if test $found = "no" ; then
   8215 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8216 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8217 		fi
   8218 
   8219 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8220 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8221 		fi
   8222 
   8223 		CFLAGS="$CFLAGS -Werror=write-strings"
   8224 
   8225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8226 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8227 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8228 		if eval \${$cacheid+:} false; then :
   8229   $as_echo_n "(cached) " >&6
   8230 else
   8231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8232 /* end confdefs.h.  */
   8233 int i;
   8234 int
   8235 main ()
   8236 {
   8237 
   8238   ;
   8239   return 0;
   8240 }
   8241 _ACEOF
   8242 if ac_fn_c_try_link "$LINENO"; then :
   8243   eval $cacheid=yes
   8244 else
   8245   eval $cacheid=no
   8246 fi
   8247 rm -f core conftest.err conftest.$ac_objext \
   8248     conftest$ac_exeext conftest.$ac_ext
   8249 fi
   8250 
   8251 
   8252 		CFLAGS="$xorg_testset_save_CFLAGS"
   8253 
   8254 		eval supported=\$$cacheid
   8255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8256 $as_echo "$supported" >&6; }
   8257 		if test "$supported" = "yes" ; then
   8258 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8259 			found="yes"
   8260 		fi
   8261 	fi
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 xorg_testset_save_CFLAGS="$CFLAGS"
   8278 
   8279 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8282 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8283 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8284   $as_echo_n "(cached) " >&6
   8285 else
   8286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8287 /* end confdefs.h.  */
   8288 int i;
   8289 _ACEOF
   8290 if ac_fn_c_try_compile "$LINENO"; then :
   8291   xorg_cv_cc_flag_unknown_warning_option=yes
   8292 else
   8293   xorg_cv_cc_flag_unknown_warning_option=no
   8294 fi
   8295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8296 fi
   8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8298 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8299 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8300 	CFLAGS="$xorg_testset_save_CFLAGS"
   8301 fi
   8302 
   8303 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8304 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8305 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8306 	fi
   8307 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8309 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8310 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8311   $as_echo_n "(cached) " >&6
   8312 else
   8313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8314 /* end confdefs.h.  */
   8315 int i;
   8316 _ACEOF
   8317 if ac_fn_c_try_compile "$LINENO"; then :
   8318   xorg_cv_cc_flag_unused_command_line_argument=yes
   8319 else
   8320   xorg_cv_cc_flag_unused_command_line_argument=no
   8321 fi
   8322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8323 fi
   8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8325 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8327 	CFLAGS="$xorg_testset_save_CFLAGS"
   8328 fi
   8329 
   8330 found="no"
   8331 
   8332 	if test $found = "no" ; then
   8333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8335 		fi
   8336 
   8337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8339 		fi
   8340 
   8341 		CFLAGS="$CFLAGS -Werror=address"
   8342 
   8343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8344 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8345 		cacheid=xorg_cv_cc_flag__Werror_address
   8346 		if eval \${$cacheid+:} false; then :
   8347   $as_echo_n "(cached) " >&6
   8348 else
   8349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8350 /* end confdefs.h.  */
   8351 int i;
   8352 int
   8353 main ()
   8354 {
   8355 
   8356   ;
   8357   return 0;
   8358 }
   8359 _ACEOF
   8360 if ac_fn_c_try_link "$LINENO"; then :
   8361   eval $cacheid=yes
   8362 else
   8363   eval $cacheid=no
   8364 fi
   8365 rm -f core conftest.err conftest.$ac_objext \
   8366     conftest$ac_exeext conftest.$ac_ext
   8367 fi
   8368 
   8369 
   8370 		CFLAGS="$xorg_testset_save_CFLAGS"
   8371 
   8372 		eval supported=\$$cacheid
   8373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8374 $as_echo "$supported" >&6; }
   8375 		if test "$supported" = "yes" ; then
   8376 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8377 			found="yes"
   8378 		fi
   8379 	fi
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 xorg_testset_save_CFLAGS="$CFLAGS"
   8396 
   8397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8400 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8401 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8402   $as_echo_n "(cached) " >&6
   8403 else
   8404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8405 /* end confdefs.h.  */
   8406 int i;
   8407 _ACEOF
   8408 if ac_fn_c_try_compile "$LINENO"; then :
   8409   xorg_cv_cc_flag_unknown_warning_option=yes
   8410 else
   8411   xorg_cv_cc_flag_unknown_warning_option=no
   8412 fi
   8413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8414 fi
   8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8416 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8418 	CFLAGS="$xorg_testset_save_CFLAGS"
   8419 fi
   8420 
   8421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8424 	fi
   8425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8427 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8428 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8429   $as_echo_n "(cached) " >&6
   8430 else
   8431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8432 /* end confdefs.h.  */
   8433 int i;
   8434 _ACEOF
   8435 if ac_fn_c_try_compile "$LINENO"; then :
   8436   xorg_cv_cc_flag_unused_command_line_argument=yes
   8437 else
   8438   xorg_cv_cc_flag_unused_command_line_argument=no
   8439 fi
   8440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8441 fi
   8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8443 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8444 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8445 	CFLAGS="$xorg_testset_save_CFLAGS"
   8446 fi
   8447 
   8448 found="no"
   8449 
   8450 	if test $found = "no" ; then
   8451 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8453 		fi
   8454 
   8455 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8457 		fi
   8458 
   8459 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8460 
   8461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8462 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8463 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8464 		if eval \${$cacheid+:} false; then :
   8465   $as_echo_n "(cached) " >&6
   8466 else
   8467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8468 /* end confdefs.h.  */
   8469 int i;
   8470 int
   8471 main ()
   8472 {
   8473 
   8474   ;
   8475   return 0;
   8476 }
   8477 _ACEOF
   8478 if ac_fn_c_try_link "$LINENO"; then :
   8479   eval $cacheid=yes
   8480 else
   8481   eval $cacheid=no
   8482 fi
   8483 rm -f core conftest.err conftest.$ac_objext \
   8484     conftest$ac_exeext conftest.$ac_ext
   8485 fi
   8486 
   8487 
   8488 		CFLAGS="$xorg_testset_save_CFLAGS"
   8489 
   8490 		eval supported=\$$cacheid
   8491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8492 $as_echo "$supported" >&6; }
   8493 		if test "$supported" = "yes" ; then
   8494 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8495 			found="yes"
   8496 		fi
   8497 	fi
   8498 
   8499 	if test $found = "no" ; then
   8500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8502 		fi
   8503 
   8504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8506 		fi
   8507 
   8508 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8509 
   8510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8511 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8512 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8513 		if eval \${$cacheid+:} false; then :
   8514   $as_echo_n "(cached) " >&6
   8515 else
   8516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8517 /* end confdefs.h.  */
   8518 int i;
   8519 int
   8520 main ()
   8521 {
   8522 
   8523   ;
   8524   return 0;
   8525 }
   8526 _ACEOF
   8527 if ac_fn_c_try_link "$LINENO"; then :
   8528   eval $cacheid=yes
   8529 else
   8530   eval $cacheid=no
   8531 fi
   8532 rm -f core conftest.err conftest.$ac_objext \
   8533     conftest$ac_exeext conftest.$ac_ext
   8534 fi
   8535 
   8536 
   8537 		CFLAGS="$xorg_testset_save_CFLAGS"
   8538 
   8539 		eval supported=\$$cacheid
   8540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8541 $as_echo "$supported" >&6; }
   8542 		if test "$supported" = "yes" ; then
   8543 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8544 			found="yes"
   8545 		fi
   8546 	fi
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 xorg_testset_save_CFLAGS="$CFLAGS"
   8563 
   8564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8567 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8568 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8569   $as_echo_n "(cached) " >&6
   8570 else
   8571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8572 /* end confdefs.h.  */
   8573 int i;
   8574 _ACEOF
   8575 if ac_fn_c_try_compile "$LINENO"; then :
   8576   xorg_cv_cc_flag_unknown_warning_option=yes
   8577 else
   8578   xorg_cv_cc_flag_unknown_warning_option=no
   8579 fi
   8580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8581 fi
   8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8583 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8585 	CFLAGS="$xorg_testset_save_CFLAGS"
   8586 fi
   8587 
   8588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8591 	fi
   8592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8594 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8595 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8596   $as_echo_n "(cached) " >&6
   8597 else
   8598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8599 /* end confdefs.h.  */
   8600 int i;
   8601 _ACEOF
   8602 if ac_fn_c_try_compile "$LINENO"; then :
   8603   xorg_cv_cc_flag_unused_command_line_argument=yes
   8604 else
   8605   xorg_cv_cc_flag_unused_command_line_argument=no
   8606 fi
   8607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8608 fi
   8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8610 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8612 	CFLAGS="$xorg_testset_save_CFLAGS"
   8613 fi
   8614 
   8615 found="no"
   8616 
   8617 	if test $found = "no" ; then
   8618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8620 		fi
   8621 
   8622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8624 		fi
   8625 
   8626 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8627 
   8628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8629 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8630 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8631 		if eval \${$cacheid+:} false; then :
   8632   $as_echo_n "(cached) " >&6
   8633 else
   8634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8635 /* end confdefs.h.  */
   8636 int i;
   8637 int
   8638 main ()
   8639 {
   8640 
   8641   ;
   8642   return 0;
   8643 }
   8644 _ACEOF
   8645 if ac_fn_c_try_link "$LINENO"; then :
   8646   eval $cacheid=yes
   8647 else
   8648   eval $cacheid=no
   8649 fi
   8650 rm -f core conftest.err conftest.$ac_objext \
   8651     conftest$ac_exeext conftest.$ac_ext
   8652 fi
   8653 
   8654 
   8655 		CFLAGS="$xorg_testset_save_CFLAGS"
   8656 
   8657 		eval supported=\$$cacheid
   8658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8659 $as_echo "$supported" >&6; }
   8660 		if test "$supported" = "yes" ; then
   8661 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8662 			found="yes"
   8663 		fi
   8664 	fi
   8665 
   8666  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8667 else
   8668 { $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
   8669 $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;}
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 xorg_testset_save_CFLAGS="$CFLAGS"
   8684 
   8685 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8686 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8688 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8689 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8690   $as_echo_n "(cached) " >&6
   8691 else
   8692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8693 /* end confdefs.h.  */
   8694 int i;
   8695 _ACEOF
   8696 if ac_fn_c_try_compile "$LINENO"; then :
   8697   xorg_cv_cc_flag_unknown_warning_option=yes
   8698 else
   8699   xorg_cv_cc_flag_unknown_warning_option=no
   8700 fi
   8701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8702 fi
   8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8704 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8706 	CFLAGS="$xorg_testset_save_CFLAGS"
   8707 fi
   8708 
   8709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8712 	fi
   8713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8715 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8716 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8717   $as_echo_n "(cached) " >&6
   8718 else
   8719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8720 /* end confdefs.h.  */
   8721 int i;
   8722 _ACEOF
   8723 if ac_fn_c_try_compile "$LINENO"; then :
   8724   xorg_cv_cc_flag_unused_command_line_argument=yes
   8725 else
   8726   xorg_cv_cc_flag_unused_command_line_argument=no
   8727 fi
   8728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8729 fi
   8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8731 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8733 	CFLAGS="$xorg_testset_save_CFLAGS"
   8734 fi
   8735 
   8736 found="no"
   8737 
   8738 	if test $found = "no" ; then
   8739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8741 		fi
   8742 
   8743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8745 		fi
   8746 
   8747 		CFLAGS="$CFLAGS -Wimplicit"
   8748 
   8749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8750 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8751 		cacheid=xorg_cv_cc_flag__Wimplicit
   8752 		if eval \${$cacheid+:} false; then :
   8753   $as_echo_n "(cached) " >&6
   8754 else
   8755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8756 /* end confdefs.h.  */
   8757 int i;
   8758 int
   8759 main ()
   8760 {
   8761 
   8762   ;
   8763   return 0;
   8764 }
   8765 _ACEOF
   8766 if ac_fn_c_try_link "$LINENO"; then :
   8767   eval $cacheid=yes
   8768 else
   8769   eval $cacheid=no
   8770 fi
   8771 rm -f core conftest.err conftest.$ac_objext \
   8772     conftest$ac_exeext conftest.$ac_ext
   8773 fi
   8774 
   8775 
   8776 		CFLAGS="$xorg_testset_save_CFLAGS"
   8777 
   8778 		eval supported=\$$cacheid
   8779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8780 $as_echo "$supported" >&6; }
   8781 		if test "$supported" = "yes" ; then
   8782 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8783 			found="yes"
   8784 		fi
   8785 	fi
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 
   8801 xorg_testset_save_CFLAGS="$CFLAGS"
   8802 
   8803 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8804 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8806 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8807 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8808   $as_echo_n "(cached) " >&6
   8809 else
   8810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8811 /* end confdefs.h.  */
   8812 int i;
   8813 _ACEOF
   8814 if ac_fn_c_try_compile "$LINENO"; then :
   8815   xorg_cv_cc_flag_unknown_warning_option=yes
   8816 else
   8817   xorg_cv_cc_flag_unknown_warning_option=no
   8818 fi
   8819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8820 fi
   8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8822 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8823 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8824 	CFLAGS="$xorg_testset_save_CFLAGS"
   8825 fi
   8826 
   8827 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8828 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8829 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8830 	fi
   8831 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8833 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8834 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8835   $as_echo_n "(cached) " >&6
   8836 else
   8837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8838 /* end confdefs.h.  */
   8839 int i;
   8840 _ACEOF
   8841 if ac_fn_c_try_compile "$LINENO"; then :
   8842   xorg_cv_cc_flag_unused_command_line_argument=yes
   8843 else
   8844   xorg_cv_cc_flag_unused_command_line_argument=no
   8845 fi
   8846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8847 fi
   8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8849 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8850 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8851 	CFLAGS="$xorg_testset_save_CFLAGS"
   8852 fi
   8853 
   8854 found="no"
   8855 
   8856 	if test $found = "no" ; then
   8857 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8859 		fi
   8860 
   8861 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8863 		fi
   8864 
   8865 		CFLAGS="$CFLAGS -Wnonnull"
   8866 
   8867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8868 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8869 		cacheid=xorg_cv_cc_flag__Wnonnull
   8870 		if eval \${$cacheid+:} false; then :
   8871   $as_echo_n "(cached) " >&6
   8872 else
   8873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8874 /* end confdefs.h.  */
   8875 int i;
   8876 int
   8877 main ()
   8878 {
   8879 
   8880   ;
   8881   return 0;
   8882 }
   8883 _ACEOF
   8884 if ac_fn_c_try_link "$LINENO"; then :
   8885   eval $cacheid=yes
   8886 else
   8887   eval $cacheid=no
   8888 fi
   8889 rm -f core conftest.err conftest.$ac_objext \
   8890     conftest$ac_exeext conftest.$ac_ext
   8891 fi
   8892 
   8893 
   8894 		CFLAGS="$xorg_testset_save_CFLAGS"
   8895 
   8896 		eval supported=\$$cacheid
   8897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8898 $as_echo "$supported" >&6; }
   8899 		if test "$supported" = "yes" ; then
   8900 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8901 			found="yes"
   8902 		fi
   8903 	fi
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 xorg_testset_save_CFLAGS="$CFLAGS"
   8920 
   8921 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8924 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8925 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8926   $as_echo_n "(cached) " >&6
   8927 else
   8928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8929 /* end confdefs.h.  */
   8930 int i;
   8931 _ACEOF
   8932 if ac_fn_c_try_compile "$LINENO"; then :
   8933   xorg_cv_cc_flag_unknown_warning_option=yes
   8934 else
   8935   xorg_cv_cc_flag_unknown_warning_option=no
   8936 fi
   8937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8938 fi
   8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8940 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8941 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8942 	CFLAGS="$xorg_testset_save_CFLAGS"
   8943 fi
   8944 
   8945 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8946 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8948 	fi
   8949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8951 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8952 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8953   $as_echo_n "(cached) " >&6
   8954 else
   8955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8956 /* end confdefs.h.  */
   8957 int i;
   8958 _ACEOF
   8959 if ac_fn_c_try_compile "$LINENO"; then :
   8960   xorg_cv_cc_flag_unused_command_line_argument=yes
   8961 else
   8962   xorg_cv_cc_flag_unused_command_line_argument=no
   8963 fi
   8964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8965 fi
   8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8967 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8968 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8969 	CFLAGS="$xorg_testset_save_CFLAGS"
   8970 fi
   8971 
   8972 found="no"
   8973 
   8974 	if test $found = "no" ; then
   8975 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8977 		fi
   8978 
   8979 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8981 		fi
   8982 
   8983 		CFLAGS="$CFLAGS -Winit-self"
   8984 
   8985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8986 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8987 		cacheid=xorg_cv_cc_flag__Winit_self
   8988 		if eval \${$cacheid+:} false; then :
   8989   $as_echo_n "(cached) " >&6
   8990 else
   8991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8992 /* end confdefs.h.  */
   8993 int i;
   8994 int
   8995 main ()
   8996 {
   8997 
   8998   ;
   8999   return 0;
   9000 }
   9001 _ACEOF
   9002 if ac_fn_c_try_link "$LINENO"; then :
   9003   eval $cacheid=yes
   9004 else
   9005   eval $cacheid=no
   9006 fi
   9007 rm -f core conftest.err conftest.$ac_objext \
   9008     conftest$ac_exeext conftest.$ac_ext
   9009 fi
   9010 
   9011 
   9012 		CFLAGS="$xorg_testset_save_CFLAGS"
   9013 
   9014 		eval supported=\$$cacheid
   9015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9016 $as_echo "$supported" >&6; }
   9017 		if test "$supported" = "yes" ; then
   9018 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9019 			found="yes"
   9020 		fi
   9021 	fi
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 xorg_testset_save_CFLAGS="$CFLAGS"
   9038 
   9039 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9040 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9042 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9043 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9044   $as_echo_n "(cached) " >&6
   9045 else
   9046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9047 /* end confdefs.h.  */
   9048 int i;
   9049 _ACEOF
   9050 if ac_fn_c_try_compile "$LINENO"; then :
   9051   xorg_cv_cc_flag_unknown_warning_option=yes
   9052 else
   9053   xorg_cv_cc_flag_unknown_warning_option=no
   9054 fi
   9055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9056 fi
   9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9058 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9059 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9060 	CFLAGS="$xorg_testset_save_CFLAGS"
   9061 fi
   9062 
   9063 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9064 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9065 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9066 	fi
   9067 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9068 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9069 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9070 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9071   $as_echo_n "(cached) " >&6
   9072 else
   9073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9074 /* end confdefs.h.  */
   9075 int i;
   9076 _ACEOF
   9077 if ac_fn_c_try_compile "$LINENO"; then :
   9078   xorg_cv_cc_flag_unused_command_line_argument=yes
   9079 else
   9080   xorg_cv_cc_flag_unused_command_line_argument=no
   9081 fi
   9082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9083 fi
   9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9085 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9086 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9087 	CFLAGS="$xorg_testset_save_CFLAGS"
   9088 fi
   9089 
   9090 found="no"
   9091 
   9092 	if test $found = "no" ; then
   9093 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9094 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9095 		fi
   9096 
   9097 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9098 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9099 		fi
   9100 
   9101 		CFLAGS="$CFLAGS -Wmain"
   9102 
   9103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9104 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9105 		cacheid=xorg_cv_cc_flag__Wmain
   9106 		if eval \${$cacheid+:} false; then :
   9107   $as_echo_n "(cached) " >&6
   9108 else
   9109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9110 /* end confdefs.h.  */
   9111 int i;
   9112 int
   9113 main ()
   9114 {
   9115 
   9116   ;
   9117   return 0;
   9118 }
   9119 _ACEOF
   9120 if ac_fn_c_try_link "$LINENO"; then :
   9121   eval $cacheid=yes
   9122 else
   9123   eval $cacheid=no
   9124 fi
   9125 rm -f core conftest.err conftest.$ac_objext \
   9126     conftest$ac_exeext conftest.$ac_ext
   9127 fi
   9128 
   9129 
   9130 		CFLAGS="$xorg_testset_save_CFLAGS"
   9131 
   9132 		eval supported=\$$cacheid
   9133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9134 $as_echo "$supported" >&6; }
   9135 		if test "$supported" = "yes" ; then
   9136 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9137 			found="yes"
   9138 		fi
   9139 	fi
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 xorg_testset_save_CFLAGS="$CFLAGS"
   9156 
   9157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9160 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9161 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9162   $as_echo_n "(cached) " >&6
   9163 else
   9164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9165 /* end confdefs.h.  */
   9166 int i;
   9167 _ACEOF
   9168 if ac_fn_c_try_compile "$LINENO"; then :
   9169   xorg_cv_cc_flag_unknown_warning_option=yes
   9170 else
   9171   xorg_cv_cc_flag_unknown_warning_option=no
   9172 fi
   9173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9174 fi
   9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9176 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9177 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9178 	CFLAGS="$xorg_testset_save_CFLAGS"
   9179 fi
   9180 
   9181 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9182 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9183 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9184 	fi
   9185 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9187 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9188 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9189   $as_echo_n "(cached) " >&6
   9190 else
   9191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9192 /* end confdefs.h.  */
   9193 int i;
   9194 _ACEOF
   9195 if ac_fn_c_try_compile "$LINENO"; then :
   9196   xorg_cv_cc_flag_unused_command_line_argument=yes
   9197 else
   9198   xorg_cv_cc_flag_unused_command_line_argument=no
   9199 fi
   9200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9201 fi
   9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9203 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9204 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9205 	CFLAGS="$xorg_testset_save_CFLAGS"
   9206 fi
   9207 
   9208 found="no"
   9209 
   9210 	if test $found = "no" ; then
   9211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9213 		fi
   9214 
   9215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9217 		fi
   9218 
   9219 		CFLAGS="$CFLAGS -Wmissing-braces"
   9220 
   9221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9222 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9223 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9224 		if eval \${$cacheid+:} false; then :
   9225   $as_echo_n "(cached) " >&6
   9226 else
   9227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9228 /* end confdefs.h.  */
   9229 int i;
   9230 int
   9231 main ()
   9232 {
   9233 
   9234   ;
   9235   return 0;
   9236 }
   9237 _ACEOF
   9238 if ac_fn_c_try_link "$LINENO"; then :
   9239   eval $cacheid=yes
   9240 else
   9241   eval $cacheid=no
   9242 fi
   9243 rm -f core conftest.err conftest.$ac_objext \
   9244     conftest$ac_exeext conftest.$ac_ext
   9245 fi
   9246 
   9247 
   9248 		CFLAGS="$xorg_testset_save_CFLAGS"
   9249 
   9250 		eval supported=\$$cacheid
   9251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9252 $as_echo "$supported" >&6; }
   9253 		if test "$supported" = "yes" ; then
   9254 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9255 			found="yes"
   9256 		fi
   9257 	fi
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 xorg_testset_save_CFLAGS="$CFLAGS"
   9274 
   9275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9278 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9279 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9280   $as_echo_n "(cached) " >&6
   9281 else
   9282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9283 /* end confdefs.h.  */
   9284 int i;
   9285 _ACEOF
   9286 if ac_fn_c_try_compile "$LINENO"; then :
   9287   xorg_cv_cc_flag_unknown_warning_option=yes
   9288 else
   9289   xorg_cv_cc_flag_unknown_warning_option=no
   9290 fi
   9291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9292 fi
   9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9294 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9295 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9296 	CFLAGS="$xorg_testset_save_CFLAGS"
   9297 fi
   9298 
   9299 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9300 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9301 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9302 	fi
   9303 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9304 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9305 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9306 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9307   $as_echo_n "(cached) " >&6
   9308 else
   9309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9310 /* end confdefs.h.  */
   9311 int i;
   9312 _ACEOF
   9313 if ac_fn_c_try_compile "$LINENO"; then :
   9314   xorg_cv_cc_flag_unused_command_line_argument=yes
   9315 else
   9316   xorg_cv_cc_flag_unused_command_line_argument=no
   9317 fi
   9318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9319 fi
   9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9321 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9323 	CFLAGS="$xorg_testset_save_CFLAGS"
   9324 fi
   9325 
   9326 found="no"
   9327 
   9328 	if test $found = "no" ; then
   9329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9331 		fi
   9332 
   9333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9335 		fi
   9336 
   9337 		CFLAGS="$CFLAGS -Wsequence-point"
   9338 
   9339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9340 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9341 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9342 		if eval \${$cacheid+:} false; then :
   9343   $as_echo_n "(cached) " >&6
   9344 else
   9345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9346 /* end confdefs.h.  */
   9347 int i;
   9348 int
   9349 main ()
   9350 {
   9351 
   9352   ;
   9353   return 0;
   9354 }
   9355 _ACEOF
   9356 if ac_fn_c_try_link "$LINENO"; then :
   9357   eval $cacheid=yes
   9358 else
   9359   eval $cacheid=no
   9360 fi
   9361 rm -f core conftest.err conftest.$ac_objext \
   9362     conftest$ac_exeext conftest.$ac_ext
   9363 fi
   9364 
   9365 
   9366 		CFLAGS="$xorg_testset_save_CFLAGS"
   9367 
   9368 		eval supported=\$$cacheid
   9369 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9370 $as_echo "$supported" >&6; }
   9371 		if test "$supported" = "yes" ; then
   9372 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9373 			found="yes"
   9374 		fi
   9375 	fi
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 xorg_testset_save_CFLAGS="$CFLAGS"
   9392 
   9393 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9394 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9396 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9397 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9398   $as_echo_n "(cached) " >&6
   9399 else
   9400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9401 /* end confdefs.h.  */
   9402 int i;
   9403 _ACEOF
   9404 if ac_fn_c_try_compile "$LINENO"; then :
   9405   xorg_cv_cc_flag_unknown_warning_option=yes
   9406 else
   9407   xorg_cv_cc_flag_unknown_warning_option=no
   9408 fi
   9409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9410 fi
   9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9412 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9414 	CFLAGS="$xorg_testset_save_CFLAGS"
   9415 fi
   9416 
   9417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9420 	fi
   9421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9422 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9423 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9424 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9425   $as_echo_n "(cached) " >&6
   9426 else
   9427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9428 /* end confdefs.h.  */
   9429 int i;
   9430 _ACEOF
   9431 if ac_fn_c_try_compile "$LINENO"; then :
   9432   xorg_cv_cc_flag_unused_command_line_argument=yes
   9433 else
   9434   xorg_cv_cc_flag_unused_command_line_argument=no
   9435 fi
   9436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9437 fi
   9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9439 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9441 	CFLAGS="$xorg_testset_save_CFLAGS"
   9442 fi
   9443 
   9444 found="no"
   9445 
   9446 	if test $found = "no" ; then
   9447 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9449 		fi
   9450 
   9451 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9453 		fi
   9454 
   9455 		CFLAGS="$CFLAGS -Wreturn-type"
   9456 
   9457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9458 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9459 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9460 		if eval \${$cacheid+:} false; then :
   9461   $as_echo_n "(cached) " >&6
   9462 else
   9463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9464 /* end confdefs.h.  */
   9465 int i;
   9466 int
   9467 main ()
   9468 {
   9469 
   9470   ;
   9471   return 0;
   9472 }
   9473 _ACEOF
   9474 if ac_fn_c_try_link "$LINENO"; then :
   9475   eval $cacheid=yes
   9476 else
   9477   eval $cacheid=no
   9478 fi
   9479 rm -f core conftest.err conftest.$ac_objext \
   9480     conftest$ac_exeext conftest.$ac_ext
   9481 fi
   9482 
   9483 
   9484 		CFLAGS="$xorg_testset_save_CFLAGS"
   9485 
   9486 		eval supported=\$$cacheid
   9487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9488 $as_echo "$supported" >&6; }
   9489 		if test "$supported" = "yes" ; then
   9490 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9491 			found="yes"
   9492 		fi
   9493 	fi
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 xorg_testset_save_CFLAGS="$CFLAGS"
   9510 
   9511 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9512 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9513 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9514 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9515 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9516   $as_echo_n "(cached) " >&6
   9517 else
   9518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9519 /* end confdefs.h.  */
   9520 int i;
   9521 _ACEOF
   9522 if ac_fn_c_try_compile "$LINENO"; then :
   9523   xorg_cv_cc_flag_unknown_warning_option=yes
   9524 else
   9525   xorg_cv_cc_flag_unknown_warning_option=no
   9526 fi
   9527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9528 fi
   9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9530 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9531 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9532 	CFLAGS="$xorg_testset_save_CFLAGS"
   9533 fi
   9534 
   9535 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9536 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9537 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9538 	fi
   9539 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9540 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9541 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9542 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9543   $as_echo_n "(cached) " >&6
   9544 else
   9545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9546 /* end confdefs.h.  */
   9547 int i;
   9548 _ACEOF
   9549 if ac_fn_c_try_compile "$LINENO"; then :
   9550   xorg_cv_cc_flag_unused_command_line_argument=yes
   9551 else
   9552   xorg_cv_cc_flag_unused_command_line_argument=no
   9553 fi
   9554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9555 fi
   9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9557 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9558 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9559 	CFLAGS="$xorg_testset_save_CFLAGS"
   9560 fi
   9561 
   9562 found="no"
   9563 
   9564 	if test $found = "no" ; then
   9565 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9566 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9567 		fi
   9568 
   9569 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9570 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9571 		fi
   9572 
   9573 		CFLAGS="$CFLAGS -Wtrigraphs"
   9574 
   9575 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9576 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9577 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9578 		if eval \${$cacheid+:} false; then :
   9579   $as_echo_n "(cached) " >&6
   9580 else
   9581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9582 /* end confdefs.h.  */
   9583 int i;
   9584 int
   9585 main ()
   9586 {
   9587 
   9588   ;
   9589   return 0;
   9590 }
   9591 _ACEOF
   9592 if ac_fn_c_try_link "$LINENO"; then :
   9593   eval $cacheid=yes
   9594 else
   9595   eval $cacheid=no
   9596 fi
   9597 rm -f core conftest.err conftest.$ac_objext \
   9598     conftest$ac_exeext conftest.$ac_ext
   9599 fi
   9600 
   9601 
   9602 		CFLAGS="$xorg_testset_save_CFLAGS"
   9603 
   9604 		eval supported=\$$cacheid
   9605 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9606 $as_echo "$supported" >&6; }
   9607 		if test "$supported" = "yes" ; then
   9608 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9609 			found="yes"
   9610 		fi
   9611 	fi
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 xorg_testset_save_CFLAGS="$CFLAGS"
   9628 
   9629 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9630 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9631 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9632 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9633 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9634   $as_echo_n "(cached) " >&6
   9635 else
   9636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9637 /* end confdefs.h.  */
   9638 int i;
   9639 _ACEOF
   9640 if ac_fn_c_try_compile "$LINENO"; then :
   9641   xorg_cv_cc_flag_unknown_warning_option=yes
   9642 else
   9643   xorg_cv_cc_flag_unknown_warning_option=no
   9644 fi
   9645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9646 fi
   9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9648 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9650 	CFLAGS="$xorg_testset_save_CFLAGS"
   9651 fi
   9652 
   9653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9656 	fi
   9657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9658 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9659 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9660 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9661   $as_echo_n "(cached) " >&6
   9662 else
   9663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9664 /* end confdefs.h.  */
   9665 int i;
   9666 _ACEOF
   9667 if ac_fn_c_try_compile "$LINENO"; then :
   9668   xorg_cv_cc_flag_unused_command_line_argument=yes
   9669 else
   9670   xorg_cv_cc_flag_unused_command_line_argument=no
   9671 fi
   9672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9673 fi
   9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9675 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9676 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9677 	CFLAGS="$xorg_testset_save_CFLAGS"
   9678 fi
   9679 
   9680 found="no"
   9681 
   9682 	if test $found = "no" ; then
   9683 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9684 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9685 		fi
   9686 
   9687 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9688 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9689 		fi
   9690 
   9691 		CFLAGS="$CFLAGS -Warray-bounds"
   9692 
   9693 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9694 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9695 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9696 		if eval \${$cacheid+:} false; then :
   9697   $as_echo_n "(cached) " >&6
   9698 else
   9699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9700 /* end confdefs.h.  */
   9701 int i;
   9702 int
   9703 main ()
   9704 {
   9705 
   9706   ;
   9707   return 0;
   9708 }
   9709 _ACEOF
   9710 if ac_fn_c_try_link "$LINENO"; then :
   9711   eval $cacheid=yes
   9712 else
   9713   eval $cacheid=no
   9714 fi
   9715 rm -f core conftest.err conftest.$ac_objext \
   9716     conftest$ac_exeext conftest.$ac_ext
   9717 fi
   9718 
   9719 
   9720 		CFLAGS="$xorg_testset_save_CFLAGS"
   9721 
   9722 		eval supported=\$$cacheid
   9723 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9724 $as_echo "$supported" >&6; }
   9725 		if test "$supported" = "yes" ; then
   9726 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9727 			found="yes"
   9728 		fi
   9729 	fi
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 xorg_testset_save_CFLAGS="$CFLAGS"
   9746 
   9747 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9748 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9749 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9750 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9751 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9752   $as_echo_n "(cached) " >&6
   9753 else
   9754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9755 /* end confdefs.h.  */
   9756 int i;
   9757 _ACEOF
   9758 if ac_fn_c_try_compile "$LINENO"; then :
   9759   xorg_cv_cc_flag_unknown_warning_option=yes
   9760 else
   9761   xorg_cv_cc_flag_unknown_warning_option=no
   9762 fi
   9763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9764 fi
   9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9766 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9767 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9768 	CFLAGS="$xorg_testset_save_CFLAGS"
   9769 fi
   9770 
   9771 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9772 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9773 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9774 	fi
   9775 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9777 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9778 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9779   $as_echo_n "(cached) " >&6
   9780 else
   9781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9782 /* end confdefs.h.  */
   9783 int i;
   9784 _ACEOF
   9785 if ac_fn_c_try_compile "$LINENO"; then :
   9786   xorg_cv_cc_flag_unused_command_line_argument=yes
   9787 else
   9788   xorg_cv_cc_flag_unused_command_line_argument=no
   9789 fi
   9790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9791 fi
   9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9793 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9794 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9795 	CFLAGS="$xorg_testset_save_CFLAGS"
   9796 fi
   9797 
   9798 found="no"
   9799 
   9800 	if test $found = "no" ; then
   9801 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9802 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9803 		fi
   9804 
   9805 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9806 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9807 		fi
   9808 
   9809 		CFLAGS="$CFLAGS -Wwrite-strings"
   9810 
   9811 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9812 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9813 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9814 		if eval \${$cacheid+:} false; then :
   9815   $as_echo_n "(cached) " >&6
   9816 else
   9817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9818 /* end confdefs.h.  */
   9819 int i;
   9820 int
   9821 main ()
   9822 {
   9823 
   9824   ;
   9825   return 0;
   9826 }
   9827 _ACEOF
   9828 if ac_fn_c_try_link "$LINENO"; then :
   9829   eval $cacheid=yes
   9830 else
   9831   eval $cacheid=no
   9832 fi
   9833 rm -f core conftest.err conftest.$ac_objext \
   9834     conftest$ac_exeext conftest.$ac_ext
   9835 fi
   9836 
   9837 
   9838 		CFLAGS="$xorg_testset_save_CFLAGS"
   9839 
   9840 		eval supported=\$$cacheid
   9841 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9842 $as_echo "$supported" >&6; }
   9843 		if test "$supported" = "yes" ; then
   9844 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9845 			found="yes"
   9846 		fi
   9847 	fi
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 xorg_testset_save_CFLAGS="$CFLAGS"
   9864 
   9865 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9866 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9867 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9868 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9869 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9870   $as_echo_n "(cached) " >&6
   9871 else
   9872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9873 /* end confdefs.h.  */
   9874 int i;
   9875 _ACEOF
   9876 if ac_fn_c_try_compile "$LINENO"; then :
   9877   xorg_cv_cc_flag_unknown_warning_option=yes
   9878 else
   9879   xorg_cv_cc_flag_unknown_warning_option=no
   9880 fi
   9881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9882 fi
   9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9884 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9885 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9886 	CFLAGS="$xorg_testset_save_CFLAGS"
   9887 fi
   9888 
   9889 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9890 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9891 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9892 	fi
   9893 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9895 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9896 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9897   $as_echo_n "(cached) " >&6
   9898 else
   9899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9900 /* end confdefs.h.  */
   9901 int i;
   9902 _ACEOF
   9903 if ac_fn_c_try_compile "$LINENO"; then :
   9904   xorg_cv_cc_flag_unused_command_line_argument=yes
   9905 else
   9906   xorg_cv_cc_flag_unused_command_line_argument=no
   9907 fi
   9908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9909 fi
   9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9911 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9912 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9913 	CFLAGS="$xorg_testset_save_CFLAGS"
   9914 fi
   9915 
   9916 found="no"
   9917 
   9918 	if test $found = "no" ; then
   9919 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9920 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9921 		fi
   9922 
   9923 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9924 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9925 		fi
   9926 
   9927 		CFLAGS="$CFLAGS -Waddress"
   9928 
   9929 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9930 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9931 		cacheid=xorg_cv_cc_flag__Waddress
   9932 		if eval \${$cacheid+:} false; then :
   9933   $as_echo_n "(cached) " >&6
   9934 else
   9935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9936 /* end confdefs.h.  */
   9937 int i;
   9938 int
   9939 main ()
   9940 {
   9941 
   9942   ;
   9943   return 0;
   9944 }
   9945 _ACEOF
   9946 if ac_fn_c_try_link "$LINENO"; then :
   9947   eval $cacheid=yes
   9948 else
   9949   eval $cacheid=no
   9950 fi
   9951 rm -f core conftest.err conftest.$ac_objext \
   9952     conftest$ac_exeext conftest.$ac_ext
   9953 fi
   9954 
   9955 
   9956 		CFLAGS="$xorg_testset_save_CFLAGS"
   9957 
   9958 		eval supported=\$$cacheid
   9959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9960 $as_echo "$supported" >&6; }
   9961 		if test "$supported" = "yes" ; then
   9962 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9963 			found="yes"
   9964 		fi
   9965 	fi
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 xorg_testset_save_CFLAGS="$CFLAGS"
   9982 
   9983 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9984 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9985 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9986 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9987 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9988   $as_echo_n "(cached) " >&6
   9989 else
   9990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9991 /* end confdefs.h.  */
   9992 int i;
   9993 _ACEOF
   9994 if ac_fn_c_try_compile "$LINENO"; then :
   9995   xorg_cv_cc_flag_unknown_warning_option=yes
   9996 else
   9997   xorg_cv_cc_flag_unknown_warning_option=no
   9998 fi
   9999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10000 fi
   10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10002 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10003 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10004 	CFLAGS="$xorg_testset_save_CFLAGS"
   10005 fi
   10006 
   10007 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10008 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10009 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10010 	fi
   10011 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10013 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10014 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10015   $as_echo_n "(cached) " >&6
   10016 else
   10017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10018 /* end confdefs.h.  */
   10019 int i;
   10020 _ACEOF
   10021 if ac_fn_c_try_compile "$LINENO"; then :
   10022   xorg_cv_cc_flag_unused_command_line_argument=yes
   10023 else
   10024   xorg_cv_cc_flag_unused_command_line_argument=no
   10025 fi
   10026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10027 fi
   10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10029 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10030 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10031 	CFLAGS="$xorg_testset_save_CFLAGS"
   10032 fi
   10033 
   10034 found="no"
   10035 
   10036 	if test $found = "no" ; then
   10037 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10038 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10039 		fi
   10040 
   10041 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10042 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10043 		fi
   10044 
   10045 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10046 
   10047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10048 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10049 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10050 		if eval \${$cacheid+:} false; then :
   10051   $as_echo_n "(cached) " >&6
   10052 else
   10053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10054 /* end confdefs.h.  */
   10055 int i;
   10056 int
   10057 main ()
   10058 {
   10059 
   10060   ;
   10061   return 0;
   10062 }
   10063 _ACEOF
   10064 if ac_fn_c_try_link "$LINENO"; then :
   10065   eval $cacheid=yes
   10066 else
   10067   eval $cacheid=no
   10068 fi
   10069 rm -f core conftest.err conftest.$ac_objext \
   10070     conftest$ac_exeext conftest.$ac_ext
   10071 fi
   10072 
   10073 
   10074 		CFLAGS="$xorg_testset_save_CFLAGS"
   10075 
   10076 		eval supported=\$$cacheid
   10077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10078 $as_echo "$supported" >&6; }
   10079 		if test "$supported" = "yes" ; then
   10080 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10081 			found="yes"
   10082 		fi
   10083 	fi
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 xorg_testset_save_CFLAGS="$CFLAGS"
   10100 
   10101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10103 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10104 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10105 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10106   $as_echo_n "(cached) " >&6
   10107 else
   10108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10109 /* end confdefs.h.  */
   10110 int i;
   10111 _ACEOF
   10112 if ac_fn_c_try_compile "$LINENO"; then :
   10113   xorg_cv_cc_flag_unknown_warning_option=yes
   10114 else
   10115   xorg_cv_cc_flag_unknown_warning_option=no
   10116 fi
   10117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10118 fi
   10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10120 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10122 	CFLAGS="$xorg_testset_save_CFLAGS"
   10123 fi
   10124 
   10125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10128 	fi
   10129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10131 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10132 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10133   $as_echo_n "(cached) " >&6
   10134 else
   10135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10136 /* end confdefs.h.  */
   10137 int i;
   10138 _ACEOF
   10139 if ac_fn_c_try_compile "$LINENO"; then :
   10140   xorg_cv_cc_flag_unused_command_line_argument=yes
   10141 else
   10142   xorg_cv_cc_flag_unused_command_line_argument=no
   10143 fi
   10144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10145 fi
   10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10147 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10148 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10149 	CFLAGS="$xorg_testset_save_CFLAGS"
   10150 fi
   10151 
   10152 found="no"
   10153 
   10154 	if test $found = "no" ; then
   10155 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10156 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10157 		fi
   10158 
   10159 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10160 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10161 		fi
   10162 
   10163 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10164 
   10165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10166 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10167 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10168 		if eval \${$cacheid+:} false; then :
   10169   $as_echo_n "(cached) " >&6
   10170 else
   10171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10172 /* end confdefs.h.  */
   10173 int i;
   10174 int
   10175 main ()
   10176 {
   10177 
   10178   ;
   10179   return 0;
   10180 }
   10181 _ACEOF
   10182 if ac_fn_c_try_link "$LINENO"; then :
   10183   eval $cacheid=yes
   10184 else
   10185   eval $cacheid=no
   10186 fi
   10187 rm -f core conftest.err conftest.$ac_objext \
   10188     conftest$ac_exeext conftest.$ac_ext
   10189 fi
   10190 
   10191 
   10192 		CFLAGS="$xorg_testset_save_CFLAGS"
   10193 
   10194 		eval supported=\$$cacheid
   10195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10196 $as_echo "$supported" >&6; }
   10197 		if test "$supported" = "yes" ; then
   10198 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10199 			found="yes"
   10200 		fi
   10201 	fi
   10202 
   10203 
   10204 fi
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 		CWARNFLAGS="$BASE_CFLAGS"
   10213 		if  test "x$GCC" = xyes ; then
   10214 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10215 		fi
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 # Check whether --enable-strict-compilation was given.
   10225 if test "${enable_strict_compilation+set}" = set; then :
   10226   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10227 else
   10228   STRICT_COMPILE=no
   10229 fi
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 STRICT_CFLAGS=""
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 xorg_testset_save_CFLAGS="$CFLAGS"
   10251 
   10252 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10253 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10254 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10255 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10256 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10257   $as_echo_n "(cached) " >&6
   10258 else
   10259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10260 /* end confdefs.h.  */
   10261 int i;
   10262 _ACEOF
   10263 if ac_fn_c_try_compile "$LINENO"; then :
   10264   xorg_cv_cc_flag_unknown_warning_option=yes
   10265 else
   10266   xorg_cv_cc_flag_unknown_warning_option=no
   10267 fi
   10268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10269 fi
   10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10271 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10272 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10273 	CFLAGS="$xorg_testset_save_CFLAGS"
   10274 fi
   10275 
   10276 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10277 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10278 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10279 	fi
   10280 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10282 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10283 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10284   $as_echo_n "(cached) " >&6
   10285 else
   10286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10287 /* end confdefs.h.  */
   10288 int i;
   10289 _ACEOF
   10290 if ac_fn_c_try_compile "$LINENO"; then :
   10291   xorg_cv_cc_flag_unused_command_line_argument=yes
   10292 else
   10293   xorg_cv_cc_flag_unused_command_line_argument=no
   10294 fi
   10295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10296 fi
   10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10298 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10299 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10300 	CFLAGS="$xorg_testset_save_CFLAGS"
   10301 fi
   10302 
   10303 found="no"
   10304 
   10305 	if test $found = "no" ; then
   10306 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10307 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10308 		fi
   10309 
   10310 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10311 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10312 		fi
   10313 
   10314 		CFLAGS="$CFLAGS -pedantic"
   10315 
   10316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10317 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10318 		cacheid=xorg_cv_cc_flag__pedantic
   10319 		if eval \${$cacheid+:} false; then :
   10320   $as_echo_n "(cached) " >&6
   10321 else
   10322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10323 /* end confdefs.h.  */
   10324 int i;
   10325 int
   10326 main ()
   10327 {
   10328 
   10329   ;
   10330   return 0;
   10331 }
   10332 _ACEOF
   10333 if ac_fn_c_try_link "$LINENO"; then :
   10334   eval $cacheid=yes
   10335 else
   10336   eval $cacheid=no
   10337 fi
   10338 rm -f core conftest.err conftest.$ac_objext \
   10339     conftest$ac_exeext conftest.$ac_ext
   10340 fi
   10341 
   10342 
   10343 		CFLAGS="$xorg_testset_save_CFLAGS"
   10344 
   10345 		eval supported=\$$cacheid
   10346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10347 $as_echo "$supported" >&6; }
   10348 		if test "$supported" = "yes" ; then
   10349 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10350 			found="yes"
   10351 		fi
   10352 	fi
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 xorg_testset_save_CFLAGS="$CFLAGS"
   10369 
   10370 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10371 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10372 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10373 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10374 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10375   $as_echo_n "(cached) " >&6
   10376 else
   10377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10378 /* end confdefs.h.  */
   10379 int i;
   10380 _ACEOF
   10381 if ac_fn_c_try_compile "$LINENO"; then :
   10382   xorg_cv_cc_flag_unknown_warning_option=yes
   10383 else
   10384   xorg_cv_cc_flag_unknown_warning_option=no
   10385 fi
   10386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10387 fi
   10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10389 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10390 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10391 	CFLAGS="$xorg_testset_save_CFLAGS"
   10392 fi
   10393 
   10394 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10395 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10396 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10397 	fi
   10398 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10400 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10401 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10402   $as_echo_n "(cached) " >&6
   10403 else
   10404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10405 /* end confdefs.h.  */
   10406 int i;
   10407 _ACEOF
   10408 if ac_fn_c_try_compile "$LINENO"; then :
   10409   xorg_cv_cc_flag_unused_command_line_argument=yes
   10410 else
   10411   xorg_cv_cc_flag_unused_command_line_argument=no
   10412 fi
   10413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10414 fi
   10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10416 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10417 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10418 	CFLAGS="$xorg_testset_save_CFLAGS"
   10419 fi
   10420 
   10421 found="no"
   10422 
   10423 	if test $found = "no" ; then
   10424 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10426 		fi
   10427 
   10428 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10430 		fi
   10431 
   10432 		CFLAGS="$CFLAGS -Werror"
   10433 
   10434 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10435 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10436 		cacheid=xorg_cv_cc_flag__Werror
   10437 		if eval \${$cacheid+:} false; then :
   10438   $as_echo_n "(cached) " >&6
   10439 else
   10440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10441 /* end confdefs.h.  */
   10442 int i;
   10443 int
   10444 main ()
   10445 {
   10446 
   10447   ;
   10448   return 0;
   10449 }
   10450 _ACEOF
   10451 if ac_fn_c_try_link "$LINENO"; then :
   10452   eval $cacheid=yes
   10453 else
   10454   eval $cacheid=no
   10455 fi
   10456 rm -f core conftest.err conftest.$ac_objext \
   10457     conftest$ac_exeext conftest.$ac_ext
   10458 fi
   10459 
   10460 
   10461 		CFLAGS="$xorg_testset_save_CFLAGS"
   10462 
   10463 		eval supported=\$$cacheid
   10464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10465 $as_echo "$supported" >&6; }
   10466 		if test "$supported" = "yes" ; then
   10467 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10468 			found="yes"
   10469 		fi
   10470 	fi
   10471 
   10472 	if test $found = "no" ; then
   10473 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10475 		fi
   10476 
   10477 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10479 		fi
   10480 
   10481 		CFLAGS="$CFLAGS -errwarn"
   10482 
   10483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10484 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10485 		cacheid=xorg_cv_cc_flag__errwarn
   10486 		if eval \${$cacheid+:} false; then :
   10487   $as_echo_n "(cached) " >&6
   10488 else
   10489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10490 /* end confdefs.h.  */
   10491 int i;
   10492 int
   10493 main ()
   10494 {
   10495 
   10496   ;
   10497   return 0;
   10498 }
   10499 _ACEOF
   10500 if ac_fn_c_try_link "$LINENO"; then :
   10501   eval $cacheid=yes
   10502 else
   10503   eval $cacheid=no
   10504 fi
   10505 rm -f core conftest.err conftest.$ac_objext \
   10506     conftest$ac_exeext conftest.$ac_ext
   10507 fi
   10508 
   10509 
   10510 		CFLAGS="$xorg_testset_save_CFLAGS"
   10511 
   10512 		eval supported=\$$cacheid
   10513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10514 $as_echo "$supported" >&6; }
   10515 		if test "$supported" = "yes" ; then
   10516 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10517 			found="yes"
   10518 		fi
   10519 	fi
   10520 
   10521 
   10522 
   10523 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10524 # activate it with -Werror, so we add it here explicitly.
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 xorg_testset_save_CFLAGS="$CFLAGS"
   10539 
   10540 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10541 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10543 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10544 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10545   $as_echo_n "(cached) " >&6
   10546 else
   10547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10548 /* end confdefs.h.  */
   10549 int i;
   10550 _ACEOF
   10551 if ac_fn_c_try_compile "$LINENO"; then :
   10552   xorg_cv_cc_flag_unknown_warning_option=yes
   10553 else
   10554   xorg_cv_cc_flag_unknown_warning_option=no
   10555 fi
   10556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10557 fi
   10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10559 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10560 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10561 	CFLAGS="$xorg_testset_save_CFLAGS"
   10562 fi
   10563 
   10564 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10565 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10566 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10567 	fi
   10568 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10569 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10570 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10571 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10572   $as_echo_n "(cached) " >&6
   10573 else
   10574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10575 /* end confdefs.h.  */
   10576 int i;
   10577 _ACEOF
   10578 if ac_fn_c_try_compile "$LINENO"; then :
   10579   xorg_cv_cc_flag_unused_command_line_argument=yes
   10580 else
   10581   xorg_cv_cc_flag_unused_command_line_argument=no
   10582 fi
   10583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10584 fi
   10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10586 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10587 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10588 	CFLAGS="$xorg_testset_save_CFLAGS"
   10589 fi
   10590 
   10591 found="no"
   10592 
   10593 	if test $found = "no" ; then
   10594 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10595 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10596 		fi
   10597 
   10598 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10599 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10600 		fi
   10601 
   10602 		CFLAGS="$CFLAGS -Werror=attributes"
   10603 
   10604 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10605 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10606 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10607 		if eval \${$cacheid+:} false; then :
   10608   $as_echo_n "(cached) " >&6
   10609 else
   10610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10611 /* end confdefs.h.  */
   10612 int i;
   10613 int
   10614 main ()
   10615 {
   10616 
   10617   ;
   10618   return 0;
   10619 }
   10620 _ACEOF
   10621 if ac_fn_c_try_link "$LINENO"; then :
   10622   eval $cacheid=yes
   10623 else
   10624   eval $cacheid=no
   10625 fi
   10626 rm -f core conftest.err conftest.$ac_objext \
   10627     conftest$ac_exeext conftest.$ac_ext
   10628 fi
   10629 
   10630 
   10631 		CFLAGS="$xorg_testset_save_CFLAGS"
   10632 
   10633 		eval supported=\$$cacheid
   10634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10635 $as_echo "$supported" >&6; }
   10636 		if test "$supported" = "yes" ; then
   10637 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10638 			found="yes"
   10639 		fi
   10640 	fi
   10641 
   10642 
   10643 
   10644 if test "x$STRICT_COMPILE" = "xyes"; then
   10645     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10646     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10647 fi
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 cat >>confdefs.h <<_ACEOF
   10655 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10656 _ACEOF
   10657 
   10658 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10659 	if test "x$PVM" = "x"; then
   10660 		PVM="0"
   10661 	fi
   10662 
   10663 cat >>confdefs.h <<_ACEOF
   10664 #define PACKAGE_VERSION_MINOR $PVM
   10665 _ACEOF
   10666 
   10667 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10668 	if test "x$PVP" = "x"; then
   10669 		PVP="0"
   10670 	fi
   10671 
   10672 cat >>confdefs.h <<_ACEOF
   10673 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10674 _ACEOF
   10675 
   10676 
   10677 
   10678 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10679 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10680 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10681 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10682 
   10683 
   10684 
   10685 
   10686 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10687 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10688 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10689 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10690 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 if test x$APP_MAN_SUFFIX = x    ; then
   10698     APP_MAN_SUFFIX=1
   10699 fi
   10700 if test x$APP_MAN_DIR = x    ; then
   10701     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10702 fi
   10703 
   10704 if test x$LIB_MAN_SUFFIX = x    ; then
   10705     LIB_MAN_SUFFIX=3
   10706 fi
   10707 if test x$LIB_MAN_DIR = x    ; then
   10708     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10709 fi
   10710 
   10711 if test x$FILE_MAN_SUFFIX = x    ; then
   10712     case $host_os in
   10713 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10714 	*)		FILE_MAN_SUFFIX=5  ;;
   10715     esac
   10716 fi
   10717 if test x$FILE_MAN_DIR = x    ; then
   10718     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10719 fi
   10720 
   10721 if test x$MISC_MAN_SUFFIX = x    ; then
   10722     case $host_os in
   10723 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10724 	*)		MISC_MAN_SUFFIX=7  ;;
   10725     esac
   10726 fi
   10727 if test x$MISC_MAN_DIR = x    ; then
   10728     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10729 fi
   10730 
   10731 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10732     case $host_os in
   10733 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10734 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10735     esac
   10736 fi
   10737 if test x$DRIVER_MAN_DIR = x    ; then
   10738     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10739 fi
   10740 
   10741 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10742     case $host_os in
   10743 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10744 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10745     esac
   10746 fi
   10747 if test x$ADMIN_MAN_DIR = x    ; then
   10748     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10749 fi
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 XORG_MAN_PAGE="X Version 11"
   10766 
   10767 MAN_SUBSTS="\
   10768 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10769 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10770 	-e 's|__xservername__|Xorg|g' \
   10771 	-e 's|__xconfigfile__|xorg.conf|g' \
   10772 	-e 's|__projectroot__|\$(prefix)|g' \
   10773 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10774 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10775 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10776 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10777 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10778 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10779 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10780 
   10781 
   10782 
   10783 # Check whether --enable-silent-rules was given.
   10784 if test "${enable_silent_rules+set}" = set; then :
   10785   enableval=$enable_silent_rules;
   10786 fi
   10787 
   10788 case $enable_silent_rules in # (((
   10789   yes) AM_DEFAULT_VERBOSITY=0;;
   10790    no) AM_DEFAULT_VERBOSITY=1;;
   10791     *) AM_DEFAULT_VERBOSITY=0;;
   10792 esac
   10793 am_make=${MAKE-make}
   10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10795 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10796 if ${am_cv_make_support_nested_variables+:} false; then :
   10797   $as_echo_n "(cached) " >&6
   10798 else
   10799   if $as_echo 'TRUE=$(BAR$(V))
   10800 BAR0=false
   10801 BAR1=true
   10802 V=1
   10803 am__doit:
   10804 	@$(TRUE)
   10805 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10806   am_cv_make_support_nested_variables=yes
   10807 else
   10808   am_cv_make_support_nested_variables=no
   10809 fi
   10810 fi
   10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10812 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10813 if test $am_cv_make_support_nested_variables = yes; then
   10814     AM_V='$(V)'
   10815   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10816 else
   10817   AM_V=$AM_DEFAULT_VERBOSITY
   10818   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10819 fi
   10820 AM_BACKSLASH='\'
   10821 
   10822 
   10823 
   10824 for ac_func in strncasecmp asprintf
   10825 do :
   10826   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10827 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10828 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   10829   cat >>confdefs.h <<_ACEOF
   10830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10831 _ACEOF
   10832 
   10833 fi
   10834 done
   10835 
   10836 
   10837 # Checks for pkg-config packages
   10838 
   10839 pkg_failed=no
   10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMODMAP" >&5
   10841 $as_echo_n "checking for XMODMAP... " >&6; }
   10842 
   10843 if test -n "$XMODMAP_CFLAGS"; then
   10844     pkg_cv_XMODMAP_CFLAGS="$XMODMAP_CFLAGS"
   10845  elif test -n "$PKG_CONFIG"; then
   10846     if test -n "$PKG_CONFIG" && \
   10847     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   10848   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   10849   ac_status=$?
   10850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10851   test $ac_status = 0; }; then
   10852   pkg_cv_XMODMAP_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.25" 2>/dev/null`
   10853 else
   10854   pkg_failed=yes
   10855 fi
   10856  else
   10857     pkg_failed=untried
   10858 fi
   10859 if test -n "$XMODMAP_LIBS"; then
   10860     pkg_cv_XMODMAP_LIBS="$XMODMAP_LIBS"
   10861  elif test -n "$PKG_CONFIG"; then
   10862     if test -n "$PKG_CONFIG" && \
   10863     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   10864   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   10865   ac_status=$?
   10866   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10867   test $ac_status = 0; }; then
   10868   pkg_cv_XMODMAP_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.25" 2>/dev/null`
   10869 else
   10870   pkg_failed=yes
   10871 fi
   10872  else
   10873     pkg_failed=untried
   10874 fi
   10875 
   10876 
   10877 
   10878 if test $pkg_failed = yes; then
   10879 
   10880 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10881         _pkg_short_errors_supported=yes
   10882 else
   10883         _pkg_short_errors_supported=no
   10884 fi
   10885         if test $_pkg_short_errors_supported = yes; then
   10886 	        XMODMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xproto >= 7.0.25" 2>&1`
   10887         else
   10888 	        XMODMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xproto >= 7.0.25" 2>&1`
   10889         fi
   10890 	# Put the nasty error message in config.log where it belongs
   10891 	echo "$XMODMAP_PKG_ERRORS" >&5
   10892 
   10893 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.25) were not met:
   10894 
   10895 $XMODMAP_PKG_ERRORS
   10896 
   10897 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10898 installed software in a non-standard prefix.
   10899 
   10900 Alternatively, you may set the environment variables XMODMAP_CFLAGS
   10901 and XMODMAP_LIBS to avoid the need to call pkg-config.
   10902 See the pkg-config man page for more details.
   10903 " "$LINENO" 5
   10904 elif test $pkg_failed = untried; then
   10905 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10907 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10908 is in your PATH or set the PKG_CONFIG environment variable to the full
   10909 path to pkg-config.
   10910 
   10911 Alternatively, you may set the environment variables XMODMAP_CFLAGS
   10912 and XMODMAP_LIBS to avoid the need to call pkg-config.
   10913 See the pkg-config man page for more details.
   10914 
   10915 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10916 See \`config.log' for more details" "$LINENO" 5; }
   10917 else
   10918 	XMODMAP_CFLAGS=$pkg_cv_XMODMAP_CFLAGS
   10919 	XMODMAP_LIBS=$pkg_cv_XMODMAP_LIBS
   10920         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10921 $as_echo "yes" >&6; }
   10922 	:
   10923 fi
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 # Check whether --with-lint was given.
   10931 if test "${with_lint+set}" = set; then :
   10932   withval=$with_lint; use_lint=$withval
   10933 else
   10934   use_lint=no
   10935 fi
   10936 
   10937 
   10938 # Obtain platform specific info like program name and options
   10939 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   10940 case $host_os in
   10941   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   10942 	lint_name=splint
   10943 	lint_options="-badflag"
   10944 	;;
   10945   *freebsd* | *netbsd*)
   10946 	lint_name=lint
   10947 	lint_options="-u -b"
   10948 	;;
   10949   *solaris*)
   10950 	lint_name=lint
   10951 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   10952 	;;
   10953 esac
   10954 
   10955 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   10956 if test "x$use_lint" = x"yes" ; then
   10957    # Extract the first word of "$lint_name", so it can be a program name with args.
   10958 set dummy $lint_name; ac_word=$2
   10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10960 $as_echo_n "checking for $ac_word... " >&6; }
   10961 if ${ac_cv_path_LINT+:} false; then :
   10962   $as_echo_n "(cached) " >&6
   10963 else
   10964   case $LINT in
   10965   [\\/]* | ?:[\\/]*)
   10966   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   10967   ;;
   10968   *)
   10969   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10970 for as_dir in $PATH
   10971 do
   10972   IFS=$as_save_IFS
   10973   test -z "$as_dir" && as_dir=.
   10974     for ac_exec_ext in '' $ac_executable_extensions; do
   10975   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10976     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   10977     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10978     break 2
   10979   fi
   10980 done
   10981   done
   10982 IFS=$as_save_IFS
   10983 
   10984   ;;
   10985 esac
   10986 fi
   10987 LINT=$ac_cv_path_LINT
   10988 if test -n "$LINT"; then
   10989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   10990 $as_echo "$LINT" >&6; }
   10991 else
   10992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10993 $as_echo "no" >&6; }
   10994 fi
   10995 
   10996 
   10997    if test "x$LINT" = "x"; then
   10998         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   10999    fi
   11000 elif test "x$use_lint" = x"no" ; then
   11001    if test "x$LINT" != "x"; then
   11002       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   11003 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   11004    fi
   11005 else
   11006    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   11007 fi
   11008 
   11009 # User supplied flags override default flags
   11010 if test "x$LINT_FLAGS" != "x"; then
   11011    lint_options=$LINT_FLAGS
   11012 fi
   11013 
   11014 LINT_FLAGS=$lint_options
   11015 
   11016  if test "x$LINT" != x; then
   11017   LINT_TRUE=
   11018   LINT_FALSE='#'
   11019 else
   11020   LINT_TRUE='#'
   11021   LINT_FALSE=
   11022 fi
   11023 
   11024 
   11025 
   11026 
   11027 ac_config_files="$ac_config_files Makefile man/Makefile"
   11028 
   11029 cat >confcache <<\_ACEOF
   11030 # This file is a shell script that caches the results of configure
   11031 # tests run on this system so they can be shared between configure
   11032 # scripts and configure runs, see configure's option --config-cache.
   11033 # It is not useful on other systems.  If it contains results you don't
   11034 # want to keep, you may remove or edit it.
   11035 #
   11036 # config.status only pays attention to the cache file if you give it
   11037 # the --recheck option to rerun configure.
   11038 #
   11039 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11040 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11041 # following values.
   11042 
   11043 _ACEOF
   11044 
   11045 # The following way of writing the cache mishandles newlines in values,
   11046 # but we know of no workaround that is simple, portable, and efficient.
   11047 # So, we kill variables containing newlines.
   11048 # Ultrix sh set writes to stderr and can't be redirected directly,
   11049 # and sets the high bit in the cache file unless we assign to the vars.
   11050 (
   11051   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11052     eval ac_val=\$$ac_var
   11053     case $ac_val in #(
   11054     *${as_nl}*)
   11055       case $ac_var in #(
   11056       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11057 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11058       esac
   11059       case $ac_var in #(
   11060       _ | IFS | as_nl) ;; #(
   11061       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11062       *) { eval $ac_var=; unset $ac_var;} ;;
   11063       esac ;;
   11064     esac
   11065   done
   11066 
   11067   (set) 2>&1 |
   11068     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11069     *${as_nl}ac_space=\ *)
   11070       # `set' does not quote correctly, so add quotes: double-quote
   11071       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11072       sed -n \
   11073 	"s/'/'\\\\''/g;
   11074 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11075       ;; #(
   11076     *)
   11077       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11078       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11079       ;;
   11080     esac |
   11081     sort
   11082 ) |
   11083   sed '
   11084      /^ac_cv_env_/b end
   11085      t clear
   11086      :clear
   11087      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11088      t end
   11089      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11090      :end' >>confcache
   11091 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11092   if test -w "$cache_file"; then
   11093     if test "x$cache_file" != "x/dev/null"; then
   11094       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11095 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11096       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11097 	cat confcache >"$cache_file"
   11098       else
   11099         case $cache_file in #(
   11100         */* | ?:*)
   11101 	  mv -f confcache "$cache_file"$$ &&
   11102 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11103         *)
   11104 	  mv -f confcache "$cache_file" ;;
   11105 	esac
   11106       fi
   11107     fi
   11108   else
   11109     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11110 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11111   fi
   11112 fi
   11113 rm -f confcache
   11114 
   11115 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11116 # Let make expand exec_prefix.
   11117 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11118 
   11119 DEFS=-DHAVE_CONFIG_H
   11120 
   11121 ac_libobjs=
   11122 ac_ltlibobjs=
   11123 U=
   11124 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11125   # 1. Remove the extension, and $U if already installed.
   11126   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11127   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11128   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11129   #    will be set to the directory where LIBOBJS objects are built.
   11130   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11131   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11132 done
   11133 LIBOBJS=$ac_libobjs
   11134 
   11135 LTLIBOBJS=$ac_ltlibobjs
   11136 
   11137 
   11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11139 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11140    if test -n "$am_sleep_pid"; then
   11141      # Hide warnings about reused PIDs.
   11142      wait $am_sleep_pid 2>/dev/null
   11143    fi
   11144    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11145 $as_echo "done" >&6; }
   11146 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11147   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11149 fi
   11150 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11151   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11153 fi
   11154  if test -n "$EXEEXT"; then
   11155   am__EXEEXT_TRUE=
   11156   am__EXEEXT_FALSE='#'
   11157 else
   11158   am__EXEEXT_TRUE='#'
   11159   am__EXEEXT_FALSE=
   11160 fi
   11161 
   11162 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11163   as_fn_error $? "conditional \"LINT\" was never defined.
   11164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11165 fi
   11166 
   11167 : "${CONFIG_STATUS=./config.status}"
   11168 ac_write_fail=0
   11169 ac_clean_files_save=$ac_clean_files
   11170 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11171 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11172 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11173 as_write_fail=0
   11174 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11175 #! $SHELL
   11176 # Generated by $as_me.
   11177 # Run this file to recreate the current configuration.
   11178 # Compiler output produced by configure, useful for debugging
   11179 # configure, is in config.log if it exists.
   11180 
   11181 debug=false
   11182 ac_cs_recheck=false
   11183 ac_cs_silent=false
   11184 
   11185 SHELL=\${CONFIG_SHELL-$SHELL}
   11186 export SHELL
   11187 _ASEOF
   11188 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11189 ## -------------------- ##
   11190 ## M4sh Initialization. ##
   11191 ## -------------------- ##
   11192 
   11193 # Be more Bourne compatible
   11194 DUALCASE=1; export DUALCASE # for MKS sh
   11195 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11196   emulate sh
   11197   NULLCMD=:
   11198   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11199   # is contrary to our usage.  Disable this feature.
   11200   alias -g '${1+"$@"}'='"$@"'
   11201   setopt NO_GLOB_SUBST
   11202 else
   11203   case `(set -o) 2>/dev/null` in #(
   11204   *posix*) :
   11205     set -o posix ;; #(
   11206   *) :
   11207      ;;
   11208 esac
   11209 fi
   11210 
   11211 
   11212 as_nl='
   11213 '
   11214 export as_nl
   11215 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11216 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11217 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11218 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11219 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11220 # but without wasting forks for bash or zsh.
   11221 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11222     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11223   as_echo='print -r --'
   11224   as_echo_n='print -rn --'
   11225 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11226   as_echo='printf %s\n'
   11227   as_echo_n='printf %s'
   11228 else
   11229   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11230     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11231     as_echo_n='/usr/ucb/echo -n'
   11232   else
   11233     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11234     as_echo_n_body='eval
   11235       arg=$1;
   11236       case $arg in #(
   11237       *"$as_nl"*)
   11238 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11239 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11240       esac;
   11241       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11242     '
   11243     export as_echo_n_body
   11244     as_echo_n='sh -c $as_echo_n_body as_echo'
   11245   fi
   11246   export as_echo_body
   11247   as_echo='sh -c $as_echo_body as_echo'
   11248 fi
   11249 
   11250 # The user is always right.
   11251 if test "${PATH_SEPARATOR+set}" != set; then
   11252   PATH_SEPARATOR=:
   11253   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11254     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11255       PATH_SEPARATOR=';'
   11256   }
   11257 fi
   11258 
   11259 
   11260 # IFS
   11261 # We need space, tab and new line, in precisely that order.  Quoting is
   11262 # there to prevent editors from complaining about space-tab.
   11263 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11264 # splitting by setting IFS to empty value.)
   11265 IFS=" ""	$as_nl"
   11266 
   11267 # Find who we are.  Look in the path if we contain no directory separator.
   11268 as_myself=
   11269 case $0 in #((
   11270   *[\\/]* ) as_myself=$0 ;;
   11271   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11272 for as_dir in $PATH
   11273 do
   11274   IFS=$as_save_IFS
   11275   test -z "$as_dir" && as_dir=.
   11276     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11277   done
   11278 IFS=$as_save_IFS
   11279 
   11280      ;;
   11281 esac
   11282 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11283 # in which case we are not to be found in the path.
   11284 if test "x$as_myself" = x; then
   11285   as_myself=$0
   11286 fi
   11287 if test ! -f "$as_myself"; then
   11288   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11289   exit 1
   11290 fi
   11291 
   11292 # Unset variables that we do not need and which cause bugs (e.g. in
   11293 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11294 # suppresses any "Segmentation fault" message there.  '((' could
   11295 # trigger a bug in pdksh 5.2.14.
   11296 for as_var in BASH_ENV ENV MAIL MAILPATH
   11297 do eval test x\${$as_var+set} = xset \
   11298   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11299 done
   11300 PS1='$ '
   11301 PS2='> '
   11302 PS4='+ '
   11303 
   11304 # NLS nuisances.
   11305 LC_ALL=C
   11306 export LC_ALL
   11307 LANGUAGE=C
   11308 export LANGUAGE
   11309 
   11310 # CDPATH.
   11311 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11312 
   11313 
   11314 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11315 # ----------------------------------------
   11316 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11317 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11318 # script with STATUS, using 1 if that was 0.
   11319 as_fn_error ()
   11320 {
   11321   as_status=$1; test $as_status -eq 0 && as_status=1
   11322   if test "$4"; then
   11323     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11324     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11325   fi
   11326   $as_echo "$as_me: error: $2" >&2
   11327   as_fn_exit $as_status
   11328 } # as_fn_error
   11329 
   11330 
   11331 # as_fn_set_status STATUS
   11332 # -----------------------
   11333 # Set $? to STATUS, without forking.
   11334 as_fn_set_status ()
   11335 {
   11336   return $1
   11337 } # as_fn_set_status
   11338 
   11339 # as_fn_exit STATUS
   11340 # -----------------
   11341 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11342 as_fn_exit ()
   11343 {
   11344   set +e
   11345   as_fn_set_status $1
   11346   exit $1
   11347 } # as_fn_exit
   11348 
   11349 # as_fn_unset VAR
   11350 # ---------------
   11351 # Portably unset VAR.
   11352 as_fn_unset ()
   11353 {
   11354   { eval $1=; unset $1;}
   11355 }
   11356 as_unset=as_fn_unset
   11357 # as_fn_append VAR VALUE
   11358 # ----------------------
   11359 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11360 # advantage of any shell optimizations that allow amortized linear growth over
   11361 # repeated appends, instead of the typical quadratic growth present in naive
   11362 # implementations.
   11363 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11364   eval 'as_fn_append ()
   11365   {
   11366     eval $1+=\$2
   11367   }'
   11368 else
   11369   as_fn_append ()
   11370   {
   11371     eval $1=\$$1\$2
   11372   }
   11373 fi # as_fn_append
   11374 
   11375 # as_fn_arith ARG...
   11376 # ------------------
   11377 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11378 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11379 # must be portable across $(()) and expr.
   11380 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11381   eval 'as_fn_arith ()
   11382   {
   11383     as_val=$(( $* ))
   11384   }'
   11385 else
   11386   as_fn_arith ()
   11387   {
   11388     as_val=`expr "$@" || test $? -eq 1`
   11389   }
   11390 fi # as_fn_arith
   11391 
   11392 
   11393 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11394    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11395   as_expr=expr
   11396 else
   11397   as_expr=false
   11398 fi
   11399 
   11400 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11401   as_basename=basename
   11402 else
   11403   as_basename=false
   11404 fi
   11405 
   11406 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11407   as_dirname=dirname
   11408 else
   11409   as_dirname=false
   11410 fi
   11411 
   11412 as_me=`$as_basename -- "$0" ||
   11413 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11414 	 X"$0" : 'X\(//\)$' \| \
   11415 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11416 $as_echo X/"$0" |
   11417     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11418 	    s//\1/
   11419 	    q
   11420 	  }
   11421 	  /^X\/\(\/\/\)$/{
   11422 	    s//\1/
   11423 	    q
   11424 	  }
   11425 	  /^X\/\(\/\).*/{
   11426 	    s//\1/
   11427 	    q
   11428 	  }
   11429 	  s/.*/./; q'`
   11430 
   11431 # Avoid depending upon Character Ranges.
   11432 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11433 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11434 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11435 as_cr_digits='0123456789'
   11436 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11437 
   11438 ECHO_C= ECHO_N= ECHO_T=
   11439 case `echo -n x` in #(((((
   11440 -n*)
   11441   case `echo 'xy\c'` in
   11442   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11443   xy)  ECHO_C='\c';;
   11444   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11445        ECHO_T='	';;
   11446   esac;;
   11447 *)
   11448   ECHO_N='-n';;
   11449 esac
   11450 
   11451 rm -f conf$$ conf$$.exe conf$$.file
   11452 if test -d conf$$.dir; then
   11453   rm -f conf$$.dir/conf$$.file
   11454 else
   11455   rm -f conf$$.dir
   11456   mkdir conf$$.dir 2>/dev/null
   11457 fi
   11458 if (echo >conf$$.file) 2>/dev/null; then
   11459   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11460     as_ln_s='ln -s'
   11461     # ... but there are two gotchas:
   11462     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11463     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11464     # In both cases, we have to default to `cp -pR'.
   11465     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11466       as_ln_s='cp -pR'
   11467   elif ln conf$$.file conf$$ 2>/dev/null; then
   11468     as_ln_s=ln
   11469   else
   11470     as_ln_s='cp -pR'
   11471   fi
   11472 else
   11473   as_ln_s='cp -pR'
   11474 fi
   11475 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11476 rmdir conf$$.dir 2>/dev/null
   11477 
   11478 
   11479 # as_fn_mkdir_p
   11480 # -------------
   11481 # Create "$as_dir" as a directory, including parents if necessary.
   11482 as_fn_mkdir_p ()
   11483 {
   11484 
   11485   case $as_dir in #(
   11486   -*) as_dir=./$as_dir;;
   11487   esac
   11488   test -d "$as_dir" || eval $as_mkdir_p || {
   11489     as_dirs=
   11490     while :; do
   11491       case $as_dir in #(
   11492       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11493       *) as_qdir=$as_dir;;
   11494       esac
   11495       as_dirs="'$as_qdir' $as_dirs"
   11496       as_dir=`$as_dirname -- "$as_dir" ||
   11497 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11498 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11499 	 X"$as_dir" : 'X\(//\)$' \| \
   11500 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11501 $as_echo X"$as_dir" |
   11502     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11503 	    s//\1/
   11504 	    q
   11505 	  }
   11506 	  /^X\(\/\/\)[^/].*/{
   11507 	    s//\1/
   11508 	    q
   11509 	  }
   11510 	  /^X\(\/\/\)$/{
   11511 	    s//\1/
   11512 	    q
   11513 	  }
   11514 	  /^X\(\/\).*/{
   11515 	    s//\1/
   11516 	    q
   11517 	  }
   11518 	  s/.*/./; q'`
   11519       test -d "$as_dir" && break
   11520     done
   11521     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11522   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11523 
   11524 
   11525 } # as_fn_mkdir_p
   11526 if mkdir -p . 2>/dev/null; then
   11527   as_mkdir_p='mkdir -p "$as_dir"'
   11528 else
   11529   test -d ./-p && rmdir ./-p
   11530   as_mkdir_p=false
   11531 fi
   11532 
   11533 
   11534 # as_fn_executable_p FILE
   11535 # -----------------------
   11536 # Test if FILE is an executable regular file.
   11537 as_fn_executable_p ()
   11538 {
   11539   test -f "$1" && test -x "$1"
   11540 } # as_fn_executable_p
   11541 as_test_x='test -x'
   11542 as_executable_p=as_fn_executable_p
   11543 
   11544 # Sed expression to map a string onto a valid CPP name.
   11545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11546 
   11547 # Sed expression to map a string onto a valid variable name.
   11548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11549 
   11550 
   11551 exec 6>&1
   11552 ## ----------------------------------- ##
   11553 ## Main body of $CONFIG_STATUS script. ##
   11554 ## ----------------------------------- ##
   11555 _ASEOF
   11556 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11557 
   11558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11559 # Save the log message, to keep $0 and so on meaningful, and to
   11560 # report actual input values of CONFIG_FILES etc. instead of their
   11561 # values after options handling.
   11562 ac_log="
   11563 This file was extended by xmodmap $as_me 1.0.9, which was
   11564 generated by GNU Autoconf 2.69.  Invocation command line was
   11565 
   11566   CONFIG_FILES    = $CONFIG_FILES
   11567   CONFIG_HEADERS  = $CONFIG_HEADERS
   11568   CONFIG_LINKS    = $CONFIG_LINKS
   11569   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11570   $ $0 $@
   11571 
   11572 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11573 "
   11574 
   11575 _ACEOF
   11576 
   11577 case $ac_config_files in *"
   11578 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11579 esac
   11580 
   11581 case $ac_config_headers in *"
   11582 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11583 esac
   11584 
   11585 
   11586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11587 # Files that config.status was made for.
   11588 config_files="$ac_config_files"
   11589 config_headers="$ac_config_headers"
   11590 config_commands="$ac_config_commands"
   11591 
   11592 _ACEOF
   11593 
   11594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11595 ac_cs_usage="\
   11596 \`$as_me' instantiates files and other configuration actions
   11597 from templates according to the current configuration.  Unless the files
   11598 and actions are specified as TAGs, all are instantiated by default.
   11599 
   11600 Usage: $0 [OPTION]... [TAG]...
   11601 
   11602   -h, --help       print this help, then exit
   11603   -V, --version    print version number and configuration settings, then exit
   11604       --config     print configuration, then exit
   11605   -q, --quiet, --silent
   11606                    do not print progress messages
   11607   -d, --debug      don't remove temporary files
   11608       --recheck    update $as_me by reconfiguring in the same conditions
   11609       --file=FILE[:TEMPLATE]
   11610                    instantiate the configuration file FILE
   11611       --header=FILE[:TEMPLATE]
   11612                    instantiate the configuration header FILE
   11613 
   11614 Configuration files:
   11615 $config_files
   11616 
   11617 Configuration headers:
   11618 $config_headers
   11619 
   11620 Configuration commands:
   11621 $config_commands
   11622 
   11623 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11624 
   11625 _ACEOF
   11626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11627 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11628 ac_cs_version="\\
   11629 xmodmap config.status 1.0.9
   11630 configured by $0, generated by GNU Autoconf 2.69,
   11631   with options \\"\$ac_cs_config\\"
   11632 
   11633 Copyright (C) 2012 Free Software Foundation, Inc.
   11634 This config.status script is free software; the Free Software Foundation
   11635 gives unlimited permission to copy, distribute and modify it."
   11636 
   11637 ac_pwd='$ac_pwd'
   11638 srcdir='$srcdir'
   11639 INSTALL='$INSTALL'
   11640 MKDIR_P='$MKDIR_P'
   11641 AWK='$AWK'
   11642 test -n "\$AWK" || AWK=awk
   11643 _ACEOF
   11644 
   11645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11646 # The default lists apply if the user does not specify any file.
   11647 ac_need_defaults=:
   11648 while test $# != 0
   11649 do
   11650   case $1 in
   11651   --*=?*)
   11652     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11653     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11654     ac_shift=:
   11655     ;;
   11656   --*=)
   11657     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11658     ac_optarg=
   11659     ac_shift=:
   11660     ;;
   11661   *)
   11662     ac_option=$1
   11663     ac_optarg=$2
   11664     ac_shift=shift
   11665     ;;
   11666   esac
   11667 
   11668   case $ac_option in
   11669   # Handling of the options.
   11670   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11671     ac_cs_recheck=: ;;
   11672   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11673     $as_echo "$ac_cs_version"; exit ;;
   11674   --config | --confi | --conf | --con | --co | --c )
   11675     $as_echo "$ac_cs_config"; exit ;;
   11676   --debug | --debu | --deb | --de | --d | -d )
   11677     debug=: ;;
   11678   --file | --fil | --fi | --f )
   11679     $ac_shift
   11680     case $ac_optarg in
   11681     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11682     '') as_fn_error $? "missing file argument" ;;
   11683     esac
   11684     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11685     ac_need_defaults=false;;
   11686   --header | --heade | --head | --hea )
   11687     $ac_shift
   11688     case $ac_optarg in
   11689     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11690     esac
   11691     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11692     ac_need_defaults=false;;
   11693   --he | --h)
   11694     # Conflict between --help and --header
   11695     as_fn_error $? "ambiguous option: \`$1'
   11696 Try \`$0 --help' for more information.";;
   11697   --help | --hel | -h )
   11698     $as_echo "$ac_cs_usage"; exit ;;
   11699   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11700   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11701     ac_cs_silent=: ;;
   11702 
   11703   # This is an error.
   11704   -*) as_fn_error $? "unrecognized option: \`$1'
   11705 Try \`$0 --help' for more information." ;;
   11706 
   11707   *) as_fn_append ac_config_targets " $1"
   11708      ac_need_defaults=false ;;
   11709 
   11710   esac
   11711   shift
   11712 done
   11713 
   11714 ac_configure_extra_args=
   11715 
   11716 if $ac_cs_silent; then
   11717   exec 6>/dev/null
   11718   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11719 fi
   11720 
   11721 _ACEOF
   11722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11723 if \$ac_cs_recheck; then
   11724   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11725   shift
   11726   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11727   CONFIG_SHELL='$SHELL'
   11728   export CONFIG_SHELL
   11729   exec "\$@"
   11730 fi
   11731 
   11732 _ACEOF
   11733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11734 exec 5>>config.log
   11735 {
   11736   echo
   11737   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11738 ## Running $as_me. ##
   11739 _ASBOX
   11740   $as_echo "$ac_log"
   11741 } >&5
   11742 
   11743 _ACEOF
   11744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11745 #
   11746 # INIT-COMMANDS
   11747 #
   11748 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11749 
   11750 _ACEOF
   11751 
   11752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11753 
   11754 # Handling of arguments.
   11755 for ac_config_target in $ac_config_targets
   11756 do
   11757   case $ac_config_target in
   11758     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11759     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11760     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11761     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11762 
   11763   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11764   esac
   11765 done
   11766 
   11767 
   11768 # If the user did not use the arguments to specify the items to instantiate,
   11769 # then the envvar interface is used.  Set only those that are not.
   11770 # We use the long form for the default assignment because of an extremely
   11771 # bizarre bug on SunOS 4.1.3.
   11772 if $ac_need_defaults; then
   11773   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11774   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11775   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11776 fi
   11777 
   11778 # Have a temporary directory for convenience.  Make it in the build tree
   11779 # simply because there is no reason against having it here, and in addition,
   11780 # creating and moving files from /tmp can sometimes cause problems.
   11781 # Hook for its removal unless debugging.
   11782 # Note that there is a small window in which the directory will not be cleaned:
   11783 # after its creation but before its name has been assigned to `$tmp'.
   11784 $debug ||
   11785 {
   11786   tmp= ac_tmp=
   11787   trap 'exit_status=$?
   11788   : "${ac_tmp:=$tmp}"
   11789   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11790 ' 0
   11791   trap 'as_fn_exit 1' 1 2 13 15
   11792 }
   11793 # Create a (secure) tmp directory for tmp files.
   11794 
   11795 {
   11796   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11797   test -d "$tmp"
   11798 }  ||
   11799 {
   11800   tmp=./conf$$-$RANDOM
   11801   (umask 077 && mkdir "$tmp")
   11802 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11803 ac_tmp=$tmp
   11804 
   11805 # Set up the scripts for CONFIG_FILES section.
   11806 # No need to generate them if there are no CONFIG_FILES.
   11807 # This happens for instance with `./config.status config.h'.
   11808 if test -n "$CONFIG_FILES"; then
   11809 
   11810 
   11811 ac_cr=`echo X | tr X '\015'`
   11812 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11813 # But we know of no other shell where ac_cr would be empty at this
   11814 # point, so we can use a bashism as a fallback.
   11815 if test "x$ac_cr" = x; then
   11816   eval ac_cr=\$\'\\r\'
   11817 fi
   11818 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11819 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11820   ac_cs_awk_cr='\\r'
   11821 else
   11822   ac_cs_awk_cr=$ac_cr
   11823 fi
   11824 
   11825 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11826 _ACEOF
   11827 
   11828 
   11829 {
   11830   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11831   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11832   echo "_ACEOF"
   11833 } >conf$$subs.sh ||
   11834   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11835 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11836 ac_delim='%!_!# '
   11837 for ac_last_try in false false false false false :; do
   11838   . ./conf$$subs.sh ||
   11839     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11840 
   11841   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11842   if test $ac_delim_n = $ac_delim_num; then
   11843     break
   11844   elif $ac_last_try; then
   11845     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11846   else
   11847     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11848   fi
   11849 done
   11850 rm -f conf$$subs.sh
   11851 
   11852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11853 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11854 _ACEOF
   11855 sed -n '
   11856 h
   11857 s/^/S["/; s/!.*/"]=/
   11858 p
   11859 g
   11860 s/^[^!]*!//
   11861 :repl
   11862 t repl
   11863 s/'"$ac_delim"'$//
   11864 t delim
   11865 :nl
   11866 h
   11867 s/\(.\{148\}\)..*/\1/
   11868 t more1
   11869 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11870 p
   11871 n
   11872 b repl
   11873 :more1
   11874 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11875 p
   11876 g
   11877 s/.\{148\}//
   11878 t nl
   11879 :delim
   11880 h
   11881 s/\(.\{148\}\)..*/\1/
   11882 t more2
   11883 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11884 p
   11885 b
   11886 :more2
   11887 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11888 p
   11889 g
   11890 s/.\{148\}//
   11891 t delim
   11892 ' <conf$$subs.awk | sed '
   11893 /^[^""]/{
   11894   N
   11895   s/\n//
   11896 }
   11897 ' >>$CONFIG_STATUS || ac_write_fail=1
   11898 rm -f conf$$subs.awk
   11899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11900 _ACAWK
   11901 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11902   for (key in S) S_is_set[key] = 1
   11903   FS = ""
   11904 
   11905 }
   11906 {
   11907   line = $ 0
   11908   nfields = split(line, field, "@")
   11909   substed = 0
   11910   len = length(field[1])
   11911   for (i = 2; i < nfields; i++) {
   11912     key = field[i]
   11913     keylen = length(key)
   11914     if (S_is_set[key]) {
   11915       value = S[key]
   11916       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11917       len += length(value) + length(field[++i])
   11918       substed = 1
   11919     } else
   11920       len += 1 + keylen
   11921   }
   11922 
   11923   print line
   11924 }
   11925 
   11926 _ACAWK
   11927 _ACEOF
   11928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11929 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11930   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11931 else
   11932   cat
   11933 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11934   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11935 _ACEOF
   11936 
   11937 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11938 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11939 # trailing colons and then remove the whole line if VPATH becomes empty
   11940 # (actually we leave an empty line to preserve line numbers).
   11941 if test "x$srcdir" = x.; then
   11942   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11943 h
   11944 s///
   11945 s/^/:/
   11946 s/[	 ]*$/:/
   11947 s/:\$(srcdir):/:/g
   11948 s/:\${srcdir}:/:/g
   11949 s/:@srcdir@:/:/g
   11950 s/^:*//
   11951 s/:*$//
   11952 x
   11953 s/\(=[	 ]*\).*/\1/
   11954 G
   11955 s/\n//
   11956 s/^[^=]*=[	 ]*$//
   11957 }'
   11958 fi
   11959 
   11960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11961 fi # test -n "$CONFIG_FILES"
   11962 
   11963 # Set up the scripts for CONFIG_HEADERS section.
   11964 # No need to generate them if there are no CONFIG_HEADERS.
   11965 # This happens for instance with `./config.status Makefile'.
   11966 if test -n "$CONFIG_HEADERS"; then
   11967 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11968 BEGIN {
   11969 _ACEOF
   11970 
   11971 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11972 # here-document in config.status, that substitutes the proper values into
   11973 # config.h.in to produce config.h.
   11974 
   11975 # Create a delimiter string that does not exist in confdefs.h, to ease
   11976 # handling of long lines.
   11977 ac_delim='%!_!# '
   11978 for ac_last_try in false false :; do
   11979   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11980   if test -z "$ac_tt"; then
   11981     break
   11982   elif $ac_last_try; then
   11983     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11984   else
   11985     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11986   fi
   11987 done
   11988 
   11989 # For the awk script, D is an array of macro values keyed by name,
   11990 # likewise P contains macro parameters if any.  Preserve backslash
   11991 # newline sequences.
   11992 
   11993 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11994 sed -n '
   11995 s/.\{148\}/&'"$ac_delim"'/g
   11996 t rset
   11997 :rset
   11998 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11999 t def
   12000 d
   12001 :def
   12002 s/\\$//
   12003 t bsnl
   12004 s/["\\]/\\&/g
   12005 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12006 D["\1"]=" \3"/p
   12007 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12008 d
   12009 :bsnl
   12010 s/["\\]/\\&/g
   12011 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12012 D["\1"]=" \3\\\\\\n"\\/p
   12013 t cont
   12014 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12015 t cont
   12016 d
   12017 :cont
   12018 n
   12019 s/.\{148\}/&'"$ac_delim"'/g
   12020 t clear
   12021 :clear
   12022 s/\\$//
   12023 t bsnlc
   12024 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12025 d
   12026 :bsnlc
   12027 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12028 b cont
   12029 ' <confdefs.h | sed '
   12030 s/'"$ac_delim"'/"\\\
   12031 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12032 
   12033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12034   for (key in D) D_is_set[key] = 1
   12035   FS = ""
   12036 }
   12037 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12038   line = \$ 0
   12039   split(line, arg, " ")
   12040   if (arg[1] == "#") {
   12041     defundef = arg[2]
   12042     mac1 = arg[3]
   12043   } else {
   12044     defundef = substr(arg[1], 2)
   12045     mac1 = arg[2]
   12046   }
   12047   split(mac1, mac2, "(") #)
   12048   macro = mac2[1]
   12049   prefix = substr(line, 1, index(line, defundef) - 1)
   12050   if (D_is_set[macro]) {
   12051     # Preserve the white space surrounding the "#".
   12052     print prefix "define", macro P[macro] D[macro]
   12053     next
   12054   } else {
   12055     # Replace #undef with comments.  This is necessary, for example,
   12056     # in the case of _POSIX_SOURCE, which is predefined and required
   12057     # on some systems where configure will not decide to define it.
   12058     if (defundef == "undef") {
   12059       print "/*", prefix defundef, macro, "*/"
   12060       next
   12061     }
   12062   }
   12063 }
   12064 { print }
   12065 _ACAWK
   12066 _ACEOF
   12067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12068   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12069 fi # test -n "$CONFIG_HEADERS"
   12070 
   12071 
   12072 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12073 shift
   12074 for ac_tag
   12075 do
   12076   case $ac_tag in
   12077   :[FHLC]) ac_mode=$ac_tag; continue;;
   12078   esac
   12079   case $ac_mode$ac_tag in
   12080   :[FHL]*:*);;
   12081   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12082   :[FH]-) ac_tag=-:-;;
   12083   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12084   esac
   12085   ac_save_IFS=$IFS
   12086   IFS=:
   12087   set x $ac_tag
   12088   IFS=$ac_save_IFS
   12089   shift
   12090   ac_file=$1
   12091   shift
   12092 
   12093   case $ac_mode in
   12094   :L) ac_source=$1;;
   12095   :[FH])
   12096     ac_file_inputs=
   12097     for ac_f
   12098     do
   12099       case $ac_f in
   12100       -) ac_f="$ac_tmp/stdin";;
   12101       *) # Look for the file first in the build tree, then in the source tree
   12102 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12103 	 # because $ac_f cannot contain `:'.
   12104 	 test -f "$ac_f" ||
   12105 	   case $ac_f in
   12106 	   [\\/$]*) false;;
   12107 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12108 	   esac ||
   12109 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12110       esac
   12111       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12112       as_fn_append ac_file_inputs " '$ac_f'"
   12113     done
   12114 
   12115     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12116     # use $as_me), people would be surprised to read:
   12117     #    /* config.h.  Generated by config.status.  */
   12118     configure_input='Generated from '`
   12119 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12120 	`' by configure.'
   12121     if test x"$ac_file" != x-; then
   12122       configure_input="$ac_file.  $configure_input"
   12123       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12124 $as_echo "$as_me: creating $ac_file" >&6;}
   12125     fi
   12126     # Neutralize special characters interpreted by sed in replacement strings.
   12127     case $configure_input in #(
   12128     *\&* | *\|* | *\\* )
   12129        ac_sed_conf_input=`$as_echo "$configure_input" |
   12130        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12131     *) ac_sed_conf_input=$configure_input;;
   12132     esac
   12133 
   12134     case $ac_tag in
   12135     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12136       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12137     esac
   12138     ;;
   12139   esac
   12140 
   12141   ac_dir=`$as_dirname -- "$ac_file" ||
   12142 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12143 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12144 	 X"$ac_file" : 'X\(//\)$' \| \
   12145 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12146 $as_echo X"$ac_file" |
   12147     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12148 	    s//\1/
   12149 	    q
   12150 	  }
   12151 	  /^X\(\/\/\)[^/].*/{
   12152 	    s//\1/
   12153 	    q
   12154 	  }
   12155 	  /^X\(\/\/\)$/{
   12156 	    s//\1/
   12157 	    q
   12158 	  }
   12159 	  /^X\(\/\).*/{
   12160 	    s//\1/
   12161 	    q
   12162 	  }
   12163 	  s/.*/./; q'`
   12164   as_dir="$ac_dir"; as_fn_mkdir_p
   12165   ac_builddir=.
   12166 
   12167 case "$ac_dir" in
   12168 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12169 *)
   12170   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12171   # A ".." for each directory in $ac_dir_suffix.
   12172   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12173   case $ac_top_builddir_sub in
   12174   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12175   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12176   esac ;;
   12177 esac
   12178 ac_abs_top_builddir=$ac_pwd
   12179 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12180 # for backward compatibility:
   12181 ac_top_builddir=$ac_top_build_prefix
   12182 
   12183 case $srcdir in
   12184   .)  # We are building in place.
   12185     ac_srcdir=.
   12186     ac_top_srcdir=$ac_top_builddir_sub
   12187     ac_abs_top_srcdir=$ac_pwd ;;
   12188   [\\/]* | ?:[\\/]* )  # Absolute name.
   12189     ac_srcdir=$srcdir$ac_dir_suffix;
   12190     ac_top_srcdir=$srcdir
   12191     ac_abs_top_srcdir=$srcdir ;;
   12192   *) # Relative name.
   12193     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12194     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12195     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12196 esac
   12197 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12198 
   12199 
   12200   case $ac_mode in
   12201   :F)
   12202   #
   12203   # CONFIG_FILE
   12204   #
   12205 
   12206   case $INSTALL in
   12207   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12208   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12209   esac
   12210   ac_MKDIR_P=$MKDIR_P
   12211   case $MKDIR_P in
   12212   [\\/$]* | ?:[\\/]* ) ;;
   12213   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12214   esac
   12215 _ACEOF
   12216 
   12217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12218 # If the template does not know about datarootdir, expand it.
   12219 # FIXME: This hack should be removed a few years after 2.60.
   12220 ac_datarootdir_hack=; ac_datarootdir_seen=
   12221 ac_sed_dataroot='
   12222 /datarootdir/ {
   12223   p
   12224   q
   12225 }
   12226 /@datadir@/p
   12227 /@docdir@/p
   12228 /@infodir@/p
   12229 /@localedir@/p
   12230 /@mandir@/p'
   12231 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12232 *datarootdir*) ac_datarootdir_seen=yes;;
   12233 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12234   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12235 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12236 _ACEOF
   12237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12238   ac_datarootdir_hack='
   12239   s&@datadir@&$datadir&g
   12240   s&@docdir@&$docdir&g
   12241   s&@infodir@&$infodir&g
   12242   s&@localedir@&$localedir&g
   12243   s&@mandir@&$mandir&g
   12244   s&\\\${datarootdir}&$datarootdir&g' ;;
   12245 esac
   12246 _ACEOF
   12247 
   12248 # Neutralize VPATH when `$srcdir' = `.'.
   12249 # Shell code in configure.ac might set extrasub.
   12250 # FIXME: do we really want to maintain this feature?
   12251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12252 ac_sed_extra="$ac_vpsub
   12253 $extrasub
   12254 _ACEOF
   12255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12256 :t
   12257 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12258 s|@configure_input@|$ac_sed_conf_input|;t t
   12259 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12260 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12261 s&@srcdir@&$ac_srcdir&;t t
   12262 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12263 s&@top_srcdir@&$ac_top_srcdir&;t t
   12264 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12265 s&@builddir@&$ac_builddir&;t t
   12266 s&@abs_builddir@&$ac_abs_builddir&;t t
   12267 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12268 s&@INSTALL@&$ac_INSTALL&;t t
   12269 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12270 $ac_datarootdir_hack
   12271 "
   12272 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12273   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12274 
   12275 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12276   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12277   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12278       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12279   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12280 which seems to be undefined.  Please make sure it is defined" >&5
   12281 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12282 which seems to be undefined.  Please make sure it is defined" >&2;}
   12283 
   12284   rm -f "$ac_tmp/stdin"
   12285   case $ac_file in
   12286   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12287   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12288   esac \
   12289   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12290  ;;
   12291   :H)
   12292   #
   12293   # CONFIG_HEADER
   12294   #
   12295   if test x"$ac_file" != x-; then
   12296     {
   12297       $as_echo "/* $configure_input  */" \
   12298       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12299     } >"$ac_tmp/config.h" \
   12300       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12301     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12302       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12303 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12304     else
   12305       rm -f "$ac_file"
   12306       mv "$ac_tmp/config.h" "$ac_file" \
   12307 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12308     fi
   12309   else
   12310     $as_echo "/* $configure_input  */" \
   12311       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12312       || as_fn_error $? "could not create -" "$LINENO" 5
   12313   fi
   12314 # Compute "$ac_file"'s index in $config_headers.
   12315 _am_arg="$ac_file"
   12316 _am_stamp_count=1
   12317 for _am_header in $config_headers :; do
   12318   case $_am_header in
   12319     $_am_arg | $_am_arg:* )
   12320       break ;;
   12321     * )
   12322       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12323   esac
   12324 done
   12325 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12326 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12327 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12328 	 X"$_am_arg" : 'X\(//\)$' \| \
   12329 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12330 $as_echo X"$_am_arg" |
   12331     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12332 	    s//\1/
   12333 	    q
   12334 	  }
   12335 	  /^X\(\/\/\)[^/].*/{
   12336 	    s//\1/
   12337 	    q
   12338 	  }
   12339 	  /^X\(\/\/\)$/{
   12340 	    s//\1/
   12341 	    q
   12342 	  }
   12343 	  /^X\(\/\).*/{
   12344 	    s//\1/
   12345 	    q
   12346 	  }
   12347 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12348  ;;
   12349 
   12350   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12351 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12352  ;;
   12353   esac
   12354 
   12355 
   12356   case $ac_file$ac_mode in
   12357     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12358   # Older Autoconf quotes --file arguments for eval, but not when files
   12359   # are listed without --file.  Let's play safe and only enable the eval
   12360   # if we detect the quoting.
   12361   case $CONFIG_FILES in
   12362   *\'*) eval set x "$CONFIG_FILES" ;;
   12363   *)   set x $CONFIG_FILES ;;
   12364   esac
   12365   shift
   12366   for mf
   12367   do
   12368     # Strip MF so we end up with the name of the file.
   12369     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12370     # Check whether this is an Automake generated Makefile or not.
   12371     # We used to match only the files named 'Makefile.in', but
   12372     # some people rename them; so instead we look at the file content.
   12373     # Grep'ing the first line is not enough: some people post-process
   12374     # each Makefile.in and add a new line on top of each file to say so.
   12375     # Grep'ing the whole file is not good either: AIX grep has a line
   12376     # limit of 2048, but all sed's we know have understand at least 4000.
   12377     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12378       dirpart=`$as_dirname -- "$mf" ||
   12379 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12380 	 X"$mf" : 'X\(//\)[^/]' \| \
   12381 	 X"$mf" : 'X\(//\)$' \| \
   12382 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12383 $as_echo X"$mf" |
   12384     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12385 	    s//\1/
   12386 	    q
   12387 	  }
   12388 	  /^X\(\/\/\)[^/].*/{
   12389 	    s//\1/
   12390 	    q
   12391 	  }
   12392 	  /^X\(\/\/\)$/{
   12393 	    s//\1/
   12394 	    q
   12395 	  }
   12396 	  /^X\(\/\).*/{
   12397 	    s//\1/
   12398 	    q
   12399 	  }
   12400 	  s/.*/./; q'`
   12401     else
   12402       continue
   12403     fi
   12404     # Extract the definition of DEPDIR, am__include, and am__quote
   12405     # from the Makefile without running 'make'.
   12406     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12407     test -z "$DEPDIR" && continue
   12408     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12409     test -z "$am__include" && continue
   12410     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12411     # Find all dependency output files, they are included files with
   12412     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12413     # simplest approach to changing $(DEPDIR) to its actual value in the
   12414     # expansion.
   12415     for file in `sed -n "
   12416       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12417 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12418       # Make sure the directory exists.
   12419       test -f "$dirpart/$file" && continue
   12420       fdir=`$as_dirname -- "$file" ||
   12421 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12422 	 X"$file" : 'X\(//\)[^/]' \| \
   12423 	 X"$file" : 'X\(//\)$' \| \
   12424 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12425 $as_echo X"$file" |
   12426     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12427 	    s//\1/
   12428 	    q
   12429 	  }
   12430 	  /^X\(\/\/\)[^/].*/{
   12431 	    s//\1/
   12432 	    q
   12433 	  }
   12434 	  /^X\(\/\/\)$/{
   12435 	    s//\1/
   12436 	    q
   12437 	  }
   12438 	  /^X\(\/\).*/{
   12439 	    s//\1/
   12440 	    q
   12441 	  }
   12442 	  s/.*/./; q'`
   12443       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12444       # echo "creating $dirpart/$file"
   12445       echo '# dummy' > "$dirpart/$file"
   12446     done
   12447   done
   12448 }
   12449  ;;
   12450 
   12451   esac
   12452 done # for ac_tag
   12453 
   12454 
   12455 as_fn_exit 0
   12456 _ACEOF
   12457 ac_clean_files=$ac_clean_files_save
   12458 
   12459 test $ac_write_fail = 0 ||
   12460   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12461 
   12462 
   12463 # configure is writing to config.log, and then calls config.status.
   12464 # config.status does its own redirection, appending to config.log.
   12465 # Unfortunately, on DOS this fails, as config.log is still kept open
   12466 # by configure, so config.status won't be able to write to it; its
   12467 # output is simply discarded.  So we exec the FD to /dev/null,
   12468 # effectively closing config.log, so it can be properly (re)opened and
   12469 # appended to by config.status.  When coming back to configure, we
   12470 # need to make the FD available again.
   12471 if test "$no_create" != yes; then
   12472   ac_cs_success=:
   12473   ac_config_status_args=
   12474   test "$silent" = yes &&
   12475     ac_config_status_args="$ac_config_status_args --quiet"
   12476   exec 5>/dev/null
   12477   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12478   exec 5>>config.log
   12479   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12480   # would make configure fail if this is the last instruction.
   12481   $ac_cs_success || as_fn_exit 1
   12482 fi
   12483 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12484   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12485 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12486 fi
   12487 
   12488