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-s3virge 1.11.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-s3virge/issues>.
      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://gitlab.freedesktop.org/xorg/driver/xf86-video-s3virge/issues
    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-s3virge'
    593 PACKAGE_TARNAME='xf86-video-s3virge'
    594 PACKAGE_VERSION='1.11.0'
    595 PACKAGE_STRING='xf86-video-s3virge 1.11.0'
    596 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-video-s3virge/issues'
    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 XAA_FALSE
    643 XAA_TRUE
    644 XSERVER_LIBPCIACCESS_FALSE
    645 XSERVER_LIBPCIACCESS_TRUE
    646 PCIACCESS_LIBS
    647 PCIACCESS_CFLAGS
    648 HAVE_XEXTPROTO_71_FALSE
    649 HAVE_XEXTPROTO_71_TRUE
    650 XEXT_LIBS
    651 XEXT_CFLAGS
    652 XORG_LIBS
    653 XORG_CFLAGS
    654 LT_SYS_LIBRARY_PATH
    655 OTOOL64
    656 OTOOL
    657 LIPO
    658 NMEDIT
    659 DSYMUTIL
    660 MANIFEST_TOOL
    661 RANLIB
    662 ac_ct_AR
    663 AR
    664 DLLTOOL
    665 OBJDUMP
    666 LN_S
    667 NM
    668 ac_ct_DUMPBIN
    669 DUMPBIN
    670 LD
    671 FGREP
    672 LIBTOOL
    673 MAN_SUBSTS
    674 XORG_MAN_PAGE
    675 ADMIN_MAN_DIR
    676 DRIVER_MAN_DIR
    677 MISC_MAN_DIR
    678 FILE_MAN_DIR
    679 LIB_MAN_DIR
    680 APP_MAN_DIR
    681 ADMIN_MAN_SUFFIX
    682 DRIVER_MAN_SUFFIX
    683 MISC_MAN_SUFFIX
    684 FILE_MAN_SUFFIX
    685 LIB_MAN_SUFFIX
    686 APP_MAN_SUFFIX
    687 SED
    688 host_os
    689 host_vendor
    690 host_cpu
    691 host
    692 build_os
    693 build_vendor
    694 build_cpu
    695 build
    696 INSTALL_CMD
    697 PKG_CONFIG_LIBDIR
    698 PKG_CONFIG_PATH
    699 PKG_CONFIG
    700 CHANGELOG_CMD
    701 STRICT_CFLAGS
    702 CWARNFLAGS
    703 BASE_CFLAGS
    704 EGREP
    705 GREP
    706 CPP
    707 am__fastdepCC_FALSE
    708 am__fastdepCC_TRUE
    709 CCDEPMODE
    710 am__nodep
    711 AMDEPBACKSLASH
    712 AMDEP_FALSE
    713 AMDEP_TRUE
    714 am__quote
    715 am__include
    716 DEPDIR
    717 OBJEXT
    718 EXEEXT
    719 ac_ct_CC
    720 CPPFLAGS
    721 LDFLAGS
    722 CFLAGS
    723 CC
    724 AM_BACKSLASH
    725 AM_DEFAULT_VERBOSITY
    726 AM_DEFAULT_V
    727 AM_V
    728 am__untar
    729 am__tar
    730 AMTAR
    731 am__leading_dot
    732 SET_MAKE
    733 AWK
    734 mkdir_p
    735 MKDIR_P
    736 INSTALL_STRIP_PROGRAM
    737 STRIP
    738 install_sh
    739 MAKEINFO
    740 AUTOHEADER
    741 AUTOMAKE
    742 AUTOCONF
    743 ACLOCAL
    744 VERSION
    745 PACKAGE
    746 CYGPATH_W
    747 am__isrc
    748 INSTALL_DATA
    749 INSTALL_SCRIPT
    750 INSTALL_PROGRAM
    751 target_alias
    752 host_alias
    753 build_alias
    754 LIBS
    755 ECHO_T
    756 ECHO_N
    757 ECHO_C
    758 DEFS
    759 mandir
    760 localedir
    761 libdir
    762 psdir
    763 pdfdir
    764 dvidir
    765 htmldir
    766 infodir
    767 docdir
    768 oldincludedir
    769 includedir
    770 runstatedir
    771 localstatedir
    772 sharedstatedir
    773 sysconfdir
    774 datadir
    775 datarootdir
    776 libexecdir
    777 sbindir
    778 bindir
    779 program_transform_name
    780 prefix
    781 exec_prefix
    782 PACKAGE_URL
    783 PACKAGE_BUGREPORT
    784 PACKAGE_STRING
    785 PACKAGE_VERSION
    786 PACKAGE_TARNAME
    787 PACKAGE_NAME
    788 PATH_SEPARATOR
    789 SHELL'
    790 ac_subst_files=''
    791 ac_user_opts='
    792 enable_option_checking
    793 enable_silent_rules
    794 enable_dependency_tracking
    795 enable_selective_werror
    796 enable_strict_compilation
    797 enable_static
    798 enable_shared
    799 with_pic
    800 enable_fast_install
    801 with_aix_soname
    802 with_gnu_ld
    803 with_sysroot
    804 enable_libtool_lock
    805 with_xorg_module_dir
    806 enable_xaa
    807 '
    808       ac_precious_vars='build_alias
    809 host_alias
    810 target_alias
    811 CC
    812 CFLAGS
    813 LDFLAGS
    814 LIBS
    815 CPPFLAGS
    816 CPP
    817 PKG_CONFIG
    818 PKG_CONFIG_PATH
    819 PKG_CONFIG_LIBDIR
    820 LT_SYS_LIBRARY_PATH
    821 XORG_CFLAGS
    822 XORG_LIBS
    823 XEXT_CFLAGS
    824 XEXT_LIBS
    825 PCIACCESS_CFLAGS
    826 PCIACCESS_LIBS'
    827 
    828 
    829 # Initialize some variables set by options.
    830 ac_init_help=
    831 ac_init_version=false
    832 ac_unrecognized_opts=
    833 ac_unrecognized_sep=
    834 # The variables have the same names as the options, with
    835 # dashes changed to underlines.
    836 cache_file=/dev/null
    837 exec_prefix=NONE
    838 no_create=
    839 no_recursion=
    840 prefix=NONE
    841 program_prefix=NONE
    842 program_suffix=NONE
    843 program_transform_name=s,x,x,
    844 silent=
    845 site=
    846 srcdir=
    847 verbose=
    848 x_includes=NONE
    849 x_libraries=NONE
    850 
    851 # Installation directory options.
    852 # These are left unexpanded so users can "make install exec_prefix=/foo"
    853 # and all the variables that are supposed to be based on exec_prefix
    854 # by default will actually change.
    855 # Use braces instead of parens because sh, perl, etc. also accept them.
    856 # (The list follows the same order as the GNU Coding Standards.)
    857 bindir='${exec_prefix}/bin'
    858 sbindir='${exec_prefix}/sbin'
    859 libexecdir='${exec_prefix}/libexec'
    860 datarootdir='${prefix}/share'
    861 datadir='${datarootdir}'
    862 sysconfdir='${prefix}/etc'
    863 sharedstatedir='${prefix}/com'
    864 localstatedir='${prefix}/var'
    865 runstatedir='${localstatedir}/run'
    866 includedir='${prefix}/include'
    867 oldincludedir='/usr/include'
    868 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    869 infodir='${datarootdir}/info'
    870 htmldir='${docdir}'
    871 dvidir='${docdir}'
    872 pdfdir='${docdir}'
    873 psdir='${docdir}'
    874 libdir='${exec_prefix}/lib'
    875 localedir='${datarootdir}/locale'
    876 mandir='${datarootdir}/man'
    877 
    878 ac_prev=
    879 ac_dashdash=
    880 for ac_option
    881 do
    882   # If the previous option needs an argument, assign it.
    883   if test -n "$ac_prev"; then
    884     eval $ac_prev=\$ac_option
    885     ac_prev=
    886     continue
    887   fi
    888 
    889   case $ac_option in
    890   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    891   *=)   ac_optarg= ;;
    892   *)    ac_optarg=yes ;;
    893   esac
    894 
    895   # Accept the important Cygnus configure options, so we can diagnose typos.
    896 
    897   case $ac_dashdash$ac_option in
    898   --)
    899     ac_dashdash=yes ;;
    900 
    901   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    902     ac_prev=bindir ;;
    903   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    904     bindir=$ac_optarg ;;
    905 
    906   -build | --build | --buil | --bui | --bu)
    907     ac_prev=build_alias ;;
    908   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    909     build_alias=$ac_optarg ;;
    910 
    911   -cache-file | --cache-file | --cache-fil | --cache-fi \
    912   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    913     ac_prev=cache_file ;;
    914   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    915   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    916     cache_file=$ac_optarg ;;
    917 
    918   --config-cache | -C)
    919     cache_file=config.cache ;;
    920 
    921   -datadir | --datadir | --datadi | --datad)
    922     ac_prev=datadir ;;
    923   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    924     datadir=$ac_optarg ;;
    925 
    926   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    927   | --dataroo | --dataro | --datar)
    928     ac_prev=datarootdir ;;
    929   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    930   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    931     datarootdir=$ac_optarg ;;
    932 
    933   -disable-* | --disable-*)
    934     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    935     # Reject names that are not valid shell variable names.
    936     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    937       as_fn_error $? "invalid feature name: $ac_useropt"
    938     ac_useropt_orig=$ac_useropt
    939     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    940     case $ac_user_opts in
    941       *"
    942 "enable_$ac_useropt"
    943 "*) ;;
    944       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    945 	 ac_unrecognized_sep=', ';;
    946     esac
    947     eval enable_$ac_useropt=no ;;
    948 
    949   -docdir | --docdir | --docdi | --doc | --do)
    950     ac_prev=docdir ;;
    951   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    952     docdir=$ac_optarg ;;
    953 
    954   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    955     ac_prev=dvidir ;;
    956   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    957     dvidir=$ac_optarg ;;
    958 
    959   -enable-* | --enable-*)
    960     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    961     # Reject names that are not valid shell variable names.
    962     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    963       as_fn_error $? "invalid feature name: $ac_useropt"
    964     ac_useropt_orig=$ac_useropt
    965     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    966     case $ac_user_opts in
    967       *"
    968 "enable_$ac_useropt"
    969 "*) ;;
    970       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    971 	 ac_unrecognized_sep=', ';;
    972     esac
    973     eval enable_$ac_useropt=\$ac_optarg ;;
    974 
    975   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    976   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    977   | --exec | --exe | --ex)
    978     ac_prev=exec_prefix ;;
    979   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    980   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    981   | --exec=* | --exe=* | --ex=*)
    982     exec_prefix=$ac_optarg ;;
    983 
    984   -gas | --gas | --ga | --g)
    985     # Obsolete; use --with-gas.
    986     with_gas=yes ;;
    987 
    988   -help | --help | --hel | --he | -h)
    989     ac_init_help=long ;;
    990   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    991     ac_init_help=recursive ;;
    992   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    993     ac_init_help=short ;;
    994 
    995   -host | --host | --hos | --ho)
    996     ac_prev=host_alias ;;
    997   -host=* | --host=* | --hos=* | --ho=*)
    998     host_alias=$ac_optarg ;;
    999 
   1000   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1001     ac_prev=htmldir ;;
   1002   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1003   | --ht=*)
   1004     htmldir=$ac_optarg ;;
   1005 
   1006   -includedir | --includedir | --includedi | --included | --include \
   1007   | --includ | --inclu | --incl | --inc)
   1008     ac_prev=includedir ;;
   1009   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1010   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1011     includedir=$ac_optarg ;;
   1012 
   1013   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1014     ac_prev=infodir ;;
   1015   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1016     infodir=$ac_optarg ;;
   1017 
   1018   -libdir | --libdir | --libdi | --libd)
   1019     ac_prev=libdir ;;
   1020   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1021     libdir=$ac_optarg ;;
   1022 
   1023   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1024   | --libexe | --libex | --libe)
   1025     ac_prev=libexecdir ;;
   1026   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1027   | --libexe=* | --libex=* | --libe=*)
   1028     libexecdir=$ac_optarg ;;
   1029 
   1030   -localedir | --localedir | --localedi | --localed | --locale)
   1031     ac_prev=localedir ;;
   1032   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1033     localedir=$ac_optarg ;;
   1034 
   1035   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1036   | --localstate | --localstat | --localsta | --localst | --locals)
   1037     ac_prev=localstatedir ;;
   1038   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1039   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1040     localstatedir=$ac_optarg ;;
   1041 
   1042   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1043     ac_prev=mandir ;;
   1044   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1045     mandir=$ac_optarg ;;
   1046 
   1047   -nfp | --nfp | --nf)
   1048     # Obsolete; use --without-fp.
   1049     with_fp=no ;;
   1050 
   1051   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1052   | --no-cr | --no-c | -n)
   1053     no_create=yes ;;
   1054 
   1055   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1056   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1057     no_recursion=yes ;;
   1058 
   1059   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1060   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1061   | --oldin | --oldi | --old | --ol | --o)
   1062     ac_prev=oldincludedir ;;
   1063   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1064   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1065   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1066     oldincludedir=$ac_optarg ;;
   1067 
   1068   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1069     ac_prev=prefix ;;
   1070   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1071     prefix=$ac_optarg ;;
   1072 
   1073   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1074   | --program-pre | --program-pr | --program-p)
   1075     ac_prev=program_prefix ;;
   1076   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1077   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1078     program_prefix=$ac_optarg ;;
   1079 
   1080   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1081   | --program-suf | --program-su | --program-s)
   1082     ac_prev=program_suffix ;;
   1083   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1084   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1085     program_suffix=$ac_optarg ;;
   1086 
   1087   -program-transform-name | --program-transform-name \
   1088   | --program-transform-nam | --program-transform-na \
   1089   | --program-transform-n | --program-transform- \
   1090   | --program-transform | --program-transfor \
   1091   | --program-transfo | --program-transf \
   1092   | --program-trans | --program-tran \
   1093   | --progr-tra | --program-tr | --program-t)
   1094     ac_prev=program_transform_name ;;
   1095   -program-transform-name=* | --program-transform-name=* \
   1096   | --program-transform-nam=* | --program-transform-na=* \
   1097   | --program-transform-n=* | --program-transform-=* \
   1098   | --program-transform=* | --program-transfor=* \
   1099   | --program-transfo=* | --program-transf=* \
   1100   | --program-trans=* | --program-tran=* \
   1101   | --progr-tra=* | --program-tr=* | --program-t=*)
   1102     program_transform_name=$ac_optarg ;;
   1103 
   1104   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1105     ac_prev=pdfdir ;;
   1106   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1107     pdfdir=$ac_optarg ;;
   1108 
   1109   -psdir | --psdir | --psdi | --psd | --ps)
   1110     ac_prev=psdir ;;
   1111   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1112     psdir=$ac_optarg ;;
   1113 
   1114   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1115   | -silent | --silent | --silen | --sile | --sil)
   1116     silent=yes ;;
   1117 
   1118   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1119   | --runstate | --runstat | --runsta | --runst | --runs \
   1120   | --run | --ru | --r)
   1121     ac_prev=runstatedir ;;
   1122   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1123   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1124   | --run=* | --ru=* | --r=*)
   1125     runstatedir=$ac_optarg ;;
   1126 
   1127   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1128     ac_prev=sbindir ;;
   1129   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1130   | --sbi=* | --sb=*)
   1131     sbindir=$ac_optarg ;;
   1132 
   1133   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1134   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1135   | --sharedst | --shareds | --shared | --share | --shar \
   1136   | --sha | --sh)
   1137     ac_prev=sharedstatedir ;;
   1138   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1139   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1140   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1141   | --sha=* | --sh=*)
   1142     sharedstatedir=$ac_optarg ;;
   1143 
   1144   -site | --site | --sit)
   1145     ac_prev=site ;;
   1146   -site=* | --site=* | --sit=*)
   1147     site=$ac_optarg ;;
   1148 
   1149   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1150     ac_prev=srcdir ;;
   1151   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1152     srcdir=$ac_optarg ;;
   1153 
   1154   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1155   | --syscon | --sysco | --sysc | --sys | --sy)
   1156     ac_prev=sysconfdir ;;
   1157   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1158   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1159     sysconfdir=$ac_optarg ;;
   1160 
   1161   -target | --target | --targe | --targ | --tar | --ta | --t)
   1162     ac_prev=target_alias ;;
   1163   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1164     target_alias=$ac_optarg ;;
   1165 
   1166   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1167     verbose=yes ;;
   1168 
   1169   -version | --version | --versio | --versi | --vers | -V)
   1170     ac_init_version=: ;;
   1171 
   1172   -with-* | --with-*)
   1173     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1174     # Reject names that are not valid shell variable names.
   1175     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1176       as_fn_error $? "invalid package name: $ac_useropt"
   1177     ac_useropt_orig=$ac_useropt
   1178     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1179     case $ac_user_opts in
   1180       *"
   1181 "with_$ac_useropt"
   1182 "*) ;;
   1183       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1184 	 ac_unrecognized_sep=', ';;
   1185     esac
   1186     eval with_$ac_useropt=\$ac_optarg ;;
   1187 
   1188   -without-* | --without-*)
   1189     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1190     # Reject names that are not valid shell variable names.
   1191     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1192       as_fn_error $? "invalid package name: $ac_useropt"
   1193     ac_useropt_orig=$ac_useropt
   1194     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1195     case $ac_user_opts in
   1196       *"
   1197 "with_$ac_useropt"
   1198 "*) ;;
   1199       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1200 	 ac_unrecognized_sep=', ';;
   1201     esac
   1202     eval with_$ac_useropt=no ;;
   1203 
   1204   --x)
   1205     # Obsolete; use --with-x.
   1206     with_x=yes ;;
   1207 
   1208   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1209   | --x-incl | --x-inc | --x-in | --x-i)
   1210     ac_prev=x_includes ;;
   1211   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1212   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1213     x_includes=$ac_optarg ;;
   1214 
   1215   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1216   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1217     ac_prev=x_libraries ;;
   1218   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1219   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1220     x_libraries=$ac_optarg ;;
   1221 
   1222   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1223 Try \`$0 --help' for more information"
   1224     ;;
   1225 
   1226   *=*)
   1227     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1228     # Reject names that are not valid shell variable names.
   1229     case $ac_envvar in #(
   1230       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1231       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1232     esac
   1233     eval $ac_envvar=\$ac_optarg
   1234     export $ac_envvar ;;
   1235 
   1236   *)
   1237     # FIXME: should be removed in autoconf 3.0.
   1238     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1239     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1240       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1241     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1242     ;;
   1243 
   1244   esac
   1245 done
   1246 
   1247 if test -n "$ac_prev"; then
   1248   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1249   as_fn_error $? "missing argument to $ac_option"
   1250 fi
   1251 
   1252 if test -n "$ac_unrecognized_opts"; then
   1253   case $enable_option_checking in
   1254     no) ;;
   1255     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1256     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1257   esac
   1258 fi
   1259 
   1260 # Check all directory arguments for consistency.
   1261 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1262 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1263 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1264 		libdir localedir mandir runstatedir
   1265 do
   1266   eval ac_val=\$$ac_var
   1267   # Remove trailing slashes.
   1268   case $ac_val in
   1269     */ )
   1270       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1271       eval $ac_var=\$ac_val;;
   1272   esac
   1273   # Be sure to have absolute directory names.
   1274   case $ac_val in
   1275     [\\/$]* | ?:[\\/]* )  continue;;
   1276     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1277   esac
   1278   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1279 done
   1280 
   1281 # There might be people who depend on the old broken behavior: `$host'
   1282 # used to hold the argument of --host etc.
   1283 # FIXME: To remove some day.
   1284 build=$build_alias
   1285 host=$host_alias
   1286 target=$target_alias
   1287 
   1288 # FIXME: To remove some day.
   1289 if test "x$host_alias" != x; then
   1290   if test "x$build_alias" = x; then
   1291     cross_compiling=maybe
   1292   elif test "x$build_alias" != "x$host_alias"; then
   1293     cross_compiling=yes
   1294   fi
   1295 fi
   1296 
   1297 ac_tool_prefix=
   1298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1299 
   1300 test "$silent" = yes && exec 6>/dev/null
   1301 
   1302 
   1303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1304 ac_ls_di=`ls -di .` &&
   1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1306   as_fn_error $? "working directory cannot be determined"
   1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1308   as_fn_error $? "pwd does not report name of working directory"
   1309 
   1310 
   1311 # Find the source files, if location was not specified.
   1312 if test -z "$srcdir"; then
   1313   ac_srcdir_defaulted=yes
   1314   # Try the directory containing this script, then the parent directory.
   1315   ac_confdir=`$as_dirname -- "$as_myself" ||
   1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1317 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1318 	 X"$as_myself" : 'X\(//\)$' \| \
   1319 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1320 $as_echo X"$as_myself" |
   1321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1322 	    s//\1/
   1323 	    q
   1324 	  }
   1325 	  /^X\(\/\/\)[^/].*/{
   1326 	    s//\1/
   1327 	    q
   1328 	  }
   1329 	  /^X\(\/\/\)$/{
   1330 	    s//\1/
   1331 	    q
   1332 	  }
   1333 	  /^X\(\/\).*/{
   1334 	    s//\1/
   1335 	    q
   1336 	  }
   1337 	  s/.*/./; q'`
   1338   srcdir=$ac_confdir
   1339   if test ! -r "$srcdir/$ac_unique_file"; then
   1340     srcdir=..
   1341   fi
   1342 else
   1343   ac_srcdir_defaulted=no
   1344 fi
   1345 if test ! -r "$srcdir/$ac_unique_file"; then
   1346   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1347   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1348 fi
   1349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1350 ac_abs_confdir=`(
   1351 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1352 	pwd)`
   1353 # When building in place, set srcdir=.
   1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1355   srcdir=.
   1356 fi
   1357 # Remove unnecessary trailing slashes from srcdir.
   1358 # Double slashes in file names in object file debugging info
   1359 # mess up M-x gdb in Emacs.
   1360 case $srcdir in
   1361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1362 esac
   1363 for ac_var in $ac_precious_vars; do
   1364   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1365   eval ac_env_${ac_var}_value=\$${ac_var}
   1366   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1367   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1368 done
   1369 
   1370 #
   1371 # Report the --help message.
   1372 #
   1373 if test "$ac_init_help" = "long"; then
   1374   # Omit some internal or obsolete options to make the list less imposing.
   1375   # This message is too long to be a string in the A/UX 3.1 sh.
   1376   cat <<_ACEOF
   1377 \`configure' configures xf86-video-s3virge 1.11.0 to adapt to many kinds of systems.
   1378 
   1379 Usage: $0 [OPTION]... [VAR=VALUE]...
   1380 
   1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1382 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1383 
   1384 Defaults for the options are specified in brackets.
   1385 
   1386 Configuration:
   1387   -h, --help              display this help and exit
   1388       --help=short        display options specific to this package
   1389       --help=recursive    display the short help of all the included packages
   1390   -V, --version           display version information and exit
   1391   -q, --quiet, --silent   do not print \`checking ...' messages
   1392       --cache-file=FILE   cache test results in FILE [disabled]
   1393   -C, --config-cache      alias for \`--cache-file=config.cache'
   1394   -n, --no-create         do not create output files
   1395       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1396 
   1397 Installation directories:
   1398   --prefix=PREFIX         install architecture-independent files in PREFIX
   1399                           [$ac_default_prefix]
   1400   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1401                           [PREFIX]
   1402 
   1403 By default, \`make install' will install all the files in
   1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1406 for instance \`--prefix=\$HOME'.
   1407 
   1408 For better control, use the options below.
   1409 
   1410 Fine tuning of the installation directories:
   1411   --bindir=DIR            user executables [EPREFIX/bin]
   1412   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1413   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1414   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1415   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1416   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1417   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1418   --libdir=DIR            object code libraries [EPREFIX/lib]
   1419   --includedir=DIR        C header files [PREFIX/include]
   1420   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1421   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1422   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1423   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1424   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1425   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1426   --docdir=DIR            documentation root
   1427                           [DATAROOTDIR/doc/xf86-video-s3virge]
   1428   --htmldir=DIR           html documentation [DOCDIR]
   1429   --dvidir=DIR            dvi documentation [DOCDIR]
   1430   --pdfdir=DIR            pdf documentation [DOCDIR]
   1431   --psdir=DIR             ps documentation [DOCDIR]
   1432 _ACEOF
   1433 
   1434   cat <<\_ACEOF
   1435 
   1436 Program names:
   1437   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1438   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1439   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1440 
   1441 System types:
   1442   --build=BUILD     configure for building on BUILD [guessed]
   1443   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1444 _ACEOF
   1445 fi
   1446 
   1447 if test -n "$ac_init_help"; then
   1448   case $ac_init_help in
   1449      short | recursive ) echo "Configuration of xf86-video-s3virge 1.11.0:";;
   1450    esac
   1451   cat <<\_ACEOF
   1452 
   1453 Optional Features:
   1454   --disable-option-checking  ignore unrecognized --enable/--with options
   1455   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1456   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1457   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1458   --disable-silent-rules  verbose build output (undo: "make V=0")
   1459   --enable-dependency-tracking
   1460                           do not reject slow dependency extractors
   1461   --disable-dependency-tracking
   1462                           speeds up one-time build
   1463   --disable-selective-werror
   1464                           Turn off selective compiler errors. (default:
   1465                           enabled)
   1466   --enable-strict-compilation
   1467                           Enable all warnings from compiler and make them
   1468                           errors (default: disabled)
   1469   --enable-static[=PKGS]  build static libraries [default=no]
   1470   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1471   --enable-fast-install[=PKGS]
   1472                           optimize for fast installation [default=yes]
   1473   --disable-libtool-lock  avoid locking (might break parallel builds)
   1474   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1475                           [default=auto]
   1476 
   1477 Optional Packages:
   1478   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1479   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1480   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1481                           both]
   1482   --with-aix-soname=aix|svr4|both
   1483                           shared library versioning (aka "SONAME") variant to
   1484                           provide on AIX, [default=aix].
   1485   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1486   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1487                           compiler's sysroot if not specified).
   1488   --with-xorg-module-dir=DIR
   1489                           Default xorg module directory
   1490                           [[default=$libdir/xorg/modules]]
   1491 
   1492 Some influential environment variables:
   1493   CC          C compiler command
   1494   CFLAGS      C compiler flags
   1495   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1496               nonstandard directory <lib dir>
   1497   LIBS        libraries to pass to the linker, e.g. -l<library>
   1498   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1499               you have headers in a nonstandard directory <include dir>
   1500   CPP         C preprocessor
   1501   PKG_CONFIG  path to pkg-config utility
   1502   PKG_CONFIG_PATH
   1503               directories to add to pkg-config's search path
   1504   PKG_CONFIG_LIBDIR
   1505               path overriding pkg-config's built-in search path
   1506   LT_SYS_LIBRARY_PATH
   1507               User-defined run-time library search path.
   1508   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1509   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1510   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1511   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1512   PCIACCESS_CFLAGS
   1513               C compiler flags for PCIACCESS, overriding pkg-config
   1514   PCIACCESS_LIBS
   1515               linker flags for PCIACCESS, overriding pkg-config
   1516 
   1517 Use these variables to override the choices made by `configure' or to help
   1518 it to find libraries and programs with nonstandard names/locations.
   1519 
   1520 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-s3virge/issues>.
   1521 _ACEOF
   1522 ac_status=$?
   1523 fi
   1524 
   1525 if test "$ac_init_help" = "recursive"; then
   1526   # If there are subdirs, report their specific --help.
   1527   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1528     test -d "$ac_dir" ||
   1529       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1530       continue
   1531     ac_builddir=.
   1532 
   1533 case "$ac_dir" in
   1534 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1535 *)
   1536   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1537   # A ".." for each directory in $ac_dir_suffix.
   1538   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1539   case $ac_top_builddir_sub in
   1540   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1541   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1542   esac ;;
   1543 esac
   1544 ac_abs_top_builddir=$ac_pwd
   1545 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1546 # for backward compatibility:
   1547 ac_top_builddir=$ac_top_build_prefix
   1548 
   1549 case $srcdir in
   1550   .)  # We are building in place.
   1551     ac_srcdir=.
   1552     ac_top_srcdir=$ac_top_builddir_sub
   1553     ac_abs_top_srcdir=$ac_pwd ;;
   1554   [\\/]* | ?:[\\/]* )  # Absolute name.
   1555     ac_srcdir=$srcdir$ac_dir_suffix;
   1556     ac_top_srcdir=$srcdir
   1557     ac_abs_top_srcdir=$srcdir ;;
   1558   *) # Relative name.
   1559     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1560     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1561     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1562 esac
   1563 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1564 
   1565     cd "$ac_dir" || { ac_status=$?; continue; }
   1566     # Check for guested configure.
   1567     if test -f "$ac_srcdir/configure.gnu"; then
   1568       echo &&
   1569       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1570     elif test -f "$ac_srcdir/configure"; then
   1571       echo &&
   1572       $SHELL "$ac_srcdir/configure" --help=recursive
   1573     else
   1574       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1575     fi || ac_status=$?
   1576     cd "$ac_pwd" || { ac_status=$?; break; }
   1577   done
   1578 fi
   1579 
   1580 test -n "$ac_init_help" && exit $ac_status
   1581 if $ac_init_version; then
   1582   cat <<\_ACEOF
   1583 xf86-video-s3virge configure 1.11.0
   1584 generated by GNU Autoconf 2.69
   1585 
   1586 Copyright (C) 2012 Free Software Foundation, Inc.
   1587 This configure script is free software; the Free Software Foundation
   1588 gives unlimited permission to copy, distribute and modify it.
   1589 _ACEOF
   1590   exit
   1591 fi
   1592 
   1593 ## ------------------------ ##
   1594 ## Autoconf initialization. ##
   1595 ## ------------------------ ##
   1596 
   1597 # ac_fn_c_try_compile LINENO
   1598 # --------------------------
   1599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1600 ac_fn_c_try_compile ()
   1601 {
   1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1603   rm -f conftest.$ac_objext
   1604   if { { ac_try="$ac_compile"
   1605 case "(($ac_try" in
   1606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1607   *) ac_try_echo=$ac_try;;
   1608 esac
   1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1610 $as_echo "$ac_try_echo"; } >&5
   1611   (eval "$ac_compile") 2>conftest.err
   1612   ac_status=$?
   1613   if test -s conftest.err; then
   1614     grep -v '^ *+' conftest.err >conftest.er1
   1615     cat conftest.er1 >&5
   1616     mv -f conftest.er1 conftest.err
   1617   fi
   1618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1619   test $ac_status = 0; } && {
   1620 	 test -z "$ac_c_werror_flag" ||
   1621 	 test ! -s conftest.err
   1622        } && test -s conftest.$ac_objext; then :
   1623   ac_retval=0
   1624 else
   1625   $as_echo "$as_me: failed program was:" >&5
   1626 sed 's/^/| /' conftest.$ac_ext >&5
   1627 
   1628 	ac_retval=1
   1629 fi
   1630   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1631   as_fn_set_status $ac_retval
   1632 
   1633 } # ac_fn_c_try_compile
   1634 
   1635 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1636 # ---------------------------------------------
   1637 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1638 # accordingly.
   1639 ac_fn_c_check_decl ()
   1640 {
   1641   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1642   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1643   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1645 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1646 if eval \${$3+:} false; then :
   1647   $as_echo_n "(cached) " >&6
   1648 else
   1649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1650 /* end confdefs.h.  */
   1651 $4
   1652 int
   1653 main ()
   1654 {
   1655 #ifndef $as_decl_name
   1656 #ifdef __cplusplus
   1657   (void) $as_decl_use;
   1658 #else
   1659   (void) $as_decl_name;
   1660 #endif
   1661 #endif
   1662 
   1663   ;
   1664   return 0;
   1665 }
   1666 _ACEOF
   1667 if ac_fn_c_try_compile "$LINENO"; then :
   1668   eval "$3=yes"
   1669 else
   1670   eval "$3=no"
   1671 fi
   1672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1673 fi
   1674 eval ac_res=\$$3
   1675 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1676 $as_echo "$ac_res" >&6; }
   1677   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1678 
   1679 } # ac_fn_c_check_decl
   1680 
   1681 # ac_fn_c_try_cpp LINENO
   1682 # ----------------------
   1683 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1684 ac_fn_c_try_cpp ()
   1685 {
   1686   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1687   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1688 case "(($ac_try" in
   1689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1690   *) ac_try_echo=$ac_try;;
   1691 esac
   1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1693 $as_echo "$ac_try_echo"; } >&5
   1694   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1695   ac_status=$?
   1696   if test -s conftest.err; then
   1697     grep -v '^ *+' conftest.err >conftest.er1
   1698     cat conftest.er1 >&5
   1699     mv -f conftest.er1 conftest.err
   1700   fi
   1701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1702   test $ac_status = 0; } > conftest.i && {
   1703 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1704 	 test ! -s conftest.err
   1705        }; then :
   1706   ac_retval=0
   1707 else
   1708   $as_echo "$as_me: failed program was:" >&5
   1709 sed 's/^/| /' conftest.$ac_ext >&5
   1710 
   1711     ac_retval=1
   1712 fi
   1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1714   as_fn_set_status $ac_retval
   1715 
   1716 } # ac_fn_c_try_cpp
   1717 
   1718 # ac_fn_c_try_run LINENO
   1719 # ----------------------
   1720 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1721 # that executables *can* be run.
   1722 ac_fn_c_try_run ()
   1723 {
   1724   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1725   if { { ac_try="$ac_link"
   1726 case "(($ac_try" in
   1727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1728   *) ac_try_echo=$ac_try;;
   1729 esac
   1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1731 $as_echo "$ac_try_echo"; } >&5
   1732   (eval "$ac_link") 2>&5
   1733   ac_status=$?
   1734   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1735   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1736   { { case "(($ac_try" in
   1737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1738   *) ac_try_echo=$ac_try;;
   1739 esac
   1740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1741 $as_echo "$ac_try_echo"; } >&5
   1742   (eval "$ac_try") 2>&5
   1743   ac_status=$?
   1744   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1745   test $ac_status = 0; }; }; then :
   1746   ac_retval=0
   1747 else
   1748   $as_echo "$as_me: program exited with status $ac_status" >&5
   1749        $as_echo "$as_me: failed program was:" >&5
   1750 sed 's/^/| /' conftest.$ac_ext >&5
   1751 
   1752        ac_retval=$ac_status
   1753 fi
   1754   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1755   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1756   as_fn_set_status $ac_retval
   1757 
   1758 } # ac_fn_c_try_run
   1759 
   1760 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1761 # -------------------------------------------------------
   1762 # Tests whether HEADER exists and can be compiled using the include files in
   1763 # INCLUDES, setting the cache variable VAR accordingly.
   1764 ac_fn_c_check_header_compile ()
   1765 {
   1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1768 $as_echo_n "checking for $2... " >&6; }
   1769 if eval \${$3+:} false; then :
   1770   $as_echo_n "(cached) " >&6
   1771 else
   1772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1773 /* end confdefs.h.  */
   1774 $4
   1775 #include <$2>
   1776 _ACEOF
   1777 if ac_fn_c_try_compile "$LINENO"; then :
   1778   eval "$3=yes"
   1779 else
   1780   eval "$3=no"
   1781 fi
   1782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1783 fi
   1784 eval ac_res=\$$3
   1785 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1786 $as_echo "$ac_res" >&6; }
   1787   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1788 
   1789 } # ac_fn_c_check_header_compile
   1790 
   1791 # ac_fn_c_try_link LINENO
   1792 # -----------------------
   1793 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1794 ac_fn_c_try_link ()
   1795 {
   1796   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1797   rm -f conftest.$ac_objext conftest$ac_exeext
   1798   if { { ac_try="$ac_link"
   1799 case "(($ac_try" in
   1800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1801   *) ac_try_echo=$ac_try;;
   1802 esac
   1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1804 $as_echo "$ac_try_echo"; } >&5
   1805   (eval "$ac_link") 2>conftest.err
   1806   ac_status=$?
   1807   if test -s conftest.err; then
   1808     grep -v '^ *+' conftest.err >conftest.er1
   1809     cat conftest.er1 >&5
   1810     mv -f conftest.er1 conftest.err
   1811   fi
   1812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1813   test $ac_status = 0; } && {
   1814 	 test -z "$ac_c_werror_flag" ||
   1815 	 test ! -s conftest.err
   1816        } && test -s conftest$ac_exeext && {
   1817 	 test "$cross_compiling" = yes ||
   1818 	 test -x conftest$ac_exeext
   1819        }; then :
   1820   ac_retval=0
   1821 else
   1822   $as_echo "$as_me: failed program was:" >&5
   1823 sed 's/^/| /' conftest.$ac_ext >&5
   1824 
   1825 	ac_retval=1
   1826 fi
   1827   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1828   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1829   # interfere with the next link command; also delete a directory that is
   1830   # left behind by Apple's compiler.  We do this before executing the actions.
   1831   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1832   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1833   as_fn_set_status $ac_retval
   1834 
   1835 } # ac_fn_c_try_link
   1836 
   1837 # ac_fn_c_check_func LINENO FUNC VAR
   1838 # ----------------------------------
   1839 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1840 ac_fn_c_check_func ()
   1841 {
   1842   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1844 $as_echo_n "checking for $2... " >&6; }
   1845 if eval \${$3+:} false; then :
   1846   $as_echo_n "(cached) " >&6
   1847 else
   1848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1849 /* end confdefs.h.  */
   1850 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1851    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1852 #define $2 innocuous_$2
   1853 
   1854 /* System header to define __stub macros and hopefully few prototypes,
   1855     which can conflict with char $2 (); below.
   1856     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1857     <limits.h> exists even on freestanding compilers.  */
   1858 
   1859 #ifdef __STDC__
   1860 # include <limits.h>
   1861 #else
   1862 # include <assert.h>
   1863 #endif
   1864 
   1865 #undef $2
   1866 
   1867 /* Override any GCC internal prototype to avoid an error.
   1868    Use char because int might match the return type of a GCC
   1869    builtin and then its argument prototype would still apply.  */
   1870 #ifdef __cplusplus
   1871 extern "C"
   1872 #endif
   1873 char $2 ();
   1874 /* The GNU C library defines this for functions which it implements
   1875     to always fail with ENOSYS.  Some functions are actually named
   1876     something starting with __ and the normal name is an alias.  */
   1877 #if defined __stub_$2 || defined __stub___$2
   1878 choke me
   1879 #endif
   1880 
   1881 int
   1882 main ()
   1883 {
   1884 return $2 ();
   1885   ;
   1886   return 0;
   1887 }
   1888 _ACEOF
   1889 if ac_fn_c_try_link "$LINENO"; then :
   1890   eval "$3=yes"
   1891 else
   1892   eval "$3=no"
   1893 fi
   1894 rm -f core conftest.err conftest.$ac_objext \
   1895     conftest$ac_exeext conftest.$ac_ext
   1896 fi
   1897 eval ac_res=\$$3
   1898 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1899 $as_echo "$ac_res" >&6; }
   1900   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1901 
   1902 } # ac_fn_c_check_func
   1903 
   1904 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1905 # -------------------------------------------------------
   1906 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1907 # the include files in INCLUDES and setting the cache variable VAR
   1908 # accordingly.
   1909 ac_fn_c_check_header_mongrel ()
   1910 {
   1911   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1912   if eval \${$3+:} false; then :
   1913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1914 $as_echo_n "checking for $2... " >&6; }
   1915 if eval \${$3+:} false; then :
   1916   $as_echo_n "(cached) " >&6
   1917 fi
   1918 eval ac_res=\$$3
   1919 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1920 $as_echo "$ac_res" >&6; }
   1921 else
   1922   # Is the header compilable?
   1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1924 $as_echo_n "checking $2 usability... " >&6; }
   1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1926 /* end confdefs.h.  */
   1927 $4
   1928 #include <$2>
   1929 _ACEOF
   1930 if ac_fn_c_try_compile "$LINENO"; then :
   1931   ac_header_compiler=yes
   1932 else
   1933   ac_header_compiler=no
   1934 fi
   1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1937 $as_echo "$ac_header_compiler" >&6; }
   1938 
   1939 # Is the header present?
   1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1941 $as_echo_n "checking $2 presence... " >&6; }
   1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1943 /* end confdefs.h.  */
   1944 #include <$2>
   1945 _ACEOF
   1946 if ac_fn_c_try_cpp "$LINENO"; then :
   1947   ac_header_preproc=yes
   1948 else
   1949   ac_header_preproc=no
   1950 fi
   1951 rm -f conftest.err conftest.i conftest.$ac_ext
   1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1953 $as_echo "$ac_header_preproc" >&6; }
   1954 
   1955 # So?  What about this header?
   1956 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1957   yes:no: )
   1958     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1959 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1960     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1961 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1962     ;;
   1963   no:yes:* )
   1964     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1965 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1966     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1967 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1968     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1969 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1970     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1971 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1972     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1973 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1974 ( $as_echo "## ----------------------------------------------------------------------------------- ##
   1975 ## Report this to https://gitlab.freedesktop.org/xorg/driver/xf86-video-s3virge/issues ##
   1976 ## ----------------------------------------------------------------------------------- ##"
   1977      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1978     ;;
   1979 esac
   1980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1981 $as_echo_n "checking for $2... " >&6; }
   1982 if eval \${$3+:} false; then :
   1983   $as_echo_n "(cached) " >&6
   1984 else
   1985   eval "$3=\$ac_header_compiler"
   1986 fi
   1987 eval ac_res=\$$3
   1988 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1989 $as_echo "$ac_res" >&6; }
   1990 fi
   1991   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1992 
   1993 } # ac_fn_c_check_header_mongrel
   1994 cat >config.log <<_ACEOF
   1995 This file contains any messages produced by compilers while
   1996 running configure, to aid debugging if configure makes a mistake.
   1997 
   1998 It was created by xf86-video-s3virge $as_me 1.11.0, which was
   1999 generated by GNU Autoconf 2.69.  Invocation command line was
   2000 
   2001   $ $0 $@
   2002 
   2003 _ACEOF
   2004 exec 5>>config.log
   2005 {
   2006 cat <<_ASUNAME
   2007 ## --------- ##
   2008 ## Platform. ##
   2009 ## --------- ##
   2010 
   2011 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2012 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2013 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2014 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2015 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2016 
   2017 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2018 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2019 
   2020 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2021 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2022 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2023 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2024 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2025 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2026 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2027 
   2028 _ASUNAME
   2029 
   2030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2031 for as_dir in $PATH
   2032 do
   2033   IFS=$as_save_IFS
   2034   test -z "$as_dir" && as_dir=.
   2035     $as_echo "PATH: $as_dir"
   2036   done
   2037 IFS=$as_save_IFS
   2038 
   2039 } >&5
   2040 
   2041 cat >&5 <<_ACEOF
   2042 
   2043 
   2044 ## ----------- ##
   2045 ## Core tests. ##
   2046 ## ----------- ##
   2047 
   2048 _ACEOF
   2049 
   2050 
   2051 # Keep a trace of the command line.
   2052 # Strip out --no-create and --no-recursion so they do not pile up.
   2053 # Strip out --silent because we don't want to record it for future runs.
   2054 # Also quote any args containing shell meta-characters.
   2055 # Make two passes to allow for proper duplicate-argument suppression.
   2056 ac_configure_args=
   2057 ac_configure_args0=
   2058 ac_configure_args1=
   2059 ac_must_keep_next=false
   2060 for ac_pass in 1 2
   2061 do
   2062   for ac_arg
   2063   do
   2064     case $ac_arg in
   2065     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2066     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2067     | -silent | --silent | --silen | --sile | --sil)
   2068       continue ;;
   2069     *\'*)
   2070       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2071     esac
   2072     case $ac_pass in
   2073     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2074     2)
   2075       as_fn_append ac_configure_args1 " '$ac_arg'"
   2076       if test $ac_must_keep_next = true; then
   2077 	ac_must_keep_next=false # Got value, back to normal.
   2078       else
   2079 	case $ac_arg in
   2080 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2081 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2082 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2083 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2084 	    case "$ac_configure_args0 " in
   2085 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2086 	    esac
   2087 	    ;;
   2088 	  -* ) ac_must_keep_next=true ;;
   2089 	esac
   2090       fi
   2091       as_fn_append ac_configure_args " '$ac_arg'"
   2092       ;;
   2093     esac
   2094   done
   2095 done
   2096 { ac_configure_args0=; unset ac_configure_args0;}
   2097 { ac_configure_args1=; unset ac_configure_args1;}
   2098 
   2099 # When interrupted or exit'd, cleanup temporary files, and complete
   2100 # config.log.  We remove comments because anyway the quotes in there
   2101 # would cause problems or look ugly.
   2102 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2103 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2104 trap 'exit_status=$?
   2105   # Save into config.log some information that might help in debugging.
   2106   {
   2107     echo
   2108 
   2109     $as_echo "## ---------------- ##
   2110 ## Cache variables. ##
   2111 ## ---------------- ##"
   2112     echo
   2113     # The following way of writing the cache mishandles newlines in values,
   2114 (
   2115   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2116     eval ac_val=\$$ac_var
   2117     case $ac_val in #(
   2118     *${as_nl}*)
   2119       case $ac_var in #(
   2120       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2121 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2122       esac
   2123       case $ac_var in #(
   2124       _ | IFS | as_nl) ;; #(
   2125       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2126       *) { eval $ac_var=; unset $ac_var;} ;;
   2127       esac ;;
   2128     esac
   2129   done
   2130   (set) 2>&1 |
   2131     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2132     *${as_nl}ac_space=\ *)
   2133       sed -n \
   2134 	"s/'\''/'\''\\\\'\'''\''/g;
   2135 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2136       ;; #(
   2137     *)
   2138       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2139       ;;
   2140     esac |
   2141     sort
   2142 )
   2143     echo
   2144 
   2145     $as_echo "## ----------------- ##
   2146 ## Output variables. ##
   2147 ## ----------------- ##"
   2148     echo
   2149     for ac_var in $ac_subst_vars
   2150     do
   2151       eval ac_val=\$$ac_var
   2152       case $ac_val in
   2153       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2154       esac
   2155       $as_echo "$ac_var='\''$ac_val'\''"
   2156     done | sort
   2157     echo
   2158 
   2159     if test -n "$ac_subst_files"; then
   2160       $as_echo "## ------------------- ##
   2161 ## File substitutions. ##
   2162 ## ------------------- ##"
   2163       echo
   2164       for ac_var in $ac_subst_files
   2165       do
   2166 	eval ac_val=\$$ac_var
   2167 	case $ac_val in
   2168 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2169 	esac
   2170 	$as_echo "$ac_var='\''$ac_val'\''"
   2171       done | sort
   2172       echo
   2173     fi
   2174 
   2175     if test -s confdefs.h; then
   2176       $as_echo "## ----------- ##
   2177 ## confdefs.h. ##
   2178 ## ----------- ##"
   2179       echo
   2180       cat confdefs.h
   2181       echo
   2182     fi
   2183     test "$ac_signal" != 0 &&
   2184       $as_echo "$as_me: caught signal $ac_signal"
   2185     $as_echo "$as_me: exit $exit_status"
   2186   } >&5
   2187   rm -f core *.core core.conftest.* &&
   2188     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2189     exit $exit_status
   2190 ' 0
   2191 for ac_signal in 1 2 13 15; do
   2192   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2193 done
   2194 ac_signal=0
   2195 
   2196 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2197 rm -f -r conftest* confdefs.h
   2198 
   2199 $as_echo "/* confdefs.h */" > confdefs.h
   2200 
   2201 # Predefined preprocessor variables.
   2202 
   2203 cat >>confdefs.h <<_ACEOF
   2204 #define PACKAGE_NAME "$PACKAGE_NAME"
   2205 _ACEOF
   2206 
   2207 cat >>confdefs.h <<_ACEOF
   2208 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2209 _ACEOF
   2210 
   2211 cat >>confdefs.h <<_ACEOF
   2212 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2213 _ACEOF
   2214 
   2215 cat >>confdefs.h <<_ACEOF
   2216 #define PACKAGE_STRING "$PACKAGE_STRING"
   2217 _ACEOF
   2218 
   2219 cat >>confdefs.h <<_ACEOF
   2220 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2221 _ACEOF
   2222 
   2223 cat >>confdefs.h <<_ACEOF
   2224 #define PACKAGE_URL "$PACKAGE_URL"
   2225 _ACEOF
   2226 
   2227 
   2228 # Let the site file select an alternate cache file if it wants to.
   2229 # Prefer an explicitly selected file to automatically selected ones.
   2230 ac_site_file1=NONE
   2231 ac_site_file2=NONE
   2232 if test -n "$CONFIG_SITE"; then
   2233   # We do not want a PATH search for config.site.
   2234   case $CONFIG_SITE in #((
   2235     -*)  ac_site_file1=./$CONFIG_SITE;;
   2236     */*) ac_site_file1=$CONFIG_SITE;;
   2237     *)   ac_site_file1=./$CONFIG_SITE;;
   2238   esac
   2239 elif test "x$prefix" != xNONE; then
   2240   ac_site_file1=$prefix/share/config.site
   2241   ac_site_file2=$prefix/etc/config.site
   2242 else
   2243   ac_site_file1=$ac_default_prefix/share/config.site
   2244   ac_site_file2=$ac_default_prefix/etc/config.site
   2245 fi
   2246 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2247 do
   2248   test "x$ac_site_file" = xNONE && continue
   2249   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2250     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2251 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2252     sed 's/^/| /' "$ac_site_file" >&5
   2253     . "$ac_site_file" \
   2254       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2256 as_fn_error $? "failed to load site script $ac_site_file
   2257 See \`config.log' for more details" "$LINENO" 5; }
   2258   fi
   2259 done
   2260 
   2261 if test -r "$cache_file"; then
   2262   # Some versions of bash will fail to source /dev/null (special files
   2263   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2264   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2265     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2266 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2267     case $cache_file in
   2268       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2269       *)                      . "./$cache_file";;
   2270     esac
   2271   fi
   2272 else
   2273   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2274 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2275   >$cache_file
   2276 fi
   2277 
   2278 # Check that the precious variables saved in the cache have kept the same
   2279 # value.
   2280 ac_cache_corrupted=false
   2281 for ac_var in $ac_precious_vars; do
   2282   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2283   eval ac_new_set=\$ac_env_${ac_var}_set
   2284   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2285   eval ac_new_val=\$ac_env_${ac_var}_value
   2286   case $ac_old_set,$ac_new_set in
   2287     set,)
   2288       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2289 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2290       ac_cache_corrupted=: ;;
   2291     ,set)
   2292       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2293 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2294       ac_cache_corrupted=: ;;
   2295     ,);;
   2296     *)
   2297       if test "x$ac_old_val" != "x$ac_new_val"; then
   2298 	# differences in whitespace do not lead to failure.
   2299 	ac_old_val_w=`echo x $ac_old_val`
   2300 	ac_new_val_w=`echo x $ac_new_val`
   2301 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2302 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2303 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2304 	  ac_cache_corrupted=:
   2305 	else
   2306 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2307 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2308 	  eval $ac_var=\$ac_old_val
   2309 	fi
   2310 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2311 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2312 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2313 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2314       fi;;
   2315   esac
   2316   # Pass precious variables to config.status.
   2317   if test "$ac_new_set" = set; then
   2318     case $ac_new_val in
   2319     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2320     *) ac_arg=$ac_var=$ac_new_val ;;
   2321     esac
   2322     case " $ac_configure_args " in
   2323       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2324       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2325     esac
   2326   fi
   2327 done
   2328 if $ac_cache_corrupted; then
   2329   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2331   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2332 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2333   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2334 fi
   2335 ## -------------------- ##
   2336 ## Main body of script. ##
   2337 ## -------------------- ##
   2338 
   2339 ac_ext=c
   2340 ac_cpp='$CPP $CPPFLAGS'
   2341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2344 
   2345 
   2346 
   2347 ac_config_headers="$ac_config_headers config.h"
   2348 
   2349 ac_aux_dir=
   2350 for ac_dir in . "$srcdir"/.; do
   2351   if test -f "$ac_dir/install-sh"; then
   2352     ac_aux_dir=$ac_dir
   2353     ac_install_sh="$ac_aux_dir/install-sh -c"
   2354     break
   2355   elif test -f "$ac_dir/install.sh"; then
   2356     ac_aux_dir=$ac_dir
   2357     ac_install_sh="$ac_aux_dir/install.sh -c"
   2358     break
   2359   elif test -f "$ac_dir/shtool"; then
   2360     ac_aux_dir=$ac_dir
   2361     ac_install_sh="$ac_aux_dir/shtool install -c"
   2362     break
   2363   fi
   2364 done
   2365 if test -z "$ac_aux_dir"; then
   2366   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2367 fi
   2368 
   2369 # These three variables are undocumented and unsupported,
   2370 # and are intended to be withdrawn in a future Autoconf release.
   2371 # They can cause serious problems if a builder's source tree is in a directory
   2372 # whose full name contains unusual characters.
   2373 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2374 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2375 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2376 
   2377 
   2378 
   2379 # Initialize Automake
   2380 am__api_version='1.15'
   2381 
   2382 # Find a good install program.  We prefer a C program (faster),
   2383 # so one script is as good as another.  But avoid the broken or
   2384 # incompatible versions:
   2385 # SysV /etc/install, /usr/sbin/install
   2386 # SunOS /usr/etc/install
   2387 # IRIX /sbin/install
   2388 # AIX /bin/install
   2389 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2393 # OS/2's system install, which has a completely different semantic
   2394 # ./install, which can be erroneously created by make from ./install.sh.
   2395 # Reject install programs that cannot install multiple files.
   2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2397 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2398 if test -z "$INSTALL"; then
   2399 if ${ac_cv_path_install+:} false; then :
   2400   $as_echo_n "(cached) " >&6
   2401 else
   2402   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2403 for as_dir in $PATH
   2404 do
   2405   IFS=$as_save_IFS
   2406   test -z "$as_dir" && as_dir=.
   2407     # Account for people who put trailing slashes in PATH elements.
   2408 case $as_dir/ in #((
   2409   ./ | .// | /[cC]/* | \
   2410   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2411   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2412   /usr/ucb/* ) ;;
   2413   *)
   2414     # OSF1 and SCO ODT 3.0 have their own names for install.
   2415     # Don't use installbsd from OSF since it installs stuff as root
   2416     # by default.
   2417     for ac_prog in ginstall scoinst install; do
   2418       for ac_exec_ext in '' $ac_executable_extensions; do
   2419 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2420 	  if test $ac_prog = install &&
   2421 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2422 	    # AIX install.  It has an incompatible calling convention.
   2423 	    :
   2424 	  elif test $ac_prog = install &&
   2425 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2426 	    # program-specific install script used by HP pwplus--don't use.
   2427 	    :
   2428 	  else
   2429 	    rm -rf conftest.one conftest.two conftest.dir
   2430 	    echo one > conftest.one
   2431 	    echo two > conftest.two
   2432 	    mkdir conftest.dir
   2433 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2434 	      test -s conftest.one && test -s conftest.two &&
   2435 	      test -s conftest.dir/conftest.one &&
   2436 	      test -s conftest.dir/conftest.two
   2437 	    then
   2438 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2439 	      break 3
   2440 	    fi
   2441 	  fi
   2442 	fi
   2443       done
   2444     done
   2445     ;;
   2446 esac
   2447 
   2448   done
   2449 IFS=$as_save_IFS
   2450 
   2451 rm -rf conftest.one conftest.two conftest.dir
   2452 
   2453 fi
   2454   if test "${ac_cv_path_install+set}" = set; then
   2455     INSTALL=$ac_cv_path_install
   2456   else
   2457     # As a last resort, use the slow shell script.  Don't cache a
   2458     # value for INSTALL within a source directory, because that will
   2459     # break other packages using the cache if that directory is
   2460     # removed, or if the value is a relative name.
   2461     INSTALL=$ac_install_sh
   2462   fi
   2463 fi
   2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2465 $as_echo "$INSTALL" >&6; }
   2466 
   2467 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2468 # It thinks the first close brace ends the variable substitution.
   2469 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2470 
   2471 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2472 
   2473 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2474 
   2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2476 $as_echo_n "checking whether build environment is sane... " >&6; }
   2477 # Reject unsafe characters in $srcdir or the absolute working directory
   2478 # name.  Accept space and tab only in the latter.
   2479 am_lf='
   2480 '
   2481 case `pwd` in
   2482   *[\\\"\#\$\&\'\`$am_lf]*)
   2483     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2484 esac
   2485 case $srcdir in
   2486   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2487     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2488 esac
   2489 
   2490 # Do 'set' in a subshell so we don't clobber the current shell's
   2491 # arguments.  Must try -L first in case configure is actually a
   2492 # symlink; some systems play weird games with the mod time of symlinks
   2493 # (eg FreeBSD returns the mod time of the symlink's containing
   2494 # directory).
   2495 if (
   2496    am_has_slept=no
   2497    for am_try in 1 2; do
   2498      echo "timestamp, slept: $am_has_slept" > conftest.file
   2499      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2500      if test "$*" = "X"; then
   2501 	# -L didn't work.
   2502 	set X `ls -t "$srcdir/configure" conftest.file`
   2503      fi
   2504      if test "$*" != "X $srcdir/configure conftest.file" \
   2505 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2506 
   2507 	# If neither matched, then we have a broken ls.  This can happen
   2508 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2509 	# broken ls alias from the environment.  This has actually
   2510 	# happened.  Such a system could not be considered "sane".
   2511 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2512   alias in your environment" "$LINENO" 5
   2513      fi
   2514      if test "$2" = conftest.file || test $am_try -eq 2; then
   2515        break
   2516      fi
   2517      # Just in case.
   2518      sleep 1
   2519      am_has_slept=yes
   2520    done
   2521    test "$2" = conftest.file
   2522    )
   2523 then
   2524    # Ok.
   2525    :
   2526 else
   2527    as_fn_error $? "newly created file is older than distributed files!
   2528 Check your system clock" "$LINENO" 5
   2529 fi
   2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2531 $as_echo "yes" >&6; }
   2532 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2533 # generated files are strictly newer.
   2534 am_sleep_pid=
   2535 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2536   ( sleep 1 ) &
   2537   am_sleep_pid=$!
   2538 fi
   2539 
   2540 rm -f conftest.file
   2541 
   2542 test "$program_prefix" != NONE &&
   2543   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2544 # Use a double $ so make ignores it.
   2545 test "$program_suffix" != NONE &&
   2546   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2547 # Double any \ or $.
   2548 # By default was `s,x,x', remove it if useless.
   2549 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2550 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2551 
   2552 # Expand $ac_aux_dir to an absolute path.
   2553 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2554 
   2555 if test x"${MISSING+set}" != xset; then
   2556   case $am_aux_dir in
   2557   *\ * | *\	*)
   2558     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2559   *)
   2560     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2561   esac
   2562 fi
   2563 # Use eval to expand $SHELL
   2564 if eval "$MISSING --is-lightweight"; then
   2565   am_missing_run="$MISSING "
   2566 else
   2567   am_missing_run=
   2568   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2569 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2570 fi
   2571 
   2572 if test x"${install_sh+set}" != xset; then
   2573   case $am_aux_dir in
   2574   *\ * | *\	*)
   2575     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2576   *)
   2577     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2578   esac
   2579 fi
   2580 
   2581 # Installed binaries are usually stripped using 'strip' when the user
   2582 # run "make install-strip".  However 'strip' might not be the right
   2583 # tool to use in cross-compilation environments, therefore Automake
   2584 # will honor the 'STRIP' environment variable to overrule this program.
   2585 if test "$cross_compiling" != no; then
   2586   if test -n "$ac_tool_prefix"; then
   2587   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2588 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2590 $as_echo_n "checking for $ac_word... " >&6; }
   2591 if ${ac_cv_prog_STRIP+:} false; then :
   2592   $as_echo_n "(cached) " >&6
   2593 else
   2594   if test -n "$STRIP"; then
   2595   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2596 else
   2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2598 for as_dir in $PATH
   2599 do
   2600   IFS=$as_save_IFS
   2601   test -z "$as_dir" && as_dir=.
   2602     for ac_exec_ext in '' $ac_executable_extensions; do
   2603   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2604     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2606     break 2
   2607   fi
   2608 done
   2609   done
   2610 IFS=$as_save_IFS
   2611 
   2612 fi
   2613 fi
   2614 STRIP=$ac_cv_prog_STRIP
   2615 if test -n "$STRIP"; then
   2616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2617 $as_echo "$STRIP" >&6; }
   2618 else
   2619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2620 $as_echo "no" >&6; }
   2621 fi
   2622 
   2623 
   2624 fi
   2625 if test -z "$ac_cv_prog_STRIP"; then
   2626   ac_ct_STRIP=$STRIP
   2627   # Extract the first word of "strip", so it can be a program name with args.
   2628 set dummy strip; ac_word=$2
   2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2630 $as_echo_n "checking for $ac_word... " >&6; }
   2631 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2632   $as_echo_n "(cached) " >&6
   2633 else
   2634   if test -n "$ac_ct_STRIP"; then
   2635   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2636 else
   2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2638 for as_dir in $PATH
   2639 do
   2640   IFS=$as_save_IFS
   2641   test -z "$as_dir" && as_dir=.
   2642     for ac_exec_ext in '' $ac_executable_extensions; do
   2643   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2644     ac_cv_prog_ac_ct_STRIP="strip"
   2645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2646     break 2
   2647   fi
   2648 done
   2649   done
   2650 IFS=$as_save_IFS
   2651 
   2652 fi
   2653 fi
   2654 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2655 if test -n "$ac_ct_STRIP"; then
   2656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2657 $as_echo "$ac_ct_STRIP" >&6; }
   2658 else
   2659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2660 $as_echo "no" >&6; }
   2661 fi
   2662 
   2663   if test "x$ac_ct_STRIP" = x; then
   2664     STRIP=":"
   2665   else
   2666     case $cross_compiling:$ac_tool_warned in
   2667 yes:)
   2668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2670 ac_tool_warned=yes ;;
   2671 esac
   2672     STRIP=$ac_ct_STRIP
   2673   fi
   2674 else
   2675   STRIP="$ac_cv_prog_STRIP"
   2676 fi
   2677 
   2678 fi
   2679 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2680 
   2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2682 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2683 if test -z "$MKDIR_P"; then
   2684   if ${ac_cv_path_mkdir+:} false; then :
   2685   $as_echo_n "(cached) " >&6
   2686 else
   2687   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2688 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2689 do
   2690   IFS=$as_save_IFS
   2691   test -z "$as_dir" && as_dir=.
   2692     for ac_prog in mkdir gmkdir; do
   2693 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2694 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2695 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2696 	     'mkdir (GNU coreutils) '* | \
   2697 	     'mkdir (coreutils) '* | \
   2698 	     'mkdir (fileutils) '4.1*)
   2699 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2700 	       break 3;;
   2701 	   esac
   2702 	 done
   2703        done
   2704   done
   2705 IFS=$as_save_IFS
   2706 
   2707 fi
   2708 
   2709   test -d ./--version && rmdir ./--version
   2710   if test "${ac_cv_path_mkdir+set}" = set; then
   2711     MKDIR_P="$ac_cv_path_mkdir -p"
   2712   else
   2713     # As a last resort, use the slow shell script.  Don't cache a
   2714     # value for MKDIR_P within a source directory, because that will
   2715     # break other packages using the cache if that directory is
   2716     # removed, or if the value is a relative name.
   2717     MKDIR_P="$ac_install_sh -d"
   2718   fi
   2719 fi
   2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2721 $as_echo "$MKDIR_P" >&6; }
   2722 
   2723 for ac_prog in gawk mawk nawk awk
   2724 do
   2725   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2726 set dummy $ac_prog; ac_word=$2
   2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2728 $as_echo_n "checking for $ac_word... " >&6; }
   2729 if ${ac_cv_prog_AWK+:} false; then :
   2730   $as_echo_n "(cached) " >&6
   2731 else
   2732   if test -n "$AWK"; then
   2733   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2734 else
   2735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2736 for as_dir in $PATH
   2737 do
   2738   IFS=$as_save_IFS
   2739   test -z "$as_dir" && as_dir=.
   2740     for ac_exec_ext in '' $ac_executable_extensions; do
   2741   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2742     ac_cv_prog_AWK="$ac_prog"
   2743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2744     break 2
   2745   fi
   2746 done
   2747   done
   2748 IFS=$as_save_IFS
   2749 
   2750 fi
   2751 fi
   2752 AWK=$ac_cv_prog_AWK
   2753 if test -n "$AWK"; then
   2754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2755 $as_echo "$AWK" >&6; }
   2756 else
   2757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2758 $as_echo "no" >&6; }
   2759 fi
   2760 
   2761 
   2762   test -n "$AWK" && break
   2763 done
   2764 
   2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2766 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2767 set x ${MAKE-make}
   2768 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2769 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2770   $as_echo_n "(cached) " >&6
   2771 else
   2772   cat >conftest.make <<\_ACEOF
   2773 SHELL = /bin/sh
   2774 all:
   2775 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2776 _ACEOF
   2777 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2778 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2779   *@@@%%%=?*=@@@%%%*)
   2780     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2781   *)
   2782     eval ac_cv_prog_make_${ac_make}_set=no;;
   2783 esac
   2784 rm -f conftest.make
   2785 fi
   2786 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2788 $as_echo "yes" >&6; }
   2789   SET_MAKE=
   2790 else
   2791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2792 $as_echo "no" >&6; }
   2793   SET_MAKE="MAKE=${MAKE-make}"
   2794 fi
   2795 
   2796 rm -rf .tst 2>/dev/null
   2797 mkdir .tst 2>/dev/null
   2798 if test -d .tst; then
   2799   am__leading_dot=.
   2800 else
   2801   am__leading_dot=_
   2802 fi
   2803 rmdir .tst 2>/dev/null
   2804 
   2805 # Check whether --enable-silent-rules was given.
   2806 if test "${enable_silent_rules+set}" = set; then :
   2807   enableval=$enable_silent_rules;
   2808 fi
   2809 
   2810 case $enable_silent_rules in # (((
   2811   yes) AM_DEFAULT_VERBOSITY=0;;
   2812    no) AM_DEFAULT_VERBOSITY=1;;
   2813     *) AM_DEFAULT_VERBOSITY=1;;
   2814 esac
   2815 am_make=${MAKE-make}
   2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2817 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2818 if ${am_cv_make_support_nested_variables+:} false; then :
   2819   $as_echo_n "(cached) " >&6
   2820 else
   2821   if $as_echo 'TRUE=$(BAR$(V))
   2822 BAR0=false
   2823 BAR1=true
   2824 V=1
   2825 am__doit:
   2826 	@$(TRUE)
   2827 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2828   am_cv_make_support_nested_variables=yes
   2829 else
   2830   am_cv_make_support_nested_variables=no
   2831 fi
   2832 fi
   2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2834 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2835 if test $am_cv_make_support_nested_variables = yes; then
   2836     AM_V='$(V)'
   2837   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2838 else
   2839   AM_V=$AM_DEFAULT_VERBOSITY
   2840   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2841 fi
   2842 AM_BACKSLASH='\'
   2843 
   2844 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2845   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2846   # is not polluted with repeated "-I."
   2847   am__isrc=' -I$(srcdir)'
   2848   # test to see if srcdir already configured
   2849   if test -f $srcdir/config.status; then
   2850     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2851   fi
   2852 fi
   2853 
   2854 # test whether we have cygpath
   2855 if test -z "$CYGPATH_W"; then
   2856   if (cygpath --version) >/dev/null 2>/dev/null; then
   2857     CYGPATH_W='cygpath -w'
   2858   else
   2859     CYGPATH_W=echo
   2860   fi
   2861 fi
   2862 
   2863 
   2864 # Define the identity of the package.
   2865  PACKAGE='xf86-video-s3virge'
   2866  VERSION='1.11.0'
   2867 
   2868 
   2869 cat >>confdefs.h <<_ACEOF
   2870 #define PACKAGE "$PACKAGE"
   2871 _ACEOF
   2872 
   2873 
   2874 cat >>confdefs.h <<_ACEOF
   2875 #define VERSION "$VERSION"
   2876 _ACEOF
   2877 
   2878 # Some tools Automake needs.
   2879 
   2880 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2881 
   2882 
   2883 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2884 
   2885 
   2886 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2887 
   2888 
   2889 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2890 
   2891 
   2892 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2893 
   2894 # For better backward compatibility.  To be removed once Automake 1.9.x
   2895 # dies out for good.  For more background, see:
   2896 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2897 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2898 mkdir_p='$(MKDIR_P)'
   2899 
   2900 # We need awk for the "check" target (and possibly the TAP driver).  The
   2901 # system "awk" is bad on some platforms.
   2902 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2903 # in the wild :-(  We should find a proper way to deprecate it ...
   2904 AMTAR='$${TAR-tar}'
   2905 
   2906 
   2907 # We'll loop over all known methods to create a tar archive until one works.
   2908 _am_tools='gnutar  pax cpio none'
   2909 
   2910 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2911 
   2912 
   2913 
   2914 
   2915 
   2916 
   2917 # POSIX will say in a future version that running "rm -f" with no argument
   2918 # is OK; and we want to be able to make that assumption in our Makefile
   2919 # recipes.  So use an aggressive probe to check that the usage we want is
   2920 # actually supported "in the wild" to an acceptable degree.
   2921 # See automake bug#10828.
   2922 # To make any issue more visible, cause the running configure to be aborted
   2923 # by default if the 'rm' program in use doesn't match our expectations; the
   2924 # user can still override this though.
   2925 if rm -f && rm -fr && rm -rf; then : OK; else
   2926   cat >&2 <<'END'
   2927 Oops!
   2928 
   2929 Your 'rm' program seems unable to run without file operands specified
   2930 on the command line, even when the '-f' option is present.  This is contrary
   2931 to the behaviour of most rm programs out there, and not conforming with
   2932 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2933 
   2934 Please tell bug-automake@gnu.org about your system, including the value
   2935 of your $PATH and any error possibly output before this message.  This
   2936 can help us improve future automake versions.
   2937 
   2938 END
   2939   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2940     echo 'Configuration will proceed anyway, since you have set the' >&2
   2941     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2942     echo >&2
   2943   else
   2944     cat >&2 <<'END'
   2945 Aborting the configuration process, to ensure you take notice of the issue.
   2946 
   2947 You can download and install GNU coreutils to get an 'rm' implementation
   2948 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2949 
   2950 If you want to complete the configuration process using your problematic
   2951 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2952 to "yes", and re-run configure.
   2953 
   2954 END
   2955     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2956   fi
   2957 fi
   2958 
   2959 
   2960 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2961 
   2962 
   2963 
   2964 
   2965 
   2966 
   2967 
   2968 
   2969 
   2970 
   2971 
   2972 DEPDIR="${am__leading_dot}deps"
   2973 
   2974 ac_config_commands="$ac_config_commands depfiles"
   2975 
   2976 
   2977 am_make=${MAKE-make}
   2978 cat > confinc << 'END'
   2979 am__doit:
   2980 	@echo this is the am__doit target
   2981 .PHONY: am__doit
   2982 END
   2983 # If we don't find an include directive, just comment out the code.
   2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2985 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2986 am__include="#"
   2987 am__quote=
   2988 _am_result=none
   2989 # First try GNU make style include.
   2990 echo "include confinc" > confmf
   2991 # Ignore all kinds of additional output from 'make'.
   2992 case `$am_make -s -f confmf 2> /dev/null` in #(
   2993 *the\ am__doit\ target*)
   2994   am__include=include
   2995   am__quote=
   2996   _am_result=GNU
   2997   ;;
   2998 esac
   2999 # Now try BSD make style include.
   3000 if test "$am__include" = "#"; then
   3001    echo '.include "confinc"' > confmf
   3002    case `$am_make -s -f confmf 2> /dev/null` in #(
   3003    *the\ am__doit\ target*)
   3004      am__include=.include
   3005      am__quote="\""
   3006      _am_result=BSD
   3007      ;;
   3008    esac
   3009 fi
   3010 
   3011 
   3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3013 $as_echo "$_am_result" >&6; }
   3014 rm -f confinc confmf
   3015 
   3016 # Check whether --enable-dependency-tracking was given.
   3017 if test "${enable_dependency_tracking+set}" = set; then :
   3018   enableval=$enable_dependency_tracking;
   3019 fi
   3020 
   3021 if test "x$enable_dependency_tracking" != xno; then
   3022   am_depcomp="$ac_aux_dir/depcomp"
   3023   AMDEPBACKSLASH='\'
   3024   am__nodep='_no'
   3025 fi
   3026  if test "x$enable_dependency_tracking" != xno; then
   3027   AMDEP_TRUE=
   3028   AMDEP_FALSE='#'
   3029 else
   3030   AMDEP_TRUE='#'
   3031   AMDEP_FALSE=
   3032 fi
   3033 
   3034 
   3035 ac_ext=c
   3036 ac_cpp='$CPP $CPPFLAGS'
   3037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3040 if test -n "$ac_tool_prefix"; then
   3041   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3042 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3044 $as_echo_n "checking for $ac_word... " >&6; }
   3045 if ${ac_cv_prog_CC+:} false; then :
   3046   $as_echo_n "(cached) " >&6
   3047 else
   3048   if test -n "$CC"; then
   3049   ac_cv_prog_CC="$CC" # Let the user override the test.
   3050 else
   3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3052 for as_dir in $PATH
   3053 do
   3054   IFS=$as_save_IFS
   3055   test -z "$as_dir" && as_dir=.
   3056     for ac_exec_ext in '' $ac_executable_extensions; do
   3057   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3058     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3059     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3060     break 2
   3061   fi
   3062 done
   3063   done
   3064 IFS=$as_save_IFS
   3065 
   3066 fi
   3067 fi
   3068 CC=$ac_cv_prog_CC
   3069 if test -n "$CC"; then
   3070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3071 $as_echo "$CC" >&6; }
   3072 else
   3073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3074 $as_echo "no" >&6; }
   3075 fi
   3076 
   3077 
   3078 fi
   3079 if test -z "$ac_cv_prog_CC"; then
   3080   ac_ct_CC=$CC
   3081   # Extract the first word of "gcc", so it can be a program name with args.
   3082 set dummy gcc; ac_word=$2
   3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3084 $as_echo_n "checking for $ac_word... " >&6; }
   3085 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3086   $as_echo_n "(cached) " >&6
   3087 else
   3088   if test -n "$ac_ct_CC"; then
   3089   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3090 else
   3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3092 for as_dir in $PATH
   3093 do
   3094   IFS=$as_save_IFS
   3095   test -z "$as_dir" && as_dir=.
   3096     for ac_exec_ext in '' $ac_executable_extensions; do
   3097   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3098     ac_cv_prog_ac_ct_CC="gcc"
   3099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3100     break 2
   3101   fi
   3102 done
   3103   done
   3104 IFS=$as_save_IFS
   3105 
   3106 fi
   3107 fi
   3108 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3109 if test -n "$ac_ct_CC"; then
   3110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3111 $as_echo "$ac_ct_CC" >&6; }
   3112 else
   3113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3114 $as_echo "no" >&6; }
   3115 fi
   3116 
   3117   if test "x$ac_ct_CC" = x; then
   3118     CC=""
   3119   else
   3120     case $cross_compiling:$ac_tool_warned in
   3121 yes:)
   3122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3124 ac_tool_warned=yes ;;
   3125 esac
   3126     CC=$ac_ct_CC
   3127   fi
   3128 else
   3129   CC="$ac_cv_prog_CC"
   3130 fi
   3131 
   3132 if test -z "$CC"; then
   3133           if test -n "$ac_tool_prefix"; then
   3134     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3135 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3137 $as_echo_n "checking for $ac_word... " >&6; }
   3138 if ${ac_cv_prog_CC+:} false; then :
   3139   $as_echo_n "(cached) " >&6
   3140 else
   3141   if test -n "$CC"; then
   3142   ac_cv_prog_CC="$CC" # Let the user override the test.
   3143 else
   3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3145 for as_dir in $PATH
   3146 do
   3147   IFS=$as_save_IFS
   3148   test -z "$as_dir" && as_dir=.
   3149     for ac_exec_ext in '' $ac_executable_extensions; do
   3150   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3151     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3152     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3153     break 2
   3154   fi
   3155 done
   3156   done
   3157 IFS=$as_save_IFS
   3158 
   3159 fi
   3160 fi
   3161 CC=$ac_cv_prog_CC
   3162 if test -n "$CC"; then
   3163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3164 $as_echo "$CC" >&6; }
   3165 else
   3166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3167 $as_echo "no" >&6; }
   3168 fi
   3169 
   3170 
   3171   fi
   3172 fi
   3173 if test -z "$CC"; then
   3174   # Extract the first word of "cc", so it can be a program name with args.
   3175 set dummy cc; ac_word=$2
   3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3177 $as_echo_n "checking for $ac_word... " >&6; }
   3178 if ${ac_cv_prog_CC+:} false; then :
   3179   $as_echo_n "(cached) " >&6
   3180 else
   3181   if test -n "$CC"; then
   3182   ac_cv_prog_CC="$CC" # Let the user override the test.
   3183 else
   3184   ac_prog_rejected=no
   3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3186 for as_dir in $PATH
   3187 do
   3188   IFS=$as_save_IFS
   3189   test -z "$as_dir" && as_dir=.
   3190     for ac_exec_ext in '' $ac_executable_extensions; do
   3191   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3192     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3193        ac_prog_rejected=yes
   3194        continue
   3195      fi
   3196     ac_cv_prog_CC="cc"
   3197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3198     break 2
   3199   fi
   3200 done
   3201   done
   3202 IFS=$as_save_IFS
   3203 
   3204 if test $ac_prog_rejected = yes; then
   3205   # We found a bogon in the path, so make sure we never use it.
   3206   set dummy $ac_cv_prog_CC
   3207   shift
   3208   if test $# != 0; then
   3209     # We chose a different compiler from the bogus one.
   3210     # However, it has the same basename, so the bogon will be chosen
   3211     # first if we set CC to just the basename; use the full file name.
   3212     shift
   3213     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3214   fi
   3215 fi
   3216 fi
   3217 fi
   3218 CC=$ac_cv_prog_CC
   3219 if test -n "$CC"; then
   3220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3221 $as_echo "$CC" >&6; }
   3222 else
   3223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3224 $as_echo "no" >&6; }
   3225 fi
   3226 
   3227 
   3228 fi
   3229 if test -z "$CC"; then
   3230   if test -n "$ac_tool_prefix"; then
   3231   for ac_prog in cl.exe
   3232   do
   3233     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3234 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3236 $as_echo_n "checking for $ac_word... " >&6; }
   3237 if ${ac_cv_prog_CC+:} false; then :
   3238   $as_echo_n "(cached) " >&6
   3239 else
   3240   if test -n "$CC"; then
   3241   ac_cv_prog_CC="$CC" # Let the user override the test.
   3242 else
   3243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3244 for as_dir in $PATH
   3245 do
   3246   IFS=$as_save_IFS
   3247   test -z "$as_dir" && as_dir=.
   3248     for ac_exec_ext in '' $ac_executable_extensions; do
   3249   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3250     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3251     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3252     break 2
   3253   fi
   3254 done
   3255   done
   3256 IFS=$as_save_IFS
   3257 
   3258 fi
   3259 fi
   3260 CC=$ac_cv_prog_CC
   3261 if test -n "$CC"; then
   3262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3263 $as_echo "$CC" >&6; }
   3264 else
   3265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3266 $as_echo "no" >&6; }
   3267 fi
   3268 
   3269 
   3270     test -n "$CC" && break
   3271   done
   3272 fi
   3273 if test -z "$CC"; then
   3274   ac_ct_CC=$CC
   3275   for ac_prog in cl.exe
   3276 do
   3277   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3278 set dummy $ac_prog; ac_word=$2
   3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3280 $as_echo_n "checking for $ac_word... " >&6; }
   3281 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3282   $as_echo_n "(cached) " >&6
   3283 else
   3284   if test -n "$ac_ct_CC"; then
   3285   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3286 else
   3287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3288 for as_dir in $PATH
   3289 do
   3290   IFS=$as_save_IFS
   3291   test -z "$as_dir" && as_dir=.
   3292     for ac_exec_ext in '' $ac_executable_extensions; do
   3293   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3294     ac_cv_prog_ac_ct_CC="$ac_prog"
   3295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3296     break 2
   3297   fi
   3298 done
   3299   done
   3300 IFS=$as_save_IFS
   3301 
   3302 fi
   3303 fi
   3304 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3305 if test -n "$ac_ct_CC"; then
   3306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3307 $as_echo "$ac_ct_CC" >&6; }
   3308 else
   3309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3310 $as_echo "no" >&6; }
   3311 fi
   3312 
   3313 
   3314   test -n "$ac_ct_CC" && break
   3315 done
   3316 
   3317   if test "x$ac_ct_CC" = x; then
   3318     CC=""
   3319   else
   3320     case $cross_compiling:$ac_tool_warned in
   3321 yes:)
   3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3324 ac_tool_warned=yes ;;
   3325 esac
   3326     CC=$ac_ct_CC
   3327   fi
   3328 fi
   3329 
   3330 fi
   3331 
   3332 
   3333 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3335 as_fn_error $? "no acceptable C compiler found in \$PATH
   3336 See \`config.log' for more details" "$LINENO" 5; }
   3337 
   3338 # Provide some information about the compiler.
   3339 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3340 set X $ac_compile
   3341 ac_compiler=$2
   3342 for ac_option in --version -v -V -qversion; do
   3343   { { ac_try="$ac_compiler $ac_option >&5"
   3344 case "(($ac_try" in
   3345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3346   *) ac_try_echo=$ac_try;;
   3347 esac
   3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3349 $as_echo "$ac_try_echo"; } >&5
   3350   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3351   ac_status=$?
   3352   if test -s conftest.err; then
   3353     sed '10a\
   3354 ... rest of stderr output deleted ...
   3355          10q' conftest.err >conftest.er1
   3356     cat conftest.er1 >&5
   3357   fi
   3358   rm -f conftest.er1 conftest.err
   3359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3360   test $ac_status = 0; }
   3361 done
   3362 
   3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3364 /* end confdefs.h.  */
   3365 
   3366 int
   3367 main ()
   3368 {
   3369 
   3370   ;
   3371   return 0;
   3372 }
   3373 _ACEOF
   3374 ac_clean_files_save=$ac_clean_files
   3375 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3376 # Try to create an executable without -o first, disregard a.out.
   3377 # It will help us diagnose broken compilers, and finding out an intuition
   3378 # of exeext.
   3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3380 $as_echo_n "checking whether the C compiler works... " >&6; }
   3381 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3382 
   3383 # The possible output files:
   3384 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3385 
   3386 ac_rmfiles=
   3387 for ac_file in $ac_files
   3388 do
   3389   case $ac_file in
   3390     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3391     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3392   esac
   3393 done
   3394 rm -f $ac_rmfiles
   3395 
   3396 if { { ac_try="$ac_link_default"
   3397 case "(($ac_try" in
   3398   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3399   *) ac_try_echo=$ac_try;;
   3400 esac
   3401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3402 $as_echo "$ac_try_echo"; } >&5
   3403   (eval "$ac_link_default") 2>&5
   3404   ac_status=$?
   3405   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3406   test $ac_status = 0; }; then :
   3407   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3408 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3409 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3410 # so that the user can short-circuit this test for compilers unknown to
   3411 # Autoconf.
   3412 for ac_file in $ac_files ''
   3413 do
   3414   test -f "$ac_file" || continue
   3415   case $ac_file in
   3416     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3417 	;;
   3418     [ab].out )
   3419 	# We found the default executable, but exeext='' is most
   3420 	# certainly right.
   3421 	break;;
   3422     *.* )
   3423 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3424 	then :; else
   3425 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3426 	fi
   3427 	# We set ac_cv_exeext here because the later test for it is not
   3428 	# safe: cross compilers may not add the suffix if given an `-o'
   3429 	# argument, so we may need to know it at that point already.
   3430 	# Even if this section looks crufty: it has the advantage of
   3431 	# actually working.
   3432 	break;;
   3433     * )
   3434 	break;;
   3435   esac
   3436 done
   3437 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3438 
   3439 else
   3440   ac_file=''
   3441 fi
   3442 if test -z "$ac_file"; then :
   3443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3444 $as_echo "no" >&6; }
   3445 $as_echo "$as_me: failed program was:" >&5
   3446 sed 's/^/| /' conftest.$ac_ext >&5
   3447 
   3448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3450 as_fn_error 77 "C compiler cannot create executables
   3451 See \`config.log' for more details" "$LINENO" 5; }
   3452 else
   3453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3454 $as_echo "yes" >&6; }
   3455 fi
   3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3457 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3459 $as_echo "$ac_file" >&6; }
   3460 ac_exeext=$ac_cv_exeext
   3461 
   3462 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3463 ac_clean_files=$ac_clean_files_save
   3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3465 $as_echo_n "checking for suffix of executables... " >&6; }
   3466 if { { ac_try="$ac_link"
   3467 case "(($ac_try" in
   3468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3469   *) ac_try_echo=$ac_try;;
   3470 esac
   3471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3472 $as_echo "$ac_try_echo"; } >&5
   3473   (eval "$ac_link") 2>&5
   3474   ac_status=$?
   3475   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3476   test $ac_status = 0; }; then :
   3477   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3478 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3479 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3480 # `rm'.
   3481 for ac_file in conftest.exe conftest conftest.*; do
   3482   test -f "$ac_file" || continue
   3483   case $ac_file in
   3484     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3485     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3486 	  break;;
   3487     * ) break;;
   3488   esac
   3489 done
   3490 else
   3491   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3493 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3494 See \`config.log' for more details" "$LINENO" 5; }
   3495 fi
   3496 rm -f conftest conftest$ac_cv_exeext
   3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3498 $as_echo "$ac_cv_exeext" >&6; }
   3499 
   3500 rm -f conftest.$ac_ext
   3501 EXEEXT=$ac_cv_exeext
   3502 ac_exeext=$EXEEXT
   3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3504 /* end confdefs.h.  */
   3505 #include <stdio.h>
   3506 int
   3507 main ()
   3508 {
   3509 FILE *f = fopen ("conftest.out", "w");
   3510  return ferror (f) || fclose (f) != 0;
   3511 
   3512   ;
   3513   return 0;
   3514 }
   3515 _ACEOF
   3516 ac_clean_files="$ac_clean_files conftest.out"
   3517 # Check that the compiler produces executables we can run.  If not, either
   3518 # the compiler is broken, or we cross compile.
   3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3520 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3521 if test "$cross_compiling" != yes; then
   3522   { { ac_try="$ac_link"
   3523 case "(($ac_try" in
   3524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3525   *) ac_try_echo=$ac_try;;
   3526 esac
   3527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3528 $as_echo "$ac_try_echo"; } >&5
   3529   (eval "$ac_link") 2>&5
   3530   ac_status=$?
   3531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3532   test $ac_status = 0; }
   3533   if { ac_try='./conftest$ac_cv_exeext'
   3534   { { case "(($ac_try" in
   3535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3536   *) ac_try_echo=$ac_try;;
   3537 esac
   3538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3539 $as_echo "$ac_try_echo"; } >&5
   3540   (eval "$ac_try") 2>&5
   3541   ac_status=$?
   3542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3543   test $ac_status = 0; }; }; then
   3544     cross_compiling=no
   3545   else
   3546     if test "$cross_compiling" = maybe; then
   3547 	cross_compiling=yes
   3548     else
   3549 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3551 as_fn_error $? "cannot run C compiled programs.
   3552 If you meant to cross compile, use \`--host'.
   3553 See \`config.log' for more details" "$LINENO" 5; }
   3554     fi
   3555   fi
   3556 fi
   3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3558 $as_echo "$cross_compiling" >&6; }
   3559 
   3560 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3561 ac_clean_files=$ac_clean_files_save
   3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3563 $as_echo_n "checking for suffix of object files... " >&6; }
   3564 if ${ac_cv_objext+:} false; then :
   3565   $as_echo_n "(cached) " >&6
   3566 else
   3567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3568 /* end confdefs.h.  */
   3569 
   3570 int
   3571 main ()
   3572 {
   3573 
   3574   ;
   3575   return 0;
   3576 }
   3577 _ACEOF
   3578 rm -f conftest.o conftest.obj
   3579 if { { ac_try="$ac_compile"
   3580 case "(($ac_try" in
   3581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3582   *) ac_try_echo=$ac_try;;
   3583 esac
   3584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3585 $as_echo "$ac_try_echo"; } >&5
   3586   (eval "$ac_compile") 2>&5
   3587   ac_status=$?
   3588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3589   test $ac_status = 0; }; then :
   3590   for ac_file in conftest.o conftest.obj conftest.*; do
   3591   test -f "$ac_file" || continue;
   3592   case $ac_file in
   3593     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3594     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3595        break;;
   3596   esac
   3597 done
   3598 else
   3599   $as_echo "$as_me: failed program was:" >&5
   3600 sed 's/^/| /' conftest.$ac_ext >&5
   3601 
   3602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3604 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3605 See \`config.log' for more details" "$LINENO" 5; }
   3606 fi
   3607 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3608 fi
   3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3610 $as_echo "$ac_cv_objext" >&6; }
   3611 OBJEXT=$ac_cv_objext
   3612 ac_objext=$OBJEXT
   3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3614 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3615 if ${ac_cv_c_compiler_gnu+:} false; then :
   3616   $as_echo_n "(cached) " >&6
   3617 else
   3618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3619 /* end confdefs.h.  */
   3620 
   3621 int
   3622 main ()
   3623 {
   3624 #ifndef __GNUC__
   3625        choke me
   3626 #endif
   3627 
   3628   ;
   3629   return 0;
   3630 }
   3631 _ACEOF
   3632 if ac_fn_c_try_compile "$LINENO"; then :
   3633   ac_compiler_gnu=yes
   3634 else
   3635   ac_compiler_gnu=no
   3636 fi
   3637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3638 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3639 
   3640 fi
   3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3642 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3643 if test $ac_compiler_gnu = yes; then
   3644   GCC=yes
   3645 else
   3646   GCC=
   3647 fi
   3648 ac_test_CFLAGS=${CFLAGS+set}
   3649 ac_save_CFLAGS=$CFLAGS
   3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3651 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3652 if ${ac_cv_prog_cc_g+:} false; then :
   3653   $as_echo_n "(cached) " >&6
   3654 else
   3655   ac_save_c_werror_flag=$ac_c_werror_flag
   3656    ac_c_werror_flag=yes
   3657    ac_cv_prog_cc_g=no
   3658    CFLAGS="-g"
   3659    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3660 /* end confdefs.h.  */
   3661 
   3662 int
   3663 main ()
   3664 {
   3665 
   3666   ;
   3667   return 0;
   3668 }
   3669 _ACEOF
   3670 if ac_fn_c_try_compile "$LINENO"; then :
   3671   ac_cv_prog_cc_g=yes
   3672 else
   3673   CFLAGS=""
   3674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3675 /* end confdefs.h.  */
   3676 
   3677 int
   3678 main ()
   3679 {
   3680 
   3681   ;
   3682   return 0;
   3683 }
   3684 _ACEOF
   3685 if ac_fn_c_try_compile "$LINENO"; then :
   3686 
   3687 else
   3688   ac_c_werror_flag=$ac_save_c_werror_flag
   3689 	 CFLAGS="-g"
   3690 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3691 /* end confdefs.h.  */
   3692 
   3693 int
   3694 main ()
   3695 {
   3696 
   3697   ;
   3698   return 0;
   3699 }
   3700 _ACEOF
   3701 if ac_fn_c_try_compile "$LINENO"; then :
   3702   ac_cv_prog_cc_g=yes
   3703 fi
   3704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3705 fi
   3706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3707 fi
   3708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3709    ac_c_werror_flag=$ac_save_c_werror_flag
   3710 fi
   3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3712 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3713 if test "$ac_test_CFLAGS" = set; then
   3714   CFLAGS=$ac_save_CFLAGS
   3715 elif test $ac_cv_prog_cc_g = yes; then
   3716   if test "$GCC" = yes; then
   3717     CFLAGS="-g -O2"
   3718   else
   3719     CFLAGS="-g"
   3720   fi
   3721 else
   3722   if test "$GCC" = yes; then
   3723     CFLAGS="-O2"
   3724   else
   3725     CFLAGS=
   3726   fi
   3727 fi
   3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3729 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3730 if ${ac_cv_prog_cc_c89+:} false; then :
   3731   $as_echo_n "(cached) " >&6
   3732 else
   3733   ac_cv_prog_cc_c89=no
   3734 ac_save_CC=$CC
   3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3736 /* end confdefs.h.  */
   3737 #include <stdarg.h>
   3738 #include <stdio.h>
   3739 struct stat;
   3740 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3741 struct buf { int x; };
   3742 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3743 static char *e (p, i)
   3744      char **p;
   3745      int i;
   3746 {
   3747   return p[i];
   3748 }
   3749 static char *f (char * (*g) (char **, int), char **p, ...)
   3750 {
   3751   char *s;
   3752   va_list v;
   3753   va_start (v,p);
   3754   s = g (p, va_arg (v,int));
   3755   va_end (v);
   3756   return s;
   3757 }
   3758 
   3759 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3760    function prototypes and stuff, but not '\xHH' hex character constants.
   3761    These don't provoke an error unfortunately, instead are silently treated
   3762    as 'x'.  The following induces an error, until -std is added to get
   3763    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3764    array size at least.  It's necessary to write '\x00'==0 to get something
   3765    that's true only with -std.  */
   3766 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3767 
   3768 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3769    inside strings and character constants.  */
   3770 #define FOO(x) 'x'
   3771 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3772 
   3773 int test (int i, double x);
   3774 struct s1 {int (*f) (int a);};
   3775 struct s2 {int (*f) (double a);};
   3776 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3777 int argc;
   3778 char **argv;
   3779 int
   3780 main ()
   3781 {
   3782 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3783   ;
   3784   return 0;
   3785 }
   3786 _ACEOF
   3787 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3788 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3789 do
   3790   CC="$ac_save_CC $ac_arg"
   3791   if ac_fn_c_try_compile "$LINENO"; then :
   3792   ac_cv_prog_cc_c89=$ac_arg
   3793 fi
   3794 rm -f core conftest.err conftest.$ac_objext
   3795   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3796 done
   3797 rm -f conftest.$ac_ext
   3798 CC=$ac_save_CC
   3799 
   3800 fi
   3801 # AC_CACHE_VAL
   3802 case "x$ac_cv_prog_cc_c89" in
   3803   x)
   3804     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3805 $as_echo "none needed" >&6; } ;;
   3806   xno)
   3807     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3808 $as_echo "unsupported" >&6; } ;;
   3809   *)
   3810     CC="$CC $ac_cv_prog_cc_c89"
   3811     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3812 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3813 esac
   3814 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3815 
   3816 fi
   3817 
   3818 ac_ext=c
   3819 ac_cpp='$CPP $CPPFLAGS'
   3820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3823 
   3824 ac_ext=c
   3825 ac_cpp='$CPP $CPPFLAGS'
   3826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3830 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3831 if ${am_cv_prog_cc_c_o+:} false; then :
   3832   $as_echo_n "(cached) " >&6
   3833 else
   3834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3835 /* end confdefs.h.  */
   3836 
   3837 int
   3838 main ()
   3839 {
   3840 
   3841   ;
   3842   return 0;
   3843 }
   3844 _ACEOF
   3845   # Make sure it works both with $CC and with simple cc.
   3846   # Following AC_PROG_CC_C_O, we do the test twice because some
   3847   # compilers refuse to overwrite an existing .o file with -o,
   3848   # though they will create one.
   3849   am_cv_prog_cc_c_o=yes
   3850   for am_i in 1 2; do
   3851     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3852    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3853    ac_status=$?
   3854    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3855    (exit $ac_status); } \
   3856          && test -f conftest2.$ac_objext; then
   3857       : OK
   3858     else
   3859       am_cv_prog_cc_c_o=no
   3860       break
   3861     fi
   3862   done
   3863   rm -f core conftest*
   3864   unset am_i
   3865 fi
   3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3867 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3868 if test "$am_cv_prog_cc_c_o" != yes; then
   3869    # Losing compiler, so override with the script.
   3870    # FIXME: It is wrong to rewrite CC.
   3871    # But if we don't then we get into trouble of one sort or another.
   3872    # A longer-term fix would be to have automake use am__CC in this case,
   3873    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3874    CC="$am_aux_dir/compile $CC"
   3875 fi
   3876 ac_ext=c
   3877 ac_cpp='$CPP $CPPFLAGS'
   3878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3881 
   3882 
   3883 depcc="$CC"   am_compiler_list=
   3884 
   3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3886 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3887 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3888   $as_echo_n "(cached) " >&6
   3889 else
   3890   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3891   # We make a subdir and do the tests there.  Otherwise we can end up
   3892   # making bogus files that we don't know about and never remove.  For
   3893   # instance it was reported that on HP-UX the gcc test will end up
   3894   # making a dummy file named 'D' -- because '-MD' means "put the output
   3895   # in D".
   3896   rm -rf conftest.dir
   3897   mkdir conftest.dir
   3898   # Copy depcomp to subdir because otherwise we won't find it if we're
   3899   # using a relative directory.
   3900   cp "$am_depcomp" conftest.dir
   3901   cd conftest.dir
   3902   # We will build objects and dependencies in a subdirectory because
   3903   # it helps to detect inapplicable dependency modes.  For instance
   3904   # both Tru64's cc and ICC support -MD to output dependencies as a
   3905   # side effect of compilation, but ICC will put the dependencies in
   3906   # the current directory while Tru64 will put them in the object
   3907   # directory.
   3908   mkdir sub
   3909 
   3910   am_cv_CC_dependencies_compiler_type=none
   3911   if test "$am_compiler_list" = ""; then
   3912      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3913   fi
   3914   am__universal=false
   3915   case " $depcc " in #(
   3916      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3917      esac
   3918 
   3919   for depmode in $am_compiler_list; do
   3920     # Setup a source with many dependencies, because some compilers
   3921     # like to wrap large dependency lists on column 80 (with \), and
   3922     # we should not choose a depcomp mode which is confused by this.
   3923     #
   3924     # We need to recreate these files for each test, as the compiler may
   3925     # overwrite some of them when testing with obscure command lines.
   3926     # This happens at least with the AIX C compiler.
   3927     : > sub/conftest.c
   3928     for i in 1 2 3 4 5 6; do
   3929       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3930       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3931       # Solaris 10 /bin/sh.
   3932       echo '/* dummy */' > sub/conftst$i.h
   3933     done
   3934     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3935 
   3936     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3937     # mode.  It turns out that the SunPro C++ compiler does not properly
   3938     # handle '-M -o', and we need to detect this.  Also, some Intel
   3939     # versions had trouble with output in subdirs.
   3940     am__obj=sub/conftest.${OBJEXT-o}
   3941     am__minus_obj="-o $am__obj"
   3942     case $depmode in
   3943     gcc)
   3944       # This depmode causes a compiler race in universal mode.
   3945       test "$am__universal" = false || continue
   3946       ;;
   3947     nosideeffect)
   3948       # After this tag, mechanisms are not by side-effect, so they'll
   3949       # only be used when explicitly requested.
   3950       if test "x$enable_dependency_tracking" = xyes; then
   3951 	continue
   3952       else
   3953 	break
   3954       fi
   3955       ;;
   3956     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3957       # This compiler won't grok '-c -o', but also, the minuso test has
   3958       # not run yet.  These depmodes are late enough in the game, and
   3959       # so weak that their functioning should not be impacted.
   3960       am__obj=conftest.${OBJEXT-o}
   3961       am__minus_obj=
   3962       ;;
   3963     none) break ;;
   3964     esac
   3965     if depmode=$depmode \
   3966        source=sub/conftest.c object=$am__obj \
   3967        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3968        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3969          >/dev/null 2>conftest.err &&
   3970        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3971        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3972        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3973        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3974       # icc doesn't choke on unknown options, it will just issue warnings
   3975       # or remarks (even with -Werror).  So we grep stderr for any message
   3976       # that says an option was ignored or not supported.
   3977       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3978       #   icc: Command line warning: ignoring option '-M'; no argument required
   3979       # The diagnosis changed in icc 8.0:
   3980       #   icc: Command line remark: option '-MP' not supported
   3981       if (grep 'ignoring option' conftest.err ||
   3982           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3983         am_cv_CC_dependencies_compiler_type=$depmode
   3984         break
   3985       fi
   3986     fi
   3987   done
   3988 
   3989   cd ..
   3990   rm -rf conftest.dir
   3991 else
   3992   am_cv_CC_dependencies_compiler_type=none
   3993 fi
   3994 
   3995 fi
   3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3997 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3998 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3999 
   4000  if
   4001   test "x$enable_dependency_tracking" != xno \
   4002   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4003   am__fastdepCC_TRUE=
   4004   am__fastdepCC_FALSE='#'
   4005 else
   4006   am__fastdepCC_TRUE='#'
   4007   am__fastdepCC_FALSE=
   4008 fi
   4009 
   4010 
   4011    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4012 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4013 if ${ac_cv_prog_cc_c99+:} false; then :
   4014   $as_echo_n "(cached) " >&6
   4015 else
   4016   ac_cv_prog_cc_c99=no
   4017 ac_save_CC=$CC
   4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4019 /* end confdefs.h.  */
   4020 #include <stdarg.h>
   4021 #include <stdbool.h>
   4022 #include <stdlib.h>
   4023 #include <wchar.h>
   4024 #include <stdio.h>
   4025 
   4026 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4027 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4028 #define showlist(...) puts (#__VA_ARGS__)
   4029 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4030 static void
   4031 test_varargs_macros (void)
   4032 {
   4033   int x = 1234;
   4034   int y = 5678;
   4035   debug ("Flag");
   4036   debug ("X = %d\n", x);
   4037   showlist (The first, second, and third items.);
   4038   report (x>y, "x is %d but y is %d", x, y);
   4039 }
   4040 
   4041 // Check long long types.
   4042 #define BIG64 18446744073709551615ull
   4043 #define BIG32 4294967295ul
   4044 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4045 #if !BIG_OK
   4046   your preprocessor is broken;
   4047 #endif
   4048 #if BIG_OK
   4049 #else
   4050   your preprocessor is broken;
   4051 #endif
   4052 static long long int bignum = -9223372036854775807LL;
   4053 static unsigned long long int ubignum = BIG64;
   4054 
   4055 struct incomplete_array
   4056 {
   4057   int datasize;
   4058   double data[];
   4059 };
   4060 
   4061 struct named_init {
   4062   int number;
   4063   const wchar_t *name;
   4064   double average;
   4065 };
   4066 
   4067 typedef const char *ccp;
   4068 
   4069 static inline int
   4070 test_restrict (ccp restrict text)
   4071 {
   4072   // See if C++-style comments work.
   4073   // Iterate through items via the restricted pointer.
   4074   // Also check for declarations in for loops.
   4075   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4076     continue;
   4077   return 0;
   4078 }
   4079 
   4080 // Check varargs and va_copy.
   4081 static void
   4082 test_varargs (const char *format, ...)
   4083 {
   4084   va_list args;
   4085   va_start (args, format);
   4086   va_list args_copy;
   4087   va_copy (args_copy, args);
   4088 
   4089   const char *str;
   4090   int number;
   4091   float fnumber;
   4092 
   4093   while (*format)
   4094     {
   4095       switch (*format++)
   4096 	{
   4097 	case 's': // string
   4098 	  str = va_arg (args_copy, const char *);
   4099 	  break;
   4100 	case 'd': // int
   4101 	  number = va_arg (args_copy, int);
   4102 	  break;
   4103 	case 'f': // float
   4104 	  fnumber = va_arg (args_copy, double);
   4105 	  break;
   4106 	default:
   4107 	  break;
   4108 	}
   4109     }
   4110   va_end (args_copy);
   4111   va_end (args);
   4112 }
   4113 
   4114 int
   4115 main ()
   4116 {
   4117 
   4118   // Check bool.
   4119   _Bool success = false;
   4120 
   4121   // Check restrict.
   4122   if (test_restrict ("String literal") == 0)
   4123     success = true;
   4124   char *restrict newvar = "Another string";
   4125 
   4126   // Check varargs.
   4127   test_varargs ("s, d' f .", "string", 65, 34.234);
   4128   test_varargs_macros ();
   4129 
   4130   // Check flexible array members.
   4131   struct incomplete_array *ia =
   4132     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4133   ia->datasize = 10;
   4134   for (int i = 0; i < ia->datasize; ++i)
   4135     ia->data[i] = i * 1.234;
   4136 
   4137   // Check named initializers.
   4138   struct named_init ni = {
   4139     .number = 34,
   4140     .name = L"Test wide string",
   4141     .average = 543.34343,
   4142   };
   4143 
   4144   ni.number = 58;
   4145 
   4146   int dynamic_array[ni.number];
   4147   dynamic_array[ni.number - 1] = 543;
   4148 
   4149   // work around unused variable warnings
   4150   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4151 	  || dynamic_array[ni.number - 1] != 543);
   4152 
   4153   ;
   4154   return 0;
   4155 }
   4156 _ACEOF
   4157 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4158 do
   4159   CC="$ac_save_CC $ac_arg"
   4160   if ac_fn_c_try_compile "$LINENO"; then :
   4161   ac_cv_prog_cc_c99=$ac_arg
   4162 fi
   4163 rm -f core conftest.err conftest.$ac_objext
   4164   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4165 done
   4166 rm -f conftest.$ac_ext
   4167 CC=$ac_save_CC
   4168 
   4169 fi
   4170 # AC_CACHE_VAL
   4171 case "x$ac_cv_prog_cc_c99" in
   4172   x)
   4173     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4174 $as_echo "none needed" >&6; } ;;
   4175   xno)
   4176     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4177 $as_echo "unsupported" >&6; } ;;
   4178   *)
   4179     CC="$CC $ac_cv_prog_cc_c99"
   4180     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4181 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4182 esac
   4183 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4184 
   4185 fi
   4186 
   4187 
   4188 
   4189 ac_ext=c
   4190 ac_cpp='$CPP $CPPFLAGS'
   4191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4195 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4196 # On Suns, sometimes $CPP names a directory.
   4197 if test -n "$CPP" && test -d "$CPP"; then
   4198   CPP=
   4199 fi
   4200 if test -z "$CPP"; then
   4201   if ${ac_cv_prog_CPP+:} false; then :
   4202   $as_echo_n "(cached) " >&6
   4203 else
   4204       # Double quotes because CPP needs to be expanded
   4205     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4206     do
   4207       ac_preproc_ok=false
   4208 for ac_c_preproc_warn_flag in '' yes
   4209 do
   4210   # Use a header file that comes with gcc, so configuring glibc
   4211   # with a fresh cross-compiler works.
   4212   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4213   # <limits.h> exists even on freestanding compilers.
   4214   # On the NeXT, cc -E runs the code through the compiler's parser,
   4215   # not just through cpp. "Syntax error" is here to catch this case.
   4216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4217 /* end confdefs.h.  */
   4218 #ifdef __STDC__
   4219 # include <limits.h>
   4220 #else
   4221 # include <assert.h>
   4222 #endif
   4223 		     Syntax error
   4224 _ACEOF
   4225 if ac_fn_c_try_cpp "$LINENO"; then :
   4226 
   4227 else
   4228   # Broken: fails on valid input.
   4229 continue
   4230 fi
   4231 rm -f conftest.err conftest.i conftest.$ac_ext
   4232 
   4233   # OK, works on sane cases.  Now check whether nonexistent headers
   4234   # can be detected and how.
   4235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4236 /* end confdefs.h.  */
   4237 #include <ac_nonexistent.h>
   4238 _ACEOF
   4239 if ac_fn_c_try_cpp "$LINENO"; then :
   4240   # Broken: success on invalid input.
   4241 continue
   4242 else
   4243   # Passes both tests.
   4244 ac_preproc_ok=:
   4245 break
   4246 fi
   4247 rm -f conftest.err conftest.i conftest.$ac_ext
   4248 
   4249 done
   4250 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4251 rm -f conftest.i conftest.err conftest.$ac_ext
   4252 if $ac_preproc_ok; then :
   4253   break
   4254 fi
   4255 
   4256     done
   4257     ac_cv_prog_CPP=$CPP
   4258 
   4259 fi
   4260   CPP=$ac_cv_prog_CPP
   4261 else
   4262   ac_cv_prog_CPP=$CPP
   4263 fi
   4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4265 $as_echo "$CPP" >&6; }
   4266 ac_preproc_ok=false
   4267 for ac_c_preproc_warn_flag in '' yes
   4268 do
   4269   # Use a header file that comes with gcc, so configuring glibc
   4270   # with a fresh cross-compiler works.
   4271   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4272   # <limits.h> exists even on freestanding compilers.
   4273   # On the NeXT, cc -E runs the code through the compiler's parser,
   4274   # not just through cpp. "Syntax error" is here to catch this case.
   4275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4276 /* end confdefs.h.  */
   4277 #ifdef __STDC__
   4278 # include <limits.h>
   4279 #else
   4280 # include <assert.h>
   4281 #endif
   4282 		     Syntax error
   4283 _ACEOF
   4284 if ac_fn_c_try_cpp "$LINENO"; then :
   4285 
   4286 else
   4287   # Broken: fails on valid input.
   4288 continue
   4289 fi
   4290 rm -f conftest.err conftest.i conftest.$ac_ext
   4291 
   4292   # OK, works on sane cases.  Now check whether nonexistent headers
   4293   # can be detected and how.
   4294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4295 /* end confdefs.h.  */
   4296 #include <ac_nonexistent.h>
   4297 _ACEOF
   4298 if ac_fn_c_try_cpp "$LINENO"; then :
   4299   # Broken: success on invalid input.
   4300 continue
   4301 else
   4302   # Passes both tests.
   4303 ac_preproc_ok=:
   4304 break
   4305 fi
   4306 rm -f conftest.err conftest.i conftest.$ac_ext
   4307 
   4308 done
   4309 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4310 rm -f conftest.i conftest.err conftest.$ac_ext
   4311 if $ac_preproc_ok; then :
   4312 
   4313 else
   4314   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4316 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4317 See \`config.log' for more details" "$LINENO" 5; }
   4318 fi
   4319 
   4320 ac_ext=c
   4321 ac_cpp='$CPP $CPPFLAGS'
   4322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4325 
   4326 
   4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4328 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4329 if ${ac_cv_path_GREP+:} false; then :
   4330   $as_echo_n "(cached) " >&6
   4331 else
   4332   if test -z "$GREP"; then
   4333   ac_path_GREP_found=false
   4334   # Loop through the user's path and test for each of PROGNAME-LIST
   4335   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4336 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4337 do
   4338   IFS=$as_save_IFS
   4339   test -z "$as_dir" && as_dir=.
   4340     for ac_prog in grep ggrep; do
   4341     for ac_exec_ext in '' $ac_executable_extensions; do
   4342       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4343       as_fn_executable_p "$ac_path_GREP" || continue
   4344 # Check for GNU ac_path_GREP and select it if it is found.
   4345   # Check for GNU $ac_path_GREP
   4346 case `"$ac_path_GREP" --version 2>&1` in
   4347 *GNU*)
   4348   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4349 *)
   4350   ac_count=0
   4351   $as_echo_n 0123456789 >"conftest.in"
   4352   while :
   4353   do
   4354     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4355     mv "conftest.tmp" "conftest.in"
   4356     cp "conftest.in" "conftest.nl"
   4357     $as_echo 'GREP' >> "conftest.nl"
   4358     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4359     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4360     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4361     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4362       # Best one so far, save it but keep looking for a better one
   4363       ac_cv_path_GREP="$ac_path_GREP"
   4364       ac_path_GREP_max=$ac_count
   4365     fi
   4366     # 10*(2^10) chars as input seems more than enough
   4367     test $ac_count -gt 10 && break
   4368   done
   4369   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4370 esac
   4371 
   4372       $ac_path_GREP_found && break 3
   4373     done
   4374   done
   4375   done
   4376 IFS=$as_save_IFS
   4377   if test -z "$ac_cv_path_GREP"; then
   4378     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4379   fi
   4380 else
   4381   ac_cv_path_GREP=$GREP
   4382 fi
   4383 
   4384 fi
   4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4386 $as_echo "$ac_cv_path_GREP" >&6; }
   4387  GREP="$ac_cv_path_GREP"
   4388 
   4389 
   4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4391 $as_echo_n "checking for egrep... " >&6; }
   4392 if ${ac_cv_path_EGREP+:} false; then :
   4393   $as_echo_n "(cached) " >&6
   4394 else
   4395   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4396    then ac_cv_path_EGREP="$GREP -E"
   4397    else
   4398      if test -z "$EGREP"; then
   4399   ac_path_EGREP_found=false
   4400   # Loop through the user's path and test for each of PROGNAME-LIST
   4401   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4402 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4403 do
   4404   IFS=$as_save_IFS
   4405   test -z "$as_dir" && as_dir=.
   4406     for ac_prog in egrep; do
   4407     for ac_exec_ext in '' $ac_executable_extensions; do
   4408       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4409       as_fn_executable_p "$ac_path_EGREP" || continue
   4410 # Check for GNU ac_path_EGREP and select it if it is found.
   4411   # Check for GNU $ac_path_EGREP
   4412 case `"$ac_path_EGREP" --version 2>&1` in
   4413 *GNU*)
   4414   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4415 *)
   4416   ac_count=0
   4417   $as_echo_n 0123456789 >"conftest.in"
   4418   while :
   4419   do
   4420     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4421     mv "conftest.tmp" "conftest.in"
   4422     cp "conftest.in" "conftest.nl"
   4423     $as_echo 'EGREP' >> "conftest.nl"
   4424     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4425     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4426     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4427     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4428       # Best one so far, save it but keep looking for a better one
   4429       ac_cv_path_EGREP="$ac_path_EGREP"
   4430       ac_path_EGREP_max=$ac_count
   4431     fi
   4432     # 10*(2^10) chars as input seems more than enough
   4433     test $ac_count -gt 10 && break
   4434   done
   4435   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4436 esac
   4437 
   4438       $ac_path_EGREP_found && break 3
   4439     done
   4440   done
   4441   done
   4442 IFS=$as_save_IFS
   4443   if test -z "$ac_cv_path_EGREP"; then
   4444     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4445   fi
   4446 else
   4447   ac_cv_path_EGREP=$EGREP
   4448 fi
   4449 
   4450    fi
   4451 fi
   4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4453 $as_echo "$ac_cv_path_EGREP" >&6; }
   4454  EGREP="$ac_cv_path_EGREP"
   4455 
   4456 
   4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4458 $as_echo_n "checking for ANSI C header files... " >&6; }
   4459 if ${ac_cv_header_stdc+:} false; then :
   4460   $as_echo_n "(cached) " >&6
   4461 else
   4462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4463 /* end confdefs.h.  */
   4464 #include <stdlib.h>
   4465 #include <stdarg.h>
   4466 #include <string.h>
   4467 #include <float.h>
   4468 
   4469 int
   4470 main ()
   4471 {
   4472 
   4473   ;
   4474   return 0;
   4475 }
   4476 _ACEOF
   4477 if ac_fn_c_try_compile "$LINENO"; then :
   4478   ac_cv_header_stdc=yes
   4479 else
   4480   ac_cv_header_stdc=no
   4481 fi
   4482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4483 
   4484 if test $ac_cv_header_stdc = yes; then
   4485   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4487 /* end confdefs.h.  */
   4488 #include <string.h>
   4489 
   4490 _ACEOF
   4491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4492   $EGREP "memchr" >/dev/null 2>&1; then :
   4493 
   4494 else
   4495   ac_cv_header_stdc=no
   4496 fi
   4497 rm -f conftest*
   4498 
   4499 fi
   4500 
   4501 if test $ac_cv_header_stdc = yes; then
   4502   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4504 /* end confdefs.h.  */
   4505 #include <stdlib.h>
   4506 
   4507 _ACEOF
   4508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4509   $EGREP "free" >/dev/null 2>&1; then :
   4510 
   4511 else
   4512   ac_cv_header_stdc=no
   4513 fi
   4514 rm -f conftest*
   4515 
   4516 fi
   4517 
   4518 if test $ac_cv_header_stdc = yes; then
   4519   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4520   if test "$cross_compiling" = yes; then :
   4521   :
   4522 else
   4523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4524 /* end confdefs.h.  */
   4525 #include <ctype.h>
   4526 #include <stdlib.h>
   4527 #if ((' ' & 0x0FF) == 0x020)
   4528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4530 #else
   4531 # define ISLOWER(c) \
   4532 		   (('a' <= (c) && (c) <= 'i') \
   4533 		     || ('j' <= (c) && (c) <= 'r') \
   4534 		     || ('s' <= (c) && (c) <= 'z'))
   4535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4536 #endif
   4537 
   4538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4539 int
   4540 main ()
   4541 {
   4542   int i;
   4543   for (i = 0; i < 256; i++)
   4544     if (XOR (islower (i), ISLOWER (i))
   4545 	|| toupper (i) != TOUPPER (i))
   4546       return 2;
   4547   return 0;
   4548 }
   4549 _ACEOF
   4550 if ac_fn_c_try_run "$LINENO"; then :
   4551 
   4552 else
   4553   ac_cv_header_stdc=no
   4554 fi
   4555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4556   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4557 fi
   4558 
   4559 fi
   4560 fi
   4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4562 $as_echo "$ac_cv_header_stdc" >&6; }
   4563 if test $ac_cv_header_stdc = yes; then
   4564 
   4565 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4566 
   4567 fi
   4568 
   4569 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4570 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4571 		  inttypes.h stdint.h unistd.h
   4572 do :
   4573   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4574 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4575 "
   4576 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4577   cat >>confdefs.h <<_ACEOF
   4578 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4579 _ACEOF
   4580 
   4581 fi
   4582 
   4583 done
   4584 
   4585 
   4586 
   4587 
   4588 
   4589 
   4590 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4591 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4592   CLANGCC="yes"
   4593 else
   4594   CLANGCC="no"
   4595 fi
   4596 
   4597 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4598 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4599   INTELCC="yes"
   4600 else
   4601   INTELCC="no"
   4602 fi
   4603 
   4604 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4605 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4606   SUNCC="yes"
   4607 else
   4608   SUNCC="no"
   4609 fi
   4610 
   4611 
   4612 
   4613 
   4614 
   4615 
   4616 
   4617 
   4618 
   4619 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4620 	if test -n "$ac_tool_prefix"; then
   4621   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4622 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4624 $as_echo_n "checking for $ac_word... " >&6; }
   4625 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4626   $as_echo_n "(cached) " >&6
   4627 else
   4628   case $PKG_CONFIG in
   4629   [\\/]* | ?:[\\/]*)
   4630   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4631   ;;
   4632   *)
   4633   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4634 for as_dir in $PATH
   4635 do
   4636   IFS=$as_save_IFS
   4637   test -z "$as_dir" && as_dir=.
   4638     for ac_exec_ext in '' $ac_executable_extensions; do
   4639   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4640     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4642     break 2
   4643   fi
   4644 done
   4645   done
   4646 IFS=$as_save_IFS
   4647 
   4648   ;;
   4649 esac
   4650 fi
   4651 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4652 if test -n "$PKG_CONFIG"; then
   4653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4654 $as_echo "$PKG_CONFIG" >&6; }
   4655 else
   4656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4657 $as_echo "no" >&6; }
   4658 fi
   4659 
   4660 
   4661 fi
   4662 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4663   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4664   # Extract the first word of "pkg-config", so it can be a program name with args.
   4665 set dummy pkg-config; ac_word=$2
   4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4667 $as_echo_n "checking for $ac_word... " >&6; }
   4668 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4669   $as_echo_n "(cached) " >&6
   4670 else
   4671   case $ac_pt_PKG_CONFIG in
   4672   [\\/]* | ?:[\\/]*)
   4673   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4674   ;;
   4675   *)
   4676   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4677 for as_dir in $PATH
   4678 do
   4679   IFS=$as_save_IFS
   4680   test -z "$as_dir" && as_dir=.
   4681     for ac_exec_ext in '' $ac_executable_extensions; do
   4682   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4683     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4685     break 2
   4686   fi
   4687 done
   4688   done
   4689 IFS=$as_save_IFS
   4690 
   4691   ;;
   4692 esac
   4693 fi
   4694 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4695 if test -n "$ac_pt_PKG_CONFIG"; then
   4696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4697 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4698 else
   4699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4700 $as_echo "no" >&6; }
   4701 fi
   4702 
   4703   if test "x$ac_pt_PKG_CONFIG" = x; then
   4704     PKG_CONFIG=""
   4705   else
   4706     case $cross_compiling:$ac_tool_warned in
   4707 yes:)
   4708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4710 ac_tool_warned=yes ;;
   4711 esac
   4712     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4713   fi
   4714 else
   4715   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4716 fi
   4717 
   4718 fi
   4719 if test -n "$PKG_CONFIG"; then
   4720 	_pkg_min_version=0.9.0
   4721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4722 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4723 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4724 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4725 $as_echo "yes" >&6; }
   4726 	else
   4727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4728 $as_echo "no" >&6; }
   4729 		PKG_CONFIG=""
   4730 	fi
   4731 fi
   4732 # Make sure we can run config.sub.
   4733 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4734   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4735 
   4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4737 $as_echo_n "checking build system type... " >&6; }
   4738 if ${ac_cv_build+:} false; then :
   4739   $as_echo_n "(cached) " >&6
   4740 else
   4741   ac_build_alias=$build_alias
   4742 test "x$ac_build_alias" = x &&
   4743   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4744 test "x$ac_build_alias" = x &&
   4745   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4746 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4747   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4748 
   4749 fi
   4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4751 $as_echo "$ac_cv_build" >&6; }
   4752 case $ac_cv_build in
   4753 *-*-*) ;;
   4754 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4755 esac
   4756 build=$ac_cv_build
   4757 ac_save_IFS=$IFS; IFS='-'
   4758 set x $ac_cv_build
   4759 shift
   4760 build_cpu=$1
   4761 build_vendor=$2
   4762 shift; shift
   4763 # Remember, the first character of IFS is used to create $*,
   4764 # except with old shells:
   4765 build_os=$*
   4766 IFS=$ac_save_IFS
   4767 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4768 
   4769 
   4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4771 $as_echo_n "checking host system type... " >&6; }
   4772 if ${ac_cv_host+:} false; then :
   4773   $as_echo_n "(cached) " >&6
   4774 else
   4775   if test "x$host_alias" = x; then
   4776   ac_cv_host=$ac_cv_build
   4777 else
   4778   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4779     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4780 fi
   4781 
   4782 fi
   4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4784 $as_echo "$ac_cv_host" >&6; }
   4785 case $ac_cv_host in
   4786 *-*-*) ;;
   4787 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4788 esac
   4789 host=$ac_cv_host
   4790 ac_save_IFS=$IFS; IFS='-'
   4791 set x $ac_cv_host
   4792 shift
   4793 host_cpu=$1
   4794 host_vendor=$2
   4795 shift; shift
   4796 # Remember, the first character of IFS is used to create $*,
   4797 # except with old shells:
   4798 host_os=$*
   4799 IFS=$ac_save_IFS
   4800 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4801 
   4802 
   4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4804 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4805 if ${ac_cv_path_SED+:} false; then :
   4806   $as_echo_n "(cached) " >&6
   4807 else
   4808             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4809      for ac_i in 1 2 3 4 5 6 7; do
   4810        ac_script="$ac_script$as_nl$ac_script"
   4811      done
   4812      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4813      { ac_script=; unset ac_script;}
   4814      if test -z "$SED"; then
   4815   ac_path_SED_found=false
   4816   # Loop through the user's path and test for each of PROGNAME-LIST
   4817   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4818 for as_dir in $PATH
   4819 do
   4820   IFS=$as_save_IFS
   4821   test -z "$as_dir" && as_dir=.
   4822     for ac_prog in sed gsed; do
   4823     for ac_exec_ext in '' $ac_executable_extensions; do
   4824       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4825       as_fn_executable_p "$ac_path_SED" || continue
   4826 # Check for GNU ac_path_SED and select it if it is found.
   4827   # Check for GNU $ac_path_SED
   4828 case `"$ac_path_SED" --version 2>&1` in
   4829 *GNU*)
   4830   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4831 *)
   4832   ac_count=0
   4833   $as_echo_n 0123456789 >"conftest.in"
   4834   while :
   4835   do
   4836     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4837     mv "conftest.tmp" "conftest.in"
   4838     cp "conftest.in" "conftest.nl"
   4839     $as_echo '' >> "conftest.nl"
   4840     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4841     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4842     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4843     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4844       # Best one so far, save it but keep looking for a better one
   4845       ac_cv_path_SED="$ac_path_SED"
   4846       ac_path_SED_max=$ac_count
   4847     fi
   4848     # 10*(2^10) chars as input seems more than enough
   4849     test $ac_count -gt 10 && break
   4850   done
   4851   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4852 esac
   4853 
   4854       $ac_path_SED_found && break 3
   4855     done
   4856   done
   4857   done
   4858 IFS=$as_save_IFS
   4859   if test -z "$ac_cv_path_SED"; then
   4860     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4861   fi
   4862 else
   4863   ac_cv_path_SED=$SED
   4864 fi
   4865 
   4866 fi
   4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4868 $as_echo "$ac_cv_path_SED" >&6; }
   4869  SED="$ac_cv_path_SED"
   4870   rm -f conftest.sed
   4871 
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 # Check whether --enable-selective-werror was given.
   4878 if test "${enable_selective_werror+set}" = set; then :
   4879   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4880 else
   4881   SELECTIVE_WERROR=yes
   4882 fi
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4889 if test "x$SUNCC" = "xyes"; then
   4890     BASE_CFLAGS="-v"
   4891 else
   4892     BASE_CFLAGS=""
   4893 fi
   4894 
   4895 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 
   4909 xorg_testset_save_CFLAGS="$CFLAGS"
   4910 
   4911 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4912 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4914 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4915 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4916   $as_echo_n "(cached) " >&6
   4917 else
   4918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4919 /* end confdefs.h.  */
   4920 int i;
   4921 _ACEOF
   4922 if ac_fn_c_try_compile "$LINENO"; then :
   4923   xorg_cv_cc_flag_unknown_warning_option=yes
   4924 else
   4925   xorg_cv_cc_flag_unknown_warning_option=no
   4926 fi
   4927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4928 fi
   4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4930 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4931 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4932 	CFLAGS="$xorg_testset_save_CFLAGS"
   4933 fi
   4934 
   4935 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4936 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4937 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4938 	fi
   4939 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4940 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4941 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4942 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4943   $as_echo_n "(cached) " >&6
   4944 else
   4945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4946 /* end confdefs.h.  */
   4947 int i;
   4948 _ACEOF
   4949 if ac_fn_c_try_compile "$LINENO"; then :
   4950   xorg_cv_cc_flag_unused_command_line_argument=yes
   4951 else
   4952   xorg_cv_cc_flag_unused_command_line_argument=no
   4953 fi
   4954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4955 fi
   4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4957 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4958 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4959 	CFLAGS="$xorg_testset_save_CFLAGS"
   4960 fi
   4961 
   4962 found="no"
   4963 
   4964 	if test $found = "no" ; then
   4965 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4966 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4967 		fi
   4968 
   4969 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4970 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4971 		fi
   4972 
   4973 		CFLAGS="$CFLAGS -Wall"
   4974 
   4975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4976 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4977 		cacheid=xorg_cv_cc_flag__Wall
   4978 		if eval \${$cacheid+:} false; then :
   4979   $as_echo_n "(cached) " >&6
   4980 else
   4981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4982 /* end confdefs.h.  */
   4983 int i;
   4984 int
   4985 main ()
   4986 {
   4987 
   4988   ;
   4989   return 0;
   4990 }
   4991 _ACEOF
   4992 if ac_fn_c_try_link "$LINENO"; then :
   4993   eval $cacheid=yes
   4994 else
   4995   eval $cacheid=no
   4996 fi
   4997 rm -f core conftest.err conftest.$ac_objext \
   4998     conftest$ac_exeext conftest.$ac_ext
   4999 fi
   5000 
   5001 
   5002 		CFLAGS="$xorg_testset_save_CFLAGS"
   5003 
   5004 		eval supported=\$$cacheid
   5005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5006 $as_echo "$supported" >&6; }
   5007 		if test "$supported" = "yes" ; then
   5008 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5009 			found="yes"
   5010 		fi
   5011 	fi
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 xorg_testset_save_CFLAGS="$CFLAGS"
   5028 
   5029 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5030 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5032 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5033 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5034   $as_echo_n "(cached) " >&6
   5035 else
   5036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5037 /* end confdefs.h.  */
   5038 int i;
   5039 _ACEOF
   5040 if ac_fn_c_try_compile "$LINENO"; then :
   5041   xorg_cv_cc_flag_unknown_warning_option=yes
   5042 else
   5043   xorg_cv_cc_flag_unknown_warning_option=no
   5044 fi
   5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5046 fi
   5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5048 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5049 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5050 	CFLAGS="$xorg_testset_save_CFLAGS"
   5051 fi
   5052 
   5053 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5054 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5055 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5056 	fi
   5057 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5059 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5060 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5061   $as_echo_n "(cached) " >&6
   5062 else
   5063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5064 /* end confdefs.h.  */
   5065 int i;
   5066 _ACEOF
   5067 if ac_fn_c_try_compile "$LINENO"; then :
   5068   xorg_cv_cc_flag_unused_command_line_argument=yes
   5069 else
   5070   xorg_cv_cc_flag_unused_command_line_argument=no
   5071 fi
   5072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5073 fi
   5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5075 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5076 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5077 	CFLAGS="$xorg_testset_save_CFLAGS"
   5078 fi
   5079 
   5080 found="no"
   5081 
   5082 	if test $found = "no" ; then
   5083 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5085 		fi
   5086 
   5087 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5089 		fi
   5090 
   5091 		CFLAGS="$CFLAGS -Wpointer-arith"
   5092 
   5093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5094 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5095 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5096 		if eval \${$cacheid+:} false; then :
   5097   $as_echo_n "(cached) " >&6
   5098 else
   5099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5100 /* end confdefs.h.  */
   5101 int i;
   5102 int
   5103 main ()
   5104 {
   5105 
   5106   ;
   5107   return 0;
   5108 }
   5109 _ACEOF
   5110 if ac_fn_c_try_link "$LINENO"; then :
   5111   eval $cacheid=yes
   5112 else
   5113   eval $cacheid=no
   5114 fi
   5115 rm -f core conftest.err conftest.$ac_objext \
   5116     conftest$ac_exeext conftest.$ac_ext
   5117 fi
   5118 
   5119 
   5120 		CFLAGS="$xorg_testset_save_CFLAGS"
   5121 
   5122 		eval supported=\$$cacheid
   5123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5124 $as_echo "$supported" >&6; }
   5125 		if test "$supported" = "yes" ; then
   5126 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5127 			found="yes"
   5128 		fi
   5129 	fi
   5130 
   5131 
   5132 
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 xorg_testset_save_CFLAGS="$CFLAGS"
   5146 
   5147 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5148 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5149 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5150 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5151 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5152   $as_echo_n "(cached) " >&6
   5153 else
   5154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5155 /* end confdefs.h.  */
   5156 int i;
   5157 _ACEOF
   5158 if ac_fn_c_try_compile "$LINENO"; then :
   5159   xorg_cv_cc_flag_unknown_warning_option=yes
   5160 else
   5161   xorg_cv_cc_flag_unknown_warning_option=no
   5162 fi
   5163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5164 fi
   5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5166 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5167 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5168 	CFLAGS="$xorg_testset_save_CFLAGS"
   5169 fi
   5170 
   5171 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5172 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5173 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5174 	fi
   5175 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5177 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5178 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5179   $as_echo_n "(cached) " >&6
   5180 else
   5181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5182 /* end confdefs.h.  */
   5183 int i;
   5184 _ACEOF
   5185 if ac_fn_c_try_compile "$LINENO"; then :
   5186   xorg_cv_cc_flag_unused_command_line_argument=yes
   5187 else
   5188   xorg_cv_cc_flag_unused_command_line_argument=no
   5189 fi
   5190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5191 fi
   5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5193 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5194 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5195 	CFLAGS="$xorg_testset_save_CFLAGS"
   5196 fi
   5197 
   5198 found="no"
   5199 
   5200 	if test $found = "no" ; then
   5201 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5202 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5203 		fi
   5204 
   5205 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5206 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5207 		fi
   5208 
   5209 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5210 
   5211 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5212 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5213 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5214 		if eval \${$cacheid+:} false; then :
   5215   $as_echo_n "(cached) " >&6
   5216 else
   5217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5218 /* end confdefs.h.  */
   5219 int i;
   5220 int
   5221 main ()
   5222 {
   5223 
   5224   ;
   5225   return 0;
   5226 }
   5227 _ACEOF
   5228 if ac_fn_c_try_link "$LINENO"; then :
   5229   eval $cacheid=yes
   5230 else
   5231   eval $cacheid=no
   5232 fi
   5233 rm -f core conftest.err conftest.$ac_objext \
   5234     conftest$ac_exeext conftest.$ac_ext
   5235 fi
   5236 
   5237 
   5238 		CFLAGS="$xorg_testset_save_CFLAGS"
   5239 
   5240 		eval supported=\$$cacheid
   5241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5242 $as_echo "$supported" >&6; }
   5243 		if test "$supported" = "yes" ; then
   5244 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5245 			found="yes"
   5246 		fi
   5247 	fi
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 xorg_testset_save_CFLAGS="$CFLAGS"
   5264 
   5265 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5266 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5267 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5268 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5269 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5270   $as_echo_n "(cached) " >&6
   5271 else
   5272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5273 /* end confdefs.h.  */
   5274 int i;
   5275 _ACEOF
   5276 if ac_fn_c_try_compile "$LINENO"; then :
   5277   xorg_cv_cc_flag_unknown_warning_option=yes
   5278 else
   5279   xorg_cv_cc_flag_unknown_warning_option=no
   5280 fi
   5281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5282 fi
   5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5284 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5285 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5286 	CFLAGS="$xorg_testset_save_CFLAGS"
   5287 fi
   5288 
   5289 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5290 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5291 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5292 	fi
   5293 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5295 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5296 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5297   $as_echo_n "(cached) " >&6
   5298 else
   5299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5300 /* end confdefs.h.  */
   5301 int i;
   5302 _ACEOF
   5303 if ac_fn_c_try_compile "$LINENO"; then :
   5304   xorg_cv_cc_flag_unused_command_line_argument=yes
   5305 else
   5306   xorg_cv_cc_flag_unused_command_line_argument=no
   5307 fi
   5308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5309 fi
   5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5311 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5312 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5313 	CFLAGS="$xorg_testset_save_CFLAGS"
   5314 fi
   5315 
   5316 found="no"
   5317 
   5318 	if test $found = "no" ; then
   5319 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5320 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5321 		fi
   5322 
   5323 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5324 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5325 		fi
   5326 
   5327 		CFLAGS="$CFLAGS -Wformat=2"
   5328 
   5329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5330 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5331 		cacheid=xorg_cv_cc_flag__Wformat_2
   5332 		if eval \${$cacheid+:} false; then :
   5333   $as_echo_n "(cached) " >&6
   5334 else
   5335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5336 /* end confdefs.h.  */
   5337 int i;
   5338 int
   5339 main ()
   5340 {
   5341 
   5342   ;
   5343   return 0;
   5344 }
   5345 _ACEOF
   5346 if ac_fn_c_try_link "$LINENO"; then :
   5347   eval $cacheid=yes
   5348 else
   5349   eval $cacheid=no
   5350 fi
   5351 rm -f core conftest.err conftest.$ac_objext \
   5352     conftest$ac_exeext conftest.$ac_ext
   5353 fi
   5354 
   5355 
   5356 		CFLAGS="$xorg_testset_save_CFLAGS"
   5357 
   5358 		eval supported=\$$cacheid
   5359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5360 $as_echo "$supported" >&6; }
   5361 		if test "$supported" = "yes" ; then
   5362 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5363 			found="yes"
   5364 		fi
   5365 	fi
   5366 
   5367 	if test $found = "no" ; then
   5368 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5369 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5370 		fi
   5371 
   5372 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5373 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5374 		fi
   5375 
   5376 		CFLAGS="$CFLAGS -Wformat"
   5377 
   5378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5379 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5380 		cacheid=xorg_cv_cc_flag__Wformat
   5381 		if eval \${$cacheid+:} false; then :
   5382   $as_echo_n "(cached) " >&6
   5383 else
   5384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5385 /* end confdefs.h.  */
   5386 int i;
   5387 int
   5388 main ()
   5389 {
   5390 
   5391   ;
   5392   return 0;
   5393 }
   5394 _ACEOF
   5395 if ac_fn_c_try_link "$LINENO"; then :
   5396   eval $cacheid=yes
   5397 else
   5398   eval $cacheid=no
   5399 fi
   5400 rm -f core conftest.err conftest.$ac_objext \
   5401     conftest$ac_exeext conftest.$ac_ext
   5402 fi
   5403 
   5404 
   5405 		CFLAGS="$xorg_testset_save_CFLAGS"
   5406 
   5407 		eval supported=\$$cacheid
   5408 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5409 $as_echo "$supported" >&6; }
   5410 		if test "$supported" = "yes" ; then
   5411 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5412 			found="yes"
   5413 		fi
   5414 	fi
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 xorg_testset_save_CFLAGS="$CFLAGS"
   5433 
   5434 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5435 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5436 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5437 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5438 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5439   $as_echo_n "(cached) " >&6
   5440 else
   5441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5442 /* end confdefs.h.  */
   5443 int i;
   5444 _ACEOF
   5445 if ac_fn_c_try_compile "$LINENO"; then :
   5446   xorg_cv_cc_flag_unknown_warning_option=yes
   5447 else
   5448   xorg_cv_cc_flag_unknown_warning_option=no
   5449 fi
   5450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5451 fi
   5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5453 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5454 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5455 	CFLAGS="$xorg_testset_save_CFLAGS"
   5456 fi
   5457 
   5458 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5459 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5460 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5461 	fi
   5462 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5463 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5464 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5465 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5466   $as_echo_n "(cached) " >&6
   5467 else
   5468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5469 /* end confdefs.h.  */
   5470 int i;
   5471 _ACEOF
   5472 if ac_fn_c_try_compile "$LINENO"; then :
   5473   xorg_cv_cc_flag_unused_command_line_argument=yes
   5474 else
   5475   xorg_cv_cc_flag_unused_command_line_argument=no
   5476 fi
   5477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5478 fi
   5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5480 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5481 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5482 	CFLAGS="$xorg_testset_save_CFLAGS"
   5483 fi
   5484 
   5485 found="no"
   5486 
   5487 	if test $found = "no" ; then
   5488 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5489 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5490 		fi
   5491 
   5492 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5493 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5494 		fi
   5495 
   5496 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5497 
   5498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5499 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5500 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5501 		if eval \${$cacheid+:} false; then :
   5502   $as_echo_n "(cached) " >&6
   5503 else
   5504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5505 /* end confdefs.h.  */
   5506 int i;
   5507 int
   5508 main ()
   5509 {
   5510 
   5511   ;
   5512   return 0;
   5513 }
   5514 _ACEOF
   5515 if ac_fn_c_try_link "$LINENO"; then :
   5516   eval $cacheid=yes
   5517 else
   5518   eval $cacheid=no
   5519 fi
   5520 rm -f core conftest.err conftest.$ac_objext \
   5521     conftest$ac_exeext conftest.$ac_ext
   5522 fi
   5523 
   5524 
   5525 		CFLAGS="$xorg_testset_save_CFLAGS"
   5526 
   5527 		eval supported=\$$cacheid
   5528 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5529 $as_echo "$supported" >&6; }
   5530 		if test "$supported" = "yes" ; then
   5531 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5532 			found="yes"
   5533 		fi
   5534 	fi
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 xorg_testset_save_CFLAGS="$CFLAGS"
   5551 
   5552 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5553 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5554 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5555 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5556 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5557   $as_echo_n "(cached) " >&6
   5558 else
   5559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5560 /* end confdefs.h.  */
   5561 int i;
   5562 _ACEOF
   5563 if ac_fn_c_try_compile "$LINENO"; then :
   5564   xorg_cv_cc_flag_unknown_warning_option=yes
   5565 else
   5566   xorg_cv_cc_flag_unknown_warning_option=no
   5567 fi
   5568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5569 fi
   5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5571 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5572 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5573 	CFLAGS="$xorg_testset_save_CFLAGS"
   5574 fi
   5575 
   5576 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5577 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5578 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5579 	fi
   5580 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5582 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5583 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5584   $as_echo_n "(cached) " >&6
   5585 else
   5586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5587 /* end confdefs.h.  */
   5588 int i;
   5589 _ACEOF
   5590 if ac_fn_c_try_compile "$LINENO"; then :
   5591   xorg_cv_cc_flag_unused_command_line_argument=yes
   5592 else
   5593   xorg_cv_cc_flag_unused_command_line_argument=no
   5594 fi
   5595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5596 fi
   5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5598 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5599 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5600 	CFLAGS="$xorg_testset_save_CFLAGS"
   5601 fi
   5602 
   5603 found="no"
   5604 
   5605 	if test $found = "no" ; then
   5606 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5607 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5608 		fi
   5609 
   5610 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5611 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5612 		fi
   5613 
   5614 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5615 
   5616 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5617 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5618 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5619 		if eval \${$cacheid+:} false; then :
   5620   $as_echo_n "(cached) " >&6
   5621 else
   5622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5623 /* end confdefs.h.  */
   5624 int i;
   5625 int
   5626 main ()
   5627 {
   5628 
   5629   ;
   5630   return 0;
   5631 }
   5632 _ACEOF
   5633 if ac_fn_c_try_link "$LINENO"; then :
   5634   eval $cacheid=yes
   5635 else
   5636   eval $cacheid=no
   5637 fi
   5638 rm -f core conftest.err conftest.$ac_objext \
   5639     conftest$ac_exeext conftest.$ac_ext
   5640 fi
   5641 
   5642 
   5643 		CFLAGS="$xorg_testset_save_CFLAGS"
   5644 
   5645 		eval supported=\$$cacheid
   5646 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5647 $as_echo "$supported" >&6; }
   5648 		if test "$supported" = "yes" ; then
   5649 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5650 			found="yes"
   5651 		fi
   5652 	fi
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 xorg_testset_save_CFLAGS="$CFLAGS"
   5669 
   5670 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5671 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5672 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5673 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5674 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5675   $as_echo_n "(cached) " >&6
   5676 else
   5677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5678 /* end confdefs.h.  */
   5679 int i;
   5680 _ACEOF
   5681 if ac_fn_c_try_compile "$LINENO"; then :
   5682   xorg_cv_cc_flag_unknown_warning_option=yes
   5683 else
   5684   xorg_cv_cc_flag_unknown_warning_option=no
   5685 fi
   5686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5687 fi
   5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5689 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5690 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5691 	CFLAGS="$xorg_testset_save_CFLAGS"
   5692 fi
   5693 
   5694 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5695 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5696 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5697 	fi
   5698 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5699 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5700 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5701 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5702   $as_echo_n "(cached) " >&6
   5703 else
   5704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5705 /* end confdefs.h.  */
   5706 int i;
   5707 _ACEOF
   5708 if ac_fn_c_try_compile "$LINENO"; then :
   5709   xorg_cv_cc_flag_unused_command_line_argument=yes
   5710 else
   5711   xorg_cv_cc_flag_unused_command_line_argument=no
   5712 fi
   5713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5714 fi
   5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5716 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5717 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5718 	CFLAGS="$xorg_testset_save_CFLAGS"
   5719 fi
   5720 
   5721 found="no"
   5722 
   5723 	if test $found = "no" ; then
   5724 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5725 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5726 		fi
   5727 
   5728 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5729 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5730 		fi
   5731 
   5732 		CFLAGS="$CFLAGS -Wnested-externs"
   5733 
   5734 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5735 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5736 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5737 		if eval \${$cacheid+:} false; then :
   5738   $as_echo_n "(cached) " >&6
   5739 else
   5740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5741 /* end confdefs.h.  */
   5742 int i;
   5743 int
   5744 main ()
   5745 {
   5746 
   5747   ;
   5748   return 0;
   5749 }
   5750 _ACEOF
   5751 if ac_fn_c_try_link "$LINENO"; then :
   5752   eval $cacheid=yes
   5753 else
   5754   eval $cacheid=no
   5755 fi
   5756 rm -f core conftest.err conftest.$ac_objext \
   5757     conftest$ac_exeext conftest.$ac_ext
   5758 fi
   5759 
   5760 
   5761 		CFLAGS="$xorg_testset_save_CFLAGS"
   5762 
   5763 		eval supported=\$$cacheid
   5764 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5765 $as_echo "$supported" >&6; }
   5766 		if test "$supported" = "yes" ; then
   5767 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5768 			found="yes"
   5769 		fi
   5770 	fi
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 xorg_testset_save_CFLAGS="$CFLAGS"
   5787 
   5788 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5789 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5790 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5791 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5792 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5793   $as_echo_n "(cached) " >&6
   5794 else
   5795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5796 /* end confdefs.h.  */
   5797 int i;
   5798 _ACEOF
   5799 if ac_fn_c_try_compile "$LINENO"; then :
   5800   xorg_cv_cc_flag_unknown_warning_option=yes
   5801 else
   5802   xorg_cv_cc_flag_unknown_warning_option=no
   5803 fi
   5804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5805 fi
   5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5807 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5808 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5809 	CFLAGS="$xorg_testset_save_CFLAGS"
   5810 fi
   5811 
   5812 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5813 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5814 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5815 	fi
   5816 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5818 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5819 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5820   $as_echo_n "(cached) " >&6
   5821 else
   5822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5823 /* end confdefs.h.  */
   5824 int i;
   5825 _ACEOF
   5826 if ac_fn_c_try_compile "$LINENO"; then :
   5827   xorg_cv_cc_flag_unused_command_line_argument=yes
   5828 else
   5829   xorg_cv_cc_flag_unused_command_line_argument=no
   5830 fi
   5831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5832 fi
   5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5834 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5835 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5836 	CFLAGS="$xorg_testset_save_CFLAGS"
   5837 fi
   5838 
   5839 found="no"
   5840 
   5841 	if test $found = "no" ; then
   5842 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5843 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5844 		fi
   5845 
   5846 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5847 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5848 		fi
   5849 
   5850 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5851 
   5852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5853 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5854 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5855 		if eval \${$cacheid+:} false; then :
   5856   $as_echo_n "(cached) " >&6
   5857 else
   5858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5859 /* end confdefs.h.  */
   5860 int i;
   5861 int
   5862 main ()
   5863 {
   5864 
   5865   ;
   5866   return 0;
   5867 }
   5868 _ACEOF
   5869 if ac_fn_c_try_link "$LINENO"; then :
   5870   eval $cacheid=yes
   5871 else
   5872   eval $cacheid=no
   5873 fi
   5874 rm -f core conftest.err conftest.$ac_objext \
   5875     conftest$ac_exeext conftest.$ac_ext
   5876 fi
   5877 
   5878 
   5879 		CFLAGS="$xorg_testset_save_CFLAGS"
   5880 
   5881 		eval supported=\$$cacheid
   5882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5883 $as_echo "$supported" >&6; }
   5884 		if test "$supported" = "yes" ; then
   5885 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5886 			found="yes"
   5887 		fi
   5888 	fi
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 xorg_testset_save_CFLAGS="$CFLAGS"
   5905 
   5906 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5907 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5909 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5910 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5911   $as_echo_n "(cached) " >&6
   5912 else
   5913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5914 /* end confdefs.h.  */
   5915 int i;
   5916 _ACEOF
   5917 if ac_fn_c_try_compile "$LINENO"; then :
   5918   xorg_cv_cc_flag_unknown_warning_option=yes
   5919 else
   5920   xorg_cv_cc_flag_unknown_warning_option=no
   5921 fi
   5922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5923 fi
   5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5925 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5926 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5927 	CFLAGS="$xorg_testset_save_CFLAGS"
   5928 fi
   5929 
   5930 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5931 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5932 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5933 	fi
   5934 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5936 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5937 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5938   $as_echo_n "(cached) " >&6
   5939 else
   5940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5941 /* end confdefs.h.  */
   5942 int i;
   5943 _ACEOF
   5944 if ac_fn_c_try_compile "$LINENO"; then :
   5945   xorg_cv_cc_flag_unused_command_line_argument=yes
   5946 else
   5947   xorg_cv_cc_flag_unused_command_line_argument=no
   5948 fi
   5949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5950 fi
   5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5952 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5953 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5954 	CFLAGS="$xorg_testset_save_CFLAGS"
   5955 fi
   5956 
   5957 found="no"
   5958 
   5959 	if test $found = "no" ; then
   5960 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5961 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5962 		fi
   5963 
   5964 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5965 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5966 		fi
   5967 
   5968 		CFLAGS="$CFLAGS -Wold-style-definition"
   5969 
   5970 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5971 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5972 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5973 		if eval \${$cacheid+:} false; then :
   5974   $as_echo_n "(cached) " >&6
   5975 else
   5976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5977 /* end confdefs.h.  */
   5978 int i;
   5979 int
   5980 main ()
   5981 {
   5982 
   5983   ;
   5984   return 0;
   5985 }
   5986 _ACEOF
   5987 if ac_fn_c_try_link "$LINENO"; then :
   5988   eval $cacheid=yes
   5989 else
   5990   eval $cacheid=no
   5991 fi
   5992 rm -f core conftest.err conftest.$ac_objext \
   5993     conftest$ac_exeext conftest.$ac_ext
   5994 fi
   5995 
   5996 
   5997 		CFLAGS="$xorg_testset_save_CFLAGS"
   5998 
   5999 		eval supported=\$$cacheid
   6000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6001 $as_echo "$supported" >&6; }
   6002 		if test "$supported" = "yes" ; then
   6003 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6004 			found="yes"
   6005 		fi
   6006 	fi
   6007 
   6008 	if test $found = "no" ; then
   6009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6011 		fi
   6012 
   6013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6015 		fi
   6016 
   6017 		CFLAGS="$CFLAGS -fd"
   6018 
   6019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6020 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6021 		cacheid=xorg_cv_cc_flag__fd
   6022 		if eval \${$cacheid+:} false; then :
   6023   $as_echo_n "(cached) " >&6
   6024 else
   6025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6026 /* end confdefs.h.  */
   6027 int i;
   6028 int
   6029 main ()
   6030 {
   6031 
   6032   ;
   6033   return 0;
   6034 }
   6035 _ACEOF
   6036 if ac_fn_c_try_link "$LINENO"; then :
   6037   eval $cacheid=yes
   6038 else
   6039   eval $cacheid=no
   6040 fi
   6041 rm -f core conftest.err conftest.$ac_objext \
   6042     conftest$ac_exeext conftest.$ac_ext
   6043 fi
   6044 
   6045 
   6046 		CFLAGS="$xorg_testset_save_CFLAGS"
   6047 
   6048 		eval supported=\$$cacheid
   6049 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6050 $as_echo "$supported" >&6; }
   6051 		if test "$supported" = "yes" ; then
   6052 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6053 			found="yes"
   6054 		fi
   6055 	fi
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 xorg_testset_save_CFLAGS="$CFLAGS"
   6072 
   6073 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6074 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6076 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6077 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6078   $as_echo_n "(cached) " >&6
   6079 else
   6080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6081 /* end confdefs.h.  */
   6082 int i;
   6083 _ACEOF
   6084 if ac_fn_c_try_compile "$LINENO"; then :
   6085   xorg_cv_cc_flag_unknown_warning_option=yes
   6086 else
   6087   xorg_cv_cc_flag_unknown_warning_option=no
   6088 fi
   6089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6090 fi
   6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6092 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6094 	CFLAGS="$xorg_testset_save_CFLAGS"
   6095 fi
   6096 
   6097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6100 	fi
   6101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6103 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6104 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6105   $as_echo_n "(cached) " >&6
   6106 else
   6107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6108 /* end confdefs.h.  */
   6109 int i;
   6110 _ACEOF
   6111 if ac_fn_c_try_compile "$LINENO"; then :
   6112   xorg_cv_cc_flag_unused_command_line_argument=yes
   6113 else
   6114   xorg_cv_cc_flag_unused_command_line_argument=no
   6115 fi
   6116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6117 fi
   6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6119 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6120 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6121 	CFLAGS="$xorg_testset_save_CFLAGS"
   6122 fi
   6123 
   6124 found="no"
   6125 
   6126 	if test $found = "no" ; then
   6127 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6129 		fi
   6130 
   6131 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6133 		fi
   6134 
   6135 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6136 
   6137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6138 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6139 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6140 		if eval \${$cacheid+:} false; then :
   6141   $as_echo_n "(cached) " >&6
   6142 else
   6143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6144 /* end confdefs.h.  */
   6145 int i;
   6146 int
   6147 main ()
   6148 {
   6149 
   6150   ;
   6151   return 0;
   6152 }
   6153 _ACEOF
   6154 if ac_fn_c_try_link "$LINENO"; then :
   6155   eval $cacheid=yes
   6156 else
   6157   eval $cacheid=no
   6158 fi
   6159 rm -f core conftest.err conftest.$ac_objext \
   6160     conftest$ac_exeext conftest.$ac_ext
   6161 fi
   6162 
   6163 
   6164 		CFLAGS="$xorg_testset_save_CFLAGS"
   6165 
   6166 		eval supported=\$$cacheid
   6167 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6168 $as_echo "$supported" >&6; }
   6169 		if test "$supported" = "yes" ; then
   6170 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6171 			found="yes"
   6172 		fi
   6173 	fi
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 # This chunk adds additional warnings that could catch undesired effects.
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 xorg_testset_save_CFLAGS="$CFLAGS"
   6194 
   6195 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6196 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6198 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6199 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6200   $as_echo_n "(cached) " >&6
   6201 else
   6202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6203 /* end confdefs.h.  */
   6204 int i;
   6205 _ACEOF
   6206 if ac_fn_c_try_compile "$LINENO"; then :
   6207   xorg_cv_cc_flag_unknown_warning_option=yes
   6208 else
   6209   xorg_cv_cc_flag_unknown_warning_option=no
   6210 fi
   6211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6212 fi
   6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6214 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6215 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6216 	CFLAGS="$xorg_testset_save_CFLAGS"
   6217 fi
   6218 
   6219 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6220 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6221 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6222 	fi
   6223 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6224 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6225 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6226 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6227   $as_echo_n "(cached) " >&6
   6228 else
   6229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6230 /* end confdefs.h.  */
   6231 int i;
   6232 _ACEOF
   6233 if ac_fn_c_try_compile "$LINENO"; then :
   6234   xorg_cv_cc_flag_unused_command_line_argument=yes
   6235 else
   6236   xorg_cv_cc_flag_unused_command_line_argument=no
   6237 fi
   6238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6239 fi
   6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6241 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6242 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6243 	CFLAGS="$xorg_testset_save_CFLAGS"
   6244 fi
   6245 
   6246 found="no"
   6247 
   6248 	if test $found = "no" ; then
   6249 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6250 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6251 		fi
   6252 
   6253 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6254 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6255 		fi
   6256 
   6257 		CFLAGS="$CFLAGS -Wunused"
   6258 
   6259 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6260 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6261 		cacheid=xorg_cv_cc_flag__Wunused
   6262 		if eval \${$cacheid+:} false; then :
   6263   $as_echo_n "(cached) " >&6
   6264 else
   6265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6266 /* end confdefs.h.  */
   6267 int i;
   6268 int
   6269 main ()
   6270 {
   6271 
   6272   ;
   6273   return 0;
   6274 }
   6275 _ACEOF
   6276 if ac_fn_c_try_link "$LINENO"; then :
   6277   eval $cacheid=yes
   6278 else
   6279   eval $cacheid=no
   6280 fi
   6281 rm -f core conftest.err conftest.$ac_objext \
   6282     conftest$ac_exeext conftest.$ac_ext
   6283 fi
   6284 
   6285 
   6286 		CFLAGS="$xorg_testset_save_CFLAGS"
   6287 
   6288 		eval supported=\$$cacheid
   6289 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6290 $as_echo "$supported" >&6; }
   6291 		if test "$supported" = "yes" ; then
   6292 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6293 			found="yes"
   6294 		fi
   6295 	fi
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 xorg_testset_save_CFLAGS="$CFLAGS"
   6312 
   6313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6316 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6317 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6318   $as_echo_n "(cached) " >&6
   6319 else
   6320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6321 /* end confdefs.h.  */
   6322 int i;
   6323 _ACEOF
   6324 if ac_fn_c_try_compile "$LINENO"; then :
   6325   xorg_cv_cc_flag_unknown_warning_option=yes
   6326 else
   6327   xorg_cv_cc_flag_unknown_warning_option=no
   6328 fi
   6329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6330 fi
   6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6332 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6334 	CFLAGS="$xorg_testset_save_CFLAGS"
   6335 fi
   6336 
   6337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6340 	fi
   6341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6343 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6344 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6345   $as_echo_n "(cached) " >&6
   6346 else
   6347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6348 /* end confdefs.h.  */
   6349 int i;
   6350 _ACEOF
   6351 if ac_fn_c_try_compile "$LINENO"; then :
   6352   xorg_cv_cc_flag_unused_command_line_argument=yes
   6353 else
   6354   xorg_cv_cc_flag_unused_command_line_argument=no
   6355 fi
   6356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6357 fi
   6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6359 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6360 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6361 	CFLAGS="$xorg_testset_save_CFLAGS"
   6362 fi
   6363 
   6364 found="no"
   6365 
   6366 	if test $found = "no" ; then
   6367 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6369 		fi
   6370 
   6371 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6373 		fi
   6374 
   6375 		CFLAGS="$CFLAGS -Wuninitialized"
   6376 
   6377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6378 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6379 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6380 		if eval \${$cacheid+:} false; then :
   6381   $as_echo_n "(cached) " >&6
   6382 else
   6383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6384 /* end confdefs.h.  */
   6385 int i;
   6386 int
   6387 main ()
   6388 {
   6389 
   6390   ;
   6391   return 0;
   6392 }
   6393 _ACEOF
   6394 if ac_fn_c_try_link "$LINENO"; then :
   6395   eval $cacheid=yes
   6396 else
   6397   eval $cacheid=no
   6398 fi
   6399 rm -f core conftest.err conftest.$ac_objext \
   6400     conftest$ac_exeext conftest.$ac_ext
   6401 fi
   6402 
   6403 
   6404 		CFLAGS="$xorg_testset_save_CFLAGS"
   6405 
   6406 		eval supported=\$$cacheid
   6407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6408 $as_echo "$supported" >&6; }
   6409 		if test "$supported" = "yes" ; then
   6410 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6411 			found="yes"
   6412 		fi
   6413 	fi
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 xorg_testset_save_CFLAGS="$CFLAGS"
   6430 
   6431 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6432 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6434 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6435 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6436   $as_echo_n "(cached) " >&6
   6437 else
   6438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6439 /* end confdefs.h.  */
   6440 int i;
   6441 _ACEOF
   6442 if ac_fn_c_try_compile "$LINENO"; then :
   6443   xorg_cv_cc_flag_unknown_warning_option=yes
   6444 else
   6445   xorg_cv_cc_flag_unknown_warning_option=no
   6446 fi
   6447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6448 fi
   6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6450 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6451 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6452 	CFLAGS="$xorg_testset_save_CFLAGS"
   6453 fi
   6454 
   6455 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6456 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6457 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6458 	fi
   6459 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6461 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6462 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6463   $as_echo_n "(cached) " >&6
   6464 else
   6465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6466 /* end confdefs.h.  */
   6467 int i;
   6468 _ACEOF
   6469 if ac_fn_c_try_compile "$LINENO"; then :
   6470   xorg_cv_cc_flag_unused_command_line_argument=yes
   6471 else
   6472   xorg_cv_cc_flag_unused_command_line_argument=no
   6473 fi
   6474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6475 fi
   6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6477 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6478 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6479 	CFLAGS="$xorg_testset_save_CFLAGS"
   6480 fi
   6481 
   6482 found="no"
   6483 
   6484 	if test $found = "no" ; then
   6485 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6487 		fi
   6488 
   6489 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6491 		fi
   6492 
   6493 		CFLAGS="$CFLAGS -Wshadow"
   6494 
   6495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6496 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6497 		cacheid=xorg_cv_cc_flag__Wshadow
   6498 		if eval \${$cacheid+:} false; then :
   6499   $as_echo_n "(cached) " >&6
   6500 else
   6501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6502 /* end confdefs.h.  */
   6503 int i;
   6504 int
   6505 main ()
   6506 {
   6507 
   6508   ;
   6509   return 0;
   6510 }
   6511 _ACEOF
   6512 if ac_fn_c_try_link "$LINENO"; then :
   6513   eval $cacheid=yes
   6514 else
   6515   eval $cacheid=no
   6516 fi
   6517 rm -f core conftest.err conftest.$ac_objext \
   6518     conftest$ac_exeext conftest.$ac_ext
   6519 fi
   6520 
   6521 
   6522 		CFLAGS="$xorg_testset_save_CFLAGS"
   6523 
   6524 		eval supported=\$$cacheid
   6525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6526 $as_echo "$supported" >&6; }
   6527 		if test "$supported" = "yes" ; then
   6528 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6529 			found="yes"
   6530 		fi
   6531 	fi
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 xorg_testset_save_CFLAGS="$CFLAGS"
   6548 
   6549 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6550 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6552 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6553 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6554   $as_echo_n "(cached) " >&6
   6555 else
   6556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6557 /* end confdefs.h.  */
   6558 int i;
   6559 _ACEOF
   6560 if ac_fn_c_try_compile "$LINENO"; then :
   6561   xorg_cv_cc_flag_unknown_warning_option=yes
   6562 else
   6563   xorg_cv_cc_flag_unknown_warning_option=no
   6564 fi
   6565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6566 fi
   6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6568 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6570 	CFLAGS="$xorg_testset_save_CFLAGS"
   6571 fi
   6572 
   6573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6576 	fi
   6577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6579 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6580 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6581   $as_echo_n "(cached) " >&6
   6582 else
   6583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6584 /* end confdefs.h.  */
   6585 int i;
   6586 _ACEOF
   6587 if ac_fn_c_try_compile "$LINENO"; then :
   6588   xorg_cv_cc_flag_unused_command_line_argument=yes
   6589 else
   6590   xorg_cv_cc_flag_unused_command_line_argument=no
   6591 fi
   6592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6593 fi
   6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6595 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6597 	CFLAGS="$xorg_testset_save_CFLAGS"
   6598 fi
   6599 
   6600 found="no"
   6601 
   6602 	if test $found = "no" ; then
   6603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6605 		fi
   6606 
   6607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6609 		fi
   6610 
   6611 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6612 
   6613 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6614 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6615 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6616 		if eval \${$cacheid+:} false; then :
   6617   $as_echo_n "(cached) " >&6
   6618 else
   6619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6620 /* end confdefs.h.  */
   6621 int i;
   6622 int
   6623 main ()
   6624 {
   6625 
   6626   ;
   6627   return 0;
   6628 }
   6629 _ACEOF
   6630 if ac_fn_c_try_link "$LINENO"; then :
   6631   eval $cacheid=yes
   6632 else
   6633   eval $cacheid=no
   6634 fi
   6635 rm -f core conftest.err conftest.$ac_objext \
   6636     conftest$ac_exeext conftest.$ac_ext
   6637 fi
   6638 
   6639 
   6640 		CFLAGS="$xorg_testset_save_CFLAGS"
   6641 
   6642 		eval supported=\$$cacheid
   6643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6644 $as_echo "$supported" >&6; }
   6645 		if test "$supported" = "yes" ; then
   6646 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6647 			found="yes"
   6648 		fi
   6649 	fi
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 xorg_testset_save_CFLAGS="$CFLAGS"
   6666 
   6667 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6668 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6669 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6670 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6671 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6672   $as_echo_n "(cached) " >&6
   6673 else
   6674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6675 /* end confdefs.h.  */
   6676 int i;
   6677 _ACEOF
   6678 if ac_fn_c_try_compile "$LINENO"; then :
   6679   xorg_cv_cc_flag_unknown_warning_option=yes
   6680 else
   6681   xorg_cv_cc_flag_unknown_warning_option=no
   6682 fi
   6683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6684 fi
   6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6686 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6687 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6688 	CFLAGS="$xorg_testset_save_CFLAGS"
   6689 fi
   6690 
   6691 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6692 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6693 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6694 	fi
   6695 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6697 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6698 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6699   $as_echo_n "(cached) " >&6
   6700 else
   6701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6702 /* end confdefs.h.  */
   6703 int i;
   6704 _ACEOF
   6705 if ac_fn_c_try_compile "$LINENO"; then :
   6706   xorg_cv_cc_flag_unused_command_line_argument=yes
   6707 else
   6708   xorg_cv_cc_flag_unused_command_line_argument=no
   6709 fi
   6710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6711 fi
   6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6713 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6714 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6715 	CFLAGS="$xorg_testset_save_CFLAGS"
   6716 fi
   6717 
   6718 found="no"
   6719 
   6720 	if test $found = "no" ; then
   6721 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6722 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6723 		fi
   6724 
   6725 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6726 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6727 		fi
   6728 
   6729 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6730 
   6731 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6732 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6733 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6734 		if eval \${$cacheid+:} false; then :
   6735   $as_echo_n "(cached) " >&6
   6736 else
   6737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6738 /* end confdefs.h.  */
   6739 int i;
   6740 int
   6741 main ()
   6742 {
   6743 
   6744   ;
   6745   return 0;
   6746 }
   6747 _ACEOF
   6748 if ac_fn_c_try_link "$LINENO"; then :
   6749   eval $cacheid=yes
   6750 else
   6751   eval $cacheid=no
   6752 fi
   6753 rm -f core conftest.err conftest.$ac_objext \
   6754     conftest$ac_exeext conftest.$ac_ext
   6755 fi
   6756 
   6757 
   6758 		CFLAGS="$xorg_testset_save_CFLAGS"
   6759 
   6760 		eval supported=\$$cacheid
   6761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6762 $as_echo "$supported" >&6; }
   6763 		if test "$supported" = "yes" ; then
   6764 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6765 			found="yes"
   6766 		fi
   6767 	fi
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 xorg_testset_save_CFLAGS="$CFLAGS"
   6784 
   6785 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6786 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6787 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6788 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6789 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6790   $as_echo_n "(cached) " >&6
   6791 else
   6792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6793 /* end confdefs.h.  */
   6794 int i;
   6795 _ACEOF
   6796 if ac_fn_c_try_compile "$LINENO"; then :
   6797   xorg_cv_cc_flag_unknown_warning_option=yes
   6798 else
   6799   xorg_cv_cc_flag_unknown_warning_option=no
   6800 fi
   6801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6802 fi
   6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6804 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6805 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6806 	CFLAGS="$xorg_testset_save_CFLAGS"
   6807 fi
   6808 
   6809 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6810 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6811 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6812 	fi
   6813 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6815 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6816 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6817   $as_echo_n "(cached) " >&6
   6818 else
   6819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6820 /* end confdefs.h.  */
   6821 int i;
   6822 _ACEOF
   6823 if ac_fn_c_try_compile "$LINENO"; then :
   6824   xorg_cv_cc_flag_unused_command_line_argument=yes
   6825 else
   6826   xorg_cv_cc_flag_unused_command_line_argument=no
   6827 fi
   6828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6829 fi
   6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6831 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6832 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6833 	CFLAGS="$xorg_testset_save_CFLAGS"
   6834 fi
   6835 
   6836 found="no"
   6837 
   6838 	if test $found = "no" ; then
   6839 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6840 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6841 		fi
   6842 
   6843 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6844 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6845 		fi
   6846 
   6847 		CFLAGS="$CFLAGS -Wredundant-decls"
   6848 
   6849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6850 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6851 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6852 		if eval \${$cacheid+:} false; then :
   6853   $as_echo_n "(cached) " >&6
   6854 else
   6855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6856 /* end confdefs.h.  */
   6857 int i;
   6858 int
   6859 main ()
   6860 {
   6861 
   6862   ;
   6863   return 0;
   6864 }
   6865 _ACEOF
   6866 if ac_fn_c_try_link "$LINENO"; then :
   6867   eval $cacheid=yes
   6868 else
   6869   eval $cacheid=no
   6870 fi
   6871 rm -f core conftest.err conftest.$ac_objext \
   6872     conftest$ac_exeext conftest.$ac_ext
   6873 fi
   6874 
   6875 
   6876 		CFLAGS="$xorg_testset_save_CFLAGS"
   6877 
   6878 		eval supported=\$$cacheid
   6879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6880 $as_echo "$supported" >&6; }
   6881 		if test "$supported" = "yes" ; then
   6882 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6883 			found="yes"
   6884 		fi
   6885 	fi
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 xorg_testset_save_CFLAGS="$CFLAGS"
   6902 
   6903 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6904 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6906 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6907 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6908   $as_echo_n "(cached) " >&6
   6909 else
   6910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6911 /* end confdefs.h.  */
   6912 int i;
   6913 _ACEOF
   6914 if ac_fn_c_try_compile "$LINENO"; then :
   6915   xorg_cv_cc_flag_unknown_warning_option=yes
   6916 else
   6917   xorg_cv_cc_flag_unknown_warning_option=no
   6918 fi
   6919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6920 fi
   6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6922 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6923 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6924 	CFLAGS="$xorg_testset_save_CFLAGS"
   6925 fi
   6926 
   6927 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6928 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6930 	fi
   6931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6933 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6934 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6935   $as_echo_n "(cached) " >&6
   6936 else
   6937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6938 /* end confdefs.h.  */
   6939 int i;
   6940 _ACEOF
   6941 if ac_fn_c_try_compile "$LINENO"; then :
   6942   xorg_cv_cc_flag_unused_command_line_argument=yes
   6943 else
   6944   xorg_cv_cc_flag_unused_command_line_argument=no
   6945 fi
   6946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6947 fi
   6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6949 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6950 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6951 	CFLAGS="$xorg_testset_save_CFLAGS"
   6952 fi
   6953 
   6954 found="no"
   6955 
   6956 	if test $found = "no" ; then
   6957 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6959 		fi
   6960 
   6961 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6963 		fi
   6964 
   6965 		CFLAGS="$CFLAGS -Wlogical-op"
   6966 
   6967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6968 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6969 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6970 		if eval \${$cacheid+:} false; then :
   6971   $as_echo_n "(cached) " >&6
   6972 else
   6973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6974 /* end confdefs.h.  */
   6975 int i;
   6976 int
   6977 main ()
   6978 {
   6979 
   6980   ;
   6981   return 0;
   6982 }
   6983 _ACEOF
   6984 if ac_fn_c_try_link "$LINENO"; then :
   6985   eval $cacheid=yes
   6986 else
   6987   eval $cacheid=no
   6988 fi
   6989 rm -f core conftest.err conftest.$ac_objext \
   6990     conftest$ac_exeext conftest.$ac_ext
   6991 fi
   6992 
   6993 
   6994 		CFLAGS="$xorg_testset_save_CFLAGS"
   6995 
   6996 		eval supported=\$$cacheid
   6997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6998 $as_echo "$supported" >&6; }
   6999 		if test "$supported" = "yes" ; then
   7000 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7001 			found="yes"
   7002 		fi
   7003 	fi
   7004 
   7005 
   7006 
   7007 # These are currently disabled because they are noisy.  They will be enabled
   7008 # in the future once the codebase is sufficiently modernized to silence
   7009 # them.  For now, I don't want them to drown out the other warnings.
   7010 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7011 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7012 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7013 
   7014 # Turn some warnings into errors, so we don't accidently get successful builds
   7015 # when there are problems that should be fixed.
   7016 
   7017 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 xorg_testset_save_CFLAGS="$CFLAGS"
   7032 
   7033 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7034 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7036 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7037 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7038   $as_echo_n "(cached) " >&6
   7039 else
   7040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7041 /* end confdefs.h.  */
   7042 int i;
   7043 _ACEOF
   7044 if ac_fn_c_try_compile "$LINENO"; then :
   7045   xorg_cv_cc_flag_unknown_warning_option=yes
   7046 else
   7047   xorg_cv_cc_flag_unknown_warning_option=no
   7048 fi
   7049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7050 fi
   7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7052 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7053 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7054 	CFLAGS="$xorg_testset_save_CFLAGS"
   7055 fi
   7056 
   7057 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7058 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7059 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7060 	fi
   7061 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7063 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7064 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7065   $as_echo_n "(cached) " >&6
   7066 else
   7067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7068 /* end confdefs.h.  */
   7069 int i;
   7070 _ACEOF
   7071 if ac_fn_c_try_compile "$LINENO"; then :
   7072   xorg_cv_cc_flag_unused_command_line_argument=yes
   7073 else
   7074   xorg_cv_cc_flag_unused_command_line_argument=no
   7075 fi
   7076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7077 fi
   7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7079 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7080 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7081 	CFLAGS="$xorg_testset_save_CFLAGS"
   7082 fi
   7083 
   7084 found="no"
   7085 
   7086 	if test $found = "no" ; then
   7087 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7088 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7089 		fi
   7090 
   7091 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7092 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7093 		fi
   7094 
   7095 		CFLAGS="$CFLAGS -Werror=implicit"
   7096 
   7097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7098 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7099 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7100 		if eval \${$cacheid+:} false; then :
   7101   $as_echo_n "(cached) " >&6
   7102 else
   7103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7104 /* end confdefs.h.  */
   7105 int i;
   7106 int
   7107 main ()
   7108 {
   7109 
   7110   ;
   7111   return 0;
   7112 }
   7113 _ACEOF
   7114 if ac_fn_c_try_link "$LINENO"; then :
   7115   eval $cacheid=yes
   7116 else
   7117   eval $cacheid=no
   7118 fi
   7119 rm -f core conftest.err conftest.$ac_objext \
   7120     conftest$ac_exeext conftest.$ac_ext
   7121 fi
   7122 
   7123 
   7124 		CFLAGS="$xorg_testset_save_CFLAGS"
   7125 
   7126 		eval supported=\$$cacheid
   7127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7128 $as_echo "$supported" >&6; }
   7129 		if test "$supported" = "yes" ; then
   7130 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7131 			found="yes"
   7132 		fi
   7133 	fi
   7134 
   7135 	if test $found = "no" ; then
   7136 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7137 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7138 		fi
   7139 
   7140 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7141 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7142 		fi
   7143 
   7144 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7145 
   7146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7147 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7148 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7149 		if eval \${$cacheid+:} false; then :
   7150   $as_echo_n "(cached) " >&6
   7151 else
   7152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7153 /* end confdefs.h.  */
   7154 int i;
   7155 int
   7156 main ()
   7157 {
   7158 
   7159   ;
   7160   return 0;
   7161 }
   7162 _ACEOF
   7163 if ac_fn_c_try_link "$LINENO"; then :
   7164   eval $cacheid=yes
   7165 else
   7166   eval $cacheid=no
   7167 fi
   7168 rm -f core conftest.err conftest.$ac_objext \
   7169     conftest$ac_exeext conftest.$ac_ext
   7170 fi
   7171 
   7172 
   7173 		CFLAGS="$xorg_testset_save_CFLAGS"
   7174 
   7175 		eval supported=\$$cacheid
   7176 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7177 $as_echo "$supported" >&6; }
   7178 		if test "$supported" = "yes" ; then
   7179 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7180 			found="yes"
   7181 		fi
   7182 	fi
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 xorg_testset_save_CFLAGS="$CFLAGS"
   7199 
   7200 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7201 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7202 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7203 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7204 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7205   $as_echo_n "(cached) " >&6
   7206 else
   7207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7208 /* end confdefs.h.  */
   7209 int i;
   7210 _ACEOF
   7211 if ac_fn_c_try_compile "$LINENO"; then :
   7212   xorg_cv_cc_flag_unknown_warning_option=yes
   7213 else
   7214   xorg_cv_cc_flag_unknown_warning_option=no
   7215 fi
   7216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7217 fi
   7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7219 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7220 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7221 	CFLAGS="$xorg_testset_save_CFLAGS"
   7222 fi
   7223 
   7224 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7225 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7226 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7227 	fi
   7228 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7229 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7230 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7231 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7232   $as_echo_n "(cached) " >&6
   7233 else
   7234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7235 /* end confdefs.h.  */
   7236 int i;
   7237 _ACEOF
   7238 if ac_fn_c_try_compile "$LINENO"; then :
   7239   xorg_cv_cc_flag_unused_command_line_argument=yes
   7240 else
   7241   xorg_cv_cc_flag_unused_command_line_argument=no
   7242 fi
   7243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7244 fi
   7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7246 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7247 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7248 	CFLAGS="$xorg_testset_save_CFLAGS"
   7249 fi
   7250 
   7251 found="no"
   7252 
   7253 	if test $found = "no" ; then
   7254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7256 		fi
   7257 
   7258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7260 		fi
   7261 
   7262 		CFLAGS="$CFLAGS -Werror=nonnull"
   7263 
   7264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7265 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7266 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7267 		if eval \${$cacheid+:} false; then :
   7268   $as_echo_n "(cached) " >&6
   7269 else
   7270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7271 /* end confdefs.h.  */
   7272 int i;
   7273 int
   7274 main ()
   7275 {
   7276 
   7277   ;
   7278   return 0;
   7279 }
   7280 _ACEOF
   7281 if ac_fn_c_try_link "$LINENO"; then :
   7282   eval $cacheid=yes
   7283 else
   7284   eval $cacheid=no
   7285 fi
   7286 rm -f core conftest.err conftest.$ac_objext \
   7287     conftest$ac_exeext conftest.$ac_ext
   7288 fi
   7289 
   7290 
   7291 		CFLAGS="$xorg_testset_save_CFLAGS"
   7292 
   7293 		eval supported=\$$cacheid
   7294 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7295 $as_echo "$supported" >&6; }
   7296 		if test "$supported" = "yes" ; then
   7297 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7298 			found="yes"
   7299 		fi
   7300 	fi
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 xorg_testset_save_CFLAGS="$CFLAGS"
   7317 
   7318 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7319 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7320 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7321 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7322 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7323   $as_echo_n "(cached) " >&6
   7324 else
   7325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7326 /* end confdefs.h.  */
   7327 int i;
   7328 _ACEOF
   7329 if ac_fn_c_try_compile "$LINENO"; then :
   7330   xorg_cv_cc_flag_unknown_warning_option=yes
   7331 else
   7332   xorg_cv_cc_flag_unknown_warning_option=no
   7333 fi
   7334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7335 fi
   7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7337 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7338 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7339 	CFLAGS="$xorg_testset_save_CFLAGS"
   7340 fi
   7341 
   7342 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7343 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7344 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7345 	fi
   7346 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7347 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7348 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7349 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7350   $as_echo_n "(cached) " >&6
   7351 else
   7352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7353 /* end confdefs.h.  */
   7354 int i;
   7355 _ACEOF
   7356 if ac_fn_c_try_compile "$LINENO"; then :
   7357   xorg_cv_cc_flag_unused_command_line_argument=yes
   7358 else
   7359   xorg_cv_cc_flag_unused_command_line_argument=no
   7360 fi
   7361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7362 fi
   7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7364 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7365 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7366 	CFLAGS="$xorg_testset_save_CFLAGS"
   7367 fi
   7368 
   7369 found="no"
   7370 
   7371 	if test $found = "no" ; then
   7372 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7373 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7374 		fi
   7375 
   7376 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7377 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7378 		fi
   7379 
   7380 		CFLAGS="$CFLAGS -Werror=init-self"
   7381 
   7382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7383 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7384 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7385 		if eval \${$cacheid+:} false; then :
   7386   $as_echo_n "(cached) " >&6
   7387 else
   7388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7389 /* end confdefs.h.  */
   7390 int i;
   7391 int
   7392 main ()
   7393 {
   7394 
   7395   ;
   7396   return 0;
   7397 }
   7398 _ACEOF
   7399 if ac_fn_c_try_link "$LINENO"; then :
   7400   eval $cacheid=yes
   7401 else
   7402   eval $cacheid=no
   7403 fi
   7404 rm -f core conftest.err conftest.$ac_objext \
   7405     conftest$ac_exeext conftest.$ac_ext
   7406 fi
   7407 
   7408 
   7409 		CFLAGS="$xorg_testset_save_CFLAGS"
   7410 
   7411 		eval supported=\$$cacheid
   7412 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7413 $as_echo "$supported" >&6; }
   7414 		if test "$supported" = "yes" ; then
   7415 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7416 			found="yes"
   7417 		fi
   7418 	fi
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 xorg_testset_save_CFLAGS="$CFLAGS"
   7435 
   7436 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7437 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7438 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7439 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7440 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7441   $as_echo_n "(cached) " >&6
   7442 else
   7443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7444 /* end confdefs.h.  */
   7445 int i;
   7446 _ACEOF
   7447 if ac_fn_c_try_compile "$LINENO"; then :
   7448   xorg_cv_cc_flag_unknown_warning_option=yes
   7449 else
   7450   xorg_cv_cc_flag_unknown_warning_option=no
   7451 fi
   7452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7453 fi
   7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7455 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7456 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7457 	CFLAGS="$xorg_testset_save_CFLAGS"
   7458 fi
   7459 
   7460 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7461 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7462 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7463 	fi
   7464 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7465 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7466 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7467 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7468   $as_echo_n "(cached) " >&6
   7469 else
   7470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7471 /* end confdefs.h.  */
   7472 int i;
   7473 _ACEOF
   7474 if ac_fn_c_try_compile "$LINENO"; then :
   7475   xorg_cv_cc_flag_unused_command_line_argument=yes
   7476 else
   7477   xorg_cv_cc_flag_unused_command_line_argument=no
   7478 fi
   7479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7480 fi
   7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7482 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7483 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7484 	CFLAGS="$xorg_testset_save_CFLAGS"
   7485 fi
   7486 
   7487 found="no"
   7488 
   7489 	if test $found = "no" ; then
   7490 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7491 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7492 		fi
   7493 
   7494 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7495 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7496 		fi
   7497 
   7498 		CFLAGS="$CFLAGS -Werror=main"
   7499 
   7500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7501 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7502 		cacheid=xorg_cv_cc_flag__Werror_main
   7503 		if eval \${$cacheid+:} false; then :
   7504   $as_echo_n "(cached) " >&6
   7505 else
   7506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7507 /* end confdefs.h.  */
   7508 int i;
   7509 int
   7510 main ()
   7511 {
   7512 
   7513   ;
   7514   return 0;
   7515 }
   7516 _ACEOF
   7517 if ac_fn_c_try_link "$LINENO"; then :
   7518   eval $cacheid=yes
   7519 else
   7520   eval $cacheid=no
   7521 fi
   7522 rm -f core conftest.err conftest.$ac_objext \
   7523     conftest$ac_exeext conftest.$ac_ext
   7524 fi
   7525 
   7526 
   7527 		CFLAGS="$xorg_testset_save_CFLAGS"
   7528 
   7529 		eval supported=\$$cacheid
   7530 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7531 $as_echo "$supported" >&6; }
   7532 		if test "$supported" = "yes" ; then
   7533 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7534 			found="yes"
   7535 		fi
   7536 	fi
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 xorg_testset_save_CFLAGS="$CFLAGS"
   7553 
   7554 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7555 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7556 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7557 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7558 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7559   $as_echo_n "(cached) " >&6
   7560 else
   7561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7562 /* end confdefs.h.  */
   7563 int i;
   7564 _ACEOF
   7565 if ac_fn_c_try_compile "$LINENO"; then :
   7566   xorg_cv_cc_flag_unknown_warning_option=yes
   7567 else
   7568   xorg_cv_cc_flag_unknown_warning_option=no
   7569 fi
   7570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7571 fi
   7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7573 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7574 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7575 	CFLAGS="$xorg_testset_save_CFLAGS"
   7576 fi
   7577 
   7578 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7579 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7580 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7581 	fi
   7582 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7583 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7584 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7585 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7586   $as_echo_n "(cached) " >&6
   7587 else
   7588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7589 /* end confdefs.h.  */
   7590 int i;
   7591 _ACEOF
   7592 if ac_fn_c_try_compile "$LINENO"; then :
   7593   xorg_cv_cc_flag_unused_command_line_argument=yes
   7594 else
   7595   xorg_cv_cc_flag_unused_command_line_argument=no
   7596 fi
   7597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7598 fi
   7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7600 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7601 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7602 	CFLAGS="$xorg_testset_save_CFLAGS"
   7603 fi
   7604 
   7605 found="no"
   7606 
   7607 	if test $found = "no" ; then
   7608 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7609 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7610 		fi
   7611 
   7612 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7613 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7614 		fi
   7615 
   7616 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7617 
   7618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7619 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7620 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7621 		if eval \${$cacheid+:} false; then :
   7622   $as_echo_n "(cached) " >&6
   7623 else
   7624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7625 /* end confdefs.h.  */
   7626 int i;
   7627 int
   7628 main ()
   7629 {
   7630 
   7631   ;
   7632   return 0;
   7633 }
   7634 _ACEOF
   7635 if ac_fn_c_try_link "$LINENO"; then :
   7636   eval $cacheid=yes
   7637 else
   7638   eval $cacheid=no
   7639 fi
   7640 rm -f core conftest.err conftest.$ac_objext \
   7641     conftest$ac_exeext conftest.$ac_ext
   7642 fi
   7643 
   7644 
   7645 		CFLAGS="$xorg_testset_save_CFLAGS"
   7646 
   7647 		eval supported=\$$cacheid
   7648 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7649 $as_echo "$supported" >&6; }
   7650 		if test "$supported" = "yes" ; then
   7651 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7652 			found="yes"
   7653 		fi
   7654 	fi
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 xorg_testset_save_CFLAGS="$CFLAGS"
   7671 
   7672 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7673 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7674 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7675 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7676 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7677   $as_echo_n "(cached) " >&6
   7678 else
   7679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7680 /* end confdefs.h.  */
   7681 int i;
   7682 _ACEOF
   7683 if ac_fn_c_try_compile "$LINENO"; then :
   7684   xorg_cv_cc_flag_unknown_warning_option=yes
   7685 else
   7686   xorg_cv_cc_flag_unknown_warning_option=no
   7687 fi
   7688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7689 fi
   7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7691 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7692 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7693 	CFLAGS="$xorg_testset_save_CFLAGS"
   7694 fi
   7695 
   7696 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7697 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7698 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7699 	fi
   7700 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7701 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7702 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7703 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7704   $as_echo_n "(cached) " >&6
   7705 else
   7706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7707 /* end confdefs.h.  */
   7708 int i;
   7709 _ACEOF
   7710 if ac_fn_c_try_compile "$LINENO"; then :
   7711   xorg_cv_cc_flag_unused_command_line_argument=yes
   7712 else
   7713   xorg_cv_cc_flag_unused_command_line_argument=no
   7714 fi
   7715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7716 fi
   7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7718 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7719 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7720 	CFLAGS="$xorg_testset_save_CFLAGS"
   7721 fi
   7722 
   7723 found="no"
   7724 
   7725 	if test $found = "no" ; then
   7726 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7727 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7728 		fi
   7729 
   7730 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7731 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7732 		fi
   7733 
   7734 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7735 
   7736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7737 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7738 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7739 		if eval \${$cacheid+:} false; then :
   7740   $as_echo_n "(cached) " >&6
   7741 else
   7742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7743 /* end confdefs.h.  */
   7744 int i;
   7745 int
   7746 main ()
   7747 {
   7748 
   7749   ;
   7750   return 0;
   7751 }
   7752 _ACEOF
   7753 if ac_fn_c_try_link "$LINENO"; then :
   7754   eval $cacheid=yes
   7755 else
   7756   eval $cacheid=no
   7757 fi
   7758 rm -f core conftest.err conftest.$ac_objext \
   7759     conftest$ac_exeext conftest.$ac_ext
   7760 fi
   7761 
   7762 
   7763 		CFLAGS="$xorg_testset_save_CFLAGS"
   7764 
   7765 		eval supported=\$$cacheid
   7766 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7767 $as_echo "$supported" >&6; }
   7768 		if test "$supported" = "yes" ; then
   7769 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7770 			found="yes"
   7771 		fi
   7772 	fi
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 xorg_testset_save_CFLAGS="$CFLAGS"
   7789 
   7790 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7791 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7793 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7794 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7795   $as_echo_n "(cached) " >&6
   7796 else
   7797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7798 /* end confdefs.h.  */
   7799 int i;
   7800 _ACEOF
   7801 if ac_fn_c_try_compile "$LINENO"; then :
   7802   xorg_cv_cc_flag_unknown_warning_option=yes
   7803 else
   7804   xorg_cv_cc_flag_unknown_warning_option=no
   7805 fi
   7806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7807 fi
   7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7809 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7810 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7811 	CFLAGS="$xorg_testset_save_CFLAGS"
   7812 fi
   7813 
   7814 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7815 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7817 	fi
   7818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7819 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7820 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7821 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7822   $as_echo_n "(cached) " >&6
   7823 else
   7824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7825 /* end confdefs.h.  */
   7826 int i;
   7827 _ACEOF
   7828 if ac_fn_c_try_compile "$LINENO"; then :
   7829   xorg_cv_cc_flag_unused_command_line_argument=yes
   7830 else
   7831   xorg_cv_cc_flag_unused_command_line_argument=no
   7832 fi
   7833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7834 fi
   7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7836 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7837 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7838 	CFLAGS="$xorg_testset_save_CFLAGS"
   7839 fi
   7840 
   7841 found="no"
   7842 
   7843 	if test $found = "no" ; then
   7844 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7846 		fi
   7847 
   7848 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7850 		fi
   7851 
   7852 		CFLAGS="$CFLAGS -Werror=return-type"
   7853 
   7854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7855 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7856 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7857 		if eval \${$cacheid+:} false; then :
   7858   $as_echo_n "(cached) " >&6
   7859 else
   7860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7861 /* end confdefs.h.  */
   7862 int i;
   7863 int
   7864 main ()
   7865 {
   7866 
   7867   ;
   7868   return 0;
   7869 }
   7870 _ACEOF
   7871 if ac_fn_c_try_link "$LINENO"; then :
   7872   eval $cacheid=yes
   7873 else
   7874   eval $cacheid=no
   7875 fi
   7876 rm -f core conftest.err conftest.$ac_objext \
   7877     conftest$ac_exeext conftest.$ac_ext
   7878 fi
   7879 
   7880 
   7881 		CFLAGS="$xorg_testset_save_CFLAGS"
   7882 
   7883 		eval supported=\$$cacheid
   7884 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7885 $as_echo "$supported" >&6; }
   7886 		if test "$supported" = "yes" ; then
   7887 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7888 			found="yes"
   7889 		fi
   7890 	fi
   7891 
   7892 	if test $found = "no" ; then
   7893 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7894 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7895 		fi
   7896 
   7897 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7898 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7899 		fi
   7900 
   7901 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7902 
   7903 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7904 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7905 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7906 		if eval \${$cacheid+:} false; then :
   7907   $as_echo_n "(cached) " >&6
   7908 else
   7909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7910 /* end confdefs.h.  */
   7911 int i;
   7912 int
   7913 main ()
   7914 {
   7915 
   7916   ;
   7917   return 0;
   7918 }
   7919 _ACEOF
   7920 if ac_fn_c_try_link "$LINENO"; then :
   7921   eval $cacheid=yes
   7922 else
   7923   eval $cacheid=no
   7924 fi
   7925 rm -f core conftest.err conftest.$ac_objext \
   7926     conftest$ac_exeext conftest.$ac_ext
   7927 fi
   7928 
   7929 
   7930 		CFLAGS="$xorg_testset_save_CFLAGS"
   7931 
   7932 		eval supported=\$$cacheid
   7933 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7934 $as_echo "$supported" >&6; }
   7935 		if test "$supported" = "yes" ; then
   7936 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7937 			found="yes"
   7938 		fi
   7939 	fi
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 xorg_testset_save_CFLAGS="$CFLAGS"
   7956 
   7957 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7958 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7960 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7961 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7962   $as_echo_n "(cached) " >&6
   7963 else
   7964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7965 /* end confdefs.h.  */
   7966 int i;
   7967 _ACEOF
   7968 if ac_fn_c_try_compile "$LINENO"; then :
   7969   xorg_cv_cc_flag_unknown_warning_option=yes
   7970 else
   7971   xorg_cv_cc_flag_unknown_warning_option=no
   7972 fi
   7973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7974 fi
   7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7976 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7977 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7978 	CFLAGS="$xorg_testset_save_CFLAGS"
   7979 fi
   7980 
   7981 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7982 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7983 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7984 	fi
   7985 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7986 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7987 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7988 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7989   $as_echo_n "(cached) " >&6
   7990 else
   7991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7992 /* end confdefs.h.  */
   7993 int i;
   7994 _ACEOF
   7995 if ac_fn_c_try_compile "$LINENO"; then :
   7996   xorg_cv_cc_flag_unused_command_line_argument=yes
   7997 else
   7998   xorg_cv_cc_flag_unused_command_line_argument=no
   7999 fi
   8000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8001 fi
   8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8003 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8004 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8005 	CFLAGS="$xorg_testset_save_CFLAGS"
   8006 fi
   8007 
   8008 found="no"
   8009 
   8010 	if test $found = "no" ; then
   8011 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8012 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8013 		fi
   8014 
   8015 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8016 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8017 		fi
   8018 
   8019 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8020 
   8021 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8022 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8023 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8024 		if eval \${$cacheid+:} false; then :
   8025   $as_echo_n "(cached) " >&6
   8026 else
   8027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8028 /* end confdefs.h.  */
   8029 int i;
   8030 int
   8031 main ()
   8032 {
   8033 
   8034   ;
   8035   return 0;
   8036 }
   8037 _ACEOF
   8038 if ac_fn_c_try_link "$LINENO"; then :
   8039   eval $cacheid=yes
   8040 else
   8041   eval $cacheid=no
   8042 fi
   8043 rm -f core conftest.err conftest.$ac_objext \
   8044     conftest$ac_exeext conftest.$ac_ext
   8045 fi
   8046 
   8047 
   8048 		CFLAGS="$xorg_testset_save_CFLAGS"
   8049 
   8050 		eval supported=\$$cacheid
   8051 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8052 $as_echo "$supported" >&6; }
   8053 		if test "$supported" = "yes" ; then
   8054 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8055 			found="yes"
   8056 		fi
   8057 	fi
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 xorg_testset_save_CFLAGS="$CFLAGS"
   8074 
   8075 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8076 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8077 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8078 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8079 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8080   $as_echo_n "(cached) " >&6
   8081 else
   8082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8083 /* end confdefs.h.  */
   8084 int i;
   8085 _ACEOF
   8086 if ac_fn_c_try_compile "$LINENO"; then :
   8087   xorg_cv_cc_flag_unknown_warning_option=yes
   8088 else
   8089   xorg_cv_cc_flag_unknown_warning_option=no
   8090 fi
   8091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8092 fi
   8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8094 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8095 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8096 	CFLAGS="$xorg_testset_save_CFLAGS"
   8097 fi
   8098 
   8099 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8100 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8101 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8102 	fi
   8103 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8104 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8105 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8106 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8107   $as_echo_n "(cached) " >&6
   8108 else
   8109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8110 /* end confdefs.h.  */
   8111 int i;
   8112 _ACEOF
   8113 if ac_fn_c_try_compile "$LINENO"; then :
   8114   xorg_cv_cc_flag_unused_command_line_argument=yes
   8115 else
   8116   xorg_cv_cc_flag_unused_command_line_argument=no
   8117 fi
   8118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8119 fi
   8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8121 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8122 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8123 	CFLAGS="$xorg_testset_save_CFLAGS"
   8124 fi
   8125 
   8126 found="no"
   8127 
   8128 	if test $found = "no" ; then
   8129 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8130 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8131 		fi
   8132 
   8133 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8134 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8135 		fi
   8136 
   8137 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8138 
   8139 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8140 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8141 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8142 		if eval \${$cacheid+:} false; then :
   8143   $as_echo_n "(cached) " >&6
   8144 else
   8145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8146 /* end confdefs.h.  */
   8147 int i;
   8148 int
   8149 main ()
   8150 {
   8151 
   8152   ;
   8153   return 0;
   8154 }
   8155 _ACEOF
   8156 if ac_fn_c_try_link "$LINENO"; then :
   8157   eval $cacheid=yes
   8158 else
   8159   eval $cacheid=no
   8160 fi
   8161 rm -f core conftest.err conftest.$ac_objext \
   8162     conftest$ac_exeext conftest.$ac_ext
   8163 fi
   8164 
   8165 
   8166 		CFLAGS="$xorg_testset_save_CFLAGS"
   8167 
   8168 		eval supported=\$$cacheid
   8169 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8170 $as_echo "$supported" >&6; }
   8171 		if test "$supported" = "yes" ; then
   8172 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8173 			found="yes"
   8174 		fi
   8175 	fi
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 xorg_testset_save_CFLAGS="$CFLAGS"
   8192 
   8193 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8194 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8195 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8196 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8197 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8198   $as_echo_n "(cached) " >&6
   8199 else
   8200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8201 /* end confdefs.h.  */
   8202 int i;
   8203 _ACEOF
   8204 if ac_fn_c_try_compile "$LINENO"; then :
   8205   xorg_cv_cc_flag_unknown_warning_option=yes
   8206 else
   8207   xorg_cv_cc_flag_unknown_warning_option=no
   8208 fi
   8209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8210 fi
   8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8212 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8213 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8214 	CFLAGS="$xorg_testset_save_CFLAGS"
   8215 fi
   8216 
   8217 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8218 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8219 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8220 	fi
   8221 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8222 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8223 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8224 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8225   $as_echo_n "(cached) " >&6
   8226 else
   8227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8228 /* end confdefs.h.  */
   8229 int i;
   8230 _ACEOF
   8231 if ac_fn_c_try_compile "$LINENO"; then :
   8232   xorg_cv_cc_flag_unused_command_line_argument=yes
   8233 else
   8234   xorg_cv_cc_flag_unused_command_line_argument=no
   8235 fi
   8236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8237 fi
   8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8239 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8240 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8241 	CFLAGS="$xorg_testset_save_CFLAGS"
   8242 fi
   8243 
   8244 found="no"
   8245 
   8246 	if test $found = "no" ; then
   8247 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8248 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8249 		fi
   8250 
   8251 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8252 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8253 		fi
   8254 
   8255 		CFLAGS="$CFLAGS -Werror=write-strings"
   8256 
   8257 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8258 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8259 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8260 		if eval \${$cacheid+:} false; then :
   8261   $as_echo_n "(cached) " >&6
   8262 else
   8263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8264 /* end confdefs.h.  */
   8265 int i;
   8266 int
   8267 main ()
   8268 {
   8269 
   8270   ;
   8271   return 0;
   8272 }
   8273 _ACEOF
   8274 if ac_fn_c_try_link "$LINENO"; then :
   8275   eval $cacheid=yes
   8276 else
   8277   eval $cacheid=no
   8278 fi
   8279 rm -f core conftest.err conftest.$ac_objext \
   8280     conftest$ac_exeext conftest.$ac_ext
   8281 fi
   8282 
   8283 
   8284 		CFLAGS="$xorg_testset_save_CFLAGS"
   8285 
   8286 		eval supported=\$$cacheid
   8287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8288 $as_echo "$supported" >&6; }
   8289 		if test "$supported" = "yes" ; then
   8290 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8291 			found="yes"
   8292 		fi
   8293 	fi
   8294 
   8295 
   8296 
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 xorg_testset_save_CFLAGS="$CFLAGS"
   8310 
   8311 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8312 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8314 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8315 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8316   $as_echo_n "(cached) " >&6
   8317 else
   8318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8319 /* end confdefs.h.  */
   8320 int i;
   8321 _ACEOF
   8322 if ac_fn_c_try_compile "$LINENO"; then :
   8323   xorg_cv_cc_flag_unknown_warning_option=yes
   8324 else
   8325   xorg_cv_cc_flag_unknown_warning_option=no
   8326 fi
   8327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8328 fi
   8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8330 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8331 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8332 	CFLAGS="$xorg_testset_save_CFLAGS"
   8333 fi
   8334 
   8335 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8336 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8337 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8338 	fi
   8339 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8341 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8342 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8343   $as_echo_n "(cached) " >&6
   8344 else
   8345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8346 /* end confdefs.h.  */
   8347 int i;
   8348 _ACEOF
   8349 if ac_fn_c_try_compile "$LINENO"; then :
   8350   xorg_cv_cc_flag_unused_command_line_argument=yes
   8351 else
   8352   xorg_cv_cc_flag_unused_command_line_argument=no
   8353 fi
   8354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8355 fi
   8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8357 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8358 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8359 	CFLAGS="$xorg_testset_save_CFLAGS"
   8360 fi
   8361 
   8362 found="no"
   8363 
   8364 	if test $found = "no" ; then
   8365 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8366 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8367 		fi
   8368 
   8369 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8370 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8371 		fi
   8372 
   8373 		CFLAGS="$CFLAGS -Werror=address"
   8374 
   8375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8376 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8377 		cacheid=xorg_cv_cc_flag__Werror_address
   8378 		if eval \${$cacheid+:} false; then :
   8379   $as_echo_n "(cached) " >&6
   8380 else
   8381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8382 /* end confdefs.h.  */
   8383 int i;
   8384 int
   8385 main ()
   8386 {
   8387 
   8388   ;
   8389   return 0;
   8390 }
   8391 _ACEOF
   8392 if ac_fn_c_try_link "$LINENO"; then :
   8393   eval $cacheid=yes
   8394 else
   8395   eval $cacheid=no
   8396 fi
   8397 rm -f core conftest.err conftest.$ac_objext \
   8398     conftest$ac_exeext conftest.$ac_ext
   8399 fi
   8400 
   8401 
   8402 		CFLAGS="$xorg_testset_save_CFLAGS"
   8403 
   8404 		eval supported=\$$cacheid
   8405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8406 $as_echo "$supported" >&6; }
   8407 		if test "$supported" = "yes" ; then
   8408 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8409 			found="yes"
   8410 		fi
   8411 	fi
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 xorg_testset_save_CFLAGS="$CFLAGS"
   8428 
   8429 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8430 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8432 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8433 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8434   $as_echo_n "(cached) " >&6
   8435 else
   8436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8437 /* end confdefs.h.  */
   8438 int i;
   8439 _ACEOF
   8440 if ac_fn_c_try_compile "$LINENO"; then :
   8441   xorg_cv_cc_flag_unknown_warning_option=yes
   8442 else
   8443   xorg_cv_cc_flag_unknown_warning_option=no
   8444 fi
   8445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8446 fi
   8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8448 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8449 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8450 	CFLAGS="$xorg_testset_save_CFLAGS"
   8451 fi
   8452 
   8453 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8454 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8455 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8456 	fi
   8457 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8459 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8460 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8461   $as_echo_n "(cached) " >&6
   8462 else
   8463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8464 /* end confdefs.h.  */
   8465 int i;
   8466 _ACEOF
   8467 if ac_fn_c_try_compile "$LINENO"; then :
   8468   xorg_cv_cc_flag_unused_command_line_argument=yes
   8469 else
   8470   xorg_cv_cc_flag_unused_command_line_argument=no
   8471 fi
   8472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8473 fi
   8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8475 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8476 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8477 	CFLAGS="$xorg_testset_save_CFLAGS"
   8478 fi
   8479 
   8480 found="no"
   8481 
   8482 	if test $found = "no" ; then
   8483 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8484 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8485 		fi
   8486 
   8487 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8488 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8489 		fi
   8490 
   8491 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8492 
   8493 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8494 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8495 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8496 		if eval \${$cacheid+:} false; then :
   8497   $as_echo_n "(cached) " >&6
   8498 else
   8499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8500 /* end confdefs.h.  */
   8501 int i;
   8502 int
   8503 main ()
   8504 {
   8505 
   8506   ;
   8507   return 0;
   8508 }
   8509 _ACEOF
   8510 if ac_fn_c_try_link "$LINENO"; then :
   8511   eval $cacheid=yes
   8512 else
   8513   eval $cacheid=no
   8514 fi
   8515 rm -f core conftest.err conftest.$ac_objext \
   8516     conftest$ac_exeext conftest.$ac_ext
   8517 fi
   8518 
   8519 
   8520 		CFLAGS="$xorg_testset_save_CFLAGS"
   8521 
   8522 		eval supported=\$$cacheid
   8523 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8524 $as_echo "$supported" >&6; }
   8525 		if test "$supported" = "yes" ; then
   8526 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8527 			found="yes"
   8528 		fi
   8529 	fi
   8530 
   8531 	if test $found = "no" ; then
   8532 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8533 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8534 		fi
   8535 
   8536 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8537 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8538 		fi
   8539 
   8540 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8541 
   8542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8543 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8544 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8545 		if eval \${$cacheid+:} false; then :
   8546   $as_echo_n "(cached) " >&6
   8547 else
   8548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8549 /* end confdefs.h.  */
   8550 int i;
   8551 int
   8552 main ()
   8553 {
   8554 
   8555   ;
   8556   return 0;
   8557 }
   8558 _ACEOF
   8559 if ac_fn_c_try_link "$LINENO"; then :
   8560   eval $cacheid=yes
   8561 else
   8562   eval $cacheid=no
   8563 fi
   8564 rm -f core conftest.err conftest.$ac_objext \
   8565     conftest$ac_exeext conftest.$ac_ext
   8566 fi
   8567 
   8568 
   8569 		CFLAGS="$xorg_testset_save_CFLAGS"
   8570 
   8571 		eval supported=\$$cacheid
   8572 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8573 $as_echo "$supported" >&6; }
   8574 		if test "$supported" = "yes" ; then
   8575 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8576 			found="yes"
   8577 		fi
   8578 	fi
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 xorg_testset_save_CFLAGS="$CFLAGS"
   8595 
   8596 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8597 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8598 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8599 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8600 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8601   $as_echo_n "(cached) " >&6
   8602 else
   8603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8604 /* end confdefs.h.  */
   8605 int i;
   8606 _ACEOF
   8607 if ac_fn_c_try_compile "$LINENO"; then :
   8608   xorg_cv_cc_flag_unknown_warning_option=yes
   8609 else
   8610   xorg_cv_cc_flag_unknown_warning_option=no
   8611 fi
   8612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8613 fi
   8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8615 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8616 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8617 	CFLAGS="$xorg_testset_save_CFLAGS"
   8618 fi
   8619 
   8620 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8621 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8622 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8623 	fi
   8624 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8625 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8626 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8627 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8628   $as_echo_n "(cached) " >&6
   8629 else
   8630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8631 /* end confdefs.h.  */
   8632 int i;
   8633 _ACEOF
   8634 if ac_fn_c_try_compile "$LINENO"; then :
   8635   xorg_cv_cc_flag_unused_command_line_argument=yes
   8636 else
   8637   xorg_cv_cc_flag_unused_command_line_argument=no
   8638 fi
   8639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8640 fi
   8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8642 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8643 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8644 	CFLAGS="$xorg_testset_save_CFLAGS"
   8645 fi
   8646 
   8647 found="no"
   8648 
   8649 	if test $found = "no" ; then
   8650 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8651 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8652 		fi
   8653 
   8654 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8655 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8656 		fi
   8657 
   8658 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8659 
   8660 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8661 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8662 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8663 		if eval \${$cacheid+:} false; then :
   8664   $as_echo_n "(cached) " >&6
   8665 else
   8666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8667 /* end confdefs.h.  */
   8668 int i;
   8669 int
   8670 main ()
   8671 {
   8672 
   8673   ;
   8674   return 0;
   8675 }
   8676 _ACEOF
   8677 if ac_fn_c_try_link "$LINENO"; then :
   8678   eval $cacheid=yes
   8679 else
   8680   eval $cacheid=no
   8681 fi
   8682 rm -f core conftest.err conftest.$ac_objext \
   8683     conftest$ac_exeext conftest.$ac_ext
   8684 fi
   8685 
   8686 
   8687 		CFLAGS="$xorg_testset_save_CFLAGS"
   8688 
   8689 		eval supported=\$$cacheid
   8690 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8691 $as_echo "$supported" >&6; }
   8692 		if test "$supported" = "yes" ; then
   8693 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8694 			found="yes"
   8695 		fi
   8696 	fi
   8697 
   8698  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8699 else
   8700 { $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
   8701 $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;}
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 xorg_testset_save_CFLAGS="$CFLAGS"
   8716 
   8717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8719 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8720 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8721 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8722   $as_echo_n "(cached) " >&6
   8723 else
   8724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8725 /* end confdefs.h.  */
   8726 int i;
   8727 _ACEOF
   8728 if ac_fn_c_try_compile "$LINENO"; then :
   8729   xorg_cv_cc_flag_unknown_warning_option=yes
   8730 else
   8731   xorg_cv_cc_flag_unknown_warning_option=no
   8732 fi
   8733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8734 fi
   8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8736 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8737 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8738 	CFLAGS="$xorg_testset_save_CFLAGS"
   8739 fi
   8740 
   8741 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8742 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8743 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8744 	fi
   8745 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8747 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8748 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8749   $as_echo_n "(cached) " >&6
   8750 else
   8751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8752 /* end confdefs.h.  */
   8753 int i;
   8754 _ACEOF
   8755 if ac_fn_c_try_compile "$LINENO"; then :
   8756   xorg_cv_cc_flag_unused_command_line_argument=yes
   8757 else
   8758   xorg_cv_cc_flag_unused_command_line_argument=no
   8759 fi
   8760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8761 fi
   8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8763 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8764 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8765 	CFLAGS="$xorg_testset_save_CFLAGS"
   8766 fi
   8767 
   8768 found="no"
   8769 
   8770 	if test $found = "no" ; then
   8771 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8772 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8773 		fi
   8774 
   8775 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8776 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8777 		fi
   8778 
   8779 		CFLAGS="$CFLAGS -Wimplicit"
   8780 
   8781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8782 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8783 		cacheid=xorg_cv_cc_flag__Wimplicit
   8784 		if eval \${$cacheid+:} false; then :
   8785   $as_echo_n "(cached) " >&6
   8786 else
   8787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8788 /* end confdefs.h.  */
   8789 int i;
   8790 int
   8791 main ()
   8792 {
   8793 
   8794   ;
   8795   return 0;
   8796 }
   8797 _ACEOF
   8798 if ac_fn_c_try_link "$LINENO"; then :
   8799   eval $cacheid=yes
   8800 else
   8801   eval $cacheid=no
   8802 fi
   8803 rm -f core conftest.err conftest.$ac_objext \
   8804     conftest$ac_exeext conftest.$ac_ext
   8805 fi
   8806 
   8807 
   8808 		CFLAGS="$xorg_testset_save_CFLAGS"
   8809 
   8810 		eval supported=\$$cacheid
   8811 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8812 $as_echo "$supported" >&6; }
   8813 		if test "$supported" = "yes" ; then
   8814 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8815 			found="yes"
   8816 		fi
   8817 	fi
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 xorg_testset_save_CFLAGS="$CFLAGS"
   8834 
   8835 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8836 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8837 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8838 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8839 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8840   $as_echo_n "(cached) " >&6
   8841 else
   8842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8843 /* end confdefs.h.  */
   8844 int i;
   8845 _ACEOF
   8846 if ac_fn_c_try_compile "$LINENO"; then :
   8847   xorg_cv_cc_flag_unknown_warning_option=yes
   8848 else
   8849   xorg_cv_cc_flag_unknown_warning_option=no
   8850 fi
   8851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8852 fi
   8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8854 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8855 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8856 	CFLAGS="$xorg_testset_save_CFLAGS"
   8857 fi
   8858 
   8859 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8860 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8861 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8862 	fi
   8863 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8865 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8866 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8867   $as_echo_n "(cached) " >&6
   8868 else
   8869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8870 /* end confdefs.h.  */
   8871 int i;
   8872 _ACEOF
   8873 if ac_fn_c_try_compile "$LINENO"; then :
   8874   xorg_cv_cc_flag_unused_command_line_argument=yes
   8875 else
   8876   xorg_cv_cc_flag_unused_command_line_argument=no
   8877 fi
   8878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8879 fi
   8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8881 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8882 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8883 	CFLAGS="$xorg_testset_save_CFLAGS"
   8884 fi
   8885 
   8886 found="no"
   8887 
   8888 	if test $found = "no" ; then
   8889 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8890 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8891 		fi
   8892 
   8893 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8894 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8895 		fi
   8896 
   8897 		CFLAGS="$CFLAGS -Wnonnull"
   8898 
   8899 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8900 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8901 		cacheid=xorg_cv_cc_flag__Wnonnull
   8902 		if eval \${$cacheid+:} false; then :
   8903   $as_echo_n "(cached) " >&6
   8904 else
   8905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8906 /* end confdefs.h.  */
   8907 int i;
   8908 int
   8909 main ()
   8910 {
   8911 
   8912   ;
   8913   return 0;
   8914 }
   8915 _ACEOF
   8916 if ac_fn_c_try_link "$LINENO"; then :
   8917   eval $cacheid=yes
   8918 else
   8919   eval $cacheid=no
   8920 fi
   8921 rm -f core conftest.err conftest.$ac_objext \
   8922     conftest$ac_exeext conftest.$ac_ext
   8923 fi
   8924 
   8925 
   8926 		CFLAGS="$xorg_testset_save_CFLAGS"
   8927 
   8928 		eval supported=\$$cacheid
   8929 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8930 $as_echo "$supported" >&6; }
   8931 		if test "$supported" = "yes" ; then
   8932 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8933 			found="yes"
   8934 		fi
   8935 	fi
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 xorg_testset_save_CFLAGS="$CFLAGS"
   8952 
   8953 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8954 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8955 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8956 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8957 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8958   $as_echo_n "(cached) " >&6
   8959 else
   8960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8961 /* end confdefs.h.  */
   8962 int i;
   8963 _ACEOF
   8964 if ac_fn_c_try_compile "$LINENO"; then :
   8965   xorg_cv_cc_flag_unknown_warning_option=yes
   8966 else
   8967   xorg_cv_cc_flag_unknown_warning_option=no
   8968 fi
   8969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8970 fi
   8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8972 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8973 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8974 	CFLAGS="$xorg_testset_save_CFLAGS"
   8975 fi
   8976 
   8977 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8978 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8979 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8980 	fi
   8981 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8982 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8983 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8984 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8985   $as_echo_n "(cached) " >&6
   8986 else
   8987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8988 /* end confdefs.h.  */
   8989 int i;
   8990 _ACEOF
   8991 if ac_fn_c_try_compile "$LINENO"; then :
   8992   xorg_cv_cc_flag_unused_command_line_argument=yes
   8993 else
   8994   xorg_cv_cc_flag_unused_command_line_argument=no
   8995 fi
   8996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8997 fi
   8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8999 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9000 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9001 	CFLAGS="$xorg_testset_save_CFLAGS"
   9002 fi
   9003 
   9004 found="no"
   9005 
   9006 	if test $found = "no" ; then
   9007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9009 		fi
   9010 
   9011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9013 		fi
   9014 
   9015 		CFLAGS="$CFLAGS -Winit-self"
   9016 
   9017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9018 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9019 		cacheid=xorg_cv_cc_flag__Winit_self
   9020 		if eval \${$cacheid+:} false; then :
   9021   $as_echo_n "(cached) " >&6
   9022 else
   9023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9024 /* end confdefs.h.  */
   9025 int i;
   9026 int
   9027 main ()
   9028 {
   9029 
   9030   ;
   9031   return 0;
   9032 }
   9033 _ACEOF
   9034 if ac_fn_c_try_link "$LINENO"; then :
   9035   eval $cacheid=yes
   9036 else
   9037   eval $cacheid=no
   9038 fi
   9039 rm -f core conftest.err conftest.$ac_objext \
   9040     conftest$ac_exeext conftest.$ac_ext
   9041 fi
   9042 
   9043 
   9044 		CFLAGS="$xorg_testset_save_CFLAGS"
   9045 
   9046 		eval supported=\$$cacheid
   9047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9048 $as_echo "$supported" >&6; }
   9049 		if test "$supported" = "yes" ; then
   9050 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9051 			found="yes"
   9052 		fi
   9053 	fi
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 xorg_testset_save_CFLAGS="$CFLAGS"
   9070 
   9071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9073 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9074 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9075 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9076   $as_echo_n "(cached) " >&6
   9077 else
   9078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9079 /* end confdefs.h.  */
   9080 int i;
   9081 _ACEOF
   9082 if ac_fn_c_try_compile "$LINENO"; then :
   9083   xorg_cv_cc_flag_unknown_warning_option=yes
   9084 else
   9085   xorg_cv_cc_flag_unknown_warning_option=no
   9086 fi
   9087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9088 fi
   9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9090 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9091 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9092 	CFLAGS="$xorg_testset_save_CFLAGS"
   9093 fi
   9094 
   9095 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9096 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9097 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9098 	fi
   9099 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9101 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9102 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9103   $as_echo_n "(cached) " >&6
   9104 else
   9105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9106 /* end confdefs.h.  */
   9107 int i;
   9108 _ACEOF
   9109 if ac_fn_c_try_compile "$LINENO"; then :
   9110   xorg_cv_cc_flag_unused_command_line_argument=yes
   9111 else
   9112   xorg_cv_cc_flag_unused_command_line_argument=no
   9113 fi
   9114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9115 fi
   9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9117 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9118 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9119 	CFLAGS="$xorg_testset_save_CFLAGS"
   9120 fi
   9121 
   9122 found="no"
   9123 
   9124 	if test $found = "no" ; then
   9125 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9126 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9127 		fi
   9128 
   9129 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9130 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9131 		fi
   9132 
   9133 		CFLAGS="$CFLAGS -Wmain"
   9134 
   9135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9136 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9137 		cacheid=xorg_cv_cc_flag__Wmain
   9138 		if eval \${$cacheid+:} false; then :
   9139   $as_echo_n "(cached) " >&6
   9140 else
   9141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9142 /* end confdefs.h.  */
   9143 int i;
   9144 int
   9145 main ()
   9146 {
   9147 
   9148   ;
   9149   return 0;
   9150 }
   9151 _ACEOF
   9152 if ac_fn_c_try_link "$LINENO"; then :
   9153   eval $cacheid=yes
   9154 else
   9155   eval $cacheid=no
   9156 fi
   9157 rm -f core conftest.err conftest.$ac_objext \
   9158     conftest$ac_exeext conftest.$ac_ext
   9159 fi
   9160 
   9161 
   9162 		CFLAGS="$xorg_testset_save_CFLAGS"
   9163 
   9164 		eval supported=\$$cacheid
   9165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9166 $as_echo "$supported" >&6; }
   9167 		if test "$supported" = "yes" ; then
   9168 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9169 			found="yes"
   9170 		fi
   9171 	fi
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 xorg_testset_save_CFLAGS="$CFLAGS"
   9188 
   9189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9192 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9193 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9194   $as_echo_n "(cached) " >&6
   9195 else
   9196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9197 /* end confdefs.h.  */
   9198 int i;
   9199 _ACEOF
   9200 if ac_fn_c_try_compile "$LINENO"; then :
   9201   xorg_cv_cc_flag_unknown_warning_option=yes
   9202 else
   9203   xorg_cv_cc_flag_unknown_warning_option=no
   9204 fi
   9205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9206 fi
   9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9208 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9210 	CFLAGS="$xorg_testset_save_CFLAGS"
   9211 fi
   9212 
   9213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9216 	fi
   9217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9219 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9220 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9221   $as_echo_n "(cached) " >&6
   9222 else
   9223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9224 /* end confdefs.h.  */
   9225 int i;
   9226 _ACEOF
   9227 if ac_fn_c_try_compile "$LINENO"; then :
   9228   xorg_cv_cc_flag_unused_command_line_argument=yes
   9229 else
   9230   xorg_cv_cc_flag_unused_command_line_argument=no
   9231 fi
   9232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9233 fi
   9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9235 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9236 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9237 	CFLAGS="$xorg_testset_save_CFLAGS"
   9238 fi
   9239 
   9240 found="no"
   9241 
   9242 	if test $found = "no" ; then
   9243 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9244 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9245 		fi
   9246 
   9247 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9248 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9249 		fi
   9250 
   9251 		CFLAGS="$CFLAGS -Wmissing-braces"
   9252 
   9253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9254 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9255 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9256 		if eval \${$cacheid+:} false; then :
   9257   $as_echo_n "(cached) " >&6
   9258 else
   9259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9260 /* end confdefs.h.  */
   9261 int i;
   9262 int
   9263 main ()
   9264 {
   9265 
   9266   ;
   9267   return 0;
   9268 }
   9269 _ACEOF
   9270 if ac_fn_c_try_link "$LINENO"; then :
   9271   eval $cacheid=yes
   9272 else
   9273   eval $cacheid=no
   9274 fi
   9275 rm -f core conftest.err conftest.$ac_objext \
   9276     conftest$ac_exeext conftest.$ac_ext
   9277 fi
   9278 
   9279 
   9280 		CFLAGS="$xorg_testset_save_CFLAGS"
   9281 
   9282 		eval supported=\$$cacheid
   9283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9284 $as_echo "$supported" >&6; }
   9285 		if test "$supported" = "yes" ; then
   9286 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9287 			found="yes"
   9288 		fi
   9289 	fi
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 xorg_testset_save_CFLAGS="$CFLAGS"
   9306 
   9307 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9308 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9310 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9311 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9312   $as_echo_n "(cached) " >&6
   9313 else
   9314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9315 /* end confdefs.h.  */
   9316 int i;
   9317 _ACEOF
   9318 if ac_fn_c_try_compile "$LINENO"; then :
   9319   xorg_cv_cc_flag_unknown_warning_option=yes
   9320 else
   9321   xorg_cv_cc_flag_unknown_warning_option=no
   9322 fi
   9323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9324 fi
   9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9326 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9327 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9328 	CFLAGS="$xorg_testset_save_CFLAGS"
   9329 fi
   9330 
   9331 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9332 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9333 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9334 	fi
   9335 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9337 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9338 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9339   $as_echo_n "(cached) " >&6
   9340 else
   9341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9342 /* end confdefs.h.  */
   9343 int i;
   9344 _ACEOF
   9345 if ac_fn_c_try_compile "$LINENO"; then :
   9346   xorg_cv_cc_flag_unused_command_line_argument=yes
   9347 else
   9348   xorg_cv_cc_flag_unused_command_line_argument=no
   9349 fi
   9350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9351 fi
   9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9353 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9354 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9355 	CFLAGS="$xorg_testset_save_CFLAGS"
   9356 fi
   9357 
   9358 found="no"
   9359 
   9360 	if test $found = "no" ; then
   9361 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9362 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9363 		fi
   9364 
   9365 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9366 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9367 		fi
   9368 
   9369 		CFLAGS="$CFLAGS -Wsequence-point"
   9370 
   9371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9372 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9373 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9374 		if eval \${$cacheid+:} false; then :
   9375   $as_echo_n "(cached) " >&6
   9376 else
   9377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9378 /* end confdefs.h.  */
   9379 int i;
   9380 int
   9381 main ()
   9382 {
   9383 
   9384   ;
   9385   return 0;
   9386 }
   9387 _ACEOF
   9388 if ac_fn_c_try_link "$LINENO"; then :
   9389   eval $cacheid=yes
   9390 else
   9391   eval $cacheid=no
   9392 fi
   9393 rm -f core conftest.err conftest.$ac_objext \
   9394     conftest$ac_exeext conftest.$ac_ext
   9395 fi
   9396 
   9397 
   9398 		CFLAGS="$xorg_testset_save_CFLAGS"
   9399 
   9400 		eval supported=\$$cacheid
   9401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9402 $as_echo "$supported" >&6; }
   9403 		if test "$supported" = "yes" ; then
   9404 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9405 			found="yes"
   9406 		fi
   9407 	fi
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 xorg_testset_save_CFLAGS="$CFLAGS"
   9424 
   9425 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9428 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9429 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9430   $as_echo_n "(cached) " >&6
   9431 else
   9432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9433 /* end confdefs.h.  */
   9434 int i;
   9435 _ACEOF
   9436 if ac_fn_c_try_compile "$LINENO"; then :
   9437   xorg_cv_cc_flag_unknown_warning_option=yes
   9438 else
   9439   xorg_cv_cc_flag_unknown_warning_option=no
   9440 fi
   9441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9442 fi
   9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9444 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9446 	CFLAGS="$xorg_testset_save_CFLAGS"
   9447 fi
   9448 
   9449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9452 	fi
   9453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9455 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9456 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9457   $as_echo_n "(cached) " >&6
   9458 else
   9459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9460 /* end confdefs.h.  */
   9461 int i;
   9462 _ACEOF
   9463 if ac_fn_c_try_compile "$LINENO"; then :
   9464   xorg_cv_cc_flag_unused_command_line_argument=yes
   9465 else
   9466   xorg_cv_cc_flag_unused_command_line_argument=no
   9467 fi
   9468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9469 fi
   9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9471 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9472 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9473 	CFLAGS="$xorg_testset_save_CFLAGS"
   9474 fi
   9475 
   9476 found="no"
   9477 
   9478 	if test $found = "no" ; then
   9479 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9481 		fi
   9482 
   9483 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9485 		fi
   9486 
   9487 		CFLAGS="$CFLAGS -Wreturn-type"
   9488 
   9489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9490 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9491 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9492 		if eval \${$cacheid+:} false; then :
   9493   $as_echo_n "(cached) " >&6
   9494 else
   9495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9496 /* end confdefs.h.  */
   9497 int i;
   9498 int
   9499 main ()
   9500 {
   9501 
   9502   ;
   9503   return 0;
   9504 }
   9505 _ACEOF
   9506 if ac_fn_c_try_link "$LINENO"; then :
   9507   eval $cacheid=yes
   9508 else
   9509   eval $cacheid=no
   9510 fi
   9511 rm -f core conftest.err conftest.$ac_objext \
   9512     conftest$ac_exeext conftest.$ac_ext
   9513 fi
   9514 
   9515 
   9516 		CFLAGS="$xorg_testset_save_CFLAGS"
   9517 
   9518 		eval supported=\$$cacheid
   9519 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9520 $as_echo "$supported" >&6; }
   9521 		if test "$supported" = "yes" ; then
   9522 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9523 			found="yes"
   9524 		fi
   9525 	fi
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 xorg_testset_save_CFLAGS="$CFLAGS"
   9542 
   9543 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9544 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9546 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9547 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9548   $as_echo_n "(cached) " >&6
   9549 else
   9550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9551 /* end confdefs.h.  */
   9552 int i;
   9553 _ACEOF
   9554 if ac_fn_c_try_compile "$LINENO"; then :
   9555   xorg_cv_cc_flag_unknown_warning_option=yes
   9556 else
   9557   xorg_cv_cc_flag_unknown_warning_option=no
   9558 fi
   9559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9560 fi
   9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9562 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9563 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9564 	CFLAGS="$xorg_testset_save_CFLAGS"
   9565 fi
   9566 
   9567 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9568 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9569 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9570 	fi
   9571 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9573 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9574 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9575   $as_echo_n "(cached) " >&6
   9576 else
   9577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9578 /* end confdefs.h.  */
   9579 int i;
   9580 _ACEOF
   9581 if ac_fn_c_try_compile "$LINENO"; then :
   9582   xorg_cv_cc_flag_unused_command_line_argument=yes
   9583 else
   9584   xorg_cv_cc_flag_unused_command_line_argument=no
   9585 fi
   9586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9587 fi
   9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9589 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9591 	CFLAGS="$xorg_testset_save_CFLAGS"
   9592 fi
   9593 
   9594 found="no"
   9595 
   9596 	if test $found = "no" ; then
   9597 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9599 		fi
   9600 
   9601 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9603 		fi
   9604 
   9605 		CFLAGS="$CFLAGS -Wtrigraphs"
   9606 
   9607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9608 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9609 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9610 		if eval \${$cacheid+:} false; then :
   9611   $as_echo_n "(cached) " >&6
   9612 else
   9613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9614 /* end confdefs.h.  */
   9615 int i;
   9616 int
   9617 main ()
   9618 {
   9619 
   9620   ;
   9621   return 0;
   9622 }
   9623 _ACEOF
   9624 if ac_fn_c_try_link "$LINENO"; then :
   9625   eval $cacheid=yes
   9626 else
   9627   eval $cacheid=no
   9628 fi
   9629 rm -f core conftest.err conftest.$ac_objext \
   9630     conftest$ac_exeext conftest.$ac_ext
   9631 fi
   9632 
   9633 
   9634 		CFLAGS="$xorg_testset_save_CFLAGS"
   9635 
   9636 		eval supported=\$$cacheid
   9637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9638 $as_echo "$supported" >&6; }
   9639 		if test "$supported" = "yes" ; then
   9640 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9641 			found="yes"
   9642 		fi
   9643 	fi
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 xorg_testset_save_CFLAGS="$CFLAGS"
   9660 
   9661 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9662 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9664 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9665 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9666   $as_echo_n "(cached) " >&6
   9667 else
   9668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9669 /* end confdefs.h.  */
   9670 int i;
   9671 _ACEOF
   9672 if ac_fn_c_try_compile "$LINENO"; then :
   9673   xorg_cv_cc_flag_unknown_warning_option=yes
   9674 else
   9675   xorg_cv_cc_flag_unknown_warning_option=no
   9676 fi
   9677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9678 fi
   9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9680 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9681 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9682 	CFLAGS="$xorg_testset_save_CFLAGS"
   9683 fi
   9684 
   9685 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9686 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9687 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9688 	fi
   9689 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9691 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9692 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9693   $as_echo_n "(cached) " >&6
   9694 else
   9695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9696 /* end confdefs.h.  */
   9697 int i;
   9698 _ACEOF
   9699 if ac_fn_c_try_compile "$LINENO"; then :
   9700   xorg_cv_cc_flag_unused_command_line_argument=yes
   9701 else
   9702   xorg_cv_cc_flag_unused_command_line_argument=no
   9703 fi
   9704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9705 fi
   9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9707 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9709 	CFLAGS="$xorg_testset_save_CFLAGS"
   9710 fi
   9711 
   9712 found="no"
   9713 
   9714 	if test $found = "no" ; then
   9715 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9717 		fi
   9718 
   9719 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9721 		fi
   9722 
   9723 		CFLAGS="$CFLAGS -Warray-bounds"
   9724 
   9725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9726 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9727 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9728 		if eval \${$cacheid+:} false; then :
   9729   $as_echo_n "(cached) " >&6
   9730 else
   9731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9732 /* end confdefs.h.  */
   9733 int i;
   9734 int
   9735 main ()
   9736 {
   9737 
   9738   ;
   9739   return 0;
   9740 }
   9741 _ACEOF
   9742 if ac_fn_c_try_link "$LINENO"; then :
   9743   eval $cacheid=yes
   9744 else
   9745   eval $cacheid=no
   9746 fi
   9747 rm -f core conftest.err conftest.$ac_objext \
   9748     conftest$ac_exeext conftest.$ac_ext
   9749 fi
   9750 
   9751 
   9752 		CFLAGS="$xorg_testset_save_CFLAGS"
   9753 
   9754 		eval supported=\$$cacheid
   9755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9756 $as_echo "$supported" >&6; }
   9757 		if test "$supported" = "yes" ; then
   9758 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9759 			found="yes"
   9760 		fi
   9761 	fi
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 xorg_testset_save_CFLAGS="$CFLAGS"
   9778 
   9779 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9780 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9782 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9783 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9784   $as_echo_n "(cached) " >&6
   9785 else
   9786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9787 /* end confdefs.h.  */
   9788 int i;
   9789 _ACEOF
   9790 if ac_fn_c_try_compile "$LINENO"; then :
   9791   xorg_cv_cc_flag_unknown_warning_option=yes
   9792 else
   9793   xorg_cv_cc_flag_unknown_warning_option=no
   9794 fi
   9795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9796 fi
   9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9798 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9799 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9800 	CFLAGS="$xorg_testset_save_CFLAGS"
   9801 fi
   9802 
   9803 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9804 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9805 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9806 	fi
   9807 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9808 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9809 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9810 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9811   $as_echo_n "(cached) " >&6
   9812 else
   9813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9814 /* end confdefs.h.  */
   9815 int i;
   9816 _ACEOF
   9817 if ac_fn_c_try_compile "$LINENO"; then :
   9818   xorg_cv_cc_flag_unused_command_line_argument=yes
   9819 else
   9820   xorg_cv_cc_flag_unused_command_line_argument=no
   9821 fi
   9822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9823 fi
   9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9825 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9826 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9827 	CFLAGS="$xorg_testset_save_CFLAGS"
   9828 fi
   9829 
   9830 found="no"
   9831 
   9832 	if test $found = "no" ; then
   9833 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9834 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9835 		fi
   9836 
   9837 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9838 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9839 		fi
   9840 
   9841 		CFLAGS="$CFLAGS -Wwrite-strings"
   9842 
   9843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9844 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9845 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9846 		if eval \${$cacheid+:} false; then :
   9847   $as_echo_n "(cached) " >&6
   9848 else
   9849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9850 /* end confdefs.h.  */
   9851 int i;
   9852 int
   9853 main ()
   9854 {
   9855 
   9856   ;
   9857   return 0;
   9858 }
   9859 _ACEOF
   9860 if ac_fn_c_try_link "$LINENO"; then :
   9861   eval $cacheid=yes
   9862 else
   9863   eval $cacheid=no
   9864 fi
   9865 rm -f core conftest.err conftest.$ac_objext \
   9866     conftest$ac_exeext conftest.$ac_ext
   9867 fi
   9868 
   9869 
   9870 		CFLAGS="$xorg_testset_save_CFLAGS"
   9871 
   9872 		eval supported=\$$cacheid
   9873 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9874 $as_echo "$supported" >&6; }
   9875 		if test "$supported" = "yes" ; then
   9876 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9877 			found="yes"
   9878 		fi
   9879 	fi
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 xorg_testset_save_CFLAGS="$CFLAGS"
   9896 
   9897 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9898 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9900 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9901 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9902   $as_echo_n "(cached) " >&6
   9903 else
   9904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9905 /* end confdefs.h.  */
   9906 int i;
   9907 _ACEOF
   9908 if ac_fn_c_try_compile "$LINENO"; then :
   9909   xorg_cv_cc_flag_unknown_warning_option=yes
   9910 else
   9911   xorg_cv_cc_flag_unknown_warning_option=no
   9912 fi
   9913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9914 fi
   9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9916 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9917 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9918 	CFLAGS="$xorg_testset_save_CFLAGS"
   9919 fi
   9920 
   9921 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9922 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9923 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9924 	fi
   9925 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9926 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9927 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9928 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9929   $as_echo_n "(cached) " >&6
   9930 else
   9931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9932 /* end confdefs.h.  */
   9933 int i;
   9934 _ACEOF
   9935 if ac_fn_c_try_compile "$LINENO"; then :
   9936   xorg_cv_cc_flag_unused_command_line_argument=yes
   9937 else
   9938   xorg_cv_cc_flag_unused_command_line_argument=no
   9939 fi
   9940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9941 fi
   9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9943 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9944 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9945 	CFLAGS="$xorg_testset_save_CFLAGS"
   9946 fi
   9947 
   9948 found="no"
   9949 
   9950 	if test $found = "no" ; then
   9951 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9953 		fi
   9954 
   9955 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9957 		fi
   9958 
   9959 		CFLAGS="$CFLAGS -Waddress"
   9960 
   9961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9962 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9963 		cacheid=xorg_cv_cc_flag__Waddress
   9964 		if eval \${$cacheid+:} false; then :
   9965   $as_echo_n "(cached) " >&6
   9966 else
   9967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9968 /* end confdefs.h.  */
   9969 int i;
   9970 int
   9971 main ()
   9972 {
   9973 
   9974   ;
   9975   return 0;
   9976 }
   9977 _ACEOF
   9978 if ac_fn_c_try_link "$LINENO"; then :
   9979   eval $cacheid=yes
   9980 else
   9981   eval $cacheid=no
   9982 fi
   9983 rm -f core conftest.err conftest.$ac_objext \
   9984     conftest$ac_exeext conftest.$ac_ext
   9985 fi
   9986 
   9987 
   9988 		CFLAGS="$xorg_testset_save_CFLAGS"
   9989 
   9990 		eval supported=\$$cacheid
   9991 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9992 $as_echo "$supported" >&6; }
   9993 		if test "$supported" = "yes" ; then
   9994 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9995 			found="yes"
   9996 		fi
   9997 	fi
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 xorg_testset_save_CFLAGS="$CFLAGS"
   10014 
   10015 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10016 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10017 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10018 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10019 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10020   $as_echo_n "(cached) " >&6
   10021 else
   10022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10023 /* end confdefs.h.  */
   10024 int i;
   10025 _ACEOF
   10026 if ac_fn_c_try_compile "$LINENO"; then :
   10027   xorg_cv_cc_flag_unknown_warning_option=yes
   10028 else
   10029   xorg_cv_cc_flag_unknown_warning_option=no
   10030 fi
   10031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10032 fi
   10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10034 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10035 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10036 	CFLAGS="$xorg_testset_save_CFLAGS"
   10037 fi
   10038 
   10039 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10040 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10041 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10042 	fi
   10043 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10045 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10046 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10047   $as_echo_n "(cached) " >&6
   10048 else
   10049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10050 /* end confdefs.h.  */
   10051 int i;
   10052 _ACEOF
   10053 if ac_fn_c_try_compile "$LINENO"; then :
   10054   xorg_cv_cc_flag_unused_command_line_argument=yes
   10055 else
   10056   xorg_cv_cc_flag_unused_command_line_argument=no
   10057 fi
   10058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10059 fi
   10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10061 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10062 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10063 	CFLAGS="$xorg_testset_save_CFLAGS"
   10064 fi
   10065 
   10066 found="no"
   10067 
   10068 	if test $found = "no" ; then
   10069 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10070 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10071 		fi
   10072 
   10073 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10074 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10075 		fi
   10076 
   10077 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10078 
   10079 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10080 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10081 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10082 		if eval \${$cacheid+:} false; then :
   10083   $as_echo_n "(cached) " >&6
   10084 else
   10085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10086 /* end confdefs.h.  */
   10087 int i;
   10088 int
   10089 main ()
   10090 {
   10091 
   10092   ;
   10093   return 0;
   10094 }
   10095 _ACEOF
   10096 if ac_fn_c_try_link "$LINENO"; then :
   10097   eval $cacheid=yes
   10098 else
   10099   eval $cacheid=no
   10100 fi
   10101 rm -f core conftest.err conftest.$ac_objext \
   10102     conftest$ac_exeext conftest.$ac_ext
   10103 fi
   10104 
   10105 
   10106 		CFLAGS="$xorg_testset_save_CFLAGS"
   10107 
   10108 		eval supported=\$$cacheid
   10109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10110 $as_echo "$supported" >&6; }
   10111 		if test "$supported" = "yes" ; then
   10112 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10113 			found="yes"
   10114 		fi
   10115 	fi
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 xorg_testset_save_CFLAGS="$CFLAGS"
   10132 
   10133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10134 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10135 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10136 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10137 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10138   $as_echo_n "(cached) " >&6
   10139 else
   10140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10141 /* end confdefs.h.  */
   10142 int i;
   10143 _ACEOF
   10144 if ac_fn_c_try_compile "$LINENO"; then :
   10145   xorg_cv_cc_flag_unknown_warning_option=yes
   10146 else
   10147   xorg_cv_cc_flag_unknown_warning_option=no
   10148 fi
   10149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10150 fi
   10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10152 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10153 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10154 	CFLAGS="$xorg_testset_save_CFLAGS"
   10155 fi
   10156 
   10157 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10158 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10159 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10160 	fi
   10161 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10163 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10164 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10165   $as_echo_n "(cached) " >&6
   10166 else
   10167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10168 /* end confdefs.h.  */
   10169 int i;
   10170 _ACEOF
   10171 if ac_fn_c_try_compile "$LINENO"; then :
   10172   xorg_cv_cc_flag_unused_command_line_argument=yes
   10173 else
   10174   xorg_cv_cc_flag_unused_command_line_argument=no
   10175 fi
   10176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10177 fi
   10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10179 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10180 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10181 	CFLAGS="$xorg_testset_save_CFLAGS"
   10182 fi
   10183 
   10184 found="no"
   10185 
   10186 	if test $found = "no" ; then
   10187 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10189 		fi
   10190 
   10191 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10193 		fi
   10194 
   10195 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10196 
   10197 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10198 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10199 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10200 		if eval \${$cacheid+:} false; then :
   10201   $as_echo_n "(cached) " >&6
   10202 else
   10203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10204 /* end confdefs.h.  */
   10205 int i;
   10206 int
   10207 main ()
   10208 {
   10209 
   10210   ;
   10211   return 0;
   10212 }
   10213 _ACEOF
   10214 if ac_fn_c_try_link "$LINENO"; then :
   10215   eval $cacheid=yes
   10216 else
   10217   eval $cacheid=no
   10218 fi
   10219 rm -f core conftest.err conftest.$ac_objext \
   10220     conftest$ac_exeext conftest.$ac_ext
   10221 fi
   10222 
   10223 
   10224 		CFLAGS="$xorg_testset_save_CFLAGS"
   10225 
   10226 		eval supported=\$$cacheid
   10227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10228 $as_echo "$supported" >&6; }
   10229 		if test "$supported" = "yes" ; then
   10230 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10231 			found="yes"
   10232 		fi
   10233 	fi
   10234 
   10235 
   10236 fi
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 		CWARNFLAGS="$BASE_CFLAGS"
   10245 		if  test "x$GCC" = xyes ; then
   10246 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10247 		fi
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 # Check whether --enable-strict-compilation was given.
   10257 if test "${enable_strict_compilation+set}" = set; then :
   10258   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10259 else
   10260   STRICT_COMPILE=no
   10261 fi
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 STRICT_CFLAGS=""
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 xorg_testset_save_CFLAGS="$CFLAGS"
   10283 
   10284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10287 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10288 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10289   $as_echo_n "(cached) " >&6
   10290 else
   10291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10292 /* end confdefs.h.  */
   10293 int i;
   10294 _ACEOF
   10295 if ac_fn_c_try_compile "$LINENO"; then :
   10296   xorg_cv_cc_flag_unknown_warning_option=yes
   10297 else
   10298   xorg_cv_cc_flag_unknown_warning_option=no
   10299 fi
   10300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10301 fi
   10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10303 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10304 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10305 	CFLAGS="$xorg_testset_save_CFLAGS"
   10306 fi
   10307 
   10308 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10309 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10311 	fi
   10312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10314 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10315 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10316   $as_echo_n "(cached) " >&6
   10317 else
   10318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10319 /* end confdefs.h.  */
   10320 int i;
   10321 _ACEOF
   10322 if ac_fn_c_try_compile "$LINENO"; then :
   10323   xorg_cv_cc_flag_unused_command_line_argument=yes
   10324 else
   10325   xorg_cv_cc_flag_unused_command_line_argument=no
   10326 fi
   10327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10328 fi
   10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10330 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10332 	CFLAGS="$xorg_testset_save_CFLAGS"
   10333 fi
   10334 
   10335 found="no"
   10336 
   10337 	if test $found = "no" ; then
   10338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10340 		fi
   10341 
   10342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10344 		fi
   10345 
   10346 		CFLAGS="$CFLAGS -pedantic"
   10347 
   10348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10349 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10350 		cacheid=xorg_cv_cc_flag__pedantic
   10351 		if eval \${$cacheid+:} false; then :
   10352   $as_echo_n "(cached) " >&6
   10353 else
   10354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10355 /* end confdefs.h.  */
   10356 int i;
   10357 int
   10358 main ()
   10359 {
   10360 
   10361   ;
   10362   return 0;
   10363 }
   10364 _ACEOF
   10365 if ac_fn_c_try_link "$LINENO"; then :
   10366   eval $cacheid=yes
   10367 else
   10368   eval $cacheid=no
   10369 fi
   10370 rm -f core conftest.err conftest.$ac_objext \
   10371     conftest$ac_exeext conftest.$ac_ext
   10372 fi
   10373 
   10374 
   10375 		CFLAGS="$xorg_testset_save_CFLAGS"
   10376 
   10377 		eval supported=\$$cacheid
   10378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10379 $as_echo "$supported" >&6; }
   10380 		if test "$supported" = "yes" ; then
   10381 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10382 			found="yes"
   10383 		fi
   10384 	fi
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 xorg_testset_save_CFLAGS="$CFLAGS"
   10401 
   10402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10405 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10406 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10407   $as_echo_n "(cached) " >&6
   10408 else
   10409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10410 /* end confdefs.h.  */
   10411 int i;
   10412 _ACEOF
   10413 if ac_fn_c_try_compile "$LINENO"; then :
   10414   xorg_cv_cc_flag_unknown_warning_option=yes
   10415 else
   10416   xorg_cv_cc_flag_unknown_warning_option=no
   10417 fi
   10418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10419 fi
   10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10421 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10423 	CFLAGS="$xorg_testset_save_CFLAGS"
   10424 fi
   10425 
   10426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10429 	fi
   10430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10432 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10433 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10434   $as_echo_n "(cached) " >&6
   10435 else
   10436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10437 /* end confdefs.h.  */
   10438 int i;
   10439 _ACEOF
   10440 if ac_fn_c_try_compile "$LINENO"; then :
   10441   xorg_cv_cc_flag_unused_command_line_argument=yes
   10442 else
   10443   xorg_cv_cc_flag_unused_command_line_argument=no
   10444 fi
   10445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10446 fi
   10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10448 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10450 	CFLAGS="$xorg_testset_save_CFLAGS"
   10451 fi
   10452 
   10453 found="no"
   10454 
   10455 	if test $found = "no" ; then
   10456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10458 		fi
   10459 
   10460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10462 		fi
   10463 
   10464 		CFLAGS="$CFLAGS -Werror"
   10465 
   10466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10467 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10468 		cacheid=xorg_cv_cc_flag__Werror
   10469 		if eval \${$cacheid+:} false; then :
   10470   $as_echo_n "(cached) " >&6
   10471 else
   10472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10473 /* end confdefs.h.  */
   10474 int i;
   10475 int
   10476 main ()
   10477 {
   10478 
   10479   ;
   10480   return 0;
   10481 }
   10482 _ACEOF
   10483 if ac_fn_c_try_link "$LINENO"; then :
   10484   eval $cacheid=yes
   10485 else
   10486   eval $cacheid=no
   10487 fi
   10488 rm -f core conftest.err conftest.$ac_objext \
   10489     conftest$ac_exeext conftest.$ac_ext
   10490 fi
   10491 
   10492 
   10493 		CFLAGS="$xorg_testset_save_CFLAGS"
   10494 
   10495 		eval supported=\$$cacheid
   10496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10497 $as_echo "$supported" >&6; }
   10498 		if test "$supported" = "yes" ; then
   10499 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10500 			found="yes"
   10501 		fi
   10502 	fi
   10503 
   10504 	if test $found = "no" ; then
   10505 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10506 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10507 		fi
   10508 
   10509 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10510 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10511 		fi
   10512 
   10513 		CFLAGS="$CFLAGS -errwarn"
   10514 
   10515 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10516 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10517 		cacheid=xorg_cv_cc_flag__errwarn
   10518 		if eval \${$cacheid+:} false; then :
   10519   $as_echo_n "(cached) " >&6
   10520 else
   10521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10522 /* end confdefs.h.  */
   10523 int i;
   10524 int
   10525 main ()
   10526 {
   10527 
   10528   ;
   10529   return 0;
   10530 }
   10531 _ACEOF
   10532 if ac_fn_c_try_link "$LINENO"; then :
   10533   eval $cacheid=yes
   10534 else
   10535   eval $cacheid=no
   10536 fi
   10537 rm -f core conftest.err conftest.$ac_objext \
   10538     conftest$ac_exeext conftest.$ac_ext
   10539 fi
   10540 
   10541 
   10542 		CFLAGS="$xorg_testset_save_CFLAGS"
   10543 
   10544 		eval supported=\$$cacheid
   10545 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10546 $as_echo "$supported" >&6; }
   10547 		if test "$supported" = "yes" ; then
   10548 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10549 			found="yes"
   10550 		fi
   10551 	fi
   10552 
   10553 
   10554 
   10555 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10556 # activate it with -Werror, so we add it here explicitly.
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 xorg_testset_save_CFLAGS="$CFLAGS"
   10571 
   10572 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10573 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10575 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10576 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10577   $as_echo_n "(cached) " >&6
   10578 else
   10579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10580 /* end confdefs.h.  */
   10581 int i;
   10582 _ACEOF
   10583 if ac_fn_c_try_compile "$LINENO"; then :
   10584   xorg_cv_cc_flag_unknown_warning_option=yes
   10585 else
   10586   xorg_cv_cc_flag_unknown_warning_option=no
   10587 fi
   10588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10589 fi
   10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10591 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10592 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10593 	CFLAGS="$xorg_testset_save_CFLAGS"
   10594 fi
   10595 
   10596 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10597 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10598 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10599 	fi
   10600 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10601 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10602 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10603 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10604   $as_echo_n "(cached) " >&6
   10605 else
   10606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10607 /* end confdefs.h.  */
   10608 int i;
   10609 _ACEOF
   10610 if ac_fn_c_try_compile "$LINENO"; then :
   10611   xorg_cv_cc_flag_unused_command_line_argument=yes
   10612 else
   10613   xorg_cv_cc_flag_unused_command_line_argument=no
   10614 fi
   10615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10616 fi
   10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10618 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10620 	CFLAGS="$xorg_testset_save_CFLAGS"
   10621 fi
   10622 
   10623 found="no"
   10624 
   10625 	if test $found = "no" ; then
   10626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10628 		fi
   10629 
   10630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10632 		fi
   10633 
   10634 		CFLAGS="$CFLAGS -Werror=attributes"
   10635 
   10636 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10637 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10638 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10639 		if eval \${$cacheid+:} false; then :
   10640   $as_echo_n "(cached) " >&6
   10641 else
   10642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10643 /* end confdefs.h.  */
   10644 int i;
   10645 int
   10646 main ()
   10647 {
   10648 
   10649   ;
   10650   return 0;
   10651 }
   10652 _ACEOF
   10653 if ac_fn_c_try_link "$LINENO"; then :
   10654   eval $cacheid=yes
   10655 else
   10656   eval $cacheid=no
   10657 fi
   10658 rm -f core conftest.err conftest.$ac_objext \
   10659     conftest$ac_exeext conftest.$ac_ext
   10660 fi
   10661 
   10662 
   10663 		CFLAGS="$xorg_testset_save_CFLAGS"
   10664 
   10665 		eval supported=\$$cacheid
   10666 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10667 $as_echo "$supported" >&6; }
   10668 		if test "$supported" = "yes" ; then
   10669 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10670 			found="yes"
   10671 		fi
   10672 	fi
   10673 
   10674 
   10675 
   10676 if test "x$STRICT_COMPILE" = "xyes"; then
   10677     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10678     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10679 fi
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 cat >>confdefs.h <<_ACEOF
   10687 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10688 _ACEOF
   10689 
   10690 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10691 	if test "x$PVM" = "x"; then
   10692 		PVM="0"
   10693 	fi
   10694 
   10695 cat >>confdefs.h <<_ACEOF
   10696 #define PACKAGE_VERSION_MINOR $PVM
   10697 _ACEOF
   10698 
   10699 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10700 	if test "x$PVP" = "x"; then
   10701 		PVP="0"
   10702 	fi
   10703 
   10704 cat >>confdefs.h <<_ACEOF
   10705 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10706 _ACEOF
   10707 
   10708 
   10709 
   10710 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10711 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10712 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10713 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10714 
   10715 
   10716 
   10717 
   10718 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10719 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10720 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10721 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10722 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 if test x$APP_MAN_SUFFIX = x    ; then
   10730     APP_MAN_SUFFIX=1
   10731 fi
   10732 if test x$APP_MAN_DIR = x    ; then
   10733     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10734 fi
   10735 
   10736 if test x$LIB_MAN_SUFFIX = x    ; then
   10737     LIB_MAN_SUFFIX=3
   10738 fi
   10739 if test x$LIB_MAN_DIR = x    ; then
   10740     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10741 fi
   10742 
   10743 if test x$FILE_MAN_SUFFIX = x    ; then
   10744     case $host_os in
   10745 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10746 	*)		FILE_MAN_SUFFIX=5  ;;
   10747     esac
   10748 fi
   10749 if test x$FILE_MAN_DIR = x    ; then
   10750     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10751 fi
   10752 
   10753 if test x$MISC_MAN_SUFFIX = x    ; then
   10754     case $host_os in
   10755 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10756 	*)		MISC_MAN_SUFFIX=7  ;;
   10757     esac
   10758 fi
   10759 if test x$MISC_MAN_DIR = x    ; then
   10760     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10761 fi
   10762 
   10763 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10764     case $host_os in
   10765 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10766 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10767     esac
   10768 fi
   10769 if test x$DRIVER_MAN_DIR = x    ; then
   10770     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10771 fi
   10772 
   10773 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10774     case $host_os in
   10775 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10776 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10777     esac
   10778 fi
   10779 if test x$ADMIN_MAN_DIR = x    ; then
   10780     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10781 fi
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 XORG_MAN_PAGE="X Version 11"
   10798 
   10799 MAN_SUBSTS="\
   10800 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10801 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10802 	-e 's|__xservername__|Xorg|g' \
   10803 	-e 's|__xconfigfile__|xorg.conf|g' \
   10804 	-e 's|__projectroot__|\$(prefix)|g' \
   10805 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10806 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10807 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10808 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10809 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10810 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10811 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10812 
   10813 
   10814 
   10815 # Check whether --enable-silent-rules was given.
   10816 if test "${enable_silent_rules+set}" = set; then :
   10817   enableval=$enable_silent_rules;
   10818 fi
   10819 
   10820 case $enable_silent_rules in # (((
   10821   yes) AM_DEFAULT_VERBOSITY=0;;
   10822    no) AM_DEFAULT_VERBOSITY=1;;
   10823     *) AM_DEFAULT_VERBOSITY=0;;
   10824 esac
   10825 am_make=${MAKE-make}
   10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10827 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10828 if ${am_cv_make_support_nested_variables+:} false; then :
   10829   $as_echo_n "(cached) " >&6
   10830 else
   10831   if $as_echo 'TRUE=$(BAR$(V))
   10832 BAR0=false
   10833 BAR1=true
   10834 V=1
   10835 am__doit:
   10836 	@$(TRUE)
   10837 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10838   am_cv_make_support_nested_variables=yes
   10839 else
   10840   am_cv_make_support_nested_variables=no
   10841 fi
   10842 fi
   10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10844 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10845 if test $am_cv_make_support_nested_variables = yes; then
   10846     AM_V='$(V)'
   10847   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10848 else
   10849   AM_V=$AM_DEFAULT_VERBOSITY
   10850   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10851 fi
   10852 AM_BACKSLASH='\'
   10853 
   10854 
   10855 
   10856 # Initialize libtool
   10857 # Check whether --enable-static was given.
   10858 if test "${enable_static+set}" = set; then :
   10859   enableval=$enable_static; p=${PACKAGE-default}
   10860     case $enableval in
   10861     yes) enable_static=yes ;;
   10862     no) enable_static=no ;;
   10863     *)
   10864      enable_static=no
   10865       # Look at the argument we got.  We use all the common list separators.
   10866       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10867       for pkg in $enableval; do
   10868 	IFS=$lt_save_ifs
   10869 	if test "X$pkg" = "X$p"; then
   10870 	  enable_static=yes
   10871 	fi
   10872       done
   10873       IFS=$lt_save_ifs
   10874       ;;
   10875     esac
   10876 else
   10877   enable_static=no
   10878 fi
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 case `pwd` in
   10889   *\ * | *\	*)
   10890     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10891 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10892 esac
   10893 
   10894 
   10895 
   10896 macro_version='2.4.6'
   10897 macro_revision='2.4.6'
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 ltmain=$ac_aux_dir/ltmain.sh
   10912 
   10913 # Backslashify metacharacters that are still active within
   10914 # double-quoted strings.
   10915 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10916 
   10917 # Same as above, but do not quote variable references.
   10918 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10919 
   10920 # Sed substitution to delay expansion of an escaped shell variable in a
   10921 # double_quote_subst'ed string.
   10922 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10923 
   10924 # Sed substitution to delay expansion of an escaped single quote.
   10925 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10926 
   10927 # Sed substitution to avoid accidental globbing in evaled expressions
   10928 no_glob_subst='s/\*/\\\*/g'
   10929 
   10930 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10931 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10932 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10933 
   10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10935 $as_echo_n "checking how to print strings... " >&6; }
   10936 # Test print first, because it will be a builtin if present.
   10937 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10938    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10939   ECHO='print -r --'
   10940 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10941   ECHO='printf %s\n'
   10942 else
   10943   # Use this function as a fallback that always works.
   10944   func_fallback_echo ()
   10945   {
   10946     eval 'cat <<_LTECHO_EOF
   10947 $1
   10948 _LTECHO_EOF'
   10949   }
   10950   ECHO='func_fallback_echo'
   10951 fi
   10952 
   10953 # func_echo_all arg...
   10954 # Invoke $ECHO with all args, space-separated.
   10955 func_echo_all ()
   10956 {
   10957     $ECHO ""
   10958 }
   10959 
   10960 case $ECHO in
   10961   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10962 $as_echo "printf" >&6; } ;;
   10963   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10964 $as_echo "print -r" >&6; } ;;
   10965   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10966 $as_echo "cat" >&6; } ;;
   10967 esac
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10983 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10984 if ${ac_cv_path_SED+:} false; then :
   10985   $as_echo_n "(cached) " >&6
   10986 else
   10987             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   10988      for ac_i in 1 2 3 4 5 6 7; do
   10989        ac_script="$ac_script$as_nl$ac_script"
   10990      done
   10991      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   10992      { ac_script=; unset ac_script;}
   10993      if test -z "$SED"; then
   10994   ac_path_SED_found=false
   10995   # Loop through the user's path and test for each of PROGNAME-LIST
   10996   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10997 for as_dir in $PATH
   10998 do
   10999   IFS=$as_save_IFS
   11000   test -z "$as_dir" && as_dir=.
   11001     for ac_prog in sed gsed; do
   11002     for ac_exec_ext in '' $ac_executable_extensions; do
   11003       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   11004       as_fn_executable_p "$ac_path_SED" || continue
   11005 # Check for GNU ac_path_SED and select it if it is found.
   11006   # Check for GNU $ac_path_SED
   11007 case `"$ac_path_SED" --version 2>&1` in
   11008 *GNU*)
   11009   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11010 *)
   11011   ac_count=0
   11012   $as_echo_n 0123456789 >"conftest.in"
   11013   while :
   11014   do
   11015     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11016     mv "conftest.tmp" "conftest.in"
   11017     cp "conftest.in" "conftest.nl"
   11018     $as_echo '' >> "conftest.nl"
   11019     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11020     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11021     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11022     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11023       # Best one so far, save it but keep looking for a better one
   11024       ac_cv_path_SED="$ac_path_SED"
   11025       ac_path_SED_max=$ac_count
   11026     fi
   11027     # 10*(2^10) chars as input seems more than enough
   11028     test $ac_count -gt 10 && break
   11029   done
   11030   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11031 esac
   11032 
   11033       $ac_path_SED_found && break 3
   11034     done
   11035   done
   11036   done
   11037 IFS=$as_save_IFS
   11038   if test -z "$ac_cv_path_SED"; then
   11039     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11040   fi
   11041 else
   11042   ac_cv_path_SED=$SED
   11043 fi
   11044 
   11045 fi
   11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11047 $as_echo "$ac_cv_path_SED" >&6; }
   11048  SED="$ac_cv_path_SED"
   11049   rm -f conftest.sed
   11050 
   11051 test -z "$SED" && SED=sed
   11052 Xsed="$SED -e 1s/^X//"
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11065 $as_echo_n "checking for fgrep... " >&6; }
   11066 if ${ac_cv_path_FGREP+:} false; then :
   11067   $as_echo_n "(cached) " >&6
   11068 else
   11069   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11070    then ac_cv_path_FGREP="$GREP -F"
   11071    else
   11072      if test -z "$FGREP"; then
   11073   ac_path_FGREP_found=false
   11074   # Loop through the user's path and test for each of PROGNAME-LIST
   11075   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11076 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11077 do
   11078   IFS=$as_save_IFS
   11079   test -z "$as_dir" && as_dir=.
   11080     for ac_prog in fgrep; do
   11081     for ac_exec_ext in '' $ac_executable_extensions; do
   11082       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11083       as_fn_executable_p "$ac_path_FGREP" || continue
   11084 # Check for GNU ac_path_FGREP and select it if it is found.
   11085   # Check for GNU $ac_path_FGREP
   11086 case `"$ac_path_FGREP" --version 2>&1` in
   11087 *GNU*)
   11088   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11089 *)
   11090   ac_count=0
   11091   $as_echo_n 0123456789 >"conftest.in"
   11092   while :
   11093   do
   11094     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11095     mv "conftest.tmp" "conftest.in"
   11096     cp "conftest.in" "conftest.nl"
   11097     $as_echo 'FGREP' >> "conftest.nl"
   11098     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11099     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11100     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11101     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11102       # Best one so far, save it but keep looking for a better one
   11103       ac_cv_path_FGREP="$ac_path_FGREP"
   11104       ac_path_FGREP_max=$ac_count
   11105     fi
   11106     # 10*(2^10) chars as input seems more than enough
   11107     test $ac_count -gt 10 && break
   11108   done
   11109   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11110 esac
   11111 
   11112       $ac_path_FGREP_found && break 3
   11113     done
   11114   done
   11115   done
   11116 IFS=$as_save_IFS
   11117   if test -z "$ac_cv_path_FGREP"; then
   11118     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11119   fi
   11120 else
   11121   ac_cv_path_FGREP=$FGREP
   11122 fi
   11123 
   11124    fi
   11125 fi
   11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11127 $as_echo "$ac_cv_path_FGREP" >&6; }
   11128  FGREP="$ac_cv_path_FGREP"
   11129 
   11130 
   11131 test -z "$GREP" && GREP=grep
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 # Check whether --with-gnu-ld was given.
   11152 if test "${with_gnu_ld+set}" = set; then :
   11153   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11154 else
   11155   with_gnu_ld=no
   11156 fi
   11157 
   11158 ac_prog=ld
   11159 if test yes = "$GCC"; then
   11160   # Check if gcc -print-prog-name=ld gives a path.
   11161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11162 $as_echo_n "checking for ld used by $CC... " >&6; }
   11163   case $host in
   11164   *-*-mingw*)
   11165     # gcc leaves a trailing carriage return, which upsets mingw
   11166     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11167   *)
   11168     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11169   esac
   11170   case $ac_prog in
   11171     # Accept absolute paths.
   11172     [\\/]* | ?:[\\/]*)
   11173       re_direlt='/[^/][^/]*/\.\./'
   11174       # Canonicalize the pathname of ld
   11175       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11176       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11177 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11178       done
   11179       test -z "$LD" && LD=$ac_prog
   11180       ;;
   11181   "")
   11182     # If it fails, then pretend we aren't using GCC.
   11183     ac_prog=ld
   11184     ;;
   11185   *)
   11186     # If it is relative, then search for the first ld in PATH.
   11187     with_gnu_ld=unknown
   11188     ;;
   11189   esac
   11190 elif test yes = "$with_gnu_ld"; then
   11191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11192 $as_echo_n "checking for GNU ld... " >&6; }
   11193 else
   11194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11195 $as_echo_n "checking for non-GNU ld... " >&6; }
   11196 fi
   11197 if ${lt_cv_path_LD+:} false; then :
   11198   $as_echo_n "(cached) " >&6
   11199 else
   11200   if test -z "$LD"; then
   11201   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11202   for ac_dir in $PATH; do
   11203     IFS=$lt_save_ifs
   11204     test -z "$ac_dir" && ac_dir=.
   11205     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11206       lt_cv_path_LD=$ac_dir/$ac_prog
   11207       # Check to see if the program is GNU ld.  I'd rather use --version,
   11208       # but apparently some variants of GNU ld only accept -v.
   11209       # Break only if it was the GNU/non-GNU ld that we prefer.
   11210       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11211       *GNU* | *'with BFD'*)
   11212 	test no != "$with_gnu_ld" && break
   11213 	;;
   11214       *)
   11215 	test yes != "$with_gnu_ld" && break
   11216 	;;
   11217       esac
   11218     fi
   11219   done
   11220   IFS=$lt_save_ifs
   11221 else
   11222   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11223 fi
   11224 fi
   11225 
   11226 LD=$lt_cv_path_LD
   11227 if test -n "$LD"; then
   11228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11229 $as_echo "$LD" >&6; }
   11230 else
   11231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11232 $as_echo "no" >&6; }
   11233 fi
   11234 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11236 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11237 if ${lt_cv_prog_gnu_ld+:} false; then :
   11238   $as_echo_n "(cached) " >&6
   11239 else
   11240   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11241 case `$LD -v 2>&1 </dev/null` in
   11242 *GNU* | *'with BFD'*)
   11243   lt_cv_prog_gnu_ld=yes
   11244   ;;
   11245 *)
   11246   lt_cv_prog_gnu_ld=no
   11247   ;;
   11248 esac
   11249 fi
   11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11251 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11252 with_gnu_ld=$lt_cv_prog_gnu_ld
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11263 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11264 if ${lt_cv_path_NM+:} false; then :
   11265   $as_echo_n "(cached) " >&6
   11266 else
   11267   if test -n "$NM"; then
   11268   # Let the user override the test.
   11269   lt_cv_path_NM=$NM
   11270 else
   11271   lt_nm_to_check=${ac_tool_prefix}nm
   11272   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11273     lt_nm_to_check="$lt_nm_to_check nm"
   11274   fi
   11275   for lt_tmp_nm in $lt_nm_to_check; do
   11276     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11277     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11278       IFS=$lt_save_ifs
   11279       test -z "$ac_dir" && ac_dir=.
   11280       tmp_nm=$ac_dir/$lt_tmp_nm
   11281       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11282 	# Check to see if the nm accepts a BSD-compat flag.
   11283 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11284 	#   nm: unknown option "B" ignored
   11285 	# Tru64's nm complains that /dev/null is an invalid object file
   11286 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11287 	case $build_os in
   11288 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11289 	*) lt_bad_file=/dev/null ;;
   11290 	esac
   11291 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11292 	*$lt_bad_file* | *'Invalid file or object type'*)
   11293 	  lt_cv_path_NM="$tmp_nm -B"
   11294 	  break 2
   11295 	  ;;
   11296 	*)
   11297 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11298 	  */dev/null*)
   11299 	    lt_cv_path_NM="$tmp_nm -p"
   11300 	    break 2
   11301 	    ;;
   11302 	  *)
   11303 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11304 	    continue # so that we can try to find one that supports BSD flags
   11305 	    ;;
   11306 	  esac
   11307 	  ;;
   11308 	esac
   11309       fi
   11310     done
   11311     IFS=$lt_save_ifs
   11312   done
   11313   : ${lt_cv_path_NM=no}
   11314 fi
   11315 fi
   11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11317 $as_echo "$lt_cv_path_NM" >&6; }
   11318 if test no != "$lt_cv_path_NM"; then
   11319   NM=$lt_cv_path_NM
   11320 else
   11321   # Didn't find any BSD compatible name lister, look for dumpbin.
   11322   if test -n "$DUMPBIN"; then :
   11323     # Let the user override the test.
   11324   else
   11325     if test -n "$ac_tool_prefix"; then
   11326   for ac_prog in dumpbin "link -dump"
   11327   do
   11328     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11329 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11331 $as_echo_n "checking for $ac_word... " >&6; }
   11332 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11333   $as_echo_n "(cached) " >&6
   11334 else
   11335   if test -n "$DUMPBIN"; then
   11336   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11337 else
   11338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11339 for as_dir in $PATH
   11340 do
   11341   IFS=$as_save_IFS
   11342   test -z "$as_dir" && as_dir=.
   11343     for ac_exec_ext in '' $ac_executable_extensions; do
   11344   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11345     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11347     break 2
   11348   fi
   11349 done
   11350   done
   11351 IFS=$as_save_IFS
   11352 
   11353 fi
   11354 fi
   11355 DUMPBIN=$ac_cv_prog_DUMPBIN
   11356 if test -n "$DUMPBIN"; then
   11357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11358 $as_echo "$DUMPBIN" >&6; }
   11359 else
   11360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11361 $as_echo "no" >&6; }
   11362 fi
   11363 
   11364 
   11365     test -n "$DUMPBIN" && break
   11366   done
   11367 fi
   11368 if test -z "$DUMPBIN"; then
   11369   ac_ct_DUMPBIN=$DUMPBIN
   11370   for ac_prog in dumpbin "link -dump"
   11371 do
   11372   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11373 set dummy $ac_prog; ac_word=$2
   11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11375 $as_echo_n "checking for $ac_word... " >&6; }
   11376 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11377   $as_echo_n "(cached) " >&6
   11378 else
   11379   if test -n "$ac_ct_DUMPBIN"; then
   11380   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11381 else
   11382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11383 for as_dir in $PATH
   11384 do
   11385   IFS=$as_save_IFS
   11386   test -z "$as_dir" && as_dir=.
   11387     for ac_exec_ext in '' $ac_executable_extensions; do
   11388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11389     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11391     break 2
   11392   fi
   11393 done
   11394   done
   11395 IFS=$as_save_IFS
   11396 
   11397 fi
   11398 fi
   11399 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11400 if test -n "$ac_ct_DUMPBIN"; then
   11401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11402 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11403 else
   11404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11405 $as_echo "no" >&6; }
   11406 fi
   11407 
   11408 
   11409   test -n "$ac_ct_DUMPBIN" && break
   11410 done
   11411 
   11412   if test "x$ac_ct_DUMPBIN" = x; then
   11413     DUMPBIN=":"
   11414   else
   11415     case $cross_compiling:$ac_tool_warned in
   11416 yes:)
   11417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11419 ac_tool_warned=yes ;;
   11420 esac
   11421     DUMPBIN=$ac_ct_DUMPBIN
   11422   fi
   11423 fi
   11424 
   11425     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11426     *COFF*)
   11427       DUMPBIN="$DUMPBIN -symbols -headers"
   11428       ;;
   11429     *)
   11430       DUMPBIN=:
   11431       ;;
   11432     esac
   11433   fi
   11434 
   11435   if test : != "$DUMPBIN"; then
   11436     NM=$DUMPBIN
   11437   fi
   11438 fi
   11439 test -z "$NM" && NM=nm
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11447 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11448 if ${lt_cv_nm_interface+:} false; then :
   11449   $as_echo_n "(cached) " >&6
   11450 else
   11451   lt_cv_nm_interface="BSD nm"
   11452   echo "int some_variable = 0;" > conftest.$ac_ext
   11453   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11454   (eval "$ac_compile" 2>conftest.err)
   11455   cat conftest.err >&5
   11456   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11457   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11458   cat conftest.err >&5
   11459   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11460   cat conftest.out >&5
   11461   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11462     lt_cv_nm_interface="MS dumpbin"
   11463   fi
   11464   rm -f conftest*
   11465 fi
   11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11467 $as_echo "$lt_cv_nm_interface" >&6; }
   11468 
   11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11470 $as_echo_n "checking whether ln -s works... " >&6; }
   11471 LN_S=$as_ln_s
   11472 if test "$LN_S" = "ln -s"; then
   11473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11474 $as_echo "yes" >&6; }
   11475 else
   11476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11477 $as_echo "no, using $LN_S" >&6; }
   11478 fi
   11479 
   11480 # find the maximum length of command line arguments
   11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11482 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11483 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11484   $as_echo_n "(cached) " >&6
   11485 else
   11486     i=0
   11487   teststring=ABCD
   11488 
   11489   case $build_os in
   11490   msdosdjgpp*)
   11491     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11492     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11493     # during glob expansion).  Even if it were fixed, the result of this
   11494     # check would be larger than it should be.
   11495     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11496     ;;
   11497 
   11498   gnu*)
   11499     # Under GNU Hurd, this test is not required because there is
   11500     # no limit to the length of command line arguments.
   11501     # Libtool will interpret -1 as no limit whatsoever
   11502     lt_cv_sys_max_cmd_len=-1;
   11503     ;;
   11504 
   11505   cygwin* | mingw* | cegcc*)
   11506     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11507     # about 5 minutes as the teststring grows exponentially.
   11508     # Worse, since 9x/ME are not pre-emptively multitasking,
   11509     # you end up with a "frozen" computer, even though with patience
   11510     # the test eventually succeeds (with a max line length of 256k).
   11511     # Instead, let's just punt: use the minimum linelength reported by
   11512     # all of the supported platforms: 8192 (on NT/2K/XP).
   11513     lt_cv_sys_max_cmd_len=8192;
   11514     ;;
   11515 
   11516   mint*)
   11517     # On MiNT this can take a long time and run out of memory.
   11518     lt_cv_sys_max_cmd_len=8192;
   11519     ;;
   11520 
   11521   amigaos*)
   11522     # On AmigaOS with pdksh, this test takes hours, literally.
   11523     # So we just punt and use a minimum line length of 8192.
   11524     lt_cv_sys_max_cmd_len=8192;
   11525     ;;
   11526 
   11527   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11528     # This has been around since 386BSD, at least.  Likely further.
   11529     if test -x /sbin/sysctl; then
   11530       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11531     elif test -x /usr/sbin/sysctl; then
   11532       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11533     else
   11534       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11535     fi
   11536     # And add a safety zone
   11537     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11538     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11539     ;;
   11540 
   11541   interix*)
   11542     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11543     lt_cv_sys_max_cmd_len=196608
   11544     ;;
   11545 
   11546   os2*)
   11547     # The test takes a long time on OS/2.
   11548     lt_cv_sys_max_cmd_len=8192
   11549     ;;
   11550 
   11551   osf*)
   11552     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11553     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11554     # nice to cause kernel panics so lets avoid the loop below.
   11555     # First set a reasonable default.
   11556     lt_cv_sys_max_cmd_len=16384
   11557     #
   11558     if test -x /sbin/sysconfig; then
   11559       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11560         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11561       esac
   11562     fi
   11563     ;;
   11564   sco3.2v5*)
   11565     lt_cv_sys_max_cmd_len=102400
   11566     ;;
   11567   sysv5* | sco5v6* | sysv4.2uw2*)
   11568     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11569     if test -n "$kargmax"; then
   11570       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11571     else
   11572       lt_cv_sys_max_cmd_len=32768
   11573     fi
   11574     ;;
   11575   *)
   11576     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11577     if test -n "$lt_cv_sys_max_cmd_len" && \
   11578        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11579       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11580       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11581     else
   11582       # Make teststring a little bigger before we do anything with it.
   11583       # a 1K string should be a reasonable start.
   11584       for i in 1 2 3 4 5 6 7 8; do
   11585         teststring=$teststring$teststring
   11586       done
   11587       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11588       # If test is not a shell built-in, we'll probably end up computing a
   11589       # maximum length that is only half of the actual maximum length, but
   11590       # we can't tell.
   11591       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11592 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11593 	      test 17 != "$i" # 1/2 MB should be enough
   11594       do
   11595         i=`expr $i + 1`
   11596         teststring=$teststring$teststring
   11597       done
   11598       # Only check the string length outside the loop.
   11599       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11600       teststring=
   11601       # Add a significant safety factor because C++ compilers can tack on
   11602       # massive amounts of additional arguments before passing them to the
   11603       # linker.  It appears as though 1/2 is a usable value.
   11604       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11605     fi
   11606     ;;
   11607   esac
   11608 
   11609 fi
   11610 
   11611 if test -n "$lt_cv_sys_max_cmd_len"; then
   11612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11613 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11614 else
   11615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11616 $as_echo "none" >&6; }
   11617 fi
   11618 max_cmd_len=$lt_cv_sys_max_cmd_len
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 : ${CP="cp -f"}
   11626 : ${MV="mv -f"}
   11627 : ${RM="rm -f"}
   11628 
   11629 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11630   lt_unset=unset
   11631 else
   11632   lt_unset=false
   11633 fi
   11634 
   11635 
   11636 
   11637 
   11638 
   11639 # test EBCDIC or ASCII
   11640 case `echo X|tr X '\101'` in
   11641  A) # ASCII based system
   11642     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11643   lt_SP2NL='tr \040 \012'
   11644   lt_NL2SP='tr \015\012 \040\040'
   11645   ;;
   11646  *) # EBCDIC based system
   11647   lt_SP2NL='tr \100 \n'
   11648   lt_NL2SP='tr \r\n \100\100'
   11649   ;;
   11650 esac
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 
   11659 
   11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11661 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11662 if ${lt_cv_to_host_file_cmd+:} false; then :
   11663   $as_echo_n "(cached) " >&6
   11664 else
   11665   case $host in
   11666   *-*-mingw* )
   11667     case $build in
   11668       *-*-mingw* ) # actually msys
   11669         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11670         ;;
   11671       *-*-cygwin* )
   11672         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11673         ;;
   11674       * ) # otherwise, assume *nix
   11675         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11676         ;;
   11677     esac
   11678     ;;
   11679   *-*-cygwin* )
   11680     case $build in
   11681       *-*-mingw* ) # actually msys
   11682         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11683         ;;
   11684       *-*-cygwin* )
   11685         lt_cv_to_host_file_cmd=func_convert_file_noop
   11686         ;;
   11687       * ) # otherwise, assume *nix
   11688         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11689         ;;
   11690     esac
   11691     ;;
   11692   * ) # unhandled hosts (and "normal" native builds)
   11693     lt_cv_to_host_file_cmd=func_convert_file_noop
   11694     ;;
   11695 esac
   11696 
   11697 fi
   11698 
   11699 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11701 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11708 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11709 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11710   $as_echo_n "(cached) " >&6
   11711 else
   11712   #assume ordinary cross tools, or native build.
   11713 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11714 case $host in
   11715   *-*-mingw* )
   11716     case $build in
   11717       *-*-mingw* ) # actually msys
   11718         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11719         ;;
   11720     esac
   11721     ;;
   11722 esac
   11723 
   11724 fi
   11725 
   11726 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11728 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11735 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11736 if ${lt_cv_ld_reload_flag+:} false; then :
   11737   $as_echo_n "(cached) " >&6
   11738 else
   11739   lt_cv_ld_reload_flag='-r'
   11740 fi
   11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11742 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11743 reload_flag=$lt_cv_ld_reload_flag
   11744 case $reload_flag in
   11745 "" | " "*) ;;
   11746 *) reload_flag=" $reload_flag" ;;
   11747 esac
   11748 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11749 case $host_os in
   11750   cygwin* | mingw* | pw32* | cegcc*)
   11751     if test yes != "$GCC"; then
   11752       reload_cmds=false
   11753     fi
   11754     ;;
   11755   darwin*)
   11756     if test yes = "$GCC"; then
   11757       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   11758     else
   11759       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11760     fi
   11761     ;;
   11762 esac
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 
   11772 if test -n "$ac_tool_prefix"; then
   11773   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11774 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11776 $as_echo_n "checking for $ac_word... " >&6; }
   11777 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11778   $as_echo_n "(cached) " >&6
   11779 else
   11780   if test -n "$OBJDUMP"; then
   11781   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11782 else
   11783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11784 for as_dir in $PATH
   11785 do
   11786   IFS=$as_save_IFS
   11787   test -z "$as_dir" && as_dir=.
   11788     for ac_exec_ext in '' $ac_executable_extensions; do
   11789   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11790     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11792     break 2
   11793   fi
   11794 done
   11795   done
   11796 IFS=$as_save_IFS
   11797 
   11798 fi
   11799 fi
   11800 OBJDUMP=$ac_cv_prog_OBJDUMP
   11801 if test -n "$OBJDUMP"; then
   11802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11803 $as_echo "$OBJDUMP" >&6; }
   11804 else
   11805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11806 $as_echo "no" >&6; }
   11807 fi
   11808 
   11809 
   11810 fi
   11811 if test -z "$ac_cv_prog_OBJDUMP"; then
   11812   ac_ct_OBJDUMP=$OBJDUMP
   11813   # Extract the first word of "objdump", so it can be a program name with args.
   11814 set dummy objdump; ac_word=$2
   11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11816 $as_echo_n "checking for $ac_word... " >&6; }
   11817 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11818   $as_echo_n "(cached) " >&6
   11819 else
   11820   if test -n "$ac_ct_OBJDUMP"; then
   11821   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11822 else
   11823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11824 for as_dir in $PATH
   11825 do
   11826   IFS=$as_save_IFS
   11827   test -z "$as_dir" && as_dir=.
   11828     for ac_exec_ext in '' $ac_executable_extensions; do
   11829   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11830     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11832     break 2
   11833   fi
   11834 done
   11835   done
   11836 IFS=$as_save_IFS
   11837 
   11838 fi
   11839 fi
   11840 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11841 if test -n "$ac_ct_OBJDUMP"; then
   11842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11843 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11844 else
   11845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11846 $as_echo "no" >&6; }
   11847 fi
   11848 
   11849   if test "x$ac_ct_OBJDUMP" = x; then
   11850     OBJDUMP="false"
   11851   else
   11852     case $cross_compiling:$ac_tool_warned in
   11853 yes:)
   11854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11856 ac_tool_warned=yes ;;
   11857 esac
   11858     OBJDUMP=$ac_ct_OBJDUMP
   11859   fi
   11860 else
   11861   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11862 fi
   11863 
   11864 test -z "$OBJDUMP" && OBJDUMP=objdump
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 
   11873 
   11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11875 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11876 if ${lt_cv_deplibs_check_method+:} false; then :
   11877   $as_echo_n "(cached) " >&6
   11878 else
   11879   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11880 lt_cv_file_magic_test_file=
   11881 lt_cv_deplibs_check_method='unknown'
   11882 # Need to set the preceding variable on all platforms that support
   11883 # interlibrary dependencies.
   11884 # 'none' -- dependencies not supported.
   11885 # 'unknown' -- same as none, but documents that we really don't know.
   11886 # 'pass_all' -- all dependencies passed with no checks.
   11887 # 'test_compile' -- check by making test program.
   11888 # 'file_magic [[regex]]' -- check by looking for files in library path
   11889 # that responds to the $file_magic_cmd with a given extended regex.
   11890 # If you have 'file' or equivalent on your system and you're not sure
   11891 # whether 'pass_all' will *always* work, you probably want this one.
   11892 
   11893 case $host_os in
   11894 aix[4-9]*)
   11895   lt_cv_deplibs_check_method=pass_all
   11896   ;;
   11897 
   11898 beos*)
   11899   lt_cv_deplibs_check_method=pass_all
   11900   ;;
   11901 
   11902 bsdi[45]*)
   11903   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11904   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11905   lt_cv_file_magic_test_file=/shlib/libc.so
   11906   ;;
   11907 
   11908 cygwin*)
   11909   # func_win32_libid is a shell function defined in ltmain.sh
   11910   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11911   lt_cv_file_magic_cmd='func_win32_libid'
   11912   ;;
   11913 
   11914 mingw* | pw32*)
   11915   # Base MSYS/MinGW do not provide the 'file' command needed by
   11916   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11917   # unless we find 'file', for example because we are cross-compiling.
   11918   if ( file / ) >/dev/null 2>&1; then
   11919     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11920     lt_cv_file_magic_cmd='func_win32_libid'
   11921   else
   11922     # Keep this pattern in sync with the one in func_win32_libid.
   11923     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11924     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11925   fi
   11926   ;;
   11927 
   11928 cegcc*)
   11929   # use the weaker test based on 'objdump'. See mingw*.
   11930   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11931   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11932   ;;
   11933 
   11934 darwin* | rhapsody*)
   11935   lt_cv_deplibs_check_method=pass_all
   11936   ;;
   11937 
   11938 freebsd* | dragonfly*)
   11939   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11940     case $host_cpu in
   11941     i*86 )
   11942       # Not sure whether the presence of OpenBSD here was a mistake.
   11943       # Let's accept both of them until this is cleared up.
   11944       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11945       lt_cv_file_magic_cmd=/usr/bin/file
   11946       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11947       ;;
   11948     esac
   11949   else
   11950     lt_cv_deplibs_check_method=pass_all
   11951   fi
   11952   ;;
   11953 
   11954 haiku*)
   11955   lt_cv_deplibs_check_method=pass_all
   11956   ;;
   11957 
   11958 hpux10.20* | hpux11*)
   11959   lt_cv_file_magic_cmd=/usr/bin/file
   11960   case $host_cpu in
   11961   ia64*)
   11962     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11963     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11964     ;;
   11965   hppa*64*)
   11966     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]'
   11967     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11968     ;;
   11969   *)
   11970     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11971     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11972     ;;
   11973   esac
   11974   ;;
   11975 
   11976 interix[3-9]*)
   11977   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11978   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11979   ;;
   11980 
   11981 irix5* | irix6* | nonstopux*)
   11982   case $LD in
   11983   *-32|*"-32 ") libmagic=32-bit;;
   11984   *-n32|*"-n32 ") libmagic=N32;;
   11985   *-64|*"-64 ") libmagic=64-bit;;
   11986   *) libmagic=never-match;;
   11987   esac
   11988   lt_cv_deplibs_check_method=pass_all
   11989   ;;
   11990 
   11991 # This must be glibc/ELF.
   11992 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11993   lt_cv_deplibs_check_method=pass_all
   11994   ;;
   11995 
   11996 netbsd* | netbsdelf*-gnu)
   11997   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11998     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11999   else
   12000     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12001   fi
   12002   ;;
   12003 
   12004 newos6*)
   12005   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12006   lt_cv_file_magic_cmd=/usr/bin/file
   12007   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12008   ;;
   12009 
   12010 *nto* | *qnx*)
   12011   lt_cv_deplibs_check_method=pass_all
   12012   ;;
   12013 
   12014 openbsd* | bitrig*)
   12015   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12016     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12017   else
   12018     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12019   fi
   12020   ;;
   12021 
   12022 osf3* | osf4* | osf5*)
   12023   lt_cv_deplibs_check_method=pass_all
   12024   ;;
   12025 
   12026 rdos*)
   12027   lt_cv_deplibs_check_method=pass_all
   12028   ;;
   12029 
   12030 solaris*)
   12031   lt_cv_deplibs_check_method=pass_all
   12032   ;;
   12033 
   12034 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12035   lt_cv_deplibs_check_method=pass_all
   12036   ;;
   12037 
   12038 sysv4 | sysv4.3*)
   12039   case $host_vendor in
   12040   motorola)
   12041     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]'
   12042     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12043     ;;
   12044   ncr)
   12045     lt_cv_deplibs_check_method=pass_all
   12046     ;;
   12047   sequent)
   12048     lt_cv_file_magic_cmd='/bin/file'
   12049     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12050     ;;
   12051   sni)
   12052     lt_cv_file_magic_cmd='/bin/file'
   12053     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12054     lt_cv_file_magic_test_file=/lib/libc.so
   12055     ;;
   12056   siemens)
   12057     lt_cv_deplibs_check_method=pass_all
   12058     ;;
   12059   pc)
   12060     lt_cv_deplibs_check_method=pass_all
   12061     ;;
   12062   esac
   12063   ;;
   12064 
   12065 tpf*)
   12066   lt_cv_deplibs_check_method=pass_all
   12067   ;;
   12068 os2*)
   12069   lt_cv_deplibs_check_method=pass_all
   12070   ;;
   12071 esac
   12072 
   12073 fi
   12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12075 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12076 
   12077 file_magic_glob=
   12078 want_nocaseglob=no
   12079 if test "$build" = "$host"; then
   12080   case $host_os in
   12081   mingw* | pw32*)
   12082     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12083       want_nocaseglob=yes
   12084     else
   12085       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12086     fi
   12087     ;;
   12088   esac
   12089 fi
   12090 
   12091 file_magic_cmd=$lt_cv_file_magic_cmd
   12092 deplibs_check_method=$lt_cv_deplibs_check_method
   12093 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100 
   12101 
   12102 
   12103 
   12104 
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 if test -n "$ac_tool_prefix"; then
   12117   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12118 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12120 $as_echo_n "checking for $ac_word... " >&6; }
   12121 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12122   $as_echo_n "(cached) " >&6
   12123 else
   12124   if test -n "$DLLTOOL"; then
   12125   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12126 else
   12127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12128 for as_dir in $PATH
   12129 do
   12130   IFS=$as_save_IFS
   12131   test -z "$as_dir" && as_dir=.
   12132     for ac_exec_ext in '' $ac_executable_extensions; do
   12133   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12134     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12135     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12136     break 2
   12137   fi
   12138 done
   12139   done
   12140 IFS=$as_save_IFS
   12141 
   12142 fi
   12143 fi
   12144 DLLTOOL=$ac_cv_prog_DLLTOOL
   12145 if test -n "$DLLTOOL"; then
   12146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12147 $as_echo "$DLLTOOL" >&6; }
   12148 else
   12149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12150 $as_echo "no" >&6; }
   12151 fi
   12152 
   12153 
   12154 fi
   12155 if test -z "$ac_cv_prog_DLLTOOL"; then
   12156   ac_ct_DLLTOOL=$DLLTOOL
   12157   # Extract the first word of "dlltool", so it can be a program name with args.
   12158 set dummy dlltool; ac_word=$2
   12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12160 $as_echo_n "checking for $ac_word... " >&6; }
   12161 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12162   $as_echo_n "(cached) " >&6
   12163 else
   12164   if test -n "$ac_ct_DLLTOOL"; then
   12165   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12166 else
   12167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12168 for as_dir in $PATH
   12169 do
   12170   IFS=$as_save_IFS
   12171   test -z "$as_dir" && as_dir=.
   12172     for ac_exec_ext in '' $ac_executable_extensions; do
   12173   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12174     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12176     break 2
   12177   fi
   12178 done
   12179   done
   12180 IFS=$as_save_IFS
   12181 
   12182 fi
   12183 fi
   12184 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12185 if test -n "$ac_ct_DLLTOOL"; then
   12186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12187 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12188 else
   12189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12190 $as_echo "no" >&6; }
   12191 fi
   12192 
   12193   if test "x$ac_ct_DLLTOOL" = x; then
   12194     DLLTOOL="false"
   12195   else
   12196     case $cross_compiling:$ac_tool_warned in
   12197 yes:)
   12198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12200 ac_tool_warned=yes ;;
   12201 esac
   12202     DLLTOOL=$ac_ct_DLLTOOL
   12203   fi
   12204 else
   12205   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12206 fi
   12207 
   12208 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12220 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12221 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12222   $as_echo_n "(cached) " >&6
   12223 else
   12224   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12225 
   12226 case $host_os in
   12227 cygwin* | mingw* | pw32* | cegcc*)
   12228   # two different shell functions defined in ltmain.sh;
   12229   # decide which one to use based on capabilities of $DLLTOOL
   12230   case `$DLLTOOL --help 2>&1` in
   12231   *--identify-strict*)
   12232     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12233     ;;
   12234   *)
   12235     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12236     ;;
   12237   esac
   12238   ;;
   12239 *)
   12240   # fallback: assume linklib IS sharedlib
   12241   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12242   ;;
   12243 esac
   12244 
   12245 fi
   12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12247 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12248 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12249 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12250 
   12251 
   12252 
   12253 
   12254 
   12255 
   12256 
   12257 if test -n "$ac_tool_prefix"; then
   12258   for ac_prog in ar
   12259   do
   12260     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12263 $as_echo_n "checking for $ac_word... " >&6; }
   12264 if ${ac_cv_prog_AR+:} false; then :
   12265   $as_echo_n "(cached) " >&6
   12266 else
   12267   if test -n "$AR"; then
   12268   ac_cv_prog_AR="$AR" # Let the user override the test.
   12269 else
   12270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12271 for as_dir in $PATH
   12272 do
   12273   IFS=$as_save_IFS
   12274   test -z "$as_dir" && as_dir=.
   12275     for ac_exec_ext in '' $ac_executable_extensions; do
   12276   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12277     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12279     break 2
   12280   fi
   12281 done
   12282   done
   12283 IFS=$as_save_IFS
   12284 
   12285 fi
   12286 fi
   12287 AR=$ac_cv_prog_AR
   12288 if test -n "$AR"; then
   12289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12290 $as_echo "$AR" >&6; }
   12291 else
   12292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12293 $as_echo "no" >&6; }
   12294 fi
   12295 
   12296 
   12297     test -n "$AR" && break
   12298   done
   12299 fi
   12300 if test -z "$AR"; then
   12301   ac_ct_AR=$AR
   12302   for ac_prog in ar
   12303 do
   12304   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12305 set dummy $ac_prog; ac_word=$2
   12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12307 $as_echo_n "checking for $ac_word... " >&6; }
   12308 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12309   $as_echo_n "(cached) " >&6
   12310 else
   12311   if test -n "$ac_ct_AR"; then
   12312   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12313 else
   12314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12315 for as_dir in $PATH
   12316 do
   12317   IFS=$as_save_IFS
   12318   test -z "$as_dir" && as_dir=.
   12319     for ac_exec_ext in '' $ac_executable_extensions; do
   12320   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12321     ac_cv_prog_ac_ct_AR="$ac_prog"
   12322     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12323     break 2
   12324   fi
   12325 done
   12326   done
   12327 IFS=$as_save_IFS
   12328 
   12329 fi
   12330 fi
   12331 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12332 if test -n "$ac_ct_AR"; then
   12333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12334 $as_echo "$ac_ct_AR" >&6; }
   12335 else
   12336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12337 $as_echo "no" >&6; }
   12338 fi
   12339 
   12340 
   12341   test -n "$ac_ct_AR" && break
   12342 done
   12343 
   12344   if test "x$ac_ct_AR" = x; then
   12345     AR="false"
   12346   else
   12347     case $cross_compiling:$ac_tool_warned in
   12348 yes:)
   12349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12351 ac_tool_warned=yes ;;
   12352 esac
   12353     AR=$ac_ct_AR
   12354   fi
   12355 fi
   12356 
   12357 : ${AR=ar}
   12358 : ${AR_FLAGS=cru}
   12359 
   12360 
   12361 
   12362 
   12363 
   12364 
   12365 
   12366 
   12367 
   12368 
   12369 
   12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12371 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12372 if ${lt_cv_ar_at_file+:} false; then :
   12373   $as_echo_n "(cached) " >&6
   12374 else
   12375   lt_cv_ar_at_file=no
   12376    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12377 /* end confdefs.h.  */
   12378 
   12379 int
   12380 main ()
   12381 {
   12382 
   12383   ;
   12384   return 0;
   12385 }
   12386 _ACEOF
   12387 if ac_fn_c_try_compile "$LINENO"; then :
   12388   echo conftest.$ac_objext > conftest.lst
   12389       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12390       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12391   (eval $lt_ar_try) 2>&5
   12392   ac_status=$?
   12393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12394   test $ac_status = 0; }
   12395       if test 0 -eq "$ac_status"; then
   12396 	# Ensure the archiver fails upon bogus file names.
   12397 	rm -f conftest.$ac_objext libconftest.a
   12398 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12399   (eval $lt_ar_try) 2>&5
   12400   ac_status=$?
   12401   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12402   test $ac_status = 0; }
   12403 	if test 0 -ne "$ac_status"; then
   12404           lt_cv_ar_at_file=@
   12405         fi
   12406       fi
   12407       rm -f conftest.* libconftest.a
   12408 
   12409 fi
   12410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12411 
   12412 fi
   12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12414 $as_echo "$lt_cv_ar_at_file" >&6; }
   12415 
   12416 if test no = "$lt_cv_ar_at_file"; then
   12417   archiver_list_spec=
   12418 else
   12419   archiver_list_spec=$lt_cv_ar_at_file
   12420 fi
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 
   12428 if test -n "$ac_tool_prefix"; then
   12429   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12430 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12432 $as_echo_n "checking for $ac_word... " >&6; }
   12433 if ${ac_cv_prog_STRIP+:} false; then :
   12434   $as_echo_n "(cached) " >&6
   12435 else
   12436   if test -n "$STRIP"; then
   12437   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12438 else
   12439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12440 for as_dir in $PATH
   12441 do
   12442   IFS=$as_save_IFS
   12443   test -z "$as_dir" && as_dir=.
   12444     for ac_exec_ext in '' $ac_executable_extensions; do
   12445   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12446     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12448     break 2
   12449   fi
   12450 done
   12451   done
   12452 IFS=$as_save_IFS
   12453 
   12454 fi
   12455 fi
   12456 STRIP=$ac_cv_prog_STRIP
   12457 if test -n "$STRIP"; then
   12458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12459 $as_echo "$STRIP" >&6; }
   12460 else
   12461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12462 $as_echo "no" >&6; }
   12463 fi
   12464 
   12465 
   12466 fi
   12467 if test -z "$ac_cv_prog_STRIP"; then
   12468   ac_ct_STRIP=$STRIP
   12469   # Extract the first word of "strip", so it can be a program name with args.
   12470 set dummy strip; ac_word=$2
   12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12472 $as_echo_n "checking for $ac_word... " >&6; }
   12473 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12474   $as_echo_n "(cached) " >&6
   12475 else
   12476   if test -n "$ac_ct_STRIP"; then
   12477   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12478 else
   12479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12480 for as_dir in $PATH
   12481 do
   12482   IFS=$as_save_IFS
   12483   test -z "$as_dir" && as_dir=.
   12484     for ac_exec_ext in '' $ac_executable_extensions; do
   12485   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12486     ac_cv_prog_ac_ct_STRIP="strip"
   12487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12488     break 2
   12489   fi
   12490 done
   12491   done
   12492 IFS=$as_save_IFS
   12493 
   12494 fi
   12495 fi
   12496 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12497 if test -n "$ac_ct_STRIP"; then
   12498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12499 $as_echo "$ac_ct_STRIP" >&6; }
   12500 else
   12501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12502 $as_echo "no" >&6; }
   12503 fi
   12504 
   12505   if test "x$ac_ct_STRIP" = x; then
   12506     STRIP=":"
   12507   else
   12508     case $cross_compiling:$ac_tool_warned in
   12509 yes:)
   12510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12512 ac_tool_warned=yes ;;
   12513 esac
   12514     STRIP=$ac_ct_STRIP
   12515   fi
   12516 else
   12517   STRIP="$ac_cv_prog_STRIP"
   12518 fi
   12519 
   12520 test -z "$STRIP" && STRIP=:
   12521 
   12522 
   12523 
   12524 
   12525 
   12526 
   12527 if test -n "$ac_tool_prefix"; then
   12528   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12529 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12531 $as_echo_n "checking for $ac_word... " >&6; }
   12532 if ${ac_cv_prog_RANLIB+:} false; then :
   12533   $as_echo_n "(cached) " >&6
   12534 else
   12535   if test -n "$RANLIB"; then
   12536   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12537 else
   12538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12539 for as_dir in $PATH
   12540 do
   12541   IFS=$as_save_IFS
   12542   test -z "$as_dir" && as_dir=.
   12543     for ac_exec_ext in '' $ac_executable_extensions; do
   12544   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12545     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12546     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12547     break 2
   12548   fi
   12549 done
   12550   done
   12551 IFS=$as_save_IFS
   12552 
   12553 fi
   12554 fi
   12555 RANLIB=$ac_cv_prog_RANLIB
   12556 if test -n "$RANLIB"; then
   12557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12558 $as_echo "$RANLIB" >&6; }
   12559 else
   12560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12561 $as_echo "no" >&6; }
   12562 fi
   12563 
   12564 
   12565 fi
   12566 if test -z "$ac_cv_prog_RANLIB"; then
   12567   ac_ct_RANLIB=$RANLIB
   12568   # Extract the first word of "ranlib", so it can be a program name with args.
   12569 set dummy ranlib; ac_word=$2
   12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12571 $as_echo_n "checking for $ac_word... " >&6; }
   12572 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12573   $as_echo_n "(cached) " >&6
   12574 else
   12575   if test -n "$ac_ct_RANLIB"; then
   12576   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12577 else
   12578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12579 for as_dir in $PATH
   12580 do
   12581   IFS=$as_save_IFS
   12582   test -z "$as_dir" && as_dir=.
   12583     for ac_exec_ext in '' $ac_executable_extensions; do
   12584   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12585     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12587     break 2
   12588   fi
   12589 done
   12590   done
   12591 IFS=$as_save_IFS
   12592 
   12593 fi
   12594 fi
   12595 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12596 if test -n "$ac_ct_RANLIB"; then
   12597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12598 $as_echo "$ac_ct_RANLIB" >&6; }
   12599 else
   12600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12601 $as_echo "no" >&6; }
   12602 fi
   12603 
   12604   if test "x$ac_ct_RANLIB" = x; then
   12605     RANLIB=":"
   12606   else
   12607     case $cross_compiling:$ac_tool_warned in
   12608 yes:)
   12609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12611 ac_tool_warned=yes ;;
   12612 esac
   12613     RANLIB=$ac_ct_RANLIB
   12614   fi
   12615 else
   12616   RANLIB="$ac_cv_prog_RANLIB"
   12617 fi
   12618 
   12619 test -z "$RANLIB" && RANLIB=:
   12620 
   12621 
   12622 
   12623 
   12624 
   12625 
   12626 # Determine commands to create old-style static archives.
   12627 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12628 old_postinstall_cmds='chmod 644 $oldlib'
   12629 old_postuninstall_cmds=
   12630 
   12631 if test -n "$RANLIB"; then
   12632   case $host_os in
   12633   bitrig* | openbsd*)
   12634     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12635     ;;
   12636   *)
   12637     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12638     ;;
   12639   esac
   12640   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12641 fi
   12642 
   12643 case $host_os in
   12644   darwin*)
   12645     lock_old_archive_extraction=yes ;;
   12646   *)
   12647     lock_old_archive_extraction=no ;;
   12648 esac
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 
   12662 
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 # If no C compiler was specified, use CC.
   12689 LTCC=${LTCC-"$CC"}
   12690 
   12691 # If no C compiler flags were specified, use CFLAGS.
   12692 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12693 
   12694 # Allow CC to be a program name with arguments.
   12695 compiler=$CC
   12696 
   12697 
   12698 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12700 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12701 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12702   $as_echo_n "(cached) " >&6
   12703 else
   12704 
   12705 # These are sane defaults that work on at least a few old systems.
   12706 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12707 
   12708 # Character class describing NM global symbol codes.
   12709 symcode='[BCDEGRST]'
   12710 
   12711 # Regexp to match symbols that can be accessed directly from C.
   12712 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12713 
   12714 # Define system-specific variables.
   12715 case $host_os in
   12716 aix*)
   12717   symcode='[BCDT]'
   12718   ;;
   12719 cygwin* | mingw* | pw32* | cegcc*)
   12720   symcode='[ABCDGISTW]'
   12721   ;;
   12722 hpux*)
   12723   if test ia64 = "$host_cpu"; then
   12724     symcode='[ABCDEGRST]'
   12725   fi
   12726   ;;
   12727 irix* | nonstopux*)
   12728   symcode='[BCDEGRST]'
   12729   ;;
   12730 osf*)
   12731   symcode='[BCDEGQRST]'
   12732   ;;
   12733 solaris*)
   12734   symcode='[BDRT]'
   12735   ;;
   12736 sco3.2v5*)
   12737   symcode='[DT]'
   12738   ;;
   12739 sysv4.2uw2*)
   12740   symcode='[DT]'
   12741   ;;
   12742 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12743   symcode='[ABDT]'
   12744   ;;
   12745 sysv4)
   12746   symcode='[DFNSTU]'
   12747   ;;
   12748 esac
   12749 
   12750 # If we're using GNU nm, then use its standard symbol codes.
   12751 case `$NM -V 2>&1` in
   12752 *GNU* | *'with BFD'*)
   12753   symcode='[ABCDGIRSTW]' ;;
   12754 esac
   12755 
   12756 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12757   # Gets list of data symbols to import.
   12758   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   12759   # Adjust the below global symbol transforms to fixup imported variables.
   12760   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   12761   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   12762   lt_c_name_lib_hook="\
   12763   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   12764   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   12765 else
   12766   # Disable hooks by default.
   12767   lt_cv_sys_global_symbol_to_import=
   12768   lt_cdecl_hook=
   12769   lt_c_name_hook=
   12770   lt_c_name_lib_hook=
   12771 fi
   12772 
   12773 # Transform an extracted symbol line into a proper C declaration.
   12774 # Some systems (esp. on ia64) link data and code symbols differently,
   12775 # so use this general approach.
   12776 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   12777 $lt_cdecl_hook\
   12778 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   12779 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   12780 
   12781 # Transform an extracted symbol line into symbol name and symbol address
   12782 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   12783 $lt_c_name_hook\
   12784 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12785 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   12786 
   12787 # Transform an extracted symbol line into symbol name with lib prefix and
   12788 # symbol address.
   12789 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   12790 $lt_c_name_lib_hook\
   12791 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12792 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   12793 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   12794 
   12795 # Handle CRLF in mingw tool chain
   12796 opt_cr=
   12797 case $build_os in
   12798 mingw*)
   12799   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12800   ;;
   12801 esac
   12802 
   12803 # Try without a prefix underscore, then with it.
   12804 for ac_symprfx in "" "_"; do
   12805 
   12806   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12807   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12808 
   12809   # Write the raw and C identifiers.
   12810   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12811     # Fake it for dumpbin and say T for any non-static function,
   12812     # D for any global variable and I for any imported variable.
   12813     # Also find C++ and __fastcall symbols from MSVC++,
   12814     # which start with @ or ?.
   12815     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12816 "     {last_section=section; section=\$ 3};"\
   12817 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12818 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12819 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   12820 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   12821 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   12822 "     \$ 0!~/External *\|/{next};"\
   12823 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12824 "     {if(hide[section]) next};"\
   12825 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   12826 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   12827 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   12828 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   12829 "     ' prfx=^$ac_symprfx"
   12830   else
   12831     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12832   fi
   12833   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12834 
   12835   # Check to see that the pipe works correctly.
   12836   pipe_works=no
   12837 
   12838   rm -f conftest*
   12839   cat > conftest.$ac_ext <<_LT_EOF
   12840 #ifdef __cplusplus
   12841 extern "C" {
   12842 #endif
   12843 char nm_test_var;
   12844 void nm_test_func(void);
   12845 void nm_test_func(void){}
   12846 #ifdef __cplusplus
   12847 }
   12848 #endif
   12849 int main(){nm_test_var='a';nm_test_func();return(0);}
   12850 _LT_EOF
   12851 
   12852   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12853   (eval $ac_compile) 2>&5
   12854   ac_status=$?
   12855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12856   test $ac_status = 0; }; then
   12857     # Now try to grab the symbols.
   12858     nlist=conftest.nm
   12859     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12860   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12861   ac_status=$?
   12862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12863   test $ac_status = 0; } && test -s "$nlist"; then
   12864       # Try sorting and uniquifying the output.
   12865       if sort "$nlist" | uniq > "$nlist"T; then
   12866 	mv -f "$nlist"T "$nlist"
   12867       else
   12868 	rm -f "$nlist"T
   12869       fi
   12870 
   12871       # Make sure that we snagged all the symbols we need.
   12872       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12873 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12874 	  cat <<_LT_EOF > conftest.$ac_ext
   12875 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12876 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   12877 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   12878    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12879 # define LT_DLSYM_CONST
   12880 #elif defined __osf__
   12881 /* This system does not cope well with relocations in const data.  */
   12882 # define LT_DLSYM_CONST
   12883 #else
   12884 # define LT_DLSYM_CONST const
   12885 #endif
   12886 
   12887 #ifdef __cplusplus
   12888 extern "C" {
   12889 #endif
   12890 
   12891 _LT_EOF
   12892 	  # Now generate the symbol file.
   12893 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12894 
   12895 	  cat <<_LT_EOF >> conftest.$ac_ext
   12896 
   12897 /* The mapping between symbol names and symbols.  */
   12898 LT_DLSYM_CONST struct {
   12899   const char *name;
   12900   void       *address;
   12901 }
   12902 lt__PROGRAM__LTX_preloaded_symbols[] =
   12903 {
   12904   { "@PROGRAM@", (void *) 0 },
   12905 _LT_EOF
   12906 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12907 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12908   {0, (void *) 0}
   12909 };
   12910 
   12911 /* This works around a problem in FreeBSD linker */
   12912 #ifdef FREEBSD_WORKAROUND
   12913 static const void *lt_preloaded_setup() {
   12914   return lt__PROGRAM__LTX_preloaded_symbols;
   12915 }
   12916 #endif
   12917 
   12918 #ifdef __cplusplus
   12919 }
   12920 #endif
   12921 _LT_EOF
   12922 	  # Now try linking the two files.
   12923 	  mv conftest.$ac_objext conftstm.$ac_objext
   12924 	  lt_globsym_save_LIBS=$LIBS
   12925 	  lt_globsym_save_CFLAGS=$CFLAGS
   12926 	  LIBS=conftstm.$ac_objext
   12927 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12928 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12929   (eval $ac_link) 2>&5
   12930   ac_status=$?
   12931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12932   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   12933 	    pipe_works=yes
   12934 	  fi
   12935 	  LIBS=$lt_globsym_save_LIBS
   12936 	  CFLAGS=$lt_globsym_save_CFLAGS
   12937 	else
   12938 	  echo "cannot find nm_test_func in $nlist" >&5
   12939 	fi
   12940       else
   12941 	echo "cannot find nm_test_var in $nlist" >&5
   12942       fi
   12943     else
   12944       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12945     fi
   12946   else
   12947     echo "$progname: failed program was:" >&5
   12948     cat conftest.$ac_ext >&5
   12949   fi
   12950   rm -rf conftest* conftst*
   12951 
   12952   # Do not use the global_symbol_pipe unless it works.
   12953   if test yes = "$pipe_works"; then
   12954     break
   12955   else
   12956     lt_cv_sys_global_symbol_pipe=
   12957   fi
   12958 done
   12959 
   12960 fi
   12961 
   12962 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12963   lt_cv_sys_global_symbol_to_cdecl=
   12964 fi
   12965 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12967 $as_echo "failed" >&6; }
   12968 else
   12969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12970 $as_echo "ok" >&6; }
   12971 fi
   12972 
   12973 # Response file support.
   12974 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12975   nm_file_list_spec='@'
   12976 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12977   nm_file_list_spec='@'
   12978 fi
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 
   13006 
   13007 
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13017 $as_echo_n "checking for sysroot... " >&6; }
   13018 
   13019 # Check whether --with-sysroot was given.
   13020 if test "${with_sysroot+set}" = set; then :
   13021   withval=$with_sysroot;
   13022 else
   13023   with_sysroot=no
   13024 fi
   13025 
   13026 
   13027 lt_sysroot=
   13028 case $with_sysroot in #(
   13029  yes)
   13030    if test yes = "$GCC"; then
   13031      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13032    fi
   13033    ;; #(
   13034  /*)
   13035    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13036    ;; #(
   13037  no|'')
   13038    ;; #(
   13039  *)
   13040    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13041 $as_echo "$with_sysroot" >&6; }
   13042    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13043    ;;
   13044 esac
   13045 
   13046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13047 $as_echo "${lt_sysroot:-no}" >&6; }
   13048 
   13049 
   13050 
   13051 
   13052 
   13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13054 $as_echo_n "checking for a working dd... " >&6; }
   13055 if ${ac_cv_path_lt_DD+:} false; then :
   13056   $as_echo_n "(cached) " >&6
   13057 else
   13058   printf 0123456789abcdef0123456789abcdef >conftest.i
   13059 cat conftest.i conftest.i >conftest2.i
   13060 : ${lt_DD:=$DD}
   13061 if test -z "$lt_DD"; then
   13062   ac_path_lt_DD_found=false
   13063   # Loop through the user's path and test for each of PROGNAME-LIST
   13064   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13065 for as_dir in $PATH
   13066 do
   13067   IFS=$as_save_IFS
   13068   test -z "$as_dir" && as_dir=.
   13069     for ac_prog in dd; do
   13070     for ac_exec_ext in '' $ac_executable_extensions; do
   13071       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13072       as_fn_executable_p "$ac_path_lt_DD" || continue
   13073 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13074   cmp -s conftest.i conftest.out \
   13075   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13076 fi
   13077       $ac_path_lt_DD_found && break 3
   13078     done
   13079   done
   13080   done
   13081 IFS=$as_save_IFS
   13082   if test -z "$ac_cv_path_lt_DD"; then
   13083     :
   13084   fi
   13085 else
   13086   ac_cv_path_lt_DD=$lt_DD
   13087 fi
   13088 
   13089 rm -f conftest.i conftest2.i conftest.out
   13090 fi
   13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13092 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13093 
   13094 
   13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13096 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13097 if ${lt_cv_truncate_bin+:} false; then :
   13098   $as_echo_n "(cached) " >&6
   13099 else
   13100   printf 0123456789abcdef0123456789abcdef >conftest.i
   13101 cat conftest.i conftest.i >conftest2.i
   13102 lt_cv_truncate_bin=
   13103 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13104   cmp -s conftest.i conftest.out \
   13105   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13106 fi
   13107 rm -f conftest.i conftest2.i conftest.out
   13108 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13109 fi
   13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13111 $as_echo "$lt_cv_truncate_bin" >&6; }
   13112 
   13113 
   13114 
   13115 
   13116 
   13117 
   13118 
   13119 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13120 func_cc_basename ()
   13121 {
   13122     for cc_temp in $*""; do
   13123       case $cc_temp in
   13124         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13125         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13126         \-*) ;;
   13127         *) break;;
   13128       esac
   13129     done
   13130     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13131 }
   13132 
   13133 # Check whether --enable-libtool-lock was given.
   13134 if test "${enable_libtool_lock+set}" = set; then :
   13135   enableval=$enable_libtool_lock;
   13136 fi
   13137 
   13138 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13139 
   13140 # Some flags need to be propagated to the compiler or linker for good
   13141 # libtool support.
   13142 case $host in
   13143 ia64-*-hpux*)
   13144   # Find out what ABI is being produced by ac_compile, and set mode
   13145   # options accordingly.
   13146   echo 'int i;' > conftest.$ac_ext
   13147   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13148   (eval $ac_compile) 2>&5
   13149   ac_status=$?
   13150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13151   test $ac_status = 0; }; then
   13152     case `/usr/bin/file conftest.$ac_objext` in
   13153       *ELF-32*)
   13154 	HPUX_IA64_MODE=32
   13155 	;;
   13156       *ELF-64*)
   13157 	HPUX_IA64_MODE=64
   13158 	;;
   13159     esac
   13160   fi
   13161   rm -rf conftest*
   13162   ;;
   13163 *-*-irix6*)
   13164   # Find out what ABI is being produced by ac_compile, and set linker
   13165   # options accordingly.
   13166   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13167   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13168   (eval $ac_compile) 2>&5
   13169   ac_status=$?
   13170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13171   test $ac_status = 0; }; then
   13172     if test yes = "$lt_cv_prog_gnu_ld"; then
   13173       case `/usr/bin/file conftest.$ac_objext` in
   13174 	*32-bit*)
   13175 	  LD="${LD-ld} -melf32bsmip"
   13176 	  ;;
   13177 	*N32*)
   13178 	  LD="${LD-ld} -melf32bmipn32"
   13179 	  ;;
   13180 	*64-bit*)
   13181 	  LD="${LD-ld} -melf64bmip"
   13182 	;;
   13183       esac
   13184     else
   13185       case `/usr/bin/file conftest.$ac_objext` in
   13186 	*32-bit*)
   13187 	  LD="${LD-ld} -32"
   13188 	  ;;
   13189 	*N32*)
   13190 	  LD="${LD-ld} -n32"
   13191 	  ;;
   13192 	*64-bit*)
   13193 	  LD="${LD-ld} -64"
   13194 	  ;;
   13195       esac
   13196     fi
   13197   fi
   13198   rm -rf conftest*
   13199   ;;
   13200 
   13201 mips64*-*linux*)
   13202   # Find out what ABI is being produced by ac_compile, and set linker
   13203   # options accordingly.
   13204   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13205   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13206   (eval $ac_compile) 2>&5
   13207   ac_status=$?
   13208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13209   test $ac_status = 0; }; then
   13210     emul=elf
   13211     case `/usr/bin/file conftest.$ac_objext` in
   13212       *32-bit*)
   13213 	emul="${emul}32"
   13214 	;;
   13215       *64-bit*)
   13216 	emul="${emul}64"
   13217 	;;
   13218     esac
   13219     case `/usr/bin/file conftest.$ac_objext` in
   13220       *MSB*)
   13221 	emul="${emul}btsmip"
   13222 	;;
   13223       *LSB*)
   13224 	emul="${emul}ltsmip"
   13225 	;;
   13226     esac
   13227     case `/usr/bin/file conftest.$ac_objext` in
   13228       *N32*)
   13229 	emul="${emul}n32"
   13230 	;;
   13231     esac
   13232     LD="${LD-ld} -m $emul"
   13233   fi
   13234   rm -rf conftest*
   13235   ;;
   13236 
   13237 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13238 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13239   # Find out what ABI is being produced by ac_compile, and set linker
   13240   # options accordingly.  Note that the listed cases only cover the
   13241   # situations where additional linker options are needed (such as when
   13242   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13243   # vice versa); the common cases where no linker options are needed do
   13244   # not appear in the list.
   13245   echo 'int i;' > conftest.$ac_ext
   13246   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13247   (eval $ac_compile) 2>&5
   13248   ac_status=$?
   13249   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13250   test $ac_status = 0; }; then
   13251     case `/usr/bin/file conftest.o` in
   13252       *32-bit*)
   13253 	case $host in
   13254 	  x86_64-*kfreebsd*-gnu)
   13255 	    LD="${LD-ld} -m elf_i386_fbsd"
   13256 	    ;;
   13257 	  x86_64-*linux*)
   13258 	    case `/usr/bin/file conftest.o` in
   13259 	      *x86-64*)
   13260 		LD="${LD-ld} -m elf32_x86_64"
   13261 		;;
   13262 	      *)
   13263 		LD="${LD-ld} -m elf_i386"
   13264 		;;
   13265 	    esac
   13266 	    ;;
   13267 	  powerpc64le-*linux*)
   13268 	    LD="${LD-ld} -m elf32lppclinux"
   13269 	    ;;
   13270 	  powerpc64-*linux*)
   13271 	    LD="${LD-ld} -m elf32ppclinux"
   13272 	    ;;
   13273 	  s390x-*linux*)
   13274 	    LD="${LD-ld} -m elf_s390"
   13275 	    ;;
   13276 	  sparc64-*linux*)
   13277 	    LD="${LD-ld} -m elf32_sparc"
   13278 	    ;;
   13279 	esac
   13280 	;;
   13281       *64-bit*)
   13282 	case $host in
   13283 	  x86_64-*kfreebsd*-gnu)
   13284 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13285 	    ;;
   13286 	  x86_64-*linux*)
   13287 	    LD="${LD-ld} -m elf_x86_64"
   13288 	    ;;
   13289 	  powerpcle-*linux*)
   13290 	    LD="${LD-ld} -m elf64lppc"
   13291 	    ;;
   13292 	  powerpc-*linux*)
   13293 	    LD="${LD-ld} -m elf64ppc"
   13294 	    ;;
   13295 	  s390*-*linux*|s390*-*tpf*)
   13296 	    LD="${LD-ld} -m elf64_s390"
   13297 	    ;;
   13298 	  sparc*-*linux*)
   13299 	    LD="${LD-ld} -m elf64_sparc"
   13300 	    ;;
   13301 	esac
   13302 	;;
   13303     esac
   13304   fi
   13305   rm -rf conftest*
   13306   ;;
   13307 
   13308 *-*-sco3.2v5*)
   13309   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13310   SAVE_CFLAGS=$CFLAGS
   13311   CFLAGS="$CFLAGS -belf"
   13312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13313 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13314 if ${lt_cv_cc_needs_belf+:} false; then :
   13315   $as_echo_n "(cached) " >&6
   13316 else
   13317   ac_ext=c
   13318 ac_cpp='$CPP $CPPFLAGS'
   13319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13322 
   13323      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13324 /* end confdefs.h.  */
   13325 
   13326 int
   13327 main ()
   13328 {
   13329 
   13330   ;
   13331   return 0;
   13332 }
   13333 _ACEOF
   13334 if ac_fn_c_try_link "$LINENO"; then :
   13335   lt_cv_cc_needs_belf=yes
   13336 else
   13337   lt_cv_cc_needs_belf=no
   13338 fi
   13339 rm -f core conftest.err conftest.$ac_objext \
   13340     conftest$ac_exeext conftest.$ac_ext
   13341      ac_ext=c
   13342 ac_cpp='$CPP $CPPFLAGS'
   13343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13346 
   13347 fi
   13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13349 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13350   if test yes != "$lt_cv_cc_needs_belf"; then
   13351     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13352     CFLAGS=$SAVE_CFLAGS
   13353   fi
   13354   ;;
   13355 *-*solaris*)
   13356   # Find out what ABI is being produced by ac_compile, and set linker
   13357   # options accordingly.
   13358   echo 'int i;' > conftest.$ac_ext
   13359   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13360   (eval $ac_compile) 2>&5
   13361   ac_status=$?
   13362   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13363   test $ac_status = 0; }; then
   13364     case `/usr/bin/file conftest.o` in
   13365     *64-bit*)
   13366       case $lt_cv_prog_gnu_ld in
   13367       yes*)
   13368         case $host in
   13369         i?86-*-solaris*|x86_64-*-solaris*)
   13370           LD="${LD-ld} -m elf_x86_64"
   13371           ;;
   13372         sparc*-*-solaris*)
   13373           LD="${LD-ld} -m elf64_sparc"
   13374           ;;
   13375         esac
   13376         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13377         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13378           LD=${LD-ld}_sol2
   13379         fi
   13380         ;;
   13381       *)
   13382 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13383 	  LD="${LD-ld} -64"
   13384 	fi
   13385 	;;
   13386       esac
   13387       ;;
   13388     esac
   13389   fi
   13390   rm -rf conftest*
   13391   ;;
   13392 esac
   13393 
   13394 need_locks=$enable_libtool_lock
   13395 
   13396 if test -n "$ac_tool_prefix"; then
   13397   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13398 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13400 $as_echo_n "checking for $ac_word... " >&6; }
   13401 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13402   $as_echo_n "(cached) " >&6
   13403 else
   13404   if test -n "$MANIFEST_TOOL"; then
   13405   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13406 else
   13407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13408 for as_dir in $PATH
   13409 do
   13410   IFS=$as_save_IFS
   13411   test -z "$as_dir" && as_dir=.
   13412     for ac_exec_ext in '' $ac_executable_extensions; do
   13413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13414     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13416     break 2
   13417   fi
   13418 done
   13419   done
   13420 IFS=$as_save_IFS
   13421 
   13422 fi
   13423 fi
   13424 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13425 if test -n "$MANIFEST_TOOL"; then
   13426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13427 $as_echo "$MANIFEST_TOOL" >&6; }
   13428 else
   13429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13430 $as_echo "no" >&6; }
   13431 fi
   13432 
   13433 
   13434 fi
   13435 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13436   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13437   # Extract the first word of "mt", so it can be a program name with args.
   13438 set dummy mt; ac_word=$2
   13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13440 $as_echo_n "checking for $ac_word... " >&6; }
   13441 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13442   $as_echo_n "(cached) " >&6
   13443 else
   13444   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13445   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13446 else
   13447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13448 for as_dir in $PATH
   13449 do
   13450   IFS=$as_save_IFS
   13451   test -z "$as_dir" && as_dir=.
   13452     for ac_exec_ext in '' $ac_executable_extensions; do
   13453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13454     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13456     break 2
   13457   fi
   13458 done
   13459   done
   13460 IFS=$as_save_IFS
   13461 
   13462 fi
   13463 fi
   13464 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13465 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13467 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13468 else
   13469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13470 $as_echo "no" >&6; }
   13471 fi
   13472 
   13473   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13474     MANIFEST_TOOL=":"
   13475   else
   13476     case $cross_compiling:$ac_tool_warned in
   13477 yes:)
   13478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13480 ac_tool_warned=yes ;;
   13481 esac
   13482     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13483   fi
   13484 else
   13485   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13486 fi
   13487 
   13488 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13490 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13491 if ${lt_cv_path_mainfest_tool+:} false; then :
   13492   $as_echo_n "(cached) " >&6
   13493 else
   13494   lt_cv_path_mainfest_tool=no
   13495   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13496   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13497   cat conftest.err >&5
   13498   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13499     lt_cv_path_mainfest_tool=yes
   13500   fi
   13501   rm -f conftest*
   13502 fi
   13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13504 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13505 if test yes != "$lt_cv_path_mainfest_tool"; then
   13506   MANIFEST_TOOL=:
   13507 fi
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514   case $host_os in
   13515     rhapsody* | darwin*)
   13516     if test -n "$ac_tool_prefix"; then
   13517   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13518 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13520 $as_echo_n "checking for $ac_word... " >&6; }
   13521 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13522   $as_echo_n "(cached) " >&6
   13523 else
   13524   if test -n "$DSYMUTIL"; then
   13525   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13526 else
   13527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13528 for as_dir in $PATH
   13529 do
   13530   IFS=$as_save_IFS
   13531   test -z "$as_dir" && as_dir=.
   13532     for ac_exec_ext in '' $ac_executable_extensions; do
   13533   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13534     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13536     break 2
   13537   fi
   13538 done
   13539   done
   13540 IFS=$as_save_IFS
   13541 
   13542 fi
   13543 fi
   13544 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13545 if test -n "$DSYMUTIL"; then
   13546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13547 $as_echo "$DSYMUTIL" >&6; }
   13548 else
   13549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13550 $as_echo "no" >&6; }
   13551 fi
   13552 
   13553 
   13554 fi
   13555 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13556   ac_ct_DSYMUTIL=$DSYMUTIL
   13557   # Extract the first word of "dsymutil", so it can be a program name with args.
   13558 set dummy dsymutil; ac_word=$2
   13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13560 $as_echo_n "checking for $ac_word... " >&6; }
   13561 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13562   $as_echo_n "(cached) " >&6
   13563 else
   13564   if test -n "$ac_ct_DSYMUTIL"; then
   13565   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13566 else
   13567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13568 for as_dir in $PATH
   13569 do
   13570   IFS=$as_save_IFS
   13571   test -z "$as_dir" && as_dir=.
   13572     for ac_exec_ext in '' $ac_executable_extensions; do
   13573   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13574     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13576     break 2
   13577   fi
   13578 done
   13579   done
   13580 IFS=$as_save_IFS
   13581 
   13582 fi
   13583 fi
   13584 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13585 if test -n "$ac_ct_DSYMUTIL"; then
   13586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13587 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13588 else
   13589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13590 $as_echo "no" >&6; }
   13591 fi
   13592 
   13593   if test "x$ac_ct_DSYMUTIL" = x; then
   13594     DSYMUTIL=":"
   13595   else
   13596     case $cross_compiling:$ac_tool_warned in
   13597 yes:)
   13598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13600 ac_tool_warned=yes ;;
   13601 esac
   13602     DSYMUTIL=$ac_ct_DSYMUTIL
   13603   fi
   13604 else
   13605   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13606 fi
   13607 
   13608     if test -n "$ac_tool_prefix"; then
   13609   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13610 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13612 $as_echo_n "checking for $ac_word... " >&6; }
   13613 if ${ac_cv_prog_NMEDIT+:} false; then :
   13614   $as_echo_n "(cached) " >&6
   13615 else
   13616   if test -n "$NMEDIT"; then
   13617   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13618 else
   13619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13620 for as_dir in $PATH
   13621 do
   13622   IFS=$as_save_IFS
   13623   test -z "$as_dir" && as_dir=.
   13624     for ac_exec_ext in '' $ac_executable_extensions; do
   13625   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13626     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13627     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13628     break 2
   13629   fi
   13630 done
   13631   done
   13632 IFS=$as_save_IFS
   13633 
   13634 fi
   13635 fi
   13636 NMEDIT=$ac_cv_prog_NMEDIT
   13637 if test -n "$NMEDIT"; then
   13638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13639 $as_echo "$NMEDIT" >&6; }
   13640 else
   13641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13642 $as_echo "no" >&6; }
   13643 fi
   13644 
   13645 
   13646 fi
   13647 if test -z "$ac_cv_prog_NMEDIT"; then
   13648   ac_ct_NMEDIT=$NMEDIT
   13649   # Extract the first word of "nmedit", so it can be a program name with args.
   13650 set dummy nmedit; ac_word=$2
   13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13652 $as_echo_n "checking for $ac_word... " >&6; }
   13653 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13654   $as_echo_n "(cached) " >&6
   13655 else
   13656   if test -n "$ac_ct_NMEDIT"; then
   13657   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13658 else
   13659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13660 for as_dir in $PATH
   13661 do
   13662   IFS=$as_save_IFS
   13663   test -z "$as_dir" && as_dir=.
   13664     for ac_exec_ext in '' $ac_executable_extensions; do
   13665   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13666     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13668     break 2
   13669   fi
   13670 done
   13671   done
   13672 IFS=$as_save_IFS
   13673 
   13674 fi
   13675 fi
   13676 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13677 if test -n "$ac_ct_NMEDIT"; then
   13678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13679 $as_echo "$ac_ct_NMEDIT" >&6; }
   13680 else
   13681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13682 $as_echo "no" >&6; }
   13683 fi
   13684 
   13685   if test "x$ac_ct_NMEDIT" = x; then
   13686     NMEDIT=":"
   13687   else
   13688     case $cross_compiling:$ac_tool_warned in
   13689 yes:)
   13690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13692 ac_tool_warned=yes ;;
   13693 esac
   13694     NMEDIT=$ac_ct_NMEDIT
   13695   fi
   13696 else
   13697   NMEDIT="$ac_cv_prog_NMEDIT"
   13698 fi
   13699 
   13700     if test -n "$ac_tool_prefix"; then
   13701   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13702 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13704 $as_echo_n "checking for $ac_word... " >&6; }
   13705 if ${ac_cv_prog_LIPO+:} false; then :
   13706   $as_echo_n "(cached) " >&6
   13707 else
   13708   if test -n "$LIPO"; then
   13709   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13710 else
   13711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13712 for as_dir in $PATH
   13713 do
   13714   IFS=$as_save_IFS
   13715   test -z "$as_dir" && as_dir=.
   13716     for ac_exec_ext in '' $ac_executable_extensions; do
   13717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13718     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13720     break 2
   13721   fi
   13722 done
   13723   done
   13724 IFS=$as_save_IFS
   13725 
   13726 fi
   13727 fi
   13728 LIPO=$ac_cv_prog_LIPO
   13729 if test -n "$LIPO"; then
   13730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13731 $as_echo "$LIPO" >&6; }
   13732 else
   13733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13734 $as_echo "no" >&6; }
   13735 fi
   13736 
   13737 
   13738 fi
   13739 if test -z "$ac_cv_prog_LIPO"; then
   13740   ac_ct_LIPO=$LIPO
   13741   # Extract the first word of "lipo", so it can be a program name with args.
   13742 set dummy lipo; ac_word=$2
   13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13744 $as_echo_n "checking for $ac_word... " >&6; }
   13745 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13746   $as_echo_n "(cached) " >&6
   13747 else
   13748   if test -n "$ac_ct_LIPO"; then
   13749   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13750 else
   13751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13752 for as_dir in $PATH
   13753 do
   13754   IFS=$as_save_IFS
   13755   test -z "$as_dir" && as_dir=.
   13756     for ac_exec_ext in '' $ac_executable_extensions; do
   13757   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13758     ac_cv_prog_ac_ct_LIPO="lipo"
   13759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13760     break 2
   13761   fi
   13762 done
   13763   done
   13764 IFS=$as_save_IFS
   13765 
   13766 fi
   13767 fi
   13768 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13769 if test -n "$ac_ct_LIPO"; then
   13770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13771 $as_echo "$ac_ct_LIPO" >&6; }
   13772 else
   13773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13774 $as_echo "no" >&6; }
   13775 fi
   13776 
   13777   if test "x$ac_ct_LIPO" = x; then
   13778     LIPO=":"
   13779   else
   13780     case $cross_compiling:$ac_tool_warned in
   13781 yes:)
   13782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13784 ac_tool_warned=yes ;;
   13785 esac
   13786     LIPO=$ac_ct_LIPO
   13787   fi
   13788 else
   13789   LIPO="$ac_cv_prog_LIPO"
   13790 fi
   13791 
   13792     if test -n "$ac_tool_prefix"; then
   13793   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13794 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13796 $as_echo_n "checking for $ac_word... " >&6; }
   13797 if ${ac_cv_prog_OTOOL+:} false; then :
   13798   $as_echo_n "(cached) " >&6
   13799 else
   13800   if test -n "$OTOOL"; then
   13801   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13802 else
   13803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13804 for as_dir in $PATH
   13805 do
   13806   IFS=$as_save_IFS
   13807   test -z "$as_dir" && as_dir=.
   13808     for ac_exec_ext in '' $ac_executable_extensions; do
   13809   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13810     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13812     break 2
   13813   fi
   13814 done
   13815   done
   13816 IFS=$as_save_IFS
   13817 
   13818 fi
   13819 fi
   13820 OTOOL=$ac_cv_prog_OTOOL
   13821 if test -n "$OTOOL"; then
   13822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13823 $as_echo "$OTOOL" >&6; }
   13824 else
   13825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13826 $as_echo "no" >&6; }
   13827 fi
   13828 
   13829 
   13830 fi
   13831 if test -z "$ac_cv_prog_OTOOL"; then
   13832   ac_ct_OTOOL=$OTOOL
   13833   # Extract the first word of "otool", so it can be a program name with args.
   13834 set dummy otool; ac_word=$2
   13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13836 $as_echo_n "checking for $ac_word... " >&6; }
   13837 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13838   $as_echo_n "(cached) " >&6
   13839 else
   13840   if test -n "$ac_ct_OTOOL"; then
   13841   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13842 else
   13843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13844 for as_dir in $PATH
   13845 do
   13846   IFS=$as_save_IFS
   13847   test -z "$as_dir" && as_dir=.
   13848     for ac_exec_ext in '' $ac_executable_extensions; do
   13849   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13850     ac_cv_prog_ac_ct_OTOOL="otool"
   13851     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13852     break 2
   13853   fi
   13854 done
   13855   done
   13856 IFS=$as_save_IFS
   13857 
   13858 fi
   13859 fi
   13860 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13861 if test -n "$ac_ct_OTOOL"; then
   13862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13863 $as_echo "$ac_ct_OTOOL" >&6; }
   13864 else
   13865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13866 $as_echo "no" >&6; }
   13867 fi
   13868 
   13869   if test "x$ac_ct_OTOOL" = x; then
   13870     OTOOL=":"
   13871   else
   13872     case $cross_compiling:$ac_tool_warned in
   13873 yes:)
   13874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13876 ac_tool_warned=yes ;;
   13877 esac
   13878     OTOOL=$ac_ct_OTOOL
   13879   fi
   13880 else
   13881   OTOOL="$ac_cv_prog_OTOOL"
   13882 fi
   13883 
   13884     if test -n "$ac_tool_prefix"; then
   13885   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13886 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13888 $as_echo_n "checking for $ac_word... " >&6; }
   13889 if ${ac_cv_prog_OTOOL64+:} false; then :
   13890   $as_echo_n "(cached) " >&6
   13891 else
   13892   if test -n "$OTOOL64"; then
   13893   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13894 else
   13895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13896 for as_dir in $PATH
   13897 do
   13898   IFS=$as_save_IFS
   13899   test -z "$as_dir" && as_dir=.
   13900     for ac_exec_ext in '' $ac_executable_extensions; do
   13901   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13902     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13904     break 2
   13905   fi
   13906 done
   13907   done
   13908 IFS=$as_save_IFS
   13909 
   13910 fi
   13911 fi
   13912 OTOOL64=$ac_cv_prog_OTOOL64
   13913 if test -n "$OTOOL64"; then
   13914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13915 $as_echo "$OTOOL64" >&6; }
   13916 else
   13917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13918 $as_echo "no" >&6; }
   13919 fi
   13920 
   13921 
   13922 fi
   13923 if test -z "$ac_cv_prog_OTOOL64"; then
   13924   ac_ct_OTOOL64=$OTOOL64
   13925   # Extract the first word of "otool64", so it can be a program name with args.
   13926 set dummy otool64; ac_word=$2
   13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13928 $as_echo_n "checking for $ac_word... " >&6; }
   13929 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13930   $as_echo_n "(cached) " >&6
   13931 else
   13932   if test -n "$ac_ct_OTOOL64"; then
   13933   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13934 else
   13935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13936 for as_dir in $PATH
   13937 do
   13938   IFS=$as_save_IFS
   13939   test -z "$as_dir" && as_dir=.
   13940     for ac_exec_ext in '' $ac_executable_extensions; do
   13941   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13942     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13944     break 2
   13945   fi
   13946 done
   13947   done
   13948 IFS=$as_save_IFS
   13949 
   13950 fi
   13951 fi
   13952 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13953 if test -n "$ac_ct_OTOOL64"; then
   13954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13955 $as_echo "$ac_ct_OTOOL64" >&6; }
   13956 else
   13957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13958 $as_echo "no" >&6; }
   13959 fi
   13960 
   13961   if test "x$ac_ct_OTOOL64" = x; then
   13962     OTOOL64=":"
   13963   else
   13964     case $cross_compiling:$ac_tool_warned in
   13965 yes:)
   13966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13968 ac_tool_warned=yes ;;
   13969 esac
   13970     OTOOL64=$ac_ct_OTOOL64
   13971   fi
   13972 else
   13973   OTOOL64="$ac_cv_prog_OTOOL64"
   13974 fi
   13975 
   13976 
   13977 
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 
   13987 
   13988 
   13989 
   13990 
   13991 
   13992 
   13993 
   13994 
   13995 
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14003 $as_echo_n "checking for -single_module linker flag... " >&6; }
   14004 if ${lt_cv_apple_cc_single_mod+:} false; then :
   14005   $as_echo_n "(cached) " >&6
   14006 else
   14007   lt_cv_apple_cc_single_mod=no
   14008       if test -z "$LT_MULTI_MODULE"; then
   14009 	# By default we will add the -single_module flag. You can override
   14010 	# by either setting the environment variable LT_MULTI_MODULE
   14011 	# non-empty at configure time, or by adding -multi_module to the
   14012 	# link flags.
   14013 	rm -rf libconftest.dylib*
   14014 	echo "int foo(void){return 1;}" > conftest.c
   14015 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14016 -dynamiclib -Wl,-single_module conftest.c" >&5
   14017 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14018 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14019         _lt_result=$?
   14020 	# If there is a non-empty error log, and "single_module"
   14021 	# appears in it, assume the flag caused a linker warning
   14022         if test -s conftest.err && $GREP single_module conftest.err; then
   14023 	  cat conftest.err >&5
   14024 	# Otherwise, if the output was created with a 0 exit code from
   14025 	# the compiler, it worked.
   14026 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14027 	  lt_cv_apple_cc_single_mod=yes
   14028 	else
   14029 	  cat conftest.err >&5
   14030 	fi
   14031 	rm -rf libconftest.dylib*
   14032 	rm -f conftest.*
   14033       fi
   14034 fi
   14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14036 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14037 
   14038     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14039 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14040 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14041   $as_echo_n "(cached) " >&6
   14042 else
   14043   lt_cv_ld_exported_symbols_list=no
   14044       save_LDFLAGS=$LDFLAGS
   14045       echo "_main" > conftest.sym
   14046       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14048 /* end confdefs.h.  */
   14049 
   14050 int
   14051 main ()
   14052 {
   14053 
   14054   ;
   14055   return 0;
   14056 }
   14057 _ACEOF
   14058 if ac_fn_c_try_link "$LINENO"; then :
   14059   lt_cv_ld_exported_symbols_list=yes
   14060 else
   14061   lt_cv_ld_exported_symbols_list=no
   14062 fi
   14063 rm -f core conftest.err conftest.$ac_objext \
   14064     conftest$ac_exeext conftest.$ac_ext
   14065 	LDFLAGS=$save_LDFLAGS
   14066 
   14067 fi
   14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14069 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14070 
   14071     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14072 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14073 if ${lt_cv_ld_force_load+:} false; then :
   14074   $as_echo_n "(cached) " >&6
   14075 else
   14076   lt_cv_ld_force_load=no
   14077       cat > conftest.c << _LT_EOF
   14078 int forced_loaded() { return 2;}
   14079 _LT_EOF
   14080       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14081       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14082       echo "$AR cru libconftest.a conftest.o" >&5
   14083       $AR cru libconftest.a conftest.o 2>&5
   14084       echo "$RANLIB libconftest.a" >&5
   14085       $RANLIB libconftest.a 2>&5
   14086       cat > conftest.c << _LT_EOF
   14087 int main() { return 0;}
   14088 _LT_EOF
   14089       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14090       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14091       _lt_result=$?
   14092       if test -s conftest.err && $GREP force_load conftest.err; then
   14093 	cat conftest.err >&5
   14094       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14095 	lt_cv_ld_force_load=yes
   14096       else
   14097 	cat conftest.err >&5
   14098       fi
   14099         rm -f conftest.err libconftest.a conftest conftest.c
   14100         rm -rf conftest.dSYM
   14101 
   14102 fi
   14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14104 $as_echo "$lt_cv_ld_force_load" >&6; }
   14105     case $host_os in
   14106     rhapsody* | darwin1.[012])
   14107       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14108     darwin1.*)
   14109       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14110     darwin*) # darwin 5.x on
   14111       # if running on 10.5 or later, the deployment target defaults
   14112       # to the OS version, if on x86, and 10.4, the deployment
   14113       # target defaults to 10.4. Don't you love it?
   14114       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14115 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14116 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14117 	10.[012][,.]*)
   14118 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14119 	10.*)
   14120 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14121       esac
   14122     ;;
   14123   esac
   14124     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14125       _lt_dar_single_mod='$single_module'
   14126     fi
   14127     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14128       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14129     else
   14130       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14131     fi
   14132     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14133       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14134     else
   14135       _lt_dsymutil=
   14136     fi
   14137     ;;
   14138   esac
   14139 
   14140 # func_munge_path_list VARIABLE PATH
   14141 # -----------------------------------
   14142 # VARIABLE is name of variable containing _space_ separated list of
   14143 # directories to be munged by the contents of PATH, which is string
   14144 # having a format:
   14145 # "DIR[:DIR]:"
   14146 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14147 # ":DIR[:DIR]"
   14148 #       string "DIR[ DIR]" will be appended to VARIABLE
   14149 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14150 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14151 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14152 # "DIR[:DIR]"
   14153 #       VARIABLE will be replaced by "DIR[ DIR]"
   14154 func_munge_path_list ()
   14155 {
   14156     case x$2 in
   14157     x)
   14158         ;;
   14159     *:)
   14160         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14161         ;;
   14162     x:*)
   14163         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14164         ;;
   14165     *::*)
   14166         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14167         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14168         ;;
   14169     *)
   14170         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14171         ;;
   14172     esac
   14173 }
   14174 
   14175 for ac_header in dlfcn.h
   14176 do :
   14177   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14178 "
   14179 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14180   cat >>confdefs.h <<_ACEOF
   14181 #define HAVE_DLFCN_H 1
   14182 _ACEOF
   14183 
   14184 fi
   14185 
   14186 done
   14187 
   14188 
   14189 
   14190 
   14191 
   14192 # Set options
   14193 
   14194 
   14195 
   14196         enable_dlopen=no
   14197 
   14198 
   14199   enable_win32_dll=no
   14200 
   14201 
   14202             # Check whether --enable-shared was given.
   14203 if test "${enable_shared+set}" = set; then :
   14204   enableval=$enable_shared; p=${PACKAGE-default}
   14205     case $enableval in
   14206     yes) enable_shared=yes ;;
   14207     no) enable_shared=no ;;
   14208     *)
   14209       enable_shared=no
   14210       # Look at the argument we got.  We use all the common list separators.
   14211       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14212       for pkg in $enableval; do
   14213 	IFS=$lt_save_ifs
   14214 	if test "X$pkg" = "X$p"; then
   14215 	  enable_shared=yes
   14216 	fi
   14217       done
   14218       IFS=$lt_save_ifs
   14219       ;;
   14220     esac
   14221 else
   14222   enable_shared=yes
   14223 fi
   14224 
   14225 
   14226 
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 
   14233 
   14234 
   14235 # Check whether --with-pic was given.
   14236 if test "${with_pic+set}" = set; then :
   14237   withval=$with_pic; lt_p=${PACKAGE-default}
   14238     case $withval in
   14239     yes|no) pic_mode=$withval ;;
   14240     *)
   14241       pic_mode=default
   14242       # Look at the argument we got.  We use all the common list separators.
   14243       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14244       for lt_pkg in $withval; do
   14245 	IFS=$lt_save_ifs
   14246 	if test "X$lt_pkg" = "X$lt_p"; then
   14247 	  pic_mode=yes
   14248 	fi
   14249       done
   14250       IFS=$lt_save_ifs
   14251       ;;
   14252     esac
   14253 else
   14254   pic_mode=default
   14255 fi
   14256 
   14257 
   14258 
   14259 
   14260 
   14261 
   14262 
   14263 
   14264   # Check whether --enable-fast-install was given.
   14265 if test "${enable_fast_install+set}" = set; then :
   14266   enableval=$enable_fast_install; p=${PACKAGE-default}
   14267     case $enableval in
   14268     yes) enable_fast_install=yes ;;
   14269     no) enable_fast_install=no ;;
   14270     *)
   14271       enable_fast_install=no
   14272       # Look at the argument we got.  We use all the common list separators.
   14273       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14274       for pkg in $enableval; do
   14275 	IFS=$lt_save_ifs
   14276 	if test "X$pkg" = "X$p"; then
   14277 	  enable_fast_install=yes
   14278 	fi
   14279       done
   14280       IFS=$lt_save_ifs
   14281       ;;
   14282     esac
   14283 else
   14284   enable_fast_install=yes
   14285 fi
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 
   14294   shared_archive_member_spec=
   14295 case $host,$enable_shared in
   14296 power*-*-aix[5-9]*,yes)
   14297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14298 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14299 
   14300 # Check whether --with-aix-soname was given.
   14301 if test "${with_aix_soname+set}" = set; then :
   14302   withval=$with_aix_soname; case $withval in
   14303     aix|svr4|both)
   14304       ;;
   14305     *)
   14306       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14307       ;;
   14308     esac
   14309     lt_cv_with_aix_soname=$with_aix_soname
   14310 else
   14311   if ${lt_cv_with_aix_soname+:} false; then :
   14312   $as_echo_n "(cached) " >&6
   14313 else
   14314   lt_cv_with_aix_soname=aix
   14315 fi
   14316 
   14317     with_aix_soname=$lt_cv_with_aix_soname
   14318 fi
   14319 
   14320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14321 $as_echo "$with_aix_soname" >&6; }
   14322   if test aix != "$with_aix_soname"; then
   14323     # For the AIX way of multilib, we name the shared archive member
   14324     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14325     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14326     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14327     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14328     if test 64 = "${OBJECT_MODE-32}"; then
   14329       shared_archive_member_spec=shr_64
   14330     else
   14331       shared_archive_member_spec=shr
   14332     fi
   14333   fi
   14334   ;;
   14335 *)
   14336   with_aix_soname=aix
   14337   ;;
   14338 esac
   14339 
   14340 
   14341 
   14342 
   14343 
   14344 
   14345 
   14346 
   14347 
   14348 
   14349 # This can be used to rebuild libtool when needed
   14350 LIBTOOL_DEPS=$ltmain
   14351 
   14352 # Always use our own libtool.
   14353 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 
   14364 
   14365 
   14366 
   14367 
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 test -z "$LN_S" && LN_S="ln -s"
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 if test -n "${ZSH_VERSION+set}"; then
   14400    setopt NO_GLOB_SUBST
   14401 fi
   14402 
   14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14404 $as_echo_n "checking for objdir... " >&6; }
   14405 if ${lt_cv_objdir+:} false; then :
   14406   $as_echo_n "(cached) " >&6
   14407 else
   14408   rm -f .libs 2>/dev/null
   14409 mkdir .libs 2>/dev/null
   14410 if test -d .libs; then
   14411   lt_cv_objdir=.libs
   14412 else
   14413   # MS-DOS does not allow filenames that begin with a dot.
   14414   lt_cv_objdir=_libs
   14415 fi
   14416 rmdir .libs 2>/dev/null
   14417 fi
   14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14419 $as_echo "$lt_cv_objdir" >&6; }
   14420 objdir=$lt_cv_objdir
   14421 
   14422 
   14423 
   14424 
   14425 
   14426 cat >>confdefs.h <<_ACEOF
   14427 #define LT_OBJDIR "$lt_cv_objdir/"
   14428 _ACEOF
   14429 
   14430 
   14431 
   14432 
   14433 case $host_os in
   14434 aix3*)
   14435   # AIX sometimes has problems with the GCC collect2 program.  For some
   14436   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14437   # vanish in a puff of smoke.
   14438   if test set != "${COLLECT_NAMES+set}"; then
   14439     COLLECT_NAMES=
   14440     export COLLECT_NAMES
   14441   fi
   14442   ;;
   14443 esac
   14444 
   14445 # Global variables:
   14446 ofile=libtool
   14447 can_build_shared=yes
   14448 
   14449 # All known linkers require a '.a' archive for static linking (except MSVC,
   14450 # which needs '.lib').
   14451 libext=a
   14452 
   14453 with_gnu_ld=$lt_cv_prog_gnu_ld
   14454 
   14455 old_CC=$CC
   14456 old_CFLAGS=$CFLAGS
   14457 
   14458 # Set sane defaults for various variables
   14459 test -z "$CC" && CC=cc
   14460 test -z "$LTCC" && LTCC=$CC
   14461 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14462 test -z "$LD" && LD=ld
   14463 test -z "$ac_objext" && ac_objext=o
   14464 
   14465 func_cc_basename $compiler
   14466 cc_basename=$func_cc_basename_result
   14467 
   14468 
   14469 # Only perform the check for file, if the check method requires it
   14470 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14471 case $deplibs_check_method in
   14472 file_magic*)
   14473   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14474     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14475 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14476 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14477   $as_echo_n "(cached) " >&6
   14478 else
   14479   case $MAGIC_CMD in
   14480 [\\/*] |  ?:[\\/]*)
   14481   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14482   ;;
   14483 *)
   14484   lt_save_MAGIC_CMD=$MAGIC_CMD
   14485   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14486   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14487   for ac_dir in $ac_dummy; do
   14488     IFS=$lt_save_ifs
   14489     test -z "$ac_dir" && ac_dir=.
   14490     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14491       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14492       if test -n "$file_magic_test_file"; then
   14493 	case $deplibs_check_method in
   14494 	"file_magic "*)
   14495 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14496 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14497 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14498 	    $EGREP "$file_magic_regex" > /dev/null; then
   14499 	    :
   14500 	  else
   14501 	    cat <<_LT_EOF 1>&2
   14502 
   14503 *** Warning: the command libtool uses to detect shared libraries,
   14504 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14505 *** The result is that libtool may fail to recognize shared libraries
   14506 *** as such.  This will affect the creation of libtool libraries that
   14507 *** depend on shared libraries, but programs linked with such libtool
   14508 *** libraries will work regardless of this problem.  Nevertheless, you
   14509 *** may want to report the problem to your system manager and/or to
   14510 *** bug-libtool (at] gnu.org
   14511 
   14512 _LT_EOF
   14513 	  fi ;;
   14514 	esac
   14515       fi
   14516       break
   14517     fi
   14518   done
   14519   IFS=$lt_save_ifs
   14520   MAGIC_CMD=$lt_save_MAGIC_CMD
   14521   ;;
   14522 esac
   14523 fi
   14524 
   14525 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14526 if test -n "$MAGIC_CMD"; then
   14527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14528 $as_echo "$MAGIC_CMD" >&6; }
   14529 else
   14530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14531 $as_echo "no" >&6; }
   14532 fi
   14533 
   14534 
   14535 
   14536 
   14537 
   14538 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14539   if test -n "$ac_tool_prefix"; then
   14540     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14541 $as_echo_n "checking for file... " >&6; }
   14542 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14543   $as_echo_n "(cached) " >&6
   14544 else
   14545   case $MAGIC_CMD in
   14546 [\\/*] |  ?:[\\/]*)
   14547   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14548   ;;
   14549 *)
   14550   lt_save_MAGIC_CMD=$MAGIC_CMD
   14551   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14552   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14553   for ac_dir in $ac_dummy; do
   14554     IFS=$lt_save_ifs
   14555     test -z "$ac_dir" && ac_dir=.
   14556     if test -f "$ac_dir/file"; then
   14557       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14558       if test -n "$file_magic_test_file"; then
   14559 	case $deplibs_check_method in
   14560 	"file_magic "*)
   14561 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14562 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14563 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14564 	    $EGREP "$file_magic_regex" > /dev/null; then
   14565 	    :
   14566 	  else
   14567 	    cat <<_LT_EOF 1>&2
   14568 
   14569 *** Warning: the command libtool uses to detect shared libraries,
   14570 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14571 *** The result is that libtool may fail to recognize shared libraries
   14572 *** as such.  This will affect the creation of libtool libraries that
   14573 *** depend on shared libraries, but programs linked with such libtool
   14574 *** libraries will work regardless of this problem.  Nevertheless, you
   14575 *** may want to report the problem to your system manager and/or to
   14576 *** bug-libtool (at] gnu.org
   14577 
   14578 _LT_EOF
   14579 	  fi ;;
   14580 	esac
   14581       fi
   14582       break
   14583     fi
   14584   done
   14585   IFS=$lt_save_ifs
   14586   MAGIC_CMD=$lt_save_MAGIC_CMD
   14587   ;;
   14588 esac
   14589 fi
   14590 
   14591 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14592 if test -n "$MAGIC_CMD"; then
   14593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14594 $as_echo "$MAGIC_CMD" >&6; }
   14595 else
   14596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14597 $as_echo "no" >&6; }
   14598 fi
   14599 
   14600 
   14601   else
   14602     MAGIC_CMD=:
   14603   fi
   14604 fi
   14605 
   14606   fi
   14607   ;;
   14608 esac
   14609 
   14610 # Use C for the default configuration in the libtool script
   14611 
   14612 lt_save_CC=$CC
   14613 ac_ext=c
   14614 ac_cpp='$CPP $CPPFLAGS'
   14615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14618 
   14619 
   14620 # Source file extension for C test sources.
   14621 ac_ext=c
   14622 
   14623 # Object file extension for compiled C test sources.
   14624 objext=o
   14625 objext=$objext
   14626 
   14627 # Code to be used in simple compile tests
   14628 lt_simple_compile_test_code="int some_variable = 0;"
   14629 
   14630 # Code to be used in simple link tests
   14631 lt_simple_link_test_code='int main(){return(0);}'
   14632 
   14633 
   14634 
   14635 
   14636 
   14637 
   14638 
   14639 # If no C compiler was specified, use CC.
   14640 LTCC=${LTCC-"$CC"}
   14641 
   14642 # If no C compiler flags were specified, use CFLAGS.
   14643 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14644 
   14645 # Allow CC to be a program name with arguments.
   14646 compiler=$CC
   14647 
   14648 # Save the default compiler, since it gets overwritten when the other
   14649 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14650 compiler_DEFAULT=$CC
   14651 
   14652 # save warnings/boilerplate of simple test code
   14653 ac_outfile=conftest.$ac_objext
   14654 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14655 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14656 _lt_compiler_boilerplate=`cat conftest.err`
   14657 $RM conftest*
   14658 
   14659 ac_outfile=conftest.$ac_objext
   14660 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14661 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14662 _lt_linker_boilerplate=`cat conftest.err`
   14663 $RM -r conftest*
   14664 
   14665 
   14666 if test -n "$compiler"; then
   14667 
   14668 lt_prog_compiler_no_builtin_flag=
   14669 
   14670 if test yes = "$GCC"; then
   14671   case $cc_basename in
   14672   nvcc*)
   14673     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14674   *)
   14675     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14676   esac
   14677 
   14678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14679 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14680 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14681   $as_echo_n "(cached) " >&6
   14682 else
   14683   lt_cv_prog_compiler_rtti_exceptions=no
   14684    ac_outfile=conftest.$ac_objext
   14685    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14686    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14687    # Insert the option either (1) after the last *FLAGS variable, or
   14688    # (2) before a word containing "conftest.", or (3) at the end.
   14689    # Note that $ac_compile itself does not contain backslashes and begins
   14690    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14691    # The option is referenced via a variable to avoid confusing sed.
   14692    lt_compile=`echo "$ac_compile" | $SED \
   14693    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14694    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14695    -e 's:$: $lt_compiler_flag:'`
   14696    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14697    (eval "$lt_compile" 2>conftest.err)
   14698    ac_status=$?
   14699    cat conftest.err >&5
   14700    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14701    if (exit $ac_status) && test -s "$ac_outfile"; then
   14702      # The compiler can only warn and ignore the option if not recognized
   14703      # So say no if there are warnings other than the usual output.
   14704      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14705      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14706      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14707        lt_cv_prog_compiler_rtti_exceptions=yes
   14708      fi
   14709    fi
   14710    $RM conftest*
   14711 
   14712 fi
   14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14714 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14715 
   14716 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   14717     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14718 else
   14719     :
   14720 fi
   14721 
   14722 fi
   14723 
   14724 
   14725 
   14726 
   14727 
   14728 
   14729   lt_prog_compiler_wl=
   14730 lt_prog_compiler_pic=
   14731 lt_prog_compiler_static=
   14732 
   14733 
   14734   if test yes = "$GCC"; then
   14735     lt_prog_compiler_wl='-Wl,'
   14736     lt_prog_compiler_static='-static'
   14737 
   14738     case $host_os in
   14739       aix*)
   14740       # All AIX code is PIC.
   14741       if test ia64 = "$host_cpu"; then
   14742 	# AIX 5 now supports IA64 processor
   14743 	lt_prog_compiler_static='-Bstatic'
   14744       fi
   14745       lt_prog_compiler_pic='-fPIC'
   14746       ;;
   14747 
   14748     amigaos*)
   14749       case $host_cpu in
   14750       powerpc)
   14751             # see comment about AmigaOS4 .so support
   14752             lt_prog_compiler_pic='-fPIC'
   14753         ;;
   14754       m68k)
   14755             # FIXME: we need at least 68020 code to build shared libraries, but
   14756             # adding the '-m68020' flag to GCC prevents building anything better,
   14757             # like '-m68040'.
   14758             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14759         ;;
   14760       esac
   14761       ;;
   14762 
   14763     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14764       # PIC is the default for these OSes.
   14765       ;;
   14766 
   14767     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14768       # This hack is so that the source file can tell whether it is being
   14769       # built for inclusion in a dll (and should export symbols for example).
   14770       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14771       # (--disable-auto-import) libraries
   14772       lt_prog_compiler_pic='-DDLL_EXPORT'
   14773       case $host_os in
   14774       os2*)
   14775 	lt_prog_compiler_static='$wl-static'
   14776 	;;
   14777       esac
   14778       ;;
   14779 
   14780     darwin* | rhapsody*)
   14781       # PIC is the default on this platform
   14782       # Common symbols not allowed in MH_DYLIB files
   14783       lt_prog_compiler_pic='-fno-common'
   14784       ;;
   14785 
   14786     haiku*)
   14787       # PIC is the default for Haiku.
   14788       # The "-static" flag exists, but is broken.
   14789       lt_prog_compiler_static=
   14790       ;;
   14791 
   14792     hpux*)
   14793       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14794       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14795       # sets the default TLS model and affects inlining.
   14796       case $host_cpu in
   14797       hppa*64*)
   14798 	# +Z the default
   14799 	;;
   14800       *)
   14801 	lt_prog_compiler_pic='-fPIC'
   14802 	;;
   14803       esac
   14804       ;;
   14805 
   14806     interix[3-9]*)
   14807       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14808       # Instead, we relocate shared libraries at runtime.
   14809       ;;
   14810 
   14811     msdosdjgpp*)
   14812       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14813       # on systems that don't support them.
   14814       lt_prog_compiler_can_build_shared=no
   14815       enable_shared=no
   14816       ;;
   14817 
   14818     *nto* | *qnx*)
   14819       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14820       # it will coredump.
   14821       lt_prog_compiler_pic='-fPIC -shared'
   14822       ;;
   14823 
   14824     sysv4*MP*)
   14825       if test -d /usr/nec; then
   14826 	lt_prog_compiler_pic=-Kconform_pic
   14827       fi
   14828       ;;
   14829 
   14830     *)
   14831       lt_prog_compiler_pic='-fPIC'
   14832       ;;
   14833     esac
   14834 
   14835     case $cc_basename in
   14836     nvcc*) # Cuda Compiler Driver 2.2
   14837       lt_prog_compiler_wl='-Xlinker '
   14838       if test -n "$lt_prog_compiler_pic"; then
   14839         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14840       fi
   14841       ;;
   14842     esac
   14843   else
   14844     # PORTME Check for flag to pass linker flags through the system compiler.
   14845     case $host_os in
   14846     aix*)
   14847       lt_prog_compiler_wl='-Wl,'
   14848       if test ia64 = "$host_cpu"; then
   14849 	# AIX 5 now supports IA64 processor
   14850 	lt_prog_compiler_static='-Bstatic'
   14851       else
   14852 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14853       fi
   14854       ;;
   14855 
   14856     darwin* | rhapsody*)
   14857       # PIC is the default on this platform
   14858       # Common symbols not allowed in MH_DYLIB files
   14859       lt_prog_compiler_pic='-fno-common'
   14860       case $cc_basename in
   14861       nagfor*)
   14862         # NAG Fortran compiler
   14863         lt_prog_compiler_wl='-Wl,-Wl,,'
   14864         lt_prog_compiler_pic='-PIC'
   14865         lt_prog_compiler_static='-Bstatic'
   14866         ;;
   14867       esac
   14868       ;;
   14869 
   14870     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14871       # This hack is so that the source file can tell whether it is being
   14872       # built for inclusion in a dll (and should export symbols for example).
   14873       lt_prog_compiler_pic='-DDLL_EXPORT'
   14874       case $host_os in
   14875       os2*)
   14876 	lt_prog_compiler_static='$wl-static'
   14877 	;;
   14878       esac
   14879       ;;
   14880 
   14881     hpux9* | hpux10* | hpux11*)
   14882       lt_prog_compiler_wl='-Wl,'
   14883       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14884       # not for PA HP-UX.
   14885       case $host_cpu in
   14886       hppa*64*|ia64*)
   14887 	# +Z the default
   14888 	;;
   14889       *)
   14890 	lt_prog_compiler_pic='+Z'
   14891 	;;
   14892       esac
   14893       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14894       lt_prog_compiler_static='$wl-a ${wl}archive'
   14895       ;;
   14896 
   14897     irix5* | irix6* | nonstopux*)
   14898       lt_prog_compiler_wl='-Wl,'
   14899       # PIC (with -KPIC) is the default.
   14900       lt_prog_compiler_static='-non_shared'
   14901       ;;
   14902 
   14903     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14904       case $cc_basename in
   14905       # old Intel for x86_64, which still supported -KPIC.
   14906       ecc*)
   14907 	lt_prog_compiler_wl='-Wl,'
   14908 	lt_prog_compiler_pic='-KPIC'
   14909 	lt_prog_compiler_static='-static'
   14910         ;;
   14911       # icc used to be incompatible with GCC.
   14912       # ICC 10 doesn't accept -KPIC any more.
   14913       icc* | ifort*)
   14914 	lt_prog_compiler_wl='-Wl,'
   14915 	lt_prog_compiler_pic='-fPIC'
   14916 	lt_prog_compiler_static='-static'
   14917         ;;
   14918       # Lahey Fortran 8.1.
   14919       lf95*)
   14920 	lt_prog_compiler_wl='-Wl,'
   14921 	lt_prog_compiler_pic='--shared'
   14922 	lt_prog_compiler_static='--static'
   14923 	;;
   14924       nagfor*)
   14925 	# NAG Fortran compiler
   14926 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14927 	lt_prog_compiler_pic='-PIC'
   14928 	lt_prog_compiler_static='-Bstatic'
   14929 	;;
   14930       tcc*)
   14931 	# Fabrice Bellard et al's Tiny C Compiler
   14932 	lt_prog_compiler_wl='-Wl,'
   14933 	lt_prog_compiler_pic='-fPIC'
   14934 	lt_prog_compiler_static='-static'
   14935 	;;
   14936       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14937         # Portland Group compilers (*not* the Pentium gcc compiler,
   14938 	# which looks to be a dead project)
   14939 	lt_prog_compiler_wl='-Wl,'
   14940 	lt_prog_compiler_pic='-fpic'
   14941 	lt_prog_compiler_static='-Bstatic'
   14942         ;;
   14943       ccc*)
   14944         lt_prog_compiler_wl='-Wl,'
   14945         # All Alpha code is PIC.
   14946         lt_prog_compiler_static='-non_shared'
   14947         ;;
   14948       xl* | bgxl* | bgf* | mpixl*)
   14949 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14950 	lt_prog_compiler_wl='-Wl,'
   14951 	lt_prog_compiler_pic='-qpic'
   14952 	lt_prog_compiler_static='-qstaticlink'
   14953 	;;
   14954       *)
   14955 	case `$CC -V 2>&1 | sed 5q` in
   14956 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14957 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14958 	  lt_prog_compiler_pic='-KPIC'
   14959 	  lt_prog_compiler_static='-Bstatic'
   14960 	  lt_prog_compiler_wl=''
   14961 	  ;;
   14962 	*Sun\ F* | *Sun*Fortran*)
   14963 	  lt_prog_compiler_pic='-KPIC'
   14964 	  lt_prog_compiler_static='-Bstatic'
   14965 	  lt_prog_compiler_wl='-Qoption ld '
   14966 	  ;;
   14967 	*Sun\ C*)
   14968 	  # Sun C 5.9
   14969 	  lt_prog_compiler_pic='-KPIC'
   14970 	  lt_prog_compiler_static='-Bstatic'
   14971 	  lt_prog_compiler_wl='-Wl,'
   14972 	  ;;
   14973         *Intel*\ [CF]*Compiler*)
   14974 	  lt_prog_compiler_wl='-Wl,'
   14975 	  lt_prog_compiler_pic='-fPIC'
   14976 	  lt_prog_compiler_static='-static'
   14977 	  ;;
   14978 	*Portland\ Group*)
   14979 	  lt_prog_compiler_wl='-Wl,'
   14980 	  lt_prog_compiler_pic='-fpic'
   14981 	  lt_prog_compiler_static='-Bstatic'
   14982 	  ;;
   14983 	esac
   14984 	;;
   14985       esac
   14986       ;;
   14987 
   14988     newsos6)
   14989       lt_prog_compiler_pic='-KPIC'
   14990       lt_prog_compiler_static='-Bstatic'
   14991       ;;
   14992 
   14993     *nto* | *qnx*)
   14994       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14995       # it will coredump.
   14996       lt_prog_compiler_pic='-fPIC -shared'
   14997       ;;
   14998 
   14999     osf3* | osf4* | osf5*)
   15000       lt_prog_compiler_wl='-Wl,'
   15001       # All OSF/1 code is PIC.
   15002       lt_prog_compiler_static='-non_shared'
   15003       ;;
   15004 
   15005     rdos*)
   15006       lt_prog_compiler_static='-non_shared'
   15007       ;;
   15008 
   15009     solaris*)
   15010       lt_prog_compiler_pic='-KPIC'
   15011       lt_prog_compiler_static='-Bstatic'
   15012       case $cc_basename in
   15013       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15014 	lt_prog_compiler_wl='-Qoption ld ';;
   15015       *)
   15016 	lt_prog_compiler_wl='-Wl,';;
   15017       esac
   15018       ;;
   15019 
   15020     sunos4*)
   15021       lt_prog_compiler_wl='-Qoption ld '
   15022       lt_prog_compiler_pic='-PIC'
   15023       lt_prog_compiler_static='-Bstatic'
   15024       ;;
   15025 
   15026     sysv4 | sysv4.2uw2* | sysv4.3*)
   15027       lt_prog_compiler_wl='-Wl,'
   15028       lt_prog_compiler_pic='-KPIC'
   15029       lt_prog_compiler_static='-Bstatic'
   15030       ;;
   15031 
   15032     sysv4*MP*)
   15033       if test -d /usr/nec; then
   15034 	lt_prog_compiler_pic='-Kconform_pic'
   15035 	lt_prog_compiler_static='-Bstatic'
   15036       fi
   15037       ;;
   15038 
   15039     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15040       lt_prog_compiler_wl='-Wl,'
   15041       lt_prog_compiler_pic='-KPIC'
   15042       lt_prog_compiler_static='-Bstatic'
   15043       ;;
   15044 
   15045     unicos*)
   15046       lt_prog_compiler_wl='-Wl,'
   15047       lt_prog_compiler_can_build_shared=no
   15048       ;;
   15049 
   15050     uts4*)
   15051       lt_prog_compiler_pic='-pic'
   15052       lt_prog_compiler_static='-Bstatic'
   15053       ;;
   15054 
   15055     *)
   15056       lt_prog_compiler_can_build_shared=no
   15057       ;;
   15058     esac
   15059   fi
   15060 
   15061 case $host_os in
   15062   # For platforms that do not support PIC, -DPIC is meaningless:
   15063   *djgpp*)
   15064     lt_prog_compiler_pic=
   15065     ;;
   15066   *)
   15067     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15068     ;;
   15069 esac
   15070 
   15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15072 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15073 if ${lt_cv_prog_compiler_pic+:} false; then :
   15074   $as_echo_n "(cached) " >&6
   15075 else
   15076   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15077 fi
   15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15079 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15080 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15081 
   15082 #
   15083 # Check to make sure the PIC flag actually works.
   15084 #
   15085 if test -n "$lt_prog_compiler_pic"; then
   15086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15087 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15088 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15089   $as_echo_n "(cached) " >&6
   15090 else
   15091   lt_cv_prog_compiler_pic_works=no
   15092    ac_outfile=conftest.$ac_objext
   15093    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15094    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15095    # Insert the option either (1) after the last *FLAGS variable, or
   15096    # (2) before a word containing "conftest.", or (3) at the end.
   15097    # Note that $ac_compile itself does not contain backslashes and begins
   15098    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15099    # The option is referenced via a variable to avoid confusing sed.
   15100    lt_compile=`echo "$ac_compile" | $SED \
   15101    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15102    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15103    -e 's:$: $lt_compiler_flag:'`
   15104    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15105    (eval "$lt_compile" 2>conftest.err)
   15106    ac_status=$?
   15107    cat conftest.err >&5
   15108    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15109    if (exit $ac_status) && test -s "$ac_outfile"; then
   15110      # The compiler can only warn and ignore the option if not recognized
   15111      # So say no if there are warnings other than the usual output.
   15112      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15113      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15114      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15115        lt_cv_prog_compiler_pic_works=yes
   15116      fi
   15117    fi
   15118    $RM conftest*
   15119 
   15120 fi
   15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15122 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15123 
   15124 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15125     case $lt_prog_compiler_pic in
   15126      "" | " "*) ;;
   15127      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15128      esac
   15129 else
   15130     lt_prog_compiler_pic=
   15131      lt_prog_compiler_can_build_shared=no
   15132 fi
   15133 
   15134 fi
   15135 
   15136 
   15137 
   15138 
   15139 
   15140 
   15141 
   15142 
   15143 
   15144 
   15145 
   15146 #
   15147 # Check to make sure the static flag actually works.
   15148 #
   15149 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15151 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15152 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15153   $as_echo_n "(cached) " >&6
   15154 else
   15155   lt_cv_prog_compiler_static_works=no
   15156    save_LDFLAGS=$LDFLAGS
   15157    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15158    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15159    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15160      # The linker can only warn and ignore the option if not recognized
   15161      # So say no if there are warnings
   15162      if test -s conftest.err; then
   15163        # Append any errors to the config.log.
   15164        cat conftest.err 1>&5
   15165        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15166        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15167        if diff conftest.exp conftest.er2 >/dev/null; then
   15168          lt_cv_prog_compiler_static_works=yes
   15169        fi
   15170      else
   15171        lt_cv_prog_compiler_static_works=yes
   15172      fi
   15173    fi
   15174    $RM -r conftest*
   15175    LDFLAGS=$save_LDFLAGS
   15176 
   15177 fi
   15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15179 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15180 
   15181 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15182     :
   15183 else
   15184     lt_prog_compiler_static=
   15185 fi
   15186 
   15187 
   15188 
   15189 
   15190 
   15191 
   15192 
   15193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15194 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15195 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15196   $as_echo_n "(cached) " >&6
   15197 else
   15198   lt_cv_prog_compiler_c_o=no
   15199    $RM -r conftest 2>/dev/null
   15200    mkdir conftest
   15201    cd conftest
   15202    mkdir out
   15203    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15204 
   15205    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15206    # Insert the option either (1) after the last *FLAGS variable, or
   15207    # (2) before a word containing "conftest.", or (3) at the end.
   15208    # Note that $ac_compile itself does not contain backslashes and begins
   15209    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15210    lt_compile=`echo "$ac_compile" | $SED \
   15211    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15212    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15213    -e 's:$: $lt_compiler_flag:'`
   15214    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15215    (eval "$lt_compile" 2>out/conftest.err)
   15216    ac_status=$?
   15217    cat out/conftest.err >&5
   15218    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15219    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15220    then
   15221      # The compiler can only warn and ignore the option if not recognized
   15222      # So say no if there are warnings
   15223      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15224      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15225      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15226        lt_cv_prog_compiler_c_o=yes
   15227      fi
   15228    fi
   15229    chmod u+w . 2>&5
   15230    $RM conftest*
   15231    # SGI C++ compiler will create directory out/ii_files/ for
   15232    # template instantiation
   15233    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15234    $RM out/* && rmdir out
   15235    cd ..
   15236    $RM -r conftest
   15237    $RM conftest*
   15238 
   15239 fi
   15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15241 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15242 
   15243 
   15244 
   15245 
   15246 
   15247 
   15248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15249 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15250 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15251   $as_echo_n "(cached) " >&6
   15252 else
   15253   lt_cv_prog_compiler_c_o=no
   15254    $RM -r conftest 2>/dev/null
   15255    mkdir conftest
   15256    cd conftest
   15257    mkdir out
   15258    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15259 
   15260    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15261    # Insert the option either (1) after the last *FLAGS variable, or
   15262    # (2) before a word containing "conftest.", or (3) at the end.
   15263    # Note that $ac_compile itself does not contain backslashes and begins
   15264    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15265    lt_compile=`echo "$ac_compile" | $SED \
   15266    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15267    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15268    -e 's:$: $lt_compiler_flag:'`
   15269    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15270    (eval "$lt_compile" 2>out/conftest.err)
   15271    ac_status=$?
   15272    cat out/conftest.err >&5
   15273    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15274    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15275    then
   15276      # The compiler can only warn and ignore the option if not recognized
   15277      # So say no if there are warnings
   15278      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15279      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15280      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15281        lt_cv_prog_compiler_c_o=yes
   15282      fi
   15283    fi
   15284    chmod u+w . 2>&5
   15285    $RM conftest*
   15286    # SGI C++ compiler will create directory out/ii_files/ for
   15287    # template instantiation
   15288    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15289    $RM out/* && rmdir out
   15290    cd ..
   15291    $RM -r conftest
   15292    $RM conftest*
   15293 
   15294 fi
   15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15296 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15297 
   15298 
   15299 
   15300 
   15301 hard_links=nottested
   15302 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15303   # do not overwrite the value of need_locks provided by the user
   15304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15305 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15306   hard_links=yes
   15307   $RM conftest*
   15308   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15309   touch conftest.a
   15310   ln conftest.a conftest.b 2>&5 || hard_links=no
   15311   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15313 $as_echo "$hard_links" >&6; }
   15314   if test no = "$hard_links"; then
   15315     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15316 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15317     need_locks=warn
   15318   fi
   15319 else
   15320   need_locks=no
   15321 fi
   15322 
   15323 
   15324 
   15325 
   15326 
   15327 
   15328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15329 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15330 
   15331   runpath_var=
   15332   allow_undefined_flag=
   15333   always_export_symbols=no
   15334   archive_cmds=
   15335   archive_expsym_cmds=
   15336   compiler_needs_object=no
   15337   enable_shared_with_static_runtimes=no
   15338   export_dynamic_flag_spec=
   15339   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15340   hardcode_automatic=no
   15341   hardcode_direct=no
   15342   hardcode_direct_absolute=no
   15343   hardcode_libdir_flag_spec=
   15344   hardcode_libdir_separator=
   15345   hardcode_minus_L=no
   15346   hardcode_shlibpath_var=unsupported
   15347   inherit_rpath=no
   15348   link_all_deplibs=unknown
   15349   module_cmds=
   15350   module_expsym_cmds=
   15351   old_archive_from_new_cmds=
   15352   old_archive_from_expsyms_cmds=
   15353   thread_safe_flag_spec=
   15354   whole_archive_flag_spec=
   15355   # include_expsyms should be a list of space-separated symbols to be *always*
   15356   # included in the symbol list
   15357   include_expsyms=
   15358   # exclude_expsyms can be an extended regexp of symbols to exclude
   15359   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15360   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15361   # as well as any symbol that contains 'd'.
   15362   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15363   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15364   # platforms (ab)use it in PIC code, but their linkers get confused if
   15365   # the symbol is explicitly referenced.  Since portable code cannot
   15366   # rely on this symbol name, it's probably fine to never include it in
   15367   # preloaded symbol tables.
   15368   # Exclude shared library initialization/finalization symbols.
   15369   extract_expsyms_cmds=
   15370 
   15371   case $host_os in
   15372   cygwin* | mingw* | pw32* | cegcc*)
   15373     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15374     # When not using gcc, we currently assume that we are using
   15375     # Microsoft Visual C++.
   15376     if test yes != "$GCC"; then
   15377       with_gnu_ld=no
   15378     fi
   15379     ;;
   15380   interix*)
   15381     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15382     with_gnu_ld=yes
   15383     ;;
   15384   openbsd* | bitrig*)
   15385     with_gnu_ld=no
   15386     ;;
   15387   linux* | k*bsd*-gnu | gnu*)
   15388     link_all_deplibs=no
   15389     ;;
   15390   esac
   15391 
   15392   ld_shlibs=yes
   15393 
   15394   # On some targets, GNU ld is compatible enough with the native linker
   15395   # that we're better off using the native interface for both.
   15396   lt_use_gnu_ld_interface=no
   15397   if test yes = "$with_gnu_ld"; then
   15398     case $host_os in
   15399       aix*)
   15400 	# The AIX port of GNU ld has always aspired to compatibility
   15401 	# with the native linker.  However, as the warning in the GNU ld
   15402 	# block says, versions before 2.19.5* couldn't really create working
   15403 	# shared libraries, regardless of the interface used.
   15404 	case `$LD -v 2>&1` in
   15405 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15406 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15407 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15408 	  *)
   15409 	    lt_use_gnu_ld_interface=yes
   15410 	    ;;
   15411 	esac
   15412 	;;
   15413       *)
   15414 	lt_use_gnu_ld_interface=yes
   15415 	;;
   15416     esac
   15417   fi
   15418 
   15419   if test yes = "$lt_use_gnu_ld_interface"; then
   15420     # If archive_cmds runs LD, not CC, wlarc should be empty
   15421     wlarc='$wl'
   15422 
   15423     # Set some defaults for GNU ld with shared library support. These
   15424     # are reset later if shared libraries are not supported. Putting them
   15425     # here allows them to be overridden if necessary.
   15426     runpath_var=LD_RUN_PATH
   15427     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15428     export_dynamic_flag_spec='$wl--export-dynamic'
   15429     # ancient GNU ld didn't support --whole-archive et. al.
   15430     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15431       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15432     else
   15433       whole_archive_flag_spec=
   15434     fi
   15435     supports_anon_versioning=no
   15436     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15437       *GNU\ gold*) supports_anon_versioning=yes ;;
   15438       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15439       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15440       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15441       *\ 2.11.*) ;; # other 2.11 versions
   15442       *) supports_anon_versioning=yes ;;
   15443     esac
   15444 
   15445     # See if GNU ld supports shared libraries.
   15446     case $host_os in
   15447     aix[3-9]*)
   15448       # On AIX/PPC, the GNU linker is very broken
   15449       if test ia64 != "$host_cpu"; then
   15450 	ld_shlibs=no
   15451 	cat <<_LT_EOF 1>&2
   15452 
   15453 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15454 *** to be unable to reliably create shared libraries on AIX.
   15455 *** Therefore, libtool is disabling shared libraries support.  If you
   15456 *** really care for shared libraries, you may want to install binutils
   15457 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15458 *** You will then need to restart the configuration process.
   15459 
   15460 _LT_EOF
   15461       fi
   15462       ;;
   15463 
   15464     amigaos*)
   15465       case $host_cpu in
   15466       powerpc)
   15467             # see comment about AmigaOS4 .so support
   15468             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15469             archive_expsym_cmds=''
   15470         ;;
   15471       m68k)
   15472             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)'
   15473             hardcode_libdir_flag_spec='-L$libdir'
   15474             hardcode_minus_L=yes
   15475         ;;
   15476       esac
   15477       ;;
   15478 
   15479     beos*)
   15480       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15481 	allow_undefined_flag=unsupported
   15482 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15483 	# support --undefined.  This deserves some investigation.  FIXME
   15484 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15485       else
   15486 	ld_shlibs=no
   15487       fi
   15488       ;;
   15489 
   15490     cygwin* | mingw* | pw32* | cegcc*)
   15491       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15492       # as there is no search path for DLLs.
   15493       hardcode_libdir_flag_spec='-L$libdir'
   15494       export_dynamic_flag_spec='$wl--export-all-symbols'
   15495       allow_undefined_flag=unsupported
   15496       always_export_symbols=no
   15497       enable_shared_with_static_runtimes=yes
   15498       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'
   15499       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15500 
   15501       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15502         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15503 	# If the export-symbols file already is a .def file, use it as
   15504 	# is; otherwise, prepend EXPORTS...
   15505 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15506           cp $export_symbols $output_objdir/$soname.def;
   15507         else
   15508           echo EXPORTS > $output_objdir/$soname.def;
   15509           cat $export_symbols >> $output_objdir/$soname.def;
   15510         fi~
   15511         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15512       else
   15513 	ld_shlibs=no
   15514       fi
   15515       ;;
   15516 
   15517     haiku*)
   15518       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15519       link_all_deplibs=yes
   15520       ;;
   15521 
   15522     os2*)
   15523       hardcode_libdir_flag_spec='-L$libdir'
   15524       hardcode_minus_L=yes
   15525       allow_undefined_flag=unsupported
   15526       shrext_cmds=.dll
   15527       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15528 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15529 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15530 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15531 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15532 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15533 	emximp -o $lib $output_objdir/$libname.def'
   15534       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15535 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15536 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15537 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15538 	prefix_cmds="$SED"~
   15539 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15540 	  prefix_cmds="$prefix_cmds -e 1d";
   15541 	fi~
   15542 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15543 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15544 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15545 	emximp -o $lib $output_objdir/$libname.def'
   15546       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15547       enable_shared_with_static_runtimes=yes
   15548       ;;
   15549 
   15550     interix[3-9]*)
   15551       hardcode_direct=no
   15552       hardcode_shlibpath_var=no
   15553       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15554       export_dynamic_flag_spec='$wl-E'
   15555       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15556       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15557       # default) and relocated if they conflict, which is a slow very memory
   15558       # consuming and fragmenting process.  To avoid this, we pick a random,
   15559       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15560       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15561       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15562       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'
   15563       ;;
   15564 
   15565     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15566       tmp_diet=no
   15567       if test linux-dietlibc = "$host_os"; then
   15568 	case $cc_basename in
   15569 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15570 	esac
   15571       fi
   15572       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15573 	 && test no = "$tmp_diet"
   15574       then
   15575 	tmp_addflag=' $pic_flag'
   15576 	tmp_sharedflag='-shared'
   15577 	case $cc_basename,$host_cpu in
   15578         pgcc*)				# Portland Group C compiler
   15579 	  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'
   15580 	  tmp_addflag=' $pic_flag'
   15581 	  ;;
   15582 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15583 					# Portland Group f77 and f90 compilers
   15584 	  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'
   15585 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15586 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15587 	  tmp_addflag=' -i_dynamic' ;;
   15588 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15589 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15590 	ifc* | ifort*)			# Intel Fortran compiler
   15591 	  tmp_addflag=' -nofor_main' ;;
   15592 	lf95*)				# Lahey Fortran 8.1
   15593 	  whole_archive_flag_spec=
   15594 	  tmp_sharedflag='--shared' ;;
   15595         nagfor*)                        # NAGFOR 5.3
   15596           tmp_sharedflag='-Wl,-shared' ;;
   15597 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15598 	  tmp_sharedflag='-qmkshrobj'
   15599 	  tmp_addflag= ;;
   15600 	nvcc*)	# Cuda Compiler Driver 2.2
   15601 	  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'
   15602 	  compiler_needs_object=yes
   15603 	  ;;
   15604 	esac
   15605 	case `$CC -V 2>&1 | sed 5q` in
   15606 	*Sun\ C*)			# Sun C 5.9
   15607 	  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'
   15608 	  compiler_needs_object=yes
   15609 	  tmp_sharedflag='-G' ;;
   15610 	*Sun\ F*)			# Sun Fortran 8.3
   15611 	  tmp_sharedflag='-G' ;;
   15612 	esac
   15613 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15614 
   15615         if test yes = "$supports_anon_versioning"; then
   15616           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15617             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15618             echo "local: *; };" >> $output_objdir/$libname.ver~
   15619             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15620         fi
   15621 
   15622 	case $cc_basename in
   15623 	tcc*)
   15624 	  export_dynamic_flag_spec='-rdynamic'
   15625 	  ;;
   15626 	xlf* | bgf* | bgxlf* | mpixlf*)
   15627 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15628 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15629 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15630 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15631 	  if test yes = "$supports_anon_versioning"; then
   15632 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15633               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15634               echo "local: *; };" >> $output_objdir/$libname.ver~
   15635               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15636 	  fi
   15637 	  ;;
   15638 	esac
   15639       else
   15640         ld_shlibs=no
   15641       fi
   15642       ;;
   15643 
   15644     netbsd* | netbsdelf*-gnu)
   15645       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15646 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15647 	wlarc=
   15648       else
   15649 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15650 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15651       fi
   15652       ;;
   15653 
   15654     solaris*)
   15655       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15656 	ld_shlibs=no
   15657 	cat <<_LT_EOF 1>&2
   15658 
   15659 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15660 *** create shared libraries on Solaris systems.  Therefore, libtool
   15661 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15662 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15663 *** your PATH or compiler configuration so that the native linker is
   15664 *** used, and then restart.
   15665 
   15666 _LT_EOF
   15667       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15668 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15669 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15670       else
   15671 	ld_shlibs=no
   15672       fi
   15673       ;;
   15674 
   15675     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15676       case `$LD -v 2>&1` in
   15677         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15678 	ld_shlibs=no
   15679 	cat <<_LT_EOF 1>&2
   15680 
   15681 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15682 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15683 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15684 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15685 *** your PATH or compiler configuration so that the native linker is
   15686 *** used, and then restart.
   15687 
   15688 _LT_EOF
   15689 	;;
   15690 	*)
   15691 	  # For security reasons, it is highly recommended that you always
   15692 	  # use absolute paths for naming shared libraries, and exclude the
   15693 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15694 	  # requires that you compile everything twice, which is a pain.
   15695 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15696 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15697 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15698 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15699 	  else
   15700 	    ld_shlibs=no
   15701 	  fi
   15702 	;;
   15703       esac
   15704       ;;
   15705 
   15706     sunos4*)
   15707       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15708       wlarc=
   15709       hardcode_direct=yes
   15710       hardcode_shlibpath_var=no
   15711       ;;
   15712 
   15713     *)
   15714       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15715 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15716 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15717       else
   15718 	ld_shlibs=no
   15719       fi
   15720       ;;
   15721     esac
   15722 
   15723     if test no = "$ld_shlibs"; then
   15724       runpath_var=
   15725       hardcode_libdir_flag_spec=
   15726       export_dynamic_flag_spec=
   15727       whole_archive_flag_spec=
   15728     fi
   15729   else
   15730     # PORTME fill in a description of your system's linker (not GNU ld)
   15731     case $host_os in
   15732     aix3*)
   15733       allow_undefined_flag=unsupported
   15734       always_export_symbols=yes
   15735       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'
   15736       # Note: this linker hardcodes the directories in LIBPATH if there
   15737       # are no directories specified by -L.
   15738       hardcode_minus_L=yes
   15739       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   15740 	# Neither direct hardcoding nor static linking is supported with a
   15741 	# broken collect2.
   15742 	hardcode_direct=unsupported
   15743       fi
   15744       ;;
   15745 
   15746     aix[4-9]*)
   15747       if test ia64 = "$host_cpu"; then
   15748 	# On IA64, the linker does run time linking by default, so we don't
   15749 	# have to do anything special.
   15750 	aix_use_runtimelinking=no
   15751 	exp_sym_flag='-Bexport'
   15752 	no_entry_flag=
   15753       else
   15754 	# If we're using GNU nm, then we don't want the "-C" option.
   15755 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   15756 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   15757 	# weak defined symbols like other global defined symbols, whereas
   15758 	# GNU nm marks them as "W".
   15759 	# While the 'weak' keyword is ignored in the Export File, we need
   15760 	# it in the Import File for the 'aix-soname' feature, so we have
   15761 	# to replace the "-B" option with "-P" for AIX nm.
   15762 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15763 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   15764 	else
   15765 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   15766 	fi
   15767 	aix_use_runtimelinking=no
   15768 
   15769 	# Test if we are trying to use run time linking or normal
   15770 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15771 	# have runtime linking enabled, and use it for executables.
   15772 	# For shared libraries, we enable/disable runtime linking
   15773 	# depending on the kind of the shared library created -
   15774 	# when "with_aix_soname,aix_use_runtimelinking" is:
   15775 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   15776 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   15777 	#            lib.a           static archive
   15778 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   15779 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   15780 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   15781 	#            lib.a(lib.so.V) shared, rtl:no
   15782 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   15783 	#            lib.a           static archive
   15784 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15785 	  for ld_flag in $LDFLAGS; do
   15786 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   15787 	    aix_use_runtimelinking=yes
   15788 	    break
   15789 	  fi
   15790 	  done
   15791 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   15792 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   15793 	    # so we don't have lib.a shared libs to link our executables.
   15794 	    # We have to force runtime linking in this case.
   15795 	    aix_use_runtimelinking=yes
   15796 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   15797 	  fi
   15798 	  ;;
   15799 	esac
   15800 
   15801 	exp_sym_flag='-bexport'
   15802 	no_entry_flag='-bnoentry'
   15803       fi
   15804 
   15805       # When large executables or shared objects are built, AIX ld can
   15806       # have problems creating the table of contents.  If linking a library
   15807       # or program results in "error TOC overflow" add -mminimal-toc to
   15808       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15809       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15810 
   15811       archive_cmds=''
   15812       hardcode_direct=yes
   15813       hardcode_direct_absolute=yes
   15814       hardcode_libdir_separator=':'
   15815       link_all_deplibs=yes
   15816       file_list_spec='$wl-f,'
   15817       case $with_aix_soname,$aix_use_runtimelinking in
   15818       aix,*) ;; # traditional, no import file
   15819       svr4,* | *,yes) # use import file
   15820 	# The Import File defines what to hardcode.
   15821 	hardcode_direct=no
   15822 	hardcode_direct_absolute=no
   15823 	;;
   15824       esac
   15825 
   15826       if test yes = "$GCC"; then
   15827 	case $host_os in aix4.[012]|aix4.[012].*)
   15828 	# We only want to do this on AIX 4.2 and lower, the check
   15829 	# below for broken collect2 doesn't work under 4.3+
   15830 	  collect2name=`$CC -print-prog-name=collect2`
   15831 	  if test -f "$collect2name" &&
   15832 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15833 	  then
   15834 	  # We have reworked collect2
   15835 	  :
   15836 	  else
   15837 	  # We have old collect2
   15838 	  hardcode_direct=unsupported
   15839 	  # It fails to find uninstalled libraries when the uninstalled
   15840 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15841 	  # to unsupported forces relinking
   15842 	  hardcode_minus_L=yes
   15843 	  hardcode_libdir_flag_spec='-L$libdir'
   15844 	  hardcode_libdir_separator=
   15845 	  fi
   15846 	  ;;
   15847 	esac
   15848 	shared_flag='-shared'
   15849 	if test yes = "$aix_use_runtimelinking"; then
   15850 	  shared_flag="$shared_flag "'$wl-G'
   15851 	fi
   15852 	# Need to ensure runtime linking is disabled for the traditional
   15853 	# shared library, or the linker may eventually find shared libraries
   15854 	# /with/ Import File - we do not want to mix them.
   15855 	shared_flag_aix='-shared'
   15856 	shared_flag_svr4='-shared $wl-G'
   15857       else
   15858 	# not using gcc
   15859 	if test ia64 = "$host_cpu"; then
   15860 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15861 	# chokes on -Wl,-G. The following line is correct:
   15862 	  shared_flag='-G'
   15863 	else
   15864 	  if test yes = "$aix_use_runtimelinking"; then
   15865 	    shared_flag='$wl-G'
   15866 	  else
   15867 	    shared_flag='$wl-bM:SRE'
   15868 	  fi
   15869 	  shared_flag_aix='$wl-bM:SRE'
   15870 	  shared_flag_svr4='$wl-G'
   15871 	fi
   15872       fi
   15873 
   15874       export_dynamic_flag_spec='$wl-bexpall'
   15875       # It seems that -bexpall does not export symbols beginning with
   15876       # underscore (_), so it is better to generate a list of symbols to export.
   15877       always_export_symbols=yes
   15878       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   15879 	# Warning - without using the other runtime loading flags (-brtl),
   15880 	# -berok will link without error, but may produce a broken library.
   15881 	allow_undefined_flag='-berok'
   15882         # Determine the default libpath from the value encoded in an
   15883         # empty executable.
   15884         if test set = "${lt_cv_aix_libpath+set}"; then
   15885   aix_libpath=$lt_cv_aix_libpath
   15886 else
   15887   if ${lt_cv_aix_libpath_+:} false; then :
   15888   $as_echo_n "(cached) " >&6
   15889 else
   15890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15891 /* end confdefs.h.  */
   15892 
   15893 int
   15894 main ()
   15895 {
   15896 
   15897   ;
   15898   return 0;
   15899 }
   15900 _ACEOF
   15901 if ac_fn_c_try_link "$LINENO"; then :
   15902 
   15903   lt_aix_libpath_sed='
   15904       /Import File Strings/,/^$/ {
   15905 	  /^0/ {
   15906 	      s/^0  *\([^ ]*\) *$/\1/
   15907 	      p
   15908 	  }
   15909       }'
   15910   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15911   # Check for a 64-bit object if we didn't find anything.
   15912   if test -z "$lt_cv_aix_libpath_"; then
   15913     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15914   fi
   15915 fi
   15916 rm -f core conftest.err conftest.$ac_objext \
   15917     conftest$ac_exeext conftest.$ac_ext
   15918   if test -z "$lt_cv_aix_libpath_"; then
   15919     lt_cv_aix_libpath_=/usr/lib:/lib
   15920   fi
   15921 
   15922 fi
   15923 
   15924   aix_libpath=$lt_cv_aix_libpath_
   15925 fi
   15926 
   15927         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15928         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   15929       else
   15930 	if test ia64 = "$host_cpu"; then
   15931 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   15932 	  allow_undefined_flag="-z nodefs"
   15933 	  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"
   15934 	else
   15935 	 # Determine the default libpath from the value encoded in an
   15936 	 # empty executable.
   15937 	 if test set = "${lt_cv_aix_libpath+set}"; then
   15938   aix_libpath=$lt_cv_aix_libpath
   15939 else
   15940   if ${lt_cv_aix_libpath_+:} false; then :
   15941   $as_echo_n "(cached) " >&6
   15942 else
   15943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15944 /* end confdefs.h.  */
   15945 
   15946 int
   15947 main ()
   15948 {
   15949 
   15950   ;
   15951   return 0;
   15952 }
   15953 _ACEOF
   15954 if ac_fn_c_try_link "$LINENO"; then :
   15955 
   15956   lt_aix_libpath_sed='
   15957       /Import File Strings/,/^$/ {
   15958 	  /^0/ {
   15959 	      s/^0  *\([^ ]*\) *$/\1/
   15960 	      p
   15961 	  }
   15962       }'
   15963   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15964   # Check for a 64-bit object if we didn't find anything.
   15965   if test -z "$lt_cv_aix_libpath_"; then
   15966     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15967   fi
   15968 fi
   15969 rm -f core conftest.err conftest.$ac_objext \
   15970     conftest$ac_exeext conftest.$ac_ext
   15971   if test -z "$lt_cv_aix_libpath_"; then
   15972     lt_cv_aix_libpath_=/usr/lib:/lib
   15973   fi
   15974 
   15975 fi
   15976 
   15977   aix_libpath=$lt_cv_aix_libpath_
   15978 fi
   15979 
   15980 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15981 	  # Warning - without using the other run time loading flags,
   15982 	  # -berok will link without error, but may produce a broken library.
   15983 	  no_undefined_flag=' $wl-bernotok'
   15984 	  allow_undefined_flag=' $wl-berok'
   15985 	  if test yes = "$with_gnu_ld"; then
   15986 	    # We only use this code for GNU lds that support --whole-archive.
   15987 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   15988 	  else
   15989 	    # Exported symbols can be pulled into shared objects from archives
   15990 	    whole_archive_flag_spec='$convenience'
   15991 	  fi
   15992 	  archive_cmds_need_lc=yes
   15993 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   15994 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   15995 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   15996 	  if test svr4 != "$with_aix_soname"; then
   15997 	    # This is similar to how AIX traditionally builds its shared libraries.
   15998 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   15999 	  fi
   16000 	  if test aix != "$with_aix_soname"; then
   16001 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   16002 	  else
   16003 	    # used by -dlpreopen to get the symbols
   16004 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16005 	  fi
   16006 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16007 	fi
   16008       fi
   16009       ;;
   16010 
   16011     amigaos*)
   16012       case $host_cpu in
   16013       powerpc)
   16014             # see comment about AmigaOS4 .so support
   16015             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16016             archive_expsym_cmds=''
   16017         ;;
   16018       m68k)
   16019             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)'
   16020             hardcode_libdir_flag_spec='-L$libdir'
   16021             hardcode_minus_L=yes
   16022         ;;
   16023       esac
   16024       ;;
   16025 
   16026     bsdi[45]*)
   16027       export_dynamic_flag_spec=-rdynamic
   16028       ;;
   16029 
   16030     cygwin* | mingw* | pw32* | cegcc*)
   16031       # When not using gcc, we currently assume that we are using
   16032       # Microsoft Visual C++.
   16033       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16034       # no search path for DLLs.
   16035       case $cc_basename in
   16036       cl*)
   16037 	# Native MSVC
   16038 	hardcode_libdir_flag_spec=' '
   16039 	allow_undefined_flag=unsupported
   16040 	always_export_symbols=yes
   16041 	file_list_spec='@'
   16042 	# Tell ltmain to make .lib files, not .a files.
   16043 	libext=lib
   16044 	# Tell ltmain to make .dll files, not .so files.
   16045 	shrext_cmds=.dll
   16046 	# FIXME: Setting linknames here is a bad hack.
   16047 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16048 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16049             cp "$export_symbols" "$output_objdir/$soname.def";
   16050             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16051           else
   16052             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16053           fi~
   16054           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16055           linknames='
   16056 	# The linker will not automatically build a static lib if we build a DLL.
   16057 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16058 	enable_shared_with_static_runtimes=yes
   16059 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16060 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16061 	# Don't use ranlib
   16062 	old_postinstall_cmds='chmod 644 $oldlib'
   16063 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16064           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16065           case $lt_outputfile in
   16066             *.exe|*.EXE) ;;
   16067             *)
   16068               lt_outputfile=$lt_outputfile.exe
   16069               lt_tool_outputfile=$lt_tool_outputfile.exe
   16070               ;;
   16071           esac~
   16072           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16073             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16074             $RM "$lt_outputfile.manifest";
   16075           fi'
   16076 	;;
   16077       *)
   16078 	# Assume MSVC wrapper
   16079 	hardcode_libdir_flag_spec=' '
   16080 	allow_undefined_flag=unsupported
   16081 	# Tell ltmain to make .lib files, not .a files.
   16082 	libext=lib
   16083 	# Tell ltmain to make .dll files, not .so files.
   16084 	shrext_cmds=.dll
   16085 	# FIXME: Setting linknames here is a bad hack.
   16086 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16087 	# The linker will automatically build a .lib file if we build a DLL.
   16088 	old_archive_from_new_cmds='true'
   16089 	# FIXME: Should let the user specify the lib program.
   16090 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16091 	enable_shared_with_static_runtimes=yes
   16092 	;;
   16093       esac
   16094       ;;
   16095 
   16096     darwin* | rhapsody*)
   16097 
   16098 
   16099   archive_cmds_need_lc=no
   16100   hardcode_direct=no
   16101   hardcode_automatic=yes
   16102   hardcode_shlibpath_var=unsupported
   16103   if test yes = "$lt_cv_ld_force_load"; then
   16104     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\"`'
   16105 
   16106   else
   16107     whole_archive_flag_spec=''
   16108   fi
   16109   link_all_deplibs=yes
   16110   allow_undefined_flag=$_lt_dar_allow_undefined
   16111   case $cc_basename in
   16112      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16113      *) _lt_dar_can_shared=$GCC ;;
   16114   esac
   16115   if test yes = "$_lt_dar_can_shared"; then
   16116     output_verbose_link_cmd=func_echo_all
   16117     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16118     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16119     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"
   16120     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"
   16121 
   16122   else
   16123   ld_shlibs=no
   16124   fi
   16125 
   16126       ;;
   16127 
   16128     dgux*)
   16129       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16130       hardcode_libdir_flag_spec='-L$libdir'
   16131       hardcode_shlibpath_var=no
   16132       ;;
   16133 
   16134     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16135     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16136     # does not break anything, and helps significantly (at the cost of a little
   16137     # extra space).
   16138     freebsd2.2*)
   16139       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16140       hardcode_libdir_flag_spec='-R$libdir'
   16141       hardcode_direct=yes
   16142       hardcode_shlibpath_var=no
   16143       ;;
   16144 
   16145     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16146     freebsd2.*)
   16147       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16148       hardcode_direct=yes
   16149       hardcode_minus_L=yes
   16150       hardcode_shlibpath_var=no
   16151       ;;
   16152 
   16153     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16154     freebsd* | dragonfly*)
   16155       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16156       hardcode_libdir_flag_spec='-R$libdir'
   16157       hardcode_direct=yes
   16158       hardcode_shlibpath_var=no
   16159       ;;
   16160 
   16161     hpux9*)
   16162       if test yes = "$GCC"; then
   16163 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   16164       else
   16165 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   16166       fi
   16167       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16168       hardcode_libdir_separator=:
   16169       hardcode_direct=yes
   16170 
   16171       # hardcode_minus_L: Not really in the search PATH,
   16172       # but as the default location of the library.
   16173       hardcode_minus_L=yes
   16174       export_dynamic_flag_spec='$wl-E'
   16175       ;;
   16176 
   16177     hpux10*)
   16178       if test yes,no = "$GCC,$with_gnu_ld"; then
   16179 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16180       else
   16181 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16182       fi
   16183       if test no = "$with_gnu_ld"; then
   16184 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16185 	hardcode_libdir_separator=:
   16186 	hardcode_direct=yes
   16187 	hardcode_direct_absolute=yes
   16188 	export_dynamic_flag_spec='$wl-E'
   16189 	# hardcode_minus_L: Not really in the search PATH,
   16190 	# but as the default location of the library.
   16191 	hardcode_minus_L=yes
   16192       fi
   16193       ;;
   16194 
   16195     hpux11*)
   16196       if test yes,no = "$GCC,$with_gnu_ld"; then
   16197 	case $host_cpu in
   16198 	hppa*64*)
   16199 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16200 	  ;;
   16201 	ia64*)
   16202 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16203 	  ;;
   16204 	*)
   16205 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16206 	  ;;
   16207 	esac
   16208       else
   16209 	case $host_cpu in
   16210 	hppa*64*)
   16211 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16212 	  ;;
   16213 	ia64*)
   16214 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16215 	  ;;
   16216 	*)
   16217 
   16218 	  # Older versions of the 11.00 compiler do not understand -b yet
   16219 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16220 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16221 $as_echo_n "checking if $CC understands -b... " >&6; }
   16222 if ${lt_cv_prog_compiler__b+:} false; then :
   16223   $as_echo_n "(cached) " >&6
   16224 else
   16225   lt_cv_prog_compiler__b=no
   16226    save_LDFLAGS=$LDFLAGS
   16227    LDFLAGS="$LDFLAGS -b"
   16228    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16229    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16230      # The linker can only warn and ignore the option if not recognized
   16231      # So say no if there are warnings
   16232      if test -s conftest.err; then
   16233        # Append any errors to the config.log.
   16234        cat conftest.err 1>&5
   16235        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16236        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16237        if diff conftest.exp conftest.er2 >/dev/null; then
   16238          lt_cv_prog_compiler__b=yes
   16239        fi
   16240      else
   16241        lt_cv_prog_compiler__b=yes
   16242      fi
   16243    fi
   16244    $RM -r conftest*
   16245    LDFLAGS=$save_LDFLAGS
   16246 
   16247 fi
   16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16249 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16250 
   16251 if test yes = "$lt_cv_prog_compiler__b"; then
   16252     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16253 else
   16254     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16255 fi
   16256 
   16257 	  ;;
   16258 	esac
   16259       fi
   16260       if test no = "$with_gnu_ld"; then
   16261 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16262 	hardcode_libdir_separator=:
   16263 
   16264 	case $host_cpu in
   16265 	hppa*64*|ia64*)
   16266 	  hardcode_direct=no
   16267 	  hardcode_shlibpath_var=no
   16268 	  ;;
   16269 	*)
   16270 	  hardcode_direct=yes
   16271 	  hardcode_direct_absolute=yes
   16272 	  export_dynamic_flag_spec='$wl-E'
   16273 
   16274 	  # hardcode_minus_L: Not really in the search PATH,
   16275 	  # but as the default location of the library.
   16276 	  hardcode_minus_L=yes
   16277 	  ;;
   16278 	esac
   16279       fi
   16280       ;;
   16281 
   16282     irix5* | irix6* | nonstopux*)
   16283       if test yes = "$GCC"; then
   16284 	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'
   16285 	# Try to use the -exported_symbol ld option, if it does not
   16286 	# work, assume that -exports_file does not work either and
   16287 	# implicitly export all symbols.
   16288 	# This should be the same for all languages, so no per-tag cache variable.
   16289 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16290 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16291 if ${lt_cv_irix_exported_symbol+:} false; then :
   16292   $as_echo_n "(cached) " >&6
   16293 else
   16294   save_LDFLAGS=$LDFLAGS
   16295 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16296 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16297 /* end confdefs.h.  */
   16298 int foo (void) { return 0; }
   16299 _ACEOF
   16300 if ac_fn_c_try_link "$LINENO"; then :
   16301   lt_cv_irix_exported_symbol=yes
   16302 else
   16303   lt_cv_irix_exported_symbol=no
   16304 fi
   16305 rm -f core conftest.err conftest.$ac_objext \
   16306     conftest$ac_exeext conftest.$ac_ext
   16307            LDFLAGS=$save_LDFLAGS
   16308 fi
   16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16310 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16311 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16312           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'
   16313 	fi
   16314 	link_all_deplibs=no
   16315       else
   16316 	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'
   16317 	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'
   16318       fi
   16319       archive_cmds_need_lc='no'
   16320       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16321       hardcode_libdir_separator=:
   16322       inherit_rpath=yes
   16323       link_all_deplibs=yes
   16324       ;;
   16325 
   16326     linux*)
   16327       case $cc_basename in
   16328       tcc*)
   16329 	# Fabrice Bellard et al's Tiny C Compiler
   16330 	ld_shlibs=yes
   16331 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16332 	;;
   16333       esac
   16334       ;;
   16335 
   16336     netbsd* | netbsdelf*-gnu)
   16337       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16338 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16339       else
   16340 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16341       fi
   16342       hardcode_libdir_flag_spec='-R$libdir'
   16343       hardcode_direct=yes
   16344       hardcode_shlibpath_var=no
   16345       ;;
   16346 
   16347     newsos6)
   16348       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16349       hardcode_direct=yes
   16350       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16351       hardcode_libdir_separator=:
   16352       hardcode_shlibpath_var=no
   16353       ;;
   16354 
   16355     *nto* | *qnx*)
   16356       ;;
   16357 
   16358     openbsd* | bitrig*)
   16359       if test -f /usr/libexec/ld.so; then
   16360 	hardcode_direct=yes
   16361 	hardcode_shlibpath_var=no
   16362 	hardcode_direct_absolute=yes
   16363 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16364 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16365 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16366 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16367 	  export_dynamic_flag_spec='$wl-E'
   16368 	else
   16369 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16370 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16371 	fi
   16372       else
   16373 	ld_shlibs=no
   16374       fi
   16375       ;;
   16376 
   16377     os2*)
   16378       hardcode_libdir_flag_spec='-L$libdir'
   16379       hardcode_minus_L=yes
   16380       allow_undefined_flag=unsupported
   16381       shrext_cmds=.dll
   16382       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16383 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16384 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16385 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16386 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16387 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16388 	emximp -o $lib $output_objdir/$libname.def'
   16389       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16390 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16391 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16392 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16393 	prefix_cmds="$SED"~
   16394 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16395 	  prefix_cmds="$prefix_cmds -e 1d";
   16396 	fi~
   16397 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16398 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16399 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16400 	emximp -o $lib $output_objdir/$libname.def'
   16401       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16402       enable_shared_with_static_runtimes=yes
   16403       ;;
   16404 
   16405     osf3*)
   16406       if test yes = "$GCC"; then
   16407 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16408 	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'
   16409       else
   16410 	allow_undefined_flag=' -expect_unresolved \*'
   16411 	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'
   16412       fi
   16413       archive_cmds_need_lc='no'
   16414       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16415       hardcode_libdir_separator=:
   16416       ;;
   16417 
   16418     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16419       if test yes = "$GCC"; then
   16420 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16421 	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'
   16422 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16423       else
   16424 	allow_undefined_flag=' -expect_unresolved \*'
   16425 	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'
   16426 	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~
   16427           $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'
   16428 
   16429 	# Both c and cxx compiler support -rpath directly
   16430 	hardcode_libdir_flag_spec='-rpath $libdir'
   16431       fi
   16432       archive_cmds_need_lc='no'
   16433       hardcode_libdir_separator=:
   16434       ;;
   16435 
   16436     solaris*)
   16437       no_undefined_flag=' -z defs'
   16438       if test yes = "$GCC"; then
   16439 	wlarc='$wl'
   16440 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16441 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16442           $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'
   16443       else
   16444 	case `$CC -V 2>&1` in
   16445 	*"Compilers 5.0"*)
   16446 	  wlarc=''
   16447 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16448 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16449             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16450 	  ;;
   16451 	*)
   16452 	  wlarc='$wl'
   16453 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16454 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16455             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16456 	  ;;
   16457 	esac
   16458       fi
   16459       hardcode_libdir_flag_spec='-R$libdir'
   16460       hardcode_shlibpath_var=no
   16461       case $host_os in
   16462       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16463       *)
   16464 	# The compiler driver will combine and reorder linker options,
   16465 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16466 	# but is careful enough not to reorder.
   16467 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16468 	if test yes = "$GCC"; then
   16469 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16470 	else
   16471 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16472 	fi
   16473 	;;
   16474       esac
   16475       link_all_deplibs=yes
   16476       ;;
   16477 
   16478     sunos4*)
   16479       if test sequent = "$host_vendor"; then
   16480 	# Use $CC to link under sequent, because it throws in some extra .o
   16481 	# files that make .init and .fini sections work.
   16482 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16483       else
   16484 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16485       fi
   16486       hardcode_libdir_flag_spec='-L$libdir'
   16487       hardcode_direct=yes
   16488       hardcode_minus_L=yes
   16489       hardcode_shlibpath_var=no
   16490       ;;
   16491 
   16492     sysv4)
   16493       case $host_vendor in
   16494 	sni)
   16495 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16496 	  hardcode_direct=yes # is this really true???
   16497 	;;
   16498 	siemens)
   16499 	  ## LD is ld it makes a PLAMLIB
   16500 	  ## CC just makes a GrossModule.
   16501 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16502 	  reload_cmds='$CC -r -o $output$reload_objs'
   16503 	  hardcode_direct=no
   16504         ;;
   16505 	motorola)
   16506 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16507 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16508 	;;
   16509       esac
   16510       runpath_var='LD_RUN_PATH'
   16511       hardcode_shlibpath_var=no
   16512       ;;
   16513 
   16514     sysv4.3*)
   16515       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16516       hardcode_shlibpath_var=no
   16517       export_dynamic_flag_spec='-Bexport'
   16518       ;;
   16519 
   16520     sysv4*MP*)
   16521       if test -d /usr/nec; then
   16522 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16523 	hardcode_shlibpath_var=no
   16524 	runpath_var=LD_RUN_PATH
   16525 	hardcode_runpath_var=yes
   16526 	ld_shlibs=yes
   16527       fi
   16528       ;;
   16529 
   16530     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16531       no_undefined_flag='$wl-z,text'
   16532       archive_cmds_need_lc=no
   16533       hardcode_shlibpath_var=no
   16534       runpath_var='LD_RUN_PATH'
   16535 
   16536       if test yes = "$GCC"; then
   16537 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16538 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16539       else
   16540 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16541 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16542       fi
   16543       ;;
   16544 
   16545     sysv5* | sco3.2v5* | sco5v6*)
   16546       # Note: We CANNOT use -z defs as we might desire, because we do not
   16547       # link with -lc, and that would cause any symbols used from libc to
   16548       # always be unresolved, which means just about no library would
   16549       # ever link correctly.  If we're not using GNU ld we use -z text
   16550       # though, which does catch some bad symbols but isn't as heavy-handed
   16551       # as -z defs.
   16552       no_undefined_flag='$wl-z,text'
   16553       allow_undefined_flag='$wl-z,nodefs'
   16554       archive_cmds_need_lc=no
   16555       hardcode_shlibpath_var=no
   16556       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16557       hardcode_libdir_separator=':'
   16558       link_all_deplibs=yes
   16559       export_dynamic_flag_spec='$wl-Bexport'
   16560       runpath_var='LD_RUN_PATH'
   16561 
   16562       if test yes = "$GCC"; then
   16563 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16564 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16565       else
   16566 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16567 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16568       fi
   16569       ;;
   16570 
   16571     uts4*)
   16572       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16573       hardcode_libdir_flag_spec='-L$libdir'
   16574       hardcode_shlibpath_var=no
   16575       ;;
   16576 
   16577     *)
   16578       ld_shlibs=no
   16579       ;;
   16580     esac
   16581 
   16582     if test sni = "$host_vendor"; then
   16583       case $host in
   16584       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16585 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16586 	;;
   16587       esac
   16588     fi
   16589   fi
   16590 
   16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16592 $as_echo "$ld_shlibs" >&6; }
   16593 test no = "$ld_shlibs" && can_build_shared=no
   16594 
   16595 with_gnu_ld=$with_gnu_ld
   16596 
   16597 
   16598 
   16599 
   16600 
   16601 
   16602 
   16603 
   16604 
   16605 
   16606 
   16607 
   16608 
   16609 
   16610 
   16611 #
   16612 # Do we need to explicitly link libc?
   16613 #
   16614 case "x$archive_cmds_need_lc" in
   16615 x|xyes)
   16616   # Assume -lc should be added
   16617   archive_cmds_need_lc=yes
   16618 
   16619   if test yes,yes = "$GCC,$enable_shared"; then
   16620     case $archive_cmds in
   16621     *'~'*)
   16622       # FIXME: we may have to deal with multi-command sequences.
   16623       ;;
   16624     '$CC '*)
   16625       # Test whether the compiler implicitly links with -lc since on some
   16626       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16627       # to ld, don't add -lc before -lgcc.
   16628       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16629 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16630 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16631   $as_echo_n "(cached) " >&6
   16632 else
   16633   $RM conftest*
   16634 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16635 
   16636 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16637   (eval $ac_compile) 2>&5
   16638   ac_status=$?
   16639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16640   test $ac_status = 0; } 2>conftest.err; then
   16641 	  soname=conftest
   16642 	  lib=conftest
   16643 	  libobjs=conftest.$ac_objext
   16644 	  deplibs=
   16645 	  wl=$lt_prog_compiler_wl
   16646 	  pic_flag=$lt_prog_compiler_pic
   16647 	  compiler_flags=-v
   16648 	  linker_flags=-v
   16649 	  verstring=
   16650 	  output_objdir=.
   16651 	  libname=conftest
   16652 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16653 	  allow_undefined_flag=
   16654 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16655   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16656   ac_status=$?
   16657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16658   test $ac_status = 0; }
   16659 	  then
   16660 	    lt_cv_archive_cmds_need_lc=no
   16661 	  else
   16662 	    lt_cv_archive_cmds_need_lc=yes
   16663 	  fi
   16664 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16665 	else
   16666 	  cat conftest.err 1>&5
   16667 	fi
   16668 	$RM conftest*
   16669 
   16670 fi
   16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16672 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16673       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16674       ;;
   16675     esac
   16676   fi
   16677   ;;
   16678 esac
   16679 
   16680 
   16681 
   16682 
   16683 
   16684 
   16685 
   16686 
   16687 
   16688 
   16689 
   16690 
   16691 
   16692 
   16693 
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 
   16767 
   16768 
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 
   16791 
   16792 
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825 
   16826 
   16827 
   16828 
   16829 
   16830 
   16831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16832 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16833 
   16834 if test yes = "$GCC"; then
   16835   case $host_os in
   16836     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   16837     *) lt_awk_arg='/^libraries:/' ;;
   16838   esac
   16839   case $host_os in
   16840     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   16841     *) lt_sed_strip_eq='s|=/|/|g' ;;
   16842   esac
   16843   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16844   case $lt_search_path_spec in
   16845   *\;*)
   16846     # if the path contains ";" then we assume it to be the separator
   16847     # otherwise default to the standard path separator (i.e. ":") - it is
   16848     # assumed that no part of a normal pathname contains ";" but that should
   16849     # okay in the real world where ";" in dirpaths is itself problematic.
   16850     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16851     ;;
   16852   *)
   16853     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16854     ;;
   16855   esac
   16856   # Ok, now we have the path, separated by spaces, we can step through it
   16857   # and add multilib dir if necessary...
   16858   lt_tmp_lt_search_path_spec=
   16859   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16860   # ...but if some path component already ends with the multilib dir we assume
   16861   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   16862   case "$lt_multi_os_dir; $lt_search_path_spec " in
   16863   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   16864     lt_multi_os_dir=
   16865     ;;
   16866   esac
   16867   for lt_sys_path in $lt_search_path_spec; do
   16868     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   16869       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   16870     elif test -n "$lt_multi_os_dir"; then
   16871       test -d "$lt_sys_path" && \
   16872 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16873     fi
   16874   done
   16875   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16876 BEGIN {RS = " "; FS = "/|\n";} {
   16877   lt_foo = "";
   16878   lt_count = 0;
   16879   for (lt_i = NF; lt_i > 0; lt_i--) {
   16880     if ($lt_i != "" && $lt_i != ".") {
   16881       if ($lt_i == "..") {
   16882         lt_count++;
   16883       } else {
   16884         if (lt_count == 0) {
   16885           lt_foo = "/" $lt_i lt_foo;
   16886         } else {
   16887           lt_count--;
   16888         }
   16889       }
   16890     }
   16891   }
   16892   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16893   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16894 }'`
   16895   # AWK program above erroneously prepends '/' to C:/dos/paths
   16896   # for these hosts.
   16897   case $host_os in
   16898     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16899       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   16900   esac
   16901   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16902 else
   16903   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16904 fi
   16905 library_names_spec=
   16906 libname_spec='lib$name'
   16907 soname_spec=
   16908 shrext_cmds=.so
   16909 postinstall_cmds=
   16910 postuninstall_cmds=
   16911 finish_cmds=
   16912 finish_eval=
   16913 shlibpath_var=
   16914 shlibpath_overrides_runpath=unknown
   16915 version_type=none
   16916 dynamic_linker="$host_os ld.so"
   16917 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16918 need_lib_prefix=unknown
   16919 hardcode_into_libs=no
   16920 
   16921 # when you set need_version to no, make sure it does not cause -set_version
   16922 # flags to be left without arguments
   16923 need_version=unknown
   16924 
   16925 
   16926 
   16927 case $host_os in
   16928 aix3*)
   16929   version_type=linux # correct to gnu/linux during the next big refactor
   16930   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   16931   shlibpath_var=LIBPATH
   16932 
   16933   # AIX 3 has no versioning support, so we append a major version to the name.
   16934   soname_spec='$libname$release$shared_ext$major'
   16935   ;;
   16936 
   16937 aix[4-9]*)
   16938   version_type=linux # correct to gnu/linux during the next big refactor
   16939   need_lib_prefix=no
   16940   need_version=no
   16941   hardcode_into_libs=yes
   16942   if test ia64 = "$host_cpu"; then
   16943     # AIX 5 supports IA64
   16944     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   16945     shlibpath_var=LD_LIBRARY_PATH
   16946   else
   16947     # With GCC up to 2.95.x, collect2 would create an import file
   16948     # for dependence libraries.  The import file would start with
   16949     # the line '#! .'.  This would cause the generated library to
   16950     # depend on '.', always an invalid library.  This was fixed in
   16951     # development snapshots of GCC prior to 3.0.
   16952     case $host_os in
   16953       aix4 | aix4.[01] | aix4.[01].*)
   16954       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16955 	   echo ' yes '
   16956 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   16957 	:
   16958       else
   16959 	can_build_shared=no
   16960       fi
   16961       ;;
   16962     esac
   16963     # Using Import Files as archive members, it is possible to support
   16964     # filename-based versioning of shared library archives on AIX. While
   16965     # this would work for both with and without runtime linking, it will
   16966     # prevent static linking of such archives. So we do filename-based
   16967     # shared library versioning with .so extension only, which is used
   16968     # when both runtime linking and shared linking is enabled.
   16969     # Unfortunately, runtime linking may impact performance, so we do
   16970     # not want this to be the default eventually. Also, we use the
   16971     # versioned .so libs for executables only if there is the -brtl
   16972     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   16973     # To allow for filename-based versioning support, we need to create
   16974     # libNAME.so.V as an archive file, containing:
   16975     # *) an Import File, referring to the versioned filename of the
   16976     #    archive as well as the shared archive member, telling the
   16977     #    bitwidth (32 or 64) of that shared object, and providing the
   16978     #    list of exported symbols of that shared object, eventually
   16979     #    decorated with the 'weak' keyword
   16980     # *) the shared object with the F_LOADONLY flag set, to really avoid
   16981     #    it being seen by the linker.
   16982     # At run time we better use the real file rather than another symlink,
   16983     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   16984 
   16985     case $with_aix_soname,$aix_use_runtimelinking in
   16986     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   16987     # soname into executable. Probably we can add versioning support to
   16988     # collect2, so additional links can be useful in future.
   16989     aix,yes) # traditional libtool
   16990       dynamic_linker='AIX unversionable lib.so'
   16991       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16992       # instead of lib<name>.a to let people know that these are not
   16993       # typical AIX shared libraries.
   16994       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16995       ;;
   16996     aix,no) # traditional AIX only
   16997       dynamic_linker='AIX lib.a(lib.so.V)'
   16998       # We preserve .a as extension for shared libraries through AIX4.2
   16999       # and later when we are not doing run time linking.
   17000       library_names_spec='$libname$release.a $libname.a'
   17001       soname_spec='$libname$release$shared_ext$major'
   17002       ;;
   17003     svr4,*) # full svr4 only
   17004       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17005       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17006       # We do not specify a path in Import Files, so LIBPATH fires.
   17007       shlibpath_overrides_runpath=yes
   17008       ;;
   17009     *,yes) # both, prefer svr4
   17010       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17011       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17012       # unpreferred sharedlib libNAME.a needs extra handling
   17013       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   17014       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   17015       # We do not specify a path in Import Files, so LIBPATH fires.
   17016       shlibpath_overrides_runpath=yes
   17017       ;;
   17018     *,no) # both, prefer aix
   17019       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17020       library_names_spec='$libname$release.a $libname.a'
   17021       soname_spec='$libname$release$shared_ext$major'
   17022       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17023       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   17024       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   17025       ;;
   17026     esac
   17027     shlibpath_var=LIBPATH
   17028   fi
   17029   ;;
   17030 
   17031 amigaos*)
   17032   case $host_cpu in
   17033   powerpc)
   17034     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17035     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17036     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17037     ;;
   17038   m68k)
   17039     library_names_spec='$libname.ixlibrary $libname.a'
   17040     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17041     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
   17042     ;;
   17043   esac
   17044   ;;
   17045 
   17046 beos*)
   17047   library_names_spec='$libname$shared_ext'
   17048   dynamic_linker="$host_os ld.so"
   17049   shlibpath_var=LIBRARY_PATH
   17050   ;;
   17051 
   17052 bsdi[45]*)
   17053   version_type=linux # correct to gnu/linux during the next big refactor
   17054   need_version=no
   17055   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17056   soname_spec='$libname$release$shared_ext$major'
   17057   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17058   shlibpath_var=LD_LIBRARY_PATH
   17059   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17060   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17061   # the default ld.so.conf also contains /usr/contrib/lib and
   17062   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17063   # libtool to hard-code these into programs
   17064   ;;
   17065 
   17066 cygwin* | mingw* | pw32* | cegcc*)
   17067   version_type=windows
   17068   shrext_cmds=.dll
   17069   need_version=no
   17070   need_lib_prefix=no
   17071 
   17072   case $GCC,$cc_basename in
   17073   yes,*)
   17074     # gcc
   17075     library_names_spec='$libname.dll.a'
   17076     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17077     postinstall_cmds='base_file=`basename \$file`~
   17078       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17079       dldir=$destdir/`dirname \$dlpath`~
   17080       test -d \$dldir || mkdir -p \$dldir~
   17081       $install_prog $dir/$dlname \$dldir/$dlname~
   17082       chmod a+x \$dldir/$dlname~
   17083       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17084         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17085       fi'
   17086     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17087       dlpath=$dir/\$dldll~
   17088        $RM \$dlpath'
   17089     shlibpath_overrides_runpath=yes
   17090 
   17091     case $host_os in
   17092     cygwin*)
   17093       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17094       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17095 
   17096       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17097       ;;
   17098     mingw* | cegcc*)
   17099       # MinGW DLLs use traditional 'lib' prefix
   17100       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17101       ;;
   17102     pw32*)
   17103       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17104       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17105       ;;
   17106     esac
   17107     dynamic_linker='Win32 ld.exe'
   17108     ;;
   17109 
   17110   *,cl*)
   17111     # Native MSVC
   17112     libname_spec='$name'
   17113     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17114     library_names_spec='$libname.dll.lib'
   17115 
   17116     case $build_os in
   17117     mingw*)
   17118       sys_lib_search_path_spec=
   17119       lt_save_ifs=$IFS
   17120       IFS=';'
   17121       for lt_path in $LIB
   17122       do
   17123         IFS=$lt_save_ifs
   17124         # Let DOS variable expansion print the short 8.3 style file name.
   17125         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17126         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17127       done
   17128       IFS=$lt_save_ifs
   17129       # Convert to MSYS style.
   17130       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17131       ;;
   17132     cygwin*)
   17133       # Convert to unix form, then to dos form, then back to unix form
   17134       # but this time dos style (no spaces!) so that the unix form looks
   17135       # like /cygdrive/c/PROGRA~1:/cygdr...
   17136       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17137       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17138       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17139       ;;
   17140     *)
   17141       sys_lib_search_path_spec=$LIB
   17142       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17143         # It is most probably a Windows format PATH.
   17144         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17145       else
   17146         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17147       fi
   17148       # FIXME: find the short name or the path components, as spaces are
   17149       # common. (e.g. "Program Files" -> "PROGRA~1")
   17150       ;;
   17151     esac
   17152 
   17153     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17154     postinstall_cmds='base_file=`basename \$file`~
   17155       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17156       dldir=$destdir/`dirname \$dlpath`~
   17157       test -d \$dldir || mkdir -p \$dldir~
   17158       $install_prog $dir/$dlname \$dldir/$dlname'
   17159     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17160       dlpath=$dir/\$dldll~
   17161        $RM \$dlpath'
   17162     shlibpath_overrides_runpath=yes
   17163     dynamic_linker='Win32 link.exe'
   17164     ;;
   17165 
   17166   *)
   17167     # Assume MSVC wrapper
   17168     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17169     dynamic_linker='Win32 ld.exe'
   17170     ;;
   17171   esac
   17172   # FIXME: first we should search . and the directory the executable is in
   17173   shlibpath_var=PATH
   17174   ;;
   17175 
   17176 darwin* | rhapsody*)
   17177   dynamic_linker="$host_os dyld"
   17178   version_type=darwin
   17179   need_lib_prefix=no
   17180   need_version=no
   17181   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17182   soname_spec='$libname$release$major$shared_ext'
   17183   shlibpath_overrides_runpath=yes
   17184   shlibpath_var=DYLD_LIBRARY_PATH
   17185   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17186 
   17187   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17188   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17189   ;;
   17190 
   17191 dgux*)
   17192   version_type=linux # correct to gnu/linux during the next big refactor
   17193   need_lib_prefix=no
   17194   need_version=no
   17195   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17196   soname_spec='$libname$release$shared_ext$major'
   17197   shlibpath_var=LD_LIBRARY_PATH
   17198   ;;
   17199 
   17200 freebsd* | dragonfly*)
   17201   # DragonFly does not have aout.  When/if they implement a new
   17202   # versioning mechanism, adjust this.
   17203   if test -x /usr/bin/objformat; then
   17204     objformat=`/usr/bin/objformat`
   17205   else
   17206     case $host_os in
   17207     freebsd[23].*) objformat=aout ;;
   17208     *) objformat=elf ;;
   17209     esac
   17210   fi
   17211   version_type=freebsd-$objformat
   17212   case $version_type in
   17213     freebsd-elf*)
   17214       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17215       soname_spec='$libname$release$shared_ext$major'
   17216       need_version=no
   17217       need_lib_prefix=no
   17218       ;;
   17219     freebsd-*)
   17220       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17221       need_version=yes
   17222       ;;
   17223   esac
   17224   shlibpath_var=LD_LIBRARY_PATH
   17225   case $host_os in
   17226   freebsd2.*)
   17227     shlibpath_overrides_runpath=yes
   17228     ;;
   17229   freebsd3.[01]* | freebsdelf3.[01]*)
   17230     shlibpath_overrides_runpath=yes
   17231     hardcode_into_libs=yes
   17232     ;;
   17233   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17234   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17235     shlibpath_overrides_runpath=no
   17236     hardcode_into_libs=yes
   17237     ;;
   17238   *) # from 4.6 on, and DragonFly
   17239     shlibpath_overrides_runpath=yes
   17240     hardcode_into_libs=yes
   17241     ;;
   17242   esac
   17243   ;;
   17244 
   17245 haiku*)
   17246   version_type=linux # correct to gnu/linux during the next big refactor
   17247   need_lib_prefix=no
   17248   need_version=no
   17249   dynamic_linker="$host_os runtime_loader"
   17250   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17251   soname_spec='$libname$release$shared_ext$major'
   17252   shlibpath_var=LIBRARY_PATH
   17253   shlibpath_overrides_runpath=no
   17254   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17255   hardcode_into_libs=yes
   17256   ;;
   17257 
   17258 hpux9* | hpux10* | hpux11*)
   17259   # Give a soname corresponding to the major version so that dld.sl refuses to
   17260   # link against other versions.
   17261   version_type=sunos
   17262   need_lib_prefix=no
   17263   need_version=no
   17264   case $host_cpu in
   17265   ia64*)
   17266     shrext_cmds='.so'
   17267     hardcode_into_libs=yes
   17268     dynamic_linker="$host_os dld.so"
   17269     shlibpath_var=LD_LIBRARY_PATH
   17270     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17271     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17272     soname_spec='$libname$release$shared_ext$major'
   17273     if test 32 = "$HPUX_IA64_MODE"; then
   17274       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17275       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17276     else
   17277       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17278       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17279     fi
   17280     ;;
   17281   hppa*64*)
   17282     shrext_cmds='.sl'
   17283     hardcode_into_libs=yes
   17284     dynamic_linker="$host_os dld.sl"
   17285     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17286     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17287     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17288     soname_spec='$libname$release$shared_ext$major'
   17289     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17290     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17291     ;;
   17292   *)
   17293     shrext_cmds='.sl'
   17294     dynamic_linker="$host_os dld.sl"
   17295     shlibpath_var=SHLIB_PATH
   17296     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17297     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17298     soname_spec='$libname$release$shared_ext$major'
   17299     ;;
   17300   esac
   17301   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17302   postinstall_cmds='chmod 555 $lib'
   17303   # or fails outright, so override atomically:
   17304   install_override_mode=555
   17305   ;;
   17306 
   17307 interix[3-9]*)
   17308   version_type=linux # correct to gnu/linux during the next big refactor
   17309   need_lib_prefix=no
   17310   need_version=no
   17311   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17312   soname_spec='$libname$release$shared_ext$major'
   17313   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17314   shlibpath_var=LD_LIBRARY_PATH
   17315   shlibpath_overrides_runpath=no
   17316   hardcode_into_libs=yes
   17317   ;;
   17318 
   17319 irix5* | irix6* | nonstopux*)
   17320   case $host_os in
   17321     nonstopux*) version_type=nonstopux ;;
   17322     *)
   17323 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17324 		version_type=linux # correct to gnu/linux during the next big refactor
   17325 	else
   17326 		version_type=irix
   17327 	fi ;;
   17328   esac
   17329   need_lib_prefix=no
   17330   need_version=no
   17331   soname_spec='$libname$release$shared_ext$major'
   17332   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17333   case $host_os in
   17334   irix5* | nonstopux*)
   17335     libsuff= shlibsuff=
   17336     ;;
   17337   *)
   17338     case $LD in # libtool.m4 will add one of these switches to LD
   17339     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17340       libsuff= shlibsuff= libmagic=32-bit;;
   17341     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17342       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17343     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17344       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17345     *) libsuff= shlibsuff= libmagic=never-match;;
   17346     esac
   17347     ;;
   17348   esac
   17349   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17350   shlibpath_overrides_runpath=no
   17351   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17352   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17353   hardcode_into_libs=yes
   17354   ;;
   17355 
   17356 # No shared lib support for Linux oldld, aout, or coff.
   17357 linux*oldld* | linux*aout* | linux*coff*)
   17358   dynamic_linker=no
   17359   ;;
   17360 
   17361 linux*android*)
   17362   version_type=none # Android doesn't support versioned libraries.
   17363   need_lib_prefix=no
   17364   need_version=no
   17365   library_names_spec='$libname$release$shared_ext'
   17366   soname_spec='$libname$release$shared_ext'
   17367   finish_cmds=
   17368   shlibpath_var=LD_LIBRARY_PATH
   17369   shlibpath_overrides_runpath=yes
   17370 
   17371   # This implies no fast_install, which is unacceptable.
   17372   # Some rework will be needed to allow for fast_install
   17373   # before this can be enabled.
   17374   hardcode_into_libs=yes
   17375 
   17376   dynamic_linker='Android linker'
   17377   # Don't embed -rpath directories since the linker doesn't support them.
   17378   hardcode_libdir_flag_spec='-L$libdir'
   17379   ;;
   17380 
   17381 # This must be glibc/ELF.
   17382 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17383   version_type=linux # correct to gnu/linux during the next big refactor
   17384   need_lib_prefix=no
   17385   need_version=no
   17386   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17387   soname_spec='$libname$release$shared_ext$major'
   17388   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17389   shlibpath_var=LD_LIBRARY_PATH
   17390   shlibpath_overrides_runpath=no
   17391 
   17392   # Some binutils ld are patched to set DT_RUNPATH
   17393   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17394   $as_echo_n "(cached) " >&6
   17395 else
   17396   lt_cv_shlibpath_overrides_runpath=no
   17397     save_LDFLAGS=$LDFLAGS
   17398     save_libdir=$libdir
   17399     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17400 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17401     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17402 /* end confdefs.h.  */
   17403 
   17404 int
   17405 main ()
   17406 {
   17407 
   17408   ;
   17409   return 0;
   17410 }
   17411 _ACEOF
   17412 if ac_fn_c_try_link "$LINENO"; then :
   17413   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17414   lt_cv_shlibpath_overrides_runpath=yes
   17415 fi
   17416 fi
   17417 rm -f core conftest.err conftest.$ac_objext \
   17418     conftest$ac_exeext conftest.$ac_ext
   17419     LDFLAGS=$save_LDFLAGS
   17420     libdir=$save_libdir
   17421 
   17422 fi
   17423 
   17424   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17425 
   17426   # This implies no fast_install, which is unacceptable.
   17427   # Some rework will be needed to allow for fast_install
   17428   # before this can be enabled.
   17429   hardcode_into_libs=yes
   17430 
   17431   # Ideally, we could use ldconfig to report *all* directores which are
   17432   # searched for libraries, however this is still not possible.  Aside from not
   17433   # being certain /sbin/ldconfig is available, command
   17434   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17435   # even though it is searched at run-time.  Try to do the best guess by
   17436   # appending ld.so.conf contents (and includes) to the search path.
   17437   if test -f /etc/ld.so.conf; then
   17438     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' ' '`
   17439     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17440   fi
   17441 
   17442   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17443   # powerpc, because MkLinux only supported shared libraries with the
   17444   # GNU dynamic linker.  Since this was broken with cross compilers,
   17445   # most powerpc-linux boxes support dynamic linking these days and
   17446   # people can always --disable-shared, the test was removed, and we
   17447   # assume the GNU/Linux dynamic linker is in use.
   17448   dynamic_linker='GNU/Linux ld.so'
   17449   ;;
   17450 
   17451 netbsdelf*-gnu)
   17452   version_type=linux
   17453   need_lib_prefix=no
   17454   need_version=no
   17455   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17456   soname_spec='${libname}${release}${shared_ext}$major'
   17457   shlibpath_var=LD_LIBRARY_PATH
   17458   shlibpath_overrides_runpath=no
   17459   hardcode_into_libs=yes
   17460   dynamic_linker='NetBSD ld.elf_so'
   17461   ;;
   17462 
   17463 netbsd*)
   17464   version_type=sunos
   17465   need_lib_prefix=no
   17466   need_version=no
   17467   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17468     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17469     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17470     dynamic_linker='NetBSD (a.out) ld.so'
   17471   else
   17472     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17473     soname_spec='$libname$release$shared_ext$major'
   17474     dynamic_linker='NetBSD ld.elf_so'
   17475   fi
   17476   shlibpath_var=LD_LIBRARY_PATH
   17477   shlibpath_overrides_runpath=yes
   17478   hardcode_into_libs=yes
   17479   ;;
   17480 
   17481 newsos6)
   17482   version_type=linux # correct to gnu/linux during the next big refactor
   17483   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17484   shlibpath_var=LD_LIBRARY_PATH
   17485   shlibpath_overrides_runpath=yes
   17486   ;;
   17487 
   17488 *nto* | *qnx*)
   17489   version_type=qnx
   17490   need_lib_prefix=no
   17491   need_version=no
   17492   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17493   soname_spec='$libname$release$shared_ext$major'
   17494   shlibpath_var=LD_LIBRARY_PATH
   17495   shlibpath_overrides_runpath=no
   17496   hardcode_into_libs=yes
   17497   dynamic_linker='ldqnx.so'
   17498   ;;
   17499 
   17500 openbsd* | bitrig*)
   17501   version_type=sunos
   17502   sys_lib_dlsearch_path_spec=/usr/lib
   17503   need_lib_prefix=no
   17504   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17505     need_version=no
   17506   else
   17507     need_version=yes
   17508   fi
   17509   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17510   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17511   shlibpath_var=LD_LIBRARY_PATH
   17512   shlibpath_overrides_runpath=yes
   17513   ;;
   17514 
   17515 os2*)
   17516   libname_spec='$name'
   17517   version_type=windows
   17518   shrext_cmds=.dll
   17519   need_version=no
   17520   need_lib_prefix=no
   17521   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17522   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17523     v=$($ECHO $release$versuffix | tr -d .-);
   17524     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17525     $ECHO $n$v`$shared_ext'
   17526   library_names_spec='${libname}_dll.$libext'
   17527   dynamic_linker='OS/2 ld.exe'
   17528   shlibpath_var=BEGINLIBPATH
   17529   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17530   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17531   postinstall_cmds='base_file=`basename \$file`~
   17532     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17533     dldir=$destdir/`dirname \$dlpath`~
   17534     test -d \$dldir || mkdir -p \$dldir~
   17535     $install_prog $dir/$dlname \$dldir/$dlname~
   17536     chmod a+x \$dldir/$dlname~
   17537     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17538       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17539     fi'
   17540   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17541     dlpath=$dir/\$dldll~
   17542     $RM \$dlpath'
   17543   ;;
   17544 
   17545 osf3* | osf4* | osf5*)
   17546   version_type=osf
   17547   need_lib_prefix=no
   17548   need_version=no
   17549   soname_spec='$libname$release$shared_ext$major'
   17550   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17551   shlibpath_var=LD_LIBRARY_PATH
   17552   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17553   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17554   ;;
   17555 
   17556 rdos*)
   17557   dynamic_linker=no
   17558   ;;
   17559 
   17560 solaris*)
   17561   version_type=linux # correct to gnu/linux during the next big refactor
   17562   need_lib_prefix=no
   17563   need_version=no
   17564   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17565   soname_spec='$libname$release$shared_ext$major'
   17566   shlibpath_var=LD_LIBRARY_PATH
   17567   shlibpath_overrides_runpath=yes
   17568   hardcode_into_libs=yes
   17569   # ldd complains unless libraries are executable
   17570   postinstall_cmds='chmod +x $lib'
   17571   ;;
   17572 
   17573 sunos4*)
   17574   version_type=sunos
   17575   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17576   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17577   shlibpath_var=LD_LIBRARY_PATH
   17578   shlibpath_overrides_runpath=yes
   17579   if test yes = "$with_gnu_ld"; then
   17580     need_lib_prefix=no
   17581   fi
   17582   need_version=yes
   17583   ;;
   17584 
   17585 sysv4 | sysv4.3*)
   17586   version_type=linux # correct to gnu/linux during the next big refactor
   17587   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17588   soname_spec='$libname$release$shared_ext$major'
   17589   shlibpath_var=LD_LIBRARY_PATH
   17590   case $host_vendor in
   17591     sni)
   17592       shlibpath_overrides_runpath=no
   17593       need_lib_prefix=no
   17594       runpath_var=LD_RUN_PATH
   17595       ;;
   17596     siemens)
   17597       need_lib_prefix=no
   17598       ;;
   17599     motorola)
   17600       need_lib_prefix=no
   17601       need_version=no
   17602       shlibpath_overrides_runpath=no
   17603       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17604       ;;
   17605   esac
   17606   ;;
   17607 
   17608 sysv4*MP*)
   17609   if test -d /usr/nec; then
   17610     version_type=linux # correct to gnu/linux during the next big refactor
   17611     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17612     soname_spec='$libname$shared_ext.$major'
   17613     shlibpath_var=LD_LIBRARY_PATH
   17614   fi
   17615   ;;
   17616 
   17617 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17618   version_type=sco
   17619   need_lib_prefix=no
   17620   need_version=no
   17621   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17622   soname_spec='$libname$release$shared_ext$major'
   17623   shlibpath_var=LD_LIBRARY_PATH
   17624   shlibpath_overrides_runpath=yes
   17625   hardcode_into_libs=yes
   17626   if test yes = "$with_gnu_ld"; then
   17627     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17628   else
   17629     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17630     case $host_os in
   17631       sco3.2v5*)
   17632         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17633 	;;
   17634     esac
   17635   fi
   17636   sys_lib_dlsearch_path_spec='/usr/lib'
   17637   ;;
   17638 
   17639 tpf*)
   17640   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17641   version_type=linux # correct to gnu/linux during the next big refactor
   17642   need_lib_prefix=no
   17643   need_version=no
   17644   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17645   shlibpath_var=LD_LIBRARY_PATH
   17646   shlibpath_overrides_runpath=no
   17647   hardcode_into_libs=yes
   17648   ;;
   17649 
   17650 uts4*)
   17651   version_type=linux # correct to gnu/linux during the next big refactor
   17652   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17653   soname_spec='$libname$release$shared_ext$major'
   17654   shlibpath_var=LD_LIBRARY_PATH
   17655   ;;
   17656 
   17657 *)
   17658   dynamic_linker=no
   17659   ;;
   17660 esac
   17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17662 $as_echo "$dynamic_linker" >&6; }
   17663 test no = "$dynamic_linker" && can_build_shared=no
   17664 
   17665 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17666 if test yes = "$GCC"; then
   17667   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17668 fi
   17669 
   17670 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17671   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17672 fi
   17673 
   17674 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17675   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17676 fi
   17677 
   17678 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17679 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17680 
   17681 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17682 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17683 
   17684 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17685 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17686 
   17687 
   17688 
   17689 
   17690 
   17691 
   17692 
   17693 
   17694 
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 
   17781 
   17782 
   17783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17784 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17785 hardcode_action=
   17786 if test -n "$hardcode_libdir_flag_spec" ||
   17787    test -n "$runpath_var" ||
   17788    test yes = "$hardcode_automatic"; then
   17789 
   17790   # We can hardcode non-existent directories.
   17791   if test no != "$hardcode_direct" &&
   17792      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17793      # have to relink, otherwise we might link with an installed library
   17794      # when we should be linking with a yet-to-be-installed one
   17795      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17796      test no != "$hardcode_minus_L"; then
   17797     # Linking always hardcodes the temporary library directory.
   17798     hardcode_action=relink
   17799   else
   17800     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17801     hardcode_action=immediate
   17802   fi
   17803 else
   17804   # We cannot hardcode anything, or else we can only hardcode existing
   17805   # directories.
   17806   hardcode_action=unsupported
   17807 fi
   17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17809 $as_echo "$hardcode_action" >&6; }
   17810 
   17811 if test relink = "$hardcode_action" ||
   17812    test yes = "$inherit_rpath"; then
   17813   # Fast installation is not supported
   17814   enable_fast_install=no
   17815 elif test yes = "$shlibpath_overrides_runpath" ||
   17816      test no = "$enable_shared"; then
   17817   # Fast installation is not necessary
   17818   enable_fast_install=needless
   17819 fi
   17820 
   17821 
   17822 
   17823 
   17824 
   17825 
   17826   if test yes != "$enable_dlopen"; then
   17827   enable_dlopen=unknown
   17828   enable_dlopen_self=unknown
   17829   enable_dlopen_self_static=unknown
   17830 else
   17831   lt_cv_dlopen=no
   17832   lt_cv_dlopen_libs=
   17833 
   17834   case $host_os in
   17835   beos*)
   17836     lt_cv_dlopen=load_add_on
   17837     lt_cv_dlopen_libs=
   17838     lt_cv_dlopen_self=yes
   17839     ;;
   17840 
   17841   mingw* | pw32* | cegcc*)
   17842     lt_cv_dlopen=LoadLibrary
   17843     lt_cv_dlopen_libs=
   17844     ;;
   17845 
   17846   cygwin*)
   17847     lt_cv_dlopen=dlopen
   17848     lt_cv_dlopen_libs=
   17849     ;;
   17850 
   17851   darwin*)
   17852     # if libdl is installed we need to link against it
   17853     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17854 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17855 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17856   $as_echo_n "(cached) " >&6
   17857 else
   17858   ac_check_lib_save_LIBS=$LIBS
   17859 LIBS="-ldl  $LIBS"
   17860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17861 /* end confdefs.h.  */
   17862 
   17863 /* Override any GCC internal prototype to avoid an error.
   17864    Use char because int might match the return type of a GCC
   17865    builtin and then its argument prototype would still apply.  */
   17866 #ifdef __cplusplus
   17867 extern "C"
   17868 #endif
   17869 char dlopen ();
   17870 int
   17871 main ()
   17872 {
   17873 return dlopen ();
   17874   ;
   17875   return 0;
   17876 }
   17877 _ACEOF
   17878 if ac_fn_c_try_link "$LINENO"; then :
   17879   ac_cv_lib_dl_dlopen=yes
   17880 else
   17881   ac_cv_lib_dl_dlopen=no
   17882 fi
   17883 rm -f core conftest.err conftest.$ac_objext \
   17884     conftest$ac_exeext conftest.$ac_ext
   17885 LIBS=$ac_check_lib_save_LIBS
   17886 fi
   17887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17888 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17889 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17890   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17891 else
   17892 
   17893     lt_cv_dlopen=dyld
   17894     lt_cv_dlopen_libs=
   17895     lt_cv_dlopen_self=yes
   17896 
   17897 fi
   17898 
   17899     ;;
   17900 
   17901   tpf*)
   17902     # Don't try to run any link tests for TPF.  We know it's impossible
   17903     # because TPF is a cross-compiler, and we know how we open DSOs.
   17904     lt_cv_dlopen=dlopen
   17905     lt_cv_dlopen_libs=
   17906     lt_cv_dlopen_self=no
   17907     ;;
   17908 
   17909   *)
   17910     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17911 if test "x$ac_cv_func_shl_load" = xyes; then :
   17912   lt_cv_dlopen=shl_load
   17913 else
   17914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17915 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17916 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17917   $as_echo_n "(cached) " >&6
   17918 else
   17919   ac_check_lib_save_LIBS=$LIBS
   17920 LIBS="-ldld  $LIBS"
   17921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17922 /* end confdefs.h.  */
   17923 
   17924 /* Override any GCC internal prototype to avoid an error.
   17925    Use char because int might match the return type of a GCC
   17926    builtin and then its argument prototype would still apply.  */
   17927 #ifdef __cplusplus
   17928 extern "C"
   17929 #endif
   17930 char shl_load ();
   17931 int
   17932 main ()
   17933 {
   17934 return shl_load ();
   17935   ;
   17936   return 0;
   17937 }
   17938 _ACEOF
   17939 if ac_fn_c_try_link "$LINENO"; then :
   17940   ac_cv_lib_dld_shl_load=yes
   17941 else
   17942   ac_cv_lib_dld_shl_load=no
   17943 fi
   17944 rm -f core conftest.err conftest.$ac_objext \
   17945     conftest$ac_exeext conftest.$ac_ext
   17946 LIBS=$ac_check_lib_save_LIBS
   17947 fi
   17948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17949 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17950 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17951   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17952 else
   17953   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17954 if test "x$ac_cv_func_dlopen" = xyes; then :
   17955   lt_cv_dlopen=dlopen
   17956 else
   17957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17958 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17959 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17960   $as_echo_n "(cached) " >&6
   17961 else
   17962   ac_check_lib_save_LIBS=$LIBS
   17963 LIBS="-ldl  $LIBS"
   17964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17965 /* end confdefs.h.  */
   17966 
   17967 /* Override any GCC internal prototype to avoid an error.
   17968    Use char because int might match the return type of a GCC
   17969    builtin and then its argument prototype would still apply.  */
   17970 #ifdef __cplusplus
   17971 extern "C"
   17972 #endif
   17973 char dlopen ();
   17974 int
   17975 main ()
   17976 {
   17977 return dlopen ();
   17978   ;
   17979   return 0;
   17980 }
   17981 _ACEOF
   17982 if ac_fn_c_try_link "$LINENO"; then :
   17983   ac_cv_lib_dl_dlopen=yes
   17984 else
   17985   ac_cv_lib_dl_dlopen=no
   17986 fi
   17987 rm -f core conftest.err conftest.$ac_objext \
   17988     conftest$ac_exeext conftest.$ac_ext
   17989 LIBS=$ac_check_lib_save_LIBS
   17990 fi
   17991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17992 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17993 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17994   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17995 else
   17996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17997 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   17998 if ${ac_cv_lib_svld_dlopen+:} false; then :
   17999   $as_echo_n "(cached) " >&6
   18000 else
   18001   ac_check_lib_save_LIBS=$LIBS
   18002 LIBS="-lsvld  $LIBS"
   18003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18004 /* end confdefs.h.  */
   18005 
   18006 /* Override any GCC internal prototype to avoid an error.
   18007    Use char because int might match the return type of a GCC
   18008    builtin and then its argument prototype would still apply.  */
   18009 #ifdef __cplusplus
   18010 extern "C"
   18011 #endif
   18012 char dlopen ();
   18013 int
   18014 main ()
   18015 {
   18016 return dlopen ();
   18017   ;
   18018   return 0;
   18019 }
   18020 _ACEOF
   18021 if ac_fn_c_try_link "$LINENO"; then :
   18022   ac_cv_lib_svld_dlopen=yes
   18023 else
   18024   ac_cv_lib_svld_dlopen=no
   18025 fi
   18026 rm -f core conftest.err conftest.$ac_objext \
   18027     conftest$ac_exeext conftest.$ac_ext
   18028 LIBS=$ac_check_lib_save_LIBS
   18029 fi
   18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18031 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18032 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18033   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18034 else
   18035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18036 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18037 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18038   $as_echo_n "(cached) " >&6
   18039 else
   18040   ac_check_lib_save_LIBS=$LIBS
   18041 LIBS="-ldld  $LIBS"
   18042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18043 /* end confdefs.h.  */
   18044 
   18045 /* Override any GCC internal prototype to avoid an error.
   18046    Use char because int might match the return type of a GCC
   18047    builtin and then its argument prototype would still apply.  */
   18048 #ifdef __cplusplus
   18049 extern "C"
   18050 #endif
   18051 char dld_link ();
   18052 int
   18053 main ()
   18054 {
   18055 return dld_link ();
   18056   ;
   18057   return 0;
   18058 }
   18059 _ACEOF
   18060 if ac_fn_c_try_link "$LINENO"; then :
   18061   ac_cv_lib_dld_dld_link=yes
   18062 else
   18063   ac_cv_lib_dld_dld_link=no
   18064 fi
   18065 rm -f core conftest.err conftest.$ac_objext \
   18066     conftest$ac_exeext conftest.$ac_ext
   18067 LIBS=$ac_check_lib_save_LIBS
   18068 fi
   18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18070 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18071 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18072   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18073 fi
   18074 
   18075 
   18076 fi
   18077 
   18078 
   18079 fi
   18080 
   18081 
   18082 fi
   18083 
   18084 
   18085 fi
   18086 
   18087 
   18088 fi
   18089 
   18090     ;;
   18091   esac
   18092 
   18093   if test no = "$lt_cv_dlopen"; then
   18094     enable_dlopen=no
   18095   else
   18096     enable_dlopen=yes
   18097   fi
   18098 
   18099   case $lt_cv_dlopen in
   18100   dlopen)
   18101     save_CPPFLAGS=$CPPFLAGS
   18102     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18103 
   18104     save_LDFLAGS=$LDFLAGS
   18105     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18106 
   18107     save_LIBS=$LIBS
   18108     LIBS="$lt_cv_dlopen_libs $LIBS"
   18109 
   18110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18111 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18112 if ${lt_cv_dlopen_self+:} false; then :
   18113   $as_echo_n "(cached) " >&6
   18114 else
   18115   	  if test yes = "$cross_compiling"; then :
   18116   lt_cv_dlopen_self=cross
   18117 else
   18118   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18119   lt_status=$lt_dlunknown
   18120   cat > conftest.$ac_ext <<_LT_EOF
   18121 #line $LINENO "configure"
   18122 #include "confdefs.h"
   18123 
   18124 #if HAVE_DLFCN_H
   18125 #include <dlfcn.h>
   18126 #endif
   18127 
   18128 #include <stdio.h>
   18129 
   18130 #ifdef RTLD_GLOBAL
   18131 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18132 #else
   18133 #  ifdef DL_GLOBAL
   18134 #    define LT_DLGLOBAL		DL_GLOBAL
   18135 #  else
   18136 #    define LT_DLGLOBAL		0
   18137 #  endif
   18138 #endif
   18139 
   18140 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18141    find out it does not work in some platform. */
   18142 #ifndef LT_DLLAZY_OR_NOW
   18143 #  ifdef RTLD_LAZY
   18144 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18145 #  else
   18146 #    ifdef DL_LAZY
   18147 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18148 #    else
   18149 #      ifdef RTLD_NOW
   18150 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18151 #      else
   18152 #        ifdef DL_NOW
   18153 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18154 #        else
   18155 #          define LT_DLLAZY_OR_NOW	0
   18156 #        endif
   18157 #      endif
   18158 #    endif
   18159 #  endif
   18160 #endif
   18161 
   18162 /* When -fvisibility=hidden is used, assume the code has been annotated
   18163    correspondingly for the symbols needed.  */
   18164 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18165 int fnord () __attribute__((visibility("default")));
   18166 #endif
   18167 
   18168 int fnord () { return 42; }
   18169 int main ()
   18170 {
   18171   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18172   int status = $lt_dlunknown;
   18173 
   18174   if (self)
   18175     {
   18176       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18177       else
   18178         {
   18179 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18180           else puts (dlerror ());
   18181 	}
   18182       /* dlclose (self); */
   18183     }
   18184   else
   18185     puts (dlerror ());
   18186 
   18187   return status;
   18188 }
   18189 _LT_EOF
   18190   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18191   (eval $ac_link) 2>&5
   18192   ac_status=$?
   18193   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18194   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18195     (./conftest; exit; ) >&5 2>/dev/null
   18196     lt_status=$?
   18197     case x$lt_status in
   18198       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18199       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18200       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18201     esac
   18202   else :
   18203     # compilation failed
   18204     lt_cv_dlopen_self=no
   18205   fi
   18206 fi
   18207 rm -fr conftest*
   18208 
   18209 
   18210 fi
   18211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18212 $as_echo "$lt_cv_dlopen_self" >&6; }
   18213 
   18214     if test yes = "$lt_cv_dlopen_self"; then
   18215       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18216       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18217 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18218 if ${lt_cv_dlopen_self_static+:} false; then :
   18219   $as_echo_n "(cached) " >&6
   18220 else
   18221   	  if test yes = "$cross_compiling"; then :
   18222   lt_cv_dlopen_self_static=cross
   18223 else
   18224   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18225   lt_status=$lt_dlunknown
   18226   cat > conftest.$ac_ext <<_LT_EOF
   18227 #line $LINENO "configure"
   18228 #include "confdefs.h"
   18229 
   18230 #if HAVE_DLFCN_H
   18231 #include <dlfcn.h>
   18232 #endif
   18233 
   18234 #include <stdio.h>
   18235 
   18236 #ifdef RTLD_GLOBAL
   18237 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18238 #else
   18239 #  ifdef DL_GLOBAL
   18240 #    define LT_DLGLOBAL		DL_GLOBAL
   18241 #  else
   18242 #    define LT_DLGLOBAL		0
   18243 #  endif
   18244 #endif
   18245 
   18246 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18247    find out it does not work in some platform. */
   18248 #ifndef LT_DLLAZY_OR_NOW
   18249 #  ifdef RTLD_LAZY
   18250 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18251 #  else
   18252 #    ifdef DL_LAZY
   18253 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18254 #    else
   18255 #      ifdef RTLD_NOW
   18256 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18257 #      else
   18258 #        ifdef DL_NOW
   18259 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18260 #        else
   18261 #          define LT_DLLAZY_OR_NOW	0
   18262 #        endif
   18263 #      endif
   18264 #    endif
   18265 #  endif
   18266 #endif
   18267 
   18268 /* When -fvisibility=hidden is used, assume the code has been annotated
   18269    correspondingly for the symbols needed.  */
   18270 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18271 int fnord () __attribute__((visibility("default")));
   18272 #endif
   18273 
   18274 int fnord () { return 42; }
   18275 int main ()
   18276 {
   18277   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18278   int status = $lt_dlunknown;
   18279 
   18280   if (self)
   18281     {
   18282       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18283       else
   18284         {
   18285 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18286           else puts (dlerror ());
   18287 	}
   18288       /* dlclose (self); */
   18289     }
   18290   else
   18291     puts (dlerror ());
   18292 
   18293   return status;
   18294 }
   18295 _LT_EOF
   18296   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18297   (eval $ac_link) 2>&5
   18298   ac_status=$?
   18299   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18300   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18301     (./conftest; exit; ) >&5 2>/dev/null
   18302     lt_status=$?
   18303     case x$lt_status in
   18304       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18305       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18306       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18307     esac
   18308   else :
   18309     # compilation failed
   18310     lt_cv_dlopen_self_static=no
   18311   fi
   18312 fi
   18313 rm -fr conftest*
   18314 
   18315 
   18316 fi
   18317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18318 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18319     fi
   18320 
   18321     CPPFLAGS=$save_CPPFLAGS
   18322     LDFLAGS=$save_LDFLAGS
   18323     LIBS=$save_LIBS
   18324     ;;
   18325   esac
   18326 
   18327   case $lt_cv_dlopen_self in
   18328   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18329   *) enable_dlopen_self=unknown ;;
   18330   esac
   18331 
   18332   case $lt_cv_dlopen_self_static in
   18333   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18334   *) enable_dlopen_self_static=unknown ;;
   18335   esac
   18336 fi
   18337 
   18338 
   18339 
   18340 
   18341 
   18342 
   18343 
   18344 
   18345 
   18346 
   18347 
   18348 
   18349 
   18350 
   18351 
   18352 
   18353 
   18354 striplib=
   18355 old_striplib=
   18356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18357 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18358 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18359   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18360   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18362 $as_echo "yes" >&6; }
   18363 else
   18364 # FIXME - insert some real tests, host_os isn't really good enough
   18365   case $host_os in
   18366   darwin*)
   18367     if test -n "$STRIP"; then
   18368       striplib="$STRIP -x"
   18369       old_striplib="$STRIP -S"
   18370       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18371 $as_echo "yes" >&6; }
   18372     else
   18373       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18374 $as_echo "no" >&6; }
   18375     fi
   18376     ;;
   18377   *)
   18378     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18379 $as_echo "no" >&6; }
   18380     ;;
   18381   esac
   18382 fi
   18383 
   18384 
   18385 
   18386 
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 
   18393 
   18394 
   18395   # Report what library types will actually be built
   18396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18397 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18399 $as_echo "$can_build_shared" >&6; }
   18400 
   18401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18402 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18403   test no = "$can_build_shared" && enable_shared=no
   18404 
   18405   # On AIX, shared libraries and static libraries use the same namespace, and
   18406   # are all built from PIC.
   18407   case $host_os in
   18408   aix3*)
   18409     test yes = "$enable_shared" && enable_static=no
   18410     if test -n "$RANLIB"; then
   18411       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18412       postinstall_cmds='$RANLIB $lib'
   18413     fi
   18414     ;;
   18415 
   18416   aix[4-9]*)
   18417     if test ia64 != "$host_cpu"; then
   18418       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18419       yes,aix,yes) ;;			# shared object as lib.so file only
   18420       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18421       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18422       esac
   18423     fi
   18424     ;;
   18425   esac
   18426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18427 $as_echo "$enable_shared" >&6; }
   18428 
   18429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18430 $as_echo_n "checking whether to build static libraries... " >&6; }
   18431   # Make sure either enable_shared or enable_static is yes.
   18432   test yes = "$enable_shared" || enable_static=yes
   18433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18434 $as_echo "$enable_static" >&6; }
   18435 
   18436 
   18437 
   18438 
   18439 fi
   18440 ac_ext=c
   18441 ac_cpp='$CPP $CPPFLAGS'
   18442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18445 
   18446 CC=$lt_save_CC
   18447 
   18448 
   18449 
   18450 
   18451 
   18452 
   18453 
   18454 
   18455 
   18456 
   18457 
   18458 
   18459 
   18460 
   18461 
   18462         ac_config_commands="$ac_config_commands libtool"
   18463 
   18464 
   18465 
   18466 
   18467 # Only expand once:
   18468 
   18469 
   18470 
   18471 
   18472 
   18473 # Define a configure option for an alternate module directory
   18474 
   18475 # Check whether --with-xorg-module-dir was given.
   18476 if test "${with_xorg_module_dir+set}" = set; then :
   18477   withval=$with_xorg_module_dir; moduledir="$withval"
   18478 else
   18479   moduledir="$libdir/xorg/modules"
   18480 fi
   18481 
   18482 
   18483 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18484 
   18485 
   18486 	SAVE_CFLAGS="$CFLAGS"
   18487 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18488 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18489 /* end confdefs.h.  */
   18490 
   18491 #include "xorg-server.h"
   18492 #if !defined RANDR
   18493 #error RANDR not defined
   18494 #endif
   18495 
   18496 int
   18497 main ()
   18498 {
   18499 
   18500   ;
   18501   return 0;
   18502 }
   18503 _ACEOF
   18504 if ac_fn_c_try_compile "$LINENO"; then :
   18505   _EXT_CHECK=yes
   18506 else
   18507   _EXT_CHECK=no
   18508 fi
   18509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18510 	CFLAGS="$SAVE_CFLAGS"
   18511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18512 $as_echo_n "checking if RANDR is defined... " >&6; }
   18513 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18514 $as_echo "$_EXT_CHECK" >&6; }
   18515 	if test "$_EXT_CHECK" != no; then
   18516 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18517 	fi
   18518 
   18519 
   18520 
   18521 	SAVE_CFLAGS="$CFLAGS"
   18522 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18523 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18524 /* end confdefs.h.  */
   18525 
   18526 #include "xorg-server.h"
   18527 #if !defined RENDER
   18528 #error RENDER not defined
   18529 #endif
   18530 
   18531 int
   18532 main ()
   18533 {
   18534 
   18535   ;
   18536   return 0;
   18537 }
   18538 _ACEOF
   18539 if ac_fn_c_try_compile "$LINENO"; then :
   18540   _EXT_CHECK=yes
   18541 else
   18542   _EXT_CHECK=no
   18543 fi
   18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18545 	CFLAGS="$SAVE_CFLAGS"
   18546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18547 $as_echo_n "checking if RENDER is defined... " >&6; }
   18548 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18549 $as_echo "$_EXT_CHECK" >&6; }
   18550 	if test "$_EXT_CHECK" != no; then
   18551 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18552 	fi
   18553 
   18554 
   18555 
   18556 	SAVE_CFLAGS="$CFLAGS"
   18557 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18558 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18559 /* end confdefs.h.  */
   18560 
   18561 #include "xorg-server.h"
   18562 #if !defined XV
   18563 #error XV not defined
   18564 #endif
   18565 
   18566 int
   18567 main ()
   18568 {
   18569 
   18570   ;
   18571   return 0;
   18572 }
   18573 _ACEOF
   18574 if ac_fn_c_try_compile "$LINENO"; then :
   18575   _EXT_CHECK=yes
   18576 else
   18577   _EXT_CHECK=no
   18578 fi
   18579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18580 	CFLAGS="$SAVE_CFLAGS"
   18581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   18582 $as_echo_n "checking if XV is defined... " >&6; }
   18583 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18584 $as_echo "$_EXT_CHECK" >&6; }
   18585 	if test "$_EXT_CHECK" != no; then
   18586 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   18587 	fi
   18588 
   18589 
   18590 
   18591 	SAVE_CFLAGS="$CFLAGS"
   18592 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18593 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18594 /* end confdefs.h.  */
   18595 
   18596 #include "xorg-server.h"
   18597 #if !defined DPMSExtension
   18598 #error DPMSExtension not defined
   18599 #endif
   18600 
   18601 int
   18602 main ()
   18603 {
   18604 
   18605   ;
   18606   return 0;
   18607 }
   18608 _ACEOF
   18609 if ac_fn_c_try_compile "$LINENO"; then :
   18610   _EXT_CHECK=yes
   18611 else
   18612   _EXT_CHECK=no
   18613 fi
   18614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18615 	CFLAGS="$SAVE_CFLAGS"
   18616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   18617 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   18618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18619 $as_echo "$_EXT_CHECK" >&6; }
   18620 	if test "$_EXT_CHECK" != no; then
   18621 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   18622 	fi
   18623 
   18624 
   18625 # Obtain compiler/linker options for the driver dependencies
   18626 
   18627 pkg_failed=no
   18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18629 $as_echo_n "checking for XORG... " >&6; }
   18630 
   18631 if test -n "$XORG_CFLAGS"; then
   18632     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18633  elif test -n "$PKG_CONFIG"; then
   18634     if test -n "$PKG_CONFIG" && \
   18635     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18636   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18637   ac_status=$?
   18638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18639   test $ac_status = 0; }; then
   18640   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18641 		      test "x$?" != "x0" && pkg_failed=yes
   18642 else
   18643   pkg_failed=yes
   18644 fi
   18645  else
   18646     pkg_failed=untried
   18647 fi
   18648 if test -n "$XORG_LIBS"; then
   18649     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18650  elif test -n "$PKG_CONFIG"; then
   18651     if test -n "$PKG_CONFIG" && \
   18652     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18653   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18654   ac_status=$?
   18655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18656   test $ac_status = 0; }; then
   18657   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18658 		      test "x$?" != "x0" && pkg_failed=yes
   18659 else
   18660   pkg_failed=yes
   18661 fi
   18662  else
   18663     pkg_failed=untried
   18664 fi
   18665 
   18666 
   18667 
   18668 if test $pkg_failed = yes; then
   18669    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18670 $as_echo "no" >&6; }
   18671 
   18672 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18673         _pkg_short_errors_supported=yes
   18674 else
   18675         _pkg_short_errors_supported=no
   18676 fi
   18677         if test $_pkg_short_errors_supported = yes; then
   18678 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18679         else
   18680 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18681         fi
   18682 	# Put the nasty error message in config.log where it belongs
   18683 	echo "$XORG_PKG_ERRORS" >&5
   18684 
   18685 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   18686 
   18687 $XORG_PKG_ERRORS
   18688 
   18689 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18690 installed software in a non-standard prefix.
   18691 
   18692 Alternatively, you may set the environment variables XORG_CFLAGS
   18693 and XORG_LIBS to avoid the need to call pkg-config.
   18694 See the pkg-config man page for more details." "$LINENO" 5
   18695 elif test $pkg_failed = untried; then
   18696      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18697 $as_echo "no" >&6; }
   18698 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18700 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18701 is in your PATH or set the PKG_CONFIG environment variable to the full
   18702 path to pkg-config.
   18703 
   18704 Alternatively, you may set the environment variables XORG_CFLAGS
   18705 and XORG_LIBS to avoid the need to call pkg-config.
   18706 See the pkg-config man page for more details.
   18707 
   18708 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18709 See \`config.log' for more details" "$LINENO" 5; }
   18710 else
   18711 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18712 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18713         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18714 $as_echo "yes" >&6; }
   18715 
   18716 fi
   18717 
   18718 pkg_failed=no
   18719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   18720 $as_echo_n "checking for XEXT... " >&6; }
   18721 
   18722 if test -n "$XEXT_CFLAGS"; then
   18723     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18724  elif test -n "$PKG_CONFIG"; then
   18725     if test -n "$PKG_CONFIG" && \
   18726     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18727   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18728   ac_status=$?
   18729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18730   test $ac_status = 0; }; then
   18731   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   18732 		      test "x$?" != "x0" && pkg_failed=yes
   18733 else
   18734   pkg_failed=yes
   18735 fi
   18736  else
   18737     pkg_failed=untried
   18738 fi
   18739 if test -n "$XEXT_LIBS"; then
   18740     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   18741  elif test -n "$PKG_CONFIG"; then
   18742     if test -n "$PKG_CONFIG" && \
   18743     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18744   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18745   ac_status=$?
   18746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18747   test $ac_status = 0; }; then
   18748   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   18749 		      test "x$?" != "x0" && pkg_failed=yes
   18750 else
   18751   pkg_failed=yes
   18752 fi
   18753  else
   18754     pkg_failed=untried
   18755 fi
   18756 
   18757 
   18758 
   18759 if test $pkg_failed = yes; then
   18760    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18761 $as_echo "no" >&6; }
   18762 
   18763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18764         _pkg_short_errors_supported=yes
   18765 else
   18766         _pkg_short_errors_supported=no
   18767 fi
   18768         if test $_pkg_short_errors_supported = yes; then
   18769 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18770         else
   18771 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18772         fi
   18773 	# Put the nasty error message in config.log where it belongs
   18774 	echo "$XEXT_PKG_ERRORS" >&5
   18775 
   18776 	HAVE_XEXTPROTO_71="no"
   18777 elif test $pkg_failed = untried; then
   18778      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18779 $as_echo "no" >&6; }
   18780 	HAVE_XEXTPROTO_71="no"
   18781 else
   18782 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   18783 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   18784         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18785 $as_echo "yes" >&6; }
   18786 	HAVE_XEXTPROTO_71="yes";
   18787 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   18788 
   18789 fi
   18790  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   18791   HAVE_XEXTPROTO_71_TRUE=
   18792   HAVE_XEXTPROTO_71_FALSE='#'
   18793 else
   18794   HAVE_XEXTPROTO_71_TRUE='#'
   18795   HAVE_XEXTPROTO_71_FALSE=
   18796 fi
   18797 
   18798 
   18799 # Checks for libraries.
   18800 SAVE_CPPFLAGS="$CPPFLAGS"
   18801 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   18802 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   18803 "
   18804 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   18805   XSERVER_LIBPCIACCESS=yes
   18806 else
   18807   XSERVER_LIBPCIACCESS=no
   18808 fi
   18809 
   18810 CPPFLAGS="$SAVE_CPPFLAGS"
   18811 
   18812 
   18813 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18814 
   18815 pkg_failed=no
   18816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   18817 $as_echo_n "checking for PCIACCESS... " >&6; }
   18818 
   18819 if test -n "$PCIACCESS_CFLAGS"; then
   18820     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   18821  elif test -n "$PKG_CONFIG"; then
   18822     if test -n "$PKG_CONFIG" && \
   18823     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18824   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18825   ac_status=$?
   18826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18827   test $ac_status = 0; }; then
   18828   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   18829 		      test "x$?" != "x0" && pkg_failed=yes
   18830 else
   18831   pkg_failed=yes
   18832 fi
   18833  else
   18834     pkg_failed=untried
   18835 fi
   18836 if test -n "$PCIACCESS_LIBS"; then
   18837     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   18838  elif test -n "$PKG_CONFIG"; then
   18839     if test -n "$PKG_CONFIG" && \
   18840     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18841   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18842   ac_status=$?
   18843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18844   test $ac_status = 0; }; then
   18845   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   18846 		      test "x$?" != "x0" && pkg_failed=yes
   18847 else
   18848   pkg_failed=yes
   18849 fi
   18850  else
   18851     pkg_failed=untried
   18852 fi
   18853 
   18854 
   18855 
   18856 if test $pkg_failed = yes; then
   18857    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18858 $as_echo "no" >&6; }
   18859 
   18860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18861         _pkg_short_errors_supported=yes
   18862 else
   18863         _pkg_short_errors_supported=no
   18864 fi
   18865         if test $_pkg_short_errors_supported = yes; then
   18866 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   18867         else
   18868 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   18869         fi
   18870 	# Put the nasty error message in config.log where it belongs
   18871 	echo "$PCIACCESS_PKG_ERRORS" >&5
   18872 
   18873 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   18874 
   18875 $PCIACCESS_PKG_ERRORS
   18876 
   18877 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18878 installed software in a non-standard prefix.
   18879 
   18880 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18881 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18882 See the pkg-config man page for more details." "$LINENO" 5
   18883 elif test $pkg_failed = untried; then
   18884      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18885 $as_echo "no" >&6; }
   18886 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18888 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18889 is in your PATH or set the PKG_CONFIG environment variable to the full
   18890 path to pkg-config.
   18891 
   18892 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18893 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18894 See the pkg-config man page for more details.
   18895 
   18896 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18897 See \`config.log' for more details" "$LINENO" 5; }
   18898 else
   18899 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   18900 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   18901         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18902 $as_echo "yes" >&6; }
   18903 
   18904 fi
   18905     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   18906 fi
   18907  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18908   XSERVER_LIBPCIACCESS_TRUE=
   18909   XSERVER_LIBPCIACCESS_FALSE='#'
   18910 else
   18911   XSERVER_LIBPCIACCESS_TRUE='#'
   18912   XSERVER_LIBPCIACCESS_FALSE=
   18913 fi
   18914 
   18915 
   18916 # Check whether --enable-xaa was given.
   18917 if test "${enable_xaa+set}" = set; then :
   18918   enableval=$enable_xaa; XAA="$enableval"
   18919 else
   18920   XAA=auto
   18921 fi
   18922 
   18923 if test "x$XAA" != xno; then
   18924         save_CFLAGS=$CFLAGS
   18925         save_CPPFLAGS=$CPPFLAGS
   18926         CFLAGS=$XORG_CFLAGS
   18927         CPPFLAGS="$XORG_CFLAGS"
   18928         for ac_header in xaa.h
   18929 do :
   18930   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   18931 if test "x$ac_cv_header_xaa_h" = xyes; then :
   18932   cat >>confdefs.h <<_ACEOF
   18933 #define HAVE_XAA_H 1
   18934 _ACEOF
   18935  XAA=yes
   18936 else
   18937   XAA=no
   18938 fi
   18939 
   18940 done
   18941 
   18942         CFLAGS=$save_CFLAGS
   18943         CPPFLAGS=$save_CPPFLAGS
   18944 fi
   18945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   18946 $as_echo_n "checking whether to include XAA support... " >&6; }
   18947  if test "x$XAA" = xyes; then
   18948   XAA_TRUE=
   18949   XAA_FALSE='#'
   18950 else
   18951   XAA_TRUE='#'
   18952   XAA_FALSE=
   18953 fi
   18954 
   18955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   18956 $as_echo "$XAA" >&6; }
   18957 
   18958 
   18959 
   18960 DRIVER_NAME=s3virge
   18961 
   18962 
   18963 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   18964 
   18965 cat >confcache <<\_ACEOF
   18966 # This file is a shell script that caches the results of configure
   18967 # tests run on this system so they can be shared between configure
   18968 # scripts and configure runs, see configure's option --config-cache.
   18969 # It is not useful on other systems.  If it contains results you don't
   18970 # want to keep, you may remove or edit it.
   18971 #
   18972 # config.status only pays attention to the cache file if you give it
   18973 # the --recheck option to rerun configure.
   18974 #
   18975 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18976 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18977 # following values.
   18978 
   18979 _ACEOF
   18980 
   18981 # The following way of writing the cache mishandles newlines in values,
   18982 # but we know of no workaround that is simple, portable, and efficient.
   18983 # So, we kill variables containing newlines.
   18984 # Ultrix sh set writes to stderr and can't be redirected directly,
   18985 # and sets the high bit in the cache file unless we assign to the vars.
   18986 (
   18987   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18988     eval ac_val=\$$ac_var
   18989     case $ac_val in #(
   18990     *${as_nl}*)
   18991       case $ac_var in #(
   18992       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18993 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18994       esac
   18995       case $ac_var in #(
   18996       _ | IFS | as_nl) ;; #(
   18997       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18998       *) { eval $ac_var=; unset $ac_var;} ;;
   18999       esac ;;
   19000     esac
   19001   done
   19002 
   19003   (set) 2>&1 |
   19004     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19005     *${as_nl}ac_space=\ *)
   19006       # `set' does not quote correctly, so add quotes: double-quote
   19007       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19008       sed -n \
   19009 	"s/'/'\\\\''/g;
   19010 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19011       ;; #(
   19012     *)
   19013       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19014       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19015       ;;
   19016     esac |
   19017     sort
   19018 ) |
   19019   sed '
   19020      /^ac_cv_env_/b end
   19021      t clear
   19022      :clear
   19023      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19024      t end
   19025      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19026      :end' >>confcache
   19027 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19028   if test -w "$cache_file"; then
   19029     if test "x$cache_file" != "x/dev/null"; then
   19030       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19031 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19032       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19033 	cat confcache >"$cache_file"
   19034       else
   19035         case $cache_file in #(
   19036         */* | ?:*)
   19037 	  mv -f confcache "$cache_file"$$ &&
   19038 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19039         *)
   19040 	  mv -f confcache "$cache_file" ;;
   19041 	esac
   19042       fi
   19043     fi
   19044   else
   19045     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19046 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19047   fi
   19048 fi
   19049 rm -f confcache
   19050 
   19051 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19052 # Let make expand exec_prefix.
   19053 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19054 
   19055 DEFS=-DHAVE_CONFIG_H
   19056 
   19057 ac_libobjs=
   19058 ac_ltlibobjs=
   19059 U=
   19060 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19061   # 1. Remove the extension, and $U if already installed.
   19062   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19063   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19064   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19065   #    will be set to the directory where LIBOBJS objects are built.
   19066   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19067   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19068 done
   19069 LIBOBJS=$ac_libobjs
   19070 
   19071 LTLIBOBJS=$ac_ltlibobjs
   19072 
   19073 
   19074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19075 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19076    if test -n "$am_sleep_pid"; then
   19077      # Hide warnings about reused PIDs.
   19078      wait $am_sleep_pid 2>/dev/null
   19079    fi
   19080    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19081 $as_echo "done" >&6; }
   19082  if test -n "$EXEEXT"; then
   19083   am__EXEEXT_TRUE=
   19084   am__EXEEXT_FALSE='#'
   19085 else
   19086   am__EXEEXT_TRUE='#'
   19087   am__EXEEXT_FALSE=
   19088 fi
   19089 
   19090 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19091   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19093 fi
   19094 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19095   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19097 fi
   19098 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   19099   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   19100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19101 fi
   19102 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   19103   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   19104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19105 fi
   19106 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   19107   as_fn_error $? "conditional \"XAA\" was never defined.
   19108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19109 fi
   19110 
   19111 : "${CONFIG_STATUS=./config.status}"
   19112 ac_write_fail=0
   19113 ac_clean_files_save=$ac_clean_files
   19114 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19115 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19116 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19117 as_write_fail=0
   19118 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19119 #! $SHELL
   19120 # Generated by $as_me.
   19121 # Run this file to recreate the current configuration.
   19122 # Compiler output produced by configure, useful for debugging
   19123 # configure, is in config.log if it exists.
   19124 
   19125 debug=false
   19126 ac_cs_recheck=false
   19127 ac_cs_silent=false
   19128 
   19129 SHELL=\${CONFIG_SHELL-$SHELL}
   19130 export SHELL
   19131 _ASEOF
   19132 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19133 ## -------------------- ##
   19134 ## M4sh Initialization. ##
   19135 ## -------------------- ##
   19136 
   19137 # Be more Bourne compatible
   19138 DUALCASE=1; export DUALCASE # for MKS sh
   19139 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19140   emulate sh
   19141   NULLCMD=:
   19142   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19143   # is contrary to our usage.  Disable this feature.
   19144   alias -g '${1+"$@"}'='"$@"'
   19145   setopt NO_GLOB_SUBST
   19146 else
   19147   case `(set -o) 2>/dev/null` in #(
   19148   *posix*) :
   19149     set -o posix ;; #(
   19150   *) :
   19151      ;;
   19152 esac
   19153 fi
   19154 
   19155 
   19156 as_nl='
   19157 '
   19158 export as_nl
   19159 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19160 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19161 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19162 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19163 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19164 # but without wasting forks for bash or zsh.
   19165 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19166     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19167   as_echo='print -r --'
   19168   as_echo_n='print -rn --'
   19169 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19170   as_echo='printf %s\n'
   19171   as_echo_n='printf %s'
   19172 else
   19173   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19174     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19175     as_echo_n='/usr/ucb/echo -n'
   19176   else
   19177     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19178     as_echo_n_body='eval
   19179       arg=$1;
   19180       case $arg in #(
   19181       *"$as_nl"*)
   19182 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19183 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19184       esac;
   19185       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19186     '
   19187     export as_echo_n_body
   19188     as_echo_n='sh -c $as_echo_n_body as_echo'
   19189   fi
   19190   export as_echo_body
   19191   as_echo='sh -c $as_echo_body as_echo'
   19192 fi
   19193 
   19194 # The user is always right.
   19195 if test "${PATH_SEPARATOR+set}" != set; then
   19196   PATH_SEPARATOR=:
   19197   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19198     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19199       PATH_SEPARATOR=';'
   19200   }
   19201 fi
   19202 
   19203 
   19204 # IFS
   19205 # We need space, tab and new line, in precisely that order.  Quoting is
   19206 # there to prevent editors from complaining about space-tab.
   19207 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19208 # splitting by setting IFS to empty value.)
   19209 IFS=" ""	$as_nl"
   19210 
   19211 # Find who we are.  Look in the path if we contain no directory separator.
   19212 as_myself=
   19213 case $0 in #((
   19214   *[\\/]* ) as_myself=$0 ;;
   19215   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19216 for as_dir in $PATH
   19217 do
   19218   IFS=$as_save_IFS
   19219   test -z "$as_dir" && as_dir=.
   19220     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19221   done
   19222 IFS=$as_save_IFS
   19223 
   19224      ;;
   19225 esac
   19226 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19227 # in which case we are not to be found in the path.
   19228 if test "x$as_myself" = x; then
   19229   as_myself=$0
   19230 fi
   19231 if test ! -f "$as_myself"; then
   19232   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19233   exit 1
   19234 fi
   19235 
   19236 # Unset variables that we do not need and which cause bugs (e.g. in
   19237 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19238 # suppresses any "Segmentation fault" message there.  '((' could
   19239 # trigger a bug in pdksh 5.2.14.
   19240 for as_var in BASH_ENV ENV MAIL MAILPATH
   19241 do eval test x\${$as_var+set} = xset \
   19242   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19243 done
   19244 PS1='$ '
   19245 PS2='> '
   19246 PS4='+ '
   19247 
   19248 # NLS nuisances.
   19249 LC_ALL=C
   19250 export LC_ALL
   19251 LANGUAGE=C
   19252 export LANGUAGE
   19253 
   19254 # CDPATH.
   19255 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19256 
   19257 
   19258 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19259 # ----------------------------------------
   19260 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19261 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19262 # script with STATUS, using 1 if that was 0.
   19263 as_fn_error ()
   19264 {
   19265   as_status=$1; test $as_status -eq 0 && as_status=1
   19266   if test "$4"; then
   19267     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19268     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19269   fi
   19270   $as_echo "$as_me: error: $2" >&2
   19271   as_fn_exit $as_status
   19272 } # as_fn_error
   19273 
   19274 
   19275 # as_fn_set_status STATUS
   19276 # -----------------------
   19277 # Set $? to STATUS, without forking.
   19278 as_fn_set_status ()
   19279 {
   19280   return $1
   19281 } # as_fn_set_status
   19282 
   19283 # as_fn_exit STATUS
   19284 # -----------------
   19285 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19286 as_fn_exit ()
   19287 {
   19288   set +e
   19289   as_fn_set_status $1
   19290   exit $1
   19291 } # as_fn_exit
   19292 
   19293 # as_fn_unset VAR
   19294 # ---------------
   19295 # Portably unset VAR.
   19296 as_fn_unset ()
   19297 {
   19298   { eval $1=; unset $1;}
   19299 }
   19300 as_unset=as_fn_unset
   19301 # as_fn_append VAR VALUE
   19302 # ----------------------
   19303 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19304 # advantage of any shell optimizations that allow amortized linear growth over
   19305 # repeated appends, instead of the typical quadratic growth present in naive
   19306 # implementations.
   19307 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19308   eval 'as_fn_append ()
   19309   {
   19310     eval $1+=\$2
   19311   }'
   19312 else
   19313   as_fn_append ()
   19314   {
   19315     eval $1=\$$1\$2
   19316   }
   19317 fi # as_fn_append
   19318 
   19319 # as_fn_arith ARG...
   19320 # ------------------
   19321 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19322 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19323 # must be portable across $(()) and expr.
   19324 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19325   eval 'as_fn_arith ()
   19326   {
   19327     as_val=$(( $* ))
   19328   }'
   19329 else
   19330   as_fn_arith ()
   19331   {
   19332     as_val=`expr "$@" || test $? -eq 1`
   19333   }
   19334 fi # as_fn_arith
   19335 
   19336 
   19337 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19338    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19339   as_expr=expr
   19340 else
   19341   as_expr=false
   19342 fi
   19343 
   19344 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19345   as_basename=basename
   19346 else
   19347   as_basename=false
   19348 fi
   19349 
   19350 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19351   as_dirname=dirname
   19352 else
   19353   as_dirname=false
   19354 fi
   19355 
   19356 as_me=`$as_basename -- "$0" ||
   19357 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19358 	 X"$0" : 'X\(//\)$' \| \
   19359 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19360 $as_echo X/"$0" |
   19361     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19362 	    s//\1/
   19363 	    q
   19364 	  }
   19365 	  /^X\/\(\/\/\)$/{
   19366 	    s//\1/
   19367 	    q
   19368 	  }
   19369 	  /^X\/\(\/\).*/{
   19370 	    s//\1/
   19371 	    q
   19372 	  }
   19373 	  s/.*/./; q'`
   19374 
   19375 # Avoid depending upon Character Ranges.
   19376 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19377 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19378 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19379 as_cr_digits='0123456789'
   19380 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19381 
   19382 ECHO_C= ECHO_N= ECHO_T=
   19383 case `echo -n x` in #(((((
   19384 -n*)
   19385   case `echo 'xy\c'` in
   19386   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19387   xy)  ECHO_C='\c';;
   19388   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19389        ECHO_T='	';;
   19390   esac;;
   19391 *)
   19392   ECHO_N='-n';;
   19393 esac
   19394 
   19395 rm -f conf$$ conf$$.exe conf$$.file
   19396 if test -d conf$$.dir; then
   19397   rm -f conf$$.dir/conf$$.file
   19398 else
   19399   rm -f conf$$.dir
   19400   mkdir conf$$.dir 2>/dev/null
   19401 fi
   19402 if (echo >conf$$.file) 2>/dev/null; then
   19403   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19404     as_ln_s='ln -s'
   19405     # ... but there are two gotchas:
   19406     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19407     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19408     # In both cases, we have to default to `cp -pR'.
   19409     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19410       as_ln_s='cp -pR'
   19411   elif ln conf$$.file conf$$ 2>/dev/null; then
   19412     as_ln_s=ln
   19413   else
   19414     as_ln_s='cp -pR'
   19415   fi
   19416 else
   19417   as_ln_s='cp -pR'
   19418 fi
   19419 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19420 rmdir conf$$.dir 2>/dev/null
   19421 
   19422 
   19423 # as_fn_mkdir_p
   19424 # -------------
   19425 # Create "$as_dir" as a directory, including parents if necessary.
   19426 as_fn_mkdir_p ()
   19427 {
   19428 
   19429   case $as_dir in #(
   19430   -*) as_dir=./$as_dir;;
   19431   esac
   19432   test -d "$as_dir" || eval $as_mkdir_p || {
   19433     as_dirs=
   19434     while :; do
   19435       case $as_dir in #(
   19436       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19437       *) as_qdir=$as_dir;;
   19438       esac
   19439       as_dirs="'$as_qdir' $as_dirs"
   19440       as_dir=`$as_dirname -- "$as_dir" ||
   19441 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19442 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19443 	 X"$as_dir" : 'X\(//\)$' \| \
   19444 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19445 $as_echo X"$as_dir" |
   19446     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19447 	    s//\1/
   19448 	    q
   19449 	  }
   19450 	  /^X\(\/\/\)[^/].*/{
   19451 	    s//\1/
   19452 	    q
   19453 	  }
   19454 	  /^X\(\/\/\)$/{
   19455 	    s//\1/
   19456 	    q
   19457 	  }
   19458 	  /^X\(\/\).*/{
   19459 	    s//\1/
   19460 	    q
   19461 	  }
   19462 	  s/.*/./; q'`
   19463       test -d "$as_dir" && break
   19464     done
   19465     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19466   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19467 
   19468 
   19469 } # as_fn_mkdir_p
   19470 if mkdir -p . 2>/dev/null; then
   19471   as_mkdir_p='mkdir -p "$as_dir"'
   19472 else
   19473   test -d ./-p && rmdir ./-p
   19474   as_mkdir_p=false
   19475 fi
   19476 
   19477 
   19478 # as_fn_executable_p FILE
   19479 # -----------------------
   19480 # Test if FILE is an executable regular file.
   19481 as_fn_executable_p ()
   19482 {
   19483   test -f "$1" && test -x "$1"
   19484 } # as_fn_executable_p
   19485 as_test_x='test -x'
   19486 as_executable_p=as_fn_executable_p
   19487 
   19488 # Sed expression to map a string onto a valid CPP name.
   19489 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19490 
   19491 # Sed expression to map a string onto a valid variable name.
   19492 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19493 
   19494 
   19495 exec 6>&1
   19496 ## ----------------------------------- ##
   19497 ## Main body of $CONFIG_STATUS script. ##
   19498 ## ----------------------------------- ##
   19499 _ASEOF
   19500 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19501 
   19502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19503 # Save the log message, to keep $0 and so on meaningful, and to
   19504 # report actual input values of CONFIG_FILES etc. instead of their
   19505 # values after options handling.
   19506 ac_log="
   19507 This file was extended by xf86-video-s3virge $as_me 1.11.0, which was
   19508 generated by GNU Autoconf 2.69.  Invocation command line was
   19509 
   19510   CONFIG_FILES    = $CONFIG_FILES
   19511   CONFIG_HEADERS  = $CONFIG_HEADERS
   19512   CONFIG_LINKS    = $CONFIG_LINKS
   19513   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19514   $ $0 $@
   19515 
   19516 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19517 "
   19518 
   19519 _ACEOF
   19520 
   19521 case $ac_config_files in *"
   19522 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19523 esac
   19524 
   19525 case $ac_config_headers in *"
   19526 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19527 esac
   19528 
   19529 
   19530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19531 # Files that config.status was made for.
   19532 config_files="$ac_config_files"
   19533 config_headers="$ac_config_headers"
   19534 config_commands="$ac_config_commands"
   19535 
   19536 _ACEOF
   19537 
   19538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19539 ac_cs_usage="\
   19540 \`$as_me' instantiates files and other configuration actions
   19541 from templates according to the current configuration.  Unless the files
   19542 and actions are specified as TAGs, all are instantiated by default.
   19543 
   19544 Usage: $0 [OPTION]... [TAG]...
   19545 
   19546   -h, --help       print this help, then exit
   19547   -V, --version    print version number and configuration settings, then exit
   19548       --config     print configuration, then exit
   19549   -q, --quiet, --silent
   19550                    do not print progress messages
   19551   -d, --debug      don't remove temporary files
   19552       --recheck    update $as_me by reconfiguring in the same conditions
   19553       --file=FILE[:TEMPLATE]
   19554                    instantiate the configuration file FILE
   19555       --header=FILE[:TEMPLATE]
   19556                    instantiate the configuration header FILE
   19557 
   19558 Configuration files:
   19559 $config_files
   19560 
   19561 Configuration headers:
   19562 $config_headers
   19563 
   19564 Configuration commands:
   19565 $config_commands
   19566 
   19567 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-s3virge/issues>."
   19568 
   19569 _ACEOF
   19570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19571 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19572 ac_cs_version="\\
   19573 xf86-video-s3virge config.status 1.11.0
   19574 configured by $0, generated by GNU Autoconf 2.69,
   19575   with options \\"\$ac_cs_config\\"
   19576 
   19577 Copyright (C) 2012 Free Software Foundation, Inc.
   19578 This config.status script is free software; the Free Software Foundation
   19579 gives unlimited permission to copy, distribute and modify it."
   19580 
   19581 ac_pwd='$ac_pwd'
   19582 srcdir='$srcdir'
   19583 INSTALL='$INSTALL'
   19584 MKDIR_P='$MKDIR_P'
   19585 AWK='$AWK'
   19586 test -n "\$AWK" || AWK=awk
   19587 _ACEOF
   19588 
   19589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19590 # The default lists apply if the user does not specify any file.
   19591 ac_need_defaults=:
   19592 while test $# != 0
   19593 do
   19594   case $1 in
   19595   --*=?*)
   19596     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19597     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19598     ac_shift=:
   19599     ;;
   19600   --*=)
   19601     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19602     ac_optarg=
   19603     ac_shift=:
   19604     ;;
   19605   *)
   19606     ac_option=$1
   19607     ac_optarg=$2
   19608     ac_shift=shift
   19609     ;;
   19610   esac
   19611 
   19612   case $ac_option in
   19613   # Handling of the options.
   19614   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19615     ac_cs_recheck=: ;;
   19616   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19617     $as_echo "$ac_cs_version"; exit ;;
   19618   --config | --confi | --conf | --con | --co | --c )
   19619     $as_echo "$ac_cs_config"; exit ;;
   19620   --debug | --debu | --deb | --de | --d | -d )
   19621     debug=: ;;
   19622   --file | --fil | --fi | --f )
   19623     $ac_shift
   19624     case $ac_optarg in
   19625     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19626     '') as_fn_error $? "missing file argument" ;;
   19627     esac
   19628     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19629     ac_need_defaults=false;;
   19630   --header | --heade | --head | --hea )
   19631     $ac_shift
   19632     case $ac_optarg in
   19633     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19634     esac
   19635     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19636     ac_need_defaults=false;;
   19637   --he | --h)
   19638     # Conflict between --help and --header
   19639     as_fn_error $? "ambiguous option: \`$1'
   19640 Try \`$0 --help' for more information.";;
   19641   --help | --hel | -h )
   19642     $as_echo "$ac_cs_usage"; exit ;;
   19643   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19644   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19645     ac_cs_silent=: ;;
   19646 
   19647   # This is an error.
   19648   -*) as_fn_error $? "unrecognized option: \`$1'
   19649 Try \`$0 --help' for more information." ;;
   19650 
   19651   *) as_fn_append ac_config_targets " $1"
   19652      ac_need_defaults=false ;;
   19653 
   19654   esac
   19655   shift
   19656 done
   19657 
   19658 ac_configure_extra_args=
   19659 
   19660 if $ac_cs_silent; then
   19661   exec 6>/dev/null
   19662   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19663 fi
   19664 
   19665 _ACEOF
   19666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19667 if \$ac_cs_recheck; then
   19668   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19669   shift
   19670   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19671   CONFIG_SHELL='$SHELL'
   19672   export CONFIG_SHELL
   19673   exec "\$@"
   19674 fi
   19675 
   19676 _ACEOF
   19677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19678 exec 5>>config.log
   19679 {
   19680   echo
   19681   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19682 ## Running $as_me. ##
   19683 _ASBOX
   19684   $as_echo "$ac_log"
   19685 } >&5
   19686 
   19687 _ACEOF
   19688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19689 #
   19690 # INIT-COMMANDS
   19691 #
   19692 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19693 
   19694 
   19695 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19696 # if CDPATH is set.
   19697 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19698 
   19699 sed_quote_subst='$sed_quote_subst'
   19700 double_quote_subst='$double_quote_subst'
   19701 delay_variable_subst='$delay_variable_subst'
   19702 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19703 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19704 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19705 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19706 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19707 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19708 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19709 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19710 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19711 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19712 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19713 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19714 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19715 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19716 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19717 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19718 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19719 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19720 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19721 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19722 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19723 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19724 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19725 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19726 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19727 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19728 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19729 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19730 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19731 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19732 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19733 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19734 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19735 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19736 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19737 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19738 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19739 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19740 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19741 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19742 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19743 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19744 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19745 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19746 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19747 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19748 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19749 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19750 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19751 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19752 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19753 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19754 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19755 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19756 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19757 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19758 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   19759 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19760 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"`'
   19761 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   19762 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19763 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19764 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   19765 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19766 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19767 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19768 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19769 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19770 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19771 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19772 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19773 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19774 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19775 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19776 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19777 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19778 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19779 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19780 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19781 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19782 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19783 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19784 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19785 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19786 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19787 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19788 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19789 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19790 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19791 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19792 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19793 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19794 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19795 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19796 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19797 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19798 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19799 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19800 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19801 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19802 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19803 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19804 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19805 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19806 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19807 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19808 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19809 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19810 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19811 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19812 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19813 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19814 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19815 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19816 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19817 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19818 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19819 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19820 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19821 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19822 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19823 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19824 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19825 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19826 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19827 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19828 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19829 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   19830 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   19831 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19832 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19833 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19834 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19835 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19836 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19837 
   19838 LTCC='$LTCC'
   19839 LTCFLAGS='$LTCFLAGS'
   19840 compiler='$compiler_DEFAULT'
   19841 
   19842 # A function that is used when there is no print builtin or printf.
   19843 func_fallback_echo ()
   19844 {
   19845   eval 'cat <<_LTECHO_EOF
   19846 \$1
   19847 _LTECHO_EOF'
   19848 }
   19849 
   19850 # Quote evaled strings.
   19851 for var in SHELL \
   19852 ECHO \
   19853 PATH_SEPARATOR \
   19854 SED \
   19855 GREP \
   19856 EGREP \
   19857 FGREP \
   19858 LD \
   19859 NM \
   19860 LN_S \
   19861 lt_SP2NL \
   19862 lt_NL2SP \
   19863 reload_flag \
   19864 OBJDUMP \
   19865 deplibs_check_method \
   19866 file_magic_cmd \
   19867 file_magic_glob \
   19868 want_nocaseglob \
   19869 DLLTOOL \
   19870 sharedlib_from_linklib_cmd \
   19871 AR \
   19872 AR_FLAGS \
   19873 archiver_list_spec \
   19874 STRIP \
   19875 RANLIB \
   19876 CC \
   19877 CFLAGS \
   19878 compiler \
   19879 lt_cv_sys_global_symbol_pipe \
   19880 lt_cv_sys_global_symbol_to_cdecl \
   19881 lt_cv_sys_global_symbol_to_import \
   19882 lt_cv_sys_global_symbol_to_c_name_address \
   19883 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19884 lt_cv_nm_interface \
   19885 nm_file_list_spec \
   19886 lt_cv_truncate_bin \
   19887 lt_prog_compiler_no_builtin_flag \
   19888 lt_prog_compiler_pic \
   19889 lt_prog_compiler_wl \
   19890 lt_prog_compiler_static \
   19891 lt_cv_prog_compiler_c_o \
   19892 need_locks \
   19893 MANIFEST_TOOL \
   19894 DSYMUTIL \
   19895 NMEDIT \
   19896 LIPO \
   19897 OTOOL \
   19898 OTOOL64 \
   19899 shrext_cmds \
   19900 export_dynamic_flag_spec \
   19901 whole_archive_flag_spec \
   19902 compiler_needs_object \
   19903 with_gnu_ld \
   19904 allow_undefined_flag \
   19905 no_undefined_flag \
   19906 hardcode_libdir_flag_spec \
   19907 hardcode_libdir_separator \
   19908 exclude_expsyms \
   19909 include_expsyms \
   19910 file_list_spec \
   19911 variables_saved_for_relink \
   19912 libname_spec \
   19913 library_names_spec \
   19914 soname_spec \
   19915 install_override_mode \
   19916 finish_eval \
   19917 old_striplib \
   19918 striplib; do
   19919     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19920     *[\\\\\\\`\\"\\\$]*)
   19921       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19922       ;;
   19923     *)
   19924       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19925       ;;
   19926     esac
   19927 done
   19928 
   19929 # Double-quote double-evaled strings.
   19930 for var in reload_cmds \
   19931 old_postinstall_cmds \
   19932 old_postuninstall_cmds \
   19933 old_archive_cmds \
   19934 extract_expsyms_cmds \
   19935 old_archive_from_new_cmds \
   19936 old_archive_from_expsyms_cmds \
   19937 archive_cmds \
   19938 archive_expsym_cmds \
   19939 module_cmds \
   19940 module_expsym_cmds \
   19941 export_symbols_cmds \
   19942 prelink_cmds \
   19943 postlink_cmds \
   19944 postinstall_cmds \
   19945 postuninstall_cmds \
   19946 finish_cmds \
   19947 sys_lib_search_path_spec \
   19948 configure_time_dlsearch_path \
   19949 configure_time_lt_sys_library_path; do
   19950     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19951     *[\\\\\\\`\\"\\\$]*)
   19952       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19953       ;;
   19954     *)
   19955       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19956       ;;
   19957     esac
   19958 done
   19959 
   19960 ac_aux_dir='$ac_aux_dir'
   19961 
   19962 # See if we are running on zsh, and set the options that allow our
   19963 # commands through without removal of \ escapes INIT.
   19964 if test -n "\${ZSH_VERSION+set}"; then
   19965    setopt NO_GLOB_SUBST
   19966 fi
   19967 
   19968 
   19969     PACKAGE='$PACKAGE'
   19970     VERSION='$VERSION'
   19971     RM='$RM'
   19972     ofile='$ofile'
   19973 
   19974 
   19975 
   19976 
   19977 _ACEOF
   19978 
   19979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19980 
   19981 # Handling of arguments.
   19982 for ac_config_target in $ac_config_targets
   19983 do
   19984   case $ac_config_target in
   19985     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19986     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19987     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19988     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19989     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19990     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19991 
   19992   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19993   esac
   19994 done
   19995 
   19996 
   19997 # If the user did not use the arguments to specify the items to instantiate,
   19998 # then the envvar interface is used.  Set only those that are not.
   19999 # We use the long form for the default assignment because of an extremely
   20000 # bizarre bug on SunOS 4.1.3.
   20001 if $ac_need_defaults; then
   20002   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20003   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20004   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20005 fi
   20006 
   20007 # Have a temporary directory for convenience.  Make it in the build tree
   20008 # simply because there is no reason against having it here, and in addition,
   20009 # creating and moving files from /tmp can sometimes cause problems.
   20010 # Hook for its removal unless debugging.
   20011 # Note that there is a small window in which the directory will not be cleaned:
   20012 # after its creation but before its name has been assigned to `$tmp'.
   20013 $debug ||
   20014 {
   20015   tmp= ac_tmp=
   20016   trap 'exit_status=$?
   20017   : "${ac_tmp:=$tmp}"
   20018   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20019 ' 0
   20020   trap 'as_fn_exit 1' 1 2 13 15
   20021 }
   20022 # Create a (secure) tmp directory for tmp files.
   20023 
   20024 {
   20025   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20026   test -d "$tmp"
   20027 }  ||
   20028 {
   20029   tmp=./conf$$-$RANDOM
   20030   (umask 077 && mkdir "$tmp")
   20031 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20032 ac_tmp=$tmp
   20033 
   20034 # Set up the scripts for CONFIG_FILES section.
   20035 # No need to generate them if there are no CONFIG_FILES.
   20036 # This happens for instance with `./config.status config.h'.
   20037 if test -n "$CONFIG_FILES"; then
   20038 
   20039 
   20040 ac_cr=`echo X | tr X '\015'`
   20041 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20042 # But we know of no other shell where ac_cr would be empty at this
   20043 # point, so we can use a bashism as a fallback.
   20044 if test "x$ac_cr" = x; then
   20045   eval ac_cr=\$\'\\r\'
   20046 fi
   20047 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20048 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20049   ac_cs_awk_cr='\\r'
   20050 else
   20051   ac_cs_awk_cr=$ac_cr
   20052 fi
   20053 
   20054 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20055 _ACEOF
   20056 
   20057 
   20058 {
   20059   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20060   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20061   echo "_ACEOF"
   20062 } >conf$$subs.sh ||
   20063   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20064 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20065 ac_delim='%!_!# '
   20066 for ac_last_try in false false false false false :; do
   20067   . ./conf$$subs.sh ||
   20068     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20069 
   20070   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20071   if test $ac_delim_n = $ac_delim_num; then
   20072     break
   20073   elif $ac_last_try; then
   20074     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20075   else
   20076     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20077   fi
   20078 done
   20079 rm -f conf$$subs.sh
   20080 
   20081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20082 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20083 _ACEOF
   20084 sed -n '
   20085 h
   20086 s/^/S["/; s/!.*/"]=/
   20087 p
   20088 g
   20089 s/^[^!]*!//
   20090 :repl
   20091 t repl
   20092 s/'"$ac_delim"'$//
   20093 t delim
   20094 :nl
   20095 h
   20096 s/\(.\{148\}\)..*/\1/
   20097 t more1
   20098 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20099 p
   20100 n
   20101 b repl
   20102 :more1
   20103 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20104 p
   20105 g
   20106 s/.\{148\}//
   20107 t nl
   20108 :delim
   20109 h
   20110 s/\(.\{148\}\)..*/\1/
   20111 t more2
   20112 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20113 p
   20114 b
   20115 :more2
   20116 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20117 p
   20118 g
   20119 s/.\{148\}//
   20120 t delim
   20121 ' <conf$$subs.awk | sed '
   20122 /^[^""]/{
   20123   N
   20124   s/\n//
   20125 }
   20126 ' >>$CONFIG_STATUS || ac_write_fail=1
   20127 rm -f conf$$subs.awk
   20128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20129 _ACAWK
   20130 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20131   for (key in S) S_is_set[key] = 1
   20132   FS = ""
   20133 
   20134 }
   20135 {
   20136   line = $ 0
   20137   nfields = split(line, field, "@")
   20138   substed = 0
   20139   len = length(field[1])
   20140   for (i = 2; i < nfields; i++) {
   20141     key = field[i]
   20142     keylen = length(key)
   20143     if (S_is_set[key]) {
   20144       value = S[key]
   20145       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20146       len += length(value) + length(field[++i])
   20147       substed = 1
   20148     } else
   20149       len += 1 + keylen
   20150   }
   20151 
   20152   print line
   20153 }
   20154 
   20155 _ACAWK
   20156 _ACEOF
   20157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20158 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20159   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20160 else
   20161   cat
   20162 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20163   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20164 _ACEOF
   20165 
   20166 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20167 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20168 # trailing colons and then remove the whole line if VPATH becomes empty
   20169 # (actually we leave an empty line to preserve line numbers).
   20170 if test "x$srcdir" = x.; then
   20171   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20172 h
   20173 s///
   20174 s/^/:/
   20175 s/[	 ]*$/:/
   20176 s/:\$(srcdir):/:/g
   20177 s/:\${srcdir}:/:/g
   20178 s/:@srcdir@:/:/g
   20179 s/^:*//
   20180 s/:*$//
   20181 x
   20182 s/\(=[	 ]*\).*/\1/
   20183 G
   20184 s/\n//
   20185 s/^[^=]*=[	 ]*$//
   20186 }'
   20187 fi
   20188 
   20189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20190 fi # test -n "$CONFIG_FILES"
   20191 
   20192 # Set up the scripts for CONFIG_HEADERS section.
   20193 # No need to generate them if there are no CONFIG_HEADERS.
   20194 # This happens for instance with `./config.status Makefile'.
   20195 if test -n "$CONFIG_HEADERS"; then
   20196 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20197 BEGIN {
   20198 _ACEOF
   20199 
   20200 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20201 # here-document in config.status, that substitutes the proper values into
   20202 # config.h.in to produce config.h.
   20203 
   20204 # Create a delimiter string that does not exist in confdefs.h, to ease
   20205 # handling of long lines.
   20206 ac_delim='%!_!# '
   20207 for ac_last_try in false false :; do
   20208   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20209   if test -z "$ac_tt"; then
   20210     break
   20211   elif $ac_last_try; then
   20212     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20213   else
   20214     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20215   fi
   20216 done
   20217 
   20218 # For the awk script, D is an array of macro values keyed by name,
   20219 # likewise P contains macro parameters if any.  Preserve backslash
   20220 # newline sequences.
   20221 
   20222 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20223 sed -n '
   20224 s/.\{148\}/&'"$ac_delim"'/g
   20225 t rset
   20226 :rset
   20227 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20228 t def
   20229 d
   20230 :def
   20231 s/\\$//
   20232 t bsnl
   20233 s/["\\]/\\&/g
   20234 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20235 D["\1"]=" \3"/p
   20236 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20237 d
   20238 :bsnl
   20239 s/["\\]/\\&/g
   20240 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20241 D["\1"]=" \3\\\\\\n"\\/p
   20242 t cont
   20243 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20244 t cont
   20245 d
   20246 :cont
   20247 n
   20248 s/.\{148\}/&'"$ac_delim"'/g
   20249 t clear
   20250 :clear
   20251 s/\\$//
   20252 t bsnlc
   20253 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20254 d
   20255 :bsnlc
   20256 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20257 b cont
   20258 ' <confdefs.h | sed '
   20259 s/'"$ac_delim"'/"\\\
   20260 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20261 
   20262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20263   for (key in D) D_is_set[key] = 1
   20264   FS = ""
   20265 }
   20266 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20267   line = \$ 0
   20268   split(line, arg, " ")
   20269   if (arg[1] == "#") {
   20270     defundef = arg[2]
   20271     mac1 = arg[3]
   20272   } else {
   20273     defundef = substr(arg[1], 2)
   20274     mac1 = arg[2]
   20275   }
   20276   split(mac1, mac2, "(") #)
   20277   macro = mac2[1]
   20278   prefix = substr(line, 1, index(line, defundef) - 1)
   20279   if (D_is_set[macro]) {
   20280     # Preserve the white space surrounding the "#".
   20281     print prefix "define", macro P[macro] D[macro]
   20282     next
   20283   } else {
   20284     # Replace #undef with comments.  This is necessary, for example,
   20285     # in the case of _POSIX_SOURCE, which is predefined and required
   20286     # on some systems where configure will not decide to define it.
   20287     if (defundef == "undef") {
   20288       print "/*", prefix defundef, macro, "*/"
   20289       next
   20290     }
   20291   }
   20292 }
   20293 { print }
   20294 _ACAWK
   20295 _ACEOF
   20296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20297   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20298 fi # test -n "$CONFIG_HEADERS"
   20299 
   20300 
   20301 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20302 shift
   20303 for ac_tag
   20304 do
   20305   case $ac_tag in
   20306   :[FHLC]) ac_mode=$ac_tag; continue;;
   20307   esac
   20308   case $ac_mode$ac_tag in
   20309   :[FHL]*:*);;
   20310   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20311   :[FH]-) ac_tag=-:-;;
   20312   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20313   esac
   20314   ac_save_IFS=$IFS
   20315   IFS=:
   20316   set x $ac_tag
   20317   IFS=$ac_save_IFS
   20318   shift
   20319   ac_file=$1
   20320   shift
   20321 
   20322   case $ac_mode in
   20323   :L) ac_source=$1;;
   20324   :[FH])
   20325     ac_file_inputs=
   20326     for ac_f
   20327     do
   20328       case $ac_f in
   20329       -) ac_f="$ac_tmp/stdin";;
   20330       *) # Look for the file first in the build tree, then in the source tree
   20331 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20332 	 # because $ac_f cannot contain `:'.
   20333 	 test -f "$ac_f" ||
   20334 	   case $ac_f in
   20335 	   [\\/$]*) false;;
   20336 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20337 	   esac ||
   20338 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20339       esac
   20340       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20341       as_fn_append ac_file_inputs " '$ac_f'"
   20342     done
   20343 
   20344     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20345     # use $as_me), people would be surprised to read:
   20346     #    /* config.h.  Generated by config.status.  */
   20347     configure_input='Generated from '`
   20348 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20349 	`' by configure.'
   20350     if test x"$ac_file" != x-; then
   20351       configure_input="$ac_file.  $configure_input"
   20352       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20353 $as_echo "$as_me: creating $ac_file" >&6;}
   20354     fi
   20355     # Neutralize special characters interpreted by sed in replacement strings.
   20356     case $configure_input in #(
   20357     *\&* | *\|* | *\\* )
   20358        ac_sed_conf_input=`$as_echo "$configure_input" |
   20359        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20360     *) ac_sed_conf_input=$configure_input;;
   20361     esac
   20362 
   20363     case $ac_tag in
   20364     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20365       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20366     esac
   20367     ;;
   20368   esac
   20369 
   20370   ac_dir=`$as_dirname -- "$ac_file" ||
   20371 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20372 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20373 	 X"$ac_file" : 'X\(//\)$' \| \
   20374 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20375 $as_echo X"$ac_file" |
   20376     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20377 	    s//\1/
   20378 	    q
   20379 	  }
   20380 	  /^X\(\/\/\)[^/].*/{
   20381 	    s//\1/
   20382 	    q
   20383 	  }
   20384 	  /^X\(\/\/\)$/{
   20385 	    s//\1/
   20386 	    q
   20387 	  }
   20388 	  /^X\(\/\).*/{
   20389 	    s//\1/
   20390 	    q
   20391 	  }
   20392 	  s/.*/./; q'`
   20393   as_dir="$ac_dir"; as_fn_mkdir_p
   20394   ac_builddir=.
   20395 
   20396 case "$ac_dir" in
   20397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20398 *)
   20399   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20400   # A ".." for each directory in $ac_dir_suffix.
   20401   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20402   case $ac_top_builddir_sub in
   20403   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20404   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20405   esac ;;
   20406 esac
   20407 ac_abs_top_builddir=$ac_pwd
   20408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20409 # for backward compatibility:
   20410 ac_top_builddir=$ac_top_build_prefix
   20411 
   20412 case $srcdir in
   20413   .)  # We are building in place.
   20414     ac_srcdir=.
   20415     ac_top_srcdir=$ac_top_builddir_sub
   20416     ac_abs_top_srcdir=$ac_pwd ;;
   20417   [\\/]* | ?:[\\/]* )  # Absolute name.
   20418     ac_srcdir=$srcdir$ac_dir_suffix;
   20419     ac_top_srcdir=$srcdir
   20420     ac_abs_top_srcdir=$srcdir ;;
   20421   *) # Relative name.
   20422     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20423     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20424     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20425 esac
   20426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20427 
   20428 
   20429   case $ac_mode in
   20430   :F)
   20431   #
   20432   # CONFIG_FILE
   20433   #
   20434 
   20435   case $INSTALL in
   20436   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20437   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20438   esac
   20439   ac_MKDIR_P=$MKDIR_P
   20440   case $MKDIR_P in
   20441   [\\/$]* | ?:[\\/]* ) ;;
   20442   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20443   esac
   20444 _ACEOF
   20445 
   20446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20447 # If the template does not know about datarootdir, expand it.
   20448 # FIXME: This hack should be removed a few years after 2.60.
   20449 ac_datarootdir_hack=; ac_datarootdir_seen=
   20450 ac_sed_dataroot='
   20451 /datarootdir/ {
   20452   p
   20453   q
   20454 }
   20455 /@datadir@/p
   20456 /@docdir@/p
   20457 /@infodir@/p
   20458 /@localedir@/p
   20459 /@mandir@/p'
   20460 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20461 *datarootdir*) ac_datarootdir_seen=yes;;
   20462 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20463   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20464 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20465 _ACEOF
   20466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20467   ac_datarootdir_hack='
   20468   s&@datadir@&$datadir&g
   20469   s&@docdir@&$docdir&g
   20470   s&@infodir@&$infodir&g
   20471   s&@localedir@&$localedir&g
   20472   s&@mandir@&$mandir&g
   20473   s&\\\${datarootdir}&$datarootdir&g' ;;
   20474 esac
   20475 _ACEOF
   20476 
   20477 # Neutralize VPATH when `$srcdir' = `.'.
   20478 # Shell code in configure.ac might set extrasub.
   20479 # FIXME: do we really want to maintain this feature?
   20480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20481 ac_sed_extra="$ac_vpsub
   20482 $extrasub
   20483 _ACEOF
   20484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20485 :t
   20486 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20487 s|@configure_input@|$ac_sed_conf_input|;t t
   20488 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20489 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20490 s&@srcdir@&$ac_srcdir&;t t
   20491 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20492 s&@top_srcdir@&$ac_top_srcdir&;t t
   20493 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20494 s&@builddir@&$ac_builddir&;t t
   20495 s&@abs_builddir@&$ac_abs_builddir&;t t
   20496 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20497 s&@INSTALL@&$ac_INSTALL&;t t
   20498 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20499 $ac_datarootdir_hack
   20500 "
   20501 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20502   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20503 
   20504 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20505   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20506   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20507       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20508   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20509 which seems to be undefined.  Please make sure it is defined" >&5
   20510 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20511 which seems to be undefined.  Please make sure it is defined" >&2;}
   20512 
   20513   rm -f "$ac_tmp/stdin"
   20514   case $ac_file in
   20515   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20516   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20517   esac \
   20518   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20519  ;;
   20520   :H)
   20521   #
   20522   # CONFIG_HEADER
   20523   #
   20524   if test x"$ac_file" != x-; then
   20525     {
   20526       $as_echo "/* $configure_input  */" \
   20527       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20528     } >"$ac_tmp/config.h" \
   20529       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20530     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20531       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20532 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20533     else
   20534       rm -f "$ac_file"
   20535       mv "$ac_tmp/config.h" "$ac_file" \
   20536 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20537     fi
   20538   else
   20539     $as_echo "/* $configure_input  */" \
   20540       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20541       || as_fn_error $? "could not create -" "$LINENO" 5
   20542   fi
   20543 # Compute "$ac_file"'s index in $config_headers.
   20544 _am_arg="$ac_file"
   20545 _am_stamp_count=1
   20546 for _am_header in $config_headers :; do
   20547   case $_am_header in
   20548     $_am_arg | $_am_arg:* )
   20549       break ;;
   20550     * )
   20551       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20552   esac
   20553 done
   20554 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20555 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20556 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20557 	 X"$_am_arg" : 'X\(//\)$' \| \
   20558 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20559 $as_echo X"$_am_arg" |
   20560     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20561 	    s//\1/
   20562 	    q
   20563 	  }
   20564 	  /^X\(\/\/\)[^/].*/{
   20565 	    s//\1/
   20566 	    q
   20567 	  }
   20568 	  /^X\(\/\/\)$/{
   20569 	    s//\1/
   20570 	    q
   20571 	  }
   20572 	  /^X\(\/\).*/{
   20573 	    s//\1/
   20574 	    q
   20575 	  }
   20576 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20577  ;;
   20578 
   20579   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20580 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20581  ;;
   20582   esac
   20583 
   20584 
   20585   case $ac_file$ac_mode in
   20586     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20587   # Older Autoconf quotes --file arguments for eval, but not when files
   20588   # are listed without --file.  Let's play safe and only enable the eval
   20589   # if we detect the quoting.
   20590   case $CONFIG_FILES in
   20591   *\'*) eval set x "$CONFIG_FILES" ;;
   20592   *)   set x $CONFIG_FILES ;;
   20593   esac
   20594   shift
   20595   for mf
   20596   do
   20597     # Strip MF so we end up with the name of the file.
   20598     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20599     # Check whether this is an Automake generated Makefile or not.
   20600     # We used to match only the files named 'Makefile.in', but
   20601     # some people rename them; so instead we look at the file content.
   20602     # Grep'ing the first line is not enough: some people post-process
   20603     # each Makefile.in and add a new line on top of each file to say so.
   20604     # Grep'ing the whole file is not good either: AIX grep has a line
   20605     # limit of 2048, but all sed's we know have understand at least 4000.
   20606     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20607       dirpart=`$as_dirname -- "$mf" ||
   20608 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20609 	 X"$mf" : 'X\(//\)[^/]' \| \
   20610 	 X"$mf" : 'X\(//\)$' \| \
   20611 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20612 $as_echo X"$mf" |
   20613     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20614 	    s//\1/
   20615 	    q
   20616 	  }
   20617 	  /^X\(\/\/\)[^/].*/{
   20618 	    s//\1/
   20619 	    q
   20620 	  }
   20621 	  /^X\(\/\/\)$/{
   20622 	    s//\1/
   20623 	    q
   20624 	  }
   20625 	  /^X\(\/\).*/{
   20626 	    s//\1/
   20627 	    q
   20628 	  }
   20629 	  s/.*/./; q'`
   20630     else
   20631       continue
   20632     fi
   20633     # Extract the definition of DEPDIR, am__include, and am__quote
   20634     # from the Makefile without running 'make'.
   20635     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20636     test -z "$DEPDIR" && continue
   20637     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20638     test -z "$am__include" && continue
   20639     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20640     # Find all dependency output files, they are included files with
   20641     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20642     # simplest approach to changing $(DEPDIR) to its actual value in the
   20643     # expansion.
   20644     for file in `sed -n "
   20645       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20646 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20647       # Make sure the directory exists.
   20648       test -f "$dirpart/$file" && continue
   20649       fdir=`$as_dirname -- "$file" ||
   20650 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20651 	 X"$file" : 'X\(//\)[^/]' \| \
   20652 	 X"$file" : 'X\(//\)$' \| \
   20653 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20654 $as_echo X"$file" |
   20655     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20656 	    s//\1/
   20657 	    q
   20658 	  }
   20659 	  /^X\(\/\/\)[^/].*/{
   20660 	    s//\1/
   20661 	    q
   20662 	  }
   20663 	  /^X\(\/\/\)$/{
   20664 	    s//\1/
   20665 	    q
   20666 	  }
   20667 	  /^X\(\/\).*/{
   20668 	    s//\1/
   20669 	    q
   20670 	  }
   20671 	  s/.*/./; q'`
   20672       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20673       # echo "creating $dirpart/$file"
   20674       echo '# dummy' > "$dirpart/$file"
   20675     done
   20676   done
   20677 }
   20678  ;;
   20679     "libtool":C)
   20680 
   20681     # See if we are running on zsh, and set the options that allow our
   20682     # commands through without removal of \ escapes.
   20683     if test -n "${ZSH_VERSION+set}"; then
   20684       setopt NO_GLOB_SUBST
   20685     fi
   20686 
   20687     cfgfile=${ofile}T
   20688     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20689     $RM "$cfgfile"
   20690 
   20691     cat <<_LT_EOF >> "$cfgfile"
   20692 #! $SHELL
   20693 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20694 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20695 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20696 
   20697 # Provide generalized library-building support services.
   20698 # Written by Gordon Matzigkeit, 1996
   20699 
   20700 # Copyright (C) 2014 Free Software Foundation, Inc.
   20701 # This is free software; see the source for copying conditions.  There is NO
   20702 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20703 
   20704 # GNU Libtool is free software; you can redistribute it and/or modify
   20705 # it under the terms of the GNU General Public License as published by
   20706 # the Free Software Foundation; either version 2 of of the License, or
   20707 # (at your option) any later version.
   20708 #
   20709 # As a special exception to the GNU General Public License, if you
   20710 # distribute this file as part of a program or library that is built
   20711 # using GNU Libtool, you may include this file under the  same
   20712 # distribution terms that you use for the rest of that program.
   20713 #
   20714 # GNU Libtool is distributed in the hope that it will be useful, but
   20715 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20716 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20717 # GNU General Public License for more details.
   20718 #
   20719 # You should have received a copy of the GNU General Public License
   20720 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20721 
   20722 
   20723 # The names of the tagged configurations supported by this script.
   20724 available_tags=''
   20725 
   20726 # Configured defaults for sys_lib_dlsearch_path munging.
   20727 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20728 
   20729 # ### BEGIN LIBTOOL CONFIG
   20730 
   20731 # Whether or not to build static libraries.
   20732 build_old_libs=$enable_static
   20733 
   20734 # Which release of libtool.m4 was used?
   20735 macro_version=$macro_version
   20736 macro_revision=$macro_revision
   20737 
   20738 # Whether or not to build shared libraries.
   20739 build_libtool_libs=$enable_shared
   20740 
   20741 # What type of objects to build.
   20742 pic_mode=$pic_mode
   20743 
   20744 # Whether or not to optimize for fast installation.
   20745 fast_install=$enable_fast_install
   20746 
   20747 # Shared archive member basename,for filename based shared library versioning on AIX.
   20748 shared_archive_member_spec=$shared_archive_member_spec
   20749 
   20750 # Shell to use when invoking shell scripts.
   20751 SHELL=$lt_SHELL
   20752 
   20753 # An echo program that protects backslashes.
   20754 ECHO=$lt_ECHO
   20755 
   20756 # The PATH separator for the build system.
   20757 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20758 
   20759 # The host system.
   20760 host_alias=$host_alias
   20761 host=$host
   20762 host_os=$host_os
   20763 
   20764 # The build system.
   20765 build_alias=$build_alias
   20766 build=$build
   20767 build_os=$build_os
   20768 
   20769 # A sed program that does not truncate output.
   20770 SED=$lt_SED
   20771 
   20772 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20773 Xsed="\$SED -e 1s/^X//"
   20774 
   20775 # A grep program that handles long lines.
   20776 GREP=$lt_GREP
   20777 
   20778 # An ERE matcher.
   20779 EGREP=$lt_EGREP
   20780 
   20781 # A literal string matcher.
   20782 FGREP=$lt_FGREP
   20783 
   20784 # A BSD- or MS-compatible name lister.
   20785 NM=$lt_NM
   20786 
   20787 # Whether we need soft or hard links.
   20788 LN_S=$lt_LN_S
   20789 
   20790 # What is the maximum length of a command?
   20791 max_cmd_len=$max_cmd_len
   20792 
   20793 # Object file suffix (normally "o").
   20794 objext=$ac_objext
   20795 
   20796 # Executable file suffix (normally "").
   20797 exeext=$exeext
   20798 
   20799 # whether the shell understands "unset".
   20800 lt_unset=$lt_unset
   20801 
   20802 # turn spaces into newlines.
   20803 SP2NL=$lt_lt_SP2NL
   20804 
   20805 # turn newlines into spaces.
   20806 NL2SP=$lt_lt_NL2SP
   20807 
   20808 # convert \$build file names to \$host format.
   20809 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20810 
   20811 # convert \$build files to toolchain format.
   20812 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20813 
   20814 # An object symbol dumper.
   20815 OBJDUMP=$lt_OBJDUMP
   20816 
   20817 # Method to check whether dependent libraries are shared objects.
   20818 deplibs_check_method=$lt_deplibs_check_method
   20819 
   20820 # Command to use when deplibs_check_method = "file_magic".
   20821 file_magic_cmd=$lt_file_magic_cmd
   20822 
   20823 # How to find potential files when deplibs_check_method = "file_magic".
   20824 file_magic_glob=$lt_file_magic_glob
   20825 
   20826 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20827 want_nocaseglob=$lt_want_nocaseglob
   20828 
   20829 # DLL creation program.
   20830 DLLTOOL=$lt_DLLTOOL
   20831 
   20832 # Command to associate shared and link libraries.
   20833 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20834 
   20835 # The archiver.
   20836 AR=$lt_AR
   20837 
   20838 # Flags to create an archive.
   20839 AR_FLAGS=$lt_AR_FLAGS
   20840 
   20841 # How to feed a file listing to the archiver.
   20842 archiver_list_spec=$lt_archiver_list_spec
   20843 
   20844 # A symbol stripping program.
   20845 STRIP=$lt_STRIP
   20846 
   20847 # Commands used to install an old-style archive.
   20848 RANLIB=$lt_RANLIB
   20849 old_postinstall_cmds=$lt_old_postinstall_cmds
   20850 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20851 
   20852 # Whether to use a lock for old archive extraction.
   20853 lock_old_archive_extraction=$lock_old_archive_extraction
   20854 
   20855 # A C compiler.
   20856 LTCC=$lt_CC
   20857 
   20858 # LTCC compiler flags.
   20859 LTCFLAGS=$lt_CFLAGS
   20860 
   20861 # Take the output of nm and produce a listing of raw symbols and C names.
   20862 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20863 
   20864 # Transform the output of nm in a proper C declaration.
   20865 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20866 
   20867 # Transform the output of nm into a list of symbols to manually relocate.
   20868 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   20869 
   20870 # Transform the output of nm in a C name address pair.
   20871 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20872 
   20873 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20874 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20875 
   20876 # The name lister interface.
   20877 nm_interface=$lt_lt_cv_nm_interface
   20878 
   20879 # Specify filename containing input files for \$NM.
   20880 nm_file_list_spec=$lt_nm_file_list_spec
   20881 
   20882 # The root where to search for dependent libraries,and where our libraries should be installed.
   20883 lt_sysroot=$lt_sysroot
   20884 
   20885 # Command to truncate a binary pipe.
   20886 lt_truncate_bin=$lt_lt_cv_truncate_bin
   20887 
   20888 # The name of the directory that contains temporary libtool files.
   20889 objdir=$objdir
   20890 
   20891 # Used to examine libraries when file_magic_cmd begins with "file".
   20892 MAGIC_CMD=$MAGIC_CMD
   20893 
   20894 # Must we lock files when doing compilation?
   20895 need_locks=$lt_need_locks
   20896 
   20897 # Manifest tool.
   20898 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20899 
   20900 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20901 DSYMUTIL=$lt_DSYMUTIL
   20902 
   20903 # Tool to change global to local symbols on Mac OS X.
   20904 NMEDIT=$lt_NMEDIT
   20905 
   20906 # Tool to manipulate fat objects and archives on Mac OS X.
   20907 LIPO=$lt_LIPO
   20908 
   20909 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20910 OTOOL=$lt_OTOOL
   20911 
   20912 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20913 OTOOL64=$lt_OTOOL64
   20914 
   20915 # Old archive suffix (normally "a").
   20916 libext=$libext
   20917 
   20918 # Shared library suffix (normally ".so").
   20919 shrext_cmds=$lt_shrext_cmds
   20920 
   20921 # The commands to extract the exported symbol list from a shared archive.
   20922 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20923 
   20924 # Variables whose values should be saved in libtool wrapper scripts and
   20925 # restored at link time.
   20926 variables_saved_for_relink=$lt_variables_saved_for_relink
   20927 
   20928 # Do we need the "lib" prefix for modules?
   20929 need_lib_prefix=$need_lib_prefix
   20930 
   20931 # Do we need a version for libraries?
   20932 need_version=$need_version
   20933 
   20934 # Library versioning type.
   20935 version_type=$version_type
   20936 
   20937 # Shared library runtime path variable.
   20938 runpath_var=$runpath_var
   20939 
   20940 # Shared library path variable.
   20941 shlibpath_var=$shlibpath_var
   20942 
   20943 # Is shlibpath searched before the hard-coded library search path?
   20944 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20945 
   20946 # Format of library name prefix.
   20947 libname_spec=$lt_libname_spec
   20948 
   20949 # List of archive names.  First name is the real one, the rest are links.
   20950 # The last name is the one that the linker finds with -lNAME
   20951 library_names_spec=$lt_library_names_spec
   20952 
   20953 # The coded name of the library, if different from the real name.
   20954 soname_spec=$lt_soname_spec
   20955 
   20956 # Permission mode override for installation of shared libraries.
   20957 install_override_mode=$lt_install_override_mode
   20958 
   20959 # Command to use after installation of a shared archive.
   20960 postinstall_cmds=$lt_postinstall_cmds
   20961 
   20962 # Command to use after uninstallation of a shared archive.
   20963 postuninstall_cmds=$lt_postuninstall_cmds
   20964 
   20965 # Commands used to finish a libtool library installation in a directory.
   20966 finish_cmds=$lt_finish_cmds
   20967 
   20968 # As "finish_cmds", except a single script fragment to be evaled but
   20969 # not shown.
   20970 finish_eval=$lt_finish_eval
   20971 
   20972 # Whether we should hardcode library paths into libraries.
   20973 hardcode_into_libs=$hardcode_into_libs
   20974 
   20975 # Compile-time system search path for libraries.
   20976 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20977 
   20978 # Detected run-time system search path for libraries.
   20979 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   20980 
   20981 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   20982 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   20983 
   20984 # Whether dlopen is supported.
   20985 dlopen_support=$enable_dlopen
   20986 
   20987 # Whether dlopen of programs is supported.
   20988 dlopen_self=$enable_dlopen_self
   20989 
   20990 # Whether dlopen of statically linked programs is supported.
   20991 dlopen_self_static=$enable_dlopen_self_static
   20992 
   20993 # Commands to strip libraries.
   20994 old_striplib=$lt_old_striplib
   20995 striplib=$lt_striplib
   20996 
   20997 
   20998 # The linker used to build libraries.
   20999 LD=$lt_LD
   21000 
   21001 # How to create reloadable object files.
   21002 reload_flag=$lt_reload_flag
   21003 reload_cmds=$lt_reload_cmds
   21004 
   21005 # Commands used to build an old-style archive.
   21006 old_archive_cmds=$lt_old_archive_cmds
   21007 
   21008 # A language specific compiler.
   21009 CC=$lt_compiler
   21010 
   21011 # Is the compiler the GNU compiler?
   21012 with_gcc=$GCC
   21013 
   21014 # Compiler flag to turn off builtin functions.
   21015 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21016 
   21017 # Additional compiler flags for building library objects.
   21018 pic_flag=$lt_lt_prog_compiler_pic
   21019 
   21020 # How to pass a linker flag through the compiler.
   21021 wl=$lt_lt_prog_compiler_wl
   21022 
   21023 # Compiler flag to prevent dynamic linking.
   21024 link_static_flag=$lt_lt_prog_compiler_static
   21025 
   21026 # Does compiler simultaneously support -c and -o options?
   21027 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21028 
   21029 # Whether or not to add -lc for building shared libraries.
   21030 build_libtool_need_lc=$archive_cmds_need_lc
   21031 
   21032 # Whether or not to disallow shared libs when runtime libs are static.
   21033 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21034 
   21035 # Compiler flag to allow reflexive dlopens.
   21036 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21037 
   21038 # Compiler flag to generate shared objects directly from archives.
   21039 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21040 
   21041 # Whether the compiler copes with passing no objects directly.
   21042 compiler_needs_object=$lt_compiler_needs_object
   21043 
   21044 # Create an old-style archive from a shared archive.
   21045 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21046 
   21047 # Create a temporary old-style archive to link instead of a shared archive.
   21048 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21049 
   21050 # Commands used to build a shared archive.
   21051 archive_cmds=$lt_archive_cmds
   21052 archive_expsym_cmds=$lt_archive_expsym_cmds
   21053 
   21054 # Commands used to build a loadable module if different from building
   21055 # a shared archive.
   21056 module_cmds=$lt_module_cmds
   21057 module_expsym_cmds=$lt_module_expsym_cmds
   21058 
   21059 # Whether we are building with GNU ld or not.
   21060 with_gnu_ld=$lt_with_gnu_ld
   21061 
   21062 # Flag that allows shared libraries with undefined symbols to be built.
   21063 allow_undefined_flag=$lt_allow_undefined_flag
   21064 
   21065 # Flag that enforces no undefined symbols.
   21066 no_undefined_flag=$lt_no_undefined_flag
   21067 
   21068 # Flag to hardcode \$libdir into a binary during linking.
   21069 # This must work even if \$libdir does not exist
   21070 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21071 
   21072 # Whether we need a single "-rpath" flag with a separated argument.
   21073 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21074 
   21075 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21076 # DIR into the resulting binary.
   21077 hardcode_direct=$hardcode_direct
   21078 
   21079 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21080 # DIR into the resulting binary and the resulting library dependency is
   21081 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21082 # library is relocated.
   21083 hardcode_direct_absolute=$hardcode_direct_absolute
   21084 
   21085 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21086 # into the resulting binary.
   21087 hardcode_minus_L=$hardcode_minus_L
   21088 
   21089 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21090 # into the resulting binary.
   21091 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21092 
   21093 # Set to "yes" if building a shared library automatically hardcodes DIR
   21094 # into the library and all subsequent libraries and executables linked
   21095 # against it.
   21096 hardcode_automatic=$hardcode_automatic
   21097 
   21098 # Set to yes if linker adds runtime paths of dependent libraries
   21099 # to runtime path list.
   21100 inherit_rpath=$inherit_rpath
   21101 
   21102 # Whether libtool must link a program against all its dependency libraries.
   21103 link_all_deplibs=$link_all_deplibs
   21104 
   21105 # Set to "yes" if exported symbols are required.
   21106 always_export_symbols=$always_export_symbols
   21107 
   21108 # The commands to list exported symbols.
   21109 export_symbols_cmds=$lt_export_symbols_cmds
   21110 
   21111 # Symbols that should not be listed in the preloaded symbols.
   21112 exclude_expsyms=$lt_exclude_expsyms
   21113 
   21114 # Symbols that must always be exported.
   21115 include_expsyms=$lt_include_expsyms
   21116 
   21117 # Commands necessary for linking programs (against libraries) with templates.
   21118 prelink_cmds=$lt_prelink_cmds
   21119 
   21120 # Commands necessary for finishing linking programs.
   21121 postlink_cmds=$lt_postlink_cmds
   21122 
   21123 # Specify filename containing input files.
   21124 file_list_spec=$lt_file_list_spec
   21125 
   21126 # How to hardcode a shared library path into an executable.
   21127 hardcode_action=$hardcode_action
   21128 
   21129 # ### END LIBTOOL CONFIG
   21130 
   21131 _LT_EOF
   21132 
   21133     cat <<'_LT_EOF' >> "$cfgfile"
   21134 
   21135 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21136 
   21137 # func_munge_path_list VARIABLE PATH
   21138 # -----------------------------------
   21139 # VARIABLE is name of variable containing _space_ separated list of
   21140 # directories to be munged by the contents of PATH, which is string
   21141 # having a format:
   21142 # "DIR[:DIR]:"
   21143 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21144 # ":DIR[:DIR]"
   21145 #       string "DIR[ DIR]" will be appended to VARIABLE
   21146 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21147 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21148 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21149 # "DIR[:DIR]"
   21150 #       VARIABLE will be replaced by "DIR[ DIR]"
   21151 func_munge_path_list ()
   21152 {
   21153     case x$2 in
   21154     x)
   21155         ;;
   21156     *:)
   21157         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21158         ;;
   21159     x:*)
   21160         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21161         ;;
   21162     *::*)
   21163         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21164         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21165         ;;
   21166     *)
   21167         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21168         ;;
   21169     esac
   21170 }
   21171 
   21172 
   21173 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21174 func_cc_basename ()
   21175 {
   21176     for cc_temp in $*""; do
   21177       case $cc_temp in
   21178         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21179         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21180         \-*) ;;
   21181         *) break;;
   21182       esac
   21183     done
   21184     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21185 }
   21186 
   21187 
   21188 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21189 
   21190 _LT_EOF
   21191 
   21192   case $host_os in
   21193   aix3*)
   21194     cat <<\_LT_EOF >> "$cfgfile"
   21195 # AIX sometimes has problems with the GCC collect2 program.  For some
   21196 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21197 # vanish in a puff of smoke.
   21198 if test set != "${COLLECT_NAMES+set}"; then
   21199   COLLECT_NAMES=
   21200   export COLLECT_NAMES
   21201 fi
   21202 _LT_EOF
   21203     ;;
   21204   esac
   21205 
   21206 
   21207 ltmain=$ac_aux_dir/ltmain.sh
   21208 
   21209 
   21210   # We use sed instead of cat because bash on DJGPP gets confused if
   21211   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21212   # text mode, it properly converts lines to CR/LF.  This bash problem
   21213   # is reportedly fixed, but why not run on old versions too?
   21214   sed '$q' "$ltmain" >> "$cfgfile" \
   21215      || (rm -f "$cfgfile"; exit 1)
   21216 
   21217    mv -f "$cfgfile" "$ofile" ||
   21218     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21219   chmod +x "$ofile"
   21220 
   21221  ;;
   21222 
   21223   esac
   21224 done # for ac_tag
   21225 
   21226 
   21227 as_fn_exit 0
   21228 _ACEOF
   21229 ac_clean_files=$ac_clean_files_save
   21230 
   21231 test $ac_write_fail = 0 ||
   21232   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21233 
   21234 
   21235 # configure is writing to config.log, and then calls config.status.
   21236 # config.status does its own redirection, appending to config.log.
   21237 # Unfortunately, on DOS this fails, as config.log is still kept open
   21238 # by configure, so config.status won't be able to write to it; its
   21239 # output is simply discarded.  So we exec the FD to /dev/null,
   21240 # effectively closing config.log, so it can be properly (re)opened and
   21241 # appended to by config.status.  When coming back to configure, we
   21242 # need to make the FD available again.
   21243 if test "$no_create" != yes; then
   21244   ac_cs_success=:
   21245   ac_config_status_args=
   21246   test "$silent" = yes &&
   21247     ac_config_status_args="$ac_config_status_args --quiet"
   21248   exec 5>/dev/null
   21249   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21250   exec 5>>config.log
   21251   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21252   # would make configure fail if this is the last instruction.
   21253   $ac_cs_success || as_fn_exit 1
   21254 fi
   21255 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21256   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21257 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21258 fi
   21259 
   21260