Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for proxymngr 1.0.4.
      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='proxymngr'
    583 PACKAGE_TARNAME='proxymngr'
    584 PACKAGE_VERSION='1.0.4'
    585 PACKAGE_STRING='proxymngr 1.0.4'
    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 PROXYMNGR_LIBS
    631 PROXYMNGR_CFLAGS
    632 LBXPROXY
    633 MAN_SUBSTS
    634 XORG_MAN_PAGE
    635 ADMIN_MAN_DIR
    636 DRIVER_MAN_DIR
    637 MISC_MAN_DIR
    638 FILE_MAN_DIR
    639 LIB_MAN_DIR
    640 APP_MAN_DIR
    641 ADMIN_MAN_SUFFIX
    642 DRIVER_MAN_SUFFIX
    643 MISC_MAN_SUFFIX
    644 FILE_MAN_SUFFIX
    645 LIB_MAN_SUFFIX
    646 APP_MAN_SUFFIX
    647 SED
    648 host_os
    649 host_vendor
    650 host_cpu
    651 host
    652 build_os
    653 build_vendor
    654 build_cpu
    655 build
    656 INSTALL_CMD
    657 PKG_CONFIG
    658 CHANGELOG_CMD
    659 STRICT_CFLAGS
    660 CWARNFLAGS
    661 BASE_CFLAGS
    662 EGREP
    663 GREP
    664 CPP
    665 am__fastdepCC_FALSE
    666 am__fastdepCC_TRUE
    667 CCDEPMODE
    668 am__nodep
    669 AMDEPBACKSLASH
    670 AMDEP_FALSE
    671 AMDEP_TRUE
    672 am__quote
    673 am__include
    674 DEPDIR
    675 OBJEXT
    676 EXEEXT
    677 ac_ct_CC
    678 CPPFLAGS
    679 LDFLAGS
    680 CFLAGS
    681 CC
    682 AM_BACKSLASH
    683 AM_DEFAULT_VERBOSITY
    684 AM_DEFAULT_V
    685 AM_V
    686 am__untar
    687 am__tar
    688 AMTAR
    689 am__leading_dot
    690 SET_MAKE
    691 AWK
    692 mkdir_p
    693 MKDIR_P
    694 INSTALL_STRIP_PROGRAM
    695 STRIP
    696 install_sh
    697 MAKEINFO
    698 AUTOHEADER
    699 AUTOMAKE
    700 AUTOCONF
    701 ACLOCAL
    702 VERSION
    703 PACKAGE
    704 CYGPATH_W
    705 am__isrc
    706 INSTALL_DATA
    707 INSTALL_SCRIPT
    708 INSTALL_PROGRAM
    709 target_alias
    710 host_alias
    711 build_alias
    712 LIBS
    713 ECHO_T
    714 ECHO_N
    715 ECHO_C
    716 DEFS
    717 mandir
    718 localedir
    719 libdir
    720 psdir
    721 pdfdir
    722 dvidir
    723 htmldir
    724 infodir
    725 docdir
    726 oldincludedir
    727 includedir
    728 localstatedir
    729 sharedstatedir
    730 sysconfdir
    731 datadir
    732 datarootdir
    733 libexecdir
    734 sbindir
    735 bindir
    736 program_transform_name
    737 prefix
    738 exec_prefix
    739 PACKAGE_URL
    740 PACKAGE_BUGREPORT
    741 PACKAGE_STRING
    742 PACKAGE_VERSION
    743 PACKAGE_TARNAME
    744 PACKAGE_NAME
    745 PATH_SEPARATOR
    746 SHELL'
    747 ac_subst_files=''
    748 ac_user_opts='
    749 enable_option_checking
    750 enable_silent_rules
    751 enable_dependency_tracking
    752 enable_selective_werror
    753 enable_strict_compilation
    754 enable_ipv6
    755 '
    756       ac_precious_vars='build_alias
    757 host_alias
    758 target_alias
    759 CC
    760 CFLAGS
    761 LDFLAGS
    762 LIBS
    763 CPPFLAGS
    764 CPP
    765 PKG_CONFIG
    766 PROXYMNGR_CFLAGS
    767 PROXYMNGR_LIBS'
    768 
    769 
    770 # Initialize some variables set by options.
    771 ac_init_help=
    772 ac_init_version=false
    773 ac_unrecognized_opts=
    774 ac_unrecognized_sep=
    775 # The variables have the same names as the options, with
    776 # dashes changed to underlines.
    777 cache_file=/dev/null
    778 exec_prefix=NONE
    779 no_create=
    780 no_recursion=
    781 prefix=NONE
    782 program_prefix=NONE
    783 program_suffix=NONE
    784 program_transform_name=s,x,x,
    785 silent=
    786 site=
    787 srcdir=
    788 verbose=
    789 x_includes=NONE
    790 x_libraries=NONE
    791 
    792 # Installation directory options.
    793 # These are left unexpanded so users can "make install exec_prefix=/foo"
    794 # and all the variables that are supposed to be based on exec_prefix
    795 # by default will actually change.
    796 # Use braces instead of parens because sh, perl, etc. also accept them.
    797 # (The list follows the same order as the GNU Coding Standards.)
    798 bindir='${exec_prefix}/bin'
    799 sbindir='${exec_prefix}/sbin'
    800 libexecdir='${exec_prefix}/libexec'
    801 datarootdir='${prefix}/share'
    802 datadir='${datarootdir}'
    803 sysconfdir='${prefix}/etc'
    804 sharedstatedir='${prefix}/com'
    805 localstatedir='${prefix}/var'
    806 includedir='${prefix}/include'
    807 oldincludedir='/usr/include'
    808 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    809 infodir='${datarootdir}/info'
    810 htmldir='${docdir}'
    811 dvidir='${docdir}'
    812 pdfdir='${docdir}'
    813 psdir='${docdir}'
    814 libdir='${exec_prefix}/lib'
    815 localedir='${datarootdir}/locale'
    816 mandir='${datarootdir}/man'
    817 
    818 ac_prev=
    819 ac_dashdash=
    820 for ac_option
    821 do
    822   # If the previous option needs an argument, assign it.
    823   if test -n "$ac_prev"; then
    824     eval $ac_prev=\$ac_option
    825     ac_prev=
    826     continue
    827   fi
    828 
    829   case $ac_option in
    830   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    831   *=)   ac_optarg= ;;
    832   *)    ac_optarg=yes ;;
    833   esac
    834 
    835   # Accept the important Cygnus configure options, so we can diagnose typos.
    836 
    837   case $ac_dashdash$ac_option in
    838   --)
    839     ac_dashdash=yes ;;
    840 
    841   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    842     ac_prev=bindir ;;
    843   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    844     bindir=$ac_optarg ;;
    845 
    846   -build | --build | --buil | --bui | --bu)
    847     ac_prev=build_alias ;;
    848   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    849     build_alias=$ac_optarg ;;
    850 
    851   -cache-file | --cache-file | --cache-fil | --cache-fi \
    852   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    853     ac_prev=cache_file ;;
    854   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    855   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    856     cache_file=$ac_optarg ;;
    857 
    858   --config-cache | -C)
    859     cache_file=config.cache ;;
    860 
    861   -datadir | --datadir | --datadi | --datad)
    862     ac_prev=datadir ;;
    863   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    864     datadir=$ac_optarg ;;
    865 
    866   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    867   | --dataroo | --dataro | --datar)
    868     ac_prev=datarootdir ;;
    869   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    870   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    871     datarootdir=$ac_optarg ;;
    872 
    873   -disable-* | --disable-*)
    874     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    875     # Reject names that are not valid shell variable names.
    876     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    877       as_fn_error $? "invalid feature name: $ac_useropt"
    878     ac_useropt_orig=$ac_useropt
    879     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    880     case $ac_user_opts in
    881       *"
    882 "enable_$ac_useropt"
    883 "*) ;;
    884       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    885 	 ac_unrecognized_sep=', ';;
    886     esac
    887     eval enable_$ac_useropt=no ;;
    888 
    889   -docdir | --docdir | --docdi | --doc | --do)
    890     ac_prev=docdir ;;
    891   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    892     docdir=$ac_optarg ;;
    893 
    894   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    895     ac_prev=dvidir ;;
    896   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    897     dvidir=$ac_optarg ;;
    898 
    899   -enable-* | --enable-*)
    900     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    901     # Reject names that are not valid shell variable names.
    902     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    903       as_fn_error $? "invalid feature name: $ac_useropt"
    904     ac_useropt_orig=$ac_useropt
    905     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    906     case $ac_user_opts in
    907       *"
    908 "enable_$ac_useropt"
    909 "*) ;;
    910       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    911 	 ac_unrecognized_sep=', ';;
    912     esac
    913     eval enable_$ac_useropt=\$ac_optarg ;;
    914 
    915   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    916   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    917   | --exec | --exe | --ex)
    918     ac_prev=exec_prefix ;;
    919   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    920   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    921   | --exec=* | --exe=* | --ex=*)
    922     exec_prefix=$ac_optarg ;;
    923 
    924   -gas | --gas | --ga | --g)
    925     # Obsolete; use --with-gas.
    926     with_gas=yes ;;
    927 
    928   -help | --help | --hel | --he | -h)
    929     ac_init_help=long ;;
    930   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    931     ac_init_help=recursive ;;
    932   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    933     ac_init_help=short ;;
    934 
    935   -host | --host | --hos | --ho)
    936     ac_prev=host_alias ;;
    937   -host=* | --host=* | --hos=* | --ho=*)
    938     host_alias=$ac_optarg ;;
    939 
    940   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    941     ac_prev=htmldir ;;
    942   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    943   | --ht=*)
    944     htmldir=$ac_optarg ;;
    945 
    946   -includedir | --includedir | --includedi | --included | --include \
    947   | --includ | --inclu | --incl | --inc)
    948     ac_prev=includedir ;;
    949   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    950   | --includ=* | --inclu=* | --incl=* | --inc=*)
    951     includedir=$ac_optarg ;;
    952 
    953   -infodir | --infodir | --infodi | --infod | --info | --inf)
    954     ac_prev=infodir ;;
    955   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    956     infodir=$ac_optarg ;;
    957 
    958   -libdir | --libdir | --libdi | --libd)
    959     ac_prev=libdir ;;
    960   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    961     libdir=$ac_optarg ;;
    962 
    963   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    964   | --libexe | --libex | --libe)
    965     ac_prev=libexecdir ;;
    966   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    967   | --libexe=* | --libex=* | --libe=*)
    968     libexecdir=$ac_optarg ;;
    969 
    970   -localedir | --localedir | --localedi | --localed | --locale)
    971     ac_prev=localedir ;;
    972   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    973     localedir=$ac_optarg ;;
    974 
    975   -localstatedir | --localstatedir | --localstatedi | --localstated \
    976   | --localstate | --localstat | --localsta | --localst | --locals)
    977     ac_prev=localstatedir ;;
    978   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    979   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    980     localstatedir=$ac_optarg ;;
    981 
    982   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    983     ac_prev=mandir ;;
    984   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    985     mandir=$ac_optarg ;;
    986 
    987   -nfp | --nfp | --nf)
    988     # Obsolete; use --without-fp.
    989     with_fp=no ;;
    990 
    991   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    992   | --no-cr | --no-c | -n)
    993     no_create=yes ;;
    994 
    995   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    996   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    997     no_recursion=yes ;;
    998 
    999   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1000   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1001   | --oldin | --oldi | --old | --ol | --o)
   1002     ac_prev=oldincludedir ;;
   1003   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1004   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1005   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1006     oldincludedir=$ac_optarg ;;
   1007 
   1008   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1009     ac_prev=prefix ;;
   1010   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1011     prefix=$ac_optarg ;;
   1012 
   1013   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1014   | --program-pre | --program-pr | --program-p)
   1015     ac_prev=program_prefix ;;
   1016   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1017   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1018     program_prefix=$ac_optarg ;;
   1019 
   1020   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1021   | --program-suf | --program-su | --program-s)
   1022     ac_prev=program_suffix ;;
   1023   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1024   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1025     program_suffix=$ac_optarg ;;
   1026 
   1027   -program-transform-name | --program-transform-name \
   1028   | --program-transform-nam | --program-transform-na \
   1029   | --program-transform-n | --program-transform- \
   1030   | --program-transform | --program-transfor \
   1031   | --program-transfo | --program-transf \
   1032   | --program-trans | --program-tran \
   1033   | --progr-tra | --program-tr | --program-t)
   1034     ac_prev=program_transform_name ;;
   1035   -program-transform-name=* | --program-transform-name=* \
   1036   | --program-transform-nam=* | --program-transform-na=* \
   1037   | --program-transform-n=* | --program-transform-=* \
   1038   | --program-transform=* | --program-transfor=* \
   1039   | --program-transfo=* | --program-transf=* \
   1040   | --program-trans=* | --program-tran=* \
   1041   | --progr-tra=* | --program-tr=* | --program-t=*)
   1042     program_transform_name=$ac_optarg ;;
   1043 
   1044   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1045     ac_prev=pdfdir ;;
   1046   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1047     pdfdir=$ac_optarg ;;
   1048 
   1049   -psdir | --psdir | --psdi | --psd | --ps)
   1050     ac_prev=psdir ;;
   1051   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1052     psdir=$ac_optarg ;;
   1053 
   1054   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1055   | -silent | --silent | --silen | --sile | --sil)
   1056     silent=yes ;;
   1057 
   1058   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1059     ac_prev=sbindir ;;
   1060   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1061   | --sbi=* | --sb=*)
   1062     sbindir=$ac_optarg ;;
   1063 
   1064   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1065   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1066   | --sharedst | --shareds | --shared | --share | --shar \
   1067   | --sha | --sh)
   1068     ac_prev=sharedstatedir ;;
   1069   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1070   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1071   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1072   | --sha=* | --sh=*)
   1073     sharedstatedir=$ac_optarg ;;
   1074 
   1075   -site | --site | --sit)
   1076     ac_prev=site ;;
   1077   -site=* | --site=* | --sit=*)
   1078     site=$ac_optarg ;;
   1079 
   1080   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1081     ac_prev=srcdir ;;
   1082   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1083     srcdir=$ac_optarg ;;
   1084 
   1085   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1086   | --syscon | --sysco | --sysc | --sys | --sy)
   1087     ac_prev=sysconfdir ;;
   1088   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1089   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1090     sysconfdir=$ac_optarg ;;
   1091 
   1092   -target | --target | --targe | --targ | --tar | --ta | --t)
   1093     ac_prev=target_alias ;;
   1094   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1095     target_alias=$ac_optarg ;;
   1096 
   1097   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1098     verbose=yes ;;
   1099 
   1100   -version | --version | --versio | --versi | --vers | -V)
   1101     ac_init_version=: ;;
   1102 
   1103   -with-* | --with-*)
   1104     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1105     # Reject names that are not valid shell variable names.
   1106     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1107       as_fn_error $? "invalid package name: $ac_useropt"
   1108     ac_useropt_orig=$ac_useropt
   1109     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1110     case $ac_user_opts in
   1111       *"
   1112 "with_$ac_useropt"
   1113 "*) ;;
   1114       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1115 	 ac_unrecognized_sep=', ';;
   1116     esac
   1117     eval with_$ac_useropt=\$ac_optarg ;;
   1118 
   1119   -without-* | --without-*)
   1120     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1121     # Reject names that are not valid shell variable names.
   1122     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1123       as_fn_error $? "invalid package name: $ac_useropt"
   1124     ac_useropt_orig=$ac_useropt
   1125     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1126     case $ac_user_opts in
   1127       *"
   1128 "with_$ac_useropt"
   1129 "*) ;;
   1130       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1131 	 ac_unrecognized_sep=', ';;
   1132     esac
   1133     eval with_$ac_useropt=no ;;
   1134 
   1135   --x)
   1136     # Obsolete; use --with-x.
   1137     with_x=yes ;;
   1138 
   1139   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1140   | --x-incl | --x-inc | --x-in | --x-i)
   1141     ac_prev=x_includes ;;
   1142   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1143   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1144     x_includes=$ac_optarg ;;
   1145 
   1146   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1147   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1148     ac_prev=x_libraries ;;
   1149   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1150   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1151     x_libraries=$ac_optarg ;;
   1152 
   1153   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1154 Try \`$0 --help' for more information"
   1155     ;;
   1156 
   1157   *=*)
   1158     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1159     # Reject names that are not valid shell variable names.
   1160     case $ac_envvar in #(
   1161       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1162       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1163     esac
   1164     eval $ac_envvar=\$ac_optarg
   1165     export $ac_envvar ;;
   1166 
   1167   *)
   1168     # FIXME: should be removed in autoconf 3.0.
   1169     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1170     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1171       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1172     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1173     ;;
   1174 
   1175   esac
   1176 done
   1177 
   1178 if test -n "$ac_prev"; then
   1179   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1180   as_fn_error $? "missing argument to $ac_option"
   1181 fi
   1182 
   1183 if test -n "$ac_unrecognized_opts"; then
   1184   case $enable_option_checking in
   1185     no) ;;
   1186     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1187     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1188   esac
   1189 fi
   1190 
   1191 # Check all directory arguments for consistency.
   1192 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1193 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1194 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1195 		libdir localedir mandir
   1196 do
   1197   eval ac_val=\$$ac_var
   1198   # Remove trailing slashes.
   1199   case $ac_val in
   1200     */ )
   1201       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1202       eval $ac_var=\$ac_val;;
   1203   esac
   1204   # Be sure to have absolute directory names.
   1205   case $ac_val in
   1206     [\\/$]* | ?:[\\/]* )  continue;;
   1207     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1208   esac
   1209   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1210 done
   1211 
   1212 # There might be people who depend on the old broken behavior: `$host'
   1213 # used to hold the argument of --host etc.
   1214 # FIXME: To remove some day.
   1215 build=$build_alias
   1216 host=$host_alias
   1217 target=$target_alias
   1218 
   1219 # FIXME: To remove some day.
   1220 if test "x$host_alias" != x; then
   1221   if test "x$build_alias" = x; then
   1222     cross_compiling=maybe
   1223   elif test "x$build_alias" != "x$host_alias"; then
   1224     cross_compiling=yes
   1225   fi
   1226 fi
   1227 
   1228 ac_tool_prefix=
   1229 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1230 
   1231 test "$silent" = yes && exec 6>/dev/null
   1232 
   1233 
   1234 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1235 ac_ls_di=`ls -di .` &&
   1236 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1237   as_fn_error $? "working directory cannot be determined"
   1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1239   as_fn_error $? "pwd does not report name of working directory"
   1240 
   1241 
   1242 # Find the source files, if location was not specified.
   1243 if test -z "$srcdir"; then
   1244   ac_srcdir_defaulted=yes
   1245   # Try the directory containing this script, then the parent directory.
   1246   ac_confdir=`$as_dirname -- "$as_myself" ||
   1247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1248 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1249 	 X"$as_myself" : 'X\(//\)$' \| \
   1250 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1251 $as_echo X"$as_myself" |
   1252     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1253 	    s//\1/
   1254 	    q
   1255 	  }
   1256 	  /^X\(\/\/\)[^/].*/{
   1257 	    s//\1/
   1258 	    q
   1259 	  }
   1260 	  /^X\(\/\/\)$/{
   1261 	    s//\1/
   1262 	    q
   1263 	  }
   1264 	  /^X\(\/\).*/{
   1265 	    s//\1/
   1266 	    q
   1267 	  }
   1268 	  s/.*/./; q'`
   1269   srcdir=$ac_confdir
   1270   if test ! -r "$srcdir/$ac_unique_file"; then
   1271     srcdir=..
   1272   fi
   1273 else
   1274   ac_srcdir_defaulted=no
   1275 fi
   1276 if test ! -r "$srcdir/$ac_unique_file"; then
   1277   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1278   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1279 fi
   1280 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1281 ac_abs_confdir=`(
   1282 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1283 	pwd)`
   1284 # When building in place, set srcdir=.
   1285 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1286   srcdir=.
   1287 fi
   1288 # Remove unnecessary trailing slashes from srcdir.
   1289 # Double slashes in file names in object file debugging info
   1290 # mess up M-x gdb in Emacs.
   1291 case $srcdir in
   1292 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1293 esac
   1294 for ac_var in $ac_precious_vars; do
   1295   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1296   eval ac_env_${ac_var}_value=\$${ac_var}
   1297   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1298   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1299 done
   1300 
   1301 #
   1302 # Report the --help message.
   1303 #
   1304 if test "$ac_init_help" = "long"; then
   1305   # Omit some internal or obsolete options to make the list less imposing.
   1306   # This message is too long to be a string in the A/UX 3.1 sh.
   1307   cat <<_ACEOF
   1308 \`configure' configures proxymngr 1.0.4 to adapt to many kinds of systems.
   1309 
   1310 Usage: $0 [OPTION]... [VAR=VALUE]...
   1311 
   1312 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1313 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1314 
   1315 Defaults for the options are specified in brackets.
   1316 
   1317 Configuration:
   1318   -h, --help              display this help and exit
   1319       --help=short        display options specific to this package
   1320       --help=recursive    display the short help of all the included packages
   1321   -V, --version           display version information and exit
   1322   -q, --quiet, --silent   do not print \`checking ...' messages
   1323       --cache-file=FILE   cache test results in FILE [disabled]
   1324   -C, --config-cache      alias for \`--cache-file=config.cache'
   1325   -n, --no-create         do not create output files
   1326       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1327 
   1328 Installation directories:
   1329   --prefix=PREFIX         install architecture-independent files in PREFIX
   1330                           [$ac_default_prefix]
   1331   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1332                           [PREFIX]
   1333 
   1334 By default, \`make install' will install all the files in
   1335 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1336 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1337 for instance \`--prefix=\$HOME'.
   1338 
   1339 For better control, use the options below.
   1340 
   1341 Fine tuning of the installation directories:
   1342   --bindir=DIR            user executables [EPREFIX/bin]
   1343   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1344   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1345   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1346   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1347   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1348   --libdir=DIR            object code libraries [EPREFIX/lib]
   1349   --includedir=DIR        C header files [PREFIX/include]
   1350   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1351   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1352   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1353   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1354   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1355   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1356   --docdir=DIR            documentation root [DATAROOTDIR/doc/proxymngr]
   1357   --htmldir=DIR           html documentation [DOCDIR]
   1358   --dvidir=DIR            dvi documentation [DOCDIR]
   1359   --pdfdir=DIR            pdf documentation [DOCDIR]
   1360   --psdir=DIR             ps documentation [DOCDIR]
   1361 _ACEOF
   1362 
   1363   cat <<\_ACEOF
   1364 
   1365 Program names:
   1366   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1367   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1368   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1369 
   1370 System types:
   1371   --build=BUILD     configure for building on BUILD [guessed]
   1372   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1373 _ACEOF
   1374 fi
   1375 
   1376 if test -n "$ac_init_help"; then
   1377   case $ac_init_help in
   1378      short | recursive ) echo "Configuration of proxymngr 1.0.4:";;
   1379    esac
   1380   cat <<\_ACEOF
   1381 
   1382 Optional Features:
   1383   --disable-option-checking  ignore unrecognized --enable/--with options
   1384   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1385   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1386   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1387   --disable-silent-rules  verbose build output (undo: "make V=0")
   1388   --enable-dependency-tracking
   1389                           do not reject slow dependency extractors
   1390   --disable-dependency-tracking
   1391                           speeds up one-time build
   1392   --disable-selective-werror
   1393                           Turn off selective compiler errors. (default:
   1394                           enabled)
   1395   --enable-strict-compilation
   1396                           Enable all warnings from compiler and make them
   1397                           errors (default: disabled)
   1398   --enable-ipv6           Enable IPv6 support
   1399 
   1400 Some influential environment variables:
   1401   CC          C compiler command
   1402   CFLAGS      C compiler flags
   1403   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1404               nonstandard directory <lib dir>
   1405   LIBS        libraries to pass to the linker, e.g. -l<library>
   1406   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1407               you have headers in a nonstandard directory <include dir>
   1408   CPP         C preprocessor
   1409   PKG_CONFIG  path to pkg-config utility
   1410   PROXYMNGR_CFLAGS
   1411               C compiler flags for PROXYMNGR, overriding pkg-config
   1412   PROXYMNGR_LIBS
   1413               linker flags for PROXYMNGR, overriding pkg-config
   1414 
   1415 Use these variables to override the choices made by `configure' or to help
   1416 it to find libraries and programs with nonstandard names/locations.
   1417 
   1418 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1419 _ACEOF
   1420 ac_status=$?
   1421 fi
   1422 
   1423 if test "$ac_init_help" = "recursive"; then
   1424   # If there are subdirs, report their specific --help.
   1425   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1426     test -d "$ac_dir" ||
   1427       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1428       continue
   1429     ac_builddir=.
   1430 
   1431 case "$ac_dir" in
   1432 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1433 *)
   1434   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1435   # A ".." for each directory in $ac_dir_suffix.
   1436   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1437   case $ac_top_builddir_sub in
   1438   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1439   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1440   esac ;;
   1441 esac
   1442 ac_abs_top_builddir=$ac_pwd
   1443 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1444 # for backward compatibility:
   1445 ac_top_builddir=$ac_top_build_prefix
   1446 
   1447 case $srcdir in
   1448   .)  # We are building in place.
   1449     ac_srcdir=.
   1450     ac_top_srcdir=$ac_top_builddir_sub
   1451     ac_abs_top_srcdir=$ac_pwd ;;
   1452   [\\/]* | ?:[\\/]* )  # Absolute name.
   1453     ac_srcdir=$srcdir$ac_dir_suffix;
   1454     ac_top_srcdir=$srcdir
   1455     ac_abs_top_srcdir=$srcdir ;;
   1456   *) # Relative name.
   1457     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1458     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1459     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1460 esac
   1461 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1462 
   1463     cd "$ac_dir" || { ac_status=$?; continue; }
   1464     # Check for guested configure.
   1465     if test -f "$ac_srcdir/configure.gnu"; then
   1466       echo &&
   1467       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1468     elif test -f "$ac_srcdir/configure"; then
   1469       echo &&
   1470       $SHELL "$ac_srcdir/configure" --help=recursive
   1471     else
   1472       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1473     fi || ac_status=$?
   1474     cd "$ac_pwd" || { ac_status=$?; break; }
   1475   done
   1476 fi
   1477 
   1478 test -n "$ac_init_help" && exit $ac_status
   1479 if $ac_init_version; then
   1480   cat <<\_ACEOF
   1481 proxymngr configure 1.0.4
   1482 generated by GNU Autoconf 2.69
   1483 
   1484 Copyright (C) 2012 Free Software Foundation, Inc.
   1485 This configure script is free software; the Free Software Foundation
   1486 gives unlimited permission to copy, distribute and modify it.
   1487 _ACEOF
   1488   exit
   1489 fi
   1490 
   1491 ## ------------------------ ##
   1492 ## Autoconf initialization. ##
   1493 ## ------------------------ ##
   1494 
   1495 # ac_fn_c_try_compile LINENO
   1496 # --------------------------
   1497 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1498 ac_fn_c_try_compile ()
   1499 {
   1500   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1501   rm -f conftest.$ac_objext
   1502   if { { ac_try="$ac_compile"
   1503 case "(($ac_try" in
   1504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1505   *) ac_try_echo=$ac_try;;
   1506 esac
   1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1508 $as_echo "$ac_try_echo"; } >&5
   1509   (eval "$ac_compile") 2>conftest.err
   1510   ac_status=$?
   1511   if test -s conftest.err; then
   1512     grep -v '^ *+' conftest.err >conftest.er1
   1513     cat conftest.er1 >&5
   1514     mv -f conftest.er1 conftest.err
   1515   fi
   1516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1517   test $ac_status = 0; } && {
   1518 	 test -z "$ac_c_werror_flag" ||
   1519 	 test ! -s conftest.err
   1520        } && test -s conftest.$ac_objext; then :
   1521   ac_retval=0
   1522 else
   1523   $as_echo "$as_me: failed program was:" >&5
   1524 sed 's/^/| /' conftest.$ac_ext >&5
   1525 
   1526 	ac_retval=1
   1527 fi
   1528   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1529   as_fn_set_status $ac_retval
   1530 
   1531 } # ac_fn_c_try_compile
   1532 
   1533 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1534 # ---------------------------------------------
   1535 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1536 # accordingly.
   1537 ac_fn_c_check_decl ()
   1538 {
   1539   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1540   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1541   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1543 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1544 if eval \${$3+:} false; then :
   1545   $as_echo_n "(cached) " >&6
   1546 else
   1547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1548 /* end confdefs.h.  */
   1549 $4
   1550 int
   1551 main ()
   1552 {
   1553 #ifndef $as_decl_name
   1554 #ifdef __cplusplus
   1555   (void) $as_decl_use;
   1556 #else
   1557   (void) $as_decl_name;
   1558 #endif
   1559 #endif
   1560 
   1561   ;
   1562   return 0;
   1563 }
   1564 _ACEOF
   1565 if ac_fn_c_try_compile "$LINENO"; then :
   1566   eval "$3=yes"
   1567 else
   1568   eval "$3=no"
   1569 fi
   1570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1571 fi
   1572 eval ac_res=\$$3
   1573 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1574 $as_echo "$ac_res" >&6; }
   1575   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1576 
   1577 } # ac_fn_c_check_decl
   1578 
   1579 # ac_fn_c_try_cpp LINENO
   1580 # ----------------------
   1581 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1582 ac_fn_c_try_cpp ()
   1583 {
   1584   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1585   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1586 case "(($ac_try" in
   1587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1588   *) ac_try_echo=$ac_try;;
   1589 esac
   1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1591 $as_echo "$ac_try_echo"; } >&5
   1592   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1593   ac_status=$?
   1594   if test -s conftest.err; then
   1595     grep -v '^ *+' conftest.err >conftest.er1
   1596     cat conftest.er1 >&5
   1597     mv -f conftest.er1 conftest.err
   1598   fi
   1599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1600   test $ac_status = 0; } > conftest.i && {
   1601 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1602 	 test ! -s conftest.err
   1603        }; then :
   1604   ac_retval=0
   1605 else
   1606   $as_echo "$as_me: failed program was:" >&5
   1607 sed 's/^/| /' conftest.$ac_ext >&5
   1608 
   1609     ac_retval=1
   1610 fi
   1611   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1612   as_fn_set_status $ac_retval
   1613 
   1614 } # ac_fn_c_try_cpp
   1615 
   1616 # ac_fn_c_try_run LINENO
   1617 # ----------------------
   1618 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1619 # that executables *can* be run.
   1620 ac_fn_c_try_run ()
   1621 {
   1622   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1623   if { { ac_try="$ac_link"
   1624 case "(($ac_try" in
   1625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1626   *) ac_try_echo=$ac_try;;
   1627 esac
   1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1629 $as_echo "$ac_try_echo"; } >&5
   1630   (eval "$ac_link") 2>&5
   1631   ac_status=$?
   1632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1633   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1634   { { case "(($ac_try" in
   1635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1636   *) ac_try_echo=$ac_try;;
   1637 esac
   1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1639 $as_echo "$ac_try_echo"; } >&5
   1640   (eval "$ac_try") 2>&5
   1641   ac_status=$?
   1642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1643   test $ac_status = 0; }; }; then :
   1644   ac_retval=0
   1645 else
   1646   $as_echo "$as_me: program exited with status $ac_status" >&5
   1647        $as_echo "$as_me: failed program was:" >&5
   1648 sed 's/^/| /' conftest.$ac_ext >&5
   1649 
   1650        ac_retval=$ac_status
   1651 fi
   1652   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1653   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1654   as_fn_set_status $ac_retval
   1655 
   1656 } # ac_fn_c_try_run
   1657 
   1658 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1659 # -------------------------------------------------------
   1660 # Tests whether HEADER exists and can be compiled using the include files in
   1661 # INCLUDES, setting the cache variable VAR accordingly.
   1662 ac_fn_c_check_header_compile ()
   1663 {
   1664   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1666 $as_echo_n "checking for $2... " >&6; }
   1667 if eval \${$3+:} false; then :
   1668   $as_echo_n "(cached) " >&6
   1669 else
   1670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1671 /* end confdefs.h.  */
   1672 $4
   1673 #include <$2>
   1674 _ACEOF
   1675 if ac_fn_c_try_compile "$LINENO"; then :
   1676   eval "$3=yes"
   1677 else
   1678   eval "$3=no"
   1679 fi
   1680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1681 fi
   1682 eval ac_res=\$$3
   1683 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1684 $as_echo "$ac_res" >&6; }
   1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1686 
   1687 } # ac_fn_c_check_header_compile
   1688 
   1689 # ac_fn_c_try_link LINENO
   1690 # -----------------------
   1691 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1692 ac_fn_c_try_link ()
   1693 {
   1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1695   rm -f conftest.$ac_objext conftest$ac_exeext
   1696   if { { ac_try="$ac_link"
   1697 case "(($ac_try" in
   1698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1699   *) ac_try_echo=$ac_try;;
   1700 esac
   1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1702 $as_echo "$ac_try_echo"; } >&5
   1703   (eval "$ac_link") 2>conftest.err
   1704   ac_status=$?
   1705   if test -s conftest.err; then
   1706     grep -v '^ *+' conftest.err >conftest.er1
   1707     cat conftest.er1 >&5
   1708     mv -f conftest.er1 conftest.err
   1709   fi
   1710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1711   test $ac_status = 0; } && {
   1712 	 test -z "$ac_c_werror_flag" ||
   1713 	 test ! -s conftest.err
   1714        } && test -s conftest$ac_exeext && {
   1715 	 test "$cross_compiling" = yes ||
   1716 	 test -x conftest$ac_exeext
   1717        }; then :
   1718   ac_retval=0
   1719 else
   1720   $as_echo "$as_me: failed program was:" >&5
   1721 sed 's/^/| /' conftest.$ac_ext >&5
   1722 
   1723 	ac_retval=1
   1724 fi
   1725   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1726   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1727   # interfere with the next link command; also delete a directory that is
   1728   # left behind by Apple's compiler.  We do this before executing the actions.
   1729   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1730   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1731   as_fn_set_status $ac_retval
   1732 
   1733 } # ac_fn_c_try_link
   1734 
   1735 # ac_fn_c_check_func LINENO FUNC VAR
   1736 # ----------------------------------
   1737 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1738 ac_fn_c_check_func ()
   1739 {
   1740   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1742 $as_echo_n "checking for $2... " >&6; }
   1743 if eval \${$3+:} false; then :
   1744   $as_echo_n "(cached) " >&6
   1745 else
   1746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1747 /* end confdefs.h.  */
   1748 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1750 #define $2 innocuous_$2
   1751 
   1752 /* System header to define __stub macros and hopefully few prototypes,
   1753     which can conflict with char $2 (); below.
   1754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1755     <limits.h> exists even on freestanding compilers.  */
   1756 
   1757 #ifdef __STDC__
   1758 # include <limits.h>
   1759 #else
   1760 # include <assert.h>
   1761 #endif
   1762 
   1763 #undef $2
   1764 
   1765 /* Override any GCC internal prototype to avoid an error.
   1766    Use char because int might match the return type of a GCC
   1767    builtin and then its argument prototype would still apply.  */
   1768 #ifdef __cplusplus
   1769 extern "C"
   1770 #endif
   1771 char $2 ();
   1772 /* The GNU C library defines this for functions which it implements
   1773     to always fail with ENOSYS.  Some functions are actually named
   1774     something starting with __ and the normal name is an alias.  */
   1775 #if defined __stub_$2 || defined __stub___$2
   1776 choke me
   1777 #endif
   1778 
   1779 int
   1780 main ()
   1781 {
   1782 return $2 ();
   1783   ;
   1784   return 0;
   1785 }
   1786 _ACEOF
   1787 if ac_fn_c_try_link "$LINENO"; then :
   1788   eval "$3=yes"
   1789 else
   1790   eval "$3=no"
   1791 fi
   1792 rm -f core conftest.err conftest.$ac_objext \
   1793     conftest$ac_exeext conftest.$ac_ext
   1794 fi
   1795 eval ac_res=\$$3
   1796 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1797 $as_echo "$ac_res" >&6; }
   1798   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1799 
   1800 } # ac_fn_c_check_func
   1801 
   1802 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1803 # ----------------------------------------------------
   1804 # Tries to find if the field MEMBER exists in type AGGR, after including
   1805 # INCLUDES, setting cache variable VAR accordingly.
   1806 ac_fn_c_check_member ()
   1807 {
   1808   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1810 $as_echo_n "checking for $2.$3... " >&6; }
   1811 if eval \${$4+:} false; then :
   1812   $as_echo_n "(cached) " >&6
   1813 else
   1814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1815 /* end confdefs.h.  */
   1816 $5
   1817 int
   1818 main ()
   1819 {
   1820 static $2 ac_aggr;
   1821 if (ac_aggr.$3)
   1822 return 0;
   1823   ;
   1824   return 0;
   1825 }
   1826 _ACEOF
   1827 if ac_fn_c_try_compile "$LINENO"; then :
   1828   eval "$4=yes"
   1829 else
   1830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1831 /* end confdefs.h.  */
   1832 $5
   1833 int
   1834 main ()
   1835 {
   1836 static $2 ac_aggr;
   1837 if (sizeof ac_aggr.$3)
   1838 return 0;
   1839   ;
   1840   return 0;
   1841 }
   1842 _ACEOF
   1843 if ac_fn_c_try_compile "$LINENO"; then :
   1844   eval "$4=yes"
   1845 else
   1846   eval "$4=no"
   1847 fi
   1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1849 fi
   1850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1851 fi
   1852 eval ac_res=\$$4
   1853 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1854 $as_echo "$ac_res" >&6; }
   1855   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1856 
   1857 } # ac_fn_c_check_member
   1858 
   1859 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1860 # -------------------------------------------
   1861 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1862 # variable VAR accordingly.
   1863 ac_fn_c_check_type ()
   1864 {
   1865   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1867 $as_echo_n "checking for $2... " >&6; }
   1868 if eval \${$3+:} false; then :
   1869   $as_echo_n "(cached) " >&6
   1870 else
   1871   eval "$3=no"
   1872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1873 /* end confdefs.h.  */
   1874 $4
   1875 int
   1876 main ()
   1877 {
   1878 if (sizeof ($2))
   1879 	 return 0;
   1880   ;
   1881   return 0;
   1882 }
   1883 _ACEOF
   1884 if ac_fn_c_try_compile "$LINENO"; then :
   1885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1886 /* end confdefs.h.  */
   1887 $4
   1888 int
   1889 main ()
   1890 {
   1891 if (sizeof (($2)))
   1892 	    return 0;
   1893   ;
   1894   return 0;
   1895 }
   1896 _ACEOF
   1897 if ac_fn_c_try_compile "$LINENO"; then :
   1898 
   1899 else
   1900   eval "$3=yes"
   1901 fi
   1902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1903 fi
   1904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1905 fi
   1906 eval ac_res=\$$3
   1907 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1908 $as_echo "$ac_res" >&6; }
   1909   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1910 
   1911 } # ac_fn_c_check_type
   1912 cat >config.log <<_ACEOF
   1913 This file contains any messages produced by compilers while
   1914 running configure, to aid debugging if configure makes a mistake.
   1915 
   1916 It was created by proxymngr $as_me 1.0.4, which was
   1917 generated by GNU Autoconf 2.69.  Invocation command line was
   1918 
   1919   $ $0 $@
   1920 
   1921 _ACEOF
   1922 exec 5>>config.log
   1923 {
   1924 cat <<_ASUNAME
   1925 ## --------- ##
   1926 ## Platform. ##
   1927 ## --------- ##
   1928 
   1929 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1930 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1931 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1932 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1933 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1934 
   1935 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1936 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1937 
   1938 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1939 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1940 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1941 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1942 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1943 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1944 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1945 
   1946 _ASUNAME
   1947 
   1948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1949 for as_dir in $PATH
   1950 do
   1951   IFS=$as_save_IFS
   1952   test -z "$as_dir" && as_dir=.
   1953     $as_echo "PATH: $as_dir"
   1954   done
   1955 IFS=$as_save_IFS
   1956 
   1957 } >&5
   1958 
   1959 cat >&5 <<_ACEOF
   1960 
   1961 
   1962 ## ----------- ##
   1963 ## Core tests. ##
   1964 ## ----------- ##
   1965 
   1966 _ACEOF
   1967 
   1968 
   1969 # Keep a trace of the command line.
   1970 # Strip out --no-create and --no-recursion so they do not pile up.
   1971 # Strip out --silent because we don't want to record it for future runs.
   1972 # Also quote any args containing shell meta-characters.
   1973 # Make two passes to allow for proper duplicate-argument suppression.
   1974 ac_configure_args=
   1975 ac_configure_args0=
   1976 ac_configure_args1=
   1977 ac_must_keep_next=false
   1978 for ac_pass in 1 2
   1979 do
   1980   for ac_arg
   1981   do
   1982     case $ac_arg in
   1983     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1984     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1985     | -silent | --silent | --silen | --sile | --sil)
   1986       continue ;;
   1987     *\'*)
   1988       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1989     esac
   1990     case $ac_pass in
   1991     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1992     2)
   1993       as_fn_append ac_configure_args1 " '$ac_arg'"
   1994       if test $ac_must_keep_next = true; then
   1995 	ac_must_keep_next=false # Got value, back to normal.
   1996       else
   1997 	case $ac_arg in
   1998 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1999 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2000 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2001 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2002 	    case "$ac_configure_args0 " in
   2003 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2004 	    esac
   2005 	    ;;
   2006 	  -* ) ac_must_keep_next=true ;;
   2007 	esac
   2008       fi
   2009       as_fn_append ac_configure_args " '$ac_arg'"
   2010       ;;
   2011     esac
   2012   done
   2013 done
   2014 { ac_configure_args0=; unset ac_configure_args0;}
   2015 { ac_configure_args1=; unset ac_configure_args1;}
   2016 
   2017 # When interrupted or exit'd, cleanup temporary files, and complete
   2018 # config.log.  We remove comments because anyway the quotes in there
   2019 # would cause problems or look ugly.
   2020 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2021 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2022 trap 'exit_status=$?
   2023   # Save into config.log some information that might help in debugging.
   2024   {
   2025     echo
   2026 
   2027     $as_echo "## ---------------- ##
   2028 ## Cache variables. ##
   2029 ## ---------------- ##"
   2030     echo
   2031     # The following way of writing the cache mishandles newlines in values,
   2032 (
   2033   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2034     eval ac_val=\$$ac_var
   2035     case $ac_val in #(
   2036     *${as_nl}*)
   2037       case $ac_var in #(
   2038       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2039 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2040       esac
   2041       case $ac_var in #(
   2042       _ | IFS | as_nl) ;; #(
   2043       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2044       *) { eval $ac_var=; unset $ac_var;} ;;
   2045       esac ;;
   2046     esac
   2047   done
   2048   (set) 2>&1 |
   2049     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2050     *${as_nl}ac_space=\ *)
   2051       sed -n \
   2052 	"s/'\''/'\''\\\\'\'''\''/g;
   2053 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2054       ;; #(
   2055     *)
   2056       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2057       ;;
   2058     esac |
   2059     sort
   2060 )
   2061     echo
   2062 
   2063     $as_echo "## ----------------- ##
   2064 ## Output variables. ##
   2065 ## ----------------- ##"
   2066     echo
   2067     for ac_var in $ac_subst_vars
   2068     do
   2069       eval ac_val=\$$ac_var
   2070       case $ac_val in
   2071       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2072       esac
   2073       $as_echo "$ac_var='\''$ac_val'\''"
   2074     done | sort
   2075     echo
   2076 
   2077     if test -n "$ac_subst_files"; then
   2078       $as_echo "## ------------------- ##
   2079 ## File substitutions. ##
   2080 ## ------------------- ##"
   2081       echo
   2082       for ac_var in $ac_subst_files
   2083       do
   2084 	eval ac_val=\$$ac_var
   2085 	case $ac_val in
   2086 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2087 	esac
   2088 	$as_echo "$ac_var='\''$ac_val'\''"
   2089       done | sort
   2090       echo
   2091     fi
   2092 
   2093     if test -s confdefs.h; then
   2094       $as_echo "## ----------- ##
   2095 ## confdefs.h. ##
   2096 ## ----------- ##"
   2097       echo
   2098       cat confdefs.h
   2099       echo
   2100     fi
   2101     test "$ac_signal" != 0 &&
   2102       $as_echo "$as_me: caught signal $ac_signal"
   2103     $as_echo "$as_me: exit $exit_status"
   2104   } >&5
   2105   rm -f core *.core core.conftest.* &&
   2106     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2107     exit $exit_status
   2108 ' 0
   2109 for ac_signal in 1 2 13 15; do
   2110   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2111 done
   2112 ac_signal=0
   2113 
   2114 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2115 rm -f -r conftest* confdefs.h
   2116 
   2117 $as_echo "/* confdefs.h */" > confdefs.h
   2118 
   2119 # Predefined preprocessor variables.
   2120 
   2121 cat >>confdefs.h <<_ACEOF
   2122 #define PACKAGE_NAME "$PACKAGE_NAME"
   2123 _ACEOF
   2124 
   2125 cat >>confdefs.h <<_ACEOF
   2126 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2127 _ACEOF
   2128 
   2129 cat >>confdefs.h <<_ACEOF
   2130 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2131 _ACEOF
   2132 
   2133 cat >>confdefs.h <<_ACEOF
   2134 #define PACKAGE_STRING "$PACKAGE_STRING"
   2135 _ACEOF
   2136 
   2137 cat >>confdefs.h <<_ACEOF
   2138 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2139 _ACEOF
   2140 
   2141 cat >>confdefs.h <<_ACEOF
   2142 #define PACKAGE_URL "$PACKAGE_URL"
   2143 _ACEOF
   2144 
   2145 
   2146 # Let the site file select an alternate cache file if it wants to.
   2147 # Prefer an explicitly selected file to automatically selected ones.
   2148 ac_site_file1=NONE
   2149 ac_site_file2=NONE
   2150 if test -n "$CONFIG_SITE"; then
   2151   # We do not want a PATH search for config.site.
   2152   case $CONFIG_SITE in #((
   2153     -*)  ac_site_file1=./$CONFIG_SITE;;
   2154     */*) ac_site_file1=$CONFIG_SITE;;
   2155     *)   ac_site_file1=./$CONFIG_SITE;;
   2156   esac
   2157 elif test "x$prefix" != xNONE; then
   2158   ac_site_file1=$prefix/share/config.site
   2159   ac_site_file2=$prefix/etc/config.site
   2160 else
   2161   ac_site_file1=$ac_default_prefix/share/config.site
   2162   ac_site_file2=$ac_default_prefix/etc/config.site
   2163 fi
   2164 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2165 do
   2166   test "x$ac_site_file" = xNONE && continue
   2167   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2168     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2169 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2170     sed 's/^/| /' "$ac_site_file" >&5
   2171     . "$ac_site_file" \
   2172       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2174 as_fn_error $? "failed to load site script $ac_site_file
   2175 See \`config.log' for more details" "$LINENO" 5; }
   2176   fi
   2177 done
   2178 
   2179 if test -r "$cache_file"; then
   2180   # Some versions of bash will fail to source /dev/null (special files
   2181   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2182   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2183     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2184 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2185     case $cache_file in
   2186       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2187       *)                      . "./$cache_file";;
   2188     esac
   2189   fi
   2190 else
   2191   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2192 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2193   >$cache_file
   2194 fi
   2195 
   2196 # Check that the precious variables saved in the cache have kept the same
   2197 # value.
   2198 ac_cache_corrupted=false
   2199 for ac_var in $ac_precious_vars; do
   2200   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2201   eval ac_new_set=\$ac_env_${ac_var}_set
   2202   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2203   eval ac_new_val=\$ac_env_${ac_var}_value
   2204   case $ac_old_set,$ac_new_set in
   2205     set,)
   2206       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2207 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2208       ac_cache_corrupted=: ;;
   2209     ,set)
   2210       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2211 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2212       ac_cache_corrupted=: ;;
   2213     ,);;
   2214     *)
   2215       if test "x$ac_old_val" != "x$ac_new_val"; then
   2216 	# differences in whitespace do not lead to failure.
   2217 	ac_old_val_w=`echo x $ac_old_val`
   2218 	ac_new_val_w=`echo x $ac_new_val`
   2219 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2220 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2221 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2222 	  ac_cache_corrupted=:
   2223 	else
   2224 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2225 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2226 	  eval $ac_var=\$ac_old_val
   2227 	fi
   2228 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2229 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2230 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2231 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2232       fi;;
   2233   esac
   2234   # Pass precious variables to config.status.
   2235   if test "$ac_new_set" = set; then
   2236     case $ac_new_val in
   2237     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2238     *) ac_arg=$ac_var=$ac_new_val ;;
   2239     esac
   2240     case " $ac_configure_args " in
   2241       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2242       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2243     esac
   2244   fi
   2245 done
   2246 if $ac_cache_corrupted; then
   2247   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2249   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2250 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2251   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2252 fi
   2253 ## -------------------- ##
   2254 ## Main body of script. ##
   2255 ## -------------------- ##
   2256 
   2257 ac_ext=c
   2258 ac_cpp='$CPP $CPPFLAGS'
   2259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2262 
   2263 
   2264 
   2265 # The program itself has a header called config.h so
   2266 # we have to choose a different name
   2267 ac_config_headers="$ac_config_headers xconfig.h"
   2268 
   2269 
   2270 # Initialize Automake
   2271 am__api_version='1.15'
   2272 
   2273 ac_aux_dir=
   2274 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2275   if test -f "$ac_dir/install-sh"; then
   2276     ac_aux_dir=$ac_dir
   2277     ac_install_sh="$ac_aux_dir/install-sh -c"
   2278     break
   2279   elif test -f "$ac_dir/install.sh"; then
   2280     ac_aux_dir=$ac_dir
   2281     ac_install_sh="$ac_aux_dir/install.sh -c"
   2282     break
   2283   elif test -f "$ac_dir/shtool"; then
   2284     ac_aux_dir=$ac_dir
   2285     ac_install_sh="$ac_aux_dir/shtool install -c"
   2286     break
   2287   fi
   2288 done
   2289 if test -z "$ac_aux_dir"; then
   2290   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2291 fi
   2292 
   2293 # These three variables are undocumented and unsupported,
   2294 # and are intended to be withdrawn in a future Autoconf release.
   2295 # They can cause serious problems if a builder's source tree is in a directory
   2296 # whose full name contains unusual characters.
   2297 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2298 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2299 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2300 
   2301 
   2302 # Find a good install program.  We prefer a C program (faster),
   2303 # so one script is as good as another.  But avoid the broken or
   2304 # incompatible versions:
   2305 # SysV /etc/install, /usr/sbin/install
   2306 # SunOS /usr/etc/install
   2307 # IRIX /sbin/install
   2308 # AIX /bin/install
   2309 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2310 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2311 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2312 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2313 # OS/2's system install, which has a completely different semantic
   2314 # ./install, which can be erroneously created by make from ./install.sh.
   2315 # Reject install programs that cannot install multiple files.
   2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2317 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2318 if test -z "$INSTALL"; then
   2319 if ${ac_cv_path_install+:} false; then :
   2320   $as_echo_n "(cached) " >&6
   2321 else
   2322   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2323 for as_dir in $PATH
   2324 do
   2325   IFS=$as_save_IFS
   2326   test -z "$as_dir" && as_dir=.
   2327     # Account for people who put trailing slashes in PATH elements.
   2328 case $as_dir/ in #((
   2329   ./ | .// | /[cC]/* | \
   2330   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2331   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2332   /usr/ucb/* ) ;;
   2333   *)
   2334     # OSF1 and SCO ODT 3.0 have their own names for install.
   2335     # Don't use installbsd from OSF since it installs stuff as root
   2336     # by default.
   2337     for ac_prog in ginstall scoinst install; do
   2338       for ac_exec_ext in '' $ac_executable_extensions; do
   2339 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2340 	  if test $ac_prog = install &&
   2341 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2342 	    # AIX install.  It has an incompatible calling convention.
   2343 	    :
   2344 	  elif test $ac_prog = install &&
   2345 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2346 	    # program-specific install script used by HP pwplus--don't use.
   2347 	    :
   2348 	  else
   2349 	    rm -rf conftest.one conftest.two conftest.dir
   2350 	    echo one > conftest.one
   2351 	    echo two > conftest.two
   2352 	    mkdir conftest.dir
   2353 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2354 	      test -s conftest.one && test -s conftest.two &&
   2355 	      test -s conftest.dir/conftest.one &&
   2356 	      test -s conftest.dir/conftest.two
   2357 	    then
   2358 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2359 	      break 3
   2360 	    fi
   2361 	  fi
   2362 	fi
   2363       done
   2364     done
   2365     ;;
   2366 esac
   2367 
   2368   done
   2369 IFS=$as_save_IFS
   2370 
   2371 rm -rf conftest.one conftest.two conftest.dir
   2372 
   2373 fi
   2374   if test "${ac_cv_path_install+set}" = set; then
   2375     INSTALL=$ac_cv_path_install
   2376   else
   2377     # As a last resort, use the slow shell script.  Don't cache a
   2378     # value for INSTALL within a source directory, because that will
   2379     # break other packages using the cache if that directory is
   2380     # removed, or if the value is a relative name.
   2381     INSTALL=$ac_install_sh
   2382   fi
   2383 fi
   2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2385 $as_echo "$INSTALL" >&6; }
   2386 
   2387 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2388 # It thinks the first close brace ends the variable substitution.
   2389 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2390 
   2391 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2392 
   2393 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2394 
   2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2396 $as_echo_n "checking whether build environment is sane... " >&6; }
   2397 # Reject unsafe characters in $srcdir or the absolute working directory
   2398 # name.  Accept space and tab only in the latter.
   2399 am_lf='
   2400 '
   2401 case `pwd` in
   2402   *[\\\"\#\$\&\'\`$am_lf]*)
   2403     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2404 esac
   2405 case $srcdir in
   2406   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2407     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2408 esac
   2409 
   2410 # Do 'set' in a subshell so we don't clobber the current shell's
   2411 # arguments.  Must try -L first in case configure is actually a
   2412 # symlink; some systems play weird games with the mod time of symlinks
   2413 # (eg FreeBSD returns the mod time of the symlink's containing
   2414 # directory).
   2415 if (
   2416    am_has_slept=no
   2417    for am_try in 1 2; do
   2418      echo "timestamp, slept: $am_has_slept" > conftest.file
   2419      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2420      if test "$*" = "X"; then
   2421 	# -L didn't work.
   2422 	set X `ls -t "$srcdir/configure" conftest.file`
   2423      fi
   2424      if test "$*" != "X $srcdir/configure conftest.file" \
   2425 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2426 
   2427 	# If neither matched, then we have a broken ls.  This can happen
   2428 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2429 	# broken ls alias from the environment.  This has actually
   2430 	# happened.  Such a system could not be considered "sane".
   2431 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2432   alias in your environment" "$LINENO" 5
   2433      fi
   2434      if test "$2" = conftest.file || test $am_try -eq 2; then
   2435        break
   2436      fi
   2437      # Just in case.
   2438      sleep 1
   2439      am_has_slept=yes
   2440    done
   2441    test "$2" = conftest.file
   2442    )
   2443 then
   2444    # Ok.
   2445    :
   2446 else
   2447    as_fn_error $? "newly created file is older than distributed files!
   2448 Check your system clock" "$LINENO" 5
   2449 fi
   2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2451 $as_echo "yes" >&6; }
   2452 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2453 # generated files are strictly newer.
   2454 am_sleep_pid=
   2455 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2456   ( sleep 1 ) &
   2457   am_sleep_pid=$!
   2458 fi
   2459 
   2460 rm -f conftest.file
   2461 
   2462 test "$program_prefix" != NONE &&
   2463   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2464 # Use a double $ so make ignores it.
   2465 test "$program_suffix" != NONE &&
   2466   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2467 # Double any \ or $.
   2468 # By default was `s,x,x', remove it if useless.
   2469 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2470 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2471 
   2472 # Expand $ac_aux_dir to an absolute path.
   2473 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2474 
   2475 if test x"${MISSING+set}" != xset; then
   2476   case $am_aux_dir in
   2477   *\ * | *\	*)
   2478     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2479   *)
   2480     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2481   esac
   2482 fi
   2483 # Use eval to expand $SHELL
   2484 if eval "$MISSING --is-lightweight"; then
   2485   am_missing_run="$MISSING "
   2486 else
   2487   am_missing_run=
   2488   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2489 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2490 fi
   2491 
   2492 if test x"${install_sh+set}" != xset; then
   2493   case $am_aux_dir in
   2494   *\ * | *\	*)
   2495     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2496   *)
   2497     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2498   esac
   2499 fi
   2500 
   2501 # Installed binaries are usually stripped using 'strip' when the user
   2502 # run "make install-strip".  However 'strip' might not be the right
   2503 # tool to use in cross-compilation environments, therefore Automake
   2504 # will honor the 'STRIP' environment variable to overrule this program.
   2505 if test "$cross_compiling" != no; then
   2506   if test -n "$ac_tool_prefix"; then
   2507   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2508 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2510 $as_echo_n "checking for $ac_word... " >&6; }
   2511 if ${ac_cv_prog_STRIP+:} false; then :
   2512   $as_echo_n "(cached) " >&6
   2513 else
   2514   if test -n "$STRIP"; then
   2515   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2516 else
   2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2518 for as_dir in $PATH
   2519 do
   2520   IFS=$as_save_IFS
   2521   test -z "$as_dir" && as_dir=.
   2522     for ac_exec_ext in '' $ac_executable_extensions; do
   2523   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2524     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2526     break 2
   2527   fi
   2528 done
   2529   done
   2530 IFS=$as_save_IFS
   2531 
   2532 fi
   2533 fi
   2534 STRIP=$ac_cv_prog_STRIP
   2535 if test -n "$STRIP"; then
   2536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2537 $as_echo "$STRIP" >&6; }
   2538 else
   2539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2540 $as_echo "no" >&6; }
   2541 fi
   2542 
   2543 
   2544 fi
   2545 if test -z "$ac_cv_prog_STRIP"; then
   2546   ac_ct_STRIP=$STRIP
   2547   # Extract the first word of "strip", so it can be a program name with args.
   2548 set dummy strip; ac_word=$2
   2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2550 $as_echo_n "checking for $ac_word... " >&6; }
   2551 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2552   $as_echo_n "(cached) " >&6
   2553 else
   2554   if test -n "$ac_ct_STRIP"; then
   2555   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2556 else
   2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2558 for as_dir in $PATH
   2559 do
   2560   IFS=$as_save_IFS
   2561   test -z "$as_dir" && as_dir=.
   2562     for ac_exec_ext in '' $ac_executable_extensions; do
   2563   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2564     ac_cv_prog_ac_ct_STRIP="strip"
   2565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2566     break 2
   2567   fi
   2568 done
   2569   done
   2570 IFS=$as_save_IFS
   2571 
   2572 fi
   2573 fi
   2574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2575 if test -n "$ac_ct_STRIP"; then
   2576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2577 $as_echo "$ac_ct_STRIP" >&6; }
   2578 else
   2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2580 $as_echo "no" >&6; }
   2581 fi
   2582 
   2583   if test "x$ac_ct_STRIP" = x; then
   2584     STRIP=":"
   2585   else
   2586     case $cross_compiling:$ac_tool_warned in
   2587 yes:)
   2588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2590 ac_tool_warned=yes ;;
   2591 esac
   2592     STRIP=$ac_ct_STRIP
   2593   fi
   2594 else
   2595   STRIP="$ac_cv_prog_STRIP"
   2596 fi
   2597 
   2598 fi
   2599 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2600 
   2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2602 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2603 if test -z "$MKDIR_P"; then
   2604   if ${ac_cv_path_mkdir+:} false; then :
   2605   $as_echo_n "(cached) " >&6
   2606 else
   2607   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2608 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2609 do
   2610   IFS=$as_save_IFS
   2611   test -z "$as_dir" && as_dir=.
   2612     for ac_prog in mkdir gmkdir; do
   2613 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2614 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2615 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2616 	     'mkdir (GNU coreutils) '* | \
   2617 	     'mkdir (coreutils) '* | \
   2618 	     'mkdir (fileutils) '4.1*)
   2619 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2620 	       break 3;;
   2621 	   esac
   2622 	 done
   2623        done
   2624   done
   2625 IFS=$as_save_IFS
   2626 
   2627 fi
   2628 
   2629   test -d ./--version && rmdir ./--version
   2630   if test "${ac_cv_path_mkdir+set}" = set; then
   2631     MKDIR_P="$ac_cv_path_mkdir -p"
   2632   else
   2633     # As a last resort, use the slow shell script.  Don't cache a
   2634     # value for MKDIR_P within a source directory, because that will
   2635     # break other packages using the cache if that directory is
   2636     # removed, or if the value is a relative name.
   2637     MKDIR_P="$ac_install_sh -d"
   2638   fi
   2639 fi
   2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2641 $as_echo "$MKDIR_P" >&6; }
   2642 
   2643 for ac_prog in gawk mawk nawk awk
   2644 do
   2645   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2646 set dummy $ac_prog; ac_word=$2
   2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2648 $as_echo_n "checking for $ac_word... " >&6; }
   2649 if ${ac_cv_prog_AWK+:} false; then :
   2650   $as_echo_n "(cached) " >&6
   2651 else
   2652   if test -n "$AWK"; then
   2653   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2654 else
   2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2656 for as_dir in $PATH
   2657 do
   2658   IFS=$as_save_IFS
   2659   test -z "$as_dir" && as_dir=.
   2660     for ac_exec_ext in '' $ac_executable_extensions; do
   2661   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2662     ac_cv_prog_AWK="$ac_prog"
   2663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2664     break 2
   2665   fi
   2666 done
   2667   done
   2668 IFS=$as_save_IFS
   2669 
   2670 fi
   2671 fi
   2672 AWK=$ac_cv_prog_AWK
   2673 if test -n "$AWK"; then
   2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2675 $as_echo "$AWK" >&6; }
   2676 else
   2677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2678 $as_echo "no" >&6; }
   2679 fi
   2680 
   2681 
   2682   test -n "$AWK" && break
   2683 done
   2684 
   2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2686 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2687 set x ${MAKE-make}
   2688 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2689 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2690   $as_echo_n "(cached) " >&6
   2691 else
   2692   cat >conftest.make <<\_ACEOF
   2693 SHELL = /bin/sh
   2694 all:
   2695 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2696 _ACEOF
   2697 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2698 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2699   *@@@%%%=?*=@@@%%%*)
   2700     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2701   *)
   2702     eval ac_cv_prog_make_${ac_make}_set=no;;
   2703 esac
   2704 rm -f conftest.make
   2705 fi
   2706 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2708 $as_echo "yes" >&6; }
   2709   SET_MAKE=
   2710 else
   2711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2712 $as_echo "no" >&6; }
   2713   SET_MAKE="MAKE=${MAKE-make}"
   2714 fi
   2715 
   2716 rm -rf .tst 2>/dev/null
   2717 mkdir .tst 2>/dev/null
   2718 if test -d .tst; then
   2719   am__leading_dot=.
   2720 else
   2721   am__leading_dot=_
   2722 fi
   2723 rmdir .tst 2>/dev/null
   2724 
   2725 # Check whether --enable-silent-rules was given.
   2726 if test "${enable_silent_rules+set}" = set; then :
   2727   enableval=$enable_silent_rules;
   2728 fi
   2729 
   2730 case $enable_silent_rules in # (((
   2731   yes) AM_DEFAULT_VERBOSITY=0;;
   2732    no) AM_DEFAULT_VERBOSITY=1;;
   2733     *) AM_DEFAULT_VERBOSITY=1;;
   2734 esac
   2735 am_make=${MAKE-make}
   2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2737 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2738 if ${am_cv_make_support_nested_variables+:} false; then :
   2739   $as_echo_n "(cached) " >&6
   2740 else
   2741   if $as_echo 'TRUE=$(BAR$(V))
   2742 BAR0=false
   2743 BAR1=true
   2744 V=1
   2745 am__doit:
   2746 	@$(TRUE)
   2747 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2748   am_cv_make_support_nested_variables=yes
   2749 else
   2750   am_cv_make_support_nested_variables=no
   2751 fi
   2752 fi
   2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2754 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2755 if test $am_cv_make_support_nested_variables = yes; then
   2756     AM_V='$(V)'
   2757   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2758 else
   2759   AM_V=$AM_DEFAULT_VERBOSITY
   2760   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2761 fi
   2762 AM_BACKSLASH='\'
   2763 
   2764 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2765   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2766   # is not polluted with repeated "-I."
   2767   am__isrc=' -I$(srcdir)'
   2768   # test to see if srcdir already configured
   2769   if test -f $srcdir/config.status; then
   2770     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2771   fi
   2772 fi
   2773 
   2774 # test whether we have cygpath
   2775 if test -z "$CYGPATH_W"; then
   2776   if (cygpath --version) >/dev/null 2>/dev/null; then
   2777     CYGPATH_W='cygpath -w'
   2778   else
   2779     CYGPATH_W=echo
   2780   fi
   2781 fi
   2782 
   2783 
   2784 # Define the identity of the package.
   2785  PACKAGE='proxymngr'
   2786  VERSION='1.0.4'
   2787 
   2788 
   2789 cat >>confdefs.h <<_ACEOF
   2790 #define PACKAGE "$PACKAGE"
   2791 _ACEOF
   2792 
   2793 
   2794 cat >>confdefs.h <<_ACEOF
   2795 #define VERSION "$VERSION"
   2796 _ACEOF
   2797 
   2798 # Some tools Automake needs.
   2799 
   2800 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2801 
   2802 
   2803 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2804 
   2805 
   2806 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2807 
   2808 
   2809 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2810 
   2811 
   2812 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2813 
   2814 # For better backward compatibility.  To be removed once Automake 1.9.x
   2815 # dies out for good.  For more background, see:
   2816 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2817 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2818 mkdir_p='$(MKDIR_P)'
   2819 
   2820 # We need awk for the "check" target (and possibly the TAP driver).  The
   2821 # system "awk" is bad on some platforms.
   2822 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2823 # in the wild :-(  We should find a proper way to deprecate it ...
   2824 AMTAR='$${TAR-tar}'
   2825 
   2826 
   2827 # We'll loop over all known methods to create a tar archive until one works.
   2828 _am_tools='gnutar  pax cpio none'
   2829 
   2830 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2831 
   2832 
   2833 
   2834 
   2835 
   2836 
   2837 # POSIX will say in a future version that running "rm -f" with no argument
   2838 # is OK; and we want to be able to make that assumption in our Makefile
   2839 # recipes.  So use an aggressive probe to check that the usage we want is
   2840 # actually supported "in the wild" to an acceptable degree.
   2841 # See automake bug#10828.
   2842 # To make any issue more visible, cause the running configure to be aborted
   2843 # by default if the 'rm' program in use doesn't match our expectations; the
   2844 # user can still override this though.
   2845 if rm -f && rm -fr && rm -rf; then : OK; else
   2846   cat >&2 <<'END'
   2847 Oops!
   2848 
   2849 Your 'rm' program seems unable to run without file operands specified
   2850 on the command line, even when the '-f' option is present.  This is contrary
   2851 to the behaviour of most rm programs out there, and not conforming with
   2852 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2853 
   2854 Please tell bug-automake@gnu.org about your system, including the value
   2855 of your $PATH and any error possibly output before this message.  This
   2856 can help us improve future automake versions.
   2857 
   2858 END
   2859   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2860     echo 'Configuration will proceed anyway, since you have set the' >&2
   2861     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2862     echo >&2
   2863   else
   2864     cat >&2 <<'END'
   2865 Aborting the configuration process, to ensure you take notice of the issue.
   2866 
   2867 You can download and install GNU coreutils to get an 'rm' implementation
   2868 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2869 
   2870 If you want to complete the configuration process using your problematic
   2871 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2872 to "yes", and re-run configure.
   2873 
   2874 END
   2875     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2876   fi
   2877 fi
   2878 
   2879 
   2880 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2881 
   2882 
   2883 
   2884 
   2885 
   2886 
   2887 
   2888 
   2889 
   2890 
   2891 
   2892 DEPDIR="${am__leading_dot}deps"
   2893 
   2894 ac_config_commands="$ac_config_commands depfiles"
   2895 
   2896 
   2897 am_make=${MAKE-make}
   2898 cat > confinc << 'END'
   2899 am__doit:
   2900 	@echo this is the am__doit target
   2901 .PHONY: am__doit
   2902 END
   2903 # If we don't find an include directive, just comment out the code.
   2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2905 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2906 am__include="#"
   2907 am__quote=
   2908 _am_result=none
   2909 # First try GNU make style include.
   2910 echo "include confinc" > confmf
   2911 # Ignore all kinds of additional output from 'make'.
   2912 case `$am_make -s -f confmf 2> /dev/null` in #(
   2913 *the\ am__doit\ target*)
   2914   am__include=include
   2915   am__quote=
   2916   _am_result=GNU
   2917   ;;
   2918 esac
   2919 # Now try BSD make style include.
   2920 if test "$am__include" = "#"; then
   2921    echo '.include "confinc"' > confmf
   2922    case `$am_make -s -f confmf 2> /dev/null` in #(
   2923    *the\ am__doit\ target*)
   2924      am__include=.include
   2925      am__quote="\""
   2926      _am_result=BSD
   2927      ;;
   2928    esac
   2929 fi
   2930 
   2931 
   2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2933 $as_echo "$_am_result" >&6; }
   2934 rm -f confinc confmf
   2935 
   2936 # Check whether --enable-dependency-tracking was given.
   2937 if test "${enable_dependency_tracking+set}" = set; then :
   2938   enableval=$enable_dependency_tracking;
   2939 fi
   2940 
   2941 if test "x$enable_dependency_tracking" != xno; then
   2942   am_depcomp="$ac_aux_dir/depcomp"
   2943   AMDEPBACKSLASH='\'
   2944   am__nodep='_no'
   2945 fi
   2946  if test "x$enable_dependency_tracking" != xno; then
   2947   AMDEP_TRUE=
   2948   AMDEP_FALSE='#'
   2949 else
   2950   AMDEP_TRUE='#'
   2951   AMDEP_FALSE=
   2952 fi
   2953 
   2954 
   2955 ac_ext=c
   2956 ac_cpp='$CPP $CPPFLAGS'
   2957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2960 if test -n "$ac_tool_prefix"; then
   2961   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2962 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2964 $as_echo_n "checking for $ac_word... " >&6; }
   2965 if ${ac_cv_prog_CC+:} false; then :
   2966   $as_echo_n "(cached) " >&6
   2967 else
   2968   if test -n "$CC"; then
   2969   ac_cv_prog_CC="$CC" # Let the user override the test.
   2970 else
   2971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2972 for as_dir in $PATH
   2973 do
   2974   IFS=$as_save_IFS
   2975   test -z "$as_dir" && as_dir=.
   2976     for ac_exec_ext in '' $ac_executable_extensions; do
   2977   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2978     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2980     break 2
   2981   fi
   2982 done
   2983   done
   2984 IFS=$as_save_IFS
   2985 
   2986 fi
   2987 fi
   2988 CC=$ac_cv_prog_CC
   2989 if test -n "$CC"; then
   2990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2991 $as_echo "$CC" >&6; }
   2992 else
   2993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2994 $as_echo "no" >&6; }
   2995 fi
   2996 
   2997 
   2998 fi
   2999 if test -z "$ac_cv_prog_CC"; then
   3000   ac_ct_CC=$CC
   3001   # Extract the first word of "gcc", so it can be a program name with args.
   3002 set dummy gcc; ac_word=$2
   3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3004 $as_echo_n "checking for $ac_word... " >&6; }
   3005 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3006   $as_echo_n "(cached) " >&6
   3007 else
   3008   if test -n "$ac_ct_CC"; then
   3009   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3010 else
   3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3012 for as_dir in $PATH
   3013 do
   3014   IFS=$as_save_IFS
   3015   test -z "$as_dir" && as_dir=.
   3016     for ac_exec_ext in '' $ac_executable_extensions; do
   3017   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3018     ac_cv_prog_ac_ct_CC="gcc"
   3019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3020     break 2
   3021   fi
   3022 done
   3023   done
   3024 IFS=$as_save_IFS
   3025 
   3026 fi
   3027 fi
   3028 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3029 if test -n "$ac_ct_CC"; then
   3030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3031 $as_echo "$ac_ct_CC" >&6; }
   3032 else
   3033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3034 $as_echo "no" >&6; }
   3035 fi
   3036 
   3037   if test "x$ac_ct_CC" = x; then
   3038     CC=""
   3039   else
   3040     case $cross_compiling:$ac_tool_warned in
   3041 yes:)
   3042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3044 ac_tool_warned=yes ;;
   3045 esac
   3046     CC=$ac_ct_CC
   3047   fi
   3048 else
   3049   CC="$ac_cv_prog_CC"
   3050 fi
   3051 
   3052 if test -z "$CC"; then
   3053           if test -n "$ac_tool_prefix"; then
   3054     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3055 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3057 $as_echo_n "checking for $ac_word... " >&6; }
   3058 if ${ac_cv_prog_CC+:} false; then :
   3059   $as_echo_n "(cached) " >&6
   3060 else
   3061   if test -n "$CC"; then
   3062   ac_cv_prog_CC="$CC" # Let the user override the test.
   3063 else
   3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3065 for as_dir in $PATH
   3066 do
   3067   IFS=$as_save_IFS
   3068   test -z "$as_dir" && as_dir=.
   3069     for ac_exec_ext in '' $ac_executable_extensions; do
   3070   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3071     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3072     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3073     break 2
   3074   fi
   3075 done
   3076   done
   3077 IFS=$as_save_IFS
   3078 
   3079 fi
   3080 fi
   3081 CC=$ac_cv_prog_CC
   3082 if test -n "$CC"; then
   3083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3084 $as_echo "$CC" >&6; }
   3085 else
   3086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3087 $as_echo "no" >&6; }
   3088 fi
   3089 
   3090 
   3091   fi
   3092 fi
   3093 if test -z "$CC"; then
   3094   # Extract the first word of "cc", so it can be a program name with args.
   3095 set dummy cc; ac_word=$2
   3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3097 $as_echo_n "checking for $ac_word... " >&6; }
   3098 if ${ac_cv_prog_CC+:} false; then :
   3099   $as_echo_n "(cached) " >&6
   3100 else
   3101   if test -n "$CC"; then
   3102   ac_cv_prog_CC="$CC" # Let the user override the test.
   3103 else
   3104   ac_prog_rejected=no
   3105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3106 for as_dir in $PATH
   3107 do
   3108   IFS=$as_save_IFS
   3109   test -z "$as_dir" && as_dir=.
   3110     for ac_exec_ext in '' $ac_executable_extensions; do
   3111   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3112     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3113        ac_prog_rejected=yes
   3114        continue
   3115      fi
   3116     ac_cv_prog_CC="cc"
   3117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3118     break 2
   3119   fi
   3120 done
   3121   done
   3122 IFS=$as_save_IFS
   3123 
   3124 if test $ac_prog_rejected = yes; then
   3125   # We found a bogon in the path, so make sure we never use it.
   3126   set dummy $ac_cv_prog_CC
   3127   shift
   3128   if test $# != 0; then
   3129     # We chose a different compiler from the bogus one.
   3130     # However, it has the same basename, so the bogon will be chosen
   3131     # first if we set CC to just the basename; use the full file name.
   3132     shift
   3133     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3134   fi
   3135 fi
   3136 fi
   3137 fi
   3138 CC=$ac_cv_prog_CC
   3139 if test -n "$CC"; then
   3140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3141 $as_echo "$CC" >&6; }
   3142 else
   3143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3144 $as_echo "no" >&6; }
   3145 fi
   3146 
   3147 
   3148 fi
   3149 if test -z "$CC"; then
   3150   if test -n "$ac_tool_prefix"; then
   3151   for ac_prog in cl.exe
   3152   do
   3153     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3154 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3156 $as_echo_n "checking for $ac_word... " >&6; }
   3157 if ${ac_cv_prog_CC+:} false; then :
   3158   $as_echo_n "(cached) " >&6
   3159 else
   3160   if test -n "$CC"; then
   3161   ac_cv_prog_CC="$CC" # Let the user override the test.
   3162 else
   3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3164 for as_dir in $PATH
   3165 do
   3166   IFS=$as_save_IFS
   3167   test -z "$as_dir" && as_dir=.
   3168     for ac_exec_ext in '' $ac_executable_extensions; do
   3169   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3170     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3172     break 2
   3173   fi
   3174 done
   3175   done
   3176 IFS=$as_save_IFS
   3177 
   3178 fi
   3179 fi
   3180 CC=$ac_cv_prog_CC
   3181 if test -n "$CC"; then
   3182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3183 $as_echo "$CC" >&6; }
   3184 else
   3185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3186 $as_echo "no" >&6; }
   3187 fi
   3188 
   3189 
   3190     test -n "$CC" && break
   3191   done
   3192 fi
   3193 if test -z "$CC"; then
   3194   ac_ct_CC=$CC
   3195   for ac_prog in cl.exe
   3196 do
   3197   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3198 set dummy $ac_prog; ac_word=$2
   3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3200 $as_echo_n "checking for $ac_word... " >&6; }
   3201 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3202   $as_echo_n "(cached) " >&6
   3203 else
   3204   if test -n "$ac_ct_CC"; then
   3205   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3206 else
   3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3208 for as_dir in $PATH
   3209 do
   3210   IFS=$as_save_IFS
   3211   test -z "$as_dir" && as_dir=.
   3212     for ac_exec_ext in '' $ac_executable_extensions; do
   3213   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3214     ac_cv_prog_ac_ct_CC="$ac_prog"
   3215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3216     break 2
   3217   fi
   3218 done
   3219   done
   3220 IFS=$as_save_IFS
   3221 
   3222 fi
   3223 fi
   3224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3225 if test -n "$ac_ct_CC"; then
   3226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3227 $as_echo "$ac_ct_CC" >&6; }
   3228 else
   3229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3230 $as_echo "no" >&6; }
   3231 fi
   3232 
   3233 
   3234   test -n "$ac_ct_CC" && break
   3235 done
   3236 
   3237   if test "x$ac_ct_CC" = x; then
   3238     CC=""
   3239   else
   3240     case $cross_compiling:$ac_tool_warned in
   3241 yes:)
   3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3244 ac_tool_warned=yes ;;
   3245 esac
   3246     CC=$ac_ct_CC
   3247   fi
   3248 fi
   3249 
   3250 fi
   3251 
   3252 
   3253 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3255 as_fn_error $? "no acceptable C compiler found in \$PATH
   3256 See \`config.log' for more details" "$LINENO" 5; }
   3257 
   3258 # Provide some information about the compiler.
   3259 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3260 set X $ac_compile
   3261 ac_compiler=$2
   3262 for ac_option in --version -v -V -qversion; do
   3263   { { ac_try="$ac_compiler $ac_option >&5"
   3264 case "(($ac_try" in
   3265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3266   *) ac_try_echo=$ac_try;;
   3267 esac
   3268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3269 $as_echo "$ac_try_echo"; } >&5
   3270   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3271   ac_status=$?
   3272   if test -s conftest.err; then
   3273     sed '10a\
   3274 ... rest of stderr output deleted ...
   3275          10q' conftest.err >conftest.er1
   3276     cat conftest.er1 >&5
   3277   fi
   3278   rm -f conftest.er1 conftest.err
   3279   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3280   test $ac_status = 0; }
   3281 done
   3282 
   3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3284 /* end confdefs.h.  */
   3285 
   3286 int
   3287 main ()
   3288 {
   3289 
   3290   ;
   3291   return 0;
   3292 }
   3293 _ACEOF
   3294 ac_clean_files_save=$ac_clean_files
   3295 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3296 # Try to create an executable without -o first, disregard a.out.
   3297 # It will help us diagnose broken compilers, and finding out an intuition
   3298 # of exeext.
   3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3300 $as_echo_n "checking whether the C compiler works... " >&6; }
   3301 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3302 
   3303 # The possible output files:
   3304 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3305 
   3306 ac_rmfiles=
   3307 for ac_file in $ac_files
   3308 do
   3309   case $ac_file in
   3310     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3311     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3312   esac
   3313 done
   3314 rm -f $ac_rmfiles
   3315 
   3316 if { { ac_try="$ac_link_default"
   3317 case "(($ac_try" in
   3318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3319   *) ac_try_echo=$ac_try;;
   3320 esac
   3321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3322 $as_echo "$ac_try_echo"; } >&5
   3323   (eval "$ac_link_default") 2>&5
   3324   ac_status=$?
   3325   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3326   test $ac_status = 0; }; then :
   3327   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3328 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3329 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3330 # so that the user can short-circuit this test for compilers unknown to
   3331 # Autoconf.
   3332 for ac_file in $ac_files ''
   3333 do
   3334   test -f "$ac_file" || continue
   3335   case $ac_file in
   3336     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3337 	;;
   3338     [ab].out )
   3339 	# We found the default executable, but exeext='' is most
   3340 	# certainly right.
   3341 	break;;
   3342     *.* )
   3343 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3344 	then :; else
   3345 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3346 	fi
   3347 	# We set ac_cv_exeext here because the later test for it is not
   3348 	# safe: cross compilers may not add the suffix if given an `-o'
   3349 	# argument, so we may need to know it at that point already.
   3350 	# Even if this section looks crufty: it has the advantage of
   3351 	# actually working.
   3352 	break;;
   3353     * )
   3354 	break;;
   3355   esac
   3356 done
   3357 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3358 
   3359 else
   3360   ac_file=''
   3361 fi
   3362 if test -z "$ac_file"; then :
   3363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3364 $as_echo "no" >&6; }
   3365 $as_echo "$as_me: failed program was:" >&5
   3366 sed 's/^/| /' conftest.$ac_ext >&5
   3367 
   3368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3370 as_fn_error 77 "C compiler cannot create executables
   3371 See \`config.log' for more details" "$LINENO" 5; }
   3372 else
   3373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3374 $as_echo "yes" >&6; }
   3375 fi
   3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3377 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3379 $as_echo "$ac_file" >&6; }
   3380 ac_exeext=$ac_cv_exeext
   3381 
   3382 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3383 ac_clean_files=$ac_clean_files_save
   3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3385 $as_echo_n "checking for suffix of executables... " >&6; }
   3386 if { { ac_try="$ac_link"
   3387 case "(($ac_try" in
   3388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3389   *) ac_try_echo=$ac_try;;
   3390 esac
   3391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3392 $as_echo "$ac_try_echo"; } >&5
   3393   (eval "$ac_link") 2>&5
   3394   ac_status=$?
   3395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3396   test $ac_status = 0; }; then :
   3397   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3398 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3399 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3400 # `rm'.
   3401 for ac_file in conftest.exe conftest conftest.*; do
   3402   test -f "$ac_file" || continue
   3403   case $ac_file in
   3404     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3405     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3406 	  break;;
   3407     * ) break;;
   3408   esac
   3409 done
   3410 else
   3411   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3413 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3414 See \`config.log' for more details" "$LINENO" 5; }
   3415 fi
   3416 rm -f conftest conftest$ac_cv_exeext
   3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3418 $as_echo "$ac_cv_exeext" >&6; }
   3419 
   3420 rm -f conftest.$ac_ext
   3421 EXEEXT=$ac_cv_exeext
   3422 ac_exeext=$EXEEXT
   3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3424 /* end confdefs.h.  */
   3425 #include <stdio.h>
   3426 int
   3427 main ()
   3428 {
   3429 FILE *f = fopen ("conftest.out", "w");
   3430  return ferror (f) || fclose (f) != 0;
   3431 
   3432   ;
   3433   return 0;
   3434 }
   3435 _ACEOF
   3436 ac_clean_files="$ac_clean_files conftest.out"
   3437 # Check that the compiler produces executables we can run.  If not, either
   3438 # the compiler is broken, or we cross compile.
   3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3440 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3441 if test "$cross_compiling" != yes; then
   3442   { { ac_try="$ac_link"
   3443 case "(($ac_try" in
   3444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3445   *) ac_try_echo=$ac_try;;
   3446 esac
   3447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3448 $as_echo "$ac_try_echo"; } >&5
   3449   (eval "$ac_link") 2>&5
   3450   ac_status=$?
   3451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3452   test $ac_status = 0; }
   3453   if { ac_try='./conftest$ac_cv_exeext'
   3454   { { case "(($ac_try" in
   3455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3456   *) ac_try_echo=$ac_try;;
   3457 esac
   3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3459 $as_echo "$ac_try_echo"; } >&5
   3460   (eval "$ac_try") 2>&5
   3461   ac_status=$?
   3462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3463   test $ac_status = 0; }; }; then
   3464     cross_compiling=no
   3465   else
   3466     if test "$cross_compiling" = maybe; then
   3467 	cross_compiling=yes
   3468     else
   3469 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3471 as_fn_error $? "cannot run C compiled programs.
   3472 If you meant to cross compile, use \`--host'.
   3473 See \`config.log' for more details" "$LINENO" 5; }
   3474     fi
   3475   fi
   3476 fi
   3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3478 $as_echo "$cross_compiling" >&6; }
   3479 
   3480 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3481 ac_clean_files=$ac_clean_files_save
   3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3483 $as_echo_n "checking for suffix of object files... " >&6; }
   3484 if ${ac_cv_objext+:} false; then :
   3485   $as_echo_n "(cached) " >&6
   3486 else
   3487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3488 /* end confdefs.h.  */
   3489 
   3490 int
   3491 main ()
   3492 {
   3493 
   3494   ;
   3495   return 0;
   3496 }
   3497 _ACEOF
   3498 rm -f conftest.o conftest.obj
   3499 if { { ac_try="$ac_compile"
   3500 case "(($ac_try" in
   3501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3502   *) ac_try_echo=$ac_try;;
   3503 esac
   3504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3505 $as_echo "$ac_try_echo"; } >&5
   3506   (eval "$ac_compile") 2>&5
   3507   ac_status=$?
   3508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3509   test $ac_status = 0; }; then :
   3510   for ac_file in conftest.o conftest.obj conftest.*; do
   3511   test -f "$ac_file" || continue;
   3512   case $ac_file in
   3513     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3514     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3515        break;;
   3516   esac
   3517 done
   3518 else
   3519   $as_echo "$as_me: failed program was:" >&5
   3520 sed 's/^/| /' conftest.$ac_ext >&5
   3521 
   3522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3524 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3525 See \`config.log' for more details" "$LINENO" 5; }
   3526 fi
   3527 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3528 fi
   3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3530 $as_echo "$ac_cv_objext" >&6; }
   3531 OBJEXT=$ac_cv_objext
   3532 ac_objext=$OBJEXT
   3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3534 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3535 if ${ac_cv_c_compiler_gnu+:} false; then :
   3536   $as_echo_n "(cached) " >&6
   3537 else
   3538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3539 /* end confdefs.h.  */
   3540 
   3541 int
   3542 main ()
   3543 {
   3544 #ifndef __GNUC__
   3545        choke me
   3546 #endif
   3547 
   3548   ;
   3549   return 0;
   3550 }
   3551 _ACEOF
   3552 if ac_fn_c_try_compile "$LINENO"; then :
   3553   ac_compiler_gnu=yes
   3554 else
   3555   ac_compiler_gnu=no
   3556 fi
   3557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3558 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3559 
   3560 fi
   3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3562 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3563 if test $ac_compiler_gnu = yes; then
   3564   GCC=yes
   3565 else
   3566   GCC=
   3567 fi
   3568 ac_test_CFLAGS=${CFLAGS+set}
   3569 ac_save_CFLAGS=$CFLAGS
   3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3571 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3572 if ${ac_cv_prog_cc_g+:} false; then :
   3573   $as_echo_n "(cached) " >&6
   3574 else
   3575   ac_save_c_werror_flag=$ac_c_werror_flag
   3576    ac_c_werror_flag=yes
   3577    ac_cv_prog_cc_g=no
   3578    CFLAGS="-g"
   3579    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3580 /* end confdefs.h.  */
   3581 
   3582 int
   3583 main ()
   3584 {
   3585 
   3586   ;
   3587   return 0;
   3588 }
   3589 _ACEOF
   3590 if ac_fn_c_try_compile "$LINENO"; then :
   3591   ac_cv_prog_cc_g=yes
   3592 else
   3593   CFLAGS=""
   3594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3595 /* end confdefs.h.  */
   3596 
   3597 int
   3598 main ()
   3599 {
   3600 
   3601   ;
   3602   return 0;
   3603 }
   3604 _ACEOF
   3605 if ac_fn_c_try_compile "$LINENO"; then :
   3606 
   3607 else
   3608   ac_c_werror_flag=$ac_save_c_werror_flag
   3609 	 CFLAGS="-g"
   3610 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3611 /* end confdefs.h.  */
   3612 
   3613 int
   3614 main ()
   3615 {
   3616 
   3617   ;
   3618   return 0;
   3619 }
   3620 _ACEOF
   3621 if ac_fn_c_try_compile "$LINENO"; then :
   3622   ac_cv_prog_cc_g=yes
   3623 fi
   3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3625 fi
   3626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3627 fi
   3628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3629    ac_c_werror_flag=$ac_save_c_werror_flag
   3630 fi
   3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3632 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3633 if test "$ac_test_CFLAGS" = set; then
   3634   CFLAGS=$ac_save_CFLAGS
   3635 elif test $ac_cv_prog_cc_g = yes; then
   3636   if test "$GCC" = yes; then
   3637     CFLAGS="-g -O2"
   3638   else
   3639     CFLAGS="-g"
   3640   fi
   3641 else
   3642   if test "$GCC" = yes; then
   3643     CFLAGS="-O2"
   3644   else
   3645     CFLAGS=
   3646   fi
   3647 fi
   3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3649 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3650 if ${ac_cv_prog_cc_c89+:} false; then :
   3651   $as_echo_n "(cached) " >&6
   3652 else
   3653   ac_cv_prog_cc_c89=no
   3654 ac_save_CC=$CC
   3655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3656 /* end confdefs.h.  */
   3657 #include <stdarg.h>
   3658 #include <stdio.h>
   3659 struct stat;
   3660 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3661 struct buf { int x; };
   3662 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3663 static char *e (p, i)
   3664      char **p;
   3665      int i;
   3666 {
   3667   return p[i];
   3668 }
   3669 static char *f (char * (*g) (char **, int), char **p, ...)
   3670 {
   3671   char *s;
   3672   va_list v;
   3673   va_start (v,p);
   3674   s = g (p, va_arg (v,int));
   3675   va_end (v);
   3676   return s;
   3677 }
   3678 
   3679 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3680    function prototypes and stuff, but not '\xHH' hex character constants.
   3681    These don't provoke an error unfortunately, instead are silently treated
   3682    as 'x'.  The following induces an error, until -std is added to get
   3683    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3684    array size at least.  It's necessary to write '\x00'==0 to get something
   3685    that's true only with -std.  */
   3686 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3687 
   3688 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3689    inside strings and character constants.  */
   3690 #define FOO(x) 'x'
   3691 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3692 
   3693 int test (int i, double x);
   3694 struct s1 {int (*f) (int a);};
   3695 struct s2 {int (*f) (double a);};
   3696 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3697 int argc;
   3698 char **argv;
   3699 int
   3700 main ()
   3701 {
   3702 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3703   ;
   3704   return 0;
   3705 }
   3706 _ACEOF
   3707 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3708 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3709 do
   3710   CC="$ac_save_CC $ac_arg"
   3711   if ac_fn_c_try_compile "$LINENO"; then :
   3712   ac_cv_prog_cc_c89=$ac_arg
   3713 fi
   3714 rm -f core conftest.err conftest.$ac_objext
   3715   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3716 done
   3717 rm -f conftest.$ac_ext
   3718 CC=$ac_save_CC
   3719 
   3720 fi
   3721 # AC_CACHE_VAL
   3722 case "x$ac_cv_prog_cc_c89" in
   3723   x)
   3724     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3725 $as_echo "none needed" >&6; } ;;
   3726   xno)
   3727     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3728 $as_echo "unsupported" >&6; } ;;
   3729   *)
   3730     CC="$CC $ac_cv_prog_cc_c89"
   3731     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3732 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3733 esac
   3734 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3735 
   3736 fi
   3737 
   3738 ac_ext=c
   3739 ac_cpp='$CPP $CPPFLAGS'
   3740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3743 
   3744 ac_ext=c
   3745 ac_cpp='$CPP $CPPFLAGS'
   3746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3750 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3751 if ${am_cv_prog_cc_c_o+:} false; then :
   3752   $as_echo_n "(cached) " >&6
   3753 else
   3754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3755 /* end confdefs.h.  */
   3756 
   3757 int
   3758 main ()
   3759 {
   3760 
   3761   ;
   3762   return 0;
   3763 }
   3764 _ACEOF
   3765   # Make sure it works both with $CC and with simple cc.
   3766   # Following AC_PROG_CC_C_O, we do the test twice because some
   3767   # compilers refuse to overwrite an existing .o file with -o,
   3768   # though they will create one.
   3769   am_cv_prog_cc_c_o=yes
   3770   for am_i in 1 2; do
   3771     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3772    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3773    ac_status=$?
   3774    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3775    (exit $ac_status); } \
   3776          && test -f conftest2.$ac_objext; then
   3777       : OK
   3778     else
   3779       am_cv_prog_cc_c_o=no
   3780       break
   3781     fi
   3782   done
   3783   rm -f core conftest*
   3784   unset am_i
   3785 fi
   3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3787 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3788 if test "$am_cv_prog_cc_c_o" != yes; then
   3789    # Losing compiler, so override with the script.
   3790    # FIXME: It is wrong to rewrite CC.
   3791    # But if we don't then we get into trouble of one sort or another.
   3792    # A longer-term fix would be to have automake use am__CC in this case,
   3793    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3794    CC="$am_aux_dir/compile $CC"
   3795 fi
   3796 ac_ext=c
   3797 ac_cpp='$CPP $CPPFLAGS'
   3798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3801 
   3802 
   3803 depcc="$CC"   am_compiler_list=
   3804 
   3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3806 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3807 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3808   $as_echo_n "(cached) " >&6
   3809 else
   3810   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3811   # We make a subdir and do the tests there.  Otherwise we can end up
   3812   # making bogus files that we don't know about and never remove.  For
   3813   # instance it was reported that on HP-UX the gcc test will end up
   3814   # making a dummy file named 'D' -- because '-MD' means "put the output
   3815   # in D".
   3816   rm -rf conftest.dir
   3817   mkdir conftest.dir
   3818   # Copy depcomp to subdir because otherwise we won't find it if we're
   3819   # using a relative directory.
   3820   cp "$am_depcomp" conftest.dir
   3821   cd conftest.dir
   3822   # We will build objects and dependencies in a subdirectory because
   3823   # it helps to detect inapplicable dependency modes.  For instance
   3824   # both Tru64's cc and ICC support -MD to output dependencies as a
   3825   # side effect of compilation, but ICC will put the dependencies in
   3826   # the current directory while Tru64 will put them in the object
   3827   # directory.
   3828   mkdir sub
   3829 
   3830   am_cv_CC_dependencies_compiler_type=none
   3831   if test "$am_compiler_list" = ""; then
   3832      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3833   fi
   3834   am__universal=false
   3835   case " $depcc " in #(
   3836      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3837      esac
   3838 
   3839   for depmode in $am_compiler_list; do
   3840     # Setup a source with many dependencies, because some compilers
   3841     # like to wrap large dependency lists on column 80 (with \), and
   3842     # we should not choose a depcomp mode which is confused by this.
   3843     #
   3844     # We need to recreate these files for each test, as the compiler may
   3845     # overwrite some of them when testing with obscure command lines.
   3846     # This happens at least with the AIX C compiler.
   3847     : > sub/conftest.c
   3848     for i in 1 2 3 4 5 6; do
   3849       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3850       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3851       # Solaris 10 /bin/sh.
   3852       echo '/* dummy */' > sub/conftst$i.h
   3853     done
   3854     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3855 
   3856     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3857     # mode.  It turns out that the SunPro C++ compiler does not properly
   3858     # handle '-M -o', and we need to detect this.  Also, some Intel
   3859     # versions had trouble with output in subdirs.
   3860     am__obj=sub/conftest.${OBJEXT-o}
   3861     am__minus_obj="-o $am__obj"
   3862     case $depmode in
   3863     gcc)
   3864       # This depmode causes a compiler race in universal mode.
   3865       test "$am__universal" = false || continue
   3866       ;;
   3867     nosideeffect)
   3868       # After this tag, mechanisms are not by side-effect, so they'll
   3869       # only be used when explicitly requested.
   3870       if test "x$enable_dependency_tracking" = xyes; then
   3871 	continue
   3872       else
   3873 	break
   3874       fi
   3875       ;;
   3876     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3877       # This compiler won't grok '-c -o', but also, the minuso test has
   3878       # not run yet.  These depmodes are late enough in the game, and
   3879       # so weak that their functioning should not be impacted.
   3880       am__obj=conftest.${OBJEXT-o}
   3881       am__minus_obj=
   3882       ;;
   3883     none) break ;;
   3884     esac
   3885     if depmode=$depmode \
   3886        source=sub/conftest.c object=$am__obj \
   3887        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3888        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3889          >/dev/null 2>conftest.err &&
   3890        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3891        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3892        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3893        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3894       # icc doesn't choke on unknown options, it will just issue warnings
   3895       # or remarks (even with -Werror).  So we grep stderr for any message
   3896       # that says an option was ignored or not supported.
   3897       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3898       #   icc: Command line warning: ignoring option '-M'; no argument required
   3899       # The diagnosis changed in icc 8.0:
   3900       #   icc: Command line remark: option '-MP' not supported
   3901       if (grep 'ignoring option' conftest.err ||
   3902           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3903         am_cv_CC_dependencies_compiler_type=$depmode
   3904         break
   3905       fi
   3906     fi
   3907   done
   3908 
   3909   cd ..
   3910   rm -rf conftest.dir
   3911 else
   3912   am_cv_CC_dependencies_compiler_type=none
   3913 fi
   3914 
   3915 fi
   3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3917 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3918 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3919 
   3920  if
   3921   test "x$enable_dependency_tracking" != xno \
   3922   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3923   am__fastdepCC_TRUE=
   3924   am__fastdepCC_FALSE='#'
   3925 else
   3926   am__fastdepCC_TRUE='#'
   3927   am__fastdepCC_FALSE=
   3928 fi
   3929 
   3930 
   3931    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3932 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3933 if ${ac_cv_prog_cc_c99+:} false; then :
   3934   $as_echo_n "(cached) " >&6
   3935 else
   3936   ac_cv_prog_cc_c99=no
   3937 ac_save_CC=$CC
   3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3939 /* end confdefs.h.  */
   3940 #include <stdarg.h>
   3941 #include <stdbool.h>
   3942 #include <stdlib.h>
   3943 #include <wchar.h>
   3944 #include <stdio.h>
   3945 
   3946 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3947 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3948 #define showlist(...) puts (#__VA_ARGS__)
   3949 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3950 static void
   3951 test_varargs_macros (void)
   3952 {
   3953   int x = 1234;
   3954   int y = 5678;
   3955   debug ("Flag");
   3956   debug ("X = %d\n", x);
   3957   showlist (The first, second, and third items.);
   3958   report (x>y, "x is %d but y is %d", x, y);
   3959 }
   3960 
   3961 // Check long long types.
   3962 #define BIG64 18446744073709551615ull
   3963 #define BIG32 4294967295ul
   3964 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3965 #if !BIG_OK
   3966   your preprocessor is broken;
   3967 #endif
   3968 #if BIG_OK
   3969 #else
   3970   your preprocessor is broken;
   3971 #endif
   3972 static long long int bignum = -9223372036854775807LL;
   3973 static unsigned long long int ubignum = BIG64;
   3974 
   3975 struct incomplete_array
   3976 {
   3977   int datasize;
   3978   double data[];
   3979 };
   3980 
   3981 struct named_init {
   3982   int number;
   3983   const wchar_t *name;
   3984   double average;
   3985 };
   3986 
   3987 typedef const char *ccp;
   3988 
   3989 static inline int
   3990 test_restrict (ccp restrict text)
   3991 {
   3992   // See if C++-style comments work.
   3993   // Iterate through items via the restricted pointer.
   3994   // Also check for declarations in for loops.
   3995   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3996     continue;
   3997   return 0;
   3998 }
   3999 
   4000 // Check varargs and va_copy.
   4001 static void
   4002 test_varargs (const char *format, ...)
   4003 {
   4004   va_list args;
   4005   va_start (args, format);
   4006   va_list args_copy;
   4007   va_copy (args_copy, args);
   4008 
   4009   const char *str;
   4010   int number;
   4011   float fnumber;
   4012 
   4013   while (*format)
   4014     {
   4015       switch (*format++)
   4016 	{
   4017 	case 's': // string
   4018 	  str = va_arg (args_copy, const char *);
   4019 	  break;
   4020 	case 'd': // int
   4021 	  number = va_arg (args_copy, int);
   4022 	  break;
   4023 	case 'f': // float
   4024 	  fnumber = va_arg (args_copy, double);
   4025 	  break;
   4026 	default:
   4027 	  break;
   4028 	}
   4029     }
   4030   va_end (args_copy);
   4031   va_end (args);
   4032 }
   4033 
   4034 int
   4035 main ()
   4036 {
   4037 
   4038   // Check bool.
   4039   _Bool success = false;
   4040 
   4041   // Check restrict.
   4042   if (test_restrict ("String literal") == 0)
   4043     success = true;
   4044   char *restrict newvar = "Another string";
   4045 
   4046   // Check varargs.
   4047   test_varargs ("s, d' f .", "string", 65, 34.234);
   4048   test_varargs_macros ();
   4049 
   4050   // Check flexible array members.
   4051   struct incomplete_array *ia =
   4052     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4053   ia->datasize = 10;
   4054   for (int i = 0; i < ia->datasize; ++i)
   4055     ia->data[i] = i * 1.234;
   4056 
   4057   // Check named initializers.
   4058   struct named_init ni = {
   4059     .number = 34,
   4060     .name = L"Test wide string",
   4061     .average = 543.34343,
   4062   };
   4063 
   4064   ni.number = 58;
   4065 
   4066   int dynamic_array[ni.number];
   4067   dynamic_array[ni.number - 1] = 543;
   4068 
   4069   // work around unused variable warnings
   4070   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4071 	  || dynamic_array[ni.number - 1] != 543);
   4072 
   4073   ;
   4074   return 0;
   4075 }
   4076 _ACEOF
   4077 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4078 do
   4079   CC="$ac_save_CC $ac_arg"
   4080   if ac_fn_c_try_compile "$LINENO"; then :
   4081   ac_cv_prog_cc_c99=$ac_arg
   4082 fi
   4083 rm -f core conftest.err conftest.$ac_objext
   4084   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4085 done
   4086 rm -f conftest.$ac_ext
   4087 CC=$ac_save_CC
   4088 
   4089 fi
   4090 # AC_CACHE_VAL
   4091 case "x$ac_cv_prog_cc_c99" in
   4092   x)
   4093     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4094 $as_echo "none needed" >&6; } ;;
   4095   xno)
   4096     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4097 $as_echo "unsupported" >&6; } ;;
   4098   *)
   4099     CC="$CC $ac_cv_prog_cc_c99"
   4100     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4101 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4102 esac
   4103 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4104 
   4105 fi
   4106 
   4107 
   4108 
   4109 ac_ext=c
   4110 ac_cpp='$CPP $CPPFLAGS'
   4111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4115 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4116 # On Suns, sometimes $CPP names a directory.
   4117 if test -n "$CPP" && test -d "$CPP"; then
   4118   CPP=
   4119 fi
   4120 if test -z "$CPP"; then
   4121   if ${ac_cv_prog_CPP+:} false; then :
   4122   $as_echo_n "(cached) " >&6
   4123 else
   4124       # Double quotes because CPP needs to be expanded
   4125     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4126     do
   4127       ac_preproc_ok=false
   4128 for ac_c_preproc_warn_flag in '' yes
   4129 do
   4130   # Use a header file that comes with gcc, so configuring glibc
   4131   # with a fresh cross-compiler works.
   4132   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4133   # <limits.h> exists even on freestanding compilers.
   4134   # On the NeXT, cc -E runs the code through the compiler's parser,
   4135   # not just through cpp. "Syntax error" is here to catch this case.
   4136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4137 /* end confdefs.h.  */
   4138 #ifdef __STDC__
   4139 # include <limits.h>
   4140 #else
   4141 # include <assert.h>
   4142 #endif
   4143 		     Syntax error
   4144 _ACEOF
   4145 if ac_fn_c_try_cpp "$LINENO"; then :
   4146 
   4147 else
   4148   # Broken: fails on valid input.
   4149 continue
   4150 fi
   4151 rm -f conftest.err conftest.i conftest.$ac_ext
   4152 
   4153   # OK, works on sane cases.  Now check whether nonexistent headers
   4154   # can be detected and how.
   4155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4156 /* end confdefs.h.  */
   4157 #include <ac_nonexistent.h>
   4158 _ACEOF
   4159 if ac_fn_c_try_cpp "$LINENO"; then :
   4160   # Broken: success on invalid input.
   4161 continue
   4162 else
   4163   # Passes both tests.
   4164 ac_preproc_ok=:
   4165 break
   4166 fi
   4167 rm -f conftest.err conftest.i conftest.$ac_ext
   4168 
   4169 done
   4170 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4171 rm -f conftest.i conftest.err conftest.$ac_ext
   4172 if $ac_preproc_ok; then :
   4173   break
   4174 fi
   4175 
   4176     done
   4177     ac_cv_prog_CPP=$CPP
   4178 
   4179 fi
   4180   CPP=$ac_cv_prog_CPP
   4181 else
   4182   ac_cv_prog_CPP=$CPP
   4183 fi
   4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4185 $as_echo "$CPP" >&6; }
   4186 ac_preproc_ok=false
   4187 for ac_c_preproc_warn_flag in '' yes
   4188 do
   4189   # Use a header file that comes with gcc, so configuring glibc
   4190   # with a fresh cross-compiler works.
   4191   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4192   # <limits.h> exists even on freestanding compilers.
   4193   # On the NeXT, cc -E runs the code through the compiler's parser,
   4194   # not just through cpp. "Syntax error" is here to catch this case.
   4195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4196 /* end confdefs.h.  */
   4197 #ifdef __STDC__
   4198 # include <limits.h>
   4199 #else
   4200 # include <assert.h>
   4201 #endif
   4202 		     Syntax error
   4203 _ACEOF
   4204 if ac_fn_c_try_cpp "$LINENO"; then :
   4205 
   4206 else
   4207   # Broken: fails on valid input.
   4208 continue
   4209 fi
   4210 rm -f conftest.err conftest.i conftest.$ac_ext
   4211 
   4212   # OK, works on sane cases.  Now check whether nonexistent headers
   4213   # can be detected and how.
   4214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4215 /* end confdefs.h.  */
   4216 #include <ac_nonexistent.h>
   4217 _ACEOF
   4218 if ac_fn_c_try_cpp "$LINENO"; then :
   4219   # Broken: success on invalid input.
   4220 continue
   4221 else
   4222   # Passes both tests.
   4223 ac_preproc_ok=:
   4224 break
   4225 fi
   4226 rm -f conftest.err conftest.i conftest.$ac_ext
   4227 
   4228 done
   4229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4230 rm -f conftest.i conftest.err conftest.$ac_ext
   4231 if $ac_preproc_ok; then :
   4232 
   4233 else
   4234   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4236 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4237 See \`config.log' for more details" "$LINENO" 5; }
   4238 fi
   4239 
   4240 ac_ext=c
   4241 ac_cpp='$CPP $CPPFLAGS'
   4242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4245 
   4246 
   4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4248 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4249 if ${ac_cv_path_GREP+:} false; then :
   4250   $as_echo_n "(cached) " >&6
   4251 else
   4252   if test -z "$GREP"; then
   4253   ac_path_GREP_found=false
   4254   # Loop through the user's path and test for each of PROGNAME-LIST
   4255   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4256 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4257 do
   4258   IFS=$as_save_IFS
   4259   test -z "$as_dir" && as_dir=.
   4260     for ac_prog in grep ggrep; do
   4261     for ac_exec_ext in '' $ac_executable_extensions; do
   4262       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4263       as_fn_executable_p "$ac_path_GREP" || continue
   4264 # Check for GNU ac_path_GREP and select it if it is found.
   4265   # Check for GNU $ac_path_GREP
   4266 case `"$ac_path_GREP" --version 2>&1` in
   4267 *GNU*)
   4268   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4269 *)
   4270   ac_count=0
   4271   $as_echo_n 0123456789 >"conftest.in"
   4272   while :
   4273   do
   4274     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4275     mv "conftest.tmp" "conftest.in"
   4276     cp "conftest.in" "conftest.nl"
   4277     $as_echo 'GREP' >> "conftest.nl"
   4278     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4279     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4280     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4281     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4282       # Best one so far, save it but keep looking for a better one
   4283       ac_cv_path_GREP="$ac_path_GREP"
   4284       ac_path_GREP_max=$ac_count
   4285     fi
   4286     # 10*(2^10) chars as input seems more than enough
   4287     test $ac_count -gt 10 && break
   4288   done
   4289   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4290 esac
   4291 
   4292       $ac_path_GREP_found && break 3
   4293     done
   4294   done
   4295   done
   4296 IFS=$as_save_IFS
   4297   if test -z "$ac_cv_path_GREP"; then
   4298     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4299   fi
   4300 else
   4301   ac_cv_path_GREP=$GREP
   4302 fi
   4303 
   4304 fi
   4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4306 $as_echo "$ac_cv_path_GREP" >&6; }
   4307  GREP="$ac_cv_path_GREP"
   4308 
   4309 
   4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4311 $as_echo_n "checking for egrep... " >&6; }
   4312 if ${ac_cv_path_EGREP+:} false; then :
   4313   $as_echo_n "(cached) " >&6
   4314 else
   4315   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4316    then ac_cv_path_EGREP="$GREP -E"
   4317    else
   4318      if test -z "$EGREP"; then
   4319   ac_path_EGREP_found=false
   4320   # Loop through the user's path and test for each of PROGNAME-LIST
   4321   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4322 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4323 do
   4324   IFS=$as_save_IFS
   4325   test -z "$as_dir" && as_dir=.
   4326     for ac_prog in egrep; do
   4327     for ac_exec_ext in '' $ac_executable_extensions; do
   4328       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4329       as_fn_executable_p "$ac_path_EGREP" || continue
   4330 # Check for GNU ac_path_EGREP and select it if it is found.
   4331   # Check for GNU $ac_path_EGREP
   4332 case `"$ac_path_EGREP" --version 2>&1` in
   4333 *GNU*)
   4334   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4335 *)
   4336   ac_count=0
   4337   $as_echo_n 0123456789 >"conftest.in"
   4338   while :
   4339   do
   4340     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4341     mv "conftest.tmp" "conftest.in"
   4342     cp "conftest.in" "conftest.nl"
   4343     $as_echo 'EGREP' >> "conftest.nl"
   4344     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4345     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4346     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4347     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4348       # Best one so far, save it but keep looking for a better one
   4349       ac_cv_path_EGREP="$ac_path_EGREP"
   4350       ac_path_EGREP_max=$ac_count
   4351     fi
   4352     # 10*(2^10) chars as input seems more than enough
   4353     test $ac_count -gt 10 && break
   4354   done
   4355   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4356 esac
   4357 
   4358       $ac_path_EGREP_found && break 3
   4359     done
   4360   done
   4361   done
   4362 IFS=$as_save_IFS
   4363   if test -z "$ac_cv_path_EGREP"; then
   4364     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4365   fi
   4366 else
   4367   ac_cv_path_EGREP=$EGREP
   4368 fi
   4369 
   4370    fi
   4371 fi
   4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4373 $as_echo "$ac_cv_path_EGREP" >&6; }
   4374  EGREP="$ac_cv_path_EGREP"
   4375 
   4376 
   4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4378 $as_echo_n "checking for ANSI C header files... " >&6; }
   4379 if ${ac_cv_header_stdc+:} false; then :
   4380   $as_echo_n "(cached) " >&6
   4381 else
   4382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4383 /* end confdefs.h.  */
   4384 #include <stdlib.h>
   4385 #include <stdarg.h>
   4386 #include <string.h>
   4387 #include <float.h>
   4388 
   4389 int
   4390 main ()
   4391 {
   4392 
   4393   ;
   4394   return 0;
   4395 }
   4396 _ACEOF
   4397 if ac_fn_c_try_compile "$LINENO"; then :
   4398   ac_cv_header_stdc=yes
   4399 else
   4400   ac_cv_header_stdc=no
   4401 fi
   4402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4403 
   4404 if test $ac_cv_header_stdc = yes; then
   4405   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4407 /* end confdefs.h.  */
   4408 #include <string.h>
   4409 
   4410 _ACEOF
   4411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4412   $EGREP "memchr" >/dev/null 2>&1; then :
   4413 
   4414 else
   4415   ac_cv_header_stdc=no
   4416 fi
   4417 rm -f conftest*
   4418 
   4419 fi
   4420 
   4421 if test $ac_cv_header_stdc = yes; then
   4422   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4424 /* end confdefs.h.  */
   4425 #include <stdlib.h>
   4426 
   4427 _ACEOF
   4428 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4429   $EGREP "free" >/dev/null 2>&1; then :
   4430 
   4431 else
   4432   ac_cv_header_stdc=no
   4433 fi
   4434 rm -f conftest*
   4435 
   4436 fi
   4437 
   4438 if test $ac_cv_header_stdc = yes; then
   4439   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4440   if test "$cross_compiling" = yes; then :
   4441   :
   4442 else
   4443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4444 /* end confdefs.h.  */
   4445 #include <ctype.h>
   4446 #include <stdlib.h>
   4447 #if ((' ' & 0x0FF) == 0x020)
   4448 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4449 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4450 #else
   4451 # define ISLOWER(c) \
   4452 		   (('a' <= (c) && (c) <= 'i') \
   4453 		     || ('j' <= (c) && (c) <= 'r') \
   4454 		     || ('s' <= (c) && (c) <= 'z'))
   4455 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4456 #endif
   4457 
   4458 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4459 int
   4460 main ()
   4461 {
   4462   int i;
   4463   for (i = 0; i < 256; i++)
   4464     if (XOR (islower (i), ISLOWER (i))
   4465 	|| toupper (i) != TOUPPER (i))
   4466       return 2;
   4467   return 0;
   4468 }
   4469 _ACEOF
   4470 if ac_fn_c_try_run "$LINENO"; then :
   4471 
   4472 else
   4473   ac_cv_header_stdc=no
   4474 fi
   4475 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4476   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4477 fi
   4478 
   4479 fi
   4480 fi
   4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4482 $as_echo "$ac_cv_header_stdc" >&6; }
   4483 if test $ac_cv_header_stdc = yes; then
   4484 
   4485 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4486 
   4487 fi
   4488 
   4489 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4490 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4491 		  inttypes.h stdint.h unistd.h
   4492 do :
   4493   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4494 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4495 "
   4496 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4497   cat >>confdefs.h <<_ACEOF
   4498 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4499 _ACEOF
   4500 
   4501 fi
   4502 
   4503 done
   4504 
   4505 
   4506 
   4507 
   4508 
   4509 
   4510 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4511 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4512   CLANGCC="yes"
   4513 else
   4514   CLANGCC="no"
   4515 fi
   4516 
   4517 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4518 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4519   INTELCC="yes"
   4520 else
   4521   INTELCC="no"
   4522 fi
   4523 
   4524 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4525 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4526   SUNCC="yes"
   4527 else
   4528   SUNCC="no"
   4529 fi
   4530 
   4531 
   4532 
   4533 
   4534 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4535 	if test -n "$ac_tool_prefix"; then
   4536   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4537 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4539 $as_echo_n "checking for $ac_word... " >&6; }
   4540 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4541   $as_echo_n "(cached) " >&6
   4542 else
   4543   case $PKG_CONFIG in
   4544   [\\/]* | ?:[\\/]*)
   4545   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4546   ;;
   4547   *)
   4548   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4549 for as_dir in $PATH
   4550 do
   4551   IFS=$as_save_IFS
   4552   test -z "$as_dir" && as_dir=.
   4553     for ac_exec_ext in '' $ac_executable_extensions; do
   4554   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4555     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4557     break 2
   4558   fi
   4559 done
   4560   done
   4561 IFS=$as_save_IFS
   4562 
   4563   ;;
   4564 esac
   4565 fi
   4566 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4567 if test -n "$PKG_CONFIG"; then
   4568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4569 $as_echo "$PKG_CONFIG" >&6; }
   4570 else
   4571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4572 $as_echo "no" >&6; }
   4573 fi
   4574 
   4575 
   4576 fi
   4577 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4578   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4579   # Extract the first word of "pkg-config", so it can be a program name with args.
   4580 set dummy pkg-config; ac_word=$2
   4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4582 $as_echo_n "checking for $ac_word... " >&6; }
   4583 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4584   $as_echo_n "(cached) " >&6
   4585 else
   4586   case $ac_pt_PKG_CONFIG in
   4587   [\\/]* | ?:[\\/]*)
   4588   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4589   ;;
   4590   *)
   4591   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4592 for as_dir in $PATH
   4593 do
   4594   IFS=$as_save_IFS
   4595   test -z "$as_dir" && as_dir=.
   4596     for ac_exec_ext in '' $ac_executable_extensions; do
   4597   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4598     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4600     break 2
   4601   fi
   4602 done
   4603   done
   4604 IFS=$as_save_IFS
   4605 
   4606   ;;
   4607 esac
   4608 fi
   4609 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4610 if test -n "$ac_pt_PKG_CONFIG"; then
   4611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4612 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4613 else
   4614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4615 $as_echo "no" >&6; }
   4616 fi
   4617 
   4618   if test "x$ac_pt_PKG_CONFIG" = x; then
   4619     PKG_CONFIG=""
   4620   else
   4621     case $cross_compiling:$ac_tool_warned in
   4622 yes:)
   4623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4625 ac_tool_warned=yes ;;
   4626 esac
   4627     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4628   fi
   4629 else
   4630   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4631 fi
   4632 
   4633 fi
   4634 if test -n "$PKG_CONFIG"; then
   4635 	_pkg_min_version=0.9.0
   4636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4637 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4638 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4639 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4640 $as_echo "yes" >&6; }
   4641 	else
   4642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4643 $as_echo "no" >&6; }
   4644 		PKG_CONFIG=""
   4645 	fi
   4646 
   4647 fi
   4648 # Make sure we can run config.sub.
   4649 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4650   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4651 
   4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4653 $as_echo_n "checking build system type... " >&6; }
   4654 if ${ac_cv_build+:} false; then :
   4655   $as_echo_n "(cached) " >&6
   4656 else
   4657   ac_build_alias=$build_alias
   4658 test "x$ac_build_alias" = x &&
   4659   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4660 test "x$ac_build_alias" = x &&
   4661   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4662 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4663   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4664 
   4665 fi
   4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4667 $as_echo "$ac_cv_build" >&6; }
   4668 case $ac_cv_build in
   4669 *-*-*) ;;
   4670 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4671 esac
   4672 build=$ac_cv_build
   4673 ac_save_IFS=$IFS; IFS='-'
   4674 set x $ac_cv_build
   4675 shift
   4676 build_cpu=$1
   4677 build_vendor=$2
   4678 shift; shift
   4679 # Remember, the first character of IFS is used to create $*,
   4680 # except with old shells:
   4681 build_os=$*
   4682 IFS=$ac_save_IFS
   4683 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4684 
   4685 
   4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4687 $as_echo_n "checking host system type... " >&6; }
   4688 if ${ac_cv_host+:} false; then :
   4689   $as_echo_n "(cached) " >&6
   4690 else
   4691   if test "x$host_alias" = x; then
   4692   ac_cv_host=$ac_cv_build
   4693 else
   4694   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4695     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4696 fi
   4697 
   4698 fi
   4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4700 $as_echo "$ac_cv_host" >&6; }
   4701 case $ac_cv_host in
   4702 *-*-*) ;;
   4703 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4704 esac
   4705 host=$ac_cv_host
   4706 ac_save_IFS=$IFS; IFS='-'
   4707 set x $ac_cv_host
   4708 shift
   4709 host_cpu=$1
   4710 host_vendor=$2
   4711 shift; shift
   4712 # Remember, the first character of IFS is used to create $*,
   4713 # except with old shells:
   4714 host_os=$*
   4715 IFS=$ac_save_IFS
   4716 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4717 
   4718 
   4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4720 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4721 if ${ac_cv_path_SED+:} false; then :
   4722   $as_echo_n "(cached) " >&6
   4723 else
   4724             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4725      for ac_i in 1 2 3 4 5 6 7; do
   4726        ac_script="$ac_script$as_nl$ac_script"
   4727      done
   4728      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4729      { ac_script=; unset ac_script;}
   4730      if test -z "$SED"; then
   4731   ac_path_SED_found=false
   4732   # Loop through the user's path and test for each of PROGNAME-LIST
   4733   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4734 for as_dir in $PATH
   4735 do
   4736   IFS=$as_save_IFS
   4737   test -z "$as_dir" && as_dir=.
   4738     for ac_prog in sed gsed; do
   4739     for ac_exec_ext in '' $ac_executable_extensions; do
   4740       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4741       as_fn_executable_p "$ac_path_SED" || continue
   4742 # Check for GNU ac_path_SED and select it if it is found.
   4743   # Check for GNU $ac_path_SED
   4744 case `"$ac_path_SED" --version 2>&1` in
   4745 *GNU*)
   4746   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4747 *)
   4748   ac_count=0
   4749   $as_echo_n 0123456789 >"conftest.in"
   4750   while :
   4751   do
   4752     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4753     mv "conftest.tmp" "conftest.in"
   4754     cp "conftest.in" "conftest.nl"
   4755     $as_echo '' >> "conftest.nl"
   4756     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4757     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4758     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4759     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4760       # Best one so far, save it but keep looking for a better one
   4761       ac_cv_path_SED="$ac_path_SED"
   4762       ac_path_SED_max=$ac_count
   4763     fi
   4764     # 10*(2^10) chars as input seems more than enough
   4765     test $ac_count -gt 10 && break
   4766   done
   4767   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4768 esac
   4769 
   4770       $ac_path_SED_found && break 3
   4771     done
   4772   done
   4773   done
   4774 IFS=$as_save_IFS
   4775   if test -z "$ac_cv_path_SED"; then
   4776     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4777   fi
   4778 else
   4779   ac_cv_path_SED=$SED
   4780 fi
   4781 
   4782 fi
   4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4784 $as_echo "$ac_cv_path_SED" >&6; }
   4785  SED="$ac_cv_path_SED"
   4786   rm -f conftest.sed
   4787 
   4788 
   4789 
   4790 
   4791 
   4792 
   4793 # Check whether --enable-selective-werror was given.
   4794 if test "${enable_selective_werror+set}" = set; then :
   4795   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4796 else
   4797   SELECTIVE_WERROR=yes
   4798 fi
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4805 if test "x$SUNCC" = "xyes"; then
   4806     BASE_CFLAGS="-v"
   4807 else
   4808     BASE_CFLAGS=""
   4809 fi
   4810 
   4811 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 
   4823 
   4824 
   4825 xorg_testset_save_CFLAGS="$CFLAGS"
   4826 
   4827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4830 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4831 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4832   $as_echo_n "(cached) " >&6
   4833 else
   4834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4835 /* end confdefs.h.  */
   4836 int i;
   4837 _ACEOF
   4838 if ac_fn_c_try_compile "$LINENO"; then :
   4839   xorg_cv_cc_flag_unknown_warning_option=yes
   4840 else
   4841   xorg_cv_cc_flag_unknown_warning_option=no
   4842 fi
   4843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4844 fi
   4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4846 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4847 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4848 	CFLAGS="$xorg_testset_save_CFLAGS"
   4849 fi
   4850 
   4851 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4852 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4853 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4854 	fi
   4855 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4857 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4858 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4859   $as_echo_n "(cached) " >&6
   4860 else
   4861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4862 /* end confdefs.h.  */
   4863 int i;
   4864 _ACEOF
   4865 if ac_fn_c_try_compile "$LINENO"; then :
   4866   xorg_cv_cc_flag_unused_command_line_argument=yes
   4867 else
   4868   xorg_cv_cc_flag_unused_command_line_argument=no
   4869 fi
   4870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4871 fi
   4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4873 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4875 	CFLAGS="$xorg_testset_save_CFLAGS"
   4876 fi
   4877 
   4878 found="no"
   4879 
   4880 	if test $found = "no" ; then
   4881 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4883 		fi
   4884 
   4885 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4887 		fi
   4888 
   4889 		CFLAGS="$CFLAGS -Wall"
   4890 
   4891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4892 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4893 		cacheid=xorg_cv_cc_flag__Wall
   4894 		if eval \${$cacheid+:} false; then :
   4895   $as_echo_n "(cached) " >&6
   4896 else
   4897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4898 /* end confdefs.h.  */
   4899 int i;
   4900 int
   4901 main ()
   4902 {
   4903 
   4904   ;
   4905   return 0;
   4906 }
   4907 _ACEOF
   4908 if ac_fn_c_try_link "$LINENO"; then :
   4909   eval $cacheid=yes
   4910 else
   4911   eval $cacheid=no
   4912 fi
   4913 rm -f core conftest.err conftest.$ac_objext \
   4914     conftest$ac_exeext conftest.$ac_ext
   4915 fi
   4916 
   4917 
   4918 		CFLAGS="$xorg_testset_save_CFLAGS"
   4919 
   4920 		eval supported=\$$cacheid
   4921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4922 $as_echo "$supported" >&6; }
   4923 		if test "$supported" = "yes" ; then
   4924 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4925 			found="yes"
   4926 		fi
   4927 	fi
   4928 
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 xorg_testset_save_CFLAGS="$CFLAGS"
   4944 
   4945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4948 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4949 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4950   $as_echo_n "(cached) " >&6
   4951 else
   4952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4953 /* end confdefs.h.  */
   4954 int i;
   4955 _ACEOF
   4956 if ac_fn_c_try_compile "$LINENO"; then :
   4957   xorg_cv_cc_flag_unknown_warning_option=yes
   4958 else
   4959   xorg_cv_cc_flag_unknown_warning_option=no
   4960 fi
   4961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4962 fi
   4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4964 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4966 	CFLAGS="$xorg_testset_save_CFLAGS"
   4967 fi
   4968 
   4969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4972 	fi
   4973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4975 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4976 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4977   $as_echo_n "(cached) " >&6
   4978 else
   4979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4980 /* end confdefs.h.  */
   4981 int i;
   4982 _ACEOF
   4983 if ac_fn_c_try_compile "$LINENO"; then :
   4984   xorg_cv_cc_flag_unused_command_line_argument=yes
   4985 else
   4986   xorg_cv_cc_flag_unused_command_line_argument=no
   4987 fi
   4988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4989 fi
   4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4991 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4992 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4993 	CFLAGS="$xorg_testset_save_CFLAGS"
   4994 fi
   4995 
   4996 found="no"
   4997 
   4998 	if test $found = "no" ; then
   4999 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5000 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5001 		fi
   5002 
   5003 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5004 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5005 		fi
   5006 
   5007 		CFLAGS="$CFLAGS -Wpointer-arith"
   5008 
   5009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5010 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5011 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5012 		if eval \${$cacheid+:} false; then :
   5013   $as_echo_n "(cached) " >&6
   5014 else
   5015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5016 /* end confdefs.h.  */
   5017 int i;
   5018 int
   5019 main ()
   5020 {
   5021 
   5022   ;
   5023   return 0;
   5024 }
   5025 _ACEOF
   5026 if ac_fn_c_try_link "$LINENO"; then :
   5027   eval $cacheid=yes
   5028 else
   5029   eval $cacheid=no
   5030 fi
   5031 rm -f core conftest.err conftest.$ac_objext \
   5032     conftest$ac_exeext conftest.$ac_ext
   5033 fi
   5034 
   5035 
   5036 		CFLAGS="$xorg_testset_save_CFLAGS"
   5037 
   5038 		eval supported=\$$cacheid
   5039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5040 $as_echo "$supported" >&6; }
   5041 		if test "$supported" = "yes" ; then
   5042 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5043 			found="yes"
   5044 		fi
   5045 	fi
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 
   5061 xorg_testset_save_CFLAGS="$CFLAGS"
   5062 
   5063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5064 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5065 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5066 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5067 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5068   $as_echo_n "(cached) " >&6
   5069 else
   5070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5071 /* end confdefs.h.  */
   5072 int i;
   5073 _ACEOF
   5074 if ac_fn_c_try_compile "$LINENO"; then :
   5075   xorg_cv_cc_flag_unknown_warning_option=yes
   5076 else
   5077   xorg_cv_cc_flag_unknown_warning_option=no
   5078 fi
   5079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5080 fi
   5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5082 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5083 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5084 	CFLAGS="$xorg_testset_save_CFLAGS"
   5085 fi
   5086 
   5087 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5088 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5089 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5090 	fi
   5091 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5093 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5094 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5095   $as_echo_n "(cached) " >&6
   5096 else
   5097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5098 /* end confdefs.h.  */
   5099 int i;
   5100 _ACEOF
   5101 if ac_fn_c_try_compile "$LINENO"; then :
   5102   xorg_cv_cc_flag_unused_command_line_argument=yes
   5103 else
   5104   xorg_cv_cc_flag_unused_command_line_argument=no
   5105 fi
   5106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5107 fi
   5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5109 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5110 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5111 	CFLAGS="$xorg_testset_save_CFLAGS"
   5112 fi
   5113 
   5114 found="no"
   5115 
   5116 	if test $found = "no" ; then
   5117 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5118 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5119 		fi
   5120 
   5121 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5122 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5123 		fi
   5124 
   5125 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5126 
   5127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5128 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5129 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5130 		if eval \${$cacheid+:} false; then :
   5131   $as_echo_n "(cached) " >&6
   5132 else
   5133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5134 /* end confdefs.h.  */
   5135 int i;
   5136 int
   5137 main ()
   5138 {
   5139 
   5140   ;
   5141   return 0;
   5142 }
   5143 _ACEOF
   5144 if ac_fn_c_try_link "$LINENO"; then :
   5145   eval $cacheid=yes
   5146 else
   5147   eval $cacheid=no
   5148 fi
   5149 rm -f core conftest.err conftest.$ac_objext \
   5150     conftest$ac_exeext conftest.$ac_ext
   5151 fi
   5152 
   5153 
   5154 		CFLAGS="$xorg_testset_save_CFLAGS"
   5155 
   5156 		eval supported=\$$cacheid
   5157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5158 $as_echo "$supported" >&6; }
   5159 		if test "$supported" = "yes" ; then
   5160 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5161 			found="yes"
   5162 		fi
   5163 	fi
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 xorg_testset_save_CFLAGS="$CFLAGS"
   5180 
   5181 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5182 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5184 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5185 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5186   $as_echo_n "(cached) " >&6
   5187 else
   5188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5189 /* end confdefs.h.  */
   5190 int i;
   5191 _ACEOF
   5192 if ac_fn_c_try_compile "$LINENO"; then :
   5193   xorg_cv_cc_flag_unknown_warning_option=yes
   5194 else
   5195   xorg_cv_cc_flag_unknown_warning_option=no
   5196 fi
   5197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5198 fi
   5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5200 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5201 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5202 	CFLAGS="$xorg_testset_save_CFLAGS"
   5203 fi
   5204 
   5205 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5206 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5207 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5208 	fi
   5209 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5211 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5212 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5213   $as_echo_n "(cached) " >&6
   5214 else
   5215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5216 /* end confdefs.h.  */
   5217 int i;
   5218 _ACEOF
   5219 if ac_fn_c_try_compile "$LINENO"; then :
   5220   xorg_cv_cc_flag_unused_command_line_argument=yes
   5221 else
   5222   xorg_cv_cc_flag_unused_command_line_argument=no
   5223 fi
   5224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5225 fi
   5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5227 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5228 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5229 	CFLAGS="$xorg_testset_save_CFLAGS"
   5230 fi
   5231 
   5232 found="no"
   5233 
   5234 	if test $found = "no" ; then
   5235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5237 		fi
   5238 
   5239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5241 		fi
   5242 
   5243 		CFLAGS="$CFLAGS -Wformat=2"
   5244 
   5245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5246 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5247 		cacheid=xorg_cv_cc_flag__Wformat_2
   5248 		if eval \${$cacheid+:} false; then :
   5249   $as_echo_n "(cached) " >&6
   5250 else
   5251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5252 /* end confdefs.h.  */
   5253 int i;
   5254 int
   5255 main ()
   5256 {
   5257 
   5258   ;
   5259   return 0;
   5260 }
   5261 _ACEOF
   5262 if ac_fn_c_try_link "$LINENO"; then :
   5263   eval $cacheid=yes
   5264 else
   5265   eval $cacheid=no
   5266 fi
   5267 rm -f core conftest.err conftest.$ac_objext \
   5268     conftest$ac_exeext conftest.$ac_ext
   5269 fi
   5270 
   5271 
   5272 		CFLAGS="$xorg_testset_save_CFLAGS"
   5273 
   5274 		eval supported=\$$cacheid
   5275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5276 $as_echo "$supported" >&6; }
   5277 		if test "$supported" = "yes" ; then
   5278 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5279 			found="yes"
   5280 		fi
   5281 	fi
   5282 
   5283 	if test $found = "no" ; then
   5284 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5285 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5286 		fi
   5287 
   5288 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5289 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5290 		fi
   5291 
   5292 		CFLAGS="$CFLAGS -Wformat"
   5293 
   5294 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5295 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5296 		cacheid=xorg_cv_cc_flag__Wformat
   5297 		if eval \${$cacheid+:} false; then :
   5298   $as_echo_n "(cached) " >&6
   5299 else
   5300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5301 /* end confdefs.h.  */
   5302 int i;
   5303 int
   5304 main ()
   5305 {
   5306 
   5307   ;
   5308   return 0;
   5309 }
   5310 _ACEOF
   5311 if ac_fn_c_try_link "$LINENO"; then :
   5312   eval $cacheid=yes
   5313 else
   5314   eval $cacheid=no
   5315 fi
   5316 rm -f core conftest.err conftest.$ac_objext \
   5317     conftest$ac_exeext conftest.$ac_ext
   5318 fi
   5319 
   5320 
   5321 		CFLAGS="$xorg_testset_save_CFLAGS"
   5322 
   5323 		eval supported=\$$cacheid
   5324 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5325 $as_echo "$supported" >&6; }
   5326 		if test "$supported" = "yes" ; then
   5327 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5328 			found="yes"
   5329 		fi
   5330 	fi
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 xorg_testset_save_CFLAGS="$CFLAGS"
   5349 
   5350 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5351 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5352 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5353 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5354 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5355   $as_echo_n "(cached) " >&6
   5356 else
   5357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5358 /* end confdefs.h.  */
   5359 int i;
   5360 _ACEOF
   5361 if ac_fn_c_try_compile "$LINENO"; then :
   5362   xorg_cv_cc_flag_unknown_warning_option=yes
   5363 else
   5364   xorg_cv_cc_flag_unknown_warning_option=no
   5365 fi
   5366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5367 fi
   5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5369 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5370 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5371 	CFLAGS="$xorg_testset_save_CFLAGS"
   5372 fi
   5373 
   5374 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5375 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5376 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5377 	fi
   5378 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5379 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5380 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5381 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5382   $as_echo_n "(cached) " >&6
   5383 else
   5384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5385 /* end confdefs.h.  */
   5386 int i;
   5387 _ACEOF
   5388 if ac_fn_c_try_compile "$LINENO"; then :
   5389   xorg_cv_cc_flag_unused_command_line_argument=yes
   5390 else
   5391   xorg_cv_cc_flag_unused_command_line_argument=no
   5392 fi
   5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5394 fi
   5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5396 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5397 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5398 	CFLAGS="$xorg_testset_save_CFLAGS"
   5399 fi
   5400 
   5401 found="no"
   5402 
   5403 	if test $found = "no" ; then
   5404 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5405 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5406 		fi
   5407 
   5408 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5409 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5410 		fi
   5411 
   5412 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5413 
   5414 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5415 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5416 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5417 		if eval \${$cacheid+:} false; then :
   5418   $as_echo_n "(cached) " >&6
   5419 else
   5420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5421 /* end confdefs.h.  */
   5422 int i;
   5423 int
   5424 main ()
   5425 {
   5426 
   5427   ;
   5428   return 0;
   5429 }
   5430 _ACEOF
   5431 if ac_fn_c_try_link "$LINENO"; then :
   5432   eval $cacheid=yes
   5433 else
   5434   eval $cacheid=no
   5435 fi
   5436 rm -f core conftest.err conftest.$ac_objext \
   5437     conftest$ac_exeext conftest.$ac_ext
   5438 fi
   5439 
   5440 
   5441 		CFLAGS="$xorg_testset_save_CFLAGS"
   5442 
   5443 		eval supported=\$$cacheid
   5444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5445 $as_echo "$supported" >&6; }
   5446 		if test "$supported" = "yes" ; then
   5447 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5448 			found="yes"
   5449 		fi
   5450 	fi
   5451 
   5452 
   5453 
   5454 
   5455 
   5456 
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 xorg_testset_save_CFLAGS="$CFLAGS"
   5467 
   5468 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5469 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5470 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5471 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5472 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5473   $as_echo_n "(cached) " >&6
   5474 else
   5475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5476 /* end confdefs.h.  */
   5477 int i;
   5478 _ACEOF
   5479 if ac_fn_c_try_compile "$LINENO"; then :
   5480   xorg_cv_cc_flag_unknown_warning_option=yes
   5481 else
   5482   xorg_cv_cc_flag_unknown_warning_option=no
   5483 fi
   5484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5485 fi
   5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5487 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5488 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5489 	CFLAGS="$xorg_testset_save_CFLAGS"
   5490 fi
   5491 
   5492 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5493 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5494 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5495 	fi
   5496 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5497 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5498 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5499 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5500   $as_echo_n "(cached) " >&6
   5501 else
   5502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5503 /* end confdefs.h.  */
   5504 int i;
   5505 _ACEOF
   5506 if ac_fn_c_try_compile "$LINENO"; then :
   5507   xorg_cv_cc_flag_unused_command_line_argument=yes
   5508 else
   5509   xorg_cv_cc_flag_unused_command_line_argument=no
   5510 fi
   5511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5512 fi
   5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5514 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5515 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5516 	CFLAGS="$xorg_testset_save_CFLAGS"
   5517 fi
   5518 
   5519 found="no"
   5520 
   5521 	if test $found = "no" ; then
   5522 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5523 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5524 		fi
   5525 
   5526 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5527 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5528 		fi
   5529 
   5530 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5531 
   5532 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5533 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5534 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5535 		if eval \${$cacheid+:} false; then :
   5536   $as_echo_n "(cached) " >&6
   5537 else
   5538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5539 /* end confdefs.h.  */
   5540 int i;
   5541 int
   5542 main ()
   5543 {
   5544 
   5545   ;
   5546   return 0;
   5547 }
   5548 _ACEOF
   5549 if ac_fn_c_try_link "$LINENO"; then :
   5550   eval $cacheid=yes
   5551 else
   5552   eval $cacheid=no
   5553 fi
   5554 rm -f core conftest.err conftest.$ac_objext \
   5555     conftest$ac_exeext conftest.$ac_ext
   5556 fi
   5557 
   5558 
   5559 		CFLAGS="$xorg_testset_save_CFLAGS"
   5560 
   5561 		eval supported=\$$cacheid
   5562 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5563 $as_echo "$supported" >&6; }
   5564 		if test "$supported" = "yes" ; then
   5565 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5566 			found="yes"
   5567 		fi
   5568 	fi
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 xorg_testset_save_CFLAGS="$CFLAGS"
   5585 
   5586 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5587 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5588 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5589 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5590 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5591   $as_echo_n "(cached) " >&6
   5592 else
   5593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5594 /* end confdefs.h.  */
   5595 int i;
   5596 _ACEOF
   5597 if ac_fn_c_try_compile "$LINENO"; then :
   5598   xorg_cv_cc_flag_unknown_warning_option=yes
   5599 else
   5600   xorg_cv_cc_flag_unknown_warning_option=no
   5601 fi
   5602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5603 fi
   5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5605 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5606 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5607 	CFLAGS="$xorg_testset_save_CFLAGS"
   5608 fi
   5609 
   5610 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5611 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5612 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5613 	fi
   5614 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5615 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5616 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5617 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5618   $as_echo_n "(cached) " >&6
   5619 else
   5620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5621 /* end confdefs.h.  */
   5622 int i;
   5623 _ACEOF
   5624 if ac_fn_c_try_compile "$LINENO"; then :
   5625   xorg_cv_cc_flag_unused_command_line_argument=yes
   5626 else
   5627   xorg_cv_cc_flag_unused_command_line_argument=no
   5628 fi
   5629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5630 fi
   5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5632 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5633 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5634 	CFLAGS="$xorg_testset_save_CFLAGS"
   5635 fi
   5636 
   5637 found="no"
   5638 
   5639 	if test $found = "no" ; then
   5640 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5641 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5642 		fi
   5643 
   5644 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5645 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5646 		fi
   5647 
   5648 		CFLAGS="$CFLAGS -Wnested-externs"
   5649 
   5650 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5651 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5652 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5653 		if eval \${$cacheid+:} false; then :
   5654   $as_echo_n "(cached) " >&6
   5655 else
   5656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5657 /* end confdefs.h.  */
   5658 int i;
   5659 int
   5660 main ()
   5661 {
   5662 
   5663   ;
   5664   return 0;
   5665 }
   5666 _ACEOF
   5667 if ac_fn_c_try_link "$LINENO"; then :
   5668   eval $cacheid=yes
   5669 else
   5670   eval $cacheid=no
   5671 fi
   5672 rm -f core conftest.err conftest.$ac_objext \
   5673     conftest$ac_exeext conftest.$ac_ext
   5674 fi
   5675 
   5676 
   5677 		CFLAGS="$xorg_testset_save_CFLAGS"
   5678 
   5679 		eval supported=\$$cacheid
   5680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5681 $as_echo "$supported" >&6; }
   5682 		if test "$supported" = "yes" ; then
   5683 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5684 			found="yes"
   5685 		fi
   5686 	fi
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 xorg_testset_save_CFLAGS="$CFLAGS"
   5703 
   5704 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5705 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5706 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5707 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5708 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5709   $as_echo_n "(cached) " >&6
   5710 else
   5711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5712 /* end confdefs.h.  */
   5713 int i;
   5714 _ACEOF
   5715 if ac_fn_c_try_compile "$LINENO"; then :
   5716   xorg_cv_cc_flag_unknown_warning_option=yes
   5717 else
   5718   xorg_cv_cc_flag_unknown_warning_option=no
   5719 fi
   5720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5721 fi
   5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5723 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5724 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5725 	CFLAGS="$xorg_testset_save_CFLAGS"
   5726 fi
   5727 
   5728 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5729 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5730 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5731 	fi
   5732 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5733 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5734 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5735 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5736   $as_echo_n "(cached) " >&6
   5737 else
   5738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5739 /* end confdefs.h.  */
   5740 int i;
   5741 _ACEOF
   5742 if ac_fn_c_try_compile "$LINENO"; then :
   5743   xorg_cv_cc_flag_unused_command_line_argument=yes
   5744 else
   5745   xorg_cv_cc_flag_unused_command_line_argument=no
   5746 fi
   5747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5748 fi
   5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5750 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5751 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5752 	CFLAGS="$xorg_testset_save_CFLAGS"
   5753 fi
   5754 
   5755 found="no"
   5756 
   5757 	if test $found = "no" ; then
   5758 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5759 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5760 		fi
   5761 
   5762 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5763 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5764 		fi
   5765 
   5766 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5767 
   5768 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5769 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5770 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5771 		if eval \${$cacheid+:} false; then :
   5772   $as_echo_n "(cached) " >&6
   5773 else
   5774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5775 /* end confdefs.h.  */
   5776 int i;
   5777 int
   5778 main ()
   5779 {
   5780 
   5781   ;
   5782   return 0;
   5783 }
   5784 _ACEOF
   5785 if ac_fn_c_try_link "$LINENO"; then :
   5786   eval $cacheid=yes
   5787 else
   5788   eval $cacheid=no
   5789 fi
   5790 rm -f core conftest.err conftest.$ac_objext \
   5791     conftest$ac_exeext conftest.$ac_ext
   5792 fi
   5793 
   5794 
   5795 		CFLAGS="$xorg_testset_save_CFLAGS"
   5796 
   5797 		eval supported=\$$cacheid
   5798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5799 $as_echo "$supported" >&6; }
   5800 		if test "$supported" = "yes" ; then
   5801 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5802 			found="yes"
   5803 		fi
   5804 	fi
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 xorg_testset_save_CFLAGS="$CFLAGS"
   5821 
   5822 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5823 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5825 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5826 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5827   $as_echo_n "(cached) " >&6
   5828 else
   5829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5830 /* end confdefs.h.  */
   5831 int i;
   5832 _ACEOF
   5833 if ac_fn_c_try_compile "$LINENO"; then :
   5834   xorg_cv_cc_flag_unknown_warning_option=yes
   5835 else
   5836   xorg_cv_cc_flag_unknown_warning_option=no
   5837 fi
   5838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5839 fi
   5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5841 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5842 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5843 	CFLAGS="$xorg_testset_save_CFLAGS"
   5844 fi
   5845 
   5846 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5847 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5848 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5849 	fi
   5850 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5851 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5852 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5853 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5854   $as_echo_n "(cached) " >&6
   5855 else
   5856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5857 /* end confdefs.h.  */
   5858 int i;
   5859 _ACEOF
   5860 if ac_fn_c_try_compile "$LINENO"; then :
   5861   xorg_cv_cc_flag_unused_command_line_argument=yes
   5862 else
   5863   xorg_cv_cc_flag_unused_command_line_argument=no
   5864 fi
   5865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5866 fi
   5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5868 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5869 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5870 	CFLAGS="$xorg_testset_save_CFLAGS"
   5871 fi
   5872 
   5873 found="no"
   5874 
   5875 	if test $found = "no" ; then
   5876 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5877 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5878 		fi
   5879 
   5880 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5881 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5882 		fi
   5883 
   5884 		CFLAGS="$CFLAGS -Wold-style-definition"
   5885 
   5886 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5887 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5888 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5889 		if eval \${$cacheid+:} false; then :
   5890   $as_echo_n "(cached) " >&6
   5891 else
   5892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5893 /* end confdefs.h.  */
   5894 int i;
   5895 int
   5896 main ()
   5897 {
   5898 
   5899   ;
   5900   return 0;
   5901 }
   5902 _ACEOF
   5903 if ac_fn_c_try_link "$LINENO"; then :
   5904   eval $cacheid=yes
   5905 else
   5906   eval $cacheid=no
   5907 fi
   5908 rm -f core conftest.err conftest.$ac_objext \
   5909     conftest$ac_exeext conftest.$ac_ext
   5910 fi
   5911 
   5912 
   5913 		CFLAGS="$xorg_testset_save_CFLAGS"
   5914 
   5915 		eval supported=\$$cacheid
   5916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5917 $as_echo "$supported" >&6; }
   5918 		if test "$supported" = "yes" ; then
   5919 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5920 			found="yes"
   5921 		fi
   5922 	fi
   5923 
   5924 	if test $found = "no" ; then
   5925 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5926 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5927 		fi
   5928 
   5929 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5930 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5931 		fi
   5932 
   5933 		CFLAGS="$CFLAGS -fd"
   5934 
   5935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5936 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5937 		cacheid=xorg_cv_cc_flag__fd
   5938 		if eval \${$cacheid+:} false; then :
   5939   $as_echo_n "(cached) " >&6
   5940 else
   5941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5942 /* end confdefs.h.  */
   5943 int i;
   5944 int
   5945 main ()
   5946 {
   5947 
   5948   ;
   5949   return 0;
   5950 }
   5951 _ACEOF
   5952 if ac_fn_c_try_link "$LINENO"; then :
   5953   eval $cacheid=yes
   5954 else
   5955   eval $cacheid=no
   5956 fi
   5957 rm -f core conftest.err conftest.$ac_objext \
   5958     conftest$ac_exeext conftest.$ac_ext
   5959 fi
   5960 
   5961 
   5962 		CFLAGS="$xorg_testset_save_CFLAGS"
   5963 
   5964 		eval supported=\$$cacheid
   5965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5966 $as_echo "$supported" >&6; }
   5967 		if test "$supported" = "yes" ; then
   5968 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5969 			found="yes"
   5970 		fi
   5971 	fi
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 xorg_testset_save_CFLAGS="$CFLAGS"
   5988 
   5989 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5990 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5991 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5992 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5993 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5994   $as_echo_n "(cached) " >&6
   5995 else
   5996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5997 /* end confdefs.h.  */
   5998 int i;
   5999 _ACEOF
   6000 if ac_fn_c_try_compile "$LINENO"; then :
   6001   xorg_cv_cc_flag_unknown_warning_option=yes
   6002 else
   6003   xorg_cv_cc_flag_unknown_warning_option=no
   6004 fi
   6005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6006 fi
   6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6008 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6009 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6010 	CFLAGS="$xorg_testset_save_CFLAGS"
   6011 fi
   6012 
   6013 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6014 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6015 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6016 	fi
   6017 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6018 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6019 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6020 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6021   $as_echo_n "(cached) " >&6
   6022 else
   6023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6024 /* end confdefs.h.  */
   6025 int i;
   6026 _ACEOF
   6027 if ac_fn_c_try_compile "$LINENO"; then :
   6028   xorg_cv_cc_flag_unused_command_line_argument=yes
   6029 else
   6030   xorg_cv_cc_flag_unused_command_line_argument=no
   6031 fi
   6032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6033 fi
   6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6035 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6036 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6037 	CFLAGS="$xorg_testset_save_CFLAGS"
   6038 fi
   6039 
   6040 found="no"
   6041 
   6042 	if test $found = "no" ; then
   6043 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6044 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6045 		fi
   6046 
   6047 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6048 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6049 		fi
   6050 
   6051 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6052 
   6053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6054 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6055 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6056 		if eval \${$cacheid+:} false; then :
   6057   $as_echo_n "(cached) " >&6
   6058 else
   6059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6060 /* end confdefs.h.  */
   6061 int i;
   6062 int
   6063 main ()
   6064 {
   6065 
   6066   ;
   6067   return 0;
   6068 }
   6069 _ACEOF
   6070 if ac_fn_c_try_link "$LINENO"; then :
   6071   eval $cacheid=yes
   6072 else
   6073   eval $cacheid=no
   6074 fi
   6075 rm -f core conftest.err conftest.$ac_objext \
   6076     conftest$ac_exeext conftest.$ac_ext
   6077 fi
   6078 
   6079 
   6080 		CFLAGS="$xorg_testset_save_CFLAGS"
   6081 
   6082 		eval supported=\$$cacheid
   6083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6084 $as_echo "$supported" >&6; }
   6085 		if test "$supported" = "yes" ; then
   6086 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6087 			found="yes"
   6088 		fi
   6089 	fi
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 # This chunk adds additional warnings that could catch undesired effects.
   6096 
   6097 
   6098 
   6099 
   6100 
   6101 
   6102 
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 xorg_testset_save_CFLAGS="$CFLAGS"
   6110 
   6111 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6112 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6114 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6115 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6116   $as_echo_n "(cached) " >&6
   6117 else
   6118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6119 /* end confdefs.h.  */
   6120 int i;
   6121 _ACEOF
   6122 if ac_fn_c_try_compile "$LINENO"; then :
   6123   xorg_cv_cc_flag_unknown_warning_option=yes
   6124 else
   6125   xorg_cv_cc_flag_unknown_warning_option=no
   6126 fi
   6127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6128 fi
   6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6130 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6131 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6132 	CFLAGS="$xorg_testset_save_CFLAGS"
   6133 fi
   6134 
   6135 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6136 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6137 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6138 	fi
   6139 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6140 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6141 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6142 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6143   $as_echo_n "(cached) " >&6
   6144 else
   6145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6146 /* end confdefs.h.  */
   6147 int i;
   6148 _ACEOF
   6149 if ac_fn_c_try_compile "$LINENO"; then :
   6150   xorg_cv_cc_flag_unused_command_line_argument=yes
   6151 else
   6152   xorg_cv_cc_flag_unused_command_line_argument=no
   6153 fi
   6154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6155 fi
   6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6157 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6159 	CFLAGS="$xorg_testset_save_CFLAGS"
   6160 fi
   6161 
   6162 found="no"
   6163 
   6164 	if test $found = "no" ; then
   6165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6167 		fi
   6168 
   6169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6171 		fi
   6172 
   6173 		CFLAGS="$CFLAGS -Wunused"
   6174 
   6175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6176 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6177 		cacheid=xorg_cv_cc_flag__Wunused
   6178 		if eval \${$cacheid+:} false; then :
   6179   $as_echo_n "(cached) " >&6
   6180 else
   6181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6182 /* end confdefs.h.  */
   6183 int i;
   6184 int
   6185 main ()
   6186 {
   6187 
   6188   ;
   6189   return 0;
   6190 }
   6191 _ACEOF
   6192 if ac_fn_c_try_link "$LINENO"; then :
   6193   eval $cacheid=yes
   6194 else
   6195   eval $cacheid=no
   6196 fi
   6197 rm -f core conftest.err conftest.$ac_objext \
   6198     conftest$ac_exeext conftest.$ac_ext
   6199 fi
   6200 
   6201 
   6202 		CFLAGS="$xorg_testset_save_CFLAGS"
   6203 
   6204 		eval supported=\$$cacheid
   6205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6206 $as_echo "$supported" >&6; }
   6207 		if test "$supported" = "yes" ; then
   6208 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6209 			found="yes"
   6210 		fi
   6211 	fi
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 xorg_testset_save_CFLAGS="$CFLAGS"
   6228 
   6229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6232 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6233 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6234   $as_echo_n "(cached) " >&6
   6235 else
   6236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6237 /* end confdefs.h.  */
   6238 int i;
   6239 _ACEOF
   6240 if ac_fn_c_try_compile "$LINENO"; then :
   6241   xorg_cv_cc_flag_unknown_warning_option=yes
   6242 else
   6243   xorg_cv_cc_flag_unknown_warning_option=no
   6244 fi
   6245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6246 fi
   6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6248 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6249 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6250 	CFLAGS="$xorg_testset_save_CFLAGS"
   6251 fi
   6252 
   6253 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6254 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6255 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6256 	fi
   6257 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6258 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6259 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6260 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6261   $as_echo_n "(cached) " >&6
   6262 else
   6263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6264 /* end confdefs.h.  */
   6265 int i;
   6266 _ACEOF
   6267 if ac_fn_c_try_compile "$LINENO"; then :
   6268   xorg_cv_cc_flag_unused_command_line_argument=yes
   6269 else
   6270   xorg_cv_cc_flag_unused_command_line_argument=no
   6271 fi
   6272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6273 fi
   6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6275 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6277 	CFLAGS="$xorg_testset_save_CFLAGS"
   6278 fi
   6279 
   6280 found="no"
   6281 
   6282 	if test $found = "no" ; then
   6283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6285 		fi
   6286 
   6287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6289 		fi
   6290 
   6291 		CFLAGS="$CFLAGS -Wuninitialized"
   6292 
   6293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6294 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6295 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6296 		if eval \${$cacheid+:} false; then :
   6297   $as_echo_n "(cached) " >&6
   6298 else
   6299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6300 /* end confdefs.h.  */
   6301 int i;
   6302 int
   6303 main ()
   6304 {
   6305 
   6306   ;
   6307   return 0;
   6308 }
   6309 _ACEOF
   6310 if ac_fn_c_try_link "$LINENO"; then :
   6311   eval $cacheid=yes
   6312 else
   6313   eval $cacheid=no
   6314 fi
   6315 rm -f core conftest.err conftest.$ac_objext \
   6316     conftest$ac_exeext conftest.$ac_ext
   6317 fi
   6318 
   6319 
   6320 		CFLAGS="$xorg_testset_save_CFLAGS"
   6321 
   6322 		eval supported=\$$cacheid
   6323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6324 $as_echo "$supported" >&6; }
   6325 		if test "$supported" = "yes" ; then
   6326 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6327 			found="yes"
   6328 		fi
   6329 	fi
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 xorg_testset_save_CFLAGS="$CFLAGS"
   6346 
   6347 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6348 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6349 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6350 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6351 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6352   $as_echo_n "(cached) " >&6
   6353 else
   6354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6355 /* end confdefs.h.  */
   6356 int i;
   6357 _ACEOF
   6358 if ac_fn_c_try_compile "$LINENO"; then :
   6359   xorg_cv_cc_flag_unknown_warning_option=yes
   6360 else
   6361   xorg_cv_cc_flag_unknown_warning_option=no
   6362 fi
   6363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6364 fi
   6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6366 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6367 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6368 	CFLAGS="$xorg_testset_save_CFLAGS"
   6369 fi
   6370 
   6371 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6372 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6373 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6374 	fi
   6375 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6376 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6377 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6378 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6379   $as_echo_n "(cached) " >&6
   6380 else
   6381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6382 /* end confdefs.h.  */
   6383 int i;
   6384 _ACEOF
   6385 if ac_fn_c_try_compile "$LINENO"; then :
   6386   xorg_cv_cc_flag_unused_command_line_argument=yes
   6387 else
   6388   xorg_cv_cc_flag_unused_command_line_argument=no
   6389 fi
   6390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6391 fi
   6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6393 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6394 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6395 	CFLAGS="$xorg_testset_save_CFLAGS"
   6396 fi
   6397 
   6398 found="no"
   6399 
   6400 	if test $found = "no" ; then
   6401 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6403 		fi
   6404 
   6405 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6407 		fi
   6408 
   6409 		CFLAGS="$CFLAGS -Wshadow"
   6410 
   6411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6412 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6413 		cacheid=xorg_cv_cc_flag__Wshadow
   6414 		if eval \${$cacheid+:} false; then :
   6415   $as_echo_n "(cached) " >&6
   6416 else
   6417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6418 /* end confdefs.h.  */
   6419 int i;
   6420 int
   6421 main ()
   6422 {
   6423 
   6424   ;
   6425   return 0;
   6426 }
   6427 _ACEOF
   6428 if ac_fn_c_try_link "$LINENO"; then :
   6429   eval $cacheid=yes
   6430 else
   6431   eval $cacheid=no
   6432 fi
   6433 rm -f core conftest.err conftest.$ac_objext \
   6434     conftest$ac_exeext conftest.$ac_ext
   6435 fi
   6436 
   6437 
   6438 		CFLAGS="$xorg_testset_save_CFLAGS"
   6439 
   6440 		eval supported=\$$cacheid
   6441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6442 $as_echo "$supported" >&6; }
   6443 		if test "$supported" = "yes" ; then
   6444 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6445 			found="yes"
   6446 		fi
   6447 	fi
   6448 
   6449 
   6450 
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 xorg_testset_save_CFLAGS="$CFLAGS"
   6464 
   6465 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6466 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6467 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6468 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6469 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6470   $as_echo_n "(cached) " >&6
   6471 else
   6472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6473 /* end confdefs.h.  */
   6474 int i;
   6475 _ACEOF
   6476 if ac_fn_c_try_compile "$LINENO"; then :
   6477   xorg_cv_cc_flag_unknown_warning_option=yes
   6478 else
   6479   xorg_cv_cc_flag_unknown_warning_option=no
   6480 fi
   6481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6482 fi
   6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6484 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6485 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6486 	CFLAGS="$xorg_testset_save_CFLAGS"
   6487 fi
   6488 
   6489 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6490 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6491 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6492 	fi
   6493 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6494 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6495 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6496 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6497   $as_echo_n "(cached) " >&6
   6498 else
   6499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6500 /* end confdefs.h.  */
   6501 int i;
   6502 _ACEOF
   6503 if ac_fn_c_try_compile "$LINENO"; then :
   6504   xorg_cv_cc_flag_unused_command_line_argument=yes
   6505 else
   6506   xorg_cv_cc_flag_unused_command_line_argument=no
   6507 fi
   6508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6509 fi
   6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6511 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6512 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6513 	CFLAGS="$xorg_testset_save_CFLAGS"
   6514 fi
   6515 
   6516 found="no"
   6517 
   6518 	if test $found = "no" ; then
   6519 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6520 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6521 		fi
   6522 
   6523 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6524 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6525 		fi
   6526 
   6527 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6528 
   6529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6530 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6531 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6532 		if eval \${$cacheid+:} false; then :
   6533   $as_echo_n "(cached) " >&6
   6534 else
   6535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6536 /* end confdefs.h.  */
   6537 int i;
   6538 int
   6539 main ()
   6540 {
   6541 
   6542   ;
   6543   return 0;
   6544 }
   6545 _ACEOF
   6546 if ac_fn_c_try_link "$LINENO"; then :
   6547   eval $cacheid=yes
   6548 else
   6549   eval $cacheid=no
   6550 fi
   6551 rm -f core conftest.err conftest.$ac_objext \
   6552     conftest$ac_exeext conftest.$ac_ext
   6553 fi
   6554 
   6555 
   6556 		CFLAGS="$xorg_testset_save_CFLAGS"
   6557 
   6558 		eval supported=\$$cacheid
   6559 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6560 $as_echo "$supported" >&6; }
   6561 		if test "$supported" = "yes" ; then
   6562 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6563 			found="yes"
   6564 		fi
   6565 	fi
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 xorg_testset_save_CFLAGS="$CFLAGS"
   6582 
   6583 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6584 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6585 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6586 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6587 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6588   $as_echo_n "(cached) " >&6
   6589 else
   6590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6591 /* end confdefs.h.  */
   6592 int i;
   6593 _ACEOF
   6594 if ac_fn_c_try_compile "$LINENO"; then :
   6595   xorg_cv_cc_flag_unknown_warning_option=yes
   6596 else
   6597   xorg_cv_cc_flag_unknown_warning_option=no
   6598 fi
   6599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6600 fi
   6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6602 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6603 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6604 	CFLAGS="$xorg_testset_save_CFLAGS"
   6605 fi
   6606 
   6607 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6608 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6609 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6610 	fi
   6611 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6613 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6614 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6615   $as_echo_n "(cached) " >&6
   6616 else
   6617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6618 /* end confdefs.h.  */
   6619 int i;
   6620 _ACEOF
   6621 if ac_fn_c_try_compile "$LINENO"; then :
   6622   xorg_cv_cc_flag_unused_command_line_argument=yes
   6623 else
   6624   xorg_cv_cc_flag_unused_command_line_argument=no
   6625 fi
   6626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6627 fi
   6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6629 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6630 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6631 	CFLAGS="$xorg_testset_save_CFLAGS"
   6632 fi
   6633 
   6634 found="no"
   6635 
   6636 	if test $found = "no" ; then
   6637 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6638 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6639 		fi
   6640 
   6641 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6642 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6643 		fi
   6644 
   6645 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6646 
   6647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6648 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6649 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6650 		if eval \${$cacheid+:} false; then :
   6651   $as_echo_n "(cached) " >&6
   6652 else
   6653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6654 /* end confdefs.h.  */
   6655 int i;
   6656 int
   6657 main ()
   6658 {
   6659 
   6660   ;
   6661   return 0;
   6662 }
   6663 _ACEOF
   6664 if ac_fn_c_try_link "$LINENO"; then :
   6665   eval $cacheid=yes
   6666 else
   6667   eval $cacheid=no
   6668 fi
   6669 rm -f core conftest.err conftest.$ac_objext \
   6670     conftest$ac_exeext conftest.$ac_ext
   6671 fi
   6672 
   6673 
   6674 		CFLAGS="$xorg_testset_save_CFLAGS"
   6675 
   6676 		eval supported=\$$cacheid
   6677 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6678 $as_echo "$supported" >&6; }
   6679 		if test "$supported" = "yes" ; then
   6680 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6681 			found="yes"
   6682 		fi
   6683 	fi
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 xorg_testset_save_CFLAGS="$CFLAGS"
   6700 
   6701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6704 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6705 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6706   $as_echo_n "(cached) " >&6
   6707 else
   6708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6709 /* end confdefs.h.  */
   6710 int i;
   6711 _ACEOF
   6712 if ac_fn_c_try_compile "$LINENO"; then :
   6713   xorg_cv_cc_flag_unknown_warning_option=yes
   6714 else
   6715   xorg_cv_cc_flag_unknown_warning_option=no
   6716 fi
   6717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6718 fi
   6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6720 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6722 	CFLAGS="$xorg_testset_save_CFLAGS"
   6723 fi
   6724 
   6725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6728 	fi
   6729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6731 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6732 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6733   $as_echo_n "(cached) " >&6
   6734 else
   6735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6736 /* end confdefs.h.  */
   6737 int i;
   6738 _ACEOF
   6739 if ac_fn_c_try_compile "$LINENO"; then :
   6740   xorg_cv_cc_flag_unused_command_line_argument=yes
   6741 else
   6742   xorg_cv_cc_flag_unused_command_line_argument=no
   6743 fi
   6744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6745 fi
   6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6747 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6749 	CFLAGS="$xorg_testset_save_CFLAGS"
   6750 fi
   6751 
   6752 found="no"
   6753 
   6754 	if test $found = "no" ; then
   6755 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6757 		fi
   6758 
   6759 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6761 		fi
   6762 
   6763 		CFLAGS="$CFLAGS -Wredundant-decls"
   6764 
   6765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6766 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6767 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6768 		if eval \${$cacheid+:} false; then :
   6769   $as_echo_n "(cached) " >&6
   6770 else
   6771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6772 /* end confdefs.h.  */
   6773 int i;
   6774 int
   6775 main ()
   6776 {
   6777 
   6778   ;
   6779   return 0;
   6780 }
   6781 _ACEOF
   6782 if ac_fn_c_try_link "$LINENO"; then :
   6783   eval $cacheid=yes
   6784 else
   6785   eval $cacheid=no
   6786 fi
   6787 rm -f core conftest.err conftest.$ac_objext \
   6788     conftest$ac_exeext conftest.$ac_ext
   6789 fi
   6790 
   6791 
   6792 		CFLAGS="$xorg_testset_save_CFLAGS"
   6793 
   6794 		eval supported=\$$cacheid
   6795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6796 $as_echo "$supported" >&6; }
   6797 		if test "$supported" = "yes" ; then
   6798 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6799 			found="yes"
   6800 		fi
   6801 	fi
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 xorg_testset_save_CFLAGS="$CFLAGS"
   6818 
   6819 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6820 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6821 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6822 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6823 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6824   $as_echo_n "(cached) " >&6
   6825 else
   6826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6827 /* end confdefs.h.  */
   6828 int i;
   6829 _ACEOF
   6830 if ac_fn_c_try_compile "$LINENO"; then :
   6831   xorg_cv_cc_flag_unknown_warning_option=yes
   6832 else
   6833   xorg_cv_cc_flag_unknown_warning_option=no
   6834 fi
   6835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6836 fi
   6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6838 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6839 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6840 	CFLAGS="$xorg_testset_save_CFLAGS"
   6841 fi
   6842 
   6843 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6844 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6845 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6846 	fi
   6847 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6848 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6849 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6850 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6851   $as_echo_n "(cached) " >&6
   6852 else
   6853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6854 /* end confdefs.h.  */
   6855 int i;
   6856 _ACEOF
   6857 if ac_fn_c_try_compile "$LINENO"; then :
   6858   xorg_cv_cc_flag_unused_command_line_argument=yes
   6859 else
   6860   xorg_cv_cc_flag_unused_command_line_argument=no
   6861 fi
   6862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6863 fi
   6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6865 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6867 	CFLAGS="$xorg_testset_save_CFLAGS"
   6868 fi
   6869 
   6870 found="no"
   6871 
   6872 	if test $found = "no" ; then
   6873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6875 		fi
   6876 
   6877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6879 		fi
   6880 
   6881 		CFLAGS="$CFLAGS -Wlogical-op"
   6882 
   6883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6884 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6885 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6886 		if eval \${$cacheid+:} false; then :
   6887   $as_echo_n "(cached) " >&6
   6888 else
   6889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6890 /* end confdefs.h.  */
   6891 int i;
   6892 int
   6893 main ()
   6894 {
   6895 
   6896   ;
   6897   return 0;
   6898 }
   6899 _ACEOF
   6900 if ac_fn_c_try_link "$LINENO"; then :
   6901   eval $cacheid=yes
   6902 else
   6903   eval $cacheid=no
   6904 fi
   6905 rm -f core conftest.err conftest.$ac_objext \
   6906     conftest$ac_exeext conftest.$ac_ext
   6907 fi
   6908 
   6909 
   6910 		CFLAGS="$xorg_testset_save_CFLAGS"
   6911 
   6912 		eval supported=\$$cacheid
   6913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6914 $as_echo "$supported" >&6; }
   6915 		if test "$supported" = "yes" ; then
   6916 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6917 			found="yes"
   6918 		fi
   6919 	fi
   6920 
   6921 
   6922 
   6923 # These are currently disabled because they are noisy.  They will be enabled
   6924 # in the future once the codebase is sufficiently modernized to silence
   6925 # them.  For now, I don't want them to drown out the other warnings.
   6926 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6927 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6928 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6929 
   6930 # Turn some warnings into errors, so we don't accidently get successful builds
   6931 # when there are problems that should be fixed.
   6932 
   6933 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 xorg_testset_save_CFLAGS="$CFLAGS"
   6948 
   6949 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6950 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6952 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6953 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6954   $as_echo_n "(cached) " >&6
   6955 else
   6956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6957 /* end confdefs.h.  */
   6958 int i;
   6959 _ACEOF
   6960 if ac_fn_c_try_compile "$LINENO"; then :
   6961   xorg_cv_cc_flag_unknown_warning_option=yes
   6962 else
   6963   xorg_cv_cc_flag_unknown_warning_option=no
   6964 fi
   6965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6966 fi
   6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6968 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6970 	CFLAGS="$xorg_testset_save_CFLAGS"
   6971 fi
   6972 
   6973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6976 	fi
   6977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6979 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6980 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6981   $as_echo_n "(cached) " >&6
   6982 else
   6983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6984 /* end confdefs.h.  */
   6985 int i;
   6986 _ACEOF
   6987 if ac_fn_c_try_compile "$LINENO"; then :
   6988   xorg_cv_cc_flag_unused_command_line_argument=yes
   6989 else
   6990   xorg_cv_cc_flag_unused_command_line_argument=no
   6991 fi
   6992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6993 fi
   6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6995 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6997 	CFLAGS="$xorg_testset_save_CFLAGS"
   6998 fi
   6999 
   7000 found="no"
   7001 
   7002 	if test $found = "no" ; then
   7003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7005 		fi
   7006 
   7007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7009 		fi
   7010 
   7011 		CFLAGS="$CFLAGS -Werror=implicit"
   7012 
   7013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7014 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7015 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7016 		if eval \${$cacheid+:} false; then :
   7017   $as_echo_n "(cached) " >&6
   7018 else
   7019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7020 /* end confdefs.h.  */
   7021 int i;
   7022 int
   7023 main ()
   7024 {
   7025 
   7026   ;
   7027   return 0;
   7028 }
   7029 _ACEOF
   7030 if ac_fn_c_try_link "$LINENO"; then :
   7031   eval $cacheid=yes
   7032 else
   7033   eval $cacheid=no
   7034 fi
   7035 rm -f core conftest.err conftest.$ac_objext \
   7036     conftest$ac_exeext conftest.$ac_ext
   7037 fi
   7038 
   7039 
   7040 		CFLAGS="$xorg_testset_save_CFLAGS"
   7041 
   7042 		eval supported=\$$cacheid
   7043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7044 $as_echo "$supported" >&6; }
   7045 		if test "$supported" = "yes" ; then
   7046 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7047 			found="yes"
   7048 		fi
   7049 	fi
   7050 
   7051 	if test $found = "no" ; then
   7052 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7053 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7054 		fi
   7055 
   7056 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7057 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7058 		fi
   7059 
   7060 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7061 
   7062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7063 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7064 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7065 		if eval \${$cacheid+:} false; then :
   7066   $as_echo_n "(cached) " >&6
   7067 else
   7068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7069 /* end confdefs.h.  */
   7070 int i;
   7071 int
   7072 main ()
   7073 {
   7074 
   7075   ;
   7076   return 0;
   7077 }
   7078 _ACEOF
   7079 if ac_fn_c_try_link "$LINENO"; then :
   7080   eval $cacheid=yes
   7081 else
   7082   eval $cacheid=no
   7083 fi
   7084 rm -f core conftest.err conftest.$ac_objext \
   7085     conftest$ac_exeext conftest.$ac_ext
   7086 fi
   7087 
   7088 
   7089 		CFLAGS="$xorg_testset_save_CFLAGS"
   7090 
   7091 		eval supported=\$$cacheid
   7092 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7093 $as_echo "$supported" >&6; }
   7094 		if test "$supported" = "yes" ; then
   7095 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7096 			found="yes"
   7097 		fi
   7098 	fi
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 xorg_testset_save_CFLAGS="$CFLAGS"
   7115 
   7116 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7117 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7118 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7119 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7120 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7121   $as_echo_n "(cached) " >&6
   7122 else
   7123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7124 /* end confdefs.h.  */
   7125 int i;
   7126 _ACEOF
   7127 if ac_fn_c_try_compile "$LINENO"; then :
   7128   xorg_cv_cc_flag_unknown_warning_option=yes
   7129 else
   7130   xorg_cv_cc_flag_unknown_warning_option=no
   7131 fi
   7132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7133 fi
   7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7135 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7136 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7137 	CFLAGS="$xorg_testset_save_CFLAGS"
   7138 fi
   7139 
   7140 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7141 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7142 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7143 	fi
   7144 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7146 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7147 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7148   $as_echo_n "(cached) " >&6
   7149 else
   7150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7151 /* end confdefs.h.  */
   7152 int i;
   7153 _ACEOF
   7154 if ac_fn_c_try_compile "$LINENO"; then :
   7155   xorg_cv_cc_flag_unused_command_line_argument=yes
   7156 else
   7157   xorg_cv_cc_flag_unused_command_line_argument=no
   7158 fi
   7159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7160 fi
   7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7162 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7163 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7164 	CFLAGS="$xorg_testset_save_CFLAGS"
   7165 fi
   7166 
   7167 found="no"
   7168 
   7169 	if test $found = "no" ; then
   7170 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7172 		fi
   7173 
   7174 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7176 		fi
   7177 
   7178 		CFLAGS="$CFLAGS -Werror=nonnull"
   7179 
   7180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7181 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7182 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7183 		if eval \${$cacheid+:} false; then :
   7184   $as_echo_n "(cached) " >&6
   7185 else
   7186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7187 /* end confdefs.h.  */
   7188 int i;
   7189 int
   7190 main ()
   7191 {
   7192 
   7193   ;
   7194   return 0;
   7195 }
   7196 _ACEOF
   7197 if ac_fn_c_try_link "$LINENO"; then :
   7198   eval $cacheid=yes
   7199 else
   7200   eval $cacheid=no
   7201 fi
   7202 rm -f core conftest.err conftest.$ac_objext \
   7203     conftest$ac_exeext conftest.$ac_ext
   7204 fi
   7205 
   7206 
   7207 		CFLAGS="$xorg_testset_save_CFLAGS"
   7208 
   7209 		eval supported=\$$cacheid
   7210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7211 $as_echo "$supported" >&6; }
   7212 		if test "$supported" = "yes" ; then
   7213 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7214 			found="yes"
   7215 		fi
   7216 	fi
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 xorg_testset_save_CFLAGS="$CFLAGS"
   7233 
   7234 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7236 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7237 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7238 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7239   $as_echo_n "(cached) " >&6
   7240 else
   7241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7242 /* end confdefs.h.  */
   7243 int i;
   7244 _ACEOF
   7245 if ac_fn_c_try_compile "$LINENO"; then :
   7246   xorg_cv_cc_flag_unknown_warning_option=yes
   7247 else
   7248   xorg_cv_cc_flag_unknown_warning_option=no
   7249 fi
   7250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7251 fi
   7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7253 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7254 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7255 	CFLAGS="$xorg_testset_save_CFLAGS"
   7256 fi
   7257 
   7258 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7259 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7260 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7261 	fi
   7262 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7264 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7265 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7266   $as_echo_n "(cached) " >&6
   7267 else
   7268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7269 /* end confdefs.h.  */
   7270 int i;
   7271 _ACEOF
   7272 if ac_fn_c_try_compile "$LINENO"; then :
   7273   xorg_cv_cc_flag_unused_command_line_argument=yes
   7274 else
   7275   xorg_cv_cc_flag_unused_command_line_argument=no
   7276 fi
   7277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7278 fi
   7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7280 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7281 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7282 	CFLAGS="$xorg_testset_save_CFLAGS"
   7283 fi
   7284 
   7285 found="no"
   7286 
   7287 	if test $found = "no" ; then
   7288 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7290 		fi
   7291 
   7292 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7294 		fi
   7295 
   7296 		CFLAGS="$CFLAGS -Werror=init-self"
   7297 
   7298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7299 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7300 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7301 		if eval \${$cacheid+:} false; then :
   7302   $as_echo_n "(cached) " >&6
   7303 else
   7304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7305 /* end confdefs.h.  */
   7306 int i;
   7307 int
   7308 main ()
   7309 {
   7310 
   7311   ;
   7312   return 0;
   7313 }
   7314 _ACEOF
   7315 if ac_fn_c_try_link "$LINENO"; then :
   7316   eval $cacheid=yes
   7317 else
   7318   eval $cacheid=no
   7319 fi
   7320 rm -f core conftest.err conftest.$ac_objext \
   7321     conftest$ac_exeext conftest.$ac_ext
   7322 fi
   7323 
   7324 
   7325 		CFLAGS="$xorg_testset_save_CFLAGS"
   7326 
   7327 		eval supported=\$$cacheid
   7328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7329 $as_echo "$supported" >&6; }
   7330 		if test "$supported" = "yes" ; then
   7331 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7332 			found="yes"
   7333 		fi
   7334 	fi
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 xorg_testset_save_CFLAGS="$CFLAGS"
   7351 
   7352 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7353 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7354 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7355 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7356 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7357   $as_echo_n "(cached) " >&6
   7358 else
   7359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7360 /* end confdefs.h.  */
   7361 int i;
   7362 _ACEOF
   7363 if ac_fn_c_try_compile "$LINENO"; then :
   7364   xorg_cv_cc_flag_unknown_warning_option=yes
   7365 else
   7366   xorg_cv_cc_flag_unknown_warning_option=no
   7367 fi
   7368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7369 fi
   7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7371 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7372 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7373 	CFLAGS="$xorg_testset_save_CFLAGS"
   7374 fi
   7375 
   7376 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7377 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7378 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7379 	fi
   7380 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7381 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7382 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7383 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7384   $as_echo_n "(cached) " >&6
   7385 else
   7386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7387 /* end confdefs.h.  */
   7388 int i;
   7389 _ACEOF
   7390 if ac_fn_c_try_compile "$LINENO"; then :
   7391   xorg_cv_cc_flag_unused_command_line_argument=yes
   7392 else
   7393   xorg_cv_cc_flag_unused_command_line_argument=no
   7394 fi
   7395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7396 fi
   7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7398 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7399 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7400 	CFLAGS="$xorg_testset_save_CFLAGS"
   7401 fi
   7402 
   7403 found="no"
   7404 
   7405 	if test $found = "no" ; then
   7406 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7407 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7408 		fi
   7409 
   7410 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7411 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7412 		fi
   7413 
   7414 		CFLAGS="$CFLAGS -Werror=main"
   7415 
   7416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7417 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7418 		cacheid=xorg_cv_cc_flag__Werror_main
   7419 		if eval \${$cacheid+:} false; then :
   7420   $as_echo_n "(cached) " >&6
   7421 else
   7422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7423 /* end confdefs.h.  */
   7424 int i;
   7425 int
   7426 main ()
   7427 {
   7428 
   7429   ;
   7430   return 0;
   7431 }
   7432 _ACEOF
   7433 if ac_fn_c_try_link "$LINENO"; then :
   7434   eval $cacheid=yes
   7435 else
   7436   eval $cacheid=no
   7437 fi
   7438 rm -f core conftest.err conftest.$ac_objext \
   7439     conftest$ac_exeext conftest.$ac_ext
   7440 fi
   7441 
   7442 
   7443 		CFLAGS="$xorg_testset_save_CFLAGS"
   7444 
   7445 		eval supported=\$$cacheid
   7446 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7447 $as_echo "$supported" >&6; }
   7448 		if test "$supported" = "yes" ; then
   7449 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7450 			found="yes"
   7451 		fi
   7452 	fi
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 xorg_testset_save_CFLAGS="$CFLAGS"
   7469 
   7470 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7471 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7472 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7473 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7474 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7475   $as_echo_n "(cached) " >&6
   7476 else
   7477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7478 /* end confdefs.h.  */
   7479 int i;
   7480 _ACEOF
   7481 if ac_fn_c_try_compile "$LINENO"; then :
   7482   xorg_cv_cc_flag_unknown_warning_option=yes
   7483 else
   7484   xorg_cv_cc_flag_unknown_warning_option=no
   7485 fi
   7486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7487 fi
   7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7489 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7490 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7491 	CFLAGS="$xorg_testset_save_CFLAGS"
   7492 fi
   7493 
   7494 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7495 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7496 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7497 	fi
   7498 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7499 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7500 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7501 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7502   $as_echo_n "(cached) " >&6
   7503 else
   7504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7505 /* end confdefs.h.  */
   7506 int i;
   7507 _ACEOF
   7508 if ac_fn_c_try_compile "$LINENO"; then :
   7509   xorg_cv_cc_flag_unused_command_line_argument=yes
   7510 else
   7511   xorg_cv_cc_flag_unused_command_line_argument=no
   7512 fi
   7513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7514 fi
   7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7516 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7517 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7518 	CFLAGS="$xorg_testset_save_CFLAGS"
   7519 fi
   7520 
   7521 found="no"
   7522 
   7523 	if test $found = "no" ; then
   7524 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7526 		fi
   7527 
   7528 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7530 		fi
   7531 
   7532 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7533 
   7534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7535 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7536 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7537 		if eval \${$cacheid+:} false; then :
   7538   $as_echo_n "(cached) " >&6
   7539 else
   7540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7541 /* end confdefs.h.  */
   7542 int i;
   7543 int
   7544 main ()
   7545 {
   7546 
   7547   ;
   7548   return 0;
   7549 }
   7550 _ACEOF
   7551 if ac_fn_c_try_link "$LINENO"; then :
   7552   eval $cacheid=yes
   7553 else
   7554   eval $cacheid=no
   7555 fi
   7556 rm -f core conftest.err conftest.$ac_objext \
   7557     conftest$ac_exeext conftest.$ac_ext
   7558 fi
   7559 
   7560 
   7561 		CFLAGS="$xorg_testset_save_CFLAGS"
   7562 
   7563 		eval supported=\$$cacheid
   7564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7565 $as_echo "$supported" >&6; }
   7566 		if test "$supported" = "yes" ; then
   7567 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7568 			found="yes"
   7569 		fi
   7570 	fi
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 xorg_testset_save_CFLAGS="$CFLAGS"
   7587 
   7588 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7589 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7591 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7592 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7593   $as_echo_n "(cached) " >&6
   7594 else
   7595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7596 /* end confdefs.h.  */
   7597 int i;
   7598 _ACEOF
   7599 if ac_fn_c_try_compile "$LINENO"; then :
   7600   xorg_cv_cc_flag_unknown_warning_option=yes
   7601 else
   7602   xorg_cv_cc_flag_unknown_warning_option=no
   7603 fi
   7604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7605 fi
   7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7607 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7608 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7609 	CFLAGS="$xorg_testset_save_CFLAGS"
   7610 fi
   7611 
   7612 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7613 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7614 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7615 	fi
   7616 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7618 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7619 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7620   $as_echo_n "(cached) " >&6
   7621 else
   7622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7623 /* end confdefs.h.  */
   7624 int i;
   7625 _ACEOF
   7626 if ac_fn_c_try_compile "$LINENO"; then :
   7627   xorg_cv_cc_flag_unused_command_line_argument=yes
   7628 else
   7629   xorg_cv_cc_flag_unused_command_line_argument=no
   7630 fi
   7631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7632 fi
   7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7634 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7635 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7636 	CFLAGS="$xorg_testset_save_CFLAGS"
   7637 fi
   7638 
   7639 found="no"
   7640 
   7641 	if test $found = "no" ; then
   7642 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7643 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7644 		fi
   7645 
   7646 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7647 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7648 		fi
   7649 
   7650 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7651 
   7652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7653 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7654 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7655 		if eval \${$cacheid+:} false; then :
   7656   $as_echo_n "(cached) " >&6
   7657 else
   7658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7659 /* end confdefs.h.  */
   7660 int i;
   7661 int
   7662 main ()
   7663 {
   7664 
   7665   ;
   7666   return 0;
   7667 }
   7668 _ACEOF
   7669 if ac_fn_c_try_link "$LINENO"; then :
   7670   eval $cacheid=yes
   7671 else
   7672   eval $cacheid=no
   7673 fi
   7674 rm -f core conftest.err conftest.$ac_objext \
   7675     conftest$ac_exeext conftest.$ac_ext
   7676 fi
   7677 
   7678 
   7679 		CFLAGS="$xorg_testset_save_CFLAGS"
   7680 
   7681 		eval supported=\$$cacheid
   7682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7683 $as_echo "$supported" >&6; }
   7684 		if test "$supported" = "yes" ; then
   7685 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7686 			found="yes"
   7687 		fi
   7688 	fi
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 xorg_testset_save_CFLAGS="$CFLAGS"
   7705 
   7706 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7707 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7708 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7709 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7710 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7711   $as_echo_n "(cached) " >&6
   7712 else
   7713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7714 /* end confdefs.h.  */
   7715 int i;
   7716 _ACEOF
   7717 if ac_fn_c_try_compile "$LINENO"; then :
   7718   xorg_cv_cc_flag_unknown_warning_option=yes
   7719 else
   7720   xorg_cv_cc_flag_unknown_warning_option=no
   7721 fi
   7722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7723 fi
   7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7725 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7726 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7727 	CFLAGS="$xorg_testset_save_CFLAGS"
   7728 fi
   7729 
   7730 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7731 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7732 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7733 	fi
   7734 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7736 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7737 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7738   $as_echo_n "(cached) " >&6
   7739 else
   7740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7741 /* end confdefs.h.  */
   7742 int i;
   7743 _ACEOF
   7744 if ac_fn_c_try_compile "$LINENO"; then :
   7745   xorg_cv_cc_flag_unused_command_line_argument=yes
   7746 else
   7747   xorg_cv_cc_flag_unused_command_line_argument=no
   7748 fi
   7749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7750 fi
   7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7752 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7753 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7754 	CFLAGS="$xorg_testset_save_CFLAGS"
   7755 fi
   7756 
   7757 found="no"
   7758 
   7759 	if test $found = "no" ; then
   7760 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7761 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7762 		fi
   7763 
   7764 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7765 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7766 		fi
   7767 
   7768 		CFLAGS="$CFLAGS -Werror=return-type"
   7769 
   7770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7771 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7772 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7773 		if eval \${$cacheid+:} false; then :
   7774   $as_echo_n "(cached) " >&6
   7775 else
   7776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7777 /* end confdefs.h.  */
   7778 int i;
   7779 int
   7780 main ()
   7781 {
   7782 
   7783   ;
   7784   return 0;
   7785 }
   7786 _ACEOF
   7787 if ac_fn_c_try_link "$LINENO"; then :
   7788   eval $cacheid=yes
   7789 else
   7790   eval $cacheid=no
   7791 fi
   7792 rm -f core conftest.err conftest.$ac_objext \
   7793     conftest$ac_exeext conftest.$ac_ext
   7794 fi
   7795 
   7796 
   7797 		CFLAGS="$xorg_testset_save_CFLAGS"
   7798 
   7799 		eval supported=\$$cacheid
   7800 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7801 $as_echo "$supported" >&6; }
   7802 		if test "$supported" = "yes" ; then
   7803 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7804 			found="yes"
   7805 		fi
   7806 	fi
   7807 
   7808 	if test $found = "no" ; then
   7809 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7810 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7811 		fi
   7812 
   7813 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7814 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7815 		fi
   7816 
   7817 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7818 
   7819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7820 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7821 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7822 		if eval \${$cacheid+:} false; then :
   7823   $as_echo_n "(cached) " >&6
   7824 else
   7825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7826 /* end confdefs.h.  */
   7827 int i;
   7828 int
   7829 main ()
   7830 {
   7831 
   7832   ;
   7833   return 0;
   7834 }
   7835 _ACEOF
   7836 if ac_fn_c_try_link "$LINENO"; then :
   7837   eval $cacheid=yes
   7838 else
   7839   eval $cacheid=no
   7840 fi
   7841 rm -f core conftest.err conftest.$ac_objext \
   7842     conftest$ac_exeext conftest.$ac_ext
   7843 fi
   7844 
   7845 
   7846 		CFLAGS="$xorg_testset_save_CFLAGS"
   7847 
   7848 		eval supported=\$$cacheid
   7849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7850 $as_echo "$supported" >&6; }
   7851 		if test "$supported" = "yes" ; then
   7852 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7853 			found="yes"
   7854 		fi
   7855 	fi
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 xorg_testset_save_CFLAGS="$CFLAGS"
   7872 
   7873 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7876 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7877 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7878   $as_echo_n "(cached) " >&6
   7879 else
   7880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7881 /* end confdefs.h.  */
   7882 int i;
   7883 _ACEOF
   7884 if ac_fn_c_try_compile "$LINENO"; then :
   7885   xorg_cv_cc_flag_unknown_warning_option=yes
   7886 else
   7887   xorg_cv_cc_flag_unknown_warning_option=no
   7888 fi
   7889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7890 fi
   7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7892 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7894 	CFLAGS="$xorg_testset_save_CFLAGS"
   7895 fi
   7896 
   7897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7900 	fi
   7901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7902 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7903 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7904 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7905   $as_echo_n "(cached) " >&6
   7906 else
   7907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7908 /* end confdefs.h.  */
   7909 int i;
   7910 _ACEOF
   7911 if ac_fn_c_try_compile "$LINENO"; then :
   7912   xorg_cv_cc_flag_unused_command_line_argument=yes
   7913 else
   7914   xorg_cv_cc_flag_unused_command_line_argument=no
   7915 fi
   7916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7917 fi
   7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7919 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7920 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7921 	CFLAGS="$xorg_testset_save_CFLAGS"
   7922 fi
   7923 
   7924 found="no"
   7925 
   7926 	if test $found = "no" ; then
   7927 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7929 		fi
   7930 
   7931 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7933 		fi
   7934 
   7935 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7936 
   7937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7938 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7939 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7940 		if eval \${$cacheid+:} false; then :
   7941   $as_echo_n "(cached) " >&6
   7942 else
   7943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7944 /* end confdefs.h.  */
   7945 int i;
   7946 int
   7947 main ()
   7948 {
   7949 
   7950   ;
   7951   return 0;
   7952 }
   7953 _ACEOF
   7954 if ac_fn_c_try_link "$LINENO"; then :
   7955   eval $cacheid=yes
   7956 else
   7957   eval $cacheid=no
   7958 fi
   7959 rm -f core conftest.err conftest.$ac_objext \
   7960     conftest$ac_exeext conftest.$ac_ext
   7961 fi
   7962 
   7963 
   7964 		CFLAGS="$xorg_testset_save_CFLAGS"
   7965 
   7966 		eval supported=\$$cacheid
   7967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7968 $as_echo "$supported" >&6; }
   7969 		if test "$supported" = "yes" ; then
   7970 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7971 			found="yes"
   7972 		fi
   7973 	fi
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984 
   7985 
   7986 
   7987 
   7988 
   7989 xorg_testset_save_CFLAGS="$CFLAGS"
   7990 
   7991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7993 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7994 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7995 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7996   $as_echo_n "(cached) " >&6
   7997 else
   7998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7999 /* end confdefs.h.  */
   8000 int i;
   8001 _ACEOF
   8002 if ac_fn_c_try_compile "$LINENO"; then :
   8003   xorg_cv_cc_flag_unknown_warning_option=yes
   8004 else
   8005   xorg_cv_cc_flag_unknown_warning_option=no
   8006 fi
   8007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8008 fi
   8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8010 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8011 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8012 	CFLAGS="$xorg_testset_save_CFLAGS"
   8013 fi
   8014 
   8015 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8016 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8017 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8018 	fi
   8019 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8020 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8021 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8022 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8023   $as_echo_n "(cached) " >&6
   8024 else
   8025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8026 /* end confdefs.h.  */
   8027 int i;
   8028 _ACEOF
   8029 if ac_fn_c_try_compile "$LINENO"; then :
   8030   xorg_cv_cc_flag_unused_command_line_argument=yes
   8031 else
   8032   xorg_cv_cc_flag_unused_command_line_argument=no
   8033 fi
   8034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8035 fi
   8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8037 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8038 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8039 	CFLAGS="$xorg_testset_save_CFLAGS"
   8040 fi
   8041 
   8042 found="no"
   8043 
   8044 	if test $found = "no" ; then
   8045 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8046 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8047 		fi
   8048 
   8049 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8050 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8051 		fi
   8052 
   8053 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8054 
   8055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8056 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8057 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8058 		if eval \${$cacheid+:} false; then :
   8059   $as_echo_n "(cached) " >&6
   8060 else
   8061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8062 /* end confdefs.h.  */
   8063 int i;
   8064 int
   8065 main ()
   8066 {
   8067 
   8068   ;
   8069   return 0;
   8070 }
   8071 _ACEOF
   8072 if ac_fn_c_try_link "$LINENO"; then :
   8073   eval $cacheid=yes
   8074 else
   8075   eval $cacheid=no
   8076 fi
   8077 rm -f core conftest.err conftest.$ac_objext \
   8078     conftest$ac_exeext conftest.$ac_ext
   8079 fi
   8080 
   8081 
   8082 		CFLAGS="$xorg_testset_save_CFLAGS"
   8083 
   8084 		eval supported=\$$cacheid
   8085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8086 $as_echo "$supported" >&6; }
   8087 		if test "$supported" = "yes" ; then
   8088 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8089 			found="yes"
   8090 		fi
   8091 	fi
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 xorg_testset_save_CFLAGS="$CFLAGS"
   8108 
   8109 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8110 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8111 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8112 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8113 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8114   $as_echo_n "(cached) " >&6
   8115 else
   8116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8117 /* end confdefs.h.  */
   8118 int i;
   8119 _ACEOF
   8120 if ac_fn_c_try_compile "$LINENO"; then :
   8121   xorg_cv_cc_flag_unknown_warning_option=yes
   8122 else
   8123   xorg_cv_cc_flag_unknown_warning_option=no
   8124 fi
   8125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8126 fi
   8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8128 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8129 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8130 	CFLAGS="$xorg_testset_save_CFLAGS"
   8131 fi
   8132 
   8133 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8134 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8135 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8136 	fi
   8137 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8138 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8139 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8140 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8141   $as_echo_n "(cached) " >&6
   8142 else
   8143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8144 /* end confdefs.h.  */
   8145 int i;
   8146 _ACEOF
   8147 if ac_fn_c_try_compile "$LINENO"; then :
   8148   xorg_cv_cc_flag_unused_command_line_argument=yes
   8149 else
   8150   xorg_cv_cc_flag_unused_command_line_argument=no
   8151 fi
   8152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8153 fi
   8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8155 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8156 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8157 	CFLAGS="$xorg_testset_save_CFLAGS"
   8158 fi
   8159 
   8160 found="no"
   8161 
   8162 	if test $found = "no" ; then
   8163 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8164 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8165 		fi
   8166 
   8167 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8168 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8169 		fi
   8170 
   8171 		CFLAGS="$CFLAGS -Werror=write-strings"
   8172 
   8173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8174 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8175 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8176 		if eval \${$cacheid+:} false; then :
   8177   $as_echo_n "(cached) " >&6
   8178 else
   8179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8180 /* end confdefs.h.  */
   8181 int i;
   8182 int
   8183 main ()
   8184 {
   8185 
   8186   ;
   8187   return 0;
   8188 }
   8189 _ACEOF
   8190 if ac_fn_c_try_link "$LINENO"; then :
   8191   eval $cacheid=yes
   8192 else
   8193   eval $cacheid=no
   8194 fi
   8195 rm -f core conftest.err conftest.$ac_objext \
   8196     conftest$ac_exeext conftest.$ac_ext
   8197 fi
   8198 
   8199 
   8200 		CFLAGS="$xorg_testset_save_CFLAGS"
   8201 
   8202 		eval supported=\$$cacheid
   8203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8204 $as_echo "$supported" >&6; }
   8205 		if test "$supported" = "yes" ; then
   8206 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8207 			found="yes"
   8208 		fi
   8209 	fi
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 xorg_testset_save_CFLAGS="$CFLAGS"
   8226 
   8227 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8228 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8229 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8230 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8231 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8232   $as_echo_n "(cached) " >&6
   8233 else
   8234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8235 /* end confdefs.h.  */
   8236 int i;
   8237 _ACEOF
   8238 if ac_fn_c_try_compile "$LINENO"; then :
   8239   xorg_cv_cc_flag_unknown_warning_option=yes
   8240 else
   8241   xorg_cv_cc_flag_unknown_warning_option=no
   8242 fi
   8243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8244 fi
   8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8246 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8247 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8248 	CFLAGS="$xorg_testset_save_CFLAGS"
   8249 fi
   8250 
   8251 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8252 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8253 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8254 	fi
   8255 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8256 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8257 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8258 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8259   $as_echo_n "(cached) " >&6
   8260 else
   8261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8262 /* end confdefs.h.  */
   8263 int i;
   8264 _ACEOF
   8265 if ac_fn_c_try_compile "$LINENO"; then :
   8266   xorg_cv_cc_flag_unused_command_line_argument=yes
   8267 else
   8268   xorg_cv_cc_flag_unused_command_line_argument=no
   8269 fi
   8270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8271 fi
   8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8273 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8274 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8275 	CFLAGS="$xorg_testset_save_CFLAGS"
   8276 fi
   8277 
   8278 found="no"
   8279 
   8280 	if test $found = "no" ; then
   8281 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8283 		fi
   8284 
   8285 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8287 		fi
   8288 
   8289 		CFLAGS="$CFLAGS -Werror=address"
   8290 
   8291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8292 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8293 		cacheid=xorg_cv_cc_flag__Werror_address
   8294 		if eval \${$cacheid+:} false; then :
   8295   $as_echo_n "(cached) " >&6
   8296 else
   8297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8298 /* end confdefs.h.  */
   8299 int i;
   8300 int
   8301 main ()
   8302 {
   8303 
   8304   ;
   8305   return 0;
   8306 }
   8307 _ACEOF
   8308 if ac_fn_c_try_link "$LINENO"; then :
   8309   eval $cacheid=yes
   8310 else
   8311   eval $cacheid=no
   8312 fi
   8313 rm -f core conftest.err conftest.$ac_objext \
   8314     conftest$ac_exeext conftest.$ac_ext
   8315 fi
   8316 
   8317 
   8318 		CFLAGS="$xorg_testset_save_CFLAGS"
   8319 
   8320 		eval supported=\$$cacheid
   8321 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8322 $as_echo "$supported" >&6; }
   8323 		if test "$supported" = "yes" ; then
   8324 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8325 			found="yes"
   8326 		fi
   8327 	fi
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 xorg_testset_save_CFLAGS="$CFLAGS"
   8344 
   8345 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8346 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8347 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8348 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8349 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8350   $as_echo_n "(cached) " >&6
   8351 else
   8352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8353 /* end confdefs.h.  */
   8354 int i;
   8355 _ACEOF
   8356 if ac_fn_c_try_compile "$LINENO"; then :
   8357   xorg_cv_cc_flag_unknown_warning_option=yes
   8358 else
   8359   xorg_cv_cc_flag_unknown_warning_option=no
   8360 fi
   8361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8362 fi
   8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8364 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8365 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8366 	CFLAGS="$xorg_testset_save_CFLAGS"
   8367 fi
   8368 
   8369 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8370 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8371 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8372 	fi
   8373 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8374 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8375 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8376 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8377   $as_echo_n "(cached) " >&6
   8378 else
   8379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8380 /* end confdefs.h.  */
   8381 int i;
   8382 _ACEOF
   8383 if ac_fn_c_try_compile "$LINENO"; then :
   8384   xorg_cv_cc_flag_unused_command_line_argument=yes
   8385 else
   8386   xorg_cv_cc_flag_unused_command_line_argument=no
   8387 fi
   8388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8389 fi
   8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8391 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8392 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8393 	CFLAGS="$xorg_testset_save_CFLAGS"
   8394 fi
   8395 
   8396 found="no"
   8397 
   8398 	if test $found = "no" ; then
   8399 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8400 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8401 		fi
   8402 
   8403 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8404 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8405 		fi
   8406 
   8407 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8408 
   8409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8410 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8411 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8412 		if eval \${$cacheid+:} false; then :
   8413   $as_echo_n "(cached) " >&6
   8414 else
   8415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8416 /* end confdefs.h.  */
   8417 int i;
   8418 int
   8419 main ()
   8420 {
   8421 
   8422   ;
   8423   return 0;
   8424 }
   8425 _ACEOF
   8426 if ac_fn_c_try_link "$LINENO"; then :
   8427   eval $cacheid=yes
   8428 else
   8429   eval $cacheid=no
   8430 fi
   8431 rm -f core conftest.err conftest.$ac_objext \
   8432     conftest$ac_exeext conftest.$ac_ext
   8433 fi
   8434 
   8435 
   8436 		CFLAGS="$xorg_testset_save_CFLAGS"
   8437 
   8438 		eval supported=\$$cacheid
   8439 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8440 $as_echo "$supported" >&6; }
   8441 		if test "$supported" = "yes" ; then
   8442 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8443 			found="yes"
   8444 		fi
   8445 	fi
   8446 
   8447 	if test $found = "no" ; then
   8448 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8449 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8450 		fi
   8451 
   8452 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8453 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8454 		fi
   8455 
   8456 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8457 
   8458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8459 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8460 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8461 		if eval \${$cacheid+:} false; then :
   8462   $as_echo_n "(cached) " >&6
   8463 else
   8464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8465 /* end confdefs.h.  */
   8466 int i;
   8467 int
   8468 main ()
   8469 {
   8470 
   8471   ;
   8472   return 0;
   8473 }
   8474 _ACEOF
   8475 if ac_fn_c_try_link "$LINENO"; then :
   8476   eval $cacheid=yes
   8477 else
   8478   eval $cacheid=no
   8479 fi
   8480 rm -f core conftest.err conftest.$ac_objext \
   8481     conftest$ac_exeext conftest.$ac_ext
   8482 fi
   8483 
   8484 
   8485 		CFLAGS="$xorg_testset_save_CFLAGS"
   8486 
   8487 		eval supported=\$$cacheid
   8488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8489 $as_echo "$supported" >&6; }
   8490 		if test "$supported" = "yes" ; then
   8491 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8492 			found="yes"
   8493 		fi
   8494 	fi
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 xorg_testset_save_CFLAGS="$CFLAGS"
   8511 
   8512 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8513 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8515 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8516 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8517   $as_echo_n "(cached) " >&6
   8518 else
   8519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8520 /* end confdefs.h.  */
   8521 int i;
   8522 _ACEOF
   8523 if ac_fn_c_try_compile "$LINENO"; then :
   8524   xorg_cv_cc_flag_unknown_warning_option=yes
   8525 else
   8526   xorg_cv_cc_flag_unknown_warning_option=no
   8527 fi
   8528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8529 fi
   8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8531 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8532 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8533 	CFLAGS="$xorg_testset_save_CFLAGS"
   8534 fi
   8535 
   8536 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8537 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8538 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8539 	fi
   8540 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8541 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8542 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8543 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8544   $as_echo_n "(cached) " >&6
   8545 else
   8546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8547 /* end confdefs.h.  */
   8548 int i;
   8549 _ACEOF
   8550 if ac_fn_c_try_compile "$LINENO"; then :
   8551   xorg_cv_cc_flag_unused_command_line_argument=yes
   8552 else
   8553   xorg_cv_cc_flag_unused_command_line_argument=no
   8554 fi
   8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8556 fi
   8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8558 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8559 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8560 	CFLAGS="$xorg_testset_save_CFLAGS"
   8561 fi
   8562 
   8563 found="no"
   8564 
   8565 	if test $found = "no" ; then
   8566 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8567 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8568 		fi
   8569 
   8570 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8571 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8572 		fi
   8573 
   8574 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8575 
   8576 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8577 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8578 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8579 		if eval \${$cacheid+:} false; then :
   8580   $as_echo_n "(cached) " >&6
   8581 else
   8582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8583 /* end confdefs.h.  */
   8584 int i;
   8585 int
   8586 main ()
   8587 {
   8588 
   8589   ;
   8590   return 0;
   8591 }
   8592 _ACEOF
   8593 if ac_fn_c_try_link "$LINENO"; then :
   8594   eval $cacheid=yes
   8595 else
   8596   eval $cacheid=no
   8597 fi
   8598 rm -f core conftest.err conftest.$ac_objext \
   8599     conftest$ac_exeext conftest.$ac_ext
   8600 fi
   8601 
   8602 
   8603 		CFLAGS="$xorg_testset_save_CFLAGS"
   8604 
   8605 		eval supported=\$$cacheid
   8606 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8607 $as_echo "$supported" >&6; }
   8608 		if test "$supported" = "yes" ; then
   8609 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8610 			found="yes"
   8611 		fi
   8612 	fi
   8613 
   8614  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8615 else
   8616 { $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
   8617 $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;}
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 xorg_testset_save_CFLAGS="$CFLAGS"
   8632 
   8633 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8634 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8636 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8637 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8638   $as_echo_n "(cached) " >&6
   8639 else
   8640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8641 /* end confdefs.h.  */
   8642 int i;
   8643 _ACEOF
   8644 if ac_fn_c_try_compile "$LINENO"; then :
   8645   xorg_cv_cc_flag_unknown_warning_option=yes
   8646 else
   8647   xorg_cv_cc_flag_unknown_warning_option=no
   8648 fi
   8649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8650 fi
   8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8652 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8653 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8654 	CFLAGS="$xorg_testset_save_CFLAGS"
   8655 fi
   8656 
   8657 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8658 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8659 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8660 	fi
   8661 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8662 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8663 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8664 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8665   $as_echo_n "(cached) " >&6
   8666 else
   8667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8668 /* end confdefs.h.  */
   8669 int i;
   8670 _ACEOF
   8671 if ac_fn_c_try_compile "$LINENO"; then :
   8672   xorg_cv_cc_flag_unused_command_line_argument=yes
   8673 else
   8674   xorg_cv_cc_flag_unused_command_line_argument=no
   8675 fi
   8676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8677 fi
   8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8679 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8680 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8681 	CFLAGS="$xorg_testset_save_CFLAGS"
   8682 fi
   8683 
   8684 found="no"
   8685 
   8686 	if test $found = "no" ; then
   8687 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8688 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8689 		fi
   8690 
   8691 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8692 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8693 		fi
   8694 
   8695 		CFLAGS="$CFLAGS -Wimplicit"
   8696 
   8697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8698 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8699 		cacheid=xorg_cv_cc_flag__Wimplicit
   8700 		if eval \${$cacheid+:} false; then :
   8701   $as_echo_n "(cached) " >&6
   8702 else
   8703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8704 /* end confdefs.h.  */
   8705 int i;
   8706 int
   8707 main ()
   8708 {
   8709 
   8710   ;
   8711   return 0;
   8712 }
   8713 _ACEOF
   8714 if ac_fn_c_try_link "$LINENO"; then :
   8715   eval $cacheid=yes
   8716 else
   8717   eval $cacheid=no
   8718 fi
   8719 rm -f core conftest.err conftest.$ac_objext \
   8720     conftest$ac_exeext conftest.$ac_ext
   8721 fi
   8722 
   8723 
   8724 		CFLAGS="$xorg_testset_save_CFLAGS"
   8725 
   8726 		eval supported=\$$cacheid
   8727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8728 $as_echo "$supported" >&6; }
   8729 		if test "$supported" = "yes" ; then
   8730 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8731 			found="yes"
   8732 		fi
   8733 	fi
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 
   8747 
   8748 
   8749 xorg_testset_save_CFLAGS="$CFLAGS"
   8750 
   8751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8754 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8755 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8756   $as_echo_n "(cached) " >&6
   8757 else
   8758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8759 /* end confdefs.h.  */
   8760 int i;
   8761 _ACEOF
   8762 if ac_fn_c_try_compile "$LINENO"; then :
   8763   xorg_cv_cc_flag_unknown_warning_option=yes
   8764 else
   8765   xorg_cv_cc_flag_unknown_warning_option=no
   8766 fi
   8767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8768 fi
   8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8770 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8771 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8772 	CFLAGS="$xorg_testset_save_CFLAGS"
   8773 fi
   8774 
   8775 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8776 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8777 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8778 	fi
   8779 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8781 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8782 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8783   $as_echo_n "(cached) " >&6
   8784 else
   8785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8786 /* end confdefs.h.  */
   8787 int i;
   8788 _ACEOF
   8789 if ac_fn_c_try_compile "$LINENO"; then :
   8790   xorg_cv_cc_flag_unused_command_line_argument=yes
   8791 else
   8792   xorg_cv_cc_flag_unused_command_line_argument=no
   8793 fi
   8794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8795 fi
   8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8797 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8799 	CFLAGS="$xorg_testset_save_CFLAGS"
   8800 fi
   8801 
   8802 found="no"
   8803 
   8804 	if test $found = "no" ; then
   8805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8807 		fi
   8808 
   8809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8811 		fi
   8812 
   8813 		CFLAGS="$CFLAGS -Wnonnull"
   8814 
   8815 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8816 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8817 		cacheid=xorg_cv_cc_flag__Wnonnull
   8818 		if eval \${$cacheid+:} false; then :
   8819   $as_echo_n "(cached) " >&6
   8820 else
   8821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8822 /* end confdefs.h.  */
   8823 int i;
   8824 int
   8825 main ()
   8826 {
   8827 
   8828   ;
   8829   return 0;
   8830 }
   8831 _ACEOF
   8832 if ac_fn_c_try_link "$LINENO"; then :
   8833   eval $cacheid=yes
   8834 else
   8835   eval $cacheid=no
   8836 fi
   8837 rm -f core conftest.err conftest.$ac_objext \
   8838     conftest$ac_exeext conftest.$ac_ext
   8839 fi
   8840 
   8841 
   8842 		CFLAGS="$xorg_testset_save_CFLAGS"
   8843 
   8844 		eval supported=\$$cacheid
   8845 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8846 $as_echo "$supported" >&6; }
   8847 		if test "$supported" = "yes" ; then
   8848 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8849 			found="yes"
   8850 		fi
   8851 	fi
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 xorg_testset_save_CFLAGS="$CFLAGS"
   8868 
   8869 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8870 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8871 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8872 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8873 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8874   $as_echo_n "(cached) " >&6
   8875 else
   8876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8877 /* end confdefs.h.  */
   8878 int i;
   8879 _ACEOF
   8880 if ac_fn_c_try_compile "$LINENO"; then :
   8881   xorg_cv_cc_flag_unknown_warning_option=yes
   8882 else
   8883   xorg_cv_cc_flag_unknown_warning_option=no
   8884 fi
   8885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8886 fi
   8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8888 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8889 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8890 	CFLAGS="$xorg_testset_save_CFLAGS"
   8891 fi
   8892 
   8893 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8894 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8895 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8896 	fi
   8897 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8898 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8899 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8900 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8901   $as_echo_n "(cached) " >&6
   8902 else
   8903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8904 /* end confdefs.h.  */
   8905 int i;
   8906 _ACEOF
   8907 if ac_fn_c_try_compile "$LINENO"; then :
   8908   xorg_cv_cc_flag_unused_command_line_argument=yes
   8909 else
   8910   xorg_cv_cc_flag_unused_command_line_argument=no
   8911 fi
   8912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8913 fi
   8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8915 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8916 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8917 	CFLAGS="$xorg_testset_save_CFLAGS"
   8918 fi
   8919 
   8920 found="no"
   8921 
   8922 	if test $found = "no" ; then
   8923 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8924 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8925 		fi
   8926 
   8927 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8928 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8929 		fi
   8930 
   8931 		CFLAGS="$CFLAGS -Winit-self"
   8932 
   8933 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8934 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8935 		cacheid=xorg_cv_cc_flag__Winit_self
   8936 		if eval \${$cacheid+:} false; then :
   8937   $as_echo_n "(cached) " >&6
   8938 else
   8939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8940 /* end confdefs.h.  */
   8941 int i;
   8942 int
   8943 main ()
   8944 {
   8945 
   8946   ;
   8947   return 0;
   8948 }
   8949 _ACEOF
   8950 if ac_fn_c_try_link "$LINENO"; then :
   8951   eval $cacheid=yes
   8952 else
   8953   eval $cacheid=no
   8954 fi
   8955 rm -f core conftest.err conftest.$ac_objext \
   8956     conftest$ac_exeext conftest.$ac_ext
   8957 fi
   8958 
   8959 
   8960 		CFLAGS="$xorg_testset_save_CFLAGS"
   8961 
   8962 		eval supported=\$$cacheid
   8963 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8964 $as_echo "$supported" >&6; }
   8965 		if test "$supported" = "yes" ; then
   8966 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8967 			found="yes"
   8968 		fi
   8969 	fi
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 xorg_testset_save_CFLAGS="$CFLAGS"
   8986 
   8987 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8988 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8990 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8991 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8992   $as_echo_n "(cached) " >&6
   8993 else
   8994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8995 /* end confdefs.h.  */
   8996 int i;
   8997 _ACEOF
   8998 if ac_fn_c_try_compile "$LINENO"; then :
   8999   xorg_cv_cc_flag_unknown_warning_option=yes
   9000 else
   9001   xorg_cv_cc_flag_unknown_warning_option=no
   9002 fi
   9003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9004 fi
   9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9006 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9007 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9008 	CFLAGS="$xorg_testset_save_CFLAGS"
   9009 fi
   9010 
   9011 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9012 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9013 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9014 	fi
   9015 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9017 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9018 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9019   $as_echo_n "(cached) " >&6
   9020 else
   9021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9022 /* end confdefs.h.  */
   9023 int i;
   9024 _ACEOF
   9025 if ac_fn_c_try_compile "$LINENO"; then :
   9026   xorg_cv_cc_flag_unused_command_line_argument=yes
   9027 else
   9028   xorg_cv_cc_flag_unused_command_line_argument=no
   9029 fi
   9030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9031 fi
   9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9033 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9034 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9035 	CFLAGS="$xorg_testset_save_CFLAGS"
   9036 fi
   9037 
   9038 found="no"
   9039 
   9040 	if test $found = "no" ; then
   9041 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9042 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9043 		fi
   9044 
   9045 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9046 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9047 		fi
   9048 
   9049 		CFLAGS="$CFLAGS -Wmain"
   9050 
   9051 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9052 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9053 		cacheid=xorg_cv_cc_flag__Wmain
   9054 		if eval \${$cacheid+:} false; then :
   9055   $as_echo_n "(cached) " >&6
   9056 else
   9057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9058 /* end confdefs.h.  */
   9059 int i;
   9060 int
   9061 main ()
   9062 {
   9063 
   9064   ;
   9065   return 0;
   9066 }
   9067 _ACEOF
   9068 if ac_fn_c_try_link "$LINENO"; then :
   9069   eval $cacheid=yes
   9070 else
   9071   eval $cacheid=no
   9072 fi
   9073 rm -f core conftest.err conftest.$ac_objext \
   9074     conftest$ac_exeext conftest.$ac_ext
   9075 fi
   9076 
   9077 
   9078 		CFLAGS="$xorg_testset_save_CFLAGS"
   9079 
   9080 		eval supported=\$$cacheid
   9081 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9082 $as_echo "$supported" >&6; }
   9083 		if test "$supported" = "yes" ; then
   9084 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9085 			found="yes"
   9086 		fi
   9087 	fi
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 xorg_testset_save_CFLAGS="$CFLAGS"
   9104 
   9105 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9106 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9107 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9108 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9109 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9110   $as_echo_n "(cached) " >&6
   9111 else
   9112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9113 /* end confdefs.h.  */
   9114 int i;
   9115 _ACEOF
   9116 if ac_fn_c_try_compile "$LINENO"; then :
   9117   xorg_cv_cc_flag_unknown_warning_option=yes
   9118 else
   9119   xorg_cv_cc_flag_unknown_warning_option=no
   9120 fi
   9121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9122 fi
   9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9124 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9125 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9126 	CFLAGS="$xorg_testset_save_CFLAGS"
   9127 fi
   9128 
   9129 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9130 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9131 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9132 	fi
   9133 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9134 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9135 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9136 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9137   $as_echo_n "(cached) " >&6
   9138 else
   9139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9140 /* end confdefs.h.  */
   9141 int i;
   9142 _ACEOF
   9143 if ac_fn_c_try_compile "$LINENO"; then :
   9144   xorg_cv_cc_flag_unused_command_line_argument=yes
   9145 else
   9146   xorg_cv_cc_flag_unused_command_line_argument=no
   9147 fi
   9148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9149 fi
   9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9151 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9153 	CFLAGS="$xorg_testset_save_CFLAGS"
   9154 fi
   9155 
   9156 found="no"
   9157 
   9158 	if test $found = "no" ; then
   9159 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9161 		fi
   9162 
   9163 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9165 		fi
   9166 
   9167 		CFLAGS="$CFLAGS -Wmissing-braces"
   9168 
   9169 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9170 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9171 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9172 		if eval \${$cacheid+:} false; then :
   9173   $as_echo_n "(cached) " >&6
   9174 else
   9175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9176 /* end confdefs.h.  */
   9177 int i;
   9178 int
   9179 main ()
   9180 {
   9181 
   9182   ;
   9183   return 0;
   9184 }
   9185 _ACEOF
   9186 if ac_fn_c_try_link "$LINENO"; then :
   9187   eval $cacheid=yes
   9188 else
   9189   eval $cacheid=no
   9190 fi
   9191 rm -f core conftest.err conftest.$ac_objext \
   9192     conftest$ac_exeext conftest.$ac_ext
   9193 fi
   9194 
   9195 
   9196 		CFLAGS="$xorg_testset_save_CFLAGS"
   9197 
   9198 		eval supported=\$$cacheid
   9199 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9200 $as_echo "$supported" >&6; }
   9201 		if test "$supported" = "yes" ; then
   9202 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9203 			found="yes"
   9204 		fi
   9205 	fi
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 xorg_testset_save_CFLAGS="$CFLAGS"
   9222 
   9223 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9224 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9225 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9226 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9227 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9228   $as_echo_n "(cached) " >&6
   9229 else
   9230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9231 /* end confdefs.h.  */
   9232 int i;
   9233 _ACEOF
   9234 if ac_fn_c_try_compile "$LINENO"; then :
   9235   xorg_cv_cc_flag_unknown_warning_option=yes
   9236 else
   9237   xorg_cv_cc_flag_unknown_warning_option=no
   9238 fi
   9239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9240 fi
   9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9242 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9243 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9244 	CFLAGS="$xorg_testset_save_CFLAGS"
   9245 fi
   9246 
   9247 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9248 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9249 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9250 	fi
   9251 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9252 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9253 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9254 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9255   $as_echo_n "(cached) " >&6
   9256 else
   9257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9258 /* end confdefs.h.  */
   9259 int i;
   9260 _ACEOF
   9261 if ac_fn_c_try_compile "$LINENO"; then :
   9262   xorg_cv_cc_flag_unused_command_line_argument=yes
   9263 else
   9264   xorg_cv_cc_flag_unused_command_line_argument=no
   9265 fi
   9266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9267 fi
   9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9269 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9270 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9271 	CFLAGS="$xorg_testset_save_CFLAGS"
   9272 fi
   9273 
   9274 found="no"
   9275 
   9276 	if test $found = "no" ; then
   9277 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9278 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9279 		fi
   9280 
   9281 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9282 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9283 		fi
   9284 
   9285 		CFLAGS="$CFLAGS -Wsequence-point"
   9286 
   9287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9288 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9289 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9290 		if eval \${$cacheid+:} false; then :
   9291   $as_echo_n "(cached) " >&6
   9292 else
   9293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9294 /* end confdefs.h.  */
   9295 int i;
   9296 int
   9297 main ()
   9298 {
   9299 
   9300   ;
   9301   return 0;
   9302 }
   9303 _ACEOF
   9304 if ac_fn_c_try_link "$LINENO"; then :
   9305   eval $cacheid=yes
   9306 else
   9307   eval $cacheid=no
   9308 fi
   9309 rm -f core conftest.err conftest.$ac_objext \
   9310     conftest$ac_exeext conftest.$ac_ext
   9311 fi
   9312 
   9313 
   9314 		CFLAGS="$xorg_testset_save_CFLAGS"
   9315 
   9316 		eval supported=\$$cacheid
   9317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9318 $as_echo "$supported" >&6; }
   9319 		if test "$supported" = "yes" ; then
   9320 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9321 			found="yes"
   9322 		fi
   9323 	fi
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 xorg_testset_save_CFLAGS="$CFLAGS"
   9340 
   9341 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9342 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9343 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9344 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9345 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9346   $as_echo_n "(cached) " >&6
   9347 else
   9348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9349 /* end confdefs.h.  */
   9350 int i;
   9351 _ACEOF
   9352 if ac_fn_c_try_compile "$LINENO"; then :
   9353   xorg_cv_cc_flag_unknown_warning_option=yes
   9354 else
   9355   xorg_cv_cc_flag_unknown_warning_option=no
   9356 fi
   9357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9358 fi
   9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9360 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9361 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9362 	CFLAGS="$xorg_testset_save_CFLAGS"
   9363 fi
   9364 
   9365 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9366 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9367 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9368 	fi
   9369 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9370 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9371 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9372 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9373   $as_echo_n "(cached) " >&6
   9374 else
   9375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9376 /* end confdefs.h.  */
   9377 int i;
   9378 _ACEOF
   9379 if ac_fn_c_try_compile "$LINENO"; then :
   9380   xorg_cv_cc_flag_unused_command_line_argument=yes
   9381 else
   9382   xorg_cv_cc_flag_unused_command_line_argument=no
   9383 fi
   9384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9385 fi
   9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9387 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9389 	CFLAGS="$xorg_testset_save_CFLAGS"
   9390 fi
   9391 
   9392 found="no"
   9393 
   9394 	if test $found = "no" ; then
   9395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9397 		fi
   9398 
   9399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9401 		fi
   9402 
   9403 		CFLAGS="$CFLAGS -Wreturn-type"
   9404 
   9405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9406 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9407 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9408 		if eval \${$cacheid+:} false; then :
   9409   $as_echo_n "(cached) " >&6
   9410 else
   9411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9412 /* end confdefs.h.  */
   9413 int i;
   9414 int
   9415 main ()
   9416 {
   9417 
   9418   ;
   9419   return 0;
   9420 }
   9421 _ACEOF
   9422 if ac_fn_c_try_link "$LINENO"; then :
   9423   eval $cacheid=yes
   9424 else
   9425   eval $cacheid=no
   9426 fi
   9427 rm -f core conftest.err conftest.$ac_objext \
   9428     conftest$ac_exeext conftest.$ac_ext
   9429 fi
   9430 
   9431 
   9432 		CFLAGS="$xorg_testset_save_CFLAGS"
   9433 
   9434 		eval supported=\$$cacheid
   9435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9436 $as_echo "$supported" >&6; }
   9437 		if test "$supported" = "yes" ; then
   9438 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9439 			found="yes"
   9440 		fi
   9441 	fi
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 xorg_testset_save_CFLAGS="$CFLAGS"
   9458 
   9459 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9460 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9461 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9462 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9463 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9464   $as_echo_n "(cached) " >&6
   9465 else
   9466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9467 /* end confdefs.h.  */
   9468 int i;
   9469 _ACEOF
   9470 if ac_fn_c_try_compile "$LINENO"; then :
   9471   xorg_cv_cc_flag_unknown_warning_option=yes
   9472 else
   9473   xorg_cv_cc_flag_unknown_warning_option=no
   9474 fi
   9475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9476 fi
   9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9478 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9479 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9480 	CFLAGS="$xorg_testset_save_CFLAGS"
   9481 fi
   9482 
   9483 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9484 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9485 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9486 	fi
   9487 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9488 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9489 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9490 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9491   $as_echo_n "(cached) " >&6
   9492 else
   9493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9494 /* end confdefs.h.  */
   9495 int i;
   9496 _ACEOF
   9497 if ac_fn_c_try_compile "$LINENO"; then :
   9498   xorg_cv_cc_flag_unused_command_line_argument=yes
   9499 else
   9500   xorg_cv_cc_flag_unused_command_line_argument=no
   9501 fi
   9502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9503 fi
   9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9505 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9506 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9507 	CFLAGS="$xorg_testset_save_CFLAGS"
   9508 fi
   9509 
   9510 found="no"
   9511 
   9512 	if test $found = "no" ; then
   9513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9515 		fi
   9516 
   9517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9519 		fi
   9520 
   9521 		CFLAGS="$CFLAGS -Wtrigraphs"
   9522 
   9523 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9524 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9525 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9526 		if eval \${$cacheid+:} false; then :
   9527   $as_echo_n "(cached) " >&6
   9528 else
   9529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9530 /* end confdefs.h.  */
   9531 int i;
   9532 int
   9533 main ()
   9534 {
   9535 
   9536   ;
   9537   return 0;
   9538 }
   9539 _ACEOF
   9540 if ac_fn_c_try_link "$LINENO"; then :
   9541   eval $cacheid=yes
   9542 else
   9543   eval $cacheid=no
   9544 fi
   9545 rm -f core conftest.err conftest.$ac_objext \
   9546     conftest$ac_exeext conftest.$ac_ext
   9547 fi
   9548 
   9549 
   9550 		CFLAGS="$xorg_testset_save_CFLAGS"
   9551 
   9552 		eval supported=\$$cacheid
   9553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9554 $as_echo "$supported" >&6; }
   9555 		if test "$supported" = "yes" ; then
   9556 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9557 			found="yes"
   9558 		fi
   9559 	fi
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 xorg_testset_save_CFLAGS="$CFLAGS"
   9576 
   9577 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9578 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9580 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9581 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9582   $as_echo_n "(cached) " >&6
   9583 else
   9584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9585 /* end confdefs.h.  */
   9586 int i;
   9587 _ACEOF
   9588 if ac_fn_c_try_compile "$LINENO"; then :
   9589   xorg_cv_cc_flag_unknown_warning_option=yes
   9590 else
   9591   xorg_cv_cc_flag_unknown_warning_option=no
   9592 fi
   9593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9594 fi
   9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9596 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9597 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9598 	CFLAGS="$xorg_testset_save_CFLAGS"
   9599 fi
   9600 
   9601 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9602 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9603 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9604 	fi
   9605 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9607 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9608 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9609   $as_echo_n "(cached) " >&6
   9610 else
   9611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9612 /* end confdefs.h.  */
   9613 int i;
   9614 _ACEOF
   9615 if ac_fn_c_try_compile "$LINENO"; then :
   9616   xorg_cv_cc_flag_unused_command_line_argument=yes
   9617 else
   9618   xorg_cv_cc_flag_unused_command_line_argument=no
   9619 fi
   9620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9621 fi
   9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9623 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9624 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9625 	CFLAGS="$xorg_testset_save_CFLAGS"
   9626 fi
   9627 
   9628 found="no"
   9629 
   9630 	if test $found = "no" ; then
   9631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9633 		fi
   9634 
   9635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9637 		fi
   9638 
   9639 		CFLAGS="$CFLAGS -Warray-bounds"
   9640 
   9641 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9642 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9643 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9644 		if eval \${$cacheid+:} false; then :
   9645   $as_echo_n "(cached) " >&6
   9646 else
   9647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9648 /* end confdefs.h.  */
   9649 int i;
   9650 int
   9651 main ()
   9652 {
   9653 
   9654   ;
   9655   return 0;
   9656 }
   9657 _ACEOF
   9658 if ac_fn_c_try_link "$LINENO"; then :
   9659   eval $cacheid=yes
   9660 else
   9661   eval $cacheid=no
   9662 fi
   9663 rm -f core conftest.err conftest.$ac_objext \
   9664     conftest$ac_exeext conftest.$ac_ext
   9665 fi
   9666 
   9667 
   9668 		CFLAGS="$xorg_testset_save_CFLAGS"
   9669 
   9670 		eval supported=\$$cacheid
   9671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9672 $as_echo "$supported" >&6; }
   9673 		if test "$supported" = "yes" ; then
   9674 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9675 			found="yes"
   9676 		fi
   9677 	fi
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 xorg_testset_save_CFLAGS="$CFLAGS"
   9694 
   9695 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9696 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9697 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9698 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9699 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9700   $as_echo_n "(cached) " >&6
   9701 else
   9702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9703 /* end confdefs.h.  */
   9704 int i;
   9705 _ACEOF
   9706 if ac_fn_c_try_compile "$LINENO"; then :
   9707   xorg_cv_cc_flag_unknown_warning_option=yes
   9708 else
   9709   xorg_cv_cc_flag_unknown_warning_option=no
   9710 fi
   9711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9712 fi
   9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9714 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9715 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9716 	CFLAGS="$xorg_testset_save_CFLAGS"
   9717 fi
   9718 
   9719 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9720 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9721 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9722 	fi
   9723 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9725 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9726 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9727   $as_echo_n "(cached) " >&6
   9728 else
   9729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9730 /* end confdefs.h.  */
   9731 int i;
   9732 _ACEOF
   9733 if ac_fn_c_try_compile "$LINENO"; then :
   9734   xorg_cv_cc_flag_unused_command_line_argument=yes
   9735 else
   9736   xorg_cv_cc_flag_unused_command_line_argument=no
   9737 fi
   9738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9739 fi
   9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9741 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9742 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9743 	CFLAGS="$xorg_testset_save_CFLAGS"
   9744 fi
   9745 
   9746 found="no"
   9747 
   9748 	if test $found = "no" ; then
   9749 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9751 		fi
   9752 
   9753 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9755 		fi
   9756 
   9757 		CFLAGS="$CFLAGS -Wwrite-strings"
   9758 
   9759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9760 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9761 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9762 		if eval \${$cacheid+:} false; then :
   9763   $as_echo_n "(cached) " >&6
   9764 else
   9765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9766 /* end confdefs.h.  */
   9767 int i;
   9768 int
   9769 main ()
   9770 {
   9771 
   9772   ;
   9773   return 0;
   9774 }
   9775 _ACEOF
   9776 if ac_fn_c_try_link "$LINENO"; then :
   9777   eval $cacheid=yes
   9778 else
   9779   eval $cacheid=no
   9780 fi
   9781 rm -f core conftest.err conftest.$ac_objext \
   9782     conftest$ac_exeext conftest.$ac_ext
   9783 fi
   9784 
   9785 
   9786 		CFLAGS="$xorg_testset_save_CFLAGS"
   9787 
   9788 		eval supported=\$$cacheid
   9789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9790 $as_echo "$supported" >&6; }
   9791 		if test "$supported" = "yes" ; then
   9792 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9793 			found="yes"
   9794 		fi
   9795 	fi
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 xorg_testset_save_CFLAGS="$CFLAGS"
   9812 
   9813 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9814 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9815 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9816 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9817 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9818   $as_echo_n "(cached) " >&6
   9819 else
   9820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9821 /* end confdefs.h.  */
   9822 int i;
   9823 _ACEOF
   9824 if ac_fn_c_try_compile "$LINENO"; then :
   9825   xorg_cv_cc_flag_unknown_warning_option=yes
   9826 else
   9827   xorg_cv_cc_flag_unknown_warning_option=no
   9828 fi
   9829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9830 fi
   9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9832 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9833 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9834 	CFLAGS="$xorg_testset_save_CFLAGS"
   9835 fi
   9836 
   9837 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9838 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9839 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9840 	fi
   9841 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9842 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9843 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9844 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9845   $as_echo_n "(cached) " >&6
   9846 else
   9847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9848 /* end confdefs.h.  */
   9849 int i;
   9850 _ACEOF
   9851 if ac_fn_c_try_compile "$LINENO"; then :
   9852   xorg_cv_cc_flag_unused_command_line_argument=yes
   9853 else
   9854   xorg_cv_cc_flag_unused_command_line_argument=no
   9855 fi
   9856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9857 fi
   9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9859 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9860 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9861 	CFLAGS="$xorg_testset_save_CFLAGS"
   9862 fi
   9863 
   9864 found="no"
   9865 
   9866 	if test $found = "no" ; then
   9867 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9868 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9869 		fi
   9870 
   9871 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9872 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9873 		fi
   9874 
   9875 		CFLAGS="$CFLAGS -Waddress"
   9876 
   9877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9878 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9879 		cacheid=xorg_cv_cc_flag__Waddress
   9880 		if eval \${$cacheid+:} false; then :
   9881   $as_echo_n "(cached) " >&6
   9882 else
   9883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9884 /* end confdefs.h.  */
   9885 int i;
   9886 int
   9887 main ()
   9888 {
   9889 
   9890   ;
   9891   return 0;
   9892 }
   9893 _ACEOF
   9894 if ac_fn_c_try_link "$LINENO"; then :
   9895   eval $cacheid=yes
   9896 else
   9897   eval $cacheid=no
   9898 fi
   9899 rm -f core conftest.err conftest.$ac_objext \
   9900     conftest$ac_exeext conftest.$ac_ext
   9901 fi
   9902 
   9903 
   9904 		CFLAGS="$xorg_testset_save_CFLAGS"
   9905 
   9906 		eval supported=\$$cacheid
   9907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9908 $as_echo "$supported" >&6; }
   9909 		if test "$supported" = "yes" ; then
   9910 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9911 			found="yes"
   9912 		fi
   9913 	fi
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 xorg_testset_save_CFLAGS="$CFLAGS"
   9930 
   9931 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9932 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9933 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9934 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9935 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9936   $as_echo_n "(cached) " >&6
   9937 else
   9938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9939 /* end confdefs.h.  */
   9940 int i;
   9941 _ACEOF
   9942 if ac_fn_c_try_compile "$LINENO"; then :
   9943   xorg_cv_cc_flag_unknown_warning_option=yes
   9944 else
   9945   xorg_cv_cc_flag_unknown_warning_option=no
   9946 fi
   9947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9948 fi
   9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9950 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9951 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9952 	CFLAGS="$xorg_testset_save_CFLAGS"
   9953 fi
   9954 
   9955 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9956 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9957 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9958 	fi
   9959 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9960 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9961 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9962 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9963   $as_echo_n "(cached) " >&6
   9964 else
   9965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9966 /* end confdefs.h.  */
   9967 int i;
   9968 _ACEOF
   9969 if ac_fn_c_try_compile "$LINENO"; then :
   9970   xorg_cv_cc_flag_unused_command_line_argument=yes
   9971 else
   9972   xorg_cv_cc_flag_unused_command_line_argument=no
   9973 fi
   9974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9975 fi
   9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9977 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9978 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9979 	CFLAGS="$xorg_testset_save_CFLAGS"
   9980 fi
   9981 
   9982 found="no"
   9983 
   9984 	if test $found = "no" ; then
   9985 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9986 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9987 		fi
   9988 
   9989 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9990 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9991 		fi
   9992 
   9993 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9994 
   9995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9996 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9997 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9998 		if eval \${$cacheid+:} false; then :
   9999   $as_echo_n "(cached) " >&6
   10000 else
   10001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10002 /* end confdefs.h.  */
   10003 int i;
   10004 int
   10005 main ()
   10006 {
   10007 
   10008   ;
   10009   return 0;
   10010 }
   10011 _ACEOF
   10012 if ac_fn_c_try_link "$LINENO"; then :
   10013   eval $cacheid=yes
   10014 else
   10015   eval $cacheid=no
   10016 fi
   10017 rm -f core conftest.err conftest.$ac_objext \
   10018     conftest$ac_exeext conftest.$ac_ext
   10019 fi
   10020 
   10021 
   10022 		CFLAGS="$xorg_testset_save_CFLAGS"
   10023 
   10024 		eval supported=\$$cacheid
   10025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10026 $as_echo "$supported" >&6; }
   10027 		if test "$supported" = "yes" ; then
   10028 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10029 			found="yes"
   10030 		fi
   10031 	fi
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 xorg_testset_save_CFLAGS="$CFLAGS"
   10048 
   10049 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10050 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10051 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10052 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10053 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10054   $as_echo_n "(cached) " >&6
   10055 else
   10056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10057 /* end confdefs.h.  */
   10058 int i;
   10059 _ACEOF
   10060 if ac_fn_c_try_compile "$LINENO"; then :
   10061   xorg_cv_cc_flag_unknown_warning_option=yes
   10062 else
   10063   xorg_cv_cc_flag_unknown_warning_option=no
   10064 fi
   10065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10066 fi
   10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10068 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10070 	CFLAGS="$xorg_testset_save_CFLAGS"
   10071 fi
   10072 
   10073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10076 	fi
   10077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10079 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10080 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10081   $as_echo_n "(cached) " >&6
   10082 else
   10083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10084 /* end confdefs.h.  */
   10085 int i;
   10086 _ACEOF
   10087 if ac_fn_c_try_compile "$LINENO"; then :
   10088   xorg_cv_cc_flag_unused_command_line_argument=yes
   10089 else
   10090   xorg_cv_cc_flag_unused_command_line_argument=no
   10091 fi
   10092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10093 fi
   10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10095 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10096 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10097 	CFLAGS="$xorg_testset_save_CFLAGS"
   10098 fi
   10099 
   10100 found="no"
   10101 
   10102 	if test $found = "no" ; then
   10103 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10104 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10105 		fi
   10106 
   10107 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10108 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10109 		fi
   10110 
   10111 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10112 
   10113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10114 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10115 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10116 		if eval \${$cacheid+:} false; then :
   10117   $as_echo_n "(cached) " >&6
   10118 else
   10119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10120 /* end confdefs.h.  */
   10121 int i;
   10122 int
   10123 main ()
   10124 {
   10125 
   10126   ;
   10127   return 0;
   10128 }
   10129 _ACEOF
   10130 if ac_fn_c_try_link "$LINENO"; then :
   10131   eval $cacheid=yes
   10132 else
   10133   eval $cacheid=no
   10134 fi
   10135 rm -f core conftest.err conftest.$ac_objext \
   10136     conftest$ac_exeext conftest.$ac_ext
   10137 fi
   10138 
   10139 
   10140 		CFLAGS="$xorg_testset_save_CFLAGS"
   10141 
   10142 		eval supported=\$$cacheid
   10143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10144 $as_echo "$supported" >&6; }
   10145 		if test "$supported" = "yes" ; then
   10146 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10147 			found="yes"
   10148 		fi
   10149 	fi
   10150 
   10151 
   10152 fi
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 		CWARNFLAGS="$BASE_CFLAGS"
   10161 		if  test "x$GCC" = xyes ; then
   10162 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10163 		fi
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 # Check whether --enable-strict-compilation was given.
   10173 if test "${enable_strict_compilation+set}" = set; then :
   10174   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10175 else
   10176   STRICT_COMPILE=no
   10177 fi
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 STRICT_CFLAGS=""
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 xorg_testset_save_CFLAGS="$CFLAGS"
   10199 
   10200 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10201 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10202 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10203 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10204 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10205   $as_echo_n "(cached) " >&6
   10206 else
   10207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10208 /* end confdefs.h.  */
   10209 int i;
   10210 _ACEOF
   10211 if ac_fn_c_try_compile "$LINENO"; then :
   10212   xorg_cv_cc_flag_unknown_warning_option=yes
   10213 else
   10214   xorg_cv_cc_flag_unknown_warning_option=no
   10215 fi
   10216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10217 fi
   10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10219 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10220 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10221 	CFLAGS="$xorg_testset_save_CFLAGS"
   10222 fi
   10223 
   10224 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10225 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10226 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10227 	fi
   10228 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10229 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10230 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10231 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10232   $as_echo_n "(cached) " >&6
   10233 else
   10234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10235 /* end confdefs.h.  */
   10236 int i;
   10237 _ACEOF
   10238 if ac_fn_c_try_compile "$LINENO"; then :
   10239   xorg_cv_cc_flag_unused_command_line_argument=yes
   10240 else
   10241   xorg_cv_cc_flag_unused_command_line_argument=no
   10242 fi
   10243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10244 fi
   10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10246 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10247 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10248 	CFLAGS="$xorg_testset_save_CFLAGS"
   10249 fi
   10250 
   10251 found="no"
   10252 
   10253 	if test $found = "no" ; then
   10254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10256 		fi
   10257 
   10258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10260 		fi
   10261 
   10262 		CFLAGS="$CFLAGS -pedantic"
   10263 
   10264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10265 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10266 		cacheid=xorg_cv_cc_flag__pedantic
   10267 		if eval \${$cacheid+:} false; then :
   10268   $as_echo_n "(cached) " >&6
   10269 else
   10270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10271 /* end confdefs.h.  */
   10272 int i;
   10273 int
   10274 main ()
   10275 {
   10276 
   10277   ;
   10278   return 0;
   10279 }
   10280 _ACEOF
   10281 if ac_fn_c_try_link "$LINENO"; then :
   10282   eval $cacheid=yes
   10283 else
   10284   eval $cacheid=no
   10285 fi
   10286 rm -f core conftest.err conftest.$ac_objext \
   10287     conftest$ac_exeext conftest.$ac_ext
   10288 fi
   10289 
   10290 
   10291 		CFLAGS="$xorg_testset_save_CFLAGS"
   10292 
   10293 		eval supported=\$$cacheid
   10294 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10295 $as_echo "$supported" >&6; }
   10296 		if test "$supported" = "yes" ; then
   10297 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10298 			found="yes"
   10299 		fi
   10300 	fi
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 xorg_testset_save_CFLAGS="$CFLAGS"
   10317 
   10318 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10319 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10320 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10321 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10322 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10323   $as_echo_n "(cached) " >&6
   10324 else
   10325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10326 /* end confdefs.h.  */
   10327 int i;
   10328 _ACEOF
   10329 if ac_fn_c_try_compile "$LINENO"; then :
   10330   xorg_cv_cc_flag_unknown_warning_option=yes
   10331 else
   10332   xorg_cv_cc_flag_unknown_warning_option=no
   10333 fi
   10334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10335 fi
   10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10337 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10338 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10339 	CFLAGS="$xorg_testset_save_CFLAGS"
   10340 fi
   10341 
   10342 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10343 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10344 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10345 	fi
   10346 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10347 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10348 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10349 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10350   $as_echo_n "(cached) " >&6
   10351 else
   10352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10353 /* end confdefs.h.  */
   10354 int i;
   10355 _ACEOF
   10356 if ac_fn_c_try_compile "$LINENO"; then :
   10357   xorg_cv_cc_flag_unused_command_line_argument=yes
   10358 else
   10359   xorg_cv_cc_flag_unused_command_line_argument=no
   10360 fi
   10361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10362 fi
   10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10364 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10365 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10366 	CFLAGS="$xorg_testset_save_CFLAGS"
   10367 fi
   10368 
   10369 found="no"
   10370 
   10371 	if test $found = "no" ; then
   10372 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10373 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10374 		fi
   10375 
   10376 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10377 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10378 		fi
   10379 
   10380 		CFLAGS="$CFLAGS -Werror"
   10381 
   10382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10383 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10384 		cacheid=xorg_cv_cc_flag__Werror
   10385 		if eval \${$cacheid+:} false; then :
   10386   $as_echo_n "(cached) " >&6
   10387 else
   10388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10389 /* end confdefs.h.  */
   10390 int i;
   10391 int
   10392 main ()
   10393 {
   10394 
   10395   ;
   10396   return 0;
   10397 }
   10398 _ACEOF
   10399 if ac_fn_c_try_link "$LINENO"; then :
   10400   eval $cacheid=yes
   10401 else
   10402   eval $cacheid=no
   10403 fi
   10404 rm -f core conftest.err conftest.$ac_objext \
   10405     conftest$ac_exeext conftest.$ac_ext
   10406 fi
   10407 
   10408 
   10409 		CFLAGS="$xorg_testset_save_CFLAGS"
   10410 
   10411 		eval supported=\$$cacheid
   10412 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10413 $as_echo "$supported" >&6; }
   10414 		if test "$supported" = "yes" ; then
   10415 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10416 			found="yes"
   10417 		fi
   10418 	fi
   10419 
   10420 	if test $found = "no" ; then
   10421 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10422 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10423 		fi
   10424 
   10425 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10426 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10427 		fi
   10428 
   10429 		CFLAGS="$CFLAGS -errwarn"
   10430 
   10431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10432 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10433 		cacheid=xorg_cv_cc_flag__errwarn
   10434 		if eval \${$cacheid+:} false; then :
   10435   $as_echo_n "(cached) " >&6
   10436 else
   10437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10438 /* end confdefs.h.  */
   10439 int i;
   10440 int
   10441 main ()
   10442 {
   10443 
   10444   ;
   10445   return 0;
   10446 }
   10447 _ACEOF
   10448 if ac_fn_c_try_link "$LINENO"; then :
   10449   eval $cacheid=yes
   10450 else
   10451   eval $cacheid=no
   10452 fi
   10453 rm -f core conftest.err conftest.$ac_objext \
   10454     conftest$ac_exeext conftest.$ac_ext
   10455 fi
   10456 
   10457 
   10458 		CFLAGS="$xorg_testset_save_CFLAGS"
   10459 
   10460 		eval supported=\$$cacheid
   10461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10462 $as_echo "$supported" >&6; }
   10463 		if test "$supported" = "yes" ; then
   10464 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10465 			found="yes"
   10466 		fi
   10467 	fi
   10468 
   10469 
   10470 
   10471 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10472 # activate it with -Werror, so we add it here explicitly.
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 xorg_testset_save_CFLAGS="$CFLAGS"
   10487 
   10488 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10489 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10490 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10491 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10492 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10493   $as_echo_n "(cached) " >&6
   10494 else
   10495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10496 /* end confdefs.h.  */
   10497 int i;
   10498 _ACEOF
   10499 if ac_fn_c_try_compile "$LINENO"; then :
   10500   xorg_cv_cc_flag_unknown_warning_option=yes
   10501 else
   10502   xorg_cv_cc_flag_unknown_warning_option=no
   10503 fi
   10504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10505 fi
   10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10507 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10508 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10509 	CFLAGS="$xorg_testset_save_CFLAGS"
   10510 fi
   10511 
   10512 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10513 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10514 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10515 	fi
   10516 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10517 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10518 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10519 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10520   $as_echo_n "(cached) " >&6
   10521 else
   10522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10523 /* end confdefs.h.  */
   10524 int i;
   10525 _ACEOF
   10526 if ac_fn_c_try_compile "$LINENO"; then :
   10527   xorg_cv_cc_flag_unused_command_line_argument=yes
   10528 else
   10529   xorg_cv_cc_flag_unused_command_line_argument=no
   10530 fi
   10531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10532 fi
   10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10534 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10535 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10536 	CFLAGS="$xorg_testset_save_CFLAGS"
   10537 fi
   10538 
   10539 found="no"
   10540 
   10541 	if test $found = "no" ; then
   10542 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10543 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10544 		fi
   10545 
   10546 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10547 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10548 		fi
   10549 
   10550 		CFLAGS="$CFLAGS -Werror=attributes"
   10551 
   10552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10553 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10554 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10555 		if eval \${$cacheid+:} false; then :
   10556   $as_echo_n "(cached) " >&6
   10557 else
   10558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10559 /* end confdefs.h.  */
   10560 int i;
   10561 int
   10562 main ()
   10563 {
   10564 
   10565   ;
   10566   return 0;
   10567 }
   10568 _ACEOF
   10569 if ac_fn_c_try_link "$LINENO"; then :
   10570   eval $cacheid=yes
   10571 else
   10572   eval $cacheid=no
   10573 fi
   10574 rm -f core conftest.err conftest.$ac_objext \
   10575     conftest$ac_exeext conftest.$ac_ext
   10576 fi
   10577 
   10578 
   10579 		CFLAGS="$xorg_testset_save_CFLAGS"
   10580 
   10581 		eval supported=\$$cacheid
   10582 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10583 $as_echo "$supported" >&6; }
   10584 		if test "$supported" = "yes" ; then
   10585 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10586 			found="yes"
   10587 		fi
   10588 	fi
   10589 
   10590 
   10591 
   10592 if test "x$STRICT_COMPILE" = "xyes"; then
   10593     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10594     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10595 fi
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 cat >>confdefs.h <<_ACEOF
   10603 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10604 _ACEOF
   10605 
   10606 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10607 	if test "x$PVM" = "x"; then
   10608 		PVM="0"
   10609 	fi
   10610 
   10611 cat >>confdefs.h <<_ACEOF
   10612 #define PACKAGE_VERSION_MINOR $PVM
   10613 _ACEOF
   10614 
   10615 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10616 	if test "x$PVP" = "x"; then
   10617 		PVP="0"
   10618 	fi
   10619 
   10620 cat >>confdefs.h <<_ACEOF
   10621 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10622 _ACEOF
   10623 
   10624 
   10625 
   10626 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10627 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10628 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10629 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10630 
   10631 
   10632 
   10633 
   10634 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10635 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10636 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10637 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10638 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 if test x$APP_MAN_SUFFIX = x    ; then
   10646     APP_MAN_SUFFIX=1
   10647 fi
   10648 if test x$APP_MAN_DIR = x    ; then
   10649     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10650 fi
   10651 
   10652 if test x$LIB_MAN_SUFFIX = x    ; then
   10653     LIB_MAN_SUFFIX=3
   10654 fi
   10655 if test x$LIB_MAN_DIR = x    ; then
   10656     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10657 fi
   10658 
   10659 if test x$FILE_MAN_SUFFIX = x    ; then
   10660     case $host_os in
   10661 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10662 	*)		FILE_MAN_SUFFIX=5  ;;
   10663     esac
   10664 fi
   10665 if test x$FILE_MAN_DIR = x    ; then
   10666     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10667 fi
   10668 
   10669 if test x$MISC_MAN_SUFFIX = x    ; then
   10670     case $host_os in
   10671 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10672 	*)		MISC_MAN_SUFFIX=7  ;;
   10673     esac
   10674 fi
   10675 if test x$MISC_MAN_DIR = x    ; then
   10676     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10677 fi
   10678 
   10679 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10680     case $host_os in
   10681 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10682 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10683     esac
   10684 fi
   10685 if test x$DRIVER_MAN_DIR = x    ; then
   10686     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10687 fi
   10688 
   10689 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10690     case $host_os in
   10691 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10692 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10693     esac
   10694 fi
   10695 if test x$ADMIN_MAN_DIR = x    ; then
   10696     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10697 fi
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 XORG_MAN_PAGE="X Version 11"
   10714 
   10715 MAN_SUBSTS="\
   10716 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10717 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10718 	-e 's|__xservername__|Xorg|g' \
   10719 	-e 's|__xconfigfile__|xorg.conf|g' \
   10720 	-e 's|__projectroot__|\$(prefix)|g' \
   10721 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10722 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10723 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10724 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10725 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10726 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10727 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10728 
   10729 
   10730 
   10731 # Check whether --enable-silent-rules was given.
   10732 if test "${enable_silent_rules+set}" = set; then :
   10733   enableval=$enable_silent_rules;
   10734 fi
   10735 
   10736 case $enable_silent_rules in # (((
   10737   yes) AM_DEFAULT_VERBOSITY=0;;
   10738    no) AM_DEFAULT_VERBOSITY=1;;
   10739     *) AM_DEFAULT_VERBOSITY=0;;
   10740 esac
   10741 am_make=${MAKE-make}
   10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10743 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10744 if ${am_cv_make_support_nested_variables+:} false; then :
   10745   $as_echo_n "(cached) " >&6
   10746 else
   10747   if $as_echo 'TRUE=$(BAR$(V))
   10748 BAR0=false
   10749 BAR1=true
   10750 V=1
   10751 am__doit:
   10752 	@$(TRUE)
   10753 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10754   am_cv_make_support_nested_variables=yes
   10755 else
   10756   am_cv_make_support_nested_variables=no
   10757 fi
   10758 fi
   10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10760 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10761 if test $am_cv_make_support_nested_variables = yes; then
   10762     AM_V='$(V)'
   10763   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10764 else
   10765   AM_V=$AM_DEFAULT_VERBOSITY
   10766   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10767 fi
   10768 AM_BACKSLASH='\'
   10769 
   10770 
   10771 
   10772 # Checks for programs
   10773 ac_ext=c
   10774 ac_cpp='$CPP $CPPFLAGS'
   10775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   10779 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   10780 # On Suns, sometimes $CPP names a directory.
   10781 if test -n "$CPP" && test -d "$CPP"; then
   10782   CPP=
   10783 fi
   10784 if test -z "$CPP"; then
   10785   if ${ac_cv_prog_CPP+:} false; then :
   10786   $as_echo_n "(cached) " >&6
   10787 else
   10788       # Double quotes because CPP needs to be expanded
   10789     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   10790     do
   10791       ac_preproc_ok=false
   10792 for ac_c_preproc_warn_flag in '' yes
   10793 do
   10794   # Use a header file that comes with gcc, so configuring glibc
   10795   # with a fresh cross-compiler works.
   10796   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10797   # <limits.h> exists even on freestanding compilers.
   10798   # On the NeXT, cc -E runs the code through the compiler's parser,
   10799   # not just through cpp. "Syntax error" is here to catch this case.
   10800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10801 /* end confdefs.h.  */
   10802 #ifdef __STDC__
   10803 # include <limits.h>
   10804 #else
   10805 # include <assert.h>
   10806 #endif
   10807 		     Syntax error
   10808 _ACEOF
   10809 if ac_fn_c_try_cpp "$LINENO"; then :
   10810 
   10811 else
   10812   # Broken: fails on valid input.
   10813 continue
   10814 fi
   10815 rm -f conftest.err conftest.i conftest.$ac_ext
   10816 
   10817   # OK, works on sane cases.  Now check whether nonexistent headers
   10818   # can be detected and how.
   10819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10820 /* end confdefs.h.  */
   10821 #include <ac_nonexistent.h>
   10822 _ACEOF
   10823 if ac_fn_c_try_cpp "$LINENO"; then :
   10824   # Broken: success on invalid input.
   10825 continue
   10826 else
   10827   # Passes both tests.
   10828 ac_preproc_ok=:
   10829 break
   10830 fi
   10831 rm -f conftest.err conftest.i conftest.$ac_ext
   10832 
   10833 done
   10834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   10835 rm -f conftest.i conftest.err conftest.$ac_ext
   10836 if $ac_preproc_ok; then :
   10837   break
   10838 fi
   10839 
   10840     done
   10841     ac_cv_prog_CPP=$CPP
   10842 
   10843 fi
   10844   CPP=$ac_cv_prog_CPP
   10845 else
   10846   ac_cv_prog_CPP=$CPP
   10847 fi
   10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   10849 $as_echo "$CPP" >&6; }
   10850 ac_preproc_ok=false
   10851 for ac_c_preproc_warn_flag in '' yes
   10852 do
   10853   # Use a header file that comes with gcc, so configuring glibc
   10854   # with a fresh cross-compiler works.
   10855   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10856   # <limits.h> exists even on freestanding compilers.
   10857   # On the NeXT, cc -E runs the code through the compiler's parser,
   10858   # not just through cpp. "Syntax error" is here to catch this case.
   10859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10860 /* end confdefs.h.  */
   10861 #ifdef __STDC__
   10862 # include <limits.h>
   10863 #else
   10864 # include <assert.h>
   10865 #endif
   10866 		     Syntax error
   10867 _ACEOF
   10868 if ac_fn_c_try_cpp "$LINENO"; then :
   10869 
   10870 else
   10871   # Broken: fails on valid input.
   10872 continue
   10873 fi
   10874 rm -f conftest.err conftest.i conftest.$ac_ext
   10875 
   10876   # OK, works on sane cases.  Now check whether nonexistent headers
   10877   # can be detected and how.
   10878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10879 /* end confdefs.h.  */
   10880 #include <ac_nonexistent.h>
   10881 _ACEOF
   10882 if ac_fn_c_try_cpp "$LINENO"; then :
   10883   # Broken: success on invalid input.
   10884 continue
   10885 else
   10886   # Passes both tests.
   10887 ac_preproc_ok=:
   10888 break
   10889 fi
   10890 rm -f conftest.err conftest.i conftest.$ac_ext
   10891 
   10892 done
   10893 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   10894 rm -f conftest.i conftest.err conftest.$ac_ext
   10895 if $ac_preproc_ok; then :
   10896 
   10897 else
   10898   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10900 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   10901 See \`config.log' for more details" "$LINENO" 5; }
   10902 fi
   10903 
   10904 ac_ext=c
   10905 ac_cpp='$CPP $CPPFLAGS'
   10906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10909 
   10910 
   10911 # Extract the first word of "lbxproxy", so it can be a program name with args.
   10912 set dummy lbxproxy; ac_word=$2
   10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10914 $as_echo_n "checking for $ac_word... " >&6; }
   10915 if ${ac_cv_path_LBXPROXY+:} false; then :
   10916   $as_echo_n "(cached) " >&6
   10917 else
   10918   case $LBXPROXY in
   10919   [\\/]* | ?:[\\/]*)
   10920   ac_cv_path_LBXPROXY="$LBXPROXY" # Let the user override the test with a path.
   10921   ;;
   10922   *)
   10923   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10924 for as_dir in $PATH
   10925 do
   10926   IFS=$as_save_IFS
   10927   test -z "$as_dir" && as_dir=.
   10928     for ac_exec_ext in '' $ac_executable_extensions; do
   10929   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10930     ac_cv_path_LBXPROXY="$as_dir/$ac_word$ac_exec_ext"
   10931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10932     break 2
   10933   fi
   10934 done
   10935   done
   10936 IFS=$as_save_IFS
   10937 
   10938   ;;
   10939 esac
   10940 fi
   10941 LBXPROXY=$ac_cv_path_LBXPROXY
   10942 if test -n "$LBXPROXY"; then
   10943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LBXPROXY" >&5
   10944 $as_echo "$LBXPROXY" >&6; }
   10945 else
   10946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10947 $as_echo "no" >&6; }
   10948 fi
   10949 
   10950 
   10951 if [ -z $LBXPROXY ] ; then
   10952    as_fn_error $? "lbxproxy is needed" "$LINENO" 5
   10953 fi
   10954 
   10955 # Checks for pkg-config packages
   10956 
   10957 pkg_failed=no
   10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PROXYMNGR" >&5
   10959 $as_echo_n "checking for PROXYMNGR... " >&6; }
   10960 
   10961 if test -n "$PROXYMNGR_CFLAGS"; then
   10962     pkg_cv_PROXYMNGR_CFLAGS="$PROXYMNGR_CFLAGS"
   10963  elif test -n "$PKG_CONFIG"; then
   10964     if test -n "$PKG_CONFIG" && \
   10965     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice xt xproto >= 7.0.17 xproxymngproto\""; } >&5
   10966   ($PKG_CONFIG --exists --print-errors "ice xt xproto >= 7.0.17 xproxymngproto") 2>&5
   10967   ac_status=$?
   10968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10969   test $ac_status = 0; }; then
   10970   pkg_cv_PROXYMNGR_CFLAGS=`$PKG_CONFIG --cflags "ice xt xproto >= 7.0.17 xproxymngproto" 2>/dev/null`
   10971 else
   10972   pkg_failed=yes
   10973 fi
   10974  else
   10975     pkg_failed=untried
   10976 fi
   10977 if test -n "$PROXYMNGR_LIBS"; then
   10978     pkg_cv_PROXYMNGR_LIBS="$PROXYMNGR_LIBS"
   10979  elif test -n "$PKG_CONFIG"; then
   10980     if test -n "$PKG_CONFIG" && \
   10981     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice xt xproto >= 7.0.17 xproxymngproto\""; } >&5
   10982   ($PKG_CONFIG --exists --print-errors "ice xt xproto >= 7.0.17 xproxymngproto") 2>&5
   10983   ac_status=$?
   10984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10985   test $ac_status = 0; }; then
   10986   pkg_cv_PROXYMNGR_LIBS=`$PKG_CONFIG --libs "ice xt xproto >= 7.0.17 xproxymngproto" 2>/dev/null`
   10987 else
   10988   pkg_failed=yes
   10989 fi
   10990  else
   10991     pkg_failed=untried
   10992 fi
   10993 
   10994 
   10995 
   10996 if test $pkg_failed = yes; then
   10997 
   10998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10999         _pkg_short_errors_supported=yes
   11000 else
   11001         _pkg_short_errors_supported=no
   11002 fi
   11003         if test $_pkg_short_errors_supported = yes; then
   11004 	        PROXYMNGR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ice xt xproto >= 7.0.17 xproxymngproto" 2>&1`
   11005         else
   11006 	        PROXYMNGR_PKG_ERRORS=`$PKG_CONFIG --print-errors "ice xt xproto >= 7.0.17 xproxymngproto" 2>&1`
   11007         fi
   11008 	# Put the nasty error message in config.log where it belongs
   11009 	echo "$PROXYMNGR_PKG_ERRORS" >&5
   11010 
   11011 	as_fn_error $? "Package requirements (ice xt xproto >= 7.0.17 xproxymngproto) were not met:
   11012 
   11013 $PROXYMNGR_PKG_ERRORS
   11014 
   11015 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11016 installed software in a non-standard prefix.
   11017 
   11018 Alternatively, you may set the environment variables PROXYMNGR_CFLAGS
   11019 and PROXYMNGR_LIBS to avoid the need to call pkg-config.
   11020 See the pkg-config man page for more details.
   11021 " "$LINENO" 5
   11022 elif test $pkg_failed = untried; then
   11023 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11025 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11026 is in your PATH or set the PKG_CONFIG environment variable to the full
   11027 path to pkg-config.
   11028 
   11029 Alternatively, you may set the environment variables PROXYMNGR_CFLAGS
   11030 and PROXYMNGR_LIBS to avoid the need to call pkg-config.
   11031 See the pkg-config man page for more details.
   11032 
   11033 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11034 See \`config.log' for more details" "$LINENO" 5; }
   11035 else
   11036 	PROXYMNGR_CFLAGS=$pkg_cv_PROXYMNGR_CFLAGS
   11037 	PROXYMNGR_LIBS=$pkg_cv_PROXYMNGR_LIBS
   11038         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11039 $as_echo "yes" >&6; }
   11040 	:
   11041 fi
   11042 
   11043 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   11044 if test "x$ac_cv_func_strcasecmp" = xyes; then :
   11045 
   11046 else
   11047 
   11048 $as_echo "#define NEED_STRCASECMP 1" >>confdefs.h
   11049 
   11050 fi
   11051 
   11052 
   11053 # Needed to check for IPv6 support and set flags appropriately
   11054 
   11055  # SVR4 hides these in libraries other than libc
   11056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   11057 $as_echo_n "checking for library containing socket... " >&6; }
   11058 if ${ac_cv_search_socket+:} false; then :
   11059   $as_echo_n "(cached) " >&6
   11060 else
   11061   ac_func_search_save_LIBS=$LIBS
   11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11063 /* end confdefs.h.  */
   11064 
   11065 /* Override any GCC internal prototype to avoid an error.
   11066    Use char because int might match the return type of a GCC
   11067    builtin and then its argument prototype would still apply.  */
   11068 #ifdef __cplusplus
   11069 extern "C"
   11070 #endif
   11071 char socket ();
   11072 int
   11073 main ()
   11074 {
   11075 return socket ();
   11076   ;
   11077   return 0;
   11078 }
   11079 _ACEOF
   11080 for ac_lib in '' socket; do
   11081   if test -z "$ac_lib"; then
   11082     ac_res="none required"
   11083   else
   11084     ac_res=-l$ac_lib
   11085     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11086   fi
   11087   if ac_fn_c_try_link "$LINENO"; then :
   11088   ac_cv_search_socket=$ac_res
   11089 fi
   11090 rm -f core conftest.err conftest.$ac_objext \
   11091     conftest$ac_exeext
   11092   if ${ac_cv_search_socket+:} false; then :
   11093   break
   11094 fi
   11095 done
   11096 if ${ac_cv_search_socket+:} false; then :
   11097 
   11098 else
   11099   ac_cv_search_socket=no
   11100 fi
   11101 rm conftest.$ac_ext
   11102 LIBS=$ac_func_search_save_LIBS
   11103 fi
   11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   11105 $as_echo "$ac_cv_search_socket" >&6; }
   11106 ac_res=$ac_cv_search_socket
   11107 if test "$ac_res" != no; then :
   11108   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11109 
   11110 fi
   11111 
   11112  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   11113 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   11114 if ${ac_cv_search_gethostbyname+:} false; then :
   11115   $as_echo_n "(cached) " >&6
   11116 else
   11117   ac_func_search_save_LIBS=$LIBS
   11118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11119 /* end confdefs.h.  */
   11120 
   11121 /* Override any GCC internal prototype to avoid an error.
   11122    Use char because int might match the return type of a GCC
   11123    builtin and then its argument prototype would still apply.  */
   11124 #ifdef __cplusplus
   11125 extern "C"
   11126 #endif
   11127 char gethostbyname ();
   11128 int
   11129 main ()
   11130 {
   11131 return gethostbyname ();
   11132   ;
   11133   return 0;
   11134 }
   11135 _ACEOF
   11136 for ac_lib in '' nsl; do
   11137   if test -z "$ac_lib"; then
   11138     ac_res="none required"
   11139   else
   11140     ac_res=-l$ac_lib
   11141     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11142   fi
   11143   if ac_fn_c_try_link "$LINENO"; then :
   11144   ac_cv_search_gethostbyname=$ac_res
   11145 fi
   11146 rm -f core conftest.err conftest.$ac_objext \
   11147     conftest$ac_exeext
   11148   if ${ac_cv_search_gethostbyname+:} false; then :
   11149   break
   11150 fi
   11151 done
   11152 if ${ac_cv_search_gethostbyname+:} false; then :
   11153 
   11154 else
   11155   ac_cv_search_gethostbyname=no
   11156 fi
   11157 rm conftest.$ac_ext
   11158 LIBS=$ac_func_search_save_LIBS
   11159 fi
   11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   11161 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   11162 ac_res=$ac_cv_search_gethostbyname
   11163 if test "$ac_res" != no; then :
   11164   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11165 
   11166 fi
   11167 
   11168  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   11169    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   11170 $as_echo_n "checking for main in -lws2_32... " >&6; }
   11171 if ${ac_cv_lib_ws2_32_main+:} false; then :
   11172   $as_echo_n "(cached) " >&6
   11173 else
   11174   ac_check_lib_save_LIBS=$LIBS
   11175 LIBS="-lws2_32  $LIBS"
   11176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11177 /* end confdefs.h.  */
   11178 
   11179 
   11180 int
   11181 main ()
   11182 {
   11183 return main ();
   11184   ;
   11185   return 0;
   11186 }
   11187 _ACEOF
   11188 if ac_fn_c_try_link "$LINENO"; then :
   11189   ac_cv_lib_ws2_32_main=yes
   11190 else
   11191   ac_cv_lib_ws2_32_main=no
   11192 fi
   11193 rm -f core conftest.err conftest.$ac_objext \
   11194     conftest$ac_exeext conftest.$ac_ext
   11195 LIBS=$ac_check_lib_save_LIBS
   11196 fi
   11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   11198 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   11199 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   11200   cat >>confdefs.h <<_ACEOF
   11201 #define HAVE_LIBWS2_32 1
   11202 _ACEOF
   11203 
   11204   LIBS="-lws2_32 $LIBS"
   11205 
   11206 fi
   11207 
   11208  fi
   11209 
   11210  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   11211  # Check whether --enable-ipv6 was given.
   11212 if test "${enable_ipv6+set}" = set; then :
   11213   enableval=$enable_ipv6; IPV6CONN=$enableval
   11214 else
   11215   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   11216 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   11217   IPV6CONN=yes
   11218 else
   11219   IPV6CONN=no
   11220 fi
   11221 
   11222 fi
   11223 
   11224  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   11225 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   11226  if test "$IPV6CONN" = "yes"; then
   11227 
   11228 $as_echo "#define IPv6 1" >>confdefs.h
   11229 
   11230  fi
   11231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   11232 $as_echo "$IPV6CONN" >&6; }
   11233 
   11234  # 4.3BSD-Reno added a new member to struct sockaddr_in
   11235  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   11236 #include <sys/types.h>
   11237 #include <sys/socket.h>
   11238 #include <netinet/in.h>
   11239 
   11240 "
   11241 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   11242 
   11243 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   11244 
   11245 fi
   11246 
   11247 
   11248  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   11249  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   11250 $ac_includes_default
   11251 #include <sys/socket.h>
   11252 "
   11253 if test "x$ac_cv_type_socklen_t" = xyes; then :
   11254 
   11255 cat >>confdefs.h <<_ACEOF
   11256 #define HAVE_SOCKLEN_T 1
   11257 _ACEOF
   11258 
   11259 
   11260 fi
   11261 
   11262 
   11263  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   11264  # _XOPEN_SOURCE to get it (such as on Solaris)
   11265  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   11266 $ac_includes_default
   11267 #include <sys/socket.h>
   11268 
   11269 "
   11270 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   11271 
   11272 fi
   11273 
   11274  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   11275  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   11276      unset ac_cv_member_struct_msghdr_msg_control
   11277      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   11278 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   11279      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   11280 #define _XOPEN_SOURCE 600
   11281 $ac_includes_default
   11282 #include <sys/socket.h>
   11283 
   11284 "
   11285 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   11286 
   11287 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   11288 
   11289 
   11290 fi
   11291 
   11292  fi
   11293  # If that didn't work, fall back to XPG5/UNIX98 with C89
   11294  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   11295      unset ac_cv_member_struct_msghdr_msg_control
   11296      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   11297 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   11298      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   11299 #define _XOPEN_SOURCE 500
   11300 $ac_includes_default
   11301 #include <sys/socket.h>
   11302 
   11303 "
   11304 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   11305 
   11306 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   11307 
   11308 
   11309 fi
   11310 
   11311  fi
   11312 
   11313 
   11314 
   11315 
   11316 ac_config_files="$ac_config_files Makefile"
   11317 
   11318 cat >confcache <<\_ACEOF
   11319 # This file is a shell script that caches the results of configure
   11320 # tests run on this system so they can be shared between configure
   11321 # scripts and configure runs, see configure's option --config-cache.
   11322 # It is not useful on other systems.  If it contains results you don't
   11323 # want to keep, you may remove or edit it.
   11324 #
   11325 # config.status only pays attention to the cache file if you give it
   11326 # the --recheck option to rerun configure.
   11327 #
   11328 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11329 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11330 # following values.
   11331 
   11332 _ACEOF
   11333 
   11334 # The following way of writing the cache mishandles newlines in values,
   11335 # but we know of no workaround that is simple, portable, and efficient.
   11336 # So, we kill variables containing newlines.
   11337 # Ultrix sh set writes to stderr and can't be redirected directly,
   11338 # and sets the high bit in the cache file unless we assign to the vars.
   11339 (
   11340   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11341     eval ac_val=\$$ac_var
   11342     case $ac_val in #(
   11343     *${as_nl}*)
   11344       case $ac_var in #(
   11345       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11346 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11347       esac
   11348       case $ac_var in #(
   11349       _ | IFS | as_nl) ;; #(
   11350       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11351       *) { eval $ac_var=; unset $ac_var;} ;;
   11352       esac ;;
   11353     esac
   11354   done
   11355 
   11356   (set) 2>&1 |
   11357     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11358     *${as_nl}ac_space=\ *)
   11359       # `set' does not quote correctly, so add quotes: double-quote
   11360       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11361       sed -n \
   11362 	"s/'/'\\\\''/g;
   11363 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11364       ;; #(
   11365     *)
   11366       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11367       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11368       ;;
   11369     esac |
   11370     sort
   11371 ) |
   11372   sed '
   11373      /^ac_cv_env_/b end
   11374      t clear
   11375      :clear
   11376      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11377      t end
   11378      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11379      :end' >>confcache
   11380 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11381   if test -w "$cache_file"; then
   11382     if test "x$cache_file" != "x/dev/null"; then
   11383       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11384 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11385       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11386 	cat confcache >"$cache_file"
   11387       else
   11388         case $cache_file in #(
   11389         */* | ?:*)
   11390 	  mv -f confcache "$cache_file"$$ &&
   11391 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11392         *)
   11393 	  mv -f confcache "$cache_file" ;;
   11394 	esac
   11395       fi
   11396     fi
   11397   else
   11398     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11399 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11400   fi
   11401 fi
   11402 rm -f confcache
   11403 
   11404 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11405 # Let make expand exec_prefix.
   11406 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11407 
   11408 DEFS=-DHAVE_CONFIG_H
   11409 
   11410 ac_libobjs=
   11411 ac_ltlibobjs=
   11412 U=
   11413 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11414   # 1. Remove the extension, and $U if already installed.
   11415   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11416   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11417   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11418   #    will be set to the directory where LIBOBJS objects are built.
   11419   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11420   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11421 done
   11422 LIBOBJS=$ac_libobjs
   11423 
   11424 LTLIBOBJS=$ac_ltlibobjs
   11425 
   11426 
   11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11428 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11429    if test -n "$am_sleep_pid"; then
   11430      # Hide warnings about reused PIDs.
   11431      wait $am_sleep_pid 2>/dev/null
   11432    fi
   11433    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11434 $as_echo "done" >&6; }
   11435  if test -n "$EXEEXT"; then
   11436   am__EXEEXT_TRUE=
   11437   am__EXEEXT_FALSE='#'
   11438 else
   11439   am__EXEEXT_TRUE='#'
   11440   am__EXEEXT_FALSE=
   11441 fi
   11442 
   11443 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11444   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11446 fi
   11447 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11448   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11450 fi
   11451 
   11452 : "${CONFIG_STATUS=./config.status}"
   11453 ac_write_fail=0
   11454 ac_clean_files_save=$ac_clean_files
   11455 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11456 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11457 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11458 as_write_fail=0
   11459 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11460 #! $SHELL
   11461 # Generated by $as_me.
   11462 # Run this file to recreate the current configuration.
   11463 # Compiler output produced by configure, useful for debugging
   11464 # configure, is in config.log if it exists.
   11465 
   11466 debug=false
   11467 ac_cs_recheck=false
   11468 ac_cs_silent=false
   11469 
   11470 SHELL=\${CONFIG_SHELL-$SHELL}
   11471 export SHELL
   11472 _ASEOF
   11473 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11474 ## -------------------- ##
   11475 ## M4sh Initialization. ##
   11476 ## -------------------- ##
   11477 
   11478 # Be more Bourne compatible
   11479 DUALCASE=1; export DUALCASE # for MKS sh
   11480 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11481   emulate sh
   11482   NULLCMD=:
   11483   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11484   # is contrary to our usage.  Disable this feature.
   11485   alias -g '${1+"$@"}'='"$@"'
   11486   setopt NO_GLOB_SUBST
   11487 else
   11488   case `(set -o) 2>/dev/null` in #(
   11489   *posix*) :
   11490     set -o posix ;; #(
   11491   *) :
   11492      ;;
   11493 esac
   11494 fi
   11495 
   11496 
   11497 as_nl='
   11498 '
   11499 export as_nl
   11500 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11501 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11502 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11503 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11504 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11505 # but without wasting forks for bash or zsh.
   11506 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11507     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11508   as_echo='print -r --'
   11509   as_echo_n='print -rn --'
   11510 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11511   as_echo='printf %s\n'
   11512   as_echo_n='printf %s'
   11513 else
   11514   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11515     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11516     as_echo_n='/usr/ucb/echo -n'
   11517   else
   11518     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11519     as_echo_n_body='eval
   11520       arg=$1;
   11521       case $arg in #(
   11522       *"$as_nl"*)
   11523 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11524 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11525       esac;
   11526       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11527     '
   11528     export as_echo_n_body
   11529     as_echo_n='sh -c $as_echo_n_body as_echo'
   11530   fi
   11531   export as_echo_body
   11532   as_echo='sh -c $as_echo_body as_echo'
   11533 fi
   11534 
   11535 # The user is always right.
   11536 if test "${PATH_SEPARATOR+set}" != set; then
   11537   PATH_SEPARATOR=:
   11538   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11539     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11540       PATH_SEPARATOR=';'
   11541   }
   11542 fi
   11543 
   11544 
   11545 # IFS
   11546 # We need space, tab and new line, in precisely that order.  Quoting is
   11547 # there to prevent editors from complaining about space-tab.
   11548 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11549 # splitting by setting IFS to empty value.)
   11550 IFS=" ""	$as_nl"
   11551 
   11552 # Find who we are.  Look in the path if we contain no directory separator.
   11553 as_myself=
   11554 case $0 in #((
   11555   *[\\/]* ) as_myself=$0 ;;
   11556   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11557 for as_dir in $PATH
   11558 do
   11559   IFS=$as_save_IFS
   11560   test -z "$as_dir" && as_dir=.
   11561     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11562   done
   11563 IFS=$as_save_IFS
   11564 
   11565      ;;
   11566 esac
   11567 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11568 # in which case we are not to be found in the path.
   11569 if test "x$as_myself" = x; then
   11570   as_myself=$0
   11571 fi
   11572 if test ! -f "$as_myself"; then
   11573   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11574   exit 1
   11575 fi
   11576 
   11577 # Unset variables that we do not need and which cause bugs (e.g. in
   11578 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11579 # suppresses any "Segmentation fault" message there.  '((' could
   11580 # trigger a bug in pdksh 5.2.14.
   11581 for as_var in BASH_ENV ENV MAIL MAILPATH
   11582 do eval test x\${$as_var+set} = xset \
   11583   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11584 done
   11585 PS1='$ '
   11586 PS2='> '
   11587 PS4='+ '
   11588 
   11589 # NLS nuisances.
   11590 LC_ALL=C
   11591 export LC_ALL
   11592 LANGUAGE=C
   11593 export LANGUAGE
   11594 
   11595 # CDPATH.
   11596 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11597 
   11598 
   11599 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11600 # ----------------------------------------
   11601 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11602 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11603 # script with STATUS, using 1 if that was 0.
   11604 as_fn_error ()
   11605 {
   11606   as_status=$1; test $as_status -eq 0 && as_status=1
   11607   if test "$4"; then
   11608     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11609     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11610   fi
   11611   $as_echo "$as_me: error: $2" >&2
   11612   as_fn_exit $as_status
   11613 } # as_fn_error
   11614 
   11615 
   11616 # as_fn_set_status STATUS
   11617 # -----------------------
   11618 # Set $? to STATUS, without forking.
   11619 as_fn_set_status ()
   11620 {
   11621   return $1
   11622 } # as_fn_set_status
   11623 
   11624 # as_fn_exit STATUS
   11625 # -----------------
   11626 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11627 as_fn_exit ()
   11628 {
   11629   set +e
   11630   as_fn_set_status $1
   11631   exit $1
   11632 } # as_fn_exit
   11633 
   11634 # as_fn_unset VAR
   11635 # ---------------
   11636 # Portably unset VAR.
   11637 as_fn_unset ()
   11638 {
   11639   { eval $1=; unset $1;}
   11640 }
   11641 as_unset=as_fn_unset
   11642 # as_fn_append VAR VALUE
   11643 # ----------------------
   11644 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11645 # advantage of any shell optimizations that allow amortized linear growth over
   11646 # repeated appends, instead of the typical quadratic growth present in naive
   11647 # implementations.
   11648 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11649   eval 'as_fn_append ()
   11650   {
   11651     eval $1+=\$2
   11652   }'
   11653 else
   11654   as_fn_append ()
   11655   {
   11656     eval $1=\$$1\$2
   11657   }
   11658 fi # as_fn_append
   11659 
   11660 # as_fn_arith ARG...
   11661 # ------------------
   11662 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11663 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11664 # must be portable across $(()) and expr.
   11665 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11666   eval 'as_fn_arith ()
   11667   {
   11668     as_val=$(( $* ))
   11669   }'
   11670 else
   11671   as_fn_arith ()
   11672   {
   11673     as_val=`expr "$@" || test $? -eq 1`
   11674   }
   11675 fi # as_fn_arith
   11676 
   11677 
   11678 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11679    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11680   as_expr=expr
   11681 else
   11682   as_expr=false
   11683 fi
   11684 
   11685 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11686   as_basename=basename
   11687 else
   11688   as_basename=false
   11689 fi
   11690 
   11691 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11692   as_dirname=dirname
   11693 else
   11694   as_dirname=false
   11695 fi
   11696 
   11697 as_me=`$as_basename -- "$0" ||
   11698 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11699 	 X"$0" : 'X\(//\)$' \| \
   11700 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11701 $as_echo X/"$0" |
   11702     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11703 	    s//\1/
   11704 	    q
   11705 	  }
   11706 	  /^X\/\(\/\/\)$/{
   11707 	    s//\1/
   11708 	    q
   11709 	  }
   11710 	  /^X\/\(\/\).*/{
   11711 	    s//\1/
   11712 	    q
   11713 	  }
   11714 	  s/.*/./; q'`
   11715 
   11716 # Avoid depending upon Character Ranges.
   11717 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11718 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11719 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11720 as_cr_digits='0123456789'
   11721 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11722 
   11723 ECHO_C= ECHO_N= ECHO_T=
   11724 case `echo -n x` in #(((((
   11725 -n*)
   11726   case `echo 'xy\c'` in
   11727   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11728   xy)  ECHO_C='\c';;
   11729   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11730        ECHO_T='	';;
   11731   esac;;
   11732 *)
   11733   ECHO_N='-n';;
   11734 esac
   11735 
   11736 rm -f conf$$ conf$$.exe conf$$.file
   11737 if test -d conf$$.dir; then
   11738   rm -f conf$$.dir/conf$$.file
   11739 else
   11740   rm -f conf$$.dir
   11741   mkdir conf$$.dir 2>/dev/null
   11742 fi
   11743 if (echo >conf$$.file) 2>/dev/null; then
   11744   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11745     as_ln_s='ln -s'
   11746     # ... but there are two gotchas:
   11747     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11748     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11749     # In both cases, we have to default to `cp -pR'.
   11750     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11751       as_ln_s='cp -pR'
   11752   elif ln conf$$.file conf$$ 2>/dev/null; then
   11753     as_ln_s=ln
   11754   else
   11755     as_ln_s='cp -pR'
   11756   fi
   11757 else
   11758   as_ln_s='cp -pR'
   11759 fi
   11760 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11761 rmdir conf$$.dir 2>/dev/null
   11762 
   11763 
   11764 # as_fn_mkdir_p
   11765 # -------------
   11766 # Create "$as_dir" as a directory, including parents if necessary.
   11767 as_fn_mkdir_p ()
   11768 {
   11769 
   11770   case $as_dir in #(
   11771   -*) as_dir=./$as_dir;;
   11772   esac
   11773   test -d "$as_dir" || eval $as_mkdir_p || {
   11774     as_dirs=
   11775     while :; do
   11776       case $as_dir in #(
   11777       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11778       *) as_qdir=$as_dir;;
   11779       esac
   11780       as_dirs="'$as_qdir' $as_dirs"
   11781       as_dir=`$as_dirname -- "$as_dir" ||
   11782 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11783 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11784 	 X"$as_dir" : 'X\(//\)$' \| \
   11785 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11786 $as_echo X"$as_dir" |
   11787     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11788 	    s//\1/
   11789 	    q
   11790 	  }
   11791 	  /^X\(\/\/\)[^/].*/{
   11792 	    s//\1/
   11793 	    q
   11794 	  }
   11795 	  /^X\(\/\/\)$/{
   11796 	    s//\1/
   11797 	    q
   11798 	  }
   11799 	  /^X\(\/\).*/{
   11800 	    s//\1/
   11801 	    q
   11802 	  }
   11803 	  s/.*/./; q'`
   11804       test -d "$as_dir" && break
   11805     done
   11806     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11807   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11808 
   11809 
   11810 } # as_fn_mkdir_p
   11811 if mkdir -p . 2>/dev/null; then
   11812   as_mkdir_p='mkdir -p "$as_dir"'
   11813 else
   11814   test -d ./-p && rmdir ./-p
   11815   as_mkdir_p=false
   11816 fi
   11817 
   11818 
   11819 # as_fn_executable_p FILE
   11820 # -----------------------
   11821 # Test if FILE is an executable regular file.
   11822 as_fn_executable_p ()
   11823 {
   11824   test -f "$1" && test -x "$1"
   11825 } # as_fn_executable_p
   11826 as_test_x='test -x'
   11827 as_executable_p=as_fn_executable_p
   11828 
   11829 # Sed expression to map a string onto a valid CPP name.
   11830 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11831 
   11832 # Sed expression to map a string onto a valid variable name.
   11833 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11834 
   11835 
   11836 exec 6>&1
   11837 ## ----------------------------------- ##
   11838 ## Main body of $CONFIG_STATUS script. ##
   11839 ## ----------------------------------- ##
   11840 _ASEOF
   11841 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11842 
   11843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11844 # Save the log message, to keep $0 and so on meaningful, and to
   11845 # report actual input values of CONFIG_FILES etc. instead of their
   11846 # values after options handling.
   11847 ac_log="
   11848 This file was extended by proxymngr $as_me 1.0.4, which was
   11849 generated by GNU Autoconf 2.69.  Invocation command line was
   11850 
   11851   CONFIG_FILES    = $CONFIG_FILES
   11852   CONFIG_HEADERS  = $CONFIG_HEADERS
   11853   CONFIG_LINKS    = $CONFIG_LINKS
   11854   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11855   $ $0 $@
   11856 
   11857 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11858 "
   11859 
   11860 _ACEOF
   11861 
   11862 case $ac_config_files in *"
   11863 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11864 esac
   11865 
   11866 case $ac_config_headers in *"
   11867 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11868 esac
   11869 
   11870 
   11871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11872 # Files that config.status was made for.
   11873 config_files="$ac_config_files"
   11874 config_headers="$ac_config_headers"
   11875 config_commands="$ac_config_commands"
   11876 
   11877 _ACEOF
   11878 
   11879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11880 ac_cs_usage="\
   11881 \`$as_me' instantiates files and other configuration actions
   11882 from templates according to the current configuration.  Unless the files
   11883 and actions are specified as TAGs, all are instantiated by default.
   11884 
   11885 Usage: $0 [OPTION]... [TAG]...
   11886 
   11887   -h, --help       print this help, then exit
   11888   -V, --version    print version number and configuration settings, then exit
   11889       --config     print configuration, then exit
   11890   -q, --quiet, --silent
   11891                    do not print progress messages
   11892   -d, --debug      don't remove temporary files
   11893       --recheck    update $as_me by reconfiguring in the same conditions
   11894       --file=FILE[:TEMPLATE]
   11895                    instantiate the configuration file FILE
   11896       --header=FILE[:TEMPLATE]
   11897                    instantiate the configuration header FILE
   11898 
   11899 Configuration files:
   11900 $config_files
   11901 
   11902 Configuration headers:
   11903 $config_headers
   11904 
   11905 Configuration commands:
   11906 $config_commands
   11907 
   11908 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11909 
   11910 _ACEOF
   11911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11912 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11913 ac_cs_version="\\
   11914 proxymngr config.status 1.0.4
   11915 configured by $0, generated by GNU Autoconf 2.69,
   11916   with options \\"\$ac_cs_config\\"
   11917 
   11918 Copyright (C) 2012 Free Software Foundation, Inc.
   11919 This config.status script is free software; the Free Software Foundation
   11920 gives unlimited permission to copy, distribute and modify it."
   11921 
   11922 ac_pwd='$ac_pwd'
   11923 srcdir='$srcdir'
   11924 INSTALL='$INSTALL'
   11925 MKDIR_P='$MKDIR_P'
   11926 AWK='$AWK'
   11927 test -n "\$AWK" || AWK=awk
   11928 _ACEOF
   11929 
   11930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11931 # The default lists apply if the user does not specify any file.
   11932 ac_need_defaults=:
   11933 while test $# != 0
   11934 do
   11935   case $1 in
   11936   --*=?*)
   11937     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11938     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11939     ac_shift=:
   11940     ;;
   11941   --*=)
   11942     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11943     ac_optarg=
   11944     ac_shift=:
   11945     ;;
   11946   *)
   11947     ac_option=$1
   11948     ac_optarg=$2
   11949     ac_shift=shift
   11950     ;;
   11951   esac
   11952 
   11953   case $ac_option in
   11954   # Handling of the options.
   11955   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11956     ac_cs_recheck=: ;;
   11957   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11958     $as_echo "$ac_cs_version"; exit ;;
   11959   --config | --confi | --conf | --con | --co | --c )
   11960     $as_echo "$ac_cs_config"; exit ;;
   11961   --debug | --debu | --deb | --de | --d | -d )
   11962     debug=: ;;
   11963   --file | --fil | --fi | --f )
   11964     $ac_shift
   11965     case $ac_optarg in
   11966     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11967     '') as_fn_error $? "missing file argument" ;;
   11968     esac
   11969     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11970     ac_need_defaults=false;;
   11971   --header | --heade | --head | --hea )
   11972     $ac_shift
   11973     case $ac_optarg in
   11974     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11975     esac
   11976     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11977     ac_need_defaults=false;;
   11978   --he | --h)
   11979     # Conflict between --help and --header
   11980     as_fn_error $? "ambiguous option: \`$1'
   11981 Try \`$0 --help' for more information.";;
   11982   --help | --hel | -h )
   11983     $as_echo "$ac_cs_usage"; exit ;;
   11984   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11985   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11986     ac_cs_silent=: ;;
   11987 
   11988   # This is an error.
   11989   -*) as_fn_error $? "unrecognized option: \`$1'
   11990 Try \`$0 --help' for more information." ;;
   11991 
   11992   *) as_fn_append ac_config_targets " $1"
   11993      ac_need_defaults=false ;;
   11994 
   11995   esac
   11996   shift
   11997 done
   11998 
   11999 ac_configure_extra_args=
   12000 
   12001 if $ac_cs_silent; then
   12002   exec 6>/dev/null
   12003   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12004 fi
   12005 
   12006 _ACEOF
   12007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12008 if \$ac_cs_recheck; then
   12009   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12010   shift
   12011   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12012   CONFIG_SHELL='$SHELL'
   12013   export CONFIG_SHELL
   12014   exec "\$@"
   12015 fi
   12016 
   12017 _ACEOF
   12018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12019 exec 5>>config.log
   12020 {
   12021   echo
   12022   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12023 ## Running $as_me. ##
   12024 _ASBOX
   12025   $as_echo "$ac_log"
   12026 } >&5
   12027 
   12028 _ACEOF
   12029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12030 #
   12031 # INIT-COMMANDS
   12032 #
   12033 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12034 
   12035 _ACEOF
   12036 
   12037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12038 
   12039 # Handling of arguments.
   12040 for ac_config_target in $ac_config_targets
   12041 do
   12042   case $ac_config_target in
   12043     "xconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS xconfig.h" ;;
   12044     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12045     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12046 
   12047   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12048   esac
   12049 done
   12050 
   12051 
   12052 # If the user did not use the arguments to specify the items to instantiate,
   12053 # then the envvar interface is used.  Set only those that are not.
   12054 # We use the long form for the default assignment because of an extremely
   12055 # bizarre bug on SunOS 4.1.3.
   12056 if $ac_need_defaults; then
   12057   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12058   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12059   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12060 fi
   12061 
   12062 # Have a temporary directory for convenience.  Make it in the build tree
   12063 # simply because there is no reason against having it here, and in addition,
   12064 # creating and moving files from /tmp can sometimes cause problems.
   12065 # Hook for its removal unless debugging.
   12066 # Note that there is a small window in which the directory will not be cleaned:
   12067 # after its creation but before its name has been assigned to `$tmp'.
   12068 $debug ||
   12069 {
   12070   tmp= ac_tmp=
   12071   trap 'exit_status=$?
   12072   : "${ac_tmp:=$tmp}"
   12073   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12074 ' 0
   12075   trap 'as_fn_exit 1' 1 2 13 15
   12076 }
   12077 # Create a (secure) tmp directory for tmp files.
   12078 
   12079 {
   12080   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12081   test -d "$tmp"
   12082 }  ||
   12083 {
   12084   tmp=./conf$$-$RANDOM
   12085   (umask 077 && mkdir "$tmp")
   12086 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12087 ac_tmp=$tmp
   12088 
   12089 # Set up the scripts for CONFIG_FILES section.
   12090 # No need to generate them if there are no CONFIG_FILES.
   12091 # This happens for instance with `./config.status config.h'.
   12092 if test -n "$CONFIG_FILES"; then
   12093 
   12094 
   12095 ac_cr=`echo X | tr X '\015'`
   12096 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12097 # But we know of no other shell where ac_cr would be empty at this
   12098 # point, so we can use a bashism as a fallback.
   12099 if test "x$ac_cr" = x; then
   12100   eval ac_cr=\$\'\\r\'
   12101 fi
   12102 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12103 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12104   ac_cs_awk_cr='\\r'
   12105 else
   12106   ac_cs_awk_cr=$ac_cr
   12107 fi
   12108 
   12109 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12110 _ACEOF
   12111 
   12112 
   12113 {
   12114   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12115   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12116   echo "_ACEOF"
   12117 } >conf$$subs.sh ||
   12118   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12119 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12120 ac_delim='%!_!# '
   12121 for ac_last_try in false false false false false :; do
   12122   . ./conf$$subs.sh ||
   12123     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12124 
   12125   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12126   if test $ac_delim_n = $ac_delim_num; then
   12127     break
   12128   elif $ac_last_try; then
   12129     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12130   else
   12131     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12132   fi
   12133 done
   12134 rm -f conf$$subs.sh
   12135 
   12136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12137 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12138 _ACEOF
   12139 sed -n '
   12140 h
   12141 s/^/S["/; s/!.*/"]=/
   12142 p
   12143 g
   12144 s/^[^!]*!//
   12145 :repl
   12146 t repl
   12147 s/'"$ac_delim"'$//
   12148 t delim
   12149 :nl
   12150 h
   12151 s/\(.\{148\}\)..*/\1/
   12152 t more1
   12153 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12154 p
   12155 n
   12156 b repl
   12157 :more1
   12158 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12159 p
   12160 g
   12161 s/.\{148\}//
   12162 t nl
   12163 :delim
   12164 h
   12165 s/\(.\{148\}\)..*/\1/
   12166 t more2
   12167 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12168 p
   12169 b
   12170 :more2
   12171 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12172 p
   12173 g
   12174 s/.\{148\}//
   12175 t delim
   12176 ' <conf$$subs.awk | sed '
   12177 /^[^""]/{
   12178   N
   12179   s/\n//
   12180 }
   12181 ' >>$CONFIG_STATUS || ac_write_fail=1
   12182 rm -f conf$$subs.awk
   12183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12184 _ACAWK
   12185 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12186   for (key in S) S_is_set[key] = 1
   12187   FS = ""
   12188 
   12189 }
   12190 {
   12191   line = $ 0
   12192   nfields = split(line, field, "@")
   12193   substed = 0
   12194   len = length(field[1])
   12195   for (i = 2; i < nfields; i++) {
   12196     key = field[i]
   12197     keylen = length(key)
   12198     if (S_is_set[key]) {
   12199       value = S[key]
   12200       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12201       len += length(value) + length(field[++i])
   12202       substed = 1
   12203     } else
   12204       len += 1 + keylen
   12205   }
   12206 
   12207   print line
   12208 }
   12209 
   12210 _ACAWK
   12211 _ACEOF
   12212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12213 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12214   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12215 else
   12216   cat
   12217 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12218   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12219 _ACEOF
   12220 
   12221 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12222 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12223 # trailing colons and then remove the whole line if VPATH becomes empty
   12224 # (actually we leave an empty line to preserve line numbers).
   12225 if test "x$srcdir" = x.; then
   12226   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12227 h
   12228 s///
   12229 s/^/:/
   12230 s/[	 ]*$/:/
   12231 s/:\$(srcdir):/:/g
   12232 s/:\${srcdir}:/:/g
   12233 s/:@srcdir@:/:/g
   12234 s/^:*//
   12235 s/:*$//
   12236 x
   12237 s/\(=[	 ]*\).*/\1/
   12238 G
   12239 s/\n//
   12240 s/^[^=]*=[	 ]*$//
   12241 }'
   12242 fi
   12243 
   12244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12245 fi # test -n "$CONFIG_FILES"
   12246 
   12247 # Set up the scripts for CONFIG_HEADERS section.
   12248 # No need to generate them if there are no CONFIG_HEADERS.
   12249 # This happens for instance with `./config.status Makefile'.
   12250 if test -n "$CONFIG_HEADERS"; then
   12251 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12252 BEGIN {
   12253 _ACEOF
   12254 
   12255 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12256 # here-document in config.status, that substitutes the proper values into
   12257 # config.h.in to produce config.h.
   12258 
   12259 # Create a delimiter string that does not exist in confdefs.h, to ease
   12260 # handling of long lines.
   12261 ac_delim='%!_!# '
   12262 for ac_last_try in false false :; do
   12263   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12264   if test -z "$ac_tt"; then
   12265     break
   12266   elif $ac_last_try; then
   12267     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12268   else
   12269     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12270   fi
   12271 done
   12272 
   12273 # For the awk script, D is an array of macro values keyed by name,
   12274 # likewise P contains macro parameters if any.  Preserve backslash
   12275 # newline sequences.
   12276 
   12277 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12278 sed -n '
   12279 s/.\{148\}/&'"$ac_delim"'/g
   12280 t rset
   12281 :rset
   12282 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12283 t def
   12284 d
   12285 :def
   12286 s/\\$//
   12287 t bsnl
   12288 s/["\\]/\\&/g
   12289 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12290 D["\1"]=" \3"/p
   12291 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12292 d
   12293 :bsnl
   12294 s/["\\]/\\&/g
   12295 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12296 D["\1"]=" \3\\\\\\n"\\/p
   12297 t cont
   12298 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12299 t cont
   12300 d
   12301 :cont
   12302 n
   12303 s/.\{148\}/&'"$ac_delim"'/g
   12304 t clear
   12305 :clear
   12306 s/\\$//
   12307 t bsnlc
   12308 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12309 d
   12310 :bsnlc
   12311 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12312 b cont
   12313 ' <confdefs.h | sed '
   12314 s/'"$ac_delim"'/"\\\
   12315 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12316 
   12317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12318   for (key in D) D_is_set[key] = 1
   12319   FS = ""
   12320 }
   12321 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12322   line = \$ 0
   12323   split(line, arg, " ")
   12324   if (arg[1] == "#") {
   12325     defundef = arg[2]
   12326     mac1 = arg[3]
   12327   } else {
   12328     defundef = substr(arg[1], 2)
   12329     mac1 = arg[2]
   12330   }
   12331   split(mac1, mac2, "(") #)
   12332   macro = mac2[1]
   12333   prefix = substr(line, 1, index(line, defundef) - 1)
   12334   if (D_is_set[macro]) {
   12335     # Preserve the white space surrounding the "#".
   12336     print prefix "define", macro P[macro] D[macro]
   12337     next
   12338   } else {
   12339     # Replace #undef with comments.  This is necessary, for example,
   12340     # in the case of _POSIX_SOURCE, which is predefined and required
   12341     # on some systems where configure will not decide to define it.
   12342     if (defundef == "undef") {
   12343       print "/*", prefix defundef, macro, "*/"
   12344       next
   12345     }
   12346   }
   12347 }
   12348 { print }
   12349 _ACAWK
   12350 _ACEOF
   12351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12352   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12353 fi # test -n "$CONFIG_HEADERS"
   12354 
   12355 
   12356 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12357 shift
   12358 for ac_tag
   12359 do
   12360   case $ac_tag in
   12361   :[FHLC]) ac_mode=$ac_tag; continue;;
   12362   esac
   12363   case $ac_mode$ac_tag in
   12364   :[FHL]*:*);;
   12365   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12366   :[FH]-) ac_tag=-:-;;
   12367   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12368   esac
   12369   ac_save_IFS=$IFS
   12370   IFS=:
   12371   set x $ac_tag
   12372   IFS=$ac_save_IFS
   12373   shift
   12374   ac_file=$1
   12375   shift
   12376 
   12377   case $ac_mode in
   12378   :L) ac_source=$1;;
   12379   :[FH])
   12380     ac_file_inputs=
   12381     for ac_f
   12382     do
   12383       case $ac_f in
   12384       -) ac_f="$ac_tmp/stdin";;
   12385       *) # Look for the file first in the build tree, then in the source tree
   12386 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12387 	 # because $ac_f cannot contain `:'.
   12388 	 test -f "$ac_f" ||
   12389 	   case $ac_f in
   12390 	   [\\/$]*) false;;
   12391 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12392 	   esac ||
   12393 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12394       esac
   12395       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12396       as_fn_append ac_file_inputs " '$ac_f'"
   12397     done
   12398 
   12399     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12400     # use $as_me), people would be surprised to read:
   12401     #    /* config.h.  Generated by config.status.  */
   12402     configure_input='Generated from '`
   12403 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12404 	`' by configure.'
   12405     if test x"$ac_file" != x-; then
   12406       configure_input="$ac_file.  $configure_input"
   12407       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12408 $as_echo "$as_me: creating $ac_file" >&6;}
   12409     fi
   12410     # Neutralize special characters interpreted by sed in replacement strings.
   12411     case $configure_input in #(
   12412     *\&* | *\|* | *\\* )
   12413        ac_sed_conf_input=`$as_echo "$configure_input" |
   12414        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12415     *) ac_sed_conf_input=$configure_input;;
   12416     esac
   12417 
   12418     case $ac_tag in
   12419     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12420       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12421     esac
   12422     ;;
   12423   esac
   12424 
   12425   ac_dir=`$as_dirname -- "$ac_file" ||
   12426 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12427 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12428 	 X"$ac_file" : 'X\(//\)$' \| \
   12429 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12430 $as_echo X"$ac_file" |
   12431     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12432 	    s//\1/
   12433 	    q
   12434 	  }
   12435 	  /^X\(\/\/\)[^/].*/{
   12436 	    s//\1/
   12437 	    q
   12438 	  }
   12439 	  /^X\(\/\/\)$/{
   12440 	    s//\1/
   12441 	    q
   12442 	  }
   12443 	  /^X\(\/\).*/{
   12444 	    s//\1/
   12445 	    q
   12446 	  }
   12447 	  s/.*/./; q'`
   12448   as_dir="$ac_dir"; as_fn_mkdir_p
   12449   ac_builddir=.
   12450 
   12451 case "$ac_dir" in
   12452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12453 *)
   12454   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12455   # A ".." for each directory in $ac_dir_suffix.
   12456   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12457   case $ac_top_builddir_sub in
   12458   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12459   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12460   esac ;;
   12461 esac
   12462 ac_abs_top_builddir=$ac_pwd
   12463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12464 # for backward compatibility:
   12465 ac_top_builddir=$ac_top_build_prefix
   12466 
   12467 case $srcdir in
   12468   .)  # We are building in place.
   12469     ac_srcdir=.
   12470     ac_top_srcdir=$ac_top_builddir_sub
   12471     ac_abs_top_srcdir=$ac_pwd ;;
   12472   [\\/]* | ?:[\\/]* )  # Absolute name.
   12473     ac_srcdir=$srcdir$ac_dir_suffix;
   12474     ac_top_srcdir=$srcdir
   12475     ac_abs_top_srcdir=$srcdir ;;
   12476   *) # Relative name.
   12477     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12478     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12479     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12480 esac
   12481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12482 
   12483 
   12484   case $ac_mode in
   12485   :F)
   12486   #
   12487   # CONFIG_FILE
   12488   #
   12489 
   12490   case $INSTALL in
   12491   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12492   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12493   esac
   12494   ac_MKDIR_P=$MKDIR_P
   12495   case $MKDIR_P in
   12496   [\\/$]* | ?:[\\/]* ) ;;
   12497   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12498   esac
   12499 _ACEOF
   12500 
   12501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12502 # If the template does not know about datarootdir, expand it.
   12503 # FIXME: This hack should be removed a few years after 2.60.
   12504 ac_datarootdir_hack=; ac_datarootdir_seen=
   12505 ac_sed_dataroot='
   12506 /datarootdir/ {
   12507   p
   12508   q
   12509 }
   12510 /@datadir@/p
   12511 /@docdir@/p
   12512 /@infodir@/p
   12513 /@localedir@/p
   12514 /@mandir@/p'
   12515 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12516 *datarootdir*) ac_datarootdir_seen=yes;;
   12517 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12518   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12519 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12520 _ACEOF
   12521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12522   ac_datarootdir_hack='
   12523   s&@datadir@&$datadir&g
   12524   s&@docdir@&$docdir&g
   12525   s&@infodir@&$infodir&g
   12526   s&@localedir@&$localedir&g
   12527   s&@mandir@&$mandir&g
   12528   s&\\\${datarootdir}&$datarootdir&g' ;;
   12529 esac
   12530 _ACEOF
   12531 
   12532 # Neutralize VPATH when `$srcdir' = `.'.
   12533 # Shell code in configure.ac might set extrasub.
   12534 # FIXME: do we really want to maintain this feature?
   12535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12536 ac_sed_extra="$ac_vpsub
   12537 $extrasub
   12538 _ACEOF
   12539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12540 :t
   12541 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12542 s|@configure_input@|$ac_sed_conf_input|;t t
   12543 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12544 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12545 s&@srcdir@&$ac_srcdir&;t t
   12546 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12547 s&@top_srcdir@&$ac_top_srcdir&;t t
   12548 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12549 s&@builddir@&$ac_builddir&;t t
   12550 s&@abs_builddir@&$ac_abs_builddir&;t t
   12551 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12552 s&@INSTALL@&$ac_INSTALL&;t t
   12553 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12554 $ac_datarootdir_hack
   12555 "
   12556 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12557   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12558 
   12559 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12560   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12561   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12562       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12563   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12564 which seems to be undefined.  Please make sure it is defined" >&5
   12565 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12566 which seems to be undefined.  Please make sure it is defined" >&2;}
   12567 
   12568   rm -f "$ac_tmp/stdin"
   12569   case $ac_file in
   12570   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12571   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12572   esac \
   12573   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12574  ;;
   12575   :H)
   12576   #
   12577   # CONFIG_HEADER
   12578   #
   12579   if test x"$ac_file" != x-; then
   12580     {
   12581       $as_echo "/* $configure_input  */" \
   12582       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12583     } >"$ac_tmp/config.h" \
   12584       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12585     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12586       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12587 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12588     else
   12589       rm -f "$ac_file"
   12590       mv "$ac_tmp/config.h" "$ac_file" \
   12591 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12592     fi
   12593   else
   12594     $as_echo "/* $configure_input  */" \
   12595       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12596       || as_fn_error $? "could not create -" "$LINENO" 5
   12597   fi
   12598 # Compute "$ac_file"'s index in $config_headers.
   12599 _am_arg="$ac_file"
   12600 _am_stamp_count=1
   12601 for _am_header in $config_headers :; do
   12602   case $_am_header in
   12603     $_am_arg | $_am_arg:* )
   12604       break ;;
   12605     * )
   12606       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12607   esac
   12608 done
   12609 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12610 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12611 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12612 	 X"$_am_arg" : 'X\(//\)$' \| \
   12613 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12614 $as_echo X"$_am_arg" |
   12615     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12616 	    s//\1/
   12617 	    q
   12618 	  }
   12619 	  /^X\(\/\/\)[^/].*/{
   12620 	    s//\1/
   12621 	    q
   12622 	  }
   12623 	  /^X\(\/\/\)$/{
   12624 	    s//\1/
   12625 	    q
   12626 	  }
   12627 	  /^X\(\/\).*/{
   12628 	    s//\1/
   12629 	    q
   12630 	  }
   12631 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12632  ;;
   12633 
   12634   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12635 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12636  ;;
   12637   esac
   12638 
   12639 
   12640   case $ac_file$ac_mode in
   12641     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12642   # Older Autoconf quotes --file arguments for eval, but not when files
   12643   # are listed without --file.  Let's play safe and only enable the eval
   12644   # if we detect the quoting.
   12645   case $CONFIG_FILES in
   12646   *\'*) eval set x "$CONFIG_FILES" ;;
   12647   *)   set x $CONFIG_FILES ;;
   12648   esac
   12649   shift
   12650   for mf
   12651   do
   12652     # Strip MF so we end up with the name of the file.
   12653     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12654     # Check whether this is an Automake generated Makefile or not.
   12655     # We used to match only the files named 'Makefile.in', but
   12656     # some people rename them; so instead we look at the file content.
   12657     # Grep'ing the first line is not enough: some people post-process
   12658     # each Makefile.in and add a new line on top of each file to say so.
   12659     # Grep'ing the whole file is not good either: AIX grep has a line
   12660     # limit of 2048, but all sed's we know have understand at least 4000.
   12661     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12662       dirpart=`$as_dirname -- "$mf" ||
   12663 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12664 	 X"$mf" : 'X\(//\)[^/]' \| \
   12665 	 X"$mf" : 'X\(//\)$' \| \
   12666 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12667 $as_echo X"$mf" |
   12668     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12669 	    s//\1/
   12670 	    q
   12671 	  }
   12672 	  /^X\(\/\/\)[^/].*/{
   12673 	    s//\1/
   12674 	    q
   12675 	  }
   12676 	  /^X\(\/\/\)$/{
   12677 	    s//\1/
   12678 	    q
   12679 	  }
   12680 	  /^X\(\/\).*/{
   12681 	    s//\1/
   12682 	    q
   12683 	  }
   12684 	  s/.*/./; q'`
   12685     else
   12686       continue
   12687     fi
   12688     # Extract the definition of DEPDIR, am__include, and am__quote
   12689     # from the Makefile without running 'make'.
   12690     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12691     test -z "$DEPDIR" && continue
   12692     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12693     test -z "$am__include" && continue
   12694     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12695     # Find all dependency output files, they are included files with
   12696     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12697     # simplest approach to changing $(DEPDIR) to its actual value in the
   12698     # expansion.
   12699     for file in `sed -n "
   12700       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12701 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12702       # Make sure the directory exists.
   12703       test -f "$dirpart/$file" && continue
   12704       fdir=`$as_dirname -- "$file" ||
   12705 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12706 	 X"$file" : 'X\(//\)[^/]' \| \
   12707 	 X"$file" : 'X\(//\)$' \| \
   12708 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12709 $as_echo X"$file" |
   12710     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12711 	    s//\1/
   12712 	    q
   12713 	  }
   12714 	  /^X\(\/\/\)[^/].*/{
   12715 	    s//\1/
   12716 	    q
   12717 	  }
   12718 	  /^X\(\/\/\)$/{
   12719 	    s//\1/
   12720 	    q
   12721 	  }
   12722 	  /^X\(\/\).*/{
   12723 	    s//\1/
   12724 	    q
   12725 	  }
   12726 	  s/.*/./; q'`
   12727       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12728       # echo "creating $dirpart/$file"
   12729       echo '# dummy' > "$dirpart/$file"
   12730     done
   12731   done
   12732 }
   12733  ;;
   12734 
   12735   esac
   12736 done # for ac_tag
   12737 
   12738 
   12739 as_fn_exit 0
   12740 _ACEOF
   12741 ac_clean_files=$ac_clean_files_save
   12742 
   12743 test $ac_write_fail = 0 ||
   12744   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12745 
   12746 
   12747 # configure is writing to config.log, and then calls config.status.
   12748 # config.status does its own redirection, appending to config.log.
   12749 # Unfortunately, on DOS this fails, as config.log is still kept open
   12750 # by configure, so config.status won't be able to write to it; its
   12751 # output is simply discarded.  So we exec the FD to /dev/null,
   12752 # effectively closing config.log, so it can be properly (re)opened and
   12753 # appended to by config.status.  When coming back to configure, we
   12754 # need to make the FD available again.
   12755 if test "$no_create" != yes; then
   12756   ac_cs_success=:
   12757   ac_config_status_args=
   12758   test "$silent" = yes &&
   12759     ac_config_status_args="$ac_config_status_args --quiet"
   12760   exec 5>/dev/null
   12761   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12762   exec 5>>config.log
   12763   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12764   # would make configure fail if this is the last instruction.
   12765   $ac_cs_success || as_fn_exit 1
   12766 fi
   12767 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12768   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12769 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12770 fi
   12771 
   12772