Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-savage 2.3.7.
      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 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='xf86-video-savage'
    593 PACKAGE_TARNAME='xf86-video-savage'
    594 PACKAGE_VERSION='2.3.7'
    595 PACKAGE_STRING='xf86-video-savage 2.3.7'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 DRIVER_NAME
    641 moduledir
    642 XSERVER_LIBPCIACCESS_FALSE
    643 XSERVER_LIBPCIACCESS_TRUE
    644 PCIACCESS_LIBS
    645 PCIACCESS_CFLAGS
    646 XAA_FALSE
    647 XAA_TRUE
    648 DRI_LIBS
    649 DRI_CFLAGS
    650 DRI_FALSE
    651 DRI_TRUE
    652 HAVE_XEXTPROTO_71_FALSE
    653 HAVE_XEXTPROTO_71_TRUE
    654 XEXT_LIBS
    655 XEXT_CFLAGS
    656 XORG_LIBS
    657 XORG_CFLAGS
    658 OTOOL64
    659 OTOOL
    660 LIPO
    661 NMEDIT
    662 DSYMUTIL
    663 MANIFEST_TOOL
    664 RANLIB
    665 ac_ct_AR
    666 AR
    667 DLLTOOL
    668 OBJDUMP
    669 LN_S
    670 NM
    671 ac_ct_DUMPBIN
    672 DUMPBIN
    673 LD
    674 FGREP
    675 LIBTOOL
    676 AM_BACKSLASH
    677 AM_DEFAULT_VERBOSITY
    678 AM_DEFAULT_V
    679 AM_V
    680 MAN_SUBSTS
    681 XORG_MAN_PAGE
    682 ADMIN_MAN_DIR
    683 DRIVER_MAN_DIR
    684 MISC_MAN_DIR
    685 FILE_MAN_DIR
    686 LIB_MAN_DIR
    687 APP_MAN_DIR
    688 ADMIN_MAN_SUFFIX
    689 DRIVER_MAN_SUFFIX
    690 MISC_MAN_SUFFIX
    691 FILE_MAN_SUFFIX
    692 LIB_MAN_SUFFIX
    693 APP_MAN_SUFFIX
    694 SED
    695 host_os
    696 host_vendor
    697 host_cpu
    698 host
    699 build_os
    700 build_vendor
    701 build_cpu
    702 build
    703 INSTALL_CMD
    704 PKG_CONFIG_LIBDIR
    705 PKG_CONFIG_PATH
    706 PKG_CONFIG
    707 CHANGELOG_CMD
    708 STRICT_CFLAGS
    709 CWARNFLAGS
    710 BASE_CFLAGS
    711 EGREP
    712 GREP
    713 CPP
    714 am__fastdepCC_FALSE
    715 am__fastdepCC_TRUE
    716 CCDEPMODE
    717 am__nodep
    718 AMDEPBACKSLASH
    719 AMDEP_FALSE
    720 AMDEP_TRUE
    721 am__quote
    722 am__include
    723 DEPDIR
    724 OBJEXT
    725 EXEEXT
    726 ac_ct_CC
    727 CPPFLAGS
    728 LDFLAGS
    729 CFLAGS
    730 CC
    731 MAINT
    732 MAINTAINER_MODE_FALSE
    733 MAINTAINER_MODE_TRUE
    734 am__untar
    735 am__tar
    736 AMTAR
    737 am__leading_dot
    738 SET_MAKE
    739 AWK
    740 mkdir_p
    741 MKDIR_P
    742 INSTALL_STRIP_PROGRAM
    743 STRIP
    744 install_sh
    745 MAKEINFO
    746 AUTOHEADER
    747 AUTOMAKE
    748 AUTOCONF
    749 ACLOCAL
    750 VERSION
    751 PACKAGE
    752 CYGPATH_W
    753 am__isrc
    754 INSTALL_DATA
    755 INSTALL_SCRIPT
    756 INSTALL_PROGRAM
    757 target_alias
    758 host_alias
    759 build_alias
    760 LIBS
    761 ECHO_T
    762 ECHO_N
    763 ECHO_C
    764 DEFS
    765 mandir
    766 localedir
    767 libdir
    768 psdir
    769 pdfdir
    770 dvidir
    771 htmldir
    772 infodir
    773 docdir
    774 oldincludedir
    775 includedir
    776 localstatedir
    777 sharedstatedir
    778 sysconfdir
    779 datadir
    780 datarootdir
    781 libexecdir
    782 sbindir
    783 bindir
    784 program_transform_name
    785 prefix
    786 exec_prefix
    787 PACKAGE_URL
    788 PACKAGE_BUGREPORT
    789 PACKAGE_STRING
    790 PACKAGE_VERSION
    791 PACKAGE_TARNAME
    792 PACKAGE_NAME
    793 PATH_SEPARATOR
    794 SHELL'
    795 ac_subst_files=''
    796 ac_user_opts='
    797 enable_option_checking
    798 enable_maintainer_mode
    799 enable_dependency_tracking
    800 enable_selective_werror
    801 enable_strict_compilation
    802 enable_silent_rules
    803 enable_static
    804 enable_shared
    805 with_pic
    806 enable_fast_install
    807 with_gnu_ld
    808 with_sysroot
    809 enable_libtool_lock
    810 with_xorg_module_dir
    811 enable_dri
    812 enable_xaa
    813 '
    814       ac_precious_vars='build_alias
    815 host_alias
    816 target_alias
    817 CC
    818 CFLAGS
    819 LDFLAGS
    820 LIBS
    821 CPPFLAGS
    822 CPP
    823 PKG_CONFIG
    824 PKG_CONFIG_PATH
    825 PKG_CONFIG_LIBDIR
    826 XORG_CFLAGS
    827 XORG_LIBS
    828 XEXT_CFLAGS
    829 XEXT_LIBS
    830 DRI_CFLAGS
    831 DRI_LIBS
    832 PCIACCESS_CFLAGS
    833 PCIACCESS_LIBS'
    834 
    835 
    836 # Initialize some variables set by options.
    837 ac_init_help=
    838 ac_init_version=false
    839 ac_unrecognized_opts=
    840 ac_unrecognized_sep=
    841 # The variables have the same names as the options, with
    842 # dashes changed to underlines.
    843 cache_file=/dev/null
    844 exec_prefix=NONE
    845 no_create=
    846 no_recursion=
    847 prefix=NONE
    848 program_prefix=NONE
    849 program_suffix=NONE
    850 program_transform_name=s,x,x,
    851 silent=
    852 site=
    853 srcdir=
    854 verbose=
    855 x_includes=NONE
    856 x_libraries=NONE
    857 
    858 # Installation directory options.
    859 # These are left unexpanded so users can "make install exec_prefix=/foo"
    860 # and all the variables that are supposed to be based on exec_prefix
    861 # by default will actually change.
    862 # Use braces instead of parens because sh, perl, etc. also accept them.
    863 # (The list follows the same order as the GNU Coding Standards.)
    864 bindir='${exec_prefix}/bin'
    865 sbindir='${exec_prefix}/sbin'
    866 libexecdir='${exec_prefix}/libexec'
    867 datarootdir='${prefix}/share'
    868 datadir='${datarootdir}'
    869 sysconfdir='${prefix}/etc'
    870 sharedstatedir='${prefix}/com'
    871 localstatedir='${prefix}/var'
    872 includedir='${prefix}/include'
    873 oldincludedir='/usr/include'
    874 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    875 infodir='${datarootdir}/info'
    876 htmldir='${docdir}'
    877 dvidir='${docdir}'
    878 pdfdir='${docdir}'
    879 psdir='${docdir}'
    880 libdir='${exec_prefix}/lib'
    881 localedir='${datarootdir}/locale'
    882 mandir='${datarootdir}/man'
    883 
    884 ac_prev=
    885 ac_dashdash=
    886 for ac_option
    887 do
    888   # If the previous option needs an argument, assign it.
    889   if test -n "$ac_prev"; then
    890     eval $ac_prev=\$ac_option
    891     ac_prev=
    892     continue
    893   fi
    894 
    895   case $ac_option in
    896   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    897   *=)   ac_optarg= ;;
    898   *)    ac_optarg=yes ;;
    899   esac
    900 
    901   # Accept the important Cygnus configure options, so we can diagnose typos.
    902 
    903   case $ac_dashdash$ac_option in
    904   --)
    905     ac_dashdash=yes ;;
    906 
    907   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    908     ac_prev=bindir ;;
    909   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    910     bindir=$ac_optarg ;;
    911 
    912   -build | --build | --buil | --bui | --bu)
    913     ac_prev=build_alias ;;
    914   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    915     build_alias=$ac_optarg ;;
    916 
    917   -cache-file | --cache-file | --cache-fil | --cache-fi \
    918   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    919     ac_prev=cache_file ;;
    920   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    921   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    922     cache_file=$ac_optarg ;;
    923 
    924   --config-cache | -C)
    925     cache_file=config.cache ;;
    926 
    927   -datadir | --datadir | --datadi | --datad)
    928     ac_prev=datadir ;;
    929   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    930     datadir=$ac_optarg ;;
    931 
    932   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    933   | --dataroo | --dataro | --datar)
    934     ac_prev=datarootdir ;;
    935   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    936   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    937     datarootdir=$ac_optarg ;;
    938 
    939   -disable-* | --disable-*)
    940     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    941     # Reject names that are not valid shell variable names.
    942     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    943       as_fn_error $? "invalid feature name: $ac_useropt"
    944     ac_useropt_orig=$ac_useropt
    945     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    946     case $ac_user_opts in
    947       *"
    948 "enable_$ac_useropt"
    949 "*) ;;
    950       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    951 	 ac_unrecognized_sep=', ';;
    952     esac
    953     eval enable_$ac_useropt=no ;;
    954 
    955   -docdir | --docdir | --docdi | --doc | --do)
    956     ac_prev=docdir ;;
    957   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    958     docdir=$ac_optarg ;;
    959 
    960   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    961     ac_prev=dvidir ;;
    962   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    963     dvidir=$ac_optarg ;;
    964 
    965   -enable-* | --enable-*)
    966     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    967     # Reject names that are not valid shell variable names.
    968     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    969       as_fn_error $? "invalid feature name: $ac_useropt"
    970     ac_useropt_orig=$ac_useropt
    971     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    972     case $ac_user_opts in
    973       *"
    974 "enable_$ac_useropt"
    975 "*) ;;
    976       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    977 	 ac_unrecognized_sep=', ';;
    978     esac
    979     eval enable_$ac_useropt=\$ac_optarg ;;
    980 
    981   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    982   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    983   | --exec | --exe | --ex)
    984     ac_prev=exec_prefix ;;
    985   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    986   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    987   | --exec=* | --exe=* | --ex=*)
    988     exec_prefix=$ac_optarg ;;
    989 
    990   -gas | --gas | --ga | --g)
    991     # Obsolete; use --with-gas.
    992     with_gas=yes ;;
    993 
    994   -help | --help | --hel | --he | -h)
    995     ac_init_help=long ;;
    996   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    997     ac_init_help=recursive ;;
    998   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    999     ac_init_help=short ;;
   1000 
   1001   -host | --host | --hos | --ho)
   1002     ac_prev=host_alias ;;
   1003   -host=* | --host=* | --hos=* | --ho=*)
   1004     host_alias=$ac_optarg ;;
   1005 
   1006   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1007     ac_prev=htmldir ;;
   1008   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1009   | --ht=*)
   1010     htmldir=$ac_optarg ;;
   1011 
   1012   -includedir | --includedir | --includedi | --included | --include \
   1013   | --includ | --inclu | --incl | --inc)
   1014     ac_prev=includedir ;;
   1015   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1016   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1017     includedir=$ac_optarg ;;
   1018 
   1019   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1020     ac_prev=infodir ;;
   1021   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1022     infodir=$ac_optarg ;;
   1023 
   1024   -libdir | --libdir | --libdi | --libd)
   1025     ac_prev=libdir ;;
   1026   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1027     libdir=$ac_optarg ;;
   1028 
   1029   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1030   | --libexe | --libex | --libe)
   1031     ac_prev=libexecdir ;;
   1032   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1033   | --libexe=* | --libex=* | --libe=*)
   1034     libexecdir=$ac_optarg ;;
   1035 
   1036   -localedir | --localedir | --localedi | --localed | --locale)
   1037     ac_prev=localedir ;;
   1038   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1039     localedir=$ac_optarg ;;
   1040 
   1041   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1042   | --localstate | --localstat | --localsta | --localst | --locals)
   1043     ac_prev=localstatedir ;;
   1044   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1045   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1046     localstatedir=$ac_optarg ;;
   1047 
   1048   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1049     ac_prev=mandir ;;
   1050   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1051     mandir=$ac_optarg ;;
   1052 
   1053   -nfp | --nfp | --nf)
   1054     # Obsolete; use --without-fp.
   1055     with_fp=no ;;
   1056 
   1057   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1058   | --no-cr | --no-c | -n)
   1059     no_create=yes ;;
   1060 
   1061   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1062   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1063     no_recursion=yes ;;
   1064 
   1065   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1066   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1067   | --oldin | --oldi | --old | --ol | --o)
   1068     ac_prev=oldincludedir ;;
   1069   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1070   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1071   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1072     oldincludedir=$ac_optarg ;;
   1073 
   1074   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1075     ac_prev=prefix ;;
   1076   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1077     prefix=$ac_optarg ;;
   1078 
   1079   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1080   | --program-pre | --program-pr | --program-p)
   1081     ac_prev=program_prefix ;;
   1082   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1083   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1084     program_prefix=$ac_optarg ;;
   1085 
   1086   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1087   | --program-suf | --program-su | --program-s)
   1088     ac_prev=program_suffix ;;
   1089   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1090   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1091     program_suffix=$ac_optarg ;;
   1092 
   1093   -program-transform-name | --program-transform-name \
   1094   | --program-transform-nam | --program-transform-na \
   1095   | --program-transform-n | --program-transform- \
   1096   | --program-transform | --program-transfor \
   1097   | --program-transfo | --program-transf \
   1098   | --program-trans | --program-tran \
   1099   | --progr-tra | --program-tr | --program-t)
   1100     ac_prev=program_transform_name ;;
   1101   -program-transform-name=* | --program-transform-name=* \
   1102   | --program-transform-nam=* | --program-transform-na=* \
   1103   | --program-transform-n=* | --program-transform-=* \
   1104   | --program-transform=* | --program-transfor=* \
   1105   | --program-transfo=* | --program-transf=* \
   1106   | --program-trans=* | --program-tran=* \
   1107   | --progr-tra=* | --program-tr=* | --program-t=*)
   1108     program_transform_name=$ac_optarg ;;
   1109 
   1110   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1111     ac_prev=pdfdir ;;
   1112   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1113     pdfdir=$ac_optarg ;;
   1114 
   1115   -psdir | --psdir | --psdi | --psd | --ps)
   1116     ac_prev=psdir ;;
   1117   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1118     psdir=$ac_optarg ;;
   1119 
   1120   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1121   | -silent | --silent | --silen | --sile | --sil)
   1122     silent=yes ;;
   1123 
   1124   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1125     ac_prev=sbindir ;;
   1126   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1127   | --sbi=* | --sb=*)
   1128     sbindir=$ac_optarg ;;
   1129 
   1130   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1131   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1132   | --sharedst | --shareds | --shared | --share | --shar \
   1133   | --sha | --sh)
   1134     ac_prev=sharedstatedir ;;
   1135   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1136   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1137   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1138   | --sha=* | --sh=*)
   1139     sharedstatedir=$ac_optarg ;;
   1140 
   1141   -site | --site | --sit)
   1142     ac_prev=site ;;
   1143   -site=* | --site=* | --sit=*)
   1144     site=$ac_optarg ;;
   1145 
   1146   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1147     ac_prev=srcdir ;;
   1148   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1149     srcdir=$ac_optarg ;;
   1150 
   1151   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1152   | --syscon | --sysco | --sysc | --sys | --sy)
   1153     ac_prev=sysconfdir ;;
   1154   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1155   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1156     sysconfdir=$ac_optarg ;;
   1157 
   1158   -target | --target | --targe | --targ | --tar | --ta | --t)
   1159     ac_prev=target_alias ;;
   1160   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1161     target_alias=$ac_optarg ;;
   1162 
   1163   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1164     verbose=yes ;;
   1165 
   1166   -version | --version | --versio | --versi | --vers | -V)
   1167     ac_init_version=: ;;
   1168 
   1169   -with-* | --with-*)
   1170     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1171     # Reject names that are not valid shell variable names.
   1172     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1173       as_fn_error $? "invalid package name: $ac_useropt"
   1174     ac_useropt_orig=$ac_useropt
   1175     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1176     case $ac_user_opts in
   1177       *"
   1178 "with_$ac_useropt"
   1179 "*) ;;
   1180       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1181 	 ac_unrecognized_sep=', ';;
   1182     esac
   1183     eval with_$ac_useropt=\$ac_optarg ;;
   1184 
   1185   -without-* | --without-*)
   1186     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1187     # Reject names that are not valid shell variable names.
   1188     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1189       as_fn_error $? "invalid package name: $ac_useropt"
   1190     ac_useropt_orig=$ac_useropt
   1191     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1192     case $ac_user_opts in
   1193       *"
   1194 "with_$ac_useropt"
   1195 "*) ;;
   1196       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1197 	 ac_unrecognized_sep=', ';;
   1198     esac
   1199     eval with_$ac_useropt=no ;;
   1200 
   1201   --x)
   1202     # Obsolete; use --with-x.
   1203     with_x=yes ;;
   1204 
   1205   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1206   | --x-incl | --x-inc | --x-in | --x-i)
   1207     ac_prev=x_includes ;;
   1208   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1209   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1210     x_includes=$ac_optarg ;;
   1211 
   1212   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1213   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1214     ac_prev=x_libraries ;;
   1215   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1216   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1217     x_libraries=$ac_optarg ;;
   1218 
   1219   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1220 Try \`$0 --help' for more information"
   1221     ;;
   1222 
   1223   *=*)
   1224     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1225     # Reject names that are not valid shell variable names.
   1226     case $ac_envvar in #(
   1227       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1228       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1229     esac
   1230     eval $ac_envvar=\$ac_optarg
   1231     export $ac_envvar ;;
   1232 
   1233   *)
   1234     # FIXME: should be removed in autoconf 3.0.
   1235     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1236     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1237       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1238     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1239     ;;
   1240 
   1241   esac
   1242 done
   1243 
   1244 if test -n "$ac_prev"; then
   1245   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1246   as_fn_error $? "missing argument to $ac_option"
   1247 fi
   1248 
   1249 if test -n "$ac_unrecognized_opts"; then
   1250   case $enable_option_checking in
   1251     no) ;;
   1252     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1253     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1254   esac
   1255 fi
   1256 
   1257 # Check all directory arguments for consistency.
   1258 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1259 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1260 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1261 		libdir localedir mandir
   1262 do
   1263   eval ac_val=\$$ac_var
   1264   # Remove trailing slashes.
   1265   case $ac_val in
   1266     */ )
   1267       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1268       eval $ac_var=\$ac_val;;
   1269   esac
   1270   # Be sure to have absolute directory names.
   1271   case $ac_val in
   1272     [\\/$]* | ?:[\\/]* )  continue;;
   1273     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1274   esac
   1275   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1276 done
   1277 
   1278 # There might be people who depend on the old broken behavior: `$host'
   1279 # used to hold the argument of --host etc.
   1280 # FIXME: To remove some day.
   1281 build=$build_alias
   1282 host=$host_alias
   1283 target=$target_alias
   1284 
   1285 # FIXME: To remove some day.
   1286 if test "x$host_alias" != x; then
   1287   if test "x$build_alias" = x; then
   1288     cross_compiling=maybe
   1289   elif test "x$build_alias" != "x$host_alias"; then
   1290     cross_compiling=yes
   1291   fi
   1292 fi
   1293 
   1294 ac_tool_prefix=
   1295 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1296 
   1297 test "$silent" = yes && exec 6>/dev/null
   1298 
   1299 
   1300 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1301 ac_ls_di=`ls -di .` &&
   1302 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1303   as_fn_error $? "working directory cannot be determined"
   1304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1305   as_fn_error $? "pwd does not report name of working directory"
   1306 
   1307 
   1308 # Find the source files, if location was not specified.
   1309 if test -z "$srcdir"; then
   1310   ac_srcdir_defaulted=yes
   1311   # Try the directory containing this script, then the parent directory.
   1312   ac_confdir=`$as_dirname -- "$as_myself" ||
   1313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1314 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1315 	 X"$as_myself" : 'X\(//\)$' \| \
   1316 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1317 $as_echo X"$as_myself" |
   1318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1319 	    s//\1/
   1320 	    q
   1321 	  }
   1322 	  /^X\(\/\/\)[^/].*/{
   1323 	    s//\1/
   1324 	    q
   1325 	  }
   1326 	  /^X\(\/\/\)$/{
   1327 	    s//\1/
   1328 	    q
   1329 	  }
   1330 	  /^X\(\/\).*/{
   1331 	    s//\1/
   1332 	    q
   1333 	  }
   1334 	  s/.*/./; q'`
   1335   srcdir=$ac_confdir
   1336   if test ! -r "$srcdir/$ac_unique_file"; then
   1337     srcdir=..
   1338   fi
   1339 else
   1340   ac_srcdir_defaulted=no
   1341 fi
   1342 if test ! -r "$srcdir/$ac_unique_file"; then
   1343   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1344   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1345 fi
   1346 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1347 ac_abs_confdir=`(
   1348 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1349 	pwd)`
   1350 # When building in place, set srcdir=.
   1351 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1352   srcdir=.
   1353 fi
   1354 # Remove unnecessary trailing slashes from srcdir.
   1355 # Double slashes in file names in object file debugging info
   1356 # mess up M-x gdb in Emacs.
   1357 case $srcdir in
   1358 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1359 esac
   1360 for ac_var in $ac_precious_vars; do
   1361   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1362   eval ac_env_${ac_var}_value=\$${ac_var}
   1363   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1364   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1365 done
   1366 
   1367 #
   1368 # Report the --help message.
   1369 #
   1370 if test "$ac_init_help" = "long"; then
   1371   # Omit some internal or obsolete options to make the list less imposing.
   1372   # This message is too long to be a string in the A/UX 3.1 sh.
   1373   cat <<_ACEOF
   1374 \`configure' configures xf86-video-savage 2.3.7 to adapt to many kinds of systems.
   1375 
   1376 Usage: $0 [OPTION]... [VAR=VALUE]...
   1377 
   1378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1379 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1380 
   1381 Defaults for the options are specified in brackets.
   1382 
   1383 Configuration:
   1384   -h, --help              display this help and exit
   1385       --help=short        display options specific to this package
   1386       --help=recursive    display the short help of all the included packages
   1387   -V, --version           display version information and exit
   1388   -q, --quiet, --silent   do not print \`checking ...' messages
   1389       --cache-file=FILE   cache test results in FILE [disabled]
   1390   -C, --config-cache      alias for \`--cache-file=config.cache'
   1391   -n, --no-create         do not create output files
   1392       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1393 
   1394 Installation directories:
   1395   --prefix=PREFIX         install architecture-independent files in PREFIX
   1396                           [$ac_default_prefix]
   1397   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1398                           [PREFIX]
   1399 
   1400 By default, \`make install' will install all the files in
   1401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1403 for instance \`--prefix=\$HOME'.
   1404 
   1405 For better control, use the options below.
   1406 
   1407 Fine tuning of the installation directories:
   1408   --bindir=DIR            user executables [EPREFIX/bin]
   1409   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1410   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1411   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1412   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1413   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1414   --libdir=DIR            object code libraries [EPREFIX/lib]
   1415   --includedir=DIR        C header files [PREFIX/include]
   1416   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1417   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1418   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1419   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1420   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1421   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1422   --docdir=DIR            documentation root
   1423                           [DATAROOTDIR/doc/xf86-video-savage]
   1424   --htmldir=DIR           html documentation [DOCDIR]
   1425   --dvidir=DIR            dvi documentation [DOCDIR]
   1426   --pdfdir=DIR            pdf documentation [DOCDIR]
   1427   --psdir=DIR             ps documentation [DOCDIR]
   1428 _ACEOF
   1429 
   1430   cat <<\_ACEOF
   1431 
   1432 Program names:
   1433   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1434   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1435   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1436 
   1437 System types:
   1438   --build=BUILD     configure for building on BUILD [guessed]
   1439   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1440 _ACEOF
   1441 fi
   1442 
   1443 if test -n "$ac_init_help"; then
   1444   case $ac_init_help in
   1445      short | recursive ) echo "Configuration of xf86-video-savage 2.3.7:";;
   1446    esac
   1447   cat <<\_ACEOF
   1448 
   1449 Optional Features:
   1450   --disable-option-checking  ignore unrecognized --enable/--with options
   1451   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1452   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1453   --enable-maintainer-mode  enable make rules and dependencies not useful
   1454 			  (and sometimes confusing) to the casual installer
   1455   --disable-dependency-tracking  speeds up one-time build
   1456   --enable-dependency-tracking   do not reject slow dependency extractors
   1457   --disable-selective-werror
   1458                           Turn off selective compiler errors. (default:
   1459                           enabled)
   1460   --enable-strict-compilation
   1461                           Enable all warnings from compiler and make them
   1462                           errors (default: disabled)
   1463   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1464   --disable-silent-rules         verbose build output (undo: `make V=0')
   1465   --enable-static[=PKGS]  build static libraries [default=no]
   1466   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1467   --enable-fast-install[=PKGS]
   1468                           optimize for fast installation [default=yes]
   1469   --disable-libtool-lock  avoid locking (might break parallel builds)
   1470   --disable-dri           Disable DRI support [[default=auto]]
   1471   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1472                           [default=auto]
   1473 
   1474 Optional Packages:
   1475   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1476   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1477   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1478                           both]
   1479   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1480   --with-sysroot=DIR Search for dependent libraries within DIR
   1481                         (or the compiler's sysroot if not specified).
   1482   --with-xorg-module-dir=DIR
   1483                           Default xorg module directory
   1484                           [[default=$libdir/xorg/modules]]
   1485 
   1486 Some influential environment variables:
   1487   CC          C compiler command
   1488   CFLAGS      C compiler flags
   1489   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1490               nonstandard directory <lib dir>
   1491   LIBS        libraries to pass to the linker, e.g. -l<library>
   1492   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1493               you have headers in a nonstandard directory <include dir>
   1494   CPP         C preprocessor
   1495   PKG_CONFIG  path to pkg-config utility
   1496   PKG_CONFIG_PATH
   1497               directories to add to pkg-config's search path
   1498   PKG_CONFIG_LIBDIR
   1499               path overriding pkg-config's built-in search path
   1500   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1501   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1502   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1503   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1504   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1505   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1506   PCIACCESS_CFLAGS
   1507               C compiler flags for PCIACCESS, overriding pkg-config
   1508   PCIACCESS_LIBS
   1509               linker flags for PCIACCESS, overriding pkg-config
   1510 
   1511 Use these variables to override the choices made by `configure' or to help
   1512 it to find libraries and programs with nonstandard names/locations.
   1513 
   1514 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1515 _ACEOF
   1516 ac_status=$?
   1517 fi
   1518 
   1519 if test "$ac_init_help" = "recursive"; then
   1520   # If there are subdirs, report their specific --help.
   1521   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1522     test -d "$ac_dir" ||
   1523       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1524       continue
   1525     ac_builddir=.
   1526 
   1527 case "$ac_dir" in
   1528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1529 *)
   1530   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1531   # A ".." for each directory in $ac_dir_suffix.
   1532   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1533   case $ac_top_builddir_sub in
   1534   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1535   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1536   esac ;;
   1537 esac
   1538 ac_abs_top_builddir=$ac_pwd
   1539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1540 # for backward compatibility:
   1541 ac_top_builddir=$ac_top_build_prefix
   1542 
   1543 case $srcdir in
   1544   .)  # We are building in place.
   1545     ac_srcdir=.
   1546     ac_top_srcdir=$ac_top_builddir_sub
   1547     ac_abs_top_srcdir=$ac_pwd ;;
   1548   [\\/]* | ?:[\\/]* )  # Absolute name.
   1549     ac_srcdir=$srcdir$ac_dir_suffix;
   1550     ac_top_srcdir=$srcdir
   1551     ac_abs_top_srcdir=$srcdir ;;
   1552   *) # Relative name.
   1553     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1554     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1555     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1556 esac
   1557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1558 
   1559     cd "$ac_dir" || { ac_status=$?; continue; }
   1560     # Check for guested configure.
   1561     if test -f "$ac_srcdir/configure.gnu"; then
   1562       echo &&
   1563       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1564     elif test -f "$ac_srcdir/configure"; then
   1565       echo &&
   1566       $SHELL "$ac_srcdir/configure" --help=recursive
   1567     else
   1568       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1569     fi || ac_status=$?
   1570     cd "$ac_pwd" || { ac_status=$?; break; }
   1571   done
   1572 fi
   1573 
   1574 test -n "$ac_init_help" && exit $ac_status
   1575 if $ac_init_version; then
   1576   cat <<\_ACEOF
   1577 xf86-video-savage configure 2.3.7
   1578 generated by GNU Autoconf 2.69
   1579 
   1580 Copyright (C) 2012 Free Software Foundation, Inc.
   1581 This configure script is free software; the Free Software Foundation
   1582 gives unlimited permission to copy, distribute and modify it.
   1583 _ACEOF
   1584   exit
   1585 fi
   1586 
   1587 ## ------------------------ ##
   1588 ## Autoconf initialization. ##
   1589 ## ------------------------ ##
   1590 
   1591 # ac_fn_c_try_compile LINENO
   1592 # --------------------------
   1593 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1594 ac_fn_c_try_compile ()
   1595 {
   1596   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1597   rm -f conftest.$ac_objext
   1598   if { { ac_try="$ac_compile"
   1599 case "(($ac_try" in
   1600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1601   *) ac_try_echo=$ac_try;;
   1602 esac
   1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1604 $as_echo "$ac_try_echo"; } >&5
   1605   (eval "$ac_compile") 2>conftest.err
   1606   ac_status=$?
   1607   if test -s conftest.err; then
   1608     grep -v '^ *+' conftest.err >conftest.er1
   1609     cat conftest.er1 >&5
   1610     mv -f conftest.er1 conftest.err
   1611   fi
   1612   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1613   test $ac_status = 0; } && {
   1614 	 test -z "$ac_c_werror_flag" ||
   1615 	 test ! -s conftest.err
   1616        } && test -s conftest.$ac_objext; then :
   1617   ac_retval=0
   1618 else
   1619   $as_echo "$as_me: failed program was:" >&5
   1620 sed 's/^/| /' conftest.$ac_ext >&5
   1621 
   1622 	ac_retval=1
   1623 fi
   1624   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1625   as_fn_set_status $ac_retval
   1626 
   1627 } # ac_fn_c_try_compile
   1628 
   1629 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1630 # ---------------------------------------------
   1631 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1632 # accordingly.
   1633 ac_fn_c_check_decl ()
   1634 {
   1635   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1636   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1637   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1639 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1640 if eval \${$3+:} false; then :
   1641   $as_echo_n "(cached) " >&6
   1642 else
   1643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1644 /* end confdefs.h.  */
   1645 $4
   1646 int
   1647 main ()
   1648 {
   1649 #ifndef $as_decl_name
   1650 #ifdef __cplusplus
   1651   (void) $as_decl_use;
   1652 #else
   1653   (void) $as_decl_name;
   1654 #endif
   1655 #endif
   1656 
   1657   ;
   1658   return 0;
   1659 }
   1660 _ACEOF
   1661 if ac_fn_c_try_compile "$LINENO"; then :
   1662   eval "$3=yes"
   1663 else
   1664   eval "$3=no"
   1665 fi
   1666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1667 fi
   1668 eval ac_res=\$$3
   1669 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1670 $as_echo "$ac_res" >&6; }
   1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1672 
   1673 } # ac_fn_c_check_decl
   1674 
   1675 # ac_fn_c_try_cpp LINENO
   1676 # ----------------------
   1677 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1678 ac_fn_c_try_cpp ()
   1679 {
   1680   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1681   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1682 case "(($ac_try" in
   1683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1684   *) ac_try_echo=$ac_try;;
   1685 esac
   1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1687 $as_echo "$ac_try_echo"; } >&5
   1688   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1689   ac_status=$?
   1690   if test -s conftest.err; then
   1691     grep -v '^ *+' conftest.err >conftest.er1
   1692     cat conftest.er1 >&5
   1693     mv -f conftest.er1 conftest.err
   1694   fi
   1695   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1696   test $ac_status = 0; } > conftest.i && {
   1697 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1698 	 test ! -s conftest.err
   1699        }; then :
   1700   ac_retval=0
   1701 else
   1702   $as_echo "$as_me: failed program was:" >&5
   1703 sed 's/^/| /' conftest.$ac_ext >&5
   1704 
   1705     ac_retval=1
   1706 fi
   1707   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1708   as_fn_set_status $ac_retval
   1709 
   1710 } # ac_fn_c_try_cpp
   1711 
   1712 # ac_fn_c_try_run LINENO
   1713 # ----------------------
   1714 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1715 # that executables *can* be run.
   1716 ac_fn_c_try_run ()
   1717 {
   1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1719   if { { ac_try="$ac_link"
   1720 case "(($ac_try" in
   1721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1722   *) ac_try_echo=$ac_try;;
   1723 esac
   1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1725 $as_echo "$ac_try_echo"; } >&5
   1726   (eval "$ac_link") 2>&5
   1727   ac_status=$?
   1728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1729   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1730   { { case "(($ac_try" in
   1731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1732   *) ac_try_echo=$ac_try;;
   1733 esac
   1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1735 $as_echo "$ac_try_echo"; } >&5
   1736   (eval "$ac_try") 2>&5
   1737   ac_status=$?
   1738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1739   test $ac_status = 0; }; }; then :
   1740   ac_retval=0
   1741 else
   1742   $as_echo "$as_me: program exited with status $ac_status" >&5
   1743        $as_echo "$as_me: failed program was:" >&5
   1744 sed 's/^/| /' conftest.$ac_ext >&5
   1745 
   1746        ac_retval=$ac_status
   1747 fi
   1748   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1749   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1750   as_fn_set_status $ac_retval
   1751 
   1752 } # ac_fn_c_try_run
   1753 
   1754 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1755 # -------------------------------------------------------
   1756 # Tests whether HEADER exists and can be compiled using the include files in
   1757 # INCLUDES, setting the cache variable VAR accordingly.
   1758 ac_fn_c_check_header_compile ()
   1759 {
   1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1762 $as_echo_n "checking for $2... " >&6; }
   1763 if eval \${$3+:} false; then :
   1764   $as_echo_n "(cached) " >&6
   1765 else
   1766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1767 /* end confdefs.h.  */
   1768 $4
   1769 #include <$2>
   1770 _ACEOF
   1771 if ac_fn_c_try_compile "$LINENO"; then :
   1772   eval "$3=yes"
   1773 else
   1774   eval "$3=no"
   1775 fi
   1776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1777 fi
   1778 eval ac_res=\$$3
   1779 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1780 $as_echo "$ac_res" >&6; }
   1781   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1782 
   1783 } # ac_fn_c_check_header_compile
   1784 
   1785 # ac_fn_c_try_link LINENO
   1786 # -----------------------
   1787 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1788 ac_fn_c_try_link ()
   1789 {
   1790   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1791   rm -f conftest.$ac_objext conftest$ac_exeext
   1792   if { { ac_try="$ac_link"
   1793 case "(($ac_try" in
   1794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1795   *) ac_try_echo=$ac_try;;
   1796 esac
   1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1798 $as_echo "$ac_try_echo"; } >&5
   1799   (eval "$ac_link") 2>conftest.err
   1800   ac_status=$?
   1801   if test -s conftest.err; then
   1802     grep -v '^ *+' conftest.err >conftest.er1
   1803     cat conftest.er1 >&5
   1804     mv -f conftest.er1 conftest.err
   1805   fi
   1806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1807   test $ac_status = 0; } && {
   1808 	 test -z "$ac_c_werror_flag" ||
   1809 	 test ! -s conftest.err
   1810        } && test -s conftest$ac_exeext && {
   1811 	 test "$cross_compiling" = yes ||
   1812 	 test -x conftest$ac_exeext
   1813        }; then :
   1814   ac_retval=0
   1815 else
   1816   $as_echo "$as_me: failed program was:" >&5
   1817 sed 's/^/| /' conftest.$ac_ext >&5
   1818 
   1819 	ac_retval=1
   1820 fi
   1821   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1822   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1823   # interfere with the next link command; also delete a directory that is
   1824   # left behind by Apple's compiler.  We do this before executing the actions.
   1825   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1826   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1827   as_fn_set_status $ac_retval
   1828 
   1829 } # ac_fn_c_try_link
   1830 
   1831 # ac_fn_c_check_func LINENO FUNC VAR
   1832 # ----------------------------------
   1833 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1834 ac_fn_c_check_func ()
   1835 {
   1836   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1838 $as_echo_n "checking for $2... " >&6; }
   1839 if eval \${$3+:} false; then :
   1840   $as_echo_n "(cached) " >&6
   1841 else
   1842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1843 /* end confdefs.h.  */
   1844 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1846 #define $2 innocuous_$2
   1847 
   1848 /* System header to define __stub macros and hopefully few prototypes,
   1849     which can conflict with char $2 (); below.
   1850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1851     <limits.h> exists even on freestanding compilers.  */
   1852 
   1853 #ifdef __STDC__
   1854 # include <limits.h>
   1855 #else
   1856 # include <assert.h>
   1857 #endif
   1858 
   1859 #undef $2
   1860 
   1861 /* Override any GCC internal prototype to avoid an error.
   1862    Use char because int might match the return type of a GCC
   1863    builtin and then its argument prototype would still apply.  */
   1864 #ifdef __cplusplus
   1865 extern "C"
   1866 #endif
   1867 char $2 ();
   1868 /* The GNU C library defines this for functions which it implements
   1869     to always fail with ENOSYS.  Some functions are actually named
   1870     something starting with __ and the normal name is an alias.  */
   1871 #if defined __stub_$2 || defined __stub___$2
   1872 choke me
   1873 #endif
   1874 
   1875 int
   1876 main ()
   1877 {
   1878 return $2 ();
   1879   ;
   1880   return 0;
   1881 }
   1882 _ACEOF
   1883 if ac_fn_c_try_link "$LINENO"; then :
   1884   eval "$3=yes"
   1885 else
   1886   eval "$3=no"
   1887 fi
   1888 rm -f core conftest.err conftest.$ac_objext \
   1889     conftest$ac_exeext conftest.$ac_ext
   1890 fi
   1891 eval ac_res=\$$3
   1892 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1893 $as_echo "$ac_res" >&6; }
   1894   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1895 
   1896 } # ac_fn_c_check_func
   1897 
   1898 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1899 # -------------------------------------------------------
   1900 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1901 # the include files in INCLUDES and setting the cache variable VAR
   1902 # accordingly.
   1903 ac_fn_c_check_header_mongrel ()
   1904 {
   1905   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1906   if eval \${$3+:} false; then :
   1907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1908 $as_echo_n "checking for $2... " >&6; }
   1909 if eval \${$3+:} false; then :
   1910   $as_echo_n "(cached) " >&6
   1911 fi
   1912 eval ac_res=\$$3
   1913 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1914 $as_echo "$ac_res" >&6; }
   1915 else
   1916   # Is the header compilable?
   1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1918 $as_echo_n "checking $2 usability... " >&6; }
   1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1920 /* end confdefs.h.  */
   1921 $4
   1922 #include <$2>
   1923 _ACEOF
   1924 if ac_fn_c_try_compile "$LINENO"; then :
   1925   ac_header_compiler=yes
   1926 else
   1927   ac_header_compiler=no
   1928 fi
   1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1931 $as_echo "$ac_header_compiler" >&6; }
   1932 
   1933 # Is the header present?
   1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1935 $as_echo_n "checking $2 presence... " >&6; }
   1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1937 /* end confdefs.h.  */
   1938 #include <$2>
   1939 _ACEOF
   1940 if ac_fn_c_try_cpp "$LINENO"; then :
   1941   ac_header_preproc=yes
   1942 else
   1943   ac_header_preproc=no
   1944 fi
   1945 rm -f conftest.err conftest.i conftest.$ac_ext
   1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1947 $as_echo "$ac_header_preproc" >&6; }
   1948 
   1949 # So?  What about this header?
   1950 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1951   yes:no: )
   1952     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1953 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1954     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1955 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1956     ;;
   1957   no:yes:* )
   1958     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1959 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1960     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1961 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1962     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1963 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1964     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1965 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1966     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1967 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1968 ( $as_echo "## ---------------------------------------------------------------------- ##
   1969 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1970 ## ---------------------------------------------------------------------- ##"
   1971      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1972     ;;
   1973 esac
   1974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1975 $as_echo_n "checking for $2... " >&6; }
   1976 if eval \${$3+:} false; then :
   1977   $as_echo_n "(cached) " >&6
   1978 else
   1979   eval "$3=\$ac_header_compiler"
   1980 fi
   1981 eval ac_res=\$$3
   1982 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1983 $as_echo "$ac_res" >&6; }
   1984 fi
   1985   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1986 
   1987 } # ac_fn_c_check_header_mongrel
   1988 cat >config.log <<_ACEOF
   1989 This file contains any messages produced by compilers while
   1990 running configure, to aid debugging if configure makes a mistake.
   1991 
   1992 It was created by xf86-video-savage $as_me 2.3.7, which was
   1993 generated by GNU Autoconf 2.69.  Invocation command line was
   1994 
   1995   $ $0 $@
   1996 
   1997 _ACEOF
   1998 exec 5>>config.log
   1999 {
   2000 cat <<_ASUNAME
   2001 ## --------- ##
   2002 ## Platform. ##
   2003 ## --------- ##
   2004 
   2005 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2006 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2007 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2008 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2009 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2010 
   2011 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2012 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2013 
   2014 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2015 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2016 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2017 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2018 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2019 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2020 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2021 
   2022 _ASUNAME
   2023 
   2024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2025 for as_dir in $PATH
   2026 do
   2027   IFS=$as_save_IFS
   2028   test -z "$as_dir" && as_dir=.
   2029     $as_echo "PATH: $as_dir"
   2030   done
   2031 IFS=$as_save_IFS
   2032 
   2033 } >&5
   2034 
   2035 cat >&5 <<_ACEOF
   2036 
   2037 
   2038 ## ----------- ##
   2039 ## Core tests. ##
   2040 ## ----------- ##
   2041 
   2042 _ACEOF
   2043 
   2044 
   2045 # Keep a trace of the command line.
   2046 # Strip out --no-create and --no-recursion so they do not pile up.
   2047 # Strip out --silent because we don't want to record it for future runs.
   2048 # Also quote any args containing shell meta-characters.
   2049 # Make two passes to allow for proper duplicate-argument suppression.
   2050 ac_configure_args=
   2051 ac_configure_args0=
   2052 ac_configure_args1=
   2053 ac_must_keep_next=false
   2054 for ac_pass in 1 2
   2055 do
   2056   for ac_arg
   2057   do
   2058     case $ac_arg in
   2059     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2060     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2061     | -silent | --silent | --silen | --sile | --sil)
   2062       continue ;;
   2063     *\'*)
   2064       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2065     esac
   2066     case $ac_pass in
   2067     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2068     2)
   2069       as_fn_append ac_configure_args1 " '$ac_arg'"
   2070       if test $ac_must_keep_next = true; then
   2071 	ac_must_keep_next=false # Got value, back to normal.
   2072       else
   2073 	case $ac_arg in
   2074 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2075 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2076 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2077 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2078 	    case "$ac_configure_args0 " in
   2079 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2080 	    esac
   2081 	    ;;
   2082 	  -* ) ac_must_keep_next=true ;;
   2083 	esac
   2084       fi
   2085       as_fn_append ac_configure_args " '$ac_arg'"
   2086       ;;
   2087     esac
   2088   done
   2089 done
   2090 { ac_configure_args0=; unset ac_configure_args0;}
   2091 { ac_configure_args1=; unset ac_configure_args1;}
   2092 
   2093 # When interrupted or exit'd, cleanup temporary files, and complete
   2094 # config.log.  We remove comments because anyway the quotes in there
   2095 # would cause problems or look ugly.
   2096 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2097 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2098 trap 'exit_status=$?
   2099   # Save into config.log some information that might help in debugging.
   2100   {
   2101     echo
   2102 
   2103     $as_echo "## ---------------- ##
   2104 ## Cache variables. ##
   2105 ## ---------------- ##"
   2106     echo
   2107     # The following way of writing the cache mishandles newlines in values,
   2108 (
   2109   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2110     eval ac_val=\$$ac_var
   2111     case $ac_val in #(
   2112     *${as_nl}*)
   2113       case $ac_var in #(
   2114       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2115 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2116       esac
   2117       case $ac_var in #(
   2118       _ | IFS | as_nl) ;; #(
   2119       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2120       *) { eval $ac_var=; unset $ac_var;} ;;
   2121       esac ;;
   2122     esac
   2123   done
   2124   (set) 2>&1 |
   2125     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2126     *${as_nl}ac_space=\ *)
   2127       sed -n \
   2128 	"s/'\''/'\''\\\\'\'''\''/g;
   2129 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2130       ;; #(
   2131     *)
   2132       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2133       ;;
   2134     esac |
   2135     sort
   2136 )
   2137     echo
   2138 
   2139     $as_echo "## ----------------- ##
   2140 ## Output variables. ##
   2141 ## ----------------- ##"
   2142     echo
   2143     for ac_var in $ac_subst_vars
   2144     do
   2145       eval ac_val=\$$ac_var
   2146       case $ac_val in
   2147       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2148       esac
   2149       $as_echo "$ac_var='\''$ac_val'\''"
   2150     done | sort
   2151     echo
   2152 
   2153     if test -n "$ac_subst_files"; then
   2154       $as_echo "## ------------------- ##
   2155 ## File substitutions. ##
   2156 ## ------------------- ##"
   2157       echo
   2158       for ac_var in $ac_subst_files
   2159       do
   2160 	eval ac_val=\$$ac_var
   2161 	case $ac_val in
   2162 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2163 	esac
   2164 	$as_echo "$ac_var='\''$ac_val'\''"
   2165       done | sort
   2166       echo
   2167     fi
   2168 
   2169     if test -s confdefs.h; then
   2170       $as_echo "## ----------- ##
   2171 ## confdefs.h. ##
   2172 ## ----------- ##"
   2173       echo
   2174       cat confdefs.h
   2175       echo
   2176     fi
   2177     test "$ac_signal" != 0 &&
   2178       $as_echo "$as_me: caught signal $ac_signal"
   2179     $as_echo "$as_me: exit $exit_status"
   2180   } >&5
   2181   rm -f core *.core core.conftest.* &&
   2182     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2183     exit $exit_status
   2184 ' 0
   2185 for ac_signal in 1 2 13 15; do
   2186   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2187 done
   2188 ac_signal=0
   2189 
   2190 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2191 rm -f -r conftest* confdefs.h
   2192 
   2193 $as_echo "/* confdefs.h */" > confdefs.h
   2194 
   2195 # Predefined preprocessor variables.
   2196 
   2197 cat >>confdefs.h <<_ACEOF
   2198 #define PACKAGE_NAME "$PACKAGE_NAME"
   2199 _ACEOF
   2200 
   2201 cat >>confdefs.h <<_ACEOF
   2202 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2203 _ACEOF
   2204 
   2205 cat >>confdefs.h <<_ACEOF
   2206 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2207 _ACEOF
   2208 
   2209 cat >>confdefs.h <<_ACEOF
   2210 #define PACKAGE_STRING "$PACKAGE_STRING"
   2211 _ACEOF
   2212 
   2213 cat >>confdefs.h <<_ACEOF
   2214 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2215 _ACEOF
   2216 
   2217 cat >>confdefs.h <<_ACEOF
   2218 #define PACKAGE_URL "$PACKAGE_URL"
   2219 _ACEOF
   2220 
   2221 
   2222 # Let the site file select an alternate cache file if it wants to.
   2223 # Prefer an explicitly selected file to automatically selected ones.
   2224 ac_site_file1=NONE
   2225 ac_site_file2=NONE
   2226 if test -n "$CONFIG_SITE"; then
   2227   # We do not want a PATH search for config.site.
   2228   case $CONFIG_SITE in #((
   2229     -*)  ac_site_file1=./$CONFIG_SITE;;
   2230     */*) ac_site_file1=$CONFIG_SITE;;
   2231     *)   ac_site_file1=./$CONFIG_SITE;;
   2232   esac
   2233 elif test "x$prefix" != xNONE; then
   2234   ac_site_file1=$prefix/share/config.site
   2235   ac_site_file2=$prefix/etc/config.site
   2236 else
   2237   ac_site_file1=$ac_default_prefix/share/config.site
   2238   ac_site_file2=$ac_default_prefix/etc/config.site
   2239 fi
   2240 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2241 do
   2242   test "x$ac_site_file" = xNONE && continue
   2243   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2244     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2245 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2246     sed 's/^/| /' "$ac_site_file" >&5
   2247     . "$ac_site_file" \
   2248       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2250 as_fn_error $? "failed to load site script $ac_site_file
   2251 See \`config.log' for more details" "$LINENO" 5; }
   2252   fi
   2253 done
   2254 
   2255 if test -r "$cache_file"; then
   2256   # Some versions of bash will fail to source /dev/null (special files
   2257   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2258   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2259     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2260 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2261     case $cache_file in
   2262       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2263       *)                      . "./$cache_file";;
   2264     esac
   2265   fi
   2266 else
   2267   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2268 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2269   >$cache_file
   2270 fi
   2271 
   2272 # Check that the precious variables saved in the cache have kept the same
   2273 # value.
   2274 ac_cache_corrupted=false
   2275 for ac_var in $ac_precious_vars; do
   2276   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2277   eval ac_new_set=\$ac_env_${ac_var}_set
   2278   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2279   eval ac_new_val=\$ac_env_${ac_var}_value
   2280   case $ac_old_set,$ac_new_set in
   2281     set,)
   2282       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2283 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2284       ac_cache_corrupted=: ;;
   2285     ,set)
   2286       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2287 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2288       ac_cache_corrupted=: ;;
   2289     ,);;
   2290     *)
   2291       if test "x$ac_old_val" != "x$ac_new_val"; then
   2292 	# differences in whitespace do not lead to failure.
   2293 	ac_old_val_w=`echo x $ac_old_val`
   2294 	ac_new_val_w=`echo x $ac_new_val`
   2295 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2296 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2297 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2298 	  ac_cache_corrupted=:
   2299 	else
   2300 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2301 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2302 	  eval $ac_var=\$ac_old_val
   2303 	fi
   2304 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2305 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2306 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2307 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2308       fi;;
   2309   esac
   2310   # Pass precious variables to config.status.
   2311   if test "$ac_new_set" = set; then
   2312     case $ac_new_val in
   2313     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2314     *) ac_arg=$ac_var=$ac_new_val ;;
   2315     esac
   2316     case " $ac_configure_args " in
   2317       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2318       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2319     esac
   2320   fi
   2321 done
   2322 if $ac_cache_corrupted; then
   2323   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2325   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2326 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2327   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2328 fi
   2329 ## -------------------- ##
   2330 ## Main body of script. ##
   2331 ## -------------------- ##
   2332 
   2333 ac_ext=c
   2334 ac_cpp='$CPP $CPPFLAGS'
   2335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2338 
   2339 
   2340 
   2341 ac_config_headers="$ac_config_headers config.h"
   2342 
   2343 ac_aux_dir=
   2344 for ac_dir in . "$srcdir"/.; do
   2345   if test -f "$ac_dir/install-sh"; then
   2346     ac_aux_dir=$ac_dir
   2347     ac_install_sh="$ac_aux_dir/install-sh -c"
   2348     break
   2349   elif test -f "$ac_dir/install.sh"; then
   2350     ac_aux_dir=$ac_dir
   2351     ac_install_sh="$ac_aux_dir/install.sh -c"
   2352     break
   2353   elif test -f "$ac_dir/shtool"; then
   2354     ac_aux_dir=$ac_dir
   2355     ac_install_sh="$ac_aux_dir/shtool install -c"
   2356     break
   2357   fi
   2358 done
   2359 if test -z "$ac_aux_dir"; then
   2360   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2361 fi
   2362 
   2363 # These three variables are undocumented and unsupported,
   2364 # and are intended to be withdrawn in a future Autoconf release.
   2365 # They can cause serious problems if a builder's source tree is in a directory
   2366 # whose full name contains unusual characters.
   2367 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2368 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2369 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2370 
   2371 
   2372 
   2373 # Initialize Automake
   2374 am__api_version='1.11'
   2375 
   2376 # Find a good install program.  We prefer a C program (faster),
   2377 # so one script is as good as another.  But avoid the broken or
   2378 # incompatible versions:
   2379 # SysV /etc/install, /usr/sbin/install
   2380 # SunOS /usr/etc/install
   2381 # IRIX /sbin/install
   2382 # AIX /bin/install
   2383 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2384 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2385 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2386 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2387 # OS/2's system install, which has a completely different semantic
   2388 # ./install, which can be erroneously created by make from ./install.sh.
   2389 # Reject install programs that cannot install multiple files.
   2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2391 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2392 if test -z "$INSTALL"; then
   2393 if ${ac_cv_path_install+:} false; then :
   2394   $as_echo_n "(cached) " >&6
   2395 else
   2396   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2397 for as_dir in $PATH
   2398 do
   2399   IFS=$as_save_IFS
   2400   test -z "$as_dir" && as_dir=.
   2401     # Account for people who put trailing slashes in PATH elements.
   2402 case $as_dir/ in #((
   2403   ./ | .// | /[cC]/* | \
   2404   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2405   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2406   /usr/ucb/* ) ;;
   2407   *)
   2408     # OSF1 and SCO ODT 3.0 have their own names for install.
   2409     # Don't use installbsd from OSF since it installs stuff as root
   2410     # by default.
   2411     for ac_prog in ginstall scoinst install; do
   2412       for ac_exec_ext in '' $ac_executable_extensions; do
   2413 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2414 	  if test $ac_prog = install &&
   2415 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2416 	    # AIX install.  It has an incompatible calling convention.
   2417 	    :
   2418 	  elif test $ac_prog = install &&
   2419 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2420 	    # program-specific install script used by HP pwplus--don't use.
   2421 	    :
   2422 	  else
   2423 	    rm -rf conftest.one conftest.two conftest.dir
   2424 	    echo one > conftest.one
   2425 	    echo two > conftest.two
   2426 	    mkdir conftest.dir
   2427 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2428 	      test -s conftest.one && test -s conftest.two &&
   2429 	      test -s conftest.dir/conftest.one &&
   2430 	      test -s conftest.dir/conftest.two
   2431 	    then
   2432 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2433 	      break 3
   2434 	    fi
   2435 	  fi
   2436 	fi
   2437       done
   2438     done
   2439     ;;
   2440 esac
   2441 
   2442   done
   2443 IFS=$as_save_IFS
   2444 
   2445 rm -rf conftest.one conftest.two conftest.dir
   2446 
   2447 fi
   2448   if test "${ac_cv_path_install+set}" = set; then
   2449     INSTALL=$ac_cv_path_install
   2450   else
   2451     # As a last resort, use the slow shell script.  Don't cache a
   2452     # value for INSTALL within a source directory, because that will
   2453     # break other packages using the cache if that directory is
   2454     # removed, or if the value is a relative name.
   2455     INSTALL=$ac_install_sh
   2456   fi
   2457 fi
   2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2459 $as_echo "$INSTALL" >&6; }
   2460 
   2461 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2462 # It thinks the first close brace ends the variable substitution.
   2463 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2464 
   2465 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2466 
   2467 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2468 
   2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2470 $as_echo_n "checking whether build environment is sane... " >&6; }
   2471 # Just in case
   2472 sleep 1
   2473 echo timestamp > conftest.file
   2474 # Reject unsafe characters in $srcdir or the absolute working directory
   2475 # name.  Accept space and tab only in the latter.
   2476 am_lf='
   2477 '
   2478 case `pwd` in
   2479   *[\\\"\#\$\&\'\`$am_lf]*)
   2480     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2481 esac
   2482 case $srcdir in
   2483   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2484     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2485 esac
   2486 
   2487 # Do `set' in a subshell so we don't clobber the current shell's
   2488 # arguments.  Must try -L first in case configure is actually a
   2489 # symlink; some systems play weird games with the mod time of symlinks
   2490 # (eg FreeBSD returns the mod time of the symlink's containing
   2491 # directory).
   2492 if (
   2493    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2494    if test "$*" = "X"; then
   2495       # -L didn't work.
   2496       set X `ls -t "$srcdir/configure" conftest.file`
   2497    fi
   2498    rm -f conftest.file
   2499    if test "$*" != "X $srcdir/configure conftest.file" \
   2500       && test "$*" != "X conftest.file $srcdir/configure"; then
   2501 
   2502       # If neither matched, then we have a broken ls.  This can happen
   2503       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2504       # broken ls alias from the environment.  This has actually
   2505       # happened.  Such a system could not be considered "sane".
   2506       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2507 alias in your environment" "$LINENO" 5
   2508    fi
   2509 
   2510    test "$2" = conftest.file
   2511    )
   2512 then
   2513    # Ok.
   2514    :
   2515 else
   2516    as_fn_error $? "newly created file is older than distributed files!
   2517 Check your system clock" "$LINENO" 5
   2518 fi
   2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2520 $as_echo "yes" >&6; }
   2521 test "$program_prefix" != NONE &&
   2522   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2523 # Use a double $ so make ignores it.
   2524 test "$program_suffix" != NONE &&
   2525   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2526 # Double any \ or $.
   2527 # By default was `s,x,x', remove it if useless.
   2528 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2529 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2530 
   2531 # expand $ac_aux_dir to an absolute path
   2532 am_aux_dir=`cd $ac_aux_dir && pwd`
   2533 
   2534 if test x"${MISSING+set}" != xset; then
   2535   case $am_aux_dir in
   2536   *\ * | *\	*)
   2537     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2538   *)
   2539     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2540   esac
   2541 fi
   2542 # Use eval to expand $SHELL
   2543 if eval "$MISSING --run true"; then
   2544   am_missing_run="$MISSING --run "
   2545 else
   2546   am_missing_run=
   2547   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2548 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2549 fi
   2550 
   2551 if test x"${install_sh}" != xset; then
   2552   case $am_aux_dir in
   2553   *\ * | *\	*)
   2554     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2555   *)
   2556     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2557   esac
   2558 fi
   2559 
   2560 # Installed binaries are usually stripped using `strip' when the user
   2561 # run `make install-strip'.  However `strip' might not be the right
   2562 # tool to use in cross-compilation environments, therefore Automake
   2563 # will honor the `STRIP' environment variable to overrule this program.
   2564 if test "$cross_compiling" != no; then
   2565   if test -n "$ac_tool_prefix"; then
   2566   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2567 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2569 $as_echo_n "checking for $ac_word... " >&6; }
   2570 if ${ac_cv_prog_STRIP+:} false; then :
   2571   $as_echo_n "(cached) " >&6
   2572 else
   2573   if test -n "$STRIP"; then
   2574   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2575 else
   2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2577 for as_dir in $PATH
   2578 do
   2579   IFS=$as_save_IFS
   2580   test -z "$as_dir" && as_dir=.
   2581     for ac_exec_ext in '' $ac_executable_extensions; do
   2582   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2583     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2585     break 2
   2586   fi
   2587 done
   2588   done
   2589 IFS=$as_save_IFS
   2590 
   2591 fi
   2592 fi
   2593 STRIP=$ac_cv_prog_STRIP
   2594 if test -n "$STRIP"; then
   2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2596 $as_echo "$STRIP" >&6; }
   2597 else
   2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2599 $as_echo "no" >&6; }
   2600 fi
   2601 
   2602 
   2603 fi
   2604 if test -z "$ac_cv_prog_STRIP"; then
   2605   ac_ct_STRIP=$STRIP
   2606   # Extract the first word of "strip", so it can be a program name with args.
   2607 set dummy strip; ac_word=$2
   2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2609 $as_echo_n "checking for $ac_word... " >&6; }
   2610 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2611   $as_echo_n "(cached) " >&6
   2612 else
   2613   if test -n "$ac_ct_STRIP"; then
   2614   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2615 else
   2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2617 for as_dir in $PATH
   2618 do
   2619   IFS=$as_save_IFS
   2620   test -z "$as_dir" && as_dir=.
   2621     for ac_exec_ext in '' $ac_executable_extensions; do
   2622   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2623     ac_cv_prog_ac_ct_STRIP="strip"
   2624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2625     break 2
   2626   fi
   2627 done
   2628   done
   2629 IFS=$as_save_IFS
   2630 
   2631 fi
   2632 fi
   2633 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2634 if test -n "$ac_ct_STRIP"; then
   2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2636 $as_echo "$ac_ct_STRIP" >&6; }
   2637 else
   2638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2639 $as_echo "no" >&6; }
   2640 fi
   2641 
   2642   if test "x$ac_ct_STRIP" = x; then
   2643     STRIP=":"
   2644   else
   2645     case $cross_compiling:$ac_tool_warned in
   2646 yes:)
   2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2649 ac_tool_warned=yes ;;
   2650 esac
   2651     STRIP=$ac_ct_STRIP
   2652   fi
   2653 else
   2654   STRIP="$ac_cv_prog_STRIP"
   2655 fi
   2656 
   2657 fi
   2658 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2659 
   2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2661 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2662 if test -z "$MKDIR_P"; then
   2663   if ${ac_cv_path_mkdir+:} false; then :
   2664   $as_echo_n "(cached) " >&6
   2665 else
   2666   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2667 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2668 do
   2669   IFS=$as_save_IFS
   2670   test -z "$as_dir" && as_dir=.
   2671     for ac_prog in mkdir gmkdir; do
   2672 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2673 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2674 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2675 	     'mkdir (GNU coreutils) '* | \
   2676 	     'mkdir (coreutils) '* | \
   2677 	     'mkdir (fileutils) '4.1*)
   2678 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2679 	       break 3;;
   2680 	   esac
   2681 	 done
   2682        done
   2683   done
   2684 IFS=$as_save_IFS
   2685 
   2686 fi
   2687 
   2688   test -d ./--version && rmdir ./--version
   2689   if test "${ac_cv_path_mkdir+set}" = set; then
   2690     MKDIR_P="$ac_cv_path_mkdir -p"
   2691   else
   2692     # As a last resort, use the slow shell script.  Don't cache a
   2693     # value for MKDIR_P within a source directory, because that will
   2694     # break other packages using the cache if that directory is
   2695     # removed, or if the value is a relative name.
   2696     MKDIR_P="$ac_install_sh -d"
   2697   fi
   2698 fi
   2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2700 $as_echo "$MKDIR_P" >&6; }
   2701 
   2702 mkdir_p="$MKDIR_P"
   2703 case $mkdir_p in
   2704   [\\/$]* | ?:[\\/]*) ;;
   2705   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2706 esac
   2707 
   2708 for ac_prog in gawk mawk nawk awk
   2709 do
   2710   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2711 set dummy $ac_prog; ac_word=$2
   2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2713 $as_echo_n "checking for $ac_word... " >&6; }
   2714 if ${ac_cv_prog_AWK+:} false; then :
   2715   $as_echo_n "(cached) " >&6
   2716 else
   2717   if test -n "$AWK"; then
   2718   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2719 else
   2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2721 for as_dir in $PATH
   2722 do
   2723   IFS=$as_save_IFS
   2724   test -z "$as_dir" && as_dir=.
   2725     for ac_exec_ext in '' $ac_executable_extensions; do
   2726   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2727     ac_cv_prog_AWK="$ac_prog"
   2728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2729     break 2
   2730   fi
   2731 done
   2732   done
   2733 IFS=$as_save_IFS
   2734 
   2735 fi
   2736 fi
   2737 AWK=$ac_cv_prog_AWK
   2738 if test -n "$AWK"; then
   2739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2740 $as_echo "$AWK" >&6; }
   2741 else
   2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2743 $as_echo "no" >&6; }
   2744 fi
   2745 
   2746 
   2747   test -n "$AWK" && break
   2748 done
   2749 
   2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2751 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2752 set x ${MAKE-make}
   2753 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2754 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2755   $as_echo_n "(cached) " >&6
   2756 else
   2757   cat >conftest.make <<\_ACEOF
   2758 SHELL = /bin/sh
   2759 all:
   2760 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2761 _ACEOF
   2762 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2763 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2764   *@@@%%%=?*=@@@%%%*)
   2765     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2766   *)
   2767     eval ac_cv_prog_make_${ac_make}_set=no;;
   2768 esac
   2769 rm -f conftest.make
   2770 fi
   2771 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2773 $as_echo "yes" >&6; }
   2774   SET_MAKE=
   2775 else
   2776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2777 $as_echo "no" >&6; }
   2778   SET_MAKE="MAKE=${MAKE-make}"
   2779 fi
   2780 
   2781 rm -rf .tst 2>/dev/null
   2782 mkdir .tst 2>/dev/null
   2783 if test -d .tst; then
   2784   am__leading_dot=.
   2785 else
   2786   am__leading_dot=_
   2787 fi
   2788 rmdir .tst 2>/dev/null
   2789 
   2790 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2791   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2792   # is not polluted with repeated "-I."
   2793   am__isrc=' -I$(srcdir)'
   2794   # test to see if srcdir already configured
   2795   if test -f $srcdir/config.status; then
   2796     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2797   fi
   2798 fi
   2799 
   2800 # test whether we have cygpath
   2801 if test -z "$CYGPATH_W"; then
   2802   if (cygpath --version) >/dev/null 2>/dev/null; then
   2803     CYGPATH_W='cygpath -w'
   2804   else
   2805     CYGPATH_W=echo
   2806   fi
   2807 fi
   2808 
   2809 
   2810 # Define the identity of the package.
   2811  PACKAGE='xf86-video-savage'
   2812  VERSION='2.3.7'
   2813 
   2814 
   2815 cat >>confdefs.h <<_ACEOF
   2816 #define PACKAGE "$PACKAGE"
   2817 _ACEOF
   2818 
   2819 
   2820 cat >>confdefs.h <<_ACEOF
   2821 #define VERSION "$VERSION"
   2822 _ACEOF
   2823 
   2824 # Some tools Automake needs.
   2825 
   2826 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2827 
   2828 
   2829 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2830 
   2831 
   2832 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2833 
   2834 
   2835 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2836 
   2837 
   2838 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2839 
   2840 # We need awk for the "check" target.  The system "awk" is bad on
   2841 # some platforms.
   2842 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2843 # in the wild :-(  We should find a proper way to deprecate it ...
   2844 AMTAR='$${TAR-tar}'
   2845 
   2846 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2847 
   2848 
   2849 
   2850 
   2851 
   2852 
   2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2854 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2855     # Check whether --enable-maintainer-mode was given.
   2856 if test "${enable_maintainer_mode+set}" = set; then :
   2857   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2858 else
   2859   USE_MAINTAINER_MODE=no
   2860 fi
   2861 
   2862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2863 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2864    if test $USE_MAINTAINER_MODE = yes; then
   2865   MAINTAINER_MODE_TRUE=
   2866   MAINTAINER_MODE_FALSE='#'
   2867 else
   2868   MAINTAINER_MODE_TRUE='#'
   2869   MAINTAINER_MODE_FALSE=
   2870 fi
   2871 
   2872   MAINT=$MAINTAINER_MODE_TRUE
   2873 
   2874 
   2875 
   2876 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2877 
   2878 
   2879 
   2880 
   2881 
   2882 
   2883 
   2884 
   2885 
   2886 
   2887 
   2888 DEPDIR="${am__leading_dot}deps"
   2889 
   2890 ac_config_commands="$ac_config_commands depfiles"
   2891 
   2892 
   2893 am_make=${MAKE-make}
   2894 cat > confinc << 'END'
   2895 am__doit:
   2896 	@echo this is the am__doit target
   2897 .PHONY: am__doit
   2898 END
   2899 # If we don't find an include directive, just comment out the code.
   2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2901 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2902 am__include="#"
   2903 am__quote=
   2904 _am_result=none
   2905 # First try GNU make style include.
   2906 echo "include confinc" > confmf
   2907 # Ignore all kinds of additional output from `make'.
   2908 case `$am_make -s -f confmf 2> /dev/null` in #(
   2909 *the\ am__doit\ target*)
   2910   am__include=include
   2911   am__quote=
   2912   _am_result=GNU
   2913   ;;
   2914 esac
   2915 # Now try BSD make style include.
   2916 if test "$am__include" = "#"; then
   2917    echo '.include "confinc"' > confmf
   2918    case `$am_make -s -f confmf 2> /dev/null` in #(
   2919    *the\ am__doit\ target*)
   2920      am__include=.include
   2921      am__quote="\""
   2922      _am_result=BSD
   2923      ;;
   2924    esac
   2925 fi
   2926 
   2927 
   2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2929 $as_echo "$_am_result" >&6; }
   2930 rm -f confinc confmf
   2931 
   2932 # Check whether --enable-dependency-tracking was given.
   2933 if test "${enable_dependency_tracking+set}" = set; then :
   2934   enableval=$enable_dependency_tracking;
   2935 fi
   2936 
   2937 if test "x$enable_dependency_tracking" != xno; then
   2938   am_depcomp="$ac_aux_dir/depcomp"
   2939   AMDEPBACKSLASH='\'
   2940   am__nodep='_no'
   2941 fi
   2942  if test "x$enable_dependency_tracking" != xno; then
   2943   AMDEP_TRUE=
   2944   AMDEP_FALSE='#'
   2945 else
   2946   AMDEP_TRUE='#'
   2947   AMDEP_FALSE=
   2948 fi
   2949 
   2950 
   2951 ac_ext=c
   2952 ac_cpp='$CPP $CPPFLAGS'
   2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2956 if test -n "$ac_tool_prefix"; then
   2957   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2958 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2960 $as_echo_n "checking for $ac_word... " >&6; }
   2961 if ${ac_cv_prog_CC+:} false; then :
   2962   $as_echo_n "(cached) " >&6
   2963 else
   2964   if test -n "$CC"; then
   2965   ac_cv_prog_CC="$CC" # Let the user override the test.
   2966 else
   2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2968 for as_dir in $PATH
   2969 do
   2970   IFS=$as_save_IFS
   2971   test -z "$as_dir" && as_dir=.
   2972     for ac_exec_ext in '' $ac_executable_extensions; do
   2973   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2974     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2976     break 2
   2977   fi
   2978 done
   2979   done
   2980 IFS=$as_save_IFS
   2981 
   2982 fi
   2983 fi
   2984 CC=$ac_cv_prog_CC
   2985 if test -n "$CC"; then
   2986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2987 $as_echo "$CC" >&6; }
   2988 else
   2989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2990 $as_echo "no" >&6; }
   2991 fi
   2992 
   2993 
   2994 fi
   2995 if test -z "$ac_cv_prog_CC"; then
   2996   ac_ct_CC=$CC
   2997   # Extract the first word of "gcc", so it can be a program name with args.
   2998 set dummy gcc; ac_word=$2
   2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3000 $as_echo_n "checking for $ac_word... " >&6; }
   3001 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3002   $as_echo_n "(cached) " >&6
   3003 else
   3004   if test -n "$ac_ct_CC"; then
   3005   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3006 else
   3007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3008 for as_dir in $PATH
   3009 do
   3010   IFS=$as_save_IFS
   3011   test -z "$as_dir" && as_dir=.
   3012     for ac_exec_ext in '' $ac_executable_extensions; do
   3013   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3014     ac_cv_prog_ac_ct_CC="gcc"
   3015     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3016     break 2
   3017   fi
   3018 done
   3019   done
   3020 IFS=$as_save_IFS
   3021 
   3022 fi
   3023 fi
   3024 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3025 if test -n "$ac_ct_CC"; then
   3026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3027 $as_echo "$ac_ct_CC" >&6; }
   3028 else
   3029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3030 $as_echo "no" >&6; }
   3031 fi
   3032 
   3033   if test "x$ac_ct_CC" = x; then
   3034     CC=""
   3035   else
   3036     case $cross_compiling:$ac_tool_warned in
   3037 yes:)
   3038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3040 ac_tool_warned=yes ;;
   3041 esac
   3042     CC=$ac_ct_CC
   3043   fi
   3044 else
   3045   CC="$ac_cv_prog_CC"
   3046 fi
   3047 
   3048 if test -z "$CC"; then
   3049           if test -n "$ac_tool_prefix"; then
   3050     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3051 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3053 $as_echo_n "checking for $ac_word... " >&6; }
   3054 if ${ac_cv_prog_CC+:} false; then :
   3055   $as_echo_n "(cached) " >&6
   3056 else
   3057   if test -n "$CC"; then
   3058   ac_cv_prog_CC="$CC" # Let the user override the test.
   3059 else
   3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3061 for as_dir in $PATH
   3062 do
   3063   IFS=$as_save_IFS
   3064   test -z "$as_dir" && as_dir=.
   3065     for ac_exec_ext in '' $ac_executable_extensions; do
   3066   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3067     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3069     break 2
   3070   fi
   3071 done
   3072   done
   3073 IFS=$as_save_IFS
   3074 
   3075 fi
   3076 fi
   3077 CC=$ac_cv_prog_CC
   3078 if test -n "$CC"; then
   3079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3080 $as_echo "$CC" >&6; }
   3081 else
   3082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3083 $as_echo "no" >&6; }
   3084 fi
   3085 
   3086 
   3087   fi
   3088 fi
   3089 if test -z "$CC"; then
   3090   # Extract the first word of "cc", so it can be a program name with args.
   3091 set dummy cc; ac_word=$2
   3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3093 $as_echo_n "checking for $ac_word... " >&6; }
   3094 if ${ac_cv_prog_CC+:} false; then :
   3095   $as_echo_n "(cached) " >&6
   3096 else
   3097   if test -n "$CC"; then
   3098   ac_cv_prog_CC="$CC" # Let the user override the test.
   3099 else
   3100   ac_prog_rejected=no
   3101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3102 for as_dir in $PATH
   3103 do
   3104   IFS=$as_save_IFS
   3105   test -z "$as_dir" && as_dir=.
   3106     for ac_exec_ext in '' $ac_executable_extensions; do
   3107   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3108     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3109        ac_prog_rejected=yes
   3110        continue
   3111      fi
   3112     ac_cv_prog_CC="cc"
   3113     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3114     break 2
   3115   fi
   3116 done
   3117   done
   3118 IFS=$as_save_IFS
   3119 
   3120 if test $ac_prog_rejected = yes; then
   3121   # We found a bogon in the path, so make sure we never use it.
   3122   set dummy $ac_cv_prog_CC
   3123   shift
   3124   if test $# != 0; then
   3125     # We chose a different compiler from the bogus one.
   3126     # However, it has the same basename, so the bogon will be chosen
   3127     # first if we set CC to just the basename; use the full file name.
   3128     shift
   3129     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3130   fi
   3131 fi
   3132 fi
   3133 fi
   3134 CC=$ac_cv_prog_CC
   3135 if test -n "$CC"; then
   3136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3137 $as_echo "$CC" >&6; }
   3138 else
   3139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3140 $as_echo "no" >&6; }
   3141 fi
   3142 
   3143 
   3144 fi
   3145 if test -z "$CC"; then
   3146   if test -n "$ac_tool_prefix"; then
   3147   for ac_prog in cl.exe
   3148   do
   3149     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3150 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3152 $as_echo_n "checking for $ac_word... " >&6; }
   3153 if ${ac_cv_prog_CC+:} false; then :
   3154   $as_echo_n "(cached) " >&6
   3155 else
   3156   if test -n "$CC"; then
   3157   ac_cv_prog_CC="$CC" # Let the user override the test.
   3158 else
   3159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3160 for as_dir in $PATH
   3161 do
   3162   IFS=$as_save_IFS
   3163   test -z "$as_dir" && as_dir=.
   3164     for ac_exec_ext in '' $ac_executable_extensions; do
   3165   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3166     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3167     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3168     break 2
   3169   fi
   3170 done
   3171   done
   3172 IFS=$as_save_IFS
   3173 
   3174 fi
   3175 fi
   3176 CC=$ac_cv_prog_CC
   3177 if test -n "$CC"; then
   3178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3179 $as_echo "$CC" >&6; }
   3180 else
   3181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3182 $as_echo "no" >&6; }
   3183 fi
   3184 
   3185 
   3186     test -n "$CC" && break
   3187   done
   3188 fi
   3189 if test -z "$CC"; then
   3190   ac_ct_CC=$CC
   3191   for ac_prog in cl.exe
   3192 do
   3193   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3194 set dummy $ac_prog; ac_word=$2
   3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3196 $as_echo_n "checking for $ac_word... " >&6; }
   3197 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3198   $as_echo_n "(cached) " >&6
   3199 else
   3200   if test -n "$ac_ct_CC"; then
   3201   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3202 else
   3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3204 for as_dir in $PATH
   3205 do
   3206   IFS=$as_save_IFS
   3207   test -z "$as_dir" && as_dir=.
   3208     for ac_exec_ext in '' $ac_executable_extensions; do
   3209   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3210     ac_cv_prog_ac_ct_CC="$ac_prog"
   3211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3212     break 2
   3213   fi
   3214 done
   3215   done
   3216 IFS=$as_save_IFS
   3217 
   3218 fi
   3219 fi
   3220 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3221 if test -n "$ac_ct_CC"; then
   3222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3223 $as_echo "$ac_ct_CC" >&6; }
   3224 else
   3225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3226 $as_echo "no" >&6; }
   3227 fi
   3228 
   3229 
   3230   test -n "$ac_ct_CC" && break
   3231 done
   3232 
   3233   if test "x$ac_ct_CC" = x; then
   3234     CC=""
   3235   else
   3236     case $cross_compiling:$ac_tool_warned in
   3237 yes:)
   3238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3240 ac_tool_warned=yes ;;
   3241 esac
   3242     CC=$ac_ct_CC
   3243   fi
   3244 fi
   3245 
   3246 fi
   3247 
   3248 
   3249 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3251 as_fn_error $? "no acceptable C compiler found in \$PATH
   3252 See \`config.log' for more details" "$LINENO" 5; }
   3253 
   3254 # Provide some information about the compiler.
   3255 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3256 set X $ac_compile
   3257 ac_compiler=$2
   3258 for ac_option in --version -v -V -qversion; do
   3259   { { ac_try="$ac_compiler $ac_option >&5"
   3260 case "(($ac_try" in
   3261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3262   *) ac_try_echo=$ac_try;;
   3263 esac
   3264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3265 $as_echo "$ac_try_echo"; } >&5
   3266   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3267   ac_status=$?
   3268   if test -s conftest.err; then
   3269     sed '10a\
   3270 ... rest of stderr output deleted ...
   3271          10q' conftest.err >conftest.er1
   3272     cat conftest.er1 >&5
   3273   fi
   3274   rm -f conftest.er1 conftest.err
   3275   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3276   test $ac_status = 0; }
   3277 done
   3278 
   3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3280 /* end confdefs.h.  */
   3281 
   3282 int
   3283 main ()
   3284 {
   3285 
   3286   ;
   3287   return 0;
   3288 }
   3289 _ACEOF
   3290 ac_clean_files_save=$ac_clean_files
   3291 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3292 # Try to create an executable without -o first, disregard a.out.
   3293 # It will help us diagnose broken compilers, and finding out an intuition
   3294 # of exeext.
   3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3296 $as_echo_n "checking whether the C compiler works... " >&6; }
   3297 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3298 
   3299 # The possible output files:
   3300 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3301 
   3302 ac_rmfiles=
   3303 for ac_file in $ac_files
   3304 do
   3305   case $ac_file in
   3306     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3307     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3308   esac
   3309 done
   3310 rm -f $ac_rmfiles
   3311 
   3312 if { { ac_try="$ac_link_default"
   3313 case "(($ac_try" in
   3314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3315   *) ac_try_echo=$ac_try;;
   3316 esac
   3317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3318 $as_echo "$ac_try_echo"; } >&5
   3319   (eval "$ac_link_default") 2>&5
   3320   ac_status=$?
   3321   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3322   test $ac_status = 0; }; then :
   3323   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3324 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3325 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3326 # so that the user can short-circuit this test for compilers unknown to
   3327 # Autoconf.
   3328 for ac_file in $ac_files ''
   3329 do
   3330   test -f "$ac_file" || continue
   3331   case $ac_file in
   3332     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3333 	;;
   3334     [ab].out )
   3335 	# We found the default executable, but exeext='' is most
   3336 	# certainly right.
   3337 	break;;
   3338     *.* )
   3339 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3340 	then :; else
   3341 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3342 	fi
   3343 	# We set ac_cv_exeext here because the later test for it is not
   3344 	# safe: cross compilers may not add the suffix if given an `-o'
   3345 	# argument, so we may need to know it at that point already.
   3346 	# Even if this section looks crufty: it has the advantage of
   3347 	# actually working.
   3348 	break;;
   3349     * )
   3350 	break;;
   3351   esac
   3352 done
   3353 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3354 
   3355 else
   3356   ac_file=''
   3357 fi
   3358 if test -z "$ac_file"; then :
   3359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3360 $as_echo "no" >&6; }
   3361 $as_echo "$as_me: failed program was:" >&5
   3362 sed 's/^/| /' conftest.$ac_ext >&5
   3363 
   3364 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3366 as_fn_error 77 "C compiler cannot create executables
   3367 See \`config.log' for more details" "$LINENO" 5; }
   3368 else
   3369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3370 $as_echo "yes" >&6; }
   3371 fi
   3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3373 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3375 $as_echo "$ac_file" >&6; }
   3376 ac_exeext=$ac_cv_exeext
   3377 
   3378 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3379 ac_clean_files=$ac_clean_files_save
   3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3381 $as_echo_n "checking for suffix of executables... " >&6; }
   3382 if { { ac_try="$ac_link"
   3383 case "(($ac_try" in
   3384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3385   *) ac_try_echo=$ac_try;;
   3386 esac
   3387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3388 $as_echo "$ac_try_echo"; } >&5
   3389   (eval "$ac_link") 2>&5
   3390   ac_status=$?
   3391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3392   test $ac_status = 0; }; then :
   3393   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3394 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3395 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3396 # `rm'.
   3397 for ac_file in conftest.exe conftest conftest.*; do
   3398   test -f "$ac_file" || continue
   3399   case $ac_file in
   3400     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3401     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3402 	  break;;
   3403     * ) break;;
   3404   esac
   3405 done
   3406 else
   3407   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3409 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3410 See \`config.log' for more details" "$LINENO" 5; }
   3411 fi
   3412 rm -f conftest conftest$ac_cv_exeext
   3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3414 $as_echo "$ac_cv_exeext" >&6; }
   3415 
   3416 rm -f conftest.$ac_ext
   3417 EXEEXT=$ac_cv_exeext
   3418 ac_exeext=$EXEEXT
   3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3420 /* end confdefs.h.  */
   3421 #include <stdio.h>
   3422 int
   3423 main ()
   3424 {
   3425 FILE *f = fopen ("conftest.out", "w");
   3426  return ferror (f) || fclose (f) != 0;
   3427 
   3428   ;
   3429   return 0;
   3430 }
   3431 _ACEOF
   3432 ac_clean_files="$ac_clean_files conftest.out"
   3433 # Check that the compiler produces executables we can run.  If not, either
   3434 # the compiler is broken, or we cross compile.
   3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3436 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3437 if test "$cross_compiling" != yes; then
   3438   { { ac_try="$ac_link"
   3439 case "(($ac_try" in
   3440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3441   *) ac_try_echo=$ac_try;;
   3442 esac
   3443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3444 $as_echo "$ac_try_echo"; } >&5
   3445   (eval "$ac_link") 2>&5
   3446   ac_status=$?
   3447   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3448   test $ac_status = 0; }
   3449   if { ac_try='./conftest$ac_cv_exeext'
   3450   { { case "(($ac_try" in
   3451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3452   *) ac_try_echo=$ac_try;;
   3453 esac
   3454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3455 $as_echo "$ac_try_echo"; } >&5
   3456   (eval "$ac_try") 2>&5
   3457   ac_status=$?
   3458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3459   test $ac_status = 0; }; }; then
   3460     cross_compiling=no
   3461   else
   3462     if test "$cross_compiling" = maybe; then
   3463 	cross_compiling=yes
   3464     else
   3465 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3467 as_fn_error $? "cannot run C compiled programs.
   3468 If you meant to cross compile, use \`--host'.
   3469 See \`config.log' for more details" "$LINENO" 5; }
   3470     fi
   3471   fi
   3472 fi
   3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3474 $as_echo "$cross_compiling" >&6; }
   3475 
   3476 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3477 ac_clean_files=$ac_clean_files_save
   3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3479 $as_echo_n "checking for suffix of object files... " >&6; }
   3480 if ${ac_cv_objext+:} false; then :
   3481   $as_echo_n "(cached) " >&6
   3482 else
   3483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3484 /* end confdefs.h.  */
   3485 
   3486 int
   3487 main ()
   3488 {
   3489 
   3490   ;
   3491   return 0;
   3492 }
   3493 _ACEOF
   3494 rm -f conftest.o conftest.obj
   3495 if { { ac_try="$ac_compile"
   3496 case "(($ac_try" in
   3497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3498   *) ac_try_echo=$ac_try;;
   3499 esac
   3500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3501 $as_echo "$ac_try_echo"; } >&5
   3502   (eval "$ac_compile") 2>&5
   3503   ac_status=$?
   3504   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3505   test $ac_status = 0; }; then :
   3506   for ac_file in conftest.o conftest.obj conftest.*; do
   3507   test -f "$ac_file" || continue;
   3508   case $ac_file in
   3509     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3510     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3511        break;;
   3512   esac
   3513 done
   3514 else
   3515   $as_echo "$as_me: failed program was:" >&5
   3516 sed 's/^/| /' conftest.$ac_ext >&5
   3517 
   3518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3520 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3521 See \`config.log' for more details" "$LINENO" 5; }
   3522 fi
   3523 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3524 fi
   3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3526 $as_echo "$ac_cv_objext" >&6; }
   3527 OBJEXT=$ac_cv_objext
   3528 ac_objext=$OBJEXT
   3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3530 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3531 if ${ac_cv_c_compiler_gnu+:} false; then :
   3532   $as_echo_n "(cached) " >&6
   3533 else
   3534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3535 /* end confdefs.h.  */
   3536 
   3537 int
   3538 main ()
   3539 {
   3540 #ifndef __GNUC__
   3541        choke me
   3542 #endif
   3543 
   3544   ;
   3545   return 0;
   3546 }
   3547 _ACEOF
   3548 if ac_fn_c_try_compile "$LINENO"; then :
   3549   ac_compiler_gnu=yes
   3550 else
   3551   ac_compiler_gnu=no
   3552 fi
   3553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3554 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3555 
   3556 fi
   3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3558 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3559 if test $ac_compiler_gnu = yes; then
   3560   GCC=yes
   3561 else
   3562   GCC=
   3563 fi
   3564 ac_test_CFLAGS=${CFLAGS+set}
   3565 ac_save_CFLAGS=$CFLAGS
   3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3567 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3568 if ${ac_cv_prog_cc_g+:} false; then :
   3569   $as_echo_n "(cached) " >&6
   3570 else
   3571   ac_save_c_werror_flag=$ac_c_werror_flag
   3572    ac_c_werror_flag=yes
   3573    ac_cv_prog_cc_g=no
   3574    CFLAGS="-g"
   3575    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3576 /* end confdefs.h.  */
   3577 
   3578 int
   3579 main ()
   3580 {
   3581 
   3582   ;
   3583   return 0;
   3584 }
   3585 _ACEOF
   3586 if ac_fn_c_try_compile "$LINENO"; then :
   3587   ac_cv_prog_cc_g=yes
   3588 else
   3589   CFLAGS=""
   3590       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3591 /* end confdefs.h.  */
   3592 
   3593 int
   3594 main ()
   3595 {
   3596 
   3597   ;
   3598   return 0;
   3599 }
   3600 _ACEOF
   3601 if ac_fn_c_try_compile "$LINENO"; then :
   3602 
   3603 else
   3604   ac_c_werror_flag=$ac_save_c_werror_flag
   3605 	 CFLAGS="-g"
   3606 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3607 /* end confdefs.h.  */
   3608 
   3609 int
   3610 main ()
   3611 {
   3612 
   3613   ;
   3614   return 0;
   3615 }
   3616 _ACEOF
   3617 if ac_fn_c_try_compile "$LINENO"; then :
   3618   ac_cv_prog_cc_g=yes
   3619 fi
   3620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3621 fi
   3622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3623 fi
   3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3625    ac_c_werror_flag=$ac_save_c_werror_flag
   3626 fi
   3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3628 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3629 if test "$ac_test_CFLAGS" = set; then
   3630   CFLAGS=$ac_save_CFLAGS
   3631 elif test $ac_cv_prog_cc_g = yes; then
   3632   if test "$GCC" = yes; then
   3633     CFLAGS="-g -O2"
   3634   else
   3635     CFLAGS="-g"
   3636   fi
   3637 else
   3638   if test "$GCC" = yes; then
   3639     CFLAGS="-O2"
   3640   else
   3641     CFLAGS=
   3642   fi
   3643 fi
   3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3645 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3646 if ${ac_cv_prog_cc_c89+:} false; then :
   3647   $as_echo_n "(cached) " >&6
   3648 else
   3649   ac_cv_prog_cc_c89=no
   3650 ac_save_CC=$CC
   3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3652 /* end confdefs.h.  */
   3653 #include <stdarg.h>
   3654 #include <stdio.h>
   3655 struct stat;
   3656 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3657 struct buf { int x; };
   3658 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3659 static char *e (p, i)
   3660      char **p;
   3661      int i;
   3662 {
   3663   return p[i];
   3664 }
   3665 static char *f (char * (*g) (char **, int), char **p, ...)
   3666 {
   3667   char *s;
   3668   va_list v;
   3669   va_start (v,p);
   3670   s = g (p, va_arg (v,int));
   3671   va_end (v);
   3672   return s;
   3673 }
   3674 
   3675 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3676    function prototypes and stuff, but not '\xHH' hex character constants.
   3677    These don't provoke an error unfortunately, instead are silently treated
   3678    as 'x'.  The following induces an error, until -std is added to get
   3679    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3680    array size at least.  It's necessary to write '\x00'==0 to get something
   3681    that's true only with -std.  */
   3682 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3683 
   3684 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3685    inside strings and character constants.  */
   3686 #define FOO(x) 'x'
   3687 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3688 
   3689 int test (int i, double x);
   3690 struct s1 {int (*f) (int a);};
   3691 struct s2 {int (*f) (double a);};
   3692 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3693 int argc;
   3694 char **argv;
   3695 int
   3696 main ()
   3697 {
   3698 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3699   ;
   3700   return 0;
   3701 }
   3702 _ACEOF
   3703 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3704 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3705 do
   3706   CC="$ac_save_CC $ac_arg"
   3707   if ac_fn_c_try_compile "$LINENO"; then :
   3708   ac_cv_prog_cc_c89=$ac_arg
   3709 fi
   3710 rm -f core conftest.err conftest.$ac_objext
   3711   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3712 done
   3713 rm -f conftest.$ac_ext
   3714 CC=$ac_save_CC
   3715 
   3716 fi
   3717 # AC_CACHE_VAL
   3718 case "x$ac_cv_prog_cc_c89" in
   3719   x)
   3720     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3721 $as_echo "none needed" >&6; } ;;
   3722   xno)
   3723     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3724 $as_echo "unsupported" >&6; } ;;
   3725   *)
   3726     CC="$CC $ac_cv_prog_cc_c89"
   3727     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3728 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3729 esac
   3730 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3731 
   3732 fi
   3733 
   3734 ac_ext=c
   3735 ac_cpp='$CPP $CPPFLAGS'
   3736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3739 
   3740 depcc="$CC"   am_compiler_list=
   3741 
   3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3743 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3744 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3745   $as_echo_n "(cached) " >&6
   3746 else
   3747   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3748   # We make a subdir and do the tests there.  Otherwise we can end up
   3749   # making bogus files that we don't know about and never remove.  For
   3750   # instance it was reported that on HP-UX the gcc test will end up
   3751   # making a dummy file named `D' -- because `-MD' means `put the output
   3752   # in D'.
   3753   rm -rf conftest.dir
   3754   mkdir conftest.dir
   3755   # Copy depcomp to subdir because otherwise we won't find it if we're
   3756   # using a relative directory.
   3757   cp "$am_depcomp" conftest.dir
   3758   cd conftest.dir
   3759   # We will build objects and dependencies in a subdirectory because
   3760   # it helps to detect inapplicable dependency modes.  For instance
   3761   # both Tru64's cc and ICC support -MD to output dependencies as a
   3762   # side effect of compilation, but ICC will put the dependencies in
   3763   # the current directory while Tru64 will put them in the object
   3764   # directory.
   3765   mkdir sub
   3766 
   3767   am_cv_CC_dependencies_compiler_type=none
   3768   if test "$am_compiler_list" = ""; then
   3769      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3770   fi
   3771   am__universal=false
   3772   case " $depcc " in #(
   3773      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3774      esac
   3775 
   3776   for depmode in $am_compiler_list; do
   3777     # Setup a source with many dependencies, because some compilers
   3778     # like to wrap large dependency lists on column 80 (with \), and
   3779     # we should not choose a depcomp mode which is confused by this.
   3780     #
   3781     # We need to recreate these files for each test, as the compiler may
   3782     # overwrite some of them when testing with obscure command lines.
   3783     # This happens at least with the AIX C compiler.
   3784     : > sub/conftest.c
   3785     for i in 1 2 3 4 5 6; do
   3786       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3787       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3788       # Solaris 8's {/usr,}/bin/sh.
   3789       touch sub/conftst$i.h
   3790     done
   3791     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3792 
   3793     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3794     # mode.  It turns out that the SunPro C++ compiler does not properly
   3795     # handle `-M -o', and we need to detect this.  Also, some Intel
   3796     # versions had trouble with output in subdirs
   3797     am__obj=sub/conftest.${OBJEXT-o}
   3798     am__minus_obj="-o $am__obj"
   3799     case $depmode in
   3800     gcc)
   3801       # This depmode causes a compiler race in universal mode.
   3802       test "$am__universal" = false || continue
   3803       ;;
   3804     nosideeffect)
   3805       # after this tag, mechanisms are not by side-effect, so they'll
   3806       # only be used when explicitly requested
   3807       if test "x$enable_dependency_tracking" = xyes; then
   3808 	continue
   3809       else
   3810 	break
   3811       fi
   3812       ;;
   3813     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3814       # This compiler won't grok `-c -o', but also, the minuso test has
   3815       # not run yet.  These depmodes are late enough in the game, and
   3816       # so weak that their functioning should not be impacted.
   3817       am__obj=conftest.${OBJEXT-o}
   3818       am__minus_obj=
   3819       ;;
   3820     none) break ;;
   3821     esac
   3822     if depmode=$depmode \
   3823        source=sub/conftest.c object=$am__obj \
   3824        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3825        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3826          >/dev/null 2>conftest.err &&
   3827        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3828        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3829        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3830        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3831       # icc doesn't choke on unknown options, it will just issue warnings
   3832       # or remarks (even with -Werror).  So we grep stderr for any message
   3833       # that says an option was ignored or not supported.
   3834       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3835       #   icc: Command line warning: ignoring option '-M'; no argument required
   3836       # The diagnosis changed in icc 8.0:
   3837       #   icc: Command line remark: option '-MP' not supported
   3838       if (grep 'ignoring option' conftest.err ||
   3839           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3840         am_cv_CC_dependencies_compiler_type=$depmode
   3841         break
   3842       fi
   3843     fi
   3844   done
   3845 
   3846   cd ..
   3847   rm -rf conftest.dir
   3848 else
   3849   am_cv_CC_dependencies_compiler_type=none
   3850 fi
   3851 
   3852 fi
   3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3854 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3855 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3856 
   3857  if
   3858   test "x$enable_dependency_tracking" != xno \
   3859   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3860   am__fastdepCC_TRUE=
   3861   am__fastdepCC_FALSE='#'
   3862 else
   3863   am__fastdepCC_TRUE='#'
   3864   am__fastdepCC_FALSE=
   3865 fi
   3866 
   3867 
   3868    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3869 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3870 if ${ac_cv_prog_cc_c99+:} false; then :
   3871   $as_echo_n "(cached) " >&6
   3872 else
   3873   ac_cv_prog_cc_c99=no
   3874 ac_save_CC=$CC
   3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3876 /* end confdefs.h.  */
   3877 #include <stdarg.h>
   3878 #include <stdbool.h>
   3879 #include <stdlib.h>
   3880 #include <wchar.h>
   3881 #include <stdio.h>
   3882 
   3883 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3884 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3885 #define showlist(...) puts (#__VA_ARGS__)
   3886 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3887 static void
   3888 test_varargs_macros (void)
   3889 {
   3890   int x = 1234;
   3891   int y = 5678;
   3892   debug ("Flag");
   3893   debug ("X = %d\n", x);
   3894   showlist (The first, second, and third items.);
   3895   report (x>y, "x is %d but y is %d", x, y);
   3896 }
   3897 
   3898 // Check long long types.
   3899 #define BIG64 18446744073709551615ull
   3900 #define BIG32 4294967295ul
   3901 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3902 #if !BIG_OK
   3903   your preprocessor is broken;
   3904 #endif
   3905 #if BIG_OK
   3906 #else
   3907   your preprocessor is broken;
   3908 #endif
   3909 static long long int bignum = -9223372036854775807LL;
   3910 static unsigned long long int ubignum = BIG64;
   3911 
   3912 struct incomplete_array
   3913 {
   3914   int datasize;
   3915   double data[];
   3916 };
   3917 
   3918 struct named_init {
   3919   int number;
   3920   const wchar_t *name;
   3921   double average;
   3922 };
   3923 
   3924 typedef const char *ccp;
   3925 
   3926 static inline int
   3927 test_restrict (ccp restrict text)
   3928 {
   3929   // See if C++-style comments work.
   3930   // Iterate through items via the restricted pointer.
   3931   // Also check for declarations in for loops.
   3932   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3933     continue;
   3934   return 0;
   3935 }
   3936 
   3937 // Check varargs and va_copy.
   3938 static void
   3939 test_varargs (const char *format, ...)
   3940 {
   3941   va_list args;
   3942   va_start (args, format);
   3943   va_list args_copy;
   3944   va_copy (args_copy, args);
   3945 
   3946   const char *str;
   3947   int number;
   3948   float fnumber;
   3949 
   3950   while (*format)
   3951     {
   3952       switch (*format++)
   3953 	{
   3954 	case 's': // string
   3955 	  str = va_arg (args_copy, const char *);
   3956 	  break;
   3957 	case 'd': // int
   3958 	  number = va_arg (args_copy, int);
   3959 	  break;
   3960 	case 'f': // float
   3961 	  fnumber = va_arg (args_copy, double);
   3962 	  break;
   3963 	default:
   3964 	  break;
   3965 	}
   3966     }
   3967   va_end (args_copy);
   3968   va_end (args);
   3969 }
   3970 
   3971 int
   3972 main ()
   3973 {
   3974 
   3975   // Check bool.
   3976   _Bool success = false;
   3977 
   3978   // Check restrict.
   3979   if (test_restrict ("String literal") == 0)
   3980     success = true;
   3981   char *restrict newvar = "Another string";
   3982 
   3983   // Check varargs.
   3984   test_varargs ("s, d' f .", "string", 65, 34.234);
   3985   test_varargs_macros ();
   3986 
   3987   // Check flexible array members.
   3988   struct incomplete_array *ia =
   3989     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3990   ia->datasize = 10;
   3991   for (int i = 0; i < ia->datasize; ++i)
   3992     ia->data[i] = i * 1.234;
   3993 
   3994   // Check named initializers.
   3995   struct named_init ni = {
   3996     .number = 34,
   3997     .name = L"Test wide string",
   3998     .average = 543.34343,
   3999   };
   4000 
   4001   ni.number = 58;
   4002 
   4003   int dynamic_array[ni.number];
   4004   dynamic_array[ni.number - 1] = 543;
   4005 
   4006   // work around unused variable warnings
   4007   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4008 	  || dynamic_array[ni.number - 1] != 543);
   4009 
   4010   ;
   4011   return 0;
   4012 }
   4013 _ACEOF
   4014 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4015 do
   4016   CC="$ac_save_CC $ac_arg"
   4017   if ac_fn_c_try_compile "$LINENO"; then :
   4018   ac_cv_prog_cc_c99=$ac_arg
   4019 fi
   4020 rm -f core conftest.err conftest.$ac_objext
   4021   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4022 done
   4023 rm -f conftest.$ac_ext
   4024 CC=$ac_save_CC
   4025 
   4026 fi
   4027 # AC_CACHE_VAL
   4028 case "x$ac_cv_prog_cc_c99" in
   4029   x)
   4030     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4031 $as_echo "none needed" >&6; } ;;
   4032   xno)
   4033     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4034 $as_echo "unsupported" >&6; } ;;
   4035   *)
   4036     CC="$CC $ac_cv_prog_cc_c99"
   4037     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4038 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4039 esac
   4040 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4041 
   4042 fi
   4043 
   4044 
   4045 
   4046 ac_ext=c
   4047 ac_cpp='$CPP $CPPFLAGS'
   4048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4052 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4053 # On Suns, sometimes $CPP names a directory.
   4054 if test -n "$CPP" && test -d "$CPP"; then
   4055   CPP=
   4056 fi
   4057 if test -z "$CPP"; then
   4058   if ${ac_cv_prog_CPP+:} false; then :
   4059   $as_echo_n "(cached) " >&6
   4060 else
   4061       # Double quotes because CPP needs to be expanded
   4062     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4063     do
   4064       ac_preproc_ok=false
   4065 for ac_c_preproc_warn_flag in '' yes
   4066 do
   4067   # Use a header file that comes with gcc, so configuring glibc
   4068   # with a fresh cross-compiler works.
   4069   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4070   # <limits.h> exists even on freestanding compilers.
   4071   # On the NeXT, cc -E runs the code through the compiler's parser,
   4072   # not just through cpp. "Syntax error" is here to catch this case.
   4073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4074 /* end confdefs.h.  */
   4075 #ifdef __STDC__
   4076 # include <limits.h>
   4077 #else
   4078 # include <assert.h>
   4079 #endif
   4080 		     Syntax error
   4081 _ACEOF
   4082 if ac_fn_c_try_cpp "$LINENO"; then :
   4083 
   4084 else
   4085   # Broken: fails on valid input.
   4086 continue
   4087 fi
   4088 rm -f conftest.err conftest.i conftest.$ac_ext
   4089 
   4090   # OK, works on sane cases.  Now check whether nonexistent headers
   4091   # can be detected and how.
   4092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4093 /* end confdefs.h.  */
   4094 #include <ac_nonexistent.h>
   4095 _ACEOF
   4096 if ac_fn_c_try_cpp "$LINENO"; then :
   4097   # Broken: success on invalid input.
   4098 continue
   4099 else
   4100   # Passes both tests.
   4101 ac_preproc_ok=:
   4102 break
   4103 fi
   4104 rm -f conftest.err conftest.i conftest.$ac_ext
   4105 
   4106 done
   4107 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4108 rm -f conftest.i conftest.err conftest.$ac_ext
   4109 if $ac_preproc_ok; then :
   4110   break
   4111 fi
   4112 
   4113     done
   4114     ac_cv_prog_CPP=$CPP
   4115 
   4116 fi
   4117   CPP=$ac_cv_prog_CPP
   4118 else
   4119   ac_cv_prog_CPP=$CPP
   4120 fi
   4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4122 $as_echo "$CPP" >&6; }
   4123 ac_preproc_ok=false
   4124 for ac_c_preproc_warn_flag in '' yes
   4125 do
   4126   # Use a header file that comes with gcc, so configuring glibc
   4127   # with a fresh cross-compiler works.
   4128   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4129   # <limits.h> exists even on freestanding compilers.
   4130   # On the NeXT, cc -E runs the code through the compiler's parser,
   4131   # not just through cpp. "Syntax error" is here to catch this case.
   4132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4133 /* end confdefs.h.  */
   4134 #ifdef __STDC__
   4135 # include <limits.h>
   4136 #else
   4137 # include <assert.h>
   4138 #endif
   4139 		     Syntax error
   4140 _ACEOF
   4141 if ac_fn_c_try_cpp "$LINENO"; then :
   4142 
   4143 else
   4144   # Broken: fails on valid input.
   4145 continue
   4146 fi
   4147 rm -f conftest.err conftest.i conftest.$ac_ext
   4148 
   4149   # OK, works on sane cases.  Now check whether nonexistent headers
   4150   # can be detected and how.
   4151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4152 /* end confdefs.h.  */
   4153 #include <ac_nonexistent.h>
   4154 _ACEOF
   4155 if ac_fn_c_try_cpp "$LINENO"; then :
   4156   # Broken: success on invalid input.
   4157 continue
   4158 else
   4159   # Passes both tests.
   4160 ac_preproc_ok=:
   4161 break
   4162 fi
   4163 rm -f conftest.err conftest.i conftest.$ac_ext
   4164 
   4165 done
   4166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4167 rm -f conftest.i conftest.err conftest.$ac_ext
   4168 if $ac_preproc_ok; then :
   4169 
   4170 else
   4171   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4173 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4174 See \`config.log' for more details" "$LINENO" 5; }
   4175 fi
   4176 
   4177 ac_ext=c
   4178 ac_cpp='$CPP $CPPFLAGS'
   4179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4182 
   4183 
   4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4185 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4186 if ${ac_cv_path_GREP+:} false; then :
   4187   $as_echo_n "(cached) " >&6
   4188 else
   4189   if test -z "$GREP"; then
   4190   ac_path_GREP_found=false
   4191   # Loop through the user's path and test for each of PROGNAME-LIST
   4192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4193 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4194 do
   4195   IFS=$as_save_IFS
   4196   test -z "$as_dir" && as_dir=.
   4197     for ac_prog in grep ggrep; do
   4198     for ac_exec_ext in '' $ac_executable_extensions; do
   4199       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4200       as_fn_executable_p "$ac_path_GREP" || continue
   4201 # Check for GNU ac_path_GREP and select it if it is found.
   4202   # Check for GNU $ac_path_GREP
   4203 case `"$ac_path_GREP" --version 2>&1` in
   4204 *GNU*)
   4205   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4206 *)
   4207   ac_count=0
   4208   $as_echo_n 0123456789 >"conftest.in"
   4209   while :
   4210   do
   4211     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4212     mv "conftest.tmp" "conftest.in"
   4213     cp "conftest.in" "conftest.nl"
   4214     $as_echo 'GREP' >> "conftest.nl"
   4215     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4216     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4217     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4218     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4219       # Best one so far, save it but keep looking for a better one
   4220       ac_cv_path_GREP="$ac_path_GREP"
   4221       ac_path_GREP_max=$ac_count
   4222     fi
   4223     # 10*(2^10) chars as input seems more than enough
   4224     test $ac_count -gt 10 && break
   4225   done
   4226   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4227 esac
   4228 
   4229       $ac_path_GREP_found && break 3
   4230     done
   4231   done
   4232   done
   4233 IFS=$as_save_IFS
   4234   if test -z "$ac_cv_path_GREP"; then
   4235     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4236   fi
   4237 else
   4238   ac_cv_path_GREP=$GREP
   4239 fi
   4240 
   4241 fi
   4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4243 $as_echo "$ac_cv_path_GREP" >&6; }
   4244  GREP="$ac_cv_path_GREP"
   4245 
   4246 
   4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4248 $as_echo_n "checking for egrep... " >&6; }
   4249 if ${ac_cv_path_EGREP+:} false; then :
   4250   $as_echo_n "(cached) " >&6
   4251 else
   4252   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4253    then ac_cv_path_EGREP="$GREP -E"
   4254    else
   4255      if test -z "$EGREP"; then
   4256   ac_path_EGREP_found=false
   4257   # Loop through the user's path and test for each of PROGNAME-LIST
   4258   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4259 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4260 do
   4261   IFS=$as_save_IFS
   4262   test -z "$as_dir" && as_dir=.
   4263     for ac_prog in egrep; do
   4264     for ac_exec_ext in '' $ac_executable_extensions; do
   4265       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4266       as_fn_executable_p "$ac_path_EGREP" || continue
   4267 # Check for GNU ac_path_EGREP and select it if it is found.
   4268   # Check for GNU $ac_path_EGREP
   4269 case `"$ac_path_EGREP" --version 2>&1` in
   4270 *GNU*)
   4271   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4272 *)
   4273   ac_count=0
   4274   $as_echo_n 0123456789 >"conftest.in"
   4275   while :
   4276   do
   4277     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4278     mv "conftest.tmp" "conftest.in"
   4279     cp "conftest.in" "conftest.nl"
   4280     $as_echo 'EGREP' >> "conftest.nl"
   4281     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4282     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4283     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4284     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4285       # Best one so far, save it but keep looking for a better one
   4286       ac_cv_path_EGREP="$ac_path_EGREP"
   4287       ac_path_EGREP_max=$ac_count
   4288     fi
   4289     # 10*(2^10) chars as input seems more than enough
   4290     test $ac_count -gt 10 && break
   4291   done
   4292   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4293 esac
   4294 
   4295       $ac_path_EGREP_found && break 3
   4296     done
   4297   done
   4298   done
   4299 IFS=$as_save_IFS
   4300   if test -z "$ac_cv_path_EGREP"; then
   4301     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4302   fi
   4303 else
   4304   ac_cv_path_EGREP=$EGREP
   4305 fi
   4306 
   4307    fi
   4308 fi
   4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4310 $as_echo "$ac_cv_path_EGREP" >&6; }
   4311  EGREP="$ac_cv_path_EGREP"
   4312 
   4313 
   4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4315 $as_echo_n "checking for ANSI C header files... " >&6; }
   4316 if ${ac_cv_header_stdc+:} false; then :
   4317   $as_echo_n "(cached) " >&6
   4318 else
   4319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4320 /* end confdefs.h.  */
   4321 #include <stdlib.h>
   4322 #include <stdarg.h>
   4323 #include <string.h>
   4324 #include <float.h>
   4325 
   4326 int
   4327 main ()
   4328 {
   4329 
   4330   ;
   4331   return 0;
   4332 }
   4333 _ACEOF
   4334 if ac_fn_c_try_compile "$LINENO"; then :
   4335   ac_cv_header_stdc=yes
   4336 else
   4337   ac_cv_header_stdc=no
   4338 fi
   4339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4340 
   4341 if test $ac_cv_header_stdc = yes; then
   4342   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4344 /* end confdefs.h.  */
   4345 #include <string.h>
   4346 
   4347 _ACEOF
   4348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4349   $EGREP "memchr" >/dev/null 2>&1; then :
   4350 
   4351 else
   4352   ac_cv_header_stdc=no
   4353 fi
   4354 rm -f conftest*
   4355 
   4356 fi
   4357 
   4358 if test $ac_cv_header_stdc = yes; then
   4359   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4361 /* end confdefs.h.  */
   4362 #include <stdlib.h>
   4363 
   4364 _ACEOF
   4365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4366   $EGREP "free" >/dev/null 2>&1; then :
   4367 
   4368 else
   4369   ac_cv_header_stdc=no
   4370 fi
   4371 rm -f conftest*
   4372 
   4373 fi
   4374 
   4375 if test $ac_cv_header_stdc = yes; then
   4376   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4377   if test "$cross_compiling" = yes; then :
   4378   :
   4379 else
   4380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4381 /* end confdefs.h.  */
   4382 #include <ctype.h>
   4383 #include <stdlib.h>
   4384 #if ((' ' & 0x0FF) == 0x020)
   4385 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4386 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4387 #else
   4388 # define ISLOWER(c) \
   4389 		   (('a' <= (c) && (c) <= 'i') \
   4390 		     || ('j' <= (c) && (c) <= 'r') \
   4391 		     || ('s' <= (c) && (c) <= 'z'))
   4392 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4393 #endif
   4394 
   4395 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4396 int
   4397 main ()
   4398 {
   4399   int i;
   4400   for (i = 0; i < 256; i++)
   4401     if (XOR (islower (i), ISLOWER (i))
   4402 	|| toupper (i) != TOUPPER (i))
   4403       return 2;
   4404   return 0;
   4405 }
   4406 _ACEOF
   4407 if ac_fn_c_try_run "$LINENO"; then :
   4408 
   4409 else
   4410   ac_cv_header_stdc=no
   4411 fi
   4412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4413   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4414 fi
   4415 
   4416 fi
   4417 fi
   4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4419 $as_echo "$ac_cv_header_stdc" >&6; }
   4420 if test $ac_cv_header_stdc = yes; then
   4421 
   4422 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4423 
   4424 fi
   4425 
   4426 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4427 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4428 		  inttypes.h stdint.h unistd.h
   4429 do :
   4430   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4431 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4432 "
   4433 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4434   cat >>confdefs.h <<_ACEOF
   4435 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4436 _ACEOF
   4437 
   4438 fi
   4439 
   4440 done
   4441 
   4442 
   4443 
   4444 
   4445 
   4446 
   4447 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4448 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4449   CLANGCC="yes"
   4450 else
   4451   CLANGCC="no"
   4452 fi
   4453 
   4454 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4455 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4456   INTELCC="yes"
   4457 else
   4458   INTELCC="no"
   4459 fi
   4460 
   4461 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4462 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4463   SUNCC="yes"
   4464 else
   4465   SUNCC="no"
   4466 fi
   4467 
   4468 
   4469 
   4470 
   4471 
   4472 
   4473 
   4474 
   4475 
   4476 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4477 	if test -n "$ac_tool_prefix"; then
   4478   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4479 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4481 $as_echo_n "checking for $ac_word... " >&6; }
   4482 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4483   $as_echo_n "(cached) " >&6
   4484 else
   4485   case $PKG_CONFIG in
   4486   [\\/]* | ?:[\\/]*)
   4487   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4488   ;;
   4489   *)
   4490   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4491 for as_dir in $PATH
   4492 do
   4493   IFS=$as_save_IFS
   4494   test -z "$as_dir" && as_dir=.
   4495     for ac_exec_ext in '' $ac_executable_extensions; do
   4496   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4497     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4499     break 2
   4500   fi
   4501 done
   4502   done
   4503 IFS=$as_save_IFS
   4504 
   4505   ;;
   4506 esac
   4507 fi
   4508 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4509 if test -n "$PKG_CONFIG"; then
   4510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4511 $as_echo "$PKG_CONFIG" >&6; }
   4512 else
   4513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4514 $as_echo "no" >&6; }
   4515 fi
   4516 
   4517 
   4518 fi
   4519 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4520   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4521   # Extract the first word of "pkg-config", so it can be a program name with args.
   4522 set dummy pkg-config; ac_word=$2
   4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4524 $as_echo_n "checking for $ac_word... " >&6; }
   4525 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4526   $as_echo_n "(cached) " >&6
   4527 else
   4528   case $ac_pt_PKG_CONFIG in
   4529   [\\/]* | ?:[\\/]*)
   4530   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4531   ;;
   4532   *)
   4533   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4534 for as_dir in $PATH
   4535 do
   4536   IFS=$as_save_IFS
   4537   test -z "$as_dir" && as_dir=.
   4538     for ac_exec_ext in '' $ac_executable_extensions; do
   4539   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4540     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4542     break 2
   4543   fi
   4544 done
   4545   done
   4546 IFS=$as_save_IFS
   4547 
   4548   ;;
   4549 esac
   4550 fi
   4551 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4552 if test -n "$ac_pt_PKG_CONFIG"; then
   4553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4554 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4555 else
   4556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4557 $as_echo "no" >&6; }
   4558 fi
   4559 
   4560   if test "x$ac_pt_PKG_CONFIG" = x; then
   4561     PKG_CONFIG=""
   4562   else
   4563     case $cross_compiling:$ac_tool_warned in
   4564 yes:)
   4565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4567 ac_tool_warned=yes ;;
   4568 esac
   4569     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4570   fi
   4571 else
   4572   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4573 fi
   4574 
   4575 fi
   4576 if test -n "$PKG_CONFIG"; then
   4577 	_pkg_min_version=0.9.0
   4578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4579 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4580 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4582 $as_echo "yes" >&6; }
   4583 	else
   4584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4585 $as_echo "no" >&6; }
   4586 		PKG_CONFIG=""
   4587 	fi
   4588 fi
   4589 # Make sure we can run config.sub.
   4590 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4591   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4592 
   4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4594 $as_echo_n "checking build system type... " >&6; }
   4595 if ${ac_cv_build+:} false; then :
   4596   $as_echo_n "(cached) " >&6
   4597 else
   4598   ac_build_alias=$build_alias
   4599 test "x$ac_build_alias" = x &&
   4600   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4601 test "x$ac_build_alias" = x &&
   4602   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4603 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4604   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4605 
   4606 fi
   4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4608 $as_echo "$ac_cv_build" >&6; }
   4609 case $ac_cv_build in
   4610 *-*-*) ;;
   4611 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4612 esac
   4613 build=$ac_cv_build
   4614 ac_save_IFS=$IFS; IFS='-'
   4615 set x $ac_cv_build
   4616 shift
   4617 build_cpu=$1
   4618 build_vendor=$2
   4619 shift; shift
   4620 # Remember, the first character of IFS is used to create $*,
   4621 # except with old shells:
   4622 build_os=$*
   4623 IFS=$ac_save_IFS
   4624 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4625 
   4626 
   4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4628 $as_echo_n "checking host system type... " >&6; }
   4629 if ${ac_cv_host+:} false; then :
   4630   $as_echo_n "(cached) " >&6
   4631 else
   4632   if test "x$host_alias" = x; then
   4633   ac_cv_host=$ac_cv_build
   4634 else
   4635   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4636     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4637 fi
   4638 
   4639 fi
   4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4641 $as_echo "$ac_cv_host" >&6; }
   4642 case $ac_cv_host in
   4643 *-*-*) ;;
   4644 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4645 esac
   4646 host=$ac_cv_host
   4647 ac_save_IFS=$IFS; IFS='-'
   4648 set x $ac_cv_host
   4649 shift
   4650 host_cpu=$1
   4651 host_vendor=$2
   4652 shift; shift
   4653 # Remember, the first character of IFS is used to create $*,
   4654 # except with old shells:
   4655 host_os=$*
   4656 IFS=$ac_save_IFS
   4657 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4658 
   4659 
   4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4661 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4662 if ${ac_cv_path_SED+:} false; then :
   4663   $as_echo_n "(cached) " >&6
   4664 else
   4665             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4666      for ac_i in 1 2 3 4 5 6 7; do
   4667        ac_script="$ac_script$as_nl$ac_script"
   4668      done
   4669      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4670      { ac_script=; unset ac_script;}
   4671      if test -z "$SED"; then
   4672   ac_path_SED_found=false
   4673   # Loop through the user's path and test for each of PROGNAME-LIST
   4674   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4675 for as_dir in $PATH
   4676 do
   4677   IFS=$as_save_IFS
   4678   test -z "$as_dir" && as_dir=.
   4679     for ac_prog in sed gsed; do
   4680     for ac_exec_ext in '' $ac_executable_extensions; do
   4681       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4682       as_fn_executable_p "$ac_path_SED" || continue
   4683 # Check for GNU ac_path_SED and select it if it is found.
   4684   # Check for GNU $ac_path_SED
   4685 case `"$ac_path_SED" --version 2>&1` in
   4686 *GNU*)
   4687   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4688 *)
   4689   ac_count=0
   4690   $as_echo_n 0123456789 >"conftest.in"
   4691   while :
   4692   do
   4693     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4694     mv "conftest.tmp" "conftest.in"
   4695     cp "conftest.in" "conftest.nl"
   4696     $as_echo '' >> "conftest.nl"
   4697     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4698     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4699     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4700     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4701       # Best one so far, save it but keep looking for a better one
   4702       ac_cv_path_SED="$ac_path_SED"
   4703       ac_path_SED_max=$ac_count
   4704     fi
   4705     # 10*(2^10) chars as input seems more than enough
   4706     test $ac_count -gt 10 && break
   4707   done
   4708   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4709 esac
   4710 
   4711       $ac_path_SED_found && break 3
   4712     done
   4713   done
   4714   done
   4715 IFS=$as_save_IFS
   4716   if test -z "$ac_cv_path_SED"; then
   4717     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4718   fi
   4719 else
   4720   ac_cv_path_SED=$SED
   4721 fi
   4722 
   4723 fi
   4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4725 $as_echo "$ac_cv_path_SED" >&6; }
   4726  SED="$ac_cv_path_SED"
   4727   rm -f conftest.sed
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 # Check whether --enable-selective-werror was given.
   4735 if test "${enable_selective_werror+set}" = set; then :
   4736   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4737 else
   4738   SELECTIVE_WERROR=yes
   4739 fi
   4740 
   4741 
   4742 
   4743 
   4744 
   4745 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4746 if test "x$SUNCC" = "xyes"; then
   4747     BASE_CFLAGS="-v"
   4748 else
   4749     BASE_CFLAGS=""
   4750 fi
   4751 
   4752 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4753 
   4754 
   4755 
   4756 
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 
   4764 
   4765 
   4766 xorg_testset_save_CFLAGS="$CFLAGS"
   4767 
   4768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4771 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4772 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4773   $as_echo_n "(cached) " >&6
   4774 else
   4775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4776 /* end confdefs.h.  */
   4777 int i;
   4778 _ACEOF
   4779 if ac_fn_c_try_compile "$LINENO"; then :
   4780   xorg_cv_cc_flag_unknown_warning_option=yes
   4781 else
   4782   xorg_cv_cc_flag_unknown_warning_option=no
   4783 fi
   4784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4785 fi
   4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4787 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4788 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4789 	CFLAGS="$xorg_testset_save_CFLAGS"
   4790 fi
   4791 
   4792 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4793 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4794 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4795 	fi
   4796 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4798 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4799 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4800   $as_echo_n "(cached) " >&6
   4801 else
   4802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4803 /* end confdefs.h.  */
   4804 int i;
   4805 _ACEOF
   4806 if ac_fn_c_try_compile "$LINENO"; then :
   4807   xorg_cv_cc_flag_unused_command_line_argument=yes
   4808 else
   4809   xorg_cv_cc_flag_unused_command_line_argument=no
   4810 fi
   4811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4812 fi
   4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4814 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4815 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4816 	CFLAGS="$xorg_testset_save_CFLAGS"
   4817 fi
   4818 
   4819 found="no"
   4820 
   4821 	if test $found = "no" ; then
   4822 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4824 		fi
   4825 
   4826 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4828 		fi
   4829 
   4830 		CFLAGS="$CFLAGS -Wall"
   4831 
   4832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wall" >&5
   4833 $as_echo_n "checking if $CC supports-Wall... " >&6; }
   4834 		cacheid=xorg_cv_cc_flag__Wall
   4835 		if eval \${$cacheid+:} false; then :
   4836   $as_echo_n "(cached) " >&6
   4837 else
   4838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4839 /* end confdefs.h.  */
   4840 int i;
   4841 int
   4842 main ()
   4843 {
   4844 
   4845   ;
   4846   return 0;
   4847 }
   4848 _ACEOF
   4849 if ac_fn_c_try_link "$LINENO"; then :
   4850   eval $cacheid=yes
   4851 else
   4852   eval $cacheid=no
   4853 fi
   4854 rm -f core conftest.err conftest.$ac_objext \
   4855     conftest$ac_exeext conftest.$ac_ext
   4856 fi
   4857 
   4858 
   4859 		CFLAGS="$xorg_testset_save_CFLAGS"
   4860 
   4861 		eval supported=\$$cacheid
   4862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4863 $as_echo "$supported" >&6; }
   4864 		if test "$supported" = "yes" ; then
   4865 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4866 			found="yes"
   4867 		fi
   4868 	fi
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 xorg_testset_save_CFLAGS="$CFLAGS"
   4885 
   4886 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4889 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4890 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4891   $as_echo_n "(cached) " >&6
   4892 else
   4893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4894 /* end confdefs.h.  */
   4895 int i;
   4896 _ACEOF
   4897 if ac_fn_c_try_compile "$LINENO"; then :
   4898   xorg_cv_cc_flag_unknown_warning_option=yes
   4899 else
   4900   xorg_cv_cc_flag_unknown_warning_option=no
   4901 fi
   4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4903 fi
   4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4905 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4907 	CFLAGS="$xorg_testset_save_CFLAGS"
   4908 fi
   4909 
   4910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4913 	fi
   4914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4916 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4917 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4918   $as_echo_n "(cached) " >&6
   4919 else
   4920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4921 /* end confdefs.h.  */
   4922 int i;
   4923 _ACEOF
   4924 if ac_fn_c_try_compile "$LINENO"; then :
   4925   xorg_cv_cc_flag_unused_command_line_argument=yes
   4926 else
   4927   xorg_cv_cc_flag_unused_command_line_argument=no
   4928 fi
   4929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4930 fi
   4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4932 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4933 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4934 	CFLAGS="$xorg_testset_save_CFLAGS"
   4935 fi
   4936 
   4937 found="no"
   4938 
   4939 	if test $found = "no" ; then
   4940 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4941 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4942 		fi
   4943 
   4944 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4945 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4946 		fi
   4947 
   4948 		CFLAGS="$CFLAGS -Wpointer-arith"
   4949 
   4950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-arith" >&5
   4951 $as_echo_n "checking if $CC supports-Wpointer-arith... " >&6; }
   4952 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4953 		if eval \${$cacheid+:} false; then :
   4954   $as_echo_n "(cached) " >&6
   4955 else
   4956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4957 /* end confdefs.h.  */
   4958 int i;
   4959 int
   4960 main ()
   4961 {
   4962 
   4963   ;
   4964   return 0;
   4965 }
   4966 _ACEOF
   4967 if ac_fn_c_try_link "$LINENO"; then :
   4968   eval $cacheid=yes
   4969 else
   4970   eval $cacheid=no
   4971 fi
   4972 rm -f core conftest.err conftest.$ac_objext \
   4973     conftest$ac_exeext conftest.$ac_ext
   4974 fi
   4975 
   4976 
   4977 		CFLAGS="$xorg_testset_save_CFLAGS"
   4978 
   4979 		eval supported=\$$cacheid
   4980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4981 $as_echo "$supported" >&6; }
   4982 		if test "$supported" = "yes" ; then
   4983 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4984 			found="yes"
   4985 		fi
   4986 	fi
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 xorg_testset_save_CFLAGS="$CFLAGS"
   5003 
   5004 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5005 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5006 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5007 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5008 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5009   $as_echo_n "(cached) " >&6
   5010 else
   5011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5012 /* end confdefs.h.  */
   5013 int i;
   5014 _ACEOF
   5015 if ac_fn_c_try_compile "$LINENO"; then :
   5016   xorg_cv_cc_flag_unknown_warning_option=yes
   5017 else
   5018   xorg_cv_cc_flag_unknown_warning_option=no
   5019 fi
   5020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5021 fi
   5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5023 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5024 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5025 	CFLAGS="$xorg_testset_save_CFLAGS"
   5026 fi
   5027 
   5028 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5029 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5030 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5031 	fi
   5032 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5034 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5035 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5036   $as_echo_n "(cached) " >&6
   5037 else
   5038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5039 /* end confdefs.h.  */
   5040 int i;
   5041 _ACEOF
   5042 if ac_fn_c_try_compile "$LINENO"; then :
   5043   xorg_cv_cc_flag_unused_command_line_argument=yes
   5044 else
   5045   xorg_cv_cc_flag_unused_command_line_argument=no
   5046 fi
   5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5048 fi
   5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5050 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5051 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5052 	CFLAGS="$xorg_testset_save_CFLAGS"
   5053 fi
   5054 
   5055 found="no"
   5056 
   5057 	if test $found = "no" ; then
   5058 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5059 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5060 		fi
   5061 
   5062 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5063 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5064 		fi
   5065 
   5066 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5067 
   5068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-declarations" >&5
   5069 $as_echo_n "checking if $CC supports-Wmissing-declarations... " >&6; }
   5070 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5071 		if eval \${$cacheid+:} false; then :
   5072   $as_echo_n "(cached) " >&6
   5073 else
   5074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5075 /* end confdefs.h.  */
   5076 int i;
   5077 int
   5078 main ()
   5079 {
   5080 
   5081   ;
   5082   return 0;
   5083 }
   5084 _ACEOF
   5085 if ac_fn_c_try_link "$LINENO"; then :
   5086   eval $cacheid=yes
   5087 else
   5088   eval $cacheid=no
   5089 fi
   5090 rm -f core conftest.err conftest.$ac_objext \
   5091     conftest$ac_exeext conftest.$ac_ext
   5092 fi
   5093 
   5094 
   5095 		CFLAGS="$xorg_testset_save_CFLAGS"
   5096 
   5097 		eval supported=\$$cacheid
   5098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5099 $as_echo "$supported" >&6; }
   5100 		if test "$supported" = "yes" ; then
   5101 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5102 			found="yes"
   5103 		fi
   5104 	fi
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 xorg_testset_save_CFLAGS="$CFLAGS"
   5121 
   5122 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5123 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5124 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5125 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5126 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5127   $as_echo_n "(cached) " >&6
   5128 else
   5129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5130 /* end confdefs.h.  */
   5131 int i;
   5132 _ACEOF
   5133 if ac_fn_c_try_compile "$LINENO"; then :
   5134   xorg_cv_cc_flag_unknown_warning_option=yes
   5135 else
   5136   xorg_cv_cc_flag_unknown_warning_option=no
   5137 fi
   5138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5139 fi
   5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5141 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5142 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5143 	CFLAGS="$xorg_testset_save_CFLAGS"
   5144 fi
   5145 
   5146 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5147 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5148 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5149 	fi
   5150 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5152 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5153 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5154   $as_echo_n "(cached) " >&6
   5155 else
   5156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5157 /* end confdefs.h.  */
   5158 int i;
   5159 _ACEOF
   5160 if ac_fn_c_try_compile "$LINENO"; then :
   5161   xorg_cv_cc_flag_unused_command_line_argument=yes
   5162 else
   5163   xorg_cv_cc_flag_unused_command_line_argument=no
   5164 fi
   5165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5166 fi
   5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5168 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5170 	CFLAGS="$xorg_testset_save_CFLAGS"
   5171 fi
   5172 
   5173 found="no"
   5174 
   5175 	if test $found = "no" ; then
   5176 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5178 		fi
   5179 
   5180 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5182 		fi
   5183 
   5184 		CFLAGS="$CFLAGS -Wformat=2"
   5185 
   5186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat=2" >&5
   5187 $as_echo_n "checking if $CC supports-Wformat=2... " >&6; }
   5188 		cacheid=xorg_cv_cc_flag__Wformat_2
   5189 		if eval \${$cacheid+:} false; then :
   5190   $as_echo_n "(cached) " >&6
   5191 else
   5192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5193 /* end confdefs.h.  */
   5194 int i;
   5195 int
   5196 main ()
   5197 {
   5198 
   5199   ;
   5200   return 0;
   5201 }
   5202 _ACEOF
   5203 if ac_fn_c_try_link "$LINENO"; then :
   5204   eval $cacheid=yes
   5205 else
   5206   eval $cacheid=no
   5207 fi
   5208 rm -f core conftest.err conftest.$ac_objext \
   5209     conftest$ac_exeext conftest.$ac_ext
   5210 fi
   5211 
   5212 
   5213 		CFLAGS="$xorg_testset_save_CFLAGS"
   5214 
   5215 		eval supported=\$$cacheid
   5216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5217 $as_echo "$supported" >&6; }
   5218 		if test "$supported" = "yes" ; then
   5219 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5220 			found="yes"
   5221 		fi
   5222 	fi
   5223 
   5224 	if test $found = "no" ; then
   5225 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5226 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5227 		fi
   5228 
   5229 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5230 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5231 		fi
   5232 
   5233 		CFLAGS="$CFLAGS -Wformat"
   5234 
   5235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat" >&5
   5236 $as_echo_n "checking if $CC supports-Wformat... " >&6; }
   5237 		cacheid=xorg_cv_cc_flag__Wformat
   5238 		if eval \${$cacheid+:} false; then :
   5239   $as_echo_n "(cached) " >&6
   5240 else
   5241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5242 /* end confdefs.h.  */
   5243 int i;
   5244 int
   5245 main ()
   5246 {
   5247 
   5248   ;
   5249   return 0;
   5250 }
   5251 _ACEOF
   5252 if ac_fn_c_try_link "$LINENO"; then :
   5253   eval $cacheid=yes
   5254 else
   5255   eval $cacheid=no
   5256 fi
   5257 rm -f core conftest.err conftest.$ac_objext \
   5258     conftest$ac_exeext conftest.$ac_ext
   5259 fi
   5260 
   5261 
   5262 		CFLAGS="$xorg_testset_save_CFLAGS"
   5263 
   5264 		eval supported=\$$cacheid
   5265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5266 $as_echo "$supported" >&6; }
   5267 		if test "$supported" = "yes" ; then
   5268 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5269 			found="yes"
   5270 		fi
   5271 	fi
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 xorg_testset_save_CFLAGS="$CFLAGS"
   5290 
   5291 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5292 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5294 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5295 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5296   $as_echo_n "(cached) " >&6
   5297 else
   5298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5299 /* end confdefs.h.  */
   5300 int i;
   5301 _ACEOF
   5302 if ac_fn_c_try_compile "$LINENO"; then :
   5303   xorg_cv_cc_flag_unknown_warning_option=yes
   5304 else
   5305   xorg_cv_cc_flag_unknown_warning_option=no
   5306 fi
   5307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5308 fi
   5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5310 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5311 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5312 	CFLAGS="$xorg_testset_save_CFLAGS"
   5313 fi
   5314 
   5315 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5316 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5318 	fi
   5319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5320 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5321 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5322 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5323   $as_echo_n "(cached) " >&6
   5324 else
   5325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5326 /* end confdefs.h.  */
   5327 int i;
   5328 _ACEOF
   5329 if ac_fn_c_try_compile "$LINENO"; then :
   5330   xorg_cv_cc_flag_unused_command_line_argument=yes
   5331 else
   5332   xorg_cv_cc_flag_unused_command_line_argument=no
   5333 fi
   5334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5335 fi
   5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5337 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5338 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5339 	CFLAGS="$xorg_testset_save_CFLAGS"
   5340 fi
   5341 
   5342 found="no"
   5343 
   5344 	if test $found = "no" ; then
   5345 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5346 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5347 		fi
   5348 
   5349 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5350 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5351 		fi
   5352 
   5353 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5354 
   5355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wstrict-prototypes" >&5
   5356 $as_echo_n "checking if $CC supports-Wstrict-prototypes... " >&6; }
   5357 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5358 		if eval \${$cacheid+:} false; then :
   5359   $as_echo_n "(cached) " >&6
   5360 else
   5361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5362 /* end confdefs.h.  */
   5363 int i;
   5364 int
   5365 main ()
   5366 {
   5367 
   5368   ;
   5369   return 0;
   5370 }
   5371 _ACEOF
   5372 if ac_fn_c_try_link "$LINENO"; then :
   5373   eval $cacheid=yes
   5374 else
   5375   eval $cacheid=no
   5376 fi
   5377 rm -f core conftest.err conftest.$ac_objext \
   5378     conftest$ac_exeext conftest.$ac_ext
   5379 fi
   5380 
   5381 
   5382 		CFLAGS="$xorg_testset_save_CFLAGS"
   5383 
   5384 		eval supported=\$$cacheid
   5385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5386 $as_echo "$supported" >&6; }
   5387 		if test "$supported" = "yes" ; then
   5388 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5389 			found="yes"
   5390 		fi
   5391 	fi
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 xorg_testset_save_CFLAGS="$CFLAGS"
   5408 
   5409 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5410 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5411 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5412 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5413 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5414   $as_echo_n "(cached) " >&6
   5415 else
   5416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5417 /* end confdefs.h.  */
   5418 int i;
   5419 _ACEOF
   5420 if ac_fn_c_try_compile "$LINENO"; then :
   5421   xorg_cv_cc_flag_unknown_warning_option=yes
   5422 else
   5423   xorg_cv_cc_flag_unknown_warning_option=no
   5424 fi
   5425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5426 fi
   5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5428 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5429 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5430 	CFLAGS="$xorg_testset_save_CFLAGS"
   5431 fi
   5432 
   5433 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5434 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5435 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5436 	fi
   5437 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5438 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5439 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5440 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5441   $as_echo_n "(cached) " >&6
   5442 else
   5443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5444 /* end confdefs.h.  */
   5445 int i;
   5446 _ACEOF
   5447 if ac_fn_c_try_compile "$LINENO"; then :
   5448   xorg_cv_cc_flag_unused_command_line_argument=yes
   5449 else
   5450   xorg_cv_cc_flag_unused_command_line_argument=no
   5451 fi
   5452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5453 fi
   5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5455 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5456 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5457 	CFLAGS="$xorg_testset_save_CFLAGS"
   5458 fi
   5459 
   5460 found="no"
   5461 
   5462 	if test $found = "no" ; then
   5463 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5464 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5465 		fi
   5466 
   5467 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5468 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5469 		fi
   5470 
   5471 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5472 
   5473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-prototypes" >&5
   5474 $as_echo_n "checking if $CC supports-Wmissing-prototypes... " >&6; }
   5475 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5476 		if eval \${$cacheid+:} false; then :
   5477   $as_echo_n "(cached) " >&6
   5478 else
   5479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5480 /* end confdefs.h.  */
   5481 int i;
   5482 int
   5483 main ()
   5484 {
   5485 
   5486   ;
   5487   return 0;
   5488 }
   5489 _ACEOF
   5490 if ac_fn_c_try_link "$LINENO"; then :
   5491   eval $cacheid=yes
   5492 else
   5493   eval $cacheid=no
   5494 fi
   5495 rm -f core conftest.err conftest.$ac_objext \
   5496     conftest$ac_exeext conftest.$ac_ext
   5497 fi
   5498 
   5499 
   5500 		CFLAGS="$xorg_testset_save_CFLAGS"
   5501 
   5502 		eval supported=\$$cacheid
   5503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5504 $as_echo "$supported" >&6; }
   5505 		if test "$supported" = "yes" ; then
   5506 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5507 			found="yes"
   5508 		fi
   5509 	fi
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 xorg_testset_save_CFLAGS="$CFLAGS"
   5526 
   5527 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5528 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5530 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5531 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5532   $as_echo_n "(cached) " >&6
   5533 else
   5534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5535 /* end confdefs.h.  */
   5536 int i;
   5537 _ACEOF
   5538 if ac_fn_c_try_compile "$LINENO"; then :
   5539   xorg_cv_cc_flag_unknown_warning_option=yes
   5540 else
   5541   xorg_cv_cc_flag_unknown_warning_option=no
   5542 fi
   5543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5544 fi
   5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5546 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5547 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5548 	CFLAGS="$xorg_testset_save_CFLAGS"
   5549 fi
   5550 
   5551 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5552 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5553 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5554 	fi
   5555 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5556 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5557 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5558 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5559   $as_echo_n "(cached) " >&6
   5560 else
   5561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5562 /* end confdefs.h.  */
   5563 int i;
   5564 _ACEOF
   5565 if ac_fn_c_try_compile "$LINENO"; then :
   5566   xorg_cv_cc_flag_unused_command_line_argument=yes
   5567 else
   5568   xorg_cv_cc_flag_unused_command_line_argument=no
   5569 fi
   5570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5571 fi
   5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5573 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5574 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5575 	CFLAGS="$xorg_testset_save_CFLAGS"
   5576 fi
   5577 
   5578 found="no"
   5579 
   5580 	if test $found = "no" ; then
   5581 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5582 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5583 		fi
   5584 
   5585 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5586 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5587 		fi
   5588 
   5589 		CFLAGS="$CFLAGS -Wnested-externs"
   5590 
   5591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnested-externs" >&5
   5592 $as_echo_n "checking if $CC supports-Wnested-externs... " >&6; }
   5593 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5594 		if eval \${$cacheid+:} false; then :
   5595   $as_echo_n "(cached) " >&6
   5596 else
   5597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5598 /* end confdefs.h.  */
   5599 int i;
   5600 int
   5601 main ()
   5602 {
   5603 
   5604   ;
   5605   return 0;
   5606 }
   5607 _ACEOF
   5608 if ac_fn_c_try_link "$LINENO"; then :
   5609   eval $cacheid=yes
   5610 else
   5611   eval $cacheid=no
   5612 fi
   5613 rm -f core conftest.err conftest.$ac_objext \
   5614     conftest$ac_exeext conftest.$ac_ext
   5615 fi
   5616 
   5617 
   5618 		CFLAGS="$xorg_testset_save_CFLAGS"
   5619 
   5620 		eval supported=\$$cacheid
   5621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5622 $as_echo "$supported" >&6; }
   5623 		if test "$supported" = "yes" ; then
   5624 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5625 			found="yes"
   5626 		fi
   5627 	fi
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 xorg_testset_save_CFLAGS="$CFLAGS"
   5644 
   5645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5647 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5648 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5649 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5650   $as_echo_n "(cached) " >&6
   5651 else
   5652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5653 /* end confdefs.h.  */
   5654 int i;
   5655 _ACEOF
   5656 if ac_fn_c_try_compile "$LINENO"; then :
   5657   xorg_cv_cc_flag_unknown_warning_option=yes
   5658 else
   5659   xorg_cv_cc_flag_unknown_warning_option=no
   5660 fi
   5661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5662 fi
   5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5664 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5665 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5666 	CFLAGS="$xorg_testset_save_CFLAGS"
   5667 fi
   5668 
   5669 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5670 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5671 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5672 	fi
   5673 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5674 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5675 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5676 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5677   $as_echo_n "(cached) " >&6
   5678 else
   5679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5680 /* end confdefs.h.  */
   5681 int i;
   5682 _ACEOF
   5683 if ac_fn_c_try_compile "$LINENO"; then :
   5684   xorg_cv_cc_flag_unused_command_line_argument=yes
   5685 else
   5686   xorg_cv_cc_flag_unused_command_line_argument=no
   5687 fi
   5688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5689 fi
   5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5691 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5692 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5693 	CFLAGS="$xorg_testset_save_CFLAGS"
   5694 fi
   5695 
   5696 found="no"
   5697 
   5698 	if test $found = "no" ; then
   5699 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5701 		fi
   5702 
   5703 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5705 		fi
   5706 
   5707 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5708 
   5709 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wbad-function-cast" >&5
   5710 $as_echo_n "checking if $CC supports-Wbad-function-cast... " >&6; }
   5711 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5712 		if eval \${$cacheid+:} false; then :
   5713   $as_echo_n "(cached) " >&6
   5714 else
   5715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5716 /* end confdefs.h.  */
   5717 int i;
   5718 int
   5719 main ()
   5720 {
   5721 
   5722   ;
   5723   return 0;
   5724 }
   5725 _ACEOF
   5726 if ac_fn_c_try_link "$LINENO"; then :
   5727   eval $cacheid=yes
   5728 else
   5729   eval $cacheid=no
   5730 fi
   5731 rm -f core conftest.err conftest.$ac_objext \
   5732     conftest$ac_exeext conftest.$ac_ext
   5733 fi
   5734 
   5735 
   5736 		CFLAGS="$xorg_testset_save_CFLAGS"
   5737 
   5738 		eval supported=\$$cacheid
   5739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5740 $as_echo "$supported" >&6; }
   5741 		if test "$supported" = "yes" ; then
   5742 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5743 			found="yes"
   5744 		fi
   5745 	fi
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 xorg_testset_save_CFLAGS="$CFLAGS"
   5762 
   5763 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5764 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5765 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5766 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5767 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5768   $as_echo_n "(cached) " >&6
   5769 else
   5770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5771 /* end confdefs.h.  */
   5772 int i;
   5773 _ACEOF
   5774 if ac_fn_c_try_compile "$LINENO"; then :
   5775   xorg_cv_cc_flag_unknown_warning_option=yes
   5776 else
   5777   xorg_cv_cc_flag_unknown_warning_option=no
   5778 fi
   5779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5780 fi
   5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5782 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5783 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5784 	CFLAGS="$xorg_testset_save_CFLAGS"
   5785 fi
   5786 
   5787 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5788 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5789 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5790 	fi
   5791 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5793 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5794 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5795   $as_echo_n "(cached) " >&6
   5796 else
   5797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5798 /* end confdefs.h.  */
   5799 int i;
   5800 _ACEOF
   5801 if ac_fn_c_try_compile "$LINENO"; then :
   5802   xorg_cv_cc_flag_unused_command_line_argument=yes
   5803 else
   5804   xorg_cv_cc_flag_unused_command_line_argument=no
   5805 fi
   5806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5807 fi
   5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5809 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5810 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5811 	CFLAGS="$xorg_testset_save_CFLAGS"
   5812 fi
   5813 
   5814 found="no"
   5815 
   5816 	if test $found = "no" ; then
   5817 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5818 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5819 		fi
   5820 
   5821 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5822 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5823 		fi
   5824 
   5825 		CFLAGS="$CFLAGS -Wold-style-definition"
   5826 
   5827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wold-style-definition" >&5
   5828 $as_echo_n "checking if $CC supports-Wold-style-definition... " >&6; }
   5829 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5830 		if eval \${$cacheid+:} false; then :
   5831   $as_echo_n "(cached) " >&6
   5832 else
   5833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5834 /* end confdefs.h.  */
   5835 int i;
   5836 int
   5837 main ()
   5838 {
   5839 
   5840   ;
   5841   return 0;
   5842 }
   5843 _ACEOF
   5844 if ac_fn_c_try_link "$LINENO"; then :
   5845   eval $cacheid=yes
   5846 else
   5847   eval $cacheid=no
   5848 fi
   5849 rm -f core conftest.err conftest.$ac_objext \
   5850     conftest$ac_exeext conftest.$ac_ext
   5851 fi
   5852 
   5853 
   5854 		CFLAGS="$xorg_testset_save_CFLAGS"
   5855 
   5856 		eval supported=\$$cacheid
   5857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5858 $as_echo "$supported" >&6; }
   5859 		if test "$supported" = "yes" ; then
   5860 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5861 			found="yes"
   5862 		fi
   5863 	fi
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 xorg_testset_save_CFLAGS="$CFLAGS"
   5880 
   5881 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5882 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5884 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5885 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5886   $as_echo_n "(cached) " >&6
   5887 else
   5888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5889 /* end confdefs.h.  */
   5890 int i;
   5891 _ACEOF
   5892 if ac_fn_c_try_compile "$LINENO"; then :
   5893   xorg_cv_cc_flag_unknown_warning_option=yes
   5894 else
   5895   xorg_cv_cc_flag_unknown_warning_option=no
   5896 fi
   5897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5898 fi
   5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5900 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5901 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5902 	CFLAGS="$xorg_testset_save_CFLAGS"
   5903 fi
   5904 
   5905 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5906 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5907 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5908 	fi
   5909 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5910 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5911 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5912 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5913   $as_echo_n "(cached) " >&6
   5914 else
   5915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5916 /* end confdefs.h.  */
   5917 int i;
   5918 _ACEOF
   5919 if ac_fn_c_try_compile "$LINENO"; then :
   5920   xorg_cv_cc_flag_unused_command_line_argument=yes
   5921 else
   5922   xorg_cv_cc_flag_unused_command_line_argument=no
   5923 fi
   5924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5925 fi
   5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5927 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5928 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5929 	CFLAGS="$xorg_testset_save_CFLAGS"
   5930 fi
   5931 
   5932 found="no"
   5933 
   5934 	if test $found = "no" ; then
   5935 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5936 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5937 		fi
   5938 
   5939 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5940 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5941 		fi
   5942 
   5943 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5944 
   5945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wdeclaration-after-statement" >&5
   5946 $as_echo_n "checking if $CC supports-Wdeclaration-after-statement... " >&6; }
   5947 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5948 		if eval \${$cacheid+:} false; then :
   5949   $as_echo_n "(cached) " >&6
   5950 else
   5951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5952 /* end confdefs.h.  */
   5953 int i;
   5954 int
   5955 main ()
   5956 {
   5957 
   5958   ;
   5959   return 0;
   5960 }
   5961 _ACEOF
   5962 if ac_fn_c_try_link "$LINENO"; then :
   5963   eval $cacheid=yes
   5964 else
   5965   eval $cacheid=no
   5966 fi
   5967 rm -f core conftest.err conftest.$ac_objext \
   5968     conftest$ac_exeext conftest.$ac_ext
   5969 fi
   5970 
   5971 
   5972 		CFLAGS="$xorg_testset_save_CFLAGS"
   5973 
   5974 		eval supported=\$$cacheid
   5975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5976 $as_echo "$supported" >&6; }
   5977 		if test "$supported" = "yes" ; then
   5978 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5979 			found="yes"
   5980 		fi
   5981 	fi
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 # This chunk adds additional warnings that could catch undesired effects.
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 xorg_testset_save_CFLAGS="$CFLAGS"
   6002 
   6003 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6004 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6005 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6006 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6007 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6008   $as_echo_n "(cached) " >&6
   6009 else
   6010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6011 /* end confdefs.h.  */
   6012 int i;
   6013 _ACEOF
   6014 if ac_fn_c_try_compile "$LINENO"; then :
   6015   xorg_cv_cc_flag_unknown_warning_option=yes
   6016 else
   6017   xorg_cv_cc_flag_unknown_warning_option=no
   6018 fi
   6019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6020 fi
   6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6022 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6023 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6024 	CFLAGS="$xorg_testset_save_CFLAGS"
   6025 fi
   6026 
   6027 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6028 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6029 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6030 	fi
   6031 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6033 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6034 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6035   $as_echo_n "(cached) " >&6
   6036 else
   6037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6038 /* end confdefs.h.  */
   6039 int i;
   6040 _ACEOF
   6041 if ac_fn_c_try_compile "$LINENO"; then :
   6042   xorg_cv_cc_flag_unused_command_line_argument=yes
   6043 else
   6044   xorg_cv_cc_flag_unused_command_line_argument=no
   6045 fi
   6046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6047 fi
   6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6049 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6051 	CFLAGS="$xorg_testset_save_CFLAGS"
   6052 fi
   6053 
   6054 found="no"
   6055 
   6056 	if test $found = "no" ; then
   6057 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6059 		fi
   6060 
   6061 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6063 		fi
   6064 
   6065 		CFLAGS="$CFLAGS -Wunused"
   6066 
   6067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wunused" >&5
   6068 $as_echo_n "checking if $CC supports-Wunused... " >&6; }
   6069 		cacheid=xorg_cv_cc_flag__Wunused
   6070 		if eval \${$cacheid+:} false; then :
   6071   $as_echo_n "(cached) " >&6
   6072 else
   6073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6074 /* end confdefs.h.  */
   6075 int i;
   6076 int
   6077 main ()
   6078 {
   6079 
   6080   ;
   6081   return 0;
   6082 }
   6083 _ACEOF
   6084 if ac_fn_c_try_link "$LINENO"; then :
   6085   eval $cacheid=yes
   6086 else
   6087   eval $cacheid=no
   6088 fi
   6089 rm -f core conftest.err conftest.$ac_objext \
   6090     conftest$ac_exeext conftest.$ac_ext
   6091 fi
   6092 
   6093 
   6094 		CFLAGS="$xorg_testset_save_CFLAGS"
   6095 
   6096 		eval supported=\$$cacheid
   6097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6098 $as_echo "$supported" >&6; }
   6099 		if test "$supported" = "yes" ; then
   6100 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6101 			found="yes"
   6102 		fi
   6103 	fi
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 xorg_testset_save_CFLAGS="$CFLAGS"
   6120 
   6121 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6122 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6124 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6125 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6126   $as_echo_n "(cached) " >&6
   6127 else
   6128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6129 /* end confdefs.h.  */
   6130 int i;
   6131 _ACEOF
   6132 if ac_fn_c_try_compile "$LINENO"; then :
   6133   xorg_cv_cc_flag_unknown_warning_option=yes
   6134 else
   6135   xorg_cv_cc_flag_unknown_warning_option=no
   6136 fi
   6137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6138 fi
   6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6140 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6142 	CFLAGS="$xorg_testset_save_CFLAGS"
   6143 fi
   6144 
   6145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6148 	fi
   6149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6151 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6152 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6153   $as_echo_n "(cached) " >&6
   6154 else
   6155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6156 /* end confdefs.h.  */
   6157 int i;
   6158 _ACEOF
   6159 if ac_fn_c_try_compile "$LINENO"; then :
   6160   xorg_cv_cc_flag_unused_command_line_argument=yes
   6161 else
   6162   xorg_cv_cc_flag_unused_command_line_argument=no
   6163 fi
   6164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6165 fi
   6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6167 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6168 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6169 	CFLAGS="$xorg_testset_save_CFLAGS"
   6170 fi
   6171 
   6172 found="no"
   6173 
   6174 	if test $found = "no" ; then
   6175 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6176 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6177 		fi
   6178 
   6179 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6180 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6181 		fi
   6182 
   6183 		CFLAGS="$CFLAGS -Wuninitialized"
   6184 
   6185 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wuninitialized" >&5
   6186 $as_echo_n "checking if $CC supports-Wuninitialized... " >&6; }
   6187 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6188 		if eval \${$cacheid+:} false; then :
   6189   $as_echo_n "(cached) " >&6
   6190 else
   6191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6192 /* end confdefs.h.  */
   6193 int i;
   6194 int
   6195 main ()
   6196 {
   6197 
   6198   ;
   6199   return 0;
   6200 }
   6201 _ACEOF
   6202 if ac_fn_c_try_link "$LINENO"; then :
   6203   eval $cacheid=yes
   6204 else
   6205   eval $cacheid=no
   6206 fi
   6207 rm -f core conftest.err conftest.$ac_objext \
   6208     conftest$ac_exeext conftest.$ac_ext
   6209 fi
   6210 
   6211 
   6212 		CFLAGS="$xorg_testset_save_CFLAGS"
   6213 
   6214 		eval supported=\$$cacheid
   6215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6216 $as_echo "$supported" >&6; }
   6217 		if test "$supported" = "yes" ; then
   6218 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6219 			found="yes"
   6220 		fi
   6221 	fi
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 xorg_testset_save_CFLAGS="$CFLAGS"
   6238 
   6239 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6240 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6241 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6242 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6243 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6244   $as_echo_n "(cached) " >&6
   6245 else
   6246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6247 /* end confdefs.h.  */
   6248 int i;
   6249 _ACEOF
   6250 if ac_fn_c_try_compile "$LINENO"; then :
   6251   xorg_cv_cc_flag_unknown_warning_option=yes
   6252 else
   6253   xorg_cv_cc_flag_unknown_warning_option=no
   6254 fi
   6255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6256 fi
   6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6258 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6259 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6260 	CFLAGS="$xorg_testset_save_CFLAGS"
   6261 fi
   6262 
   6263 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6264 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6265 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6266 	fi
   6267 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6269 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6270 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6271   $as_echo_n "(cached) " >&6
   6272 else
   6273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6274 /* end confdefs.h.  */
   6275 int i;
   6276 _ACEOF
   6277 if ac_fn_c_try_compile "$LINENO"; then :
   6278   xorg_cv_cc_flag_unused_command_line_argument=yes
   6279 else
   6280   xorg_cv_cc_flag_unused_command_line_argument=no
   6281 fi
   6282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6283 fi
   6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6285 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6286 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6287 	CFLAGS="$xorg_testset_save_CFLAGS"
   6288 fi
   6289 
   6290 found="no"
   6291 
   6292 	if test $found = "no" ; then
   6293 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6294 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6295 		fi
   6296 
   6297 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6298 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6299 		fi
   6300 
   6301 		CFLAGS="$CFLAGS -Wshadow"
   6302 
   6303 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wshadow" >&5
   6304 $as_echo_n "checking if $CC supports-Wshadow... " >&6; }
   6305 		cacheid=xorg_cv_cc_flag__Wshadow
   6306 		if eval \${$cacheid+:} false; then :
   6307   $as_echo_n "(cached) " >&6
   6308 else
   6309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6310 /* end confdefs.h.  */
   6311 int i;
   6312 int
   6313 main ()
   6314 {
   6315 
   6316   ;
   6317   return 0;
   6318 }
   6319 _ACEOF
   6320 if ac_fn_c_try_link "$LINENO"; then :
   6321   eval $cacheid=yes
   6322 else
   6323   eval $cacheid=no
   6324 fi
   6325 rm -f core conftest.err conftest.$ac_objext \
   6326     conftest$ac_exeext conftest.$ac_ext
   6327 fi
   6328 
   6329 
   6330 		CFLAGS="$xorg_testset_save_CFLAGS"
   6331 
   6332 		eval supported=\$$cacheid
   6333 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6334 $as_echo "$supported" >&6; }
   6335 		if test "$supported" = "yes" ; then
   6336 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6337 			found="yes"
   6338 		fi
   6339 	fi
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 xorg_testset_save_CFLAGS="$CFLAGS"
   6356 
   6357 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6358 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6360 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6361 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6362   $as_echo_n "(cached) " >&6
   6363 else
   6364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6365 /* end confdefs.h.  */
   6366 int i;
   6367 _ACEOF
   6368 if ac_fn_c_try_compile "$LINENO"; then :
   6369   xorg_cv_cc_flag_unknown_warning_option=yes
   6370 else
   6371   xorg_cv_cc_flag_unknown_warning_option=no
   6372 fi
   6373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6374 fi
   6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6376 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6377 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6378 	CFLAGS="$xorg_testset_save_CFLAGS"
   6379 fi
   6380 
   6381 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6382 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6383 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6384 	fi
   6385 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6386 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6387 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6388 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6389   $as_echo_n "(cached) " >&6
   6390 else
   6391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6392 /* end confdefs.h.  */
   6393 int i;
   6394 _ACEOF
   6395 if ac_fn_c_try_compile "$LINENO"; then :
   6396   xorg_cv_cc_flag_unused_command_line_argument=yes
   6397 else
   6398   xorg_cv_cc_flag_unused_command_line_argument=no
   6399 fi
   6400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6401 fi
   6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6403 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6404 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6405 	CFLAGS="$xorg_testset_save_CFLAGS"
   6406 fi
   6407 
   6408 found="no"
   6409 
   6410 	if test $found = "no" ; then
   6411 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6412 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6413 		fi
   6414 
   6415 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6416 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6417 		fi
   6418 
   6419 		CFLAGS="$CFLAGS -Wcast-qual"
   6420 
   6421 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wcast-qual" >&5
   6422 $as_echo_n "checking if $CC supports-Wcast-qual... " >&6; }
   6423 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6424 		if eval \${$cacheid+:} false; then :
   6425   $as_echo_n "(cached) " >&6
   6426 else
   6427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6428 /* end confdefs.h.  */
   6429 int i;
   6430 int
   6431 main ()
   6432 {
   6433 
   6434   ;
   6435   return 0;
   6436 }
   6437 _ACEOF
   6438 if ac_fn_c_try_link "$LINENO"; then :
   6439   eval $cacheid=yes
   6440 else
   6441   eval $cacheid=no
   6442 fi
   6443 rm -f core conftest.err conftest.$ac_objext \
   6444     conftest$ac_exeext conftest.$ac_ext
   6445 fi
   6446 
   6447 
   6448 		CFLAGS="$xorg_testset_save_CFLAGS"
   6449 
   6450 		eval supported=\$$cacheid
   6451 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6452 $as_echo "$supported" >&6; }
   6453 		if test "$supported" = "yes" ; then
   6454 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6455 			found="yes"
   6456 		fi
   6457 	fi
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 xorg_testset_save_CFLAGS="$CFLAGS"
   6474 
   6475 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6476 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6478 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6479 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6480   $as_echo_n "(cached) " >&6
   6481 else
   6482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6483 /* end confdefs.h.  */
   6484 int i;
   6485 _ACEOF
   6486 if ac_fn_c_try_compile "$LINENO"; then :
   6487   xorg_cv_cc_flag_unknown_warning_option=yes
   6488 else
   6489   xorg_cv_cc_flag_unknown_warning_option=no
   6490 fi
   6491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6492 fi
   6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6494 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6495 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6496 	CFLAGS="$xorg_testset_save_CFLAGS"
   6497 fi
   6498 
   6499 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6500 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6501 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6502 	fi
   6503 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6505 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6506 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6507   $as_echo_n "(cached) " >&6
   6508 else
   6509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6510 /* end confdefs.h.  */
   6511 int i;
   6512 _ACEOF
   6513 if ac_fn_c_try_compile "$LINENO"; then :
   6514   xorg_cv_cc_flag_unused_command_line_argument=yes
   6515 else
   6516   xorg_cv_cc_flag_unused_command_line_argument=no
   6517 fi
   6518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6519 fi
   6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6521 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6523 	CFLAGS="$xorg_testset_save_CFLAGS"
   6524 fi
   6525 
   6526 found="no"
   6527 
   6528 	if test $found = "no" ; then
   6529 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6531 		fi
   6532 
   6533 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6535 		fi
   6536 
   6537 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6538 
   6539 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-noreturn" >&5
   6540 $as_echo_n "checking if $CC supports-Wmissing-noreturn... " >&6; }
   6541 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6542 		if eval \${$cacheid+:} false; then :
   6543   $as_echo_n "(cached) " >&6
   6544 else
   6545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6546 /* end confdefs.h.  */
   6547 int i;
   6548 int
   6549 main ()
   6550 {
   6551 
   6552   ;
   6553   return 0;
   6554 }
   6555 _ACEOF
   6556 if ac_fn_c_try_link "$LINENO"; then :
   6557   eval $cacheid=yes
   6558 else
   6559   eval $cacheid=no
   6560 fi
   6561 rm -f core conftest.err conftest.$ac_objext \
   6562     conftest$ac_exeext conftest.$ac_ext
   6563 fi
   6564 
   6565 
   6566 		CFLAGS="$xorg_testset_save_CFLAGS"
   6567 
   6568 		eval supported=\$$cacheid
   6569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6570 $as_echo "$supported" >&6; }
   6571 		if test "$supported" = "yes" ; then
   6572 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6573 			found="yes"
   6574 		fi
   6575 	fi
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 xorg_testset_save_CFLAGS="$CFLAGS"
   6592 
   6593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6595 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6596 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6597 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6598   $as_echo_n "(cached) " >&6
   6599 else
   6600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6601 /* end confdefs.h.  */
   6602 int i;
   6603 _ACEOF
   6604 if ac_fn_c_try_compile "$LINENO"; then :
   6605   xorg_cv_cc_flag_unknown_warning_option=yes
   6606 else
   6607   xorg_cv_cc_flag_unknown_warning_option=no
   6608 fi
   6609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6610 fi
   6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6612 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6613 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6614 	CFLAGS="$xorg_testset_save_CFLAGS"
   6615 fi
   6616 
   6617 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6618 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6619 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6620 	fi
   6621 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6623 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6624 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6625   $as_echo_n "(cached) " >&6
   6626 else
   6627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6628 /* end confdefs.h.  */
   6629 int i;
   6630 _ACEOF
   6631 if ac_fn_c_try_compile "$LINENO"; then :
   6632   xorg_cv_cc_flag_unused_command_line_argument=yes
   6633 else
   6634   xorg_cv_cc_flag_unused_command_line_argument=no
   6635 fi
   6636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6637 fi
   6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6639 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6640 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6641 	CFLAGS="$xorg_testset_save_CFLAGS"
   6642 fi
   6643 
   6644 found="no"
   6645 
   6646 	if test $found = "no" ; then
   6647 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6648 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6649 		fi
   6650 
   6651 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6652 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6653 		fi
   6654 
   6655 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6656 
   6657 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-format-attribute" >&5
   6658 $as_echo_n "checking if $CC supports-Wmissing-format-attribute... " >&6; }
   6659 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6660 		if eval \${$cacheid+:} false; then :
   6661   $as_echo_n "(cached) " >&6
   6662 else
   6663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6664 /* end confdefs.h.  */
   6665 int i;
   6666 int
   6667 main ()
   6668 {
   6669 
   6670   ;
   6671   return 0;
   6672 }
   6673 _ACEOF
   6674 if ac_fn_c_try_link "$LINENO"; then :
   6675   eval $cacheid=yes
   6676 else
   6677   eval $cacheid=no
   6678 fi
   6679 rm -f core conftest.err conftest.$ac_objext \
   6680     conftest$ac_exeext conftest.$ac_ext
   6681 fi
   6682 
   6683 
   6684 		CFLAGS="$xorg_testset_save_CFLAGS"
   6685 
   6686 		eval supported=\$$cacheid
   6687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6688 $as_echo "$supported" >&6; }
   6689 		if test "$supported" = "yes" ; then
   6690 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6691 			found="yes"
   6692 		fi
   6693 	fi
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 xorg_testset_save_CFLAGS="$CFLAGS"
   6710 
   6711 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6712 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6714 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6715 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6716   $as_echo_n "(cached) " >&6
   6717 else
   6718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6719 /* end confdefs.h.  */
   6720 int i;
   6721 _ACEOF
   6722 if ac_fn_c_try_compile "$LINENO"; then :
   6723   xorg_cv_cc_flag_unknown_warning_option=yes
   6724 else
   6725   xorg_cv_cc_flag_unknown_warning_option=no
   6726 fi
   6727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6728 fi
   6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6730 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6732 	CFLAGS="$xorg_testset_save_CFLAGS"
   6733 fi
   6734 
   6735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6738 	fi
   6739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6741 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6742 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6743   $as_echo_n "(cached) " >&6
   6744 else
   6745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6746 /* end confdefs.h.  */
   6747 int i;
   6748 _ACEOF
   6749 if ac_fn_c_try_compile "$LINENO"; then :
   6750   xorg_cv_cc_flag_unused_command_line_argument=yes
   6751 else
   6752   xorg_cv_cc_flag_unused_command_line_argument=no
   6753 fi
   6754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6755 fi
   6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6757 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6759 	CFLAGS="$xorg_testset_save_CFLAGS"
   6760 fi
   6761 
   6762 found="no"
   6763 
   6764 	if test $found = "no" ; then
   6765 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6767 		fi
   6768 
   6769 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6771 		fi
   6772 
   6773 		CFLAGS="$CFLAGS -Wredundant-decls"
   6774 
   6775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wredundant-decls" >&5
   6776 $as_echo_n "checking if $CC supports-Wredundant-decls... " >&6; }
   6777 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6778 		if eval \${$cacheid+:} false; then :
   6779   $as_echo_n "(cached) " >&6
   6780 else
   6781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6782 /* end confdefs.h.  */
   6783 int i;
   6784 int
   6785 main ()
   6786 {
   6787 
   6788   ;
   6789   return 0;
   6790 }
   6791 _ACEOF
   6792 if ac_fn_c_try_link "$LINENO"; then :
   6793   eval $cacheid=yes
   6794 else
   6795   eval $cacheid=no
   6796 fi
   6797 rm -f core conftest.err conftest.$ac_objext \
   6798     conftest$ac_exeext conftest.$ac_ext
   6799 fi
   6800 
   6801 
   6802 		CFLAGS="$xorg_testset_save_CFLAGS"
   6803 
   6804 		eval supported=\$$cacheid
   6805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6806 $as_echo "$supported" >&6; }
   6807 		if test "$supported" = "yes" ; then
   6808 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6809 			found="yes"
   6810 		fi
   6811 	fi
   6812 
   6813 
   6814 
   6815 # These are currently disabled because they are noisy.  They will be enabled
   6816 # in the future once the codebase is sufficiently modernized to silence
   6817 # them.  For now, I don't want them to drown out the other warnings.
   6818 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6819 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6820 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6821 
   6822 # Turn some warnings into errors, so we don't accidently get successful builds
   6823 # when there are problems that should be fixed.
   6824 
   6825 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 xorg_testset_save_CFLAGS="$CFLAGS"
   6840 
   6841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6844 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6845 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6846   $as_echo_n "(cached) " >&6
   6847 else
   6848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6849 /* end confdefs.h.  */
   6850 int i;
   6851 _ACEOF
   6852 if ac_fn_c_try_compile "$LINENO"; then :
   6853   xorg_cv_cc_flag_unknown_warning_option=yes
   6854 else
   6855   xorg_cv_cc_flag_unknown_warning_option=no
   6856 fi
   6857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6858 fi
   6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6860 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6861 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6862 	CFLAGS="$xorg_testset_save_CFLAGS"
   6863 fi
   6864 
   6865 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6866 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6867 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6868 	fi
   6869 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6871 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6872 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6873   $as_echo_n "(cached) " >&6
   6874 else
   6875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6876 /* end confdefs.h.  */
   6877 int i;
   6878 _ACEOF
   6879 if ac_fn_c_try_compile "$LINENO"; then :
   6880   xorg_cv_cc_flag_unused_command_line_argument=yes
   6881 else
   6882   xorg_cv_cc_flag_unused_command_line_argument=no
   6883 fi
   6884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6885 fi
   6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6887 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6888 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6889 	CFLAGS="$xorg_testset_save_CFLAGS"
   6890 fi
   6891 
   6892 found="no"
   6893 
   6894 	if test $found = "no" ; then
   6895 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6897 		fi
   6898 
   6899 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6901 		fi
   6902 
   6903 		CFLAGS="$CFLAGS -Werror=implicit"
   6904 
   6905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=implicit" >&5
   6906 $as_echo_n "checking if $CC supports-Werror=implicit... " >&6; }
   6907 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6908 		if eval \${$cacheid+:} false; then :
   6909   $as_echo_n "(cached) " >&6
   6910 else
   6911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6912 /* end confdefs.h.  */
   6913 int i;
   6914 int
   6915 main ()
   6916 {
   6917 
   6918   ;
   6919   return 0;
   6920 }
   6921 _ACEOF
   6922 if ac_fn_c_try_link "$LINENO"; then :
   6923   eval $cacheid=yes
   6924 else
   6925   eval $cacheid=no
   6926 fi
   6927 rm -f core conftest.err conftest.$ac_objext \
   6928     conftest$ac_exeext conftest.$ac_ext
   6929 fi
   6930 
   6931 
   6932 		CFLAGS="$xorg_testset_save_CFLAGS"
   6933 
   6934 		eval supported=\$$cacheid
   6935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6936 $as_echo "$supported" >&6; }
   6937 		if test "$supported" = "yes" ; then
   6938 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6939 			found="yes"
   6940 		fi
   6941 	fi
   6942 
   6943 	if test $found = "no" ; then
   6944 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6946 		fi
   6947 
   6948 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6950 		fi
   6951 
   6952 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6953 
   6954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6955 $as_echo_n "checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6956 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6957 		if eval \${$cacheid+:} false; then :
   6958   $as_echo_n "(cached) " >&6
   6959 else
   6960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6961 /* end confdefs.h.  */
   6962 int i;
   6963 int
   6964 main ()
   6965 {
   6966 
   6967   ;
   6968   return 0;
   6969 }
   6970 _ACEOF
   6971 if ac_fn_c_try_link "$LINENO"; then :
   6972   eval $cacheid=yes
   6973 else
   6974   eval $cacheid=no
   6975 fi
   6976 rm -f core conftest.err conftest.$ac_objext \
   6977     conftest$ac_exeext conftest.$ac_ext
   6978 fi
   6979 
   6980 
   6981 		CFLAGS="$xorg_testset_save_CFLAGS"
   6982 
   6983 		eval supported=\$$cacheid
   6984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6985 $as_echo "$supported" >&6; }
   6986 		if test "$supported" = "yes" ; then
   6987 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6988 			found="yes"
   6989 		fi
   6990 	fi
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 xorg_testset_save_CFLAGS="$CFLAGS"
   7007 
   7008 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7009 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7010 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7011 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7012 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7013   $as_echo_n "(cached) " >&6
   7014 else
   7015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7016 /* end confdefs.h.  */
   7017 int i;
   7018 _ACEOF
   7019 if ac_fn_c_try_compile "$LINENO"; then :
   7020   xorg_cv_cc_flag_unknown_warning_option=yes
   7021 else
   7022   xorg_cv_cc_flag_unknown_warning_option=no
   7023 fi
   7024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7025 fi
   7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7027 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7028 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7029 	CFLAGS="$xorg_testset_save_CFLAGS"
   7030 fi
   7031 
   7032 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7033 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7034 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7035 	fi
   7036 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7038 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7039 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7040   $as_echo_n "(cached) " >&6
   7041 else
   7042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7043 /* end confdefs.h.  */
   7044 int i;
   7045 _ACEOF
   7046 if ac_fn_c_try_compile "$LINENO"; then :
   7047   xorg_cv_cc_flag_unused_command_line_argument=yes
   7048 else
   7049   xorg_cv_cc_flag_unused_command_line_argument=no
   7050 fi
   7051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7052 fi
   7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7054 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7055 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7056 	CFLAGS="$xorg_testset_save_CFLAGS"
   7057 fi
   7058 
   7059 found="no"
   7060 
   7061 	if test $found = "no" ; then
   7062 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7063 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7064 		fi
   7065 
   7066 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7067 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7068 		fi
   7069 
   7070 		CFLAGS="$CFLAGS -Werror=nonnull"
   7071 
   7072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=nonnull" >&5
   7073 $as_echo_n "checking if $CC supports-Werror=nonnull... " >&6; }
   7074 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7075 		if eval \${$cacheid+:} false; then :
   7076   $as_echo_n "(cached) " >&6
   7077 else
   7078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7079 /* end confdefs.h.  */
   7080 int i;
   7081 int
   7082 main ()
   7083 {
   7084 
   7085   ;
   7086   return 0;
   7087 }
   7088 _ACEOF
   7089 if ac_fn_c_try_link "$LINENO"; then :
   7090   eval $cacheid=yes
   7091 else
   7092   eval $cacheid=no
   7093 fi
   7094 rm -f core conftest.err conftest.$ac_objext \
   7095     conftest$ac_exeext conftest.$ac_ext
   7096 fi
   7097 
   7098 
   7099 		CFLAGS="$xorg_testset_save_CFLAGS"
   7100 
   7101 		eval supported=\$$cacheid
   7102 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7103 $as_echo "$supported" >&6; }
   7104 		if test "$supported" = "yes" ; then
   7105 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7106 			found="yes"
   7107 		fi
   7108 	fi
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 xorg_testset_save_CFLAGS="$CFLAGS"
   7125 
   7126 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7127 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7129 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7130 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7131   $as_echo_n "(cached) " >&6
   7132 else
   7133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7134 /* end confdefs.h.  */
   7135 int i;
   7136 _ACEOF
   7137 if ac_fn_c_try_compile "$LINENO"; then :
   7138   xorg_cv_cc_flag_unknown_warning_option=yes
   7139 else
   7140   xorg_cv_cc_flag_unknown_warning_option=no
   7141 fi
   7142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7143 fi
   7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7145 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7146 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7147 	CFLAGS="$xorg_testset_save_CFLAGS"
   7148 fi
   7149 
   7150 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7151 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7152 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7153 	fi
   7154 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7156 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7157 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7158   $as_echo_n "(cached) " >&6
   7159 else
   7160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7161 /* end confdefs.h.  */
   7162 int i;
   7163 _ACEOF
   7164 if ac_fn_c_try_compile "$LINENO"; then :
   7165   xorg_cv_cc_flag_unused_command_line_argument=yes
   7166 else
   7167   xorg_cv_cc_flag_unused_command_line_argument=no
   7168 fi
   7169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7170 fi
   7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7172 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7173 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7174 	CFLAGS="$xorg_testset_save_CFLAGS"
   7175 fi
   7176 
   7177 found="no"
   7178 
   7179 	if test $found = "no" ; then
   7180 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7181 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7182 		fi
   7183 
   7184 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7185 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7186 		fi
   7187 
   7188 		CFLAGS="$CFLAGS -Werror=init-self"
   7189 
   7190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=init-self" >&5
   7191 $as_echo_n "checking if $CC supports-Werror=init-self... " >&6; }
   7192 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7193 		if eval \${$cacheid+:} false; then :
   7194   $as_echo_n "(cached) " >&6
   7195 else
   7196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7197 /* end confdefs.h.  */
   7198 int i;
   7199 int
   7200 main ()
   7201 {
   7202 
   7203   ;
   7204   return 0;
   7205 }
   7206 _ACEOF
   7207 if ac_fn_c_try_link "$LINENO"; then :
   7208   eval $cacheid=yes
   7209 else
   7210   eval $cacheid=no
   7211 fi
   7212 rm -f core conftest.err conftest.$ac_objext \
   7213     conftest$ac_exeext conftest.$ac_ext
   7214 fi
   7215 
   7216 
   7217 		CFLAGS="$xorg_testset_save_CFLAGS"
   7218 
   7219 		eval supported=\$$cacheid
   7220 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7221 $as_echo "$supported" >&6; }
   7222 		if test "$supported" = "yes" ; then
   7223 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7224 			found="yes"
   7225 		fi
   7226 	fi
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 xorg_testset_save_CFLAGS="$CFLAGS"
   7243 
   7244 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7245 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7247 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7248 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7249   $as_echo_n "(cached) " >&6
   7250 else
   7251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7252 /* end confdefs.h.  */
   7253 int i;
   7254 _ACEOF
   7255 if ac_fn_c_try_compile "$LINENO"; then :
   7256   xorg_cv_cc_flag_unknown_warning_option=yes
   7257 else
   7258   xorg_cv_cc_flag_unknown_warning_option=no
   7259 fi
   7260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7261 fi
   7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7263 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7264 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7265 	CFLAGS="$xorg_testset_save_CFLAGS"
   7266 fi
   7267 
   7268 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7269 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7270 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7271 	fi
   7272 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7274 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7275 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7276   $as_echo_n "(cached) " >&6
   7277 else
   7278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7279 /* end confdefs.h.  */
   7280 int i;
   7281 _ACEOF
   7282 if ac_fn_c_try_compile "$LINENO"; then :
   7283   xorg_cv_cc_flag_unused_command_line_argument=yes
   7284 else
   7285   xorg_cv_cc_flag_unused_command_line_argument=no
   7286 fi
   7287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7288 fi
   7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7290 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7291 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7292 	CFLAGS="$xorg_testset_save_CFLAGS"
   7293 fi
   7294 
   7295 found="no"
   7296 
   7297 	if test $found = "no" ; then
   7298 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7300 		fi
   7301 
   7302 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7304 		fi
   7305 
   7306 		CFLAGS="$CFLAGS -Werror=main"
   7307 
   7308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=main" >&5
   7309 $as_echo_n "checking if $CC supports-Werror=main... " >&6; }
   7310 		cacheid=xorg_cv_cc_flag__Werror_main
   7311 		if eval \${$cacheid+:} false; then :
   7312   $as_echo_n "(cached) " >&6
   7313 else
   7314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7315 /* end confdefs.h.  */
   7316 int i;
   7317 int
   7318 main ()
   7319 {
   7320 
   7321   ;
   7322   return 0;
   7323 }
   7324 _ACEOF
   7325 if ac_fn_c_try_link "$LINENO"; then :
   7326   eval $cacheid=yes
   7327 else
   7328   eval $cacheid=no
   7329 fi
   7330 rm -f core conftest.err conftest.$ac_objext \
   7331     conftest$ac_exeext conftest.$ac_ext
   7332 fi
   7333 
   7334 
   7335 		CFLAGS="$xorg_testset_save_CFLAGS"
   7336 
   7337 		eval supported=\$$cacheid
   7338 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7339 $as_echo "$supported" >&6; }
   7340 		if test "$supported" = "yes" ; then
   7341 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7342 			found="yes"
   7343 		fi
   7344 	fi
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 xorg_testset_save_CFLAGS="$CFLAGS"
   7361 
   7362 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7363 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7364 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7365 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7366 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7367   $as_echo_n "(cached) " >&6
   7368 else
   7369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7370 /* end confdefs.h.  */
   7371 int i;
   7372 _ACEOF
   7373 if ac_fn_c_try_compile "$LINENO"; then :
   7374   xorg_cv_cc_flag_unknown_warning_option=yes
   7375 else
   7376   xorg_cv_cc_flag_unknown_warning_option=no
   7377 fi
   7378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7379 fi
   7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7381 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7382 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7383 	CFLAGS="$xorg_testset_save_CFLAGS"
   7384 fi
   7385 
   7386 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7387 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7388 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7389 	fi
   7390 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7391 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7392 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7393 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7394   $as_echo_n "(cached) " >&6
   7395 else
   7396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7397 /* end confdefs.h.  */
   7398 int i;
   7399 _ACEOF
   7400 if ac_fn_c_try_compile "$LINENO"; then :
   7401   xorg_cv_cc_flag_unused_command_line_argument=yes
   7402 else
   7403   xorg_cv_cc_flag_unused_command_line_argument=no
   7404 fi
   7405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7406 fi
   7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7408 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7409 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7410 	CFLAGS="$xorg_testset_save_CFLAGS"
   7411 fi
   7412 
   7413 found="no"
   7414 
   7415 	if test $found = "no" ; then
   7416 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7417 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7418 		fi
   7419 
   7420 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7421 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7422 		fi
   7423 
   7424 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7425 
   7426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=missing-braces" >&5
   7427 $as_echo_n "checking if $CC supports-Werror=missing-braces... " >&6; }
   7428 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7429 		if eval \${$cacheid+:} false; then :
   7430   $as_echo_n "(cached) " >&6
   7431 else
   7432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7433 /* end confdefs.h.  */
   7434 int i;
   7435 int
   7436 main ()
   7437 {
   7438 
   7439   ;
   7440   return 0;
   7441 }
   7442 _ACEOF
   7443 if ac_fn_c_try_link "$LINENO"; then :
   7444   eval $cacheid=yes
   7445 else
   7446   eval $cacheid=no
   7447 fi
   7448 rm -f core conftest.err conftest.$ac_objext \
   7449     conftest$ac_exeext conftest.$ac_ext
   7450 fi
   7451 
   7452 
   7453 		CFLAGS="$xorg_testset_save_CFLAGS"
   7454 
   7455 		eval supported=\$$cacheid
   7456 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7457 $as_echo "$supported" >&6; }
   7458 		if test "$supported" = "yes" ; then
   7459 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7460 			found="yes"
   7461 		fi
   7462 	fi
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 xorg_testset_save_CFLAGS="$CFLAGS"
   7479 
   7480 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7481 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7483 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7484 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7485   $as_echo_n "(cached) " >&6
   7486 else
   7487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7488 /* end confdefs.h.  */
   7489 int i;
   7490 _ACEOF
   7491 if ac_fn_c_try_compile "$LINENO"; then :
   7492   xorg_cv_cc_flag_unknown_warning_option=yes
   7493 else
   7494   xorg_cv_cc_flag_unknown_warning_option=no
   7495 fi
   7496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7497 fi
   7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7499 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7500 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7501 	CFLAGS="$xorg_testset_save_CFLAGS"
   7502 fi
   7503 
   7504 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7505 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7506 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7507 	fi
   7508 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7509 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7510 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7511 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7512   $as_echo_n "(cached) " >&6
   7513 else
   7514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7515 /* end confdefs.h.  */
   7516 int i;
   7517 _ACEOF
   7518 if ac_fn_c_try_compile "$LINENO"; then :
   7519   xorg_cv_cc_flag_unused_command_line_argument=yes
   7520 else
   7521   xorg_cv_cc_flag_unused_command_line_argument=no
   7522 fi
   7523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7524 fi
   7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7526 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7527 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7528 	CFLAGS="$xorg_testset_save_CFLAGS"
   7529 fi
   7530 
   7531 found="no"
   7532 
   7533 	if test $found = "no" ; then
   7534 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7536 		fi
   7537 
   7538 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7540 		fi
   7541 
   7542 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7543 
   7544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=sequence-point" >&5
   7545 $as_echo_n "checking if $CC supports-Werror=sequence-point... " >&6; }
   7546 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7547 		if eval \${$cacheid+:} false; then :
   7548   $as_echo_n "(cached) " >&6
   7549 else
   7550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7551 /* end confdefs.h.  */
   7552 int i;
   7553 int
   7554 main ()
   7555 {
   7556 
   7557   ;
   7558   return 0;
   7559 }
   7560 _ACEOF
   7561 if ac_fn_c_try_link "$LINENO"; then :
   7562   eval $cacheid=yes
   7563 else
   7564   eval $cacheid=no
   7565 fi
   7566 rm -f core conftest.err conftest.$ac_objext \
   7567     conftest$ac_exeext conftest.$ac_ext
   7568 fi
   7569 
   7570 
   7571 		CFLAGS="$xorg_testset_save_CFLAGS"
   7572 
   7573 		eval supported=\$$cacheid
   7574 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7575 $as_echo "$supported" >&6; }
   7576 		if test "$supported" = "yes" ; then
   7577 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7578 			found="yes"
   7579 		fi
   7580 	fi
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 xorg_testset_save_CFLAGS="$CFLAGS"
   7597 
   7598 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7599 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7601 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7602 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7603   $as_echo_n "(cached) " >&6
   7604 else
   7605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7606 /* end confdefs.h.  */
   7607 int i;
   7608 _ACEOF
   7609 if ac_fn_c_try_compile "$LINENO"; then :
   7610   xorg_cv_cc_flag_unknown_warning_option=yes
   7611 else
   7612   xorg_cv_cc_flag_unknown_warning_option=no
   7613 fi
   7614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7615 fi
   7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7617 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7618 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7619 	CFLAGS="$xorg_testset_save_CFLAGS"
   7620 fi
   7621 
   7622 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7623 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7624 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7625 	fi
   7626 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7628 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7629 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7630   $as_echo_n "(cached) " >&6
   7631 else
   7632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7633 /* end confdefs.h.  */
   7634 int i;
   7635 _ACEOF
   7636 if ac_fn_c_try_compile "$LINENO"; then :
   7637   xorg_cv_cc_flag_unused_command_line_argument=yes
   7638 else
   7639   xorg_cv_cc_flag_unused_command_line_argument=no
   7640 fi
   7641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7642 fi
   7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7644 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7645 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7646 	CFLAGS="$xorg_testset_save_CFLAGS"
   7647 fi
   7648 
   7649 found="no"
   7650 
   7651 	if test $found = "no" ; then
   7652 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7654 		fi
   7655 
   7656 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7658 		fi
   7659 
   7660 		CFLAGS="$CFLAGS -Werror=return-type"
   7661 
   7662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=return-type" >&5
   7663 $as_echo_n "checking if $CC supports-Werror=return-type... " >&6; }
   7664 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7665 		if eval \${$cacheid+:} false; then :
   7666   $as_echo_n "(cached) " >&6
   7667 else
   7668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7669 /* end confdefs.h.  */
   7670 int i;
   7671 int
   7672 main ()
   7673 {
   7674 
   7675   ;
   7676   return 0;
   7677 }
   7678 _ACEOF
   7679 if ac_fn_c_try_link "$LINENO"; then :
   7680   eval $cacheid=yes
   7681 else
   7682   eval $cacheid=no
   7683 fi
   7684 rm -f core conftest.err conftest.$ac_objext \
   7685     conftest$ac_exeext conftest.$ac_ext
   7686 fi
   7687 
   7688 
   7689 		CFLAGS="$xorg_testset_save_CFLAGS"
   7690 
   7691 		eval supported=\$$cacheid
   7692 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7693 $as_echo "$supported" >&6; }
   7694 		if test "$supported" = "yes" ; then
   7695 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7696 			found="yes"
   7697 		fi
   7698 	fi
   7699 
   7700 	if test $found = "no" ; then
   7701 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7703 		fi
   7704 
   7705 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7707 		fi
   7708 
   7709 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7710 
   7711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7712 $as_echo_n "checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7713 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7714 		if eval \${$cacheid+:} false; then :
   7715   $as_echo_n "(cached) " >&6
   7716 else
   7717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7718 /* end confdefs.h.  */
   7719 int i;
   7720 int
   7721 main ()
   7722 {
   7723 
   7724   ;
   7725   return 0;
   7726 }
   7727 _ACEOF
   7728 if ac_fn_c_try_link "$LINENO"; then :
   7729   eval $cacheid=yes
   7730 else
   7731   eval $cacheid=no
   7732 fi
   7733 rm -f core conftest.err conftest.$ac_objext \
   7734     conftest$ac_exeext conftest.$ac_ext
   7735 fi
   7736 
   7737 
   7738 		CFLAGS="$xorg_testset_save_CFLAGS"
   7739 
   7740 		eval supported=\$$cacheid
   7741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7742 $as_echo "$supported" >&6; }
   7743 		if test "$supported" = "yes" ; then
   7744 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7745 			found="yes"
   7746 		fi
   7747 	fi
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 xorg_testset_save_CFLAGS="$CFLAGS"
   7764 
   7765 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7766 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7768 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7769 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7770   $as_echo_n "(cached) " >&6
   7771 else
   7772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7773 /* end confdefs.h.  */
   7774 int i;
   7775 _ACEOF
   7776 if ac_fn_c_try_compile "$LINENO"; then :
   7777   xorg_cv_cc_flag_unknown_warning_option=yes
   7778 else
   7779   xorg_cv_cc_flag_unknown_warning_option=no
   7780 fi
   7781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7782 fi
   7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7784 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7785 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7786 	CFLAGS="$xorg_testset_save_CFLAGS"
   7787 fi
   7788 
   7789 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7790 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7791 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7792 	fi
   7793 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7794 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7795 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7796 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7797   $as_echo_n "(cached) " >&6
   7798 else
   7799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7800 /* end confdefs.h.  */
   7801 int i;
   7802 _ACEOF
   7803 if ac_fn_c_try_compile "$LINENO"; then :
   7804   xorg_cv_cc_flag_unused_command_line_argument=yes
   7805 else
   7806   xorg_cv_cc_flag_unused_command_line_argument=no
   7807 fi
   7808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7809 fi
   7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7811 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7812 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7813 	CFLAGS="$xorg_testset_save_CFLAGS"
   7814 fi
   7815 
   7816 found="no"
   7817 
   7818 	if test $found = "no" ; then
   7819 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7820 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7821 		fi
   7822 
   7823 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7824 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7825 		fi
   7826 
   7827 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7828 
   7829 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=trigraphs" >&5
   7830 $as_echo_n "checking if $CC supports-Werror=trigraphs... " >&6; }
   7831 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7832 		if eval \${$cacheid+:} false; then :
   7833   $as_echo_n "(cached) " >&6
   7834 else
   7835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7836 /* end confdefs.h.  */
   7837 int i;
   7838 int
   7839 main ()
   7840 {
   7841 
   7842   ;
   7843   return 0;
   7844 }
   7845 _ACEOF
   7846 if ac_fn_c_try_link "$LINENO"; then :
   7847   eval $cacheid=yes
   7848 else
   7849   eval $cacheid=no
   7850 fi
   7851 rm -f core conftest.err conftest.$ac_objext \
   7852     conftest$ac_exeext conftest.$ac_ext
   7853 fi
   7854 
   7855 
   7856 		CFLAGS="$xorg_testset_save_CFLAGS"
   7857 
   7858 		eval supported=\$$cacheid
   7859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7860 $as_echo "$supported" >&6; }
   7861 		if test "$supported" = "yes" ; then
   7862 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7863 			found="yes"
   7864 		fi
   7865 	fi
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 xorg_testset_save_CFLAGS="$CFLAGS"
   7882 
   7883 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7884 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7886 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7887 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7888   $as_echo_n "(cached) " >&6
   7889 else
   7890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7891 /* end confdefs.h.  */
   7892 int i;
   7893 _ACEOF
   7894 if ac_fn_c_try_compile "$LINENO"; then :
   7895   xorg_cv_cc_flag_unknown_warning_option=yes
   7896 else
   7897   xorg_cv_cc_flag_unknown_warning_option=no
   7898 fi
   7899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7900 fi
   7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7902 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7903 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7904 	CFLAGS="$xorg_testset_save_CFLAGS"
   7905 fi
   7906 
   7907 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7908 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7910 	fi
   7911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7913 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7914 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7915   $as_echo_n "(cached) " >&6
   7916 else
   7917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7918 /* end confdefs.h.  */
   7919 int i;
   7920 _ACEOF
   7921 if ac_fn_c_try_compile "$LINENO"; then :
   7922   xorg_cv_cc_flag_unused_command_line_argument=yes
   7923 else
   7924   xorg_cv_cc_flag_unused_command_line_argument=no
   7925 fi
   7926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7927 fi
   7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7929 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7930 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7931 	CFLAGS="$xorg_testset_save_CFLAGS"
   7932 fi
   7933 
   7934 found="no"
   7935 
   7936 	if test $found = "no" ; then
   7937 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7939 		fi
   7940 
   7941 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7943 		fi
   7944 
   7945 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7946 
   7947 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=array-bounds" >&5
   7948 $as_echo_n "checking if $CC supports-Werror=array-bounds... " >&6; }
   7949 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7950 		if eval \${$cacheid+:} false; then :
   7951   $as_echo_n "(cached) " >&6
   7952 else
   7953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7954 /* end confdefs.h.  */
   7955 int i;
   7956 int
   7957 main ()
   7958 {
   7959 
   7960   ;
   7961   return 0;
   7962 }
   7963 _ACEOF
   7964 if ac_fn_c_try_link "$LINENO"; then :
   7965   eval $cacheid=yes
   7966 else
   7967   eval $cacheid=no
   7968 fi
   7969 rm -f core conftest.err conftest.$ac_objext \
   7970     conftest$ac_exeext conftest.$ac_ext
   7971 fi
   7972 
   7973 
   7974 		CFLAGS="$xorg_testset_save_CFLAGS"
   7975 
   7976 		eval supported=\$$cacheid
   7977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7978 $as_echo "$supported" >&6; }
   7979 		if test "$supported" = "yes" ; then
   7980 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7981 			found="yes"
   7982 		fi
   7983 	fi
   7984 
   7985 
   7986 
   7987 
   7988 
   7989 
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 xorg_testset_save_CFLAGS="$CFLAGS"
   8000 
   8001 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8002 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8003 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8004 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8005 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8006   $as_echo_n "(cached) " >&6
   8007 else
   8008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8009 /* end confdefs.h.  */
   8010 int i;
   8011 _ACEOF
   8012 if ac_fn_c_try_compile "$LINENO"; then :
   8013   xorg_cv_cc_flag_unknown_warning_option=yes
   8014 else
   8015   xorg_cv_cc_flag_unknown_warning_option=no
   8016 fi
   8017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8018 fi
   8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8020 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8022 	CFLAGS="$xorg_testset_save_CFLAGS"
   8023 fi
   8024 
   8025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8028 	fi
   8029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8030 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8031 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8032 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8033   $as_echo_n "(cached) " >&6
   8034 else
   8035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8036 /* end confdefs.h.  */
   8037 int i;
   8038 _ACEOF
   8039 if ac_fn_c_try_compile "$LINENO"; then :
   8040   xorg_cv_cc_flag_unused_command_line_argument=yes
   8041 else
   8042   xorg_cv_cc_flag_unused_command_line_argument=no
   8043 fi
   8044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8045 fi
   8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8047 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8048 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8049 	CFLAGS="$xorg_testset_save_CFLAGS"
   8050 fi
   8051 
   8052 found="no"
   8053 
   8054 	if test $found = "no" ; then
   8055 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8056 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8057 		fi
   8058 
   8059 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8060 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8061 		fi
   8062 
   8063 		CFLAGS="$CFLAGS -Werror=write-strings"
   8064 
   8065 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=write-strings" >&5
   8066 $as_echo_n "checking if $CC supports-Werror=write-strings... " >&6; }
   8067 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8068 		if eval \${$cacheid+:} false; then :
   8069   $as_echo_n "(cached) " >&6
   8070 else
   8071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8072 /* end confdefs.h.  */
   8073 int i;
   8074 int
   8075 main ()
   8076 {
   8077 
   8078   ;
   8079   return 0;
   8080 }
   8081 _ACEOF
   8082 if ac_fn_c_try_link "$LINENO"; then :
   8083   eval $cacheid=yes
   8084 else
   8085   eval $cacheid=no
   8086 fi
   8087 rm -f core conftest.err conftest.$ac_objext \
   8088     conftest$ac_exeext conftest.$ac_ext
   8089 fi
   8090 
   8091 
   8092 		CFLAGS="$xorg_testset_save_CFLAGS"
   8093 
   8094 		eval supported=\$$cacheid
   8095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8096 $as_echo "$supported" >&6; }
   8097 		if test "$supported" = "yes" ; then
   8098 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8099 			found="yes"
   8100 		fi
   8101 	fi
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 xorg_testset_save_CFLAGS="$CFLAGS"
   8118 
   8119 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8120 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8121 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8122 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8123 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8124   $as_echo_n "(cached) " >&6
   8125 else
   8126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8127 /* end confdefs.h.  */
   8128 int i;
   8129 _ACEOF
   8130 if ac_fn_c_try_compile "$LINENO"; then :
   8131   xorg_cv_cc_flag_unknown_warning_option=yes
   8132 else
   8133   xorg_cv_cc_flag_unknown_warning_option=no
   8134 fi
   8135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8136 fi
   8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8138 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8139 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8140 	CFLAGS="$xorg_testset_save_CFLAGS"
   8141 fi
   8142 
   8143 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8144 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8145 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8146 	fi
   8147 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8148 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8149 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8150 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8151   $as_echo_n "(cached) " >&6
   8152 else
   8153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8154 /* end confdefs.h.  */
   8155 int i;
   8156 _ACEOF
   8157 if ac_fn_c_try_compile "$LINENO"; then :
   8158   xorg_cv_cc_flag_unused_command_line_argument=yes
   8159 else
   8160   xorg_cv_cc_flag_unused_command_line_argument=no
   8161 fi
   8162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8163 fi
   8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8165 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8166 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8167 	CFLAGS="$xorg_testset_save_CFLAGS"
   8168 fi
   8169 
   8170 found="no"
   8171 
   8172 	if test $found = "no" ; then
   8173 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8174 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8175 		fi
   8176 
   8177 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8178 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8179 		fi
   8180 
   8181 		CFLAGS="$CFLAGS -Werror=address"
   8182 
   8183 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=address" >&5
   8184 $as_echo_n "checking if $CC supports-Werror=address... " >&6; }
   8185 		cacheid=xorg_cv_cc_flag__Werror_address
   8186 		if eval \${$cacheid+:} false; then :
   8187   $as_echo_n "(cached) " >&6
   8188 else
   8189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8190 /* end confdefs.h.  */
   8191 int i;
   8192 int
   8193 main ()
   8194 {
   8195 
   8196   ;
   8197   return 0;
   8198 }
   8199 _ACEOF
   8200 if ac_fn_c_try_link "$LINENO"; then :
   8201   eval $cacheid=yes
   8202 else
   8203   eval $cacheid=no
   8204 fi
   8205 rm -f core conftest.err conftest.$ac_objext \
   8206     conftest$ac_exeext conftest.$ac_ext
   8207 fi
   8208 
   8209 
   8210 		CFLAGS="$xorg_testset_save_CFLAGS"
   8211 
   8212 		eval supported=\$$cacheid
   8213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8214 $as_echo "$supported" >&6; }
   8215 		if test "$supported" = "yes" ; then
   8216 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8217 			found="yes"
   8218 		fi
   8219 	fi
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 xorg_testset_save_CFLAGS="$CFLAGS"
   8236 
   8237 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8238 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8240 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8241 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8242   $as_echo_n "(cached) " >&6
   8243 else
   8244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8245 /* end confdefs.h.  */
   8246 int i;
   8247 _ACEOF
   8248 if ac_fn_c_try_compile "$LINENO"; then :
   8249   xorg_cv_cc_flag_unknown_warning_option=yes
   8250 else
   8251   xorg_cv_cc_flag_unknown_warning_option=no
   8252 fi
   8253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8254 fi
   8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8256 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8257 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8258 	CFLAGS="$xorg_testset_save_CFLAGS"
   8259 fi
   8260 
   8261 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8262 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8263 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8264 	fi
   8265 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8267 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8268 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8269   $as_echo_n "(cached) " >&6
   8270 else
   8271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8272 /* end confdefs.h.  */
   8273 int i;
   8274 _ACEOF
   8275 if ac_fn_c_try_compile "$LINENO"; then :
   8276   xorg_cv_cc_flag_unused_command_line_argument=yes
   8277 else
   8278   xorg_cv_cc_flag_unused_command_line_argument=no
   8279 fi
   8280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8281 fi
   8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8283 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8284 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8285 	CFLAGS="$xorg_testset_save_CFLAGS"
   8286 fi
   8287 
   8288 found="no"
   8289 
   8290 	if test $found = "no" ; then
   8291 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8293 		fi
   8294 
   8295 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8297 		fi
   8298 
   8299 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8300 
   8301 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=int-to-pointer-cast" >&5
   8302 $as_echo_n "checking if $CC supports-Werror=int-to-pointer-cast... " >&6; }
   8303 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8304 		if eval \${$cacheid+:} false; then :
   8305   $as_echo_n "(cached) " >&6
   8306 else
   8307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8308 /* end confdefs.h.  */
   8309 int i;
   8310 int
   8311 main ()
   8312 {
   8313 
   8314   ;
   8315   return 0;
   8316 }
   8317 _ACEOF
   8318 if ac_fn_c_try_link "$LINENO"; then :
   8319   eval $cacheid=yes
   8320 else
   8321   eval $cacheid=no
   8322 fi
   8323 rm -f core conftest.err conftest.$ac_objext \
   8324     conftest$ac_exeext conftest.$ac_ext
   8325 fi
   8326 
   8327 
   8328 		CFLAGS="$xorg_testset_save_CFLAGS"
   8329 
   8330 		eval supported=\$$cacheid
   8331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8332 $as_echo "$supported" >&6; }
   8333 		if test "$supported" = "yes" ; then
   8334 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8335 			found="yes"
   8336 		fi
   8337 	fi
   8338 
   8339 	if test $found = "no" ; then
   8340 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8341 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8342 		fi
   8343 
   8344 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8345 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8346 		fi
   8347 
   8348 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8349 
   8350 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8351 $as_echo_n "checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8352 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8353 		if eval \${$cacheid+:} false; then :
   8354   $as_echo_n "(cached) " >&6
   8355 else
   8356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8357 /* end confdefs.h.  */
   8358 int i;
   8359 int
   8360 main ()
   8361 {
   8362 
   8363   ;
   8364   return 0;
   8365 }
   8366 _ACEOF
   8367 if ac_fn_c_try_link "$LINENO"; then :
   8368   eval $cacheid=yes
   8369 else
   8370   eval $cacheid=no
   8371 fi
   8372 rm -f core conftest.err conftest.$ac_objext \
   8373     conftest$ac_exeext conftest.$ac_ext
   8374 fi
   8375 
   8376 
   8377 		CFLAGS="$xorg_testset_save_CFLAGS"
   8378 
   8379 		eval supported=\$$cacheid
   8380 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8381 $as_echo "$supported" >&6; }
   8382 		if test "$supported" = "yes" ; then
   8383 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8384 			found="yes"
   8385 		fi
   8386 	fi
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 xorg_testset_save_CFLAGS="$CFLAGS"
   8403 
   8404 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8407 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8408 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8409   $as_echo_n "(cached) " >&6
   8410 else
   8411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8412 /* end confdefs.h.  */
   8413 int i;
   8414 _ACEOF
   8415 if ac_fn_c_try_compile "$LINENO"; then :
   8416   xorg_cv_cc_flag_unknown_warning_option=yes
   8417 else
   8418   xorg_cv_cc_flag_unknown_warning_option=no
   8419 fi
   8420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8421 fi
   8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8423 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8424 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8425 	CFLAGS="$xorg_testset_save_CFLAGS"
   8426 fi
   8427 
   8428 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8429 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8431 	fi
   8432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8434 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8435 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8436   $as_echo_n "(cached) " >&6
   8437 else
   8438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8439 /* end confdefs.h.  */
   8440 int i;
   8441 _ACEOF
   8442 if ac_fn_c_try_compile "$LINENO"; then :
   8443   xorg_cv_cc_flag_unused_command_line_argument=yes
   8444 else
   8445   xorg_cv_cc_flag_unused_command_line_argument=no
   8446 fi
   8447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8448 fi
   8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8450 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8452 	CFLAGS="$xorg_testset_save_CFLAGS"
   8453 fi
   8454 
   8455 found="no"
   8456 
   8457 	if test $found = "no" ; then
   8458 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8460 		fi
   8461 
   8462 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8464 		fi
   8465 
   8466 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8467 
   8468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=pointer-to-int-cast" >&5
   8469 $as_echo_n "checking if $CC supports-Werror=pointer-to-int-cast... " >&6; }
   8470 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8471 		if eval \${$cacheid+:} false; then :
   8472   $as_echo_n "(cached) " >&6
   8473 else
   8474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8475 /* end confdefs.h.  */
   8476 int i;
   8477 int
   8478 main ()
   8479 {
   8480 
   8481   ;
   8482   return 0;
   8483 }
   8484 _ACEOF
   8485 if ac_fn_c_try_link "$LINENO"; then :
   8486   eval $cacheid=yes
   8487 else
   8488   eval $cacheid=no
   8489 fi
   8490 rm -f core conftest.err conftest.$ac_objext \
   8491     conftest$ac_exeext conftest.$ac_ext
   8492 fi
   8493 
   8494 
   8495 		CFLAGS="$xorg_testset_save_CFLAGS"
   8496 
   8497 		eval supported=\$$cacheid
   8498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8499 $as_echo "$supported" >&6; }
   8500 		if test "$supported" = "yes" ; then
   8501 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8502 			found="yes"
   8503 		fi
   8504 	fi
   8505 
   8506  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8507 else
   8508 { $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
   8509 $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;}
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 xorg_testset_save_CFLAGS="$CFLAGS"
   8524 
   8525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8526 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8528 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8529 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8530   $as_echo_n "(cached) " >&6
   8531 else
   8532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8533 /* end confdefs.h.  */
   8534 int i;
   8535 _ACEOF
   8536 if ac_fn_c_try_compile "$LINENO"; then :
   8537   xorg_cv_cc_flag_unknown_warning_option=yes
   8538 else
   8539   xorg_cv_cc_flag_unknown_warning_option=no
   8540 fi
   8541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8542 fi
   8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8544 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8545 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8546 	CFLAGS="$xorg_testset_save_CFLAGS"
   8547 fi
   8548 
   8549 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8550 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8551 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8552 	fi
   8553 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8554 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8555 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8556 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8557   $as_echo_n "(cached) " >&6
   8558 else
   8559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8560 /* end confdefs.h.  */
   8561 int i;
   8562 _ACEOF
   8563 if ac_fn_c_try_compile "$LINENO"; then :
   8564   xorg_cv_cc_flag_unused_command_line_argument=yes
   8565 else
   8566   xorg_cv_cc_flag_unused_command_line_argument=no
   8567 fi
   8568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8569 fi
   8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8571 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8572 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8573 	CFLAGS="$xorg_testset_save_CFLAGS"
   8574 fi
   8575 
   8576 found="no"
   8577 
   8578 	if test $found = "no" ; then
   8579 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8581 		fi
   8582 
   8583 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8585 		fi
   8586 
   8587 		CFLAGS="$CFLAGS -Wimplicit"
   8588 
   8589 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wimplicit" >&5
   8590 $as_echo_n "checking if $CC supports-Wimplicit... " >&6; }
   8591 		cacheid=xorg_cv_cc_flag__Wimplicit
   8592 		if eval \${$cacheid+:} false; then :
   8593   $as_echo_n "(cached) " >&6
   8594 else
   8595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8596 /* end confdefs.h.  */
   8597 int i;
   8598 int
   8599 main ()
   8600 {
   8601 
   8602   ;
   8603   return 0;
   8604 }
   8605 _ACEOF
   8606 if ac_fn_c_try_link "$LINENO"; then :
   8607   eval $cacheid=yes
   8608 else
   8609   eval $cacheid=no
   8610 fi
   8611 rm -f core conftest.err conftest.$ac_objext \
   8612     conftest$ac_exeext conftest.$ac_ext
   8613 fi
   8614 
   8615 
   8616 		CFLAGS="$xorg_testset_save_CFLAGS"
   8617 
   8618 		eval supported=\$$cacheid
   8619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8620 $as_echo "$supported" >&6; }
   8621 		if test "$supported" = "yes" ; then
   8622 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8623 			found="yes"
   8624 		fi
   8625 	fi
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 xorg_testset_save_CFLAGS="$CFLAGS"
   8642 
   8643 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8644 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8646 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8647 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8648   $as_echo_n "(cached) " >&6
   8649 else
   8650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8651 /* end confdefs.h.  */
   8652 int i;
   8653 _ACEOF
   8654 if ac_fn_c_try_compile "$LINENO"; then :
   8655   xorg_cv_cc_flag_unknown_warning_option=yes
   8656 else
   8657   xorg_cv_cc_flag_unknown_warning_option=no
   8658 fi
   8659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8660 fi
   8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8662 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8663 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8664 	CFLAGS="$xorg_testset_save_CFLAGS"
   8665 fi
   8666 
   8667 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8668 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8669 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8670 	fi
   8671 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8672 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8673 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8674 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8675   $as_echo_n "(cached) " >&6
   8676 else
   8677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8678 /* end confdefs.h.  */
   8679 int i;
   8680 _ACEOF
   8681 if ac_fn_c_try_compile "$LINENO"; then :
   8682   xorg_cv_cc_flag_unused_command_line_argument=yes
   8683 else
   8684   xorg_cv_cc_flag_unused_command_line_argument=no
   8685 fi
   8686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8687 fi
   8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8689 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8690 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8691 	CFLAGS="$xorg_testset_save_CFLAGS"
   8692 fi
   8693 
   8694 found="no"
   8695 
   8696 	if test $found = "no" ; then
   8697 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8698 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8699 		fi
   8700 
   8701 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8702 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8703 		fi
   8704 
   8705 		CFLAGS="$CFLAGS -Wnonnull"
   8706 
   8707 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnonnull" >&5
   8708 $as_echo_n "checking if $CC supports-Wnonnull... " >&6; }
   8709 		cacheid=xorg_cv_cc_flag__Wnonnull
   8710 		if eval \${$cacheid+:} false; then :
   8711   $as_echo_n "(cached) " >&6
   8712 else
   8713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8714 /* end confdefs.h.  */
   8715 int i;
   8716 int
   8717 main ()
   8718 {
   8719 
   8720   ;
   8721   return 0;
   8722 }
   8723 _ACEOF
   8724 if ac_fn_c_try_link "$LINENO"; then :
   8725   eval $cacheid=yes
   8726 else
   8727   eval $cacheid=no
   8728 fi
   8729 rm -f core conftest.err conftest.$ac_objext \
   8730     conftest$ac_exeext conftest.$ac_ext
   8731 fi
   8732 
   8733 
   8734 		CFLAGS="$xorg_testset_save_CFLAGS"
   8735 
   8736 		eval supported=\$$cacheid
   8737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8738 $as_echo "$supported" >&6; }
   8739 		if test "$supported" = "yes" ; then
   8740 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8741 			found="yes"
   8742 		fi
   8743 	fi
   8744 
   8745 
   8746 
   8747 
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 xorg_testset_save_CFLAGS="$CFLAGS"
   8760 
   8761 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8762 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8764 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8765 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8766   $as_echo_n "(cached) " >&6
   8767 else
   8768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8769 /* end confdefs.h.  */
   8770 int i;
   8771 _ACEOF
   8772 if ac_fn_c_try_compile "$LINENO"; then :
   8773   xorg_cv_cc_flag_unknown_warning_option=yes
   8774 else
   8775   xorg_cv_cc_flag_unknown_warning_option=no
   8776 fi
   8777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8778 fi
   8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8780 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8781 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8782 	CFLAGS="$xorg_testset_save_CFLAGS"
   8783 fi
   8784 
   8785 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8786 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8787 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8788 	fi
   8789 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8790 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8791 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8792 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8793   $as_echo_n "(cached) " >&6
   8794 else
   8795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8796 /* end confdefs.h.  */
   8797 int i;
   8798 _ACEOF
   8799 if ac_fn_c_try_compile "$LINENO"; then :
   8800   xorg_cv_cc_flag_unused_command_line_argument=yes
   8801 else
   8802   xorg_cv_cc_flag_unused_command_line_argument=no
   8803 fi
   8804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8805 fi
   8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8807 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8808 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8809 	CFLAGS="$xorg_testset_save_CFLAGS"
   8810 fi
   8811 
   8812 found="no"
   8813 
   8814 	if test $found = "no" ; then
   8815 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8816 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8817 		fi
   8818 
   8819 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8820 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8821 		fi
   8822 
   8823 		CFLAGS="$CFLAGS -Winit-self"
   8824 
   8825 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Winit-self" >&5
   8826 $as_echo_n "checking if $CC supports-Winit-self... " >&6; }
   8827 		cacheid=xorg_cv_cc_flag__Winit_self
   8828 		if eval \${$cacheid+:} false; then :
   8829   $as_echo_n "(cached) " >&6
   8830 else
   8831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8832 /* end confdefs.h.  */
   8833 int i;
   8834 int
   8835 main ()
   8836 {
   8837 
   8838   ;
   8839   return 0;
   8840 }
   8841 _ACEOF
   8842 if ac_fn_c_try_link "$LINENO"; then :
   8843   eval $cacheid=yes
   8844 else
   8845   eval $cacheid=no
   8846 fi
   8847 rm -f core conftest.err conftest.$ac_objext \
   8848     conftest$ac_exeext conftest.$ac_ext
   8849 fi
   8850 
   8851 
   8852 		CFLAGS="$xorg_testset_save_CFLAGS"
   8853 
   8854 		eval supported=\$$cacheid
   8855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8856 $as_echo "$supported" >&6; }
   8857 		if test "$supported" = "yes" ; then
   8858 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8859 			found="yes"
   8860 		fi
   8861 	fi
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 xorg_testset_save_CFLAGS="$CFLAGS"
   8878 
   8879 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8880 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8882 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8883 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8884   $as_echo_n "(cached) " >&6
   8885 else
   8886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8887 /* end confdefs.h.  */
   8888 int i;
   8889 _ACEOF
   8890 if ac_fn_c_try_compile "$LINENO"; then :
   8891   xorg_cv_cc_flag_unknown_warning_option=yes
   8892 else
   8893   xorg_cv_cc_flag_unknown_warning_option=no
   8894 fi
   8895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8896 fi
   8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8898 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8899 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8900 	CFLAGS="$xorg_testset_save_CFLAGS"
   8901 fi
   8902 
   8903 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8904 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8905 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8906 	fi
   8907 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8909 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8910 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8911   $as_echo_n "(cached) " >&6
   8912 else
   8913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8914 /* end confdefs.h.  */
   8915 int i;
   8916 _ACEOF
   8917 if ac_fn_c_try_compile "$LINENO"; then :
   8918   xorg_cv_cc_flag_unused_command_line_argument=yes
   8919 else
   8920   xorg_cv_cc_flag_unused_command_line_argument=no
   8921 fi
   8922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8923 fi
   8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8925 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8927 	CFLAGS="$xorg_testset_save_CFLAGS"
   8928 fi
   8929 
   8930 found="no"
   8931 
   8932 	if test $found = "no" ; then
   8933 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8935 		fi
   8936 
   8937 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8939 		fi
   8940 
   8941 		CFLAGS="$CFLAGS -Wmain"
   8942 
   8943 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmain" >&5
   8944 $as_echo_n "checking if $CC supports-Wmain... " >&6; }
   8945 		cacheid=xorg_cv_cc_flag__Wmain
   8946 		if eval \${$cacheid+:} false; then :
   8947   $as_echo_n "(cached) " >&6
   8948 else
   8949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8950 /* end confdefs.h.  */
   8951 int i;
   8952 int
   8953 main ()
   8954 {
   8955 
   8956   ;
   8957   return 0;
   8958 }
   8959 _ACEOF
   8960 if ac_fn_c_try_link "$LINENO"; then :
   8961   eval $cacheid=yes
   8962 else
   8963   eval $cacheid=no
   8964 fi
   8965 rm -f core conftest.err conftest.$ac_objext \
   8966     conftest$ac_exeext conftest.$ac_ext
   8967 fi
   8968 
   8969 
   8970 		CFLAGS="$xorg_testset_save_CFLAGS"
   8971 
   8972 		eval supported=\$$cacheid
   8973 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8974 $as_echo "$supported" >&6; }
   8975 		if test "$supported" = "yes" ; then
   8976 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8977 			found="yes"
   8978 		fi
   8979 	fi
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 xorg_testset_save_CFLAGS="$CFLAGS"
   8996 
   8997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8998 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9000 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9001 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9002   $as_echo_n "(cached) " >&6
   9003 else
   9004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9005 /* end confdefs.h.  */
   9006 int i;
   9007 _ACEOF
   9008 if ac_fn_c_try_compile "$LINENO"; then :
   9009   xorg_cv_cc_flag_unknown_warning_option=yes
   9010 else
   9011   xorg_cv_cc_flag_unknown_warning_option=no
   9012 fi
   9013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9014 fi
   9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9016 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9018 	CFLAGS="$xorg_testset_save_CFLAGS"
   9019 fi
   9020 
   9021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9024 	fi
   9025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9026 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9027 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9028 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9029   $as_echo_n "(cached) " >&6
   9030 else
   9031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9032 /* end confdefs.h.  */
   9033 int i;
   9034 _ACEOF
   9035 if ac_fn_c_try_compile "$LINENO"; then :
   9036   xorg_cv_cc_flag_unused_command_line_argument=yes
   9037 else
   9038   xorg_cv_cc_flag_unused_command_line_argument=no
   9039 fi
   9040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9041 fi
   9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9043 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9044 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9045 	CFLAGS="$xorg_testset_save_CFLAGS"
   9046 fi
   9047 
   9048 found="no"
   9049 
   9050 	if test $found = "no" ; then
   9051 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9052 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9053 		fi
   9054 
   9055 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9056 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9057 		fi
   9058 
   9059 		CFLAGS="$CFLAGS -Wmissing-braces"
   9060 
   9061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-braces" >&5
   9062 $as_echo_n "checking if $CC supports-Wmissing-braces... " >&6; }
   9063 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9064 		if eval \${$cacheid+:} false; then :
   9065   $as_echo_n "(cached) " >&6
   9066 else
   9067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9068 /* end confdefs.h.  */
   9069 int i;
   9070 int
   9071 main ()
   9072 {
   9073 
   9074   ;
   9075   return 0;
   9076 }
   9077 _ACEOF
   9078 if ac_fn_c_try_link "$LINENO"; then :
   9079   eval $cacheid=yes
   9080 else
   9081   eval $cacheid=no
   9082 fi
   9083 rm -f core conftest.err conftest.$ac_objext \
   9084     conftest$ac_exeext conftest.$ac_ext
   9085 fi
   9086 
   9087 
   9088 		CFLAGS="$xorg_testset_save_CFLAGS"
   9089 
   9090 		eval supported=\$$cacheid
   9091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9092 $as_echo "$supported" >&6; }
   9093 		if test "$supported" = "yes" ; then
   9094 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9095 			found="yes"
   9096 		fi
   9097 	fi
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 xorg_testset_save_CFLAGS="$CFLAGS"
   9114 
   9115 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9118 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9119 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9120   $as_echo_n "(cached) " >&6
   9121 else
   9122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9123 /* end confdefs.h.  */
   9124 int i;
   9125 _ACEOF
   9126 if ac_fn_c_try_compile "$LINENO"; then :
   9127   xorg_cv_cc_flag_unknown_warning_option=yes
   9128 else
   9129   xorg_cv_cc_flag_unknown_warning_option=no
   9130 fi
   9131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9132 fi
   9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9134 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9135 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9136 	CFLAGS="$xorg_testset_save_CFLAGS"
   9137 fi
   9138 
   9139 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9140 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9141 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9142 	fi
   9143 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9145 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9146 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9147   $as_echo_n "(cached) " >&6
   9148 else
   9149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9150 /* end confdefs.h.  */
   9151 int i;
   9152 _ACEOF
   9153 if ac_fn_c_try_compile "$LINENO"; then :
   9154   xorg_cv_cc_flag_unused_command_line_argument=yes
   9155 else
   9156   xorg_cv_cc_flag_unused_command_line_argument=no
   9157 fi
   9158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9159 fi
   9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9161 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9162 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9163 	CFLAGS="$xorg_testset_save_CFLAGS"
   9164 fi
   9165 
   9166 found="no"
   9167 
   9168 	if test $found = "no" ; then
   9169 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9171 		fi
   9172 
   9173 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9175 		fi
   9176 
   9177 		CFLAGS="$CFLAGS -Wsequence-point"
   9178 
   9179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wsequence-point" >&5
   9180 $as_echo_n "checking if $CC supports-Wsequence-point... " >&6; }
   9181 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9182 		if eval \${$cacheid+:} false; then :
   9183   $as_echo_n "(cached) " >&6
   9184 else
   9185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9186 /* end confdefs.h.  */
   9187 int i;
   9188 int
   9189 main ()
   9190 {
   9191 
   9192   ;
   9193   return 0;
   9194 }
   9195 _ACEOF
   9196 if ac_fn_c_try_link "$LINENO"; then :
   9197   eval $cacheid=yes
   9198 else
   9199   eval $cacheid=no
   9200 fi
   9201 rm -f core conftest.err conftest.$ac_objext \
   9202     conftest$ac_exeext conftest.$ac_ext
   9203 fi
   9204 
   9205 
   9206 		CFLAGS="$xorg_testset_save_CFLAGS"
   9207 
   9208 		eval supported=\$$cacheid
   9209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9210 $as_echo "$supported" >&6; }
   9211 		if test "$supported" = "yes" ; then
   9212 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9213 			found="yes"
   9214 		fi
   9215 	fi
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 xorg_testset_save_CFLAGS="$CFLAGS"
   9232 
   9233 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9234 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9235 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9236 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9237 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9238   $as_echo_n "(cached) " >&6
   9239 else
   9240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9241 /* end confdefs.h.  */
   9242 int i;
   9243 _ACEOF
   9244 if ac_fn_c_try_compile "$LINENO"; then :
   9245   xorg_cv_cc_flag_unknown_warning_option=yes
   9246 else
   9247   xorg_cv_cc_flag_unknown_warning_option=no
   9248 fi
   9249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9250 fi
   9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9252 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9254 	CFLAGS="$xorg_testset_save_CFLAGS"
   9255 fi
   9256 
   9257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9260 	fi
   9261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9262 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9263 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9264 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9265   $as_echo_n "(cached) " >&6
   9266 else
   9267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9268 /* end confdefs.h.  */
   9269 int i;
   9270 _ACEOF
   9271 if ac_fn_c_try_compile "$LINENO"; then :
   9272   xorg_cv_cc_flag_unused_command_line_argument=yes
   9273 else
   9274   xorg_cv_cc_flag_unused_command_line_argument=no
   9275 fi
   9276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9277 fi
   9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9279 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9280 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9281 	CFLAGS="$xorg_testset_save_CFLAGS"
   9282 fi
   9283 
   9284 found="no"
   9285 
   9286 	if test $found = "no" ; then
   9287 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9288 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9289 		fi
   9290 
   9291 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9292 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9293 		fi
   9294 
   9295 		CFLAGS="$CFLAGS -Wreturn-type"
   9296 
   9297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wreturn-type" >&5
   9298 $as_echo_n "checking if $CC supports-Wreturn-type... " >&6; }
   9299 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9300 		if eval \${$cacheid+:} false; then :
   9301   $as_echo_n "(cached) " >&6
   9302 else
   9303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9304 /* end confdefs.h.  */
   9305 int i;
   9306 int
   9307 main ()
   9308 {
   9309 
   9310   ;
   9311   return 0;
   9312 }
   9313 _ACEOF
   9314 if ac_fn_c_try_link "$LINENO"; then :
   9315   eval $cacheid=yes
   9316 else
   9317   eval $cacheid=no
   9318 fi
   9319 rm -f core conftest.err conftest.$ac_objext \
   9320     conftest$ac_exeext conftest.$ac_ext
   9321 fi
   9322 
   9323 
   9324 		CFLAGS="$xorg_testset_save_CFLAGS"
   9325 
   9326 		eval supported=\$$cacheid
   9327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9328 $as_echo "$supported" >&6; }
   9329 		if test "$supported" = "yes" ; then
   9330 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9331 			found="yes"
   9332 		fi
   9333 	fi
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 xorg_testset_save_CFLAGS="$CFLAGS"
   9350 
   9351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9354 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9355 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9356   $as_echo_n "(cached) " >&6
   9357 else
   9358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9359 /* end confdefs.h.  */
   9360 int i;
   9361 _ACEOF
   9362 if ac_fn_c_try_compile "$LINENO"; then :
   9363   xorg_cv_cc_flag_unknown_warning_option=yes
   9364 else
   9365   xorg_cv_cc_flag_unknown_warning_option=no
   9366 fi
   9367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9368 fi
   9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9370 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9371 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9372 	CFLAGS="$xorg_testset_save_CFLAGS"
   9373 fi
   9374 
   9375 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9376 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9377 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9378 	fi
   9379 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9380 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9381 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9382 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9383   $as_echo_n "(cached) " >&6
   9384 else
   9385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9386 /* end confdefs.h.  */
   9387 int i;
   9388 _ACEOF
   9389 if ac_fn_c_try_compile "$LINENO"; then :
   9390   xorg_cv_cc_flag_unused_command_line_argument=yes
   9391 else
   9392   xorg_cv_cc_flag_unused_command_line_argument=no
   9393 fi
   9394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9395 fi
   9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9397 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9398 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9399 	CFLAGS="$xorg_testset_save_CFLAGS"
   9400 fi
   9401 
   9402 found="no"
   9403 
   9404 	if test $found = "no" ; then
   9405 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9406 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9407 		fi
   9408 
   9409 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9410 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9411 		fi
   9412 
   9413 		CFLAGS="$CFLAGS -Wtrigraphs"
   9414 
   9415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wtrigraphs" >&5
   9416 $as_echo_n "checking if $CC supports-Wtrigraphs... " >&6; }
   9417 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9418 		if eval \${$cacheid+:} false; then :
   9419   $as_echo_n "(cached) " >&6
   9420 else
   9421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9422 /* end confdefs.h.  */
   9423 int i;
   9424 int
   9425 main ()
   9426 {
   9427 
   9428   ;
   9429   return 0;
   9430 }
   9431 _ACEOF
   9432 if ac_fn_c_try_link "$LINENO"; then :
   9433   eval $cacheid=yes
   9434 else
   9435   eval $cacheid=no
   9436 fi
   9437 rm -f core conftest.err conftest.$ac_objext \
   9438     conftest$ac_exeext conftest.$ac_ext
   9439 fi
   9440 
   9441 
   9442 		CFLAGS="$xorg_testset_save_CFLAGS"
   9443 
   9444 		eval supported=\$$cacheid
   9445 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9446 $as_echo "$supported" >&6; }
   9447 		if test "$supported" = "yes" ; then
   9448 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9449 			found="yes"
   9450 		fi
   9451 	fi
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 xorg_testset_save_CFLAGS="$CFLAGS"
   9468 
   9469 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9472 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9473 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9474   $as_echo_n "(cached) " >&6
   9475 else
   9476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9477 /* end confdefs.h.  */
   9478 int i;
   9479 _ACEOF
   9480 if ac_fn_c_try_compile "$LINENO"; then :
   9481   xorg_cv_cc_flag_unknown_warning_option=yes
   9482 else
   9483   xorg_cv_cc_flag_unknown_warning_option=no
   9484 fi
   9485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9486 fi
   9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9488 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9489 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9490 	CFLAGS="$xorg_testset_save_CFLAGS"
   9491 fi
   9492 
   9493 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9494 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9495 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9496 	fi
   9497 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9498 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9499 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9500 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9501   $as_echo_n "(cached) " >&6
   9502 else
   9503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9504 /* end confdefs.h.  */
   9505 int i;
   9506 _ACEOF
   9507 if ac_fn_c_try_compile "$LINENO"; then :
   9508   xorg_cv_cc_flag_unused_command_line_argument=yes
   9509 else
   9510   xorg_cv_cc_flag_unused_command_line_argument=no
   9511 fi
   9512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9513 fi
   9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9515 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9516 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9517 	CFLAGS="$xorg_testset_save_CFLAGS"
   9518 fi
   9519 
   9520 found="no"
   9521 
   9522 	if test $found = "no" ; then
   9523 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9525 		fi
   9526 
   9527 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9529 		fi
   9530 
   9531 		CFLAGS="$CFLAGS -Warray-bounds"
   9532 
   9533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Warray-bounds" >&5
   9534 $as_echo_n "checking if $CC supports-Warray-bounds... " >&6; }
   9535 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9536 		if eval \${$cacheid+:} false; then :
   9537   $as_echo_n "(cached) " >&6
   9538 else
   9539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9540 /* end confdefs.h.  */
   9541 int i;
   9542 int
   9543 main ()
   9544 {
   9545 
   9546   ;
   9547   return 0;
   9548 }
   9549 _ACEOF
   9550 if ac_fn_c_try_link "$LINENO"; then :
   9551   eval $cacheid=yes
   9552 else
   9553   eval $cacheid=no
   9554 fi
   9555 rm -f core conftest.err conftest.$ac_objext \
   9556     conftest$ac_exeext conftest.$ac_ext
   9557 fi
   9558 
   9559 
   9560 		CFLAGS="$xorg_testset_save_CFLAGS"
   9561 
   9562 		eval supported=\$$cacheid
   9563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9564 $as_echo "$supported" >&6; }
   9565 		if test "$supported" = "yes" ; then
   9566 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9567 			found="yes"
   9568 		fi
   9569 	fi
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 xorg_testset_save_CFLAGS="$CFLAGS"
   9586 
   9587 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9588 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9590 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9591 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9592   $as_echo_n "(cached) " >&6
   9593 else
   9594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9595 /* end confdefs.h.  */
   9596 int i;
   9597 _ACEOF
   9598 if ac_fn_c_try_compile "$LINENO"; then :
   9599   xorg_cv_cc_flag_unknown_warning_option=yes
   9600 else
   9601   xorg_cv_cc_flag_unknown_warning_option=no
   9602 fi
   9603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9604 fi
   9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9606 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9607 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9608 	CFLAGS="$xorg_testset_save_CFLAGS"
   9609 fi
   9610 
   9611 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9612 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9613 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9614 	fi
   9615 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9617 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9618 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9619   $as_echo_n "(cached) " >&6
   9620 else
   9621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9622 /* end confdefs.h.  */
   9623 int i;
   9624 _ACEOF
   9625 if ac_fn_c_try_compile "$LINENO"; then :
   9626   xorg_cv_cc_flag_unused_command_line_argument=yes
   9627 else
   9628   xorg_cv_cc_flag_unused_command_line_argument=no
   9629 fi
   9630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9631 fi
   9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9633 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9635 	CFLAGS="$xorg_testset_save_CFLAGS"
   9636 fi
   9637 
   9638 found="no"
   9639 
   9640 	if test $found = "no" ; then
   9641 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9643 		fi
   9644 
   9645 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9647 		fi
   9648 
   9649 		CFLAGS="$CFLAGS -Wwrite-strings"
   9650 
   9651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wwrite-strings" >&5
   9652 $as_echo_n "checking if $CC supports-Wwrite-strings... " >&6; }
   9653 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9654 		if eval \${$cacheid+:} false; then :
   9655   $as_echo_n "(cached) " >&6
   9656 else
   9657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9658 /* end confdefs.h.  */
   9659 int i;
   9660 int
   9661 main ()
   9662 {
   9663 
   9664   ;
   9665   return 0;
   9666 }
   9667 _ACEOF
   9668 if ac_fn_c_try_link "$LINENO"; then :
   9669   eval $cacheid=yes
   9670 else
   9671   eval $cacheid=no
   9672 fi
   9673 rm -f core conftest.err conftest.$ac_objext \
   9674     conftest$ac_exeext conftest.$ac_ext
   9675 fi
   9676 
   9677 
   9678 		CFLAGS="$xorg_testset_save_CFLAGS"
   9679 
   9680 		eval supported=\$$cacheid
   9681 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9682 $as_echo "$supported" >&6; }
   9683 		if test "$supported" = "yes" ; then
   9684 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9685 			found="yes"
   9686 		fi
   9687 	fi
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 xorg_testset_save_CFLAGS="$CFLAGS"
   9704 
   9705 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9706 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9708 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9709 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9710   $as_echo_n "(cached) " >&6
   9711 else
   9712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9713 /* end confdefs.h.  */
   9714 int i;
   9715 _ACEOF
   9716 if ac_fn_c_try_compile "$LINENO"; then :
   9717   xorg_cv_cc_flag_unknown_warning_option=yes
   9718 else
   9719   xorg_cv_cc_flag_unknown_warning_option=no
   9720 fi
   9721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9722 fi
   9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9724 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9725 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9726 	CFLAGS="$xorg_testset_save_CFLAGS"
   9727 fi
   9728 
   9729 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9730 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9732 	fi
   9733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9735 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9736 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9737   $as_echo_n "(cached) " >&6
   9738 else
   9739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9740 /* end confdefs.h.  */
   9741 int i;
   9742 _ACEOF
   9743 if ac_fn_c_try_compile "$LINENO"; then :
   9744   xorg_cv_cc_flag_unused_command_line_argument=yes
   9745 else
   9746   xorg_cv_cc_flag_unused_command_line_argument=no
   9747 fi
   9748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9749 fi
   9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9751 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9752 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9753 	CFLAGS="$xorg_testset_save_CFLAGS"
   9754 fi
   9755 
   9756 found="no"
   9757 
   9758 	if test $found = "no" ; then
   9759 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9761 		fi
   9762 
   9763 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9765 		fi
   9766 
   9767 		CFLAGS="$CFLAGS -Waddress"
   9768 
   9769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Waddress" >&5
   9770 $as_echo_n "checking if $CC supports-Waddress... " >&6; }
   9771 		cacheid=xorg_cv_cc_flag__Waddress
   9772 		if eval \${$cacheid+:} false; then :
   9773   $as_echo_n "(cached) " >&6
   9774 else
   9775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9776 /* end confdefs.h.  */
   9777 int i;
   9778 int
   9779 main ()
   9780 {
   9781 
   9782   ;
   9783   return 0;
   9784 }
   9785 _ACEOF
   9786 if ac_fn_c_try_link "$LINENO"; then :
   9787   eval $cacheid=yes
   9788 else
   9789   eval $cacheid=no
   9790 fi
   9791 rm -f core conftest.err conftest.$ac_objext \
   9792     conftest$ac_exeext conftest.$ac_ext
   9793 fi
   9794 
   9795 
   9796 		CFLAGS="$xorg_testset_save_CFLAGS"
   9797 
   9798 		eval supported=\$$cacheid
   9799 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9800 $as_echo "$supported" >&6; }
   9801 		if test "$supported" = "yes" ; then
   9802 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9803 			found="yes"
   9804 		fi
   9805 	fi
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 xorg_testset_save_CFLAGS="$CFLAGS"
   9822 
   9823 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9826 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9827 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9828   $as_echo_n "(cached) " >&6
   9829 else
   9830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9831 /* end confdefs.h.  */
   9832 int i;
   9833 _ACEOF
   9834 if ac_fn_c_try_compile "$LINENO"; then :
   9835   xorg_cv_cc_flag_unknown_warning_option=yes
   9836 else
   9837   xorg_cv_cc_flag_unknown_warning_option=no
   9838 fi
   9839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9840 fi
   9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9842 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9843 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9844 	CFLAGS="$xorg_testset_save_CFLAGS"
   9845 fi
   9846 
   9847 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9848 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9849 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9850 	fi
   9851 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9853 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9854 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9855   $as_echo_n "(cached) " >&6
   9856 else
   9857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9858 /* end confdefs.h.  */
   9859 int i;
   9860 _ACEOF
   9861 if ac_fn_c_try_compile "$LINENO"; then :
   9862   xorg_cv_cc_flag_unused_command_line_argument=yes
   9863 else
   9864   xorg_cv_cc_flag_unused_command_line_argument=no
   9865 fi
   9866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9867 fi
   9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9869 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9870 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9871 	CFLAGS="$xorg_testset_save_CFLAGS"
   9872 fi
   9873 
   9874 found="no"
   9875 
   9876 	if test $found = "no" ; then
   9877 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9879 		fi
   9880 
   9881 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9883 		fi
   9884 
   9885 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9886 
   9887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wint-to-pointer-cast" >&5
   9888 $as_echo_n "checking if $CC supports-Wint-to-pointer-cast... " >&6; }
   9889 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9890 		if eval \${$cacheid+:} false; then :
   9891   $as_echo_n "(cached) " >&6
   9892 else
   9893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9894 /* end confdefs.h.  */
   9895 int i;
   9896 int
   9897 main ()
   9898 {
   9899 
   9900   ;
   9901   return 0;
   9902 }
   9903 _ACEOF
   9904 if ac_fn_c_try_link "$LINENO"; then :
   9905   eval $cacheid=yes
   9906 else
   9907   eval $cacheid=no
   9908 fi
   9909 rm -f core conftest.err conftest.$ac_objext \
   9910     conftest$ac_exeext conftest.$ac_ext
   9911 fi
   9912 
   9913 
   9914 		CFLAGS="$xorg_testset_save_CFLAGS"
   9915 
   9916 		eval supported=\$$cacheid
   9917 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9918 $as_echo "$supported" >&6; }
   9919 		if test "$supported" = "yes" ; then
   9920 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9921 			found="yes"
   9922 		fi
   9923 	fi
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 xorg_testset_save_CFLAGS="$CFLAGS"
   9940 
   9941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9944 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9945 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9946   $as_echo_n "(cached) " >&6
   9947 else
   9948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9949 /* end confdefs.h.  */
   9950 int i;
   9951 _ACEOF
   9952 if ac_fn_c_try_compile "$LINENO"; then :
   9953   xorg_cv_cc_flag_unknown_warning_option=yes
   9954 else
   9955   xorg_cv_cc_flag_unknown_warning_option=no
   9956 fi
   9957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9958 fi
   9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9960 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9962 	CFLAGS="$xorg_testset_save_CFLAGS"
   9963 fi
   9964 
   9965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9968 	fi
   9969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9971 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9972 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9973   $as_echo_n "(cached) " >&6
   9974 else
   9975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9976 /* end confdefs.h.  */
   9977 int i;
   9978 _ACEOF
   9979 if ac_fn_c_try_compile "$LINENO"; then :
   9980   xorg_cv_cc_flag_unused_command_line_argument=yes
   9981 else
   9982   xorg_cv_cc_flag_unused_command_line_argument=no
   9983 fi
   9984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9985 fi
   9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9987 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9989 	CFLAGS="$xorg_testset_save_CFLAGS"
   9990 fi
   9991 
   9992 found="no"
   9993 
   9994 	if test $found = "no" ; then
   9995 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9997 		fi
   9998 
   9999 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10001 		fi
   10002 
   10003 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10004 
   10005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-to-int-cast" >&5
   10006 $as_echo_n "checking if $CC supports-Wpointer-to-int-cast... " >&6; }
   10007 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10008 		if eval \${$cacheid+:} false; then :
   10009   $as_echo_n "(cached) " >&6
   10010 else
   10011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10012 /* end confdefs.h.  */
   10013 int i;
   10014 int
   10015 main ()
   10016 {
   10017 
   10018   ;
   10019   return 0;
   10020 }
   10021 _ACEOF
   10022 if ac_fn_c_try_link "$LINENO"; then :
   10023   eval $cacheid=yes
   10024 else
   10025   eval $cacheid=no
   10026 fi
   10027 rm -f core conftest.err conftest.$ac_objext \
   10028     conftest$ac_exeext conftest.$ac_ext
   10029 fi
   10030 
   10031 
   10032 		CFLAGS="$xorg_testset_save_CFLAGS"
   10033 
   10034 		eval supported=\$$cacheid
   10035 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10036 $as_echo "$supported" >&6; }
   10037 		if test "$supported" = "yes" ; then
   10038 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10039 			found="yes"
   10040 		fi
   10041 	fi
   10042 
   10043 
   10044 fi
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 		CWARNFLAGS="$BASE_CFLAGS"
   10053 		if  test "x$GCC" = xyes ; then
   10054 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10055 		fi
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 # Check whether --enable-strict-compilation was given.
   10065 if test "${enable_strict_compilation+set}" = set; then :
   10066   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10067 else
   10068   STRICT_COMPILE=no
   10069 fi
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 STRICT_CFLAGS=""
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 xorg_testset_save_CFLAGS="$CFLAGS"
   10091 
   10092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10095 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10096 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10097   $as_echo_n "(cached) " >&6
   10098 else
   10099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10100 /* end confdefs.h.  */
   10101 int i;
   10102 _ACEOF
   10103 if ac_fn_c_try_compile "$LINENO"; then :
   10104   xorg_cv_cc_flag_unknown_warning_option=yes
   10105 else
   10106   xorg_cv_cc_flag_unknown_warning_option=no
   10107 fi
   10108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10109 fi
   10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10111 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10113 	CFLAGS="$xorg_testset_save_CFLAGS"
   10114 fi
   10115 
   10116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10119 	fi
   10120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10121 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10122 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10123 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10124   $as_echo_n "(cached) " >&6
   10125 else
   10126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10127 /* end confdefs.h.  */
   10128 int i;
   10129 _ACEOF
   10130 if ac_fn_c_try_compile "$LINENO"; then :
   10131   xorg_cv_cc_flag_unused_command_line_argument=yes
   10132 else
   10133   xorg_cv_cc_flag_unused_command_line_argument=no
   10134 fi
   10135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10136 fi
   10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10138 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10140 	CFLAGS="$xorg_testset_save_CFLAGS"
   10141 fi
   10142 
   10143 found="no"
   10144 
   10145 	if test $found = "no" ; then
   10146 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10148 		fi
   10149 
   10150 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10152 		fi
   10153 
   10154 		CFLAGS="$CFLAGS -pedantic"
   10155 
   10156 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-pedantic" >&5
   10157 $as_echo_n "checking if $CC supports-pedantic... " >&6; }
   10158 		cacheid=xorg_cv_cc_flag__pedantic
   10159 		if eval \${$cacheid+:} false; then :
   10160   $as_echo_n "(cached) " >&6
   10161 else
   10162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10163 /* end confdefs.h.  */
   10164 int i;
   10165 int
   10166 main ()
   10167 {
   10168 
   10169   ;
   10170   return 0;
   10171 }
   10172 _ACEOF
   10173 if ac_fn_c_try_link "$LINENO"; then :
   10174   eval $cacheid=yes
   10175 else
   10176   eval $cacheid=no
   10177 fi
   10178 rm -f core conftest.err conftest.$ac_objext \
   10179     conftest$ac_exeext conftest.$ac_ext
   10180 fi
   10181 
   10182 
   10183 		CFLAGS="$xorg_testset_save_CFLAGS"
   10184 
   10185 		eval supported=\$$cacheid
   10186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10187 $as_echo "$supported" >&6; }
   10188 		if test "$supported" = "yes" ; then
   10189 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10190 			found="yes"
   10191 		fi
   10192 	fi
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 xorg_testset_save_CFLAGS="$CFLAGS"
   10209 
   10210 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10211 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10213 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10214 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10215   $as_echo_n "(cached) " >&6
   10216 else
   10217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10218 /* end confdefs.h.  */
   10219 int i;
   10220 _ACEOF
   10221 if ac_fn_c_try_compile "$LINENO"; then :
   10222   xorg_cv_cc_flag_unknown_warning_option=yes
   10223 else
   10224   xorg_cv_cc_flag_unknown_warning_option=no
   10225 fi
   10226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10227 fi
   10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10229 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10231 	CFLAGS="$xorg_testset_save_CFLAGS"
   10232 fi
   10233 
   10234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10237 	fi
   10238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10240 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10241 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10242   $as_echo_n "(cached) " >&6
   10243 else
   10244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10245 /* end confdefs.h.  */
   10246 int i;
   10247 _ACEOF
   10248 if ac_fn_c_try_compile "$LINENO"; then :
   10249   xorg_cv_cc_flag_unused_command_line_argument=yes
   10250 else
   10251   xorg_cv_cc_flag_unused_command_line_argument=no
   10252 fi
   10253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10254 fi
   10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10256 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10257 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10258 	CFLAGS="$xorg_testset_save_CFLAGS"
   10259 fi
   10260 
   10261 found="no"
   10262 
   10263 	if test $found = "no" ; then
   10264 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10265 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10266 		fi
   10267 
   10268 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10269 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10270 		fi
   10271 
   10272 		CFLAGS="$CFLAGS -Werror"
   10273 
   10274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror" >&5
   10275 $as_echo_n "checking if $CC supports-Werror... " >&6; }
   10276 		cacheid=xorg_cv_cc_flag__Werror
   10277 		if eval \${$cacheid+:} false; then :
   10278   $as_echo_n "(cached) " >&6
   10279 else
   10280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10281 /* end confdefs.h.  */
   10282 int i;
   10283 int
   10284 main ()
   10285 {
   10286 
   10287   ;
   10288   return 0;
   10289 }
   10290 _ACEOF
   10291 if ac_fn_c_try_link "$LINENO"; then :
   10292   eval $cacheid=yes
   10293 else
   10294   eval $cacheid=no
   10295 fi
   10296 rm -f core conftest.err conftest.$ac_objext \
   10297     conftest$ac_exeext conftest.$ac_ext
   10298 fi
   10299 
   10300 
   10301 		CFLAGS="$xorg_testset_save_CFLAGS"
   10302 
   10303 		eval supported=\$$cacheid
   10304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10305 $as_echo "$supported" >&6; }
   10306 		if test "$supported" = "yes" ; then
   10307 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10308 			found="yes"
   10309 		fi
   10310 	fi
   10311 
   10312 	if test $found = "no" ; then
   10313 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10314 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10315 		fi
   10316 
   10317 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10318 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10319 		fi
   10320 
   10321 		CFLAGS="$CFLAGS -errwarn"
   10322 
   10323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn" >&5
   10324 $as_echo_n "checking if $CC supports-errwarn... " >&6; }
   10325 		cacheid=xorg_cv_cc_flag__errwarn
   10326 		if eval \${$cacheid+:} false; then :
   10327   $as_echo_n "(cached) " >&6
   10328 else
   10329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10330 /* end confdefs.h.  */
   10331 int i;
   10332 int
   10333 main ()
   10334 {
   10335 
   10336   ;
   10337   return 0;
   10338 }
   10339 _ACEOF
   10340 if ac_fn_c_try_link "$LINENO"; then :
   10341   eval $cacheid=yes
   10342 else
   10343   eval $cacheid=no
   10344 fi
   10345 rm -f core conftest.err conftest.$ac_objext \
   10346     conftest$ac_exeext conftest.$ac_ext
   10347 fi
   10348 
   10349 
   10350 		CFLAGS="$xorg_testset_save_CFLAGS"
   10351 
   10352 		eval supported=\$$cacheid
   10353 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10354 $as_echo "$supported" >&6; }
   10355 		if test "$supported" = "yes" ; then
   10356 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10357 			found="yes"
   10358 		fi
   10359 	fi
   10360 
   10361 
   10362 
   10363 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10364 # activate it with -Werror, so we add it here explicitly.
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 xorg_testset_save_CFLAGS="$CFLAGS"
   10379 
   10380 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10381 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10383 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10384 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10385   $as_echo_n "(cached) " >&6
   10386 else
   10387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10388 /* end confdefs.h.  */
   10389 int i;
   10390 _ACEOF
   10391 if ac_fn_c_try_compile "$LINENO"; then :
   10392   xorg_cv_cc_flag_unknown_warning_option=yes
   10393 else
   10394   xorg_cv_cc_flag_unknown_warning_option=no
   10395 fi
   10396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10397 fi
   10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10399 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10400 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10401 	CFLAGS="$xorg_testset_save_CFLAGS"
   10402 fi
   10403 
   10404 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10405 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10406 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10407 	fi
   10408 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10409 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10410 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10411 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10412   $as_echo_n "(cached) " >&6
   10413 else
   10414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10415 /* end confdefs.h.  */
   10416 int i;
   10417 _ACEOF
   10418 if ac_fn_c_try_compile "$LINENO"; then :
   10419   xorg_cv_cc_flag_unused_command_line_argument=yes
   10420 else
   10421   xorg_cv_cc_flag_unused_command_line_argument=no
   10422 fi
   10423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10424 fi
   10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10426 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10428 	CFLAGS="$xorg_testset_save_CFLAGS"
   10429 fi
   10430 
   10431 found="no"
   10432 
   10433 	if test $found = "no" ; then
   10434 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10436 		fi
   10437 
   10438 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10440 		fi
   10441 
   10442 		CFLAGS="$CFLAGS -Werror=attributes"
   10443 
   10444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=attributes" >&5
   10445 $as_echo_n "checking if $CC supports-Werror=attributes... " >&6; }
   10446 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10447 		if eval \${$cacheid+:} false; then :
   10448   $as_echo_n "(cached) " >&6
   10449 else
   10450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10451 /* end confdefs.h.  */
   10452 int i;
   10453 int
   10454 main ()
   10455 {
   10456 
   10457   ;
   10458   return 0;
   10459 }
   10460 _ACEOF
   10461 if ac_fn_c_try_link "$LINENO"; then :
   10462   eval $cacheid=yes
   10463 else
   10464   eval $cacheid=no
   10465 fi
   10466 rm -f core conftest.err conftest.$ac_objext \
   10467     conftest$ac_exeext conftest.$ac_ext
   10468 fi
   10469 
   10470 
   10471 		CFLAGS="$xorg_testset_save_CFLAGS"
   10472 
   10473 		eval supported=\$$cacheid
   10474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10475 $as_echo "$supported" >&6; }
   10476 		if test "$supported" = "yes" ; then
   10477 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10478 			found="yes"
   10479 		fi
   10480 	fi
   10481 
   10482 
   10483 
   10484 if test "x$STRICT_COMPILE" = "xyes"; then
   10485     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10486     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10487 fi
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 cat >>confdefs.h <<_ACEOF
   10495 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10496 _ACEOF
   10497 
   10498 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10499 	if test "x$PVM" = "x"; then
   10500 		PVM="0"
   10501 	fi
   10502 
   10503 cat >>confdefs.h <<_ACEOF
   10504 #define PACKAGE_VERSION_MINOR $PVM
   10505 _ACEOF
   10506 
   10507 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10508 	if test "x$PVP" = "x"; then
   10509 		PVP="0"
   10510 	fi
   10511 
   10512 cat >>confdefs.h <<_ACEOF
   10513 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10514 _ACEOF
   10515 
   10516 
   10517 
   10518 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10519 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10520 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10521 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10522 
   10523 
   10524 
   10525 
   10526 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10527 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10528 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10529 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10530 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 if test x$APP_MAN_SUFFIX = x    ; then
   10538     APP_MAN_SUFFIX=1
   10539 fi
   10540 if test x$APP_MAN_DIR = x    ; then
   10541     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10542 fi
   10543 
   10544 if test x$LIB_MAN_SUFFIX = x    ; then
   10545     LIB_MAN_SUFFIX=3
   10546 fi
   10547 if test x$LIB_MAN_DIR = x    ; then
   10548     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10549 fi
   10550 
   10551 if test x$FILE_MAN_SUFFIX = x    ; then
   10552     case $host_os in
   10553 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10554 	*)		FILE_MAN_SUFFIX=5  ;;
   10555     esac
   10556 fi
   10557 if test x$FILE_MAN_DIR = x    ; then
   10558     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10559 fi
   10560 
   10561 if test x$MISC_MAN_SUFFIX = x    ; then
   10562     case $host_os in
   10563 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10564 	*)		MISC_MAN_SUFFIX=7  ;;
   10565     esac
   10566 fi
   10567 if test x$MISC_MAN_DIR = x    ; then
   10568     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10569 fi
   10570 
   10571 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10572     case $host_os in
   10573 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10574 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10575     esac
   10576 fi
   10577 if test x$DRIVER_MAN_DIR = x    ; then
   10578     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10579 fi
   10580 
   10581 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10582     case $host_os in
   10583 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10584 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10585     esac
   10586 fi
   10587 if test x$ADMIN_MAN_DIR = x    ; then
   10588     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10589 fi
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 XORG_MAN_PAGE="X Version 11"
   10606 
   10607 MAN_SUBSTS="\
   10608 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10609 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10610 	-e 's|__xservername__|Xorg|g' \
   10611 	-e 's|__xconfigfile__|xorg.conf|g' \
   10612 	-e 's|__projectroot__|\$(prefix)|g' \
   10613 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10614 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10615 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10616 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10617 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10618 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10619 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10620 
   10621 
   10622 
   10623 # Check whether --enable-silent-rules was given.
   10624 if test "${enable_silent_rules+set}" = set; then :
   10625   enableval=$enable_silent_rules;
   10626 fi
   10627 
   10628 case $enable_silent_rules in
   10629 yes) AM_DEFAULT_VERBOSITY=0;;
   10630 no)  AM_DEFAULT_VERBOSITY=1;;
   10631 *)   AM_DEFAULT_VERBOSITY=0;;
   10632 esac
   10633 am_make=${MAKE-make}
   10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10635 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10636 if ${am_cv_make_support_nested_variables+:} false; then :
   10637   $as_echo_n "(cached) " >&6
   10638 else
   10639   if $as_echo 'TRUE=$(BAR$(V))
   10640 BAR0=false
   10641 BAR1=true
   10642 V=1
   10643 am__doit:
   10644 	@$(TRUE)
   10645 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10646   am_cv_make_support_nested_variables=yes
   10647 else
   10648   am_cv_make_support_nested_variables=no
   10649 fi
   10650 fi
   10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10652 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10653 if test $am_cv_make_support_nested_variables = yes; then
   10654     AM_V='$(V)'
   10655   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10656 else
   10657   AM_V=$AM_DEFAULT_VERBOSITY
   10658   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10659 fi
   10660 AM_BACKSLASH='\'
   10661 
   10662 
   10663 
   10664 # Initialize libtool
   10665 # Check whether --enable-static was given.
   10666 if test "${enable_static+set}" = set; then :
   10667   enableval=$enable_static; p=${PACKAGE-default}
   10668     case $enableval in
   10669     yes) enable_static=yes ;;
   10670     no) enable_static=no ;;
   10671     *)
   10672      enable_static=no
   10673       # Look at the argument we got.  We use all the common list separators.
   10674       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10675       for pkg in $enableval; do
   10676 	IFS="$lt_save_ifs"
   10677 	if test "X$pkg" = "X$p"; then
   10678 	  enable_static=yes
   10679 	fi
   10680       done
   10681       IFS="$lt_save_ifs"
   10682       ;;
   10683     esac
   10684 else
   10685   enable_static=no
   10686 fi
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 case `pwd` in
   10697   *\ * | *\	*)
   10698     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10699 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10700 esac
   10701 
   10702 
   10703 
   10704 macro_version='2.4.2'
   10705 macro_revision='1.3337'
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 ltmain="$ac_aux_dir/ltmain.sh"
   10720 
   10721 # Backslashify metacharacters that are still active within
   10722 # double-quoted strings.
   10723 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10724 
   10725 # Same as above, but do not quote variable references.
   10726 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10727 
   10728 # Sed substitution to delay expansion of an escaped shell variable in a
   10729 # double_quote_subst'ed string.
   10730 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10731 
   10732 # Sed substitution to delay expansion of an escaped single quote.
   10733 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10734 
   10735 # Sed substitution to avoid accidental globbing in evaled expressions
   10736 no_glob_subst='s/\*/\\\*/g'
   10737 
   10738 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10739 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10740 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10741 
   10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10743 $as_echo_n "checking how to print strings... " >&6; }
   10744 # Test print first, because it will be a builtin if present.
   10745 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10746    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10747   ECHO='print -r --'
   10748 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10749   ECHO='printf %s\n'
   10750 else
   10751   # Use this function as a fallback that always works.
   10752   func_fallback_echo ()
   10753   {
   10754     eval 'cat <<_LTECHO_EOF
   10755 $1
   10756 _LTECHO_EOF'
   10757   }
   10758   ECHO='func_fallback_echo'
   10759 fi
   10760 
   10761 # func_echo_all arg...
   10762 # Invoke $ECHO with all args, space-separated.
   10763 func_echo_all ()
   10764 {
   10765     $ECHO ""
   10766 }
   10767 
   10768 case "$ECHO" in
   10769   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10770 $as_echo "printf" >&6; } ;;
   10771   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10772 $as_echo "print -r" >&6; } ;;
   10773   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10774 $as_echo "cat" >&6; } ;;
   10775 esac
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10791 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10792 if ${ac_cv_path_SED+:} false; then :
   10793   $as_echo_n "(cached) " >&6
   10794 else
   10795             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   10796      for ac_i in 1 2 3 4 5 6 7; do
   10797        ac_script="$ac_script$as_nl$ac_script"
   10798      done
   10799      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   10800      { ac_script=; unset ac_script;}
   10801      if test -z "$SED"; then
   10802   ac_path_SED_found=false
   10803   # Loop through the user's path and test for each of PROGNAME-LIST
   10804   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10805 for as_dir in $PATH
   10806 do
   10807   IFS=$as_save_IFS
   10808   test -z "$as_dir" && as_dir=.
   10809     for ac_prog in sed gsed; do
   10810     for ac_exec_ext in '' $ac_executable_extensions; do
   10811       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   10812       as_fn_executable_p "$ac_path_SED" || continue
   10813 # Check for GNU ac_path_SED and select it if it is found.
   10814   # Check for GNU $ac_path_SED
   10815 case `"$ac_path_SED" --version 2>&1` in
   10816 *GNU*)
   10817   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   10818 *)
   10819   ac_count=0
   10820   $as_echo_n 0123456789 >"conftest.in"
   10821   while :
   10822   do
   10823     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10824     mv "conftest.tmp" "conftest.in"
   10825     cp "conftest.in" "conftest.nl"
   10826     $as_echo '' >> "conftest.nl"
   10827     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10828     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10829     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10830     if test $ac_count -gt ${ac_path_SED_max-0}; then
   10831       # Best one so far, save it but keep looking for a better one
   10832       ac_cv_path_SED="$ac_path_SED"
   10833       ac_path_SED_max=$ac_count
   10834     fi
   10835     # 10*(2^10) chars as input seems more than enough
   10836     test $ac_count -gt 10 && break
   10837   done
   10838   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10839 esac
   10840 
   10841       $ac_path_SED_found && break 3
   10842     done
   10843   done
   10844   done
   10845 IFS=$as_save_IFS
   10846   if test -z "$ac_cv_path_SED"; then
   10847     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   10848   fi
   10849 else
   10850   ac_cv_path_SED=$SED
   10851 fi
   10852 
   10853 fi
   10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   10855 $as_echo "$ac_cv_path_SED" >&6; }
   10856  SED="$ac_cv_path_SED"
   10857   rm -f conftest.sed
   10858 
   10859 test -z "$SED" && SED=sed
   10860 Xsed="$SED -e 1s/^X//"
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   10873 $as_echo_n "checking for fgrep... " >&6; }
   10874 if ${ac_cv_path_FGREP+:} false; then :
   10875   $as_echo_n "(cached) " >&6
   10876 else
   10877   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   10878    then ac_cv_path_FGREP="$GREP -F"
   10879    else
   10880      if test -z "$FGREP"; then
   10881   ac_path_FGREP_found=false
   10882   # Loop through the user's path and test for each of PROGNAME-LIST
   10883   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10884 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   10885 do
   10886   IFS=$as_save_IFS
   10887   test -z "$as_dir" && as_dir=.
   10888     for ac_prog in fgrep; do
   10889     for ac_exec_ext in '' $ac_executable_extensions; do
   10890       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   10891       as_fn_executable_p "$ac_path_FGREP" || continue
   10892 # Check for GNU ac_path_FGREP and select it if it is found.
   10893   # Check for GNU $ac_path_FGREP
   10894 case `"$ac_path_FGREP" --version 2>&1` in
   10895 *GNU*)
   10896   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   10897 *)
   10898   ac_count=0
   10899   $as_echo_n 0123456789 >"conftest.in"
   10900   while :
   10901   do
   10902     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10903     mv "conftest.tmp" "conftest.in"
   10904     cp "conftest.in" "conftest.nl"
   10905     $as_echo 'FGREP' >> "conftest.nl"
   10906     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10907     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10908     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10909     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   10910       # Best one so far, save it but keep looking for a better one
   10911       ac_cv_path_FGREP="$ac_path_FGREP"
   10912       ac_path_FGREP_max=$ac_count
   10913     fi
   10914     # 10*(2^10) chars as input seems more than enough
   10915     test $ac_count -gt 10 && break
   10916   done
   10917   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10918 esac
   10919 
   10920       $ac_path_FGREP_found && break 3
   10921     done
   10922   done
   10923   done
   10924 IFS=$as_save_IFS
   10925   if test -z "$ac_cv_path_FGREP"; then
   10926     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   10927   fi
   10928 else
   10929   ac_cv_path_FGREP=$FGREP
   10930 fi
   10931 
   10932    fi
   10933 fi
   10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   10935 $as_echo "$ac_cv_path_FGREP" >&6; }
   10936  FGREP="$ac_cv_path_FGREP"
   10937 
   10938 
   10939 test -z "$GREP" && GREP=grep
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 # Check whether --with-gnu-ld was given.
   10960 if test "${with_gnu_ld+set}" = set; then :
   10961   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10962 else
   10963   with_gnu_ld=no
   10964 fi
   10965 
   10966 ac_prog=ld
   10967 if test "$GCC" = yes; then
   10968   # Check if gcc -print-prog-name=ld gives a path.
   10969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   10970 $as_echo_n "checking for ld used by $CC... " >&6; }
   10971   case $host in
   10972   *-*-mingw*)
   10973     # gcc leaves a trailing carriage return which upsets mingw
   10974     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10975   *)
   10976     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10977   esac
   10978   case $ac_prog in
   10979     # Accept absolute paths.
   10980     [\\/]* | ?:[\\/]*)
   10981       re_direlt='/[^/][^/]*/\.\./'
   10982       # Canonicalize the pathname of ld
   10983       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   10984       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   10985 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   10986       done
   10987       test -z "$LD" && LD="$ac_prog"
   10988       ;;
   10989   "")
   10990     # If it fails, then pretend we aren't using GCC.
   10991     ac_prog=ld
   10992     ;;
   10993   *)
   10994     # If it is relative, then search for the first ld in PATH.
   10995     with_gnu_ld=unknown
   10996     ;;
   10997   esac
   10998 elif test "$with_gnu_ld" = yes; then
   10999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11000 $as_echo_n "checking for GNU ld... " >&6; }
   11001 else
   11002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11003 $as_echo_n "checking for non-GNU ld... " >&6; }
   11004 fi
   11005 if ${lt_cv_path_LD+:} false; then :
   11006   $as_echo_n "(cached) " >&6
   11007 else
   11008   if test -z "$LD"; then
   11009   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11010   for ac_dir in $PATH; do
   11011     IFS="$lt_save_ifs"
   11012     test -z "$ac_dir" && ac_dir=.
   11013     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11014       lt_cv_path_LD="$ac_dir/$ac_prog"
   11015       # Check to see if the program is GNU ld.  I'd rather use --version,
   11016       # but apparently some variants of GNU ld only accept -v.
   11017       # Break only if it was the GNU/non-GNU ld that we prefer.
   11018       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11019       *GNU* | *'with BFD'*)
   11020 	test "$with_gnu_ld" != no && break
   11021 	;;
   11022       *)
   11023 	test "$with_gnu_ld" != yes && break
   11024 	;;
   11025       esac
   11026     fi
   11027   done
   11028   IFS="$lt_save_ifs"
   11029 else
   11030   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11031 fi
   11032 fi
   11033 
   11034 LD="$lt_cv_path_LD"
   11035 if test -n "$LD"; then
   11036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11037 $as_echo "$LD" >&6; }
   11038 else
   11039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11040 $as_echo "no" >&6; }
   11041 fi
   11042 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11044 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11045 if ${lt_cv_prog_gnu_ld+:} false; then :
   11046   $as_echo_n "(cached) " >&6
   11047 else
   11048   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11049 case `$LD -v 2>&1 </dev/null` in
   11050 *GNU* | *'with BFD'*)
   11051   lt_cv_prog_gnu_ld=yes
   11052   ;;
   11053 *)
   11054   lt_cv_prog_gnu_ld=no
   11055   ;;
   11056 esac
   11057 fi
   11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11059 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11060 with_gnu_ld=$lt_cv_prog_gnu_ld
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11071 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11072 if ${lt_cv_path_NM+:} false; then :
   11073   $as_echo_n "(cached) " >&6
   11074 else
   11075   if test -n "$NM"; then
   11076   # Let the user override the test.
   11077   lt_cv_path_NM="$NM"
   11078 else
   11079   lt_nm_to_check="${ac_tool_prefix}nm"
   11080   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11081     lt_nm_to_check="$lt_nm_to_check nm"
   11082   fi
   11083   for lt_tmp_nm in $lt_nm_to_check; do
   11084     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11085     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11086       IFS="$lt_save_ifs"
   11087       test -z "$ac_dir" && ac_dir=.
   11088       tmp_nm="$ac_dir/$lt_tmp_nm"
   11089       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   11090 	# Check to see if the nm accepts a BSD-compat flag.
   11091 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   11092 	#   nm: unknown option "B" ignored
   11093 	# Tru64's nm complains that /dev/null is an invalid object file
   11094 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   11095 	*/dev/null* | *'Invalid file or object type'*)
   11096 	  lt_cv_path_NM="$tmp_nm -B"
   11097 	  break
   11098 	  ;;
   11099 	*)
   11100 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11101 	  */dev/null*)
   11102 	    lt_cv_path_NM="$tmp_nm -p"
   11103 	    break
   11104 	    ;;
   11105 	  *)
   11106 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11107 	    continue # so that we can try to find one that supports BSD flags
   11108 	    ;;
   11109 	  esac
   11110 	  ;;
   11111 	esac
   11112       fi
   11113     done
   11114     IFS="$lt_save_ifs"
   11115   done
   11116   : ${lt_cv_path_NM=no}
   11117 fi
   11118 fi
   11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11120 $as_echo "$lt_cv_path_NM" >&6; }
   11121 if test "$lt_cv_path_NM" != "no"; then
   11122   NM="$lt_cv_path_NM"
   11123 else
   11124   # Didn't find any BSD compatible name lister, look for dumpbin.
   11125   if test -n "$DUMPBIN"; then :
   11126     # Let the user override the test.
   11127   else
   11128     if test -n "$ac_tool_prefix"; then
   11129   for ac_prog in dumpbin "link -dump"
   11130   do
   11131     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11134 $as_echo_n "checking for $ac_word... " >&6; }
   11135 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11136   $as_echo_n "(cached) " >&6
   11137 else
   11138   if test -n "$DUMPBIN"; then
   11139   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11140 else
   11141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11142 for as_dir in $PATH
   11143 do
   11144   IFS=$as_save_IFS
   11145   test -z "$as_dir" && as_dir=.
   11146     for ac_exec_ext in '' $ac_executable_extensions; do
   11147   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11148     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11149     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11150     break 2
   11151   fi
   11152 done
   11153   done
   11154 IFS=$as_save_IFS
   11155 
   11156 fi
   11157 fi
   11158 DUMPBIN=$ac_cv_prog_DUMPBIN
   11159 if test -n "$DUMPBIN"; then
   11160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11161 $as_echo "$DUMPBIN" >&6; }
   11162 else
   11163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11164 $as_echo "no" >&6; }
   11165 fi
   11166 
   11167 
   11168     test -n "$DUMPBIN" && break
   11169   done
   11170 fi
   11171 if test -z "$DUMPBIN"; then
   11172   ac_ct_DUMPBIN=$DUMPBIN
   11173   for ac_prog in dumpbin "link -dump"
   11174 do
   11175   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11176 set dummy $ac_prog; ac_word=$2
   11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11178 $as_echo_n "checking for $ac_word... " >&6; }
   11179 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11180   $as_echo_n "(cached) " >&6
   11181 else
   11182   if test -n "$ac_ct_DUMPBIN"; then
   11183   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11184 else
   11185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11186 for as_dir in $PATH
   11187 do
   11188   IFS=$as_save_IFS
   11189   test -z "$as_dir" && as_dir=.
   11190     for ac_exec_ext in '' $ac_executable_extensions; do
   11191   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11192     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11193     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11194     break 2
   11195   fi
   11196 done
   11197   done
   11198 IFS=$as_save_IFS
   11199 
   11200 fi
   11201 fi
   11202 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11203 if test -n "$ac_ct_DUMPBIN"; then
   11204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11205 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11206 else
   11207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11208 $as_echo "no" >&6; }
   11209 fi
   11210 
   11211 
   11212   test -n "$ac_ct_DUMPBIN" && break
   11213 done
   11214 
   11215   if test "x$ac_ct_DUMPBIN" = x; then
   11216     DUMPBIN=":"
   11217   else
   11218     case $cross_compiling:$ac_tool_warned in
   11219 yes:)
   11220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11222 ac_tool_warned=yes ;;
   11223 esac
   11224     DUMPBIN=$ac_ct_DUMPBIN
   11225   fi
   11226 fi
   11227 
   11228     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   11229     *COFF*)
   11230       DUMPBIN="$DUMPBIN -symbols"
   11231       ;;
   11232     *)
   11233       DUMPBIN=:
   11234       ;;
   11235     esac
   11236   fi
   11237 
   11238   if test "$DUMPBIN" != ":"; then
   11239     NM="$DUMPBIN"
   11240   fi
   11241 fi
   11242 test -z "$NM" && NM=nm
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11250 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11251 if ${lt_cv_nm_interface+:} false; then :
   11252   $as_echo_n "(cached) " >&6
   11253 else
   11254   lt_cv_nm_interface="BSD nm"
   11255   echo "int some_variable = 0;" > conftest.$ac_ext
   11256   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11257   (eval "$ac_compile" 2>conftest.err)
   11258   cat conftest.err >&5
   11259   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11260   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11261   cat conftest.err >&5
   11262   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11263   cat conftest.out >&5
   11264   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11265     lt_cv_nm_interface="MS dumpbin"
   11266   fi
   11267   rm -f conftest*
   11268 fi
   11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11270 $as_echo "$lt_cv_nm_interface" >&6; }
   11271 
   11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11273 $as_echo_n "checking whether ln -s works... " >&6; }
   11274 LN_S=$as_ln_s
   11275 if test "$LN_S" = "ln -s"; then
   11276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11277 $as_echo "yes" >&6; }
   11278 else
   11279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11280 $as_echo "no, using $LN_S" >&6; }
   11281 fi
   11282 
   11283 # find the maximum length of command line arguments
   11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11285 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11286 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11287   $as_echo_n "(cached) " >&6
   11288 else
   11289     i=0
   11290   teststring="ABCD"
   11291 
   11292   case $build_os in
   11293   msdosdjgpp*)
   11294     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11295     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11296     # during glob expansion).  Even if it were fixed, the result of this
   11297     # check would be larger than it should be.
   11298     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11299     ;;
   11300 
   11301   gnu*)
   11302     # Under GNU Hurd, this test is not required because there is
   11303     # no limit to the length of command line arguments.
   11304     # Libtool will interpret -1 as no limit whatsoever
   11305     lt_cv_sys_max_cmd_len=-1;
   11306     ;;
   11307 
   11308   cygwin* | mingw* | cegcc*)
   11309     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11310     # about 5 minutes as the teststring grows exponentially.
   11311     # Worse, since 9x/ME are not pre-emptively multitasking,
   11312     # you end up with a "frozen" computer, even though with patience
   11313     # the test eventually succeeds (with a max line length of 256k).
   11314     # Instead, let's just punt: use the minimum linelength reported by
   11315     # all of the supported platforms: 8192 (on NT/2K/XP).
   11316     lt_cv_sys_max_cmd_len=8192;
   11317     ;;
   11318 
   11319   mint*)
   11320     # On MiNT this can take a long time and run out of memory.
   11321     lt_cv_sys_max_cmd_len=8192;
   11322     ;;
   11323 
   11324   amigaos*)
   11325     # On AmigaOS with pdksh, this test takes hours, literally.
   11326     # So we just punt and use a minimum line length of 8192.
   11327     lt_cv_sys_max_cmd_len=8192;
   11328     ;;
   11329 
   11330   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   11331     # This has been around since 386BSD, at least.  Likely further.
   11332     if test -x /sbin/sysctl; then
   11333       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11334     elif test -x /usr/sbin/sysctl; then
   11335       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11336     else
   11337       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11338     fi
   11339     # And add a safety zone
   11340     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11341     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11342     ;;
   11343 
   11344   interix*)
   11345     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11346     lt_cv_sys_max_cmd_len=196608
   11347     ;;
   11348 
   11349   os2*)
   11350     # The test takes a long time on OS/2.
   11351     lt_cv_sys_max_cmd_len=8192
   11352     ;;
   11353 
   11354   osf*)
   11355     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11356     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11357     # nice to cause kernel panics so lets avoid the loop below.
   11358     # First set a reasonable default.
   11359     lt_cv_sys_max_cmd_len=16384
   11360     #
   11361     if test -x /sbin/sysconfig; then
   11362       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11363         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11364       esac
   11365     fi
   11366     ;;
   11367   sco3.2v5*)
   11368     lt_cv_sys_max_cmd_len=102400
   11369     ;;
   11370   sysv5* | sco5v6* | sysv4.2uw2*)
   11371     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11372     if test -n "$kargmax"; then
   11373       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11374     else
   11375       lt_cv_sys_max_cmd_len=32768
   11376     fi
   11377     ;;
   11378   *)
   11379     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11380     if test -n "$lt_cv_sys_max_cmd_len" && \
   11381 	test undefined != "$lt_cv_sys_max_cmd_len"; then
   11382       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11383       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11384     else
   11385       # Make teststring a little bigger before we do anything with it.
   11386       # a 1K string should be a reasonable start.
   11387       for i in 1 2 3 4 5 6 7 8 ; do
   11388         teststring=$teststring$teststring
   11389       done
   11390       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11391       # If test is not a shell built-in, we'll probably end up computing a
   11392       # maximum length that is only half of the actual maximum length, but
   11393       # we can't tell.
   11394       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   11395 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11396 	      test $i != 17 # 1/2 MB should be enough
   11397       do
   11398         i=`expr $i + 1`
   11399         teststring=$teststring$teststring
   11400       done
   11401       # Only check the string length outside the loop.
   11402       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11403       teststring=
   11404       # Add a significant safety factor because C++ compilers can tack on
   11405       # massive amounts of additional arguments before passing them to the
   11406       # linker.  It appears as though 1/2 is a usable value.
   11407       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11408     fi
   11409     ;;
   11410   esac
   11411 
   11412 fi
   11413 
   11414 if test -n $lt_cv_sys_max_cmd_len ; then
   11415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11416 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11417 else
   11418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11419 $as_echo "none" >&6; }
   11420 fi
   11421 max_cmd_len=$lt_cv_sys_max_cmd_len
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 : ${CP="cp -f"}
   11429 : ${MV="mv -f"}
   11430 : ${RM="rm -f"}
   11431 
   11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   11433 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   11434 # Try some XSI features
   11435 xsi_shell=no
   11436 ( _lt_dummy="a/b/c"
   11437   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   11438       = c,a/b,b/c, \
   11439     && eval 'test $(( 1 + 1 )) -eq 2 \
   11440     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   11441   && xsi_shell=yes
   11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   11443 $as_echo "$xsi_shell" >&6; }
   11444 
   11445 
   11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   11447 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   11448 lt_shell_append=no
   11449 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   11450     >/dev/null 2>&1 \
   11451   && lt_shell_append=yes
   11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   11453 $as_echo "$lt_shell_append" >&6; }
   11454 
   11455 
   11456 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11457   lt_unset=unset
   11458 else
   11459   lt_unset=false
   11460 fi
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 # test EBCDIC or ASCII
   11467 case `echo X|tr X '\101'` in
   11468  A) # ASCII based system
   11469     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11470   lt_SP2NL='tr \040 \012'
   11471   lt_NL2SP='tr \015\012 \040\040'
   11472   ;;
   11473  *) # EBCDIC based system
   11474   lt_SP2NL='tr \100 \n'
   11475   lt_NL2SP='tr \r\n \100\100'
   11476   ;;
   11477 esac
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11488 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11489 if ${lt_cv_to_host_file_cmd+:} false; then :
   11490   $as_echo_n "(cached) " >&6
   11491 else
   11492   case $host in
   11493   *-*-mingw* )
   11494     case $build in
   11495       *-*-mingw* ) # actually msys
   11496         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11497         ;;
   11498       *-*-cygwin* )
   11499         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11500         ;;
   11501       * ) # otherwise, assume *nix
   11502         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11503         ;;
   11504     esac
   11505     ;;
   11506   *-*-cygwin* )
   11507     case $build in
   11508       *-*-mingw* ) # actually msys
   11509         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11510         ;;
   11511       *-*-cygwin* )
   11512         lt_cv_to_host_file_cmd=func_convert_file_noop
   11513         ;;
   11514       * ) # otherwise, assume *nix
   11515         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11516         ;;
   11517     esac
   11518     ;;
   11519   * ) # unhandled hosts (and "normal" native builds)
   11520     lt_cv_to_host_file_cmd=func_convert_file_noop
   11521     ;;
   11522 esac
   11523 
   11524 fi
   11525 
   11526 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11528 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11535 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11536 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11537   $as_echo_n "(cached) " >&6
   11538 else
   11539   #assume ordinary cross tools, or native build.
   11540 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11541 case $host in
   11542   *-*-mingw* )
   11543     case $build in
   11544       *-*-mingw* ) # actually msys
   11545         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11546         ;;
   11547     esac
   11548     ;;
   11549 esac
   11550 
   11551 fi
   11552 
   11553 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11555 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11562 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11563 if ${lt_cv_ld_reload_flag+:} false; then :
   11564   $as_echo_n "(cached) " >&6
   11565 else
   11566   lt_cv_ld_reload_flag='-r'
   11567 fi
   11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11569 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11570 reload_flag=$lt_cv_ld_reload_flag
   11571 case $reload_flag in
   11572 "" | " "*) ;;
   11573 *) reload_flag=" $reload_flag" ;;
   11574 esac
   11575 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11576 case $host_os in
   11577   cygwin* | mingw* | pw32* | cegcc*)
   11578     if test "$GCC" != yes; then
   11579       reload_cmds=false
   11580     fi
   11581     ;;
   11582   darwin*)
   11583     if test "$GCC" = yes; then
   11584       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   11585     else
   11586       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11587     fi
   11588     ;;
   11589 esac
   11590 
   11591 
   11592 
   11593 
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 if test -n "$ac_tool_prefix"; then
   11600   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11601 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11603 $as_echo_n "checking for $ac_word... " >&6; }
   11604 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11605   $as_echo_n "(cached) " >&6
   11606 else
   11607   if test -n "$OBJDUMP"; then
   11608   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11609 else
   11610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11611 for as_dir in $PATH
   11612 do
   11613   IFS=$as_save_IFS
   11614   test -z "$as_dir" && as_dir=.
   11615     for ac_exec_ext in '' $ac_executable_extensions; do
   11616   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11617     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11619     break 2
   11620   fi
   11621 done
   11622   done
   11623 IFS=$as_save_IFS
   11624 
   11625 fi
   11626 fi
   11627 OBJDUMP=$ac_cv_prog_OBJDUMP
   11628 if test -n "$OBJDUMP"; then
   11629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11630 $as_echo "$OBJDUMP" >&6; }
   11631 else
   11632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11633 $as_echo "no" >&6; }
   11634 fi
   11635 
   11636 
   11637 fi
   11638 if test -z "$ac_cv_prog_OBJDUMP"; then
   11639   ac_ct_OBJDUMP=$OBJDUMP
   11640   # Extract the first word of "objdump", so it can be a program name with args.
   11641 set dummy objdump; ac_word=$2
   11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11643 $as_echo_n "checking for $ac_word... " >&6; }
   11644 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11645   $as_echo_n "(cached) " >&6
   11646 else
   11647   if test -n "$ac_ct_OBJDUMP"; then
   11648   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11649 else
   11650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11651 for as_dir in $PATH
   11652 do
   11653   IFS=$as_save_IFS
   11654   test -z "$as_dir" && as_dir=.
   11655     for ac_exec_ext in '' $ac_executable_extensions; do
   11656   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11657     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11659     break 2
   11660   fi
   11661 done
   11662   done
   11663 IFS=$as_save_IFS
   11664 
   11665 fi
   11666 fi
   11667 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11668 if test -n "$ac_ct_OBJDUMP"; then
   11669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11670 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11671 else
   11672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11673 $as_echo "no" >&6; }
   11674 fi
   11675 
   11676   if test "x$ac_ct_OBJDUMP" = x; then
   11677     OBJDUMP="false"
   11678   else
   11679     case $cross_compiling:$ac_tool_warned in
   11680 yes:)
   11681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11683 ac_tool_warned=yes ;;
   11684 esac
   11685     OBJDUMP=$ac_ct_OBJDUMP
   11686   fi
   11687 else
   11688   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11689 fi
   11690 
   11691 test -z "$OBJDUMP" && OBJDUMP=objdump
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11702 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11703 if ${lt_cv_deplibs_check_method+:} false; then :
   11704   $as_echo_n "(cached) " >&6
   11705 else
   11706   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11707 lt_cv_file_magic_test_file=
   11708 lt_cv_deplibs_check_method='unknown'
   11709 # Need to set the preceding variable on all platforms that support
   11710 # interlibrary dependencies.
   11711 # 'none' -- dependencies not supported.
   11712 # `unknown' -- same as none, but documents that we really don't know.
   11713 # 'pass_all' -- all dependencies passed with no checks.
   11714 # 'test_compile' -- check by making test program.
   11715 # 'file_magic [[regex]]' -- check by looking for files in library path
   11716 # which responds to the $file_magic_cmd with a given extended regex.
   11717 # If you have `file' or equivalent on your system and you're not sure
   11718 # whether `pass_all' will *always* work, you probably want this one.
   11719 
   11720 case $host_os in
   11721 aix[4-9]*)
   11722   lt_cv_deplibs_check_method=pass_all
   11723   ;;
   11724 
   11725 beos*)
   11726   lt_cv_deplibs_check_method=pass_all
   11727   ;;
   11728 
   11729 bsdi[45]*)
   11730   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11731   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11732   lt_cv_file_magic_test_file=/shlib/libc.so
   11733   ;;
   11734 
   11735 cygwin*)
   11736   # func_win32_libid is a shell function defined in ltmain.sh
   11737   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11738   lt_cv_file_magic_cmd='func_win32_libid'
   11739   ;;
   11740 
   11741 mingw* | pw32*)
   11742   # Base MSYS/MinGW do not provide the 'file' command needed by
   11743   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11744   # unless we find 'file', for example because we are cross-compiling.
   11745   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   11746   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   11747     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11748     lt_cv_file_magic_cmd='func_win32_libid'
   11749   else
   11750     # Keep this pattern in sync with the one in func_win32_libid.
   11751     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11752     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11753   fi
   11754   ;;
   11755 
   11756 cegcc*)
   11757   # use the weaker test based on 'objdump'. See mingw*.
   11758   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11759   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11760   ;;
   11761 
   11762 darwin* | rhapsody*)
   11763   lt_cv_deplibs_check_method=pass_all
   11764   ;;
   11765 
   11766 freebsd* | dragonfly*)
   11767   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11768     case $host_cpu in
   11769     i*86 )
   11770       # Not sure whether the presence of OpenBSD here was a mistake.
   11771       # Let's accept both of them until this is cleared up.
   11772       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11773       lt_cv_file_magic_cmd=/usr/bin/file
   11774       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11775       ;;
   11776     esac
   11777   else
   11778     lt_cv_deplibs_check_method=pass_all
   11779   fi
   11780   ;;
   11781 
   11782 haiku*)
   11783   lt_cv_deplibs_check_method=pass_all
   11784   ;;
   11785 
   11786 hpux10.20* | hpux11*)
   11787   lt_cv_file_magic_cmd=/usr/bin/file
   11788   case $host_cpu in
   11789   ia64*)
   11790     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11791     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11792     ;;
   11793   hppa*64*)
   11794     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   11795     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11796     ;;
   11797   *)
   11798     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11799     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11800     ;;
   11801   esac
   11802   ;;
   11803 
   11804 interix[3-9]*)
   11805   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11806   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11807   ;;
   11808 
   11809 irix5* | irix6* | nonstopux*)
   11810   case $LD in
   11811   *-32|*"-32 ") libmagic=32-bit;;
   11812   *-n32|*"-n32 ") libmagic=N32;;
   11813   *-64|*"-64 ") libmagic=64-bit;;
   11814   *) libmagic=never-match;;
   11815   esac
   11816   lt_cv_deplibs_check_method=pass_all
   11817   ;;
   11818 
   11819 # This must be glibc/ELF.
   11820 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11821   lt_cv_deplibs_check_method=pass_all
   11822   ;;
   11823 
   11824 netbsd* | netbsdelf*-gnu)
   11825   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11826     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11827   else
   11828     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   11829   fi
   11830   ;;
   11831 
   11832 newos6*)
   11833   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   11834   lt_cv_file_magic_cmd=/usr/bin/file
   11835   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   11836   ;;
   11837 
   11838 *nto* | *qnx*)
   11839   lt_cv_deplibs_check_method=pass_all
   11840   ;;
   11841 
   11842 openbsd*)
   11843   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11844     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   11845   else
   11846     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11847   fi
   11848   ;;
   11849 
   11850 osf3* | osf4* | osf5*)
   11851   lt_cv_deplibs_check_method=pass_all
   11852   ;;
   11853 
   11854 rdos*)
   11855   lt_cv_deplibs_check_method=pass_all
   11856   ;;
   11857 
   11858 solaris*)
   11859   lt_cv_deplibs_check_method=pass_all
   11860   ;;
   11861 
   11862 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11863   lt_cv_deplibs_check_method=pass_all
   11864   ;;
   11865 
   11866 sysv4 | sysv4.3*)
   11867   case $host_vendor in
   11868   motorola)
   11869     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
   11870     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   11871     ;;
   11872   ncr)
   11873     lt_cv_deplibs_check_method=pass_all
   11874     ;;
   11875   sequent)
   11876     lt_cv_file_magic_cmd='/bin/file'
   11877     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   11878     ;;
   11879   sni)
   11880     lt_cv_file_magic_cmd='/bin/file'
   11881     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   11882     lt_cv_file_magic_test_file=/lib/libc.so
   11883     ;;
   11884   siemens)
   11885     lt_cv_deplibs_check_method=pass_all
   11886     ;;
   11887   pc)
   11888     lt_cv_deplibs_check_method=pass_all
   11889     ;;
   11890   esac
   11891   ;;
   11892 
   11893 tpf*)
   11894   lt_cv_deplibs_check_method=pass_all
   11895   ;;
   11896 esac
   11897 
   11898 fi
   11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   11900 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   11901 
   11902 file_magic_glob=
   11903 want_nocaseglob=no
   11904 if test "$build" = "$host"; then
   11905   case $host_os in
   11906   mingw* | pw32*)
   11907     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   11908       want_nocaseglob=yes
   11909     else
   11910       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   11911     fi
   11912     ;;
   11913   esac
   11914 fi
   11915 
   11916 file_magic_cmd=$lt_cv_file_magic_cmd
   11917 deplibs_check_method=$lt_cv_deplibs_check_method
   11918 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 if test -n "$ac_tool_prefix"; then
   11942   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   11943 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11945 $as_echo_n "checking for $ac_word... " >&6; }
   11946 if ${ac_cv_prog_DLLTOOL+:} false; then :
   11947   $as_echo_n "(cached) " >&6
   11948 else
   11949   if test -n "$DLLTOOL"; then
   11950   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   11951 else
   11952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11953 for as_dir in $PATH
   11954 do
   11955   IFS=$as_save_IFS
   11956   test -z "$as_dir" && as_dir=.
   11957     for ac_exec_ext in '' $ac_executable_extensions; do
   11958   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11959     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   11960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11961     break 2
   11962   fi
   11963 done
   11964   done
   11965 IFS=$as_save_IFS
   11966 
   11967 fi
   11968 fi
   11969 DLLTOOL=$ac_cv_prog_DLLTOOL
   11970 if test -n "$DLLTOOL"; then
   11971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   11972 $as_echo "$DLLTOOL" >&6; }
   11973 else
   11974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11975 $as_echo "no" >&6; }
   11976 fi
   11977 
   11978 
   11979 fi
   11980 if test -z "$ac_cv_prog_DLLTOOL"; then
   11981   ac_ct_DLLTOOL=$DLLTOOL
   11982   # Extract the first word of "dlltool", so it can be a program name with args.
   11983 set dummy dlltool; ac_word=$2
   11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11985 $as_echo_n "checking for $ac_word... " >&6; }
   11986 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   11987   $as_echo_n "(cached) " >&6
   11988 else
   11989   if test -n "$ac_ct_DLLTOOL"; then
   11990   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   11991 else
   11992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11993 for as_dir in $PATH
   11994 do
   11995   IFS=$as_save_IFS
   11996   test -z "$as_dir" && as_dir=.
   11997     for ac_exec_ext in '' $ac_executable_extensions; do
   11998   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11999     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12001     break 2
   12002   fi
   12003 done
   12004   done
   12005 IFS=$as_save_IFS
   12006 
   12007 fi
   12008 fi
   12009 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12010 if test -n "$ac_ct_DLLTOOL"; then
   12011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12012 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12013 else
   12014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12015 $as_echo "no" >&6; }
   12016 fi
   12017 
   12018   if test "x$ac_ct_DLLTOOL" = x; then
   12019     DLLTOOL="false"
   12020   else
   12021     case $cross_compiling:$ac_tool_warned in
   12022 yes:)
   12023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12025 ac_tool_warned=yes ;;
   12026 esac
   12027     DLLTOOL=$ac_ct_DLLTOOL
   12028   fi
   12029 else
   12030   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12031 fi
   12032 
   12033 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12045 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12046 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12047   $as_echo_n "(cached) " >&6
   12048 else
   12049   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12050 
   12051 case $host_os in
   12052 cygwin* | mingw* | pw32* | cegcc*)
   12053   # two different shell functions defined in ltmain.sh
   12054   # decide which to use based on capabilities of $DLLTOOL
   12055   case `$DLLTOOL --help 2>&1` in
   12056   *--identify-strict*)
   12057     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12058     ;;
   12059   *)
   12060     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12061     ;;
   12062   esac
   12063   ;;
   12064 *)
   12065   # fallback: assume linklib IS sharedlib
   12066   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   12067   ;;
   12068 esac
   12069 
   12070 fi
   12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12072 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12073 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12074 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 if test -n "$ac_tool_prefix"; then
   12083   for ac_prog in ar
   12084   do
   12085     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12088 $as_echo_n "checking for $ac_word... " >&6; }
   12089 if ${ac_cv_prog_AR+:} false; then :
   12090   $as_echo_n "(cached) " >&6
   12091 else
   12092   if test -n "$AR"; then
   12093   ac_cv_prog_AR="$AR" # Let the user override the test.
   12094 else
   12095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12096 for as_dir in $PATH
   12097 do
   12098   IFS=$as_save_IFS
   12099   test -z "$as_dir" && as_dir=.
   12100     for ac_exec_ext in '' $ac_executable_extensions; do
   12101   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12102     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12104     break 2
   12105   fi
   12106 done
   12107   done
   12108 IFS=$as_save_IFS
   12109 
   12110 fi
   12111 fi
   12112 AR=$ac_cv_prog_AR
   12113 if test -n "$AR"; then
   12114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12115 $as_echo "$AR" >&6; }
   12116 else
   12117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12118 $as_echo "no" >&6; }
   12119 fi
   12120 
   12121 
   12122     test -n "$AR" && break
   12123   done
   12124 fi
   12125 if test -z "$AR"; then
   12126   ac_ct_AR=$AR
   12127   for ac_prog in ar
   12128 do
   12129   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12130 set dummy $ac_prog; ac_word=$2
   12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12132 $as_echo_n "checking for $ac_word... " >&6; }
   12133 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12134   $as_echo_n "(cached) " >&6
   12135 else
   12136   if test -n "$ac_ct_AR"; then
   12137   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12138 else
   12139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12140 for as_dir in $PATH
   12141 do
   12142   IFS=$as_save_IFS
   12143   test -z "$as_dir" && as_dir=.
   12144     for ac_exec_ext in '' $ac_executable_extensions; do
   12145   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12146     ac_cv_prog_ac_ct_AR="$ac_prog"
   12147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12148     break 2
   12149   fi
   12150 done
   12151   done
   12152 IFS=$as_save_IFS
   12153 
   12154 fi
   12155 fi
   12156 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12157 if test -n "$ac_ct_AR"; then
   12158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12159 $as_echo "$ac_ct_AR" >&6; }
   12160 else
   12161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12162 $as_echo "no" >&6; }
   12163 fi
   12164 
   12165 
   12166   test -n "$ac_ct_AR" && break
   12167 done
   12168 
   12169   if test "x$ac_ct_AR" = x; then
   12170     AR="false"
   12171   else
   12172     case $cross_compiling:$ac_tool_warned in
   12173 yes:)
   12174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12176 ac_tool_warned=yes ;;
   12177 esac
   12178     AR=$ac_ct_AR
   12179   fi
   12180 fi
   12181 
   12182 : ${AR=ar}
   12183 : ${AR_FLAGS=cru}
   12184 
   12185 
   12186 
   12187 
   12188 
   12189 
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12196 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12197 if ${lt_cv_ar_at_file+:} false; then :
   12198   $as_echo_n "(cached) " >&6
   12199 else
   12200   lt_cv_ar_at_file=no
   12201    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12202 /* end confdefs.h.  */
   12203 
   12204 int
   12205 main ()
   12206 {
   12207 
   12208   ;
   12209   return 0;
   12210 }
   12211 _ACEOF
   12212 if ac_fn_c_try_compile "$LINENO"; then :
   12213   echo conftest.$ac_objext > conftest.lst
   12214       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12215       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12216   (eval $lt_ar_try) 2>&5
   12217   ac_status=$?
   12218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12219   test $ac_status = 0; }
   12220       if test "$ac_status" -eq 0; then
   12221 	# Ensure the archiver fails upon bogus file names.
   12222 	rm -f conftest.$ac_objext libconftest.a
   12223 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12224   (eval $lt_ar_try) 2>&5
   12225   ac_status=$?
   12226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12227   test $ac_status = 0; }
   12228 	if test "$ac_status" -ne 0; then
   12229           lt_cv_ar_at_file=@
   12230         fi
   12231       fi
   12232       rm -f conftest.* libconftest.a
   12233 
   12234 fi
   12235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12236 
   12237 fi
   12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12239 $as_echo "$lt_cv_ar_at_file" >&6; }
   12240 
   12241 if test "x$lt_cv_ar_at_file" = xno; then
   12242   archiver_list_spec=
   12243 else
   12244   archiver_list_spec=$lt_cv_ar_at_file
   12245 fi
   12246 
   12247 
   12248 
   12249 
   12250 
   12251 
   12252 
   12253 if test -n "$ac_tool_prefix"; then
   12254   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12255 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12257 $as_echo_n "checking for $ac_word... " >&6; }
   12258 if ${ac_cv_prog_STRIP+:} false; then :
   12259   $as_echo_n "(cached) " >&6
   12260 else
   12261   if test -n "$STRIP"; then
   12262   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12263 else
   12264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12265 for as_dir in $PATH
   12266 do
   12267   IFS=$as_save_IFS
   12268   test -z "$as_dir" && as_dir=.
   12269     for ac_exec_ext in '' $ac_executable_extensions; do
   12270   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12271     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12273     break 2
   12274   fi
   12275 done
   12276   done
   12277 IFS=$as_save_IFS
   12278 
   12279 fi
   12280 fi
   12281 STRIP=$ac_cv_prog_STRIP
   12282 if test -n "$STRIP"; then
   12283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12284 $as_echo "$STRIP" >&6; }
   12285 else
   12286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12287 $as_echo "no" >&6; }
   12288 fi
   12289 
   12290 
   12291 fi
   12292 if test -z "$ac_cv_prog_STRIP"; then
   12293   ac_ct_STRIP=$STRIP
   12294   # Extract the first word of "strip", so it can be a program name with args.
   12295 set dummy strip; ac_word=$2
   12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12297 $as_echo_n "checking for $ac_word... " >&6; }
   12298 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12299   $as_echo_n "(cached) " >&6
   12300 else
   12301   if test -n "$ac_ct_STRIP"; then
   12302   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12303 else
   12304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12305 for as_dir in $PATH
   12306 do
   12307   IFS=$as_save_IFS
   12308   test -z "$as_dir" && as_dir=.
   12309     for ac_exec_ext in '' $ac_executable_extensions; do
   12310   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12311     ac_cv_prog_ac_ct_STRIP="strip"
   12312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12313     break 2
   12314   fi
   12315 done
   12316   done
   12317 IFS=$as_save_IFS
   12318 
   12319 fi
   12320 fi
   12321 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12322 if test -n "$ac_ct_STRIP"; then
   12323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12324 $as_echo "$ac_ct_STRIP" >&6; }
   12325 else
   12326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12327 $as_echo "no" >&6; }
   12328 fi
   12329 
   12330   if test "x$ac_ct_STRIP" = x; then
   12331     STRIP=":"
   12332   else
   12333     case $cross_compiling:$ac_tool_warned in
   12334 yes:)
   12335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12337 ac_tool_warned=yes ;;
   12338 esac
   12339     STRIP=$ac_ct_STRIP
   12340   fi
   12341 else
   12342   STRIP="$ac_cv_prog_STRIP"
   12343 fi
   12344 
   12345 test -z "$STRIP" && STRIP=:
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 if test -n "$ac_tool_prefix"; then
   12353   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12354 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12356 $as_echo_n "checking for $ac_word... " >&6; }
   12357 if ${ac_cv_prog_RANLIB+:} false; then :
   12358   $as_echo_n "(cached) " >&6
   12359 else
   12360   if test -n "$RANLIB"; then
   12361   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12362 else
   12363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12364 for as_dir in $PATH
   12365 do
   12366   IFS=$as_save_IFS
   12367   test -z "$as_dir" && as_dir=.
   12368     for ac_exec_ext in '' $ac_executable_extensions; do
   12369   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12370     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12372     break 2
   12373   fi
   12374 done
   12375   done
   12376 IFS=$as_save_IFS
   12377 
   12378 fi
   12379 fi
   12380 RANLIB=$ac_cv_prog_RANLIB
   12381 if test -n "$RANLIB"; then
   12382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12383 $as_echo "$RANLIB" >&6; }
   12384 else
   12385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12386 $as_echo "no" >&6; }
   12387 fi
   12388 
   12389 
   12390 fi
   12391 if test -z "$ac_cv_prog_RANLIB"; then
   12392   ac_ct_RANLIB=$RANLIB
   12393   # Extract the first word of "ranlib", so it can be a program name with args.
   12394 set dummy ranlib; ac_word=$2
   12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12396 $as_echo_n "checking for $ac_word... " >&6; }
   12397 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12398   $as_echo_n "(cached) " >&6
   12399 else
   12400   if test -n "$ac_ct_RANLIB"; then
   12401   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12402 else
   12403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12404 for as_dir in $PATH
   12405 do
   12406   IFS=$as_save_IFS
   12407   test -z "$as_dir" && as_dir=.
   12408     for ac_exec_ext in '' $ac_executable_extensions; do
   12409   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12410     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12412     break 2
   12413   fi
   12414 done
   12415   done
   12416 IFS=$as_save_IFS
   12417 
   12418 fi
   12419 fi
   12420 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12421 if test -n "$ac_ct_RANLIB"; then
   12422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12423 $as_echo "$ac_ct_RANLIB" >&6; }
   12424 else
   12425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12426 $as_echo "no" >&6; }
   12427 fi
   12428 
   12429   if test "x$ac_ct_RANLIB" = x; then
   12430     RANLIB=":"
   12431   else
   12432     case $cross_compiling:$ac_tool_warned in
   12433 yes:)
   12434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12436 ac_tool_warned=yes ;;
   12437 esac
   12438     RANLIB=$ac_ct_RANLIB
   12439   fi
   12440 else
   12441   RANLIB="$ac_cv_prog_RANLIB"
   12442 fi
   12443 
   12444 test -z "$RANLIB" && RANLIB=:
   12445 
   12446 
   12447 
   12448 
   12449 
   12450 
   12451 # Determine commands to create old-style static archives.
   12452 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12453 old_postinstall_cmds='chmod 644 $oldlib'
   12454 old_postuninstall_cmds=
   12455 
   12456 if test -n "$RANLIB"; then
   12457   case $host_os in
   12458   openbsd*)
   12459     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12460     ;;
   12461   *)
   12462     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12463     ;;
   12464   esac
   12465   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12466 fi
   12467 
   12468 case $host_os in
   12469   darwin*)
   12470     lock_old_archive_extraction=yes ;;
   12471   *)
   12472     lock_old_archive_extraction=no ;;
   12473 esac
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 
   12489 
   12490 
   12491 
   12492 
   12493 
   12494 
   12495 
   12496 
   12497 
   12498 
   12499 
   12500 
   12501 
   12502 
   12503 
   12504 
   12505 
   12506 
   12507 
   12508 
   12509 
   12510 
   12511 
   12512 
   12513 # If no C compiler was specified, use CC.
   12514 LTCC=${LTCC-"$CC"}
   12515 
   12516 # If no C compiler flags were specified, use CFLAGS.
   12517 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12518 
   12519 # Allow CC to be a program name with arguments.
   12520 compiler=$CC
   12521 
   12522 
   12523 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12525 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12526 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12527   $as_echo_n "(cached) " >&6
   12528 else
   12529 
   12530 # These are sane defaults that work on at least a few old systems.
   12531 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12532 
   12533 # Character class describing NM global symbol codes.
   12534 symcode='[BCDEGRST]'
   12535 
   12536 # Regexp to match symbols that can be accessed directly from C.
   12537 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12538 
   12539 # Define system-specific variables.
   12540 case $host_os in
   12541 aix*)
   12542   symcode='[BCDT]'
   12543   ;;
   12544 cygwin* | mingw* | pw32* | cegcc*)
   12545   symcode='[ABCDGISTW]'
   12546   ;;
   12547 hpux*)
   12548   if test "$host_cpu" = ia64; then
   12549     symcode='[ABCDEGRST]'
   12550   fi
   12551   ;;
   12552 irix* | nonstopux*)
   12553   symcode='[BCDEGRST]'
   12554   ;;
   12555 osf*)
   12556   symcode='[BCDEGQRST]'
   12557   ;;
   12558 solaris*)
   12559   symcode='[BDRT]'
   12560   ;;
   12561 sco3.2v5*)
   12562   symcode='[DT]'
   12563   ;;
   12564 sysv4.2uw2*)
   12565   symcode='[DT]'
   12566   ;;
   12567 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12568   symcode='[ABDT]'
   12569   ;;
   12570 sysv4)
   12571   symcode='[DFNSTU]'
   12572   ;;
   12573 esac
   12574 
   12575 # If we're using GNU nm, then use its standard symbol codes.
   12576 case `$NM -V 2>&1` in
   12577 *GNU* | *'with BFD'*)
   12578   symcode='[ABCDGIRSTW]' ;;
   12579 esac
   12580 
   12581 # Transform an extracted symbol line into a proper C declaration.
   12582 # Some systems (esp. on ia64) link data and code symbols differently,
   12583 # so use this general approach.
   12584 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   12585 
   12586 # Transform an extracted symbol line into symbol name and symbol address
   12587 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   12588 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   12589 
   12590 # Handle CRLF in mingw tool chain
   12591 opt_cr=
   12592 case $build_os in
   12593 mingw*)
   12594   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12595   ;;
   12596 esac
   12597 
   12598 # Try without a prefix underscore, then with it.
   12599 for ac_symprfx in "" "_"; do
   12600 
   12601   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12602   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12603 
   12604   # Write the raw and C identifiers.
   12605   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12606     # Fake it for dumpbin and say T for any non-static function
   12607     # and D for any global variable.
   12608     # Also find C++ and __fastcall symbols from MSVC++,
   12609     # which start with @ or ?.
   12610     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12611 "     {last_section=section; section=\$ 3};"\
   12612 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12613 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12614 "     \$ 0!~/External *\|/{next};"\
   12615 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12616 "     {if(hide[section]) next};"\
   12617 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   12618 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   12619 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   12620 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   12621 "     ' prfx=^$ac_symprfx"
   12622   else
   12623     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12624   fi
   12625   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12626 
   12627   # Check to see that the pipe works correctly.
   12628   pipe_works=no
   12629 
   12630   rm -f conftest*
   12631   cat > conftest.$ac_ext <<_LT_EOF
   12632 #ifdef __cplusplus
   12633 extern "C" {
   12634 #endif
   12635 char nm_test_var;
   12636 void nm_test_func(void);
   12637 void nm_test_func(void){}
   12638 #ifdef __cplusplus
   12639 }
   12640 #endif
   12641 int main(){nm_test_var='a';nm_test_func();return(0);}
   12642 _LT_EOF
   12643 
   12644   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12645   (eval $ac_compile) 2>&5
   12646   ac_status=$?
   12647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12648   test $ac_status = 0; }; then
   12649     # Now try to grab the symbols.
   12650     nlist=conftest.nm
   12651     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12652   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12653   ac_status=$?
   12654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12655   test $ac_status = 0; } && test -s "$nlist"; then
   12656       # Try sorting and uniquifying the output.
   12657       if sort "$nlist" | uniq > "$nlist"T; then
   12658 	mv -f "$nlist"T "$nlist"
   12659       else
   12660 	rm -f "$nlist"T
   12661       fi
   12662 
   12663       # Make sure that we snagged all the symbols we need.
   12664       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12665 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12666 	  cat <<_LT_EOF > conftest.$ac_ext
   12667 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12668 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   12669 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   12670    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12671 # define LT_DLSYM_CONST
   12672 #elif defined(__osf__)
   12673 /* This system does not cope well with relocations in const data.  */
   12674 # define LT_DLSYM_CONST
   12675 #else
   12676 # define LT_DLSYM_CONST const
   12677 #endif
   12678 
   12679 #ifdef __cplusplus
   12680 extern "C" {
   12681 #endif
   12682 
   12683 _LT_EOF
   12684 	  # Now generate the symbol file.
   12685 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12686 
   12687 	  cat <<_LT_EOF >> conftest.$ac_ext
   12688 
   12689 /* The mapping between symbol names and symbols.  */
   12690 LT_DLSYM_CONST struct {
   12691   const char *name;
   12692   void       *address;
   12693 }
   12694 lt__PROGRAM__LTX_preloaded_symbols[] =
   12695 {
   12696   { "@PROGRAM@", (void *) 0 },
   12697 _LT_EOF
   12698 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12699 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12700   {0, (void *) 0}
   12701 };
   12702 
   12703 /* This works around a problem in FreeBSD linker */
   12704 #ifdef FREEBSD_WORKAROUND
   12705 static const void *lt_preloaded_setup() {
   12706   return lt__PROGRAM__LTX_preloaded_symbols;
   12707 }
   12708 #endif
   12709 
   12710 #ifdef __cplusplus
   12711 }
   12712 #endif
   12713 _LT_EOF
   12714 	  # Now try linking the two files.
   12715 	  mv conftest.$ac_objext conftstm.$ac_objext
   12716 	  lt_globsym_save_LIBS=$LIBS
   12717 	  lt_globsym_save_CFLAGS=$CFLAGS
   12718 	  LIBS="conftstm.$ac_objext"
   12719 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12720 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12721   (eval $ac_link) 2>&5
   12722   ac_status=$?
   12723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12724   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   12725 	    pipe_works=yes
   12726 	  fi
   12727 	  LIBS=$lt_globsym_save_LIBS
   12728 	  CFLAGS=$lt_globsym_save_CFLAGS
   12729 	else
   12730 	  echo "cannot find nm_test_func in $nlist" >&5
   12731 	fi
   12732       else
   12733 	echo "cannot find nm_test_var in $nlist" >&5
   12734       fi
   12735     else
   12736       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12737     fi
   12738   else
   12739     echo "$progname: failed program was:" >&5
   12740     cat conftest.$ac_ext >&5
   12741   fi
   12742   rm -rf conftest* conftst*
   12743 
   12744   # Do not use the global_symbol_pipe unless it works.
   12745   if test "$pipe_works" = yes; then
   12746     break
   12747   else
   12748     lt_cv_sys_global_symbol_pipe=
   12749   fi
   12750 done
   12751 
   12752 fi
   12753 
   12754 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12755   lt_cv_sys_global_symbol_to_cdecl=
   12756 fi
   12757 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12759 $as_echo "failed" >&6; }
   12760 else
   12761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12762 $as_echo "ok" >&6; }
   12763 fi
   12764 
   12765 # Response file support.
   12766 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12767   nm_file_list_spec='@'
   12768 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12769   nm_file_list_spec='@'
   12770 fi
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   12799 $as_echo_n "checking for sysroot... " >&6; }
   12800 
   12801 # Check whether --with-sysroot was given.
   12802 if test "${with_sysroot+set}" = set; then :
   12803   withval=$with_sysroot;
   12804 else
   12805   with_sysroot=no
   12806 fi
   12807 
   12808 
   12809 lt_sysroot=
   12810 case ${with_sysroot} in #(
   12811  yes)
   12812    if test "$GCC" = yes; then
   12813      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   12814    fi
   12815    ;; #(
   12816  /*)
   12817    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   12818    ;; #(
   12819  no|'')
   12820    ;; #(
   12821  *)
   12822    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   12823 $as_echo "${with_sysroot}" >&6; }
   12824    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   12825    ;;
   12826 esac
   12827 
   12828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   12829 $as_echo "${lt_sysroot:-no}" >&6; }
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 # Check whether --enable-libtool-lock was given.
   12836 if test "${enable_libtool_lock+set}" = set; then :
   12837   enableval=$enable_libtool_lock;
   12838 fi
   12839 
   12840 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   12841 
   12842 # Some flags need to be propagated to the compiler or linker for good
   12843 # libtool support.
   12844 case $host in
   12845 ia64-*-hpux*)
   12846   # Find out which ABI we are using.
   12847   echo 'int i;' > conftest.$ac_ext
   12848   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12849   (eval $ac_compile) 2>&5
   12850   ac_status=$?
   12851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12852   test $ac_status = 0; }; then
   12853     case `/usr/bin/file conftest.$ac_objext` in
   12854       *ELF-32*)
   12855 	HPUX_IA64_MODE="32"
   12856 	;;
   12857       *ELF-64*)
   12858 	HPUX_IA64_MODE="64"
   12859 	;;
   12860     esac
   12861   fi
   12862   rm -rf conftest*
   12863   ;;
   12864 *-*-irix6*)
   12865   # Find out which ABI we are using.
   12866   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   12867   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12868   (eval $ac_compile) 2>&5
   12869   ac_status=$?
   12870   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12871   test $ac_status = 0; }; then
   12872     if test "$lt_cv_prog_gnu_ld" = yes; then
   12873       case `/usr/bin/file conftest.$ac_objext` in
   12874 	*32-bit*)
   12875 	  LD="${LD-ld} -melf32bsmip"
   12876 	  ;;
   12877 	*N32*)
   12878 	  LD="${LD-ld} -melf32bmipn32"
   12879 	  ;;
   12880 	*64-bit*)
   12881 	  LD="${LD-ld} -melf64bmip"
   12882 	;;
   12883       esac
   12884     else
   12885       case `/usr/bin/file conftest.$ac_objext` in
   12886 	*32-bit*)
   12887 	  LD="${LD-ld} -32"
   12888 	  ;;
   12889 	*N32*)
   12890 	  LD="${LD-ld} -n32"
   12891 	  ;;
   12892 	*64-bit*)
   12893 	  LD="${LD-ld} -64"
   12894 	  ;;
   12895       esac
   12896     fi
   12897   fi
   12898   rm -rf conftest*
   12899   ;;
   12900 
   12901 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   12902 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   12903   # Find out which ABI we are using.
   12904   echo 'int i;' > conftest.$ac_ext
   12905   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12906   (eval $ac_compile) 2>&5
   12907   ac_status=$?
   12908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12909   test $ac_status = 0; }; then
   12910     case `/usr/bin/file conftest.o` in
   12911       *32-bit*)
   12912 	case $host in
   12913 	  x86_64-*kfreebsd*-gnu)
   12914 	    LD="${LD-ld} -m elf_i386_fbsd"
   12915 	    ;;
   12916 	  x86_64-*linux*)
   12917 	    case `/usr/bin/file conftest.o` in
   12918 	      *x86-64*)
   12919 		LD="${LD-ld} -m elf32_x86_64"
   12920 		;;
   12921 	      *)
   12922 		LD="${LD-ld} -m elf_i386"
   12923 		;;
   12924 	    esac
   12925 	    ;;
   12926 	  ppc64-*linux*|powerpc64-*linux*)
   12927 	    LD="${LD-ld} -m elf32ppclinux"
   12928 	    ;;
   12929 	  s390x-*linux*)
   12930 	    LD="${LD-ld} -m elf_s390"
   12931 	    ;;
   12932 	  sparc64-*linux*)
   12933 	    LD="${LD-ld} -m elf32_sparc"
   12934 	    ;;
   12935 	esac
   12936 	;;
   12937       *64-bit*)
   12938 	case $host in
   12939 	  x86_64-*kfreebsd*-gnu)
   12940 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   12941 	    ;;
   12942 	  x86_64-*linux*)
   12943 	    LD="${LD-ld} -m elf_x86_64"
   12944 	    ;;
   12945 	  ppc*-*linux*|powerpc*-*linux*)
   12946 	    LD="${LD-ld} -m elf64ppc"
   12947 	    ;;
   12948 	  s390*-*linux*|s390*-*tpf*)
   12949 	    LD="${LD-ld} -m elf64_s390"
   12950 	    ;;
   12951 	  sparc*-*linux*)
   12952 	    LD="${LD-ld} -m elf64_sparc"
   12953 	    ;;
   12954 	esac
   12955 	;;
   12956     esac
   12957   fi
   12958   rm -rf conftest*
   12959   ;;
   12960 
   12961 *-*-sco3.2v5*)
   12962   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   12963   SAVE_CFLAGS="$CFLAGS"
   12964   CFLAGS="$CFLAGS -belf"
   12965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   12966 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   12967 if ${lt_cv_cc_needs_belf+:} false; then :
   12968   $as_echo_n "(cached) " >&6
   12969 else
   12970   ac_ext=c
   12971 ac_cpp='$CPP $CPPFLAGS'
   12972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12975 
   12976      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12977 /* end confdefs.h.  */
   12978 
   12979 int
   12980 main ()
   12981 {
   12982 
   12983   ;
   12984   return 0;
   12985 }
   12986 _ACEOF
   12987 if ac_fn_c_try_link "$LINENO"; then :
   12988   lt_cv_cc_needs_belf=yes
   12989 else
   12990   lt_cv_cc_needs_belf=no
   12991 fi
   12992 rm -f core conftest.err conftest.$ac_objext \
   12993     conftest$ac_exeext conftest.$ac_ext
   12994      ac_ext=c
   12995 ac_cpp='$CPP $CPPFLAGS'
   12996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12999 
   13000 fi
   13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13002 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13003   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   13004     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13005     CFLAGS="$SAVE_CFLAGS"
   13006   fi
   13007   ;;
   13008 *-*solaris*)
   13009   # Find out which ABI we are using.
   13010   echo 'int i;' > conftest.$ac_ext
   13011   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13012   (eval $ac_compile) 2>&5
   13013   ac_status=$?
   13014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13015   test $ac_status = 0; }; then
   13016     case `/usr/bin/file conftest.o` in
   13017     *64-bit*)
   13018       case $lt_cv_prog_gnu_ld in
   13019       yes*)
   13020         case $host in
   13021         i?86-*-solaris*)
   13022           LD="${LD-ld} -m elf_x86_64"
   13023           ;;
   13024         sparc*-*-solaris*)
   13025           LD="${LD-ld} -m elf64_sparc"
   13026           ;;
   13027         esac
   13028         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13029         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13030           LD="${LD-ld}_sol2"
   13031         fi
   13032         ;;
   13033       *)
   13034 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13035 	  LD="${LD-ld} -64"
   13036 	fi
   13037 	;;
   13038       esac
   13039       ;;
   13040     esac
   13041   fi
   13042   rm -rf conftest*
   13043   ;;
   13044 esac
   13045 
   13046 need_locks="$enable_libtool_lock"
   13047 
   13048 if test -n "$ac_tool_prefix"; then
   13049   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13050 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13052 $as_echo_n "checking for $ac_word... " >&6; }
   13053 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13054   $as_echo_n "(cached) " >&6
   13055 else
   13056   if test -n "$MANIFEST_TOOL"; then
   13057   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13058 else
   13059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13060 for as_dir in $PATH
   13061 do
   13062   IFS=$as_save_IFS
   13063   test -z "$as_dir" && as_dir=.
   13064     for ac_exec_ext in '' $ac_executable_extensions; do
   13065   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13066     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13068     break 2
   13069   fi
   13070 done
   13071   done
   13072 IFS=$as_save_IFS
   13073 
   13074 fi
   13075 fi
   13076 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13077 if test -n "$MANIFEST_TOOL"; then
   13078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13079 $as_echo "$MANIFEST_TOOL" >&6; }
   13080 else
   13081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13082 $as_echo "no" >&6; }
   13083 fi
   13084 
   13085 
   13086 fi
   13087 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13088   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13089   # Extract the first word of "mt", so it can be a program name with args.
   13090 set dummy mt; ac_word=$2
   13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13092 $as_echo_n "checking for $ac_word... " >&6; }
   13093 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13094   $as_echo_n "(cached) " >&6
   13095 else
   13096   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13097   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13098 else
   13099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13100 for as_dir in $PATH
   13101 do
   13102   IFS=$as_save_IFS
   13103   test -z "$as_dir" && as_dir=.
   13104     for ac_exec_ext in '' $ac_executable_extensions; do
   13105   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13106     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13108     break 2
   13109   fi
   13110 done
   13111   done
   13112 IFS=$as_save_IFS
   13113 
   13114 fi
   13115 fi
   13116 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13117 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13119 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13120 else
   13121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13122 $as_echo "no" >&6; }
   13123 fi
   13124 
   13125   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13126     MANIFEST_TOOL=":"
   13127   else
   13128     case $cross_compiling:$ac_tool_warned in
   13129 yes:)
   13130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13132 ac_tool_warned=yes ;;
   13133 esac
   13134     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13135   fi
   13136 else
   13137   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13138 fi
   13139 
   13140 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13142 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13143 if ${lt_cv_path_mainfest_tool+:} false; then :
   13144   $as_echo_n "(cached) " >&6
   13145 else
   13146   lt_cv_path_mainfest_tool=no
   13147   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13148   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13149   cat conftest.err >&5
   13150   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13151     lt_cv_path_mainfest_tool=yes
   13152   fi
   13153   rm -f conftest*
   13154 fi
   13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13156 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13157 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   13158   MANIFEST_TOOL=:
   13159 fi
   13160 
   13161 
   13162 
   13163 
   13164 
   13165 
   13166   case $host_os in
   13167     rhapsody* | darwin*)
   13168     if test -n "$ac_tool_prefix"; then
   13169   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13170 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13172 $as_echo_n "checking for $ac_word... " >&6; }
   13173 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13174   $as_echo_n "(cached) " >&6
   13175 else
   13176   if test -n "$DSYMUTIL"; then
   13177   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13178 else
   13179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13180 for as_dir in $PATH
   13181 do
   13182   IFS=$as_save_IFS
   13183   test -z "$as_dir" && as_dir=.
   13184     for ac_exec_ext in '' $ac_executable_extensions; do
   13185   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13186     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13188     break 2
   13189   fi
   13190 done
   13191   done
   13192 IFS=$as_save_IFS
   13193 
   13194 fi
   13195 fi
   13196 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13197 if test -n "$DSYMUTIL"; then
   13198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13199 $as_echo "$DSYMUTIL" >&6; }
   13200 else
   13201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13202 $as_echo "no" >&6; }
   13203 fi
   13204 
   13205 
   13206 fi
   13207 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13208   ac_ct_DSYMUTIL=$DSYMUTIL
   13209   # Extract the first word of "dsymutil", so it can be a program name with args.
   13210 set dummy dsymutil; ac_word=$2
   13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13212 $as_echo_n "checking for $ac_word... " >&6; }
   13213 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13214   $as_echo_n "(cached) " >&6
   13215 else
   13216   if test -n "$ac_ct_DSYMUTIL"; then
   13217   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13218 else
   13219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13220 for as_dir in $PATH
   13221 do
   13222   IFS=$as_save_IFS
   13223   test -z "$as_dir" && as_dir=.
   13224     for ac_exec_ext in '' $ac_executable_extensions; do
   13225   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13226     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13228     break 2
   13229   fi
   13230 done
   13231   done
   13232 IFS=$as_save_IFS
   13233 
   13234 fi
   13235 fi
   13236 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13237 if test -n "$ac_ct_DSYMUTIL"; then
   13238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13239 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13240 else
   13241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13242 $as_echo "no" >&6; }
   13243 fi
   13244 
   13245   if test "x$ac_ct_DSYMUTIL" = x; then
   13246     DSYMUTIL=":"
   13247   else
   13248     case $cross_compiling:$ac_tool_warned in
   13249 yes:)
   13250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13252 ac_tool_warned=yes ;;
   13253 esac
   13254     DSYMUTIL=$ac_ct_DSYMUTIL
   13255   fi
   13256 else
   13257   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13258 fi
   13259 
   13260     if test -n "$ac_tool_prefix"; then
   13261   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13262 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13264 $as_echo_n "checking for $ac_word... " >&6; }
   13265 if ${ac_cv_prog_NMEDIT+:} false; then :
   13266   $as_echo_n "(cached) " >&6
   13267 else
   13268   if test -n "$NMEDIT"; then
   13269   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13270 else
   13271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13272 for as_dir in $PATH
   13273 do
   13274   IFS=$as_save_IFS
   13275   test -z "$as_dir" && as_dir=.
   13276     for ac_exec_ext in '' $ac_executable_extensions; do
   13277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13278     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13280     break 2
   13281   fi
   13282 done
   13283   done
   13284 IFS=$as_save_IFS
   13285 
   13286 fi
   13287 fi
   13288 NMEDIT=$ac_cv_prog_NMEDIT
   13289 if test -n "$NMEDIT"; then
   13290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13291 $as_echo "$NMEDIT" >&6; }
   13292 else
   13293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13294 $as_echo "no" >&6; }
   13295 fi
   13296 
   13297 
   13298 fi
   13299 if test -z "$ac_cv_prog_NMEDIT"; then
   13300   ac_ct_NMEDIT=$NMEDIT
   13301   # Extract the first word of "nmedit", so it can be a program name with args.
   13302 set dummy nmedit; ac_word=$2
   13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13304 $as_echo_n "checking for $ac_word... " >&6; }
   13305 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13306   $as_echo_n "(cached) " >&6
   13307 else
   13308   if test -n "$ac_ct_NMEDIT"; then
   13309   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13310 else
   13311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13312 for as_dir in $PATH
   13313 do
   13314   IFS=$as_save_IFS
   13315   test -z "$as_dir" && as_dir=.
   13316     for ac_exec_ext in '' $ac_executable_extensions; do
   13317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13318     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13320     break 2
   13321   fi
   13322 done
   13323   done
   13324 IFS=$as_save_IFS
   13325 
   13326 fi
   13327 fi
   13328 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13329 if test -n "$ac_ct_NMEDIT"; then
   13330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13331 $as_echo "$ac_ct_NMEDIT" >&6; }
   13332 else
   13333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13334 $as_echo "no" >&6; }
   13335 fi
   13336 
   13337   if test "x$ac_ct_NMEDIT" = x; then
   13338     NMEDIT=":"
   13339   else
   13340     case $cross_compiling:$ac_tool_warned in
   13341 yes:)
   13342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13344 ac_tool_warned=yes ;;
   13345 esac
   13346     NMEDIT=$ac_ct_NMEDIT
   13347   fi
   13348 else
   13349   NMEDIT="$ac_cv_prog_NMEDIT"
   13350 fi
   13351 
   13352     if test -n "$ac_tool_prefix"; then
   13353   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13354 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13356 $as_echo_n "checking for $ac_word... " >&6; }
   13357 if ${ac_cv_prog_LIPO+:} false; then :
   13358   $as_echo_n "(cached) " >&6
   13359 else
   13360   if test -n "$LIPO"; then
   13361   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13362 else
   13363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13364 for as_dir in $PATH
   13365 do
   13366   IFS=$as_save_IFS
   13367   test -z "$as_dir" && as_dir=.
   13368     for ac_exec_ext in '' $ac_executable_extensions; do
   13369   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13370     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13372     break 2
   13373   fi
   13374 done
   13375   done
   13376 IFS=$as_save_IFS
   13377 
   13378 fi
   13379 fi
   13380 LIPO=$ac_cv_prog_LIPO
   13381 if test -n "$LIPO"; then
   13382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13383 $as_echo "$LIPO" >&6; }
   13384 else
   13385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13386 $as_echo "no" >&6; }
   13387 fi
   13388 
   13389 
   13390 fi
   13391 if test -z "$ac_cv_prog_LIPO"; then
   13392   ac_ct_LIPO=$LIPO
   13393   # Extract the first word of "lipo", so it can be a program name with args.
   13394 set dummy lipo; ac_word=$2
   13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13396 $as_echo_n "checking for $ac_word... " >&6; }
   13397 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13398   $as_echo_n "(cached) " >&6
   13399 else
   13400   if test -n "$ac_ct_LIPO"; then
   13401   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13402 else
   13403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13404 for as_dir in $PATH
   13405 do
   13406   IFS=$as_save_IFS
   13407   test -z "$as_dir" && as_dir=.
   13408     for ac_exec_ext in '' $ac_executable_extensions; do
   13409   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13410     ac_cv_prog_ac_ct_LIPO="lipo"
   13411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13412     break 2
   13413   fi
   13414 done
   13415   done
   13416 IFS=$as_save_IFS
   13417 
   13418 fi
   13419 fi
   13420 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13421 if test -n "$ac_ct_LIPO"; then
   13422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13423 $as_echo "$ac_ct_LIPO" >&6; }
   13424 else
   13425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13426 $as_echo "no" >&6; }
   13427 fi
   13428 
   13429   if test "x$ac_ct_LIPO" = x; then
   13430     LIPO=":"
   13431   else
   13432     case $cross_compiling:$ac_tool_warned in
   13433 yes:)
   13434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13436 ac_tool_warned=yes ;;
   13437 esac
   13438     LIPO=$ac_ct_LIPO
   13439   fi
   13440 else
   13441   LIPO="$ac_cv_prog_LIPO"
   13442 fi
   13443 
   13444     if test -n "$ac_tool_prefix"; then
   13445   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13446 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13448 $as_echo_n "checking for $ac_word... " >&6; }
   13449 if ${ac_cv_prog_OTOOL+:} false; then :
   13450   $as_echo_n "(cached) " >&6
   13451 else
   13452   if test -n "$OTOOL"; then
   13453   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13454 else
   13455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13456 for as_dir in $PATH
   13457 do
   13458   IFS=$as_save_IFS
   13459   test -z "$as_dir" && as_dir=.
   13460     for ac_exec_ext in '' $ac_executable_extensions; do
   13461   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13462     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13464     break 2
   13465   fi
   13466 done
   13467   done
   13468 IFS=$as_save_IFS
   13469 
   13470 fi
   13471 fi
   13472 OTOOL=$ac_cv_prog_OTOOL
   13473 if test -n "$OTOOL"; then
   13474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13475 $as_echo "$OTOOL" >&6; }
   13476 else
   13477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13478 $as_echo "no" >&6; }
   13479 fi
   13480 
   13481 
   13482 fi
   13483 if test -z "$ac_cv_prog_OTOOL"; then
   13484   ac_ct_OTOOL=$OTOOL
   13485   # Extract the first word of "otool", so it can be a program name with args.
   13486 set dummy otool; ac_word=$2
   13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13488 $as_echo_n "checking for $ac_word... " >&6; }
   13489 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13490   $as_echo_n "(cached) " >&6
   13491 else
   13492   if test -n "$ac_ct_OTOOL"; then
   13493   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13494 else
   13495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13496 for as_dir in $PATH
   13497 do
   13498   IFS=$as_save_IFS
   13499   test -z "$as_dir" && as_dir=.
   13500     for ac_exec_ext in '' $ac_executable_extensions; do
   13501   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13502     ac_cv_prog_ac_ct_OTOOL="otool"
   13503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13504     break 2
   13505   fi
   13506 done
   13507   done
   13508 IFS=$as_save_IFS
   13509 
   13510 fi
   13511 fi
   13512 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13513 if test -n "$ac_ct_OTOOL"; then
   13514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13515 $as_echo "$ac_ct_OTOOL" >&6; }
   13516 else
   13517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13518 $as_echo "no" >&6; }
   13519 fi
   13520 
   13521   if test "x$ac_ct_OTOOL" = x; then
   13522     OTOOL=":"
   13523   else
   13524     case $cross_compiling:$ac_tool_warned in
   13525 yes:)
   13526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13528 ac_tool_warned=yes ;;
   13529 esac
   13530     OTOOL=$ac_ct_OTOOL
   13531   fi
   13532 else
   13533   OTOOL="$ac_cv_prog_OTOOL"
   13534 fi
   13535 
   13536     if test -n "$ac_tool_prefix"; then
   13537   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13538 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13540 $as_echo_n "checking for $ac_word... " >&6; }
   13541 if ${ac_cv_prog_OTOOL64+:} false; then :
   13542   $as_echo_n "(cached) " >&6
   13543 else
   13544   if test -n "$OTOOL64"; then
   13545   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13546 else
   13547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13548 for as_dir in $PATH
   13549 do
   13550   IFS=$as_save_IFS
   13551   test -z "$as_dir" && as_dir=.
   13552     for ac_exec_ext in '' $ac_executable_extensions; do
   13553   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13554     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13556     break 2
   13557   fi
   13558 done
   13559   done
   13560 IFS=$as_save_IFS
   13561 
   13562 fi
   13563 fi
   13564 OTOOL64=$ac_cv_prog_OTOOL64
   13565 if test -n "$OTOOL64"; then
   13566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13567 $as_echo "$OTOOL64" >&6; }
   13568 else
   13569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13570 $as_echo "no" >&6; }
   13571 fi
   13572 
   13573 
   13574 fi
   13575 if test -z "$ac_cv_prog_OTOOL64"; then
   13576   ac_ct_OTOOL64=$OTOOL64
   13577   # Extract the first word of "otool64", so it can be a program name with args.
   13578 set dummy otool64; ac_word=$2
   13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13580 $as_echo_n "checking for $ac_word... " >&6; }
   13581 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13582   $as_echo_n "(cached) " >&6
   13583 else
   13584   if test -n "$ac_ct_OTOOL64"; then
   13585   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13586 else
   13587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13588 for as_dir in $PATH
   13589 do
   13590   IFS=$as_save_IFS
   13591   test -z "$as_dir" && as_dir=.
   13592     for ac_exec_ext in '' $ac_executable_extensions; do
   13593   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13594     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13596     break 2
   13597   fi
   13598 done
   13599   done
   13600 IFS=$as_save_IFS
   13601 
   13602 fi
   13603 fi
   13604 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13605 if test -n "$ac_ct_OTOOL64"; then
   13606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13607 $as_echo "$ac_ct_OTOOL64" >&6; }
   13608 else
   13609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13610 $as_echo "no" >&6; }
   13611 fi
   13612 
   13613   if test "x$ac_ct_OTOOL64" = x; then
   13614     OTOOL64=":"
   13615   else
   13616     case $cross_compiling:$ac_tool_warned in
   13617 yes:)
   13618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13620 ac_tool_warned=yes ;;
   13621 esac
   13622     OTOOL64=$ac_ct_OTOOL64
   13623   fi
   13624 else
   13625   OTOOL64="$ac_cv_prog_OTOOL64"
   13626 fi
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 
   13643 
   13644 
   13645 
   13646 
   13647 
   13648 
   13649 
   13650 
   13651 
   13652 
   13653 
   13654     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   13655 $as_echo_n "checking for -single_module linker flag... " >&6; }
   13656 if ${lt_cv_apple_cc_single_mod+:} false; then :
   13657   $as_echo_n "(cached) " >&6
   13658 else
   13659   lt_cv_apple_cc_single_mod=no
   13660       if test -z "${LT_MULTI_MODULE}"; then
   13661 	# By default we will add the -single_module flag. You can override
   13662 	# by either setting the environment variable LT_MULTI_MODULE
   13663 	# non-empty at configure time, or by adding -multi_module to the
   13664 	# link flags.
   13665 	rm -rf libconftest.dylib*
   13666 	echo "int foo(void){return 1;}" > conftest.c
   13667 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13668 -dynamiclib -Wl,-single_module conftest.c" >&5
   13669 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13670 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   13671         _lt_result=$?
   13672 	# If there is a non-empty error log, and "single_module"
   13673 	# appears in it, assume the flag caused a linker warning
   13674         if test -s conftest.err && $GREP single_module conftest.err; then
   13675 	  cat conftest.err >&5
   13676 	# Otherwise, if the output was created with a 0 exit code from
   13677 	# the compiler, it worked.
   13678 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   13679 	  lt_cv_apple_cc_single_mod=yes
   13680 	else
   13681 	  cat conftest.err >&5
   13682 	fi
   13683 	rm -rf libconftest.dylib*
   13684 	rm -f conftest.*
   13685       fi
   13686 fi
   13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   13688 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   13689 
   13690     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   13691 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   13692 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   13693   $as_echo_n "(cached) " >&6
   13694 else
   13695   lt_cv_ld_exported_symbols_list=no
   13696       save_LDFLAGS=$LDFLAGS
   13697       echo "_main" > conftest.sym
   13698       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   13699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13700 /* end confdefs.h.  */
   13701 
   13702 int
   13703 main ()
   13704 {
   13705 
   13706   ;
   13707   return 0;
   13708 }
   13709 _ACEOF
   13710 if ac_fn_c_try_link "$LINENO"; then :
   13711   lt_cv_ld_exported_symbols_list=yes
   13712 else
   13713   lt_cv_ld_exported_symbols_list=no
   13714 fi
   13715 rm -f core conftest.err conftest.$ac_objext \
   13716     conftest$ac_exeext conftest.$ac_ext
   13717 	LDFLAGS="$save_LDFLAGS"
   13718 
   13719 fi
   13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   13721 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   13722 
   13723     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   13724 $as_echo_n "checking for -force_load linker flag... " >&6; }
   13725 if ${lt_cv_ld_force_load+:} false; then :
   13726   $as_echo_n "(cached) " >&6
   13727 else
   13728   lt_cv_ld_force_load=no
   13729       cat > conftest.c << _LT_EOF
   13730 int forced_loaded() { return 2;}
   13731 _LT_EOF
   13732       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   13733       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   13734       echo "$AR cru libconftest.a conftest.o" >&5
   13735       $AR cru libconftest.a conftest.o 2>&5
   13736       echo "$RANLIB libconftest.a" >&5
   13737       $RANLIB libconftest.a 2>&5
   13738       cat > conftest.c << _LT_EOF
   13739 int main() { return 0;}
   13740 _LT_EOF
   13741       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   13742       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   13743       _lt_result=$?
   13744       if test -s conftest.err && $GREP force_load conftest.err; then
   13745 	cat conftest.err >&5
   13746       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   13747 	lt_cv_ld_force_load=yes
   13748       else
   13749 	cat conftest.err >&5
   13750       fi
   13751         rm -f conftest.err libconftest.a conftest conftest.c
   13752         rm -rf conftest.dSYM
   13753 
   13754 fi
   13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   13756 $as_echo "$lt_cv_ld_force_load" >&6; }
   13757     case $host_os in
   13758     rhapsody* | darwin1.[012])
   13759       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   13760     darwin1.*)
   13761       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13762     darwin*) # darwin 5.x on
   13763       # if running on 10.5 or later, the deployment target defaults
   13764       # to the OS version, if on x86, and 10.4, the deployment
   13765       # target defaults to 10.4. Don't you love it?
   13766       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   13767 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   13768 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13769 	10.[012]*)
   13770 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13771 	10.*)
   13772 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13773       esac
   13774     ;;
   13775   esac
   13776     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   13777       _lt_dar_single_mod='$single_module'
   13778     fi
   13779     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   13780       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   13781     else
   13782       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   13783     fi
   13784     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   13785       _lt_dsymutil='~$DSYMUTIL $lib || :'
   13786     else
   13787       _lt_dsymutil=
   13788     fi
   13789     ;;
   13790   esac
   13791 
   13792 for ac_header in dlfcn.h
   13793 do :
   13794   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   13795 "
   13796 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   13797   cat >>confdefs.h <<_ACEOF
   13798 #define HAVE_DLFCN_H 1
   13799 _ACEOF
   13800 
   13801 fi
   13802 
   13803 done
   13804 
   13805 
   13806 
   13807 
   13808 
   13809 # Set options
   13810 
   13811 
   13812 
   13813         enable_dlopen=no
   13814 
   13815 
   13816   enable_win32_dll=no
   13817 
   13818 
   13819             # Check whether --enable-shared was given.
   13820 if test "${enable_shared+set}" = set; then :
   13821   enableval=$enable_shared; p=${PACKAGE-default}
   13822     case $enableval in
   13823     yes) enable_shared=yes ;;
   13824     no) enable_shared=no ;;
   13825     *)
   13826       enable_shared=no
   13827       # Look at the argument we got.  We use all the common list separators.
   13828       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13829       for pkg in $enableval; do
   13830 	IFS="$lt_save_ifs"
   13831 	if test "X$pkg" = "X$p"; then
   13832 	  enable_shared=yes
   13833 	fi
   13834       done
   13835       IFS="$lt_save_ifs"
   13836       ;;
   13837     esac
   13838 else
   13839   enable_shared=yes
   13840 fi
   13841 
   13842 
   13843 
   13844 
   13845 
   13846 
   13847 
   13848 
   13849 
   13850 
   13851 
   13852 # Check whether --with-pic was given.
   13853 if test "${with_pic+set}" = set; then :
   13854   withval=$with_pic; lt_p=${PACKAGE-default}
   13855     case $withval in
   13856     yes|no) pic_mode=$withval ;;
   13857     *)
   13858       pic_mode=default
   13859       # Look at the argument we got.  We use all the common list separators.
   13860       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13861       for lt_pkg in $withval; do
   13862 	IFS="$lt_save_ifs"
   13863 	if test "X$lt_pkg" = "X$lt_p"; then
   13864 	  pic_mode=yes
   13865 	fi
   13866       done
   13867       IFS="$lt_save_ifs"
   13868       ;;
   13869     esac
   13870 else
   13871   pic_mode=default
   13872 fi
   13873 
   13874 
   13875 test -z "$pic_mode" && pic_mode=default
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883   # Check whether --enable-fast-install was given.
   13884 if test "${enable_fast_install+set}" = set; then :
   13885   enableval=$enable_fast_install; p=${PACKAGE-default}
   13886     case $enableval in
   13887     yes) enable_fast_install=yes ;;
   13888     no) enable_fast_install=no ;;
   13889     *)
   13890       enable_fast_install=no
   13891       # Look at the argument we got.  We use all the common list separators.
   13892       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13893       for pkg in $enableval; do
   13894 	IFS="$lt_save_ifs"
   13895 	if test "X$pkg" = "X$p"; then
   13896 	  enable_fast_install=yes
   13897 	fi
   13898       done
   13899       IFS="$lt_save_ifs"
   13900       ;;
   13901     esac
   13902 else
   13903   enable_fast_install=yes
   13904 fi
   13905 
   13906 
   13907 
   13908 
   13909 
   13910 
   13911 
   13912 
   13913 
   13914 
   13915 
   13916 # This can be used to rebuild libtool when needed
   13917 LIBTOOL_DEPS="$ltmain"
   13918 
   13919 # Always use our own libtool.
   13920 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   13921 
   13922 
   13923 
   13924 
   13925 
   13926 
   13927 
   13928 
   13929 
   13930 
   13931 
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938 
   13939 
   13940 
   13941 
   13942 
   13943 
   13944 
   13945 
   13946 
   13947 
   13948 
   13949 
   13950 
   13951 test -z "$LN_S" && LN_S="ln -s"
   13952 
   13953 
   13954 
   13955 
   13956 
   13957 
   13958 
   13959 
   13960 
   13961 
   13962 
   13963 
   13964 
   13965 
   13966 if test -n "${ZSH_VERSION+set}" ; then
   13967    setopt NO_GLOB_SUBST
   13968 fi
   13969 
   13970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   13971 $as_echo_n "checking for objdir... " >&6; }
   13972 if ${lt_cv_objdir+:} false; then :
   13973   $as_echo_n "(cached) " >&6
   13974 else
   13975   rm -f .libs 2>/dev/null
   13976 mkdir .libs 2>/dev/null
   13977 if test -d .libs; then
   13978   lt_cv_objdir=.libs
   13979 else
   13980   # MS-DOS does not allow filenames that begin with a dot.
   13981   lt_cv_objdir=_libs
   13982 fi
   13983 rmdir .libs 2>/dev/null
   13984 fi
   13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   13986 $as_echo "$lt_cv_objdir" >&6; }
   13987 objdir=$lt_cv_objdir
   13988 
   13989 
   13990 
   13991 
   13992 
   13993 cat >>confdefs.h <<_ACEOF
   13994 #define LT_OBJDIR "$lt_cv_objdir/"
   13995 _ACEOF
   13996 
   13997 
   13998 
   13999 
   14000 case $host_os in
   14001 aix3*)
   14002   # AIX sometimes has problems with the GCC collect2 program.  For some
   14003   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14004   # vanish in a puff of smoke.
   14005   if test "X${COLLECT_NAMES+set}" != Xset; then
   14006     COLLECT_NAMES=
   14007     export COLLECT_NAMES
   14008   fi
   14009   ;;
   14010 esac
   14011 
   14012 # Global variables:
   14013 ofile=libtool
   14014 can_build_shared=yes
   14015 
   14016 # All known linkers require a `.a' archive for static linking (except MSVC,
   14017 # which needs '.lib').
   14018 libext=a
   14019 
   14020 with_gnu_ld="$lt_cv_prog_gnu_ld"
   14021 
   14022 old_CC="$CC"
   14023 old_CFLAGS="$CFLAGS"
   14024 
   14025 # Set sane defaults for various variables
   14026 test -z "$CC" && CC=cc
   14027 test -z "$LTCC" && LTCC=$CC
   14028 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14029 test -z "$LD" && LD=ld
   14030 test -z "$ac_objext" && ac_objext=o
   14031 
   14032 for cc_temp in $compiler""; do
   14033   case $cc_temp in
   14034     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14035     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14036     \-*) ;;
   14037     *) break;;
   14038   esac
   14039 done
   14040 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14041 
   14042 
   14043 # Only perform the check for file, if the check method requires it
   14044 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14045 case $deplibs_check_method in
   14046 file_magic*)
   14047   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14048     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14049 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14050 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14051   $as_echo_n "(cached) " >&6
   14052 else
   14053   case $MAGIC_CMD in
   14054 [\\/*] |  ?:[\\/]*)
   14055   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14056   ;;
   14057 *)
   14058   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14059   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14060   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14061   for ac_dir in $ac_dummy; do
   14062     IFS="$lt_save_ifs"
   14063     test -z "$ac_dir" && ac_dir=.
   14064     if test -f $ac_dir/${ac_tool_prefix}file; then
   14065       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   14066       if test -n "$file_magic_test_file"; then
   14067 	case $deplibs_check_method in
   14068 	"file_magic "*)
   14069 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14070 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14071 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14072 	    $EGREP "$file_magic_regex" > /dev/null; then
   14073 	    :
   14074 	  else
   14075 	    cat <<_LT_EOF 1>&2
   14076 
   14077 *** Warning: the command libtool uses to detect shared libraries,
   14078 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14079 *** The result is that libtool may fail to recognize shared libraries
   14080 *** as such.  This will affect the creation of libtool libraries that
   14081 *** depend on shared libraries, but programs linked with such libtool
   14082 *** libraries will work regardless of this problem.  Nevertheless, you
   14083 *** may want to report the problem to your system manager and/or to
   14084 *** bug-libtool@gnu.org
   14085 
   14086 _LT_EOF
   14087 	  fi ;;
   14088 	esac
   14089       fi
   14090       break
   14091     fi
   14092   done
   14093   IFS="$lt_save_ifs"
   14094   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14095   ;;
   14096 esac
   14097 fi
   14098 
   14099 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14100 if test -n "$MAGIC_CMD"; then
   14101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14102 $as_echo "$MAGIC_CMD" >&6; }
   14103 else
   14104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14105 $as_echo "no" >&6; }
   14106 fi
   14107 
   14108 
   14109 
   14110 
   14111 
   14112 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14113   if test -n "$ac_tool_prefix"; then
   14114     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14115 $as_echo_n "checking for file... " >&6; }
   14116 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14117   $as_echo_n "(cached) " >&6
   14118 else
   14119   case $MAGIC_CMD in
   14120 [\\/*] |  ?:[\\/]*)
   14121   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14122   ;;
   14123 *)
   14124   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14125   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14126   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14127   for ac_dir in $ac_dummy; do
   14128     IFS="$lt_save_ifs"
   14129     test -z "$ac_dir" && ac_dir=.
   14130     if test -f $ac_dir/file; then
   14131       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   14132       if test -n "$file_magic_test_file"; then
   14133 	case $deplibs_check_method in
   14134 	"file_magic "*)
   14135 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14136 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14137 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14138 	    $EGREP "$file_magic_regex" > /dev/null; then
   14139 	    :
   14140 	  else
   14141 	    cat <<_LT_EOF 1>&2
   14142 
   14143 *** Warning: the command libtool uses to detect shared libraries,
   14144 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14145 *** The result is that libtool may fail to recognize shared libraries
   14146 *** as such.  This will affect the creation of libtool libraries that
   14147 *** depend on shared libraries, but programs linked with such libtool
   14148 *** libraries will work regardless of this problem.  Nevertheless, you
   14149 *** may want to report the problem to your system manager and/or to
   14150 *** bug-libtool@gnu.org
   14151 
   14152 _LT_EOF
   14153 	  fi ;;
   14154 	esac
   14155       fi
   14156       break
   14157     fi
   14158   done
   14159   IFS="$lt_save_ifs"
   14160   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14161   ;;
   14162 esac
   14163 fi
   14164 
   14165 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14166 if test -n "$MAGIC_CMD"; then
   14167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14168 $as_echo "$MAGIC_CMD" >&6; }
   14169 else
   14170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14171 $as_echo "no" >&6; }
   14172 fi
   14173 
   14174 
   14175   else
   14176     MAGIC_CMD=:
   14177   fi
   14178 fi
   14179 
   14180   fi
   14181   ;;
   14182 esac
   14183 
   14184 # Use C for the default configuration in the libtool script
   14185 
   14186 lt_save_CC="$CC"
   14187 ac_ext=c
   14188 ac_cpp='$CPP $CPPFLAGS'
   14189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14192 
   14193 
   14194 # Source file extension for C test sources.
   14195 ac_ext=c
   14196 
   14197 # Object file extension for compiled C test sources.
   14198 objext=o
   14199 objext=$objext
   14200 
   14201 # Code to be used in simple compile tests
   14202 lt_simple_compile_test_code="int some_variable = 0;"
   14203 
   14204 # Code to be used in simple link tests
   14205 lt_simple_link_test_code='int main(){return(0);}'
   14206 
   14207 
   14208 
   14209 
   14210 
   14211 
   14212 
   14213 # If no C compiler was specified, use CC.
   14214 LTCC=${LTCC-"$CC"}
   14215 
   14216 # If no C compiler flags were specified, use CFLAGS.
   14217 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14218 
   14219 # Allow CC to be a program name with arguments.
   14220 compiler=$CC
   14221 
   14222 # Save the default compiler, since it gets overwritten when the other
   14223 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14224 compiler_DEFAULT=$CC
   14225 
   14226 # save warnings/boilerplate of simple test code
   14227 ac_outfile=conftest.$ac_objext
   14228 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14229 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14230 _lt_compiler_boilerplate=`cat conftest.err`
   14231 $RM conftest*
   14232 
   14233 ac_outfile=conftest.$ac_objext
   14234 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14235 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14236 _lt_linker_boilerplate=`cat conftest.err`
   14237 $RM -r conftest*
   14238 
   14239 
   14240 if test -n "$compiler"; then
   14241 
   14242 lt_prog_compiler_no_builtin_flag=
   14243 
   14244 if test "$GCC" = yes; then
   14245   case $cc_basename in
   14246   nvcc*)
   14247     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14248   *)
   14249     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14250   esac
   14251 
   14252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14253 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14254 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14255   $as_echo_n "(cached) " >&6
   14256 else
   14257   lt_cv_prog_compiler_rtti_exceptions=no
   14258    ac_outfile=conftest.$ac_objext
   14259    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14260    lt_compiler_flag="-fno-rtti -fno-exceptions"
   14261    # Insert the option either (1) after the last *FLAGS variable, or
   14262    # (2) before a word containing "conftest.", or (3) at the end.
   14263    # Note that $ac_compile itself does not contain backslashes and begins
   14264    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14265    # The option is referenced via a variable to avoid confusing sed.
   14266    lt_compile=`echo "$ac_compile" | $SED \
   14267    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14268    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14269    -e 's:$: $lt_compiler_flag:'`
   14270    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14271    (eval "$lt_compile" 2>conftest.err)
   14272    ac_status=$?
   14273    cat conftest.err >&5
   14274    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14275    if (exit $ac_status) && test -s "$ac_outfile"; then
   14276      # The compiler can only warn and ignore the option if not recognized
   14277      # So say no if there are warnings other than the usual output.
   14278      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14279      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14280      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14281        lt_cv_prog_compiler_rtti_exceptions=yes
   14282      fi
   14283    fi
   14284    $RM conftest*
   14285 
   14286 fi
   14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14288 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14289 
   14290 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   14291     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14292 else
   14293     :
   14294 fi
   14295 
   14296 fi
   14297 
   14298 
   14299 
   14300 
   14301 
   14302 
   14303   lt_prog_compiler_wl=
   14304 lt_prog_compiler_pic=
   14305 lt_prog_compiler_static=
   14306 
   14307 
   14308   if test "$GCC" = yes; then
   14309     lt_prog_compiler_wl='-Wl,'
   14310     lt_prog_compiler_static='-static'
   14311 
   14312     case $host_os in
   14313       aix*)
   14314       # All AIX code is PIC.
   14315       if test "$host_cpu" = ia64; then
   14316 	# AIX 5 now supports IA64 processor
   14317 	lt_prog_compiler_static='-Bstatic'
   14318       fi
   14319       ;;
   14320 
   14321     amigaos*)
   14322       case $host_cpu in
   14323       powerpc)
   14324             # see comment about AmigaOS4 .so support
   14325             lt_prog_compiler_pic='-fPIC'
   14326         ;;
   14327       m68k)
   14328             # FIXME: we need at least 68020 code to build shared libraries, but
   14329             # adding the `-m68020' flag to GCC prevents building anything better,
   14330             # like `-m68040'.
   14331             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14332         ;;
   14333       esac
   14334       ;;
   14335 
   14336     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14337       # PIC is the default for these OSes.
   14338       ;;
   14339 
   14340     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14341       # This hack is so that the source file can tell whether it is being
   14342       # built for inclusion in a dll (and should export symbols for example).
   14343       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14344       # (--disable-auto-import) libraries
   14345       lt_prog_compiler_pic='-DDLL_EXPORT'
   14346       ;;
   14347 
   14348     darwin* | rhapsody*)
   14349       # PIC is the default on this platform
   14350       # Common symbols not allowed in MH_DYLIB files
   14351       lt_prog_compiler_pic='-fno-common'
   14352       ;;
   14353 
   14354     haiku*)
   14355       # PIC is the default for Haiku.
   14356       # The "-static" flag exists, but is broken.
   14357       lt_prog_compiler_static=
   14358       ;;
   14359 
   14360     hpux*)
   14361       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14362       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14363       # sets the default TLS model and affects inlining.
   14364       case $host_cpu in
   14365       hppa*64*)
   14366 	# +Z the default
   14367 	;;
   14368       *)
   14369 	lt_prog_compiler_pic='-fPIC'
   14370 	;;
   14371       esac
   14372       ;;
   14373 
   14374     interix[3-9]*)
   14375       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14376       # Instead, we relocate shared libraries at runtime.
   14377       ;;
   14378 
   14379     msdosdjgpp*)
   14380       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14381       # on systems that don't support them.
   14382       lt_prog_compiler_can_build_shared=no
   14383       enable_shared=no
   14384       ;;
   14385 
   14386     *nto* | *qnx*)
   14387       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14388       # it will coredump.
   14389       lt_prog_compiler_pic='-fPIC -shared'
   14390       ;;
   14391 
   14392     sysv4*MP*)
   14393       if test -d /usr/nec; then
   14394 	lt_prog_compiler_pic=-Kconform_pic
   14395       fi
   14396       ;;
   14397 
   14398     *)
   14399       lt_prog_compiler_pic='-fPIC'
   14400       ;;
   14401     esac
   14402 
   14403     case $cc_basename in
   14404     nvcc*) # Cuda Compiler Driver 2.2
   14405       lt_prog_compiler_wl='-Xlinker '
   14406       if test -n "$lt_prog_compiler_pic"; then
   14407         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14408       fi
   14409       ;;
   14410     esac
   14411   else
   14412     # PORTME Check for flag to pass linker flags through the system compiler.
   14413     case $host_os in
   14414     aix*)
   14415       lt_prog_compiler_wl='-Wl,'
   14416       if test "$host_cpu" = ia64; then
   14417 	# AIX 5 now supports IA64 processor
   14418 	lt_prog_compiler_static='-Bstatic'
   14419       else
   14420 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14421       fi
   14422       ;;
   14423 
   14424     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14425       # This hack is so that the source file can tell whether it is being
   14426       # built for inclusion in a dll (and should export symbols for example).
   14427       lt_prog_compiler_pic='-DDLL_EXPORT'
   14428       ;;
   14429 
   14430     hpux9* | hpux10* | hpux11*)
   14431       lt_prog_compiler_wl='-Wl,'
   14432       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14433       # not for PA HP-UX.
   14434       case $host_cpu in
   14435       hppa*64*|ia64*)
   14436 	# +Z the default
   14437 	;;
   14438       *)
   14439 	lt_prog_compiler_pic='+Z'
   14440 	;;
   14441       esac
   14442       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14443       lt_prog_compiler_static='${wl}-a ${wl}archive'
   14444       ;;
   14445 
   14446     irix5* | irix6* | nonstopux*)
   14447       lt_prog_compiler_wl='-Wl,'
   14448       # PIC (with -KPIC) is the default.
   14449       lt_prog_compiler_static='-non_shared'
   14450       ;;
   14451 
   14452     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14453       case $cc_basename in
   14454       # old Intel for x86_64 which still supported -KPIC.
   14455       ecc*)
   14456 	lt_prog_compiler_wl='-Wl,'
   14457 	lt_prog_compiler_pic='-KPIC'
   14458 	lt_prog_compiler_static='-static'
   14459         ;;
   14460       # icc used to be incompatible with GCC.
   14461       # ICC 10 doesn't accept -KPIC any more.
   14462       icc* | ifort*)
   14463 	lt_prog_compiler_wl='-Wl,'
   14464 	lt_prog_compiler_pic='-fPIC'
   14465 	lt_prog_compiler_static='-static'
   14466         ;;
   14467       # Lahey Fortran 8.1.
   14468       lf95*)
   14469 	lt_prog_compiler_wl='-Wl,'
   14470 	lt_prog_compiler_pic='--shared'
   14471 	lt_prog_compiler_static='--static'
   14472 	;;
   14473       nagfor*)
   14474 	# NAG Fortran compiler
   14475 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14476 	lt_prog_compiler_pic='-PIC'
   14477 	lt_prog_compiler_static='-Bstatic'
   14478 	;;
   14479       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14480         # Portland Group compilers (*not* the Pentium gcc compiler,
   14481 	# which looks to be a dead project)
   14482 	lt_prog_compiler_wl='-Wl,'
   14483 	lt_prog_compiler_pic='-fpic'
   14484 	lt_prog_compiler_static='-Bstatic'
   14485         ;;
   14486       ccc*)
   14487         lt_prog_compiler_wl='-Wl,'
   14488         # All Alpha code is PIC.
   14489         lt_prog_compiler_static='-non_shared'
   14490         ;;
   14491       xl* | bgxl* | bgf* | mpixl*)
   14492 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14493 	lt_prog_compiler_wl='-Wl,'
   14494 	lt_prog_compiler_pic='-qpic'
   14495 	lt_prog_compiler_static='-qstaticlink'
   14496 	;;
   14497       *)
   14498 	case `$CC -V 2>&1 | sed 5q` in
   14499 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14500 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14501 	  lt_prog_compiler_pic='-KPIC'
   14502 	  lt_prog_compiler_static='-Bstatic'
   14503 	  lt_prog_compiler_wl=''
   14504 	  ;;
   14505 	*Sun\ F* | *Sun*Fortran*)
   14506 	  lt_prog_compiler_pic='-KPIC'
   14507 	  lt_prog_compiler_static='-Bstatic'
   14508 	  lt_prog_compiler_wl='-Qoption ld '
   14509 	  ;;
   14510 	*Sun\ C*)
   14511 	  # Sun C 5.9
   14512 	  lt_prog_compiler_pic='-KPIC'
   14513 	  lt_prog_compiler_static='-Bstatic'
   14514 	  lt_prog_compiler_wl='-Wl,'
   14515 	  ;;
   14516         *Intel*\ [CF]*Compiler*)
   14517 	  lt_prog_compiler_wl='-Wl,'
   14518 	  lt_prog_compiler_pic='-fPIC'
   14519 	  lt_prog_compiler_static='-static'
   14520 	  ;;
   14521 	*Portland\ Group*)
   14522 	  lt_prog_compiler_wl='-Wl,'
   14523 	  lt_prog_compiler_pic='-fpic'
   14524 	  lt_prog_compiler_static='-Bstatic'
   14525 	  ;;
   14526 	esac
   14527 	;;
   14528       esac
   14529       ;;
   14530 
   14531     newsos6)
   14532       lt_prog_compiler_pic='-KPIC'
   14533       lt_prog_compiler_static='-Bstatic'
   14534       ;;
   14535 
   14536     *nto* | *qnx*)
   14537       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14538       # it will coredump.
   14539       lt_prog_compiler_pic='-fPIC -shared'
   14540       ;;
   14541 
   14542     osf3* | osf4* | osf5*)
   14543       lt_prog_compiler_wl='-Wl,'
   14544       # All OSF/1 code is PIC.
   14545       lt_prog_compiler_static='-non_shared'
   14546       ;;
   14547 
   14548     rdos*)
   14549       lt_prog_compiler_static='-non_shared'
   14550       ;;
   14551 
   14552     solaris*)
   14553       lt_prog_compiler_pic='-KPIC'
   14554       lt_prog_compiler_static='-Bstatic'
   14555       case $cc_basename in
   14556       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   14557 	lt_prog_compiler_wl='-Qoption ld ';;
   14558       *)
   14559 	lt_prog_compiler_wl='-Wl,';;
   14560       esac
   14561       ;;
   14562 
   14563     sunos4*)
   14564       lt_prog_compiler_wl='-Qoption ld '
   14565       lt_prog_compiler_pic='-PIC'
   14566       lt_prog_compiler_static='-Bstatic'
   14567       ;;
   14568 
   14569     sysv4 | sysv4.2uw2* | sysv4.3*)
   14570       lt_prog_compiler_wl='-Wl,'
   14571       lt_prog_compiler_pic='-KPIC'
   14572       lt_prog_compiler_static='-Bstatic'
   14573       ;;
   14574 
   14575     sysv4*MP*)
   14576       if test -d /usr/nec ;then
   14577 	lt_prog_compiler_pic='-Kconform_pic'
   14578 	lt_prog_compiler_static='-Bstatic'
   14579       fi
   14580       ;;
   14581 
   14582     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14583       lt_prog_compiler_wl='-Wl,'
   14584       lt_prog_compiler_pic='-KPIC'
   14585       lt_prog_compiler_static='-Bstatic'
   14586       ;;
   14587 
   14588     unicos*)
   14589       lt_prog_compiler_wl='-Wl,'
   14590       lt_prog_compiler_can_build_shared=no
   14591       ;;
   14592 
   14593     uts4*)
   14594       lt_prog_compiler_pic='-pic'
   14595       lt_prog_compiler_static='-Bstatic'
   14596       ;;
   14597 
   14598     *)
   14599       lt_prog_compiler_can_build_shared=no
   14600       ;;
   14601     esac
   14602   fi
   14603 
   14604 case $host_os in
   14605   # For platforms which do not support PIC, -DPIC is meaningless:
   14606   *djgpp*)
   14607     lt_prog_compiler_pic=
   14608     ;;
   14609   *)
   14610     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   14611     ;;
   14612 esac
   14613 
   14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14615 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14616 if ${lt_cv_prog_compiler_pic+:} false; then :
   14617   $as_echo_n "(cached) " >&6
   14618 else
   14619   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   14620 fi
   14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   14622 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   14623 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   14624 
   14625 #
   14626 # Check to make sure the PIC flag actually works.
   14627 #
   14628 if test -n "$lt_prog_compiler_pic"; then
   14629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   14630 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   14631 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   14632   $as_echo_n "(cached) " >&6
   14633 else
   14634   lt_cv_prog_compiler_pic_works=no
   14635    ac_outfile=conftest.$ac_objext
   14636    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14637    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   14638    # Insert the option either (1) after the last *FLAGS variable, or
   14639    # (2) before a word containing "conftest.", or (3) at the end.
   14640    # Note that $ac_compile itself does not contain backslashes and begins
   14641    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14642    # The option is referenced via a variable to avoid confusing sed.
   14643    lt_compile=`echo "$ac_compile" | $SED \
   14644    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14645    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14646    -e 's:$: $lt_compiler_flag:'`
   14647    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14648    (eval "$lt_compile" 2>conftest.err)
   14649    ac_status=$?
   14650    cat conftest.err >&5
   14651    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14652    if (exit $ac_status) && test -s "$ac_outfile"; then
   14653      # The compiler can only warn and ignore the option if not recognized
   14654      # So say no if there are warnings other than the usual output.
   14655      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14656      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14657      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14658        lt_cv_prog_compiler_pic_works=yes
   14659      fi
   14660    fi
   14661    $RM conftest*
   14662 
   14663 fi
   14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   14665 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   14666 
   14667 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   14668     case $lt_prog_compiler_pic in
   14669      "" | " "*) ;;
   14670      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   14671      esac
   14672 else
   14673     lt_prog_compiler_pic=
   14674      lt_prog_compiler_can_build_shared=no
   14675 fi
   14676 
   14677 fi
   14678 
   14679 
   14680 
   14681 
   14682 
   14683 
   14684 
   14685 
   14686 
   14687 
   14688 
   14689 #
   14690 # Check to make sure the static flag actually works.
   14691 #
   14692 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14694 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14695 if ${lt_cv_prog_compiler_static_works+:} false; then :
   14696   $as_echo_n "(cached) " >&6
   14697 else
   14698   lt_cv_prog_compiler_static_works=no
   14699    save_LDFLAGS="$LDFLAGS"
   14700    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14701    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14702    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14703      # The linker can only warn and ignore the option if not recognized
   14704      # So say no if there are warnings
   14705      if test -s conftest.err; then
   14706        # Append any errors to the config.log.
   14707        cat conftest.err 1>&5
   14708        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14709        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14710        if diff conftest.exp conftest.er2 >/dev/null; then
   14711          lt_cv_prog_compiler_static_works=yes
   14712        fi
   14713      else
   14714        lt_cv_prog_compiler_static_works=yes
   14715      fi
   14716    fi
   14717    $RM -r conftest*
   14718    LDFLAGS="$save_LDFLAGS"
   14719 
   14720 fi
   14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   14722 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   14723 
   14724 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   14725     :
   14726 else
   14727     lt_prog_compiler_static=
   14728 fi
   14729 
   14730 
   14731 
   14732 
   14733 
   14734 
   14735 
   14736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14737 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14738 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14739   $as_echo_n "(cached) " >&6
   14740 else
   14741   lt_cv_prog_compiler_c_o=no
   14742    $RM -r conftest 2>/dev/null
   14743    mkdir conftest
   14744    cd conftest
   14745    mkdir out
   14746    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14747 
   14748    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14749    # Insert the option either (1) after the last *FLAGS variable, or
   14750    # (2) before a word containing "conftest.", or (3) at the end.
   14751    # Note that $ac_compile itself does not contain backslashes and begins
   14752    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14753    lt_compile=`echo "$ac_compile" | $SED \
   14754    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14755    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14756    -e 's:$: $lt_compiler_flag:'`
   14757    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14758    (eval "$lt_compile" 2>out/conftest.err)
   14759    ac_status=$?
   14760    cat out/conftest.err >&5
   14761    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14762    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14763    then
   14764      # The compiler can only warn and ignore the option if not recognized
   14765      # So say no if there are warnings
   14766      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14767      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14768      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14769        lt_cv_prog_compiler_c_o=yes
   14770      fi
   14771    fi
   14772    chmod u+w . 2>&5
   14773    $RM conftest*
   14774    # SGI C++ compiler will create directory out/ii_files/ for
   14775    # template instantiation
   14776    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14777    $RM out/* && rmdir out
   14778    cd ..
   14779    $RM -r conftest
   14780    $RM conftest*
   14781 
   14782 fi
   14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14784 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 
   14791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14792 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14793 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14794   $as_echo_n "(cached) " >&6
   14795 else
   14796   lt_cv_prog_compiler_c_o=no
   14797    $RM -r conftest 2>/dev/null
   14798    mkdir conftest
   14799    cd conftest
   14800    mkdir out
   14801    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14802 
   14803    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14804    # Insert the option either (1) after the last *FLAGS variable, or
   14805    # (2) before a word containing "conftest.", or (3) at the end.
   14806    # Note that $ac_compile itself does not contain backslashes and begins
   14807    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14808    lt_compile=`echo "$ac_compile" | $SED \
   14809    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14810    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14811    -e 's:$: $lt_compiler_flag:'`
   14812    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14813    (eval "$lt_compile" 2>out/conftest.err)
   14814    ac_status=$?
   14815    cat out/conftest.err >&5
   14816    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14817    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14818    then
   14819      # The compiler can only warn and ignore the option if not recognized
   14820      # So say no if there are warnings
   14821      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14822      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14823      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14824        lt_cv_prog_compiler_c_o=yes
   14825      fi
   14826    fi
   14827    chmod u+w . 2>&5
   14828    $RM conftest*
   14829    # SGI C++ compiler will create directory out/ii_files/ for
   14830    # template instantiation
   14831    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14832    $RM out/* && rmdir out
   14833    cd ..
   14834    $RM -r conftest
   14835    $RM conftest*
   14836 
   14837 fi
   14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14839 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14840 
   14841 
   14842 
   14843 
   14844 hard_links="nottested"
   14845 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   14846   # do not overwrite the value of need_locks provided by the user
   14847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14848 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14849   hard_links=yes
   14850   $RM conftest*
   14851   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14852   touch conftest.a
   14853   ln conftest.a conftest.b 2>&5 || hard_links=no
   14854   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14856 $as_echo "$hard_links" >&6; }
   14857   if test "$hard_links" = no; then
   14858     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14859 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14860     need_locks=warn
   14861   fi
   14862 else
   14863   need_locks=no
   14864 fi
   14865 
   14866 
   14867 
   14868 
   14869 
   14870 
   14871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14872 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14873 
   14874   runpath_var=
   14875   allow_undefined_flag=
   14876   always_export_symbols=no
   14877   archive_cmds=
   14878   archive_expsym_cmds=
   14879   compiler_needs_object=no
   14880   enable_shared_with_static_runtimes=no
   14881   export_dynamic_flag_spec=
   14882   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14883   hardcode_automatic=no
   14884   hardcode_direct=no
   14885   hardcode_direct_absolute=no
   14886   hardcode_libdir_flag_spec=
   14887   hardcode_libdir_separator=
   14888   hardcode_minus_L=no
   14889   hardcode_shlibpath_var=unsupported
   14890   inherit_rpath=no
   14891   link_all_deplibs=unknown
   14892   module_cmds=
   14893   module_expsym_cmds=
   14894   old_archive_from_new_cmds=
   14895   old_archive_from_expsyms_cmds=
   14896   thread_safe_flag_spec=
   14897   whole_archive_flag_spec=
   14898   # include_expsyms should be a list of space-separated symbols to be *always*
   14899   # included in the symbol list
   14900   include_expsyms=
   14901   # exclude_expsyms can be an extended regexp of symbols to exclude
   14902   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14903   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14904   # as well as any symbol that contains `d'.
   14905   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14906   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14907   # platforms (ab)use it in PIC code, but their linkers get confused if
   14908   # the symbol is explicitly referenced.  Since portable code cannot
   14909   # rely on this symbol name, it's probably fine to never include it in
   14910   # preloaded symbol tables.
   14911   # Exclude shared library initialization/finalization symbols.
   14912   extract_expsyms_cmds=
   14913 
   14914   case $host_os in
   14915   cygwin* | mingw* | pw32* | cegcc*)
   14916     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14917     # When not using gcc, we currently assume that we are using
   14918     # Microsoft Visual C++.
   14919     if test "$GCC" != yes; then
   14920       with_gnu_ld=no
   14921     fi
   14922     ;;
   14923   interix*)
   14924     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14925     with_gnu_ld=yes
   14926     ;;
   14927   openbsd*)
   14928     with_gnu_ld=no
   14929     ;;
   14930   linux* | k*bsd*-gnu | gnu*)
   14931     link_all_deplibs=no
   14932     ;;
   14933   esac
   14934 
   14935   ld_shlibs=yes
   14936 
   14937   # On some targets, GNU ld is compatible enough with the native linker
   14938   # that we're better off using the native interface for both.
   14939   lt_use_gnu_ld_interface=no
   14940   if test "$with_gnu_ld" = yes; then
   14941     case $host_os in
   14942       aix*)
   14943 	# The AIX port of GNU ld has always aspired to compatibility
   14944 	# with the native linker.  However, as the warning in the GNU ld
   14945 	# block says, versions before 2.19.5* couldn't really create working
   14946 	# shared libraries, regardless of the interface used.
   14947 	case `$LD -v 2>&1` in
   14948 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   14949 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   14950 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   14951 	  *)
   14952 	    lt_use_gnu_ld_interface=yes
   14953 	    ;;
   14954 	esac
   14955 	;;
   14956       *)
   14957 	lt_use_gnu_ld_interface=yes
   14958 	;;
   14959     esac
   14960   fi
   14961 
   14962   if test "$lt_use_gnu_ld_interface" = yes; then
   14963     # If archive_cmds runs LD, not CC, wlarc should be empty
   14964     wlarc='${wl}'
   14965 
   14966     # Set some defaults for GNU ld with shared library support. These
   14967     # are reset later if shared libraries are not supported. Putting them
   14968     # here allows them to be overridden if necessary.
   14969     runpath_var=LD_RUN_PATH
   14970     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   14971     export_dynamic_flag_spec='${wl}--export-dynamic'
   14972     # ancient GNU ld didn't support --whole-archive et. al.
   14973     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   14974       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14975     else
   14976       whole_archive_flag_spec=
   14977     fi
   14978     supports_anon_versioning=no
   14979     case `$LD -v 2>&1` in
   14980       *GNU\ gold*) supports_anon_versioning=yes ;;
   14981       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14982       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14983       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14984       *\ 2.11.*) ;; # other 2.11 versions
   14985       *) supports_anon_versioning=yes ;;
   14986     esac
   14987 
   14988     # See if GNU ld supports shared libraries.
   14989     case $host_os in
   14990     aix[3-9]*)
   14991       # On AIX/PPC, the GNU linker is very broken
   14992       if test "$host_cpu" != ia64; then
   14993 	ld_shlibs=no
   14994 	cat <<_LT_EOF 1>&2
   14995 
   14996 *** Warning: the GNU linker, at least up to release 2.19, is reported
   14997 *** to be unable to reliably create shared libraries on AIX.
   14998 *** Therefore, libtool is disabling shared libraries support.  If you
   14999 *** really care for shared libraries, you may want to install binutils
   15000 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15001 *** You will then need to restart the configuration process.
   15002 
   15003 _LT_EOF
   15004       fi
   15005       ;;
   15006 
   15007     amigaos*)
   15008       case $host_cpu in
   15009       powerpc)
   15010             # see comment about AmigaOS4 .so support
   15011             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15012             archive_expsym_cmds=''
   15013         ;;
   15014       m68k)
   15015             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   15016             hardcode_libdir_flag_spec='-L$libdir'
   15017             hardcode_minus_L=yes
   15018         ;;
   15019       esac
   15020       ;;
   15021 
   15022     beos*)
   15023       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15024 	allow_undefined_flag=unsupported
   15025 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15026 	# support --undefined.  This deserves some investigation.  FIXME
   15027 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15028       else
   15029 	ld_shlibs=no
   15030       fi
   15031       ;;
   15032 
   15033     cygwin* | mingw* | pw32* | cegcc*)
   15034       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15035       # as there is no search path for DLLs.
   15036       hardcode_libdir_flag_spec='-L$libdir'
   15037       export_dynamic_flag_spec='${wl}--export-all-symbols'
   15038       allow_undefined_flag=unsupported
   15039       always_export_symbols=no
   15040       enable_shared_with_static_runtimes=yes
   15041       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   15042       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15043 
   15044       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15045         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15046 	# If the export-symbols file already is a .def file (1st line
   15047 	# is EXPORTS), use it as is; otherwise, prepend...
   15048 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15049 	  cp $export_symbols $output_objdir/$soname.def;
   15050 	else
   15051 	  echo EXPORTS > $output_objdir/$soname.def;
   15052 	  cat $export_symbols >> $output_objdir/$soname.def;
   15053 	fi~
   15054 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15055       else
   15056 	ld_shlibs=no
   15057       fi
   15058       ;;
   15059 
   15060     haiku*)
   15061       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15062       link_all_deplibs=yes
   15063       ;;
   15064 
   15065     interix[3-9]*)
   15066       hardcode_direct=no
   15067       hardcode_shlibpath_var=no
   15068       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15069       export_dynamic_flag_spec='${wl}-E'
   15070       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15071       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15072       # default) and relocated if they conflict, which is a slow very memory
   15073       # consuming and fragmenting process.  To avoid this, we pick a random,
   15074       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15075       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15076       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15077       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15078       ;;
   15079 
   15080     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15081       tmp_diet=no
   15082       if test "$host_os" = linux-dietlibc; then
   15083 	case $cc_basename in
   15084 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15085 	esac
   15086       fi
   15087       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15088 	 && test "$tmp_diet" = no
   15089       then
   15090 	tmp_addflag=' $pic_flag'
   15091 	tmp_sharedflag='-shared'
   15092 	case $cc_basename,$host_cpu in
   15093         pgcc*)				# Portland Group C compiler
   15094 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   15095 	  tmp_addflag=' $pic_flag'
   15096 	  ;;
   15097 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15098 					# Portland Group f77 and f90 compilers
   15099 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   15100 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15101 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15102 	  tmp_addflag=' -i_dynamic' ;;
   15103 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15104 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15105 	ifc* | ifort*)			# Intel Fortran compiler
   15106 	  tmp_addflag=' -nofor_main' ;;
   15107 	lf95*)				# Lahey Fortran 8.1
   15108 	  whole_archive_flag_spec=
   15109 	  tmp_sharedflag='--shared' ;;
   15110 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15111 	  tmp_sharedflag='-qmkshrobj'
   15112 	  tmp_addflag= ;;
   15113 	nvcc*)	# Cuda Compiler Driver 2.2
   15114 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   15115 	  compiler_needs_object=yes
   15116 	  ;;
   15117 	esac
   15118 	case `$CC -V 2>&1 | sed 5q` in
   15119 	*Sun\ C*)			# Sun C 5.9
   15120 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   15121 	  compiler_needs_object=yes
   15122 	  tmp_sharedflag='-G' ;;
   15123 	*Sun\ F*)			# Sun Fortran 8.3
   15124 	  tmp_sharedflag='-G' ;;
   15125 	esac
   15126 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15127 
   15128         if test "x$supports_anon_versioning" = xyes; then
   15129           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15130 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15131 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   15132 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15133         fi
   15134 
   15135 	case $cc_basename in
   15136 	xlf* | bgf* | bgxlf* | mpixlf*)
   15137 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15138 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15139 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15140 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15141 	  if test "x$supports_anon_versioning" = xyes; then
   15142 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15143 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15144 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   15145 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15146 	  fi
   15147 	  ;;
   15148 	esac
   15149       else
   15150         ld_shlibs=no
   15151       fi
   15152       ;;
   15153 
   15154     netbsd* | netbsdelf*-gnu)
   15155       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15156 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15157 	wlarc=
   15158       else
   15159 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15160 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15161       fi
   15162       ;;
   15163 
   15164     solaris*)
   15165       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15166 	ld_shlibs=no
   15167 	cat <<_LT_EOF 1>&2
   15168 
   15169 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15170 *** create shared libraries on Solaris systems.  Therefore, libtool
   15171 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15172 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15173 *** your PATH or compiler configuration so that the native linker is
   15174 *** used, and then restart.
   15175 
   15176 _LT_EOF
   15177       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15178 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15179 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15180       else
   15181 	ld_shlibs=no
   15182       fi
   15183       ;;
   15184 
   15185     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15186       case `$LD -v 2>&1` in
   15187         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15188 	ld_shlibs=no
   15189 	cat <<_LT_EOF 1>&2
   15190 
   15191 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15192 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15193 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15194 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15195 *** your PATH or compiler configuration so that the native linker is
   15196 *** used, and then restart.
   15197 
   15198 _LT_EOF
   15199 	;;
   15200 	*)
   15201 	  # For security reasons, it is highly recommended that you always
   15202 	  # use absolute paths for naming shared libraries, and exclude the
   15203 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15204 	  # requires that you compile everything twice, which is a pain.
   15205 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15206 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15207 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15208 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15209 	  else
   15210 	    ld_shlibs=no
   15211 	  fi
   15212 	;;
   15213       esac
   15214       ;;
   15215 
   15216     sunos4*)
   15217       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15218       wlarc=
   15219       hardcode_direct=yes
   15220       hardcode_shlibpath_var=no
   15221       ;;
   15222 
   15223     *)
   15224       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15225 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15226 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15227       else
   15228 	ld_shlibs=no
   15229       fi
   15230       ;;
   15231     esac
   15232 
   15233     if test "$ld_shlibs" = no; then
   15234       runpath_var=
   15235       hardcode_libdir_flag_spec=
   15236       export_dynamic_flag_spec=
   15237       whole_archive_flag_spec=
   15238     fi
   15239   else
   15240     # PORTME fill in a description of your system's linker (not GNU ld)
   15241     case $host_os in
   15242     aix3*)
   15243       allow_undefined_flag=unsupported
   15244       always_export_symbols=yes
   15245       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   15246       # Note: this linker hardcodes the directories in LIBPATH if there
   15247       # are no directories specified by -L.
   15248       hardcode_minus_L=yes
   15249       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15250 	# Neither direct hardcoding nor static linking is supported with a
   15251 	# broken collect2.
   15252 	hardcode_direct=unsupported
   15253       fi
   15254       ;;
   15255 
   15256     aix[4-9]*)
   15257       if test "$host_cpu" = ia64; then
   15258 	# On IA64, the linker does run time linking by default, so we don't
   15259 	# have to do anything special.
   15260 	aix_use_runtimelinking=no
   15261 	exp_sym_flag='-Bexport'
   15262 	no_entry_flag=""
   15263       else
   15264 	# If we're using GNU nm, then we don't want the "-C" option.
   15265 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15266 	# Also, AIX nm treats weak defined symbols like other global
   15267 	# defined symbols, whereas GNU nm marks them as "W".
   15268 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15269 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   15270 	else
   15271 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   15272 	fi
   15273 	aix_use_runtimelinking=no
   15274 
   15275 	# Test if we are trying to use run time linking or normal
   15276 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15277 	# need to do runtime linking.
   15278 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15279 	  for ld_flag in $LDFLAGS; do
   15280 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15281 	    aix_use_runtimelinking=yes
   15282 	    break
   15283 	  fi
   15284 	  done
   15285 	  ;;
   15286 	esac
   15287 
   15288 	exp_sym_flag='-bexport'
   15289 	no_entry_flag='-bnoentry'
   15290       fi
   15291 
   15292       # When large executables or shared objects are built, AIX ld can
   15293       # have problems creating the table of contents.  If linking a library
   15294       # or program results in "error TOC overflow" add -mminimal-toc to
   15295       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15296       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15297 
   15298       archive_cmds=''
   15299       hardcode_direct=yes
   15300       hardcode_direct_absolute=yes
   15301       hardcode_libdir_separator=':'
   15302       link_all_deplibs=yes
   15303       file_list_spec='${wl}-f,'
   15304 
   15305       if test "$GCC" = yes; then
   15306 	case $host_os in aix4.[012]|aix4.[012].*)
   15307 	# We only want to do this on AIX 4.2 and lower, the check
   15308 	# below for broken collect2 doesn't work under 4.3+
   15309 	  collect2name=`${CC} -print-prog-name=collect2`
   15310 	  if test -f "$collect2name" &&
   15311 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15312 	  then
   15313 	  # We have reworked collect2
   15314 	  :
   15315 	  else
   15316 	  # We have old collect2
   15317 	  hardcode_direct=unsupported
   15318 	  # It fails to find uninstalled libraries when the uninstalled
   15319 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15320 	  # to unsupported forces relinking
   15321 	  hardcode_minus_L=yes
   15322 	  hardcode_libdir_flag_spec='-L$libdir'
   15323 	  hardcode_libdir_separator=
   15324 	  fi
   15325 	  ;;
   15326 	esac
   15327 	shared_flag='-shared'
   15328 	if test "$aix_use_runtimelinking" = yes; then
   15329 	  shared_flag="$shared_flag "'${wl}-G'
   15330 	fi
   15331 	link_all_deplibs=no
   15332       else
   15333 	# not using gcc
   15334 	if test "$host_cpu" = ia64; then
   15335 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15336 	# chokes on -Wl,-G. The following line is correct:
   15337 	  shared_flag='-G'
   15338 	else
   15339 	  if test "$aix_use_runtimelinking" = yes; then
   15340 	    shared_flag='${wl}-G'
   15341 	  else
   15342 	    shared_flag='${wl}-bM:SRE'
   15343 	  fi
   15344 	fi
   15345       fi
   15346 
   15347       export_dynamic_flag_spec='${wl}-bexpall'
   15348       # It seems that -bexpall does not export symbols beginning with
   15349       # underscore (_), so it is better to generate a list of symbols to export.
   15350       always_export_symbols=yes
   15351       if test "$aix_use_runtimelinking" = yes; then
   15352 	# Warning - without using the other runtime loading flags (-brtl),
   15353 	# -berok will link without error, but may produce a broken library.
   15354 	allow_undefined_flag='-berok'
   15355         # Determine the default libpath from the value encoded in an
   15356         # empty executable.
   15357         if test "${lt_cv_aix_libpath+set}" = set; then
   15358   aix_libpath=$lt_cv_aix_libpath
   15359 else
   15360   if ${lt_cv_aix_libpath_+:} false; then :
   15361   $as_echo_n "(cached) " >&6
   15362 else
   15363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15364 /* end confdefs.h.  */
   15365 
   15366 int
   15367 main ()
   15368 {
   15369 
   15370   ;
   15371   return 0;
   15372 }
   15373 _ACEOF
   15374 if ac_fn_c_try_link "$LINENO"; then :
   15375 
   15376   lt_aix_libpath_sed='
   15377       /Import File Strings/,/^$/ {
   15378 	  /^0/ {
   15379 	      s/^0  *\([^ ]*\) *$/\1/
   15380 	      p
   15381 	  }
   15382       }'
   15383   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15384   # Check for a 64-bit object if we didn't find anything.
   15385   if test -z "$lt_cv_aix_libpath_"; then
   15386     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15387   fi
   15388 fi
   15389 rm -f core conftest.err conftest.$ac_objext \
   15390     conftest$ac_exeext conftest.$ac_ext
   15391   if test -z "$lt_cv_aix_libpath_"; then
   15392     lt_cv_aix_libpath_="/usr/lib:/lib"
   15393   fi
   15394 
   15395 fi
   15396 
   15397   aix_libpath=$lt_cv_aix_libpath_
   15398 fi
   15399 
   15400         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15401         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   15402       else
   15403 	if test "$host_cpu" = ia64; then
   15404 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   15405 	  allow_undefined_flag="-z nodefs"
   15406 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   15407 	else
   15408 	 # Determine the default libpath from the value encoded in an
   15409 	 # empty executable.
   15410 	 if test "${lt_cv_aix_libpath+set}" = set; then
   15411   aix_libpath=$lt_cv_aix_libpath
   15412 else
   15413   if ${lt_cv_aix_libpath_+:} false; then :
   15414   $as_echo_n "(cached) " >&6
   15415 else
   15416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15417 /* end confdefs.h.  */
   15418 
   15419 int
   15420 main ()
   15421 {
   15422 
   15423   ;
   15424   return 0;
   15425 }
   15426 _ACEOF
   15427 if ac_fn_c_try_link "$LINENO"; then :
   15428 
   15429   lt_aix_libpath_sed='
   15430       /Import File Strings/,/^$/ {
   15431 	  /^0/ {
   15432 	      s/^0  *\([^ ]*\) *$/\1/
   15433 	      p
   15434 	  }
   15435       }'
   15436   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15437   # Check for a 64-bit object if we didn't find anything.
   15438   if test -z "$lt_cv_aix_libpath_"; then
   15439     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15440   fi
   15441 fi
   15442 rm -f core conftest.err conftest.$ac_objext \
   15443     conftest$ac_exeext conftest.$ac_ext
   15444   if test -z "$lt_cv_aix_libpath_"; then
   15445     lt_cv_aix_libpath_="/usr/lib:/lib"
   15446   fi
   15447 
   15448 fi
   15449 
   15450   aix_libpath=$lt_cv_aix_libpath_
   15451 fi
   15452 
   15453 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15454 	  # Warning - without using the other run time loading flags,
   15455 	  # -berok will link without error, but may produce a broken library.
   15456 	  no_undefined_flag=' ${wl}-bernotok'
   15457 	  allow_undefined_flag=' ${wl}-berok'
   15458 	  if test "$with_gnu_ld" = yes; then
   15459 	    # We only use this code for GNU lds that support --whole-archive.
   15460 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   15461 	  else
   15462 	    # Exported symbols can be pulled into shared objects from archives
   15463 	    whole_archive_flag_spec='$convenience'
   15464 	  fi
   15465 	  archive_cmds_need_lc=yes
   15466 	  # This is similar to how AIX traditionally builds its shared libraries.
   15467 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   15468 	fi
   15469       fi
   15470       ;;
   15471 
   15472     amigaos*)
   15473       case $host_cpu in
   15474       powerpc)
   15475             # see comment about AmigaOS4 .so support
   15476             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15477             archive_expsym_cmds=''
   15478         ;;
   15479       m68k)
   15480             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   15481             hardcode_libdir_flag_spec='-L$libdir'
   15482             hardcode_minus_L=yes
   15483         ;;
   15484       esac
   15485       ;;
   15486 
   15487     bsdi[45]*)
   15488       export_dynamic_flag_spec=-rdynamic
   15489       ;;
   15490 
   15491     cygwin* | mingw* | pw32* | cegcc*)
   15492       # When not using gcc, we currently assume that we are using
   15493       # Microsoft Visual C++.
   15494       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15495       # no search path for DLLs.
   15496       case $cc_basename in
   15497       cl*)
   15498 	# Native MSVC
   15499 	hardcode_libdir_flag_spec=' '
   15500 	allow_undefined_flag=unsupported
   15501 	always_export_symbols=yes
   15502 	file_list_spec='@'
   15503 	# Tell ltmain to make .lib files, not .a files.
   15504 	libext=lib
   15505 	# Tell ltmain to make .dll files, not .so files.
   15506 	shrext_cmds=".dll"
   15507 	# FIXME: Setting linknames here is a bad hack.
   15508 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   15509 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15510 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   15511 	  else
   15512 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   15513 	  fi~
   15514 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   15515 	  linknames='
   15516 	# The linker will not automatically build a static lib if we build a DLL.
   15517 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   15518 	enable_shared_with_static_runtimes=yes
   15519 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   15520 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   15521 	# Don't use ranlib
   15522 	old_postinstall_cmds='chmod 644 $oldlib'
   15523 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   15524 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   15525 	  case $lt_outputfile in
   15526 	    *.exe|*.EXE) ;;
   15527 	    *)
   15528 	      lt_outputfile="$lt_outputfile.exe"
   15529 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   15530 	      ;;
   15531 	  esac~
   15532 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   15533 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   15534 	    $RM "$lt_outputfile.manifest";
   15535 	  fi'
   15536 	;;
   15537       *)
   15538 	# Assume MSVC wrapper
   15539 	hardcode_libdir_flag_spec=' '
   15540 	allow_undefined_flag=unsupported
   15541 	# Tell ltmain to make .lib files, not .a files.
   15542 	libext=lib
   15543 	# Tell ltmain to make .dll files, not .so files.
   15544 	shrext_cmds=".dll"
   15545 	# FIXME: Setting linknames here is a bad hack.
   15546 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   15547 	# The linker will automatically build a .lib file if we build a DLL.
   15548 	old_archive_from_new_cmds='true'
   15549 	# FIXME: Should let the user specify the lib program.
   15550 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15551 	enable_shared_with_static_runtimes=yes
   15552 	;;
   15553       esac
   15554       ;;
   15555 
   15556     darwin* | rhapsody*)
   15557 
   15558 
   15559   archive_cmds_need_lc=no
   15560   hardcode_direct=no
   15561   hardcode_automatic=yes
   15562   hardcode_shlibpath_var=unsupported
   15563   if test "$lt_cv_ld_force_load" = "yes"; then
   15564     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   15565 
   15566   else
   15567     whole_archive_flag_spec=''
   15568   fi
   15569   link_all_deplibs=yes
   15570   allow_undefined_flag="$_lt_dar_allow_undefined"
   15571   case $cc_basename in
   15572      ifort*) _lt_dar_can_shared=yes ;;
   15573      *) _lt_dar_can_shared=$GCC ;;
   15574   esac
   15575   if test "$_lt_dar_can_shared" = "yes"; then
   15576     output_verbose_link_cmd=func_echo_all
   15577     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15578     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15579     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   15580     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   15581 
   15582   else
   15583   ld_shlibs=no
   15584   fi
   15585 
   15586       ;;
   15587 
   15588     dgux*)
   15589       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15590       hardcode_libdir_flag_spec='-L$libdir'
   15591       hardcode_shlibpath_var=no
   15592       ;;
   15593 
   15594     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15595     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15596     # does not break anything, and helps significantly (at the cost of a little
   15597     # extra space).
   15598     freebsd2.2*)
   15599       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15600       hardcode_libdir_flag_spec='-R$libdir'
   15601       hardcode_direct=yes
   15602       hardcode_shlibpath_var=no
   15603       ;;
   15604 
   15605     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15606     freebsd2.*)
   15607       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15608       hardcode_direct=yes
   15609       hardcode_minus_L=yes
   15610       hardcode_shlibpath_var=no
   15611       ;;
   15612 
   15613     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15614     freebsd* | dragonfly*)
   15615       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15616       hardcode_libdir_flag_spec='-R$libdir'
   15617       hardcode_direct=yes
   15618       hardcode_shlibpath_var=no
   15619       ;;
   15620 
   15621     hpux9*)
   15622       if test "$GCC" = yes; then
   15623 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15624       else
   15625 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15626       fi
   15627       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15628       hardcode_libdir_separator=:
   15629       hardcode_direct=yes
   15630 
   15631       # hardcode_minus_L: Not really in the search PATH,
   15632       # but as the default location of the library.
   15633       hardcode_minus_L=yes
   15634       export_dynamic_flag_spec='${wl}-E'
   15635       ;;
   15636 
   15637     hpux10*)
   15638       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15639 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15640       else
   15641 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15642       fi
   15643       if test "$with_gnu_ld" = no; then
   15644 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15645 	hardcode_libdir_separator=:
   15646 	hardcode_direct=yes
   15647 	hardcode_direct_absolute=yes
   15648 	export_dynamic_flag_spec='${wl}-E'
   15649 	# hardcode_minus_L: Not really in the search PATH,
   15650 	# but as the default location of the library.
   15651 	hardcode_minus_L=yes
   15652       fi
   15653       ;;
   15654 
   15655     hpux11*)
   15656       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15657 	case $host_cpu in
   15658 	hppa*64*)
   15659 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15660 	  ;;
   15661 	ia64*)
   15662 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15663 	  ;;
   15664 	*)
   15665 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15666 	  ;;
   15667 	esac
   15668       else
   15669 	case $host_cpu in
   15670 	hppa*64*)
   15671 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15672 	  ;;
   15673 	ia64*)
   15674 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15675 	  ;;
   15676 	*)
   15677 
   15678 	  # Older versions of the 11.00 compiler do not understand -b yet
   15679 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   15680 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   15681 $as_echo_n "checking if $CC understands -b... " >&6; }
   15682 if ${lt_cv_prog_compiler__b+:} false; then :
   15683   $as_echo_n "(cached) " >&6
   15684 else
   15685   lt_cv_prog_compiler__b=no
   15686    save_LDFLAGS="$LDFLAGS"
   15687    LDFLAGS="$LDFLAGS -b"
   15688    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15689    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15690      # The linker can only warn and ignore the option if not recognized
   15691      # So say no if there are warnings
   15692      if test -s conftest.err; then
   15693        # Append any errors to the config.log.
   15694        cat conftest.err 1>&5
   15695        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15696        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15697        if diff conftest.exp conftest.er2 >/dev/null; then
   15698          lt_cv_prog_compiler__b=yes
   15699        fi
   15700      else
   15701        lt_cv_prog_compiler__b=yes
   15702      fi
   15703    fi
   15704    $RM -r conftest*
   15705    LDFLAGS="$save_LDFLAGS"
   15706 
   15707 fi
   15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   15709 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   15710 
   15711 if test x"$lt_cv_prog_compiler__b" = xyes; then
   15712     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15713 else
   15714     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15715 fi
   15716 
   15717 	  ;;
   15718 	esac
   15719       fi
   15720       if test "$with_gnu_ld" = no; then
   15721 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15722 	hardcode_libdir_separator=:
   15723 
   15724 	case $host_cpu in
   15725 	hppa*64*|ia64*)
   15726 	  hardcode_direct=no
   15727 	  hardcode_shlibpath_var=no
   15728 	  ;;
   15729 	*)
   15730 	  hardcode_direct=yes
   15731 	  hardcode_direct_absolute=yes
   15732 	  export_dynamic_flag_spec='${wl}-E'
   15733 
   15734 	  # hardcode_minus_L: Not really in the search PATH,
   15735 	  # but as the default location of the library.
   15736 	  hardcode_minus_L=yes
   15737 	  ;;
   15738 	esac
   15739       fi
   15740       ;;
   15741 
   15742     irix5* | irix6* | nonstopux*)
   15743       if test "$GCC" = yes; then
   15744 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15745 	# Try to use the -exported_symbol ld option, if it does not
   15746 	# work, assume that -exports_file does not work either and
   15747 	# implicitly export all symbols.
   15748 	# This should be the same for all languages, so no per-tag cache variable.
   15749 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   15750 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   15751 if ${lt_cv_irix_exported_symbol+:} false; then :
   15752   $as_echo_n "(cached) " >&6
   15753 else
   15754   save_LDFLAGS="$LDFLAGS"
   15755 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   15756 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15757 /* end confdefs.h.  */
   15758 int foo (void) { return 0; }
   15759 _ACEOF
   15760 if ac_fn_c_try_link "$LINENO"; then :
   15761   lt_cv_irix_exported_symbol=yes
   15762 else
   15763   lt_cv_irix_exported_symbol=no
   15764 fi
   15765 rm -f core conftest.err conftest.$ac_objext \
   15766     conftest$ac_exeext conftest.$ac_ext
   15767            LDFLAGS="$save_LDFLAGS"
   15768 fi
   15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   15770 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   15771 	if test "$lt_cv_irix_exported_symbol" = yes; then
   15772           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   15773 	fi
   15774       else
   15775 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   15776 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   15777       fi
   15778       archive_cmds_need_lc='no'
   15779       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15780       hardcode_libdir_separator=:
   15781       inherit_rpath=yes
   15782       link_all_deplibs=yes
   15783       ;;
   15784 
   15785     netbsd* | netbsdelf*-gnu)
   15786       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15787 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15788       else
   15789 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15790       fi
   15791       hardcode_libdir_flag_spec='-R$libdir'
   15792       hardcode_direct=yes
   15793       hardcode_shlibpath_var=no
   15794       ;;
   15795 
   15796     newsos6)
   15797       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15798       hardcode_direct=yes
   15799       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15800       hardcode_libdir_separator=:
   15801       hardcode_shlibpath_var=no
   15802       ;;
   15803 
   15804     *nto* | *qnx*)
   15805       ;;
   15806 
   15807     openbsd*)
   15808       if test -f /usr/libexec/ld.so; then
   15809 	hardcode_direct=yes
   15810 	hardcode_shlibpath_var=no
   15811 	hardcode_direct_absolute=yes
   15812 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15813 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15814 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15815 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15816 	  export_dynamic_flag_spec='${wl}-E'
   15817 	else
   15818 	  case $host_os in
   15819 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15820 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15821 	     hardcode_libdir_flag_spec='-R$libdir'
   15822 	     ;;
   15823 	   *)
   15824 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15825 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15826 	     ;;
   15827 	  esac
   15828 	fi
   15829       else
   15830 	ld_shlibs=no
   15831       fi
   15832       ;;
   15833 
   15834     os2*)
   15835       hardcode_libdir_flag_spec='-L$libdir'
   15836       hardcode_minus_L=yes
   15837       allow_undefined_flag=unsupported
   15838       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   15839       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15840       ;;
   15841 
   15842     osf3*)
   15843       if test "$GCC" = yes; then
   15844 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15845 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15846       else
   15847 	allow_undefined_flag=' -expect_unresolved \*'
   15848 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   15849       fi
   15850       archive_cmds_need_lc='no'
   15851       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15852       hardcode_libdir_separator=:
   15853       ;;
   15854 
   15855     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15856       if test "$GCC" = yes; then
   15857 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15858 	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15859 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15860       else
   15861 	allow_undefined_flag=' -expect_unresolved \*'
   15862 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   15863 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   15864 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   15865 
   15866 	# Both c and cxx compiler support -rpath directly
   15867 	hardcode_libdir_flag_spec='-rpath $libdir'
   15868       fi
   15869       archive_cmds_need_lc='no'
   15870       hardcode_libdir_separator=:
   15871       ;;
   15872 
   15873     solaris*)
   15874       no_undefined_flag=' -z defs'
   15875       if test "$GCC" = yes; then
   15876 	wlarc='${wl}'
   15877 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15878 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15879 	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   15880       else
   15881 	case `$CC -V 2>&1` in
   15882 	*"Compilers 5.0"*)
   15883 	  wlarc=''
   15884 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15885 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15886 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   15887 	  ;;
   15888 	*)
   15889 	  wlarc='${wl}'
   15890 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15891 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15892 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   15893 	  ;;
   15894 	esac
   15895       fi
   15896       hardcode_libdir_flag_spec='-R$libdir'
   15897       hardcode_shlibpath_var=no
   15898       case $host_os in
   15899       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15900       *)
   15901 	# The compiler driver will combine and reorder linker options,
   15902 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15903 	# but is careful enough not to reorder.
   15904 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15905 	if test "$GCC" = yes; then
   15906 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15907 	else
   15908 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   15909 	fi
   15910 	;;
   15911       esac
   15912       link_all_deplibs=yes
   15913       ;;
   15914 
   15915     sunos4*)
   15916       if test "x$host_vendor" = xsequent; then
   15917 	# Use $CC to link under sequent, because it throws in some extra .o
   15918 	# files that make .init and .fini sections work.
   15919 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15920       else
   15921 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15922       fi
   15923       hardcode_libdir_flag_spec='-L$libdir'
   15924       hardcode_direct=yes
   15925       hardcode_minus_L=yes
   15926       hardcode_shlibpath_var=no
   15927       ;;
   15928 
   15929     sysv4)
   15930       case $host_vendor in
   15931 	sni)
   15932 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15933 	  hardcode_direct=yes # is this really true???
   15934 	;;
   15935 	siemens)
   15936 	  ## LD is ld it makes a PLAMLIB
   15937 	  ## CC just makes a GrossModule.
   15938 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15939 	  reload_cmds='$CC -r -o $output$reload_objs'
   15940 	  hardcode_direct=no
   15941         ;;
   15942 	motorola)
   15943 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15944 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   15945 	;;
   15946       esac
   15947       runpath_var='LD_RUN_PATH'
   15948       hardcode_shlibpath_var=no
   15949       ;;
   15950 
   15951     sysv4.3*)
   15952       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15953       hardcode_shlibpath_var=no
   15954       export_dynamic_flag_spec='-Bexport'
   15955       ;;
   15956 
   15957     sysv4*MP*)
   15958       if test -d /usr/nec; then
   15959 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15960 	hardcode_shlibpath_var=no
   15961 	runpath_var=LD_RUN_PATH
   15962 	hardcode_runpath_var=yes
   15963 	ld_shlibs=yes
   15964       fi
   15965       ;;
   15966 
   15967     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15968       no_undefined_flag='${wl}-z,text'
   15969       archive_cmds_need_lc=no
   15970       hardcode_shlibpath_var=no
   15971       runpath_var='LD_RUN_PATH'
   15972 
   15973       if test "$GCC" = yes; then
   15974 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15975 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15976       else
   15977 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15978 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15979       fi
   15980       ;;
   15981 
   15982     sysv5* | sco3.2v5* | sco5v6*)
   15983       # Note: We can NOT use -z defs as we might desire, because we do not
   15984       # link with -lc, and that would cause any symbols used from libc to
   15985       # always be unresolved, which means just about no library would
   15986       # ever link correctly.  If we're not using GNU ld we use -z text
   15987       # though, which does catch some bad symbols but isn't as heavy-handed
   15988       # as -z defs.
   15989       no_undefined_flag='${wl}-z,text'
   15990       allow_undefined_flag='${wl}-z,nodefs'
   15991       archive_cmds_need_lc=no
   15992       hardcode_shlibpath_var=no
   15993       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   15994       hardcode_libdir_separator=':'
   15995       link_all_deplibs=yes
   15996       export_dynamic_flag_spec='${wl}-Bexport'
   15997       runpath_var='LD_RUN_PATH'
   15998 
   15999       if test "$GCC" = yes; then
   16000 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16001 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16002       else
   16003 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16004 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16005       fi
   16006       ;;
   16007 
   16008     uts4*)
   16009       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16010       hardcode_libdir_flag_spec='-L$libdir'
   16011       hardcode_shlibpath_var=no
   16012       ;;
   16013 
   16014     *)
   16015       ld_shlibs=no
   16016       ;;
   16017     esac
   16018 
   16019     if test x$host_vendor = xsni; then
   16020       case $host in
   16021       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16022 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   16023 	;;
   16024       esac
   16025     fi
   16026   fi
   16027 
   16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16029 $as_echo "$ld_shlibs" >&6; }
   16030 test "$ld_shlibs" = no && can_build_shared=no
   16031 
   16032 with_gnu_ld=$with_gnu_ld
   16033 
   16034 
   16035 
   16036 
   16037 
   16038 
   16039 
   16040 
   16041 
   16042 
   16043 
   16044 
   16045 
   16046 
   16047 
   16048 #
   16049 # Do we need to explicitly link libc?
   16050 #
   16051 case "x$archive_cmds_need_lc" in
   16052 x|xyes)
   16053   # Assume -lc should be added
   16054   archive_cmds_need_lc=yes
   16055 
   16056   if test "$enable_shared" = yes && test "$GCC" = yes; then
   16057     case $archive_cmds in
   16058     *'~'*)
   16059       # FIXME: we may have to deal with multi-command sequences.
   16060       ;;
   16061     '$CC '*)
   16062       # Test whether the compiler implicitly links with -lc since on some
   16063       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16064       # to ld, don't add -lc before -lgcc.
   16065       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16066 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16067 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16068   $as_echo_n "(cached) " >&6
   16069 else
   16070   $RM conftest*
   16071 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16072 
   16073 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16074   (eval $ac_compile) 2>&5
   16075   ac_status=$?
   16076   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16077   test $ac_status = 0; } 2>conftest.err; then
   16078 	  soname=conftest
   16079 	  lib=conftest
   16080 	  libobjs=conftest.$ac_objext
   16081 	  deplibs=
   16082 	  wl=$lt_prog_compiler_wl
   16083 	  pic_flag=$lt_prog_compiler_pic
   16084 	  compiler_flags=-v
   16085 	  linker_flags=-v
   16086 	  verstring=
   16087 	  output_objdir=.
   16088 	  libname=conftest
   16089 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16090 	  allow_undefined_flag=
   16091 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16092   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16093   ac_status=$?
   16094   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16095   test $ac_status = 0; }
   16096 	  then
   16097 	    lt_cv_archive_cmds_need_lc=no
   16098 	  else
   16099 	    lt_cv_archive_cmds_need_lc=yes
   16100 	  fi
   16101 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16102 	else
   16103 	  cat conftest.err 1>&5
   16104 	fi
   16105 	$RM conftest*
   16106 
   16107 fi
   16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16109 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16110       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16111       ;;
   16112     esac
   16113   fi
   16114   ;;
   16115 esac
   16116 
   16117 
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 
   16124 
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 
   16145 
   16146 
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 
   16165 
   16166 
   16167 
   16168 
   16169 
   16170 
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 
   16177 
   16178 
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 
   16196 
   16197 
   16198 
   16199 
   16200 
   16201 
   16202 
   16203 
   16204 
   16205 
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 
   16218 
   16219 
   16220 
   16221 
   16222 
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 
   16235 
   16236 
   16237 
   16238 
   16239 
   16240 
   16241 
   16242 
   16243 
   16244 
   16245 
   16246 
   16247 
   16248 
   16249 
   16250 
   16251 
   16252 
   16253 
   16254 
   16255 
   16256 
   16257 
   16258 
   16259 
   16260 
   16261 
   16262 
   16263 
   16264 
   16265 
   16266 
   16267 
   16268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16269 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16270 
   16271 if test "$GCC" = yes; then
   16272   case $host_os in
   16273     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   16274     *) lt_awk_arg="/^libraries:/" ;;
   16275   esac
   16276   case $host_os in
   16277     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   16278     *) lt_sed_strip_eq="s,=/,/,g" ;;
   16279   esac
   16280   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16281   case $lt_search_path_spec in
   16282   *\;*)
   16283     # if the path contains ";" then we assume it to be the separator
   16284     # otherwise default to the standard path separator (i.e. ":") - it is
   16285     # assumed that no part of a normal pathname contains ";" but that should
   16286     # okay in the real world where ";" in dirpaths is itself problematic.
   16287     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16288     ;;
   16289   *)
   16290     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16291     ;;
   16292   esac
   16293   # Ok, now we have the path, separated by spaces, we can step through it
   16294   # and add multilib dir if necessary.
   16295   lt_tmp_lt_search_path_spec=
   16296   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16297   for lt_sys_path in $lt_search_path_spec; do
   16298     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   16299       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   16300     else
   16301       test -d "$lt_sys_path" && \
   16302 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16303     fi
   16304   done
   16305   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16306 BEGIN {RS=" "; FS="/|\n";} {
   16307   lt_foo="";
   16308   lt_count=0;
   16309   for (lt_i = NF; lt_i > 0; lt_i--) {
   16310     if ($lt_i != "" && $lt_i != ".") {
   16311       if ($lt_i == "..") {
   16312         lt_count++;
   16313       } else {
   16314         if (lt_count == 0) {
   16315           lt_foo="/" $lt_i lt_foo;
   16316         } else {
   16317           lt_count--;
   16318         }
   16319       }
   16320     }
   16321   }
   16322   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16323   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16324 }'`
   16325   # AWK program above erroneously prepends '/' to C:/dos/paths
   16326   # for these hosts.
   16327   case $host_os in
   16328     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16329       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   16330   esac
   16331   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16332 else
   16333   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16334 fi
   16335 library_names_spec=
   16336 libname_spec='lib$name'
   16337 soname_spec=
   16338 shrext_cmds=".so"
   16339 postinstall_cmds=
   16340 postuninstall_cmds=
   16341 finish_cmds=
   16342 finish_eval=
   16343 shlibpath_var=
   16344 shlibpath_overrides_runpath=unknown
   16345 version_type=none
   16346 dynamic_linker="$host_os ld.so"
   16347 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16348 need_lib_prefix=unknown
   16349 hardcode_into_libs=no
   16350 
   16351 # when you set need_version to no, make sure it does not cause -set_version
   16352 # flags to be left without arguments
   16353 need_version=unknown
   16354 
   16355 case $host_os in
   16356 aix3*)
   16357   version_type=linux # correct to gnu/linux during the next big refactor
   16358   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   16359   shlibpath_var=LIBPATH
   16360 
   16361   # AIX 3 has no versioning support, so we append a major version to the name.
   16362   soname_spec='${libname}${release}${shared_ext}$major'
   16363   ;;
   16364 
   16365 aix[4-9]*)
   16366   version_type=linux # correct to gnu/linux during the next big refactor
   16367   need_lib_prefix=no
   16368   need_version=no
   16369   hardcode_into_libs=yes
   16370   if test "$host_cpu" = ia64; then
   16371     # AIX 5 supports IA64
   16372     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   16373     shlibpath_var=LD_LIBRARY_PATH
   16374   else
   16375     # With GCC up to 2.95.x, collect2 would create an import file
   16376     # for dependence libraries.  The import file would start with
   16377     # the line `#! .'.  This would cause the generated library to
   16378     # depend on `.', always an invalid library.  This was fixed in
   16379     # development snapshots of GCC prior to 3.0.
   16380     case $host_os in
   16381       aix4 | aix4.[01] | aix4.[01].*)
   16382       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16383 	   echo ' yes '
   16384 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   16385 	:
   16386       else
   16387 	can_build_shared=no
   16388       fi
   16389       ;;
   16390     esac
   16391     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   16392     # soname into executable. Probably we can add versioning support to
   16393     # collect2, so additional links can be useful in future.
   16394     if test "$aix_use_runtimelinking" = yes; then
   16395       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16396       # instead of lib<name>.a to let people know that these are not
   16397       # typical AIX shared libraries.
   16398       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16399     else
   16400       # We preserve .a as extension for shared libraries through AIX4.2
   16401       # and later when we are not doing run time linking.
   16402       library_names_spec='${libname}${release}.a $libname.a'
   16403       soname_spec='${libname}${release}${shared_ext}$major'
   16404     fi
   16405     shlibpath_var=LIBPATH
   16406   fi
   16407   ;;
   16408 
   16409 amigaos*)
   16410   case $host_cpu in
   16411   powerpc)
   16412     # Since July 2007 AmigaOS4 officially supports .so libraries.
   16413     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   16414     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16415     ;;
   16416   m68k)
   16417     library_names_spec='$libname.ixlibrary $libname.a'
   16418     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   16419     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   16420     ;;
   16421   esac
   16422   ;;
   16423 
   16424 beos*)
   16425   library_names_spec='${libname}${shared_ext}'
   16426   dynamic_linker="$host_os ld.so"
   16427   shlibpath_var=LIBRARY_PATH
   16428   ;;
   16429 
   16430 bsdi[45]*)
   16431   version_type=linux # correct to gnu/linux during the next big refactor
   16432   need_version=no
   16433   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16434   soname_spec='${libname}${release}${shared_ext}$major'
   16435   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   16436   shlibpath_var=LD_LIBRARY_PATH
   16437   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   16438   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   16439   # the default ld.so.conf also contains /usr/contrib/lib and
   16440   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   16441   # libtool to hard-code these into programs
   16442   ;;
   16443 
   16444 cygwin* | mingw* | pw32* | cegcc*)
   16445   version_type=windows
   16446   shrext_cmds=".dll"
   16447   need_version=no
   16448   need_lib_prefix=no
   16449 
   16450   case $GCC,$cc_basename in
   16451   yes,*)
   16452     # gcc
   16453     library_names_spec='$libname.dll.a'
   16454     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16455     postinstall_cmds='base_file=`basename \${file}`~
   16456       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16457       dldir=$destdir/`dirname \$dlpath`~
   16458       test -d \$dldir || mkdir -p \$dldir~
   16459       $install_prog $dir/$dlname \$dldir/$dlname~
   16460       chmod a+x \$dldir/$dlname~
   16461       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16462         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16463       fi'
   16464     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16465       dlpath=$dir/\$dldll~
   16466        $RM \$dlpath'
   16467     shlibpath_overrides_runpath=yes
   16468 
   16469     case $host_os in
   16470     cygwin*)
   16471       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   16472       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16473 
   16474       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   16475       ;;
   16476     mingw* | cegcc*)
   16477       # MinGW DLLs use traditional 'lib' prefix
   16478       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16479       ;;
   16480     pw32*)
   16481       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16482       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16483       ;;
   16484     esac
   16485     dynamic_linker='Win32 ld.exe'
   16486     ;;
   16487 
   16488   *,cl*)
   16489     # Native MSVC
   16490     libname_spec='$name'
   16491     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16492     library_names_spec='${libname}.dll.lib'
   16493 
   16494     case $build_os in
   16495     mingw*)
   16496       sys_lib_search_path_spec=
   16497       lt_save_ifs=$IFS
   16498       IFS=';'
   16499       for lt_path in $LIB
   16500       do
   16501         IFS=$lt_save_ifs
   16502         # Let DOS variable expansion print the short 8.3 style file name.
   16503         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   16504         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   16505       done
   16506       IFS=$lt_save_ifs
   16507       # Convert to MSYS style.
   16508       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   16509       ;;
   16510     cygwin*)
   16511       # Convert to unix form, then to dos form, then back to unix form
   16512       # but this time dos style (no spaces!) so that the unix form looks
   16513       # like /cygdrive/c/PROGRA~1:/cygdr...
   16514       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   16515       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   16516       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16517       ;;
   16518     *)
   16519       sys_lib_search_path_spec="$LIB"
   16520       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   16521         # It is most probably a Windows format PATH.
   16522         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16523       else
   16524         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16525       fi
   16526       # FIXME: find the short name or the path components, as spaces are
   16527       # common. (e.g. "Program Files" -> "PROGRA~1")
   16528       ;;
   16529     esac
   16530 
   16531     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16532     postinstall_cmds='base_file=`basename \${file}`~
   16533       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16534       dldir=$destdir/`dirname \$dlpath`~
   16535       test -d \$dldir || mkdir -p \$dldir~
   16536       $install_prog $dir/$dlname \$dldir/$dlname'
   16537     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16538       dlpath=$dir/\$dldll~
   16539        $RM \$dlpath'
   16540     shlibpath_overrides_runpath=yes
   16541     dynamic_linker='Win32 link.exe'
   16542     ;;
   16543 
   16544   *)
   16545     # Assume MSVC wrapper
   16546     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16547     dynamic_linker='Win32 ld.exe'
   16548     ;;
   16549   esac
   16550   # FIXME: first we should search . and the directory the executable is in
   16551   shlibpath_var=PATH
   16552   ;;
   16553 
   16554 darwin* | rhapsody*)
   16555   dynamic_linker="$host_os dyld"
   16556   version_type=darwin
   16557   need_lib_prefix=no
   16558   need_version=no
   16559   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16560   soname_spec='${libname}${release}${major}$shared_ext'
   16561   shlibpath_overrides_runpath=yes
   16562   shlibpath_var=DYLD_LIBRARY_PATH
   16563   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16564 
   16565   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   16566   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16567   ;;
   16568 
   16569 dgux*)
   16570   version_type=linux # correct to gnu/linux during the next big refactor
   16571   need_lib_prefix=no
   16572   need_version=no
   16573   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16574   soname_spec='${libname}${release}${shared_ext}$major'
   16575   shlibpath_var=LD_LIBRARY_PATH
   16576   ;;
   16577 
   16578 freebsd* | dragonfly*)
   16579   # DragonFly does not have aout.  When/if they implement a new
   16580   # versioning mechanism, adjust this.
   16581   if test -x /usr/bin/objformat; then
   16582     objformat=`/usr/bin/objformat`
   16583   else
   16584     case $host_os in
   16585     freebsd[23].*) objformat=aout ;;
   16586     *) objformat=elf ;;
   16587     esac
   16588   fi
   16589   version_type=freebsd-$objformat
   16590   case $version_type in
   16591     freebsd-elf*)
   16592       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16593       need_version=no
   16594       need_lib_prefix=no
   16595       ;;
   16596     freebsd-*)
   16597       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16598       need_version=yes
   16599       ;;
   16600   esac
   16601   shlibpath_var=LD_LIBRARY_PATH
   16602   case $host_os in
   16603   freebsd2.*)
   16604     shlibpath_overrides_runpath=yes
   16605     ;;
   16606   freebsd3.[01]* | freebsdelf3.[01]*)
   16607     shlibpath_overrides_runpath=yes
   16608     hardcode_into_libs=yes
   16609     ;;
   16610   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16611   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16612     shlibpath_overrides_runpath=no
   16613     hardcode_into_libs=yes
   16614     ;;
   16615   *) # from 4.6 on, and DragonFly
   16616     shlibpath_overrides_runpath=yes
   16617     hardcode_into_libs=yes
   16618     ;;
   16619   esac
   16620   ;;
   16621 
   16622 haiku*)
   16623   version_type=linux # correct to gnu/linux during the next big refactor
   16624   need_lib_prefix=no
   16625   need_version=no
   16626   dynamic_linker="$host_os runtime_loader"
   16627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16628   soname_spec='${libname}${release}${shared_ext}$major'
   16629   shlibpath_var=LIBRARY_PATH
   16630   shlibpath_overrides_runpath=yes
   16631   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   16632   hardcode_into_libs=yes
   16633   ;;
   16634 
   16635 hpux9* | hpux10* | hpux11*)
   16636   # Give a soname corresponding to the major version so that dld.sl refuses to
   16637   # link against other versions.
   16638   version_type=sunos
   16639   need_lib_prefix=no
   16640   need_version=no
   16641   case $host_cpu in
   16642   ia64*)
   16643     shrext_cmds='.so'
   16644     hardcode_into_libs=yes
   16645     dynamic_linker="$host_os dld.so"
   16646     shlibpath_var=LD_LIBRARY_PATH
   16647     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16648     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16649     soname_spec='${libname}${release}${shared_ext}$major'
   16650     if test "X$HPUX_IA64_MODE" = X32; then
   16651       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16652     else
   16653       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16654     fi
   16655     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16656     ;;
   16657   hppa*64*)
   16658     shrext_cmds='.sl'
   16659     hardcode_into_libs=yes
   16660     dynamic_linker="$host_os dld.sl"
   16661     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16662     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16663     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16664     soname_spec='${libname}${release}${shared_ext}$major'
   16665     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16666     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16667     ;;
   16668   *)
   16669     shrext_cmds='.sl'
   16670     dynamic_linker="$host_os dld.sl"
   16671     shlibpath_var=SHLIB_PATH
   16672     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16673     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16674     soname_spec='${libname}${release}${shared_ext}$major'
   16675     ;;
   16676   esac
   16677   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   16678   postinstall_cmds='chmod 555 $lib'
   16679   # or fails outright, so override atomically:
   16680   install_override_mode=555
   16681   ;;
   16682 
   16683 interix[3-9]*)
   16684   version_type=linux # correct to gnu/linux during the next big refactor
   16685   need_lib_prefix=no
   16686   need_version=no
   16687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16688   soname_spec='${libname}${release}${shared_ext}$major'
   16689   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16690   shlibpath_var=LD_LIBRARY_PATH
   16691   shlibpath_overrides_runpath=no
   16692   hardcode_into_libs=yes
   16693   ;;
   16694 
   16695 irix5* | irix6* | nonstopux*)
   16696   case $host_os in
   16697     nonstopux*) version_type=nonstopux ;;
   16698     *)
   16699 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16700 		version_type=linux # correct to gnu/linux during the next big refactor
   16701 	else
   16702 		version_type=irix
   16703 	fi ;;
   16704   esac
   16705   need_lib_prefix=no
   16706   need_version=no
   16707   soname_spec='${libname}${release}${shared_ext}$major'
   16708   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16709   case $host_os in
   16710   irix5* | nonstopux*)
   16711     libsuff= shlibsuff=
   16712     ;;
   16713   *)
   16714     case $LD in # libtool.m4 will add one of these switches to LD
   16715     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16716       libsuff= shlibsuff= libmagic=32-bit;;
   16717     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16718       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16719     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16720       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16721     *) libsuff= shlibsuff= libmagic=never-match;;
   16722     esac
   16723     ;;
   16724   esac
   16725   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16726   shlibpath_overrides_runpath=no
   16727   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16728   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16729   hardcode_into_libs=yes
   16730   ;;
   16731 
   16732 # No shared lib support for Linux oldld, aout, or coff.
   16733 linux*oldld* | linux*aout* | linux*coff*)
   16734   dynamic_linker=no
   16735   ;;
   16736 
   16737 # This must be glibc/ELF.
   16738 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16739   version_type=linux # correct to gnu/linux during the next big refactor
   16740   need_lib_prefix=no
   16741   need_version=no
   16742   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16743   soname_spec='${libname}${release}${shared_ext}$major'
   16744   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16745   shlibpath_var=LD_LIBRARY_PATH
   16746   shlibpath_overrides_runpath=no
   16747 
   16748   # Some binutils ld are patched to set DT_RUNPATH
   16749   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   16750   $as_echo_n "(cached) " >&6
   16751 else
   16752   lt_cv_shlibpath_overrides_runpath=no
   16753     save_LDFLAGS=$LDFLAGS
   16754     save_libdir=$libdir
   16755     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   16756 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   16757     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16758 /* end confdefs.h.  */
   16759 
   16760 int
   16761 main ()
   16762 {
   16763 
   16764   ;
   16765   return 0;
   16766 }
   16767 _ACEOF
   16768 if ac_fn_c_try_link "$LINENO"; then :
   16769   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   16770   lt_cv_shlibpath_overrides_runpath=yes
   16771 fi
   16772 fi
   16773 rm -f core conftest.err conftest.$ac_objext \
   16774     conftest$ac_exeext conftest.$ac_ext
   16775     LDFLAGS=$save_LDFLAGS
   16776     libdir=$save_libdir
   16777 
   16778 fi
   16779 
   16780   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   16781 
   16782   # This implies no fast_install, which is unacceptable.
   16783   # Some rework will be needed to allow for fast_install
   16784   # before this can be enabled.
   16785   hardcode_into_libs=yes
   16786 
   16787   # Append ld.so.conf contents to the search path
   16788   if test -f /etc/ld.so.conf; then
   16789     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   16790     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16791   fi
   16792 
   16793   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16794   # powerpc, because MkLinux only supported shared libraries with the
   16795   # GNU dynamic linker.  Since this was broken with cross compilers,
   16796   # most powerpc-linux boxes support dynamic linking these days and
   16797   # people can always --disable-shared, the test was removed, and we
   16798   # assume the GNU/Linux dynamic linker is in use.
   16799   dynamic_linker='GNU/Linux ld.so'
   16800   ;;
   16801 
   16802 netbsdelf*-gnu)
   16803   version_type=linux
   16804   need_lib_prefix=no
   16805   need_version=no
   16806   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16807   soname_spec='${libname}${release}${shared_ext}$major'
   16808   shlibpath_var=LD_LIBRARY_PATH
   16809   shlibpath_overrides_runpath=no
   16810   hardcode_into_libs=yes
   16811   dynamic_linker='NetBSD ld.elf_so'
   16812   ;;
   16813 
   16814 netbsd*)
   16815   version_type=sunos
   16816   need_lib_prefix=no
   16817   need_version=no
   16818   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16819     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16820     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16821     dynamic_linker='NetBSD (a.out) ld.so'
   16822   else
   16823     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16824     soname_spec='${libname}${release}${shared_ext}$major'
   16825     dynamic_linker='NetBSD ld.elf_so'
   16826   fi
   16827   shlibpath_var=LD_LIBRARY_PATH
   16828   shlibpath_overrides_runpath=yes
   16829   hardcode_into_libs=yes
   16830   ;;
   16831 
   16832 newsos6)
   16833   version_type=linux # correct to gnu/linux during the next big refactor
   16834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16835   shlibpath_var=LD_LIBRARY_PATH
   16836   shlibpath_overrides_runpath=yes
   16837   ;;
   16838 
   16839 *nto* | *qnx*)
   16840   version_type=qnx
   16841   need_lib_prefix=no
   16842   need_version=no
   16843   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16844   soname_spec='${libname}${release}${shared_ext}$major'
   16845   shlibpath_var=LD_LIBRARY_PATH
   16846   shlibpath_overrides_runpath=no
   16847   hardcode_into_libs=yes
   16848   dynamic_linker='ldqnx.so'
   16849   ;;
   16850 
   16851 openbsd*)
   16852   version_type=sunos
   16853   sys_lib_dlsearch_path_spec="/usr/lib"
   16854   need_lib_prefix=no
   16855   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16856   case $host_os in
   16857     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   16858     *)				need_version=no  ;;
   16859   esac
   16860   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16861   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16862   shlibpath_var=LD_LIBRARY_PATH
   16863   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16864     case $host_os in
   16865       openbsd2.[89] | openbsd2.[89].*)
   16866 	shlibpath_overrides_runpath=no
   16867 	;;
   16868       *)
   16869 	shlibpath_overrides_runpath=yes
   16870 	;;
   16871       esac
   16872   else
   16873     shlibpath_overrides_runpath=yes
   16874   fi
   16875   ;;
   16876 
   16877 os2*)
   16878   libname_spec='$name'
   16879   shrext_cmds=".dll"
   16880   need_lib_prefix=no
   16881   library_names_spec='$libname${shared_ext} $libname.a'
   16882   dynamic_linker='OS/2 ld.exe'
   16883   shlibpath_var=LIBPATH
   16884   ;;
   16885 
   16886 osf3* | osf4* | osf5*)
   16887   version_type=osf
   16888   need_lib_prefix=no
   16889   need_version=no
   16890   soname_spec='${libname}${release}${shared_ext}$major'
   16891   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16892   shlibpath_var=LD_LIBRARY_PATH
   16893   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16894   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16895   ;;
   16896 
   16897 rdos*)
   16898   dynamic_linker=no
   16899   ;;
   16900 
   16901 solaris*)
   16902   version_type=linux # correct to gnu/linux during the next big refactor
   16903   need_lib_prefix=no
   16904   need_version=no
   16905   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16906   soname_spec='${libname}${release}${shared_ext}$major'
   16907   shlibpath_var=LD_LIBRARY_PATH
   16908   shlibpath_overrides_runpath=yes
   16909   hardcode_into_libs=yes
   16910   # ldd complains unless libraries are executable
   16911   postinstall_cmds='chmod +x $lib'
   16912   ;;
   16913 
   16914 sunos4*)
   16915   version_type=sunos
   16916   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16917   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16918   shlibpath_var=LD_LIBRARY_PATH
   16919   shlibpath_overrides_runpath=yes
   16920   if test "$with_gnu_ld" = yes; then
   16921     need_lib_prefix=no
   16922   fi
   16923   need_version=yes
   16924   ;;
   16925 
   16926 sysv4 | sysv4.3*)
   16927   version_type=linux # correct to gnu/linux during the next big refactor
   16928   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16929   soname_spec='${libname}${release}${shared_ext}$major'
   16930   shlibpath_var=LD_LIBRARY_PATH
   16931   case $host_vendor in
   16932     sni)
   16933       shlibpath_overrides_runpath=no
   16934       need_lib_prefix=no
   16935       runpath_var=LD_RUN_PATH
   16936       ;;
   16937     siemens)
   16938       need_lib_prefix=no
   16939       ;;
   16940     motorola)
   16941       need_lib_prefix=no
   16942       need_version=no
   16943       shlibpath_overrides_runpath=no
   16944       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16945       ;;
   16946   esac
   16947   ;;
   16948 
   16949 sysv4*MP*)
   16950   if test -d /usr/nec ;then
   16951     version_type=linux # correct to gnu/linux during the next big refactor
   16952     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16953     soname_spec='$libname${shared_ext}.$major'
   16954     shlibpath_var=LD_LIBRARY_PATH
   16955   fi
   16956   ;;
   16957 
   16958 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16959   version_type=freebsd-elf
   16960   need_lib_prefix=no
   16961   need_version=no
   16962   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16963   soname_spec='${libname}${release}${shared_ext}$major'
   16964   shlibpath_var=LD_LIBRARY_PATH
   16965   shlibpath_overrides_runpath=yes
   16966   hardcode_into_libs=yes
   16967   if test "$with_gnu_ld" = yes; then
   16968     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16969   else
   16970     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16971     case $host_os in
   16972       sco3.2v5*)
   16973         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16974 	;;
   16975     esac
   16976   fi
   16977   sys_lib_dlsearch_path_spec='/usr/lib'
   16978   ;;
   16979 
   16980 tpf*)
   16981   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   16982   version_type=linux # correct to gnu/linux during the next big refactor
   16983   need_lib_prefix=no
   16984   need_version=no
   16985   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16986   shlibpath_var=LD_LIBRARY_PATH
   16987   shlibpath_overrides_runpath=no
   16988   hardcode_into_libs=yes
   16989   ;;
   16990 
   16991 uts4*)
   16992   version_type=linux # correct to gnu/linux during the next big refactor
   16993   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16994   soname_spec='${libname}${release}${shared_ext}$major'
   16995   shlibpath_var=LD_LIBRARY_PATH
   16996   ;;
   16997 
   16998 *)
   16999   dynamic_linker=no
   17000   ;;
   17001 esac
   17002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17003 $as_echo "$dynamic_linker" >&6; }
   17004 test "$dynamic_linker" = no && can_build_shared=no
   17005 
   17006 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17007 if test "$GCC" = yes; then
   17008   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17009 fi
   17010 
   17011 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   17012   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   17013 fi
   17014 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   17015   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   17016 fi
   17017 
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 
   17024 
   17025 
   17026 
   17027 
   17028 
   17029 
   17030 
   17031 
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 
   17041 
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 
   17053 
   17054 
   17055 
   17056 
   17057 
   17058 
   17059 
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 
   17074 
   17075 
   17076 
   17077 
   17078 
   17079 
   17080 
   17081 
   17082 
   17083 
   17084 
   17085 
   17086 
   17087 
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 
   17099 
   17100 
   17101 
   17102 
   17103 
   17104 
   17105 
   17106 
   17107 
   17108 
   17109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17110 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17111 hardcode_action=
   17112 if test -n "$hardcode_libdir_flag_spec" ||
   17113    test -n "$runpath_var" ||
   17114    test "X$hardcode_automatic" = "Xyes" ; then
   17115 
   17116   # We can hardcode non-existent directories.
   17117   if test "$hardcode_direct" != no &&
   17118      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17119      # have to relink, otherwise we might link with an installed library
   17120      # when we should be linking with a yet-to-be-installed one
   17121      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   17122      test "$hardcode_minus_L" != no; then
   17123     # Linking always hardcodes the temporary library directory.
   17124     hardcode_action=relink
   17125   else
   17126     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17127     hardcode_action=immediate
   17128   fi
   17129 else
   17130   # We cannot hardcode anything, or else we can only hardcode existing
   17131   # directories.
   17132   hardcode_action=unsupported
   17133 fi
   17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17135 $as_echo "$hardcode_action" >&6; }
   17136 
   17137 if test "$hardcode_action" = relink ||
   17138    test "$inherit_rpath" = yes; then
   17139   # Fast installation is not supported
   17140   enable_fast_install=no
   17141 elif test "$shlibpath_overrides_runpath" = yes ||
   17142      test "$enable_shared" = no; then
   17143   # Fast installation is not necessary
   17144   enable_fast_install=needless
   17145 fi
   17146 
   17147 
   17148 
   17149 
   17150 
   17151 
   17152   if test "x$enable_dlopen" != xyes; then
   17153   enable_dlopen=unknown
   17154   enable_dlopen_self=unknown
   17155   enable_dlopen_self_static=unknown
   17156 else
   17157   lt_cv_dlopen=no
   17158   lt_cv_dlopen_libs=
   17159 
   17160   case $host_os in
   17161   beos*)
   17162     lt_cv_dlopen="load_add_on"
   17163     lt_cv_dlopen_libs=
   17164     lt_cv_dlopen_self=yes
   17165     ;;
   17166 
   17167   mingw* | pw32* | cegcc*)
   17168     lt_cv_dlopen="LoadLibrary"
   17169     lt_cv_dlopen_libs=
   17170     ;;
   17171 
   17172   cygwin*)
   17173     lt_cv_dlopen="dlopen"
   17174     lt_cv_dlopen_libs=
   17175     ;;
   17176 
   17177   darwin*)
   17178   # if libdl is installed we need to link against it
   17179     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17180 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17181 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17182   $as_echo_n "(cached) " >&6
   17183 else
   17184   ac_check_lib_save_LIBS=$LIBS
   17185 LIBS="-ldl  $LIBS"
   17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17187 /* end confdefs.h.  */
   17188 
   17189 /* Override any GCC internal prototype to avoid an error.
   17190    Use char because int might match the return type of a GCC
   17191    builtin and then its argument prototype would still apply.  */
   17192 #ifdef __cplusplus
   17193 extern "C"
   17194 #endif
   17195 char dlopen ();
   17196 int
   17197 main ()
   17198 {
   17199 return dlopen ();
   17200   ;
   17201   return 0;
   17202 }
   17203 _ACEOF
   17204 if ac_fn_c_try_link "$LINENO"; then :
   17205   ac_cv_lib_dl_dlopen=yes
   17206 else
   17207   ac_cv_lib_dl_dlopen=no
   17208 fi
   17209 rm -f core conftest.err conftest.$ac_objext \
   17210     conftest$ac_exeext conftest.$ac_ext
   17211 LIBS=$ac_check_lib_save_LIBS
   17212 fi
   17213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17214 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17215 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17216   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17217 else
   17218 
   17219     lt_cv_dlopen="dyld"
   17220     lt_cv_dlopen_libs=
   17221     lt_cv_dlopen_self=yes
   17222 
   17223 fi
   17224 
   17225     ;;
   17226 
   17227   *)
   17228     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17229 if test "x$ac_cv_func_shl_load" = xyes; then :
   17230   lt_cv_dlopen="shl_load"
   17231 else
   17232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17233 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17234 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17235   $as_echo_n "(cached) " >&6
   17236 else
   17237   ac_check_lib_save_LIBS=$LIBS
   17238 LIBS="-ldld  $LIBS"
   17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17240 /* end confdefs.h.  */
   17241 
   17242 /* Override any GCC internal prototype to avoid an error.
   17243    Use char because int might match the return type of a GCC
   17244    builtin and then its argument prototype would still apply.  */
   17245 #ifdef __cplusplus
   17246 extern "C"
   17247 #endif
   17248 char shl_load ();
   17249 int
   17250 main ()
   17251 {
   17252 return shl_load ();
   17253   ;
   17254   return 0;
   17255 }
   17256 _ACEOF
   17257 if ac_fn_c_try_link "$LINENO"; then :
   17258   ac_cv_lib_dld_shl_load=yes
   17259 else
   17260   ac_cv_lib_dld_shl_load=no
   17261 fi
   17262 rm -f core conftest.err conftest.$ac_objext \
   17263     conftest$ac_exeext conftest.$ac_ext
   17264 LIBS=$ac_check_lib_save_LIBS
   17265 fi
   17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17267 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17268 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17269   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   17270 else
   17271   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17272 if test "x$ac_cv_func_dlopen" = xyes; then :
   17273   lt_cv_dlopen="dlopen"
   17274 else
   17275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17276 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17277 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17278   $as_echo_n "(cached) " >&6
   17279 else
   17280   ac_check_lib_save_LIBS=$LIBS
   17281 LIBS="-ldl  $LIBS"
   17282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17283 /* end confdefs.h.  */
   17284 
   17285 /* Override any GCC internal prototype to avoid an error.
   17286    Use char because int might match the return type of a GCC
   17287    builtin and then its argument prototype would still apply.  */
   17288 #ifdef __cplusplus
   17289 extern "C"
   17290 #endif
   17291 char dlopen ();
   17292 int
   17293 main ()
   17294 {
   17295 return dlopen ();
   17296   ;
   17297   return 0;
   17298 }
   17299 _ACEOF
   17300 if ac_fn_c_try_link "$LINENO"; then :
   17301   ac_cv_lib_dl_dlopen=yes
   17302 else
   17303   ac_cv_lib_dl_dlopen=no
   17304 fi
   17305 rm -f core conftest.err conftest.$ac_objext \
   17306     conftest$ac_exeext conftest.$ac_ext
   17307 LIBS=$ac_check_lib_save_LIBS
   17308 fi
   17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17310 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17311 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17312   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17313 else
   17314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17315 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   17316 if ${ac_cv_lib_svld_dlopen+:} false; then :
   17317   $as_echo_n "(cached) " >&6
   17318 else
   17319   ac_check_lib_save_LIBS=$LIBS
   17320 LIBS="-lsvld  $LIBS"
   17321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17322 /* end confdefs.h.  */
   17323 
   17324 /* Override any GCC internal prototype to avoid an error.
   17325    Use char because int might match the return type of a GCC
   17326    builtin and then its argument prototype would still apply.  */
   17327 #ifdef __cplusplus
   17328 extern "C"
   17329 #endif
   17330 char dlopen ();
   17331 int
   17332 main ()
   17333 {
   17334 return dlopen ();
   17335   ;
   17336   return 0;
   17337 }
   17338 _ACEOF
   17339 if ac_fn_c_try_link "$LINENO"; then :
   17340   ac_cv_lib_svld_dlopen=yes
   17341 else
   17342   ac_cv_lib_svld_dlopen=no
   17343 fi
   17344 rm -f core conftest.err conftest.$ac_objext \
   17345     conftest$ac_exeext conftest.$ac_ext
   17346 LIBS=$ac_check_lib_save_LIBS
   17347 fi
   17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   17349 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   17350 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   17351   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   17352 else
   17353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   17354 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   17355 if ${ac_cv_lib_dld_dld_link+:} false; then :
   17356   $as_echo_n "(cached) " >&6
   17357 else
   17358   ac_check_lib_save_LIBS=$LIBS
   17359 LIBS="-ldld  $LIBS"
   17360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17361 /* end confdefs.h.  */
   17362 
   17363 /* Override any GCC internal prototype to avoid an error.
   17364    Use char because int might match the return type of a GCC
   17365    builtin and then its argument prototype would still apply.  */
   17366 #ifdef __cplusplus
   17367 extern "C"
   17368 #endif
   17369 char dld_link ();
   17370 int
   17371 main ()
   17372 {
   17373 return dld_link ();
   17374   ;
   17375   return 0;
   17376 }
   17377 _ACEOF
   17378 if ac_fn_c_try_link "$LINENO"; then :
   17379   ac_cv_lib_dld_dld_link=yes
   17380 else
   17381   ac_cv_lib_dld_dld_link=no
   17382 fi
   17383 rm -f core conftest.err conftest.$ac_objext \
   17384     conftest$ac_exeext conftest.$ac_ext
   17385 LIBS=$ac_check_lib_save_LIBS
   17386 fi
   17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   17388 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   17389 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   17390   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   17391 fi
   17392 
   17393 
   17394 fi
   17395 
   17396 
   17397 fi
   17398 
   17399 
   17400 fi
   17401 
   17402 
   17403 fi
   17404 
   17405 
   17406 fi
   17407 
   17408     ;;
   17409   esac
   17410 
   17411   if test "x$lt_cv_dlopen" != xno; then
   17412     enable_dlopen=yes
   17413   else
   17414     enable_dlopen=no
   17415   fi
   17416 
   17417   case $lt_cv_dlopen in
   17418   dlopen)
   17419     save_CPPFLAGS="$CPPFLAGS"
   17420     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   17421 
   17422     save_LDFLAGS="$LDFLAGS"
   17423     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   17424 
   17425     save_LIBS="$LIBS"
   17426     LIBS="$lt_cv_dlopen_libs $LIBS"
   17427 
   17428     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   17429 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   17430 if ${lt_cv_dlopen_self+:} false; then :
   17431   $as_echo_n "(cached) " >&6
   17432 else
   17433   	  if test "$cross_compiling" = yes; then :
   17434   lt_cv_dlopen_self=cross
   17435 else
   17436   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17437   lt_status=$lt_dlunknown
   17438   cat > conftest.$ac_ext <<_LT_EOF
   17439 #line $LINENO "configure"
   17440 #include "confdefs.h"
   17441 
   17442 #if HAVE_DLFCN_H
   17443 #include <dlfcn.h>
   17444 #endif
   17445 
   17446 #include <stdio.h>
   17447 
   17448 #ifdef RTLD_GLOBAL
   17449 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17450 #else
   17451 #  ifdef DL_GLOBAL
   17452 #    define LT_DLGLOBAL		DL_GLOBAL
   17453 #  else
   17454 #    define LT_DLGLOBAL		0
   17455 #  endif
   17456 #endif
   17457 
   17458 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17459    find out it does not work in some platform. */
   17460 #ifndef LT_DLLAZY_OR_NOW
   17461 #  ifdef RTLD_LAZY
   17462 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17463 #  else
   17464 #    ifdef DL_LAZY
   17465 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17466 #    else
   17467 #      ifdef RTLD_NOW
   17468 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17469 #      else
   17470 #        ifdef DL_NOW
   17471 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17472 #        else
   17473 #          define LT_DLLAZY_OR_NOW	0
   17474 #        endif
   17475 #      endif
   17476 #    endif
   17477 #  endif
   17478 #endif
   17479 
   17480 /* When -fvisbility=hidden is used, assume the code has been annotated
   17481    correspondingly for the symbols needed.  */
   17482 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17483 int fnord () __attribute__((visibility("default")));
   17484 #endif
   17485 
   17486 int fnord () { return 42; }
   17487 int main ()
   17488 {
   17489   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17490   int status = $lt_dlunknown;
   17491 
   17492   if (self)
   17493     {
   17494       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17495       else
   17496         {
   17497 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17498           else puts (dlerror ());
   17499 	}
   17500       /* dlclose (self); */
   17501     }
   17502   else
   17503     puts (dlerror ());
   17504 
   17505   return status;
   17506 }
   17507 _LT_EOF
   17508   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17509   (eval $ac_link) 2>&5
   17510   ac_status=$?
   17511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17512   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17513     (./conftest; exit; ) >&5 2>/dev/null
   17514     lt_status=$?
   17515     case x$lt_status in
   17516       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   17517       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   17518       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   17519     esac
   17520   else :
   17521     # compilation failed
   17522     lt_cv_dlopen_self=no
   17523   fi
   17524 fi
   17525 rm -fr conftest*
   17526 
   17527 
   17528 fi
   17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   17530 $as_echo "$lt_cv_dlopen_self" >&6; }
   17531 
   17532     if test "x$lt_cv_dlopen_self" = xyes; then
   17533       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   17534       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   17535 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   17536 if ${lt_cv_dlopen_self_static+:} false; then :
   17537   $as_echo_n "(cached) " >&6
   17538 else
   17539   	  if test "$cross_compiling" = yes; then :
   17540   lt_cv_dlopen_self_static=cross
   17541 else
   17542   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17543   lt_status=$lt_dlunknown
   17544   cat > conftest.$ac_ext <<_LT_EOF
   17545 #line $LINENO "configure"
   17546 #include "confdefs.h"
   17547 
   17548 #if HAVE_DLFCN_H
   17549 #include <dlfcn.h>
   17550 #endif
   17551 
   17552 #include <stdio.h>
   17553 
   17554 #ifdef RTLD_GLOBAL
   17555 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17556 #else
   17557 #  ifdef DL_GLOBAL
   17558 #    define LT_DLGLOBAL		DL_GLOBAL
   17559 #  else
   17560 #    define LT_DLGLOBAL		0
   17561 #  endif
   17562 #endif
   17563 
   17564 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17565    find out it does not work in some platform. */
   17566 #ifndef LT_DLLAZY_OR_NOW
   17567 #  ifdef RTLD_LAZY
   17568 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17569 #  else
   17570 #    ifdef DL_LAZY
   17571 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17572 #    else
   17573 #      ifdef RTLD_NOW
   17574 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17575 #      else
   17576 #        ifdef DL_NOW
   17577 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17578 #        else
   17579 #          define LT_DLLAZY_OR_NOW	0
   17580 #        endif
   17581 #      endif
   17582 #    endif
   17583 #  endif
   17584 #endif
   17585 
   17586 /* When -fvisbility=hidden is used, assume the code has been annotated
   17587    correspondingly for the symbols needed.  */
   17588 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17589 int fnord () __attribute__((visibility("default")));
   17590 #endif
   17591 
   17592 int fnord () { return 42; }
   17593 int main ()
   17594 {
   17595   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17596   int status = $lt_dlunknown;
   17597 
   17598   if (self)
   17599     {
   17600       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17601       else
   17602         {
   17603 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17604           else puts (dlerror ());
   17605 	}
   17606       /* dlclose (self); */
   17607     }
   17608   else
   17609     puts (dlerror ());
   17610 
   17611   return status;
   17612 }
   17613 _LT_EOF
   17614   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17615   (eval $ac_link) 2>&5
   17616   ac_status=$?
   17617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17618   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17619     (./conftest; exit; ) >&5 2>/dev/null
   17620     lt_status=$?
   17621     case x$lt_status in
   17622       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   17623       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   17624       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   17625     esac
   17626   else :
   17627     # compilation failed
   17628     lt_cv_dlopen_self_static=no
   17629   fi
   17630 fi
   17631 rm -fr conftest*
   17632 
   17633 
   17634 fi
   17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   17636 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   17637     fi
   17638 
   17639     CPPFLAGS="$save_CPPFLAGS"
   17640     LDFLAGS="$save_LDFLAGS"
   17641     LIBS="$save_LIBS"
   17642     ;;
   17643   esac
   17644 
   17645   case $lt_cv_dlopen_self in
   17646   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   17647   *) enable_dlopen_self=unknown ;;
   17648   esac
   17649 
   17650   case $lt_cv_dlopen_self_static in
   17651   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   17652   *) enable_dlopen_self_static=unknown ;;
   17653   esac
   17654 fi
   17655 
   17656 
   17657 
   17658 
   17659 
   17660 
   17661 
   17662 
   17663 
   17664 
   17665 
   17666 
   17667 
   17668 
   17669 
   17670 
   17671 
   17672 striplib=
   17673 old_striplib=
   17674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   17675 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   17676 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   17677   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   17678   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   17679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17680 $as_echo "yes" >&6; }
   17681 else
   17682 # FIXME - insert some real tests, host_os isn't really good enough
   17683   case $host_os in
   17684   darwin*)
   17685     if test -n "$STRIP" ; then
   17686       striplib="$STRIP -x"
   17687       old_striplib="$STRIP -S"
   17688       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17689 $as_echo "yes" >&6; }
   17690     else
   17691       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17692 $as_echo "no" >&6; }
   17693     fi
   17694     ;;
   17695   *)
   17696     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17697 $as_echo "no" >&6; }
   17698     ;;
   17699   esac
   17700 fi
   17701 
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 
   17713   # Report which library types will actually be built
   17714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   17715 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   17716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   17717 $as_echo "$can_build_shared" >&6; }
   17718 
   17719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   17720 $as_echo_n "checking whether to build shared libraries... " >&6; }
   17721   test "$can_build_shared" = "no" && enable_shared=no
   17722 
   17723   # On AIX, shared libraries and static libraries use the same namespace, and
   17724   # are all built from PIC.
   17725   case $host_os in
   17726   aix3*)
   17727     test "$enable_shared" = yes && enable_static=no
   17728     if test -n "$RANLIB"; then
   17729       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   17730       postinstall_cmds='$RANLIB $lib'
   17731     fi
   17732     ;;
   17733 
   17734   aix[4-9]*)
   17735     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   17736       test "$enable_shared" = yes && enable_static=no
   17737     fi
   17738     ;;
   17739   esac
   17740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   17741 $as_echo "$enable_shared" >&6; }
   17742 
   17743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   17744 $as_echo_n "checking whether to build static libraries... " >&6; }
   17745   # Make sure either enable_shared or enable_static is yes.
   17746   test "$enable_shared" = yes || enable_static=yes
   17747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   17748 $as_echo "$enable_static" >&6; }
   17749 
   17750 
   17751 
   17752 
   17753 fi
   17754 ac_ext=c
   17755 ac_cpp='$CPP $CPPFLAGS'
   17756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17759 
   17760 CC="$lt_save_CC"
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776         ac_config_commands="$ac_config_commands libtool"
   17777 
   17778 
   17779 
   17780 
   17781 # Only expand once:
   17782 
   17783 
   17784 
   17785 
   17786 
   17787 # Define a configure option for an alternate module directory
   17788 
   17789 # Check whether --with-xorg-module-dir was given.
   17790 if test "${with_xorg_module_dir+set}" = set; then :
   17791   withval=$with_xorg_module_dir; moduledir="$withval"
   17792 else
   17793   moduledir="$libdir/xorg/modules"
   17794 fi
   17795 
   17796 
   17797 # Check whether --enable-dri was given.
   17798 if test "${enable_dri+set}" = set; then :
   17799   enableval=$enable_dri; DRI="$enableval"
   17800 else
   17801   DRI=auto
   17802 fi
   17803 
   17804 
   17805 # Store the list of server defined optional extensions in REQUIRED_MODULES
   17806 
   17807 
   17808 	SAVE_CFLAGS="$CFLAGS"
   17809 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17810 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17811 /* end confdefs.h.  */
   17812 
   17813 #include "xorg-server.h"
   17814 #if !defined RANDR
   17815 #error RANDR not defined
   17816 #endif
   17817 
   17818 int
   17819 main ()
   17820 {
   17821 
   17822   ;
   17823   return 0;
   17824 }
   17825 _ACEOF
   17826 if ac_fn_c_try_compile "$LINENO"; then :
   17827   _EXT_CHECK=yes
   17828 else
   17829   _EXT_CHECK=no
   17830 fi
   17831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17832 	CFLAGS="$SAVE_CFLAGS"
   17833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   17834 $as_echo_n "checking if RANDR is defined... " >&6; }
   17835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17836 $as_echo "$_EXT_CHECK" >&6; }
   17837 	if test "$_EXT_CHECK" != no; then
   17838 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   17839 	fi
   17840 
   17841 
   17842 
   17843 	SAVE_CFLAGS="$CFLAGS"
   17844 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17845 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17846 /* end confdefs.h.  */
   17847 
   17848 #include "xorg-server.h"
   17849 #if !defined RENDER
   17850 #error RENDER not defined
   17851 #endif
   17852 
   17853 int
   17854 main ()
   17855 {
   17856 
   17857   ;
   17858   return 0;
   17859 }
   17860 _ACEOF
   17861 if ac_fn_c_try_compile "$LINENO"; then :
   17862   _EXT_CHECK=yes
   17863 else
   17864   _EXT_CHECK=no
   17865 fi
   17866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17867 	CFLAGS="$SAVE_CFLAGS"
   17868 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   17869 $as_echo_n "checking if RENDER is defined... " >&6; }
   17870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17871 $as_echo "$_EXT_CHECK" >&6; }
   17872 	if test "$_EXT_CHECK" != no; then
   17873 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   17874 	fi
   17875 
   17876 
   17877 
   17878 	SAVE_CFLAGS="$CFLAGS"
   17879 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17880 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17881 /* end confdefs.h.  */
   17882 
   17883 #include "xorg-server.h"
   17884 #if !defined XV
   17885 #error XV not defined
   17886 #endif
   17887 
   17888 int
   17889 main ()
   17890 {
   17891 
   17892   ;
   17893   return 0;
   17894 }
   17895 _ACEOF
   17896 if ac_fn_c_try_compile "$LINENO"; then :
   17897   _EXT_CHECK=yes
   17898 else
   17899   _EXT_CHECK=no
   17900 fi
   17901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17902 	CFLAGS="$SAVE_CFLAGS"
   17903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   17904 $as_echo_n "checking if XV is defined... " >&6; }
   17905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17906 $as_echo "$_EXT_CHECK" >&6; }
   17907 	if test "$_EXT_CHECK" != no; then
   17908 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   17909 	fi
   17910 
   17911 
   17912 
   17913 	SAVE_CFLAGS="$CFLAGS"
   17914 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17915 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17916 /* end confdefs.h.  */
   17917 
   17918 #include "xorg-server.h"
   17919 #if !defined DPMSExtension
   17920 #error DPMSExtension not defined
   17921 #endif
   17922 
   17923 int
   17924 main ()
   17925 {
   17926 
   17927   ;
   17928   return 0;
   17929 }
   17930 _ACEOF
   17931 if ac_fn_c_try_compile "$LINENO"; then :
   17932   _EXT_CHECK=yes
   17933 else
   17934   _EXT_CHECK=no
   17935 fi
   17936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17937 	CFLAGS="$SAVE_CFLAGS"
   17938 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   17939 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   17940 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17941 $as_echo "$_EXT_CHECK" >&6; }
   17942 	if test "$_EXT_CHECK" != no; then
   17943 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   17944 	fi
   17945 
   17946 
   17947 # Obtain compiler/linker options for the driver dependencies
   17948 
   17949 pkg_failed=no
   17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   17951 $as_echo_n "checking for XORG... " >&6; }
   17952 
   17953 if test -n "$XORG_CFLAGS"; then
   17954     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   17955  elif test -n "$PKG_CONFIG"; then
   17956     if test -n "$PKG_CONFIG" && \
   17957     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   17958   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   17959   ac_status=$?
   17960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17961   test $ac_status = 0; }; then
   17962   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   17963 		      test "x$?" != "x0" && pkg_failed=yes
   17964 else
   17965   pkg_failed=yes
   17966 fi
   17967  else
   17968     pkg_failed=untried
   17969 fi
   17970 if test -n "$XORG_LIBS"; then
   17971     pkg_cv_XORG_LIBS="$XORG_LIBS"
   17972  elif test -n "$PKG_CONFIG"; then
   17973     if test -n "$PKG_CONFIG" && \
   17974     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   17975   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   17976   ac_status=$?
   17977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17978   test $ac_status = 0; }; then
   17979   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   17980 		      test "x$?" != "x0" && pkg_failed=yes
   17981 else
   17982   pkg_failed=yes
   17983 fi
   17984  else
   17985     pkg_failed=untried
   17986 fi
   17987 
   17988 
   17989 
   17990 if test $pkg_failed = yes; then
   17991    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17992 $as_echo "no" >&6; }
   17993 
   17994 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17995         _pkg_short_errors_supported=yes
   17996 else
   17997         _pkg_short_errors_supported=no
   17998 fi
   17999         if test $_pkg_short_errors_supported = yes; then
   18000 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18001         else
   18002 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18003         fi
   18004 	# Put the nasty error message in config.log where it belongs
   18005 	echo "$XORG_PKG_ERRORS" >&5
   18006 
   18007 	as_fn_error $? "Package requirements (xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES) were not met:
   18008 
   18009 $XORG_PKG_ERRORS
   18010 
   18011 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18012 installed software in a non-standard prefix.
   18013 
   18014 Alternatively, you may set the environment variables XORG_CFLAGS
   18015 and XORG_LIBS to avoid the need to call pkg-config.
   18016 See the pkg-config man page for more details." "$LINENO" 5
   18017 elif test $pkg_failed = untried; then
   18018      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18019 $as_echo "no" >&6; }
   18020 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18022 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18023 is in your PATH or set the PKG_CONFIG environment variable to the full
   18024 path to pkg-config.
   18025 
   18026 Alternatively, you may set the environment variables XORG_CFLAGS
   18027 and XORG_LIBS to avoid the need to call pkg-config.
   18028 See the pkg-config man page for more details.
   18029 
   18030 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18031 See \`config.log' for more details" "$LINENO" 5; }
   18032 else
   18033 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18034 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18035         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18036 $as_echo "yes" >&6; }
   18037 
   18038 fi
   18039 
   18040 pkg_failed=no
   18041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   18042 $as_echo_n "checking for XEXT... " >&6; }
   18043 
   18044 if test -n "$XEXT_CFLAGS"; then
   18045     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18046  elif test -n "$PKG_CONFIG"; then
   18047     if test -n "$PKG_CONFIG" && \
   18048     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18049   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18050   ac_status=$?
   18051   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18052   test $ac_status = 0; }; then
   18053   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   18054 		      test "x$?" != "x0" && pkg_failed=yes
   18055 else
   18056   pkg_failed=yes
   18057 fi
   18058  else
   18059     pkg_failed=untried
   18060 fi
   18061 if test -n "$XEXT_LIBS"; then
   18062     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   18063  elif test -n "$PKG_CONFIG"; then
   18064     if test -n "$PKG_CONFIG" && \
   18065     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18066   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18067   ac_status=$?
   18068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18069   test $ac_status = 0; }; then
   18070   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   18071 		      test "x$?" != "x0" && pkg_failed=yes
   18072 else
   18073   pkg_failed=yes
   18074 fi
   18075  else
   18076     pkg_failed=untried
   18077 fi
   18078 
   18079 
   18080 
   18081 if test $pkg_failed = yes; then
   18082    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18083 $as_echo "no" >&6; }
   18084 
   18085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18086         _pkg_short_errors_supported=yes
   18087 else
   18088         _pkg_short_errors_supported=no
   18089 fi
   18090         if test $_pkg_short_errors_supported = yes; then
   18091 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18092         else
   18093 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18094         fi
   18095 	# Put the nasty error message in config.log where it belongs
   18096 	echo "$XEXT_PKG_ERRORS" >&5
   18097 
   18098 	HAVE_XEXTPROTO_71="no"
   18099 elif test $pkg_failed = untried; then
   18100      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18101 $as_echo "no" >&6; }
   18102 	HAVE_XEXTPROTO_71="no"
   18103 else
   18104 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   18105 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   18106         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18107 $as_echo "yes" >&6; }
   18108 	HAVE_XEXTPROTO_71="yes";
   18109 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   18110 
   18111 fi
   18112  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   18113   HAVE_XEXTPROTO_71_TRUE=
   18114   HAVE_XEXTPROTO_71_FALSE='#'
   18115 else
   18116   HAVE_XEXTPROTO_71_TRUE='#'
   18117   HAVE_XEXTPROTO_71_FALSE=
   18118 fi
   18119 
   18120 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   18121 
   18122 # Checks for libraries.
   18123 
   18124 
   18125 if test "$DRI" != no; then
   18126         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   18127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dri.h" >&5
   18128 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
   18129 if eval \${$as_ac_File+:} false; then :
   18130   $as_echo_n "(cached) " >&6
   18131 else
   18132   test "$cross_compiling" = yes &&
   18133   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18134 if test -r "${sdkdir}/dri.h"; then
   18135   eval "$as_ac_File=yes"
   18136 else
   18137   eval "$as_ac_File=no"
   18138 fi
   18139 fi
   18140 eval ac_res=\$$as_ac_File
   18141 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18142 $as_echo "$ac_res" >&6; }
   18143 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18144   have_dri_h="yes"
   18145 else
   18146   have_dri_h="no"
   18147 fi
   18148 
   18149         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/sarea.h" >&5
   18151 $as_echo_n "checking for ${sdkdir}/sarea.h... " >&6; }
   18152 if eval \${$as_ac_File+:} false; then :
   18153   $as_echo_n "(cached) " >&6
   18154 else
   18155   test "$cross_compiling" = yes &&
   18156   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18157 if test -r "${sdkdir}/sarea.h"; then
   18158   eval "$as_ac_File=yes"
   18159 else
   18160   eval "$as_ac_File=no"
   18161 fi
   18162 fi
   18163 eval ac_res=\$$as_ac_File
   18164 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18165 $as_echo "$ac_res" >&6; }
   18166 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18167   have_sarea_h="yes"
   18168 else
   18169   have_sarea_h="no"
   18170 fi
   18171 
   18172         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   18173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dristruct.h" >&5
   18174 $as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; }
   18175 if eval \${$as_ac_File+:} false; then :
   18176   $as_echo_n "(cached) " >&6
   18177 else
   18178   test "$cross_compiling" = yes &&
   18179   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18180 if test -r "${sdkdir}/dristruct.h"; then
   18181   eval "$as_ac_File=yes"
   18182 else
   18183   eval "$as_ac_File=no"
   18184 fi
   18185 fi
   18186 eval ac_res=\$$as_ac_File
   18187 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18188 $as_echo "$ac_res" >&6; }
   18189 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18190   have_dristruct_h="yes"
   18191 else
   18192   have_dristruct_h="no"
   18193 fi
   18194 
   18195 fi
   18196 
   18197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
   18198 $as_echo_n "checking whether to include DRI support... " >&6; }
   18199 if test x$DRI = xauto; then
   18200         if test "$have_dri_h" = yes -a \
   18201                 "$have_sarea_h" = yes -a \
   18202                 "$have_dristruct_h" = yes; then
   18203                 DRI="yes"
   18204         else
   18205                 DRI="no"
   18206         fi
   18207 fi
   18208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
   18209 $as_echo "$DRI" >&6; }
   18210 
   18211  if test x$DRI = xyes; then
   18212   DRI_TRUE=
   18213   DRI_FALSE='#'
   18214 else
   18215   DRI_TRUE='#'
   18216   DRI_FALSE=
   18217 fi
   18218 
   18219 if test "$DRI" = yes; then
   18220 
   18221 pkg_failed=no
   18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   18223 $as_echo_n "checking for DRI... " >&6; }
   18224 
   18225 if test -n "$DRI_CFLAGS"; then
   18226     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   18227  elif test -n "$PKG_CONFIG"; then
   18228     if test -n "$PKG_CONFIG" && \
   18229     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18230   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18231   ac_status=$?
   18232   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18233   test $ac_status = 0; }; then
   18234   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18235 		      test "x$?" != "x0" && pkg_failed=yes
   18236 else
   18237   pkg_failed=yes
   18238 fi
   18239  else
   18240     pkg_failed=untried
   18241 fi
   18242 if test -n "$DRI_LIBS"; then
   18243     pkg_cv_DRI_LIBS="$DRI_LIBS"
   18244  elif test -n "$PKG_CONFIG"; then
   18245     if test -n "$PKG_CONFIG" && \
   18246     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18247   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18248   ac_status=$?
   18249   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18250   test $ac_status = 0; }; then
   18251   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18252 		      test "x$?" != "x0" && pkg_failed=yes
   18253 else
   18254   pkg_failed=yes
   18255 fi
   18256  else
   18257     pkg_failed=untried
   18258 fi
   18259 
   18260 
   18261 
   18262 if test $pkg_failed = yes; then
   18263    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18264 $as_echo "no" >&6; }
   18265 
   18266 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18267         _pkg_short_errors_supported=yes
   18268 else
   18269         _pkg_short_errors_supported=no
   18270 fi
   18271         if test $_pkg_short_errors_supported = yes; then
   18272 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.0 xf86driproto" 2>&1`
   18273         else
   18274 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.0 xf86driproto" 2>&1`
   18275         fi
   18276 	# Put the nasty error message in config.log where it belongs
   18277 	echo "$DRI_PKG_ERRORS" >&5
   18278 
   18279 	as_fn_error $? "Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   18280 
   18281 $DRI_PKG_ERRORS
   18282 
   18283 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18284 installed software in a non-standard prefix.
   18285 
   18286 Alternatively, you may set the environment variables DRI_CFLAGS
   18287 and DRI_LIBS to avoid the need to call pkg-config.
   18288 See the pkg-config man page for more details." "$LINENO" 5
   18289 elif test $pkg_failed = untried; then
   18290      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18291 $as_echo "no" >&6; }
   18292 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18294 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18295 is in your PATH or set the PKG_CONFIG environment variable to the full
   18296 path to pkg-config.
   18297 
   18298 Alternatively, you may set the environment variables DRI_CFLAGS
   18299 and DRI_LIBS to avoid the need to call pkg-config.
   18300 See the pkg-config man page for more details.
   18301 
   18302 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18303 See \`config.log' for more details" "$LINENO" 5; }
   18304 else
   18305 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   18306 	DRI_LIBS=$pkg_cv_DRI_LIBS
   18307         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18308 $as_echo "yes" >&6; }
   18309 
   18310 fi
   18311 
   18312 $as_echo "#define SAVAGEDRI 1" >>confdefs.h
   18313 
   18314 
   18315 $as_echo "#define SAVAGEDRI_DEVEL 1" >>confdefs.h
   18316 
   18317 fi
   18318 
   18319 # Check whether --enable-xaa was given.
   18320 if test "${enable_xaa+set}" = set; then :
   18321   enableval=$enable_xaa; XAA="$enableval"
   18322 else
   18323   XAA=auto
   18324 fi
   18325 
   18326 if test "x$XAA" != xno; then
   18327         save_CFLAGS=$CFLAGS
   18328         save_CPPFLAGS=$CPPFLAGS
   18329         CFLAGS=$XORG_CFLAGS
   18330         CPPFLAGS="$XORG_CFLAGS"
   18331         for ac_header in xaa.h
   18332 do :
   18333   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   18334 if test "x$ac_cv_header_xaa_h" = xyes; then :
   18335   cat >>confdefs.h <<_ACEOF
   18336 #define HAVE_XAA_H 1
   18337 _ACEOF
   18338  XAA=yes
   18339 else
   18340   XAA=no
   18341 fi
   18342 
   18343 done
   18344 
   18345         CFLAGS=$save_CFLAGS
   18346         CPPFLAGS=$save_CPPFLAGS
   18347 fi
   18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   18349 $as_echo_n "checking whether to include XAA support... " >&6; }
   18350  if test "x$XAA" = xyes; then
   18351   XAA_TRUE=
   18352   XAA_FALSE='#'
   18353 else
   18354   XAA_TRUE='#'
   18355   XAA_FALSE=
   18356 fi
   18357 
   18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   18359 $as_echo "$XAA" >&6; }
   18360 
   18361 save_CFLAGS="$CFLAGS"
   18362 CFLAGS="$XORG_CFLAGS"
   18363 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   18364 "
   18365 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   18366   XSERVER_LIBPCIACCESS=yes
   18367 else
   18368   XSERVER_LIBPCIACCESS=no
   18369 fi
   18370 
   18371 ac_fn_c_check_decl "$LINENO" "xf86XVFillKeyHelperDrawable" "ac_cv_have_decl_xf86XVFillKeyHelperDrawable" "#include \"xf86xv.h\"
   18372 "
   18373 if test "x$ac_cv_have_decl_xf86XVFillKeyHelperDrawable" = xyes; then :
   18374 
   18375 $as_echo "#define HAVE_XV_DRAWABLE_HELPER 1" >>confdefs.h
   18376 
   18377 fi
   18378 
   18379 CFLAGS="$save_CFLAGS"
   18380 
   18381 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18382 
   18383 pkg_failed=no
   18384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   18385 $as_echo_n "checking for PCIACCESS... " >&6; }
   18386 
   18387 if test -n "$PCIACCESS_CFLAGS"; then
   18388     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   18389  elif test -n "$PKG_CONFIG"; then
   18390     if test -n "$PKG_CONFIG" && \
   18391     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
   18392   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   18393   ac_status=$?
   18394   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18395   test $ac_status = 0; }; then
   18396   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
   18397 		      test "x$?" != "x0" && pkg_failed=yes
   18398 else
   18399   pkg_failed=yes
   18400 fi
   18401  else
   18402     pkg_failed=untried
   18403 fi
   18404 if test -n "$PCIACCESS_LIBS"; then
   18405     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   18406  elif test -n "$PKG_CONFIG"; then
   18407     if test -n "$PKG_CONFIG" && \
   18408     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
   18409   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   18410   ac_status=$?
   18411   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18412   test $ac_status = 0; }; then
   18413   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
   18414 		      test "x$?" != "x0" && pkg_failed=yes
   18415 else
   18416   pkg_failed=yes
   18417 fi
   18418  else
   18419     pkg_failed=untried
   18420 fi
   18421 
   18422 
   18423 
   18424 if test $pkg_failed = yes; then
   18425    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18426 $as_echo "no" >&6; }
   18427 
   18428 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18429         _pkg_short_errors_supported=yes
   18430 else
   18431         _pkg_short_errors_supported=no
   18432 fi
   18433         if test $_pkg_short_errors_supported = yes; then
   18434 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.10" 2>&1`
   18435         else
   18436 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.10" 2>&1`
   18437         fi
   18438 	# Put the nasty error message in config.log where it belongs
   18439 	echo "$PCIACCESS_PKG_ERRORS" >&5
   18440 
   18441 	as_fn_error $? "Package requirements (pciaccess >= 0.10) were not met:
   18442 
   18443 $PCIACCESS_PKG_ERRORS
   18444 
   18445 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18446 installed software in a non-standard prefix.
   18447 
   18448 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18449 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18450 See the pkg-config man page for more details." "$LINENO" 5
   18451 elif test $pkg_failed = untried; then
   18452      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18453 $as_echo "no" >&6; }
   18454 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18456 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18457 is in your PATH or set the PKG_CONFIG environment variable to the full
   18458 path to pkg-config.
   18459 
   18460 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18461 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18462 See the pkg-config man page for more details.
   18463 
   18464 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18465 See \`config.log' for more details" "$LINENO" 5; }
   18466 else
   18467 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   18468 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   18469         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18470 $as_echo "yes" >&6; }
   18471 
   18472 fi
   18473 fi
   18474  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18475   XSERVER_LIBPCIACCESS_TRUE=
   18476   XSERVER_LIBPCIACCESS_FALSE='#'
   18477 else
   18478   XSERVER_LIBPCIACCESS_TRUE='#'
   18479   XSERVER_LIBPCIACCESS_FALSE=
   18480 fi
   18481 
   18482 
   18483 
   18484 
   18485 DRIVER_NAME=savage
   18486 
   18487 
   18488 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   18489 
   18490 cat >confcache <<\_ACEOF
   18491 # This file is a shell script that caches the results of configure
   18492 # tests run on this system so they can be shared between configure
   18493 # scripts and configure runs, see configure's option --config-cache.
   18494 # It is not useful on other systems.  If it contains results you don't
   18495 # want to keep, you may remove or edit it.
   18496 #
   18497 # config.status only pays attention to the cache file if you give it
   18498 # the --recheck option to rerun configure.
   18499 #
   18500 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18501 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18502 # following values.
   18503 
   18504 _ACEOF
   18505 
   18506 # The following way of writing the cache mishandles newlines in values,
   18507 # but we know of no workaround that is simple, portable, and efficient.
   18508 # So, we kill variables containing newlines.
   18509 # Ultrix sh set writes to stderr and can't be redirected directly,
   18510 # and sets the high bit in the cache file unless we assign to the vars.
   18511 (
   18512   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18513     eval ac_val=\$$ac_var
   18514     case $ac_val in #(
   18515     *${as_nl}*)
   18516       case $ac_var in #(
   18517       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18518 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18519       esac
   18520       case $ac_var in #(
   18521       _ | IFS | as_nl) ;; #(
   18522       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18523       *) { eval $ac_var=; unset $ac_var;} ;;
   18524       esac ;;
   18525     esac
   18526   done
   18527 
   18528   (set) 2>&1 |
   18529     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18530     *${as_nl}ac_space=\ *)
   18531       # `set' does not quote correctly, so add quotes: double-quote
   18532       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18533       sed -n \
   18534 	"s/'/'\\\\''/g;
   18535 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18536       ;; #(
   18537     *)
   18538       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18539       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18540       ;;
   18541     esac |
   18542     sort
   18543 ) |
   18544   sed '
   18545      /^ac_cv_env_/b end
   18546      t clear
   18547      :clear
   18548      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18549      t end
   18550      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18551      :end' >>confcache
   18552 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18553   if test -w "$cache_file"; then
   18554     if test "x$cache_file" != "x/dev/null"; then
   18555       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18556 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18557       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18558 	cat confcache >"$cache_file"
   18559       else
   18560         case $cache_file in #(
   18561         */* | ?:*)
   18562 	  mv -f confcache "$cache_file"$$ &&
   18563 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18564         *)
   18565 	  mv -f confcache "$cache_file" ;;
   18566 	esac
   18567       fi
   18568     fi
   18569   else
   18570     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18571 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18572   fi
   18573 fi
   18574 rm -f confcache
   18575 
   18576 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18577 # Let make expand exec_prefix.
   18578 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18579 
   18580 DEFS=-DHAVE_CONFIG_H
   18581 
   18582 ac_libobjs=
   18583 ac_ltlibobjs=
   18584 U=
   18585 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18586   # 1. Remove the extension, and $U if already installed.
   18587   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18588   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18589   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18590   #    will be set to the directory where LIBOBJS objects are built.
   18591   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18592   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18593 done
   18594 LIBOBJS=$ac_libobjs
   18595 
   18596 LTLIBOBJS=$ac_ltlibobjs
   18597 
   18598 
   18599  if test -n "$EXEEXT"; then
   18600   am__EXEEXT_TRUE=
   18601   am__EXEEXT_FALSE='#'
   18602 else
   18603   am__EXEEXT_TRUE='#'
   18604   am__EXEEXT_FALSE=
   18605 fi
   18606 
   18607 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18608   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18610 fi
   18611 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18612   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18614 fi
   18615 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18616   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18618 fi
   18619 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   18620   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   18621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18622 fi
   18623 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   18624   as_fn_error $? "conditional \"DRI\" was never defined.
   18625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18626 fi
   18627 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   18628   as_fn_error $? "conditional \"XAA\" was never defined.
   18629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18630 fi
   18631 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   18632   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   18633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18634 fi
   18635 
   18636 : "${CONFIG_STATUS=./config.status}"
   18637 ac_write_fail=0
   18638 ac_clean_files_save=$ac_clean_files
   18639 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18640 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18641 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18642 as_write_fail=0
   18643 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18644 #! $SHELL
   18645 # Generated by $as_me.
   18646 # Run this file to recreate the current configuration.
   18647 # Compiler output produced by configure, useful for debugging
   18648 # configure, is in config.log if it exists.
   18649 
   18650 debug=false
   18651 ac_cs_recheck=false
   18652 ac_cs_silent=false
   18653 
   18654 SHELL=\${CONFIG_SHELL-$SHELL}
   18655 export SHELL
   18656 _ASEOF
   18657 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18658 ## -------------------- ##
   18659 ## M4sh Initialization. ##
   18660 ## -------------------- ##
   18661 
   18662 # Be more Bourne compatible
   18663 DUALCASE=1; export DUALCASE # for MKS sh
   18664 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18665   emulate sh
   18666   NULLCMD=:
   18667   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18668   # is contrary to our usage.  Disable this feature.
   18669   alias -g '${1+"$@"}'='"$@"'
   18670   setopt NO_GLOB_SUBST
   18671 else
   18672   case `(set -o) 2>/dev/null` in #(
   18673   *posix*) :
   18674     set -o posix ;; #(
   18675   *) :
   18676      ;;
   18677 esac
   18678 fi
   18679 
   18680 
   18681 as_nl='
   18682 '
   18683 export as_nl
   18684 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18685 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18686 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18687 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18688 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18689 # but without wasting forks for bash or zsh.
   18690 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18691     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18692   as_echo='print -r --'
   18693   as_echo_n='print -rn --'
   18694 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18695   as_echo='printf %s\n'
   18696   as_echo_n='printf %s'
   18697 else
   18698   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18699     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18700     as_echo_n='/usr/ucb/echo -n'
   18701   else
   18702     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18703     as_echo_n_body='eval
   18704       arg=$1;
   18705       case $arg in #(
   18706       *"$as_nl"*)
   18707 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18708 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18709       esac;
   18710       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18711     '
   18712     export as_echo_n_body
   18713     as_echo_n='sh -c $as_echo_n_body as_echo'
   18714   fi
   18715   export as_echo_body
   18716   as_echo='sh -c $as_echo_body as_echo'
   18717 fi
   18718 
   18719 # The user is always right.
   18720 if test "${PATH_SEPARATOR+set}" != set; then
   18721   PATH_SEPARATOR=:
   18722   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18723     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18724       PATH_SEPARATOR=';'
   18725   }
   18726 fi
   18727 
   18728 
   18729 # IFS
   18730 # We need space, tab and new line, in precisely that order.  Quoting is
   18731 # there to prevent editors from complaining about space-tab.
   18732 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18733 # splitting by setting IFS to empty value.)
   18734 IFS=" ""	$as_nl"
   18735 
   18736 # Find who we are.  Look in the path if we contain no directory separator.
   18737 as_myself=
   18738 case $0 in #((
   18739   *[\\/]* ) as_myself=$0 ;;
   18740   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18741 for as_dir in $PATH
   18742 do
   18743   IFS=$as_save_IFS
   18744   test -z "$as_dir" && as_dir=.
   18745     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18746   done
   18747 IFS=$as_save_IFS
   18748 
   18749      ;;
   18750 esac
   18751 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18752 # in which case we are not to be found in the path.
   18753 if test "x$as_myself" = x; then
   18754   as_myself=$0
   18755 fi
   18756 if test ! -f "$as_myself"; then
   18757   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18758   exit 1
   18759 fi
   18760 
   18761 # Unset variables that we do not need and which cause bugs (e.g. in
   18762 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18763 # suppresses any "Segmentation fault" message there.  '((' could
   18764 # trigger a bug in pdksh 5.2.14.
   18765 for as_var in BASH_ENV ENV MAIL MAILPATH
   18766 do eval test x\${$as_var+set} = xset \
   18767   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18768 done
   18769 PS1='$ '
   18770 PS2='> '
   18771 PS4='+ '
   18772 
   18773 # NLS nuisances.
   18774 LC_ALL=C
   18775 export LC_ALL
   18776 LANGUAGE=C
   18777 export LANGUAGE
   18778 
   18779 # CDPATH.
   18780 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18781 
   18782 
   18783 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18784 # ----------------------------------------
   18785 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18786 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18787 # script with STATUS, using 1 if that was 0.
   18788 as_fn_error ()
   18789 {
   18790   as_status=$1; test $as_status -eq 0 && as_status=1
   18791   if test "$4"; then
   18792     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18793     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18794   fi
   18795   $as_echo "$as_me: error: $2" >&2
   18796   as_fn_exit $as_status
   18797 } # as_fn_error
   18798 
   18799 
   18800 # as_fn_set_status STATUS
   18801 # -----------------------
   18802 # Set $? to STATUS, without forking.
   18803 as_fn_set_status ()
   18804 {
   18805   return $1
   18806 } # as_fn_set_status
   18807 
   18808 # as_fn_exit STATUS
   18809 # -----------------
   18810 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18811 as_fn_exit ()
   18812 {
   18813   set +e
   18814   as_fn_set_status $1
   18815   exit $1
   18816 } # as_fn_exit
   18817 
   18818 # as_fn_unset VAR
   18819 # ---------------
   18820 # Portably unset VAR.
   18821 as_fn_unset ()
   18822 {
   18823   { eval $1=; unset $1;}
   18824 }
   18825 as_unset=as_fn_unset
   18826 # as_fn_append VAR VALUE
   18827 # ----------------------
   18828 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18829 # advantage of any shell optimizations that allow amortized linear growth over
   18830 # repeated appends, instead of the typical quadratic growth present in naive
   18831 # implementations.
   18832 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18833   eval 'as_fn_append ()
   18834   {
   18835     eval $1+=\$2
   18836   }'
   18837 else
   18838   as_fn_append ()
   18839   {
   18840     eval $1=\$$1\$2
   18841   }
   18842 fi # as_fn_append
   18843 
   18844 # as_fn_arith ARG...
   18845 # ------------------
   18846 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18847 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18848 # must be portable across $(()) and expr.
   18849 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18850   eval 'as_fn_arith ()
   18851   {
   18852     as_val=$(( $* ))
   18853   }'
   18854 else
   18855   as_fn_arith ()
   18856   {
   18857     as_val=`expr "$@" || test $? -eq 1`
   18858   }
   18859 fi # as_fn_arith
   18860 
   18861 
   18862 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18863    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18864   as_expr=expr
   18865 else
   18866   as_expr=false
   18867 fi
   18868 
   18869 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18870   as_basename=basename
   18871 else
   18872   as_basename=false
   18873 fi
   18874 
   18875 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18876   as_dirname=dirname
   18877 else
   18878   as_dirname=false
   18879 fi
   18880 
   18881 as_me=`$as_basename -- "$0" ||
   18882 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18883 	 X"$0" : 'X\(//\)$' \| \
   18884 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18885 $as_echo X/"$0" |
   18886     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18887 	    s//\1/
   18888 	    q
   18889 	  }
   18890 	  /^X\/\(\/\/\)$/{
   18891 	    s//\1/
   18892 	    q
   18893 	  }
   18894 	  /^X\/\(\/\).*/{
   18895 	    s//\1/
   18896 	    q
   18897 	  }
   18898 	  s/.*/./; q'`
   18899 
   18900 # Avoid depending upon Character Ranges.
   18901 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18902 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18903 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18904 as_cr_digits='0123456789'
   18905 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18906 
   18907 ECHO_C= ECHO_N= ECHO_T=
   18908 case `echo -n x` in #(((((
   18909 -n*)
   18910   case `echo 'xy\c'` in
   18911   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18912   xy)  ECHO_C='\c';;
   18913   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18914        ECHO_T='	';;
   18915   esac;;
   18916 *)
   18917   ECHO_N='-n';;
   18918 esac
   18919 
   18920 rm -f conf$$ conf$$.exe conf$$.file
   18921 if test -d conf$$.dir; then
   18922   rm -f conf$$.dir/conf$$.file
   18923 else
   18924   rm -f conf$$.dir
   18925   mkdir conf$$.dir 2>/dev/null
   18926 fi
   18927 if (echo >conf$$.file) 2>/dev/null; then
   18928   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18929     as_ln_s='ln -s'
   18930     # ... but there are two gotchas:
   18931     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18932     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18933     # In both cases, we have to default to `cp -pR'.
   18934     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18935       as_ln_s='cp -pR'
   18936   elif ln conf$$.file conf$$ 2>/dev/null; then
   18937     as_ln_s=ln
   18938   else
   18939     as_ln_s='cp -pR'
   18940   fi
   18941 else
   18942   as_ln_s='cp -pR'
   18943 fi
   18944 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18945 rmdir conf$$.dir 2>/dev/null
   18946 
   18947 
   18948 # as_fn_mkdir_p
   18949 # -------------
   18950 # Create "$as_dir" as a directory, including parents if necessary.
   18951 as_fn_mkdir_p ()
   18952 {
   18953 
   18954   case $as_dir in #(
   18955   -*) as_dir=./$as_dir;;
   18956   esac
   18957   test -d "$as_dir" || eval $as_mkdir_p || {
   18958     as_dirs=
   18959     while :; do
   18960       case $as_dir in #(
   18961       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18962       *) as_qdir=$as_dir;;
   18963       esac
   18964       as_dirs="'$as_qdir' $as_dirs"
   18965       as_dir=`$as_dirname -- "$as_dir" ||
   18966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18967 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18968 	 X"$as_dir" : 'X\(//\)$' \| \
   18969 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18970 $as_echo X"$as_dir" |
   18971     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18972 	    s//\1/
   18973 	    q
   18974 	  }
   18975 	  /^X\(\/\/\)[^/].*/{
   18976 	    s//\1/
   18977 	    q
   18978 	  }
   18979 	  /^X\(\/\/\)$/{
   18980 	    s//\1/
   18981 	    q
   18982 	  }
   18983 	  /^X\(\/\).*/{
   18984 	    s//\1/
   18985 	    q
   18986 	  }
   18987 	  s/.*/./; q'`
   18988       test -d "$as_dir" && break
   18989     done
   18990     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18991   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18992 
   18993 
   18994 } # as_fn_mkdir_p
   18995 if mkdir -p . 2>/dev/null; then
   18996   as_mkdir_p='mkdir -p "$as_dir"'
   18997 else
   18998   test -d ./-p && rmdir ./-p
   18999   as_mkdir_p=false
   19000 fi
   19001 
   19002 
   19003 # as_fn_executable_p FILE
   19004 # -----------------------
   19005 # Test if FILE is an executable regular file.
   19006 as_fn_executable_p ()
   19007 {
   19008   test -f "$1" && test -x "$1"
   19009 } # as_fn_executable_p
   19010 as_test_x='test -x'
   19011 as_executable_p=as_fn_executable_p
   19012 
   19013 # Sed expression to map a string onto a valid CPP name.
   19014 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19015 
   19016 # Sed expression to map a string onto a valid variable name.
   19017 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19018 
   19019 
   19020 exec 6>&1
   19021 ## ----------------------------------- ##
   19022 ## Main body of $CONFIG_STATUS script. ##
   19023 ## ----------------------------------- ##
   19024 _ASEOF
   19025 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19026 
   19027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19028 # Save the log message, to keep $0 and so on meaningful, and to
   19029 # report actual input values of CONFIG_FILES etc. instead of their
   19030 # values after options handling.
   19031 ac_log="
   19032 This file was extended by xf86-video-savage $as_me 2.3.7, which was
   19033 generated by GNU Autoconf 2.69.  Invocation command line was
   19034 
   19035   CONFIG_FILES    = $CONFIG_FILES
   19036   CONFIG_HEADERS  = $CONFIG_HEADERS
   19037   CONFIG_LINKS    = $CONFIG_LINKS
   19038   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19039   $ $0 $@
   19040 
   19041 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19042 "
   19043 
   19044 _ACEOF
   19045 
   19046 case $ac_config_files in *"
   19047 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19048 esac
   19049 
   19050 case $ac_config_headers in *"
   19051 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19052 esac
   19053 
   19054 
   19055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19056 # Files that config.status was made for.
   19057 config_files="$ac_config_files"
   19058 config_headers="$ac_config_headers"
   19059 config_commands="$ac_config_commands"
   19060 
   19061 _ACEOF
   19062 
   19063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19064 ac_cs_usage="\
   19065 \`$as_me' instantiates files and other configuration actions
   19066 from templates according to the current configuration.  Unless the files
   19067 and actions are specified as TAGs, all are instantiated by default.
   19068 
   19069 Usage: $0 [OPTION]... [TAG]...
   19070 
   19071   -h, --help       print this help, then exit
   19072   -V, --version    print version number and configuration settings, then exit
   19073       --config     print configuration, then exit
   19074   -q, --quiet, --silent
   19075                    do not print progress messages
   19076   -d, --debug      don't remove temporary files
   19077       --recheck    update $as_me by reconfiguring in the same conditions
   19078       --file=FILE[:TEMPLATE]
   19079                    instantiate the configuration file FILE
   19080       --header=FILE[:TEMPLATE]
   19081                    instantiate the configuration header FILE
   19082 
   19083 Configuration files:
   19084 $config_files
   19085 
   19086 Configuration headers:
   19087 $config_headers
   19088 
   19089 Configuration commands:
   19090 $config_commands
   19091 
   19092 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19093 
   19094 _ACEOF
   19095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19096 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19097 ac_cs_version="\\
   19098 xf86-video-savage config.status 2.3.7
   19099 configured by $0, generated by GNU Autoconf 2.69,
   19100   with options \\"\$ac_cs_config\\"
   19101 
   19102 Copyright (C) 2012 Free Software Foundation, Inc.
   19103 This config.status script is free software; the Free Software Foundation
   19104 gives unlimited permission to copy, distribute and modify it."
   19105 
   19106 ac_pwd='$ac_pwd'
   19107 srcdir='$srcdir'
   19108 INSTALL='$INSTALL'
   19109 MKDIR_P='$MKDIR_P'
   19110 AWK='$AWK'
   19111 test -n "\$AWK" || AWK=awk
   19112 _ACEOF
   19113 
   19114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19115 # The default lists apply if the user does not specify any file.
   19116 ac_need_defaults=:
   19117 while test $# != 0
   19118 do
   19119   case $1 in
   19120   --*=?*)
   19121     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19122     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19123     ac_shift=:
   19124     ;;
   19125   --*=)
   19126     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19127     ac_optarg=
   19128     ac_shift=:
   19129     ;;
   19130   *)
   19131     ac_option=$1
   19132     ac_optarg=$2
   19133     ac_shift=shift
   19134     ;;
   19135   esac
   19136 
   19137   case $ac_option in
   19138   # Handling of the options.
   19139   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19140     ac_cs_recheck=: ;;
   19141   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19142     $as_echo "$ac_cs_version"; exit ;;
   19143   --config | --confi | --conf | --con | --co | --c )
   19144     $as_echo "$ac_cs_config"; exit ;;
   19145   --debug | --debu | --deb | --de | --d | -d )
   19146     debug=: ;;
   19147   --file | --fil | --fi | --f )
   19148     $ac_shift
   19149     case $ac_optarg in
   19150     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19151     '') as_fn_error $? "missing file argument" ;;
   19152     esac
   19153     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19154     ac_need_defaults=false;;
   19155   --header | --heade | --head | --hea )
   19156     $ac_shift
   19157     case $ac_optarg in
   19158     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19159     esac
   19160     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19161     ac_need_defaults=false;;
   19162   --he | --h)
   19163     # Conflict between --help and --header
   19164     as_fn_error $? "ambiguous option: \`$1'
   19165 Try \`$0 --help' for more information.";;
   19166   --help | --hel | -h )
   19167     $as_echo "$ac_cs_usage"; exit ;;
   19168   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19169   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19170     ac_cs_silent=: ;;
   19171 
   19172   # This is an error.
   19173   -*) as_fn_error $? "unrecognized option: \`$1'
   19174 Try \`$0 --help' for more information." ;;
   19175 
   19176   *) as_fn_append ac_config_targets " $1"
   19177      ac_need_defaults=false ;;
   19178 
   19179   esac
   19180   shift
   19181 done
   19182 
   19183 ac_configure_extra_args=
   19184 
   19185 if $ac_cs_silent; then
   19186   exec 6>/dev/null
   19187   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19188 fi
   19189 
   19190 _ACEOF
   19191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19192 if \$ac_cs_recheck; then
   19193   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19194   shift
   19195   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19196   CONFIG_SHELL='$SHELL'
   19197   export CONFIG_SHELL
   19198   exec "\$@"
   19199 fi
   19200 
   19201 _ACEOF
   19202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19203 exec 5>>config.log
   19204 {
   19205   echo
   19206   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19207 ## Running $as_me. ##
   19208 _ASBOX
   19209   $as_echo "$ac_log"
   19210 } >&5
   19211 
   19212 _ACEOF
   19213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19214 #
   19215 # INIT-COMMANDS
   19216 #
   19217 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19218 
   19219 
   19220 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19221 # if CDPATH is set.
   19222 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19223 
   19224 sed_quote_subst='$sed_quote_subst'
   19225 double_quote_subst='$double_quote_subst'
   19226 delay_variable_subst='$delay_variable_subst'
   19227 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19228 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19229 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19230 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19231 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19232 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19233 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19234 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19235 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19236 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19237 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19238 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19239 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19240 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19241 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19242 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19243 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19244 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19245 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19246 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19247 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19248 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19249 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19250 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19251 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19252 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19253 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19254 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19255 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19256 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19257 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19258 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19259 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19260 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19261 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19262 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19263 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19264 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19265 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19266 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19267 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19268 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19269 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19270 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19271 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19272 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19273 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19274 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19275 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19276 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19277 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19278 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19279 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19280 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19281 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19282 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19283 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19284 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19285 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19286 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19287 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19288 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19289 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19290 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19291 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19292 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19293 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19294 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19295 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19296 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19297 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19298 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19299 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19300 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19301 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19302 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19303 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19304 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19305 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19306 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19307 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19308 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19309 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19310 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19311 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19312 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19313 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19314 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19315 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19316 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19317 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19318 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19319 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19320 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19321 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19322 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19323 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19324 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19325 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19326 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19327 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19328 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19329 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19330 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19331 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19332 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19333 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19334 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19335 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19336 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19337 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19338 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19339 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19340 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19341 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19342 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19343 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19344 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19345 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19346 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19347 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19348 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19349 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19350 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19351 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19352 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19353 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19354 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19355 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19356 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19357 
   19358 LTCC='$LTCC'
   19359 LTCFLAGS='$LTCFLAGS'
   19360 compiler='$compiler_DEFAULT'
   19361 
   19362 # A function that is used when there is no print builtin or printf.
   19363 func_fallback_echo ()
   19364 {
   19365   eval 'cat <<_LTECHO_EOF
   19366 \$1
   19367 _LTECHO_EOF'
   19368 }
   19369 
   19370 # Quote evaled strings.
   19371 for var in SHELL \
   19372 ECHO \
   19373 PATH_SEPARATOR \
   19374 SED \
   19375 GREP \
   19376 EGREP \
   19377 FGREP \
   19378 LD \
   19379 NM \
   19380 LN_S \
   19381 lt_SP2NL \
   19382 lt_NL2SP \
   19383 reload_flag \
   19384 OBJDUMP \
   19385 deplibs_check_method \
   19386 file_magic_cmd \
   19387 file_magic_glob \
   19388 want_nocaseglob \
   19389 DLLTOOL \
   19390 sharedlib_from_linklib_cmd \
   19391 AR \
   19392 AR_FLAGS \
   19393 archiver_list_spec \
   19394 STRIP \
   19395 RANLIB \
   19396 CC \
   19397 CFLAGS \
   19398 compiler \
   19399 lt_cv_sys_global_symbol_pipe \
   19400 lt_cv_sys_global_symbol_to_cdecl \
   19401 lt_cv_sys_global_symbol_to_c_name_address \
   19402 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19403 nm_file_list_spec \
   19404 lt_prog_compiler_no_builtin_flag \
   19405 lt_prog_compiler_pic \
   19406 lt_prog_compiler_wl \
   19407 lt_prog_compiler_static \
   19408 lt_cv_prog_compiler_c_o \
   19409 need_locks \
   19410 MANIFEST_TOOL \
   19411 DSYMUTIL \
   19412 NMEDIT \
   19413 LIPO \
   19414 OTOOL \
   19415 OTOOL64 \
   19416 shrext_cmds \
   19417 export_dynamic_flag_spec \
   19418 whole_archive_flag_spec \
   19419 compiler_needs_object \
   19420 with_gnu_ld \
   19421 allow_undefined_flag \
   19422 no_undefined_flag \
   19423 hardcode_libdir_flag_spec \
   19424 hardcode_libdir_separator \
   19425 exclude_expsyms \
   19426 include_expsyms \
   19427 file_list_spec \
   19428 variables_saved_for_relink \
   19429 libname_spec \
   19430 library_names_spec \
   19431 soname_spec \
   19432 install_override_mode \
   19433 finish_eval \
   19434 old_striplib \
   19435 striplib; do
   19436     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19437     *[\\\\\\\`\\"\\\$]*)
   19438       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19439       ;;
   19440     *)
   19441       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19442       ;;
   19443     esac
   19444 done
   19445 
   19446 # Double-quote double-evaled strings.
   19447 for var in reload_cmds \
   19448 old_postinstall_cmds \
   19449 old_postuninstall_cmds \
   19450 old_archive_cmds \
   19451 extract_expsyms_cmds \
   19452 old_archive_from_new_cmds \
   19453 old_archive_from_expsyms_cmds \
   19454 archive_cmds \
   19455 archive_expsym_cmds \
   19456 module_cmds \
   19457 module_expsym_cmds \
   19458 export_symbols_cmds \
   19459 prelink_cmds \
   19460 postlink_cmds \
   19461 postinstall_cmds \
   19462 postuninstall_cmds \
   19463 finish_cmds \
   19464 sys_lib_search_path_spec \
   19465 sys_lib_dlsearch_path_spec; do
   19466     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19467     *[\\\\\\\`\\"\\\$]*)
   19468       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19469       ;;
   19470     *)
   19471       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19472       ;;
   19473     esac
   19474 done
   19475 
   19476 ac_aux_dir='$ac_aux_dir'
   19477 xsi_shell='$xsi_shell'
   19478 lt_shell_append='$lt_shell_append'
   19479 
   19480 # See if we are running on zsh, and set the options which allow our
   19481 # commands through without removal of \ escapes INIT.
   19482 if test -n "\${ZSH_VERSION+set}" ; then
   19483    setopt NO_GLOB_SUBST
   19484 fi
   19485 
   19486 
   19487     PACKAGE='$PACKAGE'
   19488     VERSION='$VERSION'
   19489     TIMESTAMP='$TIMESTAMP'
   19490     RM='$RM'
   19491     ofile='$ofile'
   19492 
   19493 
   19494 
   19495 
   19496 _ACEOF
   19497 
   19498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19499 
   19500 # Handling of arguments.
   19501 for ac_config_target in $ac_config_targets
   19502 do
   19503   case $ac_config_target in
   19504     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19505     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19506     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19507     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19508     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19509     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19510 
   19511   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19512   esac
   19513 done
   19514 
   19515 
   19516 # If the user did not use the arguments to specify the items to instantiate,
   19517 # then the envvar interface is used.  Set only those that are not.
   19518 # We use the long form for the default assignment because of an extremely
   19519 # bizarre bug on SunOS 4.1.3.
   19520 if $ac_need_defaults; then
   19521   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19522   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19523   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19524 fi
   19525 
   19526 # Have a temporary directory for convenience.  Make it in the build tree
   19527 # simply because there is no reason against having it here, and in addition,
   19528 # creating and moving files from /tmp can sometimes cause problems.
   19529 # Hook for its removal unless debugging.
   19530 # Note that there is a small window in which the directory will not be cleaned:
   19531 # after its creation but before its name has been assigned to `$tmp'.
   19532 $debug ||
   19533 {
   19534   tmp= ac_tmp=
   19535   trap 'exit_status=$?
   19536   : "${ac_tmp:=$tmp}"
   19537   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19538 ' 0
   19539   trap 'as_fn_exit 1' 1 2 13 15
   19540 }
   19541 # Create a (secure) tmp directory for tmp files.
   19542 
   19543 {
   19544   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19545   test -d "$tmp"
   19546 }  ||
   19547 {
   19548   tmp=./conf$$-$RANDOM
   19549   (umask 077 && mkdir "$tmp")
   19550 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19551 ac_tmp=$tmp
   19552 
   19553 # Set up the scripts for CONFIG_FILES section.
   19554 # No need to generate them if there are no CONFIG_FILES.
   19555 # This happens for instance with `./config.status config.h'.
   19556 if test -n "$CONFIG_FILES"; then
   19557 
   19558 
   19559 ac_cr=`echo X | tr X '\015'`
   19560 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19561 # But we know of no other shell where ac_cr would be empty at this
   19562 # point, so we can use a bashism as a fallback.
   19563 if test "x$ac_cr" = x; then
   19564   eval ac_cr=\$\'\\r\'
   19565 fi
   19566 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19567 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19568   ac_cs_awk_cr='\\r'
   19569 else
   19570   ac_cs_awk_cr=$ac_cr
   19571 fi
   19572 
   19573 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19574 _ACEOF
   19575 
   19576 
   19577 {
   19578   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19579   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19580   echo "_ACEOF"
   19581 } >conf$$subs.sh ||
   19582   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19583 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19584 ac_delim='%!_!# '
   19585 for ac_last_try in false false false false false :; do
   19586   . ./conf$$subs.sh ||
   19587     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19588 
   19589   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19590   if test $ac_delim_n = $ac_delim_num; then
   19591     break
   19592   elif $ac_last_try; then
   19593     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19594   else
   19595     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19596   fi
   19597 done
   19598 rm -f conf$$subs.sh
   19599 
   19600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19601 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19602 _ACEOF
   19603 sed -n '
   19604 h
   19605 s/^/S["/; s/!.*/"]=/
   19606 p
   19607 g
   19608 s/^[^!]*!//
   19609 :repl
   19610 t repl
   19611 s/'"$ac_delim"'$//
   19612 t delim
   19613 :nl
   19614 h
   19615 s/\(.\{148\}\)..*/\1/
   19616 t more1
   19617 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19618 p
   19619 n
   19620 b repl
   19621 :more1
   19622 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19623 p
   19624 g
   19625 s/.\{148\}//
   19626 t nl
   19627 :delim
   19628 h
   19629 s/\(.\{148\}\)..*/\1/
   19630 t more2
   19631 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19632 p
   19633 b
   19634 :more2
   19635 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19636 p
   19637 g
   19638 s/.\{148\}//
   19639 t delim
   19640 ' <conf$$subs.awk | sed '
   19641 /^[^""]/{
   19642   N
   19643   s/\n//
   19644 }
   19645 ' >>$CONFIG_STATUS || ac_write_fail=1
   19646 rm -f conf$$subs.awk
   19647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19648 _ACAWK
   19649 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19650   for (key in S) S_is_set[key] = 1
   19651   FS = ""
   19652 
   19653 }
   19654 {
   19655   line = $ 0
   19656   nfields = split(line, field, "@")
   19657   substed = 0
   19658   len = length(field[1])
   19659   for (i = 2; i < nfields; i++) {
   19660     key = field[i]
   19661     keylen = length(key)
   19662     if (S_is_set[key]) {
   19663       value = S[key]
   19664       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19665       len += length(value) + length(field[++i])
   19666       substed = 1
   19667     } else
   19668       len += 1 + keylen
   19669   }
   19670 
   19671   print line
   19672 }
   19673 
   19674 _ACAWK
   19675 _ACEOF
   19676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19677 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19678   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19679 else
   19680   cat
   19681 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19682   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19683 _ACEOF
   19684 
   19685 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19686 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19687 # trailing colons and then remove the whole line if VPATH becomes empty
   19688 # (actually we leave an empty line to preserve line numbers).
   19689 if test "x$srcdir" = x.; then
   19690   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19691 h
   19692 s///
   19693 s/^/:/
   19694 s/[	 ]*$/:/
   19695 s/:\$(srcdir):/:/g
   19696 s/:\${srcdir}:/:/g
   19697 s/:@srcdir@:/:/g
   19698 s/^:*//
   19699 s/:*$//
   19700 x
   19701 s/\(=[	 ]*\).*/\1/
   19702 G
   19703 s/\n//
   19704 s/^[^=]*=[	 ]*$//
   19705 }'
   19706 fi
   19707 
   19708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19709 fi # test -n "$CONFIG_FILES"
   19710 
   19711 # Set up the scripts for CONFIG_HEADERS section.
   19712 # No need to generate them if there are no CONFIG_HEADERS.
   19713 # This happens for instance with `./config.status Makefile'.
   19714 if test -n "$CONFIG_HEADERS"; then
   19715 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19716 BEGIN {
   19717 _ACEOF
   19718 
   19719 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19720 # here-document in config.status, that substitutes the proper values into
   19721 # config.h.in to produce config.h.
   19722 
   19723 # Create a delimiter string that does not exist in confdefs.h, to ease
   19724 # handling of long lines.
   19725 ac_delim='%!_!# '
   19726 for ac_last_try in false false :; do
   19727   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19728   if test -z "$ac_tt"; then
   19729     break
   19730   elif $ac_last_try; then
   19731     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19732   else
   19733     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19734   fi
   19735 done
   19736 
   19737 # For the awk script, D is an array of macro values keyed by name,
   19738 # likewise P contains macro parameters if any.  Preserve backslash
   19739 # newline sequences.
   19740 
   19741 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19742 sed -n '
   19743 s/.\{148\}/&'"$ac_delim"'/g
   19744 t rset
   19745 :rset
   19746 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19747 t def
   19748 d
   19749 :def
   19750 s/\\$//
   19751 t bsnl
   19752 s/["\\]/\\&/g
   19753 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19754 D["\1"]=" \3"/p
   19755 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19756 d
   19757 :bsnl
   19758 s/["\\]/\\&/g
   19759 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19760 D["\1"]=" \3\\\\\\n"\\/p
   19761 t cont
   19762 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19763 t cont
   19764 d
   19765 :cont
   19766 n
   19767 s/.\{148\}/&'"$ac_delim"'/g
   19768 t clear
   19769 :clear
   19770 s/\\$//
   19771 t bsnlc
   19772 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19773 d
   19774 :bsnlc
   19775 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19776 b cont
   19777 ' <confdefs.h | sed '
   19778 s/'"$ac_delim"'/"\\\
   19779 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19780 
   19781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19782   for (key in D) D_is_set[key] = 1
   19783   FS = ""
   19784 }
   19785 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19786   line = \$ 0
   19787   split(line, arg, " ")
   19788   if (arg[1] == "#") {
   19789     defundef = arg[2]
   19790     mac1 = arg[3]
   19791   } else {
   19792     defundef = substr(arg[1], 2)
   19793     mac1 = arg[2]
   19794   }
   19795   split(mac1, mac2, "(") #)
   19796   macro = mac2[1]
   19797   prefix = substr(line, 1, index(line, defundef) - 1)
   19798   if (D_is_set[macro]) {
   19799     # Preserve the white space surrounding the "#".
   19800     print prefix "define", macro P[macro] D[macro]
   19801     next
   19802   } else {
   19803     # Replace #undef with comments.  This is necessary, for example,
   19804     # in the case of _POSIX_SOURCE, which is predefined and required
   19805     # on some systems where configure will not decide to define it.
   19806     if (defundef == "undef") {
   19807       print "/*", prefix defundef, macro, "*/"
   19808       next
   19809     }
   19810   }
   19811 }
   19812 { print }
   19813 _ACAWK
   19814 _ACEOF
   19815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19816   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19817 fi # test -n "$CONFIG_HEADERS"
   19818 
   19819 
   19820 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19821 shift
   19822 for ac_tag
   19823 do
   19824   case $ac_tag in
   19825   :[FHLC]) ac_mode=$ac_tag; continue;;
   19826   esac
   19827   case $ac_mode$ac_tag in
   19828   :[FHL]*:*);;
   19829   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19830   :[FH]-) ac_tag=-:-;;
   19831   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19832   esac
   19833   ac_save_IFS=$IFS
   19834   IFS=:
   19835   set x $ac_tag
   19836   IFS=$ac_save_IFS
   19837   shift
   19838   ac_file=$1
   19839   shift
   19840 
   19841   case $ac_mode in
   19842   :L) ac_source=$1;;
   19843   :[FH])
   19844     ac_file_inputs=
   19845     for ac_f
   19846     do
   19847       case $ac_f in
   19848       -) ac_f="$ac_tmp/stdin";;
   19849       *) # Look for the file first in the build tree, then in the source tree
   19850 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19851 	 # because $ac_f cannot contain `:'.
   19852 	 test -f "$ac_f" ||
   19853 	   case $ac_f in
   19854 	   [\\/$]*) false;;
   19855 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19856 	   esac ||
   19857 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19858       esac
   19859       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19860       as_fn_append ac_file_inputs " '$ac_f'"
   19861     done
   19862 
   19863     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19864     # use $as_me), people would be surprised to read:
   19865     #    /* config.h.  Generated by config.status.  */
   19866     configure_input='Generated from '`
   19867 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19868 	`' by configure.'
   19869     if test x"$ac_file" != x-; then
   19870       configure_input="$ac_file.  $configure_input"
   19871       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19872 $as_echo "$as_me: creating $ac_file" >&6;}
   19873     fi
   19874     # Neutralize special characters interpreted by sed in replacement strings.
   19875     case $configure_input in #(
   19876     *\&* | *\|* | *\\* )
   19877        ac_sed_conf_input=`$as_echo "$configure_input" |
   19878        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19879     *) ac_sed_conf_input=$configure_input;;
   19880     esac
   19881 
   19882     case $ac_tag in
   19883     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19884       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19885     esac
   19886     ;;
   19887   esac
   19888 
   19889   ac_dir=`$as_dirname -- "$ac_file" ||
   19890 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19891 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19892 	 X"$ac_file" : 'X\(//\)$' \| \
   19893 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19894 $as_echo X"$ac_file" |
   19895     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19896 	    s//\1/
   19897 	    q
   19898 	  }
   19899 	  /^X\(\/\/\)[^/].*/{
   19900 	    s//\1/
   19901 	    q
   19902 	  }
   19903 	  /^X\(\/\/\)$/{
   19904 	    s//\1/
   19905 	    q
   19906 	  }
   19907 	  /^X\(\/\).*/{
   19908 	    s//\1/
   19909 	    q
   19910 	  }
   19911 	  s/.*/./; q'`
   19912   as_dir="$ac_dir"; as_fn_mkdir_p
   19913   ac_builddir=.
   19914 
   19915 case "$ac_dir" in
   19916 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19917 *)
   19918   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19919   # A ".." for each directory in $ac_dir_suffix.
   19920   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19921   case $ac_top_builddir_sub in
   19922   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19923   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19924   esac ;;
   19925 esac
   19926 ac_abs_top_builddir=$ac_pwd
   19927 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19928 # for backward compatibility:
   19929 ac_top_builddir=$ac_top_build_prefix
   19930 
   19931 case $srcdir in
   19932   .)  # We are building in place.
   19933     ac_srcdir=.
   19934     ac_top_srcdir=$ac_top_builddir_sub
   19935     ac_abs_top_srcdir=$ac_pwd ;;
   19936   [\\/]* | ?:[\\/]* )  # Absolute name.
   19937     ac_srcdir=$srcdir$ac_dir_suffix;
   19938     ac_top_srcdir=$srcdir
   19939     ac_abs_top_srcdir=$srcdir ;;
   19940   *) # Relative name.
   19941     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19942     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19943     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19944 esac
   19945 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19946 
   19947 
   19948   case $ac_mode in
   19949   :F)
   19950   #
   19951   # CONFIG_FILE
   19952   #
   19953 
   19954   case $INSTALL in
   19955   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19956   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19957   esac
   19958   ac_MKDIR_P=$MKDIR_P
   19959   case $MKDIR_P in
   19960   [\\/$]* | ?:[\\/]* ) ;;
   19961   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19962   esac
   19963 _ACEOF
   19964 
   19965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19966 # If the template does not know about datarootdir, expand it.
   19967 # FIXME: This hack should be removed a few years after 2.60.
   19968 ac_datarootdir_hack=; ac_datarootdir_seen=
   19969 ac_sed_dataroot='
   19970 /datarootdir/ {
   19971   p
   19972   q
   19973 }
   19974 /@datadir@/p
   19975 /@docdir@/p
   19976 /@infodir@/p
   19977 /@localedir@/p
   19978 /@mandir@/p'
   19979 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19980 *datarootdir*) ac_datarootdir_seen=yes;;
   19981 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19982   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19983 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19984 _ACEOF
   19985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19986   ac_datarootdir_hack='
   19987   s&@datadir@&$datadir&g
   19988   s&@docdir@&$docdir&g
   19989   s&@infodir@&$infodir&g
   19990   s&@localedir@&$localedir&g
   19991   s&@mandir@&$mandir&g
   19992   s&\\\${datarootdir}&$datarootdir&g' ;;
   19993 esac
   19994 _ACEOF
   19995 
   19996 # Neutralize VPATH when `$srcdir' = `.'.
   19997 # Shell code in configure.ac might set extrasub.
   19998 # FIXME: do we really want to maintain this feature?
   19999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20000 ac_sed_extra="$ac_vpsub
   20001 $extrasub
   20002 _ACEOF
   20003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20004 :t
   20005 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20006 s|@configure_input@|$ac_sed_conf_input|;t t
   20007 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20008 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20009 s&@srcdir@&$ac_srcdir&;t t
   20010 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20011 s&@top_srcdir@&$ac_top_srcdir&;t t
   20012 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20013 s&@builddir@&$ac_builddir&;t t
   20014 s&@abs_builddir@&$ac_abs_builddir&;t t
   20015 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20016 s&@INSTALL@&$ac_INSTALL&;t t
   20017 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20018 $ac_datarootdir_hack
   20019 "
   20020 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20021   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20022 
   20023 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20024   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20025   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20026       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20027   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20028 which seems to be undefined.  Please make sure it is defined" >&5
   20029 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20030 which seems to be undefined.  Please make sure it is defined" >&2;}
   20031 
   20032   rm -f "$ac_tmp/stdin"
   20033   case $ac_file in
   20034   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20035   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20036   esac \
   20037   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20038  ;;
   20039   :H)
   20040   #
   20041   # CONFIG_HEADER
   20042   #
   20043   if test x"$ac_file" != x-; then
   20044     {
   20045       $as_echo "/* $configure_input  */" \
   20046       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20047     } >"$ac_tmp/config.h" \
   20048       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20049     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20050       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20051 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20052     else
   20053       rm -f "$ac_file"
   20054       mv "$ac_tmp/config.h" "$ac_file" \
   20055 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20056     fi
   20057   else
   20058     $as_echo "/* $configure_input  */" \
   20059       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20060       || as_fn_error $? "could not create -" "$LINENO" 5
   20061   fi
   20062 # Compute "$ac_file"'s index in $config_headers.
   20063 _am_arg="$ac_file"
   20064 _am_stamp_count=1
   20065 for _am_header in $config_headers :; do
   20066   case $_am_header in
   20067     $_am_arg | $_am_arg:* )
   20068       break ;;
   20069     * )
   20070       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20071   esac
   20072 done
   20073 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20074 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20075 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20076 	 X"$_am_arg" : 'X\(//\)$' \| \
   20077 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20078 $as_echo X"$_am_arg" |
   20079     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20080 	    s//\1/
   20081 	    q
   20082 	  }
   20083 	  /^X\(\/\/\)[^/].*/{
   20084 	    s//\1/
   20085 	    q
   20086 	  }
   20087 	  /^X\(\/\/\)$/{
   20088 	    s//\1/
   20089 	    q
   20090 	  }
   20091 	  /^X\(\/\).*/{
   20092 	    s//\1/
   20093 	    q
   20094 	  }
   20095 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20096  ;;
   20097 
   20098   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20099 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20100  ;;
   20101   esac
   20102 
   20103 
   20104   case $ac_file$ac_mode in
   20105     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20106   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   20107   # are listed without --file.  Let's play safe and only enable the eval
   20108   # if we detect the quoting.
   20109   case $CONFIG_FILES in
   20110   *\'*) eval set x "$CONFIG_FILES" ;;
   20111   *)   set x $CONFIG_FILES ;;
   20112   esac
   20113   shift
   20114   for mf
   20115   do
   20116     # Strip MF so we end up with the name of the file.
   20117     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20118     # Check whether this is an Automake generated Makefile or not.
   20119     # We used to match only the files named `Makefile.in', but
   20120     # some people rename them; so instead we look at the file content.
   20121     # Grep'ing the first line is not enough: some people post-process
   20122     # each Makefile.in and add a new line on top of each file to say so.
   20123     # Grep'ing the whole file is not good either: AIX grep has a line
   20124     # limit of 2048, but all sed's we know have understand at least 4000.
   20125     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20126       dirpart=`$as_dirname -- "$mf" ||
   20127 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20128 	 X"$mf" : 'X\(//\)[^/]' \| \
   20129 	 X"$mf" : 'X\(//\)$' \| \
   20130 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20131 $as_echo X"$mf" |
   20132     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20133 	    s//\1/
   20134 	    q
   20135 	  }
   20136 	  /^X\(\/\/\)[^/].*/{
   20137 	    s//\1/
   20138 	    q
   20139 	  }
   20140 	  /^X\(\/\/\)$/{
   20141 	    s//\1/
   20142 	    q
   20143 	  }
   20144 	  /^X\(\/\).*/{
   20145 	    s//\1/
   20146 	    q
   20147 	  }
   20148 	  s/.*/./; q'`
   20149     else
   20150       continue
   20151     fi
   20152     # Extract the definition of DEPDIR, am__include, and am__quote
   20153     # from the Makefile without running `make'.
   20154     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20155     test -z "$DEPDIR" && continue
   20156     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20157     test -z "am__include" && continue
   20158     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20159     # When using ansi2knr, U may be empty or an underscore; expand it
   20160     U=`sed -n 's/^U = //p' < "$mf"`
   20161     # Find all dependency output files, they are included files with
   20162     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20163     # simplest approach to changing $(DEPDIR) to its actual value in the
   20164     # expansion.
   20165     for file in `sed -n "
   20166       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20167 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   20168       # Make sure the directory exists.
   20169       test -f "$dirpart/$file" && continue
   20170       fdir=`$as_dirname -- "$file" ||
   20171 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20172 	 X"$file" : 'X\(//\)[^/]' \| \
   20173 	 X"$file" : 'X\(//\)$' \| \
   20174 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20175 $as_echo X"$file" |
   20176     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20177 	    s//\1/
   20178 	    q
   20179 	  }
   20180 	  /^X\(\/\/\)[^/].*/{
   20181 	    s//\1/
   20182 	    q
   20183 	  }
   20184 	  /^X\(\/\/\)$/{
   20185 	    s//\1/
   20186 	    q
   20187 	  }
   20188 	  /^X\(\/\).*/{
   20189 	    s//\1/
   20190 	    q
   20191 	  }
   20192 	  s/.*/./; q'`
   20193       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20194       # echo "creating $dirpart/$file"
   20195       echo '# dummy' > "$dirpart/$file"
   20196     done
   20197   done
   20198 }
   20199  ;;
   20200     "libtool":C)
   20201 
   20202     # See if we are running on zsh, and set the options which allow our
   20203     # commands through without removal of \ escapes.
   20204     if test -n "${ZSH_VERSION+set}" ; then
   20205       setopt NO_GLOB_SUBST
   20206     fi
   20207 
   20208     cfgfile="${ofile}T"
   20209     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20210     $RM "$cfgfile"
   20211 
   20212     cat <<_LT_EOF >> "$cfgfile"
   20213 #! $SHELL
   20214 
   20215 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   20216 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   20217 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20218 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20219 #
   20220 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20221 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   20222 #                 Foundation, Inc.
   20223 #   Written by Gordon Matzigkeit, 1996
   20224 #
   20225 #   This file is part of GNU Libtool.
   20226 #
   20227 # GNU Libtool is free software; you can redistribute it and/or
   20228 # modify it under the terms of the GNU General Public License as
   20229 # published by the Free Software Foundation; either version 2 of
   20230 # the License, or (at your option) any later version.
   20231 #
   20232 # As a special exception to the GNU General Public License,
   20233 # if you distribute this file as part of a program or library that
   20234 # is built using GNU Libtool, you may include this file under the
   20235 # same distribution terms that you use for the rest of that program.
   20236 #
   20237 # GNU Libtool is distributed in the hope that it will be useful,
   20238 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20239 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20240 # GNU General Public License for more details.
   20241 #
   20242 # You should have received a copy of the GNU General Public License
   20243 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20244 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20245 # obtained by writing to the Free Software Foundation, Inc.,
   20246 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20247 
   20248 
   20249 # The names of the tagged configurations supported by this script.
   20250 available_tags=""
   20251 
   20252 # ### BEGIN LIBTOOL CONFIG
   20253 
   20254 # Whether or not to build static libraries.
   20255 build_old_libs=$enable_static
   20256 
   20257 # Which release of libtool.m4 was used?
   20258 macro_version=$macro_version
   20259 macro_revision=$macro_revision
   20260 
   20261 # Whether or not to build shared libraries.
   20262 build_libtool_libs=$enable_shared
   20263 
   20264 # What type of objects to build.
   20265 pic_mode=$pic_mode
   20266 
   20267 # Whether or not to optimize for fast installation.
   20268 fast_install=$enable_fast_install
   20269 
   20270 # Shell to use when invoking shell scripts.
   20271 SHELL=$lt_SHELL
   20272 
   20273 # An echo program that protects backslashes.
   20274 ECHO=$lt_ECHO
   20275 
   20276 # The PATH separator for the build system.
   20277 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20278 
   20279 # The host system.
   20280 host_alias=$host_alias
   20281 host=$host
   20282 host_os=$host_os
   20283 
   20284 # The build system.
   20285 build_alias=$build_alias
   20286 build=$build
   20287 build_os=$build_os
   20288 
   20289 # A sed program that does not truncate output.
   20290 SED=$lt_SED
   20291 
   20292 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20293 Xsed="\$SED -e 1s/^X//"
   20294 
   20295 # A grep program that handles long lines.
   20296 GREP=$lt_GREP
   20297 
   20298 # An ERE matcher.
   20299 EGREP=$lt_EGREP
   20300 
   20301 # A literal string matcher.
   20302 FGREP=$lt_FGREP
   20303 
   20304 # A BSD- or MS-compatible name lister.
   20305 NM=$lt_NM
   20306 
   20307 # Whether we need soft or hard links.
   20308 LN_S=$lt_LN_S
   20309 
   20310 # What is the maximum length of a command?
   20311 max_cmd_len=$max_cmd_len
   20312 
   20313 # Object file suffix (normally "o").
   20314 objext=$ac_objext
   20315 
   20316 # Executable file suffix (normally "").
   20317 exeext=$exeext
   20318 
   20319 # whether the shell understands "unset".
   20320 lt_unset=$lt_unset
   20321 
   20322 # turn spaces into newlines.
   20323 SP2NL=$lt_lt_SP2NL
   20324 
   20325 # turn newlines into spaces.
   20326 NL2SP=$lt_lt_NL2SP
   20327 
   20328 # convert \$build file names to \$host format.
   20329 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20330 
   20331 # convert \$build files to toolchain format.
   20332 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20333 
   20334 # An object symbol dumper.
   20335 OBJDUMP=$lt_OBJDUMP
   20336 
   20337 # Method to check whether dependent libraries are shared objects.
   20338 deplibs_check_method=$lt_deplibs_check_method
   20339 
   20340 # Command to use when deplibs_check_method = "file_magic".
   20341 file_magic_cmd=$lt_file_magic_cmd
   20342 
   20343 # How to find potential files when deplibs_check_method = "file_magic".
   20344 file_magic_glob=$lt_file_magic_glob
   20345 
   20346 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20347 want_nocaseglob=$lt_want_nocaseglob
   20348 
   20349 # DLL creation program.
   20350 DLLTOOL=$lt_DLLTOOL
   20351 
   20352 # Command to associate shared and link libraries.
   20353 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20354 
   20355 # The archiver.
   20356 AR=$lt_AR
   20357 
   20358 # Flags to create an archive.
   20359 AR_FLAGS=$lt_AR_FLAGS
   20360 
   20361 # How to feed a file listing to the archiver.
   20362 archiver_list_spec=$lt_archiver_list_spec
   20363 
   20364 # A symbol stripping program.
   20365 STRIP=$lt_STRIP
   20366 
   20367 # Commands used to install an old-style archive.
   20368 RANLIB=$lt_RANLIB
   20369 old_postinstall_cmds=$lt_old_postinstall_cmds
   20370 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20371 
   20372 # Whether to use a lock for old archive extraction.
   20373 lock_old_archive_extraction=$lock_old_archive_extraction
   20374 
   20375 # A C compiler.
   20376 LTCC=$lt_CC
   20377 
   20378 # LTCC compiler flags.
   20379 LTCFLAGS=$lt_CFLAGS
   20380 
   20381 # Take the output of nm and produce a listing of raw symbols and C names.
   20382 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20383 
   20384 # Transform the output of nm in a proper C declaration.
   20385 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20386 
   20387 # Transform the output of nm in a C name address pair.
   20388 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20389 
   20390 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20391 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20392 
   20393 # Specify filename containing input files for \$NM.
   20394 nm_file_list_spec=$lt_nm_file_list_spec
   20395 
   20396 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20397 lt_sysroot=$lt_sysroot
   20398 
   20399 # The name of the directory that contains temporary libtool files.
   20400 objdir=$objdir
   20401 
   20402 # Used to examine libraries when file_magic_cmd begins with "file".
   20403 MAGIC_CMD=$MAGIC_CMD
   20404 
   20405 # Must we lock files when doing compilation?
   20406 need_locks=$lt_need_locks
   20407 
   20408 # Manifest tool.
   20409 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20410 
   20411 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20412 DSYMUTIL=$lt_DSYMUTIL
   20413 
   20414 # Tool to change global to local symbols on Mac OS X.
   20415 NMEDIT=$lt_NMEDIT
   20416 
   20417 # Tool to manipulate fat objects and archives on Mac OS X.
   20418 LIPO=$lt_LIPO
   20419 
   20420 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20421 OTOOL=$lt_OTOOL
   20422 
   20423 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20424 OTOOL64=$lt_OTOOL64
   20425 
   20426 # Old archive suffix (normally "a").
   20427 libext=$libext
   20428 
   20429 # Shared library suffix (normally ".so").
   20430 shrext_cmds=$lt_shrext_cmds
   20431 
   20432 # The commands to extract the exported symbol list from a shared archive.
   20433 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20434 
   20435 # Variables whose values should be saved in libtool wrapper scripts and
   20436 # restored at link time.
   20437 variables_saved_for_relink=$lt_variables_saved_for_relink
   20438 
   20439 # Do we need the "lib" prefix for modules?
   20440 need_lib_prefix=$need_lib_prefix
   20441 
   20442 # Do we need a version for libraries?
   20443 need_version=$need_version
   20444 
   20445 # Library versioning type.
   20446 version_type=$version_type
   20447 
   20448 # Shared library runtime path variable.
   20449 runpath_var=$runpath_var
   20450 
   20451 # Shared library path variable.
   20452 shlibpath_var=$shlibpath_var
   20453 
   20454 # Is shlibpath searched before the hard-coded library search path?
   20455 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20456 
   20457 # Format of library name prefix.
   20458 libname_spec=$lt_libname_spec
   20459 
   20460 # List of archive names.  First name is the real one, the rest are links.
   20461 # The last name is the one that the linker finds with -lNAME
   20462 library_names_spec=$lt_library_names_spec
   20463 
   20464 # The coded name of the library, if different from the real name.
   20465 soname_spec=$lt_soname_spec
   20466 
   20467 # Permission mode override for installation of shared libraries.
   20468 install_override_mode=$lt_install_override_mode
   20469 
   20470 # Command to use after installation of a shared archive.
   20471 postinstall_cmds=$lt_postinstall_cmds
   20472 
   20473 # Command to use after uninstallation of a shared archive.
   20474 postuninstall_cmds=$lt_postuninstall_cmds
   20475 
   20476 # Commands used to finish a libtool library installation in a directory.
   20477 finish_cmds=$lt_finish_cmds
   20478 
   20479 # As "finish_cmds", except a single script fragment to be evaled but
   20480 # not shown.
   20481 finish_eval=$lt_finish_eval
   20482 
   20483 # Whether we should hardcode library paths into libraries.
   20484 hardcode_into_libs=$hardcode_into_libs
   20485 
   20486 # Compile-time system search path for libraries.
   20487 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20488 
   20489 # Run-time system search path for libraries.
   20490 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20491 
   20492 # Whether dlopen is supported.
   20493 dlopen_support=$enable_dlopen
   20494 
   20495 # Whether dlopen of programs is supported.
   20496 dlopen_self=$enable_dlopen_self
   20497 
   20498 # Whether dlopen of statically linked programs is supported.
   20499 dlopen_self_static=$enable_dlopen_self_static
   20500 
   20501 # Commands to strip libraries.
   20502 old_striplib=$lt_old_striplib
   20503 striplib=$lt_striplib
   20504 
   20505 
   20506 # The linker used to build libraries.
   20507 LD=$lt_LD
   20508 
   20509 # How to create reloadable object files.
   20510 reload_flag=$lt_reload_flag
   20511 reload_cmds=$lt_reload_cmds
   20512 
   20513 # Commands used to build an old-style archive.
   20514 old_archive_cmds=$lt_old_archive_cmds
   20515 
   20516 # A language specific compiler.
   20517 CC=$lt_compiler
   20518 
   20519 # Is the compiler the GNU compiler?
   20520 with_gcc=$GCC
   20521 
   20522 # Compiler flag to turn off builtin functions.
   20523 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20524 
   20525 # Additional compiler flags for building library objects.
   20526 pic_flag=$lt_lt_prog_compiler_pic
   20527 
   20528 # How to pass a linker flag through the compiler.
   20529 wl=$lt_lt_prog_compiler_wl
   20530 
   20531 # Compiler flag to prevent dynamic linking.
   20532 link_static_flag=$lt_lt_prog_compiler_static
   20533 
   20534 # Does compiler simultaneously support -c and -o options?
   20535 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20536 
   20537 # Whether or not to add -lc for building shared libraries.
   20538 build_libtool_need_lc=$archive_cmds_need_lc
   20539 
   20540 # Whether or not to disallow shared libs when runtime libs are static.
   20541 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20542 
   20543 # Compiler flag to allow reflexive dlopens.
   20544 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20545 
   20546 # Compiler flag to generate shared objects directly from archives.
   20547 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20548 
   20549 # Whether the compiler copes with passing no objects directly.
   20550 compiler_needs_object=$lt_compiler_needs_object
   20551 
   20552 # Create an old-style archive from a shared archive.
   20553 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20554 
   20555 # Create a temporary old-style archive to link instead of a shared archive.
   20556 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20557 
   20558 # Commands used to build a shared archive.
   20559 archive_cmds=$lt_archive_cmds
   20560 archive_expsym_cmds=$lt_archive_expsym_cmds
   20561 
   20562 # Commands used to build a loadable module if different from building
   20563 # a shared archive.
   20564 module_cmds=$lt_module_cmds
   20565 module_expsym_cmds=$lt_module_expsym_cmds
   20566 
   20567 # Whether we are building with GNU ld or not.
   20568 with_gnu_ld=$lt_with_gnu_ld
   20569 
   20570 # Flag that allows shared libraries with undefined symbols to be built.
   20571 allow_undefined_flag=$lt_allow_undefined_flag
   20572 
   20573 # Flag that enforces no undefined symbols.
   20574 no_undefined_flag=$lt_no_undefined_flag
   20575 
   20576 # Flag to hardcode \$libdir into a binary during linking.
   20577 # This must work even if \$libdir does not exist
   20578 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20579 
   20580 # Whether we need a single "-rpath" flag with a separated argument.
   20581 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20582 
   20583 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20584 # DIR into the resulting binary.
   20585 hardcode_direct=$hardcode_direct
   20586 
   20587 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20588 # DIR into the resulting binary and the resulting library dependency is
   20589 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20590 # library is relocated.
   20591 hardcode_direct_absolute=$hardcode_direct_absolute
   20592 
   20593 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20594 # into the resulting binary.
   20595 hardcode_minus_L=$hardcode_minus_L
   20596 
   20597 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20598 # into the resulting binary.
   20599 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20600 
   20601 # Set to "yes" if building a shared library automatically hardcodes DIR
   20602 # into the library and all subsequent libraries and executables linked
   20603 # against it.
   20604 hardcode_automatic=$hardcode_automatic
   20605 
   20606 # Set to yes if linker adds runtime paths of dependent libraries
   20607 # to runtime path list.
   20608 inherit_rpath=$inherit_rpath
   20609 
   20610 # Whether libtool must link a program against all its dependency libraries.
   20611 link_all_deplibs=$link_all_deplibs
   20612 
   20613 # Set to "yes" if exported symbols are required.
   20614 always_export_symbols=$always_export_symbols
   20615 
   20616 # The commands to list exported symbols.
   20617 export_symbols_cmds=$lt_export_symbols_cmds
   20618 
   20619 # Symbols that should not be listed in the preloaded symbols.
   20620 exclude_expsyms=$lt_exclude_expsyms
   20621 
   20622 # Symbols that must always be exported.
   20623 include_expsyms=$lt_include_expsyms
   20624 
   20625 # Commands necessary for linking programs (against libraries) with templates.
   20626 prelink_cmds=$lt_prelink_cmds
   20627 
   20628 # Commands necessary for finishing linking programs.
   20629 postlink_cmds=$lt_postlink_cmds
   20630 
   20631 # Specify filename containing input files.
   20632 file_list_spec=$lt_file_list_spec
   20633 
   20634 # How to hardcode a shared library path into an executable.
   20635 hardcode_action=$hardcode_action
   20636 
   20637 # ### END LIBTOOL CONFIG
   20638 
   20639 _LT_EOF
   20640 
   20641   case $host_os in
   20642   aix3*)
   20643     cat <<\_LT_EOF >> "$cfgfile"
   20644 # AIX sometimes has problems with the GCC collect2 program.  For some
   20645 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20646 # vanish in a puff of smoke.
   20647 if test "X${COLLECT_NAMES+set}" != Xset; then
   20648   COLLECT_NAMES=
   20649   export COLLECT_NAMES
   20650 fi
   20651 _LT_EOF
   20652     ;;
   20653   esac
   20654 
   20655 
   20656 ltmain="$ac_aux_dir/ltmain.sh"
   20657 
   20658 
   20659   # We use sed instead of cat because bash on DJGPP gets confused if
   20660   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20661   # text mode, it properly converts lines to CR/LF.  This bash problem
   20662   # is reportedly fixed, but why not run on old versions too?
   20663   sed '$q' "$ltmain" >> "$cfgfile" \
   20664      || (rm -f "$cfgfile"; exit 1)
   20665 
   20666   if test x"$xsi_shell" = xyes; then
   20667   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20668 func_dirname ()\
   20669 {\
   20670 \    case ${1} in\
   20671 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20672 \      *  ) func_dirname_result="${3}" ;;\
   20673 \    esac\
   20674 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20675   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20676     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20677 test 0 -eq $? || _lt_function_replace_fail=:
   20678 
   20679 
   20680   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20681 func_basename ()\
   20682 {\
   20683 \    func_basename_result="${1##*/}"\
   20684 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20685   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20686     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20687 test 0 -eq $? || _lt_function_replace_fail=:
   20688 
   20689 
   20690   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20691 func_dirname_and_basename ()\
   20692 {\
   20693 \    case ${1} in\
   20694 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20695 \      *  ) func_dirname_result="${3}" ;;\
   20696 \    esac\
   20697 \    func_basename_result="${1##*/}"\
   20698 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20699   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20700     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20701 test 0 -eq $? || _lt_function_replace_fail=:
   20702 
   20703 
   20704   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20705 func_stripname ()\
   20706 {\
   20707 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20708 \    # positional parameters, so assign one to ordinary parameter first.\
   20709 \    func_stripname_result=${3}\
   20710 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20711 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20712 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20713   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20714     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20715 test 0 -eq $? || _lt_function_replace_fail=:
   20716 
   20717 
   20718   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20719 func_split_long_opt ()\
   20720 {\
   20721 \    func_split_long_opt_name=${1%%=*}\
   20722 \    func_split_long_opt_arg=${1#*=}\
   20723 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20724   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20725     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20726 test 0 -eq $? || _lt_function_replace_fail=:
   20727 
   20728 
   20729   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20730 func_split_short_opt ()\
   20731 {\
   20732 \    func_split_short_opt_arg=${1#??}\
   20733 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20734 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20735   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20736     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20737 test 0 -eq $? || _lt_function_replace_fail=:
   20738 
   20739 
   20740   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20741 func_lo2o ()\
   20742 {\
   20743 \    case ${1} in\
   20744 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20745 \      *)    func_lo2o_result=${1} ;;\
   20746 \    esac\
   20747 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20748   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20749     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20750 test 0 -eq $? || _lt_function_replace_fail=:
   20751 
   20752 
   20753   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20754 func_xform ()\
   20755 {\
   20756     func_xform_result=${1%.*}.lo\
   20757 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20758   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20759     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20760 test 0 -eq $? || _lt_function_replace_fail=:
   20761 
   20762 
   20763   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20764 func_arith ()\
   20765 {\
   20766     func_arith_result=$(( $* ))\
   20767 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20768   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20769     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20770 test 0 -eq $? || _lt_function_replace_fail=:
   20771 
   20772 
   20773   sed -e '/^func_len ()$/,/^} # func_len /c\
   20774 func_len ()\
   20775 {\
   20776     func_len_result=${#1}\
   20777 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20778   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20779     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20780 test 0 -eq $? || _lt_function_replace_fail=:
   20781 
   20782 fi
   20783 
   20784 if test x"$lt_shell_append" = xyes; then
   20785   sed -e '/^func_append ()$/,/^} # func_append /c\
   20786 func_append ()\
   20787 {\
   20788     eval "${1}+=\\${2}"\
   20789 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20790   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20791     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20792 test 0 -eq $? || _lt_function_replace_fail=:
   20793 
   20794 
   20795   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20796 func_append_quoted ()\
   20797 {\
   20798 \    func_quote_for_eval "${2}"\
   20799 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20800 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20801   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20802     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20803 test 0 -eq $? || _lt_function_replace_fail=:
   20804 
   20805 
   20806   # Save a `func_append' function call where possible by direct use of '+='
   20807   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20808     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20809       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20810   test 0 -eq $? || _lt_function_replace_fail=:
   20811 else
   20812   # Save a `func_append' function call even when '+=' is not available
   20813   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20814     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20815       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20816   test 0 -eq $? || _lt_function_replace_fail=:
   20817 fi
   20818 
   20819 if test x"$_lt_function_replace_fail" = x":"; then
   20820   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20821 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20822 fi
   20823 
   20824 
   20825    mv -f "$cfgfile" "$ofile" ||
   20826     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20827   chmod +x "$ofile"
   20828 
   20829  ;;
   20830 
   20831   esac
   20832 done # for ac_tag
   20833 
   20834 
   20835 as_fn_exit 0
   20836 _ACEOF
   20837 ac_clean_files=$ac_clean_files_save
   20838 
   20839 test $ac_write_fail = 0 ||
   20840   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20841 
   20842 
   20843 # configure is writing to config.log, and then calls config.status.
   20844 # config.status does its own redirection, appending to config.log.
   20845 # Unfortunately, on DOS this fails, as config.log is still kept open
   20846 # by configure, so config.status won't be able to write to it; its
   20847 # output is simply discarded.  So we exec the FD to /dev/null,
   20848 # effectively closing config.log, so it can be properly (re)opened and
   20849 # appended to by config.status.  When coming back to configure, we
   20850 # need to make the FD available again.
   20851 if test "$no_create" != yes; then
   20852   ac_cs_success=:
   20853   ac_config_status_args=
   20854   test "$silent" = yes &&
   20855     ac_config_status_args="$ac_config_status_args --quiet"
   20856   exec 5>/dev/null
   20857   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20858   exec 5>>config.log
   20859   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20860   # would make configure fail if this is the last instruction.
   20861   $ac_cs_success || as_fn_exit 1
   20862 fi
   20863 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20864   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20865 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20866 fi
   20867 
   20868